Skip to content

Commit

Permalink
Version Packages (#3507)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jun 10, 2024
1 parent a0fff18 commit 100f972
Show file tree
Hide file tree
Showing 18 changed files with 161 additions and 182 deletions.
7 changes: 0 additions & 7 deletions .changeset/bright-dogs-raise.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/clever-lemons-fetch.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/display-size-remap.md

This file was deleted.

32 changes: 0 additions & 32 deletions .changeset/lucky-apricots-try.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/mean-paws-relax.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/perfect-pugs-fix.md

This file was deleted.

49 changes: 0 additions & 49 deletions .changeset/sharp-files-unite.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/stale-shirts-greet.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/strange-kids-trade.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/strong-timers-fry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/switch-no-label-span.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wet-jokes-jog.md

This file was deleted.

42 changes: 42 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
# @salt-ds/core

## 1.29.0

### Minor Changes

- d0b6912: Added `Display4` text.

```
<Display4>text</Display>
<Text styleAs="display4">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
<Toast icon={<InfoIcon />} status={"info"}>
<ToastContent>
<Text>
<strong>Info with Custom Icon</strong>
</Text>
<div>Filters have been cleared</div>
</ToastContent>
</Toast>
```

- 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
<Input bordered />
```

- 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
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@salt-ds/core",
"version": "1.28.1",
"version": "1.29.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
15 changes: 15 additions & 0 deletions packages/lab/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
<Divider />
<Divider variant={variant} orientation={orientation} />
```

### Patch Changes

- a92c421: Fixed date picker shown behind dialog. Fixed #3471

## 1.0.0-alpha.46

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/lab/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
101 changes: 101 additions & 0 deletions packages/theme/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@salt-ds/theme",
"version": "1.17.0",
"version": "1.18.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down

0 comments on commit 100f972

Please sign in to comment.