Skip to content

Commit 40448df

Browse files
chore: release (next)
1 parent fd6fa12 commit 40448df

File tree

8 files changed

+120
-10
lines changed

8 files changed

+120
-10
lines changed

.changeset/pre.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@
141141
"nine-kings-repair",
142142
"old-goats-chew",
143143
"olive-tools-hang",
144+
"open-squids-refuse",
145+
"petite-toys-greet",
144146
"polite-moments-stay",
145147
"proud-jokes-rule",
146148
"proud-schools-reply",

components/picker/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Change log
22

3+
## 10.0.0-next.3
4+
5+
### Major Changes
6+
7+
- [#3792](https://github.com/adobe/spectrum-css/pull/3792) [`032001b`](https://github.com/adobe/spectrum-css/commit/032001b4eb1e6f15bb30fcc18b42cd001f790024) Thanks [@aramos-adobe](https://github.com/aramos-adobe)! - ### S2 Picker component refactor
8+
9+
- Refactors Picker component to use proper custom property naming conventions
10+
- Adds size-specific animation distances for Popover component
11+
- Improves component structure with proper class by renaming `spectrum-Picker` to `spectrum-Picker-button`
12+
- `spectrum-Picker` now encapsulates help text, label, and popover components
13+
- Adds `flex-shrink` to progress circle for better layout control when truncation and loading is visible
14+
- Updates Popover animation distance to use `spectrum-Picker` custom properties
15+
16+
#### New token
17+
18+
`--spectrum-picker-popover-animation-distance`
19+
20+
#### Renamed tokens
21+
22+
`spectrum-picker-spacing-picker-to-popover` --> `--spectrum-picker-popover-animation-distance`
23+
324
## 10.0.0-next.2
425

526
### Patch Changes

components/picker/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@spectrum-css/picker",
3-
"version": "10.0.0-next.2",
3+
"version": "10.0.0-next.3",
44
"description": "The Spectrum CSS picker component",
55
"license": "Apache-2.0",
66
"author": "Adobe",

components/table/CHANGELOG.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,92 @@
11
# Change log
22

3+
## 9.0.0-next.2
4+
5+
### Major Changes
6+
7+
- [#3799](https://github.com/adobe/spectrum-css/pull/3799) [`c86d476`](https://github.com/adobe/spectrum-css/commit/c86d476f4a470dbca86b823d399583fd76d37871) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)! - ### S2 table migration
8+
9+
Compared to the S1 table, this component has updated corner rounding, updated color tokens, some updated spacing, and an overall refreshed look.
10+
11+
#### Net-new features
12+
13+
- The S2 table supports an empty state, rendering an illustrated message component.
14+
- As data is loading to the table, this component will render a progress circle during the loading state.
15+
- There are 2 selection modes: single-select and multi-select. Multi-select tables (`selectionMode: "multiple"`) render an indeterminate checkbox in the `thead`/`div` equivalent. Single-select tables (`selectionMode: "single"`) do not render the indeterminate checkbox in the header row. (Note: the `selectionMode` arg is disabled and will not render in the Storybook control table.)
16+
- For tables with sortable column, there are three new S2 icons used: `Sort` to indicate "general" sorting, `SortUp` for ascending sort direction, `SortDown` for descending sort direction.
17+
- Tables support thumbnail, avatar, and icon components as content within a cell.
18+
- Focus indicators for entire rows have been updated for rows to include a side focus indicator.
19+
20+
#### Description of other S2 table work
21+
22+
T-shirt sizing for tables is not technically supported, so t-shirt size classes (i.e. `.spectrum-Table--sizeS`), have been removed across all density variants.
23+
24+
The `.spectrum-Table-cell--alignRight` class has been renamed to `.spectrum-Table-cell--alignEnd` to reflect the preference for "logical" positioning. The `.spectrum-Table-cell--alignCenter` class has been refactored to `.spectrum-Table-cell--alignStart`.
25+
26+
In S1, the CSS table component only supported thumbnails. Because the S2 table supports thumbnails, as well as avatars and icons, most of the language regarding thumbnails has also changed. For instance, the `showThumbnail` storybook arg was refactored to `visualElement`. The following CSS classes have been removed or refactored to remove the thumbnail language in favor of "visual" instead:
27+
28+
- `.spectrum-Table-thumbnailInner` >> `.spectrum-Table-visualInner`
29+
- `.spectrum-Table-row--thumbnail` >> **removed**
30+
- `.spectrum-Table-cell--thumbnail` >> **removed**
31+
- `.spectrum-Table-thumbnailInner` >> **removed**
32+
- `.spectrum-Table-thumbnailContent` >> **removed**
33+
- `.spectrum-Table-thumbnailInner` >> **removed**
34+
35+
The drop zones have been refactored to approach the drop zone indicators as pseudo elements, as opposed to `outline` properties.
36+
37+
Because there are multiple sort icons in the S2 table, `.spectrum-Table-sortedIcon` has been renamed to `.spectrum-Table-sortIcon`.
38+
39+
Individual cell focus rings have rounded corners.
40+
41+
The outer table border extends all the way around the `thead`/`div` equivalent.
42+
43+
In Storybook, several new stories have been added to the docs page and the testing grid for Chromatic. These stories include `EmptyState`, `LoadingState`, `SingleSelect`, `NumericalData`, `TableStates`, `Sortable`. Documentation has been added for each of these stories, as well as expanded in other stories.
44+
45+
#### Mods
46+
47+
##### Renamed Modifiers
48+
49+
| Old Modifier | New modifier |
50+
| -------------------------------------------------- | ------------------------------------------------- |
51+
| `--mod-table-border-radius--quiet` | `--mod-table-border-radius-quiet` |
52+
| `--mod-table-header-top-to-text` | `--mod-table-header-row-top-to-text` |
53+
| `--mod-table-header-bottom-to-text` | `--mod-table-header-row-bottom-to-text` |
54+
| `--mod-table-cell-inline-space` | `--mod-table-cell-inline-spacing` |
55+
| `--mod-table-checkbox-to-text` | `--mod-table-checkbox-to-cell-content` |
56+
| `--mod-table-header-background-color--quiet` | `--mod-table-header-background-color-quiet` |
57+
| `--mod-table-header-bottom-to-text` | `--mod-table-header-row-bottom-to-text` |
58+
| `--mod-table-header-top-to-text` | `--mod-table-header-row-top-to-text` |
59+
| `--mod-table-min-row-height--compact` | `--mod-table-min-row-height-compact` |
60+
| `--mod-table-min-row-height--spacious` | `--mod-table-min-row-height-spacious` |
61+
| `--mod-table-outer-border-inline-width--quiet` | `--mod-table-outer-border-inline-width-quiet` |
62+
| `--mod-table-row-background-color--quiet` | `--mod-table-row-background-color-quiet` |
63+
| `--mod-table-row-checkbox-block-spacing--compact` | `--mod-table-row-checkbox-block-spacing-compact` |
64+
| `--mod-table-row-checkbox-block-spacing--spacious` | `--mod-table-row-checkbox-block-spacing-spacious` |
65+
| `--mod-table-thumbnail-to-text` | `--mod-table-visual-to-text` |
66+
67+
##### New Modifiers
68+
69+
- `--mod-table-avatar-size`
70+
- `--mod-table-avatar-size-compact`
71+
- `--mod-table-avatar-size-spacious`
72+
- `--mod-table-section-header-inline-start-spacing`
73+
- `--mod-table-summary-row-bottom-to-text`
74+
- `--mod-table-summary-row-min-height`
75+
- `--mod-table-summary-row-top-to-text`
76+
77+
##### Removed Modifiers
78+
79+
- `--mod-table-edge-to-content`
80+
- `--mod-table-header-row-checkbox-block-spacing`
81+
- `--mod-table-avatar-size-spacious`
82+
- `--mod-table-row-bottom-to-text--compact`
83+
- `--mod-table-row-bottom-to-text--spacious`
84+
- `--mod-table-row-top-to-text--compact`
85+
- `--mod-table-row-top-to-text--spacious`
86+
- `--mod-table-thumbnail-block-spacing"`
87+
- `--mod-table-thumbnail-block-spacing-compact`
88+
- `--mod-table-thumbnail-block-spacing-spacious`
89+
390
## 9.0.0-next.1
491

592
### Patch Changes

components/table/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@spectrum-css/table",
3-
"version": "9.0.0-next.1",
3+
"version": "9.0.0-next.2",
44
"description": "The Spectrum CSS table component",
55
"license": "Apache-2.0",
66
"author": "Adobe",

components/tabs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"devDependencies": {
4848
"@spectrum-css/icon": "10.0.0-next.2",
4949
"@spectrum-css/menu": "10.0.0-next.3",
50-
"@spectrum-css/picker": "10.0.0-next.2",
50+
"@spectrum-css/picker": "10.0.0-next.3",
5151
"@spectrum-css/tokens": "16.1.0-next.3"
5252
},
5353
"keywords": [

tools/bundle/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"@spectrum-css/opacitycheckerboard": "5.0.0-next.0",
8585
"@spectrum-css/page": "10.0.0-next.0",
8686
"@spectrum-css/pagination": "11.0.0-next.1",
87-
"@spectrum-css/picker": "10.0.0-next.2",
87+
"@spectrum-css/picker": "10.0.0-next.3",
8888
"@spectrum-css/pickerbutton": "7.0.0-next.1",
8989
"@spectrum-css/popover": "9.0.0-next.2",
9090
"@spectrum-css/progressbar": "7.0.0-next.1",
@@ -101,7 +101,7 @@
101101
"@spectrum-css/swatch": "9.0.0-next.1",
102102
"@spectrum-css/swatchgroup": "6.0.0-next.1",
103103
"@spectrum-css/switch": "7.0.0-next.1",
104-
"@spectrum-css/table": "9.0.0-next.1",
104+
"@spectrum-css/table": "9.0.0-next.2",
105105
"@spectrum-css/tabs": "7.0.0-next.1",
106106
"@spectrum-css/tag": "11.0.0-next.2",
107107
"@spectrum-css/taggroup": "8.0.0-next.1",

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4289,7 +4289,7 @@ __metadata:
42894289
"@spectrum-css/opacitycheckerboard": "npm:5.0.0-next.0"
42904290
"@spectrum-css/page": "npm:10.0.0-next.0"
42914291
"@spectrum-css/pagination": "npm:11.0.0-next.1"
4292-
"@spectrum-css/picker": "npm:10.0.0-next.2"
4292+
"@spectrum-css/picker": "npm:10.0.0-next.3"
42934293
"@spectrum-css/pickerbutton": "npm:7.0.0-next.1"
42944294
"@spectrum-css/popover": "npm:9.0.0-next.2"
42954295
"@spectrum-css/progressbar": "npm:7.0.0-next.1"
@@ -4306,7 +4306,7 @@ __metadata:
43064306
"@spectrum-css/swatch": "npm:9.0.0-next.1"
43074307
"@spectrum-css/swatchgroup": "npm:6.0.0-next.1"
43084308
"@spectrum-css/switch": "npm:7.0.0-next.1"
4309-
"@spectrum-css/table": "npm:9.0.0-next.1"
4309+
"@spectrum-css/table": "npm:9.0.0-next.2"
43104310
"@spectrum-css/tabs": "npm:7.0.0-next.1"
43114311
"@spectrum-css/tag": "npm:11.0.0-next.2"
43124312
"@spectrum-css/taggroup": "npm:8.0.0-next.1"
@@ -5167,7 +5167,7 @@ __metadata:
51675167
languageName: unknown
51685168
linkType: soft
51695169

5170-
"@spectrum-css/picker@npm:10.0.0-next.2, @spectrum-css/picker@workspace:components/picker":
5170+
"@spectrum-css/picker@npm:10.0.0-next.3, @spectrum-css/picker@workspace:components/picker":
51715171
version: 0.0.0-use.local
51725172
resolution: "@spectrum-css/picker@workspace:components/picker"
51735173
dependencies:
@@ -5544,7 +5544,7 @@ __metadata:
55445544
languageName: unknown
55455545
linkType: soft
55465546

5547-
"@spectrum-css/table@npm:9.0.0-next.1, @spectrum-css/table@workspace:components/table":
5547+
"@spectrum-css/table@npm:9.0.0-next.2, @spectrum-css/table@workspace:components/table":
55485548
version: 0.0.0-use.local
55495549
resolution: "@spectrum-css/table@workspace:components/table"
55505550
dependencies:
@@ -5579,7 +5579,7 @@ __metadata:
55795579
dependencies:
55805580
"@spectrum-css/icon": "npm:10.0.0-next.2"
55815581
"@spectrum-css/menu": "npm:10.0.0-next.3"
5582-
"@spectrum-css/picker": "npm:10.0.0-next.2"
5582+
"@spectrum-css/picker": "npm:10.0.0-next.3"
55835583
"@spectrum-css/tokens": "npm:16.1.0-next.3"
55845584
peerDependencies:
55855585
"@spectrum-css/icon": ">=10.0.0-next.0"

0 commit comments

Comments
 (0)