@zazz-ui/core 0.4.1 → 0.5.1

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 (331) hide show
  1. package/AUTHORING.md +158 -0
  2. package/CHANGELOG.md +345 -0
  3. package/README.md +55 -23
  4. package/dist/scroll-state-C8mA5gq6.js +1 -0
  5. package/dist/sri.json +124 -72
  6. package/dist/zazz.css +1 -1
  7. package/dist/zazz.js +1 -1
  8. package/editor/zazz.css-data.json +116794 -0
  9. package/editor/zazz.html-data.json +1683 -0
  10. package/editor/zazz.language-data.json +5001 -0
  11. package/editor/zazz.lint-data.json +152 -0
  12. package/package.json +12 -5
  13. package/src/base/_breakpoints.css +12 -0
  14. package/src/base/_layers.css +8 -9
  15. package/src/base/_properties-2xl.css +171 -0
  16. package/src/base/_properties-active.css +107 -0
  17. package/src/base/_properties-checked.css +107 -0
  18. package/src/base/_properties-current.css +107 -0
  19. package/src/base/_properties-disabled.css +107 -0
  20. package/src/base/_properties-focus-visible.css +107 -0
  21. package/src/base/_properties-focus-within.css +107 -0
  22. package/src/base/_properties-hover.css +107 -0
  23. package/src/base/_properties-lg.css +171 -0
  24. package/src/base/_properties-md.css +171 -0
  25. package/src/base/_properties-open.css +107 -0
  26. package/src/base/_properties-sm.css +171 -0
  27. package/src/base/_properties-starting.css +55 -0
  28. package/src/base/_properties-stuck.css +55 -0
  29. package/src/base/_properties-xl.css +171 -0
  30. package/src/base/_properties.css +555 -0
  31. package/src/base/_reset.css +67 -75
  32. package/src/base/_switches.css +145 -0
  33. package/src/base/_typography.css +437 -370
  34. package/src/base/_utilities-box.css +142 -0
  35. package/src/base/_utilities-color.css +290 -0
  36. package/src/base/_utilities-effects.css +235 -0
  37. package/src/base/_utilities-flow.css +312 -0
  38. package/src/base/_utilities-grid.css +143 -0
  39. package/src/base/_utilities-margin.css +376 -0
  40. package/src/base/_utilities-pseudo.css +426 -0
  41. package/src/base/_utilities-sizing.css +259 -0
  42. package/src/base/_utilities-spacing.css +190 -0
  43. package/src/base/_utilities-tier-2xl.css +93 -0
  44. package/src/base/_utilities-tier-active.css +61 -0
  45. package/src/base/_utilities-tier-checked.css +61 -0
  46. package/src/base/_utilities-tier-current.css +61 -0
  47. package/src/base/_utilities-tier-disabled.css +61 -0
  48. package/src/base/_utilities-tier-focus-visible.css +61 -0
  49. package/src/base/_utilities-tier-focus-within.css +61 -0
  50. package/src/base/_utilities-tier-hover.css +63 -0
  51. package/src/base/_utilities-tier-lg.css +93 -0
  52. package/src/base/_utilities-tier-md.css +93 -0
  53. package/src/base/_utilities-tier-open.css +61 -0
  54. package/src/base/_utilities-tier-sm.css +93 -0
  55. package/src/base/_utilities-tier-starting.css +35 -0
  56. package/src/base/_utilities-tier-stuck.css +114 -0
  57. package/src/base/_utilities-tier-xl.css +93 -0
  58. package/src/base/_utilities-typography.css +141 -0
  59. package/src/base/_variables.css +323 -372
  60. package/src/base/_view-transitions.css +10 -12
  61. package/src/base/command-score.d.ts.map +1 -1
  62. package/src/base/command-score.js +1 -2
  63. package/src/base/command-score.ts +1 -2
  64. package/src/base/dialog-lifecycle.js +1 -1
  65. package/src/base/dialog-lifecycle.ts +1 -1
  66. package/src/base/embla.d.ts +6 -7
  67. package/src/base/embla.d.ts.map +1 -1
  68. package/src/base/embla.js +89 -55
  69. package/src/base/embla.ts +89 -55
  70. package/src/base/hotkeys.d.ts +0 -5
  71. package/src/base/hotkeys.d.ts.map +1 -1
  72. package/src/base/hotkeys.ts +0 -5
  73. package/src/base/navigation.d.ts +12 -1
  74. package/src/base/navigation.d.ts.map +1 -1
  75. package/src/base/navigation.js +229 -86
  76. package/src/base/navigation.ts +224 -92
  77. package/src/base/reveal.js +14 -14
  78. package/src/base/reveal.ts +14 -14
  79. package/src/base/scroll-state.d.ts +21 -0
  80. package/src/base/scroll-state.d.ts.map +1 -0
  81. package/src/base/scroll-state.js +177 -0
  82. package/src/base/scroll-state.ts +188 -0
  83. package/src/base/signals.d.ts +1 -2
  84. package/src/base/signals.d.ts.map +1 -1
  85. package/src/base/signals.js +4 -6
  86. package/src/base/signals.ts +4 -6
  87. package/src/base/style-format.d.ts +33 -0
  88. package/src/base/style-format.d.ts.map +1 -0
  89. package/src/base/style-format.js +160 -0
  90. package/src/base/style-format.ts +180 -0
  91. package/src/base/typeahead.d.ts +19 -4
  92. package/src/base/typeahead.d.ts.map +1 -1
  93. package/src/base/typeahead.js +68 -21
  94. package/src/base/typeahead.ts +73 -23
  95. package/src/base/utilities.d.ts +188 -0
  96. package/src/base/utilities.d.ts.map +1 -0
  97. package/src/base/utilities.js +750 -0
  98. package/src/base/utilities.ts +865 -0
  99. package/src/base/utils.d.ts +3 -7
  100. package/src/base/utils.d.ts.map +1 -1
  101. package/src/base/utils.js +4 -8
  102. package/src/base/utils.ts +4 -8
  103. package/src/base/zazz-element.d.ts +14 -8
  104. package/src/base/zazz-element.d.ts.map +1 -1
  105. package/src/base/zazz-element.js +14 -8
  106. package/src/base/zazz-element.ts +15 -8
  107. package/src/globals.d.ts +1 -1
  108. package/src/head.d.ts +50 -4
  109. package/src/head.d.ts.map +1 -1
  110. package/src/head.js +119 -38
  111. package/src/head.ts +172 -41
  112. package/src/index.css +57 -14
  113. package/src/index.js +5 -0
  114. package/src/index.ts +6 -0
  115. package/src/manifest.d.ts +36 -5
  116. package/src/manifest.d.ts.map +1 -1
  117. package/src/manifest.js +150 -6
  118. package/src/manifest.ts +167 -9
  119. package/src/primitives/accordion/accordion.css +18 -17
  120. package/src/primitives/accordion/accordion.html +42 -9
  121. package/src/primitives/alert-dialog/alert-dialog.css +13 -13
  122. package/src/primitives/alert-dialog/alert-dialog.html +26 -12
  123. package/src/primitives/autocomplete/autocomplete-groups.html +64 -33
  124. package/src/primitives/autocomplete/autocomplete.css +43 -39
  125. package/src/primitives/autocomplete/autocomplete.d.ts +6 -5
  126. package/src/primitives/autocomplete/autocomplete.d.ts.map +1 -1
  127. package/src/primitives/autocomplete/autocomplete.html +38 -26
  128. package/src/primitives/autocomplete/autocomplete.js +6 -5
  129. package/src/primitives/autocomplete/autocomplete.ts +6 -5
  130. package/src/primitives/avatar/avatar.html +110 -15
  131. package/src/primitives/badge/badge-icon.html +22 -8
  132. package/src/primitives/badge/badge.css +401 -128
  133. package/src/primitives/badge/badge.html +12 -6
  134. package/src/primitives/breadcrumbs/breadcrumbs.html +25 -5
  135. package/src/primitives/button/button-icon-only.html +17 -11
  136. package/src/primitives/button/button-icon.html +9 -3
  137. package/src/primitives/button/button.css +408 -164
  138. package/src/primitives/button/button.html +14 -7
  139. package/src/primitives/button-group/button-group-vertical.html +5 -5
  140. package/src/primitives/button-group/button-group.css +61 -31
  141. package/src/primitives/button-group/button-group.html +18 -12
  142. package/src/primitives/callout/callout.css +114 -0
  143. package/src/primitives/callout/callout.html +188 -0
  144. package/src/primitives/card/card-subgrid.html +249 -34
  145. package/src/primitives/card/card.css +125 -0
  146. package/src/primitives/card/card.html +141 -20
  147. package/src/primitives/carousel/carousel.css +30 -20
  148. package/src/primitives/carousel/carousel.d.ts +7 -10
  149. package/src/primitives/carousel/carousel.d.ts.map +1 -1
  150. package/src/primitives/carousel/carousel.html +420 -84
  151. package/src/primitives/carousel/carousel.js +1 -1
  152. package/src/primitives/carousel/carousel.ts +8 -11
  153. package/src/primitives/checkbox/checkbox-tasklist.html +6 -6
  154. package/src/primitives/checkbox/checkbox.css +98 -40
  155. package/src/primitives/checkbox/checkbox.d.ts.map +1 -1
  156. package/src/primitives/checkbox/checkbox.html +13 -8
  157. package/src/primitives/checkbox/checkbox.js +7 -9
  158. package/src/primitives/checkbox/checkbox.ts +7 -15
  159. package/src/primitives/combobox/combobox-multiselect.html +53 -33
  160. package/src/primitives/combobox/combobox.css +145 -122
  161. package/src/primitives/combobox/combobox.d.ts +12 -11
  162. package/src/primitives/combobox/combobox.d.ts.map +1 -1
  163. package/src/primitives/combobox/combobox.html +48 -28
  164. package/src/primitives/combobox/combobox.js +46 -51
  165. package/src/primitives/combobox/combobox.ts +48 -55
  166. package/src/primitives/command/command-actions.d.ts +2 -3
  167. package/src/primitives/command/command-actions.d.ts.map +1 -1
  168. package/src/primitives/command/command-actions.html +48 -33
  169. package/src/primitives/command/command-actions.js +12 -10
  170. package/src/primitives/command/command-actions.ts +12 -13
  171. package/src/primitives/command/command-dialog.html +49 -25
  172. package/src/primitives/command/command.css +52 -42
  173. package/src/primitives/command/command.d.ts +10 -7
  174. package/src/primitives/command/command.d.ts.map +1 -1
  175. package/src/primitives/command/command.html +95 -46
  176. package/src/primitives/command/command.js +30 -13
  177. package/src/primitives/command/command.ts +30 -12
  178. package/src/primitives/debug/audit-core.d.ts +64 -0
  179. package/src/primitives/debug/audit-core.d.ts.map +1 -0
  180. package/src/primitives/debug/audit-core.js +356 -0
  181. package/src/primitives/debug/audit-core.ts +535 -0
  182. package/src/primitives/debug/debug.d.ts +50 -0
  183. package/src/primitives/debug/debug.d.ts.map +1 -0
  184. package/src/primitives/debug/debug.js +168 -0
  185. package/src/primitives/debug/debug.ts +211 -0
  186. package/src/primitives/dialog/dialog-with-form.html +67 -45
  187. package/src/primitives/dialog/dialog.css +87 -61
  188. package/src/primitives/dialog/dialog.html +25 -17
  189. package/src/primitives/fields/fields.css +108 -134
  190. package/src/primitives/fields/fields.html +39 -0
  191. package/src/primitives/input/input-icon-leading.html +3 -3
  192. package/src/primitives/input/input-icon-trailing.html +3 -3
  193. package/src/primitives/input/input.css +87 -49
  194. package/src/primitives/input/input.html +15 -15
  195. package/src/primitives/input-group/input-group-password-group.html +15 -15
  196. package/src/primitives/input-group/input-group.css +118 -75
  197. package/src/primitives/input-group/input-group.html +42 -30
  198. package/src/primitives/kbd/kbd-group.html +15 -2
  199. package/src/primitives/kbd/kbd.css +44 -31
  200. package/src/primitives/kbd/kbd.html +7 -1
  201. package/src/primitives/layout/layout.css +159 -0
  202. package/src/primitives/layout/layout.html +35 -0
  203. package/src/primitives/lightbox/lightbox.css +178 -105
  204. package/src/primitives/lightbox/lightbox.d.ts.map +1 -1
  205. package/src/primitives/lightbox/lightbox.html +138 -166
  206. package/src/primitives/lightbox/lightbox.js +10 -13
  207. package/src/primitives/lightbox/lightbox.ts +12 -13
  208. package/src/primitives/menu/menu-interest.html +60 -18
  209. package/src/primitives/menu/menu.css +22 -17
  210. package/src/primitives/menu/menu.d.ts +5 -5
  211. package/src/primitives/menu/menu.html +195 -40
  212. package/src/primitives/menu/menu.js +8 -8
  213. package/src/primitives/menu/menu.ts +8 -8
  214. package/src/primitives/menubar/menubar-help-search.html +78 -32
  215. package/src/primitives/menubar/menubar.html +166 -38
  216. package/src/primitives/meter/meter.css +41 -38
  217. package/src/primitives/meter/meter.html +44 -9
  218. package/src/primitives/mobile-menu/mobile-menu.css +47 -40
  219. package/src/primitives/mobile-menu/mobile-menu.html +1460 -179
  220. package/src/primitives/navigation-menu/navigation-menu-featured.html +155 -33
  221. package/src/primitives/navigation-menu/navigation-menu-icon-grid.html +222 -47
  222. package/src/primitives/navigation-menu/navigation-menu-interest.html +130 -38
  223. package/src/primitives/navigation-menu/navigation-menu-megamenu.html +402 -72
  224. package/src/primitives/navigation-menu/navigation-menu-simple.html +90 -40
  225. package/src/primitives/navigation-menu/navigation-menu.css +104 -106
  226. package/src/primitives/navigation-menu/navigation-menu.html +554 -158
  227. package/src/primitives/otp/otp.css +43 -44
  228. package/src/primitives/otp/otp.d.ts +4 -5
  229. package/src/primitives/otp/otp.d.ts.map +1 -1
  230. package/src/primitives/otp/otp.html +7 -6
  231. package/src/primitives/otp/otp.js +13 -18
  232. package/src/primitives/otp/otp.ts +12 -19
  233. package/src/primitives/password-group/password-group.css +132 -107
  234. package/src/primitives/password-group/password-group.d.ts.map +1 -1
  235. package/src/primitives/password-group/password-group.html +23 -16
  236. package/src/primitives/password-group/password-group.js +11 -12
  237. package/src/primitives/password-group/password-group.ts +11 -12
  238. package/src/primitives/popover/popover.css +88 -95
  239. package/src/primitives/popover/popover.html +18 -0
  240. package/src/primitives/progress/progress-indeterminate.html +1 -1
  241. package/src/primitives/progress/progress.css +34 -35
  242. package/src/primitives/progress/progress.html +18 -4
  243. package/src/primitives/prose/prose.html +19 -12
  244. package/src/primitives/radio/radio.css +83 -46
  245. package/src/primitives/radio/radio.html +16 -11
  246. package/src/primitives/reveal/reveal.css +37 -46
  247. package/src/primitives/reveal/reveal.html +15 -0
  248. package/src/primitives/scroll-fade/scroll-fade.css +115 -0
  249. package/src/primitives/scroll-fade/scroll-fade.html +69 -0
  250. package/src/primitives/select/multiselect.d.ts +8 -10
  251. package/src/primitives/select/multiselect.d.ts.map +1 -1
  252. package/src/primitives/select/multiselect.js +23 -27
  253. package/src/primitives/select/multiselect.ts +23 -29
  254. package/src/primitives/select/select-align.html +79 -16
  255. package/src/primitives/select/select-multiple.html +8 -4
  256. package/src/primitives/select/select-sides.html +104 -21
  257. package/src/primitives/select/select.css +297 -186
  258. package/src/primitives/select/select.html +24 -5
  259. package/src/primitives/separator/separator.css +15 -18
  260. package/src/primitives/separator/separator.html +37 -10
  261. package/src/primitives/slider/slider.css +48 -38
  262. package/src/primitives/slider/slider.html +9 -1
  263. package/src/primitives/style-guard/style-guard.d.ts +19 -0
  264. package/src/primitives/style-guard/style-guard.d.ts.map +1 -0
  265. package/src/primitives/style-guard/style-guard.js +125 -0
  266. package/src/primitives/style-guard/style-guard.ts +153 -0
  267. package/src/primitives/switch/switch.css +42 -33
  268. package/src/primitives/switch/switch.html +11 -6
  269. package/src/primitives/table/table-alternating.html +1 -1
  270. package/src/primitives/table/table-grid.html +5 -5
  271. package/src/primitives/table/table-size-sm.html +1 -1
  272. package/src/primitives/table/table.css +64 -61
  273. package/src/primitives/table/table.html +7 -7
  274. package/src/primitives/tabs/tabs.css +167 -166
  275. package/src/primitives/tabs/tabs.d.ts +10 -11
  276. package/src/primitives/tabs/tabs.d.ts.map +1 -1
  277. package/src/primitives/tabs/tabs.html +192 -36
  278. package/src/primitives/tabs/tabs.js +14 -15
  279. package/src/primitives/tabs/tabs.ts +14 -15
  280. package/src/primitives/textarea/textarea.css +69 -44
  281. package/src/primitives/textarea/textarea.html +3 -3
  282. package/src/primitives/toaster/toaster.css +90 -92
  283. package/src/primitives/toaster/toaster.d.ts +0 -6
  284. package/src/primitives/toaster/toaster.d.ts.map +1 -1
  285. package/src/primitives/toaster/toaster.html +22 -18
  286. package/src/primitives/toaster/toaster.js +64 -72
  287. package/src/primitives/toaster/toaster.ts +71 -87
  288. package/src/primitives/toggle/toggle.css +368 -153
  289. package/src/primitives/toggle/toggle.html +27 -9
  290. package/src/primitives/toggle-group/toggle-group-multiple.html +3 -3
  291. package/src/primitives/toggle-group/toggle-group-vertical.html +4 -4
  292. package/src/primitives/toggle-group/toggle-group.css +76 -26
  293. package/src/primitives/toggle-group/toggle-group.html +3 -3
  294. package/src/primitives/toolbar/toolbar.html +35 -13
  295. package/src/primitives/tooltip/tooltip-disabled.html +3 -3
  296. package/src/primitives/tooltip/tooltip-sides.html +36 -14
  297. package/src/primitives/tooltip/tooltip-with-kbd.html +5 -5
  298. package/src/primitives/tooltip/tooltip.css +111 -80
  299. package/src/primitives/tooltip/tooltip.html +3 -3
  300. package/src/primitives/utilities/aspect-ratio.html +51 -7
  301. package/src/primitives/utilities/basis.html +64 -11
  302. package/src/primitives/utilities/col-span.html +65 -9
  303. package/src/primitives/utilities/compose.html +48 -10
  304. package/src/primitives/utilities/flex-align.html +89 -19
  305. package/src/primitives/utilities/flex-direction.html +111 -13
  306. package/src/primitives/utilities/flex-grow.html +41 -7
  307. package/src/primitives/utilities/gap.html +158 -19
  308. package/src/primitives/utilities/grid-cols.html +75 -7
  309. package/src/primitives/utilities/grid-responsive.html +111 -12
  310. package/src/primitives/utilities/margin-auto.html +38 -7
  311. package/src/primitives/utilities/object-fit.html +75 -13
  312. package/src/primitives/utilities/order.html +40 -4
  313. package/src/primitives/utilities/overflow.html +74 -20
  314. package/src/primitives/utilities/padding-compose.html +67 -10
  315. package/src/primitives/utilities/padding.html +84 -13
  316. package/src/primitives/utilities/pile.html +29 -0
  317. package/src/primitives/utilities/position.html +65 -8
  318. package/src/primitives/utilities/responsive-flex.html +54 -7
  319. package/src/primitives/utilities/responsive-grid.html +115 -12
  320. package/src/primitives/utilities/size.html +120 -16
  321. package/src/primitives/utilities/width.html +123 -16
  322. package/examples/about.html +0 -583
  323. package/examples/components.html +0 -1028
  324. package/examples/forms.html +0 -504
  325. package/examples/index.html +0 -261
  326. package/examples/layout.html +0 -313
  327. package/examples/products.html +0 -839
  328. package/examples/responsive.html +0 -332
  329. package/src/base/_layout.css +0 -571
  330. package/src/base/_utilities.css +0 -6758
  331. package/src/primitives/utilities/grid-pile.html +0 -5
