@zazz-ui/core 0.1.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 (260) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/LICENSE +21 -0
  3. package/README.md +61 -0
  4. package/dist/sri.json +75 -0
  5. package/dist/zazz.css +1 -0
  6. package/dist/zazz.js +1 -0
  7. package/examples/about.html +590 -0
  8. package/examples/components.html +1040 -0
  9. package/examples/forms.html +511 -0
  10. package/examples/index.html +268 -0
  11. package/examples/layout.html +320 -0
  12. package/examples/products.html +846 -0
  13. package/examples/responsive.html +339 -0
  14. package/package.json +85 -0
  15. package/src/base/_layers.css +12 -0
  16. package/src/base/_layout.css +568 -0
  17. package/src/base/_reset.css +515 -0
  18. package/src/base/_typography.css +495 -0
  19. package/src/base/_utilities.css +6628 -0
  20. package/src/base/_variables.css +682 -0
  21. package/src/base/_view-transitions.css +103 -0
  22. package/src/base/command-score.d.ts +12 -0
  23. package/src/base/command-score.d.ts.map +1 -0
  24. package/src/base/command-score.js +151 -0
  25. package/src/base/command-score.ts +192 -0
  26. package/src/base/dialog-lifecycle.d.ts +11 -0
  27. package/src/base/dialog-lifecycle.d.ts.map +1 -0
  28. package/src/base/dialog-lifecycle.js +65 -0
  29. package/src/base/dialog-lifecycle.ts +80 -0
  30. package/src/base/embla.d.ts +90 -0
  31. package/src/base/embla.d.ts.map +1 -0
  32. package/src/base/embla.js +643 -0
  33. package/src/base/embla.ts +791 -0
  34. package/src/base/hotkeys.d.ts +82 -0
  35. package/src/base/hotkeys.d.ts.map +1 -0
  36. package/src/base/hotkeys.js +141 -0
  37. package/src/base/hotkeys.ts +195 -0
  38. package/src/base/navigation.d.ts +2 -0
  39. package/src/base/navigation.d.ts.map +1 -0
  40. package/src/base/navigation.js +136 -0
  41. package/src/base/navigation.ts +151 -0
  42. package/src/base/reveal.d.ts +80 -0
  43. package/src/base/reveal.d.ts.map +1 -0
  44. package/src/base/reveal.js +305 -0
  45. package/src/base/reveal.ts +379 -0
  46. package/src/base/signals.d.ts +89 -0
  47. package/src/base/signals.d.ts.map +1 -0
  48. package/src/base/signals.js +134 -0
  49. package/src/base/signals.ts +164 -0
  50. package/src/base/typeahead.d.ts +105 -0
  51. package/src/base/typeahead.d.ts.map +1 -0
  52. package/src/base/typeahead.js +411 -0
  53. package/src/base/typeahead.ts +500 -0
  54. package/src/base/utils.d.ts +56 -0
  55. package/src/base/utils.d.ts.map +1 -0
  56. package/src/base/utils.js +88 -0
  57. package/src/base/utils.ts +98 -0
  58. package/src/base/zazz-element.d.ts +44 -0
  59. package/src/base/zazz-element.d.ts.map +1 -0
  60. package/src/base/zazz-element.js +59 -0
  61. package/src/base/zazz-element.ts +73 -0
  62. package/src/globals.d.ts +148 -0
  63. package/src/head.d.ts +95 -0
  64. package/src/head.d.ts.map +1 -0
  65. package/src/head.js +311 -0
  66. package/src/head.ts +433 -0
  67. package/src/index.css +71 -0
  68. package/src/index.d.ts +36 -0
  69. package/src/index.d.ts.map +1 -0
  70. package/src/index.js +35 -0
  71. package/src/index.ts +36 -0
  72. package/src/manifest.d.ts +90 -0
  73. package/src/manifest.d.ts.map +1 -0
  74. package/src/manifest.js +614 -0
  75. package/src/manifest.ts +667 -0
  76. package/src/primitives/accordion/accordion.css +104 -0
  77. package/src/primitives/accordion/accordion.html +69 -0
  78. package/src/primitives/alert-dialog/alert-dialog.css +38 -0
  79. package/src/primitives/alert-dialog/alert-dialog.html +53 -0
  80. package/src/primitives/autocomplete/autocomplete-groups.html +77 -0
  81. package/src/primitives/autocomplete/autocomplete.css +114 -0
  82. package/src/primitives/autocomplete/autocomplete.d.ts +30 -0
  83. package/src/primitives/autocomplete/autocomplete.d.ts.map +1 -0
  84. package/src/primitives/autocomplete/autocomplete.html +66 -0
  85. package/src/primitives/autocomplete/autocomplete.js +41 -0
  86. package/src/primitives/autocomplete/autocomplete.ts +46 -0
  87. package/src/primitives/avatar/avatar.html +44 -0
  88. package/src/primitives/badge/badge-icon.html +36 -0
  89. package/src/primitives/badge/badge.css +251 -0
  90. package/src/primitives/badge/badge.html +7 -0
  91. package/src/primitives/breadcrumbs/breadcrumbs.html +9 -0
  92. package/src/primitives/button/button-icon-only.html +84 -0
  93. package/src/primitives/button/button-icon.html +82 -0
  94. package/src/primitives/button/button.css +319 -0
  95. package/src/primitives/button/button.html +8 -0
  96. package/src/primitives/button-group/button-group-vertical.html +6 -0
  97. package/src/primitives/button-group/button-group.css +94 -0
  98. package/src/primitives/button-group/button-group.html +64 -0
  99. package/src/primitives/card/card-subgrid.html +118 -0
  100. package/src/primitives/card/card.html +53 -0
  101. package/src/primitives/carousel/carousel.css +61 -0
  102. package/src/primitives/carousel/carousel.d.ts +16 -0
  103. package/src/primitives/carousel/carousel.d.ts.map +1 -0
  104. package/src/primitives/carousel/carousel.html +315 -0
  105. package/src/primitives/carousel/carousel.js +73 -0
  106. package/src/primitives/carousel/carousel.ts +84 -0
  107. package/src/primitives/checkbox/checkbox-tasklist.html +71 -0
  108. package/src/primitives/checkbox/checkbox.css +82 -0
  109. package/src/primitives/checkbox/checkbox.d.ts +21 -0
  110. package/src/primitives/checkbox/checkbox.d.ts.map +1 -0
  111. package/src/primitives/checkbox/checkbox.html +17 -0
  112. package/src/primitives/checkbox/checkbox.js +190 -0
  113. package/src/primitives/checkbox/checkbox.ts +219 -0
  114. package/src/primitives/combobox/combobox-multiselect.html +91 -0
  115. package/src/primitives/combobox/combobox.css +307 -0
  116. package/src/primitives/combobox/combobox.d.ts +100 -0
  117. package/src/primitives/combobox/combobox.d.ts.map +1 -0
  118. package/src/primitives/combobox/combobox.html +73 -0
  119. package/src/primitives/combobox/combobox.js +503 -0
  120. package/src/primitives/combobox/combobox.ts +559 -0
  121. package/src/primitives/command/command-actions.d.ts +31 -0
  122. package/src/primitives/command/command-actions.d.ts.map +1 -0
  123. package/src/primitives/command/command-actions.html +89 -0
  124. package/src/primitives/command/command-actions.js +70 -0
  125. package/src/primitives/command/command-actions.ts +77 -0
  126. package/src/primitives/command/command-dialog.html +77 -0
  127. package/src/primitives/command/command.css +151 -0
  128. package/src/primitives/command/command.d.ts +52 -0
  129. package/src/primitives/command/command.d.ts.map +1 -0
  130. package/src/primitives/command/command.html +119 -0
  131. package/src/primitives/command/command.js +146 -0
  132. package/src/primitives/command/command.ts +157 -0
  133. package/src/primitives/dialog/dialog-with-form.html +200 -0
  134. package/src/primitives/dialog/dialog.css +229 -0
  135. package/src/primitives/dialog/dialog.html +90 -0
  136. package/src/primitives/fields/fields.css +278 -0
  137. package/src/primitives/input/input-icon-leading.html +19 -0
  138. package/src/primitives/input/input-icon-trailing.html +18 -0
  139. package/src/primitives/input/input.css +114 -0
  140. package/src/primitives/input/input.html +61 -0
  141. package/src/primitives/input-group/input-group-password-group.html +108 -0
  142. package/src/primitives/input-group/input-group.css +215 -0
  143. package/src/primitives/input-group/input-group.html +132 -0
  144. package/src/primitives/kbd/kbd-group.html +18 -0
  145. package/src/primitives/kbd/kbd.css +87 -0
  146. package/src/primitives/kbd/kbd.html +7 -0
  147. package/src/primitives/lightbox/lightbox.css +459 -0
  148. package/src/primitives/lightbox/lightbox.d.ts +7 -0
  149. package/src/primitives/lightbox/lightbox.d.ts.map +1 -0
  150. package/src/primitives/lightbox/lightbox.html +665 -0
  151. package/src/primitives/lightbox/lightbox.js +96 -0
  152. package/src/primitives/lightbox/lightbox.ts +113 -0
  153. package/src/primitives/menu/menu-interest.html +52 -0
  154. package/src/primitives/menu/menu.css +55 -0
  155. package/src/primitives/menu/menu.d.ts +38 -0
  156. package/src/primitives/menu/menu.d.ts.map +1 -0
  157. package/src/primitives/menu/menu.html +70 -0
  158. package/src/primitives/menu/menu.js +117 -0
  159. package/src/primitives/menu/menu.ts +131 -0
  160. package/src/primitives/menubar/menubar-help-search.html +103 -0
  161. package/src/primitives/menubar/menubar.html +166 -0
  162. package/src/primitives/meter/meter.css +178 -0
  163. package/src/primitives/meter/meter.html +38 -0
  164. package/src/primitives/mobile-menu/mobile-menu.css +145 -0
  165. package/src/primitives/mobile-menu/mobile-menu.html +614 -0
  166. package/src/primitives/navigation-menu/navigation-menu-featured.html +76 -0
  167. package/src/primitives/navigation-menu/navigation-menu-icon-grid.html +158 -0
  168. package/src/primitives/navigation-menu/navigation-menu-interest.html +103 -0
  169. package/src/primitives/navigation-menu/navigation-menu-megamenu.html +141 -0
  170. package/src/primitives/navigation-menu/navigation-menu-simple.html +96 -0
  171. package/src/primitives/navigation-menu/navigation-menu.css +295 -0
  172. package/src/primitives/navigation-menu/navigation-menu.html +576 -0
  173. package/src/primitives/otp/otp.css +126 -0
  174. package/src/primitives/otp/otp.d.ts +89 -0
  175. package/src/primitives/otp/otp.d.ts.map +1 -0
  176. package/src/primitives/otp/otp.html +22 -0
  177. package/src/primitives/otp/otp.js +226 -0
  178. package/src/primitives/otp/otp.ts +279 -0
  179. package/src/primitives/password-group/password-group.css +238 -0
  180. package/src/primitives/password-group/password-group.d.ts +25 -0
  181. package/src/primitives/password-group/password-group.d.ts.map +1 -0
  182. package/src/primitives/password-group/password-group.html +109 -0
  183. package/src/primitives/password-group/password-group.js +76 -0
  184. package/src/primitives/password-group/password-group.ts +95 -0
  185. package/src/primitives/popover/popover.css +233 -0
  186. package/src/primitives/progress/progress-indeterminate.html +1 -0
  187. package/src/primitives/progress/progress.css +105 -0
  188. package/src/primitives/progress/progress.html +7 -0
  189. package/src/primitives/prose/prose.html +65 -0
  190. package/src/primitives/radio/radio.css +84 -0
  191. package/src/primitives/radio/radio.html +17 -0
  192. package/src/primitives/reveal/reveal.css +167 -0
  193. package/src/primitives/select/multiselect.d.ts +43 -0
  194. package/src/primitives/select/multiselect.d.ts.map +1 -0
  195. package/src/primitives/select/multiselect.js +147 -0
  196. package/src/primitives/select/multiselect.ts +188 -0
  197. package/src/primitives/select/select-align.html +49 -0
  198. package/src/primitives/select/select-multiple.html +12 -0
  199. package/src/primitives/select/select-sides.html +65 -0
  200. package/src/primitives/select/select.css +481 -0
  201. package/src/primitives/select/select.html +16 -0
  202. package/src/primitives/separator/separator.css +49 -0
  203. package/src/primitives/separator/separator.html +16 -0
  204. package/src/primitives/slider/slider.css +122 -0
  205. package/src/primitives/slider/slider.html +1 -0
  206. package/src/primitives/switch/switch.css +126 -0
  207. package/src/primitives/switch/switch.html +13 -0
  208. package/src/primitives/table/table-alternating.html +36 -0
  209. package/src/primitives/table/table-grid.html +30 -0
  210. package/src/primitives/table/table-size-sm.html +26 -0
  211. package/src/primitives/table/table.css +158 -0
  212. package/src/primitives/table/table.html +45 -0
  213. package/src/primitives/tabs/tabs.css +328 -0
  214. package/src/primitives/tabs/tabs.d.ts +35 -0
  215. package/src/primitives/tabs/tabs.d.ts.map +1 -0
  216. package/src/primitives/tabs/tabs.html +75 -0
  217. package/src/primitives/tabs/tabs.js +84 -0
  218. package/src/primitives/tabs/tabs.ts +93 -0
  219. package/src/primitives/textarea/textarea.css +78 -0
  220. package/src/primitives/textarea/textarea.html +10 -0
  221. package/src/primitives/toaster/toaster.css +309 -0
  222. package/src/primitives/toaster/toaster.d.ts +138 -0
  223. package/src/primitives/toaster/toaster.d.ts.map +1 -0
  224. package/src/primitives/toaster/toaster.html +77 -0
  225. package/src/primitives/toaster/toaster.js +736 -0
  226. package/src/primitives/toaster/toaster.ts +823 -0
  227. package/src/primitives/toggle/toggle.css +295 -0
  228. package/src/primitives/toggle/toggle.html +68 -0
  229. package/src/primitives/toggle-group/toggle-group-multiple.html +14 -0
  230. package/src/primitives/toggle-group/toggle-group-vertical.html +14 -0
  231. package/src/primitives/toggle-group/toggle-group.css +73 -0
  232. package/src/primitives/toggle-group/toggle-group.html +53 -0
  233. package/src/primitives/toolbar/toolbar.html +45 -0
  234. package/src/primitives/tooltip/tooltip-disabled.html +19 -0
  235. package/src/primitives/tooltip/tooltip-sides.html +57 -0
  236. package/src/primitives/tooltip/tooltip-with-kbd.html +31 -0
  237. package/src/primitives/tooltip/tooltip.css +235 -0
  238. package/src/primitives/tooltip/tooltip.html +12 -0
  239. package/src/primitives/utilities/aspect-ratio.html +17 -0
  240. package/src/primitives/utilities/basis.html +27 -0
  241. package/src/primitives/utilities/col-span.html +23 -0
  242. package/src/primitives/utilities/compose.html +19 -0
  243. package/src/primitives/utilities/flex-align.html +26 -0
  244. package/src/primitives/utilities/flex-direction.html +36 -0
  245. package/src/primitives/utilities/flex-grow.html +17 -0
  246. package/src/primitives/utilities/gap.html +62 -0
  247. package/src/primitives/utilities/grid-cols.html +20 -0
  248. package/src/primitives/utilities/grid-pile.html +5 -0
  249. package/src/primitives/utilities/grid-responsive.html +31 -0
  250. package/src/primitives/utilities/margin-auto.html +13 -0
  251. package/src/primitives/utilities/object-fit.html +41 -0
  252. package/src/primitives/utilities/order.html +17 -0
  253. package/src/primitives/utilities/overflow.html +26 -0
  254. package/src/primitives/utilities/padding-compose.html +23 -0
  255. package/src/primitives/utilities/padding.html +30 -0
  256. package/src/primitives/utilities/position.html +13 -0
  257. package/src/primitives/utilities/responsive-flex.html +22 -0
  258. package/src/primitives/utilities/responsive-grid.html +31 -0
  259. package/src/primitives/utilities/size.html +22 -0
  260. package/src/primitives/utilities/width.html +22 -0
