@seed-design/css 1.2.2 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/all.css +1033 -192
  2. package/all.layered.css +9070 -0
  3. package/all.layered.min.css +1 -0
  4. package/all.min.css +1 -1
  5. package/base.css +4 -0
  6. package/base.layered.css +858 -0
  7. package/base.layered.min.css +1 -0
  8. package/base.min.css +1 -1
  9. package/package.json +11 -2
  10. package/recipes/action-button.css +69 -17
  11. package/recipes/action-button.layered.css +421 -0
  12. package/recipes/action-button.layered.mjs +79 -0
  13. package/recipes/action-chip.layered.css +84 -0
  14. package/recipes/action-chip.layered.mjs +51 -0
  15. package/recipes/action-sheet-item.layered.css +38 -0
  16. package/recipes/action-sheet-item.layered.mjs +29 -0
  17. package/recipes/action-sheet.layered.css +134 -0
  18. package/recipes/action-sheet.layered.mjs +60 -0
  19. package/recipes/app-bar-main.layered.css +165 -0
  20. package/recipes/app-bar-main.layered.mjs +63 -0
  21. package/recipes/app-bar.css +9 -1
  22. package/recipes/app-bar.layered.css +302 -0
  23. package/recipes/app-bar.layered.mjs +70 -0
  24. package/recipes/app-screen.layered.css +332 -0
  25. package/recipes/app-screen.layered.mjs +98 -0
  26. package/recipes/article.layered.css +12 -0
  27. package/recipes/article.layered.mjs +22 -0
  28. package/recipes/aspect-ratio.css +0 -2
  29. package/recipes/aspect-ratio.layered.css +26 -0
  30. package/recipes/aspect-ratio.layered.mjs +22 -0
  31. package/recipes/avatar-stack.layered.css +94 -0
  32. package/recipes/avatar-stack.layered.mjs +50 -0
  33. package/recipes/avatar.layered.css +222 -0
  34. package/recipes/avatar.layered.mjs +65 -0
  35. package/recipes/badge.layered.css +140 -0
  36. package/recipes/badge.layered.mjs +131 -0
  37. package/recipes/bottom-sheet-handle.css +9 -2
  38. package/recipes/bottom-sheet-handle.layered.css +36 -0
  39. package/recipes/bottom-sheet-handle.layered.mjs +36 -0
  40. package/recipes/bottom-sheet.css +14 -3
  41. package/recipes/bottom-sheet.layered.css +224 -0
  42. package/recipes/bottom-sheet.layered.mjs +75 -0
  43. package/recipes/callout.css +77 -12
  44. package/recipes/callout.layered.css +242 -0
  45. package/recipes/callout.layered.mjs +63 -0
  46. package/recipes/checkbox-group.layered.css +7 -0
  47. package/recipes/checkbox-group.layered.mjs +22 -0
  48. package/recipes/checkbox.layered.css +54 -0
  49. package/recipes/checkbox.layered.mjs +48 -0
  50. package/recipes/checkmark.css +61 -13
  51. package/recipes/checkmark.layered.css +187 -0
  52. package/recipes/checkmark.layered.mjs +86 -0
  53. package/recipes/chip-tabs.css +62 -14
  54. package/recipes/chip-tabs.layered.css +254 -0
  55. package/recipes/chip-tabs.layered.mjs +75 -0
  56. package/recipes/chip.css +60 -15
  57. package/recipes/chip.layered.css +272 -0
  58. package/recipes/chip.layered.mjs +80 -0
  59. package/recipes/contextual-floating-button.css +24 -7
  60. package/recipes/contextual-floating-button.layered.css +130 -0
  61. package/recipes/contextual-floating-button.layered.mjs +34 -0
  62. package/recipes/control-chip.layered.css +99 -0
  63. package/recipes/control-chip.layered.mjs +51 -0
  64. package/recipes/dialog.layered.css +111 -0
  65. package/recipes/dialog.layered.mjs +66 -0
  66. package/recipes/extended-action-sheet-item.layered.css +38 -0
  67. package/recipes/extended-action-sheet-item.layered.mjs +29 -0
  68. package/recipes/extended-action-sheet.layered.css +132 -0
  69. package/recipes/extended-action-sheet.layered.mjs +64 -0
  70. package/recipes/extended-fab.layered.css +79 -0
  71. package/recipes/extended-fab.layered.mjs +34 -0
  72. package/recipes/fab.layered.css +37 -0
  73. package/recipes/fab.layered.mjs +22 -0
  74. package/recipes/field-label.layered.css +35 -0
  75. package/recipes/field-label.layered.mjs +47 -0
  76. package/recipes/field.layered.css +81 -0
  77. package/recipes/field.layered.mjs +60 -0
  78. package/recipes/floating-action-button.css +15 -5
  79. package/recipes/floating-action-button.layered.css +101 -0
  80. package/recipes/floating-action-button.layered.mjs +47 -0
  81. package/recipes/help-bubble.css +8 -0
  82. package/recipes/help-bubble.layered.css +104 -0
  83. package/recipes/help-bubble.layered.mjs +60 -0
  84. package/recipes/identity-placeholder.css +2 -2
  85. package/recipes/identity-placeholder.d.ts +1 -1
  86. package/recipes/identity-placeholder.layered.css +22 -0
  87. package/recipes/identity-placeholder.layered.mjs +43 -0
  88. package/recipes/identity-placeholder.mjs +2 -1
  89. package/recipes/image-frame-icon.layered.css +8 -0
  90. package/recipes/image-frame-icon.layered.mjs +22 -0
  91. package/recipes/image-frame-indicator.layered.css +18 -0
  92. package/recipes/image-frame-indicator.layered.mjs +22 -0
  93. package/recipes/image-frame-reaction-button.css +9 -1
  94. package/recipes/image-frame-reaction-button.layered.css +43 -0
  95. package/recipes/image-frame-reaction-button.layered.mjs +22 -0
  96. package/recipes/image-frame.layered.css +28 -0
  97. package/recipes/image-frame.layered.mjs +34 -0
  98. package/recipes/inline-banner.layered.css +161 -0
  99. package/recipes/inline-banner.layered.mjs +64 -0
  100. package/recipes/input-button.css +27 -5
  101. package/recipes/input-button.layered.css +167 -0
  102. package/recipes/input-button.layered.mjs +64 -0
  103. package/recipes/link-content.layered.css +48 -0
  104. package/recipes/link-content.layered.mjs +35 -0
  105. package/recipes/list-header.layered.css +26 -0
  106. package/recipes/list-header.layered.mjs +29 -0
  107. package/recipes/list-item.css +63 -17
  108. package/recipes/list-item.layered.css +187 -0
  109. package/recipes/list-item.layered.mjs +59 -0
  110. package/recipes/manner-temp-badge.layered.css +72 -0
  111. package/recipes/manner-temp-badge.layered.mjs +37 -0
  112. package/recipes/manner-temp.layered.css +57 -0
  113. package/recipes/manner-temp.layered.mjs +37 -0
  114. package/recipes/menu-sheet-item.css +24 -3
  115. package/recipes/menu-sheet-item.layered.css +102 -0
  116. package/recipes/menu-sheet-item.layered.mjs +56 -0
  117. package/recipes/menu-sheet.css +18 -3
  118. package/recipes/menu-sheet.layered.css +167 -0
  119. package/recipes/menu-sheet.layered.mjs +74 -0
  120. package/recipes/notification-badge-positioner.layered.css +35 -0
  121. package/recipes/notification-badge-positioner.layered.mjs +51 -0
  122. package/recipes/notification-badge.layered.css +33 -0
  123. package/recipes/notification-badge.layered.mjs +29 -0
  124. package/recipes/page-banner.css +122 -22
  125. package/recipes/page-banner.layered.css +361 -0
  126. package/recipes/page-banner.layered.mjs +117 -0
  127. package/recipes/progress-circle.layered.css +52 -0
  128. package/recipes/progress-circle.layered.mjs +55 -0
  129. package/recipes/pull-to-refresh.layered.css +19 -0
  130. package/recipes/pull-to-refresh.layered.mjs +36 -0
  131. package/recipes/radio-group.layered.css +7 -0
  132. package/recipes/radio-group.layered.mjs +22 -0
  133. package/recipes/radio.layered.css +54 -0
  134. package/recipes/radio.layered.mjs +48 -0
  135. package/recipes/radiomark.css +34 -7
  136. package/recipes/radiomark.layered.css +132 -0
  137. package/recipes/radiomark.layered.mjs +48 -0
  138. package/recipes/reaction-button.css +24 -7
  139. package/recipes/reaction-button.layered.css +124 -0
  140. package/recipes/reaction-button.layered.mjs +29 -0
  141. package/recipes/scroll-fog.layered.css +27 -0
  142. package/recipes/scroll-fog.layered.mjs +28 -0
  143. package/recipes/segmented-control.css +31 -5
  144. package/recipes/segmented-control.layered.css +108 -0
  145. package/recipes/segmented-control.layered.mjs +40 -0
  146. package/recipes/select-box-group.layered.css +13 -0
  147. package/recipes/select-box-group.layered.mjs +22 -0
  148. package/recipes/select-box.css +19 -3
  149. package/recipes/select-box.layered.css +148 -0
  150. package/recipes/select-box.layered.mjs +63 -0
  151. package/recipes/selectBoxCheckmark.css +9 -2
  152. package/recipes/selectBoxCheckmark.layered.css +42 -0
  153. package/recipes/selectBoxCheckmark.layered.mjs +36 -0
  154. package/recipes/skeleton.layered.css +56 -0
  155. package/recipes/skeleton.layered.mjs +36 -0
  156. package/recipes/slider-marker.layered.css +54 -0
  157. package/recipes/slider-marker.layered.mjs +30 -0
  158. package/recipes/slider-tick.layered.css +25 -0
  159. package/recipes/slider-tick.layered.mjs +29 -0
  160. package/recipes/slider.css +41 -16
  161. package/recipes/slider.layered.css +238 -0
  162. package/recipes/slider.layered.mjs +68 -0
  163. package/recipes/snackbar-region.layered.css +18 -0
  164. package/recipes/snackbar-region.layered.mjs +22 -0
  165. package/recipes/snackbar.css +20 -1
  166. package/recipes/snackbar.layered.css +126 -0
  167. package/recipes/snackbar.layered.mjs +56 -0
  168. package/recipes/switch.layered.css +62 -0
  169. package/recipes/switch.layered.mjs +44 -0
  170. package/recipes/switchmark.css +9 -1
  171. package/recipes/switchmark.layered.css +100 -0
  172. package/recipes/switchmark.layered.mjs +49 -0
  173. package/recipes/tabs.css +9 -0
  174. package/recipes/tabs.layered.css +211 -0
  175. package/recipes/tabs.layered.mjs +78 -0
  176. package/recipes/tag-group-item.layered.css +98 -0
  177. package/recipes/tag-group-item.layered.mjs +55 -0
  178. package/recipes/tag-group.layered.css +58 -0
  179. package/recipes/tag-group.layered.mjs +62 -0
  180. package/recipes/text-input.css +1 -0
  181. package/recipes/text-input.layered.css +236 -0
  182. package/recipes/text-input.layered.mjs +73 -0
  183. package/recipes/text.layered.css +364 -0
  184. package/recipes/text.layered.mjs +90 -0
  185. package/recipes/toggle-button.css +42 -11
  186. package/recipes/toggle-button.layered.css +183 -0
  187. package/recipes/toggle-button.layered.mjs +34 -0
  188. package/vars/color/stroke.d.ts +2 -1
  189. package/vars/color/stroke.mjs +2 -1
  190. package/vars/component/action-button.d.ts +61 -61
  191. package/vars/component/bottom-sheet.d.ts +3 -3
  192. package/vars/component/bottom-sheet.mjs +3 -3
  193. package/vars/component/callout.d.ts +7 -7
  194. package/vars/component/chip-tab.d.ts +2 -1
  195. package/vars/component/chip-tab.mjs +2 -1
  196. package/vars/component/contextual-floating-button.d.ts +2 -2
  197. package/vars/component/identity-placeholder.d.ts +2 -2
  198. package/vars/component/identity-placeholder.mjs +2 -2
  199. package/vars/component/image-frame-floater.d.ts +1 -1
  200. package/vars/component/image-frame.d.ts +11 -17
  201. package/vars/component/image-frame.mjs +7 -12
  202. package/vars/component/index.d.ts +1 -0
  203. package/vars/component/index.mjs +1 -0
  204. package/vars/component/input-button.d.ts +1 -1
  205. package/vars/component/list-item.d.ts +1 -1
  206. package/vars/component/list-item.mjs +1 -1
  207. package/vars/component/segmented-control-indicator.d.ts +24 -0
  208. package/vars/component/segmented-control-indicator.mjs +24 -0
  209. package/vars/component/segmented-control-item.d.ts +3 -11
  210. package/vars/component/segmented-control-item.mjs +3 -11
  211. package/vars/component/segmented-control.d.ts +0 -8
  212. package/vars/component/segmented-control.mjs +0 -8
  213. package/vars/component/select-box.d.ts +1 -1
  214. package/vars/component/slider.d.ts +14 -10
  215. package/vars/component/slider.mjs +11 -10
  216. package/vars/component/text-input.d.ts +1 -1