@@ -1,839 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <!-- Page-specific tags stay above the generated block -->
5
- <title>Zazz tests | Overview</title>
6
- <link rel="prefetch" href="layout.html" />
7
-
8
- <!-- Shared head, generated from @zazz-ui/core's head contract (src/head.ts). -->
9
- <!-- Edit nothing between the markers; run `vp run heads` to regenerate. -->
10
- <!-- zazz:head -->
11
- <meta charset="utf-8" />
12
- <meta name="viewport" content="width=device-width, initial-scale=1" />
13
- <!-- Paint the right theme (background, form controls, scrollbars) before CSS loads -->
14
- <meta name="color-scheme" content="light dark" />
15
- <!-- Google Fonts: Geist + Geist Mono (preconnect so the CSS request starts early) -->
16
- <link rel="preconnect" href="https://fonts.googleapis.com" />
17
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
18
- <link
19
- rel="preload"
20
- as="font"
21
- type="font/woff2"
22
- crossorigin
23
- href="https://fonts.gstatic.com/s/geist/v5/gyByhwUxId8gMEwcGFWNOITd.woff2"
24
- />
25
- <link
26
- href="https://fonts.googleapis.com/css2?family=Geist+Mono:ital,wght@0,100..900;1,100..900&family=Geist:ital,wght@0,100..900;1,100..900&display=swap"
27
- rel="stylesheet"
28
- />
29
- <!-- Zazz styles: one bundle (index.css @imports every layer in cascade order) -->
30
- <link rel="stylesheet" href="../src/index.css" />
31
- <!-- Import map: bare specifiers in Zazz scripts resolve to pinned, SRI-checked files -->
32
- <script type="importmap">
33
- {
34
- "imports": {
35
- "signal-polyfill": "https://cdn.jsdelivr.net/npm/signal-polyfill@0.2.2/dist/index.js",
36
- "embla-carousel": "https://cdn.jsdelivr.net/npm/embla-carousel@8.6.0/esm/embla-carousel.esm.js",
37
- "embla-carousel-autoplay": "https://cdn.jsdelivr.net/npm/embla-carousel-autoplay@8.6.0/esm/embla-carousel-autoplay.esm.js",
38
- "embla-carousel-auto-scroll": "https://cdn.jsdelivr.net/npm/embla-carousel-auto-scroll@8.6.0/esm/embla-carousel-auto-scroll.esm.js",
39
- "embla-carousel-class-names": "https://cdn.jsdelivr.net/npm/embla-carousel-class-names@8.6.0/esm/embla-carousel-class-names.esm.js"
40
- },
41
- "integrity": {
42
- "https://cdn.jsdelivr.net/npm/signal-polyfill@0.2.2/dist/index.js": "sha384-0OqM7OXGT6Oz1z98u/geiFn/FUyz4iWexkXHCvbIGXRRDXl6bp6IKc0j78AQ6DEK",
43
- "https://cdn.jsdelivr.net/npm/embla-carousel@8.6.0/esm/embla-carousel.esm.js": "sha384-GXjfyU1fSHHeweoYd3rwo7OBKYtkq+JcsDoe8VDRc6znCty2ZTzyVvX1DwqCE+9t",
44
- "https://cdn.jsdelivr.net/npm/embla-carousel-autoplay@8.6.0/esm/embla-carousel-autoplay.esm.js": "sha384-AX49yBc7zd/CT8ZqNMRiiqqVSV9xfxb27VwEGziPioT3wL4k4C5BW2qwefdWuN4J",
45
- "https://cdn.jsdelivr.net/npm/embla-carousel-auto-scroll@8.6.0/esm/embla-carousel-auto-scroll.esm.js": "sha384-SPdnL1eic73WfM72zFEf0RJ5PdUC7TL3Yb5jOl1JC3/l4D7EsVxwO8wFnnezlMSu",
46
- "https://cdn.jsdelivr.net/npm/embla-carousel-class-names@8.6.0/esm/embla-carousel-class-names.esm.js": "sha384-ZWno/FqzYeWE5Ils19GIhep1AZ5bMl0mp9wmm6baTJE4+pjMjOdTnE55SjUQAdVh"
47
- }
48
- }
49
- </script>
50
- <link rel="modulepreload" href="../src/index.js" />
51
- <!-- Polyfill: Interest Invokers (interestfor) — native in Chromium only -->
52
- <script
53
- type="module"
54
- src="https://cdn.jsdelivr.net/npm/invokers@2.2.2/dist/esm/production/interest.js"
55
- integrity="sha384-hR2BVNtsS7fIIMwOm+f7MY0JZfuByGhQQfevCBB6evFATKzBsTw0JzH/RxD94z2T"
56
- crossorigin="anonymous"
57
- ></script>
58
- <!-- Zazz behavior: one ES module imports every component script in dependency order -->
59
- <script type="module" src="../src/index.js"></script>
60
- <!-- Theme: apply the persisted (or preferred) scheme before first paint -->
61
- <script>
62
- (() => {
63
- try {
64
- const storedTheme = localStorage.getItem("theme");
65
- const prefersDark = matchMedia("(prefers-color-scheme: dark)").matches;
66
- const theme = storedTheme ?? (prefersDark ? "dark" : "light");
67
- document.documentElement.classList.toggle("dark", theme === "dark");
68
- } catch {
69
- document.documentElement.classList.toggle(
70
- "dark",
71
- matchMedia("(prefers-color-scheme: dark)").matches,
72
- );
73
- }
74
- })();
75
- </script>
76
- <!-- /zazz:head -->
77
- </head>
78
-
79
- <body class="bg-background">
80
- <header class="py-md border-b" data-transition-layer="global-header">
81
- <div class="container">
82
- <div class="flex items-center justify-between">
83
- <a href="index.html" class="text-h6 font-black">Zazz tests</a>
84
- <nav>
85
- <menu class="flex gap-xs">
86
- <li>
87
- <a class="ui-button" data-variant="ghost" data-size="sm" href="index.html"
88
- >Overview</a
89
- >
90
- </li>
91
- <li>
92
- <a class="ui-button" data-variant="ghost" data-size="sm" href="about.html">About</a>
93
- </li>
94
- <li>
95
- <a class="ui-button" data-variant="ghost" data-size="sm" href="products.html"
96
- >Products</a
97
- >
98
- </li>
99
- <li>
100
- <a class="ui-button" data-variant="ghost" data-size="sm" href="layout.html"
101
- >Layout</a
102
- >
103
- </li>
104
- <li>
105
- <a class="ui-button" data-variant="ghost" data-size="sm" href="responsive.html"
106
- >Responsive</a
107
- >
108
- </li>
109
- <li>
110
- <a class="ui-button" data-variant="ghost" data-size="sm" href="components.html"
111
- >Components</a
112
- >
113
- </li>
114
- <li>
115
- <a class="ui-button" data-variant="ghost" data-size="sm" href="forms.html">Forms</a>
116
- </li>
117
- </menu>
118
- </nav>
119
- </div>
120
- </div>
121
- </header>
122
-
123
- <main data-layout="main">
124
- <section class="pb-xl">
125
- <div class="container py-lg">
126
- <nav class="flex items-center gap-xs">
127
- <menu class="flex items-center gap-xs">
128
- <li><a class="ui-button" data-variant="link" href="index.html">Home</a></li>
129
- <li><span class="text-muted-foreground opacity-50">/</span></li>
130
- <li>
131
- <div class="ui-button" data-variant="link" aria-disabled="true">Product name</div>
132
- </li>
133
- </menu>
134
- </nav>
135
- </div>
136
- <div class="container">
137
- <div class="grid grid-cols-2 gap-lg @max-md:container">
138
- <ui-lightbox data-container="xs">
139
- <div data-slot="lightbox-gallery">
140
- <div
141
- class="ui-carousel"
142
- data-slot="lightbox-stage"
143
- data-carousel-loop="true"
144
- data-carousel-plugins="class-names"
145
- >
146
- <div data-slot="carousel-viewport">
147
- <div data-slot="carousel-container">
148
- <button
149
- data-slot="lightbox-slide carousel-slide"
150
- type="button"
151
- command="show-modal"
152
- commandfor="lightbox-example-1"
153
- >
154
- <figure data-slot="lightbox-content">
155
- <img
156
- sizes="(max-width: 40rem) 100vw, 800px"
157
- src="https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&h=600&fit=crop"
158
- srcset="
159
- https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=456&h=342&fit=crop 456w,
160
- https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&h=600&fit=crop 800w
161
- "
162
- alt="Mountain landscape"
163
- loading="lazy"
164
- width="800"
165
- height="600"
166
- />
167
- </figure>
168
- </button>
169
- <button
170
- data-slot="lightbox-slide carousel-slide"
171
- type="button"
172
- command="show-modal"
173
- commandfor="lightbox-example-1"
174
- >
175
- <figure data-slot="lightbox-content">
176
- <img
177
- sizes="(max-width: 40rem) 100vw, 800px"
178
- src="https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=800&h=600&fit=crop"
179
- srcset="
180
- https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=456&h=342&fit=crop 456w,
181
- https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=800&h=600&fit=crop 800w
182
- "
183
- alt="Valley with sunlight"
184
- loading="lazy"
185
- width="800"
186
- height="600"
187
- />
188
- </figure>
189
- </button>
190
- <button
191
- data-slot="lightbox-slide carousel-slide"
192
- type="button"
193
- command="show-modal"
194
- commandfor="lightbox-example-1"
195
- >
196
- <figure data-slot="lightbox-content">
197
- <img
198
- sizes="(max-width: 40rem) 100vw, 800px"
199
- src="https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=800&h=600&fit=crop"
200
- srcset="
201
- https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=456&h=342&fit=crop 456w,
202
- https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=800&h=600&fit=crop 800w
203
- "
204
- alt="Forest path"
205
- loading="lazy"
206
- width="800"
207
- height="600"
208
- />
209
- </figure>
210
- </button>
211
- <button
212
- data-slot="lightbox-slide carousel-slide"
213
- type="button"
214
- command="show-modal"
215
- commandfor="lightbox-example-1"
216
- >
217
- <figure data-slot="lightbox-content">
218
- <img
219
- sizes="(max-width: 40rem) 100vw, 800px"
220
- src="https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=800&h=600&fit=crop"
221
- srcset="
222
- https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=456&h=342&fit=crop 456w,
223
- https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=800&h=600&fit=crop 800w
224
- "
225
- alt="Waterfall in forest"
226
- loading="lazy"
227
- width="800"
228
- height="600"
229
- />
230
- </figure>
231
- </button>
232
- <button
233
- data-slot="lightbox-slide carousel-slide"
234
- type="button"
235
- command="show-modal"
236
- commandfor="lightbox-example-1"
237
- >
238
- <figure data-slot="lightbox-content">
239
- <img
240
- sizes="(max-width: 40rem) 100vw, 800px"
241
- src="https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=800&h=600&fit=crop"
242
- srcset="
243
- https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=456&h=342&fit=crop 456w,
244
- https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=800&h=600&fit=crop 800w
245
- "
246
- alt="Lake at sunset"
247
- loading="lazy"
248
- width="800"
249
- height="600"
250
- />
251
- </figure>
252
- </button>
253
- <button
254
- data-slot="lightbox-slide carousel-slide"
255
- type="button"
256
- command="show-modal"
257
- commandfor="lightbox-example-1"
258
- >
259
- <figure data-slot="lightbox-content">
260
- <img
261
- sizes="(max-width: 40rem) 100vw, 800px"
262
- src="https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=800&h=600&fit=crop"
263
- srcset="
264
- https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=456&h=342&fit=crop 456w,
265
- https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=800&h=600&fit=crop 800w
266
- "
267
- alt="Foggy forest"
268
- loading="lazy"
269
- width="800"
270
- height="600"
271
- />
272
- </figure>
273
- </button>
274
- </div>
275
- </div>
276
- <div data-slot="lightbox-thumbs carousel-thumbs" data-carousel-loop="true">
277
- <button
278
- class="ui-button text-muted-foreground hover:text-foreground"
279
- data-slot="lightbox-thumbs-prev carousel-prev"
280
- data-size="icon-sm"
281
- data-variant="ghost"
282
- type="button"
283
- aria-label="Previous image"
284
- >
285
- <svg
286
- class="size-sm"
287
- xmlns="http://www.w3.org/2000/svg"
288
- viewBox="0 0 256 256"
289
- aria-hidden="true"
290
- >
291
- <rect width="256" height="256" fill="none" />
292
- <polyline
293
- points="160 208 80 128 160 48"
294
- fill="none"
295
- stroke="currentColor"
296
- stroke-linecap="round"
297
- stroke-linejoin="round"
298
- stroke-width="14"
299
- />
300
- </svg>
301
- </button>
302
- <div data-slot="carousel-viewport">
303
- <div data-slot="carousel-container">
304
- <button
305
- type="button"
306
- data-slot="lightbox-thumb carousel-slide"
307
- aria-label="Show image 1"
308
- >
309
- <figure data-slot="lightbox-thumb-content">
310
- <img
311
- sizes="auto"
312
- loading="lazy"
313
- width="228"
314
- height="171"
315
- src="https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=228&h=171&fit=crop"
316
- srcset="
317
- https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=228&h=171&fit=crop 228w,
318
- https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=456&h=342&fit=crop 456w
319
- "
320
- alt="Mountain landscape"
321
- loading="lazy"
322
- width="800"
323
- height="600"
324
- />
325
- </figure>
326
- </button>
327
- <button
328
- type="button"
329
- data-slot="lightbox-thumb carousel-slide"
330
- aria-label="Show image 2"
331
- >
332
- <figure data-slot="lightbox-thumb-content">
333
- <img
334
- sizes="auto"
335
- loading="lazy"
336
- width="228"
337
- height="171"
338
- src="https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=228&h=171&fit=crop"
339
- srcset="
340
- https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=228&h=171&fit=crop 228w,
341
- https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=456&h=342&fit=crop 456w
342
- "
343
- alt="Valley with sunlight"
344
- loading="lazy"
345
- width="800"
346
- height="600"
347
- />
348
- </figure>
349
- </button>
350
- <button
351
- type="button"
352
- data-slot="lightbox-thumb carousel-slide"
353
- aria-label="Show image 3"
354
- >
355
- <figure data-slot="lightbox-thumb-content">
356
- <img
357
- sizes="auto"
358
- loading="lazy"
359
- width="228"
360
- height="171"
361
- src="https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=228&h=171&fit=crop"
362
- srcset="
363
- https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=228&h=171&fit=crop 228w,
364
- https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=456&h=342&fit=crop 456w
365
- "
366
- alt="Forest path"
367
- loading="lazy"
368
- width="800"
369
- height="600"
370
- />
371
- </figure>
372
- </button>
373
- <button
374
- type="button"
375
- data-slot="lightbox-thumb carousel-slide"
376
- aria-label="Show image 4"
377
- >
378
- <figure data-slot="lightbox-thumb-content">
379
- <img
380
- sizes="auto"
381
- loading="lazy"
382
- width="228"
383
- height="171"
384
- src="https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=228&h=171&fit=crop"
385
- srcset="
386
- https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=228&h=171&fit=crop 228w,
387
- https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=456&h=342&fit=crop 456w
388
- "
389
- alt="Waterfall in forest"
390
- loading="lazy"
391
- width="800"
392
- height="600"
393
- />
394
- </figure>
395
- </button>
396
- <button
397
- type="button"
398
- data-slot="lightbox-thumb carousel-slide"
399
- aria-label="Show image 5"
400
- >
401
- <figure data-slot="lightbox-thumb-content">
402
- <img
403
- sizes="auto"
404
- loading="lazy"
405
- width="228"
406
- height="171"
407
- src="https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=228&h=171&fit=crop"
408
- srcset="
409
- https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=228&h=171&fit=crop 228w,
410
- https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=456&h=342&fit=crop 456w
411
- "
412
- alt="Lake at sunset"
413
- loading="lazy"
414
- width="800"
415
- height="600"
416
- />
417
- </figure>
418
- </button>
419
- <button
420
- type="button"
421
- data-slot="lightbox-thumb carousel-slide"
422
- aria-label="Show image 6"
423
- >
424
- <figure data-slot="lightbox-thumb-content">
425
- <img
426
- sizes="auto"
427
- loading="lazy"
428
- width="228"
429
- height="171"
430
- src="https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=228&h=171&fit=crop"
431
- srcset="
432
- https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=228&h=171&fit=crop 228w,
433
- https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=456&h=342&fit=crop 456w
434
- "
435
- alt="Foggy forest"
436
- loading="lazy"
437
- width="800"
438
- height="600"
439
- />
440
- </figure>
441
- </button>
442
- </div>
443
- </div>
444
- <button
445
- class="ui-button text-muted-foreground hover:text-foreground"
446
- data-slot="lightbox-thumbs-next carousel-next"
447
- data-size="icon-sm"
448
- data-variant="ghost"
449
- type="button"
450
- aria-label="Next image"
451
- >
452
- <svg
453
- class="size-sm"
454
- xmlns="http://www.w3.org/2000/svg"
455
- viewBox="0 0 256 256"
456
- aria-hidden="true"
457
- >
458
- <rect width="256" height="256" fill="none" />
459
- <polyline
460
- points="96 48 176 128 96 208"
461
- fill="none"
462
- stroke="currentColor"
463
- stroke-linecap="round"
464
- stroke-linejoin="round"
465
- stroke-width="14"
466
- />
467
- </svg>
468
- </button>
469
- </div>
470
- </div>
471
- </div>
472
-
473
- <dialog
474
- id="lightbox-example-1"
475
- class="ui-dialog dark"
476
- data-slot="lightbox-dialog"
477
- data-size="screen"
478
- closedby="any"
479
- >
480
- <div data-slot="dialog-content">
481
- <div
482
- class="ui-carousel"
483
- data-carousel-loop="true"
484
- data-carousel-plugins="class-names"
485
- >
486
- <div data-slot="carousel-viewport">
487
- <div data-slot="carousel-container">
488
- <div data-slot="lightbox-slide carousel-slide">
489
- <figure data-slot="lightbox-content">
490
- <img
491
- sizes="(max-width: 40rem) 100vw, 800px"
492
- src="https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&h=600&fit=crop"
493
- srcset="
494
- https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=456&h=342&fit=crop 456w,
495
- https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&h=600&fit=crop 800w
496
- "
497
- alt="Mountain landscape"
498
- loading="lazy"
499
- width="800"
500
- height="600"
501
- />
502
- </figure>
503
- </div>
504
- <div data-slot="lightbox-slide carousel-slide">
505
- <figure data-slot="lightbox-content">
506
- <img
507
- sizes="(max-width: 40rem) 100vw, 800px"
508
- src="https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=800&h=600&fit=crop"
509
- srcset="
510
- https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=456&h=342&fit=crop 456w,
511
- https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=800&h=600&fit=crop 800w
512
- "
513
- alt="Valley with sunlight"
514
- loading="lazy"
515
- width="800"
516
- height="600"
517
- />
518
- </figure>
519
- </div>
520
- <div data-slot="lightbox-slide carousel-slide">
521
- <figure data-slot="lightbox-content">
522
- <img
523
- sizes="(max-width: 40rem) 100vw, 800px"
524
- src="https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=800&h=600&fit=crop"
525
- srcset="
526
- https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=456&h=342&fit=crop 456w,
527
- https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=800&h=600&fit=crop 800w
528
- "
529
- alt="Forest path"
530
- loading="lazy"
531
- width="800"
532
- height="600"
533
- />
534
- </figure>
535
- </div>
536
- <div data-slot="lightbox-slide carousel-slide">
537
- <figure data-slot="lightbox-content">
538
- <img
539
- sizes="(max-width: 40rem) 100vw, 800px"
540
- src="https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=800&h=600&fit=crop"
541
- srcset="
542
- https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=456&h=342&fit=crop 456w,
543
- https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=800&h=600&fit=crop 800w
544
- "
545
- alt="Waterfall in forest"
546
- loading="lazy"
547
- width="800"
548
- height="600"
549
- />
550
- </figure>
551
- </div>
552
- <div data-slot="lightbox-slide carousel-slide">
553
- <figure data-slot="lightbox-content">
554
- <img
555
- sizes="(max-width: 40rem) 100vw, 800px"
556
- src="https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=800&h=600&fit=crop"
557
- srcset="
558
- https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=456&h=342&fit=crop 456w,
559
- https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=800&h=600&fit=crop 800w
560
- "
561
- alt="Lake at sunset"
562
- loading="lazy"
563
- width="800"
564
- height="600"
565
- />
566
- </figure>
567
- </div>
568
- <div data-slot="lightbox-slide carousel-slide">
569
- <figure data-slot="lightbox-content">
570
- <img
571
- sizes="(max-width: 40rem) 100vw, 800px"
572
- src="https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=800&h=600&fit=crop"
573
- srcset="
574
- https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=456&h=342&fit=crop 456w,
575
- https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=800&h=600&fit=crop 800w
576
- "
577
- alt="Foggy forest"
578
- loading="lazy"
579
- width="800"
580
- height="600"
581
- />
582
- </figure>
583
- </div>
584
- </div>
585
- </div>
586
- <button
587
- class="ui-button size-auto text-muted-foreground hover:text-foreground"
588
- data-slot="lightbox-prev carousel-prev"
589
- data-size="icon"
590
- data-variant="ghost"
591
- type="button"
592
- aria-label="Previous image"
593
- >
594
- <svg class="size-md" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256">
595
- <rect width="256" height="256" fill="none" />
596
- <polyline
597
- points="160 208 80 128 160 48"
598
- fill="none"
599
- stroke="currentColor"
600
- stroke-linecap="round"
601
- stroke-linejoin="round"
602
- stroke-width="14"
603
- />
604
- </svg>
605
- </button>
606
- <button
607
- class="ui-button size-auto text-muted-foreground hover:text-foreground"
608
- data-slot="lightbox-next carousel-next"
609
- data-size="icon"
610
- data-variant="ghost"
611
- type="button"
612
- aria-label="Next image"
613
- >
614
- <svg class="size-md" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256">
615
- <rect width="256" height="256" fill="none" />
616
- <polyline
617
- points="96 48 176 128 96 208"
618
- fill="none"
619
- stroke="currentColor"
620
- stroke-linecap="round"
621
- stroke-linejoin="round"
622
- stroke-width="14"
623
- />
624
- </svg>
625
- </button>
626
- <div data-slot="lightbox-thumbs carousel-thumbs">
627
- <div data-slot="carousel-viewport">
628
- <div data-slot="carousel-container">
629
- <button
630
- type="button"
631
- data-slot="lightbox-thumb carousel-slide"
632
- aria-label="Show image 1"
633
- >
634
- <figure data-slot="lightbox-thumb-content">
635
- <img
636
- sizes="auto"
637
- loading="lazy"
638
- width="228"
639
- height="171"
640
- src="https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=228&h=171&fit=crop"
641
- srcset="
642
- https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=228&h=171&fit=crop 228w,
643
- https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=456&h=342&fit=crop 456w
644
- "
645
- alt="Mountain landscape"
646
- loading="lazy"
647
- width="800"
648
- height="600"
649
- />
650
- </figure>
651
- </button>
652
- <button
653
- type="button"
654
- data-slot="lightbox-thumb carousel-slide"
655
- aria-label="Show image 2"
656
- >
657
- <figure data-slot="lightbox-thumb-content">
658
- <img
659
- sizes="auto"
660
- loading="lazy"
661
- width="228"
662
- height="171"
663
- src="https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=228&h=171&fit=crop"
664
- srcset="
665
- https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=228&h=171&fit=crop 228w,
666
- https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=456&h=342&fit=crop 456w
667
- "
668
- alt="Valley with sunlight"
669
- loading="lazy"
670
- width="800"
671
- height="600"
672
- />
673
- </figure>
674
- </button>
675
- <button
676
- type="button"
677
- data-slot="lightbox-thumb carousel-slide"
678
- aria-label="Show image 3"
679
- >
680
- <figure data-slot="lightbox-thumb-content">
681
- <img
682
- sizes="auto"
683
- loading="lazy"
684
- width="228"
685
- height="171"
686
- src="https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=228&h=171&fit=crop"
687
- srcset="
688
- https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=228&h=171&fit=crop 228w,
689
- https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?w=456&h=342&fit=crop 456w
690
- "
691
- alt="Forest path"
692
- loading="lazy"
693
- width="800"
694
- height="600"
695
- />
696
- </figure>
697
- </button>
698
- <button
699
- type="button"
700
- data-slot="lightbox-thumb carousel-slide"
701
- aria-label="Show image 4"
702
- >
703
- <figure data-slot="lightbox-thumb-content">
704
- <img
705
- sizes="auto"
706
- loading="lazy"
707
- width="228"
708
- height="171"
709
- src="https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=228&h=171&fit=crop"
710
- srcset="
711
- https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=228&h=171&fit=crop 228w,
712
- https://images.unsplash.com/photo-1433086966358-54859d0ed716?w=456&h=342&fit=crop 456w
713
- "
714
- alt="Waterfall in forest"
715
- loading="lazy"
716
- width="800"
717
- height="600"
718
- />
719
- </figure>
720
- </button>
721
- <button
722
- type="button"
723
- data-slot="lightbox-thumb carousel-slide"
724
- aria-label="Show image 5"
725
- >
726
- <figure data-slot="lightbox-thumb-content">
727
- <img
728
- sizes="auto"
729
- loading="lazy"
730
- width="228"
731
- height="171"
732
- src="https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=228&h=171&fit=crop"
733
- srcset="
734
- https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=228&h=171&fit=crop 228w,
735
- https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=456&h=342&fit=crop 456w
736
- "
737
- alt="Lake at sunset"
738
- loading="lazy"
739
- width="800"
740
- height="600"
741
- />
742
- </figure>
743
- </button>
744
- <button
745
- type="button"
746
- data-slot="lightbox-thumb carousel-slide"
747
- aria-label="Show image 6"
748
- >
749
- <figure data-slot="lightbox-thumb-content">
750
- <img
751
- sizes="auto"
752
- loading="lazy"
753
- width="228"
754
- height="171"
755
- src="https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=228&h=171&fit=crop"
756
- srcset="
757
- https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=228&h=171&fit=crop 228w,
758
- https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=456&h=342&fit=crop 456w
759
- "
760
- alt="Foggy forest"
761
- loading="lazy"
762
- width="800"
763
- height="600"
764
- />
765
- </figure>
766
- </button>
767
- </div>
768
- </div>
769
- </div>
770
- </div>
771
- </div>
772
- <button
773
- class="ui-button"
774
- data-slot="lightbox-close"
775
- data-size="icon"
776
- data-variant="ghost"
777
- type="button"
778
- commandfor="lightbox-example-1"
779
- command="close"
780
- aria-label="Close lightbox"
781
- >
782
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256">
783
- <rect width="256" height="256" fill="none" />
784
- <line
785
- x1="200"
786
- y1="56"
787
- x2="56"
788
- y2="200"
789
- stroke="currentColor"
790
- stroke-linecap="round"
791
- stroke-linejoin="round"
792
- stroke-width="16"
793
- />
794
- <line
795
- x1="200"
796
- y1="200"
797
- x2="56"
798
- y2="56"
799
- stroke="currentColor"
800
- stroke-linecap="round"
801
- stroke-linejoin="round"
802
- stroke-width="16"
803
- />
804
- </svg>
805
- </button>
806
- </dialog>
807
- </ui-lightbox>
808
-
809
- <hgroup class="flex flex-col gap-xs ui-prose">
810
- <h2 class="text-h4">Product name</h2>
811
- <p>Product description</p>
812
- <ul>
813
- <li>Feature 1</li>
814
- <li>Feature 2</li>
815
- <li>Feature 3</li>
816
- </ul>
817
- </hgroup>
818
- </div>
819
- </div>
820
- </section>
821
- </main>
822
-
823
- <footer class="border-t" data-transition-layer="global-footer">
824
- <div class="container py-xl">
825
- <div class="flex items-center justify-between gap-md">
826
- <div class="text-h6 font-black">Zazz tests</div>
827
- <menu class="flex gap-sm">
828
- <li><a class="ui-button" data-variant="link" href="about.html">About</a></li>
829
- <li><a class="ui-button" data-variant="link" href="layout.html">Layout</a></li>
830
- <li><a class="ui-button" data-variant="link" href="responsive.html">Responsive</a></li>
831
- <li><a class="ui-button" data-variant="link" href="products.html">Products</a></li>
832
- <li><a class="ui-button" data-variant="link" href="components.html">Components</a></li>
833
- <li><a class="ui-button" data-variant="link" href="forms.html">Forms</a></li>
834
- </menu>
835
- </div>
836
- </div>
837
- </footer>
838
- </body>
839
- </html>