@scattered-light/loomiere-base-ui 0.2.0 → 0.4.0
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/dist/design-system/components/Accordion/README.md +1 -1
- package/dist/design-system/components/Accordion/preview.html +1 -1
- package/dist/design-system/components/AlertDialog/preview.html +1 -1
- package/dist/design-system/components/Autocomplete/preview.html +1 -1
- package/dist/design-system/components/Avatar/README.md +1 -1
- package/dist/design-system/components/Avatar/preview.html +1 -1
- package/dist/design-system/components/Button/README.md +1 -1
- package/dist/design-system/components/Button/preview.html +3 -3
- package/dist/design-system/components/Checkbox/preview.html +1 -1
- package/dist/design-system/components/CheckboxGroup/preview.html +1 -1
- package/dist/design-system/components/Collapsible/preview.html +1 -1
- package/dist/design-system/components/Combobox/preview.html +1 -1
- package/dist/design-system/components/ContextMenu/preview.html +1 -1
- package/dist/design-system/components/Dialog/README.md +1 -1
- package/dist/design-system/components/Dialog/preview.html +1 -1
- package/dist/design-system/components/Drawer/preview.html +1 -1
- package/dist/design-system/components/Field/preview.html +1 -1
- package/dist/design-system/components/Fieldset/preview.html +1 -1
- package/dist/design-system/components/Form/preview.html +1 -1
- package/dist/design-system/components/Input/preview.html +1 -1
- package/dist/design-system/components/Menu/preview.html +1 -1
- package/dist/design-system/components/Menubar/preview.html +1 -1
- package/dist/design-system/components/Meter/preview.html +1 -1
- package/dist/design-system/components/NavigationMenu/preview.html +1 -1
- package/dist/design-system/components/NumberField/preview.html +1 -1
- package/dist/design-system/components/OTPField/preview.html +1 -1
- package/dist/design-system/components/Popover/README.md +2 -2
- package/dist/design-system/components/Popover/preview.html +2 -2
- package/dist/design-system/components/PreviewCard/README.md +1 -1
- package/dist/design-system/components/PreviewCard/preview.html +1 -1
- package/dist/design-system/components/Progress/preview.html +1 -1
- package/dist/design-system/components/Radio/preview.html +1 -1
- package/dist/design-system/components/ScrollArea/preview.html +1 -1
- package/dist/design-system/components/Select/preview.html +1 -1
- package/dist/design-system/components/Separator/preview.html +1 -1
- package/dist/design-system/components/Slider/preview.html +1 -1
- package/dist/design-system/components/Switch/preview.html +1 -1
- package/dist/design-system/components/Table/README.md +50 -0
- package/dist/design-system/components/Table/preview.html +19 -0
- package/dist/design-system/components/Tabs/preview.html +1 -1
- package/dist/design-system/components/Toast/preview.html +1 -1
- package/dist/design-system/components/Toggle/README.md +1 -1
- package/dist/design-system/components/Toggle/preview.html +1 -1
- package/dist/design-system/components/ToggleGroup/preview.html +1 -1
- package/dist/design-system/components/Toolbar/preview.html +1 -1
- package/dist/design-system/components/Tooltip/preview.html +1 -1
- package/dist/design-system/components/bundle.js +5 -5
- package/dist/design-system/components/index.d.ts +2 -1
- package/dist/design-system/components/styles.css +687 -544
- package/dist/index.d.ts +2 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/styles/components/Accordion.css +12 -12
- package/dist/styles/components/AlertDialog.css +1 -1
- package/dist/styles/components/Autocomplete.css +22 -22
- package/dist/styles/components/Avatar.css +15 -42
- package/dist/styles/components/Button.css +45 -25
- package/dist/styles/components/Checkbox.css +16 -16
- package/dist/styles/components/CheckboxGroup.css +1 -1
- package/dist/styles/components/Collapsible.css +16 -16
- package/dist/styles/components/Combobox.css +62 -62
- package/dist/styles/components/ContextMenu.css +12 -12
- package/dist/styles/components/Dialog.css +12 -12
- package/dist/styles/components/Drawer.css +11 -11
- package/dist/styles/components/Field.css +16 -16
- package/dist/styles/components/Fieldset.css +11 -11
- package/dist/styles/components/Form.css +1 -1
- package/dist/styles/components/Input.css +21 -21
- package/dist/styles/components/Menu.css +12 -12
- package/dist/styles/components/Menubar.css +17 -17
- package/dist/styles/components/Meter.css +11 -11
- package/dist/styles/components/NavigationMenu.css +22 -22
- package/dist/styles/components/NumberField.css +1 -1
- package/dist/styles/components/OTPField.css +11 -11
- package/dist/styles/components/Popover.css +15 -12
- package/dist/styles/components/PreviewCard.css +12 -12
- package/dist/styles/components/Progress.css +11 -11
- package/dist/styles/components/Radio.css +16 -16
- package/dist/styles/components/ScrollArea.css +1 -1
- package/dist/styles/components/Select.css +22 -22
- package/dist/styles/components/Separator.css +1 -1
- package/dist/styles/components/Slider.css +11 -11
- package/dist/styles/components/Switch.css +22 -22
- package/dist/styles/components/Table.css +144 -0
- package/dist/styles/components/Tabs.css +31 -31
- package/dist/styles/components/Toast.css +11 -11
- package/dist/styles/components/Toggle.css +24 -22
- package/dist/styles/components/ToggleGroup.css +1 -1
- package/dist/styles/components/Toolbar.css +6 -6
- package/dist/styles/components/Tooltip.css +6 -6
- package/dist/styles/index.css +2 -1
- package/dist/styles/reset/accessibility.css +1 -1
- package/dist/styles/reset/reset-accessibility.css +1 -1
- package/dist/styles/reset/reset-tailwind.css +1 -1
- package/dist/styles/reset/reset.css +1 -1
- package/dist/styles/tailwind.css +2 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Navigation Menu - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* The strip is the bar concept, the panel is the popup concept and each link is an item
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
============================================ */
|
|
45
45
|
|
|
46
46
|
.NavigationMenuTrigger {
|
|
47
|
-
font-family: var(--sl-font-base-
|
|
48
|
-
font-size: var(--sl-font-base-
|
|
49
|
-
font-weight: var(--sl-font-base-
|
|
50
|
-
line-height: var(--sl-font-base-
|
|
51
|
-
letter-spacing: var(--sl-font-base-
|
|
47
|
+
font-family: var(--sl-font-trigger-base-font-family);
|
|
48
|
+
font-size: var(--sl-font-trigger-base-font-size);
|
|
49
|
+
font-weight: var(--sl-font-trigger-base-font-weight);
|
|
50
|
+
line-height: var(--sl-font-trigger-base-line-height);
|
|
51
|
+
letter-spacing: var(--sl-font-trigger-base-letter-spacing);
|
|
52
52
|
box-sizing: border-box;
|
|
53
53
|
display: flex;
|
|
54
54
|
align-items: center;
|
|
@@ -328,21 +328,21 @@
|
|
|
328
328
|
}
|
|
329
329
|
|
|
330
330
|
.NavigationMenuLinkTitle {
|
|
331
|
-
font-family: var(--sl-font-base-
|
|
332
|
-
font-size: var(--sl-font-base-
|
|
333
|
-
font-weight: var(--sl-font-base-
|
|
334
|
-
line-height: var(--sl-font-base-
|
|
335
|
-
letter-spacing: var(--sl-font-base-
|
|
331
|
+
font-family: var(--sl-font-trigger-base-font-family);
|
|
332
|
+
font-size: var(--sl-font-trigger-base-font-size);
|
|
333
|
+
font-weight: var(--sl-font-trigger-base-font-weight);
|
|
334
|
+
line-height: var(--sl-font-trigger-base-line-height);
|
|
335
|
+
letter-spacing: var(--sl-font-trigger-base-letter-spacing);
|
|
336
336
|
margin: 0 0 var(--sl-space-1) 0;
|
|
337
337
|
color: var(--sl-text-primary);
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
.NavigationMenuLinkDescription {
|
|
341
|
-
font-family: var(--sl-font-condense-font-family);
|
|
342
|
-
font-size: var(--sl-font-condense-font-size);
|
|
343
|
-
font-weight: var(--sl-font-condense-font-weight);
|
|
344
|
-
line-height: var(--sl-font-condense-line-height);
|
|
345
|
-
letter-spacing: var(--sl-font-condense-letter-spacing);
|
|
341
|
+
font-family: var(--sl-font-body-condense-font-family);
|
|
342
|
+
font-size: var(--sl-font-body-condense-font-size);
|
|
343
|
+
font-weight: var(--sl-font-body-condense-font-weight);
|
|
344
|
+
line-height: var(--sl-font-body-condense-line-height);
|
|
345
|
+
letter-spacing: var(--sl-font-body-condense-letter-spacing);
|
|
346
346
|
margin: 0;
|
|
347
347
|
color: var(--sl-text-secondary);
|
|
348
348
|
}
|
|
@@ -358,12 +358,12 @@
|
|
|
358
358
|
}
|
|
359
359
|
|
|
360
360
|
.NavigationMenuSectionHeading {
|
|
361
|
-
font-family: var(--sl-font-condense-
|
|
362
|
-
font-size: var(--sl-font-condense-
|
|
363
|
-
font-weight: var(--sl-font-condense-
|
|
364
|
-
line-height: var(--sl-font-condense-
|
|
365
|
-
letter-spacing: var(--sl-font-condense-
|
|
366
|
-
text-transform: var(--sl-font-condense-
|
|
361
|
+
font-family: var(--sl-font-eyebrow-condense-font-family);
|
|
362
|
+
font-size: var(--sl-font-eyebrow-condense-font-size);
|
|
363
|
+
font-weight: var(--sl-font-eyebrow-condense-font-weight);
|
|
364
|
+
line-height: var(--sl-font-eyebrow-condense-line-height);
|
|
365
|
+
letter-spacing: var(--sl-font-eyebrow-condense-letter-spacing);
|
|
366
|
+
text-transform: var(--sl-font-eyebrow-condense-text-transform);
|
|
367
367
|
margin: 0 0 var(--sl-space-2) 0;
|
|
368
368
|
color: var(--sl-text-secondary);
|
|
369
369
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Number Field - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens. The input is Input (Input.css) and the label, description and
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* OTP Field - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* One-time code entry: a row of single-character inputs. Each slot is the same control as Input
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.OTPFieldRoot[data-size='sm'] .OTPFieldInput {
|
|
44
|
-
font-family: var(--sl-font-condense-font-family);
|
|
45
|
-
font-size: var(--sl-font-condense-font-size);
|
|
46
|
-
font-weight: var(--sl-font-condense-font-weight);
|
|
47
|
-
line-height: var(--sl-font-condense-line-height);
|
|
48
|
-
letter-spacing: var(--sl-font-condense-letter-spacing);
|
|
44
|
+
font-family: var(--sl-font-body-condense-font-family);
|
|
45
|
+
font-size: var(--sl-font-body-condense-font-size);
|
|
46
|
+
font-weight: var(--sl-font-body-condense-font-weight);
|
|
47
|
+
line-height: var(--sl-font-body-condense-line-height);
|
|
48
|
+
letter-spacing: var(--sl-font-body-condense-letter-spacing);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.OTPFieldRoot[data-size='lg'] {
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.OTPFieldRoot[data-size='lg'] .OTPFieldInput {
|
|
57
|
-
font-family: var(--sl-font-magnify-font-family);
|
|
58
|
-
font-size: var(--sl-font-magnify-font-size);
|
|
59
|
-
font-weight: var(--sl-font-magnify-font-weight);
|
|
60
|
-
line-height: var(--sl-font-magnify-line-height);
|
|
61
|
-
letter-spacing: var(--sl-font-magnify-letter-spacing);
|
|
57
|
+
font-family: var(--sl-font-body-magnify-font-family);
|
|
58
|
+
font-size: var(--sl-font-body-magnify-font-size);
|
|
59
|
+
font-weight: var(--sl-font-body-magnify-font-weight);
|
|
60
|
+
line-height: var(--sl-font-body-magnify-line-height);
|
|
61
|
+
letter-spacing: var(--sl-font-body-magnify-letter-spacing);
|
|
62
62
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Popover - Mojave Theme */
|
|
3
3
|
|
|
4
4
|
/* ============================================
|
|
@@ -48,7 +48,8 @@
|
|
|
48
48
|
transform var(--sl-popup-animation-duration) var(--sl-popup-animation-easing);
|
|
49
49
|
position: relative;
|
|
50
50
|
min-width: var(--sl-popover-popup-min-width);
|
|
51
|
-
|
|
51
|
+
/* No fixed cap: wide content (a calendar, a form) fits; Base UI reports the room beside the trigger. */
|
|
52
|
+
max-width: var(--available-width, 100vw);
|
|
52
53
|
padding: var(--sl-popup-padding-panel);
|
|
53
54
|
}
|
|
54
55
|
|
|
@@ -63,13 +64,14 @@
|
|
|
63
64
|
============================================ */
|
|
64
65
|
|
|
65
66
|
.PopoverTitle {
|
|
66
|
-
font-family: var(--sl-font-
|
|
67
|
-
font-size: var(--sl-font-
|
|
68
|
-
font-weight: var(--sl-font-
|
|
69
|
-
line-height: var(--sl-font-
|
|
70
|
-
letter-spacing: var(--sl-font-
|
|
67
|
+
font-family: var(--sl-font-title-magnify-font-family);
|
|
68
|
+
font-size: var(--sl-font-title-magnify-font-size);
|
|
69
|
+
font-weight: var(--sl-font-title-magnify-font-weight);
|
|
70
|
+
line-height: var(--sl-font-title-magnify-line-height);
|
|
71
|
+
letter-spacing: var(--sl-font-title-magnify-letter-spacing);
|
|
71
72
|
color: var(--sl-text-primary);
|
|
72
73
|
margin: 0 0 var(--sl-space-block-xs) 0;
|
|
74
|
+
max-width: var(--sl-popover-text-max-width);
|
|
73
75
|
}
|
|
74
76
|
|
|
75
77
|
/* ============================================
|
|
@@ -77,13 +79,14 @@
|
|
|
77
79
|
============================================ */
|
|
78
80
|
|
|
79
81
|
.PopoverDescription {
|
|
80
|
-
font-family: var(--sl-font-base-font-family);
|
|
81
|
-
font-size: var(--sl-font-base-font-size);
|
|
82
|
-
font-weight: var(--sl-font-base-font-weight);
|
|
83
|
-
line-height: var(--sl-font-base-line-height);
|
|
84
|
-
letter-spacing: var(--sl-font-base-letter-spacing);
|
|
82
|
+
font-family: var(--sl-font-body-base-font-family);
|
|
83
|
+
font-size: var(--sl-font-body-base-font-size);
|
|
84
|
+
font-weight: var(--sl-font-body-base-font-weight);
|
|
85
|
+
line-height: var(--sl-font-body-base-line-height);
|
|
86
|
+
letter-spacing: var(--sl-font-body-base-letter-spacing);
|
|
85
87
|
color: var(--sl-text-secondary);
|
|
86
88
|
margin: 0;
|
|
89
|
+
max-width: var(--sl-popover-text-max-width);
|
|
87
90
|
}
|
|
88
91
|
|
|
89
92
|
/* ============================================
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Preview Card - Mojave Theme
|
|
3
3
|
*
|
|
4
|
-
* The popup concept (surface, arrow, motion) with a
|
|
4
|
+
* The popup concept (surface, arrow, motion) with a title-magnify title and condense
|
|
5
5
|
* description. Only its min and max width are its own (tokens/component/preview-card.json).
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -56,21 +56,21 @@
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.PreviewCardTitle {
|
|
59
|
-
font-family: var(--sl-font-
|
|
60
|
-
font-size: var(--sl-font-
|
|
61
|
-
font-weight: var(--sl-font-
|
|
62
|
-
line-height: var(--sl-font-
|
|
63
|
-
letter-spacing: var(--sl-font-
|
|
59
|
+
font-family: var(--sl-font-title-magnify-font-family);
|
|
60
|
+
font-size: var(--sl-font-title-magnify-font-size);
|
|
61
|
+
font-weight: var(--sl-font-title-magnify-font-weight);
|
|
62
|
+
line-height: var(--sl-font-title-magnify-line-height);
|
|
63
|
+
letter-spacing: var(--sl-font-title-magnify-letter-spacing);
|
|
64
64
|
margin: 0 0 var(--sl-space-2) 0;
|
|
65
65
|
color: var(--sl-text-primary);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.PreviewCardDescription {
|
|
69
|
-
font-family: var(--sl-font-condense-font-family);
|
|
70
|
-
font-size: var(--sl-font-condense-font-size);
|
|
71
|
-
font-weight: var(--sl-font-condense-font-weight);
|
|
72
|
-
line-height: var(--sl-font-condense-line-height);
|
|
73
|
-
letter-spacing: var(--sl-font-condense-letter-spacing);
|
|
69
|
+
font-family: var(--sl-font-body-condense-font-family);
|
|
70
|
+
font-size: var(--sl-font-body-condense-font-size);
|
|
71
|
+
font-weight: var(--sl-font-body-condense-font-weight);
|
|
72
|
+
line-height: var(--sl-font-body-condense-line-height);
|
|
73
|
+
letter-spacing: var(--sl-font-body-condense-letter-spacing);
|
|
74
74
|
margin: 0;
|
|
75
75
|
color: var(--sl-text-secondary);
|
|
76
76
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Progress - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* A gauge (tokens/semantic/gauge.json), the same bar as Meter. The fill is the solid color of
|
|
@@ -20,20 +20,20 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.ProgressLabel {
|
|
23
|
-
font-family: var(--sl-font-base-
|
|
24
|
-
font-size: var(--sl-font-base-
|
|
25
|
-
font-weight: var(--sl-font-base-
|
|
26
|
-
line-height: var(--sl-font-base-
|
|
27
|
-
letter-spacing: var(--sl-font-base-
|
|
23
|
+
font-family: var(--sl-font-label-base-font-family);
|
|
24
|
+
font-size: var(--sl-font-label-base-font-size);
|
|
25
|
+
font-weight: var(--sl-font-label-base-font-weight);
|
|
26
|
+
line-height: var(--sl-font-label-base-line-height);
|
|
27
|
+
letter-spacing: var(--sl-font-label-base-letter-spacing);
|
|
28
28
|
color: var(--sl-gauge-label-color);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.ProgressValue {
|
|
32
|
-
font-family: var(--sl-font-minimize-font-family);
|
|
33
|
-
font-size: var(--sl-font-minimize-font-size);
|
|
34
|
-
font-weight: var(--sl-font-minimize-font-weight);
|
|
35
|
-
line-height: var(--sl-font-minimize-line-height);
|
|
36
|
-
letter-spacing: var(--sl-font-minimize-letter-spacing);
|
|
32
|
+
font-family: var(--sl-font-body-minimize-font-family);
|
|
33
|
+
font-size: var(--sl-font-body-minimize-font-size);
|
|
34
|
+
font-weight: var(--sl-font-body-minimize-font-weight);
|
|
35
|
+
line-height: var(--sl-font-body-minimize-line-height);
|
|
36
|
+
letter-spacing: var(--sl-font-body-minimize-letter-spacing);
|
|
37
37
|
color: var(--sl-gauge-value-color);
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Radio - Mojave Theme
|
|
3
3
|
* Same box as Checkbox, always round. Sizes follow the label the same way, and the
|
|
4
4
|
* dot is a share of the circle (check.dot-scale).
|
|
@@ -113,27 +113,27 @@
|
|
|
113
113
|
============================================ */
|
|
114
114
|
|
|
115
115
|
.RadioLabel {
|
|
116
|
-
font-family: var(--sl-font-base-font-family);
|
|
117
|
-
font-size: var(--sl-font-base-font-size);
|
|
118
|
-
font-weight: var(--sl-font-base-font-weight);
|
|
119
|
-
line-height: var(--sl-font-base-line-height);
|
|
120
|
-
letter-spacing: var(--sl-font-base-letter-spacing);
|
|
116
|
+
font-family: var(--sl-font-body-base-font-family);
|
|
117
|
+
font-size: var(--sl-font-body-base-font-size);
|
|
118
|
+
font-weight: var(--sl-font-body-base-font-weight);
|
|
119
|
+
line-height: var(--sl-font-body-base-line-height);
|
|
120
|
+
letter-spacing: var(--sl-font-body-base-letter-spacing);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.RadioRoot[data-size='sm'] .RadioLabel {
|
|
124
|
-
font-family: var(--sl-font-condense-font-family);
|
|
125
|
-
font-size: var(--sl-font-condense-font-size);
|
|
126
|
-
font-weight: var(--sl-font-condense-font-weight);
|
|
127
|
-
line-height: var(--sl-font-condense-line-height);
|
|
128
|
-
letter-spacing: var(--sl-font-condense-letter-spacing);
|
|
124
|
+
font-family: var(--sl-font-body-condense-font-family);
|
|
125
|
+
font-size: var(--sl-font-body-condense-font-size);
|
|
126
|
+
font-weight: var(--sl-font-body-condense-font-weight);
|
|
127
|
+
line-height: var(--sl-font-body-condense-line-height);
|
|
128
|
+
letter-spacing: var(--sl-font-body-condense-letter-spacing);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
.RadioRoot[data-size='lg'] .RadioLabel {
|
|
132
|
-
font-family: var(--sl-font-magnify-font-family);
|
|
133
|
-
font-size: var(--sl-font-magnify-font-size);
|
|
134
|
-
font-weight: var(--sl-font-magnify-font-weight);
|
|
135
|
-
line-height: var(--sl-font-magnify-line-height);
|
|
136
|
-
letter-spacing: var(--sl-font-magnify-letter-spacing);
|
|
132
|
+
font-family: var(--sl-font-body-magnify-font-family);
|
|
133
|
+
font-size: var(--sl-font-body-magnify-font-size);
|
|
134
|
+
font-weight: var(--sl-font-body-magnify-font-weight);
|
|
135
|
+
line-height: var(--sl-font-body-magnify-line-height);
|
|
136
|
+
letter-spacing: var(--sl-font-body-magnify-letter-spacing);
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
.RadioRoot[data-disabled] .RadioLabel {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Scroll Area - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* The scrollbar is the content scrollbar (content.scrollbar-*): a track that stays clear until
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Select - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* The trigger is a field (the field pattern, control sizes, the base text style); the
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
border-radius: var(--sl-field-radius);
|
|
18
18
|
transition: var(--sl-field-transition);
|
|
19
19
|
outline: none;
|
|
20
|
-
font-family: var(--sl-font-base-font-family);
|
|
21
|
-
font-size: var(--sl-font-base-font-size);
|
|
22
|
-
font-weight: var(--sl-font-base-font-weight);
|
|
23
|
-
line-height: var(--sl-font-base-line-height);
|
|
24
|
-
letter-spacing: var(--sl-font-base-letter-spacing);
|
|
20
|
+
font-family: var(--sl-font-body-base-font-family);
|
|
21
|
+
font-size: var(--sl-font-body-base-font-size);
|
|
22
|
+
font-weight: var(--sl-font-body-base-font-weight);
|
|
23
|
+
line-height: var(--sl-font-body-base-line-height);
|
|
24
|
+
letter-spacing: var(--sl-font-body-base-letter-spacing);
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
27
27
|
justify-content: space-between;
|
|
@@ -152,11 +152,11 @@
|
|
|
152
152
|
user-select: none;
|
|
153
153
|
outline: none;
|
|
154
154
|
transition: var(--sl-item-transition);
|
|
155
|
-
font-family: var(--sl-font-base-font-family);
|
|
156
|
-
font-size: var(--sl-font-base-font-size);
|
|
157
|
-
font-weight: var(--sl-font-base-font-weight);
|
|
158
|
-
line-height: var(--sl-font-base-line-height);
|
|
159
|
-
letter-spacing: var(--sl-font-base-letter-spacing);
|
|
155
|
+
font-family: var(--sl-font-body-base-font-family);
|
|
156
|
+
font-size: var(--sl-font-body-base-font-size);
|
|
157
|
+
font-weight: var(--sl-font-body-base-font-weight);
|
|
158
|
+
line-height: var(--sl-font-body-base-line-height);
|
|
159
|
+
letter-spacing: var(--sl-font-body-base-letter-spacing);
|
|
160
160
|
cursor: pointer;
|
|
161
161
|
}
|
|
162
162
|
|
|
@@ -167,11 +167,11 @@
|
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
.SelectItem[data-selected] {
|
|
170
|
-
font-family: var(--sl-font-base-
|
|
171
|
-
font-size: var(--sl-font-base-
|
|
172
|
-
font-weight: var(--sl-font-base-
|
|
173
|
-
line-height: var(--sl-font-base-
|
|
174
|
-
letter-spacing: var(--sl-font-base-
|
|
170
|
+
font-family: var(--sl-font-selected-base-font-family);
|
|
171
|
+
font-size: var(--sl-font-selected-base-font-size);
|
|
172
|
+
font-weight: var(--sl-font-selected-base-font-weight);
|
|
173
|
+
line-height: var(--sl-font-selected-base-line-height);
|
|
174
|
+
letter-spacing: var(--sl-font-selected-base-letter-spacing);
|
|
175
175
|
background: var(--sl-item-background-selected);
|
|
176
176
|
color: var(--sl-item-color-selected);
|
|
177
177
|
}
|
|
@@ -213,12 +213,12 @@
|
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
.SelectGroupLabel {
|
|
216
|
-
font-family: var(--sl-font-condense-
|
|
217
|
-
font-size: var(--sl-font-condense-
|
|
218
|
-
font-weight: var(--sl-font-condense-
|
|
219
|
-
line-height: var(--sl-font-condense-
|
|
220
|
-
letter-spacing: var(--sl-font-condense-
|
|
221
|
-
text-transform: var(--sl-font-condense-
|
|
216
|
+
font-family: var(--sl-font-eyebrow-condense-font-family);
|
|
217
|
+
font-size: var(--sl-font-eyebrow-condense-font-size);
|
|
218
|
+
font-weight: var(--sl-font-eyebrow-condense-font-weight);
|
|
219
|
+
line-height: var(--sl-font-eyebrow-condense-line-height);
|
|
220
|
+
letter-spacing: var(--sl-font-eyebrow-condense-letter-spacing);
|
|
221
|
+
text-transform: var(--sl-font-eyebrow-condense-text-transform);
|
|
222
222
|
padding-block: var(--sl-popup-group-label-padding-top) var(--sl-popup-group-label-padding-bottom);
|
|
223
223
|
padding-inline: var(--sl-item-padding-inline);
|
|
224
224
|
color: var(--sl-text-secondary);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Separator - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* A hairline in the everyday divider color (border.default), one stroke thick, with a step of
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Slider - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* A slider is a gauge you can drag: the track, fill and label row are gauge.* (the same bar as
|
|
@@ -21,20 +21,20 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.SliderLabel {
|
|
24
|
-
font-family: var(--sl-font-base-
|
|
25
|
-
font-size: var(--sl-font-base-
|
|
26
|
-
font-weight: var(--sl-font-base-
|
|
27
|
-
line-height: var(--sl-font-base-
|
|
28
|
-
letter-spacing: var(--sl-font-base-
|
|
24
|
+
font-family: var(--sl-font-label-base-font-family);
|
|
25
|
+
font-size: var(--sl-font-label-base-font-size);
|
|
26
|
+
font-weight: var(--sl-font-label-base-font-weight);
|
|
27
|
+
line-height: var(--sl-font-label-base-line-height);
|
|
28
|
+
letter-spacing: var(--sl-font-label-base-letter-spacing);
|
|
29
29
|
color: var(--sl-gauge-label-color);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.SliderValue {
|
|
33
|
-
font-family: var(--sl-font-minimize-font-family);
|
|
34
|
-
font-size: var(--sl-font-minimize-font-size);
|
|
35
|
-
font-weight: var(--sl-font-minimize-font-weight);
|
|
36
|
-
line-height: var(--sl-font-minimize-line-height);
|
|
37
|
-
letter-spacing: var(--sl-font-minimize-letter-spacing);
|
|
33
|
+
font-family: var(--sl-font-body-minimize-font-family);
|
|
34
|
+
font-size: var(--sl-font-body-minimize-font-size);
|
|
35
|
+
font-weight: var(--sl-font-body-minimize-font-weight);
|
|
36
|
+
line-height: var(--sl-font-body-minimize-line-height);
|
|
37
|
+
letter-spacing: var(--sl-font-body-minimize-letter-spacing);
|
|
38
38
|
color: var(--sl-gauge-value-color);
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Switch - Mojave Theme
|
|
3
3
|
* Switch keeps its track sizes. The thumb, its travel and the ON/OFF text are
|
|
4
4
|
* worked out from them: the thumb fills the track's height inside the padding,
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
display: flex;
|
|
71
71
|
align-items: center;
|
|
72
72
|
justify-content: center;
|
|
73
|
-
font-family: var(--sl-font-condense-
|
|
74
|
-
font-size: var(--sl-font-condense-
|
|
75
|
-
font-weight: var(--sl-font-condense-
|
|
76
|
-
line-height: var(--sl-font-condense-
|
|
77
|
-
letter-spacing: var(--sl-font-condense-
|
|
78
|
-
text-transform: var(--sl-font-condense-
|
|
73
|
+
font-family: var(--sl-font-eyebrow-condense-font-family);
|
|
74
|
+
font-size: var(--sl-font-eyebrow-condense-font-size);
|
|
75
|
+
font-weight: var(--sl-font-eyebrow-condense-font-weight);
|
|
76
|
+
line-height: var(--sl-font-eyebrow-condense-line-height);
|
|
77
|
+
letter-spacing: var(--sl-font-eyebrow-condense-letter-spacing);
|
|
78
|
+
text-transform: var(--sl-font-eyebrow-condense-text-transform);
|
|
79
79
|
font-size: var(--switch-text-size);
|
|
80
80
|
line-height: 1;
|
|
81
81
|
color: var(--sl-text-secondary);
|
|
@@ -137,27 +137,27 @@
|
|
|
137
137
|
|
|
138
138
|
/* Switch labels run one step smaller than checkbox and radio labels (switch.json). */
|
|
139
139
|
.SwitchLabel {
|
|
140
|
-
font-family: var(--sl-font-base-
|
|
141
|
-
font-size: var(--sl-font-base-
|
|
142
|
-
font-weight: var(--sl-font-base-
|
|
143
|
-
line-height: var(--sl-font-base-
|
|
144
|
-
letter-spacing: var(--sl-font-base-
|
|
140
|
+
font-family: var(--sl-font-label-base-font-family);
|
|
141
|
+
font-size: var(--sl-font-label-base-font-size);
|
|
142
|
+
font-weight: var(--sl-font-label-base-font-weight);
|
|
143
|
+
line-height: var(--sl-font-label-base-line-height);
|
|
144
|
+
letter-spacing: var(--sl-font-label-base-letter-spacing);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.SwitchContainer[data-size='sm'] .SwitchLabel {
|
|
148
|
-
font-family: var(--sl-font-minimize-font-family);
|
|
149
|
-
font-size: var(--sl-font-minimize-font-size);
|
|
150
|
-
font-weight: var(--sl-font-minimize-font-weight);
|
|
151
|
-
line-height: var(--sl-font-minimize-line-height);
|
|
152
|
-
letter-spacing: var(--sl-font-minimize-letter-spacing);
|
|
148
|
+
font-family: var(--sl-font-body-minimize-font-family);
|
|
149
|
+
font-size: var(--sl-font-body-minimize-font-size);
|
|
150
|
+
font-weight: var(--sl-font-body-minimize-font-weight);
|
|
151
|
+
line-height: var(--sl-font-body-minimize-line-height);
|
|
152
|
+
letter-spacing: var(--sl-font-body-minimize-letter-spacing);
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.SwitchContainer[data-size='lg'] .SwitchLabel {
|
|
156
|
-
font-family: var(--sl-font-base-font-family);
|
|
157
|
-
font-size: var(--sl-font-base-font-size);
|
|
158
|
-
font-weight: var(--sl-font-base-font-weight);
|
|
159
|
-
line-height: var(--sl-font-base-line-height);
|
|
160
|
-
letter-spacing: var(--sl-font-base-letter-spacing);
|
|
156
|
+
font-family: var(--sl-font-body-base-font-family);
|
|
157
|
+
font-size: var(--sl-font-body-base-font-size);
|
|
158
|
+
font-weight: var(--sl-font-body-base-font-weight);
|
|
159
|
+
line-height: var(--sl-font-body-base-line-height);
|
|
160
|
+
letter-spacing: var(--sl-font-body-base-letter-spacing);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
.SwitchContainer[data-disabled] .SwitchLabel {
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.4.0 · styles for @base-ui/react 1.9.0 */
|
|
2
|
+
/* Table - Mojave Theme
|
|
3
|
+
*
|
|
4
|
+
* Base UI has no table, so this styles the native <table class="Table"> elements with the
|
|
5
|
+
* table concept (tokens/semantic/table.json), the same tokens the AG Grid themes read: a small
|
|
6
|
+
* hand-built table and a full grid look alike. Rows answer to aria-selected="true" (or
|
|
7
|
+
* data-selected) for selection; cells take data-align="end" for numbers.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
.Table {
|
|
11
|
+
font-family: var(--sl-font-body-condense-font-family);
|
|
12
|
+
font-size: var(--sl-font-body-condense-font-size);
|
|
13
|
+
font-weight: var(--sl-font-body-condense-font-weight);
|
|
14
|
+
line-height: var(--sl-font-body-condense-line-height);
|
|
15
|
+
letter-spacing: var(--sl-font-body-condense-letter-spacing);
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
width: 100%;
|
|
18
|
+
border-collapse: separate;
|
|
19
|
+
border-spacing: 0;
|
|
20
|
+
background: var(--sl-table-background);
|
|
21
|
+
color: var(--sl-table-color);
|
|
22
|
+
border: var(--sl-stroke-default) solid var(--sl-table-border-color);
|
|
23
|
+
border-radius: var(--sl-table-radius);
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
font-variant-numeric: tabular-nums;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.Table caption {
|
|
29
|
+
font-family: var(--sl-font-body-condense-font-family);
|
|
30
|
+
font-size: var(--sl-font-body-condense-font-size);
|
|
31
|
+
font-weight: var(--sl-font-body-condense-font-weight);
|
|
32
|
+
line-height: var(--sl-font-body-condense-line-height);
|
|
33
|
+
letter-spacing: var(--sl-font-body-condense-letter-spacing);
|
|
34
|
+
caption-side: bottom;
|
|
35
|
+
padding-block: var(--sl-space-2);
|
|
36
|
+
color: var(--sl-table-subtle-color);
|
|
37
|
+
text-align: start;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Header: the tray band, a little taller than the rows */
|
|
41
|
+
.Table th {
|
|
42
|
+
font-family: var(--sl-font-subtitle-condense-font-family);
|
|
43
|
+
font-size: var(--sl-font-subtitle-condense-font-size);
|
|
44
|
+
font-weight: var(--sl-font-subtitle-condense-font-weight);
|
|
45
|
+
line-height: var(--sl-font-subtitle-condense-line-height);
|
|
46
|
+
letter-spacing: var(--sl-font-subtitle-condense-letter-spacing);
|
|
47
|
+
height: var(--sl-table-header-height);
|
|
48
|
+
padding-block: 0;
|
|
49
|
+
padding-inline: var(--sl-table-cell-padding-inline);
|
|
50
|
+
background: var(--sl-table-header-background);
|
|
51
|
+
color: var(--sl-table-header-color);
|
|
52
|
+
text-align: start;
|
|
53
|
+
vertical-align: middle;
|
|
54
|
+
border-bottom: var(--sl-stroke-default) solid var(--sl-table-border-color);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* A header that sorts: aria-sort on the th */
|
|
58
|
+
.Table th[aria-sort] {
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
transition: background-color var(--sl-duration-fast) var(--sl-easing-default);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.Table th[aria-sort]:hover {
|
|
64
|
+
background: var(--sl-table-header-background-hover);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Body cells */
|
|
68
|
+
.Table td {
|
|
69
|
+
height: var(--sl-table-row-height);
|
|
70
|
+
padding-block: 0;
|
|
71
|
+
padding-inline: var(--sl-table-cell-padding-inline);
|
|
72
|
+
vertical-align: middle;
|
|
73
|
+
border-bottom: var(--sl-stroke-default) solid var(--sl-table-row-border-color);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.Table tbody tr:last-child td,
|
|
77
|
+
.Table tbody:last-child tr:last-child td {
|
|
78
|
+
border-bottom: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* A row header (th in tbody) reads like a cell, in the header's weight */
|
|
82
|
+
.Table tbody th {
|
|
83
|
+
background: transparent;
|
|
84
|
+
border-bottom: var(--sl-stroke-default) solid var(--sl-table-row-border-color);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* Numbers and amounts: right-aligned so digits line up */
|
|
88
|
+
.Table [data-align='end'] {
|
|
89
|
+
text-align: end;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.Table [data-align='center'] {
|
|
93
|
+
text-align: center;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Secondary text in a cell */
|
|
97
|
+
.Table [data-subtle] {
|
|
98
|
+
color: var(--sl-table-subtle-color);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* Hover and selection: the same tints as list items */
|
|
102
|
+
@media (hover: hover) {
|
|
103
|
+
.Table tbody tr:hover > * {
|
|
104
|
+
background: var(--sl-table-row-hover);
|
|
105
|
+
color: var(--sl-item-color-hover);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.Table tbody tr:is([aria-selected='true'], [data-selected]) > * {
|
|
110
|
+
background: var(--sl-table-row-selected);
|
|
111
|
+
color: var(--sl-item-color-selected);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Footer: totals on the tray band */
|
|
115
|
+
.Table tfoot td {
|
|
116
|
+
font-family: var(--sl-font-subtitle-condense-font-family);
|
|
117
|
+
font-size: var(--sl-font-subtitle-condense-font-size);
|
|
118
|
+
font-weight: var(--sl-font-subtitle-condense-font-weight);
|
|
119
|
+
line-height: var(--sl-font-subtitle-condense-line-height);
|
|
120
|
+
letter-spacing: var(--sl-font-subtitle-condense-letter-spacing);
|
|
121
|
+
background: var(--sl-table-header-background);
|
|
122
|
+
border-top: var(--sl-stroke-default) solid var(--sl-table-border-color);
|
|
123
|
+
border-bottom: none;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* A header that stays put while the body scrolls (the table's wrapper scrolls) */
|
|
127
|
+
.Table[data-sticky-header] thead th {
|
|
128
|
+
position: sticky;
|
|
129
|
+
top: 0;
|
|
130
|
+
z-index: var(--sl-z-index-docked);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* Empty state: one cell spanning the columns */
|
|
134
|
+
.Table td[data-empty] {
|
|
135
|
+
height: auto;
|
|
136
|
+
padding-block: var(--sl-space-10);
|
|
137
|
+
color: var(--sl-text-tertiary);
|
|
138
|
+
text-align: center;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.Table tbody tr:has(> td[data-empty]):hover > * {
|
|
142
|
+
background: transparent;
|
|
143
|
+
color: var(--sl-text-tertiary);
|
|
144
|
+
}
|