@@ -0,0 +1,29 @@
1
+ import './notification-badge.layered.css';
2
+ import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
3
+
4
+ const defaultVariant = {
5
+ "size": "large"
6
+ };
7
+
8
+ const compoundVariants = [];
9
+
10
+ export const notificationBadgeVariantMap = {
11
+ "size": [
12
+ "small",
13
+ "large"
14
+ ]
15
+ };
16
+
17
+ export const notificationBadgeVariantKeys = Object.keys(notificationBadgeVariantMap);
18
+
19
+ export function notificationBadge(props) {
20
+ return createClassName(
21
+ "seed-notification-badge",
22
+ mergeVariants(defaultVariant, props),
23
+ compoundVariants,
24
+ );
25
+ }
26
+
27
+ Object.assign(notificationBadge, { splitVariantProps: (props) => splitVariantProps(props, notificationBadgeVariantMap) });
28
+
29
+ // @recipe(seed): notification-badge
@@ -23,6 +23,13 @@
23
23
  }
24
24
  .seed-page-banner__root:is(button) {
25
25
  cursor: pointer;
26
+ transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
27
+ outline: var(--seed-dimension-x0_5) solid transparent;
28
+ outline-offset: calc(var(--seed-dimension-x0_5) * -1);
29
+ }
30
+ .seed-page-banner__root:is(button):is(:focus-visible, [data-focus-visible]) {
31
+ outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
32
+ outline-offset: calc(var(--seed-dimension-x0_5) * -1);
26
33
  }
