Skip to content

Commit c608159

Browse files
committed
feat(illustratedmessage): adding new s2 tokens
feat(illustratedmessage): updating token version feat(illustratedmessage): work in progress feat(illustratedmessage): adding new tokens, tshirt sizes, orientation, button group feat(illustratedmessage): updating CSS structure and adding conditional buttons feat(illustratedmessage): update tokens feat(illustratedmessage): changeset, styles, dropzone mods feat(illustratedmessage): work in progress feat(illustratedmessage): updating mods feat(illustratedmessage): removing message accent color selector chore(illustratedmessage): updating changeset docs(illustratedmessage): heading controls fix(illustratedmessage): fixing cjk tokens and removing heading and base classes fix(illustratedmessage): fixing cjk tokens and removing heading and base classes feat(illustratedmessage): new mods docs(illustratedmessage): adding horizontal story context feat(illustratedmessage): removing extra dashes, reverting dropzone chore(fix): adding stylelint disable desc chore(fix): removing unused highcontrast accent color token feat(illustratedmessage): adding grid display chore(im): removing unused import chore(im): removing more unused imports chore(illustratedmessage): updating testing env fix(dropzone): removing unused controls feat(illustratedmessage): reviewing comments feat(illustratedmessage): adjusting story horiz copy fix(illustratedmessage): resolving changes chore(im): bringing back to center fix: removing lint line chore: restore stepper index css file chore(illustratedmessage): removing one liner in dropzone) chore(illustratedmessage): removing stylelint line chore(illustratedmessage): removing unused custom props in dropzone
1 parent 77aa82c commit c608159

File tree

10 files changed

+508
-382
lines changed

10 files changed

+508
-382
lines changed

.changeset/beige-dragons-tickle.md

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
"@spectrum-css/illustratedmessage": major
3+
"@spectrum-css/dropzone": major
4+
---
5+
6+
# S2 Illustrated Message Migration
7+
8+
This migration contains new tokens for t-shirt sizes (S, M, L), vertical and horizontal orientation along with their maximum width, illustration sizes, and content spacing. Dropzone `--mod` names are renamed to match the semantic tokens in illustrated message.
9+
10+
## Illustrated Message
11+
12+
New properties
13+
`--spectrum-illustrated-message-heading-to-description`
14+
`--spectrum-illustrated-message-illustration-to-heading`
15+
`--spectrum-illustrated-message-illustration-to-content`
16+
`--spectrum-illustrated-message-description-to-action`
17+
`--spectrum-illustrated-message-illustration-color`
18+
`--spectrum-illustrated-message-illustration-size`
19+
`--spectrum-illustrated-message-small-cjk-title-font-size`
20+
`--spectrum-illustrated-message-large-cjk-title-font-size`
21+
`--spectrum-illustrated-message-large-body-font-size`
22+
`--spectrum-illustrated-message-horizontal-maximum-width`
23+
24+
New mods
25+
`--mod-illustrated-message-description-to-action`
26+
`--mod-illustrated-message-heading-to-description`
27+
`--mod-illustrated-message-illustration-to-content`
28+
`--mod-illustrated-message-horizontal-maximum-width`
29+
30+
Removed properties
31+
`--spectrum-illustrated-message-title-to-heading`
32+
`--spectrum-illustrated-message-description-max-inline-size`
33+
`--spectrum-illustrated-message-heading-max-inline-size`
34+
`--spectrum-illustrated-message-illustration-accent-color`
35+
`--mod-illustrated-message-illustration-accent-color`
36+
`--highcontrast-illustrated-message-illustration-accent-color`
37+
38+
## Dropzone
39+
40+
New mods
41+
`--mod-drop-zone-body-to-action`
42+
`--mod-drop-zone-illustration-to-title`
43+
44+
## Dropzone nested mods
45+
46+
Renamed mods
47+
`--mod-illustrated-message-title-to-heading` > `--mod-illustrated-message-illustration-to-heading`
48+
`--mod-illustrated-message-heading-to-body` > `--mod-illustrated-message-heading-to-description`
49+
`--mod-illustrated-message-content-maximum-width` > `--mod-illustrated-message-vertical-maximum-width`

components/dropzone/dist/metadata.json

+8-3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"--mod-drop-zone-body-font-style",
2525
"--mod-drop-zone-body-font-weight",
2626
"--mod-drop-zone-body-line-height",
27+
"--mod-drop-zone-body-to-action",
2728
"--mod-drop-zone-border-color",
2829
"--mod-drop-zone-border-color-hover",
2930
"--mod-drop-zone-border-style",
@@ -70,6 +71,7 @@
7071
"--spectrum-drop-zone-body-font-weight",
7172
"--spectrum-drop-zone-body-line-height",
7273
"--spectrum-drop-zone-body-size",
74+
"--spectrum-drop-zone-body-to-action",
7375
"--spectrum-drop-zone-border-color",
7476
"--spectrum-drop-zone-border-color-hover",
7577
"--spectrum-drop-zone-border-width",
@@ -98,6 +100,7 @@
98100
"--spectrum-drop-zone-illustration-color",
99101
"--spectrum-drop-zone-illustration-color-hover",
100102
"--spectrum-drop-zone-illustration-to-heading",
103+
"--spectrum-drop-zone-illustration-to-title",
101104
"--spectrum-drop-zone-padding",
102105
"--spectrum-drop-zone-title-size",
103106
"--spectrum-drop-zone-width"
@@ -125,6 +128,8 @@
125128
"--spectrum-line-height-100",
126129
"--spectrum-neutral-visual-color",
127130
"--spectrum-sans-font-family-stack",
131+
"--spectrum-spacing-200",
132+
"--spectrum-spacing-300",
128133
"--spectrum-spacing-400",
129134
"--spectrum-spacing-75",
130135
"--spectrum-white"
@@ -133,26 +138,26 @@
133138
"--mod-actionbutton-edge-to-text",
134139
"--mod-actionbutton-font-size",
135140
"--mod-actionbutton-label-color",
136-
"--mod-illustrated-message-content-maximum-width",
137141
"--mod-illustrated-message-description-color",
138142
"--mod-illustrated-message-description-font-family",
139143
"--mod-illustrated-message-description-font-size",
140144
"--mod-illustrated-message-description-font-style",
141145
"--mod-illustrated-message-description-font-weight",
142146
"--mod-illustrated-message-description-line-height",
143147
"--mod-illustrated-message-description-position",
148+
"--mod-illustrated-message-description-to-action",
144149
"--mod-illustrated-message-description-z-index",
145150
"--mod-illustrated-message-display",
146-
"--mod-illustrated-message-heading-to-body",
147151
"--mod-illustrated-message-heading-to-description",
148152
"--mod-illustrated-message-illustration-color",
153+
"--mod-illustrated-message-illustration-to-heading",
149154
"--mod-illustrated-message-title-color",
150155
"--mod-illustrated-message-title-font-family",
151156
"--mod-illustrated-message-title-font-size",
152157
"--mod-illustrated-message-title-font-style",
153158
"--mod-illustrated-message-title-font-weight",
154159
"--mod-illustrated-message-title-line-height",
155-
"--mod-illustrated-message-title-to-heading"
160+
"--mod-illustrated-message-vertical-maximum-width"
156161
],
157162
"high-contrast": [
158163
"--highcontrast-drop-zone-border-color-hover",

0 commit comments

Comments
 (0)