loseta 0.14.0 → 0.16.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 +2 -1
- package/dist/commands/add.js +4 -2
- package/dist/commands/add.js.map +1 -1
- package/dist/commands/list.js +7 -2
- package/dist/commands/list.js.map +1 -1
- package/package.json +1 -1
- package/registry/components/alert-dialog.css +7 -0
- package/registry/components/alert.css +2 -0
- package/registry/components/avatar.css +11 -2
- package/registry/components/button-group.css +33 -18
- package/registry/components/button.css +6 -0
- package/registry/components/checkbox.css +17 -2
- package/registry/components/command.css +7 -0
- package/registry/components/context-menu.css +8 -0
- package/registry/components/dialog.css +24 -1
- package/registry/components/drawer.css +4 -0
- package/registry/components/empty.css +2 -0
- package/registry/components/field.css +8 -3
- package/registry/components/input-group.css +12 -1
- package/registry/components/input-otp.css +6 -0
- package/registry/components/input.css +5 -0
- package/registry/components/navigation-menu.css +18 -1
- package/registry/components/radio.css +19 -4
- package/registry/components/sheet.css +10 -0
- package/registry/components/sidebar.css +68 -0
- package/registry/components/slider.css +1 -1
- package/registry/components/switch.css +14 -0
- package/registry/components/table.css +4 -4
- package/registry/components/textarea.css +6 -0
- package/registry/components/toggle-group.css +8 -0
- package/registry/components/tooltip.css +106 -78
- package/registry/examples/alert-dialog.html +133 -7
- package/registry/examples/alert.html +50 -3
- package/registry/examples/aspect-ratio.html +5 -0
- package/registry/examples/attachment.html +12 -0
- package/registry/examples/avatar.html +49 -4
- package/registry/examples/badge.html +3 -0
- package/registry/examples/bubble.html +5 -0
- package/registry/examples/button-group.html +140 -12
- package/registry/examples/button.html +60 -15
- package/registry/examples/checkbox.html +107 -4
- package/registry/examples/code-block.html +5 -0
- package/registry/examples/combobox.html +13 -0
- package/registry/examples/command.html +322 -1
- package/registry/examples/context-menu.html +170 -1
- package/registry/examples/dialog.html +166 -5
- package/registry/examples/drawer.html +198 -10
- package/registry/examples/dropdown-menu.html +259 -2
- package/registry/examples/empty.html +107 -1
- package/registry/examples/field.html +232 -0
- package/registry/examples/input-group.html +101 -5
- package/registry/examples/input-otp.html +74 -2
- package/registry/examples/input.html +75 -4
- package/registry/examples/item.html +12 -0
- package/registry/examples/marker.html +6 -0
- package/registry/examples/menubar.html +338 -9
- package/registry/examples/message-scroller.html +1 -1
- package/registry/examples/message.html +16 -0
- package/registry/examples/navigation-menu.html +166 -17
- package/registry/examples/popover.html +153 -6
- package/registry/examples/progress.html +66 -3
- package/registry/examples/questionnaire.html +33 -0
- package/registry/examples/radio.html +121 -9
- package/registry/examples/resizable.html +11 -0
- package/registry/examples/scroll-area.html +9 -0
- package/registry/examples/separator.html +3 -0
- package/registry/examples/sheet.html +205 -7
- package/registry/examples/sidebar.html +377 -1
- package/registry/examples/slider.html +52 -5
- package/registry/examples/spinner.html +3 -0
- package/registry/examples/switch.html +68 -0
- package/registry/examples/table.html +192 -8
- package/registry/examples/textarea.html +33 -3
- package/registry/examples/toggle-group.html +72 -12
- package/registry/examples/toggle.html +34 -7
- package/registry/examples/tooltip.html +99 -2
- package/registry/examples/trace.html +13 -1
- package/registry/primitives/menu.css +10 -0
- package/registry/primitives/popover.css +38 -6
- package/registry/registry.json +417 -39
- package/registry/styles/luma/accordion.css +1 -1
- package/registry/styles/luma/alert-dialog.css +8 -0
- package/registry/styles/luma/alert.css +1 -17
- package/registry/styles/luma/attachment.css +176 -0
- package/registry/styles/luma/avatar.css +44 -1
- package/registry/styles/luma/bubble.css +147 -0
- package/registry/styles/luma/button-group.css +5 -17
- package/registry/styles/luma/button.css +8 -8
- package/registry/styles/luma/checkbox.css +6 -0
- package/registry/styles/luma/collapsible.css +1 -1
- package/registry/styles/luma/command.css +6 -0
- package/registry/styles/luma/drawer.css +8 -0
- package/registry/styles/luma/empty.css +2 -4
- package/registry/styles/luma/field.css +1 -1
- package/registry/styles/luma/input-group.css +14 -2
- package/registry/styles/luma/input-otp.css +8 -0
- package/registry/styles/luma/input.css +5 -0
- package/registry/styles/luma/kbd.css +1 -1
- package/registry/styles/luma/label.css +4 -0
- package/registry/styles/luma/marker.css +35 -0
- package/registry/styles/luma/menubar.css +1 -1
- package/registry/styles/luma/message-scroller.css +47 -0
- package/registry/styles/luma/message.css +39 -0
- package/registry/styles/luma/navigation-menu.css +11 -0
- package/registry/styles/luma/primitives/menu.css +8 -4
- package/registry/styles/luma/progress.css +26 -1
- package/registry/styles/luma/questionnaire.css +141 -0
- package/registry/styles/luma/radio.css +3 -1
- package/registry/styles/luma/sheet.css +20 -0
- package/registry/styles/luma/sidebar.css +114 -1
- package/registry/styles/luma/switch.css +39 -10
- package/registry/styles/luma/table.css +6 -2
- package/registry/styles/luma/textarea.css +5 -0
- package/registry/styles/luma/toggle-group.css +11 -0
- package/registry/styles/luma/trace.css +85 -0
- package/registry/styles/lyra/accordion.css +1 -1
- package/registry/styles/lyra/alert-dialog.css +8 -0
- package/registry/styles/lyra/alert.css +1 -17
- package/registry/styles/lyra/attachment.css +176 -0
- package/registry/styles/lyra/avatar.css +44 -1
- package/registry/styles/lyra/bubble.css +147 -0
- package/registry/styles/lyra/button-group.css +5 -17
- package/registry/styles/lyra/button.css +8 -8
- package/registry/styles/lyra/checkbox.css +6 -0
- package/registry/styles/lyra/collapsible.css +1 -1
- package/registry/styles/lyra/command.css +6 -0
- package/registry/styles/lyra/drawer.css +8 -0
- package/registry/styles/lyra/empty.css +2 -4
- package/registry/styles/lyra/field.css +1 -1
- package/registry/styles/lyra/input-group.css +15 -3
- package/registry/styles/lyra/input-otp.css +8 -0
- package/registry/styles/lyra/input.css +5 -0
- package/registry/styles/lyra/kbd.css +1 -1
- package/registry/styles/lyra/label.css +4 -0
- package/registry/styles/lyra/marker.css +35 -0
- package/registry/styles/lyra/menubar.css +1 -1
- package/registry/styles/lyra/message-scroller.css +47 -0
- package/registry/styles/lyra/message.css +39 -0
- package/registry/styles/lyra/navigation-menu.css +11 -0
- package/registry/styles/lyra/primitives/menu.css +8 -4
- package/registry/styles/lyra/progress.css +26 -1
- package/registry/styles/lyra/questionnaire.css +141 -0
- package/registry/styles/lyra/radio.css +3 -1
- package/registry/styles/lyra/sheet.css +20 -0
- package/registry/styles/lyra/sidebar.css +114 -1
- package/registry/styles/lyra/switch.css +37 -8
- package/registry/styles/lyra/table.css +6 -2
- package/registry/styles/lyra/textarea.css +5 -1
- package/registry/styles/lyra/trace.css +85 -0
- package/registry/styles/maia/accordion.css +1 -1
- package/registry/styles/maia/alert-dialog.css +8 -0
- package/registry/styles/maia/alert.css +1 -17
- package/registry/styles/maia/attachment.css +176 -0
- package/registry/styles/maia/avatar.css +44 -1
- package/registry/styles/maia/bubble.css +147 -0
- package/registry/styles/maia/button-group.css +5 -17
- package/registry/styles/maia/button.css +8 -8
- package/registry/styles/maia/checkbox.css +6 -0
- package/registry/styles/maia/collapsible.css +1 -1
- package/registry/styles/maia/command.css +6 -0
- package/registry/styles/maia/drawer.css +8 -0
- package/registry/styles/maia/empty.css +2 -4
- package/registry/styles/maia/field.css +1 -1
- package/registry/styles/maia/input-group.css +14 -2
- package/registry/styles/maia/input-otp.css +8 -0
- package/registry/styles/maia/input.css +5 -0
- package/registry/styles/maia/kbd.css +1 -1
- package/registry/styles/maia/label.css +4 -0
- package/registry/styles/maia/marker.css +35 -0
- package/registry/styles/maia/menubar.css +1 -1
- package/registry/styles/maia/message-scroller.css +47 -0
- package/registry/styles/maia/message.css +39 -0
- package/registry/styles/maia/navigation-menu.css +11 -0
- package/registry/styles/maia/primitives/menu.css +8 -4
- package/registry/styles/maia/progress.css +26 -1
- package/registry/styles/maia/questionnaire.css +141 -0
- package/registry/styles/maia/radio.css +3 -1
- package/registry/styles/maia/sheet.css +20 -0
- package/registry/styles/maia/sidebar.css +114 -1
- package/registry/styles/maia/switch.css +37 -8
- package/registry/styles/maia/table.css +6 -2
- package/registry/styles/maia/textarea.css +5 -0
- package/registry/styles/maia/toggle-group.css +11 -0
- package/registry/styles/maia/trace.css +85 -0
- package/registry/styles/mira/accordion.css +1 -1
- package/registry/styles/mira/alert-dialog.css +8 -0
- package/registry/styles/mira/alert.css +1 -17
- package/registry/styles/mira/attachment.css +176 -0
- package/registry/styles/mira/avatar.css +44 -1
- package/registry/styles/mira/bubble.css +147 -0
- package/registry/styles/mira/button-group.css +5 -17
- package/registry/styles/mira/button.css +8 -8
- package/registry/styles/mira/checkbox.css +6 -0
- package/registry/styles/mira/collapsible.css +1 -1
- package/registry/styles/mira/command.css +6 -0
- package/registry/styles/mira/drawer.css +8 -0
- package/registry/styles/mira/empty.css +2 -4
- package/registry/styles/mira/field.css +1 -1
- package/registry/styles/mira/input-group.css +14 -2
- package/registry/styles/mira/input-otp.css +8 -0
- package/registry/styles/mira/input.css +7 -2
- package/registry/styles/mira/kbd.css +1 -1
- package/registry/styles/mira/label.css +4 -0
- package/registry/styles/mira/marker.css +35 -0
- package/registry/styles/mira/menubar.css +1 -1
- package/registry/styles/mira/message-scroller.css +47 -0
- package/registry/styles/mira/message.css +39 -0
- package/registry/styles/mira/navigation-menu.css +11 -0
- package/registry/styles/mira/primitives/menu.css +8 -4
- package/registry/styles/mira/progress.css +26 -1
- package/registry/styles/mira/questionnaire.css +141 -0
- package/registry/styles/mira/radio.css +3 -1
- package/registry/styles/mira/sheet.css +20 -0
- package/registry/styles/mira/sidebar.css +113 -0
- package/registry/styles/mira/switch.css +39 -10
- package/registry/styles/mira/table.css +7 -3
- package/registry/styles/mira/textarea.css +6 -2
- package/registry/styles/mira/toggle-group.css +11 -0
- package/registry/styles/mira/trace.css +85 -0
- package/registry/styles/nova/accordion.css +1 -1
- package/registry/styles/nova/alert-dialog.css +8 -0
- package/registry/styles/nova/alert.css +1 -17
- package/registry/styles/nova/avatar.css +44 -1
- package/registry/styles/nova/button-group.css +5 -17
- package/registry/styles/nova/button.css +8 -8
- package/registry/styles/nova/checkbox.css +6 -0
- package/registry/styles/nova/collapsible.css +1 -1
- package/registry/styles/nova/command.css +8 -0
- package/registry/styles/nova/drawer.css +8 -0
- package/registry/styles/nova/empty.css +2 -4
- package/registry/styles/nova/field.css +1 -1
- package/registry/styles/nova/input-group.css +15 -3
- package/registry/styles/nova/input-otp.css +8 -0
- package/registry/styles/nova/input.css +5 -0
- package/registry/styles/nova/kbd.css +1 -1
- package/registry/styles/nova/label.css +4 -0
- package/registry/styles/nova/menubar.css +1 -1
- package/registry/styles/nova/navigation-menu.css +11 -0
- package/registry/styles/nova/primitives/menu.css +8 -4
- package/registry/styles/nova/progress.css +26 -1
- package/registry/styles/nova/radio.css +3 -1
- package/registry/styles/nova/sheet.css +20 -0
- package/registry/styles/nova/sidebar.css +114 -1
- package/registry/styles/nova/switch.css +37 -8
- package/registry/styles/nova/table.css +6 -2
- package/registry/styles/nova/textarea.css +5 -0
- package/registry/styles/nova/toggle.css +2 -0
- package/registry/styles/rhea/accordion.css +1 -1
- package/registry/styles/rhea/alert-dialog.css +8 -0
- package/registry/styles/rhea/alert.css +1 -17
- package/registry/styles/rhea/attachment.css +176 -0
- package/registry/styles/rhea/avatar.css +44 -1
- package/registry/styles/rhea/bubble.css +147 -0
- package/registry/styles/rhea/button-group.css +5 -17
- package/registry/styles/rhea/button.css +8 -8
- package/registry/styles/rhea/checkbox.css +6 -0
- package/registry/styles/rhea/collapsible.css +1 -1
- package/registry/styles/rhea/command.css +6 -0
- package/registry/styles/rhea/drawer.css +8 -0
- package/registry/styles/rhea/empty.css +2 -4
- package/registry/styles/rhea/field.css +1 -1
- package/registry/styles/rhea/input-group.css +15 -3
- package/registry/styles/rhea/input-otp.css +8 -0
- package/registry/styles/rhea/input.css +5 -0
- package/registry/styles/rhea/kbd.css +1 -1
- package/registry/styles/rhea/label.css +4 -0
- package/registry/styles/rhea/marker.css +35 -0
- package/registry/styles/rhea/menubar.css +1 -1
- package/registry/styles/rhea/message-scroller.css +47 -0
- package/registry/styles/rhea/message.css +39 -0
- package/registry/styles/rhea/navigation-menu.css +11 -0
- package/registry/styles/rhea/primitives/menu.css +8 -4
- package/registry/styles/rhea/primitives/popover.css +1 -1
- package/registry/styles/rhea/progress.css +25 -0
- package/registry/styles/rhea/questionnaire.css +141 -0
- package/registry/styles/rhea/radio.css +3 -1
- package/registry/styles/rhea/sheet.css +20 -0
- package/registry/styles/rhea/sidebar.css +114 -1
- package/registry/styles/rhea/switch.css +39 -10
- package/registry/styles/rhea/table.css +6 -2
- package/registry/styles/rhea/textarea.css +5 -0
- package/registry/styles/rhea/toggle-group.css +11 -0
- package/registry/styles/rhea/trace.css +85 -0
- package/registry/styles/sera/accordion.css +1 -1
- package/registry/styles/sera/alert-dialog.css +8 -0
- package/registry/styles/sera/alert.css +1 -17
- package/registry/styles/sera/attachment.css +176 -0
- package/registry/styles/sera/avatar.css +44 -1
- package/registry/styles/sera/bubble.css +147 -0
- package/registry/styles/sera/button-group.css +5 -17
- package/registry/styles/sera/button.css +8 -8
- package/registry/styles/sera/checkbox.css +6 -0
- package/registry/styles/sera/collapsible.css +1 -1
- package/registry/styles/sera/command.css +6 -0
- package/registry/styles/sera/drawer.css +8 -0
- package/registry/styles/sera/empty.css +2 -4
- package/registry/styles/sera/field.css +1 -1
- package/registry/styles/sera/input-group.css +14 -2
- package/registry/styles/sera/input-otp.css +8 -0
- package/registry/styles/sera/input.css +5 -0
- package/registry/styles/sera/kbd.css +1 -1
- package/registry/styles/sera/label.css +4 -0
- package/registry/styles/sera/marker.css +35 -0
- package/registry/styles/sera/menubar.css +1 -1
- package/registry/styles/sera/message-scroller.css +47 -0
- package/registry/styles/sera/message.css +39 -0
- package/registry/styles/sera/navigation-menu.css +11 -0
- package/registry/styles/sera/primitives/menu.css +8 -4
- package/registry/styles/sera/progress.css +26 -1
- package/registry/styles/sera/questionnaire.css +147 -0
- package/registry/styles/sera/radio.css +3 -1
- package/registry/styles/sera/sheet.css +20 -0
- package/registry/styles/sera/sidebar.css +117 -0
- package/registry/styles/sera/switch.css +37 -8
- package/registry/styles/sera/table.css +6 -2
- package/registry/styles/sera/textarea.css +5 -0
- package/registry/styles/sera/toggle-group.css +10 -0
- package/registry/styles/sera/trace.css +87 -0
- package/registry/styles/vega/accordion.css +1 -1
- package/registry/styles/vega/alert-dialog.css +8 -0
- package/registry/styles/vega/alert.css +1 -17
- package/registry/styles/vega/attachment.css +176 -0
- package/registry/styles/vega/avatar.css +44 -1
- package/registry/styles/vega/bubble.css +147 -0
- package/registry/styles/vega/button-group.css +5 -17
- package/registry/styles/vega/button.css +8 -8
- package/registry/styles/vega/checkbox.css +6 -0
- package/registry/styles/vega/collapsible.css +1 -1
- package/registry/styles/vega/command.css +6 -0
- package/registry/styles/vega/drawer.css +8 -0
- package/registry/styles/vega/empty.css +2 -4
- package/registry/styles/vega/field.css +1 -1
- package/registry/styles/vega/input-group.css +14 -2
- package/registry/styles/vega/input-otp.css +8 -0
- package/registry/styles/vega/input.css +5 -0
- package/registry/styles/vega/kbd.css +1 -1
- package/registry/styles/vega/label.css +4 -0
- package/registry/styles/vega/marker.css +35 -0
- package/registry/styles/vega/menubar.css +1 -1
- package/registry/styles/vega/message-scroller.css +47 -0
- package/registry/styles/vega/message.css +39 -0
- package/registry/styles/vega/navigation-menu.css +11 -0
- package/registry/styles/vega/primitives/menu.css +8 -4
- package/registry/styles/vega/progress.css +26 -1
- package/registry/styles/vega/questionnaire.css +141 -0
- package/registry/styles/vega/radio.css +3 -1
- package/registry/styles/vega/sheet.css +20 -0
- package/registry/styles/vega/sidebar.css +114 -1
- package/registry/styles/vega/switch.css +37 -8
- package/registry/styles/vega/table.css +6 -2
- package/registry/styles/vega/textarea.css +5 -0
- package/registry/styles/vega/toggle-group.css +11 -0
- package/registry/styles/vega/trace.css +85 -0
|
@@ -1,15 +1,127 @@
|
|
|
1
1
|
<!-- Default -->
|
|
2
2
|
<div class="field" role="radiogroup" aria-label="Plan">
|
|
3
|
-
<
|
|
4
|
-
<input class="radio" type="radio" name="plan" checked>
|
|
5
|
-
Starter
|
|
3
|
+
<div class="field" data-orientation="horizontal">
|
|
4
|
+
<input class="radio" type="radio" name="demo-radio-plan" id="demo-radio-plan-starter" value="starter" checked>
|
|
5
|
+
<label class="label" for="demo-radio-plan-starter">Starter</label>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="field" data-orientation="horizontal">
|
|
8
|
+
<input class="radio" type="radio" name="demo-radio-plan" id="demo-radio-plan-pro" value="pro">
|
|
9
|
+
<label class="label" for="demo-radio-plan-pro">Pro</label>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="field" data-orientation="horizontal">
|
|
12
|
+
<input class="radio" type="radio" name="demo-radio-plan" id="demo-radio-plan-enterprise" value="enterprise">
|
|
13
|
+
<label class="label" for="demo-radio-plan-enterprise">Enterprise</label>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
<!-- With description -->
|
|
18
|
+
<div class="field" role="radiogroup" aria-label="Spacing">
|
|
19
|
+
<div class="field" data-orientation="horizontal">
|
|
20
|
+
<input class="radio" type="radio" name="demo-radio-spacing" id="demo-radio-spacing-default" value="default">
|
|
21
|
+
<section>
|
|
22
|
+
<label class="label" for="demo-radio-spacing-default">Default</label>
|
|
23
|
+
<p>Standard spacing for most use cases.</p>
|
|
24
|
+
</section>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="field" data-orientation="horizontal">
|
|
27
|
+
<input class="radio" type="radio" name="demo-radio-spacing" id="demo-radio-spacing-comfortable" value="comfortable" checked>
|
|
28
|
+
<section>
|
|
29
|
+
<label class="label" for="demo-radio-spacing-comfortable">Comfortable</label>
|
|
30
|
+
<p>More space between elements.</p>
|
|
31
|
+
</section>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="field" data-orientation="horizontal">
|
|
34
|
+
<input class="radio" type="radio" name="demo-radio-spacing" id="demo-radio-spacing-compact" value="compact">
|
|
35
|
+
<section>
|
|
36
|
+
<label class="label" for="demo-radio-spacing-compact">Compact</label>
|
|
37
|
+
<p>Minimal spacing for dense layouts.</p>
|
|
38
|
+
</section>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
|
|
42
|
+
<!-- Choice card -->
|
|
43
|
+
<div class="field" role="radiogroup" aria-label="Plan" style="max-width: 24rem">
|
|
44
|
+
<label class="label" for="demo-radio-card-plus">
|
|
45
|
+
<div class="field" data-orientation="horizontal">
|
|
46
|
+
<section>
|
|
47
|
+
<h3>Plus</h3>
|
|
48
|
+
<p>For individuals and small teams.</p>
|
|
49
|
+
</section>
|
|
50
|
+
<input class="radio" type="radio" name="demo-radio-card-plan" id="demo-radio-card-plus" value="plus" checked>
|
|
51
|
+
</div>
|
|
6
52
|
</label>
|
|
7
|
-
<label class="label">
|
|
8
|
-
<
|
|
9
|
-
|
|
53
|
+
<label class="label" for="demo-radio-card-pro">
|
|
54
|
+
<div class="field" data-orientation="horizontal">
|
|
55
|
+
<section>
|
|
56
|
+
<h3>Pro</h3>
|
|
57
|
+
<p>For growing businesses.</p>
|
|
58
|
+
</section>
|
|
59
|
+
<input class="radio" type="radio" name="demo-radio-card-plan" id="demo-radio-card-pro" value="pro">
|
|
60
|
+
</div>
|
|
10
61
|
</label>
|
|
11
|
-
<label class="label">
|
|
12
|
-
<
|
|
13
|
-
|
|
62
|
+
<label class="label" for="demo-radio-card-enterprise">
|
|
63
|
+
<div class="field" data-orientation="horizontal">
|
|
64
|
+
<section>
|
|
65
|
+
<h3>Enterprise</h3>
|
|
66
|
+
<p>For large teams and enterprises.</p>
|
|
67
|
+
</section>
|
|
68
|
+
<input class="radio" type="radio" name="demo-radio-card-plan" id="demo-radio-card-enterprise" value="enterprise">
|
|
69
|
+
</div>
|
|
14
70
|
</label>
|
|
15
71
|
</div>
|
|
72
|
+
|
|
73
|
+
<!-- Fieldset -->
|
|
74
|
+
<fieldset class="fieldset" style="max-width: 20rem">
|
|
75
|
+
<legend data-variant="label">Subscription Plan</legend>
|
|
76
|
+
<p>Yearly and lifetime plans offer significant savings.</p>
|
|
77
|
+
<div role="radiogroup" data-slot="radio-group" aria-label="Subscription plan">
|
|
78
|
+
<div class="field" data-orientation="horizontal">
|
|
79
|
+
<input class="radio" type="radio" name="demo-radio-subscription" id="demo-radio-monthly" value="monthly" checked>
|
|
80
|
+
<label class="label" for="demo-radio-monthly">Monthly ($9.99/month)</label>
|
|
81
|
+
</div>
|
|
82
|
+
<div class="field" data-orientation="horizontal">
|
|
83
|
+
<input class="radio" type="radio" name="demo-radio-subscription" id="demo-radio-yearly" value="yearly">
|
|
84
|
+
<label class="label" for="demo-radio-yearly">Yearly ($99.99/year)</label>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="field" data-orientation="horizontal">
|
|
87
|
+
<input class="radio" type="radio" name="demo-radio-subscription" id="demo-radio-lifetime" value="lifetime">
|
|
88
|
+
<label class="label" for="demo-radio-lifetime">Lifetime ($299.99)</label>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
</fieldset>
|
|
92
|
+
|
|
93
|
+
<!-- Disabled -->
|
|
94
|
+
<div class="field" role="radiogroup" aria-label="Options">
|
|
95
|
+
<div class="field" data-orientation="horizontal" aria-disabled="true">
|
|
96
|
+
<input class="radio" type="radio" name="demo-radio-disabled" id="demo-radio-disabled-1" value="option-1" disabled>
|
|
97
|
+
<label class="label" for="demo-radio-disabled-1">Disabled</label>
|
|
98
|
+
</div>
|
|
99
|
+
<div class="field" data-orientation="horizontal">
|
|
100
|
+
<input class="radio" type="radio" name="demo-radio-disabled" id="demo-radio-disabled-2" value="option-2" checked>
|
|
101
|
+
<label class="label" for="demo-radio-disabled-2">Option 2</label>
|
|
102
|
+
</div>
|
|
103
|
+
<div class="field" data-orientation="horizontal">
|
|
104
|
+
<input class="radio" type="radio" name="demo-radio-disabled" id="demo-radio-disabled-3" value="option-3">
|
|
105
|
+
<label class="label" for="demo-radio-disabled-3">Option 3</label>
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
|
|
109
|
+
<!-- Invalid -->
|
|
110
|
+
<fieldset class="fieldset" style="max-width: 20rem">
|
|
111
|
+
<legend data-variant="label">Notification Preferences</legend>
|
|
112
|
+
<p>Choose how you want to receive notifications.</p>
|
|
113
|
+
<div role="radiogroup" data-slot="radio-group" aria-label="Notification preferences">
|
|
114
|
+
<div class="field" data-orientation="horizontal" aria-invalid="true">
|
|
115
|
+
<input class="radio" type="radio" name="demo-radio-notifications" id="demo-radio-email" value="email" checked aria-invalid="true">
|
|
116
|
+
<label class="label" for="demo-radio-email">Email only</label>
|
|
117
|
+
</div>
|
|
118
|
+
<div class="field" data-orientation="horizontal" aria-invalid="true">
|
|
119
|
+
<input class="radio" type="radio" name="demo-radio-notifications" id="demo-radio-sms" value="sms" aria-invalid="true">
|
|
120
|
+
<label class="label" for="demo-radio-sms">SMS only</label>
|
|
121
|
+
</div>
|
|
122
|
+
<div class="field" data-orientation="horizontal" aria-invalid="true">
|
|
123
|
+
<input class="radio" type="radio" name="demo-radio-notifications" id="demo-radio-both" value="both" aria-invalid="true">
|
|
124
|
+
<label class="label" for="demo-radio-both">Both Email & SMS</label>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
|
+
</fieldset>
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
<!-- Default -->
|
|
2
|
+
<div class="resizable" style="height: 10rem">
|
|
3
|
+
<div class="resizable-panel">
|
|
4
|
+
<p><strong>Sidebar</strong></p>
|
|
5
|
+
</div>
|
|
6
|
+
<div data-slot="handle" role="separator" aria-orientation="vertical" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" tabindex="0"></div>
|
|
7
|
+
<div class="resizable-panel">
|
|
8
|
+
<p><strong>Content</strong></p>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
|
|
1
12
|
<!-- Horizontal -->
|
|
2
13
|
<div class="resizable" data-orientation="horizontal" style="height: 12rem">
|
|
3
14
|
<div class="resizable-panel">
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
<!-- Default -->
|
|
2
|
+
<div class="scroll-area" role="region" aria-label="Scrollable content" tabindex="0" style="max-height: 8rem; 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
|
+
</div>
|
|
9
|
+
|
|
1
10
|
<!-- Vertical -->
|
|
2
11
|
<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
12
|
<p>loseta copies readable CSS files into your project.</p>
|
|
@@ -1,24 +1,163 @@
|
|
|
1
|
-
<!--
|
|
1
|
+
<!-- Default -->
|
|
2
2
|
<button type="button" class="btn" data-variant="outline">
|
|
3
3
|
Open sheet
|
|
4
4
|
</button>
|
|
5
5
|
|
|
6
|
-
<dialog class="sheet" id="demo-sheet" data-side="inline-end" aria-labelledby="sheet-title" aria-describedby="sheet-description">
|
|
6
|
+
<dialog class="sheet" id="demo-sheet-default" data-side="inline-end" aria-labelledby="sheet-default-title" aria-describedby="sheet-default-description">
|
|
7
7
|
<div>
|
|
8
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>
|
|
9
|
+
<h2 data-slot="title" id="sheet-default-title">Edit profile</h2>
|
|
10
|
+
<p data-slot="description" id="sheet-default-description">Make changes to your profile here. Click save when you're done.</p>
|
|
11
11
|
</header>
|
|
12
12
|
<section>
|
|
13
|
-
<div class="
|
|
14
|
-
<
|
|
15
|
-
|
|
13
|
+
<div class="fieldset">
|
|
14
|
+
<div class="field">
|
|
15
|
+
<label class="label" for="sheet-default-name">Name</label>
|
|
16
|
+
<input class="input" id="sheet-default-name" value="Ada Lovelace">
|
|
17
|
+
</div>
|
|
18
|
+
<div class="field">
|
|
19
|
+
<label class="label" for="sheet-default-username">Username</label>
|
|
20
|
+
<input class="input" id="sheet-default-username" value="@ada">
|
|
21
|
+
</div>
|
|
16
22
|
</div>
|
|
17
23
|
</section>
|
|
18
24
|
<footer>
|
|
19
25
|
<button type="button" class="btn" data-variant="outline">Cancel</button>
|
|
20
26
|
<button type="button" class="btn">Save changes</button>
|
|
21
27
|
</footer>
|
|
28
|
+
<form method="dialog">
|
|
29
|
+
<button class="btn" data-variant="ghost" data-size="icon-sm" aria-label="Close"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg></button>
|
|
30
|
+
</form>
|
|
31
|
+
</div>
|
|
32
|
+
</dialog>
|
|
33
|
+
|
|
34
|
+
<!-- Sides -->
|
|
35
|
+
<div style="display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem">
|
|
36
|
+
<button type="button" class="btn" data-variant="outline" data-size="sm">Top</button>
|
|
37
|
+
<button type="button" class="btn" data-variant="outline" data-size="sm">Right</button>
|
|
38
|
+
<button type="button" class="btn" data-variant="outline" data-size="sm">Bottom</button>
|
|
39
|
+
<button type="button" class="btn" data-variant="outline" data-size="sm">Left</button>
|
|
40
|
+
</div>
|
|
41
|
+
|
|
42
|
+
<dialog class="sheet" id="demo-sheet-side-top" data-side="block-start" aria-labelledby="sheet-side-top-title">
|
|
43
|
+
<div>
|
|
44
|
+
<header>
|
|
45
|
+
<h2 data-slot="title" id="sheet-side-top-title">Top sheet</h2>
|
|
46
|
+
<p data-slot="description">Anchored to the block start edge.</p>
|
|
47
|
+
</header>
|
|
48
|
+
<section>
|
|
49
|
+
<p>Use a top sheet for a short announcement or a wide filter bar.</p>
|
|
50
|
+
</section>
|
|
51
|
+
<footer>
|
|
52
|
+
<button type="button" class="btn" data-variant="outline">Close</button>
|
|
53
|
+
</footer>
|
|
54
|
+
<form method="dialog">
|
|
55
|
+
<button class="btn" data-variant="ghost" data-size="icon-sm" aria-label="Close top sheet"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg></button>
|
|
56
|
+
</form>
|
|
57
|
+
</div>
|
|
58
|
+
</dialog>
|
|
59
|
+
|
|
60
|
+
<dialog class="sheet" id="demo-sheet-side-right" data-side="inline-end" aria-labelledby="sheet-side-right-title">
|
|
61
|
+
<div>
|
|
62
|
+
<header>
|
|
63
|
+
<h2 data-slot="title" id="sheet-side-right-title">Right sheet</h2>
|
|
64
|
+
<p data-slot="description">Anchored to the inline end edge.</p>
|
|
65
|
+
</header>
|
|
66
|
+
<section>
|
|
67
|
+
<p>Use a side sheet for details that complement the page.</p>
|
|
68
|
+
</section>
|
|
69
|
+
<footer>
|
|
70
|
+
<button type="button" class="btn" data-variant="outline">Close</button>
|
|
71
|
+
</footer>
|
|
72
|
+
<form method="dialog">
|
|
73
|
+
<button class="btn" data-variant="ghost" data-size="icon-sm" aria-label="Close right sheet"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg></button>
|
|
74
|
+
</form>
|
|
75
|
+
</div>
|
|
76
|
+
</dialog>
|
|
77
|
+
|
|
78
|
+
<dialog class="sheet" id="demo-sheet-side-bottom" data-side="block-end" aria-labelledby="sheet-side-bottom-title">
|
|
79
|
+
<div>
|
|
80
|
+
<header>
|
|
81
|
+
<h2 data-slot="title" id="sheet-side-bottom-title">Bottom sheet</h2>
|
|
82
|
+
<p data-slot="description">Anchored to the block end edge.</p>
|
|
83
|
+
</header>
|
|
84
|
+
<section>
|
|
85
|
+
<p>Use a bottom sheet for actions that relate to the current view.</p>
|
|
86
|
+
</section>
|
|
87
|
+
<footer>
|
|
88
|
+
<button type="button" class="btn" data-variant="outline">Close</button>
|
|
89
|
+
</footer>
|
|
90
|
+
<form method="dialog">
|
|
91
|
+
<button class="btn" data-variant="ghost" data-size="icon-sm" aria-label="Close bottom sheet"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg></button>
|
|
92
|
+
</form>
|
|
93
|
+
</div>
|
|
94
|
+
</dialog>
|
|
95
|
+
|
|
96
|
+
<dialog class="sheet" id="demo-sheet-side-left" data-side="inline-start" aria-labelledby="sheet-side-left-title">
|
|
97
|
+
<div>
|
|
98
|
+
<header>
|
|
99
|
+
<h2 data-slot="title" id="sheet-side-left-title">Left sheet</h2>
|
|
100
|
+
<p data-slot="description">Anchored to the inline start edge.</p>
|
|
101
|
+
</header>
|
|
102
|
+
<section>
|
|
103
|
+
<p>Use a left sheet for navigation or secondary controls.</p>
|
|
104
|
+
</section>
|
|
105
|
+
<footer>
|
|
106
|
+
<button type="button" class="btn" data-variant="outline">Close</button>
|
|
107
|
+
</footer>
|
|
108
|
+
<form method="dialog">
|
|
109
|
+
<button class="btn" data-variant="ghost" data-size="icon-sm" aria-label="Close left sheet"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg></button>
|
|
110
|
+
</form>
|
|
111
|
+
</div>
|
|
112
|
+
</dialog>
|
|
113
|
+
|
|
114
|
+
<!-- No close button -->
|
|
115
|
+
<button type="button" class="btn" data-variant="outline">
|
|
116
|
+
Open sheet without close
|
|
117
|
+
</button>
|
|
118
|
+
|
|
119
|
+
<dialog class="sheet" id="demo-sheet-no-close" data-side="inline-end" aria-labelledby="sheet-no-close-title" aria-describedby="sheet-no-close-description">
|
|
120
|
+
<div>
|
|
121
|
+
<header>
|
|
122
|
+
<h2 data-slot="title" id="sheet-no-close-title">No close button</h2>
|
|
123
|
+
<p data-slot="description" id="sheet-no-close-description">This sheet has no close control in the corner. Dismiss it with Escape or the footer action.</p>
|
|
124
|
+
</header>
|
|
125
|
+
<section>
|
|
126
|
+
<p>Omit the close form when the footer already provides a clear exit.</p>
|
|
127
|
+
</section>
|
|
128
|
+
<footer>
|
|
129
|
+
<button type="button" class="btn">Close</button>
|
|
130
|
+
</footer>
|
|
131
|
+
</div>
|
|
132
|
+
</dialog>
|
|
133
|
+
|
|
134
|
+
<!-- Scrollable content -->
|
|
135
|
+
<button type="button" class="btn" data-variant="outline">
|
|
136
|
+
Open scrollable sheet
|
|
137
|
+
</button>
|
|
138
|
+
|
|
139
|
+
<dialog class="sheet" id="demo-sheet-scrollable" data-side="inline-end" aria-labelledby="sheet-scrollable-title" aria-describedby="sheet-scrollable-description">
|
|
140
|
+
<div>
|
|
141
|
+
<header>
|
|
142
|
+
<h2 data-slot="title" id="sheet-scrollable-title">Scrollable content</h2>
|
|
143
|
+
<p data-slot="description" id="sheet-scrollable-description">The header and footer stay in place while the section scrolls.</p>
|
|
144
|
+
</header>
|
|
145
|
+
<section role="region" aria-label="Scrollable sheet content" tabindex="0">
|
|
146
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
|
147
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
|
148
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
|
149
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
|
150
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
|
151
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
|
152
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
|
153
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
|
154
|
+
</section>
|
|
155
|
+
<footer>
|
|
156
|
+
<button type="button" class="btn" data-variant="outline">Close</button>
|
|
157
|
+
</footer>
|
|
158
|
+
<form method="dialog">
|
|
159
|
+
<button class="btn" data-variant="ghost" data-size="icon-sm" aria-label="Close scrollable sheet"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg></button>
|
|
160
|
+
</form>
|
|
22
161
|
</div>
|
|
23
162
|
</dialog>
|
|
24
163
|
|
|
@@ -38,5 +177,64 @@
|
|
|
38
177
|
<footer>
|
|
39
178
|
<button type="button" class="btn" data-variant="outline">Close</button>
|
|
40
179
|
</footer>
|
|
180
|
+
<form method="dialog">
|
|
181
|
+
<button class="btn" data-variant="ghost" data-size="icon-sm" aria-label="Close left sheet"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg></button>
|
|
182
|
+
</form>
|
|
183
|
+
</div>
|
|
184
|
+
</dialog>
|
|
185
|
+
|
|
186
|
+
<!-- Large -->
|
|
187
|
+
<button type="button" class="btn" data-variant="outline">
|
|
188
|
+
Open large sheet
|
|
189
|
+
</button>
|
|
190
|
+
|
|
191
|
+
<dialog class="sheet" id="demo-sheet-large" data-side="inline-end" data-size="lg" aria-labelledby="sheet-large-title" aria-describedby="sheet-large-description">
|
|
192
|
+
<div>
|
|
193
|
+
<header>
|
|
194
|
+
<h2 data-slot="title" id="sheet-large-title">Filters</h2>
|
|
195
|
+
<p data-slot="description" id="sheet-large-description">Narrow the results to the records you need.</p>
|
|
196
|
+
</header>
|
|
197
|
+
<section>
|
|
198
|
+
<div class="field">
|
|
199
|
+
<label class="label" for="sheet-large-query">Search</label>
|
|
200
|
+
<input class="input" id="sheet-large-query" placeholder="Name, owner or status">
|
|
201
|
+
</div>
|
|
202
|
+
</section>
|
|
203
|
+
<footer>
|
|
204
|
+
<button type="button" class="btn" data-variant="outline">Reset</button>
|
|
205
|
+
<button type="button" class="btn">Apply</button>
|
|
206
|
+
</footer>
|
|
207
|
+
<form method="dialog">
|
|
208
|
+
<button class="btn" data-variant="ghost" data-size="icon-sm" aria-label="Close large sheet"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg></button>
|
|
209
|
+
</form>
|
|
41
210
|
</div>
|
|
42
211
|
</dialog>
|
|
212
|
+
|
|
213
|
+
<!-- Right-to-left -->
|
|
214
|
+
<div dir="rtl" lang="ar">
|
|
215
|
+
<button type="button" class="btn" data-variant="outline">
|
|
216
|
+
فتح اللوحة
|
|
217
|
+
</button>
|
|
218
|
+
|
|
219
|
+
<dialog class="sheet" id="demo-sheet-rtl" data-side="inline-end" aria-labelledby="sheet-rtl-title" aria-describedby="sheet-rtl-description">
|
|
220
|
+
<div>
|
|
221
|
+
<header>
|
|
222
|
+
<h2 data-slot="title" id="sheet-rtl-title">تعديل الملف الشخصي</h2>
|
|
223
|
+
<p data-slot="description" id="sheet-rtl-description">أجرِ تغييرات على ملفك الشخصي هنا.</p>
|
|
224
|
+
</header>
|
|
225
|
+
<section>
|
|
226
|
+
<div class="field">
|
|
227
|
+
<label class="label" for="sheet-rtl-name">الاسم</label>
|
|
228
|
+
<input class="input" id="sheet-rtl-name" value="ليلى حسن">
|
|
229
|
+
</div>
|
|
230
|
+
</section>
|
|
231
|
+
<footer>
|
|
232
|
+
<button type="button" class="btn" data-variant="outline">إلغاء</button>
|
|
233
|
+
<button type="button" class="btn">حفظ التغييرات</button>
|
|
234
|
+
</footer>
|
|
235
|
+
<form method="dialog">
|
|
236
|
+
<button class="btn" data-variant="ghost" data-size="icon-sm" aria-label="إغلاق"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg></button>
|
|
237
|
+
</form>
|
|
238
|
+
</div>
|
|
239
|
+
</dialog>
|
|
240
|
+
</div>
|