From dde7f26de2d4d6e92912ef7f9f4b240f7331db84 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 18:02:14 +0100 Subject: [PATCH] Version Packages (#3547) Co-authored-by: github-actions[bot] --- .changeset/beige-students-accept.md | 5 --- .changeset/cold-ants-cheat.md | 5 --- .changeset/fluffy-snails-camp.md | 5 --- .changeset/friendly-llamas-speak.md | 9 ------ .changeset/friendly-pillows-pay.md | 5 --- .changeset/giant-mangos-drop.md | 9 ------ .changeset/happy-tables-leave.md | 12 ------- .changeset/long-berries-heal.md | 5 --- .changeset/mean-worms-brake.md | 16 ---------- .changeset/mighty-birds-tie.md | 5 --- .changeset/polite-laws-shout.md | 11 ------- .changeset/small-melons-roll.md | 17 ---------- .changeset/stale-gorillas-poke.md | 10 ------ .changeset/stale-taxis-raise.md | 5 --- .changeset/two-rats-protect.md | 22 ------------- .changeset/unlucky-keys-dress.md | 5 --- packages/core/CHANGELOG.md | 49 +++++++++++++++++++++++++++++ packages/core/package.json | 2 +- packages/countries/CHANGELOG.md | 10 ++++++ packages/countries/package.json | 2 +- packages/data-grid/CHANGELOG.md | 6 ++++ packages/data-grid/package.json | 2 +- packages/icons/CHANGELOG.md | 6 ++++ packages/icons/package.json | 2 +- packages/lab/CHANGELOG.md | 28 +++++++++++++++++ packages/lab/package.json | 2 +- packages/theme/CHANGELOG.md | 23 ++++++++++++++ packages/theme/package.json | 2 +- 28 files changed, 128 insertions(+), 152 deletions(-) delete mode 100644 .changeset/beige-students-accept.md delete mode 100644 .changeset/cold-ants-cheat.md delete mode 100644 .changeset/fluffy-snails-camp.md delete mode 100644 .changeset/friendly-llamas-speak.md delete mode 100644 .changeset/friendly-pillows-pay.md delete mode 100644 .changeset/giant-mangos-drop.md delete mode 100644 .changeset/happy-tables-leave.md delete mode 100644 .changeset/long-berries-heal.md delete mode 100644 .changeset/mean-worms-brake.md delete mode 100644 .changeset/mighty-birds-tie.md delete mode 100644 .changeset/polite-laws-shout.md delete mode 100644 .changeset/small-melons-roll.md delete mode 100644 .changeset/stale-gorillas-poke.md delete mode 100644 .changeset/stale-taxis-raise.md delete mode 100644 .changeset/two-rats-protect.md delete mode 100644 .changeset/unlucky-keys-dress.md diff --git a/.changeset/beige-students-accept.md b/.changeset/beige-students-accept.md deleted file mode 100644 index cfc23f8e25a..00000000000 --- a/.changeset/beige-students-accept.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@salt-ds/data-grid": patch ---- - -Exported `EditorContext` and `CellFrame` to create custom cell and cell editors diff --git a/.changeset/cold-ants-cheat.md b/.changeset/cold-ants-cheat.md deleted file mode 100644 index c947d4bb6fa..00000000000 --- a/.changeset/cold-ants-cheat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@salt-ds/core": patch ---- - -Fixed content alignment of Option, OptionGroup, MenuItem and MenuGroup. diff --git a/.changeset/fluffy-snails-camp.md b/.changeset/fluffy-snails-camp.md deleted file mode 100644 index b07f1aacc35..00000000000 --- a/.changeset/fluffy-snails-camp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@salt-ds/lab": patch ---- - -Fix Range date picker cursor position after selection diff --git a/.changeset/friendly-llamas-speak.md b/.changeset/friendly-llamas-speak.md deleted file mode 100644 index 3b0d2093278..00000000000 --- a/.changeset/friendly-llamas-speak.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@salt-ds/lab": minor ---- - -Added `visibleMonths` to control the number of visible months in a range `DatePicker`. The supports values are `1` or `2` (default). - -```tsx - -``` diff --git a/.changeset/friendly-pillows-pay.md b/.changeset/friendly-pillows-pay.md deleted file mode 100644 index a1e9308df8c..00000000000 --- a/.changeset/friendly-pillows-pay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@salt-ds/core": patch ---- - -Added line-height, letter-spacing and font-family to Dropdown, MenuItem, Option and OptionGroup. diff --git a/.changeset/giant-mangos-drop.md b/.changeset/giant-mangos-drop.md deleted file mode 100644 index ccf93df15aa..00000000000 --- a/.changeset/giant-mangos-drop.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@salt-ds/countries": minor ---- - -Expose a CSS file that allows Salt to be used without runtime CSS injection. - -```tsx -import "@salt-ds/countries/css/salt-countries.css"; -``` diff --git a/.changeset/happy-tables-leave.md b/.changeset/happy-tables-leave.md deleted file mode 100644 index b535b2ce8ee..00000000000 --- a/.changeset/happy-tables-leave.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@salt-ds/core": minor ---- - -Added `Tag` component to core. Tags are non-interactive visual adornments that represent metadata or keywords associated with content, drawing the user's attention to categories without requiring interaction. - -```typescript - Tag - Tag - Tag - Tag -``` diff --git a/.changeset/long-berries-heal.md b/.changeset/long-berries-heal.md deleted file mode 100644 index 17b654ddbf8..00000000000 --- a/.changeset/long-berries-heal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@salt-ds/core": patch ---- - -Fixed Combo Box not picking `defaultValue` when `defaultSelected` is not set. Closes #3579. diff --git a/.changeset/mean-worms-brake.md b/.changeset/mean-worms-brake.md deleted file mode 100644 index a4559e5e88b..00000000000 --- a/.changeset/mean-worms-brake.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"@salt-ds/lab": patch ---- - -- Exposed input values in dateInput's `onChange`. - - ```tsx - {}}/> - - {}} - /> - ``` - -- Removed `startDate`, `defaultStartDate`, `endDate`, and `defaultEndDate` in DatePicker. -- Added `selectedDate`, `defaultSelectedDate` and `defaultOpen` in DatePicker. diff --git a/.changeset/mighty-birds-tie.md b/.changeset/mighty-birds-tie.md deleted file mode 100644 index 41df10f271b..00000000000 --- a/.changeset/mighty-birds-tie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@salt-ds/core": patch ---- - -Fixed combo box can be focused when disabled. Fixes #3369 diff --git a/.changeset/polite-laws-shout.md b/.changeset/polite-laws-shout.md deleted file mode 100644 index f0aa86e9599..00000000000 --- a/.changeset/polite-laws-shout.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@salt-ds/core": minor ---- - -Added a new `actionFont` prop to `UNSTABLE_SaltProviderNext` with `"Open Sans"` or `"Amplitude"` option. To try it out, use - -``` - -``` - -Refer to [documentation](https://storybook.saltdesignsystem.com/?path=/docs/experimental-theme-next--docs) for more information. diff --git a/.changeset/small-melons-roll.md b/.changeset/small-melons-roll.md deleted file mode 100644 index f2ddd629a5d..00000000000 --- a/.changeset/small-melons-roll.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"@salt-ds/core": minor ---- - -Added `ListBox` component to core. `ListBox` allows the user to select an item from an array of options. Selected items are visually distinct from nonselected items. To ensure efficient space usage, long lists of items are in a scrolling pane that can provide access to options not immediately visible to the user. - -```tsx - - -``` diff --git a/.changeset/stale-gorillas-poke.md b/.changeset/stale-gorillas-poke.md deleted file mode 100644 index 1bd67650e0f..00000000000 --- a/.changeset/stale-gorillas-poke.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@salt-ds/core": minor ---- - -Added `Divider`. - -```tsx - - -``` diff --git a/.changeset/stale-taxis-raise.md b/.changeset/stale-taxis-raise.md deleted file mode 100644 index 7e073461f9a..00000000000 --- a/.changeset/stale-taxis-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@salt-ds/lab": minor ---- - -Removed `Divider` from lab and promoted to core. diff --git a/.changeset/two-rats-protect.md b/.changeset/two-rats-protect.md deleted file mode 100644 index 0678b9203ed..00000000000 --- a/.changeset/two-rats-protect.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -"@salt-ds/theme": minor ---- - -Added theme tokens supporting action font switch. - -```css ---salt-text-action-fontFamily: var(--salt-palette-text-fontFamily-action); - ---salt-palette-text-fontFamily-action: var( - --salt-typography-fontFamily-openSans -); ---salt-palette-text-action-fontWeight: var( - --salt-typography-fontWeight-semiBold -); -``` - -Updated `--salt-text-action-fontWeight` to use `var(--salt-palette-text-action-fontWeight)`. - -In theme next, palette layer tokens can be switched between Open Sans and Amplitude. - -Closes #3528. diff --git a/.changeset/unlucky-keys-dress.md b/.changeset/unlucky-keys-dress.md deleted file mode 100644 index 4e9cbd77294..00000000000 --- a/.changeset/unlucky-keys-dress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@salt-ds/icons": patch ---- - -Fixed Icon as CSS background not working when another className is in front. Closes #3583. diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index e5b78b43d4c..11fbc111a9b 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,54 @@ # @salt-ds/core +## 1.30.0 + +### Minor Changes + +- e35a976: Added `Tag` component to core. Tags are non-interactive visual adornments that represent metadata or keywords associated with content, drawing the user's attention to categories without requiring interaction. + + ```typescript + Tag + Tag + Tag + Tag + ``` + +- f89189d: Added a new `actionFont` prop to `UNSTABLE_SaltProviderNext` with `"Open Sans"` or `"Amplitude"` option. To try it out, use + + ``` + + ``` + + Refer to [documentation](https://storybook.saltdesignsystem.com/?path=/docs/experimental-theme-next--docs) for more information. + +- 0715454: Added `ListBox` component to core. `ListBox` allows the user to select an item from an array of options. Selected items are visually distinct from nonselected items. To ensure efficient space usage, long lists of items are in a scrolling pane that can provide access to options not immediately visible to the user. + + ```tsx + + + ``` + +- 6cde7ea: Added `Divider`. + + ```tsx + + + ``` + +### Patch Changes + +- 4697c25: Fixed content alignment of Option, OptionGroup, MenuItem and MenuGroup. +- 0486cbc: Added line-height, letter-spacing and font-family to Dropdown, MenuItem, Option and OptionGroup. +- f125982: Fixed Combo Box not picking `defaultValue` when `defaultSelected` is not set. Closes #3579. +- 55e7ced: Fixed combo box can be focused when disabled. Fixes #3369 + ## 1.29.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index dbe5f28755d..2f6383e9522 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@salt-ds/core", - "version": "1.29.0", + "version": "1.30.0", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/packages/countries/CHANGELOG.md b/packages/countries/CHANGELOG.md index c6ad20c007d..5e4dc3ec980 100644 --- a/packages/countries/CHANGELOG.md +++ b/packages/countries/CHANGELOG.md @@ -1,5 +1,15 @@ # @salt-ds/countries +## 1.4.0 + +### Minor Changes + +- 40e9372: Expose a CSS file that allows Salt to be used without runtime CSS injection. + + ```tsx + import "@salt-ds/countries/css/salt-countries.css"; + ``` + ## 1.3.1 ### Patch Changes diff --git a/packages/countries/package.json b/packages/countries/package.json index 28f38911e89..a57859ab2d0 100644 --- a/packages/countries/package.json +++ b/packages/countries/package.json @@ -1,6 +1,6 @@ { "name": "@salt-ds/countries", - "version": "1.3.1", + "version": "1.4.0", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/packages/data-grid/CHANGELOG.md b/packages/data-grid/CHANGELOG.md index 2ca818584e6..0a06c29e88e 100644 --- a/packages/data-grid/CHANGELOG.md +++ b/packages/data-grid/CHANGELOG.md @@ -1,5 +1,11 @@ # @salt-ds/data-grid +## 1.0.5 + +### Patch Changes + +- 4b35339: Exported `EditorContext` and `CellFrame` to create custom cell and cell editors + ## 1.0.4-alpha.10 ### Patch Changes diff --git a/packages/data-grid/package.json b/packages/data-grid/package.json index 4ae8dd415db..3f8326a192a 100644 --- a/packages/data-grid/package.json +++ b/packages/data-grid/package.json @@ -1,6 +1,6 @@ { "name": "@salt-ds/data-grid", - "version": "1.0.4", + "version": "1.0.5", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/packages/icons/CHANGELOG.md b/packages/icons/CHANGELOG.md index 75531f736e3..1c295b520ee 100644 --- a/packages/icons/CHANGELOG.md +++ b/packages/icons/CHANGELOG.md @@ -1,5 +1,11 @@ # @salt-ds/icons +## 1.12.1 + +### Patch Changes + +- 89c26bc: Fixed Icon as CSS background not working when another className is in front. Closes #3583. + ## 1.12.0 ### Minor Changes diff --git a/packages/icons/package.json b/packages/icons/package.json index b072554bd37..03dfac0285c 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -1,6 +1,6 @@ { "name": "@salt-ds/icons", - "version": "1.12.0", + "version": "1.12.1", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/packages/lab/CHANGELOG.md b/packages/lab/CHANGELOG.md index a9869d1f6f8..ebee7a15e8a 100644 --- a/packages/lab/CHANGELOG.md +++ b/packages/lab/CHANGELOG.md @@ -1,5 +1,33 @@ # @salt-ds/lab +## 1.0.0-alpha.48 + +### Minor Changes + +- c759347: Added `visibleMonths` to control the number of visible months in a range `DatePicker`. The supports values are `1` or `2` (default). + + ```tsx + + ``` + +- 6cde7ea: Removed `Divider` from lab and promoted to core. + +### Patch Changes + +- 50b03f5: Fix Range date picker cursor position after selection +- ba1dc07: - Exposed input values in dateInput's `onChange`. + + ```tsx + {}}/> + + {}} + /> + ``` + + - Removed `startDate`, `defaultStartDate`, `endDate`, and `defaultEndDate` in DatePicker. + - Added `selectedDate`, `defaultSelectedDate` and `defaultOpen` in DatePicker. + ## 1.0.0-alpha.47 ### Minor Changes diff --git a/packages/lab/package.json b/packages/lab/package.json index f70afc548db..208ac8ae49c 100644 --- a/packages/lab/package.json +++ b/packages/lab/package.json @@ -1,6 +1,6 @@ { "name": "@salt-ds/lab", - "version": "1.0.0-alpha.47", + "version": "1.0.0-alpha.48", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/packages/theme/CHANGELOG.md b/packages/theme/CHANGELOG.md index da0f050c6b7..8e7c28eda00 100644 --- a/packages/theme/CHANGELOG.md +++ b/packages/theme/CHANGELOG.md @@ -1,5 +1,28 @@ # @salt-ds/theme +## 1.19.0 + +### Minor Changes + +- f89189d: Added theme tokens supporting action font switch. + + ```css + --salt-text-action-fontFamily: var(--salt-palette-text-fontFamily-action); + + --salt-palette-text-fontFamily-action: var( + --salt-typography-fontFamily-openSans + ); + --salt-palette-text-action-fontWeight: var( + --salt-typography-fontWeight-semiBold + ); + ``` + + Updated `--salt-text-action-fontWeight` to use `var(--salt-palette-text-action-fontWeight)`. + + In theme next, palette layer tokens can be switched between Open Sans and Amplitude. + + Closes #3528. + ## 1.18.0 ### Minor Changes diff --git a/packages/theme/package.json b/packages/theme/package.json index ecde70883a7..3ca1a05519c 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -1,6 +1,6 @@ { "name": "@salt-ds/theme", - "version": "1.18.0", + "version": "1.19.0", "license": "Apache-2.0", "repository": { "type": "git",