loseta 0.5.0 → 0.7.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/README.md +1 -1
- package/package.json +1 -1
- package/registry/components/collapsible.css +57 -0
- package/registry/components/context-menu.css +29 -0
- package/registry/components/drawer.css +26 -0
- package/registry/components/dropdown-menu.css +1 -84
- package/registry/components/hover-card.css +18 -0
- package/registry/components/input-group.css +45 -0
- package/registry/components/input-otp.css +20 -0
- package/registry/components/menubar.css +52 -0
- package/registry/components/navigation-menu.css +35 -0
- package/registry/components/scroll-area.css +16 -0
- package/registry/components/sheet.css +21 -0
- package/registry/components/slider.css +13 -0
- package/registry/examples/collapsible.html +22 -0
- package/registry/examples/context-menu.html +10 -0
- package/registry/examples/drawer.html +46 -0
- package/registry/examples/hover-card.html +13 -0
- package/registry/examples/input-group.html +14 -0
- package/registry/examples/input-otp.html +5 -0
- package/registry/examples/menubar.html +43 -0
- package/registry/examples/navigation-menu.html +58 -0
- package/registry/examples/scroll-area.html +25 -0
- package/registry/examples/sheet.html +42 -0
- package/registry/examples/slider.html +9 -0
- package/registry/primitives/dialog-shell.css +54 -1
- package/registry/primitives/menu.css +87 -0
- package/registry/registry.json +420 -2
- package/registry/styles/luma/dropdown-menu.css +0 -96
- package/registry/styles/luma/primitives/menu.css +104 -0
- package/registry/styles/lyra/dropdown-menu.css +0 -96
- package/registry/styles/lyra/primitives/menu.css +104 -0
- package/registry/styles/maia/dropdown-menu.css +0 -96
- package/registry/styles/maia/primitives/menu.css +104 -0
- package/registry/styles/mira/dropdown-menu.css +0 -97
- package/registry/styles/mira/primitives/menu.css +105 -0
- package/registry/styles/nova/collapsible.css +50 -0
- package/registry/styles/nova/context-menu.css +19 -0
- package/registry/styles/nova/drawer.css +60 -0
- package/registry/styles/nova/dropdown-menu.css +0 -96
- package/registry/styles/nova/hover-card.css +22 -0
- package/registry/styles/nova/input-group.css +86 -0
- package/registry/styles/nova/input-otp.css +51 -0
- package/registry/styles/nova/menubar.css +48 -0
- package/registry/styles/nova/navigation-menu.css +79 -0
- package/registry/styles/nova/primitives/menu.css +104 -0
- package/registry/styles/nova/scroll-area.css +30 -0
- package/registry/styles/nova/sheet.css +54 -0
- package/registry/styles/nova/slider.css +15 -0
- package/registry/styles/rhea/dropdown-menu.css +0 -97
- package/registry/styles/rhea/primitives/menu.css +105 -0
- package/registry/styles/sera/dropdown-menu.css +0 -96
- package/registry/styles/sera/primitives/menu.css +104 -0
- package/registry/styles/vega/dropdown-menu.css +0 -96
- package/registry/styles/vega/primitives/menu.css +104 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!-- Vertical -->
|
|
2
|
+
<div class="scroll-area" role="region" aria-label="Scrollable content" tabindex="0" style="max-height: 10rem; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 0.75rem">
|
|
3
|
+
<p>loseta copies readable CSS files into your project.</p>
|
|
4
|
+
<p>The registry validates layers, dependencies and generated examples.</p>
|
|
5
|
+
<p>Eight styles share one markup contract.</p>
|
|
6
|
+
<p>The docs site renders the same files consumers install.</p>
|
|
7
|
+
<p>Scrollbars use the reserved scrollbar tokens.</p>
|
|
8
|
+
<p>This region is focusable so keyboard users can scroll it.</p>
|
|
9
|
+
<p>No JavaScript is involved in the scrollbar styling.</p>
|
|
10
|
+
</div>
|
|
11
|
+
|
|
12
|
+
<!-- Horizontal, small -->
|
|
13
|
+
<div class="scroll-area" data-size="sm" data-orientation="horizontal" role="region" aria-label="Scrollable row" tabindex="0" style="border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 0.75rem">
|
|
14
|
+
<div style="display: flex; gap: 0.5rem; width: max-content">
|
|
15
|
+
<span class="badge">Accordion</span>
|
|
16
|
+
<span class="badge">Avatar</span>
|
|
17
|
+
<span class="badge">Breadcrumb</span>
|
|
18
|
+
<span class="badge">Context menu</span>
|
|
19
|
+
<span class="badge">Drawer</span>
|
|
20
|
+
<span class="badge">Hover card</span>
|
|
21
|
+
<span class="badge">Menubar</span>
|
|
22
|
+
<span class="badge">Navigation menu</span>
|
|
23
|
+
<span class="badge">Sheet</span>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<!-- Right -->
|
|
2
|
+
<button type="button" class="btn" data-variant="outline">
|
|
3
|
+
Open sheet
|
|
4
|
+
</button>
|
|
5
|
+
|
|
6
|
+
<dialog class="sheet" id="demo-sheet" data-side="inline-end" aria-labelledby="sheet-title" aria-describedby="sheet-description">
|
|
7
|
+
<div>
|
|
8
|
+
<header>
|
|
9
|
+
<h2 data-slot="title" id="sheet-title">Edit profile</h2>
|
|
10
|
+
<p data-slot="description" id="sheet-description">Make changes to your profile here.</p>
|
|
11
|
+
</header>
|
|
12
|
+
<section>
|
|
13
|
+
<div class="field">
|
|
14
|
+
<label class="label" for="sheet-name">Name</label>
|
|
15
|
+
<input class="input" id="sheet-name" value="Ada Lovelace">
|
|
16
|
+
</div>
|
|
17
|
+
</section>
|
|
18
|
+
<footer>
|
|
19
|
+
<button type="button" class="btn" data-variant="outline">Cancel</button>
|
|
20
|
+
<button type="button" class="btn">Save changes</button>
|
|
21
|
+
</footer>
|
|
22
|
+
</div>
|
|
23
|
+
</dialog>
|
|
24
|
+
|
|
25
|
+
<!-- Left, small -->
|
|
26
|
+
<button type="button" class="btn" data-variant="outline">
|
|
27
|
+
Open left sheet
|
|
28
|
+
</button>
|
|
29
|
+
|
|
30
|
+
<dialog class="sheet" id="demo-sheet-left" data-side="inline-start" data-size="sm" aria-labelledby="sheet-left-title">
|
|
31
|
+
<div>
|
|
32
|
+
<header>
|
|
33
|
+
<h2 data-slot="title" id="sheet-left-title">Navigation</h2>
|
|
34
|
+
</header>
|
|
35
|
+
<section>
|
|
36
|
+
<p>Use the left sheet for navigation or secondary controls.</p>
|
|
37
|
+
</section>
|
|
38
|
+
<footer>
|
|
39
|
+
<button type="button" class="btn" data-variant="outline">Close</button>
|
|
40
|
+
</footer>
|
|
41
|
+
</div>
|
|
42
|
+
</dialog>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<!-- Default -->
|
|
2
|
+
<input class="slider" type="range" min="0" max="100" value="60" aria-label="Volume">
|
|
3
|
+
|
|
4
|
+
<!-- Sizes and disabled -->
|
|
5
|
+
<div style="display: grid; gap: 0.75rem">
|
|
6
|
+
<input class="slider" data-size="sm" type="range" min="0" max="100" value="30" aria-label="Small volume">
|
|
7
|
+
<input class="slider" data-size="lg" type="range" min="0" max="100" value="70" aria-label="Large volume">
|
|
8
|
+
<input class="slider" type="range" min="0" max="100" value="50" aria-label="Disabled volume" disabled>
|
|
9
|
+
</div>
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/* Dialog shell */
|
|
2
2
|
@layer loseta.components {
|
|
3
3
|
.dialog,
|
|
4
|
-
.alert-dialog
|
|
4
|
+
.alert-dialog,
|
|
5
|
+
.sheet,
|
|
6
|
+
.drawer {
|
|
5
7
|
background-color: transparent;
|
|
6
8
|
padding: 0;
|
|
7
9
|
color: inherit;
|
|
@@ -67,5 +69,56 @@
|
|
|
67
69
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
68
70
|
transition-duration: 150ms;
|
|
69
71
|
}
|
|
72
|
+
|
|
73
|
+
&[data-side='inline-start'],
|
|
74
|
+
&[data-side='inline-end'] {
|
|
75
|
+
> * {
|
|
76
|
+
top: 0;
|
|
77
|
+
bottom: 0;
|
|
78
|
+
left: auto;
|
|
79
|
+
right: auto;
|
|
80
|
+
height: 100%;
|
|
81
|
+
max-height: none;
|
|
82
|
+
width: var(--sheet-width, 24rem);
|
|
83
|
+
max-width: 100%;
|
|
84
|
+
translate: 0 0;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&[data-side='inline-start'] > * {
|
|
89
|
+
inset-inline-start: 0;
|
|
90
|
+
inset-inline-end: auto;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&[data-side='inline-end'] > * {
|
|
94
|
+
inset-inline-end: 0;
|
|
95
|
+
inset-inline-start: auto;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&[data-side='block-start'],
|
|
99
|
+
&[data-side='block-end'] {
|
|
100
|
+
> * {
|
|
101
|
+
left: 0;
|
|
102
|
+
right: 0;
|
|
103
|
+
top: 0;
|
|
104
|
+
bottom: 0;
|
|
105
|
+
width: 100%;
|
|
106
|
+
max-width: none;
|
|
107
|
+
height: auto;
|
|
108
|
+
translate: 0 0;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&[data-side='block-start'] > * {
|
|
113
|
+
inset-block-start: 0;
|
|
114
|
+
inset-block-end: auto;
|
|
115
|
+
max-height: var(--drawer-height, 80vh);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&[data-side='block-end'] > * {
|
|
119
|
+
inset-block-end: 0;
|
|
120
|
+
inset-block-start: auto;
|
|
121
|
+
max-height: var(--drawer-height, 80vh);
|
|
122
|
+
}
|
|
70
123
|
}
|
|
71
124
|
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/* Menu primitive */
|
|
2
|
+
@layer loseta.components {
|
|
3
|
+
[role='menu'] {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
outline-style: none;
|
|
7
|
+
|
|
8
|
+
@media (forced-colors: active) {
|
|
9
|
+
outline: 2px solid transparent;
|
|
10
|
+
outline-offset: 2px;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[role='menu'] :is([role='menuitem'], [role='menuitemcheckbox'], [role='menuitemradio']) {
|
|
15
|
+
position: relative;
|
|
16
|
+
display: flex;
|
|
17
|
+
width: 100%;
|
|
18
|
+
cursor: default;
|
|
19
|
+
align-items: center;
|
|
20
|
+
white-space: normal;
|
|
21
|
+
outline-style: none;
|
|
22
|
+
-webkit-user-select: none;
|
|
23
|
+
user-select: none;
|
|
24
|
+
|
|
25
|
+
@media (forced-colors: active) {
|
|
26
|
+
outline: 2px solid transparent;
|
|
27
|
+
outline-offset: 2px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:disabled {
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
opacity: 50%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&[aria-disabled='true'] {
|
|
36
|
+
pointer-events: none;
|
|
37
|
+
opacity: 50%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&[aria-hidden='true'] {
|
|
41
|
+
display: none;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
& svg {
|
|
45
|
+
pointer-events: none;
|
|
46
|
+
flex-shrink: 0;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
[role='menu'] [role='heading'] {
|
|
51
|
+
display: flex;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
[role='menu'] [role='separator'] {
|
|
55
|
+
border-style: solid;
|
|
56
|
+
border-width: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
[role='menu'] :is([data-slot='shortcut'], kbd:last-child, .kbd:last-child) {
|
|
60
|
+
margin-inline-start: auto;
|
|
61
|
+
flex-shrink: 0;
|
|
62
|
+
text-align: end;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
[role='menu'] [data-slot='shortcut'] {
|
|
66
|
+
padding-inline-start: 2rem;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
[role='menu'] :is(kbd:last-child, .kbd:last-child):not([data-slot='shortcut']) {
|
|
70
|
+
padding-inline-start: 2rem;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[role='menu'] [data-slot='indicator'] {
|
|
74
|
+
pointer-events: none;
|
|
75
|
+
visibility: hidden;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[role='menu'] :is([role='menuitemcheckbox'], [role='menuitemradio'])[aria-checked='true'] [data-slot='indicator'] {
|
|
79
|
+
visibility: visible;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
[role='menu'] [data-rtl-flip] {
|
|
83
|
+
&:where(:dir(rtl), [dir='rtl'], [dir='rtl'] *) {
|
|
84
|
+
rotate: 180deg;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
package/registry/registry.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./schema.json",
|
|
3
3
|
"name": "loseta",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.0",
|
|
5
5
|
"styles": [
|
|
6
6
|
{
|
|
7
7
|
"name": "nova",
|
|
@@ -178,6 +178,72 @@
|
|
|
178
178
|
}
|
|
179
179
|
]
|
|
180
180
|
},
|
|
181
|
+
{
|
|
182
|
+
"name": "menu",
|
|
183
|
+
"type": "primitive",
|
|
184
|
+
"status": "stable",
|
|
185
|
+
"title": "Menu primitive",
|
|
186
|
+
"description": "Shared menu items, headings, separators, shortcuts and indicators used by menu components.",
|
|
187
|
+
"root": [
|
|
188
|
+
"[role='menu']"
|
|
189
|
+
],
|
|
190
|
+
"files": [
|
|
191
|
+
{
|
|
192
|
+
"path": "primitives/menu.css",
|
|
193
|
+
"target": "primitives/menu.css",
|
|
194
|
+
"role": "base",
|
|
195
|
+
"layer": "loseta.components"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"path": "styles/nova/primitives/menu.css",
|
|
199
|
+
"target": "styles/nova/primitives/menu.css",
|
|
200
|
+
"role": "style",
|
|
201
|
+
"layer": "loseta.style"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"path": "styles/vega/primitives/menu.css",
|
|
205
|
+
"target": "styles/vega/primitives/menu.css",
|
|
206
|
+
"role": "style",
|
|
207
|
+
"layer": "loseta.style"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"path": "styles/maia/primitives/menu.css",
|
|
211
|
+
"target": "styles/maia/primitives/menu.css",
|
|
212
|
+
"role": "style",
|
|
213
|
+
"layer": "loseta.style"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"path": "styles/lyra/primitives/menu.css",
|
|
217
|
+
"target": "styles/lyra/primitives/menu.css",
|
|
218
|
+
"role": "style",
|
|
219
|
+
"layer": "loseta.style"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"path": "styles/mira/primitives/menu.css",
|
|
223
|
+
"target": "styles/mira/primitives/menu.css",
|
|
224
|
+
"role": "style",
|
|
225
|
+
"layer": "loseta.style"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"path": "styles/luma/primitives/menu.css",
|
|
229
|
+
"target": "styles/luma/primitives/menu.css",
|
|
230
|
+
"role": "style",
|
|
231
|
+
"layer": "loseta.style"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"path": "styles/sera/primitives/menu.css",
|
|
235
|
+
"target": "styles/sera/primitives/menu.css",
|
|
236
|
+
"role": "style",
|
|
237
|
+
"layer": "loseta.style"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"path": "styles/rhea/primitives/menu.css",
|
|
241
|
+
"target": "styles/rhea/primitives/menu.css",
|
|
242
|
+
"role": "style",
|
|
243
|
+
"layer": "loseta.style"
|
|
244
|
+
}
|
|
245
|
+
]
|
|
246
|
+
},
|
|
181
247
|
{
|
|
182
248
|
"name": "popover-primitive",
|
|
183
249
|
"type": "primitive",
|
|
@@ -916,7 +982,8 @@
|
|
|
916
982
|
".dropdown-menu"
|
|
917
983
|
],
|
|
918
984
|
"registryDependencies": [
|
|
919
|
-
"popover-primitive"
|
|
985
|
+
"popover-primitive",
|
|
986
|
+
"menu"
|
|
920
987
|
],
|
|
921
988
|
"optionalDependencies": [
|
|
922
989
|
"kbd"
|
|
@@ -2394,6 +2461,357 @@
|
|
|
2394
2461
|
"examples": [
|
|
2395
2462
|
"examples/toggle-group.html"
|
|
2396
2463
|
]
|
|
2464
|
+
},
|
|
2465
|
+
{
|
|
2466
|
+
"name": "context-menu",
|
|
2467
|
+
"type": "component",
|
|
2468
|
+
"status": "experimental",
|
|
2469
|
+
"title": "Context Menu",
|
|
2470
|
+
"description": "Displays a menu at the pointer position.",
|
|
2471
|
+
"docs": "/docs/components/context-menu",
|
|
2472
|
+
"root": [
|
|
2473
|
+
".context-menu"
|
|
2474
|
+
],
|
|
2475
|
+
"registryDependencies": [
|
|
2476
|
+
"menu"
|
|
2477
|
+
],
|
|
2478
|
+
"optionalDependencies": [],
|
|
2479
|
+
"files": [
|
|
2480
|
+
{
|
|
2481
|
+
"path": "components/context-menu.css",
|
|
2482
|
+
"target": "components/context-menu.css",
|
|
2483
|
+
"role": "base",
|
|
2484
|
+
"layer": "loseta.components"
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
"path": "styles/nova/context-menu.css",
|
|
2488
|
+
"target": "styles/nova/context-menu.css",
|
|
2489
|
+
"role": "style",
|
|
2490
|
+
"layer": "loseta.style"
|
|
2491
|
+
}
|
|
2492
|
+
],
|
|
2493
|
+
"examples": [
|
|
2494
|
+
"examples/context-menu.html"
|
|
2495
|
+
]
|
|
2496
|
+
},
|
|
2497
|
+
{
|
|
2498
|
+
"name": "drawer",
|
|
2499
|
+
"type": "component",
|
|
2500
|
+
"status": "experimental",
|
|
2501
|
+
"title": "Drawer",
|
|
2502
|
+
"description": "A bottom sheet built on the dialog shell.",
|
|
2503
|
+
"docs": "/docs/components/drawer",
|
|
2504
|
+
"root": [
|
|
2505
|
+
".drawer"
|
|
2506
|
+
],
|
|
2507
|
+
"registryDependencies": [
|
|
2508
|
+
"dialog-shell"
|
|
2509
|
+
],
|
|
2510
|
+
"optionalDependencies": [
|
|
2511
|
+
"button"
|
|
2512
|
+
],
|
|
2513
|
+
"files": [
|
|
2514
|
+
{
|
|
2515
|
+
"path": "components/drawer.css",
|
|
2516
|
+
"target": "components/drawer.css",
|
|
2517
|
+
"role": "base",
|
|
2518
|
+
"layer": "loseta.components"
|
|
2519
|
+
},
|
|
2520
|
+
{
|
|
2521
|
+
"path": "styles/nova/drawer.css",
|
|
2522
|
+
"target": "styles/nova/drawer.css",
|
|
2523
|
+
"role": "style",
|
|
2524
|
+
"layer": "loseta.style"
|
|
2525
|
+
}
|
|
2526
|
+
],
|
|
2527
|
+
"examples": [
|
|
2528
|
+
"examples/drawer.html"
|
|
2529
|
+
]
|
|
2530
|
+
},
|
|
2531
|
+
{
|
|
2532
|
+
"name": "hover-card",
|
|
2533
|
+
"type": "component",
|
|
2534
|
+
"status": "experimental",
|
|
2535
|
+
"title": "Hover Card",
|
|
2536
|
+
"description": "Shows a preview of content when a trigger is hovered or focused.",
|
|
2537
|
+
"docs": "/docs/components/hover-card",
|
|
2538
|
+
"root": [
|
|
2539
|
+
".hover-card"
|
|
2540
|
+
],
|
|
2541
|
+
"registryDependencies": [
|
|
2542
|
+
"popover-primitive"
|
|
2543
|
+
],
|
|
2544
|
+
"optionalDependencies": [],
|
|
2545
|
+
"files": [
|
|
2546
|
+
{
|
|
2547
|
+
"path": "components/hover-card.css",
|
|
2548
|
+
"target": "components/hover-card.css",
|
|
2549
|
+
"role": "base",
|
|
2550
|
+
"layer": "loseta.components"
|
|
2551
|
+
},
|
|
2552
|
+
{
|
|
2553
|
+
"path": "styles/nova/hover-card.css",
|
|
2554
|
+
"target": "styles/nova/hover-card.css",
|
|
2555
|
+
"role": "style",
|
|
2556
|
+
"layer": "loseta.style"
|
|
2557
|
+
}
|
|
2558
|
+
],
|
|
2559
|
+
"examples": [
|
|
2560
|
+
"examples/hover-card.html"
|
|
2561
|
+
]
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
"name": "menubar",
|
|
2565
|
+
"type": "component",
|
|
2566
|
+
"status": "experimental",
|
|
2567
|
+
"title": "Menubar",
|
|
2568
|
+
"description": "Displays a horizontal bar of menus.",
|
|
2569
|
+
"docs": "/docs/components/menubar",
|
|
2570
|
+
"root": [
|
|
2571
|
+
".menubar"
|
|
2572
|
+
],
|
|
2573
|
+
"registryDependencies": [
|
|
2574
|
+
"menu",
|
|
2575
|
+
"popover-primitive"
|
|
2576
|
+
],
|
|
2577
|
+
"optionalDependencies": [],
|
|
2578
|
+
"files": [
|
|
2579
|
+
{
|
|
2580
|
+
"path": "components/menubar.css",
|
|
2581
|
+
"target": "components/menubar.css",
|
|
2582
|
+
"role": "base",
|
|
2583
|
+
"layer": "loseta.components"
|
|
2584
|
+
},
|
|
2585
|
+
{
|
|
2586
|
+
"path": "styles/nova/menubar.css",
|
|
2587
|
+
"target": "styles/nova/menubar.css",
|
|
2588
|
+
"role": "style",
|
|
2589
|
+
"layer": "loseta.style"
|
|
2590
|
+
}
|
|
2591
|
+
],
|
|
2592
|
+
"examples": [
|
|
2593
|
+
"examples/menubar.html"
|
|
2594
|
+
]
|
|
2595
|
+
},
|
|
2596
|
+
{
|
|
2597
|
+
"name": "navigation-menu",
|
|
2598
|
+
"type": "component",
|
|
2599
|
+
"status": "experimental",
|
|
2600
|
+
"title": "Navigation Menu",
|
|
2601
|
+
"description": "Displays site navigation with popover panels.",
|
|
2602
|
+
"docs": "/docs/components/navigation-menu",
|
|
2603
|
+
"root": [
|
|
2604
|
+
".navigation-menu"
|
|
2605
|
+
],
|
|
2606
|
+
"registryDependencies": [
|
|
2607
|
+
"popover-primitive"
|
|
2608
|
+
],
|
|
2609
|
+
"optionalDependencies": [],
|
|
2610
|
+
"files": [
|
|
2611
|
+
{
|
|
2612
|
+
"path": "components/navigation-menu.css",
|
|
2613
|
+
"target": "components/navigation-menu.css",
|
|
2614
|
+
"role": "base",
|
|
2615
|
+
"layer": "loseta.components"
|
|
2616
|
+
},
|
|
2617
|
+
{
|
|
2618
|
+
"path": "styles/nova/navigation-menu.css",
|
|
2619
|
+
"target": "styles/nova/navigation-menu.css",
|
|
2620
|
+
"role": "style",
|
|
2621
|
+
"layer": "loseta.style"
|
|
2622
|
+
}
|
|
2623
|
+
],
|
|
2624
|
+
"examples": [
|
|
2625
|
+
"examples/navigation-menu.html"
|
|
2626
|
+
]
|
|
2627
|
+
},
|
|
2628
|
+
{
|
|
2629
|
+
"name": "sheet",
|
|
2630
|
+
"type": "component",
|
|
2631
|
+
"status": "experimental",
|
|
2632
|
+
"title": "Sheet",
|
|
2633
|
+
"description": "Extends the dialog shell to the side of the screen.",
|
|
2634
|
+
"docs": "/docs/components/sheet",
|
|
2635
|
+
"root": [
|
|
2636
|
+
".sheet"
|
|
2637
|
+
],
|
|
2638
|
+
"registryDependencies": [
|
|
2639
|
+
"dialog-shell"
|
|
2640
|
+
],
|
|
2641
|
+
"optionalDependencies": [
|
|
2642
|
+
"button"
|
|
2643
|
+
],
|
|
2644
|
+
"files": [
|
|
2645
|
+
{
|
|
2646
|
+
"path": "components/sheet.css",
|
|
2647
|
+
"target": "components/sheet.css",
|
|
2648
|
+
"role": "base",
|
|
2649
|
+
"layer": "loseta.components"
|
|
2650
|
+
},
|
|
2651
|
+
{
|
|
2652
|
+
"path": "styles/nova/sheet.css",
|
|
2653
|
+
"target": "styles/nova/sheet.css",
|
|
2654
|
+
"role": "style",
|
|
2655
|
+
"layer": "loseta.style"
|
|
2656
|
+
}
|
|
2657
|
+
],
|
|
2658
|
+
"examples": [
|
|
2659
|
+
"examples/sheet.html"
|
|
2660
|
+
]
|
|
2661
|
+
},
|
|
2662
|
+
{
|
|
2663
|
+
"name": "collapsible",
|
|
2664
|
+
"type": "component",
|
|
2665
|
+
"status": "experimental",
|
|
2666
|
+
"title": "Collapsible",
|
|
2667
|
+
"description": "A native disclosure that reveals or hides content.",
|
|
2668
|
+
"docs": "/docs/components/collapsible",
|
|
2669
|
+
"root": [
|
|
2670
|
+
".collapsible"
|
|
2671
|
+
],
|
|
2672
|
+
"registryDependencies": [],
|
|
2673
|
+
"optionalDependencies": [],
|
|
2674
|
+
"files": [
|
|
2675
|
+
{
|
|
2676
|
+
"path": "components/collapsible.css",
|
|
2677
|
+
"target": "components/collapsible.css",
|
|
2678
|
+
"role": "base",
|
|
2679
|
+
"layer": "loseta.components"
|
|
2680
|
+
},
|
|
2681
|
+
{
|
|
2682
|
+
"path": "styles/nova/collapsible.css",
|
|
2683
|
+
"target": "styles/nova/collapsible.css",
|
|
2684
|
+
"role": "style",
|
|
2685
|
+
"layer": "loseta.style"
|
|
2686
|
+
}
|
|
2687
|
+
],
|
|
2688
|
+
"examples": [
|
|
2689
|
+
"examples/collapsible.html"
|
|
2690
|
+
]
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
"name": "input-group",
|
|
2694
|
+
"type": "component",
|
|
2695
|
+
"status": "experimental",
|
|
2696
|
+
"title": "Input Group",
|
|
2697
|
+
"description": "Composes inputs, textareas and addons into one control surface.",
|
|
2698
|
+
"docs": "/docs/components/input-group",
|
|
2699
|
+
"root": [
|
|
2700
|
+
".input-group"
|
|
2701
|
+
],
|
|
2702
|
+
"registryDependencies": [],
|
|
2703
|
+
"optionalDependencies": [
|
|
2704
|
+
"input",
|
|
2705
|
+
"textarea",
|
|
2706
|
+
"button"
|
|
2707
|
+
],
|
|
2708
|
+
"files": [
|
|
2709
|
+
{
|
|
2710
|
+
"path": "components/input-group.css",
|
|
2711
|
+
"target": "components/input-group.css",
|
|
2712
|
+
"role": "base",
|
|
2713
|
+
"layer": "loseta.components"
|
|
2714
|
+
},
|
|
2715
|
+
{
|
|
2716
|
+
"path": "styles/nova/input-group.css",
|
|
2717
|
+
"target": "styles/nova/input-group.css",
|
|
2718
|
+
"role": "style",
|
|
2719
|
+
"layer": "loseta.style"
|
|
2720
|
+
}
|
|
2721
|
+
],
|
|
2722
|
+
"examples": [
|
|
2723
|
+
"examples/input-group.html"
|
|
2724
|
+
]
|
|
2725
|
+
},
|
|
2726
|
+
{
|
|
2727
|
+
"name": "input-otp",
|
|
2728
|
+
"type": "component",
|
|
2729
|
+
"status": "experimental",
|
|
2730
|
+
"title": "Input OTP",
|
|
2731
|
+
"description": "A single native input for one-time codes.",
|
|
2732
|
+
"docs": "/docs/components/input-otp",
|
|
2733
|
+
"root": [
|
|
2734
|
+
".input-otp"
|
|
2735
|
+
],
|
|
2736
|
+
"registryDependencies": [],
|
|
2737
|
+
"optionalDependencies": [],
|
|
2738
|
+
"files": [
|
|
2739
|
+
{
|
|
2740
|
+
"path": "components/input-otp.css",
|
|
2741
|
+
"target": "components/input-otp.css",
|
|
2742
|
+
"role": "base",
|
|
2743
|
+
"layer": "loseta.components"
|
|
2744
|
+
},
|
|
2745
|
+
{
|
|
2746
|
+
"path": "styles/nova/input-otp.css",
|
|
2747
|
+
"target": "styles/nova/input-otp.css",
|
|
2748
|
+
"role": "style",
|
|
2749
|
+
"layer": "loseta.style"
|
|
2750
|
+
}
|
|
2751
|
+
],
|
|
2752
|
+
"examples": [
|
|
2753
|
+
"examples/input-otp.html"
|
|
2754
|
+
]
|
|
2755
|
+
},
|
|
2756
|
+
{
|
|
2757
|
+
"name": "scroll-area",
|
|
2758
|
+
"type": "component",
|
|
2759
|
+
"status": "experimental",
|
|
2760
|
+
"title": "Scroll Area",
|
|
2761
|
+
"description": "A scroll container with native styled scrollbars.",
|
|
2762
|
+
"docs": "/docs/components/scroll-area",
|
|
2763
|
+
"root": [
|
|
2764
|
+
".scroll-area"
|
|
2765
|
+
],
|
|
2766
|
+
"registryDependencies": [],
|
|
2767
|
+
"optionalDependencies": [],
|
|
2768
|
+
"files": [
|
|
2769
|
+
{
|
|
2770
|
+
"path": "components/scroll-area.css",
|
|
2771
|
+
"target": "components/scroll-area.css",
|
|
2772
|
+
"role": "base",
|
|
2773
|
+
"layer": "loseta.components"
|
|
2774
|
+
},
|
|
2775
|
+
{
|
|
2776
|
+
"path": "styles/nova/scroll-area.css",
|
|
2777
|
+
"target": "styles/nova/scroll-area.css",
|
|
2778
|
+
"role": "style",
|
|
2779
|
+
"layer": "loseta.style"
|
|
2780
|
+
}
|
|
2781
|
+
],
|
|
2782
|
+
"examples": [
|
|
2783
|
+
"examples/scroll-area.html"
|
|
2784
|
+
]
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"name": "slider",
|
|
2788
|
+
"type": "component",
|
|
2789
|
+
"status": "experimental",
|
|
2790
|
+
"title": "Slider",
|
|
2791
|
+
"description": "A native range input for selecting a value from a range.",
|
|
2792
|
+
"docs": "/docs/components/slider",
|
|
2793
|
+
"root": [
|
|
2794
|
+
".slider"
|
|
2795
|
+
],
|
|
2796
|
+
"registryDependencies": [],
|
|
2797
|
+
"optionalDependencies": [],
|
|
2798
|
+
"files": [
|
|
2799
|
+
{
|
|
2800
|
+
"path": "components/slider.css",
|
|
2801
|
+
"target": "components/slider.css",
|
|
2802
|
+
"role": "base",
|
|
2803
|
+
"layer": "loseta.components"
|
|
2804
|
+
},
|
|
2805
|
+
{
|
|
2806
|
+
"path": "styles/nova/slider.css",
|
|
2807
|
+
"target": "styles/nova/slider.css",
|
|
2808
|
+
"role": "style",
|
|
2809
|
+
"layer": "loseta.style"
|
|
2810
|
+
}
|
|
2811
|
+
],
|
|
2812
|
+
"examples": [
|
|
2813
|
+
"examples/slider.html"
|
|
2814
|
+
]
|
|
2397
2815
|
}
|
|
2398
2816
|
]
|
|
2399
2817
|
}
|