@seed-design/css 1.2.6 → 1.2.8

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 (88) hide show
  1. package/all.css +323 -200
  2. package/all.layered.css +323 -200
  3. package/all.layered.min.css +1 -1
  4. package/all.min.css +1 -1
  5. package/base.css +6 -2
  6. package/base.layered.css +6 -2
  7. package/base.layered.min.css +1 -1
  8. package/base.min.css +1 -1
  9. package/package.json +1 -1
  10. package/recipes/action-button.css +14 -14
  11. package/recipes/action-button.layered.css +14 -14
  12. package/recipes/action-sheet.layered.css +3 -3
  13. package/recipes/app-bar.css +93 -0
  14. package/recipes/app-bar.d.ts +1 -1
  15. package/recipes/app-bar.layered.css +90 -0
  16. package/recipes/app-bar.layered.mjs +4 -0
  17. package/recipes/app-bar.mjs +4 -0
  18. package/recipes/app-screen.layered.css +13 -13
  19. package/recipes/avatar-stack.css +7 -0
  20. package/recipes/avatar-stack.d.ts +1 -1
  21. package/recipes/avatar-stack.layered.css +9 -0
  22. package/recipes/avatar-stack.layered.mjs +1 -0
  23. package/recipes/avatar-stack.mjs +1 -0
  24. package/recipes/avatar.css +10 -0
  25. package/recipes/avatar.d.ts +1 -1
  26. package/recipes/avatar.layered.css +12 -0
  27. package/recipes/avatar.layered.mjs +1 -0
  28. package/recipes/avatar.mjs +1 -0
  29. package/recipes/bottom-sheet-handle.css +2 -2
  30. package/recipes/bottom-sheet-handle.layered.css +2 -2
  31. package/recipes/bottom-sheet.layered.css +3 -3
  32. package/recipes/callout.css +12 -12
  33. package/recipes/callout.layered.css +13 -13
  34. package/recipes/checkbox.layered.css +2 -2
  35. package/recipes/checkmark.css +12 -12
  36. package/recipes/checkmark.layered.css +12 -12
  37. package/recipes/chip-tabs.css +12 -12
  38. package/recipes/chip-tabs.layered.css +12 -12
  39. package/recipes/chip.css +12 -12
  40. package/recipes/chip.layered.css +12 -12
  41. package/recipes/contextual-floating-button.css +4 -4
  42. package/recipes/contextual-floating-button.layered.css +4 -4
  43. package/recipes/dialog.layered.css +3 -3
  44. package/recipes/extended-action-sheet.layered.css +3 -3
  45. package/recipes/field.layered.css +2 -2
  46. package/recipes/floating-action-button.css +2 -2
  47. package/recipes/floating-action-button.layered.css +2 -2
  48. package/recipes/help-bubble.layered.css +4 -4
  49. package/recipes/image-frame-reaction-button.layered.css +4 -4
  50. package/recipes/image-frame.css +11 -5
  51. package/recipes/image-frame.layered.css +8 -0
  52. package/recipes/inline-banner.layered.css +3 -3
  53. package/recipes/input-button.css +2 -2
  54. package/recipes/input-button.layered.css +2 -2
  55. package/recipes/list-item.css +8 -8
  56. package/recipes/list-item.layered.css +8 -8
  57. package/recipes/menu-sheet-item.css +2 -2
  58. package/recipes/menu-sheet-item.layered.css +2 -2
  59. package/recipes/menu-sheet.css +2 -2
  60. package/recipes/menu-sheet.layered.css +6 -6
  61. package/recipes/page-banner.css +22 -22
  62. package/recipes/page-banner.layered.css +27 -27
  63. package/recipes/pull-to-refresh.layered.css +1 -1
  64. package/recipes/radio.layered.css +2 -2
  65. package/recipes/radiomark.css +6 -6
  66. package/recipes/radiomark.layered.css +6 -6
  67. package/recipes/reaction-button.css +4 -4
  68. package/recipes/reaction-button.layered.css +4 -4
  69. package/recipes/segmented-control.css +4 -4
  70. package/recipes/segmented-control.layered.css +4 -4
  71. package/recipes/select-box.css +2 -2
  72. package/recipes/select-box.layered.css +2 -2
  73. package/recipes/selectBoxCheckmark.css +2 -2
  74. package/recipes/selectBoxCheckmark.layered.css +2 -2
  75. package/recipes/slider.layered.css +2 -2
  76. package/recipes/snackbar-region.layered.css +1 -1
  77. package/recipes/switch.layered.css +3 -3
  78. package/recipes/switchmark.layered.css +3 -3
  79. package/recipes/tabs.layered.css +4 -4
  80. package/recipes/toggle-button.css +8 -8
  81. package/recipes/toggle-button.layered.css +8 -8
  82. package/vars/color/bg.d.ts +5 -5
  83. package/vars/component/avatar-stack.d.ts +10 -0
  84. package/vars/component/avatar-stack.mjs +10 -0
  85. package/vars/component/avatar.d.ts +42 -0
  86. package/vars/component/avatar.mjs +16 -0
  87. package/vars/component/menu-sheet.d.ts +1 -0
  88. package/vars/component/menu-sheet.mjs +1 -0
