From 100f972e11d27f6fe65367a76f67d4ce56d37a5f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 16:49:34 +0100 Subject: [PATCH] Version Packages (#3507) Co-authored-by: github-actions[bot] --- .changeset/bright-dogs-raise.md | 7 -- .changeset/clever-lemons-fetch.md | 5 -- .changeset/display-size-remap.md | 12 ---- .changeset/lucky-apricots-try.md | 32 --------- .changeset/mean-paws-relax.md | 6 -- .changeset/perfect-pugs-fix.md | 10 --- .changeset/sharp-files-unite.md | 49 -------------- .changeset/stale-shirts-greet.md | 16 ----- .changeset/strange-kids-trade.md | 19 ------ .changeset/strong-timers-fry.md | 13 ---- .changeset/switch-no-label-span.md | 5 -- .changeset/wet-jokes-jog.md | 5 -- packages/core/CHANGELOG.md | 42 ++++++++++++ packages/core/package.json | 2 +- packages/lab/CHANGELOG.md | 15 +++++ packages/lab/package.json | 2 +- packages/theme/CHANGELOG.md | 101 +++++++++++++++++++++++++++++ packages/theme/package.json | 2 +- 18 files changed, 161 insertions(+), 182 deletions(-) delete mode 100644 .changeset/bright-dogs-raise.md delete mode 100644 .changeset/clever-lemons-fetch.md delete mode 100644 .changeset/display-size-remap.md delete mode 100644 .changeset/lucky-apricots-try.md delete mode 100644 .changeset/mean-paws-relax.md delete mode 100644 .changeset/perfect-pugs-fix.md delete mode 100644 .changeset/sharp-files-unite.md delete mode 100644 .changeset/stale-shirts-greet.md delete mode 100644 .changeset/strange-kids-trade.md delete mode 100644 .changeset/strong-timers-fry.md delete mode 100644 .changeset/switch-no-label-span.md delete mode 100644 .changeset/wet-jokes-jog.md diff --git a/.changeset/bright-dogs-raise.md b/.changeset/bright-dogs-raise.md deleted file mode 100644 index 1ef6ff04084..00000000000 --- a/.changeset/bright-dogs-raise.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@salt-ds/theme": minor ---- - -Added display 4 text tokens, which have the same value as display 3. - -In theme next, display sizes are remapped to reflect larger size than h1. diff --git a/.changeset/clever-lemons-fetch.md b/.changeset/clever-lemons-fetch.md deleted file mode 100644 index 7ea7bcdc876..00000000000 --- a/.changeset/clever-lemons-fetch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@salt-ds/lab": patch ---- - -Fixed date picker shown behind dialog. Fixed #3471 diff --git a/.changeset/display-size-remap.md b/.changeset/display-size-remap.md deleted file mode 100644 index a4dbbec3a92..00000000000 --- a/.changeset/display-size-remap.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@salt-ds/core": minor ---- - -Added `Display4` text. - -``` -text -text -``` - -It will be using different size when used in `SaltProvider` and `UNSTABLE_SaltProviderNext`. diff --git a/.changeset/lucky-apricots-try.md b/.changeset/lucky-apricots-try.md deleted file mode 100644 index 79e5ff6302c..00000000000 --- a/.changeset/lucky-apricots-try.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -"@salt-ds/theme": minor ---- - -Updated H1 font weight - -| H1 | Before | New | -| ------- | ---------- | --------- | -| Default | Bold | Semi bold | -| Small | Medium | Regular | -| Strong | Extra bold | Bold | - -Added font weight in palette layer for display, heading, body and notation. - -```diff -+ --salt-palette-text-display-fontWeight: var(--salt-typography-fontWeight-semiBold); -+ --salt-palette-text-display-fontWeight-small: var(--salt-typography-fontWeight-regular); -+ --salt-palette-text-display-fontWeight-strong: var(--salt-typography-fontWeight-bold); -+ --salt-palette-text-heading-fontWeight: var(--salt-typography-fontWeight-semiBold); -+ --salt-palette-text-heading-fontWeight-small: var(--salt-typography-fontWeight-regular); -+ --salt-palette-text-heading-fontWeight-strong: var(--salt-typography-fontWeight-bold); -+ --salt-palette-text-body-fontWeight: var(--salt-typography-fontWeight-regular); -+ --salt-palette-text-body-fontWeight-small: var(--salt-typography-fontWeight-light); -+ --salt-palette-text-body-fontWeight-strong: var(--salt-typography-fontWeight-semiBold); -+ --salt-palette-text-notation-fontWeight: var(--salt-typography-fontWeight-semiBold); -+ --salt-palette-text-notation-fontWeight-small: var(--salt-typography-fontWeight-regular); -+ --salt-palette-text-notation-fontWeight-strong: var(--salt-typography-fontWeight-bold); -``` - -Wired text characteristics font weight to newly added palette tokens. - -In theme next, when Amplitude is used for heading, font weight will be adjusted accordingly. diff --git a/.changeset/mean-paws-relax.md b/.changeset/mean-paws-relax.md deleted file mode 100644 index 595d7044b06..00000000000 --- a/.changeset/mean-paws-relax.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@salt-ds/theme": minor ---- - -- Added `--salt-opacity-45: 0.45`. -- Updated `--salt-palette-opacity-primary-border` from `var(--salt-opacity-40)` to `var(--salt-opacity-45)`. diff --git a/.changeset/perfect-pugs-fix.md b/.changeset/perfect-pugs-fix.md deleted file mode 100644 index 729aa21ff69..00000000000 --- a/.changeset/perfect-pugs-fix.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@salt-ds/lab": minor ---- - -Added Divider component—`Divider` provides a thin, unobtrusive line for grouping elements to reinforce visual hierarchy. - -```tsx - - -``` diff --git a/.changeset/sharp-files-unite.md b/.changeset/sharp-files-unite.md deleted file mode 100644 index aafb6c1be2b..00000000000 --- a/.changeset/sharp-files-unite.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -"@salt-ds/theme": minor ---- - -Updated foundation color palette used in theme next due to color contrast concerns, below colors are impacted. - -``` ---salt-color-blue-200 ---salt-color-blue-300 ---salt-color-blue-400 ---salt-color-blue-600 ---salt-color-blue-700 ---salt-color-blue-800 ---salt-color-blue-900 ---salt-color-green-200 ---salt-color-green-300 ---salt-color-green-400 ---salt-color-green-600 ---salt-color-green-700 ---salt-color-green-800 ---salt-color-green-900 ---salt-color-teal-200 ---salt-color-teal-300 ---salt-color-teal-400 ---salt-color-teal-600 ---salt-color-teal-700 ---salt-color-teal-800 ---salt-color-teal-900 ---salt-color-orange-200 ---salt-color-orange-300 ---salt-color-orange-400 ---salt-color-orange-500 ---salt-color-orange-600 ---salt-color-orange-700 ---salt-color-orange-800 ---salt-color-red-300 ---salt-color-red-400 ---salt-color-red-600 ---salt-color-red-700 ---salt-color-red-800 ---salt-color-red-900 ---salt-color-purple-200 ---salt-color-purple-300 ---salt-color-purple-400 ---salt-color-purple-600 ---salt-color-purple-700 ---salt-color-purple-800 ---salt-color-purple-900 -``` diff --git a/.changeset/stale-shirts-greet.md b/.changeset/stale-shirts-greet.md deleted file mode 100644 index afcde093b02..00000000000 --- a/.changeset/stale-shirts-greet.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"@salt-ds/core": minor ---- - -Added `icon` prop to Toast to allow for a custom icon - -```tsx -} status={"info"}> - - - Info with Custom Icon - -
Filters have been cleared
-
-
-``` diff --git a/.changeset/strange-kids-trade.md b/.changeset/strange-kids-trade.md deleted file mode 100644 index 57bc34843e6..00000000000 --- a/.changeset/strange-kids-trade.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -"@salt-ds/theme": minor ---- - -Added 20 groups of categorical palette and category characteristics tokens, e.g., cat 1 tokens - -Characteristics - -- `--salt-category-1-subtle-foreground` -- `--salt-category-1-subtle-background` -- `--salt-category-1-subtle-borderColor` -- `--salt-category-1-bold-background` -- `--salt-category-1-bold-foreground` - -Palette - -- `--salt-palette-categorical-1` -- `--salt-palette-categorical-1-strong` -- `--salt-palette-categorical-1-weakest` diff --git a/.changeset/strong-timers-fry.md b/.changeset/strong-timers-fry.md deleted file mode 100644 index 2ea55500034..00000000000 --- a/.changeset/strong-timers-fry.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@salt-ds/core": minor ---- - -- Updated Input readonly state so that status adornment will be shown when `validationStatus` is set. -- Added `bordered` prop for Input. When set, a full border will be applied. - -```tsx - -``` - -- Updated MultilineInput readonly state so that status adornment will be shown and background color to match status color when `validationStatus` is set. -- Added rounded corner support for MultilineInput, when used in theme next. diff --git a/.changeset/switch-no-label-span.md b/.changeset/switch-no-label-span.md deleted file mode 100644 index 34c36ff725e..00000000000 --- a/.changeset/switch-no-label-span.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@salt-ds/core": patch ---- - -Fixed empty Switch label span being rendered. Closes #3505. diff --git a/.changeset/wet-jokes-jog.md b/.changeset/wet-jokes-jog.md deleted file mode 100644 index 48ceebbbca0..00000000000 --- a/.changeset/wet-jokes-jog.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@salt-ds/core": patch ---- - -Fixed SegmentedButtonGroup incorrectly rounding when theme next is used and `corner="rounded"`. diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 671a392695e..e5b78b43d4c 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,47 @@ # @salt-ds/core +## 1.29.0 + +### Minor Changes + +- d0b6912: Added `Display4` text. + + ``` + text + text + ``` + + It will be using different size when used in `SaltProvider` and `UNSTABLE_SaltProviderNext`. + +- c36e8a4: Added `icon` prop to Toast to allow for a custom icon + + ```tsx + } status={"info"}> + + + Info with Custom Icon + +
Filters have been cleared
+
+
+ ``` + +- a0fff18: - Updated Input readonly state so that status adornment will be shown when `validationStatus` is set. + + - Added `bordered` prop for Input. When set, a full border will be applied. + + ```tsx + + ``` + + - Updated MultilineInput readonly state so that status adornment will be shown and background color to match status color when `validationStatus` is set. + - Added rounded corner support for MultilineInput, when used in theme next. + +### Patch Changes + +- 72debf5: Fixed empty Switch label span being rendered. Closes #3505. +- 3b854ed: Fixed SegmentedButtonGroup incorrectly rounding when theme next is used and `corner="rounded"`. + ## 1.28.1 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 49ec1473ada..dbe5f28755d 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@salt-ds/core", - "version": "1.28.1", + "version": "1.29.0", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/packages/lab/CHANGELOG.md b/packages/lab/CHANGELOG.md index a07835021d6..a9869d1f6f8 100644 --- a/packages/lab/CHANGELOG.md +++ b/packages/lab/CHANGELOG.md @@ -1,5 +1,20 @@ # @salt-ds/lab +## 1.0.0-alpha.47 + +### Minor Changes + +- 400c730: Added Divider component—`Divider` provides a thin, unobtrusive line for grouping elements to reinforce visual hierarchy. + + ```tsx + + + ``` + +### Patch Changes + +- a92c421: Fixed date picker shown behind dialog. Fixed #3471 + ## 1.0.0-alpha.46 ### Patch Changes diff --git a/packages/lab/package.json b/packages/lab/package.json index c4a89f3a708..f70afc548db 100644 --- a/packages/lab/package.json +++ b/packages/lab/package.json @@ -1,6 +1,6 @@ { "name": "@salt-ds/lab", - "version": "1.0.0-alpha.46", + "version": "1.0.0-alpha.47", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/packages/theme/CHANGELOG.md b/packages/theme/CHANGELOG.md index 17aae1d80ea..da0f050c6b7 100644 --- a/packages/theme/CHANGELOG.md +++ b/packages/theme/CHANGELOG.md @@ -1,5 +1,106 @@ # @salt-ds/theme +## 1.18.0 + +### Minor Changes + +- d0b6912: Added display 4 text tokens, which have the same value as display 3. + + In theme next, display sizes are remapped to reflect larger size than h1. + +- 87791a1: Updated H1 font weight + + | H1 | Before | New | + | ------- | ---------- | --------- | + | Default | Bold | Semi bold | + | Small | Medium | Regular | + | Strong | Extra bold | Bold | + + Added font weight in palette layer for display, heading, body and notation. + + ```diff + + --salt-palette-text-display-fontWeight: var(--salt-typography-fontWeight-semiBold); + + --salt-palette-text-display-fontWeight-small: var(--salt-typography-fontWeight-regular); + + --salt-palette-text-display-fontWeight-strong: var(--salt-typography-fontWeight-bold); + + --salt-palette-text-heading-fontWeight: var(--salt-typography-fontWeight-semiBold); + + --salt-palette-text-heading-fontWeight-small: var(--salt-typography-fontWeight-regular); + + --salt-palette-text-heading-fontWeight-strong: var(--salt-typography-fontWeight-bold); + + --salt-palette-text-body-fontWeight: var(--salt-typography-fontWeight-regular); + + --salt-palette-text-body-fontWeight-small: var(--salt-typography-fontWeight-light); + + --salt-palette-text-body-fontWeight-strong: var(--salt-typography-fontWeight-semiBold); + + --salt-palette-text-notation-fontWeight: var(--salt-typography-fontWeight-semiBold); + + --salt-palette-text-notation-fontWeight-small: var(--salt-typography-fontWeight-regular); + + --salt-palette-text-notation-fontWeight-strong: var(--salt-typography-fontWeight-bold); + ``` + + Wired text characteristics font weight to newly added palette tokens. + + In theme next, when Amplitude is used for heading, font weight will be adjusted accordingly. + +- 400c730: - Added `--salt-opacity-45: 0.45`. + - Updated `--salt-palette-opacity-primary-border` from `var(--salt-opacity-40)` to `var(--salt-opacity-45)`. +- 416b7dd: Updated foundation color palette used in theme next due to color contrast concerns, below colors are impacted. + + ``` + --salt-color-blue-200 + --salt-color-blue-300 + --salt-color-blue-400 + --salt-color-blue-600 + --salt-color-blue-700 + --salt-color-blue-800 + --salt-color-blue-900 + --salt-color-green-200 + --salt-color-green-300 + --salt-color-green-400 + --salt-color-green-600 + --salt-color-green-700 + --salt-color-green-800 + --salt-color-green-900 + --salt-color-teal-200 + --salt-color-teal-300 + --salt-color-teal-400 + --salt-color-teal-600 + --salt-color-teal-700 + --salt-color-teal-800 + --salt-color-teal-900 + --salt-color-orange-200 + --salt-color-orange-300 + --salt-color-orange-400 + --salt-color-orange-500 + --salt-color-orange-600 + --salt-color-orange-700 + --salt-color-orange-800 + --salt-color-red-300 + --salt-color-red-400 + --salt-color-red-600 + --salt-color-red-700 + --salt-color-red-800 + --salt-color-red-900 + --salt-color-purple-200 + --salt-color-purple-300 + --salt-color-purple-400 + --salt-color-purple-600 + --salt-color-purple-700 + --salt-color-purple-800 + --salt-color-purple-900 + ``` + +- 081c82b: Added 20 groups of categorical palette and category characteristics tokens, e.g., cat 1 tokens + + Characteristics + + - `--salt-category-1-subtle-foreground` + - `--salt-category-1-subtle-background` + - `--salt-category-1-subtle-borderColor` + - `--salt-category-1-bold-background` + - `--salt-category-1-bold-foreground` + + Palette + + - `--salt-palette-categorical-1` + - `--salt-palette-categorical-1-strong` + - `--salt-palette-categorical-1-weakest` + ## 1.17.0 ### Minor Changes diff --git a/packages/theme/package.json b/packages/theme/package.json index 591822d0145..ecde70883a7 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -1,6 +1,6 @@ { "name": "@salt-ds/theme", - "version": "1.17.0", + "version": "1.18.0", "license": "Apache-2.0", "repository": { "type": "git",