@webquark/browser 1.1.0-dev.9 → 1.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 (344) hide show
  1. package/dist/cjs/{action.props-N0urQtdP.js → action.props-B6vl_1p5.js} +1 -1
  2. package/dist/cjs/{dom-Dk77oFF6.js → dom-BYrqRYna.js} +1 -1
  3. package/dist/cjs/{field-CsrQGhG-.js → field-B5nxD8Kc.js} +1 -1
  4. package/dist/cjs/{index-DWXhKHCB.js → index-BD6Jjssb.js} +5 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/q-accordion.cjs.entry.js +2 -2
  7. package/dist/cjs/q-alert.cjs.entry.js +1 -1
  8. package/dist/cjs/q-avatar.cjs.entry.js +2 -2
  9. package/dist/cjs/q-banner.cjs.entry.js +1 -1
  10. package/dist/cjs/q-button_2.cjs.entry.js +5 -5
  11. package/dist/cjs/q-card.cjs.entry.js +3 -3
  12. package/dist/cjs/q-carousel.cjs.entry.js +120 -18
  13. package/dist/cjs/q-chip.cjs.entry.js +2 -2
  14. package/dist/cjs/q-control-group.cjs.entry.js +64 -0
  15. package/dist/cjs/q-conversation-bubble.cjs.entry.js +1 -1
  16. package/dist/cjs/q-data-table.cjs.entry.js +4 -4
  17. package/dist/cjs/q-dialog.cjs.entry.js +4 -4
  18. package/dist/cjs/q-divider.cjs.entry.js +26 -0
  19. package/dist/cjs/q-dropdown.cjs.entry.js +320 -104
  20. package/dist/cjs/q-form.cjs.entry.js +16 -6
  21. package/dist/cjs/q-grid.cjs.entry.js +3 -3
  22. package/dist/cjs/q-icon.cjs.entry.js +1 -1
  23. package/dist/cjs/q-image-comparison.cjs.entry.js +2 -2
  24. package/dist/cjs/q-inline.cjs.entry.js +3 -3
  25. package/dist/cjs/q-input_2.cjs.entry.js +9 -7
  26. package/dist/cjs/q-link.cjs.entry.js +2 -2
  27. package/dist/cjs/q-map.cjs.entry.js +2 -2
  28. package/dist/cjs/q-media.cjs.entry.js +2 -2
  29. package/dist/cjs/q-navbar.cjs.entry.js +3 -3
  30. package/dist/cjs/q-pagination.cjs.entry.js +2 -2
  31. package/dist/cjs/q-panel.cjs.entry.js +7 -7
  32. package/dist/cjs/q-quantity-selector.cjs.entry.js +6 -6
  33. package/dist/cjs/q-radio-group.cjs.entry.js +4 -4
  34. package/dist/cjs/q-reel.cjs.entry.js +4 -4
  35. package/dist/cjs/q-scrollable.cjs.entry.js +4 -4
  36. package/dist/cjs/q-section.cjs.entry.js +2 -2
  37. package/dist/cjs/q-sidepanel.cjs.entry.js +2 -2
  38. package/dist/cjs/q-slider.cjs.entry.js +122 -0
  39. package/dist/cjs/q-stack.cjs.entry.js +3 -3
  40. package/dist/cjs/q-step-diagram-item.cjs.entry.js +2 -2
  41. package/dist/cjs/q-step-diagram.cjs.entry.js +4 -4
  42. package/dist/cjs/q-syntax-box.cjs.entry.js +1 -1
  43. package/dist/cjs/q-tabs.cjs.entry.js +2 -2
  44. package/dist/cjs/q-textarea.cjs.entry.js +7 -5
  45. package/dist/cjs/q-thumbnail.cjs.entry.js +3 -3
  46. package/dist/cjs/q-toast.cjs.entry.js +1 -1
  47. package/dist/cjs/q-toggle.cjs.entry.js +6 -6
  48. package/dist/cjs/q-toolbar.cjs.entry.js +4 -4
  49. package/dist/cjs/{tokens-RMRaIOqv.js → tokens-Cd7g-VMz.js} +3 -0
  50. package/dist/cjs/webquark.cjs.js +2 -2
  51. package/dist/collection/collection-manifest.json +3 -0
  52. package/dist/collection/components/actions/button/button.css +22 -0
  53. package/dist/collection/components/actions/button/{button.utils.unit.test.js → test/button.utils.unit.test.js} +1 -1
  54. package/dist/collection/components/content/carousel/carousel.css +7 -0
  55. package/dist/collection/components/content/carousel/carousel.js +256 -10
  56. package/dist/collection/components/content/carousel/internals/autoplay.js +31 -6
  57. package/dist/collection/components/content/carousel/test/transitions.cmp.test.js +122 -0
  58. package/dist/collection/components/data-display/accordion/accordion.js +1 -1
  59. package/dist/collection/components/data-display/data-table/data-table.js +3 -3
  60. package/dist/collection/components/data-display/map/map.js +1 -1
  61. package/dist/collection/components/data-display/map/test/map.cmp.test.js +1 -1
  62. package/dist/collection/components/data-display/pagination/pagination.js +1 -1
  63. package/dist/collection/{utils → components/data-display/syntax-box/internals}/formatter.unit.test.js +1 -1
  64. package/dist/collection/{utils → components/data-display/syntax-box/internals}/syntax.unit.test.js +1 -1
  65. package/dist/collection/components/data-display/syntax-box/syntax-box.js +2 -2
  66. package/dist/collection/components/data-display/syntax-box/test/syntax-box.cmp.test.js +1 -1
  67. package/dist/collection/components/data-display/syntax-box/test/syntax-format.cmp.test.js +1 -1
  68. package/dist/collection/components/indicators/step-diagram/step-diagram.js +2 -2
  69. package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.js +1 -1
  70. package/dist/collection/components/inputs/dropdown/dropdown.css +148 -0
  71. package/dist/collection/components/inputs/dropdown/dropdown.js +422 -104
  72. package/dist/collection/components/inputs/dropdown/test/dropdown.cmp.test.js +28 -0
  73. package/dist/collection/components/inputs/dropdown/test/fit-options.cmp.test.js +120 -0
  74. package/dist/collection/components/inputs/dropdown/test/multiple.cmp.test.js +124 -0
  75. package/dist/collection/components/inputs/dropdown/test/search-mode.cmp.test.js +186 -0
  76. package/dist/collection/components/inputs/form/form.js +2 -2
  77. package/dist/collection/components/inputs/form/internals/controls.js +1 -1
  78. package/dist/collection/components/inputs/form/internals/field-state.js +6 -1
  79. package/dist/collection/components/inputs/form/internals/values.js +5 -0
  80. package/dist/collection/components/inputs/form/test/form-submit.cmp.test.js +14 -8
  81. package/dist/collection/components/inputs/input/input.css +42 -0
  82. package/dist/collection/components/inputs/input/input.js +31 -3
  83. package/dist/collection/components/inputs/quantity-selector/quantity-selector.css +22 -0
  84. package/dist/collection/components/inputs/quantity-selector/quantity-selector.js +4 -4
  85. package/dist/collection/components/inputs/radio-group/radio-group.js +2 -2
  86. package/dist/collection/components/inputs/slider/slider.css +44 -0
  87. package/dist/collection/components/inputs/slider/slider.js +383 -0
  88. package/dist/collection/components/inputs/slider/test/slider.cmp.test.js +45 -0
  89. package/dist/collection/components/inputs/textarea/textarea.css +20 -0
  90. package/dist/collection/components/inputs/textarea/textarea.js +30 -2
  91. package/dist/collection/components/inputs/toggle/test/toggle-layout.cmp.test.js +69 -0
  92. package/dist/collection/components/inputs/toggle/toggle.css +27 -0
  93. package/dist/collection/components/inputs/toggle/toggle.js +3 -3
  94. package/dist/collection/components/layout/control-group/control-group.css +108 -0
  95. package/dist/collection/components/layout/control-group/control-group.js +142 -0
  96. package/dist/collection/components/layout/control-group/test/control-group.cmp.test.js +163 -0
  97. package/dist/collection/components/layout/divider/divider.css +40 -0
  98. package/dist/collection/components/layout/divider/divider.js +121 -0
  99. package/dist/collection/components/layout/divider/test/divider.cmp.test.js +105 -0
  100. package/dist/collection/components/layout/grid/grid.js +1 -1
  101. package/dist/collection/components/layout/inline/inline.js +1 -1
  102. package/dist/collection/components/layout/navbar/navbar.js +2 -2
  103. package/dist/collection/components/layout/panel/panel.js +4 -4
  104. package/dist/collection/components/layout/scrollable/scrollable.js +3 -3
  105. package/dist/collection/components/layout/section/section.js +1 -1
  106. package/dist/collection/components/layout/stack/stack.js +1 -1
  107. package/dist/collection/components/layout/tabs/tabs.js +1 -1
  108. package/dist/collection/components/layout/toolbar/toolbar.js +2 -2
  109. package/dist/collection/components/media/avatar/avatar.js +1 -1
  110. package/dist/collection/components/media/image-comparison/image-comparison.js +1 -1
  111. package/dist/collection/components/media/media/media.js +1 -1
  112. package/dist/collection/components/media/reel/reel.js +2 -2
  113. package/dist/collection/components/media/thumbnail/thumbnail.js +2 -2
  114. package/dist/collection/components/overlays/dialog/dialog.js +2 -2
  115. package/dist/collection/components/overlays/tooltip/tooltip.js +2 -2
  116. package/dist/collection/theme/test/input-width.cmp.test.js +117 -0
  117. package/dist/collection/theme/test/presets.unit.test.js +58 -0
  118. package/dist/collection/theme/tokens.js +3 -0
  119. package/dist/collection/utils/dom.js +1 -1
  120. package/dist/components/index.js +1 -1
  121. package/dist/components/p-BDsIecIx.js +1 -0
  122. package/dist/components/{p-6PPZ2sIO.js → p-BGHNFaaC.js} +1 -1
  123. package/dist/components/{p-Dfp_If-_.js → p-BZXIeEKC.js} +1 -1
  124. package/dist/components/{p-DlIn_ZWk.js → p-Bc2_QcLn.js} +1 -1
  125. package/dist/components/{p-CKuPOxKN.js → p-Bp6Xr92S.js} +1 -1
  126. package/dist/{webquark/p-Dhsn99q4.js → components/p-BwPMm43W.js} +1 -1
  127. package/dist/components/p-CArIPzJU.js +1 -0
  128. package/dist/components/p-CpkX9YAW.js +1 -0
  129. package/dist/components/p-D2nxHd1b.js +1 -0
  130. package/dist/components/{p-DQhiqYeq.js → p-DkanItP3.js} +1 -1
  131. package/dist/components/p-IwIJb0Mc.js +1 -0
  132. package/dist/components/{p-Cg0Mv7Vb.js → p-kfrqZyfJ.js} +1 -1
  133. package/dist/components/{p-BH4gQWub.js → p-x3C-wjU9.js} +1 -1
  134. package/dist/components/q-accordion.js +1 -1
  135. package/dist/components/q-alert.js +1 -1
  136. package/dist/components/q-avatar.js +1 -1
  137. package/dist/components/q-banner.js +1 -1
  138. package/dist/components/q-button.js +1 -1
  139. package/dist/components/q-card.js +1 -1
  140. package/dist/components/q-carousel.js +1 -1
  141. package/dist/components/q-chip.js +1 -1
  142. package/dist/components/q-control-group.d.ts +11 -0
  143. package/dist/components/q-control-group.js +1 -0
  144. package/dist/components/q-conversation-bubble.js +1 -1
  145. package/dist/components/q-data-table.js +1 -1
  146. package/dist/components/q-dialog.js +1 -1
  147. package/dist/components/q-divider.d.ts +11 -0
  148. package/dist/components/q-divider.js +1 -0
  149. package/dist/components/q-dropdown.js +1 -1
  150. package/dist/components/q-form.js +1 -1
  151. package/dist/components/q-grid.js +1 -1
  152. package/dist/components/q-icon.js +1 -1
  153. package/dist/components/q-image-comparison.js +1 -1
  154. package/dist/components/q-inline.js +1 -1
  155. package/dist/components/q-input.js +1 -1
  156. package/dist/components/q-link.js +1 -1
  157. package/dist/components/q-map.js +1 -1
  158. package/dist/components/q-media.js +1 -1
  159. package/dist/components/q-navbar.js +1 -1
  160. package/dist/components/q-pagination.js +1 -1
  161. package/dist/components/q-panel.js +1 -1
  162. package/dist/components/q-progress.js +1 -1
  163. package/dist/components/q-quantity-selector.js +1 -1
  164. package/dist/components/q-radio-group.js +1 -1
  165. package/dist/components/q-reel.js +1 -1
  166. package/dist/components/q-scrollable.js +1 -1
  167. package/dist/components/q-section.js +1 -1
  168. package/dist/components/q-sidepanel.js +1 -1
  169. package/dist/components/q-slider.d.ts +11 -0
  170. package/dist/components/q-slider.js +1 -0
  171. package/dist/components/q-stack.js +1 -1
  172. package/dist/components/q-step-diagram-item.js +1 -1
  173. package/dist/components/q-step-diagram.js +1 -1
  174. package/dist/components/q-syntax-box.js +2 -2
  175. package/dist/components/q-tabs.js +1 -1
  176. package/dist/components/q-textarea.js +1 -1
  177. package/dist/components/q-thumbnail.js +1 -1
  178. package/dist/components/q-toast.js +1 -1
  179. package/dist/components/q-toggle.js +1 -1
  180. package/dist/components/q-toolbar.js +1 -1
  181. package/dist/components/q-tooltip.js +1 -1
  182. package/dist/esm/{action.props-CpnGza8z.js → action.props-Di_LpF5H.js} +1 -1
  183. package/dist/esm/{dom-ByfrUWx1.js → dom-CArIPzJU.js} +1 -1
  184. package/dist/esm/{field-zfD6OQ02.js → field-C4Iilew6.js} +1 -1
  185. package/dist/esm/{index-B5ElFlHv.js → index-DoGM9gsC.js} +5 -2
  186. package/dist/esm/loader.js +3 -3
  187. package/dist/esm/q-accordion.entry.js +2 -2
  188. package/dist/esm/q-alert.entry.js +1 -1
  189. package/dist/esm/q-avatar.entry.js +2 -2
  190. package/dist/esm/q-banner.entry.js +1 -1
  191. package/dist/esm/q-button_2.entry.js +5 -5
  192. package/dist/esm/q-card.entry.js +3 -3
  193. package/dist/esm/q-carousel.entry.js +120 -18
  194. package/dist/esm/q-chip.entry.js +2 -2
  195. package/dist/esm/q-control-group.entry.js +62 -0
  196. package/dist/esm/q-conversation-bubble.entry.js +1 -1
  197. package/dist/esm/q-data-table.entry.js +4 -4
  198. package/dist/esm/q-dialog.entry.js +4 -4
  199. package/dist/esm/q-divider.entry.js +24 -0
  200. package/dist/esm/q-dropdown.entry.js +320 -104
  201. package/dist/esm/q-form.entry.js +16 -6
  202. package/dist/esm/q-grid.entry.js +3 -3
  203. package/dist/esm/q-icon.entry.js +1 -1
  204. package/dist/esm/q-image-comparison.entry.js +2 -2
  205. package/dist/esm/q-inline.entry.js +3 -3
  206. package/dist/esm/q-input_2.entry.js +9 -7
  207. package/dist/esm/q-link.entry.js +2 -2
  208. package/dist/esm/q-map.entry.js +2 -2
  209. package/dist/esm/q-media.entry.js +2 -2
  210. package/dist/esm/q-navbar.entry.js +3 -3
  211. package/dist/esm/q-pagination.entry.js +2 -2
  212. package/dist/esm/q-panel.entry.js +7 -7
  213. package/dist/esm/q-quantity-selector.entry.js +6 -6
  214. package/dist/esm/q-radio-group.entry.js +4 -4
  215. package/dist/esm/q-reel.entry.js +4 -4
  216. package/dist/esm/q-scrollable.entry.js +4 -4
  217. package/dist/esm/q-section.entry.js +2 -2
  218. package/dist/esm/q-sidepanel.entry.js +2 -2
  219. package/dist/esm/q-slider.entry.js +120 -0
  220. package/dist/esm/q-stack.entry.js +3 -3
  221. package/dist/esm/q-step-diagram-item.entry.js +2 -2
  222. package/dist/esm/q-step-diagram.entry.js +4 -4
  223. package/dist/esm/q-syntax-box.entry.js +1 -1
  224. package/dist/esm/q-tabs.entry.js +2 -2
  225. package/dist/esm/q-textarea.entry.js +7 -5
  226. package/dist/esm/q-thumbnail.entry.js +3 -3
  227. package/dist/esm/q-toast.entry.js +1 -1
  228. package/dist/esm/q-toggle.entry.js +6 -6
  229. package/dist/esm/q-toolbar.entry.js +4 -4
  230. package/dist/esm/{tokens-B4Mg1xEw.js → tokens-BDsIecIx.js} +3 -0
  231. package/dist/esm/webquark.js +3 -3
  232. package/dist/playground/components/theme-designer/dimension-tokens.js +9 -0
  233. package/dist/playground/components/theme-designer/token-row.js +89 -0
  234. package/dist/playground/dom-factory.js +76 -0
  235. package/dist/playground/utils/color.js +26 -0
  236. package/dist/playground/utils/dom.js +38 -0
  237. package/dist/playground/utils/index.js +2 -0
  238. package/dist/types/components/content/carousel/carousel.d.ts +23 -2
  239. package/dist/types/components/content/carousel/carousel.types.d.ts +6 -0
  240. package/dist/types/components/content/carousel/internals/autoplay.d.ts +5 -0
  241. package/dist/types/components/inputs/dropdown/dropdown.d.ts +45 -1
  242. package/dist/types/components/inputs/dropdown/test/fit-options.cmp.test.d.ts +3 -0
  243. package/dist/types/components/inputs/dropdown/test/multiple.cmp.test.d.ts +1 -0
  244. package/dist/types/components/inputs/dropdown/test/search-mode.cmp.test.d.ts +1 -0
  245. package/dist/types/components/inputs/form/internals/field-state.d.ts +1 -1
  246. package/dist/types/components/inputs/input/input.d.ts +3 -0
  247. package/dist/types/components/inputs/slider/slider.d.ts +45 -0
  248. package/dist/types/components/inputs/slider/test/slider.cmp.test.d.ts +1 -0
  249. package/dist/types/components/inputs/textarea/textarea.d.ts +3 -1
  250. package/dist/types/components/inputs/toggle/test/toggle-layout.cmp.test.d.ts +1 -0
  251. package/dist/types/components/layout/control-group/control-group.d.ts +20 -0
  252. package/dist/types/components/layout/control-group/test/control-group.cmp.test.d.ts +7 -0
  253. package/dist/types/components/layout/divider/divider.d.ts +15 -0
  254. package/dist/types/components/layout/divider/test/divider.cmp.test.d.ts +1 -0
  255. package/dist/types/components.d.ts +390 -6
  256. package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/components/theme-designer/dimension-tokens.d.ts +3 -0
  257. package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/components/theme-designer/token-row.d.ts +14 -0
  258. package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/dom-factory.d.ts +12 -0
  259. package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/utils/color.d.ts +8 -0
  260. package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/utils/dom.d.ts +15 -0
  261. package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/utils/index.d.ts +2 -0
  262. package/dist/types/index.d.ts +2 -2
  263. package/dist/types/theme/test/input-width.cmp.test.d.ts +3 -0
  264. package/dist/types/theme/test/presets.unit.test.d.ts +1 -0
  265. package/dist/types/theme/tokens.d.ts +9 -0
  266. package/dist/types/utils/form-field-adapter.d.ts +3 -3
  267. package/dist/webquark/p-0182e114.entry.js +1 -0
  268. package/dist/webquark/{p-f98f9439.entry.js → p-048103e0.entry.js} +1 -1
  269. package/dist/webquark/{p-fe8c634a.entry.js → p-0a2c52de.entry.js} +1 -1
  270. package/dist/webquark/p-0baf478a.entry.js +1 -0
  271. package/dist/webquark/{p-9e78b796.entry.js → p-15bad9ef.entry.js} +1 -1
  272. package/dist/webquark/p-17b9713f.entry.js +1 -0
  273. package/dist/webquark/{p-fec6fe0a.entry.js → p-222405b8.entry.js} +1 -1
  274. package/dist/webquark/p-2eaa3a9f.entry.js +1 -0
  275. package/dist/webquark/{p-90b0858c.entry.js → p-3daafc56.entry.js} +1 -1
  276. package/dist/webquark/{p-09cca7b9.entry.js → p-44bbe12f.entry.js} +1 -1
  277. package/dist/webquark/{p-888e46a8.entry.js → p-4609c362.entry.js} +1 -1
  278. package/dist/webquark/{p-023f8437.entry.js → p-5b584d3c.entry.js} +1 -1
  279. package/dist/webquark/p-65fe9cac.entry.js +1 -0
  280. package/dist/webquark/p-846dc838.entry.js +1 -0
  281. package/dist/webquark/{p-030ecde3.entry.js → p-84b350a3.entry.js} +1 -1
  282. package/dist/webquark/p-85131314.entry.js +1 -0
  283. package/dist/webquark/{p-f1bac94c.entry.js → p-852e88ae.entry.js} +1 -1
  284. package/dist/webquark/{p-0aa74ad6.entry.js → p-86c05afd.entry.js} +1 -1
  285. package/dist/webquark/p-8c5b2706.entry.js +1 -0
  286. package/dist/webquark/p-923527f0.entry.js +1 -0
  287. package/dist/webquark/{p-f4f97e74.entry.js → p-9a76cd71.entry.js} +1 -1
  288. package/dist/webquark/p-BDsIecIx.js +1 -0
  289. package/dist/webquark/p-CArIPzJU.js +1 -0
  290. package/dist/{components/p-BofcK-7Z.js → webquark/p-DDUED8LT.js} +1 -1
  291. package/dist/webquark/{p-DWO-pleQ.js → p-Dnz3WmdX.js} +1 -1
  292. package/dist/webquark/p-DoGM9gsC.js +3 -0
  293. package/dist/webquark/p-a0d97367.entry.js +1 -0
  294. package/dist/webquark/{p-5f232b44.entry.js → p-a16bd8d5.entry.js} +1 -1
  295. package/dist/webquark/{p-059daa8a.entry.js → p-a2334abe.entry.js} +1 -1
  296. package/dist/webquark/{p-36118d90.entry.js → p-a2ff1b64.entry.js} +1 -1
  297. package/dist/webquark/{p-dd115868.entry.js → p-a314bc21.entry.js} +1 -1
  298. package/dist/webquark/p-a3e1096d.entry.js +1 -0
  299. package/dist/webquark/{p-f63b7214.entry.js → p-a66550da.entry.js} +1 -1
  300. package/dist/webquark/{p-f9ad63ff.entry.js → p-aa342e81.entry.js} +1 -1
  301. package/dist/webquark/{p-6e28cfe2.entry.js → p-b1c771fb.entry.js} +1 -1
  302. package/dist/webquark/p-b21ad707.entry.js +1 -0
  303. package/dist/webquark/p-b45ca926.entry.js +1 -0
  304. package/dist/webquark/{p-8ece2c62.entry.js → p-b8fdef4f.entry.js} +1 -1
  305. package/dist/webquark/{p-64096386.entry.js → p-d4788321.entry.js} +1 -1
  306. package/dist/webquark/p-d86bd51d.entry.js +1 -0
  307. package/dist/webquark/{p-48fb5228.entry.js → p-dbcf7592.entry.js} +1 -1
  308. package/dist/webquark/p-e0943d41.entry.js +1 -0
  309. package/dist/webquark/{p-6bfffa79.entry.js → p-e2721e77.entry.js} +1 -1
  310. package/dist/webquark/{p-3bc4629c.entry.js → p-e723a7ae.entry.js} +1 -1
  311. package/dist/webquark/p-eb800d1e.entry.js +1 -0
  312. package/dist/webquark/{p-99d785ca.entry.js → p-f4d23ffe.entry.js} +1 -1
  313. package/dist/webquark/{p-4d61b70d.entry.js → p-f51e1098.entry.js} +1 -1
  314. package/dist/webquark/{p-9ff7e5a4.entry.js → p-fe14f038.entry.js} +1 -1
  315. package/dist/webquark/webquark.css +1 -1
  316. package/dist/webquark/webquark.esm.js +1 -1
  317. package/package.json +2 -2
  318. package/dist/components/p-B4Mg1xEw.js +0 -1
  319. package/dist/components/p-ByfrUWx1.js +0 -1
  320. package/dist/components/p-CN1ut2Lb.js +0 -1
  321. package/dist/components/p-ye27qtRo.js +0 -1
  322. package/dist/webquark/p-04c8cb9e.entry.js +0 -1
  323. package/dist/webquark/p-0ae43d6c.entry.js +0 -1
  324. package/dist/webquark/p-0c3aac3f.entry.js +0 -1
  325. package/dist/webquark/p-144ef339.entry.js +0 -1
  326. package/dist/webquark/p-296fbdb1.entry.js +0 -1
  327. package/dist/webquark/p-70d9ffde.entry.js +0 -1
  328. package/dist/webquark/p-91fff6b6.entry.js +0 -1
  329. package/dist/webquark/p-923dac41.entry.js +0 -1
  330. package/dist/webquark/p-97a89cae.entry.js +0 -1
  331. package/dist/webquark/p-B4Mg1xEw.js +0 -1
  332. package/dist/webquark/p-B5ElFlHv.js +0 -3
  333. package/dist/webquark/p-ByfrUWx1.js +0 -1
  334. package/dist/webquark/p-c523ec6f.entry.js +0 -1
  335. package/dist/webquark/p-d0253d64.entry.js +0 -1
  336. package/dist/webquark/p-d0fbd2b1.entry.js +0 -1
  337. package/dist/webquark/p-fe200f68.entry.js +0 -1
  338. /package/dist/collection/{utils → components/data-display/syntax-box/internals}/formatter.js +0 -0
  339. /package/dist/collection/{utils → components/data-display/syntax-box/internals}/syntax.js +0 -0
  340. /package/dist/types/components/actions/button/{button.utils.unit.test.d.ts → test/button.utils.unit.test.d.ts} +0 -0
  341. /package/dist/types/{utils → components/data-display/syntax-box/internals}/formatter.d.ts +0 -0
  342. /package/dist/types/{utils → components/data-display/syntax-box/internals}/formatter.unit.test.d.ts +0 -0
  343. /package/dist/types/{utils → components/data-display/syntax-box/internals}/syntax.d.ts +0 -0
  344. /package/dist/types/{utils → components/data-display/syntax-box/internals}/syntax.unit.test.d.ts +0 -0
