loseta 0.16.0 → 0.18.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.
Files changed (138) hide show
  1. package/README.md +33 -8
  2. package/dist/commands/add.d.ts +8 -0
  3. package/dist/commands/add.js +60 -15
  4. package/dist/commands/add.js.map +1 -1
  5. package/dist/commands/init.js +2 -1
  6. package/dist/commands/init.js.map +1 -1
  7. package/dist/config.d.ts +7 -0
  8. package/dist/config.js +13 -0
  9. package/dist/config.js.map +1 -1
  10. package/dist/imports.d.ts +4 -0
  11. package/dist/imports.js +30 -2
  12. package/dist/imports.js.map +1 -1
  13. package/dist/install.d.ts +23 -3
  14. package/dist/install.js +84 -5
  15. package/dist/install.js.map +1 -1
  16. package/dist/style-switch.js +2 -1
  17. package/dist/style-switch.js.map +1 -1
  18. package/dist/types.d.ts +11 -0
  19. package/dist/ui.js +4 -1
  20. package/dist/ui.js.map +1 -1
  21. package/package.json +4 -3
  22. package/registry/behaviors/code-block.js +106 -0
  23. package/registry/behaviors/combobox.js +237 -0
  24. package/registry/behaviors/command.js +105 -0
  25. package/registry/behaviors/core.js +302 -0
  26. package/registry/behaviors/dialog.js +97 -0
  27. package/registry/behaviors/listbox.js +135 -0
  28. package/registry/behaviors/menu.js +586 -0
  29. package/registry/behaviors/popover.js +127 -0
  30. package/registry/behaviors/select.js +196 -0
  31. package/registry/behaviors/tabs.js +95 -0
  32. package/registry/behaviors/toast.js +137 -0
  33. package/registry/components/badge.css +4 -7
  34. package/registry/components/breadcrumb.css +9 -1
  35. package/registry/components/calendar.css +39 -0
  36. package/registry/components/card.css +5 -0
  37. package/registry/components/code-block.css +19 -0
  38. package/registry/components/input-otp.css +103 -10
  39. package/registry/components/kbd.css +8 -0
  40. package/registry/components/native-select.css +6 -0
  41. package/registry/components/select.css +3 -0
  42. package/registry/components/tooltip.css +295 -144
  43. package/registry/examples/alert-dialog.html +21 -21
  44. package/registry/examples/badge.html +37 -0
  45. package/registry/examples/breadcrumb.html +86 -6
  46. package/registry/examples/button-group.html +3 -3
  47. package/registry/examples/calendar.html +687 -51
  48. package/registry/examples/card.html +190 -4
  49. package/registry/examples/code-block.html +10 -4
  50. package/registry/examples/combobox.html +2 -0
  51. package/registry/examples/command.html +17 -17
  52. package/registry/examples/context-menu.html +18 -18
  53. package/registry/examples/dialog.html +15 -15
  54. package/registry/examples/drawer.html +22 -22
  55. package/registry/examples/input-otp.html +116 -11
  56. package/registry/examples/kbd.html +90 -2
  57. package/registry/examples/native-select.html +83 -2
  58. package/registry/examples/select.html +206 -6
  59. package/registry/examples/sheet.html +23 -23
  60. package/registry/examples/sidebar.html +11 -11
  61. package/registry/examples/toast.html +11 -0
  62. package/registry/examples/tooltip.html +75 -70
  63. package/registry/primitives/dialog-shell.css +5 -0
  64. package/registry/primitives/menu.css +15 -3
  65. package/registry/registry.json +231 -9
  66. package/registry/schema.json +17 -0
  67. package/registry/styles/luma/badge.css +28 -0
  68. package/registry/styles/luma/breadcrumb.css +2 -1
  69. package/registry/styles/luma/calendar.css +62 -0
  70. package/registry/styles/luma/card.css +9 -27
  71. package/registry/styles/luma/input-otp.css +79 -36
  72. package/registry/styles/luma/native-select.css +9 -2
  73. package/registry/styles/luma/primitives/listbox.css +8 -0
  74. package/registry/styles/luma/select.css +7 -2
  75. package/registry/styles/luma/tooltip.css +29 -16
  76. package/registry/styles/lyra/badge.css +28 -0
  77. package/registry/styles/lyra/breadcrumb.css +2 -1
  78. package/registry/styles/lyra/calendar.css +62 -0
  79. package/registry/styles/lyra/card.css +9 -27
  80. package/registry/styles/lyra/input-otp.css +79 -36
  81. package/registry/styles/lyra/native-select.css +6 -1
  82. package/registry/styles/lyra/primitives/listbox.css +8 -0
  83. package/registry/styles/lyra/select.css +6 -1
  84. package/registry/styles/lyra/tooltip.css +29 -16
  85. package/registry/styles/maia/badge.css +29 -0
  86. package/registry/styles/maia/breadcrumb.css +2 -1
  87. package/registry/styles/maia/calendar.css +62 -0
  88. package/registry/styles/maia/card.css +9 -27
  89. package/registry/styles/maia/input-otp.css +79 -36
  90. package/registry/styles/maia/native-select.css +9 -2
  91. package/registry/styles/maia/primitives/listbox.css +8 -0
  92. package/registry/styles/maia/select.css +7 -2
  93. package/registry/styles/maia/tooltip.css +29 -16
  94. package/registry/styles/mira/badge.css +32 -0
  95. package/registry/styles/mira/breadcrumb.css +2 -1
  96. package/registry/styles/mira/calendar.css +62 -0
  97. package/registry/styles/mira/card.css +9 -27
  98. package/registry/styles/mira/input-otp.css +79 -36
  99. package/registry/styles/mira/native-select.css +7 -2
  100. package/registry/styles/mira/primitives/listbox.css +8 -0
  101. package/registry/styles/mira/select.css +7 -2
  102. package/registry/styles/mira/tooltip.css +29 -16
  103. package/registry/styles/nova/badge.css +28 -0
  104. package/registry/styles/nova/breadcrumb.css +2 -1
  105. package/registry/styles/nova/calendar.css +62 -0
  106. package/registry/styles/nova/card.css +9 -27
  107. package/registry/styles/nova/input-otp.css +79 -36
  108. package/registry/styles/nova/native-select.css +9 -2
  109. package/registry/styles/nova/primitives/listbox.css +8 -0
  110. package/registry/styles/nova/select.css +7 -2
  111. package/registry/styles/nova/tooltip.css +29 -16
  112. package/registry/styles/rhea/badge.css +28 -0
  113. package/registry/styles/rhea/breadcrumb.css +2 -1
  114. package/registry/styles/rhea/calendar.css +62 -0
  115. package/registry/styles/rhea/card.css +9 -27
  116. package/registry/styles/rhea/input-otp.css +79 -36
  117. package/registry/styles/rhea/native-select.css +9 -2
  118. package/registry/styles/rhea/primitives/listbox.css +8 -0
  119. package/registry/styles/rhea/select.css +7 -2
  120. package/registry/styles/rhea/tooltip.css +29 -16
  121. package/registry/styles/sera/badge.css +29 -1
  122. package/registry/styles/sera/breadcrumb.css +2 -1
  123. package/registry/styles/sera/calendar.css +66 -0
  124. package/registry/styles/sera/card.css +9 -27
  125. package/registry/styles/sera/input-otp.css +80 -37
  126. package/registry/styles/sera/native-select.css +9 -2
  127. package/registry/styles/sera/primitives/listbox.css +8 -0
  128. package/registry/styles/sera/select.css +7 -2
  129. package/registry/styles/sera/tooltip.css +29 -16
  130. package/registry/styles/vega/badge.css +28 -0
  131. package/registry/styles/vega/breadcrumb.css +2 -1
  132. package/registry/styles/vega/calendar.css +62 -0
  133. package/registry/styles/vega/card.css +9 -27
  134. package/registry/styles/vega/input-otp.css +79 -36
  135. package/registry/styles/vega/native-select.css +9 -2
  136. package/registry/styles/vega/primitives/listbox.css +8 -0
  137. package/registry/styles/vega/select.css +7 -2
  138. package/registry/styles/vega/tooltip.css +29 -16