@@ -0,0 +1,665 @@
1
+ <ui-lightbox class="max-w-screen-xs mx-auto">
2
+ <div data-slot="lightbox-gallery">
3
+ <ui-carousel
4
+ data-slot="lightbox-stage"
5
+ data-carousel-loop="true"
6
+ data-carousel-plugins="class-names"
7
+ >
8
+ <div data-slot="carousel-viewport">
9
+ <div data-slot="carousel-container">
10
+ <button
11
+ data-slot="lightbox-slide carousel-slide"
12
+ type="button"
13
+ command="show-modal"
14
+ commandfor="lightbox-example-1"
15
+ >
16
+ <figure data-slot="lightbox-content">
17
+ <img
18
+ sizes="(max-width: 40rem) 100vw, 800px"
19
+ src="https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&h=600&fit=crop"
20
+ srcset="
21
+ https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=456&h=342&fit=crop 456w,
22
+ https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&h=600&fit=crop 800w
23
+ "
24
+ alt="Mountain landscape"
25
+ loading="lazy"
26
+ width="800"
27
+ height="600"
28
+ />
29
+ </figure>
30
+ </button>
31
+ <button
32
+ data-slot="lightbox-slide carousel-slide"
33
+ type="button"
34
+ command="show-modal"
35
+ commandfor="lightbox-example-1"
36
+ >
37
+ <figure data-slot="lightbox-content">
38
+ <img
39
+ sizes="(max-width: 40rem) 100vw, 800px"
40
+ src="https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=800&h=600&fit=crop"
41
+ srcset="
42
+ https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=456&h=342&fit=crop 456w,
43
+ https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=800&h=600&fit=crop 800w
44
+ "
45
+ alt="Valley with sunlight"
46
+ loading="lazy"
47
+ width="800"
48
+ height="600"
49
+ />
50
+ </figure>
51
+ </button>
52
+ <button
53
+ data-slot="lightbox-slide carousel-slide"
54
+ type="button"
55
+ command="show-modal"
56
+ commandfor="lightbox-example-1"
57
+ >
58
+ <figure data-slot="lightbox-content">
59
+ <img
60
+ sizes="(max-width: 40rem) 100vw, 800px"
61
+ src="https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=800&h=600&fit=crop"
62
+ srcset="
63
+ https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=456&h=342&fit=crop 456w,
64
+ https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=800&h=600&fit=crop 800w
65
+ "
66
+ alt="Forest path"
67
+ loading="lazy"
68
+ width="800"
69
+ height="600"
70
+ />
71
+ </figure>
72
+ </button>
73
+ <button
74
+ data-slot="lightbox-slide carousel-slide"
75
+ type="button"
76
+ command="show-modal"
77
+ commandfor="lightbox-example-1"
78
+ >
79
+ <figure data-slot="lightbox-content">
80
+ <img
81
+ sizes="(max-width: 40rem) 100vw, 800px"
82
+ src="https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=800&h=600&fit=crop"
83
+ srcset="
84
+ https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=456&h=342&fit=crop 456w,
85
+ https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=800&h=600&fit=crop 800w
86
+ "
87
+ alt="Waterfall in forest"
88
+ loading="lazy"
89
+ width="800"
90
+ height="600"
91
+ />
92
+ </figure>
93
+ </button>
94
+ <button
95
+ data-slot="lightbox-slide carousel-slide"
96
+ type="button"
97
+ command="show-modal"
98
+ commandfor="lightbox-example-1"
99
+ >
100
+ <figure data-slot="lightbox-content">
101
+ <img
102
+ sizes="(max-width: 40rem) 100vw, 800px"
103
+ src="https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=800&h=600&fit=crop"
104
+ srcset="
105
+ https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=456&h=342&fit=crop 456w,
106
+ https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=800&h=600&fit=crop 800w
107
+ "
108
+ alt="Lake at sunset"
109
+ loading="lazy"
110
+ width="800"
111
+ height="600"
112
+ />
113
+ </figure>
114
+ </button>
115
+ <button
116
+ data-slot="lightbox-slide carousel-slide"
117
+ type="button"
118
+ command="show-modal"
119
+ commandfor="lightbox-example-1"
120
+ >
121
+ <figure data-slot="lightbox-content">
122
+ <img
123
+ sizes="(max-width: 40rem) 100vw, 800px"
124
+ src="https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=800&h=600&fit=crop"
125
+ srcset="
126
+ https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=456&h=342&fit=crop 456w,
127
+ https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=800&h=600&fit=crop 800w
128
+ "
129
+ alt="Foggy forest"
130
+ loading="lazy"
131
+ width="800"
132
+ height="600"
133
+ />
134
+ </figure>
135
+ </button>
136
+ </div>
137
+ </div>
138
+ <div data-slot="lightbox-thumbs carousel-thumbs" data-carousel-loop="true">
139
+ <button
140
+ class="ui-button text-muted-foreground hover:text-foreground"
141
+ data-slot="lightbox-thumbs-prev carousel-prev"
142
+ data-size="icon-sm"
143
+ data-variant="ghost"
144
+ type="button"
145
+ aria-label="Previous image"
146
+ >
147
+ <svg
148
+ class="size-sm"
149
+ xmlns="http://www.w3.org/2000/svg"
150
+ viewBox="0 0 256 256"
151
+ aria-hidden="true"
152
+ >
153
+ <rect width="256" height="256" fill="none" />
154
+ <polyline
155
+ points="160 208 80 128 160 48"
156
+ fill="none"
157
+ stroke="currentColor"
158
+ stroke-linecap="round"
159
+ stroke-linejoin="round"
160
+ stroke-width="14"
161
+ />
162
+ </svg>
163
+ </button>
164
+ <div data-slot="carousel-viewport">
165
+ <div data-slot="carousel-container">
166
+ <button
167
+ type="button"
168
+ data-slot="lightbox-thumb carousel-slide"
169
+ aria-label="Show image 1"
170
+ >
171
+ <figure data-slot="lightbox-thumb-content">
172
+ <img
173
+ sizes="auto"
174
+ loading="lazy"
175
+ width="228"
176
+ height="171"
177
+ src="https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=228&h=171&fit=crop"
178
+ srcset="
179
+ https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=228&h=171&fit=crop 228w,
180
+ https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=456&h=342&fit=crop 456w
181
+ "
182
+ alt="Mountain landscape"
183
+ loading="lazy"
184
+ width="800"
185
+ height="600"
186
+ />
187
+ </figure>
188
+ </button>
189
+ <button
190
+ type="button"
191
+ data-slot="lightbox-thumb carousel-slide"
192
+ aria-label="Show image 2"
193
+ >
194
+ <figure data-slot="lightbox-thumb-content">
195
+ <img
196
+ sizes="auto"
197
+ loading="lazy"
198
+ width="228"
199
+ height="171"
200
+ src="https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=228&h=171&fit=crop"
201
+ srcset="
202
+ https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=228&h=171&fit=crop 228w,
203
+ https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=456&h=342&fit=crop 456w
204
+ "
205
+ alt="Valley with sunlight"
206
+ loading="lazy"
207
+ width="800"
208
+ height="600"
209
+ />
210
+ </figure>
211
+ </button>
212
+ <button
213
+ type="button"
214
+ data-slot="lightbox-thumb carousel-slide"
215
+ aria-label="Show image 3"
216
+ >
217
+ <figure data-slot="lightbox-thumb-content">
218
+ <img
219
+ sizes="auto"
220
+ loading="lazy"
221
+ width="228"
222
+ height="171"
223
+ src="https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=228&h=171&fit=crop"
224
+ srcset="
225
+ https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=228&h=171&fit=crop 228w,
226
+ https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=456&h=342&fit=crop 456w
227
+ "
228
+ alt="Forest path"
229
+ loading="lazy"
230
+ width="800"
231
+ height="600"
232
+ />
233
+ </figure>
234
+ </button>
235
+ <button
236
+ type="button"
237
+ data-slot="lightbox-thumb carousel-slide"
238
+ aria-label="Show image 4"
239
+ >
240
+ <figure data-slot="lightbox-thumb-content">
241
+ <img
242
+ sizes="auto"
243
+ loading="lazy"
244
+ width="228"
245
+ height="171"
246
+ src="https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=228&h=171&fit=crop"
247
+ srcset="
248
+ https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=228&h=171&fit=crop 228w,
249
+ https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=456&h=342&fit=crop 456w
250
+ "
251
+ alt="Waterfall in forest"
252
+ loading="lazy"
253
+ width="800"
254
+ height="600"
255
+ />
256
+ </figure>
257
+ </button>
258
+ <button
259
+ type="button"
260
+ data-slot="lightbox-thumb carousel-slide"
261
+ aria-label="Show image 5"
262
+ >
263
+ <figure data-slot="lightbox-thumb-content">
264
+ <img
265
+ sizes="auto"
266
+ loading="lazy"
267
+ width="228"
268
+ height="171"
269
+ src="https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=228&h=171&fit=crop"
270
+ srcset="
271
+ https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=228&h=171&fit=crop 228w,
272
+ https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=456&h=342&fit=crop 456w
273
+ "
274
+ alt="Lake at sunset"
275
+ loading="lazy"
276
+ width="800"
277
+ height="600"
278
+ />
279
+ </figure>
280
+ </button>
281
+ <button
282
+ type="button"
283
+ data-slot="lightbox-thumb carousel-slide"
284
+ aria-label="Show image 6"
285
+ >
286
+ <figure data-slot="lightbox-thumb-content">
287
+ <img
288
+ sizes="auto"
289
+ loading="lazy"
290
+ width="228"
291
+ height="171"
292
+ src="https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=228&h=171&fit=crop"
293
+ srcset="
294
+ https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=228&h=171&fit=crop 228w,
295
+ https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=456&h=342&fit=crop 456w
296
+ "
297
+ alt="Foggy forest"
298
+ loading="lazy"
299
+ width="800"
300
+ height="600"
301
+ />
302
+ </figure>
303
+ </button>
304
+ </div>
305
+ </div>
306
+ <button
307
+ class="ui-button text-muted-foreground hover:text-foreground"
308
+ data-slot="lightbox-thumbs-next carousel-next"
309
+ data-size="icon-sm"
310
+ data-variant="ghost"
311
+ type="button"
312
+ aria-label="Next image"
313
+ >
314
+ <svg
315
+ class="size-sm"
316
+ xmlns="http://www.w3.org/2000/svg"
317
+ viewBox="0 0 256 256"
318
+ aria-hidden="true"
319
+ >
320
+ <rect width="256" height="256" fill="none" />
321
+ <polyline
322
+ points="96 48 176 128 96 208"
323
+ fill="none"
324
+ stroke="currentColor"
325
+ stroke-linecap="round"
326
+ stroke-linejoin="round"
327
+ stroke-width="14"
328
+ />
329
+ </svg>
330
+ </button>
331
+ </div>
332
+ </ui-carousel>
333
+ </div>
334
+
335
+ <dialog
336
+ id="lightbox-example-1"
337
+ class="ui-dialog dark"
338
+ data-slot="lightbox-dialog"
339
+ data-size="screen"
340
+ closedby="any"
341
+ >
342
+ <div data-slot="dialog-content">
343
+ <ui-carousel data-carousel-loop="true" data-carousel-plugins="class-names">
344
+ <div data-slot="carousel-viewport">
345
+ <div data-slot="carousel-container">
346
+ <div data-slot="lightbox-slide carousel-slide">
347
+ <figure data-slot="lightbox-content">
348
+ <img
349
+ sizes="(max-width: 40rem) 100vw, 800px"
350
+ src="https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&h=600&fit=crop"
351
+ srcset="
352
+ https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=456&h=342&fit=crop 456w,
353
+ https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&h=600&fit=crop 800w
354
+ "
355
+ alt="Mountain landscape"
356
+ loading="lazy"
357
+ width="800"
358
+ height="600"
359
+ />
360
+ </figure>
361
+ </div>
362
+ <div data-slot="lightbox-slide carousel-slide">
363
+ <figure data-slot="lightbox-content">
364
+ <img
365
+ sizes="(max-width: 40rem) 100vw, 800px"
366
+ src="https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=800&h=600&fit=crop"
367
+ srcset="
368
+ https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=456&h=342&fit=crop 456w,
369
+ https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=800&h=600&fit=crop 800w
370
+ "
371
+ alt="Valley with sunlight"
372
+ loading="lazy"
373
+ width="800"
374
+ height="600"
375
+ />
376
+ </figure>
377
+ </div>
378
+ <div data-slot="lightbox-slide carousel-slide">
379
+ <figure data-slot="lightbox-content">
380
+ <img
381
+ sizes="(max-width: 40rem) 100vw, 800px"
382
+ src="https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=800&h=600&fit=crop"
383
+ srcset="
384
+ https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=456&h=342&fit=crop 456w,
385
+ https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=800&h=600&fit=crop 800w
386
+ "
387
+ alt="Forest path"
388
+ loading="lazy"
389
+ width="800"
390
+ height="600"
391
+ />
392
+ </figure>
393
+ </div>
394
+ <div data-slot="lightbox-slide carousel-slide">
395
+ <figure data-slot="lightbox-content">
396
+ <img
397
+ sizes="(max-width: 40rem) 100vw, 800px"
398
+ src="https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=800&h=600&fit=crop"
399
+ srcset="
400
+ https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=456&h=342&fit=crop 456w,
401
+ https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=800&h=600&fit=crop 800w
402
+ "
403
+ alt="Waterfall in forest"
404
+ loading="lazy"
405
+ width="800"
406
+ height="600"
407
+ />
408
+ </figure>
409
+ </div>
410
+ <div data-slot="lightbox-slide carousel-slide">
411
+ <figure data-slot="lightbox-content">
412
+ <img
413
+ sizes="(max-width: 40rem) 100vw, 800px"
414
+ src="https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=800&h=600&fit=crop"
415
+ srcset="
416
+ https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=456&h=342&fit=crop 456w,
417
+ https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=800&h=600&fit=crop 800w
418
+ "
419
+ alt="Lake at sunset"
420
+ loading="lazy"
421
+ width="800"
422
+ height="600"
423
+ />
424
+ </figure>
425
+ </div>
426
+ <div data-slot="lightbox-slide carousel-slide">
427
+ <figure data-slot="lightbox-content">
428
+ <img
429
+ sizes="(max-width: 40rem) 100vw, 800px"
430
+ src="https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=800&h=600&fit=crop"
431
+ srcset="
432
+ https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=456&h=342&fit=crop 456w,
433
+ https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=800&h=600&fit=crop 800w
434
+ "
435
+ alt="Foggy forest"
436
+ loading="lazy"
437
+ width="800"
438
+ height="600"
439
+ />
440
+ </figure>
441
+ </div>
442
+ </div>
443
+ </div>
444
+ <button
445
+ class="ui-button size-auto text-muted-foreground hover:text-foreground"
446
+ data-slot="lightbox-prev carousel-prev"
447
+ data-size="icon"
448
+ data-variant="ghost"
449
+ type="button"
450
+ aria-label="Previous image"
451
+ >
452
+ <svg class="size-md" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256">
453
+ <rect width="256" height="256" fill="none" />
454
+ <polyline
455
+ points="160 208 80 128 160 48"
456
+ fill="none"
457
+ stroke="currentColor"
458
+ stroke-linecap="round"
459
+ stroke-linejoin="round"
460
+ stroke-width="14"
461
+ />
462
+ </svg>
463
+ </button>
464
+ <button
465
+ class="ui-button size-auto text-muted-foreground hover:text-foreground"
466
+ data-slot="lightbox-next carousel-next"
467
+ data-size="icon"
468
+ data-variant="ghost"
469
+ type="button"
470
+ aria-label="Next image"
471
+ >
472
+ <svg class="size-md" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256">
473
+ <rect width="256" height="256" fill="none" />
474
+ <polyline
475
+ points="96 48 176 128 96 208"
476
+ fill="none"
477
+ stroke="currentColor"
478
+ stroke-linecap="round"
479
+ stroke-linejoin="round"
480
+ stroke-width="14"
481
+ />
482
+ </svg>
483
+ </button>
484
+ <div data-slot="lightbox-thumbs carousel-thumbs">
485
+ <div data-slot="carousel-viewport">
486
+ <div data-slot="carousel-container">
487
+ <button
488
+ type="button"
489
+ data-slot="lightbox-thumb carousel-slide"
490
+ aria-label="Show image 1"
491
+ >
492
+ <figure data-slot="lightbox-thumb-content">
493
+ <img
494
+ sizes="auto"
495
+ loading="lazy"
496
+ width="228"
497
+ height="171"
498
+ src="https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=228&h=171&fit=crop"
499
+ srcset="
500
+ https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=228&h=171&fit=crop 228w,
501
+ https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=456&h=342&fit=crop 456w
502
+ "
503
+ alt="Mountain landscape"
504
+ loading="lazy"
505
+ width="800"
506
+ height="600"
507
+ />
508
+ </figure>
509
+ </button>
510
+ <button
511
+ type="button"
512
+ data-slot="lightbox-thumb carousel-slide"
513
+ aria-label="Show image 2"
514
+ >
515
+ <figure data-slot="lightbox-thumb-content">
516
+ <img
517
+ sizes="auto"
518
+ loading="lazy"
519
+ width="228"
520
+ height="171"
521
+ src="https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=228&h=171&fit=crop"
522
+ srcset="
523
+ https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=228&h=171&fit=crop 228w,
524
+ https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=456&h=342&fit=crop 456w
525
+ "
526
+ alt="Valley with sunlight"
527
+ loading="lazy"
528
+ width="800"
529
+ height="600"
530
+ />
531
+ </figure>
532
+ </button>
533
+ <button
534
+ type="button"
535
+ data-slot="lightbox-thumb carousel-slide"
536
+ aria-label="Show image 3"
537
+ >
538
+ <figure data-slot="lightbox-thumb-content">
539
+ <img
540
+ sizes="auto"
541
+ loading="lazy"
542
+ width="228"
543
+ height="171"
544
+ src="https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=228&h=171&fit=crop"
545
+ srcset="
546
+ https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=228&h=171&fit=crop 228w,
547
+ https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=456&h=342&fit=crop 456w
548
+ "
549
+ alt="Forest path"
550
+ loading="lazy"
551
+ width="800"
552
+ height="600"
553
+ />
554
+ </figure>
555
+ </button>
556
+ <button
557
+ type="button"
558
+ data-slot="lightbox-thumb carousel-slide"
559
+ aria-label="Show image 4"
560
+ >
561
+ <figure data-slot="lightbox-thumb-content">
562
+ <img
563
+ sizes="auto"
564
+ loading="lazy"
565
+ width="228"
566
+ height="171"
567
+ src="https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=228&h=171&fit=crop"
568
+ srcset="
569
+ https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=228&h=171&fit=crop 228w,
570
+ https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=456&h=342&fit=crop 456w
571
+ "
572
+ alt="Waterfall in forest"
573
+ loading="lazy"
574
+ width="800"
575
+ height="600"
576
+ />
577
+ </figure>
578
+ </button>
579
+ <button
580
+ type="button"
581
+ data-slot="lightbox-thumb carousel-slide"
582
+ aria-label="Show image 5"
583
+ >
584
+ <figure data-slot="lightbox-thumb-content">
585
+ <img
586
+ sizes="auto"
587
+ loading="lazy"
588
+ width="228"
589
+ height="171"
590
+ src="https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=228&h=171&fit=crop"
591
+ srcset="
592
+ https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=228&h=171&fit=crop 228w,
593
+ https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=456&h=342&fit=crop 456w
594
+ "
595
+ alt="Lake at sunset"
596
+ loading="lazy"
597
+ width="800"
598
+ height="600"
599
+ />
600
+ </figure>
601
+ </button>
602
+ <button
603
+ type="button"
604
+ data-slot="lightbox-thumb carousel-slide"
605
+ aria-label="Show image 6"
606
+ >
607
+ <figure data-slot="lightbox-thumb-content">
608
+ <img
609
+ sizes="auto"
610
+ loading="lazy"
611
+ width="228"
612
+ height="171"
613
+ src="https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=228&h=171&fit=crop"
614
+ srcset="
615
+ https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=228&h=171&fit=crop 228w,
616
+ https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=456&h=342&fit=crop 456w
617
+ "
618
+ alt="Foggy forest"
619
+ loading="lazy"
620
+ width="800"
621
+ height="600"
622
+ />
623
+ </figure>
624
+ </button>
625
+ </div>
626
+ </div>
627
+ </div>
628
+ </ui-carousel>
629
+ </div>
630
+ <button
631
+ class="ui-button"
632
+ data-slot="lightbox-close"
633
+ data-size="icon"
634
+ data-variant="ghost"
635
+ type="button"
636
+ commandfor="lightbox-example-1"
637
+ command="close"
638
+ aria-label="Close lightbox"
639
+ >
640
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256">
641
+ <rect width="256" height="256" fill="none" />
642
+ <line
643
+ x1="200"
644
+ y1="56"
645
+ x2="56"
646
+ y2="200"
647
+ stroke="currentColor"
648
+ stroke-linecap="round"
649
+ stroke-linejoin="round"
650
+ stroke-width="16"
651
+ />
652
+ <line
653
+ x1="200"
654
+ y1="200"
655
+ x2="56"
656
+ y2="56"
657
+ stroke="currentColor"
658
+ stroke-linecap="round"
659
+ stroke-linejoin="round"
660
+ stroke-width="16"
661
+ />
662
+ </svg>
663
+ </button>
664
+ </dialog>
665
+ </ui-lightbox>