@@ -2,7 +2,7 @@
2
2
  .seed-action-sheet__positioner {
3
3
  overscroll-behavior-y: none;
4
4
  --sheet-z-index: 2;
5
- z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
5
+ z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
6
6
  justify-content: center;
7
7
  align-items: flex-end;
8
8
  display: flex;
@@ -12,7 +12,7 @@
12
12
 
13
13
  .seed-action-sheet__backdrop {
14
14
  background: var(--seed-color-bg-overlay);
15
- z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
15
+ z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
16
16
  position: fixed;
17
17
  inset: 0;
18
18
  }
@@ -41,7 +41,7 @@
41
41
  .seed-action-sheet__content {
42
42
  box-sizing: border-box;
43
43
  word-break: break-all;
44
- z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
44
+ z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
45
45
  background: var(--seed-color-bg-layer-floating);
46
46
  border-top-left-radius: var(--seed-radius-r5);
47
47
  border-top-right-radius: var(--seed-radius-r5);
@@ -230,6 +230,99 @@
230
230
  opacity: 1;
231
231
  transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
232
232
  }
233
+ [data-global-transition-state=enter-active] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top] {
234
+ animation: seed-enter;
235
+ animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
236
+ animation-duration: 350ms;
237
+ --seed-enter-translate-x: 0;
238
+ --seed-enter-translate-y: 0;
239
+ --seed-enter-opacity: 0;
240
+ --seed-enter-scale: 1;
241
+ opacity: 1;
242
+ }
243
+ [data-global-transition-state=exit-active] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top] {
244
+ transform: translate3d(calc(var(--swipe-back-displacement, 0) * 0.15), 0, 0);
245
+ opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
246
+ animation: seed-exit;
247
+ animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
248
+ animation-duration: 350ms;
249
+ animation-fill-mode: forwards;
250
+ --seed-exit-translate-x: 0;
251
+ --seed-exit-translate-y: 0;
252
+ --seed-exit-opacity: 0;
253
+ --seed-exit-scale: 1;
254
+ }
255
+ [data-global-transition-state=enter-done] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top] {
256
+ animation: seed-enter;
257
+ animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
258
+ animation-duration: 350ms;
259
+ --seed-enter-translate-x: calc(var(--swipe-back-displacement, 0) * 0.15);
260
+ --seed-enter-translate-y: 0;
261
+ --seed-enter-opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
262
+ --seed-enter-scale: 1;
263
+ opacity: 1;
264
+ }
265
+ [data-swipe-back-state=swiping] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
266
+ animation: none;
267
+ transform: translate3d(calc(var(--swipe-back-displacement, 0) * 0.15), 0, 0);
268
+ opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
269
+ }
270
+ [data-swipe-back-state=canceling] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
271
+ animation: none !important;
272
+ opacity: 1;
273
+ transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
274
+ }
275
+ [data-swipe-back-state=completing] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
276
+ animation: none !important;
277
+ opacity: 0;
278
+ transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
279
+ }
280
+ [data-global-transition-state=enter-active][data-top-activity-type="full-screen"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
281
+ opacity: 1;
282
+ animation: seed-exit;
283
+ animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
284
+ animation-duration: 350ms;
285
+ animation-fill-mode: forwards;
286
+ --seed-exit-translate-x: 0;
287
+ --seed-exit-translate-y: 0;
288
+ --seed-exit-opacity: 0;
289
+ --seed-exit-scale: 1;
290
+ }
291
+ [data-global-transition-state=exit-active][data-top-activity-type="full-screen"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
292
+ animation: seed-enter;
293
+ animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
294
+ animation-duration: 350ms;
295
+ --seed-enter-translate-x: 0;
296
+ --seed-enter-translate-y: 0;
297
+ --seed-enter-opacity: calc(var(--swipe-back-displacement-ratio, 0));
298
+ --seed-enter-scale: 1;
299
+ opacity: 1;
300
+ }
301
+ [data-global-transition-state=enter-done][data-top-activity-type="full-screen"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
302
+ opacity: calc(var(--swipe-back-displacement-ratio, 0));
303
+ animation: seed-exit;
304
+ animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
305
+ animation-duration: 350ms;
306
+ animation-fill-mode: forwards;
307
+ --seed-exit-translate-x: 0;
308
+ --seed-exit-translate-y: 0;
309
+ --seed-exit-opacity: 0;
310
+ --seed-exit-scale: 1;
311
+ }
312
+ [data-swipe-back-state=swiping] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
313
+ animation: none;
314
+ opacity: calc(var(--swipe-back-displacement-ratio, 0));
315
+ }
316
+ [data-swipe-back-state=canceling] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
317
+ animation: none !important;
318
+ opacity: 0;
319
+ transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
320
+ }
321
+ [data-swipe-back-state=completing] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
322
+ animation: none !important;
323
+ opacity: 1;
324
+ transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
325
+ }
233
326
  [data-global-transition-state=enter-active] .seed-app-bar__root--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