27
34
  .seed-page-banner__content {
28
35
  display: flex;
@@ -63,6 +70,14 @@
63
70
  font-size: var(--seed-font-size-t3);
64
71
  line-height: var(--seed-line-height-t3);
65
72
  font-weight: var(--seed-font-weight-bold);
73
+ border-radius: var(--seed-radius-r1);
74
+ transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
75
+ outline: var(--seed-dimension-x0_5) solid transparent;
76
+ outline-offset: calc(var(--seed-dimension-x0_5) * -1);
77
+ }
78
+ .seed-page-banner__button:is(:focus-visible, [data-focus-visible]) {
79
+ outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
80
+ outline-offset: calc(var(--seed-dimension-x0_5) * -1);
66
81
  }
67
82
  .seed-page-banner__closeButton {
68
83
  flex-shrink: 0;
@@ -80,14 +95,29 @@
80
95
  background-color: transparent;
81
96
  padding: 0;
82
97
  cursor: pointer;
98
+ border-radius: var(--seed-radius-r1);
99
+ transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
100
+ outline: var(--seed-dimension-x0_5) solid transparent;
101
+ outline-offset: calc(var(--seed-dimension-x0_5) * -1);
102
+ }
103
+ .seed-page-banner__closeButton:is(:focus-visible, [data-focus-visible]) {
104
+ outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
105
+ outline-offset: calc(var(--seed-dimension-x0_5) * -1);
83
106
  }
84
107
  .seed-page-banner__root--tone_neutral-variant_weak {
85
108
  background-color: var(--seed-color-bg-neutral-weak);
86
109
  --seed-prefix-icon-color: var(--seed-color-fg-neutral);
87
110
  --seed-suffix-icon-color: var(--seed-color-fg-neutral);
88
111
  }
