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
|
@@ -10,30 +10,98 @@
|
|
|
10
10
|
> footer {
|
|
11
11
|
display: flex;
|
|
12
12
|
align-items: center;
|
|
13
|
+
gap: 0.5rem;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
> section {
|
|
17
|
+
display: flex;
|
|
18
|
+
min-height: 0;
|
|
16
19
|
flex: 1 1 auto;
|
|
20
|
+
flex-direction: column;
|
|
17
21
|
overflow-y: auto;
|
|
18
22
|
}
|
|
19
23
|
|
|
24
|
+
[data-slot='brand'] {
|
|
25
|
+
display: flex;
|
|
26
|
+
min-width: 0;
|
|
27
|
+
align-items: center;
|
|
28
|
+
gap: 0.5rem;
|
|
29
|
+
text-decoration-line: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[data-slot='brand'] > svg {
|
|
33
|
+
flex-shrink: 0;
|
|
34
|
+
pointer-events: none;
|
|
35
|
+
}
|
|
36
|
+
|
|
20
37
|
nav ul {
|
|
21
38
|
margin: 0;
|
|
39
|
+
display: flex;
|
|
22
40
|
list-style-type: none;
|
|
41
|
+
flex-direction: column;
|
|
23
42
|
padding: 0;
|
|
24
43
|
}
|
|
25
44
|
|
|
45
|
+
nav li {
|
|
46
|
+
position: relative;
|
|
47
|
+
}
|
|
48
|
+
|
|
26
49
|
nav a {
|
|
27
50
|
display: flex;
|
|
28
51
|
width: 100%;
|
|
52
|
+
min-width: 0;
|
|
29
53
|
align-items: center;
|
|
30
54
|
gap: 0.5rem;
|
|
31
55
|
outline-style: none;
|
|
56
|
+
text-decoration-line: none;
|
|
32
57
|
|
|
33
58
|
@media (forced-colors: active) {
|
|
34
59
|
outline: 2px solid transparent;
|
|
35
60
|
outline-offset: 2px;
|
|
36
61
|
}
|
|
37
62
|
}
|
|
63
|
+
|
|
64
|
+
nav a > svg {
|
|
65
|
+
flex-shrink: 0;
|
|
66
|
+
pointer-events: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
nav > header {
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
gap: 0.5rem;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
:is([data-slot='group-action'], [data-slot='menu-action']) {
|
|
76
|
+
display: inline-flex;
|
|
77
|
+
flex-shrink: 0;
|
|
78
|
+
align-items: center;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
outline-style: none;
|
|
81
|
+
|
|
82
|
+
@media (forced-colors: active) {
|
|
83
|
+
outline: 2px solid transparent;
|
|
84
|
+
outline-offset: 2px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
> svg {
|
|
88
|
+
pointer-events: none;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:is([data-slot='menu-action'], [data-slot='menu-badge']) {
|
|
93
|
+
position: absolute;
|
|
94
|
+
inset-block-start: 50%;
|
|
95
|
+
translate: 0 -50%;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
[data-slot='menu-badge'] {
|
|
99
|
+
display: inline-flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
justify-content: center;
|
|
102
|
+
pointer-events: none;
|
|
103
|
+
-webkit-user-select: none;
|
|
104
|
+
user-select: none;
|
|
105
|
+
}
|
|
38
106
|
}
|
|
39
107
|
}
|
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
/* Switch */
|
|
2
2
|
@layer loseta.components {
|
|
3
3
|
.switch {
|
|
4
|
+
position: relative;
|
|
4
5
|
display: inline-flex;
|
|
5
6
|
flex-shrink: 0;
|
|
6
7
|
appearance: none;
|
|
7
8
|
align-items: center;
|
|
9
|
+
cursor: pointer;
|
|
8
10
|
transition-property: all;
|
|
9
11
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
10
12
|
transition-duration: 150ms;
|
|
11
13
|
outline-style: none;
|
|
12
14
|
|
|
15
|
+
@media (forced-colors: active) {
|
|
16
|
+
outline: 2px solid transparent;
|
|
17
|
+
outline-offset: 2px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&::after {
|
|
21
|
+
position: absolute;
|
|
22
|
+
inset-block: -0.5rem;
|
|
23
|
+
inset-inline: -0.75rem;
|
|
24
|
+
content: '';
|
|
25
|
+
}
|
|
26
|
+
|
|
13
27
|
&:disabled {
|
|
14
28
|
cursor: not-allowed;
|
|
15
29
|
opacity: 50%;
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
font-weight: 500;
|
|
49
49
|
white-space: nowrap;
|
|
50
50
|
|
|
51
|
-
&:has([role='checkbox']) {
|
|
51
|
+
&:has(:is([role='checkbox'], input[type='checkbox'])) {
|
|
52
52
|
padding-inline-end: 0;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
> [role='checkbox'] {
|
|
55
|
+
> :is([role='checkbox'], input[type='checkbox']) {
|
|
56
56
|
translate: 0 2px;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
vertical-align: middle;
|
|
62
62
|
white-space: nowrap;
|
|
63
63
|
|
|
64
|
-
&:has([role='checkbox']) {
|
|
64
|
+
&:has(:is([role='checkbox'], input[type='checkbox'])) {
|
|
65
65
|
padding-inline-end: 0;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
> [role='checkbox'] {
|
|
68
|
+
> :is([role='checkbox'], input[type='checkbox']) {
|
|
69
69
|
translate: 0 2px;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
@@ -5,8 +5,14 @@
|
|
|
5
5
|
field-sizing: content;
|
|
6
6
|
min-height: 4rem;
|
|
7
7
|
width: 100%;
|
|
8
|
+
min-width: 0;
|
|
8
9
|
outline-style: none;
|
|
9
10
|
|
|
11
|
+
@media (forced-colors: active) {
|
|
12
|
+
outline: 2px solid transparent;
|
|
13
|
+
outline-offset: 2px;
|
|
14
|
+
}
|
|
15
|
+
|
|
10
16
|
&::placeholder {
|
|
11
17
|
color: var(--muted-foreground);
|
|
12
18
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* Toggle Group */
|
|
2
2
|
@layer loseta.components {
|
|
3
3
|
.toggle-group {
|
|
4
|
+
isolation: isolate;
|
|
4
5
|
display: flex;
|
|
5
6
|
width: fit-content;
|
|
6
7
|
align-items: center;
|
|
@@ -13,5 +14,12 @@
|
|
|
13
14
|
> .toggle {
|
|
14
15
|
flex-shrink: 0;
|
|
15
16
|
}
|
|
17
|
+
|
|
18
|
+
/* A joined group collapses the shared borders, so the focused item has to
|
|
19
|
+
paint above its neighbours or the ring is clipped at the seam. */
|
|
20
|
+
> .toggle:focus-visible {
|
|
21
|
+
position: relative;
|
|
22
|
+
z-index: 1;
|
|
23
|
+
}
|
|
16
24
|
}
|
|
17
25
|
}
|
|
@@ -3,28 +3,26 @@
|
|
|
3
3
|
.tooltip[data-tooltip] {
|
|
4
4
|
position: relative;
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
&::before {
|
|
7
7
|
pointer-events: none;
|
|
8
8
|
visibility: hidden;
|
|
9
9
|
position: absolute;
|
|
10
10
|
z-index: 60;
|
|
11
|
-
|
|
12
|
-
max-
|
|
13
|
-
|
|
14
|
-
scale: 95% 95%;
|
|
15
|
-
overflow: hidden;
|
|
16
|
-
text-overflow: ellipsis;
|
|
17
|
-
white-space: nowrap;
|
|
11
|
+
inline-size: max-content;
|
|
12
|
+
max-inline-size: 20rem;
|
|
13
|
+
white-space: normal;
|
|
18
14
|
opacity: 0%;
|
|
19
|
-
|
|
15
|
+
scale: 95% 95%;
|
|
16
|
+
transition-property: opacity, scale, visibility;
|
|
20
17
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
21
18
|
transition-duration: 150ms;
|
|
22
19
|
content: attr(data-tooltip);
|
|
23
20
|
}
|
|
24
21
|
|
|
25
|
-
&:is(:hover, :focus-visible)
|
|
22
|
+
&:is(:hover, :focus-visible)::before {
|
|
26
23
|
visibility: visible;
|
|
27
24
|
opacity: 100%;
|
|
25
|
+
scale: 100% 100%;
|
|
28
26
|
}
|
|
29
27
|
|
|
30
28
|
&:not([data-side]),
|
|
@@ -32,7 +30,22 @@
|
|
|
32
30
|
&::before {
|
|
33
31
|
bottom: 100%;
|
|
34
32
|
margin-bottom: 0.375rem;
|
|
35
|
-
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:not([data-align]),
|
|
36
|
+
&[data-align='center'] {
|
|
37
|
+
&::before {
|
|
38
|
+
left: 50%;
|
|
39
|
+
translate: -50%;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&[data-align='start']::before {
|
|
44
|
+
left: 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&[data-align='end']::before {
|
|
48
|
+
right: 0;
|
|
36
49
|
}
|
|
37
50
|
}
|
|
38
51
|
|
|
@@ -40,23 +53,8 @@
|
|
|
40
53
|
&::before {
|
|
41
54
|
top: 100%;
|
|
42
55
|
margin-top: 0.375rem;
|
|
43
|
-
translate: 0 -0.5rem;
|
|
44
56
|
}
|
|
45
|
-
}
|
|
46
57
|
|
|
47
|
-
&:not([data-side]),
|
|
48
|
-
&[data-side='top'],
|
|
49
|
-
&[data-side='bottom'] {
|
|
50
|
-
&[data-align='start'] {
|
|
51
|
-
&::before {
|
|
52
|
-
left: 0;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
&[data-align='end'] {
|
|
56
|
-
&::before {
|
|
57
|
-
right: 0;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
58
|
&:not([data-align]),
|
|
61
59
|
&[data-align='center'] {
|
|
62
60
|
&::before {
|
|
@@ -64,29 +62,37 @@
|
|
|
64
62
|
translate: -50%;
|
|
65
63
|
}
|
|
66
64
|
}
|
|
67
|
-
}
|
|
68
65
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
right: 100%;
|
|
72
|
-
margin-right: 0.375rem;
|
|
73
|
-
translate: 0.5rem;
|
|
66
|
+
&[data-align='start']::before {
|
|
67
|
+
left: 0;
|
|
74
68
|
}
|
|
75
|
-
}
|
|
76
69
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
left: 100%;
|
|
80
|
-
margin-left: 0.375rem;
|
|
81
|
-
translate: -0.5rem;
|
|
70
|
+
&[data-align='end']::before {
|
|
71
|
+
right: 0;
|
|
82
72
|
}
|
|
83
73
|
}
|
|
84
74
|
|
|
75
|
+
&[data-side='left'],
|
|
85
76
|
&[data-side='inline-start'] {
|
|
86
77
|
&::before {
|
|
87
78
|
right: 100%;
|
|
88
79
|
margin-right: 0.375rem;
|
|
89
|
-
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:not([data-align]),
|
|
83
|
+
&[data-align='center'] {
|
|
84
|
+
&::before {
|
|
85
|
+
top: 50%;
|
|
86
|
+
translate: 0 -50%;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&[data-align='start']::before {
|
|
91
|
+
top: 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&[data-align='end']::before {
|
|
95
|
+
bottom: 0;
|
|
90
96
|
}
|
|
91
97
|
}
|
|
92
98
|
|
|
@@ -96,15 +102,30 @@
|
|
|
96
102
|
left: 100%;
|
|
97
103
|
margin-right: 0;
|
|
98
104
|
margin-left: 0.375rem;
|
|
99
|
-
translate: -0.5rem;
|
|
100
105
|
}
|
|
101
106
|
}
|
|
102
107
|
|
|
108
|
+
&[data-side='right'],
|
|
103
109
|
&[data-side='inline-end'] {
|
|
104
110
|
&::before {
|
|
105
111
|
left: 100%;
|
|
106
112
|
margin-left: 0.375rem;
|
|
107
|
-
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&:not([data-align]),
|
|
116
|
+
&[data-align='center'] {
|
|
117
|
+
&::before {
|
|
118
|
+
top: 50%;
|
|
119
|
+
translate: 0 -50%;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&[data-align='start']::before {
|
|
124
|
+
top: 0;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&[data-align='end']::before {
|
|
128
|
+
bottom: 0;
|
|
108
129
|
}
|
|
109
130
|
}
|
|
110
131
|
|
|
@@ -114,30 +135,6 @@
|
|
|
114
135
|
left: auto;
|
|
115
136
|
margin-right: 0.375rem;
|
|
116
137
|
margin-left: 0;
|
|
117
|
-
translate: 0.5rem;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&[data-side='left'],
|
|
122
|
-
&[data-side='right'],
|
|
123
|
-
&[data-side='inline-start'],
|
|
124
|
-
&[data-side='inline-end'] {
|
|
125
|
-
&[data-align='start'] {
|
|
126
|
-
&::before {
|
|
127
|
-
top: 0;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
&[data-align='end'] {
|
|
131
|
-
&::before {
|
|
132
|
-
bottom: 0;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
&:not([data-align]),
|
|
136
|
-
&[data-align='center'] {
|
|
137
|
-
&::before {
|
|
138
|
-
top: 50%;
|
|
139
|
-
translate: 0 -50%;
|
|
140
|
-
}
|
|
141
138
|
}
|
|
142
139
|
}
|
|
143
140
|
|
|
@@ -204,27 +201,23 @@
|
|
|
204
201
|
}
|
|
205
202
|
}
|
|
206
203
|
|
|
207
|
-
&[data-side='left']
|
|
204
|
+
&[data-side='left'],
|
|
205
|
+
&[data-side='inline-start'] {
|
|
208
206
|
&[data-arrow]::after {
|
|
209
207
|
right: calc(100% + 0.375rem);
|
|
210
208
|
top: 50%;
|
|
211
209
|
translate: 50% -50%;
|
|
212
210
|
}
|
|
213
|
-
}
|
|
214
211
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
top: 50%;
|
|
219
|
-
translate: -50% -50%;
|
|
212
|
+
&[data-arrow][data-align='start']::after {
|
|
213
|
+
top: 0.75rem;
|
|
214
|
+
translate: 50% 0;
|
|
220
215
|
}
|
|
221
|
-
}
|
|
222
216
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
translate: 50% -50%;
|
|
217
|
+
&[data-arrow][data-align='end']::after {
|
|
218
|
+
top: auto;
|
|
219
|
+
bottom: 0.75rem;
|
|
220
|
+
translate: 50% 0;
|
|
228
221
|
}
|
|
229
222
|
}
|
|
230
223
|
|
|
@@ -234,14 +227,34 @@
|
|
|
234
227
|
left: calc(100% + 0.375rem);
|
|
235
228
|
translate: -50% -50%;
|
|
236
229
|
}
|
|
230
|
+
|
|
231
|
+
&[data-arrow][data-align='start']::after {
|
|
232
|
+
translate: -50% 0;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
&[data-arrow][data-align='end']::after {
|
|
236
|
+
translate: -50% 0;
|
|
237
|
+
}
|
|
237
238
|
}
|
|
238
239
|
|
|
240
|
+
&[data-side='right'],
|
|
239
241
|
&[data-side='inline-end'] {
|
|
240
242
|
&[data-arrow]::after {
|
|
241
243
|
left: calc(100% + 0.375rem);
|
|
242
244
|
top: 50%;
|
|
243
245
|
translate: -50% -50%;
|
|
244
246
|
}
|
|
247
|
+
|
|
248
|
+
&[data-arrow][data-align='start']::after {
|
|
249
|
+
top: 0.75rem;
|
|
250
|
+
translate: -50% 0;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
&[data-arrow][data-align='end']::after {
|
|
254
|
+
top: auto;
|
|
255
|
+
bottom: 0.75rem;
|
|
256
|
+
translate: -50% 0;
|
|
257
|
+
}
|
|
245
258
|
}
|
|
246
259
|
|
|
247
260
|
&[data-side='inline-end']:dir(rtl) {
|
|
@@ -250,6 +263,21 @@
|
|
|
250
263
|
left: auto;
|
|
251
264
|
translate: 50% -50%;
|
|
252
265
|
}
|
|
266
|
+
|
|
267
|
+
&[data-arrow][data-align='start']::after {
|
|
268
|
+
translate: 50% 0;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
&[data-arrow][data-align='end']::after {
|
|
272
|
+
translate: 50% 0;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
@media (prefers-reduced-motion: reduce) {
|
|
278
|
+
.tooltip[data-tooltip]::before,
|
|
279
|
+
.tooltip[data-tooltip][data-arrow]::after {
|
|
280
|
+
transition-duration: 0s;
|
|
253
281
|
}
|
|
254
282
|
}
|
|
255
283
|
}
|
|
@@ -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>
|