234
327
  animation: seed-enter;
235
328
  animation-timing-function: cubic-bezier(0.23, 0.1, 0.32, 1);
@@ -23,7 +23,7 @@ declare type AppBarVariantMap = {
23
23
 
24
24
  export declare type AppBarVariantProps = Partial<AppBarVariant>;
25
25
 
26
- export declare type AppBarSlotName = "root" | "left" | "right" | "iconButton" | "icon";
26
+ export declare type AppBarSlotName = "root" | "left" | "right" | "iconButton" | "icon" | "custom";
27
27
 
28
28
  export declare const appBarVariantMap: AppBarVariantMap;
29
29
 
@@ -242,6 +242,96 @@
242
242
  animation: none !important;
243
243
  }
244
244
 
245
+ [data-global-transition-state="enter-active"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top] {
246
+ --seed-enter-translate-x: 0;
247
+ --seed-enter-translate-y: 0;
248
+ --seed-enter-opacity: 0;
249
+ --seed-enter-scale: 1;
250
+ opacity: 1;
251
+ animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
252
+ }
253
+
254
+ [data-global-transition-state="exit-active"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top] {
255
+ transform: translate3d(calc(var(--swipe-back-displacement, 0) * .15), 0, 0);
256
+ opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
257
+ --seed-exit-translate-x: 0;
258
+ --seed-exit-translate-y: 0;
259
+ --seed-exit-opacity: 0;
260
+ --seed-exit-scale: 1;
261
+ animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
262
+ }
263
+
264
+ [data-global-transition-state="enter-done"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top] {
265
+ --seed-enter-translate-x: calc(var(--swipe-back-displacement, 0) * .15);
266
+ --seed-enter-translate-y: 0;
267
+ --seed-enter-opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
268
+ --seed-enter-scale: 1;
269
+ opacity: 1;
270
+ animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
271
+ }
272
+
273
+ [data-swipe-back-state="swiping"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
274
+ transform: translate3d(calc(var(--swipe-back-displacement, 0) * .15), 0, 0);
275
+ opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
276
+ animation: none;
277
+ }
278
+
279
+ [data-swipe-back-state="canceling"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
280
+ opacity: 1;
281
+ transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
282
+ animation: none !important;
283
+ }
284
+
285
+ [data-swipe-back-state="completing"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
286
+ opacity: 0;
287
+ transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
288
+ animation: none !important;
289
+ }
290
+
291
+ [data-global-transition-state="enter-active"][data-top-activity-type="full-screen"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
292
+ opacity: 1;
293
+ --seed-exit-translate-x: 0;
294
+ --seed-exit-translate-y: 0;
295
+ --seed-exit-opacity: 0;
296
+ --seed-exit-scale: 1;
297
+ animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
298
+ }
299
+
300
+ [data-global-transition-state="exit-active"][data-top-activity-type="full-screen"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
301
+ --seed-enter-translate-x: 0;
302
+ --seed-enter-translate-y: 0;
303
+ --seed-enter-opacity: calc(var(--swipe-back-displacement-ratio, 0));
304
+ --seed-enter-scale: 1;
305
+ opacity: 1;
306
+ animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
307
+ }
308
+
309
+ [data-global-transition-state="enter-done"][data-top-activity-type="full-screen"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
310
+ opacity: calc(var(--swipe-back-displacement-ratio, 0));
311
+ --seed-exit-translate-x: 0;
312
+ --seed-exit-translate-y: 0;
313
+ --seed-exit-opacity: 0;
314
+ --seed-exit-scale: 1;
315
+ animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
316
+ }
317
+
318
+ [data-swipe-back-state="swiping"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
319
+ opacity: calc(var(--swipe-back-displacement-ratio, 0));
320
+ animation: none;
321
+ }
322
+
323
+ [data-swipe-back-state="canceling"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
324
+ opacity: 0;
325
+ transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
326
+ animation: none !important;
327
+ }
328
+
329
+ [data-swipe-back-state="completing"] .seed-app-bar__custom--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
330
+ opacity: 1;
331
+ transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
332
+ animation: none !important;
333
+ }
334
+
245
335
  [data-global-transition-state="enter-active"] .seed-app-bar__root--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
