@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
|
/* Tabs - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens. The divider, the selected line and color, hover and the disabled
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
/* Tab: a transparent line under it that turns accent when selected. */
|
|
32
32
|
.TabsTab {
|
|
33
33
|
all: unset;
|
|
34
|
-
font-family: var(--sl-font-base-font-family);
|
|
35
|
-
font-size: var(--sl-font-base-font-size);
|
|
36
|
-
font-weight: var(--sl-font-base-font-weight);
|
|
37
|
-
line-height: var(--sl-font-base-line-height);
|
|
38
|
-
letter-spacing: var(--sl-font-base-letter-spacing);
|
|
34
|
+
font-family: var(--sl-font-body-base-font-family);
|
|
35
|
+
font-size: var(--sl-font-body-base-font-size);
|
|
36
|
+
font-weight: var(--sl-font-body-base-font-weight);
|
|
37
|
+
line-height: var(--sl-font-body-base-line-height);
|
|
38
|
+
letter-spacing: var(--sl-font-body-base-letter-spacing);
|
|
39
39
|
box-sizing: border-box;
|
|
40
40
|
display: inline-flex;
|
|
41
41
|
align-items: center;
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.TabsTab[data-active] {
|
|
57
|
-
font-family: var(--sl-font-base-
|
|
58
|
-
font-size: var(--sl-font-base-
|
|
59
|
-
font-weight: var(--sl-font-base-
|
|
60
|
-
line-height: var(--sl-font-base-
|
|
61
|
-
letter-spacing: var(--sl-font-base-
|
|
57
|
+
font-family: var(--sl-font-selected-base-font-family);
|
|
58
|
+
font-size: var(--sl-font-selected-base-font-size);
|
|
59
|
+
font-weight: var(--sl-font-selected-base-font-weight);
|
|
60
|
+
line-height: var(--sl-font-selected-base-line-height);
|
|
61
|
+
letter-spacing: var(--sl-font-selected-base-letter-spacing);
|
|
62
62
|
color: var(--sl-disclosure-selected-color);
|
|
63
63
|
border-bottom-color: var(--sl-disclosure-indicator-color);
|
|
64
64
|
}
|
|
@@ -85,11 +85,11 @@
|
|
|
85
85
|
|
|
86
86
|
/* Panel */
|
|
87
87
|
.TabsPanel {
|
|
88
|
-
font-family: var(--sl-font-base-font-family);
|
|
89
|
-
font-size: var(--sl-font-base-font-size);
|
|
90
|
-
font-weight: var(--sl-font-base-font-weight);
|
|
91
|
-
line-height: var(--sl-font-base-line-height);
|
|
92
|
-
letter-spacing: var(--sl-font-base-letter-spacing);
|
|
88
|
+
font-family: var(--sl-font-body-base-font-family);
|
|
89
|
+
font-size: var(--sl-font-body-base-font-size);
|
|
90
|
+
font-weight: var(--sl-font-body-base-font-weight);
|
|
91
|
+
line-height: var(--sl-font-body-base-line-height);
|
|
92
|
+
letter-spacing: var(--sl-font-body-base-letter-spacing);
|
|
93
93
|
padding: var(--sl-space-4);
|
|
94
94
|
color: var(--sl-text-primary);
|
|
95
95
|
}
|
|
@@ -101,28 +101,28 @@
|
|
|
101
101
|
|
|
102
102
|
/* Sizes: the minimize tier for small tabs, more room for large ones. */
|
|
103
103
|
.TabsRoot[data-size='sm'] .TabsTab {
|
|
104
|
-
font-family: var(--sl-font-minimize-font-family);
|
|
105
|
-
font-size: var(--sl-font-minimize-font-size);
|
|
106
|
-
font-weight: var(--sl-font-minimize-font-weight);
|
|
107
|
-
line-height: var(--sl-font-minimize-line-height);
|
|
108
|
-
letter-spacing: var(--sl-font-minimize-letter-spacing);
|
|
104
|
+
font-family: var(--sl-font-body-minimize-font-family);
|
|
105
|
+
font-size: var(--sl-font-body-minimize-font-size);
|
|
106
|
+
font-weight: var(--sl-font-body-minimize-font-weight);
|
|
107
|
+
line-height: var(--sl-font-body-minimize-line-height);
|
|
108
|
+
letter-spacing: var(--sl-font-body-minimize-letter-spacing);
|
|
109
109
|
padding: var(--sl-space-1-5) var(--sl-space-3);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.TabsRoot[data-size='sm'] .TabsTab[data-active] {
|
|
113
|
-
font-family: var(--sl-font-minimize-
|
|
114
|
-
font-size: var(--sl-font-minimize-
|
|
115
|
-
font-weight: var(--sl-font-minimize-
|
|
116
|
-
line-height: var(--sl-font-minimize-
|
|
117
|
-
letter-spacing: var(--sl-font-minimize-
|
|
113
|
+
font-family: var(--sl-font-selected-minimize-font-family);
|
|
114
|
+
font-size: var(--sl-font-selected-minimize-font-size);
|
|
115
|
+
font-weight: var(--sl-font-selected-minimize-font-weight);
|
|
116
|
+
line-height: var(--sl-font-selected-minimize-line-height);
|
|
117
|
+
letter-spacing: var(--sl-font-selected-minimize-letter-spacing);
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
.TabsRoot[data-size='sm'] .TabsPanel {
|
|
121
|
-
font-family: var(--sl-font-minimize-font-family);
|
|
122
|
-
font-size: var(--sl-font-minimize-font-size);
|
|
123
|
-
font-weight: var(--sl-font-minimize-font-weight);
|
|
124
|
-
line-height: var(--sl-font-minimize-line-height);
|
|
125
|
-
letter-spacing: var(--sl-font-minimize-letter-spacing);
|
|
121
|
+
font-family: var(--sl-font-body-minimize-font-family);
|
|
122
|
+
font-size: var(--sl-font-body-minimize-font-size);
|
|
123
|
+
font-weight: var(--sl-font-body-minimize-font-weight);
|
|
124
|
+
line-height: var(--sl-font-body-minimize-line-height);
|
|
125
|
+
letter-spacing: var(--sl-font-body-minimize-letter-spacing);
|
|
126
126
|
padding: var(--sl-space-3);
|
|
127
127
|
}
|
|
128
128
|
|
|
@@ -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
|
/* Toast - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* A toast is a notice (tokens/semantic/notice.json) on the popup surface. A toast whose type
|
|
@@ -164,20 +164,20 @@
|
|
|
164
164
|
============================================ */
|
|
165
165
|
|
|
166
166
|
.Title {
|
|
167
|
-
font-family: var(--sl-font-
|
|
168
|
-
font-size: var(--sl-font-
|
|
169
|
-
font-weight: var(--sl-font-
|
|
170
|
-
line-height: var(--sl-font-
|
|
171
|
-
letter-spacing: var(--sl-font-
|
|
167
|
+
font-family: var(--sl-font-title-base-font-family);
|
|
168
|
+
font-size: var(--sl-font-title-base-font-size);
|
|
169
|
+
font-weight: var(--sl-font-title-base-font-weight);
|
|
170
|
+
line-height: var(--sl-font-title-base-line-height);
|
|
171
|
+
letter-spacing: var(--sl-font-title-base-letter-spacing);
|
|
172
172
|
margin: 0;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
.Description {
|
|
176
|
-
font-family: var(--sl-font-base-font-family);
|
|
177
|
-
font-size: var(--sl-font-base-font-size);
|
|
178
|
-
font-weight: var(--sl-font-base-font-weight);
|
|
179
|
-
line-height: var(--sl-font-base-line-height);
|
|
180
|
-
letter-spacing: var(--sl-font-base-letter-spacing);
|
|
176
|
+
font-family: var(--sl-font-body-base-font-family);
|
|
177
|
+
font-size: var(--sl-font-body-base-font-size);
|
|
178
|
+
font-weight: var(--sl-font-body-base-font-weight);
|
|
179
|
+
line-height: var(--sl-font-body-base-line-height);
|
|
180
|
+
letter-spacing: var(--sl-font-body-base-letter-spacing);
|
|
181
181
|
color: var(--notice-text, var(--sl-notice-description-color));
|
|
182
182
|
margin: 0;
|
|
183
183
|
margin-top: var(--sl-notice-text-gap);
|
|
@@ -1,7 +1,9 @@
|
|
|
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
|
/* Toggle - Mojave Theme
|
|
3
3
|
* A toggle is a button that stays pressed: the same heights, padding, gap and
|
|
4
|
-
* trigger text style as a button of the same size.
|
|
4
|
+
* trigger text style as a button of the same size. Pressed, it takes its emphasis level's
|
|
5
|
+
* pressed look (standard unless data-emphasis on it or its group says otherwise), so the
|
|
6
|
+
* brand's emphasis ladder decides how loud an "on" toggle is.
|
|
5
7
|
*/
|
|
6
8
|
|
|
7
9
|
/* ============================================
|
|
@@ -17,11 +19,11 @@
|
|
|
17
19
|
gap: var(--sl-gap-control);
|
|
18
20
|
height: var(--sl-control-height-md);
|
|
19
21
|
padding-inline: var(--sl-control-padding-inline);
|
|
20
|
-
font-family: var(--sl-font-base-
|
|
21
|
-
font-size: var(--sl-font-base-
|
|
22
|
-
font-weight: var(--sl-font-base-
|
|
23
|
-
line-height: var(--sl-font-base-
|
|
24
|
-
letter-spacing: var(--sl-font-base-
|
|
22
|
+
font-family: var(--sl-font-trigger-base-font-family);
|
|
23
|
+
font-size: var(--sl-font-trigger-base-font-size);
|
|
24
|
+
font-weight: var(--sl-font-trigger-base-font-weight);
|
|
25
|
+
line-height: var(--sl-font-trigger-base-line-height);
|
|
26
|
+
letter-spacing: var(--sl-font-trigger-base-letter-spacing);
|
|
25
27
|
color: var(--sl-text-primary);
|
|
26
28
|
background: var(--sl-surface-base);
|
|
27
29
|
border: var(--sl-stroke-default) solid var(--sl-border-default);
|
|
@@ -36,17 +38,17 @@
|
|
|
36
38
|
border-color: var(--sl-border-strong);
|
|
37
39
|
}
|
|
38
40
|
|
|
41
|
+
/* An outline or ghost level rests on no fill, so pressed reads from the active fill. */
|
|
39
42
|
.Toggle[data-pressed],
|
|
40
43
|
.Toggle[aria-pressed='true'] {
|
|
41
|
-
background: var(--sl-
|
|
42
|
-
color: var(--sl-
|
|
43
|
-
border-color: var(--sl-border
|
|
44
|
+
background: var(--sl-e-bg-active);
|
|
45
|
+
color: var(--sl-e-fg);
|
|
46
|
+
border-color: var(--sl-e-border);
|
|
44
47
|
}
|
|
45
48
|
|
|
46
49
|
.Toggle[data-pressed]:hover:not([data-disabled]):not(:disabled),
|
|
47
50
|
.Toggle[aria-pressed='true']:hover:not([data-disabled]):not(:disabled) {
|
|
48
|
-
|
|
49
|
-
border-color: var(--sl-interactive-hover);
|
|
51
|
+
border-color: var(--sl-e-border-hover);
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
.Toggle:focus-visible {
|
|
@@ -69,22 +71,22 @@
|
|
|
69
71
|
gap: var(--sl-gap-control-sm);
|
|
70
72
|
height: var(--sl-control-height-sm);
|
|
71
73
|
padding-inline: var(--sl-control-padding-inline-sm);
|
|
72
|
-
font-family: var(--sl-font-condense-
|
|
73
|
-
font-size: var(--sl-font-condense-
|
|
74
|
-
font-weight: var(--sl-font-condense-
|
|
75
|
-
line-height: var(--sl-font-condense-
|
|
76
|
-
letter-spacing: var(--sl-font-condense-
|
|
74
|
+
font-family: var(--sl-font-trigger-condense-font-family);
|
|
75
|
+
font-size: var(--sl-font-trigger-condense-font-size);
|
|
76
|
+
font-weight: var(--sl-font-trigger-condense-font-weight);
|
|
77
|
+
line-height: var(--sl-font-trigger-condense-line-height);
|
|
78
|
+
letter-spacing: var(--sl-font-trigger-condense-letter-spacing);
|
|
77
79
|
border-radius: var(--sl-radius-item);
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
.Toggle[data-size='lg'] {
|
|
81
83
|
height: var(--sl-control-height-lg);
|
|
82
84
|
padding-inline: var(--sl-control-padding-inline-lg);
|
|
83
|
-
font-family: var(--sl-font-magnify-
|
|
84
|
-
font-size: var(--sl-font-magnify-
|
|
85
|
-
font-weight: var(--sl-font-magnify-
|
|
86
|
-
line-height: var(--sl-font-magnify-
|
|
87
|
-
letter-spacing: var(--sl-font-magnify-
|
|
85
|
+
font-family: var(--sl-font-trigger-magnify-font-family);
|
|
86
|
+
font-size: var(--sl-font-trigger-magnify-font-size);
|
|
87
|
+
font-weight: var(--sl-font-trigger-magnify-font-weight);
|
|
88
|
+
line-height: var(--sl-font-trigger-magnify-line-height);
|
|
89
|
+
letter-spacing: var(--sl-font-trigger-magnify-letter-spacing);
|
|
88
90
|
border-radius: var(--sl-radius-surface);
|
|
89
91
|
}
|
|
90
92
|
|
|
@@ -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
|
/* Toggle Group - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens. The strip is the bar concept (tokens/semantic/bar.json); the
|
|
@@ -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
|
/* Toolbar - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* The strip is the bar concept (tokens/semantic/bar.json). Buttons, toggles, selects
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
|
|
33
33
|
/* Link: secondary text that darkens on hover. */
|
|
34
34
|
.ToolbarLink {
|
|
35
|
-
font-family: var(--sl-font-base-font-family);
|
|
36
|
-
font-size: var(--sl-font-base-font-size);
|
|
37
|
-
font-weight: var(--sl-font-base-font-weight);
|
|
38
|
-
line-height: var(--sl-font-base-line-height);
|
|
39
|
-
letter-spacing: var(--sl-font-base-letter-spacing);
|
|
35
|
+
font-family: var(--sl-font-body-base-font-family);
|
|
36
|
+
font-size: var(--sl-font-body-base-font-size);
|
|
37
|
+
font-weight: var(--sl-font-body-base-font-weight);
|
|
38
|
+
line-height: var(--sl-font-body-base-line-height);
|
|
39
|
+
letter-spacing: var(--sl-font-body-base-letter-spacing);
|
|
40
40
|
display: inline-flex;
|
|
41
41
|
align-items: center;
|
|
42
42
|
padding-inline: var(--sl-control-padding-inline-sm);
|
|
@@ -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
|
/* Tooltip - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* The inverse surface (surface.inverse, text.on-inverse-surface) with condense text, so a tooltip
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.TooltipPopup {
|
|
18
|
-
font-family: var(--sl-font-condense-font-family);
|
|
19
|
-
font-size: var(--sl-font-condense-font-size);
|
|
20
|
-
font-weight: var(--sl-font-condense-font-weight);
|
|
21
|
-
line-height: var(--sl-font-condense-line-height);
|
|
22
|
-
letter-spacing: var(--sl-font-condense-letter-spacing);
|
|
18
|
+
font-family: var(--sl-font-body-condense-font-family);
|
|
19
|
+
font-size: var(--sl-font-body-condense-font-size);
|
|
20
|
+
font-weight: var(--sl-font-body-condense-font-weight);
|
|
21
|
+
line-height: var(--sl-font-body-condense-line-height);
|
|
22
|
+
letter-spacing: var(--sl-font-body-condense-letter-spacing);
|
|
23
23
|
transform-origin: var(--transform-origin);
|
|
24
24
|
transition:
|
|
25
25
|
opacity var(--sl-popup-animation-duration) var(--sl-popup-animation-easing),
|
package/dist/styles/index.css
CHANGED
|
@@ -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
|
/* Loomiere for Base UI: component styles. Brand-free: every value is a --sl- variable from a
|
|
3
3
|
Loomiere theme. Load the theme first:
|
|
4
4
|
@import '<your theme>/tokens.css';
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
@import './components/Separator.css';
|
|
45
45
|
@import './components/Slider.css';
|
|
46
46
|
@import './components/Switch.css';
|
|
47
|
+
@import './components/Table.css';
|
|
47
48
|
@import './components/Tabs.css';
|
|
48
49
|
@import './components/Toast.css';
|
|
49
50
|
@import './components/Toggle.css';
|
|
@@ -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
|
/* Focus, invalid, contrast — requires theme tokens (after theme-accessibility.css). */
|
|
3
3
|
|
|
4
4
|
:focus-visible {
|
|
@@ -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
|
/* Accessibility — base rules (no theme color dependencies). Theme-specific focus/invalid: accessibility-theme.css */
|
|
3
3
|
|
|
4
4
|
/* Remove default focus; keyboard focus styled in accessibility-theme.css */
|
package/dist/styles/tailwind.css
CHANGED
|
@@ -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
|
/* Loomiere for Base UI: component styles for Tailwind CSS v4. Load Tailwind and the theme first:
|
|
3
3
|
@import 'tailwindcss';
|
|
4
4
|
@import '<your theme>/tokens.css';
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
@import './components/Separator.css' layer(components);
|
|
48
48
|
@import './components/Slider.css' layer(components);
|
|
49
49
|
@import './components/Switch.css' layer(components);
|
|
50
|
+
@import './components/Table.css' layer(components);
|
|
50
51
|
@import './components/Tabs.css' layer(components);
|
|
51
52
|
@import './components/Toast.css' layer(components);
|
|
52
53
|
@import './components/Toggle.css' layer(components);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scattered-light/loomiere-base-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Base UI components styled by any Loomiere theme. Brand-free: every value is a --sl- variable.",
|
|
5
5
|
"keywords": ["base-ui", "react", "components", "design-tokens", "loomiere"],
|
|
6
6
|
"repository": {
|
|
@@ -49,6 +49,6 @@
|
|
|
49
49
|
"react-dom": "^18.0.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@scattered-light/loomiere": "0.
|
|
52
|
+
"@scattered-light/loomiere": "0.4.0"
|
|
53
53
|
}
|
|
54
54
|
}
|