@@ -1,5 +1,5 @@
1
1
  <!-- Default -->
2
- <button type="button" class="btn" data-variant="outline">
2
+ <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-alert-dialog-default">
3
3
  Open alert dialog
4
4
  </button>
5
5
 
@@ -12,14 +12,14 @@
12
12
  </p>
13
13
  </header>
14
14
  <footer>
15
- <button type="button" class="btn" data-variant="outline">Cancel</button>
16
- <button type="button" class="btn">Continue</button>
15
+ <button type="button" class="btn" data-variant="outline" data-close-dialog>Cancel</button>
16
+ <button type="button" class="btn" data-close-dialog>Continue</button>
17
17
  </footer>
18
18
  </div>
19
19
  </dialog>
20
20
 
21
21
  <!-- Destructive -->
22
- <button type="button" class="btn" data-variant="destructive">
22
+ <button type="button" class="btn" data-variant="destructive" data-open-dialog="demo-alert-dialog-destructive">
23
23
  Delete chat
24
24
  </button>
25
25
 
@@ -33,14 +33,14 @@
33
33
  </p>
34
34
  </header>
35
35
  <footer>
36
- <button type="button" class="btn" data-variant="outline">Cancel</button>
37
- <button type="button" class="btn" data-variant="destructive">Delete</button>
36
+ <button type="button" class="btn" data-variant="outline" data-close-dialog>Cancel</button>
37
+ <button type="button" class="btn" data-variant="destructive" data-close-dialog>Delete</button>
38
38
  </footer>
39
39
  </div>
40
40
  </dialog>
41
41
 
42
42
  <!-- Small -->
43
- <button type="button" class="btn" data-variant="outline">
43
+ <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-alert-dialog-small">
44
44
  Show small alert dialog
45
45
  </button>
46
46
 
@@ -53,14 +53,14 @@
53
53
  </p>
54
54
  </header>
55
55
  <footer>