@@ -0,0 +1,40 @@
1
+ :host {
2
+ --_q-divider-inset: var(--q-divider-inset, var(--q-space-sm, .5rem));
3
+ --_q-divider-usable: max(0px, calc(100% - var(--_q-divider-inset) - var(--_q-divider-inset)));
4
+ --_q-divider-thickness: var(--q-divider-thickness, 1px);
5
+ position: relative;
6
+ display: block;
7
+ box-sizing: border-box;
8
+ min-width: 0;
9
+ min-height: 0;
10
+ height: var(--_q-divider-thickness);
11
+ align-self: stretch;
12
+ flex: 0 0 auto;
13
+ margin-block: var(--_q-divider-spacing, 0px);
14
+ }
15
+ [part='line'] {
16
+ position: absolute;
17
+ box-sizing: border-box;
18
+ top: 50%;
19
+ left: 50%;
20
+ transform: translate(-50%, -50%);
21
+ width: clamp(0px, var(--_q-divider-length, 100%), var(--_q-divider-usable));
22
+ height: 0;
23
+ border: 0 solid var(--q-divider-color, var(--q-border-color, #374151));
24
+ border-top-width: var(--_q-divider-thickness);
25
+ }
26
+ :host([orientation='vertical']) {
27
+ width: var(--_q-divider-thickness);
28
+ height: auto;
29
+ margin-block: 0;
30
+ margin-inline: var(--_q-divider-spacing, 0px);
31
+ }
32
+ :host([orientation='vertical']) [part='line'] {
33
+ width: 0;
34
+ height: clamp(0px, var(--_q-divider-length, 100%), var(--_q-divider-usable));
35
+ border-top-width: 0;
36
+ border-left-width: var(--_q-divider-thickness);
37
+ }
38
+ @media (forced-colors: active) {
39
+ [part='line'] { border-color: CanvasText; }
40
+ }
@@ -0,0 +1,121 @@
1
+ import { Host, h } from "@stencil/core";
2
+ import { spaceValue } from "../../../theme/tokens";
3
+ /** Static, container-relative separator.
4
+ * @part line - The visible separator line.
5
+ */
6
+ export class QDivider {
7
+ /** Physical direction of the separator. */
8
+ orientation = 'horizontal';
9
+ /** CSS length or percentage, capped to the allocated extent minus endpoint insets. */
10
+ length = 'auto';
11
+ /** Symmetric external spacing perpendicular to the line. */
12
+ spacing = 'lg';
13
+ /** Hide a purely visual separator from assistive technology. */
14
+ decorative = false;
15
+ render() {
16
+ return h(Host, { key: 'eadd9334a6f43375fdf364710462eef9dc0b2b22', role: this.decorative ? undefined : 'separator', "aria-orientation": this.decorative ? undefined : this.orientation, "aria-hidden": this.decorative ? 'true' : undefined, style: { '--_q-divider-length': this.length === 'auto' ? '100%' : this.length, '--_q-divider-spacing': spaceValue(this.spacing) } }, h("span", { key: '999050a927f952484de99c165f2b20132d64eec4', part: "line", "aria-hidden": "true" }));
17
+ }
18
+ static get is() { return "q-divider"; }
19
+ static get encapsulation() { return "shadow"; }
20
+ static get originalStyleUrls() {
21
+ return {
22
+ "$": ["divider.css"]
23
+ };
24
+ }
25
+ static get styleUrls() {
26
+ return {
27
+ "$": ["divider.css"]
28
+ };
29
+ }
30
+ static get properties() {
31
+ return {
32
+ "orientation": {
33
+ "type": "string",
34
+ "mutable": false,
35
+ "complexType": {
36
+ "original": "'horizontal' | 'vertical'",
37
+ "resolved": "\"horizontal\" | \"vertical\"",
38
+ "references": {}
39
+ },
40
+ "required": false,
41
+ "optional": false,
42
+ "docs": {
43
+ "tags": [],
44
+ "text": "Physical direction of the separator."
45
+ },
46
+ "getter": false,
47
+ "setter": false,
48
+ "reflect": true,
49
+ "attribute": "orientation",
50
+ "defaultValue": "'horizontal'"
51
+ },
52
+ "length": {
53
+ "type": "string",
54
+ "mutable": false,
55
+ "complexType": {
56
+ "original": "string",
57
+ "resolved": "string",
58
+ "references": {}
59
+ },
60
+ "required": false,
61
+ "optional": false,
62
+ "docs": {
63
+ "tags": [],
64
+ "text": "CSS length or percentage, capped to the allocated extent minus endpoint insets."
65
+ },
66
+ "getter": false,
67
+ "setter": false,
68
+ "reflect": false,
69
+ "attribute": "length",
70
+ "defaultValue": "'auto'"
71
+ },
72
+ "spacing": {
73
+ "type": "string",
74
+ "mutable": false,
75
+ "complexType": {
76
+ "original": "QSpace",
77
+ "resolved": "\"2xl\" | \"3xl\" | \"lg\" | \"md\" | \"none\" | \"sm\" | \"xl\" | \"xs\"",
78
+ "references": {
79
+ "QSpace": {
80
+ "location": "import",
81
+ "path": "../../../theme/tokens",
82
+ "id": "../../../src/browser/theme/tokens.ts::QSpace",
83
+ "referenceLocation": "QSpace"
84
+ }
85
+ }
86
+ },
87
+ "required": false,
88
+ "optional": false,
89
+ "docs": {
90
+ "tags": [],
91
+ "text": "Symmetric external spacing perpendicular to the line."
92
+ },
93
+ "getter": false,
94
+ "setter": false,
95
+ "reflect": false,
96
+ "attribute": "spacing",
97
+ "defaultValue": "'lg'"
98
+ },
99
+ "decorative": {
100
+ "type": "boolean",
101
+ "mutable": false,
102
+ "complexType": {
103
+ "original": "boolean",
104
+ "resolved": "boolean",
105
+ "references": {}
106
+ },
107
+ "required": false,
108
+ "optional": false,
109
+ "docs": {
110
+ "tags": [],
111
+ "text": "Hide a purely visual separator from assistive technology."
112
+ },
113
+ "getter": false,
114
+ "setter": false,
115
+ "reflect": false,
116
+ "attribute": "decorative",
117
+ "defaultValue": "false"
118
+ }
119
+ };
120
+ }
121
+ }
@@ -0,0 +1,105 @@
1
+ import { afterEach, describe, expect, it } from "vitest";
2
+ import "../divider";
3
+ import css from "../divider.css?inline";
4
+ const frame = async () => { await new Promise(resolve => requestAnimationFrame(() => requestAnimationFrame(() => resolve()))); };
5
+ async function setup(vertical = false, layout = 'flex') {
6
+ const wrapper = document.createElement('div');
7
+ wrapper.style.cssText = `display:${layout};${layout === 'grid' ? 'grid-template-columns:auto 1px auto;' : ''}align-items:center;width:200px;gap:8px;--q-space-sm:8px;--q-border-color:rgb(12, 34, 56)`;
8
+ wrapper.innerHTML = vertical ? '<div style="height:40px">A</div><q-divider orientation="vertical"></q-divider><div>B</div>' : '<q-divider></q-divider>';
9
+ if (!vertical)
10
+ wrapper.style.display = 'block';
11
+ document.body.append(wrapper);
12
+ await customElements.whenDefined('q-divider');
13
+ await frame();
14
+ const el = wrapper.querySelector('q-divider');
15
+ const style = document.createElement('style');
16
+ style.textContent = css;
17
+ el.shadowRoot.append(style);
18
+ await frame();
19
+ return { wrapper, el, line: el.shadowRoot.querySelector('[part="line"]') };
20
+ }
21
+ describe('q-divider allocated geometry', () => {
22
+ afterEach(() => document.body.replaceChildren());
23
+ it('follows its nested wrapper and wrapped flex line, with inherited light/dark colors', async () => {
24
+ const { wrapper, el, line } = await setup(true);
25
+ const outer = document.createElement('div');
26
+ outer.style.cssText = 'display:flex;flex-wrap:wrap;width:160px;gap:12px';
27
+ wrapper.style.width = '140px';
28
+ document.body.append(outer);
29
+ outer.append(wrapper);
30
+ const anotherGroup = document.createElement('div');
31
+ anotherGroup.style.cssText = 'width:140px;height:90px';
32
+ outer.append(anotherGroup);
33
+ await frame();
34
+ expect(el.getBoundingClientRect().height).toBeCloseTo(40);
35
+ expect(line.getBoundingClientRect().height).toBeCloseTo(24);
36
+ outer.style.width = '400px';
37
+ await frame();
38
+ // The wrapper now stretches to its own allocated flex line height.
39
+ expect(line.getBoundingClientRect().height).toBeCloseTo(el.getBoundingClientRect().height - 16);
40
+ wrapper.style.setProperty('--q-border-color', 'rgb(200, 210, 220)');
41
+ await frame();
42
+ expect(getComputedStyle(line).borderLeftColor).toBe('rgb(200, 210, 220)');
43
+ wrapper.style.setProperty('--q-divider-color', 'rgb(1, 2, 3)');
44
+ await frame();
45
+ expect(getComputedStyle(line).borderLeftColor).toBe('rgb(1, 2, 3)');
46
+ });
47
+ it('stretches horizontally in a sibling-sized column flex layout', async () => {
48
+ const { wrapper, el, line } = await setup();
49
+ wrapper.style.cssText = 'display:inline-flex;flex-direction:column;align-items:center;--q-divider-inset:6px';
50
+ const sibling = document.createElement('div');
51
+ sibling.style.width = '120px';
52
+ wrapper.append(sibling);
53
+ await frame();
54
+ expect(el.getBoundingClientRect().width).toBeCloseTo(120);
55
+ expect(line.getBoundingClientRect().width).toBeCloseTo(108);
56
+ el.spacing = 'sm';
57
+ await frame();
58
+ expect(getComputedStyle(el).marginBlockStart).toBe('8px');
59
+ expect(getComputedStyle(el).marginBlockEnd).toBe('8px');
60
+ });
61
+ it('fills horizontal width with theme insets and caps explicit percentages and oversized lengths', async () => {
62
+ const { wrapper, el, line } = await setup();
63
+ expect(getComputedStyle(el).marginBlockStart).toBe('16px');
64
+ expect(getComputedStyle(el).marginBlockEnd).toBe('16px');
65
+ expect(line.getBoundingClientRect().width).toBeCloseTo(184);
66
+ el.length = '50%';
67
+ await frame();
68
+ expect(line.getBoundingClientRect().width).toBeCloseTo(100);
69
+ el.length = '999px';
70
+ await frame();
71
+ expect(line.getBoundingClientRect().width).toBeCloseTo(184);
72
+ wrapper.style.width = '100px';
73
+ await frame();
74
+ expect(line.getBoundingClientRect().width).toBeCloseTo(84);
75
+ wrapper.style.width = '10px';
76
+ await frame();
77
+ expect(line.getBoundingClientRect().width).toBe(0);
78
+ });
79
+ for (const layout of ['flex', 'grid'])
80
+ it(`stretches to sibling-driven ${layout} height without influencing it`, async () => {
81
+ const { wrapper, el, line } = await setup(true, layout);
82
+ expect(el.getBoundingClientRect().height).toBeCloseTo(40);
83
+ expect(line.getBoundingClientRect().height).toBeCloseTo(24);
84
+ expect(line.getBoundingClientRect().top - el.getBoundingClientRect().top).toBeCloseTo(8);
85
+ wrapper.firstElementChild.style.height = '64px';
86
+ await frame();
87
+ expect(line.getBoundingClientRect().height).toBeCloseTo(48);
88
+ el.length = '50%';
89
+ await frame();
90
+ expect(line.getBoundingClientRect().height).toBeCloseTo(32);
91
+ el.length = '1000px';
92
+ await frame();
93
+ expect(line.getBoundingClientRect().height).toBeCloseTo(48);
94
+ wrapper.dir = 'rtl';
95
+ el.spacing = 'sm';
96
+ await frame();
97
+ expect(getComputedStyle(el).marginInlineStart).toBe('8px');
98
+ expect(getComputedStyle(el).marginInlineEnd).toBe('8px');
99
+ expect(getComputedStyle(line).borderLeftColor).toBe('rgb(12, 34, 56)');
100
+ wrapper.firstElementChild.style.height = '10px';
101
+ wrapper.lastElementChild.style.height = '10px';
102
+ await frame();
103
+ expect(line.getBoundingClientRect().height).toBe(0);
104
+ });
105
+ });
@@ -12,7 +12,7 @@ export class QGrid {
12
12
  columnGap;
13
13
  render() {
14
14
  const columns = Math.min(4, Math.max(1, Number(this.columns) || 2));
15
- return h("div", { key: '21b51d66bb0055863da4517c11a4e4c85c3f189f', part: "layout", style: { '--_q-columns': String(columns), '--_q-min-item': this.minItemWidth, '--_q-column-gap': spaceValue(this.columnGap ?? this.gap), rowGap: spaceValue(this.rowGap ?? this.gap) } }, h("slot", { key: 'e507255e78d83768453368cd49562a00a709d9ea' }));
15
+ return h("div", { key: '6cb6f253b692cb98163938ac77b1017706921e0a', part: "layout", style: { '--_q-columns': String(columns), '--_q-min-item': this.minItemWidth, '--_q-column-gap': spaceValue(this.columnGap ?? this.gap), rowGap: spaceValue(this.rowGap ?? this.gap) } }, h("slot", { key: '6e2c2c61901e9444ad4cc789201ee1702c817d92' }));
16
16
  }
17
17
  static get is() { return "q-grid"; }
18
18
  static get encapsulation() { return "shadow"; }
@@ -10,7 +10,7 @@ export class QInline {
10
10
  justify = 'start';
11
11
  wrap = true;
12
12
  render() {
13
- return h("div", { key: '909f9b29f7dabbb0f900d2295f1e7a6da39f2a14', part: "layout", style: { gap: spaceValue(this.gap), alignItems: this.align, justifyContent: this.justify === 'between' ? 'space-between' : this.justify, flexWrap: this.wrap ? 'wrap' : 'nowrap' } }, h("slot", { key: 'b85ecc74c6b4c25f3e12787e553a21018ce591ba' }));
13
+ return h("div", { key: '4a738a5cfb63fbfe527ef97e0d4fdc5b2b9d92bb', part: "layout", style: { gap: spaceValue(this.gap), alignItems: this.align, justifyContent: this.justify === 'between' ? 'space-between' : this.justify, flexWrap: this.wrap ? 'wrap' : 'nowrap' } }, h("slot", { key: '441ff02b18335a81b7674d6b8078102bd22a46f5' }));
14
14
  }
15
15
  static get is() { return "q-inline"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -386,7 +386,7 @@ export class QNavbar {
386
386
  const items = identifyItems(this.parsedItems, item => item.value, { warningContext: 'q-navbar.items' });
387
387
  const hasItems = items.length > 0;
388
388
  const ariaLabel = this.ariaLabel?.trim() || undefined;
389
- return (h("div", { key: '984eb99144c6a6b0984ffbcfadaabf354679ec23', class: {
389
+ return (h("div", { key: '72300427ebcdcbd1fbf35538fe36af599674eec7', class: {
390
390
  'navbar': true,
391
391
  'is-open': this.menuOpen,
392
392
  'is-sticky': this.sticky,
@@ -396,7 +396,7 @@ export class QNavbar {
396
396
  'is-collapsed': this.collision,
397
397
  'has-mobile-nav': this.hasMobileNav,
398
398
  'has-mobile-actions': this.hasMobileActions,
399
- }, part: "navbar" }, h("div", { key: 'b0cbb5d2aca3697d41bd6c5b95fe92dcca6f26d6', class: "navbar-row" }, this.renderBrand(), h("nav", { key: '05a17c2ed12eb65d0ae453d4bd3afcd7f14a0ae0', id: this.primaryNavId, class: "desktop-nav", "aria-label": ariaLabel || 'Primary navigation', part: "nav" }, hasItems && this.renderNavItems(items), h("slot", { key: 'be2d916604ff3b4a9e83d1a640dfe50a137976a8', name: "nav" })), h("div", { key: '93fe2b60d81c1aa0974c875949e55631a50e519f', class: "desktop-actions", part: "actions" }, h("slot", { key: '338e0a38994c7b7522ecf86761db70d277cfe009', name: "actions" })), h("button", { key: '29e0bba6ab435f3ebe3d4face01650c47d3dd0a0', class: "menu-button", type: "button", "aria-label": this.mobileLabel, "aria-expanded": this.menuOpen ? 'true' : 'false', "aria-controls": `${this.primaryNavId} ${this.mobilePanelId}`, "aria-haspopup": "true", onClick: this.handleMenuToggle, part: "menu-button" }, h("span", { key: '787867e0d2ba07c96f1e40c3e4ed8ef2a40c11df' }), h("span", { key: '386238de66eb94177d67d8e5073d6d1179fa2976' }), h("span", { key: 'd68f9fcc3108cbda8b1ee5e359aeb4336c00fe8a' }))), h("div", { key: '145bba73cf8bdfbe201ccb5591466b491c7e997a', id: this.mobilePanelId, class: { 'mobile-panel': true, 'has-content': this.hasMobileContent }, part: "mobile-panel" }, h("nav", { key: '9007da2f0481fa79a5c20275e82f3f4ed1d9fa29', class: "mobile-nav", "aria-label": ariaLabel || 'Mobile navigation' }, h("slot", { key: '8c9968e9696413607623238759260bb57fd7f079', name: "mobile-nav", onSlotchange: this.handleMobileSlotChange })), h("div", { key: 'e9ef48db7fb076b4bf36d7fe7cb2b51105ec06af', class: "mobile-actions" }, h("slot", { key: 'c46d889db7fdb17180eff12eead8416dce7af707', name: "mobile-actions", onSlotchange: this.handleMobileSlotChange })))));
399
+ }, part: "navbar" }, h("div", { key: '356a76e80a441df888f98d49cdea2dc0a5173480', class: "navbar-row" }, this.renderBrand(), h("nav", { key: '16cd03606d948a4ad0caefe2461d09b4b2e0214d', id: this.primaryNavId, class: "desktop-nav", "aria-label": ariaLabel || 'Primary navigation', part: "nav" }, hasItems && this.renderNavItems(items), h("slot", { key: '1df39d562f06cb2f7a2b76161a122d9f73405aff', name: "nav" })), h("div", { key: '99c982b99446849f1c8669c9c2b92eb0530e8bb6', class: "desktop-actions", part: "actions" }, h("slot", { key: '97fe69941ea841fbd570a8d2bc306d292642699c', name: "actions" })), h("button", { key: '55ac3eb3c878dcbba1709c28444f5ceed9d65952', class: "menu-button", type: "button", "aria-label": this.mobileLabel, "aria-expanded": this.menuOpen ? 'true' : 'false', "aria-controls": `${this.primaryNavId} ${this.mobilePanelId}`, "aria-haspopup": "true", onClick: this.handleMenuToggle, part: "menu-button" }, h("span", { key: 'a4969f428a53183aff6162ca99c49344c9e22c43' }), h("span", { key: '67d19e78025a71de533d64be9648959055f371e6' }), h("span", { key: 'd8b4c1e9ad64d9c165b687b3331e035cbedde1c5' }))), h("div", { key: '7e4404dbce5035e890c3fb82774da5409532afaf', id: this.mobilePanelId, class: { 'mobile-panel': true, 'has-content': this.hasMobileContent }, part: "mobile-panel" }, h("nav", { key: 'eff22494d13789eb4ddb95a0db64e1bfc60bc457', class: "mobile-nav", "aria-label": ariaLabel || 'Mobile navigation' }, h("slot", { key: '5f6acd5b274ab9fd2cd6762912c05787802be39c', name: "mobile-nav", onSlotchange: this.handleMobileSlotChange })), h("div", { key: '262bfccfc84486b53b607f78c82f5e203ec79bad', class: "mobile-actions" }, h("slot", { key: '9c631d7e8d89f424442fba93e094c5562f98ea68', name: "mobile-actions", onSlotchange: this.handleMobileSlotChange })))));
400
400
  }
401
401
  static get is() { return "q-navbar"; }
402
402
  static get encapsulation() { return "shadow"; }
@@ -55,7 +55,7 @@ export class QPanel {
55
55
  }
56
56
  // ===================== [6] RENDER (Visual Template Only) =====================
57
57
  render() {
58
- return (h("section", { key: '065fc35a33a77a268ca0f3d6754bc6d01422981b', style: { '--_q-surface': surfaceValue(this.surface ?? (this.variant === 'plain' ? 'transparent' : 'panel')), '--_q-body-padding': spaceValue(this.padding), '--_q-header-padding': spaceValue(this.headerPadding ?? this.padding), '--_q-footer-padding': spaceValue(this.footerPadding ?? this.padding) }, class: {
58
+ return (h("section", { key: 'e4d17eda76e6fd5c295178a0cf7440e0dfa4f2bb', style: { '--_q-surface': surfaceValue(this.surface ?? (this.variant === 'plain' ? 'transparent' : 'panel')), '--_q-body-padding': spaceValue(this.padding), '--_q-header-padding': spaceValue(this.headerPadding ?? this.padding), '--_q-footer-padding': spaceValue(this.footerPadding ?? this.padding) }, class: {
59
59
  'panel': true,
60
60
  'has-dividers': this.dividers,
61
61
  [`variant-${this.variant}`]: true,
@@ -66,13 +66,13 @@ export class QPanel {
66
66
  'has-sticky-header': this.stickyHeader,
67
67
  'has-sticky-footer': this.stickyFooter,
68
68
  'uses-sticky-scroll': this.scrollable && (this.stickyHeader || this.stickyFooter),
69
- }, "aria-label": this.ariaLabel, part: "panel" }, h("div", { key: '9d5c8d28d533d0e43c61e876ec9a8d541929b98b', class: {
69
+ }, "aria-label": this.ariaLabel, part: "panel" }, h("div", { key: '653bb1def51fb6ad21914ef7e5a54cbfb147640e', class: {
70
70
  'panel-header': true,
71
71
  'is-hidden': !this.hasHeader,
72
- }, part: "header" }, h("slot", { key: 'c09f8b0795deccc03e73e88e6cbecc21095201bb', name: "header", onSlotchange: this.handleSlotChange })), h("div", { key: '9979e393b38d4730a9872be6e0cc5a16ecb02a81', class: "panel-body", part: "body", tabindex: this.scrollable ? 0 : undefined, role: this.scrollable ? 'region' : undefined, "aria-label": this.scrollRegionLabel }, h("slot", { key: '95953687d837f921d1a6fa00a22f88e3b9a2cf36' })), h("div", { key: 'e406c007cd26bac6c3d931007c821ade6e77a6cf', class: {
72
+ }, part: "header" }, h("slot", { key: '06cc3f354673d5fe3fde67b1b86ec392e03be7df', name: "header", onSlotchange: this.handleSlotChange })), h("div", { key: 'cb4a97900e5524015eae2ee57fa78509a9bb776d', class: "panel-body", part: "body", tabindex: this.scrollable ? 0 : undefined, role: this.scrollable ? 'region' : undefined, "aria-label": this.scrollRegionLabel }, h("slot", { key: '3dbcb6ca0b4fa46edbf706537905d4fe073f755f' })), h("div", { key: '422214dca7949db96461944299d42c1c0aa484b3', class: {
73
73
  'panel-footer': true,
74
74
  'is-hidden': !this.hasFooter,
75
- }, part: "footer" }, h("slot", { key: 'de7f70fc2e6475076dc91f8f187b7227d5864261', name: "footer", onSlotchange: this.handleSlotChange }))));
75
+ }, part: "footer" }, h("slot", { key: '4738de4fdffc4802c02f3de0e32c6c2d2cf30f4b', name: "footer", onSlotchange: this.handleSlotChange }))));
76
76
  }
77
77
  static get is() { return "q-panel"; }
78
78
  static get encapsulation() { return "shadow"; }
@@ -326,13 +326,13 @@ export class QScrollable {
326
326
  height: this.height,
327
327
  maxHeight: this.maxHeight || undefined,
328
328
  };
329
- return (h(Host, { key: '6d1e62332bc4fd77be207350b4b38fd83ebe2e59', class: {
329
+ return (h(Host, { key: '6dfe263ff199a234244d309b4b9173a0aa179651', class: {
330
330
  'is-scrolling': this.isScrolling,
331
331
  'is-dragging': this.isDragging,
332
- }, style: hostStyle }, h("div", { key: 'caffc0f498b0268f5dcb4f7796cda09748e8c5b8', class: "q-scrollable-host" }, h("div", { key: '346b2f2fbdb843892d013717b5fc47540f3df3ba', id: this.viewportId, class: "q-scrollable-viewport", ref: this.setViewportRef, onScroll: this.handleScroll, tabindex: 0, part: "viewport" }, h("div", { key: '045b7291e586e3ff56942c80c717b80ec9c392c8', class: "q-scrollable-content", ref: this.setContentRef, part: "content" }, h("slot", { key: '5e033a24ed058a588a06a7f45b47303e6ffdcee2' }))), this.mode === 'custom' && (h("div", { key: '55119f15b8bc8be81207a32412dc5bf06c7aef88', class: {
332
+ }, style: hostStyle }, h("div", { key: '6ecf6002545a4fe54a3d8f7c79996c5f172eeafb', class: "q-scrollable-host" }, h("div", { key: '049712eb9a314295b2aeba91c85a7d2a955badbd', id: this.viewportId, class: "q-scrollable-viewport", ref: this.setViewportRef, onScroll: this.handleScroll, tabindex: 0, part: "viewport" }, h("div", { key: '2526fef43264a34029ab3de291cd5ad8b8169ab7', class: "q-scrollable-content", ref: this.setContentRef, part: "content" }, h("slot", { key: '826a4cabc557ad0560bddbbd366aaf0d895d0265' }))), this.mode === 'custom' && (h("div", { key: 'd6f2628d74339e74aca7c0de609f9e56e211666a', class: {
333
333
  'q-scrollbar-track': true,
334
334
  'is-dragging': this.isDragging,
335
- }, ref: (el) => (this.trackEl = el), part: "track" }, h("div", { key: '5e960415f6ac020252972ce9120c4eb49f864273', class: "q-scrollbar-thumb", ref: (el) => (this.thumbEl = el), onPointerDown: this.handlePointerDown, onKeyDown: this.handleThumbKeyDown, role: "scrollbar", "aria-controls": this.viewportId, "aria-orientation": "vertical", "aria-valuemin": "0", "aria-valuemax": this.scrollValueMax, "aria-valuenow": this.scrollValueNow, "aria-label": "Scroll content", tabindex: 0, part: "thumb" }))))));
335
+ }, ref: (el) => (this.trackEl = el), part: "track" }, h("div", { key: '49bcccd913a9ce1d991d234ef024c586a4549904', class: "q-scrollbar-thumb", ref: (el) => (this.thumbEl = el), onPointerDown: this.handlePointerDown, onKeyDown: this.handleThumbKeyDown, role: "scrollbar", "aria-controls": this.viewportId, "aria-orientation": "vertical", "aria-valuemin": "0", "aria-valuemax": this.scrollValueMax, "aria-valuenow": this.scrollValueNow, "aria-label": "Scroll content", tabindex: 0, part: "thumb" }))))));
336
336
  }
337
337
  static get is() { return "q-scrollable"; }
338
338
  static get encapsulation() { return "shadow"; }
@@ -10,7 +10,7 @@ export class QSection {
10
10
  reverse = false;
11
11
  columns = 1;
12
12
  render() {
13
- return h(Host, { key: 'a7e87955c11a6d106aa3fe6e41286e1a2cc9fd1b' }, h("slot", { key: '5b04f4b493e3df3667f014bb5509fb82019260a5', name: "media" }), h("slot", { key: '7af643bd699efd2d424b59bfa2476223adc8eb9a' }), h("slot", { key: 'd72c34e47637df6f73541f723e14b0e301fb1888', name: "actions" }));
13
+ return h(Host, { key: 'c324ed569083addd204d27d7fd74bb3f9a1ec616' }, h("slot", { key: 'e8a7d513bf2d3a817f69c71b47d1691ef33ebf1f', name: "media" }), h("slot", { key: '0d6d389f6778f523434900e58b2631668364c9a5' }), h("slot", { key: 'a65738487e173661217ef1513d7a57d88801ef76', name: "actions" }));
14
14
  }
15
15
  static get is() { return "q-section"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -8,7 +8,7 @@ export class QStack {
8
8
  gap = 'lg';
9
9
  align = 'stretch';
10
10
  render() {
11
- return h("div", { key: '896e7bb881011c4be9acc8f0f9cb6a0441727449', part: "layout", style: { gap: spaceValue(this.gap), alignItems: this.align } }, h("slot", { key: 'e740b8afd88d1bfed3d390d0c6eb40e309a8e4b9' }));
11
+ return h("div", { key: 'ff2923042dd41fa65f782701074ef8fac385803b', part: "layout", style: { gap: spaceValue(this.gap), alignItems: this.align } }, h("slot", { key: 'fb01b80bb7193336e9fbf210c0c972d137780e4a' }));
12
12
  }
13
13
  static get is() { return "q-stack"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -70,7 +70,7 @@ export class QTabs {
70
70
  warningContext: 'q-tabs items',
71
71
  });
72
72
  const activeIndex = this.getActiveIndex(items);
73
- return (h("div", { key: 'e0f89733ad0e03f503866154297f6621467f2ff4', class: {
73
+ return (h("div", { key: '32da2b9996b98b24ce121fced18f670d5b2652fe', class: {
74
74
  'tab-list': true,
75
75
  [`size-${this.size}`]: true,
76
76
  [`variant-${this.variant}`]: true,
@@ -24,12 +24,12 @@ export class QToolbar {
24
24
  /** Accessible label for the toolbar content group. */
25
25
  ariaLabel = null;
26
26
  render() {
27
- return (h(Host, { key: '29b6f8b1c803ea365296ddacc8e327b568fe541a', style: { ...controlScope(this.size), '--_q-toolbar-gap': spaceValue(this.gap) } }, h("div", { key: '7617cc5b3b8ea7186813723cc97046d81854a86e', class: {
27
+ return (h(Host, { key: 'a6ee427416e1b2804d27a5c508286e7c8145de5e', style: { ...controlScope(this.size), '--_q-toolbar-gap': spaceValue(this.gap) } }, h("div", { key: 'f6e2c4ed7ef2a0e517dd396c1f92cd709e638e4e', class: {
28
28
  toolbar: true,
29
29
  'is-compact': this.compact,
30
30
  'is-transparent': this.transparent,
31
31
  'is-bordered': this.bordered,
32
- }, role: this.ariaLabel ? 'group' : undefined, "aria-label": this.ariaLabel, part: "toolbar" }, h("div", { key: '8f26408a1d3dfb9d20f752bd5e283b13f2613bc5', class: "toolbar-row", part: "row" }, h("div", { key: 'fe90f5d87179c28322c2468660c9853f62b3c79b', class: "toolbar-start", part: "start" }, h("slot", { key: '0ffcaa5f7bbc3d5d77e698d2405ca9f58a4abf35', name: "start" })), h("div", { key: '7082ecabfe03d640417fc9e6f9612c13ed1acd1b', class: "toolbar-content", part: "content" }, h("slot", { key: '6a262ce079b6b23956a3228b939ad7cc44dbf0a6' })), h("div", { key: '5bfbd2146c1c515589e70a9270412679bf666a47', class: "toolbar-end", part: "end" }, h("slot", { key: 'edbdb87c5e1f4511f6b10c9665c6bc5fd1d1c7ab', name: "end" }))))));
32
+ }, role: this.ariaLabel ? 'group' : undefined, "aria-label": this.ariaLabel, part: "toolbar" }, h("div", { key: 'a67f45efad7bbe963e23c491ac055328b8940b75', class: "toolbar-row", part: "row" }, h("div", { key: '7a9201f4bd923d8b4b4576083bb18735d31d8eb0', class: "toolbar-start", part: "start" }, h("slot", { key: '7d1931b85bbc9dfd62c2a4bba4f2edfdc390c5c6', name: "start" })), h("div", { key: '4c5a681c11c91247913e234424bf774293f600f5', class: "toolbar-content", part: "content" }, h("slot", { key: 'd60e8dfefd9db036961510af3ff687e1f17996cd' })), h("div", { key: '3c7b45b143cafd7a848d7e39770494b0346f28d4', class: "toolbar-end", part: "end" }, h("slot", { key: '3a53678160791e3f0967bbecb72345621be67fc7', name: "end" }))))));
33
33
  }
34
34
  static get is() { return "q-toolbar"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -81,7 +81,7 @@ export class QAvatar {
81
81
  const preset = typeof this.size === 'string' && ['sm', 'md', 'lg'].includes(this.size)
82
82
  ? this.size
83
83
  : 'custom';
84
- return (h("div", { key: 'b55418dd6870fbb2d092fefe2aaa9a4df3d70bc2', class: {
84
+ return (h("div", { key: '4756953378ca0e5ba3b882086f19f4e797aa0966', class: {
85
85
  avatar: true,
86
86
  [`size-${preset}`]: true,
87
87
  [`shape-${this.shape}`]: true,
@@ -173,7 +173,7 @@ export class QImageComparison {
173
173
  const afterSrc = this.afterSrc;
174
174
  const ratio = this.frameRatio;
175
175
  const failed = !beforeSrc || !afterSrc || this.beforeStatus === 'error' || this.afterStatus === 'error' || this.cropUnavailable;
176
- return (h("div", { key: 'e5cb91f961fdf7315695a18493040d13d3941db9', part: "frame", class: { frame: true, ready: this.ready }, style: { aspectRatio: String(ratio) }, ref: el => this.frame = el, onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerEnd, onPointerCancel: this.handlePointerEnd, onLostPointerCapture: this.handlePointerEnd }, this.renderImage('after', afterSrc, generation, ratio), this.renderImage('before', beforeSrc, generation, ratio), !this.ready && (h("div", { key: '1f2475c783766755509d9d54dcdfc4df47e53dcf', part: "status", class: "status", role: "status" }, failed ? 'Comparison unavailable' : 'Loading images…')), this.ready && (h("div", { key: '2eec4ab18af3a0b36131c02863dc5c5a2df18694', class: "decorations", "aria-hidden": "true" }, h("span", { key: '7ae92c04fafd0bd31de0b401f76ce7a034b02048', part: "before-label", class: "label before-label" }, this.beforeLabel), h("span", { key: '8e8b8de5bc9d7b21673f77846b9163b613a7088d', part: "after-label", class: "label after-label" }, this.afterLabel), h("div", { key: '4854d62180509a1d228e4bd31e5ce7d7a52c1f37', part: "divider", class: "divider", style: { left: `${this.position}%` } }, h("span", { key: 'bbf3b58ccbcb19480728ea7b99795c0bb358c8ad', part: "handle", class: "handle" }, "\u2194")))), h("input", { key: 'd1137935c724bcc8e70c3c098904d3086db67a0b', part: "control", class: "control", ref: el => this.range = el, type: "range", min: "0", max: "100", step: "1", value: this.position, disabled: !this.ready, "aria-label": this.ariaLabel || 'Image comparison', "aria-valuetext": `${Math.round(this.position)}% ${this.beforeLabel || 'Before'} revealed`, onInput: event => this.updatePosition(Number(event.target.value)) })));
176
+ return (h("div", { key: 'e5410625988c20e6a76cccff54da4f2c1b6a9c21', part: "frame", class: { frame: true, ready: this.ready }, style: { aspectRatio: String(ratio) }, ref: el => this.frame = el, onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerEnd, onPointerCancel: this.handlePointerEnd, onLostPointerCapture: this.handlePointerEnd }, this.renderImage('after', afterSrc, generation, ratio), this.renderImage('before', beforeSrc, generation, ratio), !this.ready && (h("div", { key: 'e9ec809349bcdca73642dd85dfce7be2c85e8e5d', part: "status", class: "status", role: "status" }, failed ? 'Comparison unavailable' : 'Loading images…')), this.ready && (h("div", { key: '261f042c581b98249982bbaacb5e011e83e3815c', class: "decorations", "aria-hidden": "true" }, h("span", { key: 'e44600d0ebea85584ade0032ac67b2760d26fc78', part: "before-label", class: "label before-label" }, this.beforeLabel), h("span", { key: '8b5ab613e9f85fe0b8031c73a18e42baa8199f13', part: "after-label", class: "label after-label" }, this.afterLabel), h("div", { key: '61cd1aa7fa75b4a17e1fdeb8b5589716e481fe30', part: "divider", class: "divider", style: { left: `${this.position}%` } }, h("span", { key: 'c6e5a4ac428bd57659be6ab0c1f6fdc49b1c596b', part: "handle", class: "handle" }, "\u2194")))), h("input", { key: 'd070ec8fc8404a6f37385b918cedd8ebd6414204', part: "control", class: "control", ref: el => this.range = el, type: "range", min: "0", max: "100", step: "1", value: this.position, disabled: !this.ready, "aria-label": this.ariaLabel || 'Image comparison', "aria-valuetext": `${Math.round(this.position)}% ${this.beforeLabel || 'Before'} revealed`, onInput: event => this.updatePosition(Number(event.target.value)) })));
177
177
  }
178
178
  static get is() { return "q-image-comparison"; }
179
179
  static get encapsulation() { return "shadow"; }
@@ -10,7 +10,7 @@ export class QMedia {
10
10
  loading = 'lazy';
11
11
  alt = '';
12
12
  render() {
13
- return h(Host, { key: '915251e24f7197221a2a7444fecbe1ad2544b563' }, h("slot", { key: '938c8d22d6289db2fe3ac5ed1a905c61e7994a4a' }), h("slot", { key: '9be4d4ce06cac5572f3ed8b130e9085d098aaa73', name: "fallback" }));
13
+ return h(Host, { key: '49f6d5a90a5cb7afeee7ab095fef25de2033640a' }, h("slot", { key: '96b02b03210be05385b0cef1e815ea2e1815696f' }), h("slot", { key: 'ed0a47203720efe45c55e00718d20f2120c1c183', name: "fallback" }));
14
14
  }
15
15
  static get is() { return "q-media"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -148,10 +148,10 @@ export class QReel {
148
148
  const currentIdx = this.getActiveIndex(thumbnails);
149
149
  const hasPrev = currentIdx > 0;
150
150
  const hasNext = currentIdx !== -1 && currentIdx < thumbnails.length - 1;
151
- return (h("div", { key: '7744fd5bdb4cbc917a350b6d17e8940cc9e1cff2', class: {
151
+ return (h("div", { key: '8c380eddb422e7aa04daa42d54944bf3e321cfd1', class: {
152
152
  'reel-container': true,
153
153
  [`layout-${this.layout}`]: true,
154
- } }, h("slot", { key: '74eda46a046b43cba85fc9bbdd76e89c349be018' }), this.activeMedia && (h("div", { key: '11f0513a929af336ba29ae37301e19f4245fc856', class: "lightbox-overlay", onClick: this.closeLightbox, onKeyDown: this.handleKeyDown, role: "dialog", "aria-modal": "true", "aria-label": this.activeMedia.label || 'Media Viewer', tabindex: "-1" }, h("button", { key: '125a8cf14746401fcfb967e3a2ec6328a1f6203c', class: "lightbox-close", onClick: this.handleCloseButtonClick, "aria-label": "Close viewer", ref: (el) => (this.closeButtonRef = el) }, h("svg", { key: '9ad56cdbc49ecbc6939d4ab1c2ecaf85b8998763', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("line", { key: 'd1d140a2465ad19a05eb310984604163799057e4', x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { key: '3879702b4473874cbdfad61df8d8baf1a9a13f89', x1: "6", y1: "6", x2: "18", y2: "18" }))), hasPrev && (h("button", { key: '945e385952b9529d56c6ef009ad583cf879a1591', class: "lightbox-prev", onClick: this.handlePreviousClick, "aria-label": "Previous media" }, h("svg", { key: 'd20850b91d771de7fd7b08af7920f390dd19733d', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("polyline", { key: '52ac81117d6e5245b36863b9fb3cae84e4296ace', points: "15 18 9 12 15 6" })))), hasNext && (h("button", { key: 'a9fb6797a16c737f7962f7b05b05958997afb610', class: "lightbox-next", onClick: this.handleNextClick, "aria-label": "Next media" }, h("svg", { key: '262d4a92060449f14fb0fc2cd5b75a4e33094706', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("polyline", { key: 'ca32052e104a54c6860ad725660a82e065ede577', points: "9 18 15 12 9 6" })))), h("div", { key: '48503cf4be1f56eea39f1a929a5355f537861870', class: "lightbox-content", onClick: (e) => e.stopPropagation() }, this.activeMedia.video ? (h("video", { class: "lightbox-media", src: this.activeMedia.src, controls: true, autoplay: true, loop: true })) : (h("img", { class: "lightbox-media", src: this.activeMedia.src, alt: this.activeMedia.alt })), this.activeMedia.label && (h("div", { key: '68717bb03281d847173b40ca01ce594892907cd2', class: "lightbox-caption" }, this.activeMedia.label)))))));
154
+ } }, h("slot", { key: 'f28ad233d221f13eb8c72b15fc2cd32d8792d58c' }), this.activeMedia && (h("div", { key: 'f3a6e64dd9f1a1b35fe8319d47a70245b7d47fa7', class: "lightbox-overlay", onClick: this.closeLightbox, onKeyDown: this.handleKeyDown, role: "dialog", "aria-modal": "true", "aria-label": this.activeMedia.label || 'Media Viewer', tabindex: "-1" }, h("button", { key: '7063a5f5f0e14bcbd1e1f94b2bfc49bc3197c687', class: "lightbox-close", onClick: this.handleCloseButtonClick, "aria-label": "Close viewer", ref: (el) => (this.closeButtonRef = el) }, h("svg", { key: '7f7857e3d503c5c59593207f274a489293d2f806', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("line", { key: 'a17b42d0f8be9105b6709202efe08ecba719fcd3', x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { key: '205fbf145f34926042d8563c9bc17b00f499c14a', x1: "6", y1: "6", x2: "18", y2: "18" }))), hasPrev && (h("button", { key: '76fb2144308dc2c42c73c87bb4a487c68fe738ef', class: "lightbox-prev", onClick: this.handlePreviousClick, "aria-label": "Previous media" }, h("svg", { key: 'f4e3069acf0ed623ece4e36d1990e1871d780943', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("polyline", { key: '3b7eca129e4de80e7a6a7a64e5674a888fab9cf1', points: "15 18 9 12 15 6" })))), hasNext && (h("button", { key: '3a37c591dcedcab431c3d3104d71c61688820599', class: "lightbox-next", onClick: this.handleNextClick, "aria-label": "Next media" }, h("svg", { key: 'f9b9fdb2158fa7d8e64f1d5980781f0c7f902095', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("polyline", { key: '8a3f09375a1ec756623ee492a1b9605d5f13a0c9', points: "9 18 15 12 9 6" })))), h("div", { key: '589de81633eea3ca158bae65f593db95a7ce52a7', class: "lightbox-content", onClick: (e) => e.stopPropagation() }, this.activeMedia.video ? (h("video", { class: "lightbox-media", src: this.activeMedia.src, controls: true, autoplay: true, loop: true })) : (h("img", { class: "lightbox-media", src: this.activeMedia.src, alt: this.activeMedia.alt })), this.activeMedia.label && (h("div", { key: '600aafa8078da0fc103f49c6d81bd30f1c569a08', class: "lightbox-caption" }, this.activeMedia.label)))))));
155
155
  }
156
156
  static get is() { return "q-reel"; }
157
157
  static get encapsulation() { return "shadow"; }
@@ -34,11 +34,11 @@ export class QThumbnail {
34
34
  };
35
35
  // ===================== [6] RENDER (Visual Template Only) =====================
36
36
  render() {
37
- return (h("div", { key: 'ea2f3d7e63dde0ef13fcf2ee9cff32c7e1fe960d', class: {
37
+ return (h("div", { key: '16b166cd500f563aed661e72911d4f446293765a', class: {
38
38
  'thumb-wrapper': true,
39
39
  'is-highlighted': this.highlighted,
40
40
  'is-video': this.video,
41
- }, onClick: this.handleTrigger, role: "button", tabindex: "0", "aria-label": this.label || this.alt || 'Media item', onKeyDown: this.handleKeyDown }, h("div", { key: '28949b76cb71b948e3bd676301468dcb08d01d8f', class: "thumb-media-container" }, h("img", { key: '9f53c9dd6472ad5b2fd6b71071665cabb80af183', class: "thumb-image", src: this.src, alt: this.alt, loading: "lazy" }), this.video && (h("div", { key: 'fa52e022330cb063850ae3ef69391de0ea0892b0', class: "video-play-indicator", "aria-hidden": "true" }, h("svg", { key: '56912cce4a79c0aa6d6b2737fac169dfa8573d05', viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true" }, h("polygon", { key: '495bed3190a985beb7118c8b50ad643c4a9e1c78', points: "5 3 19 12 5 21 5 3" }))))), this.label && (h("div", { key: 'cd6ab0bbc91f6e0ee056f725fa75e2ef30cd1397', class: "thumb-caption" }, h("span", { key: '216c4d556957eb34c2dff8fde81c883cd0060c8b', class: "caption-text" }, this.label))), h("slot", { key: '316d0029a64a2128d007a3baf1a01cedf0fafe6b' })));
41
+ }, onClick: this.handleTrigger, role: "button", tabindex: "0", "aria-label": this.label || this.alt || 'Media item', onKeyDown: this.handleKeyDown }, h("div", { key: '7469ffc9550790a406f2fea4c62e45e6410d6f44', class: "thumb-media-container" }, h("img", { key: 'd9fe1697df917b78ea8dc7ba4555f8b61e986872', class: "thumb-image", src: this.src, alt: this.alt, loading: "lazy" }), this.video && (h("div", { key: 'e052677c066596d04fbee87b7231d590b7cb4b90', class: "video-play-indicator", "aria-hidden": "true" }, h("svg", { key: 'a74a05147b38972b004c53bd04c5f1270acbe4a5', viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true" }, h("polygon", { key: 'b53e1938fa735055278b22f9cdedf217befed643', points: "5 3 19 12 5 21 5 3" }))))), this.label && (h("div", { key: '9f9cfb421b6313e07cd71705b082245969184581', class: "thumb-caption" }, h("span", { key: '686d3ec6e4bb05b0ab0fd3ae78e73ba5c9930862', class: "caption-text" }, this.label))), h("slot", { key: '14f7ea0aba31712761a749516407a35fc17215fe' })));
42
42
  }
43
43
  static get is() { return "q-thumbnail"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -198,9 +198,9 @@ export class QDialog {
198
198
  'dialog-backdrop': true,
199
199
  [`effect-${backdropEffect}`]: true,
200
200
  };
201
- return (h("div", { key: '1c0d0385d716090684a9b97e757af7cbba4346e4', class: classes, onKeyDown: this.handleKeyDown, inert: !this.open ? true : undefined }, h("div", { key: 'e2348b5c242b1bfef39147e47a305a41d35a9957', class: backdropClasses, onClick: this.handleBackdropClick, part: "backdrop" }), h("div", { key: 'fd6649307d2bf9027d386214682fb5e7aef9eb30', ref: el => (this.dialogEl = el), class: "dialog-modal", part: "modal", role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? 'false' : 'true', "aria-label": ariaLabel, "aria-labelledby": !ariaLabel && titleText ? this.titleId : undefined, "aria-describedby": this.message ? this.descriptionId : undefined, tabindex: "-1" }, h("header", { key: 'b66f58134909e60fb411bad9d7980cabdea318ad', class: "dialog-header", part: "header" }, h("slot", { key: '407fbde5a968c62edd457268eb03bcd6e5d7a9c9', name: "header" }, titleText && h("h2", { key: '8c549eec6de469081342894f9c538341c94bea1b', id: this.titleId, class: "dialog-title" }, titleText)), h("button", { key: 'edca97315efe733ae3310c42e6de80ff3ac55ec4', class: "dialog-close-btn", onClick: this.handleCloseButton, "aria-label": this.closeLabel, disabled: this.loading, part: "close-btn" }, h("svg", { key: '7585528c6e123839038cd841cdb5bf582389ba78', class: "close-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("line", { key: '1cc2286ff4d8f3290b90bf1bc06ccdbf1501c25e', x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { key: 'f3dcfffe89e9a32ee850539220020ac41e6db352', x1: "6", y1: "6", x2: "18", y2: "18" })))), h("div", { key: '14f200e9ed041411d3a8a9d2309177ca544b6189', class: "dialog-body", part: "body" }, h("slot", { key: '9828685b986e02f9e1f6c2883de875fa59014a27' }, this.message && h("p", { key: '0530f541a224d3c95ccb695e1cccf2a96cd954c7', id: this.descriptionId, class: "dialog-message" }, this.message))), h("footer", { key: '4689eb5d7bb1b93ad54804ea470763b2005a7374', class: { 'dialog-footer': true, 'is-hidden': !this.showCancel && !this.showConfirm && !this.hasFooter }, part: "footer" }, h("slot", { key: '96387fe210d9c558f22e63f74194c05748d658ef', name: "footer", onSlotchange: event => {
201
+ return (h("div", { key: 'c0ac67222109ef770da940730d15f7b8bc7247be', class: classes, onKeyDown: this.handleKeyDown, inert: !this.open ? true : undefined }, h("div", { key: 'bae02db8240037595e49ba4a24f0500b27d9dcdf', class: backdropClasses, onClick: this.handleBackdropClick, part: "backdrop" }), h("div", { key: 'af17425f8d0e1bc49dafe666d9c784e38404e807', ref: el => (this.dialogEl = el), class: "dialog-modal", part: "modal", role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? 'false' : 'true', "aria-label": ariaLabel, "aria-labelledby": !ariaLabel && titleText ? this.titleId : undefined, "aria-describedby": this.message ? this.descriptionId : undefined, tabindex: "-1" }, h("header", { key: '040b01428317995ed761e4fe8ba8acfa9f98005a', class: "dialog-header", part: "header" }, h("slot", { key: '9fb2d093c17e214f3aee8e87506bde98cfe6e1c7', name: "header" }, titleText && h("h2", { key: 'e3ddb11d7ec13ba667beeeec46cbc939f47429fc', id: this.titleId, class: "dialog-title" }, titleText)), h("button", { key: 'd719f755f33f0a540dd842d87a23c08563afc35d', class: "dialog-close-btn", onClick: this.handleCloseButton, "aria-label": this.closeLabel, disabled: this.loading, part: "close-btn" }, h("svg", { key: '679be75b97c3cb307dc0c8e36ada30796b9b67c5', class: "close-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("line", { key: '40f190e8c82b440a67b2f82c5e1eb0c76092d14d', x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { key: 'e96bc59a92ad0b1111907c899362ed05c54a2a30', x1: "6", y1: "6", x2: "18", y2: "18" })))), h("div", { key: 'a024b5365a183400ca8fda240e967eb4b6258fdf', class: "dialog-body", part: "body" }, h("slot", { key: 'c0aa788e43f7615732a291cd21d035426acf76ff' }, this.message && h("p", { key: 'cd68e2e7b245a85a0b92ed2b523b1859b65f3c9f', id: this.descriptionId, class: "dialog-message" }, this.message))), h("footer", { key: '066698d99c33dbdb3266d19c3d3b4acc69fa8570', class: { 'dialog-footer': true, 'is-hidden': !this.showCancel && !this.showConfirm && !this.hasFooter }, part: "footer" }, h("slot", { key: 'd6ee1006406316e8e822a82a20ea501825db14bd', name: "footer", onSlotchange: event => {
202
202
  this.hasFooter = event.target.assignedNodes().some(node => node.nodeType === 1 || !!node.textContent?.trim());
203
- } }, h("div", { key: '372c3671b43570a2f09151ba8097d4c5281bbb86', class: "dialog-actions" }, this.showCancel && (h("button", { key: '50bbc331705f5fc66382d3a9302f9698ff85bacc', class: "btn-cancel", onClick: this.handleCancel, disabled: this.loading, part: "cancel-btn" }, this.cancelLabel)), this.showConfirm && (h("button", { key: '540decde94759a22fb1e594ac69fd607d15a5c84', class: "btn-confirm", onClick: this.handleConfirm, disabled: this.loading, "aria-busy": this.loading ? 'true' : 'false', part: "confirm-btn" }, this.loading && h("span", { key: '11ff99a27562294c0a306b994017bfa8fd495185', class: "spinner-el" }), h("span", { key: '4f0df188636c7ee2b3003f48a8889f91b85b796e', class: "btn-label" }, this.confirmLabel)))))))));
203
+ } }, h("div", { key: '97dceeacd21f3d045bfc885510b3b2b71dc9264a', class: "dialog-actions" }, this.showCancel && (h("button", { key: '5e46a756f1894edb95ee746048bf8b60aa942acd', class: "btn-cancel", onClick: this.handleCancel, disabled: this.loading, part: "cancel-btn" }, this.cancelLabel)), this.showConfirm && (h("button", { key: 'f1769f0987e836ec5e02095e64a9efe9e9a88743', class: "btn-confirm", onClick: this.handleConfirm, disabled: this.loading, "aria-busy": this.loading ? 'true' : 'false', part: "confirm-btn" }, this.loading && h("span", { key: 'a8fe2b08e474ad71c07dd1a1c0f10e617a7ce2ed', class: "spinner-el" }), h("span", { key: '36f6f2690bc5043754fe2a889a132b1533249f0f', class: "btn-label" }, this.confirmLabel)))))))));
204
204
  }
205
205
  static get is() { return "q-dialog"; }
206
206
  static get encapsulation() { return "shadow"; }
@@ -101,9 +101,9 @@ export class QTooltip {
101
101
  }
102
102
  // ===================== [6] RENDER (Visual Template Only) =====================
103
103
  render() {
104
- return (h(Host, { key: '3a4bb593988fa2f6bf7fb243989f3270bbfff671', class: {
104
+ return (h(Host, { key: 'f4a681553a400552be065481315cd5503c2bcc74', class: {
105
105
  'is-visible': this.visible,
106
- }, "aria-hidden": this.visible ? 'false' : 'true', role: "tooltip" }, h("div", { key: 'bf10ba3ca376d7f873f8174f073d00a29e1d571c', class: "tooltip-bubble" }, this.content || h("slot", { key: '64e71849fac2819bbba28b40d308be2b066cda65' }))));
106
+ }, "aria-hidden": this.visible ? 'false' : 'true', role: "tooltip" }, h("div", { key: 'ba8dcfb45999154c9157458d749f1423952bae81', class: "tooltip-bubble" }, this.content || h("slot", { key: 'f22b541d862e0e9e48e738127f4f2ec8e6dcf155' }))));
107
107
  }
108
108
  static get is() { return "q-tooltip"; }
109
109
  static get encapsulation() { return "shadow"; }