diff --git a/.changeset/curly-worms-drum.md b/.changeset/curly-worms-drum.md deleted file mode 100644 index 031aadc269..0000000000 --- a/.changeset/curly-worms-drum.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@leafygreen-ui/tokens': minor ---- - -Adds additional spacing tokens diff --git a/.changeset/eight-beds-smash.md b/.changeset/eight-beds-smash.md deleted file mode 100644 index d53de18815..0000000000 --- a/.changeset/eight-beds-smash.md +++ /dev/null @@ -1,72 +0,0 @@ ---- -'@leafygreen-ui/date-picker': major ---- - -Changes the behavior of segments. - -## Backspace - -### New Behavior -- Pressing `backspace` will always clear the segment and keep the focus on that segment -- Pressing `backspace` twice will clear the segment and move the focus to the previous segment - -### Old Behavior -- Pressing `backspace` deletes characters before the cursor one by one -- After all characters are deleted, the focus moves to the previous segment - -## Space - -### New Behavior -- Pressing `space` will always clear the segment and keep the focus on that segment - -### Old Behavior -- Pressing `space` does not change the current value - -## Clicking - -### New Behavior -#### When initially clicking on a segment with a value, the segment will select the value: -- Typing a digit will clear the segment and populate the segment with that new value. -- Pressing the `backspace` key will clear the segment -- Pressing the `backspace` key twice will clear the segment and move the focus to the previous segment -- Pressing the `space` key will clear the segment - -#### When initially clicking on a segment without a value, the segment will show a cursor: -- Typing a digit will start to populate the segment -- Pressing the `backspace` key will move the focus to the previous segment -- Pressing the `space` key will keep the focus on that segment - -#### When a segment is already selected, clicking on the segment a second time will deselect the segment, and a cursor will appear: -- Typing a digit will clear the segment and populate the segment with that new value. -- Pressing the `backspace` key will clear the segment -- Pressing the `backspace` key twice will clear the segment and move the focus to the previous segment -- Pressing the `space` key will clear the segment - -### Old Behavior -- Clicking on a segment will make the cursor appear in the clicked spot. -- If the segment is full, typing will not change the value -- If the segment is not full, typing will not add a new character after the cursor - -## Tabbing and Left/Right arrows - -### New behavior -#### When when using the arrow keys or tabbing into a segment with a value, the segment will select the value: -- Typing a digit will reset the segment and populate the segment with that new value. -- Pressing the `backspace` key will clear the segment -- Pressing the `backspace` key twice will clear the segment and move the focus to the previous segment -- Pressing the `space` key will clear the segment - -#### When using the arrow keys or tabbing into a segment without a value, the segment will show a cursor: -- Typing a digit will start to populate the segment -- Pressing the `backspace` key will move the focus to the previous segment -- Pressing the `space` key will keep the focus on that segment - -## Tabbing -### Old Behavior -- Tabbing into a segment will select the value, but pressing `space` does not reset the value - -## Left/Right arrows -### Old Behavior -- When in a segment, `left` or `right` arrow keys navigates through each character instead of selecting the value. -- If the segment is full, typing does not update the value -- If the segment is not full, typing will add a new character in that spot \ No newline at end of file diff --git a/.changeset/quick-eggs-kneel.md b/.changeset/quick-eggs-kneel.md deleted file mode 100644 index a12fe3e333..0000000000 --- a/.changeset/quick-eggs-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@leafygreen-ui/typography': patch ---- - -Updates dependency `@leafygreen-ui/tokens@2.3.0` diff --git a/.changeset/tricky-cars-cheat.md b/.changeset/tricky-cars-cheat.md deleted file mode 100644 index a2d77bb085..0000000000 --- a/.changeset/tricky-cars-cheat.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@leafygreen-ui/text-area': minor -'@leafygreen-ui/combobox': minor -'@leafygreen-ui/select': minor ---- - -`description` prop can now be a `React.ReactNode` rather than a `string` diff --git a/packages/combobox/CHANGELOG.md b/packages/combobox/CHANGELOG.md index b9ee22acdd..e382def551 100644 --- a/packages/combobox/CHANGELOG.md +++ b/packages/combobox/CHANGELOG.md @@ -1,5 +1,18 @@ # @leafygreen-ui/combobox +## 8.1.0 + +### Minor Changes + +- 36a8ded2: `description` prop can now be a `React.ReactNode` rather than a `string` + +### Patch Changes + +- Updated dependencies [c2854e9b] +- Updated dependencies [11d12cc4] + - @leafygreen-ui/tokens@2.4.0 + - @leafygreen-ui/typography@18.2.1 + ## 8.0.0 ### Major Changes diff --git a/packages/combobox/package.json b/packages/combobox/package.json index 822a8b8c0f..1d9ea8f14e 100644 --- a/packages/combobox/package.json +++ b/packages/combobox/package.json @@ -1,6 +1,6 @@ { "name": "@leafygreen-ui/combobox", - "version": "8.0.0", + "version": "8.1.0", "description": "leafyGreen UI Kit Combobox", "main": "./dist/index.js", "module": "./dist/esm/index.js", @@ -33,8 +33,8 @@ "@leafygreen-ui/lib": "^13.2.1", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/popover": "^11.1.1", - "@leafygreen-ui/tokens": "^2.3.0", - "@leafygreen-ui/typography": "^18.2.0", + "@leafygreen-ui/tokens": "^2.4.0", + "@leafygreen-ui/typography": "^18.2.1", "chalk": "^4.1.2", "lodash": "^4.17.21", "polished": "^4.2.2" diff --git a/packages/date-picker/CHANGELOG.md b/packages/date-picker/CHANGELOG.md index 57c018969f..0da4158bfc 100644 --- a/packages/date-picker/CHANGELOG.md +++ b/packages/date-picker/CHANGELOG.md @@ -1,5 +1,103 @@ # @leafygreen-ui/date-picker +## 1.0.0 + +### Major Changes + +- 69527524: Changes the behavior of segments. + + ## Backspace + + ### New Behavior + + - Pressing `backspace` will always clear the segment and keep the focus on that segment + - Pressing `backspace` twice will clear the segment and move the focus to the previous segment + + ### Old Behavior + + - Pressing `backspace` deletes characters before the cursor one by one + - After all characters are deleted, the focus moves to the previous segment + + ## Space + + ### New Behavior + + - Pressing `space` will always clear the segment and keep the focus on that segment + + ### Old Behavior + + - Pressing `space` does not change the current value + + ## Clicking + + ### New Behavior + + #### When initially clicking on a segment with a value, the segment will select the value: + + - Typing a digit will clear the segment and populate the segment with that new value. + - Pressing the `backspace` key will clear the segment + - Pressing the `backspace` key twice will clear the segment and move the focus to the previous segment + - Pressing the `space` key will clear the segment + + #### When initially clicking on a segment without a value, the segment will show a cursor: + + - Typing a digit will start to populate the segment + - Pressing the `backspace` key will move the focus to the previous segment + - Pressing the `space` key will keep the focus on that segment + + #### When a segment is already selected, clicking on the segment a second time will deselect the segment, and a cursor will appear: + + - Typing a digit will clear the segment and populate the segment with that new value. + - Pressing the `backspace` key will clear the segment + - Pressing the `backspace` key twice will clear the segment and move the focus to the previous segment + - Pressing the `space` key will clear the segment + + ### Old Behavior + + - Clicking on a segment will make the cursor appear in the clicked spot. + - If the segment is full, typing will not change the value + - If the segment is not full, typing will not add a new character after the cursor + + ## Tabbing and Left/Right arrows + + ### New behavior + + #### When when using the arrow keys or tabbing into a segment with a value, the segment will select the value: + + - Typing a digit will reset the segment and populate the segment with that new value. + - Pressing the `backspace` key will clear the segment + - Pressing the `backspace` key twice will clear the segment and move the focus to the previous segment + - Pressing the `space` key will clear the segment + + #### When using the arrow keys or tabbing into a segment without a value, the segment will show a cursor: + + - Typing a digit will start to populate the segment + - Pressing the `backspace` key will move the focus to the previous segment + - Pressing the `space` key will keep the focus on that segment + + ## Tabbing + + ### Old Behavior + + - Tabbing into a segment will select the value, but pressing `space` does not reset the value + + ## Left/Right arrows + + ### Old Behavior + + - When in a segment, `left` or `right` arrow keys navigates through each character instead of selecting the value. + - If the segment is full, typing does not update the value + - If the segment is not full, typing will add a new character in that spot + +### Patch Changes + +- Updated dependencies [c2854e9b] +- Updated dependencies [11d12cc4] +- Updated dependencies [36a8ded2] + - @leafygreen-ui/tokens@2.4.0 + - @leafygreen-ui/typography@18.2.1 + - @leafygreen-ui/select@11.2.0 + ## 0.2.2 ### Patch Changes diff --git a/packages/date-picker/package.json b/packages/date-picker/package.json index e7b42cdc70..c83fada88b 100644 --- a/packages/date-picker/package.json +++ b/packages/date-picker/package.json @@ -1,6 +1,6 @@ { "name": "@leafygreen-ui/date-picker", - "version": "0.2.2", + "version": "1.0.0", "description": "LeafyGreen UI Kit Date Picker", "license": "Apache-2.0", "main": "./dist/index.js", @@ -25,9 +25,9 @@ "@leafygreen-ui/lib": "^13.2.1", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/popover": "^11.2.1", - "@leafygreen-ui/select": "^11.1.2", - "@leafygreen-ui/tokens": "^2.3.0", - "@leafygreen-ui/typography": "^18.1.0", + "@leafygreen-ui/select": "^11.2.0", + "@leafygreen-ui/tokens": "^2.4.0", + "@leafygreen-ui/typography": "^18.2.1", "date-fns": "^2.30.0", "lodash": "^4.17.21", "polished": "^4.2.2", diff --git a/packages/select/CHANGELOG.md b/packages/select/CHANGELOG.md index 8a9387e91e..e57ed22394 100644 --- a/packages/select/CHANGELOG.md +++ b/packages/select/CHANGELOG.md @@ -1,5 +1,18 @@ # @leafygreen-ui/select +## 11.2.0 + +### Minor Changes + +- 36a8ded2: `description` prop can now be a `React.ReactNode` rather than a `string` + +### Patch Changes + +- Updated dependencies [c2854e9b] +- Updated dependencies [11d12cc4] + - @leafygreen-ui/tokens@2.4.0 + - @leafygreen-ui/typography@18.2.1 + ## 11.1.2 ### Patch Changes diff --git a/packages/select/package.json b/packages/select/package.json index 383fbda0c5..84c0c98ddd 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -1,6 +1,6 @@ { "name": "@leafygreen-ui/select", - "version": "11.1.2", + "version": "11.2.0", "description": "leafyGreen UI Kit Select", "main": "./dist/index.js", "module": "./dist/esm/index.js", @@ -30,8 +30,8 @@ "@leafygreen-ui/lib": "^13.2.0", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/popover": "^11.2.1", - "@leafygreen-ui/tokens": "^2.2.0", - "@leafygreen-ui/typography": "^18.1.0", + "@leafygreen-ui/tokens": "^2.4.0", + "@leafygreen-ui/typography": "^18.2.1", "@types/react-is": "^18.0.0", "lodash": "^4.17.21", "polished": "^4.1.3", diff --git a/packages/text-area/CHANGELOG.md b/packages/text-area/CHANGELOG.md index 65750b9c1a..3148c2702e 100644 --- a/packages/text-area/CHANGELOG.md +++ b/packages/text-area/CHANGELOG.md @@ -1,5 +1,18 @@ # @leafygreen-ui/text-area +## 8.1.0 + +### Minor Changes + +- 36a8ded2: `description` prop can now be a `React.ReactNode` rather than a `string` + +### Patch Changes + +- Updated dependencies [c2854e9b] +- Updated dependencies [11d12cc4] + - @leafygreen-ui/tokens@2.4.0 + - @leafygreen-ui/typography@18.2.1 + ## 8.0.21 ### Patch Changes diff --git a/packages/text-area/package.json b/packages/text-area/package.json index c0a3f281ee..0b7b48f50b 100644 --- a/packages/text-area/package.json +++ b/packages/text-area/package.json @@ -1,6 +1,6 @@ { "name": "@leafygreen-ui/text-area", - "version": "8.0.21", + "version": "8.1.0", "description": "leafyGreen UI Kit Text Area", "main": "./dist/index.js", "module": "./dist/esm/index.js", @@ -27,8 +27,8 @@ "@leafygreen-ui/icon": "^11.27.0", "@leafygreen-ui/lib": "^13.0.0", "@leafygreen-ui/palette": "^4.0.7", - "@leafygreen-ui/tokens": "^2.2.0", - "@leafygreen-ui/typography": "^18.0.0" + "@leafygreen-ui/tokens": "^2.4.0", + "@leafygreen-ui/typography": "^18.2.1" }, "peerDependencies": { "@leafygreen-ui/leafygreen-provider": "^3.1.10" diff --git a/packages/tokens/CHANGELOG.md b/packages/tokens/CHANGELOG.md index b838b01174..45daefc7c9 100644 --- a/packages/tokens/CHANGELOG.md +++ b/packages/tokens/CHANGELOG.md @@ -1,5 +1,11 @@ # @leafygreen-ui/tokens +## 2.4.0 + +### Minor Changes + +- c2854e9b: Adds additional spacing tokens + ## 2.3.0 ### Minor Changes diff --git a/packages/tokens/package.json b/packages/tokens/package.json index 2d4a324c06..48ddfc393b 100644 --- a/packages/tokens/package.json +++ b/packages/tokens/package.json @@ -1,6 +1,6 @@ { "name": "@leafygreen-ui/tokens", - "version": "2.3.0", + "version": "2.4.0", "description": "leafyGreen UI Kit Tokens", "main": "./dist/index.js", "module": "./dist/esm/index.js", diff --git a/packages/typography/CHANGELOG.md b/packages/typography/CHANGELOG.md index 3b3d74ed6f..91b65e44a9 100644 --- a/packages/typography/CHANGELOG.md +++ b/packages/typography/CHANGELOG.md @@ -1,5 +1,13 @@ # @leafygreen-ui/typography +## 18.2.1 + +### Patch Changes + +- 11d12cc4: Updates dependency `@leafygreen-ui/tokens@2.3.0` +- Updated dependencies [c2854e9b] + - @leafygreen-ui/tokens@2.4.0 + ## 18.2.0 ### Minor Changes diff --git a/packages/typography/package.json b/packages/typography/package.json index f983dc6f4c..c056f83f87 100644 --- a/packages/typography/package.json +++ b/packages/typography/package.json @@ -1,6 +1,6 @@ { "name": "@leafygreen-ui/typography", - "version": "18.2.0", + "version": "18.2.1", "description": "leafyGreen UI Kit Typography", "main": "./dist/index.js", "module": "./dist/esm/index.js", @@ -27,7 +27,7 @@ "@leafygreen-ui/lib": "^13.2.0", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/polymorphic": "^1.3.6", - "@leafygreen-ui/tokens": "^2.3.0" + "@leafygreen-ui/tokens": "^2.4.0" }, "peerDependencies": { "@leafygreen-ui/leafygreen-provider": "^3.1.11"