From f7a508d13262adfedbd9f24f2f84357b321fbbec Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 21 Feb 2024 22:17:22 +0000 Subject: [PATCH] Version Packages --- .changeset/chilly-avocados-bow.md | 5 -- .changeset/curly-worms-drum.md | 5 -- .changeset/eight-beds-smash.md | 72 ---------------------- .changeset/quick-eggs-kneel.md | 5 -- .changeset/tasty-pens-sit.md | 6 -- .changeset/thick-dragons-vanish.md | 8 --- .changeset/tricky-cars-cheat.md | 7 --- packages/combobox/CHANGELOG.md | 13 ++++ packages/combobox/package.json | 6 +- packages/date-picker/CHANGELOG.md | 98 ++++++++++++++++++++++++++++++ packages/date-picker/package.json | 8 +-- packages/form-footer/CHANGELOG.md | 6 ++ packages/form-footer/package.json | 2 +- packages/select/CHANGELOG.md | 13 ++++ packages/select/package.json | 6 +- packages/table/CHANGELOG.md | 17 ++++++ packages/table/package.json | 6 +- packages/text-area/CHANGELOG.md | 13 ++++ packages/text-area/package.json | 6 +- packages/tokens/CHANGELOG.md | 6 ++ packages/tokens/package.json | 2 +- packages/typography/CHANGELOG.md | 8 +++ packages/typography/package.json | 4 +- 23 files changed, 194 insertions(+), 128 deletions(-) delete mode 100644 .changeset/chilly-avocados-bow.md delete mode 100644 .changeset/curly-worms-drum.md delete mode 100644 .changeset/eight-beds-smash.md delete mode 100644 .changeset/quick-eggs-kneel.md delete mode 100644 .changeset/tasty-pens-sit.md delete mode 100644 .changeset/thick-dragons-vanish.md delete mode 100644 .changeset/tricky-cars-cheat.md diff --git a/.changeset/chilly-avocados-bow.md b/.changeset/chilly-avocados-bow.md deleted file mode 100644 index 976bce840e..0000000000 --- a/.changeset/chilly-avocados-bow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@leafygreen-ui/form-footer': patch ---- - -Adds `data-testids` to subcomponents of FormFooter 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/tasty-pens-sit.md b/.changeset/tasty-pens-sit.md deleted file mode 100644 index 6d6156084d..0000000000 --- a/.changeset/tasty-pens-sit.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@leafygreen-ui/table': patch ---- - -Fixes a bug where nested row chevrons and selectable row checkboxes would be rendered above a sticky header. -[Jira Ticket](https://jira.mongodb.org/browse/LG-4037) \ No newline at end of file diff --git a/.changeset/thick-dragons-vanish.md b/.changeset/thick-dragons-vanish.md deleted file mode 100644 index 06ac7bcb47..0000000000 --- a/.changeset/thick-dragons-vanish.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@leafygreen-ui/table': minor ---- - -Exposes `virtualizerOptions` property in `useLeafyGreenTable` options. This is used to define options for `react-virtual`. -As of now, we have `react-virtual@2.10.4` as out virtualizer dependency. Virtualizer options for this version can be found [on GitHub](https://github.com/TanStack/virtual/blob/v2/docs/src/pages/docs/api.md) -Resolves [LG-3984](https://jira.mongodb.org/browse/LG-3984) - 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/form-footer/CHANGELOG.md b/packages/form-footer/CHANGELOG.md index a66856354b..7b4657853b 100644 --- a/packages/form-footer/CHANGELOG.md +++ b/packages/form-footer/CHANGELOG.md @@ -1,5 +1,11 @@ # @leafygreen-ui/form-footer +## 3.0.16 + +### Patch Changes + +- 9e7d74b0: Adds `data-testids` to subcomponents of FormFooter + ## 3.0.15 ### Patch Changes diff --git a/packages/form-footer/package.json b/packages/form-footer/package.json index 6ef48acaf7..e0aec660b4 100644 --- a/packages/form-footer/package.json +++ b/packages/form-footer/package.json @@ -1,6 +1,6 @@ { "name": "@leafygreen-ui/form-footer", - "version": "3.0.15", + "version": "3.0.16", "description": "leafyGreen UI Kit Form Footer", "main": "./dist/index.js", "module": "./dist/esm/index.js", 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/table/CHANGELOG.md b/packages/table/CHANGELOG.md index 0fe4397491..e60f149f25 100644 --- a/packages/table/CHANGELOG.md +++ b/packages/table/CHANGELOG.md @@ -1,5 +1,22 @@ # @leafygreen-ui/table +## 12.5.0 + +### Minor Changes + +- 744092c8: Exposes `virtualizerOptions` property in `useLeafyGreenTable` options. This is used to define options for `react-virtual`. + As of now, we have `react-virtual@2.10.4` as out virtualizer dependency. Virtualizer options for this version can be found [on GitHub](https://github.com/TanStack/virtual/blob/v2/docs/src/pages/docs/api.md) + Resolves [LG-3984](https://jira.mongodb.org/browse/LG-3984) + +### Patch Changes + +- 744092c8: Fixes a bug where nested row chevrons and selectable row checkboxes would be rendered above a sticky header. + [Jira Ticket](https://jira.mongodb.org/browse/LG-4037) +- Updated dependencies [c2854e9b] +- Updated dependencies [11d12cc4] + - @leafygreen-ui/tokens@2.4.0 + - @leafygreen-ui/typography@18.2.1 + ## 12.4.1 ### Patch Changes diff --git a/packages/table/package.json b/packages/table/package.json index bd94a7db48..f962bb98d8 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -1,6 +1,6 @@ { "name": "@leafygreen-ui/table", - "version": "12.4.1", + "version": "12.5.0", "description": "leafyGreen UI Kit Table", "main": "./dist/index.js", "module": "./dist/esm/index.js", @@ -30,8 +30,8 @@ "@leafygreen-ui/lib": "^13.2.1", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/polymorphic": "^1.3.6", - "@leafygreen-ui/tokens": "^2.3.0", - "@leafygreen-ui/typography": "^18.1.0", + "@leafygreen-ui/tokens": "^2.4.0", + "@leafygreen-ui/typography": "^18.2.1", "@tanstack/react-table": "^8.7.3", "lodash": "^4.17.21", "polished": "^4.2.2", 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"