@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.
- package/package.json +5 -1
- package/src/aspect-ratio/aspect-ratio.css +15 -14
- package/src/badge/badge.css +3 -0
- package/src/calendar/calendar.css +210 -171
- package/src/calendar/calendar.tokens.json +17 -2
- package/src/clock/clock.css +246 -0
- package/src/clock/clock.tokens.json +44 -0
- package/src/date-picker/date-picker.css +5 -302
- package/src/date-picker/date-picker.tokens.json +1 -26
- package/src/date-range-picker/date-range-picker.css +4 -490
- package/src/date-range-picker/date-range-picker.tokens.json +1 -41
- package/src/datetime-picker/datetime-picker.css +23 -738
- package/src/datetime-picker/datetime-picker.tokens.json +1 -53
- package/src/datetime-range-picker/datetime-range-picker.css +6 -959
- package/src/datetime-range-picker/datetime-range-picker.tokens.json +1 -71
- package/src/grid/grid.css +3 -2
- package/src/inline/inline.css +1 -1
- package/src/picker-panel/picker-panel.css +1074 -0
- package/src/picker-panel/picker-panel.tokens.json +77 -0
- package/src/progress-indicator/progress-indicator.css +3 -2
- package/src/skeleton/skeleton.css +19 -0
- package/src/stack/stack.css +1 -1
- package/src/time-picker/time-picker.css +4 -545
- package/src/time-picker/time-picker.tokens.json +1 -41
- package/src/time-range-picker/time-range-picker.css +5 -875
- package/src/time-range-picker/time-range-picker.tokens.json +1 -70
- package/src/tree/tree.css +5 -1
|
@@ -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
|
}
|