Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .changeset/date-calendar-menu-forwardref.md

This file was deleted.

7 changes: 7 additions & 0 deletions design-system/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @commercetools-uikit/design-system

## 20.6.8

### Patch Changes

- Updated dependencies []:
- @commercetools-uikit/hooks@20.6.8

## 20.6.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion design-system/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@commercetools-uikit/design-system",
"description": "Core package of the commercetools design system.",
"version": "20.6.7",
"version": "20.6.8",
"bugs": "https://github.com/commercetools/ui-kit/issues",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions packages/calendar-time-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @commercetools-uikit/calendar-time-utils

## 20.6.8

### Patch Changes

- Updated dependencies []:
- @commercetools-uikit/utils@20.6.8

## 20.6.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/calendar-time-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@commercetools-uikit/calendar-time-utils",
"description": "Utilities to work with time values for a calendar.",
"version": "20.6.7",
"version": "20.6.8",
"bugs": "https://github.com/commercetools/ui-kit/issues",
"repository": {
"type": "git",
Expand Down
28 changes: 28 additions & 0 deletions packages/calendar-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# @commercetools-uikit/calendar-utils

## 20.6.8

### Patch Changes

- [#3273](https://github.com/commercetools/ui-kit/pull/3273) [`6ded70c`](https://github.com/commercetools/ui-kit/commit/6ded70c8a7416a551bb50308ba2bd37c0f8908d9) Thanks [@kterry1](https://github.com/kterry1)! - Fix `TypeError: t.contains is not a function` crash thrown when a date-input,
date-range-input, or date-time-input calendar closes on blur / click-outside
under `downshift` >= 9.3.4 (verified against `downshift` 9.4.0).

`CalendarMenu` (shared by all three inputs) received downshift's menu ref via
`getMenuProps()`, but as a class component the ref pointed at the class instance
— which has no `.contains()`. downshift 9.3.4 removed the guard that previously
tolerated non-DOM refs, so any consumer resolving downshift >= 9.3.4 crashed.
`CalendarMenu` is now a `forwardRef` function component that forwards the ref
onto the DOM node it already renders, so downshift's ref lands on a real element
with `.contains()`. The rendered DOM, roles, ARIA, and behavior are unchanged.

- Updated dependencies []:
- @commercetools-uikit/design-system@20.6.8
- @commercetools-uikit/accessible-button@20.6.8
- @commercetools-uikit/secondary-icon-button@20.6.8
- @commercetools-uikit/icons@20.6.8
- @commercetools-uikit/input-utils@20.6.8
- @commercetools-uikit/spacings-inline@20.6.8
- @commercetools-uikit/text@20.6.8
- @commercetools-uikit/tooltip@20.6.8
- @commercetools-uikit/hooks@20.6.8
- @commercetools-uikit/utils@20.6.8

## 20.6.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/calendar-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@commercetools-uikit/calendar-utils",
"description": "Utilities to work with values for a calendar.",
"version": "20.6.7",
"version": "20.6.8",
"bugs": "https://github.com/commercetools/ui-kit/issues",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/components/accessible-hidden/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @commercetools-uikit/accessible-hidden

## 20.6.8

## 20.6.7

## 20.6.6
Expand Down
2 changes: 1 addition & 1 deletion packages/components/accessible-hidden/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@commercetools-uikit/accessible-hidden",
"description": "Component to hide content offscreen while keeping it accessible. This is also helpful for testing purposes.",
"version": "20.6.7",
"version": "20.6.8",
"bugs": "https://github.com/commercetools/ui-kit/issues",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/components/avatar/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @commercetools-uikit/avatar

## 20.6.8

### Patch Changes

- Updated dependencies []:
- @commercetools-uikit/design-system@20.6.8
- @commercetools-uikit/utils@20.6.8

## 20.6.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/avatar/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@commercetools-uikit/avatar",
"description": "A component for rendering profile images",
"version": "20.6.7",
"version": "20.6.8",
"bugs": "https://github.com/commercetools/ui-kit/issues",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/components/buttons/accessible-button/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @commercetools-uikit/accessible-button

## 20.6.8

### Patch Changes

- Updated dependencies []:
- @commercetools-uikit/design-system@20.6.8
- @commercetools-uikit/utils@20.6.8

## 20.6.7

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@commercetools-uikit/accessible-button",
"description": "A React component that you can use to wrap your buttons in an accessible <button/> element.",
"version": "20.6.7",
"version": "20.6.8",
"bugs": "https://github.com/commercetools/ui-kit/issues",
"repository": {
"type": "git",
Expand Down
11 changes: 11 additions & 0 deletions packages/components/buttons/flat-button/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @commercetools-uikit/flat-button

## 20.6.8

### Patch Changes

- Updated dependencies []:
- @commercetools-uikit/design-system@20.6.8
- @commercetools-uikit/accessible-button@20.6.8
- @commercetools-uikit/spacings-inline@20.6.8
- @commercetools-uikit/text@20.6.8
- @commercetools-uikit/utils@20.6.8

## 20.6.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/buttons/flat-button/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@commercetools-uikit/flat-button",
"description": "Flat buttons are minimal and a flat variation of primary and secondary buttons.",
"version": "20.6.7",
"version": "20.6.8",
"bugs": "https://github.com/commercetools/ui-kit/issues",
"repository": {
"type": "git",
Expand Down
11 changes: 11 additions & 0 deletions packages/components/buttons/icon-button/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @commercetools-uikit/icon-button

## 20.6.8

### Patch Changes

- Updated dependencies []:
- @commercetools-uikit/design-system@20.6.8
- @commercetools-uikit/accessible-button@20.6.8
- @commercetools-uikit/text@20.6.8
- @commercetools-uikit/utils@20.6.8
- @commercetools-uikit/spacings@20.6.8

## 20.6.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/buttons/icon-button/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@commercetools-uikit/icon-button",
"description": "Icon buttons are icon-only buttons. They trigger an action when clicked (`onClick` prop). You must also pass a label for accessibility reasons.",
"version": "20.6.7",
"version": "20.6.8",
"bugs": "https://github.com/commercetools/ui-kit/issues",
"repository": {
"type": "git",
Expand Down
11 changes: 11 additions & 0 deletions packages/components/buttons/link-button/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @commercetools-uikit/link-button

## 20.6.8

### Patch Changes

- Updated dependencies []:
- @commercetools-uikit/design-system@20.6.8
- @commercetools-uikit/accessible-button@20.6.8
- @commercetools-uikit/spacings-inline@20.6.8
- @commercetools-uikit/text@20.6.8
- @commercetools-uikit/utils@20.6.8

## 20.6.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/buttons/link-button/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@commercetools-uikit/link-button",
"description": "Link buttons are similar to Flat buttons but work as link elements.",
"version": "20.6.7",
"version": "20.6.8",
"bugs": "https://github.com/commercetools/ui-kit/issues",
"repository": {
"type": "git",
Expand Down
11 changes: 11 additions & 0 deletions packages/components/buttons/primary-button/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @commercetools-uikit/primary-button

## 20.6.8

### Patch Changes

- Updated dependencies []:
- @commercetools-uikit/design-system@20.6.8
- @commercetools-uikit/accessible-button@20.6.8
- @commercetools-uikit/spacings-inline@20.6.8
- @commercetools-uikit/text@20.6.8
- @commercetools-uikit/utils@20.6.8

## 20.6.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/buttons/primary-button/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@commercetools-uikit/primary-button",
"description": "Primary buttons are used for a primary action on a page. You must also pass a label for accessibility reasons.",
"version": "20.6.7",
"version": "20.6.8",
"bugs": "https://github.com/commercetools/ui-kit/issues",
"repository": {
"type": "git",
Expand Down
11 changes: 11 additions & 0 deletions packages/components/buttons/secondary-button/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @commercetools-uikit/secondary-button

## 20.6.8

### Patch Changes

- Updated dependencies []:
- @commercetools-uikit/design-system@20.6.8
- @commercetools-uikit/accessible-button@20.6.8
- @commercetools-uikit/spacings-inline@20.6.8
- @commercetools-uikit/text@20.6.8
- @commercetools-uikit/utils@20.6.8

## 20.6.7

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@commercetools-uikit/secondary-button",
"description": "Secondary buttons are used in combination with a PrimaryButton and represent the secondary action.",
"version": "20.6.7",
"version": "20.6.8",
"bugs": "https://github.com/commercetools/ui-kit/issues",
"repository": {
"type": "git",
Expand Down
11 changes: 11 additions & 0 deletions packages/components/buttons/secondary-icon-button/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @commercetools-uikit/secondary-icon-button

## 20.6.8

### Patch Changes

- Updated dependencies []:
- @commercetools-uikit/design-system@20.6.8
- @commercetools-uikit/accessible-button@20.6.8
- @commercetools-uikit/text@20.6.8
- @commercetools-uikit/utils@20.6.8
- @commercetools-uikit/spacings@20.6.8

## 20.6.7

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@commercetools-uikit/secondary-icon-button",
"description": "Secondary Icon Buttons are \"icon-only\" buttons and a restricted version of the `<IconButton>`. They trigger an action when clicked (`onClick` prop). You must also pass a label for accessibility reasons.",
"version": "20.6.7",
"version": "20.6.8",
"bugs": "https://github.com/commercetools/ui-kit/issues",
"repository": {
"type": "git",
Expand Down
9 changes: 9 additions & 0 deletions packages/components/card/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @commercetools-uikit/card

## 20.6.8

### Patch Changes

- Updated dependencies []:
- @commercetools-uikit/design-system@20.6.8
- @commercetools-uikit/spacings-inset@20.6.8
- @commercetools-uikit/utils@20.6.8

## 20.6.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/card/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@commercetools-uikit/card",
"description": "Cards are used to display content and actions on a single topic.",
"version": "20.6.7",
"version": "20.6.8",
"bugs": "https://github.com/commercetools/ui-kit/issues",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/components/collapsible-motion/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @commercetools-uikit/collapsible-motion

## 20.6.8

### Patch Changes

- Updated dependencies []:
- @commercetools-uikit/hooks@20.6.8
- @commercetools-uikit/utils@20.6.8

## 20.6.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/collapsible-motion/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@commercetools-uikit/collapsible-motion",
"description": "A component which allows building collapsible elements with an arbitrary height.",
"version": "20.6.7",
"version": "20.6.8",
"bugs": "https://github.com/commercetools/ui-kit/issues",
"repository": {
"type": "git",
Expand Down
15 changes: 15 additions & 0 deletions packages/components/collapsible-panel/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @commercetools-uikit/collapsible-panel

## 20.6.8

### Patch Changes

- Updated dependencies []:
- @commercetools-uikit/design-system@20.6.8
- @commercetools-uikit/accessible-button@20.6.8
- @commercetools-uikit/collapsible-motion@20.6.8
- @commercetools-uikit/constraints@20.6.8
- @commercetools-uikit/icons@20.6.8
- @commercetools-uikit/text@20.6.8
- @commercetools-uikit/hooks@20.6.8
- @commercetools-uikit/utils@20.6.8
- @commercetools-uikit/spacings@20.6.8

## 20.6.7

### Patch Changes
Expand Down
Loading
Loading