loseta 0.15.0 → 0.17.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/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/badge.css +4 -7
- package/registry/components/breadcrumb.css +9 -1
- package/registry/components/button-group.css +33 -18
- package/registry/components/button.css +6 -0
- package/registry/components/calendar.css +39 -0
- package/registry/components/card.css +5 -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 +106 -7
- package/registry/components/input.css +5 -0
- package/registry/components/kbd.css +8 -0
- package/registry/components/native-select.css +6 -0
- package/registry/components/navigation-menu.css +18 -1
- package/registry/components/radio.css +19 -4
- package/registry/components/select.css +3 -0
- 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 +329 -150
- 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 +40 -0
- package/registry/examples/breadcrumb.html +86 -6
- 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/calendar.html +687 -51
- package/registry/examples/card.html +190 -4
- 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 +180 -3
- package/registry/examples/input.html +75 -4
- package/registry/examples/item.html +12 -0
- package/registry/examples/kbd.html +90 -2
- package/registry/examples/marker.html +6 -0
- package/registry/examples/menubar.html +338 -9
- package/registry/examples/message.html +16 -0
- package/registry/examples/native-select.html +83 -2
- 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/select.html +199 -6
- 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 +105 -3
- package/registry/examples/trace.html +13 -1
- package/registry/primitives/menu.css +25 -3
- package/registry/primitives/popover.css +38 -6
- package/registry/registry.json +149 -38
- 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/avatar.css +44 -1
- package/registry/styles/luma/badge.css +28 -0
- package/registry/styles/luma/breadcrumb.css +2 -1
- package/registry/styles/luma/button-group.css +5 -17
- package/registry/styles/luma/button.css +8 -8
- package/registry/styles/luma/calendar.css +62 -0
- package/registry/styles/luma/card.css +9 -27
- 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 +81 -30
- 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/menubar.css +1 -1
- package/registry/styles/luma/native-select.css +9 -2
- package/registry/styles/luma/navigation-menu.css +11 -0
- package/registry/styles/luma/primitives/listbox.css +8 -0
- package/registry/styles/luma/primitives/menu.css +8 -4
- package/registry/styles/luma/progress.css +26 -1
- package/registry/styles/luma/radio.css +3 -1
- package/registry/styles/luma/select.css +7 -2
- 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/tooltip.css +29 -16
- 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/avatar.css +44 -1
- package/registry/styles/lyra/badge.css +28 -0
- package/registry/styles/lyra/breadcrumb.css +2 -1
- package/registry/styles/lyra/button-group.css +5 -17
- package/registry/styles/lyra/button.css +8 -8
- package/registry/styles/lyra/calendar.css +62 -0
- package/registry/styles/lyra/card.css +9 -27
- 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 +81 -30
- 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/menubar.css +1 -1
- package/registry/styles/lyra/native-select.css +6 -1
- package/registry/styles/lyra/navigation-menu.css +11 -0
- package/registry/styles/lyra/primitives/listbox.css +8 -0
- package/registry/styles/lyra/primitives/menu.css +8 -4
- package/registry/styles/lyra/progress.css +26 -1
- package/registry/styles/lyra/radio.css +3 -1
- package/registry/styles/lyra/select.css +6 -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/tooltip.css +29 -16
- 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/avatar.css +44 -1
- package/registry/styles/maia/badge.css +29 -0
- package/registry/styles/maia/breadcrumb.css +2 -1
- package/registry/styles/maia/button-group.css +5 -17
- package/registry/styles/maia/button.css +8 -8
- package/registry/styles/maia/calendar.css +62 -0
- package/registry/styles/maia/card.css +9 -27
- 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 +81 -30
- 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/menubar.css +1 -1
- package/registry/styles/maia/native-select.css +9 -2
- package/registry/styles/maia/navigation-menu.css +11 -0
- package/registry/styles/maia/primitives/listbox.css +8 -0
- package/registry/styles/maia/primitives/menu.css +8 -4
- package/registry/styles/maia/progress.css +26 -1
- package/registry/styles/maia/radio.css +3 -1
- package/registry/styles/maia/select.css +7 -2
- 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/tooltip.css +29 -16
- 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/avatar.css +44 -1
- package/registry/styles/mira/badge.css +32 -0
- package/registry/styles/mira/breadcrumb.css +2 -1
- package/registry/styles/mira/button-group.css +5 -17
- package/registry/styles/mira/button.css +8 -8
- package/registry/styles/mira/calendar.css +62 -0
- package/registry/styles/mira/card.css +9 -27
- 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 +81 -30
- 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/menubar.css +1 -1
- package/registry/styles/mira/native-select.css +7 -2
- package/registry/styles/mira/navigation-menu.css +11 -0
- package/registry/styles/mira/primitives/listbox.css +8 -0
- package/registry/styles/mira/primitives/menu.css +8 -4
- package/registry/styles/mira/progress.css +26 -1
- package/registry/styles/mira/radio.css +3 -1
- package/registry/styles/mira/select.css +7 -2
- 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/tooltip.css +29 -16
- 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/badge.css +28 -0
- package/registry/styles/nova/breadcrumb.css +2 -1
- package/registry/styles/nova/button-group.css +5 -17
- package/registry/styles/nova/button.css +8 -8
- package/registry/styles/nova/calendar.css +62 -0
- package/registry/styles/nova/card.css +9 -27
- 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 +81 -30
- 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/native-select.css +9 -2
- package/registry/styles/nova/navigation-menu.css +11 -0
- package/registry/styles/nova/primitives/listbox.css +8 -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/select.css +7 -2
- 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/nova/tooltip.css +29 -16
- 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/avatar.css +44 -1
- package/registry/styles/rhea/badge.css +28 -0
- package/registry/styles/rhea/breadcrumb.css +2 -1
- package/registry/styles/rhea/button-group.css +5 -17
- package/registry/styles/rhea/button.css +8 -8
- package/registry/styles/rhea/calendar.css +62 -0
- package/registry/styles/rhea/card.css +9 -27
- 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 +81 -30
- 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/menubar.css +1 -1
- package/registry/styles/rhea/native-select.css +9 -2
- package/registry/styles/rhea/navigation-menu.css +11 -0
- package/registry/styles/rhea/primitives/listbox.css +8 -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/radio.css +3 -1
- package/registry/styles/rhea/select.css +7 -2
- 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/tooltip.css +29 -16
- 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/avatar.css +44 -1
- package/registry/styles/sera/badge.css +29 -1
- package/registry/styles/sera/breadcrumb.css +2 -1
- package/registry/styles/sera/button-group.css +5 -17
- package/registry/styles/sera/button.css +8 -8
- package/registry/styles/sera/calendar.css +66 -0
- package/registry/styles/sera/card.css +9 -27
- 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 +82 -31
- 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/menubar.css +1 -1
- package/registry/styles/sera/native-select.css +9 -2
- package/registry/styles/sera/navigation-menu.css +11 -0
- package/registry/styles/sera/primitives/listbox.css +8 -0
- package/registry/styles/sera/primitives/menu.css +8 -4
- package/registry/styles/sera/progress.css +26 -1
- package/registry/styles/sera/radio.css +3 -1
- package/registry/styles/sera/select.css +7 -2
- 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/tooltip.css +29 -16
- 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/avatar.css +44 -1
- package/registry/styles/vega/badge.css +28 -0
- package/registry/styles/vega/breadcrumb.css +2 -1
- package/registry/styles/vega/button-group.css +5 -17
- package/registry/styles/vega/button.css +8 -8
- package/registry/styles/vega/calendar.css +62 -0
- package/registry/styles/vega/card.css +9 -27
- 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 +81 -30
- 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/menubar.css +1 -1
- package/registry/styles/vega/native-select.css +9 -2
- package/registry/styles/vega/navigation-menu.css +11 -0
- package/registry/styles/vega/primitives/listbox.css +8 -0
- package/registry/styles/vega/primitives/menu.css +8 -4
- package/registry/styles/vega/progress.css +26 -1
- package/registry/styles/vega/radio.css +3 -1
- package/registry/styles/vega/select.css +7 -2
- 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/tooltip.css +29 -16
|
@@ -1,15 +1,35 @@
|
|
|
1
|
-
<!--
|
|
1
|
+
<!-- Default -->
|
|
2
|
+
<button type="button" class="btn" data-variant="outline">
|
|
3
|
+
Open alert dialog
|
|
4
|
+
</button>
|
|
5
|
+
|
|
6
|
+
<dialog class="alert-dialog" id="demo-alert-dialog-default" aria-labelledby="alert-dialog-default-title" aria-describedby="alert-dialog-default-description">
|
|
7
|
+
<div>
|
|
8
|
+
<header>
|
|
9
|
+
<h2 data-slot="title" id="alert-dialog-default-title">Are you sure?</h2>
|
|
10
|
+
<p data-slot="description" id="alert-dialog-default-description">
|
|
11
|
+
This action cannot be undone.
|
|
12
|
+
</p>
|
|
13
|
+
</header>
|
|
14
|
+
<footer>
|
|
15
|
+
<button type="button" class="btn" data-variant="outline">Cancel</button>
|
|
16
|
+
<button type="button" class="btn">Continue</button>
|
|
17
|
+
</footer>
|
|
18
|
+
</div>
|
|
19
|
+
</dialog>
|
|
20
|
+
|
|
21
|
+
<!-- Destructive -->
|
|
2
22
|
<button type="button" class="btn" data-variant="destructive">
|
|
3
|
-
Delete
|
|
23
|
+
Delete chat
|
|
4
24
|
</button>
|
|
5
25
|
|
|
6
|
-
<dialog class="alert-dialog" id="demo-alert-dialog" aria-labelledby="alert-title" aria-describedby="alert-description">
|
|
26
|
+
<dialog class="alert-dialog" id="demo-alert-dialog-destructive" data-size="sm" aria-labelledby="alert-dialog-destructive-title" aria-describedby="alert-dialog-destructive-description">
|
|
7
27
|
<div>
|
|
8
28
|
<header>
|
|
9
|
-
<figure><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"><path d="
|
|
10
|
-
<h2 data-slot="title" id="alert-title">
|
|
11
|
-
<p data-slot="description" id="alert-description">
|
|
12
|
-
This
|
|
29
|
+
<figure data-variant="destructive"><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="M3 6h18"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"/><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/><line x1="10" x2="10" y1="11" y2="17"/><line x1="14" x2="14" y1="11" y2="17"/></svg></figure>
|
|
30
|
+
<h2 data-slot="title" id="alert-dialog-destructive-title">Delete chat?</h2>
|
|
31
|
+
<p data-slot="description" id="alert-dialog-destructive-description">
|
|
32
|
+
This will permanently delete this chat conversation. View <a href="#">Settings</a> to delete any memories saved during this chat.
|
|
13
33
|
</p>
|
|
14
34
|
</header>
|
|
15
35
|
<footer>
|
|
@@ -18,3 +38,109 @@
|
|
|
18
38
|
</footer>
|
|
19
39
|
</div>
|
|
20
40
|
</dialog>
|
|
41
|
+
|
|
42
|
+
<!-- Small -->
|
|
43
|
+
<button type="button" class="btn" data-variant="outline">
|
|
44
|
+
Show small alert dialog
|
|
45
|
+
</button>
|
|
46
|
+
|
|
47
|
+
<dialog class="alert-dialog" id="demo-alert-dialog-small" data-size="sm" aria-labelledby="alert-dialog-small-title" aria-describedby="alert-dialog-small-description">
|
|
48
|
+
<div>
|
|
49
|
+
<header>
|
|
50
|
+
<h2 data-slot="title" id="alert-dialog-small-title">Allow accessory to connect?</h2>
|
|
51
|
+
<p data-slot="description" id="alert-dialog-small-description">
|
|
52
|
+
Do you want to allow the USB accessory to connect to this device?
|
|
53
|
+
</p>
|
|
54
|
+
</header>
|
|
55
|
+
<footer>
|
|
56
|
+
<button type="button" class="btn" data-variant="outline">Don't allow</button>
|
|
57
|
+
<button type="button" class="btn">Allow</button>
|
|
58
|
+
</footer>
|
|
59
|
+
</div>
|
|
60
|
+
</dialog>
|
|
61
|
+
|
|
62
|
+
<!-- Media -->
|
|
63
|
+
<button type="button" class="btn" data-variant="outline">
|
|
64
|
+
Share project
|
|
65
|
+
</button>
|
|
66
|
+
|
|
67
|
+
<dialog class="alert-dialog" id="demo-alert-dialog-media" aria-labelledby="alert-dialog-media-title" aria-describedby="alert-dialog-media-description">
|
|
68
|
+
<div>
|
|
69
|
+
<header>
|
|
70
|
+
<figure><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"><circle cx="12" cy="12" r="10"/><path d="M8 12h8"/><path d="M12 8v8"/></svg></figure>
|
|
71
|
+
<h2 data-slot="title" id="alert-dialog-media-title">Share this project?</h2>
|
|
72
|
+
<p data-slot="description" id="alert-dialog-media-description">
|
|
73
|
+
Anyone with the link will be able to view and edit this project.
|
|
74
|
+
</p>
|
|
75
|
+
</header>
|
|
76
|
+
<footer>
|
|
77
|
+
<button type="button" class="btn" data-variant="outline">Cancel</button>
|
|
78
|
+
<button type="button" class="btn">Share</button>
|
|
79
|
+
</footer>
|
|
80
|
+
</div>
|
|
81
|
+
</dialog>
|
|
82
|
+
|
|
83
|
+
<!-- Small with media -->
|
|
84
|
+
<button type="button" class="btn" data-variant="outline">
|
|
85
|
+
Show small media alert
|
|
86
|
+
</button>
|
|
87
|
+
|
|
88
|
+
<dialog class="alert-dialog" id="demo-alert-dialog-small-media" data-size="sm" aria-labelledby="alert-dialog-small-media-title" aria-describedby="alert-dialog-small-media-description">
|
|
89
|
+
<div>
|
|
90
|
+
<header>
|
|
91
|
+
<figure><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="m7 7 10 10-5 5V2l5 5L7 17"/></svg></figure>
|
|
92
|
+
<h2 data-slot="title" id="alert-dialog-small-media-title">Allow accessory to connect?</h2>
|
|
93
|
+
<p data-slot="description" id="alert-dialog-small-media-description">
|
|
94
|
+
Do you want to allow the USB accessory to connect to this device?
|
|
95
|
+
</p>
|
|
96
|
+
</header>
|
|
97
|
+
<footer>
|
|
98
|
+
<button type="button" class="btn" data-variant="outline">Don't allow</button>
|
|
99
|
+
<button type="button" class="btn">Allow</button>
|
|
100
|
+
</footer>
|
|
101
|
+
</div>
|
|
102
|
+
</dialog>
|
|
103
|
+
|
|
104
|
+
<!-- With image -->
|
|
105
|
+
<button type="button" class="btn" data-variant="outline">
|
|
106
|
+
Remove teammate
|
|
107
|
+
</button>
|
|
108
|
+
|
|
109
|
+
<dialog class="alert-dialog" id="demo-alert-dialog-image" aria-labelledby="alert-dialog-image-title" aria-describedby="alert-dialog-image-description">
|
|
110
|
+
<div>
|
|
111
|
+
<header>
|
|
112
|
+
<figure><img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' fill='%23cbd5e1'/%3E%3Ccircle cx='32' cy='24' r='11' fill='%23475569'/%3E%3Cpath d='M10 64c0-12 10-22 22-22s22 10 22 22z' fill='%23475569'/%3E%3C/svg%3E" alt="" width="40" height="40"></figure>
|
|
113
|
+
<h2 data-slot="title" id="alert-dialog-image-title">Remove teammate?</h2>
|
|
114
|
+
<p data-slot="description" id="alert-dialog-image-description">
|
|
115
|
+
They will lose access to this workspace and its documents.
|
|
116
|
+
</p>
|
|
117
|
+
</header>
|
|
118
|
+
<footer>
|
|
119
|
+
<button type="button" class="btn" data-variant="outline">Cancel</button>
|
|
120
|
+
<button type="button" class="btn" data-variant="destructive">Remove</button>
|
|
121
|
+
</footer>
|
|
122
|
+
</div>
|
|
123
|
+
</dialog>
|
|
124
|
+
|
|
125
|
+
<!-- Right-to-left -->
|
|
126
|
+
<div dir="rtl" lang="ar" style="display: flex; flex-wrap: wrap; gap: 0.5rem">
|
|
127
|
+
<button type="button" class="btn" data-variant="outline">
|
|
128
|
+
إظهار الحوار
|
|
129
|
+
</button>
|
|
130
|
+
|
|
131
|
+
<dialog class="alert-dialog" id="demo-alert-dialog-rtl" data-size="sm" aria-labelledby="alert-dialog-rtl-title" aria-describedby="alert-dialog-rtl-description">
|
|
132
|
+
<div>
|
|
133
|
+
<header>
|
|
134
|
+
<figure><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="m7 7 10 10-5 5V2l5 5L7 17"/></svg></figure>
|
|
135
|
+
<h2 data-slot="title" id="alert-dialog-rtl-title">السماح للملحق بالاتصال؟</h2>
|
|
136
|
+
<p data-slot="description" id="alert-dialog-rtl-description">
|
|
137
|
+
هل تريد السماح لملحق USB بالاتصال بهذا الجهاز؟
|
|
138
|
+
</p>
|
|
139
|
+
</header>
|
|
140
|
+
<footer>
|
|
141
|
+
<button type="button" class="btn" data-variant="outline">عدم السماح</button>
|
|
142
|
+
<button type="button" class="btn">السماح</button>
|
|
143
|
+
</footer>
|
|
144
|
+
</div>
|
|
145
|
+
</dialog>
|
|
146
|
+
</div>
|
|
@@ -1,15 +1,62 @@
|
|
|
1
1
|
<!-- Default -->
|
|
2
2
|
<div class="alert" role="alert">
|
|
3
|
+
<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="M21.801 10A10 10 0 1 1 17 3.335"/><path d="m9 11 3 3L22 4"/></svg>
|
|
3
4
|
<h3 data-slot="title">Heads up!</h3>
|
|
4
5
|
<section>
|
|
5
|
-
<p>You can add components to your app using the CLI.</p>
|
|
6
|
+
<p>You can add components and dependencies to your app using the CLI.</p>
|
|
6
7
|
</section>
|
|
7
8
|
</div>
|
|
8
9
|
|
|
9
10
|
<!-- Destructive -->
|
|
10
11
|
<div class="alert" data-variant="destructive" role="alert">
|
|
11
|
-
<
|
|
12
|
+
<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"><circle cx="12" cy="12" r="10"/><line x1="12" x2="12" y1="8" y2="12"/><line x1="12" x2="12.01" y1="16" y2="16"/></svg>
|
|
13
|
+
<h3 data-slot="title">Payment failed</h3>
|
|
12
14
|
<section>
|
|
13
|
-
<p>Please
|
|
15
|
+
<p>Your payment could not be processed. Please check your payment method and try again.</p>
|
|
14
16
|
</section>
|
|
15
17
|
</div>
|
|
18
|
+
|
|
19
|
+
<!-- Action -->
|
|
20
|
+
<div class="alert" role="alert">
|
|
21
|
+
<h3 data-slot="title">Dark mode is now available</h3>
|
|
22
|
+
<p data-slot="description">Enable it under your profile settings to get started.</p>
|
|
23
|
+
<footer>
|
|
24
|
+
<button type="button" class="btn" data-size="xs">Enable</button>
|
|
25
|
+
</footer>
|
|
26
|
+
</div>
|
|
27
|
+
|
|
28
|
+
<!-- Description container -->
|
|
29
|
+
<div class="alert" role="alert">
|
|
30
|
+
<h3 data-slot="title">Using the CLI</h3>
|
|
31
|
+
<div data-slot="description">
|
|
32
|
+
<p>Add components and dependencies with the CLI.</p>
|
|
33
|
+
<p>Then customize the alert with your own tokens.</p>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<!-- Custom colors -->
|
|
38
|
+
<div class="alert" role="alert" style="--card: color-mix(in oklab, var(--chart-4) 10%, var(--background)); --border: color-mix(in oklab, var(--chart-4) 40%, var(--background)); --muted-foreground: color-mix(in oklab, var(--chart-4) 35%, var(--foreground))">
|
|
39
|
+
<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="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"/><path d="M12 9v4"/><path d="M12 17h.01"/></svg>
|
|
40
|
+
<h3 data-slot="title">Your subscription will expire in 3 days.</h3>
|
|
41
|
+
<section>
|
|
42
|
+
<p>Renew now to avoid service interruption or upgrade to a paid plan to continue using the service.</p>
|
|
43
|
+
</section>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<!-- Right-to-left -->
|
|
47
|
+
<div dir="rtl" lang="ar" style="display: grid; gap: 1rem">
|
|
48
|
+
<div class="alert" role="alert">
|
|
49
|
+
<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="M21.801 10A10 10 0 1 1 17 3.335"/><path d="m9 11 3 3L22 4"/></svg>
|
|
50
|
+
<h3 data-slot="title">تم الدفع بنجاح</h3>
|
|
51
|
+
<section>
|
|
52
|
+
<p>تمت معالجة دفعتك البالغة 29.99 دولارًا. تم إرسال إيصال إلى عنوان بريدك الإلكتروني.</p>
|
|
53
|
+
</section>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="alert" role="alert">
|
|
56
|
+
<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"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg>
|
|
57
|
+
<h3 data-slot="title">ميزة جديدة متاحة</h3>
|
|
58
|
+
<section>
|
|
59
|
+
<p>لقد أضفنا دعم الوضع الداكن. يمكنك تفعيله في إعدادات حسابك.</p>
|
|
60
|
+
</section>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<!-- Default -->
|
|
2
|
+
<div class="aspect-ratio" style="max-width: 24rem">
|
|
3
|
+
<img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%2394a3b8'/%3E%3Cstop offset='1' stop-color='%23e2e8f0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='160' height='90' fill='url(%23g)'/%3E%3Ctext x='80' y='49' text-anchor='middle' font-family='sans-serif' font-size='12' fill='%23334155'%3E16:9%3C/text%3E%3C/svg%3E" alt="A 16 by 9 media placeholder" />
|
|
4
|
+
</div>
|
|
5
|
+
|
|
1
6
|
<!-- 16 / 9 -->
|
|
2
7
|
<div class="aspect-ratio" style="--ratio: 16 / 9">
|
|
3
8
|
<img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%2394a3b8'/%3E%3Cstop offset='1' stop-color='%23e2e8f0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='160' height='90' fill='url(%23g)'/%3E%3Ctext x='80' y='49' text-anchor='middle' font-family='sans-serif' font-size='12' fill='%23334155'%3E16:9%3C/text%3E%3C/svg%3E" alt="A 16 by 9 media placeholder" />
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
<!-- Default -->
|
|
2
|
+
<div class="attachment">
|
|
3
|
+
<div data-slot="media"><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="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/><path d="M10 9H8"/><path d="M16 13H8"/><path d="M16 17H8"/></svg></div>
|
|
4
|
+
<div data-slot="content">
|
|
5
|
+
<span data-slot="title">report.pdf</span>
|
|
6
|
+
<span data-slot="description">PDF · 2.4 MB</span>
|
|
7
|
+
</div>
|
|
8
|
+
<div data-slot="actions">
|
|
9
|
+
<button type="button" class="btn" data-variant="ghost" data-size="icon-xs" aria-label="Remove report.pdf">×</button>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
|
|
1
13
|
<!-- States -->
|
|
2
14
|
<div style="display: flex; flex-direction: column; gap: 0.75rem; max-width: 24rem">
|
|
3
15
|
<div class="attachment">
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
<!-- Default -->
|
|
2
|
+
<span class="avatar"><span data-slot="fallback">CN</span></span>
|
|
3
|
+
|
|
4
|
+
<!-- Basic -->
|
|
5
|
+
<span class="avatar">
|
|
6
|
+
<img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' fill='%23cbd5e1'/%3E%3Ccircle cx='32' cy='24' r='11' fill='%23475569'/%3E%3Cpath d='M10 64c0-12 10-22 22-22s22 10 22 22z' fill='%23475569'/%3E%3C/svg%3E" alt="Ada Lovelace" />
|
|
7
|
+
<span data-slot="fallback" aria-hidden="true">AL</span>
|
|
8
|
+
</span>
|
|
9
|
+
|
|
1
10
|
<!-- Sizes -->
|
|
2
11
|
<div style="display: flex; align-items: center; gap: 0.75rem">
|
|
3
12
|
<span class="avatar" data-size="sm"><span data-slot="fallback">SM</span></span>
|
|
@@ -5,17 +14,53 @@
|
|
|
5
14
|
<span class="avatar" data-size="lg"><span data-slot="fallback">LG</span></span>
|
|
6
15
|
</div>
|
|
7
16
|
|
|
8
|
-
<!--
|
|
9
|
-
<span class="avatar"
|
|
17
|
+
<!-- Badge -->
|
|
18
|
+
<span class="avatar">
|
|
10
19
|
<img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' fill='%23cbd5e1'/%3E%3Ccircle cx='32' cy='24' r='11' fill='%23475569'/%3E%3Cpath d='M10 64c0-12 10-22 22-22s22 10 22 22z' fill='%23475569'/%3E%3C/svg%3E" alt="Ada Lovelace" />
|
|
11
20
|
<span data-slot="fallback" aria-hidden="true">AL</span>
|
|
12
21
|
<span data-slot="badge" aria-hidden="true"></span>
|
|
13
22
|
</span>
|
|
14
23
|
|
|
24
|
+
<!-- Badge with icon -->
|
|
25
|
+
<span class="avatar" data-size="lg">
|
|
26
|
+
<img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' fill='%23cbd5e1'/%3E%3Ccircle cx='32' cy='24' r='11' fill='%23475569'/%3E%3Cpath d='M10 64c0-12 10-22 22-22s22 10 22 22z' fill='%23475569'/%3E%3C/svg%3E" alt="Ada Lovelace" />
|
|
27
|
+
<span data-slot="fallback" aria-hidden="true">AL</span>
|
|
28
|
+
<span data-slot="badge" aria-hidden="true"><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="M5 12h14"/><path d="M12 5v14"/></svg></span>
|
|
29
|
+
</span>
|
|
30
|
+
|
|
15
31
|
<!-- Group -->
|
|
16
|
-
<div class="avatar-group">
|
|
32
|
+
<div class="avatar-group" role="group" aria-label="Project contributors">
|
|
17
33
|
<span class="avatar"><span data-slot="fallback">AL</span></span>
|
|
18
34
|
<span class="avatar"><span data-slot="fallback">GR</span></span>
|
|
19
35
|
<span class="avatar"><span data-slot="fallback">TS</span></span>
|
|
20
|
-
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<!-- Group count -->
|
|
39
|
+
<div class="avatar-group" role="group" aria-label="Project contributors">
|
|
40
|
+
<span class="avatar"><span data-slot="fallback">AL</span></span>
|
|
41
|
+
<span class="avatar"><span data-slot="fallback">GR</span></span>
|
|
42
|
+
<span class="avatar"><span data-slot="fallback">TS</span></span>
|
|
43
|
+
<span data-slot="count"><span aria-hidden="true">+3</span><span class="sr-only">3 more contributors</span></span>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<!-- Group with icon -->
|
|
47
|
+
<div class="avatar-group" role="group" aria-label="Project contributors">
|
|
48
|
+
<span class="avatar"><span data-slot="fallback">AL</span></span>
|
|
49
|
+
<span class="avatar"><span data-slot="fallback">GR</span></span>
|
|
50
|
+
<span class="avatar"><span data-slot="fallback">TS</span></span>
|
|
51
|
+
<span data-slot="count"><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="M5 12h14"/><path d="M12 5v14"/></svg><span class="sr-only">3 more contributors</span></span>
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
<!-- Right-to-left -->
|
|
55
|
+
<div style="display: flex; flex-wrap: wrap; align-items: center; gap: 1rem" dir="rtl" lang="ar">
|
|
56
|
+
<span class="avatar" data-size="lg">
|
|
57
|
+
<span data-slot="fallback">ع</span>
|
|
58
|
+
<span data-slot="badge" aria-hidden="true"></span>
|
|
59
|
+
</span>
|
|
60
|
+
<div class="avatar-group" role="group" aria-label="أعضاء الفريق">
|
|
61
|
+
<span class="avatar" data-size="lg"><span data-slot="fallback">أح</span></span>
|
|
62
|
+
<span class="avatar" data-size="lg"><span data-slot="fallback">سم</span></span>
|
|
63
|
+
<span class="avatar" data-size="lg"><span data-slot="fallback">لي</span></span>
|
|
64
|
+
<span data-slot="count"><span aria-hidden="true">+٣</span><span class="sr-only">٣ أعضاء آخرون</span></span>
|
|
65
|
+
</div>
|
|
21
66
|
</div>
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
<!-- Default -->
|
|
2
|
+
<span class="badge">Badge</span>
|
|
3
|
+
|
|
1
4
|
<!-- Variants -->
|
|
2
5
|
<div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
|
|
3
6
|
<span class="badge">Default</span>
|
|
@@ -7,3 +10,40 @@
|
|
|
7
10
|
<span class="badge" data-variant="ghost">Ghost</span>
|
|
8
11
|
<span class="badge" data-variant="link">Link</span>
|
|
9
12
|
</div>
|
|
13
|
+
|
|
14
|
+
<!-- With icons -->
|
|
15
|
+
<div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
|
|
16
|
+
<span class="badge" data-variant="secondary"><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" data-icon="inline-start"><path d="M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z"/><path d="m9 12 2 2 4-4"/></svg>Verified</span>
|
|
17
|
+
<span class="badge" data-variant="outline">Bookmark<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" data-icon="inline-end"><path d="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z"/></svg></span>
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
<!-- With spinner -->
|
|
21
|
+
<div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
|
|
22
|
+
<span class="badge" data-variant="destructive" aria-busy="true"><span class="spinner" data-size="sm" data-icon="inline-start" aria-hidden="true"></span>Deleting</span>
|
|
23
|
+
<span class="badge" data-variant="secondary" aria-busy="true">Generating<span class="spinner" data-size="sm" data-icon="inline-end" aria-hidden="true"></span></span>
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
<!-- As link -->
|
|
27
|
+
<div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
|
|
28
|
+
<a class="badge" href="#">Open link<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" data-icon="inline-end"><path d="M7 7h10v10"/><path d="M7 17 17 7"/></svg></a>
|
|
29
|
+
<a class="badge" data-variant="outline" href="#">Read the docs<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" data-icon="inline-end"><path d="M7 7h10v10"/><path d="M7 17 17 7"/></svg></a>
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<!-- In a field -->
|
|
33
|
+
<div class="field" style="max-width: 24rem">
|
|
34
|
+
<label class="label" for="demo-badge-webhook" style="width: 100%">
|
|
35
|
+
Webhook URL
|
|
36
|
+
<span class="badge" data-variant="secondary" style="margin-inline-start: auto">Beta</span>
|
|
37
|
+
</label>
|
|
38
|
+
<input class="input" id="demo-badge-webhook" type="url" placeholder="https://api.example.com/webhook">
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
<!-- Right-to-left -->
|
|
42
|
+
<div dir="rtl" lang="ar" style="display: flex; flex-wrap: wrap; gap: 0.5rem">
|
|
43
|
+
<span class="badge">شارة</span>
|
|
44
|
+
<span class="badge" data-variant="secondary">ثانوي</span>
|
|
45
|
+
<span class="badge" data-variant="outline">مخطط</span>
|
|
46
|
+
<span class="badge" data-variant="destructive">مدمر</span>
|
|
47
|
+
<span class="badge" data-variant="secondary"><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" data-icon="inline-start"><path d="M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z"/><path d="m9 12 2 2 4-4"/></svg>متحقق</span>
|
|
48
|
+
<span class="badge" data-variant="outline">إشارة مرجعية<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" data-icon="inline-end"><path d="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z"/></svg></span>
|
|
49
|
+
</div>
|
|
@@ -2,22 +2,102 @@
|
|
|
2
2
|
<nav class="breadcrumb" aria-label="breadcrumb">
|
|
3
3
|
<ol>
|
|
4
4
|
<li><a href="#">Home</a></li>
|
|
5
|
-
<li role="presentation" aria-hidden="true"><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="m9 18 6-6-6-6"/></svg></li>
|
|
5
|
+
<li role="presentation" aria-hidden="true"><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" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
|
|
6
6
|
<li><a href="#">Components</a></li>
|
|
7
|
-
<li role="presentation" aria-hidden="true"><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="m9 18 6-6-6-6"/></svg></li>
|
|
7
|
+
<li role="presentation" aria-hidden="true"><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" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
|
|
8
8
|
<li><span aria-current="page">Breadcrumb</span></li>
|
|
9
9
|
</ol>
|
|
10
10
|
</nav>
|
|
11
11
|
|
|
12
|
-
<!--
|
|
12
|
+
<!-- Ellipsis -->
|
|
13
13
|
<nav class="breadcrumb" aria-label="breadcrumb">
|
|
14
14
|
<ol>
|
|
15
15
|
<li><a href="#">Home</a></li>
|
|
16
|
-
<li role="presentation" aria-hidden="true"><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="m9 18 6-6-6-6"/></svg></li>
|
|
16
|
+
<li role="presentation" aria-hidden="true"><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" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
|
|
17
17
|
<li><span data-slot="ellipsis" aria-hidden="true"><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"><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/></svg></span></li>
|
|
18
|
-
<li role="presentation" aria-hidden="true"><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="m9 18 6-6-6-6"/></svg></li>
|
|
18
|
+
<li role="presentation" aria-hidden="true"><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" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
|
|
19
19
|
<li><a href="#">Components</a></li>
|
|
20
|
-
<li role="presentation" aria-hidden="true"><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="m9 18 6-6-6-6"/></svg></li>
|
|
20
|
+
<li role="presentation" aria-hidden="true"><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" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
|
|
21
21
|
<li><span aria-current="page">Breadcrumb</span></li>
|
|
22
22
|
</ol>
|
|
23
23
|
</nav>
|
|
24
|
+
|
|
25
|
+
<!-- Ellipsis menu -->
|
|
26
|
+
<div style="display: flex; align-items: flex-start; justify-content: center; width: 100%; min-height: 12rem; padding-block-start: 0.5rem">
|
|
27
|
+
<nav class="breadcrumb" aria-label="breadcrumb">
|
|
28
|
+
<ol>
|
|
29
|
+
<li><a href="#">Home</a></li>
|
|
30
|
+
<li role="presentation" aria-hidden="true"><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" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
|
|
31
|
+
<li>
|
|
32
|
+
<div class="dropdown-menu">
|
|
33
|
+
<button type="button" class="btn" data-variant="ghost" data-size="icon-sm" aria-haspopup="menu" aria-expanded="false" aria-controls="demo-breadcrumb-ellipsis-panel" aria-label="Show more breadcrumb items">
|
|
34
|
+
<span data-slot="ellipsis" aria-hidden="true"><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"><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/></svg></span>
|
|
35
|
+
</button>
|
|
36
|
+
<div data-popover data-side="bottom" data-align="start" id="demo-breadcrumb-ellipsis-panel" aria-hidden="true">
|
|
37
|
+
<div role="menu">
|
|
38
|
+
<button type="button" role="menuitem">Documentation</button>
|
|
39
|
+
<button type="button" role="menuitem">Themes</button>
|
|
40
|
+
<button type="button" role="menuitem">GitHub</button>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</li>
|
|
45
|
+
<li role="presentation" aria-hidden="true"><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" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
|
|
46
|
+
<li><a href="#">Components</a></li>
|
|
47
|
+
<li role="presentation" aria-hidden="true"><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" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
|
|
48
|
+
<li><span aria-current="page">Breadcrumb</span></li>
|
|
49
|
+
</ol>
|
|
50
|
+
</nav>
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
<!-- Dropdown -->
|
|
54
|
+
<div style="display: flex; align-items: flex-start; justify-content: center; width: 100%; min-height: 12rem; padding-block-start: 0.5rem">
|
|
55
|
+
<nav class="breadcrumb" aria-label="breadcrumb">
|
|
56
|
+
<ol>
|
|
57
|
+
<li><a href="#">Home</a></li>
|
|
58
|
+
<li role="presentation" aria-hidden="true"><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" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
|
|
59
|
+
<li>
|
|
60
|
+
<div class="dropdown-menu">
|
|
61
|
+
<button type="button" aria-haspopup="menu" aria-expanded="false" aria-controls="demo-breadcrumb-dropdown-panel">
|
|
62
|
+
Components <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" style="inline-size: 0.875rem; block-size: 0.875rem"><path d="m6 9 6 6 6-6"/></svg>
|
|
63
|
+
</button>
|
|
64
|
+
<div data-popover data-side="bottom" data-align="start" id="demo-breadcrumb-dropdown-panel" aria-hidden="true">
|
|
65
|
+
<div role="menu">
|
|
66
|
+
<button type="button" role="menuitem">Documentation</button>
|
|
67
|
+
<button type="button" role="menuitem">Themes</button>
|
|
68
|
+
<button type="button" role="menuitem">GitHub</button>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
</li>
|
|
73
|
+
<li role="presentation" aria-hidden="true"><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" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
|
|
74
|
+
<li><span aria-current="page">Breadcrumb</span></li>
|
|
75
|
+
</ol>
|
|
76
|
+
</nav>
|
|
77
|
+
</div>
|
|
78
|
+
|
|
79
|
+
<!-- Custom separator -->
|
|
80
|
+
<nav class="breadcrumb" aria-label="breadcrumb">
|
|
81
|
+
<ol>
|
|
82
|
+
<li><a href="#">Home</a></li>
|
|
83
|
+
<li role="presentation" aria-hidden="true"><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"><circle cx="12" cy="12" r="1"/></svg></li>
|
|
84
|
+
<li><a href="#">Components</a></li>
|
|
85
|
+
<li role="presentation" aria-hidden="true"><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"><circle cx="12" cy="12" r="1"/></svg></li>
|
|
86
|
+
<li><span aria-current="page">Breadcrumb</span></li>
|
|
87
|
+
</ol>
|
|
88
|
+
</nav>
|
|
89
|
+
|
|
90
|
+
<!-- Right-to-left -->
|
|
91
|
+
<div dir="rtl" lang="ar" style="display: flex; justify-content: center; width: 100%">
|
|
92
|
+
<nav class="breadcrumb" aria-label="مسار التنقل">
|
|
93
|
+
<ol>
|
|
94
|
+
<li><a href="#">الرئيسية</a></li>
|
|
95
|
+
<li role="presentation" aria-hidden="true"><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" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
|
|
96
|
+
<li><span data-slot="ellipsis" aria-hidden="true"><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"><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/></svg></span></li>
|
|
97
|
+
<li role="presentation" aria-hidden="true"><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" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
|
|
98
|
+
<li><a href="#">المكونات</a></li>
|
|
99
|
+
<li role="presentation" aria-hidden="true"><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" data-rtl-flip><path d="m9 18 6-6-6-6"/></svg></li>
|
|
100
|
+
<li><span aria-current="page">مسار التنقل</span></li>
|
|
101
|
+
</ol>
|
|
102
|
+
</nav>
|
|
103
|
+
</div>
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<!-- Default -->
|
|
2
|
+
<div class="bubble" data-align="start">
|
|
3
|
+
<div data-slot="content">Hello! How can I help you today?</div>
|
|
4
|
+
</div>
|
|
5
|
+
|
|
1
6
|
<!-- Variants -->
|
|
2
7
|
<div style="display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: flex-start">
|
|
3
8
|
<div class="bubble"><div data-slot="content">Default</div></div>
|