246
336
  --seed-enter-translate-x: 0;
247
337
  --seed-enter-translate-y: 8vh;
@@ -21,6 +21,10 @@ const appBarSlotNames = [
21
21
  [
22
22
  "icon",
23
23
  "seed-app-bar__icon"
24
+ ],
25
+ [
26
+ "custom",
27
+ "seed-app-bar__custom"
24
28
  ]
25
29
  ];
26
30
 
@@ -21,6 +21,10 @@ const appBarSlotNames = [
21
21
  [
22
22
  "icon",
23
23
  "seed-app-bar__icon"
24
+ ],
25
+ [
26
+ "custom",
27
+ "seed-app-bar__custom"
24
28
  ]
25
29
  ];
26
30
 
@@ -1,6 +1,6 @@
1
1
  @layer seed-components {
2
2
  .seed-app-screen__root {
3
- --app-bar-offset: calc(var(--app-bar-height) + var(--seed-safe-area-top));
3
+ --app-bar-offset: calc(var(--app-bar-height) + var(--seed-safe-area-top));
4
4
  width: 100%;
5
5
  height: 100%;
6
6
  position: absolute;
@@ -60,10 +60,10 @@
60
60
  }
61
61
 
62
62
  .seed-app-screen__root--transitionStyle_slideFromRightIOS {
63
- --z-index-dim: calc(var(--z-index-base) + 0);
64
- --z-index-layer: calc(var(--z-index-base) + 2);
65
- --z-index-edge: calc(var(--z-index-base) + 4);
66
- --z-index-app-bar: calc(var(--z-index-base) + 7);
63
+ --z-index-dim: calc(var(--z-index-base) + 0);
64
+ --z-index-layer: calc(var(--z-index-base) + 2);
65
+ --z-index-edge: calc(var(--z-index-base) + 4);
66
+ --z-index-app-bar: calc(var(--z-index-base) + 7);
67
67
  }
68
68
 
69
69
  .seed-app-screen__layer--transitionStyle_slideFromRightIOS {
@@ -208,10 +208,10 @@
208
208
  }
209
209
 
210
210
  .seed-app-screen__root--transitionStyle_fadeFromBottomAndroid {
211
- --z-index-dim: calc(var(--z-index-base) + 0);
212
- --z-index-layer: calc(var(--z-index-base) + 3);
213
- --z-index-edge: calc(var(--z-index-base) + 4);
214
- --z-index-app-bar: calc(var(--z-index-base) + 4);
211
+ --z-index-dim: calc(var(--z-index-base) + 0);
212
+ --z-index-layer: calc(var(--z-index-base) + 3);
213
+ --z-index-edge: calc(var(--z-index-base) + 4);
214
+ --z-index-app-bar: calc(var(--z-index-base) + 4);
215
215
  }
216
216
 
217
217
  .seed-app-screen__dim--transitionStyle_fadeFromBottomAndroid {
@@ -264,10 +264,10 @@
264
264
  }
265
265
 
266
266
  .seed-app-screen__root--transitionStyle_fadeIn {
267
- --z-index-dim: calc(var(--z-index-base) + 0);
268
- --z-index-layer: calc(var(--z-index-base) + 3);
269
- --z-index-edge: calc(var(--z-index-base) + 4);
270
- --z-index-app-bar: calc(var(--z-index-base) + 4);
267
+ --z-index-dim: calc(var(--z-index-base) + 0);
268
+ --z-index-layer: calc(var(--z-index-base) + 3);
269
+ --z-index-edge: calc(var(--z-index-base) + 4);
270
+ --z-index-app-bar: calc(var(--z-index-base) + 4);
271
271
  }
272
272
 
273
273
  .seed-app-screen__dim--transitionStyle_fadeIn {
@@ -43,6 +43,13 @@
43
43
  clip-path: inset(-2px);
44
44
  box-shadow: 0 0 0 2px var(--seed-color-bg-layer-default)
45
45
  }
46
+ .seed-avatar-stack__item--size_56:not(:first-child) {
47
+ margin-left: -13px
48
+ }
49
+ .seed-avatar-stack__item--size_56 {
50
+ clip-path: inset(-3px);
51
+ box-shadow: 0 0 0 3px var(--seed-color-bg-layer-default)
52
+ }
46
53
  .seed-avatar-stack__item--size_64:not(:first-child) {
47
54
  margin-left: -16px
48
55
  }
@@ -2,7 +2,7 @@ declare interface AvatarStackVariant {
2
2
  /**
3
3
  * @default 48
4
4
  */
5
- size: "20" | "24" | "36" | "42" | "48" | "64" | "80" | "96" | "108";
5
+ size: "20" | "24" | "36" | "42" | "48" | "56" | "64" | "80" | "96" | "108";
6
6
  }
7
7
 
8
8
  declare type AvatarStackVariantMap = {
@@ -56,6 +56,15 @@
56
56
  box-shadow: 0 0 0 2px var(--seed-color-bg-layer-default);
57
57
  }
58
58
 
59
+ .seed-avatar-stack__item--size_56:not(:first-child) {
60
+ margin-left: -13px;
61
+ }
62
+
63
+ .seed-avatar-stack__item--size_56 {
64
+ clip-path: inset(-3px);
65
+ box-shadow: 0 0 0 3px var(--seed-color-bg-layer-default);
66
+ }
67
+
59
68
  .seed-avatar-stack__item--size_64:not(:first-child) {
60
69
  margin-left: -16px;
61
70
  }
@@ -25,6 +25,7 @@ export const avatarStackVariantMap = {
25
25
  "36",
26
26
  "42",
27
27
  "48",
28
+ "56",
28
29
  "64",
29
30
  "80",
30
31
  "96",
@@ -25,6 +25,7 @@ export const avatarStackVariantMap = {
25
25
  "36",
26
26
  "42",
27
27
  "48",
28
+ "56",
28
29
  "64",
29
30
  "80",
30
31
  "96",
@@ -137,6 +137,16 @@
137
137
  --badge-size: 18px;
138
138
  --badge-offset: 30px;
139
139
  }
140
+ .seed-avatar__root--size_56 {
141
+ --avatar-size: 56px;
142
+ --avatar-stroke-width: 1px;
143
+ --badge-mask-size: 24px;
144
+ --badge-mask-offset: 34px;
145
+ }
146
+ .seed-avatar__badge--size_56 {
147
+ --badge-size: 20px;
148
+ --badge-offset: 36px;
149
+ }
140
150
  .seed-avatar__root--size_64 {
141
151
  --avatar-size: 64px;
142
152
  --avatar-stroke-width: 1px;
@@ -2,7 +2,7 @@ declare interface AvatarVariant {
2
2
  /**
3
3
  * @default 48
4
4
  */
5
- size: "20" | "24" | "36" | "42" | "48" | "64" | "80" | "96" | "108";
5
+ size: "20" | "24" | "36" | "42" | "48" | "56" | "64" | "80" | "96" | "108";
6
6
  /**
7
7
  * @default "none"
8
8
  */
@@ -152,6 +152,18 @@
152
152
  --badge-offset: 30px;
153
153
  }
154
154
 
155
+ .seed-avatar__root--size_56 {
156
+ --avatar-size: 56px;
157
+ --avatar-stroke-width: 1px;
158
+ --badge-mask-size: 24px;
159
+ --badge-mask-offset: 34px;
160
+ }
161
+
162
+ .seed-avatar__badge--size_56 {
163
+ --badge-size: 20px;
164
+ --badge-offset: 36px;
165
+ }
166
+
155
167
  .seed-avatar__root--size_64 {
156
168
  --avatar-size: 64px;
157
169
  --avatar-stroke-width: 1px;
@@ -34,6 +34,7 @@ export const avatarVariantMap = {
34
34
  "36",
35
35
  "42",
36
36
  "48",
37
+ "56",
37
38
  "64",
38
39
  "80",
39
40
  "96",
@@ -34,6 +34,7 @@ export const avatarVariantMap = {
34
34
  "36",
35
35
  "42",
36
36
  "48",
37
+ "56",
37
38
  "64",
38
39
  "80",
39
40
  "96",
@@ -10,12 +10,12 @@
10
10
  transition: background-color var(--seed-duration-color-transition) var(--seed-timing-function-easing);
11
11
  touch-action: pan-y;
12
12
  }
13
- @media (hover: hover) {
13
+ @media (hover: hover) and (pointer: fine) {
14
14
  .seed-bottom-sheet-handle__root:is(:hover, [data-hover]) {
15
15
  background-color: var(--seed-color-palette-gray-500);
16
16
  }
17
17
  }
18
- @media (hover: none) {
18
+ @media not all and (hover: hover) and (pointer: fine) {
19
19
  .seed-bottom-sheet-handle__root:is(:active, [data-active]) {
20
20
  background-color: var(--seed-color-palette-gray-500);
21
21
  }
@@ -12,13 +12,13 @@
12
12
  transform: translateX(-50%);
13
13
  }
14
14
 
15
- @media (hover: hover) {
15
+ @media (hover: hover) and (pointer: fine) {
16
16
  .seed-bottom-sheet-handle__root:is(:hover, [data-hover]) {
17
17
  background-color: var(--seed-color-palette-gray-500);
18
18
  }
19
19
  }
20
20
 
21
- @media (hover: none) {
21
+ @media not all and (hover: hover) and (pointer: fine) {
22
22
  .seed-bottom-sheet-handle__root:is(:active, [data-active]) {
23
23
  background-color: var(--seed-color-palette-gray-500);
24
24
  }
@@ -2,7 +2,7 @@
2
2
  .seed-bottom-sheet__positioner {
3
3
  overscroll-behavior-y: none;
4
4
  --sheet-z-index: 2;
5
- z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
5
+ z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
6
6
  justify-content: center;
7
7
  align-items: flex-end;
8
8
  display: flex;
@@ -12,7 +12,7 @@
12
12
 
13
13
  .seed-bottom-sheet__backdrop {
14
14
  background: var(--seed-color-bg-overlay);
15
- z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
15
+ z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
16
16
  position: fixed;
17
17
  inset: 0;
18
18
  }
@@ -28,7 +28,7 @@
28
28
  .seed-bottom-sheet__content {
29
29
  box-sizing: border-box;
30
30
  word-break: break-all;
31
- z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
31
+ z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
32
32
  background: var(--seed-color-bg-layer-floating);
33
33
  border-top-left-radius: var(--seed-radius-r6);
34
34
  border-top-right-radius: var(--seed-radius-r6);
@@ -100,12 +100,12 @@
100
100
  --seed-prefix-icon-color: var(--seed-color-fg-neutral);
101
101
  --seed-suffix-icon-color: var(--seed-color-fg-neutral);
102
102
  }
103
- @media (hover: hover) {
103
+ @media (hover: hover) and (pointer: fine) {
104
104
  .seed-callout__root--tone_neutral:is(button, a):is(:hover, [data-hover]) {
105
105
  background-color: var(--seed-color-bg-neutral-weak-pressed);
106
106
  }
107
107
  }
108
- @media (hover: none) {
108
+ @media not all and (hover: hover) and (pointer: fine) {
109
109
  .seed-callout__root--tone_neutral:is(button, a):is(:active, [data-active]) {
110
110
  background-color: var(--seed-color-bg-neutral-weak-pressed);
111
111
  }
@@ -124,12 +124,12 @@
124
124
  --seed-prefix-icon-color: var(--seed-color-fg-informative-contrast);
125
125
  --seed-suffix-icon-color: var(--seed-color-fg-informative-contrast);
126
126
  }
127
- @media (hover: hover) {
127
+ @media (hover: hover) and (pointer: fine) {
128
128
  .seed-callout__root--tone_informative:is(button, a):is(:hover, [data-hover]) {
129
129
  background-color: var(--seed-color-bg-informative-weak-pressed);
130
130
  }
131
131
  }
132
- @media (hover: none) {
132
+ @media not all and (hover: hover) and (pointer: fine) {
133
133
  .seed-callout__root--tone_informative:is(button, a):is(:active, [data-active]) {
134
134
  background-color: var(--seed-color-bg-informative-weak-pressed);
135
135
  }
@@ -148,12 +148,12 @@
148
148
  --seed-prefix-icon-color: var(--seed-color-fg-positive-contrast);
149
149
  --seed-suffix-icon-color: var(--seed-color-fg-positive-contrast);
150
150
  }
151
- @media (hover: hover) {
151
+ @media (hover: hover) and (pointer: fine) {
152
152
  .seed-callout__root--tone_positive:is(button, a):is(:hover, [data-hover]) {
153
153
  background-color: var(--seed-color-bg-positive-weak-pressed);
154
154
  }
155
155
  }
156
- @media (hover: none) {
156
+ @media not all and (hover: hover) and (pointer: fine) {
157
157
  .seed-callout__root--tone_positive:is(button, a):is(:active, [data-active]) {
158
158
  background-color: var(--seed-color-bg-positive-weak-pressed);
159
159
  }
@@ -172,12 +172,12 @@
172
172
  --seed-prefix-icon-color: var(--seed-color-fg-warning-contrast);
173
173
  --seed-suffix-icon-color: var(--seed-color-fg-warning-contrast);
174
174
  }
175
- @media (hover: hover) {
175
+ @media (hover: hover) and (pointer: fine) {
176
176
  .seed-callout__root--tone_warning:is(button, a):is(:hover, [data-hover]) {
177
177
  background-color: var(--seed-color-bg-warning-weak-pressed);
178
178
  }
179
179
  }
180
- @media (hover: none) {
180
+ @media not all and (hover: hover) and (pointer: fine) {
181
181
  .seed-callout__root--tone_warning:is(button, a):is(:active, [data-active]) {
182
182
  background-color: var(--seed-color-bg-warning-weak-pressed);
183
183
  }
@@ -196,12 +196,12 @@
196
196
  --seed-prefix-icon-color: var(--seed-color-fg-critical-contrast);
197
197
  --seed-suffix-icon-color: var(--seed-color-fg-critical-contrast);
198
198
  }
199
- @media (hover: hover) {
199
+ @media (hover: hover) and (pointer: fine) {
200
200
  .seed-callout__root--tone_critical:is(button, a):is(:hover, [data-hover]) {
201
201
  background-color: var(--seed-color-bg-critical-weak-pressed);
202
202
  }
203
203
  }
204
- @media (hover: none) {
204
+ @media not all and (hover: hover) and (pointer: fine) {
205
205
  .seed-callout__root--tone_critical:is(button, a):is(:active, [data-active]) {
206
206
  background-color: var(--seed-color-bg-critical-weak-pressed);
207
207
  }
@@ -220,12 +220,12 @@
220
220
  --seed-prefix-icon-color: var(--seed-color-fg-neutral);
221
221
  --seed-suffix-icon-color: var(--seed-color-fg-neutral);
222
222
  }
223
- @media (hover: hover) {
223
+ @media (hover: hover) and (pointer: fine) {
224
224
  .seed-callout__root--tone_magic:is(button, a):is(:hover, [data-hover]) {
225
225
  background-image: linear-gradient(88deg, var(--seed-gradient-glow-magic-pressed));
226
226
  }
227
227
  }
228
- @media (hover: none) {
228
+ @media not all and (hover: hover) and (pointer: fine) {
229
229
  .seed-callout__root--tone_magic:is(button, a):is(:active, [data-active]) {
230
230
  background-image: linear-gradient(88deg, var(--seed-gradient-glow-magic-pressed));
231
231
  }