56
- <button type="button" class="btn" data-variant="outline">Don't allow</button>
57
- <button type="button" class="btn">Allow</button>
56
+ <button type="button" class="btn" data-variant="outline" data-close-dialog>Don't allow</button>
57
+ <button type="button" class="btn" data-close-dialog>Allow</button>
58
58
  </footer>
59
59
  </div>
60
60
  </dialog>
61
61
 
62
62
  <!-- Media -->
63
- <button type="button" class="btn" data-variant="outline">
63
+ <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-alert-dialog-media">
64
64
  Share project
65
65
  </button>
66
66
 
@@ -74,14 +74,14 @@
74
74
  </p>
75
75
  </header>
76
76
  <footer>
77
- <button type="button" class="btn" data-variant="outline">Cancel</button>
78
- <button type="button" class="btn">Share</button>
77
+ <button type="button" class="btn" data-variant="outline" data-close-dialog>Cancel</button>
78
+ <button type="button" class="btn" data-close-dialog>Share</button>
79
79
  </footer>
80
80
  </div>
81
81
  </dialog>
82
82
 
83
83
  <!-- Small with media -->
84
- <button type="button" class="btn" data-variant="outline">
84
+ <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-alert-dialog-small-media">
85
85
  Show small media alert
86
86
  </button>
87
87
 
@@ -95,14 +95,14 @@
95
95
  </p>
96
96
  </header>
97
97
  <footer>
98
- <button type="button" class="btn" data-variant="outline">Don't allow</button>
99
- <button type="button" class="btn">Allow</button>
98
+ <button type="button" class="btn" data-variant="outline" data-close-dialog>Don't allow</button>
99
+ <button type="button" class="btn" data-close-dialog>Allow</button>
100
100
  </footer>
101
101
  </div>
102
102
  </dialog>
103
103
 
104
104
  <!-- With image -->
105
- <button type="button" class="btn" data-variant="outline">
105
+ <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-alert-dialog-image">
106
106
  Remove teammate
107
107
  </button>
108
108
 
@@ -116,15 +116,15 @@
116
116
  </p>
117
117
  </header>
118
118
  <footer>
119
- <button type="button" class="btn" data-variant="outline">Cancel</button>
120
- <button type="button" class="btn" data-variant="destructive">Remove</button>
119
+ <button type="button" class="btn" data-variant="outline" data-close-dialog>Cancel</button>
120
+ <button type="button" class="btn" data-variant="destructive" data-close-dialog>Remove</button>
121
121
  </footer>
122
122
  </div>
123
123
  </dialog>
124
124
 
125
125
  <!-- Right-to-left -->
126
126
  <div dir="rtl" lang="ar" style="display: flex; flex-wrap: wrap; gap: 0.5rem">
127
- <button type="button" class="btn" data-variant="outline">
127
+ <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-alert-dialog-rtl">
128
128
  إظهار الحوار
129
129
  </button>
130
130
 
@@ -138,8 +138,8 @@
138
138
  </p>
139
139
  </header>
140
140
  <footer>
141
- <button type="button" class="btn" data-variant="outline">عدم السماح</button>
142
- <button type="button" class="btn">السماح</button>
141
+ <button type="button" class="btn" data-variant="outline" data-close-dialog>عدم السماح</button>
142
+ <button type="button" class="btn" data-close-dialog>السماح</button>
143
143
  </footer>
144
144
  </div>
145
145
  </dialog>
@@ -10,3 +10,40 @@
10
10
  <span class="badge" data-variant="ghost">Ghost</span>
11
11
  <span class="badge" data-variant="link">Link</span>
12
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
- <!-- Collapsed -->
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>
@@ -83,10 +83,10 @@
83
83
  <div class="btn-group" role="group" aria-label="Copilot">
84
84
  <button type="button" class="btn" 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-start"><path d="M12 8V4H8"/><rect width="16" height="12" x="4" y="8" rx="2"/><path d="M2 14h2"/><path d="M20 14h2"/><path d="M15 13v2"/><path d="M9 13v2"/></svg>Copilot</button>
85
85
  <div class="popover">
86
- <button type="button" class="btn" data-variant="outline" data-size="icon" aria-expanded="false" aria-label="Start a new task"><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 9 6 6 6-6"/></svg></button>
87
- <div data-popover data-side="bottom" data-align="end" aria-hidden="true">
86
+ <button type="button" class="btn" data-variant="outline" data-size="icon" aria-haspopup="dialog" aria-expanded="false" aria-controls="demo-button-group-task-panel" aria-label="Start a new task"><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 9 6 6 6-6"/></svg></button>
87
+ <div data-popover data-side="bottom" data-align="end" id="demo-button-group-task-panel" role="dialog" tabindex="-1" aria-hidden="true" aria-labelledby="demo-button-group-task-title">
88
88
  <header>
89
- <h3 data-slot="title">Start a new task</h3>
89
+ <h3 data-slot="title" id="demo-button-group-task-title">Start a new task</h3>
90
90
  <p data-slot="description">Describe your task in natural language.</p>
91
91
  </header>
92
92
  <div class="field">