Skip to content

Commit 8e3b47f

Browse files
committed
chore(radio): merging s2
2 parents eed0787 + f229c2c commit 8e3b47f

File tree

166 files changed

+3403
-3229
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+3403
-3229
lines changed

.changeset/giant-windows-smoke.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
"@spectrum-css/colorwheel": major
3+
---
4+
5+
# colorwheel S2 migration
6+
7+
This change migrates the colorwheel component to S2. It adds the `--spectrum-colorwheel-border-color-rgb` and `--spectrum-colorwheel-border-opacity` custom properties. It updates `--spectrum-colorwheel-border-color` to leverage these tokens in an `rgba(...)` function.
8+
9+
This removes the `spectrum-ColorWheel-border` and associated template DOM node as the outside/underlying border are no longer present in the S2 designs. `::before` and `::after` pseudo elements are now used to draw the exterior and interior borders that overlay the exterior and interior edges of the color wheel.
10+
11+
Support is provided for the `240px` and `192px` sizes outlined in the design requirements.
12+
13+
The `forced-colors` media query has been moved to the bottom of the file consistent with our other component implementations.
14+
15+
Stories, tests and documentation have been updated to be consistent with these changes.
16+
17+
The following mods have been removed:
18+
19+
```css
20+
--mod-colorwheel-height
21+
--mod-colorwheel-width
22+
--mod-colorwheel-min-width
23+
--mod-colorwheel-path-borders
24+
--mod-colorwheel-colorarea-margin
25+
--mod-colorwheel-border-width
26+
```

.changeset/pre.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,34 +102,30 @@
102102
"beige-dragons-tickle",
103103
"chilly-peaches-sniff",
104104
"clean-oranges-smell",
105-
"early-actors-buy",
106-
"eleven-cooks-destroy",
107105
"few-doors-smile",
108-
"few-eels-retire",
109106
"flat-snails-admire",
110107
"fresh-crabs-deliver",
111108
"fresh-seahorses-join",
112109
"friendly-dolls-raise",
110+
"giant-windows-smoke",
113111
"hot-books-fail",
114112
"itchy-kids-travel",
115113
"itchy-shrimps-help",
116114
"light-years-speak",
117-
"loud-vans-brush",
118115
"mean-eggs-learn",
119116
"metal-fireants-switch",
120117
"modern-chairs-sit",
121118
"nine-kings-repair",
122119
"olive-tools-hang",
123-
"pretty-parents-drum",
124120
"proud-jokes-rule",
125121
"rotten-meals-share",
126122
"serious-clouds-jam",
123+
"slow-eyes-lay",
127124
"small-impalas-search",
128125
"spotty-onions-study",
129126
"strange-glasses-allow",
130127
"tame-bobcats-beam",
131128
"tame-knives-train",
132-
"tame-wasps-shake",
133129
"twenty-ravens-divide",
134130
"twenty-tables-know"
135131
]

.changeset/slow-eyes-lay.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
"@spectrum-css/divider": major
3+
---
4+
5+
# S2 divider migration
6+
7+
This migrates the `divider` component to S2. Custom properties have been remapped and updated per the design spec.
8+
9+
### New properties
10+
11+
```css
12+
--spectrum-divider-horizontal-minimum-width
13+
--spectrum-divider-vertical-minimum-height
14+
```
15+
16+
### New mods
17+
18+
```css
19+
--mod-divider-inline-minimum-size
20+
--mod-divider-block-minimum-size
21+
```
22+
23+
### Removed mods
24+
25+
```css
26+
--mod-divider-background-color-large-static-black
27+
--mod-divider-background-color-large-static-white
28+
--mod-divider-background-color-medium-static-black
29+
--mod-divider-background-color-medium-static-white
30+
--mod-divider-background-color-small-static-black
31+
--mod-divider-background-color-small-static-white
32+
```
33+
34+
### Additions
35+
36+
This adds new minimum width and height tokens for the divider and the `minDimensionValues` arg has been removed in favor of these tokens and the rules with which they're applied.
37+
38+
The default size for the Storybook control has been changed to `medium` (the new default size for the component). All sizes are now displayed for the static color variants in the docs.

.eslintrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@
133133
"pathPattern": "^repository$",
134134
"order": ["type", "url", "directory"]
135135
},
136+
{
137+
"pathPattern": "^spectrum$",
138+
"order": { "type": "asc" }
139+
},
136140
{
137141
"pathPattern": ".*",
138142
"order": { "type": "asc" }

.github/actions/file-diff/CHANGELOG.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,87 +4,88 @@
44

55
### Minor Changes
66

7-
- [`205182b`](https://github.com/adobe/spectrum-css/commit/205182bebcbe82813457aa098d8799b0a23423ee) Thanks [@castastrophe](https://github.com/castastrophe)! - New feature: report on minified and gzipped sizes for existing compiled outputs
7+
- [`205182b`](https://github.com/adobe/spectrum-css/commit/205182bebcbe82813457aa098d8799b0a23423ee) Thanks [@castastrophe](https://github.com/castastrophe)!
8+
- New feature: report on minified and gzipped sizes for existing compiled outputs
89

910
## 2.1.0
1011

1112
### Minor Changes
1213

13-
- [#3488](https://github.com/adobe/spectrum-css/pull/3488) [`40c1954`](https://github.com/adobe/spectrum-css/commit/40c1954048f735a07f9edfccf3a568d38164806a) Thanks [@castastrophe](https://github.com/castastrophe)! - Update file table to specify if the file is deleted/moved and indicate the file size has decreased without showing percentages. This update also hardens the way in which the main file is highlighted in the table by checking for exact equals for looking for files "ending with" the file name.
14+
- [#3488](https://github.com/adobe/spectrum-css/pull/3488) [`40c1954`](https://github.com/adobe/spectrum-css/commit/40c1954048f735a07f9edfccf3a568d38164806a) Thanks [@castastrophe](https://github.com/castastrophe)!
15+
- Update file table to specify if the file is deleted/moved and indicate the file size has decreased without showing percentages. This update also hardens the way in which the main file is highlighted in the table by checking for exact equals for looking for files "ending with" the file name.
1416

1517
## 2.0.6
1618

1719
### Patch Changes
1820

19-
- [#2775](https://github.com/adobe/spectrum-css/pull/2775) [`2452637`](https://github.com/adobe/spectrum-css/commit/2452637d1179b9b2b025dafeb5834720712413d7) Thanks [@castastrophe](https://github.com/castastrophe)! - Dependency minor and patch updates to support new features in tools leveraged
20-
21-
All notable changes to this project will be documented in this file.
22-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
21+
- [#2775](https://github.com/adobe/spectrum-css/pull/2775) [`2452637`](https://github.com/adobe/spectrum-css/commit/2452637d1179b9b2b025dafeb5834720712413d7) Thanks [@castastrophe](https://github.com/castastrophe)!
22+
- Dependency minor and patch updates to support new features in tools leveraged
2323

2424
<a name="2.0.5"></a>
2525

26-
## 2.0.5
26+
##2.0.5
2727

2828
🗓 2024-03-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@2.0.4...@spectrum-tools/gh-action-file-diff@2.0.5)
2929

3030
**Note:** Version bump only for package @spectrum-tools/gh-action-file-diff
3131

3232
<a name="2.0.4"></a>
3333

34-
## 2.0.4
34+
##2.0.4
3535

3636
🗓 2024-02-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@2.0.3...@spectrum-tools/gh-action-file-diff@2.0.4)
3737

3838
**Note:** Version bump only for package @spectrum-tools/gh-action-file-diff
3939

4040
<a name="2.0.3"></a>
4141

42-
## 2.0.3
42+
##2.0.3
4343

4444
🗓 2024-02-06
4545

4646
**Note:** Version bump only for package @spectrum-tools/gh-action-file-diff
4747

4848
<a name="2.0.2"></a>
4949

50-
## 2.0.2
50+
##2.0.2
5151

5252
🗓 2024-01-29 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@2.0.1...@spectrum-tools/gh-action-file-diff@2.0.2)
5353

5454
**Note:** Version bump only for package @spectrum-tools/gh-action-file-diff
5555

5656
<a name="2.0.1"></a>
5757

58-
## 2.0.1
58+
##2.0.1
5959

6060
🗓 2024-01-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@2.0.0...@spectrum-tools/gh-action-file-diff@2.0.1)
6161

6262
**Note:** Version bump only for package @spectrum-tools/gh-action-file-diff
6363

6464
<a name="2.0.0"></a>
6565

66-
## 2.0.0
66+
#2.0.0
6767

6868
🗓 2023-12-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@1.0.2...@spectrum-tools/gh-action-file-diff@2.0.0)
6969

7070
- feat(icon,ui-icons)!: migrate the icon compiler to a distinct package (#2343)([d73d594](https://github.com/adobe/spectrum-css/commit/d73d594)), closes[#2343](https://github.com/adobe/spectrum-css/issues/2343)
7171

7272
### 🛑 BREAKING CHANGES
73-
- @spectrum-css/icon will no longer contain SVG assets; it will be a purely CSS package with all SVG assets migrated to the new @spectrum-css/ui-icons package.
73+
74+
- @spectrum-css/icon will no longer contain SVG assets; it will be a purely CSS package with all SVG assets migrated to the new @spectrum-css/ui-icons package.
7475

7576
- NEW: @spectrum-css/ui-icons package for all SVG icons in the UI set.
7677

7778
<a name="1.0.2"></a>
7879

79-
## 1.0.2
80+
##1.0.2
8081

8182
🗓 2023-11-15
8283

8384
**Note:** Version bump only for package @spectrum-tools/gh-action-file-diff
8485

8586
<a name="1.0.1"></a>
8687

87-
## 1.0.1
88+
##1.0.1
8889

8990
🗓 2023-11-13
9091

0 commit comments

Comments
 (0)