89
- .seed-page-banner__root--tone_neutral-variant_weak:is(button):is(:active, [data-active]) {
90
- background-color: var(--seed-color-bg-neutral-weak-pressed);
112
+ @media (hover: hover) {
113
+ .seed-page-banner__root--tone_neutral-variant_weak:is(button):is(:hover, [data-hover]) {
114
+ background-color: var(--seed-color-bg-neutral-weak-pressed);
115
+ }
116
+ }
117
+ @media (hover: none) {
118
+ .seed-page-banner__root--tone_neutral-variant_weak:is(button):is(:active, [data-active]) {
119
+ background-color: var(--seed-color-bg-neutral-weak-pressed);
120
+ }
91
121
  }
92
122
  .seed-page-banner__title--tone_neutral-variant_weak {
93
123
  color: var(--seed-color-fg-neutral);
@@ -103,8 +133,15 @@
103
133
  --seed-prefix-icon-color: var(--seed-color-fg-neutral-inverted);
104
134
  --seed-suffix-icon-color: var(--seed-color-fg-neutral-inverted);
105
135
  }
106
- .seed-page-banner__root--tone_neutral-variant_solid:is(button):is(:active, [data-active]) {
107
- background-color: var(--seed-color-bg-neutral-inverted-pressed);
136
+ @media (hover: hover) {
137
+ .seed-page-banner__root--tone_neutral-variant_solid:is(button):is(:hover, [data-hover]) {
138
+ background-color: var(--seed-color-bg-neutral-inverted-pressed);
139
+ }
140
+ }
141
+ @media (hover: none) {
142
+ .seed-page-banner__root--tone_neutral-variant_solid:is(button):is(:active, [data-active]) {
143
+ background-color: var(--seed-color-bg-neutral-inverted-pressed);
144
+ }
108
145
  }
109
146
  .seed-page-banner__title--tone_neutral-variant_solid {
110
147
  color: var(--seed-color-fg-neutral-inverted);
@@ -120,8 +157,15 @@
120
157
  --seed-prefix-icon-color: var(--seed-color-fg-informative-contrast);
121
158
  --seed-suffix-icon-color: var(--seed-color-fg-informative-contrast);
122
159
  }
123
- .seed-page-banner__root--tone_informative-variant_weak:is(button):is(:active, [data-active]) {
124
- background-color: var(--seed-color-bg-informative-weak-pressed);
160
+ @media (hover: hover) {
161
+ .seed-page-banner__root--tone_informative-variant_weak:is(button):is(:hover, [data-hover]) {
162
+ background-color: var(--seed-color-bg-informative-weak-pressed);
163
+ }
164
+ }
165
+ @media (hover: none) {
166
+ .seed-page-banner__root--tone_informative-variant_weak:is(button):is(:active, [data-active]) {
167
+ background-color: var(--seed-color-bg-informative-weak-pressed);
168
+ }
125
169
  }
126
170
  .seed-page-banner__title--tone_informative-variant_weak {
127
171
  color: var(--seed-color-fg-informative-contrast);
@@ -137,8 +181,15 @@
137
181
  --seed-prefix-icon-color: var(--seed-color-palette-static-white);
138
182
  --seed-suffix-icon-color: var(--seed-color-palette-static-white);
139
183
  }
140
- .seed-page-banner__root--tone_informative-variant_solid:is(button):is(:active, [data-active]) {
141
- background-color: var(--seed-color-bg-informative-solid-pressed);
184
+ @media (hover: hover) {
185
+ .seed-page-banner__root--tone_informative-variant_solid:is(button):is(:hover, [data-hover]) {
186
+ background-color: var(--seed-color-bg-informative-solid-pressed);
187
+ }
188
+ }
189
+ @media (hover: none) {
190
+ .seed-page-banner__root--tone_informative-variant_solid:is(button):is(:active, [data-active]) {
191
+ background-color: var(--seed-color-bg-informative-solid-pressed);
192
+ }
142
193
  }
143
194
  .seed-page-banner__title--tone_informative-variant_solid {
144
195
  color: var(--seed-color-palette-static-white);
@@ -154,8 +205,15 @@
154
205
  --seed-prefix-icon-color: var(--seed-color-fg-positive-contrast);
155
206
  --seed-suffix-icon-color: var(--seed-color-fg-positive-contrast);
156
207
  }
157
- .seed-page-banner__root--tone_positive-variant_weak:is(button):is(:active, [data-active]) {
158
- background-color: var(--seed-color-bg-positive-weak-pressed);
208
+ @media (hover: hover) {
209
+ .seed-page-banner__root--tone_positive-variant_weak:is(button):is(:hover, [data-hover]) {
210
+ background-color: var(--seed-color-bg-positive-weak-pressed);
211
+ }
212
+ }
213
+ @media (hover: none) {
214
+ .seed-page-banner__root--tone_positive-variant_weak:is(button):is(:active, [data-active]) {
215
+ background-color: var(--seed-color-bg-positive-weak-pressed);
216
+ }
159
217
  }
160
218
  .seed-page-banner__title--tone_positive-variant_weak {
161
219
  color: var(--seed-color-fg-positive-contrast);
@@ -171,8 +229,15 @@
171
229
  --seed-prefix-icon-color: var(--seed-color-palette-static-white);
172
230
  --seed-suffix-icon-color: var(--seed-color-palette-static-white);
173
231
  }
174
- .seed-page-banner__root--tone_positive-variant_solid:is(button):is(:active, [data-active]) {
175
- background-color: var(--seed-color-bg-positive-solid-pressed);
232
+ @media (hover: hover) {
233
+ .seed-page-banner__root--tone_positive-variant_solid:is(button):is(:hover, [data-hover]) {
234
+ background-color: var(--seed-color-bg-positive-solid-pressed);
235
+ }
236
+ }
237
+ @media (hover: none) {
238
+ .seed-page-banner__root--tone_positive-variant_solid:is(button):is(:active, [data-active]) {
239
+ background-color: var(--seed-color-bg-positive-solid-pressed);
240
+ }
176
241
  }
177
242
  .seed-page-banner__title--tone_positive-variant_solid {
178
243
  color: var(--seed-color-palette-static-white);
@@ -188,8 +253,15 @@
188
253
  --seed-prefix-icon-color: var(--seed-color-fg-warning-contrast);
189
254
  --seed-suffix-icon-color: var(--seed-color-fg-warning-contrast);
190
255
  }
191
- .seed-page-banner__root--tone_warning-variant_weak:is(button):is(:active, [data-active]) {
192
- background-color: var(--seed-color-bg-warning-weak-pressed);
256
+ @media (hover: hover) {
257
+ .seed-page-banner__root--tone_warning-variant_weak:is(button):is(:hover, [data-hover]) {
258
+ background-color: var(--seed-color-bg-warning-weak-pressed);
259
+ }
260
+ }
261
+ @media (hover: none) {
262
+ .seed-page-banner__root--tone_warning-variant_weak:is(button):is(:active, [data-active]) {
263
+ background-color: var(--seed-color-bg-warning-weak-pressed);
264
+ }
193
265
  }
194
266
  .seed-page-banner__title--tone_warning-variant_weak {
195
267
  color: var(--seed-color-fg-warning-contrast);
@@ -205,8 +277,15 @@
205
277
  --seed-prefix-icon-color: var(--seed-color-palette-static-black-alpha-900);
206
278
  --seed-suffix-icon-color: var(--seed-color-palette-static-black-alpha-900);
207
279
  }
208
- .seed-page-banner__root--tone_warning-variant_solid:is(button):is(:active, [data-active]) {
209
- background-color: var(--seed-color-bg-warning-solid-pressed);
280
+ @media (hover: hover) {
281
+ .seed-page-banner__root--tone_warning-variant_solid:is(button):is(:hover, [data-hover]) {
282
+ background-color: var(--seed-color-bg-warning-solid-pressed);
283
+ }
284
+ }
285
+ @media (hover: none) {
286
+ .seed-page-banner__root--tone_warning-variant_solid:is(button):is(:active, [data-active]) {
287
+ background-color: var(--seed-color-bg-warning-solid-pressed);
288
+ }
210
289
  }
211
290
  .seed-page-banner__title--tone_warning-variant_solid {
212
291
  color: var(--seed-color-palette-static-black-alpha-900);
@@ -222,8 +301,15 @@
222
301
  --seed-prefix-icon-color: var(--seed-color-fg-critical-contrast);
223
302
  --seed-suffix-icon-color: var(--seed-color-fg-critical-contrast);
224
303
  }
225
- .seed-page-banner__root--tone_critical-variant_weak:is(button):is(:active, [data-active]) {
226
- background-color: var(--seed-color-bg-critical-weak-pressed);
304
+ @media (hover: hover) {
305
+ .seed-page-banner__root--tone_critical-variant_weak:is(button):is(:hover, [data-hover]) {
306
+ background-color: var(--seed-color-bg-critical-weak-pressed);
307
+ }
308
+ }
309
+ @media (hover: none) {
310
+ .seed-page-banner__root--tone_critical-variant_weak:is(button):is(:active, [data-active]) {
311
+ background-color: var(--seed-color-bg-critical-weak-pressed);
312
+ }
227
313
  }
228
314
  .seed-page-banner__title--tone_critical-variant_weak {
229
315
  color: var(--seed-color-fg-critical-contrast);
@@ -239,8 +325,15 @@
239
325
  --seed-prefix-icon-color: var(--seed-color-palette-static-white);
240
326
  --seed-suffix-icon-color: var(--seed-color-palette-static-white);
241
327
  }
242
- .seed-page-banner__root--tone_critical-variant_solid:is(button):is(:active, [data-active]) {
243
- background-color: var(--seed-color-bg-critical-solid-pressed);
328
+ @media (hover: hover) {
329
+ .seed-page-banner__root--tone_critical-variant_solid:is(button):is(:hover, [data-hover]) {
330
+ background-color: var(--seed-color-bg-critical-solid-pressed);
331
+ }
332
+ }
333
+ @media (hover: none) {
334
+ .seed-page-banner__root--tone_critical-variant_solid:is(button):is(:active, [data-active]) {
335
+ background-color: var(--seed-color-bg-critical-solid-pressed);
336
+ }
244
337
  }
245
338
  .seed-page-banner__title--tone_critical-variant_solid {
246
339
  color: var(--seed-color-palette-static-white);
@@ -256,8 +349,15 @@
256
349
  --seed-prefix-icon-color: var(--seed-color-fg-neutral);
257
350
  --seed-suffix-icon-color: var(--seed-color-fg-neutral);
258
351
  }
259
- .seed-page-banner__root--tone_magic-variant_weak:is(button):is(:active, [data-active]) {
260
- background-image: linear-gradient(88deg, var(--seed-gradient-glow-magic-pressed));
352
+ @media (hover: hover) {
353
+ .seed-page-banner__root--tone_magic-variant_weak:is(button):is(:hover, [data-hover]) {
354
+ background-image: linear-gradient(88deg, var(--seed-gradient-glow-magic-pressed));
355
+ }
356
+ }
357
+ @media (hover: none) {
358
+ .seed-page-banner__root--tone_magic-variant_weak:is(button):is(:active, [data-active]) {
359
+ background-image: linear-gradient(88deg, var(--seed-gradient-glow-magic-pressed));
360
+ }
261
361
  }
262
362
  .seed-page-banner__title--tone_magic-variant_weak {
263
363
  color: var(--seed-color-fg-neutral);
@@ -0,0 +1,361 @@
1
+ @layer seed-components {
2
+ .seed-page-banner__root {
3
+ box-sizing: border-box;
4
+ -webkit-font-smoothing: antialiased;
5
+ -moz-osx-font-smoothing: grayscale;
6
+ font-family: inherit;
7
+ font-size: unset;
8
+ text-align: start;
9
+ width: 100%;
10
+ min-height: var(--seed-dimension-x10);
11
+ padding-left: var(--seed-dimension-x4);
12
+ padding-right: var(--seed-dimension-x4);
13
+ padding-top: var(--seed-dimension-x2_5);
14
+ padding-bottom: var(--seed-dimension-x2_5);
15
+ --seed-prefix-icon-size: var(--seed-dimension-x4);
16
+ --seed-prefix-icon-margin-right: var(--seed-dimension-x2);
17
+ --seed-prefix-icon-margin-top: calc((var(--seed-dimension-x10) - var(--seed-dimension-x4)) * .5 - var(--seed-dimension-x2_5));
18
+ --seed-suffix-icon-size: var(--seed-dimension-x4);
19
+ --seed-suffix-icon-margin-left: var(--seed-dimension-x2);
20
+ --seed-suffix-icon-align-self: center;
21
+ border: none;
22
+ align-items: flex-start;
23
+ display: flex;
24
+ }
25
+
26
+ .seed-page-banner__root:is(button) {
27
+ cursor: pointer;
28
+ transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
29
+ outline: var(--seed-dimension-x0_5) solid transparent;
30
+ outline-offset: calc(var(--seed-dimension-x0_5) * -1);
31
+ }
32
+
33
+ .seed-page-banner__root:is(button):is(:focus-visible, [data-focus-visible]) {
34
+ outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
35
+ outline-offset: calc(var(--seed-dimension-x0_5) * -1);
36
+ }
37
+
38
+ .seed-page-banner__content {
39
+ justify-content: space-between;
40
+ align-items: center;
41
+ gap: var(--seed-dimension-x1_5);
42
+ flex-wrap: wrap;
43
+ flex-grow: 1;
44
+ display: flex;
45
+ }
46
+
47
+ .seed-page-banner__body {
48
+ line-height: var(--seed-line-height-t4);
49
+ flex-grow: 1;
50
+ }
51
+
52
+ .seed-page-banner__title {
53
+ font-size: var(--seed-font-size-t4);
54
+ line-height: var(--seed-line-height-t4);
55
+ font-weight: var(--seed-font-weight-bold);
56
+ flex-shrink: 0;
57
+ }
58
+
59
+ .seed-page-banner__title:after {
60
+ content: " ";
61
+ white-space: pre;
62
+ }
63
+
64
+ .seed-page-banner__description {
65
+ font-size: var(--seed-font-size-t4);
66
+ line-height: var(--seed-line-height-t4);
67
+ font-weight: var(--seed-font-weight-medium);
68
+ }
69
+
70
+ .seed-page-banner__button {
71
+ cursor: pointer;
72
+ margin: calc((var(--seed-dimension-x10) - var(--seed-line-height-t3)) * .5 * -1);
73
+ padding: calc((var(--seed-dimension-x10) - var(--seed-line-height-t3)) * .5);
74
+ font-family: inherit;
75
+ font-size: var(--seed-font-size-t3);
76
+ line-height: var(--seed-line-height-t3);
77
+ font-weight: var(--seed-font-weight-bold);
78
+ border-radius: var(--seed-radius-r1);
79
+ transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
80
+ outline: var(--seed-dimension-x0_5) solid transparent;
81
+ outline-offset: calc(var(--seed-dimension-x0_5) * -1);
82
+ background-color: #0000;
83
+ border: none;
84
+ align-items: center;
85
+ display: flex;
86
+ }
87
+
88
+ .seed-page-banner__button:is(:focus-visible, [data-focus-visible]) {
89
+ outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
90
+ outline-offset: calc(var(--seed-dimension-x0_5) * -1);
91
+ }
92
+
93
+ .seed-page-banner__closeButton {
94
+ width: var(--seed-dimension-x10);
95
+ height: var(--seed-dimension-x10);
96
+ margin: calc((var(--seed-dimension-x10) - var(--seed-dimension-x4)) * -.5);
97
+ margin-left: calc((var(--seed-dimension-x10) - var(--seed-dimension-x4)) * -.5 + var(--seed-dimension-x2));
98
+ --seed-suffix-icon-margin-left: initial;
99
+ cursor: pointer;
100
+ border-radius: var(--seed-radius-r1);
101
+ transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
102
+ outline: var(--seed-dimension-x0_5) solid transparent;
103
+ outline-offset: calc(var(--seed-dimension-x0_5) * -1);
104
+ background-color: #0000;
105
+ border: none;
106
+ flex-grow: 0;
107
+ flex-shrink: 0;
108
+ justify-content: center;
109
+ align-self: center;
110
+ align-items: center;
111
+ padding: 0;
112
+ display: flex;
113
+ }
114
+
115
+ .seed-page-banner__closeButton:is(:focus-visible, [data-focus-visible]) {
116
+ outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
117
+ outline-offset: calc(var(--seed-dimension-x0_5) * -1);
118
+ }
119
+
120
+ .seed-page-banner__root--tone_neutral-variant_weak {
121
+ background-color: var(--seed-color-bg-neutral-weak);
122
+ --seed-prefix-icon-color: var(--seed-color-fg-neutral);
123
+ --seed-suffix-icon-color: var(--seed-color-fg-neutral);
124
+ }
125
+
126
+ @media (hover: hover) {
127
+ .seed-page-banner__root--tone_neutral-variant_weak:is(button):is(:hover, [data-hover]) {
128
+ background-color: var(--seed-color-bg-neutral-weak-pressed);
129
+ }
130
+ }
131
+
132
+ @media (hover: none) {
133
+ .seed-page-banner__root--tone_neutral-variant_weak:is(button):is(:active, [data-active]) {
134
+ background-color: var(--seed-color-bg-neutral-weak-pressed);
135
+ }
136
+ }
137
+
138
+ .seed-page-banner__title--tone_neutral-variant_weak, .seed-page-banner__description--tone_neutral-variant_weak, .seed-page-banner__button--tone_neutral-variant_weak {
139
+ color: var(--seed-color-fg-neutral);
140
+ }
141
+
142
+ .seed-page-banner__root--tone_neutral-variant_solid {
143
+ background-color: var(--seed-color-bg-neutral-inverted);
144
+ --seed-prefix-icon-color: var(--seed-color-fg-neutral-inverted);
145
+ --seed-suffix-icon-color: var(--seed-color-fg-neutral-inverted);
146
+ }
147
+
148
+ @media (hover: hover) {
149
+ .seed-page-banner__root--tone_neutral-variant_solid:is(button):is(:hover, [data-hover]) {
150
+ background-color: var(--seed-color-bg-neutral-inverted-pressed);
151
+ }
152
+ }
153
+
154
+ @media (hover: none) {
155
+ .seed-page-banner__root--tone_neutral-variant_solid:is(button):is(:active, [data-active]) {
156
+ background-color: var(--seed-color-bg-neutral-inverted-pressed);
157
+ }
158
+ }
159
+
160
+ .seed-page-banner__title--tone_neutral-variant_solid, .seed-page-banner__description--tone_neutral-variant_solid, .seed-page-banner__button--tone_neutral-variant_solid {
161
+ color: var(--seed-color-fg-neutral-inverted);
162
+ }
163
+
164
+ .seed-page-banner__root--tone_informative-variant_weak {
165
+ background-color: var(--seed-color-bg-informative-weak);
166
+ --seed-prefix-icon-color: var(--seed-color-fg-informative-contrast);
167
+ --seed-suffix-icon-color: var(--seed-color-fg-informative-contrast);
168
+ }
169
+
170
+ @media (hover: hover) {
171
+ .seed-page-banner__root--tone_informative-variant_weak:is(button):is(:hover, [data-hover]) {
172
+ background-color: var(--seed-color-bg-informative-weak-pressed);
173
+ }
174
+ }
175
+
176
+ @media (hover: none) {
177
+ .seed-page-banner__root--tone_informative-variant_weak:is(button):is(:active, [data-active]) {
178
+ background-color: var(--seed-color-bg-informative-weak-pressed);
179
+ }
180
+ }
181
+
182
+ .seed-page-banner__title--tone_informative-variant_weak, .seed-page-banner__description--tone_informative-variant_weak, .seed-page-banner__button--tone_informative-variant_weak {
183
+ color: var(--seed-color-fg-informative-contrast);
184
+ }
185
+
186
+ .seed-page-banner__root--tone_informative-variant_solid {
187
+ background-color: var(--seed-color-bg-informative-solid);
188
+ --seed-prefix-icon-color: var(--seed-color-palette-static-white);
189
+ --seed-suffix-icon-color: var(--seed-color-palette-static-white);
190
+ }
191
+
192
+ @media (hover: hover) {
193
+ .seed-page-banner__root--tone_informative-variant_solid:is(button):is(:hover, [data-hover]) {
194
+ background-color: var(--seed-color-bg-informative-solid-pressed);
195
+ }
196
+ }
197
+
198
+ @media (hover: none) {
199
+ .seed-page-banner__root--tone_informative-variant_solid:is(button):is(:active, [data-active]) {
200
+ background-color: var(--seed-color-bg-informative-solid-pressed);
201
+ }
202
+ }
203
+
204
+ .seed-page-banner__title--tone_informative-variant_solid, .seed-page-banner__description--tone_informative-variant_solid, .seed-page-banner__button--tone_informative-variant_solid {
205
+ color: var(--seed-color-palette-static-white);
206
+ }
207
+
208
+ .seed-page-banner__root--tone_positive-variant_weak {
209
+ background-color: var(--seed-color-bg-positive-weak);
210
+ --seed-prefix-icon-color: var(--seed-color-fg-positive-contrast);
211
+ --seed-suffix-icon-color: var(--seed-color-fg-positive-contrast);
212
+ }
213
+
214
+ @media (hover: hover) {
215
+ .seed-page-banner__root--tone_positive-variant_weak:is(button):is(:hover, [data-hover]) {
216
+ background-color: var(--seed-color-bg-positive-weak-pressed);
217
+ }
218
+ }
219
+
220
+ @media (hover: none) {
221
+ .seed-page-banner__root--tone_positive-variant_weak:is(button):is(:active, [data-active]) {
222
+ background-color: var(--seed-color-bg-positive-weak-pressed);
223
+ }
224
+ }
225
+
226
+ .seed-page-banner__title--tone_positive-variant_weak, .seed-page-banner__description--tone_positive-variant_weak, .seed-page-banner__button--tone_positive-variant_weak {
227
+ color: var(--seed-color-fg-positive-contrast);
228
+ }
229
+
230
+ .seed-page-banner__root--tone_positive-variant_solid {
231
+ background-color: var(--seed-color-bg-positive-solid);
232
+ --seed-prefix-icon-color: var(--seed-color-palette-static-white);
233
+ --seed-suffix-icon-color: var(--seed-color-palette-static-white);
234
+ }
235
+
236
+ @media (hover: hover) {
237
+ .seed-page-banner__root--tone_positive-variant_solid:is(button):is(:hover, [data-hover]) {
238
+ background-color: var(--seed-color-bg-positive-solid-pressed);
239
+ }
240
+ }
241
+
242
+ @media (hover: none) {
243
+ .seed-page-banner__root--tone_positive-variant_solid:is(button):is(:active, [data-active]) {
244
+ background-color: var(--seed-color-bg-positive-solid-pressed);
245
+ }
246
+ }
247
+
248
+ .seed-page-banner__title--tone_positive-variant_solid, .seed-page-banner__description--tone_positive-variant_solid, .seed-page-banner__button--tone_positive-variant_solid {
249
+ color: var(--seed-color-palette-static-white);
250
+ }
251
+
252
+ .seed-page-banner__root--tone_warning-variant_weak {
253
+ background-color: var(--seed-color-bg-warning-weak);
254
+ --seed-prefix-icon-color: var(--seed-color-fg-warning-contrast);
255
+ --seed-suffix-icon-color: var(--seed-color-fg-warning-contrast);
256
+ }
257
+
258
+ @media (hover: hover) {
259
+ .seed-page-banner__root--tone_warning-variant_weak:is(button):is(:hover, [data-hover]) {
260
+ background-color: var(--seed-color-bg-warning-weak-pressed);
261
+ }
262
+ }
263
+
264
+ @media (hover: none) {
265
+ .seed-page-banner__root--tone_warning-variant_weak:is(button):is(:active, [data-active]) {
266
+ background-color: var(--seed-color-bg-warning-weak-pressed);
267
+ }
268
+ }
269
+
270
+ .seed-page-banner__title--tone_warning-variant_weak, .seed-page-banner__description--tone_warning-variant_weak, .seed-page-banner__button--tone_warning-variant_weak {
271
+ color: var(--seed-color-fg-warning-contrast);
272
+ }
273
+
274
+ .seed-page-banner__root--tone_warning-variant_solid {
275
+ background-color: var(--seed-color-bg-warning-solid);
276
+ --seed-prefix-icon-color: var(--seed-color-palette-static-black-alpha-900);
277
+ --seed-suffix-icon-color: var(--seed-color-palette-static-black-alpha-900);
278
+ }
279
+
280
+ @media (hover: hover) {
281
+ .seed-page-banner__root--tone_warning-variant_solid:is(button):is(:hover, [data-hover]) {
282
+ background-color: var(--seed-color-bg-warning-solid-pressed);
283
+ }
284
+ }
285
+
286
+ @media (hover: none) {
287
+ .seed-page-banner__root--tone_warning-variant_solid:is(button):is(:active, [data-active]) {
288
+ background-color: var(--seed-color-bg-warning-solid-pressed);
289
+ }
290
+ }
291
+
292
+ .seed-page-banner__title--tone_warning-variant_solid, .seed-page-banner__description--tone_warning-variant_solid, .seed-page-banner__button--tone_warning-variant_solid {
293
+ color: var(--seed-color-palette-static-black-alpha-900);
294
+ }
295
+
296
+ .seed-page-banner__root--tone_critical-variant_weak {
297
+ background-color: var(--seed-color-bg-critical-weak);
298
+ --seed-prefix-icon-color: var(--seed-color-fg-critical-contrast);
299
+ --seed-suffix-icon-color: var(--seed-color-fg-critical-contrast);
300
+ }
301
+
302
+ @media (hover: hover) {
303
+ .seed-page-banner__root--tone_critical-variant_weak:is(button):is(:hover, [data-hover]) {
304
+ background-color: var(--seed-color-bg-critical-weak-pressed);
305
+ }
306
+ }
307
+
308
+ @media (hover: none) {
309
+ .seed-page-banner__root--tone_critical-variant_weak:is(button):is(:active, [data-active]) {
310
+ background-color: var(--seed-color-bg-critical-weak-pressed);
311
+ }
312
+ }
313
+
314
+ .seed-page-banner__title--tone_critical-variant_weak, .seed-page-banner__description--tone_critical-variant_weak, .seed-page-banner__button--tone_critical-variant_weak {
315
+ color: var(--seed-color-fg-critical-contrast);
316
+ }
317
+
318
+ .seed-page-banner__root--tone_critical-variant_solid {
319
+ background-color: var(--seed-color-bg-critical-solid);
320
+ --seed-prefix-icon-color: var(--seed-color-palette-static-white);
321
+ --seed-suffix-icon-color: var(--seed-color-palette-static-white);
322
+ }
323
+
324
+ @media (hover: hover) {
325
+ .seed-page-banner__root--tone_critical-variant_solid:is(button):is(:hover, [data-hover]) {
326
+ background-color: var(--seed-color-bg-critical-solid-pressed);
327
+ }
328
+ }
329
+
330
+ @media (hover: none) {
331
+ .seed-page-banner__root--tone_critical-variant_solid:is(button):is(:active, [data-active]) {
332
+ background-color: var(--seed-color-bg-critical-solid-pressed);
333
+ }
334
+ }
335
+
336
+ .seed-page-banner__title--tone_critical-variant_solid, .seed-page-banner__description--tone_critical-variant_solid, .seed-page-banner__button--tone_critical-variant_solid {
337
+ color: var(--seed-color-palette-static-white);
338
+ }
339
+
340
+ .seed-page-banner__root--tone_magic-variant_weak {
341
+ background-image: linear-gradient(88deg, var(--seed-gradient-glow-magic));
342
+ --seed-prefix-icon-color: var(--seed-color-fg-neutral);
343
+ --seed-suffix-icon-color: var(--seed-color-fg-neutral);
344
+ }
345
+
346
+ @media (hover: hover) {
347
+ .seed-page-banner__root--tone_magic-variant_weak:is(button):is(:hover, [data-hover]) {
348
+ background-image: linear-gradient(88deg, var(--seed-gradient-glow-magic-pressed));
349
+ }
350
+ }
351
+
352
+ @media (hover: none) {
353
+ .seed-page-banner__root--tone_magic-variant_weak:is(button):is(:active, [data-active]) {
354
+ background-image: linear-gradient(88deg, var(--seed-gradient-glow-magic-pressed));
355
+ }
356
+ }
357
+
358
+ .seed-page-banner__title--tone_magic-variant_weak, .seed-page-banner__description--tone_magic-variant_weak, .seed-page-banner__button--tone_magic-variant_weak {
359
+ color: var(--seed-color-fg-neutral);
360
+ }
361
+ }