@slotted/styles 0.1.0-beta.39 → 0.1.0-beta.40

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.
@@ -0,0 +1,77 @@
1
+ [
2
+ "--slotted-border-strong",
3
+ "--slotted-border-subtle",
4
+ "--slotted-border-width-thick",
5
+ "--slotted-border-width-thin",
6
+ "--slotted-clock-label-inline-size",
7
+ "--slotted-control-border-color",
8
+ "--slotted-control-font-size-md",
9
+ "--slotted-control-height-md",
10
+ "--slotted-control-height-sm",
11
+ "--slotted-control-icon-size-md",
12
+ "--slotted-control-transition-duration",
13
+ "--slotted-control-transition-easing",
14
+ "--slotted-disabled-background",
15
+ "--slotted-disabled-foreground",
16
+ "--slotted-drawer-resizer-line-color",
17
+ "--slotted-duration-medium",
18
+ "--slotted-duration-short",
19
+ "--slotted-easing-enter",
20
+ "--slotted-easing-exit",
21
+ "--slotted-focus-ring-color",
22
+ "--slotted-focus-ring-width",
23
+ "--slotted-font-family-sans",
24
+ "--slotted-font-size-lg",
25
+ "--slotted-font-size-md",
26
+ "--slotted-font-size-sm",
27
+ "--slotted-font-size-xl",
28
+ "--slotted-font-size-xs",
29
+ "--slotted-font-weight-medium",
30
+ "--slotted-font-weight-semibold",
31
+ "--slotted-highlight-tint-opacity",
32
+ "--slotted-picker-panel-backdrop-filter",
33
+ "--slotted-picker-panel-border-color",
34
+ "--slotted-picker-panel-color",
35
+ "--slotted-picker-panel-footer-size",
36
+ "--slotted-picker-panel-group-size",
37
+ "--slotted-picker-panel-head-size",
38
+ "--slotted-picker-panel-module-size",
39
+ "--slotted-picker-panel-padding",
40
+ "--slotted-picker-panel-preset-size",
41
+ "--slotted-picker-panel-radius",
42
+ "--slotted-picker-panel-rail-size",
43
+ "--slotted-picker-panel-selected-background",
44
+ "--slotted-picker-panel-shadow",
45
+ "--slotted-picker-panel-sunken-surface",
46
+ "--slotted-picker-panel-surface",
47
+ "--slotted-radius-full",
48
+ "--slotted-radius-lg",
49
+ "--slotted-radius-md",
50
+ "--slotted-radius-sm",
51
+ "--slotted-shadow-lg",
52
+ "--slotted-space-1",
53
+ "--slotted-space-11",
54
+ "--slotted-space-2",
55
+ "--slotted-space-3",
56
+ "--slotted-space-4",
57
+ "--slotted-space-5",
58
+ "--slotted-space-9",
59
+ "--slotted-surface-raised",
60
+ "--slotted-surface-sunken",
61
+ "--slotted-target-comfortable",
62
+ "--slotted-target-min",
63
+ "--slotted-text",
64
+ "--slotted-text-muted",
65
+ "--slotted-tone-accent-border",
66
+ "--slotted-tone-accent-on-solid",
67
+ "--slotted-tone-accent-solid",
68
+ "--slotted-tone-accent-solid-active",
69
+ "--slotted-tone-accent-solid-hover",
70
+ "--slotted-tone-accent-subtle-active",
71
+ "--slotted-tone-accent-subtle-hover",
72
+ "--slotted-tone-accent-text",
73
+ "--slotted-tone-danger-text",
74
+ "--slotted-tone-secondary-subtle-active",
75
+ "--slotted-tone-secondary-subtle-hover",
76
+ "--slotted-z-index-popover"
77
+ ]
@@ -225,9 +225,10 @@
225
225
  * report yet and nothing is drawn — no box, no role, no reserved band. The
226
226
  * rule exists because the root's own `display` would otherwise win over the
227
227
  * user agent's `[hidden]`, and a family that painted through its own
228
- * withdrawal would flash exactly what the delay exists to prevent.
228
+ * withdrawal would flash exactly what the delay exists to prevent. It names
229
+ * the shape to outrank the rule that gives each shape its `display`.
229
230
  */
230
- [data-ui-progress-indicator][hidden] {
231
+ [data-ui-progress-indicator][data-part-root][data-shape][hidden] {
231
232
  display: none;
232
233
  }
233
234
 
@@ -217,12 +217,31 @@
217
217
  */
218
218
  [data-ui-skeleton][data-part-root][data-loading]:not(:empty) {
219
219
  block-size: var(--slotted-skeleton-block-size, auto);
220
+ /* The rim stands outside the content's box and takes no room: a negative
221
+ margin of its own width gives back what the border adds, so the box
222
+ occupies exactly the place of what it covers. */
223
+ margin: calc(-1 * var(--slotted-skeleton-border-width, var(--slotted-border-width-thin, 1px)));
220
224
  /* An element child is hidden by `visibility`; a bare text node is not an
221
225
  element and can only be hidden by taking the color away. */
222
226
  color: transparent;
223
227
  inline-size: var(--slotted-skeleton-inline-size, auto);
224
228
  }
225
229
 
230
+ /**
231
+ * A single covered element is an item of the box, as it is an item of the
232
+ * page's own layout once the box is `display: contents`. Left inline, it
233
+ * stands on the line of the type around it and the box is as tall as that
234
+ * line.
235
+ */
236
+ [data-ui-skeleton][data-part-root][data-loading]:has(> :only-child) {
237
+ display: inline-grid;
238
+ grid-auto-flow: column;
239
+ }
240
+
241
+ [data-ui-skeleton][data-part-root][data-loading][data-shape='block']:has(> :only-child) {
242
+ display: grid;
243
+ }
244
+
226
245
  [data-ui-skeleton][data-part-root][data-loading]:not(:empty) > * {
227
246
  visibility: hidden;
228
247
  }
@@ -26,7 +26,7 @@
26
26
 
27
27
  /* Separation is a step on the scale, never a length the consumer states. */
28
28
  [data-ui-stack][data-gap='0'] {
29
- --_gap: 0;
29
+ --_gap: 0px;
30
30
  }
31
31
 
32
32
  [data-ui-stack][data-gap='1'] {