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
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
<caption>A list of your recent invoices.</caption>
|
|
5
5
|
<thead>
|
|
6
6
|
<tr>
|
|
7
|
-
<th>Invoice</th>
|
|
8
|
-
<th>Status</th>
|
|
9
|
-
<th>Method</th>
|
|
10
|
-
<th>Amount</th>
|
|
7
|
+
<th scope="col">Invoice</th>
|
|
8
|
+
<th scope="col">Status</th>
|
|
9
|
+
<th scope="col">Method</th>
|
|
10
|
+
<th scope="col" style="text-align: end">Amount</th>
|
|
11
11
|
</tr>
|
|
12
12
|
</thead>
|
|
13
13
|
<tbody>
|
|
@@ -15,19 +15,203 @@
|
|
|
15
15
|
<td>INV-001</td>
|
|
16
16
|
<td>Paid</td>
|
|
17
17
|
<td>Credit card</td>
|
|
18
|
-
<td>$250.00</td>
|
|
18
|
+
<td style="text-align: end">$250.00</td>
|
|
19
19
|
</tr>
|
|
20
|
-
<tr
|
|
20
|
+
<tr>
|
|
21
|
+
<td>INV-002</td>
|
|
22
|
+
<td>Pending</td>
|
|
23
|
+
<td>PayPal</td>
|
|
24
|
+
<td style="text-align: end">$150.00</td>
|
|
25
|
+
</tr>
|
|
26
|
+
<tr>
|
|
27
|
+
<td>INV-003</td>
|
|
28
|
+
<td>Unpaid</td>
|
|
29
|
+
<td>Bank transfer</td>
|
|
30
|
+
<td style="text-align: end">$350.00</td>
|
|
31
|
+
</tr>
|
|
32
|
+
</tbody>
|
|
33
|
+
</table>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<!-- Footer -->
|
|
37
|
+
<div class="table-container">
|
|
38
|
+
<table class="table">
|
|
39
|
+
<caption>A list of your recent invoices.</caption>
|
|
40
|
+
<thead>
|
|
41
|
+
<tr>
|
|
42
|
+
<th scope="col">Invoice</th>
|
|
43
|
+
<th scope="col">Status</th>
|
|
44
|
+
<th scope="col">Method</th>
|
|
45
|
+
<th scope="col" style="text-align: end">Amount</th>
|
|
46
|
+
</tr>
|
|
47
|
+
</thead>
|
|
48
|
+
<tbody>
|
|
49
|
+
<tr>
|
|
50
|
+
<td>INV-001</td>
|
|
51
|
+
<td>Paid</td>
|
|
52
|
+
<td>Credit card</td>
|
|
53
|
+
<td style="text-align: end">$250.00</td>
|
|
54
|
+
</tr>
|
|
55
|
+
<tr>
|
|
21
56
|
<td>INV-002</td>
|
|
22
57
|
<td>Pending</td>
|
|
23
58
|
<td>PayPal</td>
|
|
24
|
-
<td>$150.00</td>
|
|
59
|
+
<td style="text-align: end">$150.00</td>
|
|
25
60
|
</tr>
|
|
26
61
|
<tr>
|
|
27
62
|
<td>INV-003</td>
|
|
28
63
|
<td>Unpaid</td>
|
|
29
64
|
<td>Bank transfer</td>
|
|
30
|
-
<td>$350.00</td>
|
|
65
|
+
<td style="text-align: end">$350.00</td>
|
|
66
|
+
</tr>
|
|
67
|
+
<tr>
|
|
68
|
+
<td>INV-004</td>
|
|
69
|
+
<td>Paid</td>
|
|
70
|
+
<td>Credit card</td>
|
|
71
|
+
<td style="text-align: end">$450.00</td>
|
|
72
|
+
</tr>
|
|
73
|
+
</tbody>
|
|
74
|
+
<tfoot>
|
|
75
|
+
<tr>
|
|
76
|
+
<th scope="row" colspan="3">Total</th>
|
|
77
|
+
<td style="text-align: end">$1,200.00</td>
|
|
78
|
+
</tr>
|
|
79
|
+
</tfoot>
|
|
80
|
+
</table>
|
|
81
|
+
</div>
|
|
82
|
+
|
|
83
|
+
<!-- Actions -->
|
|
84
|
+
<div class="table-container">
|
|
85
|
+
<table class="table">
|
|
86
|
+
<caption>Products and their current prices.</caption>
|
|
87
|
+
<thead>
|
|
88
|
+
<tr>
|
|
89
|
+
<th scope="col">Product</th>
|
|
90
|
+
<th scope="col" style="text-align: end">Price</th>
|
|
91
|
+
<th scope="col"><span class="sr-only">Actions</span></th>
|
|
92
|
+
</tr>
|
|
93
|
+
</thead>
|
|
94
|
+
<tbody>
|
|
95
|
+
<tr>
|
|
96
|
+
<td>Wireless Mouse</td>
|
|
97
|
+
<td style="text-align: end">$29.99</td>
|
|
98
|
+
<td>
|
|
99
|
+
<div class="dropdown-menu">
|
|
100
|
+
<button type="button" class="btn" data-variant="ghost" data-size="icon-sm" aria-haspopup="menu" aria-expanded="false" aria-label="Open menu for Wireless Mouse"><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></button>
|
|
101
|
+
<div data-popover data-side="top" data-align="end" aria-hidden="true">
|
|
102
|
+
<div role="menu">
|
|
103
|
+
<button type="button" role="menuitem">Edit</button>
|
|
104
|
+
<button type="button" role="menuitem">Duplicate</button>
|
|
105
|
+
<div role="separator"></div>
|
|
106
|
+
<button type="button" role="menuitem" data-variant="destructive">Delete</button>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
</td>
|
|
111
|
+
</tr>
|
|
112
|
+
<tr>
|
|
113
|
+
<td>Mechanical Keyboard</td>
|
|
114
|
+
<td style="text-align: end">$129.99</td>
|
|
115
|
+
<td>
|
|
116
|
+
<div class="dropdown-menu">
|
|
117
|
+
<button type="button" class="btn" data-variant="ghost" data-size="icon-sm" aria-haspopup="menu" aria-expanded="false" aria-label="Open menu for Mechanical Keyboard"><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></button>
|
|
118
|
+
<div data-popover data-side="top" data-align="end" aria-hidden="true">
|
|
119
|
+
<div role="menu">
|
|
120
|
+
<button type="button" role="menuitem">Edit</button>
|
|
121
|
+
<button type="button" role="menuitem">Duplicate</button>
|
|
122
|
+
<div role="separator"></div>
|
|
123
|
+
<button type="button" role="menuitem" data-variant="destructive">Delete</button>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
|
+
</td>
|
|
128
|
+
</tr>
|
|
129
|
+
<tr>
|
|
130
|
+
<td>USB-C Hub</td>
|
|
131
|
+
<td style="text-align: end">$49.99</td>
|
|
132
|
+
<td>
|
|
133
|
+
<div class="dropdown-menu">
|
|
134
|
+
<button type="button" class="btn" data-variant="ghost" data-size="icon-sm" aria-haspopup="menu" aria-expanded="false" aria-label="Open menu for USB-C Hub"><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></button>
|
|
135
|
+
<div data-popover data-side="top" data-align="end" aria-hidden="true">
|
|
136
|
+
<div role="menu">
|
|
137
|
+
<button type="button" role="menuitem">Edit</button>
|
|
138
|
+
<button type="button" role="menuitem">Duplicate</button>
|
|
139
|
+
<div role="separator"></div>
|
|
140
|
+
<button type="button" role="menuitem" data-variant="destructive">Delete</button>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
</div>
|
|
144
|
+
</td>
|
|
145
|
+
</tr>
|
|
146
|
+
</tbody>
|
|
147
|
+
</table>
|
|
148
|
+
</div>
|
|
149
|
+
|
|
150
|
+
<!-- Selection -->
|
|
151
|
+
<div class="table-container">
|
|
152
|
+
<table class="table">
|
|
153
|
+
<caption>Select invoices to export.</caption>
|
|
154
|
+
<thead>
|
|
155
|
+
<tr>
|
|
156
|
+
<th scope="col"><input class="checkbox" type="checkbox" aria-label="Select all invoices"></th>
|
|
157
|
+
<th scope="col">Invoice</th>
|
|
158
|
+
<th scope="col">Status</th>
|
|
159
|
+
<th scope="col" style="text-align: end">Amount</th>
|
|
160
|
+
</tr>
|
|
161
|
+
</thead>
|
|
162
|
+
<tbody>
|
|
163
|
+
<tr aria-selected="true">
|
|
164
|
+
<td><input class="checkbox" type="checkbox" aria-label="Select INV-001" checked></td>
|
|
165
|
+
<td>INV-001</td>
|
|
166
|
+
<td><span class="badge" data-variant="outline">Paid</span></td>
|
|
167
|
+
<td style="text-align: end">$250.00</td>
|
|
168
|
+
</tr>
|
|
169
|
+
<tr>
|
|
170
|
+
<td><input class="checkbox" type="checkbox" aria-label="Select INV-002"></td>
|
|
171
|
+
<td>INV-002</td>
|
|
172
|
+
<td><span class="badge" data-variant="secondary">Pending</span></td>
|
|
173
|
+
<td style="text-align: end">$150.00</td>
|
|
174
|
+
</tr>
|
|
175
|
+
<tr>
|
|
176
|
+
<td><input class="checkbox" type="checkbox" aria-label="Select INV-003"></td>
|
|
177
|
+
<td>INV-003</td>
|
|
178
|
+
<td><span class="badge" data-variant="destructive">Unpaid</span></td>
|
|
179
|
+
<td style="text-align: end">$350.00</td>
|
|
180
|
+
</tr>
|
|
181
|
+
</tbody>
|
|
182
|
+
</table>
|
|
183
|
+
</div>
|
|
184
|
+
|
|
185
|
+
<!-- Right-to-left -->
|
|
186
|
+
<div class="table-container" dir="rtl" lang="ar">
|
|
187
|
+
<table class="table">
|
|
188
|
+
<caption>قائمة بفواتيرك الأخيرة.</caption>
|
|
189
|
+
<thead>
|
|
190
|
+
<tr>
|
|
191
|
+
<th scope="col">الفاتورة</th>
|
|
192
|
+
<th scope="col">الحالة</th>
|
|
193
|
+
<th scope="col">الطريقة</th>
|
|
194
|
+
<th scope="col" style="text-align: end">المبلغ</th>
|
|
195
|
+
</tr>
|
|
196
|
+
</thead>
|
|
197
|
+
<tbody>
|
|
198
|
+
<tr>
|
|
199
|
+
<td>INV-001</td>
|
|
200
|
+
<td>مدفوع</td>
|
|
201
|
+
<td>بطاقة ائتمانية</td>
|
|
202
|
+
<td style="text-align: end">$250.00</td>
|
|
203
|
+
</tr>
|
|
204
|
+
<tr>
|
|
205
|
+
<td>INV-002</td>
|
|
206
|
+
<td>قيد الانتظار</td>
|
|
207
|
+
<td>PayPal</td>
|
|
208
|
+
<td style="text-align: end">$150.00</td>
|
|
209
|
+
</tr>
|
|
210
|
+
<tr>
|
|
211
|
+
<td>INV-003</td>
|
|
212
|
+
<td>غير مدفوع</td>
|
|
213
|
+
<td>تحويل بنكي</td>
|
|
214
|
+
<td style="text-align: end">$350.00</td>
|
|
31
215
|
</tr>
|
|
32
216
|
</tbody>
|
|
33
217
|
</table>
|
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
<!-- Default -->
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
<textarea class="textarea" placeholder="Type your message here." aria-label="Message"></textarea>
|
|
3
|
+
|
|
4
|
+
<!-- Field -->
|
|
5
|
+
<div class="field" style="max-width: 24rem">
|
|
6
|
+
<label class="label" for="demo-textarea-field">Message</label>
|
|
7
|
+
<textarea class="textarea" id="demo-textarea-field" placeholder="Type your message here."></textarea>
|
|
5
8
|
<p>Your message will be copied to the support team.</p>
|
|
6
9
|
</div>
|
|
10
|
+
|
|
11
|
+
<!-- Disabled -->
|
|
12
|
+
<div class="field" style="max-width: 24rem">
|
|
13
|
+
<label class="label" for="demo-textarea-disabled">Message</label>
|
|
14
|
+
<textarea class="textarea" id="demo-textarea-disabled" placeholder="Type your message here." disabled></textarea>
|
|
15
|
+
<p>This field is currently disabled.</p>
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
<!-- Invalid -->
|
|
19
|
+
<div class="field" style="max-width: 24rem">
|
|
20
|
+
<label class="label" for="demo-textarea-invalid">Message</label>
|
|
21
|
+
<textarea class="textarea" id="demo-textarea-invalid" placeholder="Type your message here." aria-invalid="true" aria-describedby="demo-textarea-invalid-error"></textarea>
|
|
22
|
+
<p id="demo-textarea-invalid-error" role="alert">Please enter a valid message.</p>
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<!-- Button -->
|
|
26
|
+
<div class="field" style="max-width: 24rem">
|
|
27
|
+
<textarea class="textarea" placeholder="Type your message here." aria-label="Message"></textarea>
|
|
28
|
+
<button type="button" class="btn">Send message</button>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<!-- Right-to-left -->
|
|
32
|
+
<div class="field" dir="rtl" lang="ar" style="max-width: 24rem">
|
|
33
|
+
<label class="label" for="demo-textarea-rtl">التعليقات</label>
|
|
34
|
+
<textarea class="textarea" id="demo-textarea-rtl" placeholder="تعليقاتك تساعدنا على التحسين..." dir="rtl"></textarea>
|
|
35
|
+
<p>شاركنا أفكارك حول خدمتنا.</p>
|
|
36
|
+
</div>
|
|
@@ -1,13 +1,73 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
<div class="toggle-group" role="group" aria-label="Text
|
|
3
|
-
<button type="button" class="toggle" aria-pressed="true"
|
|
4
|
-
<button type="button" class="toggle" aria-pressed="false"
|
|
5
|
-
<button type="button" class="toggle" aria-pressed="false"
|
|
6
|
-
</div>
|
|
7
|
-
|
|
8
|
-
<!--
|
|
9
|
-
<div class="toggle-group" role="group" aria-label="
|
|
10
|
-
<button type="button" class="toggle" aria-pressed="true"
|
|
11
|
-
<button type="button" class="toggle" aria-pressed="false"
|
|
12
|
-
<button type="button" class="toggle" aria-pressed="false"
|
|
1
|
+
<!-- Default -->
|
|
2
|
+
<div class="toggle-group" role="group" aria-label="Text formatting">
|
|
3
|
+
<button type="button" class="toggle" aria-pressed="true">Bold</button>
|
|
4
|
+
<button type="button" class="toggle" aria-pressed="false">Italic</button>
|
|
5
|
+
<button type="button" class="toggle" aria-pressed="false">Underline</button>
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
<!-- Outline -->
|
|
9
|
+
<div class="toggle-group" role="group" aria-label="Text styles" data-variant="outline">
|
|
10
|
+
<button type="button" class="toggle" aria-pressed="true" aria-label="Toggle bold"><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="M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8"/></svg></button>
|
|
11
|
+
<button type="button" class="toggle" aria-pressed="false" aria-label="Toggle italic"><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"><line x1="19" x2="10" y1="4" y2="4"/><line x1="14" x2="5" y1="20" y2="20"/><line x1="15" x2="9" y1="4" y2="20"/></svg></button>
|
|
12
|
+
<button type="button" class="toggle" aria-pressed="false" aria-label="Toggle underline"><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="M6 4v6a6 6 0 0 0 12 0V4"/><line x1="4" x2="20" y1="20" y2="20"/></svg></button>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
<!-- Sizes -->
|
|
16
|
+
<div style="display: grid; gap: 0.75rem; justify-items: start">
|
|
17
|
+
<div class="toggle-group" role="group" aria-label="Small alignment" data-variant="outline" data-size="sm">
|
|
18
|
+
<button type="button" class="toggle" aria-pressed="true">Top</button>
|
|
19
|
+
<button type="button" class="toggle" aria-pressed="false">Bottom</button>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="toggle-group" role="group" aria-label="Default alignment" data-variant="outline">
|
|
22
|
+
<button type="button" class="toggle" aria-pressed="true">Top</button>
|
|
23
|
+
<button type="button" class="toggle" aria-pressed="false">Bottom</button>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="toggle-group" role="group" aria-label="Large alignment" data-variant="outline" data-size="lg">
|
|
26
|
+
<button type="button" class="toggle" aria-pressed="true">Top</button>
|
|
27
|
+
<button type="button" class="toggle" aria-pressed="false">Bottom</button>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<!-- Spacing -->
|
|
32
|
+
<div style="display: grid; gap: 0.75rem; justify-items: start">
|
|
33
|
+
<div class="toggle-group" role="group" aria-label="Default spacing" data-variant="outline" data-spacing="default">
|
|
34
|
+
<button type="button" class="toggle" aria-pressed="true">Bold</button>
|
|
35
|
+
<button type="button" class="toggle" aria-pressed="false">Italic</button>
|
|
36
|
+
<button type="button" class="toggle" aria-pressed="false">Underline</button>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="toggle-group" role="group" aria-label="Joined spacing" data-variant="outline" data-spacing="joined">
|
|
39
|
+
<button type="button" class="toggle" aria-pressed="true">Bold</button>
|
|
40
|
+
<button type="button" class="toggle" aria-pressed="false">Italic</button>
|
|
41
|
+
<button type="button" class="toggle" aria-pressed="false">Underline</button>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<!-- Vertical -->
|
|
46
|
+
<div style="display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem">
|
|
47
|
+
<div class="toggle-group" role="group" aria-label="Text formatting vertical" data-variant="outline" data-orientation="vertical">
|
|
48
|
+
<button type="button" class="toggle" aria-pressed="true" aria-label="Toggle bold"><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="M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8"/></svg></button>
|
|
49
|
+
<button type="button" class="toggle" aria-pressed="true" aria-label="Toggle italic"><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"><line x1="19" x2="10" y1="4" y2="4"/><line x1="14" x2="5" y1="20" y2="20"/><line x1="15" x2="9" y1="4" y2="20"/></svg></button>
|
|
50
|
+
<button type="button" class="toggle" aria-pressed="false" aria-label="Toggle underline"><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="M6 4v6a6 6 0 0 0 12 0V4"/><line x1="4" x2="20" y1="20" y2="20"/></svg></button>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="toggle-group" role="group" aria-label="View density" data-orientation="vertical" data-spacing="joined" data-variant="outline" data-size="sm">
|
|
53
|
+
<button type="button" class="toggle" aria-pressed="true">Compact</button>
|
|
54
|
+
<button type="button" class="toggle" aria-pressed="false">Default</button>
|
|
55
|
+
<button type="button" class="toggle" aria-pressed="false">Comfortable</button>
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
|
|
59
|
+
<!-- Disabled -->
|
|
60
|
+
<div class="toggle-group" role="group" aria-label="Disabled formatting" data-variant="outline">
|
|
61
|
+
<button type="button" class="toggle" aria-pressed="false" disabled>Bold</button>
|
|
62
|
+
<button type="button" class="toggle" aria-pressed="true" disabled>Italic</button>
|
|
63
|
+
<button type="button" class="toggle" aria-pressed="false" disabled>Underline</button>
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
<!-- Right-to-left -->
|
|
67
|
+
<div dir="rtl" lang="ar">
|
|
68
|
+
<div class="toggle-group" role="group" aria-label="عرض المحتوى" data-variant="outline">
|
|
69
|
+
<button type="button" class="toggle" aria-pressed="true" 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="M3 5h.01"/><path d="M3 12h.01"/><path d="M3 19h.01"/><path d="M8 5h13"/><path d="M8 12h13"/><path d="M8 19h13"/></svg></button>
|
|
70
|
+
<button type="button" class="toggle" aria-pressed="false" 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"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M3 9h18"/><path d="M3 15h18"/><path d="M9 3v18"/><path d="M15 3v18"/></svg></button>
|
|
71
|
+
<button type="button" class="toggle" aria-pressed="false" 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"><rect width="7" height="7" x="3" y="3" rx="1"/><rect width="7" height="7" x="14" y="3" rx="1"/><rect width="7" height="7" x="14" y="14" rx="1"/><rect width="7" height="7" x="3" y="14" rx="1"/></svg></button>
|
|
72
|
+
</div>
|
|
13
73
|
</div>
|
|
@@ -1,13 +1,40 @@
|
|
|
1
|
-
<!--
|
|
1
|
+
<!-- Default -->
|
|
2
|
+
<button type="button" class="toggle" aria-pressed="false">Bold</button>
|
|
3
|
+
|
|
4
|
+
<!-- Outline -->
|
|
5
|
+
<div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
|
|
6
|
+
<button type="button" class="toggle" data-variant="outline" aria-pressed="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"><line x1="19" x2="10" y1="4" y2="4"/><line x1="14" x2="5" y1="20" y2="20"/><line x1="15" x2="9" y1="4" y2="20"/></svg>Italic</button>
|
|
7
|
+
<button type="button" class="toggle" data-variant="outline" aria-pressed="false"><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="M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8"/></svg>Bold</button>
|
|
8
|
+
<button type="button" class="toggle" data-variant="outline" aria-pressed="false"><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="M6 4v6a6 6 0 0 0 12 0V4"/><line x1="4" x2="20" y1="20" y2="20"/></svg>Underline</button>
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
<!-- With text -->
|
|
12
|
+
<div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
|
|
13
|
+
<button type="button" class="toggle" aria-pressed="false"><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="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>Bookmark</button>
|
|
14
|
+
<button type="button" class="toggle" data-variant="outline" data-size="sm" aria-pressed="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="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>Saved</button>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
<!-- Icon only -->
|
|
2
18
|
<div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
|
|
3
|
-
<button type="button" class="toggle" aria-pressed="false"
|
|
4
|
-
<button type="button" class="toggle"
|
|
5
|
-
<button type="button" class="toggle" data-variant="outline" aria-pressed="false"
|
|
19
|
+
<button type="button" class="toggle" data-size="sm" aria-pressed="false" aria-label="Toggle bold"><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="M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8"/></svg></button>
|
|
20
|
+
<button type="button" class="toggle" aria-pressed="true" aria-label="Toggle italic"><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"><line x1="19" x2="10" y1="4" y2="4"/><line x1="14" x2="5" y1="20" y2="20"/><line x1="15" x2="9" y1="4" y2="20"/></svg></button>
|
|
21
|
+
<button type="button" class="toggle" data-variant="outline" data-size="lg" aria-pressed="false" aria-label="Toggle underline"><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="M6 4v6a6 6 0 0 0 12 0V4"/><line x1="4" x2="20" y1="20" y2="20"/></svg></button>
|
|
6
22
|
</div>
|
|
7
23
|
|
|
8
24
|
<!-- Sizes -->
|
|
9
25
|
<div style="display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem">
|
|
10
|
-
<button type="button" class="toggle" data-size="sm" aria-pressed="false">Small</button>
|
|
11
|
-
<button type="button" class="toggle" aria-pressed="false">Default</button>
|
|
12
|
-
<button type="button" class="toggle" data-size="lg" aria-pressed="false">Large</button>
|
|
26
|
+
<button type="button" class="toggle" data-variant="outline" data-size="sm" aria-pressed="false">Small</button>
|
|
27
|
+
<button type="button" class="toggle" data-variant="outline" aria-pressed="false">Default</button>
|
|
28
|
+
<button type="button" class="toggle" data-variant="outline" data-size="lg" aria-pressed="false">Large</button>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<!-- Disabled -->
|
|
32
|
+
<div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
|
|
33
|
+
<button type="button" class="toggle" aria-pressed="false" disabled>Disabled</button>
|
|
34
|
+
<button type="button" class="toggle" data-variant="outline" aria-pressed="true" disabled>Disabled</button>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<!-- Right-to-left -->
|
|
38
|
+
<div dir="rtl" lang="ar" style="display: flex; flex-wrap: wrap; gap: 0.5rem">
|
|
39
|
+
<button type="button" class="toggle" data-variant="outline" data-size="sm" aria-pressed="false"><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="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>إشارة مرجعية</button>
|
|
13
40
|
</div>
|
|
@@ -1,4 +1,101 @@
|
|
|
1
1
|
<!-- Default -->
|
|
2
|
-
<button type="button" class="btn tooltip" data-tooltip="Add to library" data-arrow>
|
|
3
|
-
|
|
2
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-tooltip="Add to library" data-arrow aria-describedby="demo-tooltip-default-description">
|
|
3
|
+
Hover
|
|
4
4
|
</button>
|
|
5
|
+
<span class="sr-only" id="demo-tooltip-default-description">Add to library</span>
|
|
6
|
+
|
|
7
|
+
<!-- Sides -->
|
|
8
|
+
<div style="display: grid; grid-template-areas: '. top .' 'left . right' '. bottom .'; grid-template-columns: repeat(3, max-content); align-items: center; justify-items: center; gap: 1rem; padding-block: 2rem">
|
|
9
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="sm" style="grid-area: top" data-tooltip="Top side" data-side="top" data-arrow id="demo-tooltip-side-top">
|
|
10
|
+
Top
|
|
11
|
+
</button>
|
|
12
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="sm" style="grid-area: right" data-tooltip="Right side" data-side="right" data-arrow id="demo-tooltip-side-right">
|
|
13
|
+
Right
|
|
14
|
+
</button>
|
|
15
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="sm" style="grid-area: bottom" data-tooltip="Bottom side" data-side="bottom" data-arrow id="demo-tooltip-side-bottom">
|
|
16
|
+
Bottom
|
|
17
|
+
</button>
|
|
18
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="sm" style="grid-area: left" data-tooltip="Left side" data-side="left" data-arrow id="demo-tooltip-side-left">
|
|
19
|
+
Left
|
|
20
|
+
</button>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<!-- Alignments -->
|
|
24
|
+
<div style="display: grid; gap: 2rem; justify-items: center; padding-block: 3.5rem 2.5rem">
|
|
25
|
+
<div style="display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem">
|
|
26
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="sm" data-tooltip="Align start" data-side="top" data-align="start" data-arrow id="demo-tooltip-align-top-start">
|
|
27
|
+
Start
|
|
28
|
+
</button>
|
|
29
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="sm" data-tooltip="Align center" data-side="top" data-align="center" data-arrow id="demo-tooltip-align-top-center">
|
|
30
|
+
Center
|
|
31
|
+
</button>
|
|
32
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="sm" data-tooltip="Align end" data-side="top" data-align="end" data-arrow id="demo-tooltip-align-top-end">
|
|
33
|
+
End
|
|
34
|
+
</button>
|
|
35
|
+
</div>
|
|
36
|
+
<div style="display: grid; gap: 0.75rem; justify-items: center">
|
|
37
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="sm" data-tooltip="Align start" data-side="left" data-align="start" data-arrow id="demo-tooltip-align-left-start">
|
|
38
|
+
Start
|
|
39
|
+
</button>
|
|
40
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="sm" data-tooltip="Align center" data-side="left" data-align="center" data-arrow id="demo-tooltip-align-left-center">
|
|
41
|
+
Center
|
|
42
|
+
</button>
|
|
43
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="sm" data-tooltip="Align end" data-side="left" data-align="end" data-arrow id="demo-tooltip-align-left-end">
|
|
44
|
+
End
|
|
45
|
+
</button>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
|
|
49
|
+
<!-- Arrow -->
|
|
50
|
+
<div style="display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; padding-block: 2rem">
|
|
51
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="sm" data-tooltip="Add to library" data-arrow id="demo-tooltip-with-arrow">
|
|
52
|
+
With arrow
|
|
53
|
+
</button>
|
|
54
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="sm" data-tooltip="Add to library" id="demo-tooltip-without-arrow">
|
|
55
|
+
Without arrow
|
|
56
|
+
</button>
|
|
57
|
+
</div>
|
|
58
|
+
|
|
59
|
+
<!-- Keyboard shortcut -->
|
|
60
|
+
<div style="display: flex; align-items: center; justify-content: center; padding-block: 2rem">
|
|
61
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="icon" data-tooltip="Save changes (S)" data-arrow aria-label="Save changes" aria-keyshortcuts="S" id="demo-tooltip-keyboard">
|
|
62
|
+
<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.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z"/><path d="M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7"/><path d="M7 3v4a1 1 0 0 0 1 1h7"/></svg>
|
|
63
|
+
</button>
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
<!-- Disabled button -->
|
|
67
|
+
<div style="display: flex; align-items: center; justify-content: center; padding-block: 2rem">
|
|
68
|
+
<span class="tooltip" data-tooltip="This feature is currently unavailable" data-arrow style="display: inline-block">
|
|
69
|
+
<button type="button" class="btn" data-variant="outline" disabled aria-describedby="demo-tooltip-disabled-description">
|
|
70
|
+
Disabled
|
|
71
|
+
</button>
|
|
72
|
+
<span class="sr-only" id="demo-tooltip-disabled-description">This feature is currently unavailable</span>
|
|
73
|
+
</span>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
<!-- Long content -->
|
|
77
|
+
<div style="display: flex; align-items: center; justify-content: center; padding-block: 3rem">
|
|
78
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-tooltip="Tooltips wrap onto multiple lines once the text is longer than the 20rem maximum width." data-arrow id="demo-tooltip-long-content">
|
|
79
|
+
Long content
|
|
80
|
+
</button>
|
|
81
|
+
</div>
|
|
82
|
+
|
|
83
|
+
<!-- Right-to-left -->
|
|
84
|
+
<div dir="rtl" lang="ar" style="display: grid; gap: 2rem; justify-items: center; padding-block: 2.5rem">
|
|
85
|
+
<div style="display: flex; justify-content: center; gap: 0.75rem">
|
|
86
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="sm" data-tooltip="إضافة" data-side="inline-start" data-arrow id="demo-tooltip-rtl-inline-start">
|
|
87
|
+
بداية السطر
|
|
88
|
+
</button>
|
|
89
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="sm" data-tooltip="إضافة" data-side="inline-end" data-arrow id="demo-tooltip-rtl-inline-end">
|
|
90
|
+
نهاية السطر
|
|
91
|
+
</button>
|
|
92
|
+
</div>
|
|
93
|
+
<div style="display: flex; justify-content: center; gap: 0.75rem">
|
|
94
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="sm" data-tooltip="إضافة" data-side="right" data-arrow id="demo-tooltip-rtl-right">
|
|
95
|
+
يمين
|
|
96
|
+
</button>
|
|
97
|
+
<button type="button" class="btn tooltip" data-variant="outline" data-size="sm" data-tooltip="إضافة" data-side="left" data-arrow id="demo-tooltip-rtl-left">
|
|
98
|
+
يسار
|
|
99
|
+
</button>
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
<!-- Default -->
|
|
2
|
+
<details class="trace" open>
|
|
3
|
+
<summary>
|
|
4
|
+
<span data-slot="icon"><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"><polyline points="4 17 10 11 4 5"/><line x1="12" x2="20" y1="19" y2="19"/></svg></span>
|
|
5
|
+
<span data-slot="title">Ran pnpm install</span>
|
|
6
|
+
<span data-slot="status" data-variant="success">Completed</span>
|
|
7
|
+
</summary>
|
|
8
|
+
<div data-slot="body">
|
|
9
|
+
<p>Dependencies installed in 2.8s.</p>
|
|
10
|
+
</div>
|
|
11
|
+
</details>
|
|
12
|
+
|
|
1
13
|
<!-- Tool calls -->
|
|
2
14
|
<div style="display: flex; flex-direction: column">
|
|
3
15
|
<details class="trace" open>
|
|
@@ -23,7 +35,7 @@
|
|
|
23
35
|
</details>
|
|
24
36
|
<details class="trace">
|
|
25
37
|
<summary>
|
|
26
|
-
<span data-slot="icon"><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"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg></span>
|
|
38
|
+
<span data-slot="icon"><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="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg></span>
|
|
27
39
|
<span data-slot="title">Searched for minimumReleaseAge</span>
|
|
28
40
|
<span data-slot="status" data-variant="success">8 results</span>
|
|
29
41
|
</summary>
|
|
@@ -47,10 +47,20 @@
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
[role='menu'] > [role='none'] {
|
|
51
|
+
position: relative;
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
}
|
|
55
|
+
|
|
50
56
|
[role='menu'] [role='heading'] {
|
|
51
57
|
display: flex;
|
|
52
58
|
}
|
|
53
59
|
|
|
60
|
+
[role='menu'] [role='menuitem'][aria-haspopup='menu'] > svg:last-child {
|
|
61
|
+
margin-inline-start: auto;
|
|
62
|
+
}
|
|
63
|
+
|
|
54
64
|
[role='menu'] [role='separator'] {
|
|
55
65
|
border-style: solid;
|
|
56
66
|
border-width: 0;
|