@webquark/core 1.1.0-dev.3 → 1.1.0-dev.5

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 (480) hide show
  1. package/README.md +24 -9
  2. package/dist/cjs/{action.props-CkEZpMY6.js → action.props-CtwTiyf6.js} +1 -1
  3. package/dist/cjs/field-CiEtk37y.js +14 -0
  4. package/dist/cjs/{index-B7ex88C2.js → index-BLlc_shC.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/q-accordion.cjs.entry.js +18 -0
  7. package/dist/cjs/q-alert.cjs.entry.js +1 -1
  8. package/dist/cjs/q-avatar.cjs.entry.js +6 -6
  9. package/dist/cjs/q-banner.cjs.entry.js +19 -0
  10. package/dist/cjs/q-button_2.cjs.entry.js +7 -7
  11. package/dist/cjs/q-card.cjs.entry.js +17 -6
  12. package/dist/cjs/q-carousel.cjs.entry.js +3 -3
  13. package/dist/cjs/q-chip.cjs.entry.js +2 -2
  14. package/dist/cjs/q-conversation-bubble.cjs.entry.js +6 -6
  15. package/dist/cjs/q-data-table.cjs.entry.js +4 -4
  16. package/dist/cjs/q-dialog.cjs.entry.js +22 -8
  17. package/dist/cjs/q-dropdown.cjs.entry.js +50 -6
  18. package/dist/cjs/q-form.cjs.entry.js +11 -5
  19. package/dist/cjs/q-grid.cjs.entry.js +24 -0
  20. package/dist/cjs/q-icon.cjs.entry.js +16 -6
  21. package/dist/cjs/q-inline.cjs.entry.js +22 -0
  22. package/dist/cjs/q-input_2.cjs.entry.js +14 -7
  23. package/dist/cjs/q-link.cjs.entry.js +5 -5
  24. package/dist/cjs/q-map.cjs.entry.js +2 -2
  25. package/dist/cjs/q-media.cjs.entry.js +21 -0
  26. package/dist/cjs/q-navbar.cjs.entry.js +9 -6
  27. package/dist/cjs/q-pagination.cjs.entry.js +2 -2
  28. package/dist/cjs/q-panel.cjs.entry.js +17 -8
  29. package/dist/cjs/q-quantity-selector.cjs.entry.js +15 -8
  30. package/dist/cjs/q-radio-group.cjs.entry.js +14 -7
  31. package/dist/cjs/q-reel.cjs.entry.js +3 -3
  32. package/dist/cjs/q-scrollable.cjs.entry.js +4 -4
  33. package/dist/cjs/q-section.cjs.entry.js +20 -0
  34. package/dist/cjs/q-sidepanel.cjs.entry.js +15 -8
  35. package/dist/cjs/q-stack.cjs.entry.js +20 -0
  36. package/dist/cjs/q-step-diagram-item.cjs.entry.js +7 -4
  37. package/dist/cjs/q-step-diagram.cjs.entry.js +21 -11
  38. package/dist/cjs/q-syntax-box.cjs.entry.js +1 -1
  39. package/dist/cjs/q-tabs.cjs.entry.js +3 -3
  40. package/dist/cjs/q-textarea.cjs.entry.js +61 -7
  41. package/dist/cjs/q-thumbnail.cjs.entry.js +3 -3
  42. package/dist/cjs/q-toast.cjs.entry.js +3 -3
  43. package/dist/cjs/q-toggle.cjs.entry.js +14 -6
  44. package/dist/cjs/q-toolbar.cjs.entry.js +8 -4
  45. package/dist/cjs/tokens-DGECOqpA.js +42 -0
  46. package/dist/cjs/webquark.cjs.js +2 -2
  47. package/dist/collection/collection-manifest.json +16 -9
  48. package/dist/collection/components/actions/button/button.css +55 -4
  49. package/dist/collection/components/actions/button/button.js +4 -4
  50. package/dist/collection/components/actions/link/link.js +8 -5
  51. package/dist/collection/components/{data-display → communication}/alert/alert.js +2 -2
  52. package/dist/collection/components/{data-display → communication}/conversation-bubble/conversation-bubble.js +40 -40
  53. package/dist/collection/components/{overlays → communication}/toast/test/toast.cmp.test.js +1 -1
  54. package/dist/collection/components/{overlays → communication}/toast/toast.js +14 -14
  55. package/dist/collection/components/content/banner/banner.css +1 -0
  56. package/dist/collection/components/content/banner/banner.js +84 -0
  57. package/dist/collection/components/{layout → content}/card/card.css +12 -0
  58. package/dist/collection/components/content/card/card.js +308 -0
  59. package/dist/collection/components/{layout → content}/carousel/carousel.js +4 -4
  60. package/dist/collection/components/data-display/accordion/accordion.css +1 -0
  61. package/dist/collection/components/data-display/accordion/accordion.js +54 -0
  62. package/dist/collection/components/{actions → data-display}/chip/chip.js +5 -5
  63. package/dist/collection/components/data-display/data-table/data-table.js +3 -3
  64. package/dist/collection/components/data-display/map/map.js +1 -1
  65. package/dist/collection/components/data-display/pagination/pagination.js +1 -1
  66. package/dist/collection/components/indicators/step-diagram/step-diagram.js +50 -11
  67. package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.css +7 -7
  68. package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.js +36 -4
  69. package/dist/collection/components/inputs/dropdown/dropdown.css +77 -34
  70. package/dist/collection/components/inputs/dropdown/dropdown.js +202 -6
  71. package/dist/collection/components/inputs/form/form.css +85 -0
  72. package/dist/collection/components/{layout → inputs}/form/form.js +105 -13
  73. package/dist/collection/components/inputs/form/form.types.js +1 -0
  74. package/dist/collection/components/inputs/input/input.css +78 -62
  75. package/dist/collection/components/inputs/input/input.js +77 -9
  76. package/dist/collection/components/inputs/quantity-selector/quantity-selector.css +43 -3
  77. package/dist/collection/components/inputs/quantity-selector/quantity-selector.js +70 -7
  78. package/dist/collection/components/inputs/radio-group/radio-group.css +77 -30
  79. package/dist/collection/components/inputs/radio-group/radio-group.js +77 -9
  80. package/dist/collection/components/inputs/textarea/textarea.css +85 -1
  81. package/dist/collection/components/inputs/textarea/textarea.js +149 -7
  82. package/dist/collection/components/inputs/toggle/toggle.css +80 -48
  83. package/dist/collection/components/inputs/toggle/toggle.js +72 -6
  84. package/dist/collection/components/layout/grid/grid.css +11 -0
  85. package/dist/collection/components/layout/grid/grid.js +152 -0
  86. package/dist/collection/components/layout/inline/inline.css +4 -0
  87. package/dist/collection/components/layout/inline/inline.js +118 -0
  88. package/dist/collection/components/layout/navbar/navbar.js +32 -7
  89. package/dist/collection/components/layout/panel/panel.css +13 -12
  90. package/dist/collection/components/layout/panel/panel.js +139 -10
  91. package/dist/collection/components/layout/scrollable/scrollable.js +3 -3
  92. package/dist/collection/components/layout/section/section.css +1 -0
  93. package/dist/collection/components/layout/section/section.js +98 -0
  94. package/dist/collection/components/layout/section/section.types.js +1 -0
  95. package/dist/collection/components/layout/sidepanel/internals/nav-items.js +2 -2
  96. package/dist/collection/components/layout/sidepanel/sidepanel.js +90 -10
  97. package/dist/collection/components/layout/stack/stack.css +4 -0
  98. package/dist/collection/components/layout/stack/stack.js +76 -0
  99. package/dist/collection/components/layout/tabs/tabs.js +2 -2
  100. package/dist/collection/components/layout/toolbar/toolbar.css +24 -1
  101. package/dist/collection/components/layout/toolbar/toolbar.js +81 -3
  102. package/dist/collection/components/media/avatar/avatar.js +43 -43
  103. package/dist/collection/components/media/icon/icon.js +79 -18
  104. package/dist/collection/components/media/media/media.css +1 -0
  105. package/dist/collection/components/media/media/media.js +125 -0
  106. package/dist/collection/components/media/media/media.types.js +1 -0
  107. package/dist/collection/components/media/reel/reel.js +2 -2
  108. package/dist/collection/components/media/thumbnail/thumbnail.js +2 -2
  109. package/dist/collection/components/overlays/dialog/dialog.css +16 -0
  110. package/dist/collection/components/overlays/dialog/dialog.js +144 -14
  111. package/dist/collection/components/overlays/tooltip/tooltip.js +2 -2
  112. package/dist/collection/components/shared/field.js +8 -0
  113. package/dist/collection/components/shared/test/orientation.cmp.test.js +36 -0
  114. package/dist/collection/index.js +1 -1
  115. package/dist/collection/playground/components/playground-event-log/playground-event-log.js +1 -1
  116. package/dist/collection/playground/components/playground-sidebar/playground-sidebar.js +5 -3
  117. package/dist/collection/playground/components/theme-designer/theme-designer.js +13 -35
  118. package/dist/collection/playground/components/theme-designer/token-row.js +26 -7
  119. package/dist/collection/playground/playground.bundled.js +846 -34
  120. package/dist/collection/theme/test/foundation.cmp.test.js +347 -0
  121. package/dist/collection/theme/tokens.js +828 -0
  122. package/dist/components/index.js +1 -1
  123. package/dist/components/p-0PieXMX9.js +1 -0
  124. package/dist/components/p-BOYjkCNa.js +1 -0
  125. package/dist/components/p-Bw4TVbfm.js +1 -0
  126. package/dist/components/{p-7oXL29Gu.js → p-BxFGkrUe.js} +1 -1
  127. package/dist/components/{p-CQofbR9q.js → p-CK7avZdv.js} +1 -1
  128. package/dist/components/p-Cx1vCuMp.js +1 -0
  129. package/dist/components/{p-Czf3kP0S.js → p-D0Q2vrt5.js} +1 -1
  130. package/dist/components/p-GU98U1DJ.js +1 -0
  131. package/dist/components/{p-C8fq-feq.js → p-NEolaUak.js} +1 -1
  132. package/dist/components/p-f95uguY1.js +1 -0
  133. package/dist/components/q-accordion.d.ts +11 -0
  134. package/dist/components/q-accordion.js +1 -0
  135. package/dist/components/q-alert.js +1 -1
  136. package/dist/components/q-avatar.js +1 -1
  137. package/dist/components/q-banner.d.ts +11 -0
  138. package/dist/components/q-banner.js +1 -0
  139. package/dist/components/q-button.js +1 -1
  140. package/dist/components/q-card.js +1 -1
  141. package/dist/components/q-carousel.js +1 -1
  142. package/dist/components/q-chip.js +1 -1
  143. package/dist/components/q-conversation-bubble.js +1 -1
  144. package/dist/components/q-data-table.js +1 -1
  145. package/dist/components/q-dialog.js +1 -1
  146. package/dist/components/q-dropdown.js +1 -1
  147. package/dist/components/q-form.js +1 -1
  148. package/dist/components/q-grid.d.ts +11 -0
  149. package/dist/components/q-grid.js +1 -0
  150. package/dist/components/q-icon.js +1 -1
  151. package/dist/components/q-inline.d.ts +11 -0
  152. package/dist/components/q-inline.js +1 -0
  153. package/dist/components/q-input.js +1 -1
  154. package/dist/components/q-link.js +1 -1
  155. package/dist/components/q-map.js +1 -1
  156. package/dist/components/q-media.d.ts +11 -0
  157. package/dist/components/q-media.js +1 -0
  158. package/dist/components/q-navbar.js +1 -1
  159. package/dist/components/q-pagination.js +1 -1
  160. package/dist/components/q-panel.js +1 -1
  161. package/dist/components/q-progress.js +1 -1
  162. package/dist/components/q-quantity-selector.js +1 -1
  163. package/dist/components/q-radio-group.js +1 -1
  164. package/dist/components/q-reel.js +1 -1
  165. package/dist/components/q-scrollable.js +1 -1
  166. package/dist/components/q-section.d.ts +11 -0
  167. package/dist/components/q-section.js +1 -0
  168. package/dist/components/q-sidepanel.js +3 -3
  169. package/dist/components/q-stack.d.ts +11 -0
  170. package/dist/components/q-stack.js +1 -0
  171. package/dist/components/q-step-diagram-item.js +1 -1
  172. package/dist/components/q-step-diagram.js +1 -1
  173. package/dist/components/q-syntax-box.js +2 -2
  174. package/dist/components/q-tabs.js +1 -1
  175. package/dist/components/q-textarea.js +1 -1
  176. package/dist/components/q-thumbnail.js +1 -1
  177. package/dist/components/q-toast.js +1 -1
  178. package/dist/components/q-toggle.js +1 -1
  179. package/dist/components/q-toolbar.js +1 -1
  180. package/dist/components/q-tooltip.js +1 -1
  181. package/dist/esm/{action.props-CJoxGHR7.js → action.props-GP1ameE3.js} +1 -1
  182. package/dist/esm/field-DkpyvZiX.js +11 -0
  183. package/dist/esm/{index-VFWyFa-_.js → index-DbGG9Q40.js} +1 -1
  184. package/dist/esm/loader.js +3 -3
  185. package/dist/esm/q-accordion.entry.js +16 -0
  186. package/dist/esm/q-alert.entry.js +1 -1
  187. package/dist/esm/q-avatar.entry.js +6 -6
  188. package/dist/esm/q-banner.entry.js +17 -0
  189. package/dist/esm/q-button_2.entry.js +7 -7
  190. package/dist/esm/q-card.entry.js +17 -6
  191. package/dist/esm/q-carousel.entry.js +3 -3
  192. package/dist/esm/q-chip.entry.js +2 -2
  193. package/dist/esm/q-conversation-bubble.entry.js +6 -6
  194. package/dist/esm/q-data-table.entry.js +4 -4
  195. package/dist/esm/q-dialog.entry.js +22 -8
  196. package/dist/esm/q-dropdown.entry.js +50 -6
  197. package/dist/esm/q-form.entry.js +11 -5
  198. package/dist/esm/q-grid.entry.js +22 -0
  199. package/dist/esm/q-icon.entry.js +16 -6
  200. package/dist/esm/q-inline.entry.js +20 -0
  201. package/dist/esm/q-input_2.entry.js +14 -7
  202. package/dist/esm/q-link.entry.js +5 -5
  203. package/dist/esm/q-map.entry.js +2 -2
  204. package/dist/esm/q-media.entry.js +19 -0
  205. package/dist/esm/q-navbar.entry.js +9 -6
  206. package/dist/esm/q-pagination.entry.js +2 -2
  207. package/dist/esm/q-panel.entry.js +17 -8
  208. package/dist/esm/q-quantity-selector.entry.js +15 -8
  209. package/dist/esm/q-radio-group.entry.js +14 -7
  210. package/dist/esm/q-reel.entry.js +3 -3
  211. package/dist/esm/q-scrollable.entry.js +4 -4
  212. package/dist/esm/q-section.entry.js +18 -0
  213. package/dist/esm/q-sidepanel.entry.js +15 -8
  214. package/dist/esm/q-stack.entry.js +18 -0
  215. package/dist/esm/q-step-diagram-item.entry.js +7 -4
  216. package/dist/esm/q-step-diagram.entry.js +21 -11
  217. package/dist/esm/q-syntax-box.entry.js +1 -1
  218. package/dist/esm/q-tabs.entry.js +3 -3
  219. package/dist/esm/q-textarea.entry.js +61 -7
  220. package/dist/esm/q-thumbnail.entry.js +3 -3
  221. package/dist/esm/q-toast.entry.js +3 -3
  222. package/dist/esm/q-toggle.entry.js +14 -6
  223. package/dist/esm/q-toolbar.entry.js +8 -4
  224. package/dist/esm/tokens-f95uguY1.js +38 -0
  225. package/dist/esm/webquark.js +3 -3
  226. package/dist/playground/build/p-0aea8464.entry.js +1 -0
  227. package/dist/playground/build/p-0d98e500.entry.js +1 -0
  228. package/dist/playground/build/p-139fec38.entry.js +1 -0
  229. package/dist/{webquark/p-0053ec76.entry.js → playground/build/p-15502232.entry.js} +1 -1
  230. package/dist/playground/build/p-17340abf.entry.js +1 -0
  231. package/dist/playground/build/p-303dcac8.entry.js +1 -0
  232. package/dist/playground/build/p-408bf48a.entry.js +1 -0
  233. package/dist/playground/build/p-47253466.entry.js +1 -0
  234. package/dist/playground/build/p-5f6860f2.entry.js +13 -0
  235. package/dist/playground/build/p-6b619655.entry.js +1 -0
  236. package/dist/playground/build/p-6b63922b.entry.js +1 -0
  237. package/dist/playground/build/p-71e3d582.entry.js +1 -0
  238. package/dist/playground/build/p-737ca99e.entry.js +1 -0
  239. package/dist/playground/build/{p-41421759.entry.js → p-742e39f1.entry.js} +1 -1
  240. package/dist/playground/build/p-8115ec23.entry.js +1 -0
  241. package/dist/playground/build/{p-8ada8fc6.entry.js → p-8ad43d7f.entry.js} +1 -1
  242. package/dist/playground/build/{p-885572ee.entry.js → p-8bdababd.entry.js} +1 -1
  243. package/dist/playground/build/p-9418caa0.entry.js +1 -0
  244. package/dist/playground/build/p-96ef2b54.entry.js +1 -0
  245. package/dist/playground/build/p-97dae970.entry.js +1 -0
  246. package/dist/{webquark/p-b5066051.entry.js → playground/build/p-989bdc1a.entry.js} +1 -1
  247. package/dist/playground/build/{p-DoS2fiWw.js → p-BqvCR2U8.js} +1 -1
  248. package/dist/playground/build/p-DbGG9Q40.js +3 -0
  249. package/dist/playground/build/p-JgeOdXyP.js +1 -0
  250. package/dist/playground/build/p-a4b36120.entry.js +1 -0
  251. package/dist/playground/build/p-abf54361.entry.js +1 -0
  252. package/dist/playground/build/p-aed4b219.entry.js +1 -0
  253. package/dist/playground/build/p-b3a07d94.entry.js +1 -0
  254. package/dist/{webquark/p-8077aa3f.entry.js → playground/build/p-b465aebd.entry.js} +1 -1
  255. package/dist/playground/build/p-c1f3dca6.entry.js +1 -0
  256. package/dist/playground/build/p-c4899c2b.entry.js +1 -0
  257. package/dist/{webquark/p-1c9a82b8.entry.js → playground/build/p-c4fd89b8.entry.js} +1 -1
  258. package/dist/playground/build/p-cf8f7f2a.entry.js +1 -0
  259. package/dist/playground/build/{p-2e2b3ca9.entry.js → p-d4a915e5.entry.js} +1 -1
  260. package/dist/{webquark/p-6c0bc4b9.entry.js → playground/build/p-d7d436c5.entry.js} +1 -1
  261. package/dist/playground/build/{p-316a92e2.entry.js → p-de8813be.entry.js} +1 -1
  262. package/dist/{webquark/p-8ec7d250.entry.js → playground/build/p-eb71e335.entry.js} +1 -1
  263. package/dist/playground/build/p-ecbc0fee.entry.js +1 -0
  264. package/dist/{webquark/p-d837603c.entry.js → playground/build/p-ed327679.entry.js} +1 -1
  265. package/dist/{webquark/p-e0e6b68f.entry.js → playground/build/p-f911c90f.entry.js} +1 -1
  266. package/dist/playground/build/p-f95uguY1.js +1 -0
  267. package/dist/playground/build/{p-5c08aa94.entry.js → p-fdd85ce4.entry.js} +1 -1
  268. package/dist/{webquark/p-13329777.entry.js → playground/build/p-ff1e2363.entry.js} +1 -1
  269. package/dist/playground/build/webquark.css +1 -1
  270. package/dist/playground/build/webquark.esm.js +1 -1
  271. package/dist/playground/playground/components.manifest.json +40 -35
  272. package/dist/playground/playground/specs/q-button.sandbox.json +3 -2
  273. package/dist/playground/playground/specs/q-card.sandbox.json +37 -3
  274. package/dist/playground/playground/specs/q-dialog.sandbox.json +16 -6
  275. package/dist/playground/playground/specs/q-dropdown.sandbox.json +12 -2
  276. package/dist/playground/playground/specs/q-form.sandbox.json +88 -10
  277. package/dist/playground/playground/specs/q-grid.sandbox.json +56 -0
  278. package/dist/playground/playground/specs/q-icon.sandbox.json +11 -11
  279. package/dist/playground/playground/specs/q-inline.sandbox.json +60 -0
  280. package/dist/playground/playground/specs/q-input.sandbox.json +12 -2
  281. package/dist/playground/playground/specs/q-navbar.sandbox.json +3 -3
  282. package/dist/playground/playground/specs/q-panel.sandbox.json +138 -17
  283. package/dist/playground/playground/specs/q-quantity-selector.sandbox.json +13 -2
  284. package/dist/playground/playground/specs/q-radio-group.sandbox.json +46 -10
  285. package/dist/playground/playground/specs/q-sidepanel.sandbox.json +7 -7
  286. package/dist/playground/playground/specs/q-stack.sandbox.json +56 -0
  287. package/dist/playground/playground/specs/q-step-diagram.sandbox.json +5 -5
  288. package/dist/playground/playground/specs/q-textarea.sandbox.json +20 -0
  289. package/dist/playground/playground/specs/q-toggle.sandbox.json +12 -2
  290. package/dist/playground/playground/specs/q-toolbar.sandbox.json +99 -14
  291. package/dist/playground/playground.js +846 -34
  292. package/dist/types/components/actions/button/button.types.d.ts +2 -1
  293. package/dist/types/components/actions/link/link.d.ts +1 -1
  294. package/dist/types/components/communication/toast/test/toast.cmp.test.d.ts +2 -0
  295. package/dist/types/components/communication/toast/test/toast.unit.test.d.ts +1 -0
  296. package/dist/types/components/content/banner/banner.d.ts +12 -0
  297. package/dist/types/components/content/banner/banner.types.d.ts +2 -0
  298. package/dist/types/components/{layout → content}/card/card.d.ts +11 -0
  299. package/dist/types/components/content/card/card.types.d.ts +1 -0
  300. package/dist/types/components/{layout → content}/card/card.utils.d.ts +1 -1
  301. package/dist/types/components/data-display/accordion/accordion.d.ts +9 -0
  302. package/dist/types/components/data-display/accordion/accordion.types.d.ts +1 -0
  303. package/dist/types/components/indicators/step-diagram/step-diagram.d.ts +6 -3
  304. package/dist/types/components/indicators/step-diagram/step-diagram.types.d.ts +3 -1
  305. package/dist/types/components/indicators/step-diagram-item/step-diagram-item.d.ts +4 -2
  306. package/dist/types/components/indicators/step-diagram-item/step-diagram-item.types.d.ts +3 -1
  307. package/dist/types/components/inputs/dropdown/dropdown.d.ts +13 -0
  308. package/dist/types/components/inputs/dropdown/dropdown.types.d.ts +2 -1
  309. package/dist/types/components/{layout → inputs}/form/form.d.ts +6 -0
  310. package/dist/types/components/inputs/input/input.d.ts +7 -1
  311. package/dist/types/components/inputs/input/input.types.d.ts +2 -1
  312. package/dist/types/components/inputs/quantity-selector/quantity-selector.d.ts +6 -1
  313. package/dist/types/components/inputs/quantity-selector/quantity-selector.types.d.ts +3 -1
  314. package/dist/types/components/inputs/radio-group/radio-group.d.ts +7 -1
  315. package/dist/types/components/inputs/radio-group/radio-group.types.d.ts +2 -1
  316. package/dist/types/components/inputs/textarea/textarea.d.ts +16 -1
  317. package/dist/types/components/inputs/toggle/toggle.d.ts +6 -0
  318. package/dist/types/components/inputs/toggle/toggle.types.d.ts +2 -1
  319. package/dist/types/components/layout/grid/grid.d.ts +13 -0
  320. package/dist/types/components/layout/inline/inline.d.ts +12 -0
  321. package/dist/types/components/layout/navbar/navbar.d.ts +2 -0
  322. package/dist/types/components/layout/panel/panel.d.ts +8 -0
  323. package/dist/types/components/layout/panel/panel.types.d.ts +2 -1
  324. package/dist/types/components/layout/section/section.d.ts +13 -0
  325. package/dist/types/components/layout/section/section.types.d.ts +1 -0
  326. package/dist/types/components/layout/sidepanel/sidepanel.d.ts +7 -0
  327. package/dist/types/components/layout/stack/stack.d.ts +10 -0
  328. package/dist/types/components/layout/toolbar/toolbar.d.ts +4 -0
  329. package/dist/types/components/media/avatar/avatar.d.ts +4 -4
  330. package/dist/types/components/media/icon/icon.d.ts +7 -3
  331. package/dist/types/components/media/media/media.d.ts +13 -0
  332. package/dist/types/components/media/media/media.types.d.ts +2 -0
  333. package/dist/types/components/overlays/dialog/dialog.d.ts +14 -2
  334. package/dist/types/components/shared/field.d.ts +3 -0
  335. package/dist/types/components/shared/test/orientation.cmp.test.d.ts +1 -0
  336. package/dist/types/components.d.ts +887 -66
  337. package/dist/types/index.d.ts +7 -2
  338. package/dist/types/playground/components/theme-designer/token-row.d.ts +2 -1
  339. package/dist/types/theme/test/assets.d.ts +4 -0
  340. package/dist/types/theme/test/foundation.cmp.test.d.ts +16 -0
  341. package/dist/types/theme/tokens.d.ts +63 -0
  342. package/dist/webquark/p-0aea8464.entry.js +1 -0
  343. package/dist/webquark/p-0d98e500.entry.js +1 -0
  344. package/dist/webquark/p-139fec38.entry.js +1 -0
  345. package/dist/{playground/build/p-0053ec76.entry.js → webquark/p-15502232.entry.js} +1 -1
  346. package/dist/webquark/p-17340abf.entry.js +1 -0
  347. package/dist/webquark/p-303dcac8.entry.js +1 -0
  348. package/dist/webquark/p-408bf48a.entry.js +1 -0
  349. package/dist/webquark/p-47253466.entry.js +1 -0
  350. package/dist/webquark/p-5f6860f2.entry.js +13 -0
  351. package/dist/webquark/p-6b619655.entry.js +1 -0
  352. package/dist/webquark/p-6b63922b.entry.js +1 -0
  353. package/dist/webquark/p-71e3d582.entry.js +1 -0
  354. package/dist/webquark/p-737ca99e.entry.js +1 -0
  355. package/dist/webquark/{p-41421759.entry.js → p-742e39f1.entry.js} +1 -1
  356. package/dist/webquark/p-8115ec23.entry.js +1 -0
  357. package/dist/webquark/{p-8ada8fc6.entry.js → p-8ad43d7f.entry.js} +1 -1
  358. package/dist/webquark/{p-885572ee.entry.js → p-8bdababd.entry.js} +1 -1
  359. package/dist/webquark/p-9418caa0.entry.js +1 -0
  360. package/dist/webquark/p-96ef2b54.entry.js +1 -0
  361. package/dist/webquark/p-97dae970.entry.js +1 -0
  362. package/dist/{playground/build/p-b5066051.entry.js → webquark/p-989bdc1a.entry.js} +1 -1
  363. package/dist/webquark/{p-DoS2fiWw.js → p-BqvCR2U8.js} +1 -1
  364. package/dist/webquark/p-DbGG9Q40.js +3 -0
  365. package/dist/webquark/p-JgeOdXyP.js +1 -0
  366. package/dist/webquark/p-a4b36120.entry.js +1 -0
  367. package/dist/webquark/p-abf54361.entry.js +1 -0
  368. package/dist/webquark/p-aed4b219.entry.js +1 -0
  369. package/dist/webquark/p-b3a07d94.entry.js +1 -0
  370. package/dist/{playground/build/p-8077aa3f.entry.js → webquark/p-b465aebd.entry.js} +1 -1
  371. package/dist/webquark/p-c1f3dca6.entry.js +1 -0
  372. package/dist/webquark/p-c4899c2b.entry.js +1 -0
  373. package/dist/{playground/build/p-1c9a82b8.entry.js → webquark/p-c4fd89b8.entry.js} +1 -1
  374. package/dist/webquark/p-cf8f7f2a.entry.js +1 -0
  375. package/dist/webquark/{p-2e2b3ca9.entry.js → p-d4a915e5.entry.js} +1 -1
  376. package/dist/{playground/build/p-6c0bc4b9.entry.js → webquark/p-d7d436c5.entry.js} +1 -1
  377. package/dist/webquark/{p-316a92e2.entry.js → p-de8813be.entry.js} +1 -1
  378. package/dist/{playground/build/p-8ec7d250.entry.js → webquark/p-eb71e335.entry.js} +1 -1
  379. package/dist/webquark/p-ecbc0fee.entry.js +1 -0
  380. package/dist/{playground/build/p-d837603c.entry.js → webquark/p-ed327679.entry.js} +1 -1
  381. package/dist/{playground/build/p-e0e6b68f.entry.js → webquark/p-f911c90f.entry.js} +1 -1
  382. package/dist/webquark/p-f95uguY1.js +1 -0
  383. package/dist/webquark/{p-5c08aa94.entry.js → p-fdd85ce4.entry.js} +1 -1
  384. package/dist/{playground/build/p-13329777.entry.js → webquark/p-ff1e2363.entry.js} +1 -1
  385. package/dist/webquark/webquark.css +1 -1
  386. package/dist/webquark/webquark.esm.js +1 -1
  387. package/package.json +68 -5
  388. package/scripts/wq-switch/README.md +113 -0
  389. package/scripts/wq-switch/dist/index.js +530 -0
  390. package/scripts/wq-switch/dist/setup.js +333 -0
  391. package/dist/collection/components/layout/card/card.js +0 -168
  392. package/dist/collection/components/layout/form/form.css +0 -49
  393. package/dist/components/p-BygmcFxM.js +0 -1
  394. package/dist/components/p-CVtof65h.js +0 -1
  395. package/dist/components/p-I81wUKud.js +0 -1
  396. package/dist/components/p-vv3X99Ji.js +0 -1
  397. package/dist/playground/build/p-0363c0e6.entry.js +0 -1
  398. package/dist/playground/build/p-0e3dbe01.entry.js +0 -1
  399. package/dist/playground/build/p-38b92be6.entry.js +0 -1
  400. package/dist/playground/build/p-42831108.entry.js +0 -1
  401. package/dist/playground/build/p-50ca27f7.entry.js +0 -1
  402. package/dist/playground/build/p-611ef3e0.entry.js +0 -1
  403. package/dist/playground/build/p-684292dd.entry.js +0 -1
  404. package/dist/playground/build/p-7081c96b.entry.js +0 -1
  405. package/dist/playground/build/p-789eb3c9.entry.js +0 -1
  406. package/dist/playground/build/p-8d0aa5a7.entry.js +0 -1
  407. package/dist/playground/build/p-9978ae38.entry.js +0 -1
  408. package/dist/playground/build/p-VFWyFa-_.js +0 -3
  409. package/dist/playground/build/p-b99541cd.entry.js +0 -1
  410. package/dist/playground/build/p-ca1a1d25.entry.js +0 -1
  411. package/dist/playground/build/p-e15e6d76.entry.js +0 -1
  412. package/dist/playground/build/p-e272dd45.entry.js +0 -1
  413. package/dist/playground/build/p-e8003179.entry.js +0 -1
  414. package/dist/playground/build/p-e974c1f8.entry.js +0 -13
  415. package/dist/types/components/layout/card/card.types.d.ts +0 -1
  416. package/dist/types/components/overlays/toast/test/toast.cmp.test.d.ts +0 -2
  417. package/dist/webquark/p-0363c0e6.entry.js +0 -1
  418. package/dist/webquark/p-0e3dbe01.entry.js +0 -1
  419. package/dist/webquark/p-38b92be6.entry.js +0 -1
  420. package/dist/webquark/p-42831108.entry.js +0 -1
  421. package/dist/webquark/p-50ca27f7.entry.js +0 -1
  422. package/dist/webquark/p-611ef3e0.entry.js +0 -1
  423. package/dist/webquark/p-684292dd.entry.js +0 -1
  424. package/dist/webquark/p-7081c96b.entry.js +0 -1
  425. package/dist/webquark/p-789eb3c9.entry.js +0 -1
  426. package/dist/webquark/p-8d0aa5a7.entry.js +0 -1
  427. package/dist/webquark/p-9978ae38.entry.js +0 -1
  428. package/dist/webquark/p-VFWyFa-_.js +0 -3
  429. package/dist/webquark/p-b99541cd.entry.js +0 -1
  430. package/dist/webquark/p-ca1a1d25.entry.js +0 -1
  431. package/dist/webquark/p-e15e6d76.entry.js +0 -1
  432. package/dist/webquark/p-e272dd45.entry.js +0 -1
  433. package/dist/webquark/p-e8003179.entry.js +0 -1
  434. package/dist/webquark/p-e974c1f8.entry.js +0 -13
  435. package/dist/collection/components/{data-display → communication}/alert/alert.css +0 -0
  436. package/dist/collection/components/{data-display → communication}/alert/alert.types.js +0 -0
  437. package/dist/collection/components/{data-display → communication}/conversation-bubble/conversation-bubble.css +0 -0
  438. package/dist/collection/components/{data-display → communication}/conversation-bubble/conversation-bubble.types.js +0 -0
  439. package/dist/collection/components/{overlays → communication}/toast/internals/icons.js +0 -0
  440. package/dist/collection/components/{overlays → communication}/toast/internals/queue.js +0 -0
  441. package/dist/collection/components/{overlays → communication}/toast/internals/timers.js +0 -0
  442. package/dist/collection/components/{overlays → communication}/toast/test/toast.unit.test.js +0 -0
  443. package/dist/collection/components/{overlays → communication}/toast/toast-controller.js +0 -0
  444. package/dist/collection/components/{overlays → communication}/toast/toast.css +0 -0
  445. package/dist/collection/components/{overlays → communication}/toast/toast.types.js +0 -0
  446. package/dist/collection/components/{actions/chip/chip.types.js → content/banner/banner.types.js} +0 -0
  447. package/dist/collection/components/{layout → content}/card/card.types.js +0 -0
  448. package/dist/collection/components/{layout → content}/card/card.utils.js +0 -0
  449. package/dist/collection/components/{layout → content}/carousel/carousel.css +0 -0
  450. package/dist/collection/components/{layout → content}/carousel/carousel.types.js +0 -0
  451. package/dist/collection/components/{layout → content}/carousel/carousel.utils.js +0 -0
  452. package/dist/collection/components/{layout → content}/carousel/internals/metrics.js +0 -0
  453. package/dist/collection/components/{layout/form/form.types.js → data-display/accordion/accordion.types.js} +0 -0
  454. package/dist/collection/components/{actions → data-display}/chip/chip.css +0 -0
  455. package/dist/{types/components/overlays/toast/test/toast.unit.test.d.ts → collection/components/data-display/chip/chip.types.js} +0 -0
  456. package/dist/collection/components/{layout → inputs}/form/internals/controls.js +0 -0
  457. package/dist/collection/components/{layout → inputs}/form/internals/enter-behavior.js +0 -0
  458. package/dist/collection/components/{layout → inputs}/form/internals/values.js +0 -0
  459. package/dist/collection/components/{layout → inputs}/form/test/form.cmp.test.js +0 -0
  460. package/dist/types/components/{data-display → communication}/alert/alert.d.ts +0 -0
  461. package/dist/types/components/{data-display → communication}/alert/alert.types.d.ts +0 -0
  462. package/dist/types/components/{data-display → communication}/conversation-bubble/conversation-bubble.d.ts +3 -3
  463. /package/dist/types/components/{data-display → communication}/conversation-bubble/conversation-bubble.types.d.ts +0 -0
  464. /package/dist/types/components/{overlays → communication}/toast/internals/icons.d.ts +0 -0
  465. /package/dist/types/components/{overlays → communication}/toast/internals/queue.d.ts +0 -0
  466. /package/dist/types/components/{overlays → communication}/toast/internals/timers.d.ts +0 -0
  467. /package/dist/types/components/{overlays → communication}/toast/toast-controller.d.ts +0 -0
  468. /package/dist/types/components/{overlays → communication}/toast/toast.d.ts +0 -0
  469. /package/dist/types/components/{overlays → communication}/toast/toast.types.d.ts +0 -0
  470. /package/dist/types/components/{layout → content}/carousel/carousel.d.ts +0 -0
  471. /package/dist/types/components/{layout → content}/carousel/carousel.types.d.ts +0 -0
  472. /package/dist/types/components/{layout → content}/carousel/carousel.utils.d.ts +0 -0
  473. /package/dist/types/components/{layout → content}/carousel/internals/metrics.d.ts +0 -0
  474. /package/dist/types/components/{actions → data-display}/chip/chip.d.ts +0 -0
  475. /package/dist/types/components/{actions → data-display}/chip/chip.types.d.ts +0 -0
  476. /package/dist/types/components/{layout → inputs}/form/form.types.d.ts +0 -0
  477. /package/dist/types/components/{layout → inputs}/form/internals/controls.d.ts +0 -0
  478. /package/dist/types/components/{layout → inputs}/form/internals/enter-behavior.d.ts +0 -0
  479. /package/dist/types/components/{layout → inputs}/form/internals/values.d.ts +0 -0
  480. /package/dist/types/components/{layout → inputs}/form/test/form.cmp.test.d.ts +0 -0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B7ex88C2.js');
3
+ var index = require('./index-BLlc_shC.js');
4
4
 
5
5
  function getScrollMetrics(viewport) {
6
6
  if (!viewport) {
@@ -427,13 +427,13 @@ const QScrollable = class {
427
427
  height: this.height,
428
428
  maxHeight: this.maxHeight || undefined,
429
429
  };
430
- return (index.h(index.Host, { key: '5055572526fcd0927cb67768bc47039bb7f9162c', class: {
430
+ return (index.h(index.Host, { key: '8f16a1a28d33bc7a0382d20f17a36879ae279720', class: {
431
431
  'is-scrolling': this.isScrolling,
432
432
  'is-dragging': this.isDragging,
433
- }, style: hostStyle }, index.h("div", { key: 'cb442332f008b569dd062837db4d8efdd2321086', class: "q-scrollable-host" }, index.h("div", { key: '2aae475dd88acc4a4f271c803aef43d264e4a17b', id: this.viewportId, class: "q-scrollable-viewport", ref: this.setViewportRef, onScroll: this.handleScroll, tabindex: 0, part: "viewport" }, index.h("div", { key: 'e04e07c2dab58c2d314712a4838dc2071a362b55', class: "q-scrollable-content", ref: this.setContentRef, part: "content" }, index.h("slot", { key: '4ec55800b21996b44f27302e07ce9c8cdb0ee8c6' }))), this.mode === 'custom' && (index.h("div", { key: '26fac2984849a988bf18fa9dbc97925d5c95b9b3', class: {
433
+ }, style: hostStyle }, index.h("div", { key: 'f76c3054d43ddff3657dc595f4825035a36601e7', class: "q-scrollable-host" }, index.h("div", { key: 'd4288bbb3b5933de2e9d2887e8756c4ca7a65f55', id: this.viewportId, class: "q-scrollable-viewport", ref: this.setViewportRef, onScroll: this.handleScroll, tabindex: 0, part: "viewport" }, index.h("div", { key: '1573bd03af8fb6d65802e9762f79ec5c29d1549b', class: "q-scrollable-content", ref: this.setContentRef, part: "content" }, index.h("slot", { key: 'fb362b94fbc5f00eaacb4a054efa78d8e323ce9b' }))), this.mode === 'custom' && (index.h("div", { key: '584eb99b88589487ad6d3c9c20799019ddafa1b1', class: {
434
434
  'q-scrollbar-track': true,
435
435
  'is-dragging': this.isDragging,
436
- }, ref: (el) => (this.trackEl = el), part: "track" }, index.h("div", { key: 'a029558609abde7e50d40e94c86f0e284fda8f71', 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" }))))));
436
+ }, ref: (el) => (this.trackEl = el), part: "track" }, index.h("div", { key: '9c230ebab5a13e45908446f6f1d2b82698b8e56a', 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" }))))));
437
437
  }
438
438
  static get watchers() { return {
439
439
  "mode": [{
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-BLlc_shC.js');
4
+
5
+ const sectionCss = () => `:host{display:block;min-width:0}`;
6
+
7
+ const QSection = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ layout = 'full';
12
+ reverse = false;
13
+ columns = 1;
14
+ render() {
15
+ return index.h(index.Host, { key: '742848f9d58c70a6e21eb32d548acf01bc465d96' }, index.h("slot", { key: '774a388cefc0f30baab3d8c91bffd7a29ef8d596', name: "media" }), index.h("slot", { key: '4edfda8dc5ed7bc97f2446d1865884ca965a101d' }), index.h("slot", { key: 'f15da707788ef683ac04b5309da91c68333a85dd', name: "actions" }));
16
+ }
17
+ };
18
+ QSection.style = sectionCss();
19
+
20
+ exports.q_section = QSection;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B7ex88C2.js');
3
+ var index = require('./index-BLlc_shC.js');
4
4
  var dom = require('./dom-Dk77oFF6.js');
5
5
  var collectionIdentity = require('./collection-identity-CV5HLD9Z.js');
6
6
  var chevronUp = require('./chevron-up-Dysp_9UJ.js');
@@ -294,7 +294,7 @@ function renderNavItems(options) {
294
294
  const isAlwaysExpanded = Boolean(hasChildren && item.alwaysExpanded === true);
295
295
  const isExpanded = isAlwaysExpanded || expandedGroups.has(item.value);
296
296
  const isActive = !hasChildren && item.value === activeValue;
297
- const depthTone = depth % 2 === 0 ? 'primary' : 'secondary';
297
+ const depthTone = !hasChildren || depth === 0 ? 'primary' : 'secondary';
298
298
  const count = item.badgeCount ?? 0;
299
299
  const hasBadge = Number.isSafeInteger(count) && count > 0;
300
300
  const accessibleLabel = hasBadge ? `${item.label}, ${item.badgeLabel?.trim() || count}` : item.label;
@@ -310,7 +310,7 @@ function renderNavItems(options) {
310
310
  e.preventDefault();
311
311
  onItemClick(item);
312
312
  }
313
- } }, item.icon && (index.h("q-icon", { class: "nav-item__icon", name: item.icon, lib: "lucide", size: "sm" })), index.h("span", { class: "nav-item__label" }, item.label), hasBadge && (index.h("span", { class: "nav-item__badge", part: "item-badge", "aria-hidden": "true" }, count > 99 ? '99+' : count)), hasChildren && !isAlwaysExpanded && (index.h("q-icon", { class: { 'nav-item__chevron': true, 'nav-item__chevron--open': isExpanded }, definition: ChevronRight, name: "chevron-right", size: "sm" }))), hasChildren && isExpanded && (index.h("div", { class: "nav-children", role: "group", "aria-label": item.label }, renderNavItems({ items: item.children, expandedGroups, activeValue, onItemClick, depth: depth + 1 })))));
313
+ } }, item.icon && (index.h("q-icon", { class: "nav-item__icon", name: item.icon, library: "lucide", size: "sm" })), index.h("span", { class: "nav-item__label" }, item.label), hasBadge && (index.h("span", { class: "nav-item__badge", part: "item-badge", "aria-hidden": "true" }, count > 99 ? '99+' : count)), hasChildren && !isAlwaysExpanded && (index.h("q-icon", { class: { 'nav-item__chevron': true, 'nav-item__chevron--open': isExpanded }, definition: ChevronRight, name: "chevron-right", size: "sm" }))), hasChildren && isExpanded && (index.h("div", { class: "nav-children", role: "group", "aria-label": item.label }, renderNavItems({ items: item.children, expandedGroups, activeValue, onItemClick, depth: depth + 1 })))));
314
314
  });
315
315
  }
316
316
 
@@ -365,6 +365,8 @@ const QSidepanel = class {
365
365
  open = false;
366
366
  side = 'right';
367
367
  /** Drawer width or height, depending on `side`. */
368
+ drawerSize;
369
+ /** @deprecated Use drawerSize. Used only when drawerSize is unset. */
368
370
  panelSize = '320px';
369
371
  // ── Nav-mode props ────────────────────────────────────────────────────────
370
372
  /** Navigation items rendered in nav mode. */
@@ -373,6 +375,9 @@ const QSidepanel = class {
373
375
  value = '';
374
376
  /** Displays items as a flat list, one-level groups, or a deep tree. */
375
377
  mode = 'flat';
378
+ /** Seeds navigation group expansion before user interaction. Defaults to true. */
379
+ defaultGroupsExpanded;
380
+ /** @deprecated Use defaultGroupsExpanded. Used only when defaultGroupsExpanded is unset. */
376
381
  expanded = true;
377
382
  /** Opening one group collapses its siblings. */
378
383
  accordion = false;
@@ -383,6 +388,8 @@ const QSidepanel = class {
383
388
  /** `none` delegates the collapse control and `collapsed` state to the consumer. */
384
389
  collapseControl = 'none';
385
390
  /** `edge-tab` is intended for `collapse-control="edge"`. */
391
+ collapseControlStyle;
392
+ /** @deprecated Use collapseControlStyle. Used only when collapseControlStyle is unset. */
386
393
  collapseControlAppearance = 'icon-button';
387
394
  /** Measured from the top on vertical sides and left on horizontal sides. */
388
395
  collapseControlPosition = '';
@@ -422,7 +429,7 @@ const QSidepanel = class {
422
429
  this.hasFooterContent = this.hasSlotContent('footer');
423
430
  // Nav mode
424
431
  this.normalizedItems = getSidepanelItems(this.items);
425
- if (this.expanded) {
432
+ if (this.defaultGroupsExpanded ?? this.expanded) {
426
433
  seedExpandedGroups(this.normalizedItems, this.expandedGroups);
427
434
  }
428
435
  }
@@ -449,7 +456,7 @@ const QSidepanel = class {
449
456
  }
450
457
  handleItemsChange() {
451
458
  this.normalizedItems = getSidepanelItems(this.items);
452
- if (this.expanded && !this.hasUserToggledGroups) {
459
+ if ((this.defaultGroupsExpanded ?? this.expanded) && !this.hasUserToggledGroups) {
453
460
  const newSet = new Set();
454
461
  seedExpandedGroups(this.normalizedItems, newSet);
455
462
  this.expandedGroups = newSet;
@@ -558,7 +565,7 @@ const QSidepanel = class {
558
565
  }
559
566
  }
560
567
  getCollapseIconName() {
561
- return this.collapseControlAppearance === 'edge-tab'
568
+ return (this.collapseControlStyle ?? this.collapseControlAppearance) === 'edge-tab'
562
569
  ? this.getEdgeTabCollapseIconName()
563
570
  : this.getIconButtonCollapseIconName();
564
571
  }
@@ -576,7 +583,7 @@ const QSidepanel = class {
576
583
  renderCollapseControl(placement) {
577
584
  const collapseControlLabel = this.getCollapseControlLabel();
578
585
  const iconSlotName = this.collapsed ? 'expand-icon' : 'collapse-icon';
579
- const isEdgeTab = placement === 'edge' && this.collapseControlAppearance === 'edge-tab';
586
+ const isEdgeTab = placement === 'edge' && (this.collapseControlStyle ?? this.collapseControlAppearance) === 'edge-tab';
580
587
  const controlStyle = this.collapseControlPosition.trim()
581
588
  ? { '--q-sidepanel-collapse-control-position': this.collapseControlPosition.trim() }
582
589
  : undefined;
@@ -589,7 +596,7 @@ const QSidepanel = class {
589
596
  }
590
597
  render() {
591
598
  const customSizeStyle = {
592
- '--q-panel-width': this.panelSize,
599
+ '--q-panel-width': this.drawerSize ?? this.panelSize,
593
600
  };
594
601
  const ariaLabel = this.ariaLabel?.trim() || undefined;
595
602
  if (this.variant === 'nav') {
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-BLlc_shC.js');
4
+ var tokens = require('./tokens-DGECOqpA.js');
5
+
6
+ const stackCss = () => `:host{display:block;min-width:0}div{display:flex;flex-direction:column;min-width:0}slot{display:contents}::slotted(*){min-width:0}`;
7
+
8
+ const QStack = class {
9
+ constructor(hostRef) {
10
+ index.registerInstance(this, hostRef);
11
+ }
12
+ gap = 'lg';
13
+ align = 'stretch';
14
+ render() {
15
+ return index.h("div", { key: '71cf654e1609c0c884683e8feab0e6825c5633ca', part: "layout", style: { gap: tokens.spaceValue(this.gap), alignItems: this.align } }, index.h("slot", { key: 'f1e8958aadabfdf876754bf5addd6b9aab0cf046' }));
16
+ }
17
+ };
18
+ QStack.style = stackCss();
19
+
20
+ exports.q_stack = QStack;
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B7ex88C2.js');
3
+ var index = require('./index-BLlc_shC.js');
4
4
 
5
5
  function isStepDiagramItemActivationKey(key) {
6
6
  return key === 'Enter' || key === ' ';
7
7
  }
8
8
 
9
- const stepDiagramItemCss = () => `:host{display:block;box-sizing:border-box;flex:1;}.step-item{display:flex;box-sizing:border-box;position:relative}:host([layout="vertical"]) .step-item{flex-direction:row;padding-bottom:var(--q-step-diag-item-gap, 24px)}:host([layout="horizontal"]) .step-item{flex-direction:column;align-items:center;padding-right:var(--q-step-diag-item-gap, 24px)}.step-badge{position:relative;width:var(--q-step-diag-icon-size, 32px);height:var(--q-step-diag-icon-size, 32px);border-radius:50%;background:var(--q-bg-surface-2, #374151);border:var(--q-step-diag-border, var(--q-border, 1px solid var(--q-border-color, #4b5563)));display:flex;align-items:center;justify-content:center;z-index:2;outline:none;transition:all var(--q-transition-normal, 250ms cubic-bezier(0.4, 0, 0.2, 1))}.badge-dot{width:8px;height:8px;border-radius:50%;background:var(--q-color-secondary, #9ca3af);transition:background var(--q-transition-normal, 250ms cubic-bezier(0.4, 0, 0.2, 1))}.step-line-container{display:flex;position:relative;align-items:center}:host([layout="vertical"]) .step-line-container{flex-direction:column;width:var(--q-step-diag-icon-size, 32px)}:host([layout="horizontal"]) .step-line-container{flex-direction:row;width:100%}.step-connector{position:absolute;z-index:1;border-color:var(--q-border-color, #4b5563);transition:border-color var(--q-transition-normal, 250ms cubic-bezier(0.4, 0, 0.2, 1))}:host([layout="vertical"]) .step-connector{top:var(--q-step-diag-icon-size, 32px);left:calc(50% - 1px);height:100%;border-left:var(--q-step-diag-line, 2px solid var(--q-border-color, #4b5563))}:host([layout="horizontal"]) .step-connector{left:var(--q-step-diag-icon-size, 32px);top:calc(50% - 1px);width:100%;border-top:var(--q-step-diag-line, 2px solid var(--q-border-color, #4b5563))}:host([line-style="dashed"]) .step-connector{border-style:dashed}:host([line-style="dotted"]) .step-connector{border-style:dotted}:host([line-style="none"]) .step-connector{display:none}:host([status="completed"]) .step-badge,:host([status="success"]) .step-badge{background:var(--q-color-success, #34d399);border-color:var(--q-color-success, #34d399)}:host([status="completed"]) .badge-dot,:host([status="success"]) .badge-dot{background:var(--q-bg-base, #111827)}:host([status="completed"]) .step-connector,:host([status="success"]) .step-connector{border-color:var(--q-color-success, #34d399)}:host([status="active"]) .step-badge{background:var(--q-bg-surface-2, #374151);border-color:var(--q-color-primary, #60a5fa)}:host([status="active"]) .badge-dot{background:var(--q-color-primary, #60a5fa)}:host([status="active"]) .step-badge::after{content:'';position:absolute;top:-2px;left:-2px;right:-2px;bottom:-2px;border-radius:50%;border:2px solid var(--q-color-primary, #60a5fa);opacity:0;animation:active-pulse-gpu 2s infinite ease-out;pointer-events:none}:host([status="warning"]) .step-badge{background:var(--q-bg-surface-2, #374151);border-color:var(--q-color-warning, #fbbf24)}:host([status="warning"]) .badge-dot{background:var(--q-color-warning, #fbbf24)}:host([status="warning"]) .step-connector{border-color:var(--q-color-warning, #fbbf24)}:host([status="danger"]) .step-badge{background:var(--q-bg-surface-2, #374151);border-color:var(--q-color-danger, #ef4444)}:host([status="danger"]) .badge-dot{background:var(--q-color-danger, #ef4444)}:host([status="danger"]) .step-connector{border-color:var(--q-color-danger, #ef4444)}:host([status="pending"]) .step-badge{background:transparent;border-color:var(--q-border-color, #4b5563)}:host([status="pending"]) .badge-dot{background:var(--q-color-secondary, #9ca3af);opacity:0.5}:host([status="pending"]) .step-connector{border-color:var(--q-border-color, #4b5563)}.step-content{flex:1;background:var(--q-bg-surface-1, #1f2937);border:var(--q-step-diag-border, var(--q-border, 1px solid var(--q-border-color, #4b5563)));border-radius:var(--q-radius-lg, 11px);padding:var(--q-padding-md, 9px);margin-left:var(--q-padding-md, 9px);cursor:pointer;outline:none;transition:all var(--q-transition-normal, 250ms cubic-bezier(0.4, 0, 0.2, 1))}:host([layout="horizontal"]) .step-content{margin-left:0;margin-top:var(--q-padding-md, 9px);width:100%}.step-content:hover,.step-content:focus-visible{border-color:var(--q-color-primary, #60a5fa);transform:translateY(-2px);box-shadow:var(--q-shadow-low, 0 2px 4px rgba(0,0,0,0.1))}.step-content:focus-visible{outline:var(--q-focus-ring, 2px solid var(--q-color-primary, #60a5fa));outline-offset:2px}.step-title{font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-sm, 0.7rem);font-weight:var(--q-font-weight-bold, 600);color:var(--q-color-primary, #60a5fa);margin-bottom:4px}:host([status="completed"]) .step-title,:host([status="success"]) .step-title{color:var(--q-color-success, #34d399)}:host([status="active"]) .step-title{color:var(--q-color-primary, #60a5fa)}:host([status="warning"]) .step-title{color:var(--q-color-warning, #fbbf24)}:host([status="danger"]) .step-title{color:var(--q-color-danger, #ef4444)}:host([status="pending"]) .step-title{color:var(--q-fg-muted, #9ca3af)}.step-body{font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-base, 0.9rem);font-weight:var(--q-font-weight-normal, 400);color:var(--q-fg-base, #f9fafb)}@keyframes active-pulse-gpu{0%{transform:scale(0.95);opacity:0.8}100%{transform:scale(1.35);opacity:0}}`;
9
+ const stepDiagramItemCss = () => `:host{display:block;box-sizing:border-box;flex:1;}.step-item{display:flex;box-sizing:border-box;position:relative}.step-item.orientation-vertical{flex-direction:row;padding-bottom:var(--q-step-diag-item-gap, 24px)}.step-item.orientation-horizontal{flex-direction:column;align-items:center;padding-right:var(--q-step-diag-item-gap, 24px)}.step-badge{position:relative;width:var(--q-step-diag-icon-size, 32px);height:var(--q-step-diag-icon-size, 32px);border-radius:50%;background:var(--q-bg-surface-2, #374151);border:var(--q-step-diag-border, var(--q-border, 1px solid var(--q-border-color, #4b5563)));display:flex;align-items:center;justify-content:center;z-index:2;outline:none;transition:all var(--q-transition-normal, 250ms cubic-bezier(0.4, 0, 0.2, 1))}.badge-dot{width:8px;height:8px;border-radius:50%;background:var(--q-color-secondary, #9ca3af);transition:background var(--q-transition-normal, 250ms cubic-bezier(0.4, 0, 0.2, 1))}.step-line-container{display:flex;position:relative;align-items:center}.orientation-vertical .step-line-container{flex-direction:column;width:var(--q-step-diag-icon-size, 32px)}.orientation-horizontal .step-line-container{flex-direction:row;width:100%}.step-connector{position:absolute;z-index:1;border-color:var(--q-border-color, #4b5563);transition:border-color var(--q-transition-normal, 250ms cubic-bezier(0.4, 0, 0.2, 1))}.orientation-vertical .step-connector{top:var(--q-step-diag-icon-size, 32px);left:calc(50% - 1px);height:100%;border-left:var(--q-step-diag-line, 2px solid var(--q-border-color, #4b5563))}.orientation-horizontal .step-connector{left:var(--q-step-diag-icon-size, 32px);top:calc(50% - 1px);width:100%;border-top:var(--q-step-diag-line, 2px solid var(--q-border-color, #4b5563))}:host([line-style="dashed"]) .step-connector{border-style:dashed}:host([line-style="dotted"]) .step-connector{border-style:dotted}:host([line-style="none"]) .step-connector{display:none}:host([status="completed"]) .step-badge,:host([status="success"]) .step-badge{background:var(--q-color-success, #34d399);border-color:var(--q-color-success, #34d399)}:host([status="completed"]) .badge-dot,:host([status="success"]) .badge-dot{background:var(--q-bg-base, #111827)}:host([status="completed"]) .step-connector,:host([status="success"]) .step-connector{border-color:var(--q-color-success, #34d399)}:host([status="active"]) .step-badge{background:var(--q-bg-surface-2, #374151);border-color:var(--q-color-primary, #60a5fa)}:host([status="active"]) .badge-dot{background:var(--q-color-primary, #60a5fa)}:host([status="active"]) .step-badge::after{content:'';position:absolute;top:-2px;left:-2px;right:-2px;bottom:-2px;border-radius:50%;border:2px solid var(--q-color-primary, #60a5fa);opacity:0;animation:active-pulse-gpu 2s infinite ease-out;pointer-events:none}:host([status="warning"]) .step-badge{background:var(--q-bg-surface-2, #374151);border-color:var(--q-color-warning, #fbbf24)}:host([status="warning"]) .badge-dot{background:var(--q-color-warning, #fbbf24)}:host([status="warning"]) .step-connector{border-color:var(--q-color-warning, #fbbf24)}:host([status="danger"]) .step-badge{background:var(--q-bg-surface-2, #374151);border-color:var(--q-color-danger, #ef4444)}:host([status="danger"]) .badge-dot{background:var(--q-color-danger, #ef4444)}:host([status="danger"]) .step-connector{border-color:var(--q-color-danger, #ef4444)}:host([status="pending"]) .step-badge{background:transparent;border-color:var(--q-border-color, #4b5563)}:host([status="pending"]) .badge-dot{background:var(--q-color-secondary, #9ca3af);opacity:0.5}:host([status="pending"]) .step-connector{border-color:var(--q-border-color, #4b5563)}.step-content{flex:1;background:var(--q-bg-surface-1, #1f2937);border:var(--q-step-diag-border, var(--q-border, 1px solid var(--q-border-color, #4b5563)));border-radius:var(--q-radius-lg, 11px);padding:var(--q-padding-md, 9px);margin-left:var(--q-padding-md, 9px);cursor:pointer;outline:none;transition:all var(--q-transition-normal, 250ms cubic-bezier(0.4, 0, 0.2, 1))}.orientation-horizontal .step-content{margin-left:0;margin-top:var(--q-padding-md, 9px);width:100%}.step-content:hover,.step-content:focus-visible{border-color:var(--q-color-primary, #60a5fa);transform:translateY(-2px);box-shadow:var(--q-shadow-low, 0 2px 4px rgba(0,0,0,0.1))}.step-content:focus-visible{outline:var(--q-focus-ring, 2px solid var(--q-color-primary, #60a5fa));outline-offset:2px}.step-title{font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-sm, 0.7rem);font-weight:var(--q-font-weight-bold, 600);color:var(--q-color-primary, #60a5fa);margin-bottom:4px}:host([status="completed"]) .step-title,:host([status="success"]) .step-title{color:var(--q-color-success, #34d399)}:host([status="active"]) .step-title{color:var(--q-color-primary, #60a5fa)}:host([status="warning"]) .step-title{color:var(--q-color-warning, #fbbf24)}:host([status="danger"]) .step-title{color:var(--q-color-danger, #ef4444)}:host([status="pending"]) .step-title{color:var(--q-fg-muted, #9ca3af)}.step-body{font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-base, 0.9rem);font-weight:var(--q-font-weight-normal, 400);color:var(--q-fg-base, #f9fafb)}@keyframes active-pulse-gpu{0%{transform:scale(0.95);opacity:0.8}100%{transform:scale(1.35);opacity:0}}`;
10
10
 
11
11
  const QStepDiagramItem = class {
12
12
  constructor(hostRef) {
@@ -15,7 +15,9 @@ const QStepDiagramItem = class {
15
15
  }
16
16
  // ======== [1] STENCIL API (Props, Events, AttachInternals, Elements) =========
17
17
  lineStyle = 'solid';
18
- /** Inherited from `q-step-diagram`. */
18
+ /** Direction of the step. A q-step-diagram parent supplies its orientation; standalone default is vertical. */
19
+ orientation;
20
+ /** @deprecated Use orientation. Used only when orientation is unset. */
19
21
  layout = 'vertical';
20
22
  status = 'completed';
21
23
  /** Emitted when the focusable step content is clicked or activated with Enter/Space. */
@@ -34,7 +36,8 @@ const QStepDiagramItem = class {
34
36
  };
35
37
  // ===================== [6] RENDER (Visual Template Only) =====================
36
38
  render() {
37
- return (index.h("div", { key: 'd8190178054bb10517cee9071ff88ab9693bbb63', class: "step-item" }, index.h("div", { key: '699118fefac5ebacf296a40f0bbba9aff858d4ff', class: "step-line-container" }, index.h("div", { key: '542e618e282dc615f3b245bab7b05137e2a74d67', class: "step-badge", "aria-hidden": "true", part: "badge" }, index.h("slot", { key: '23b9c3af36f5631543e81a7c7295d509b5cc6217', name: "badge" }, index.h("div", { key: '23cf12747d4b5e0e7af364dbbea0eaf4f5b21b0a', class: "badge-dot" }))), index.h("div", { key: '48254a92ab3e031a9f952313085fa0230467d039', class: "step-connector", part: "connector" })), index.h("div", { key: '665c385243726d2e4e40eb844d6a3790027125bd', class: "step-content", onClick: this.handleTrigger, onKeyDown: this.handleKeyDown, tabindex: "0", role: "button", part: "content", "aria-current": this.status === 'active' ? 'step' : undefined, "aria-disabled": this.status === 'pending' ? 'true' : undefined }, index.h("div", { key: '1fbd38c60876f2abd07ac8525ce3454e81b48faa', class: "step-title", part: "title" }, index.h("slot", { key: '94b76077731a9c97ece9f1d25bfe94be5d30ac5f', name: "title" })), index.h("div", { key: 'c11b547b904d892c13271a7fcbdb9897fc76843a', class: "step-body", part: "body" }, index.h("slot", { key: '96c468770e21f512fc50cb8e93367978c04f4004' })))));
39
+ const orientation = this.orientation ?? this.layout;
40
+ return (index.h("div", { key: 'e33bd52746ebac7b6c4d094698600ebb808a489f', class: { 'step-item': true, [`orientation-${orientation}`]: true } }, index.h("div", { key: 'c14061fd0b9113bc3d87494118d2ae6e2a18ced3', class: "step-line-container" }, index.h("div", { key: '8be3af0c07eb52b631028419806a3874bcc2c6c7', class: "step-badge", "aria-hidden": "true", part: "badge" }, index.h("slot", { key: '99743f4c62b724b2344eb4a102c855cf7d13a487', name: "badge" }, index.h("div", { key: '20dfe66dea3c203022061ad24836aedc108c61a7', class: "badge-dot" }))), index.h("div", { key: 'c7ac704b0da0c418418015fc2a06347ff7013b9f', class: "step-connector", part: "connector" })), index.h("div", { key: 'b5cc679f950214f6e3ca212de9ab72256c44c529', class: "step-content", onClick: this.handleTrigger, onKeyDown: this.handleKeyDown, tabindex: "0", role: "button", part: "content", "aria-current": this.status === 'active' ? 'step' : undefined, "aria-disabled": this.status === 'pending' ? 'true' : undefined }, index.h("div", { key: '8912226f8e7f5a14645380756e3e8d60edc2c5ad', class: "step-title", part: "title" }, index.h("slot", { key: '711795873e70de3270605256cae8abb295ef1428', name: "title" })), index.h("div", { key: '6cb5f4cd4c6343d0503c88d555a9f9f404e428fa', class: "step-body", part: "body" }, index.h("slot", { key: '9ec59e6c87bb2bd4bef39a3953b57bb92400dceb' })))));
38
41
  }
39
42
  };
40
43
  QStepDiagramItem.style = stepDiagramItemCss();
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B7ex88C2.js');
3
+ var index = require('./index-BLlc_shC.js');
4
4
  var dom = require('./dom-Dk77oFF6.js');
5
5
 
6
6
  const stepDiagramCss = () => `:host{display:block;box-sizing:border-box}.step-diagram{display:flex;width:100%;box-sizing:border-box}.layout-vertical{flex-direction:column}.layout-horizontal{flex-direction:row;align-items:flex-start;overflow-x:auto}`;
@@ -10,34 +10,44 @@ const QStepDiagram = class {
10
10
  index.registerInstance(this, hostRef);
11
11
  }
12
12
  // ======== [1] STENCIL API (Props, Events, AttachInternals, Elements) =========
13
+ /** Direction of the sequence and its items. Overrides layout; defaults to vertical when both are omitted. */
14
+ orientation;
15
+ /** @deprecated Use orientation. Used only when orientation is unset. */
13
16
  layout = 'vertical';
14
17
  /** Accessible label for the step sequence. */
15
18
  ariaLabel = 'Steps';
16
19
  get el() { return index.getElement(this); }
17
20
  // ========================= [3] LIFECYCLE & WATCHERS ==========================
18
- handleLayoutChange(newLayout) {
19
- this.propagateLayout(newLayout);
21
+ handleOrientationChange() {
22
+ this.propagateOrientation();
20
23
  }
21
24
  componentDidLoad() {
22
- this.handleLayoutChange(this.layout);
25
+ this.handleOrientationChange();
23
26
  }
24
27
  // =================== [5] EVENT HANDLERS & INTERNAL METHODS ===================
25
28
  handleSlotChange = () => {
26
- this.propagateLayout(this.layout);
29
+ this.propagateOrientation();
27
30
  };
28
- propagateLayout(layoutVal) {
29
- dom.syncPropertyToSlottedChildren(this.el, 'q-step-diagram-item', 'layout', layoutVal);
31
+ propagateOrientation() {
32
+ const orientation = this.orientation ?? this.layout;
33
+ dom.syncPropertyToSlottedChildren(this.el, 'q-step-diagram-item', 'orientation', orientation);
34
+ dom.syncPropertyToSlottedChildren(this.el, 'q-step-diagram-item', 'layout', orientation);
30
35
  }
31
36
  // ===================== [6] RENDER (Visual Template Only) =====================
32
37
  render() {
33
- return (index.h("div", { key: '9cfa5ec3a839259e2534e8a9288a8262520ffe54', class: {
38
+ const orientation = this.orientation ?? this.layout;
39
+ return (index.h("div", { key: '1fddc04b537873198cdc8b026646e6a18902c25f', class: {
34
40
  'step-diagram': true,
35
- [`layout-${this.layout}`]: true,
36
- }, role: "list", "aria-label": this.ariaLabel }, index.h("slot", { key: '6af4e46591061836b35bd251498ab0b94140db8b', onSlotchange: this.handleSlotChange })));
41
+ [`orientation-${orientation}`]: true,
42
+ [`layout-${orientation}`]: true,
43
+ }, role: "list", "aria-label": this.ariaLabel }, index.h("slot", { key: '10a2934ec992d00446a28cb0ad73fed9eb3cabb6', onSlotchange: this.handleSlotChange })));
37
44
  }
38
45
  static get watchers() { return {
46
+ "orientation": [{
47
+ "handleOrientationChange": 0
48
+ }],
39
49
  "layout": [{
40
- "handleLayoutChange": 0
50
+ "handleOrientationChange": 0
41
51
  }]
42
52
  }; }
43
53
  };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B7ex88C2.js');
3
+ var index = require('./index-BLlc_shC.js');
4
4
  var formControlValidity = require('./form-control-validity-D1ukC0_e.js');
5
5
 
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B7ex88C2.js');
3
+ var index = require('./index-BLlc_shC.js');
4
4
  var collectionIdentity = require('./collection-identity-CV5HLD9Z.js');
5
5
  var utils = require('./utils-DGQOjEwT.js');
6
6
 
@@ -103,7 +103,7 @@ const QTabs = class {
103
103
  warningContext: 'q-tabs items',
104
104
  });
105
105
  const activeIndex = this.getActiveIndex(items);
106
- return (index.h("div", { key: '58f8a3888c5b846f9725fa529fc24135de5798c0', class: {
106
+ return (index.h("div", { key: '31312b7a411bea958f415b19638aabd8721b5f63', class: {
107
107
  'tab-list': true,
108
108
  [`size-${this.size}`]: true,
109
109
  [`variant-${this.variant}`]: true,
@@ -115,7 +115,7 @@ const QTabs = class {
115
115
  'has-icon': Boolean(item.icon),
116
116
  'is-icon-only': iconOnly,
117
117
  'is-selected': selected,
118
- }, type: "button", role: "tab", part: `tab${selected ? ' selected-tab' : ''}`, disabled: item.disabled, "aria-label": iconOnly ? item.label : undefined, "aria-selected": selected ? 'true' : 'false', "aria-controls": item.panelId, tabindex: selected ? 0 : -1, title: item.label, onClick: () => this.selectItem(item), onKeyDown: event => this.handleKeyDown(event, index$1) }, item.icon && (index.h("q-icon", { class: "tab__icon", name: item.icon, lib: "lucide", size: this.size, "aria-hidden": "true" })), !iconOnly && index.h("span", { class: "tab__label" }, item.label)));
118
+ }, type: "button", role: "tab", part: `tab${selected ? ' selected-tab' : ''}`, disabled: item.disabled, "aria-label": iconOnly ? item.label : undefined, "aria-selected": selected ? 'true' : 'false', "aria-controls": item.panelId, tabindex: selected ? 0 : -1, title: item.label, onClick: () => this.selectItem(item), onKeyDown: event => this.handleKeyDown(event, index$1) }, item.icon && (index.h("q-icon", { class: "tab__icon", name: item.icon, library: "lucide", size: this.size, "aria-hidden": "true" })), !iconOnly && index.h("span", { class: "tab__label" }, item.label)));
119
119
  })));
120
120
  }
121
121
  };
@@ -1,9 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B7ex88C2.js');
3
+ var index = require('./index-BLlc_shC.js');
4
+ var field = require('./field-CiEtk37y.js');
4
5
  var formControlValidity = require('./form-control-validity-D1ukC0_e.js');
5
6
 
6
- const textareaCss = () => `:host{display:block;width:100%;box-sizing:border-box}.textarea-wrapper{display:flex;flex-direction:column;width:100%;box-sizing:border-box}.textarea-label{font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-sm, 0.7rem);font-weight:var(--q-font-weight-bold, 600);color:var(--q-fg-muted, #9ca3af);margin-bottom:6px;transition:color var(--q-transition-fast, 150ms ease)}.textarea-box{width:100%;box-sizing:border-box;background:var(--q-input-bg, var(--q-bg-surface-2, #374151));border:var(--q-input-border, var(--q-border, 1px solid var(--q-border-color, #4b5563)));border-radius:var(--q-input-radius, var(--q-radius-md, 8px));padding:var(--q-input-padding, 10px 14px);font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-base, 0.9rem);font-weight:var(--q-font-weight-normal, 400);line-height:1.5;color:var(--q-fg-base, #f9fafb);resize:none;outline:none;transition:border-color var(--q-transition-fast, 150ms ease), box-shadow var(--q-transition-fast, 150ms ease)}.textarea-box.resize-manual{resize:vertical}.textarea-box:focus{border-color:var(--q-color-primary, #60a5fa);box-shadow:0 0 0 1px var(--q-color-primary, #60a5fa)}.textarea-wrapper:focus-within .textarea-label{color:var(--q-color-primary, #60a5fa)}.has-error .textarea-box{border-color:var(--q-color-danger, #ef4444) !important;box-shadow:none}.has-error.textarea-wrapper:focus-within .textarea-label,.has-error .textarea-label{color:var(--q-color-danger, #ef4444) !important}.error-msg{font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-sm, 0.7rem);font-weight:var(--q-font-weight-normal, 400);color:var(--q-color-danger, #ef4444);margin-top:6px}.is-disabled{opacity:0.6}.is-disabled .textarea-box{cursor:not-allowed;pointer-events:none}`;
7
+ const textareaCss = () => `:host{min-width:0;--_q-control-height:var(--q-context-control-height, var(--q-control-height-md, 2.25rem));--_q-control-font:var(--q-context-control-font, var(--q-control-font-md, 0.875rem));--_q-control-line:var(--q-context-control-line, var(--q-control-line-md, 1.25rem));--_q-control-padding:var(--q-context-control-padding, var(--q-control-padding-md, 0.75rem));--_q-control-icon:var(--q-context-control-icon, var(--q-control-icon-md, 1rem));--_q-control-radius:var(--q-context-control-radius, var(--q-control-radius-md, 0.4375rem))}.size-sm{--_q-control-height:var(--q-control-height-sm, 1.75rem);--_q-control-font:var(--q-control-font-sm, 0.75rem);--_q-control-line:var(--q-control-line-sm, 1rem);--_q-control-padding:var(--q-control-padding-sm, 0.5rem);--_q-control-icon:var(--q-control-icon-sm, 0.875rem);--_q-control-radius:var(--q-control-radius-sm, 0.34375rem)}.size-md{--_q-control-height:var(--q-control-height-md, 2.25rem);--_q-control-font:var(--q-control-font-md, 0.875rem);--_q-control-line:var(--q-control-line-md, 1.25rem);--_q-control-padding:var(--q-control-padding-md, 0.75rem);--_q-control-icon:var(--q-control-icon-md, 1rem);--_q-control-radius:var(--q-control-radius-md, 0.4375rem)}.size-lg{--_q-control-height:var(--q-control-height-lg, 2.75rem);--_q-control-font:var(--q-control-font-lg, 1rem);--_q-control-line:var(--q-control-line-lg, 1.5rem);--_q-control-padding:var(--q-control-padding-lg, 1rem);--_q-control-icon:var(--q-control-icon-lg, 1.25rem);--_q-control-radius:var(--q-control-radius-lg, 0.53125rem)}:host{display:block;width:100%;box-sizing:border-box}.textarea-wrapper{position:relative;display:flex;flex-direction:column;width:100%;box-sizing:border-box}.textarea-size-probe{position:absolute;visibility:hidden;pointer-events:none;width:max-content;font-family:var(--q-font-family, inherit);font-size:var(--_q-control-font);line-height:var(--_q-control-line)}.textarea-label{font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-sm, 0.7rem);font-weight:var(--q-font-weight-bold, 600);color:var(--q-fg-muted, #9ca3af);margin-bottom:6px;transition:color var(--q-transition-fast, 150ms ease)}.textarea-box{width:100%;box-sizing:border-box;background:var(--q-input-bg, var(--q-bg-surface-2, #374151));border:var(--q-input-border, var(--q-border, 1px solid var(--q-border-color, #4b5563)));border-radius:var(--q-input-radius, var(--q-field-radius, var(--_q-control-radius)));padding:var(--q-input-padding, 10px 14px);font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-base, 0.9rem);font-weight:var(--q-font-weight-normal, 400);line-height:1.5;color:var(--q-fg-base, #f9fafb);resize:none;outline:none;transition:border-color var(--q-transition-fast, 150ms ease), box-shadow var(--q-transition-fast, 150ms ease)}.textarea-box.resize-manual{resize:vertical}.textarea-box:focus{border-color:var(--q-color-primary, #60a5fa);box-shadow:0 0 0 1px var(--q-color-primary, #60a5fa)}.textarea-wrapper:focus-within .textarea-label{color:var(--q-color-primary, #60a5fa)}.has-error .textarea-box{border-color:var(--q-color-danger, #ef4444) !important;box-shadow:none}.has-error.textarea-wrapper:focus-within .textarea-label,.has-error .textarea-label{color:var(--q-color-danger, #ef4444) !important}.error-msg{font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-sm, 0.7rem);font-weight:var(--q-font-weight-normal, 400);color:var(--q-color-danger, #ef4444);margin-top:6px}.is-disabled{opacity:0.6}.is-disabled .textarea-box{cursor:not-allowed;pointer-events:none}.textarea-wrapper .textarea-box{min-height:var(--_q-control-height);padding:var(--q-input-padding, var(--q-field-padding, var(--q-space-sm, .5rem) var(--_q-control-padding)));font-size:var(--_q-control-font);line-height:var(--_q-control-line);background:var(--q-input-bg, var(--q-field-bg, var(--q-bg-field, var(--q-bg-surface-3, #22304d))))}:host{min-width:0}.q-label-hidden{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip-path:inset(50%);white-space:nowrap;border:0 !important}.q-field-feedback{display:block;min-block-size:var(--_q-feedback-min, var(--q-context-feedback-min, 0px));font-family:var(--q-font-family, inherit);font-size:var(--q-field-feedback-font, .75rem);font-weight:400;line-height:1rem;color:var(--q-fg-muted, #9ca3af);overflow-wrap:anywhere;margin:min(var(--q-space-xs, .25rem), var(--_q-feedback-min, var(--q-context-feedback-min, 0px))) 0 0}.q-field-feedback:not(:empty){margin-top:var(--q-space-xs, .25rem)}.q-field-feedback.error-msg{color:var(--_q-field-error-color, var(--q-color-danger, #f87171))}[part='label']:not(.q-label-hidden){font-family:var(--q-font-family, inherit);font-size:var(--q-field-label-font, .75rem);font-weight:600;line-height:1rem;margin-bottom:var(--q-space-xs, .25rem);overflow-wrap:anywhere}`;
7
8
 
8
9
  const QTextarea = class {
9
10
  constructor(hostRef) {
@@ -27,6 +28,13 @@ const QTextarea = class {
27
28
  label;
28
29
  /** Accessible name for the native textarea when a visible label is not used. */
29
30
  ariaLabel = null;
31
+ /** Supporting text, replaced by an active error. */
32
+ description;
33
+ size = 'inherit';
34
+ /** Keep the label accessible without displaying it. */
35
+ labelHidden = false;
36
+ /** Omitted inherits the enclosing form; false cancels reservation. */
37
+ reserveFeedback;
30
38
  rows = 3;
31
39
  /** Grows with content when `resizeMode` is `auto`. */
32
40
  autoGrow = true;
@@ -36,7 +44,7 @@ const QTextarea = class {
36
44
  required = false;
37
45
  /** Validation error text or error-state flag. */
38
46
  error;
39
- /** Validation helper text displayed when the field is in an error state. */
47
+ /** @deprecated Use error. Used when error is empty or unset. */
40
48
  errorMessage;
41
49
  name;
42
50
  internals;
@@ -47,6 +55,10 @@ const QTextarea = class {
47
55
  qFocus;
48
56
  qClick;
49
57
  textareaEl;
58
+ sizeProbeEl;
59
+ resizeObserver;
60
+ resizeFrame;
61
+ lastGeometry = '';
50
62
  // ========================= [2] INTERNAL STATE & REFS =========================
51
63
  initialValue = "";
52
64
  // ========================= [3] LIFECYCLE & WATCHERS ==========================
@@ -72,6 +84,41 @@ const QTextarea = class {
72
84
  componentDidLoad() {
73
85
  this.adjustHeightInternal();
74
86
  this.syncValidity();
87
+ this.observeGeometry();
88
+ }
89
+ connectedCallback() {
90
+ if (this.textareaEl)
91
+ this.observeGeometry();
92
+ }
93
+ disconnectedCallback() {
94
+ this.resizeObserver?.disconnect();
95
+ this.resizeObserver = undefined;
96
+ if (this.resizeFrame !== undefined)
97
+ cancelAnimationFrame(this.resizeFrame);
98
+ this.resizeFrame = undefined;
99
+ this.lastGeometry = '';
100
+ }
101
+ observeGeometry() {
102
+ if (this.resizeObserver || !this.textareaEl || !this.sizeProbeEl || typeof ResizeObserver === 'undefined')
103
+ return;
104
+ this.resizeObserver = new ResizeObserver(() => {
105
+ if (this.resizeFrame !== undefined)
106
+ return;
107
+ this.resizeFrame = requestAnimationFrame(() => {
108
+ this.resizeFrame = undefined;
109
+ if (!this.textareaEl || this.activeResizeMode !== 'auto')
110
+ return;
111
+ const style = getComputedStyle(this.textareaEl);
112
+ // Exclude height: changing it is the result of auto-grow, not a new input.
113
+ const geometry = [style.width, style.font, style.letterSpacing, style.padding, style.borderWidth, this.rows].join('|');
114
+ if (geometry === this.lastGeometry)
115
+ return;
116
+ this.lastGeometry = geometry;
117
+ this.adjustHeightInternal();
118
+ });
119
+ });
120
+ this.resizeObserver.observe(this.textareaEl);
121
+ this.resizeObserver.observe(this.sizeProbeEl);
75
122
  }
76
123
  componentDidRender() {
77
124
  this.syncValidity();
@@ -168,14 +215,15 @@ const QTextarea = class {
168
215
  const hasError = !!(this.error || this.errorMessage);
169
216
  const displayError = this.error || this.errorMessage;
170
217
  const ariaLabel = this.ariaLabel?.trim() || (!this.label && this.placeholder ? this.placeholder : undefined);
171
- return (index.h("div", { key: '254f68819d60b9f0e56bbeace0a747039d717727', class: {
218
+ return (index.h("div", { key: '2a5903876010bed67599eb68af9078719a54bf65', style: field.feedbackStyle(this.reserveFeedback), class: {
172
219
  'textarea-wrapper': true,
173
220
  'is-disabled': this.disabled,
174
- 'has-error': hasError
175
- } }, this.label && (index.h("label", { key: '1f8da8ac4eeb1f82ca7b8b32cafbb8914799a8a9', class: "textarea-label", htmlFor: "q-field", part: "label" }, this.label)), index.h("textarea", { key: '9cc3105b5019a8d640575ed1a87378836088eb4b', ref: (el) => (this.textareaEl = el), id: "q-field", class: {
221
+ 'has-error': hasError,
222
+ [`size-${this.size}`]: true
223
+ } }, index.h("span", { key: '8f12d79c7132c89cf4b67637aa627c60901df37a', class: "textarea-size-probe", "aria-hidden": "true", ref: el => (this.sizeProbeEl = el) }, "M"), this.label && (index.h("label", { key: 'a7ec4cadaef80883fbf0814c8ed23689d5286e69', class: { 'textarea-label': true, 'q-label-hidden': this.labelHidden }, htmlFor: "q-field", part: "label" }, this.label)), index.h("textarea", { key: '984ae770743e70a82d3511b6f00c9961027f03de', ref: (el) => (this.textareaEl = el), id: "q-field", class: {
176
224
  'textarea-box': true,
177
225
  'resize-manual': this.activeResizeMode === 'manual'
178
- }, part: "textarea", value: this.value, name: this.name, placeholder: this.placeholder, rows: this.rows, disabled: this.disabled, required: this.required, onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.handleClick, "aria-invalid": hasError ? 'true' : 'false', "aria-describedby": hasError ? 'q-field-error' : undefined, "aria-label": ariaLabel }), hasError && (index.h("span", { key: 'e1c5cdcaacb263d2c1195a085d31e40c136d6553', id: "q-field-error", class: "error-msg", part: "error-msg" }, displayError))));
226
+ }, part: "textarea", value: this.value, name: this.name, placeholder: this.placeholder, rows: this.rows, disabled: this.disabled, required: this.required, onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.handleClick, "aria-invalid": hasError ? 'true' : 'false', "aria-describedby": hasError || this.description ? 'q-field-error' : undefined, "aria-label": ariaLabel }), field.fieldFeedback('q-field-error', displayError, this.description)));
179
227
  }
180
228
  static get delegatesFocus() { return true; }
181
229
  static get formAssociated() { return true; }
@@ -188,6 +236,12 @@ const QTextarea = class {
188
236
  }],
189
237
  "autoGrow": [{
190
238
  "handleResizeModeChange": 0
239
+ }],
240
+ "size": [{
241
+ "handleResizeModeChange": 0
242
+ }],
243
+ "rows": [{
244
+ "handleResizeModeChange": 0
191
245
  }]
192
246
  }; }
193
247
  };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B7ex88C2.js');
3
+ var index = require('./index-BLlc_shC.js');
4
4
 
5
5
  const thumbnailCss = () => `:host{display:block;box-sizing:border-box}.thumb-wrapper{position:relative;display:flex;flex-direction:column;border-radius:var(--q-thumb-radius, var(--q-radius-md, 8px));border:2px solid var(--q-thumb-border-color, transparent);border:var(--q-thumb-border, 2px solid var(--q-thumb-border-color, transparent));overflow:hidden;cursor:pointer;outline:none;box-sizing:border-box;user-select:none;-webkit-user-select:none;transition:transform var(--q-transition-normal, 250ms cubic-bezier(0.4, 0, 0.2, 1)), box-shadow var(--q-transition-normal, 250ms cubic-bezier(0.4, 0, 0.2, 1)), border-color var(--q-transition-normal, 250ms cubic-bezier(0.4, 0, 0.2, 1))}.thumb-wrapper:hover,.thumb-wrapper:focus-visible{transform:scale(1.03);transform:var(--q-thumb-hover-transform, translateY(-4px) scale(1.02));--q-thumb-border-color:var(--q-color-primary, #60a5fa);box-shadow:var(--q-shadow-medium, 0 8px 16px rgba(0,0,0,0.3))}.is-highlighted{--q-thumb-border-color:var(--q-color-primary, #60a5fa);box-shadow:var(--q-thumb-glow, var(--q-glow-interactive, 0 0 20px rgba(96,165,250,0.3)))}.thumb-media-container{position:relative;width:100%;aspect-ratio:var(--q-thumb-aspect-ratio, 16 / 9);background:var(--q-bg-surface-2, #374151);overflow:hidden}.thumb-image{width:100%;height:100%;object-fit:cover;transition:transform var(--q-transition-normal, 250ms cubic-bezier(0.4, 0, 0.2, 1))}.thumb-wrapper:hover .thumb-image{transform:scale(1.05)}.video-play-indicator{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);background:rgba(0, 0, 0, 0.7);background:var(--q-thumb-overlay-bg, rgba(0, 0, 0, 0.7));border:2px solid #ffffff;border-radius:50%;width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:#ffffff;transition:background var(--q-transition-normal, 250ms cubic-bezier(0.4, 0, 0.2, 1)), transform var(--q-transition-normal, 250ms cubic-bezier(0.4, 0, 0.2, 1))}.thumb-wrapper:hover .video-play-indicator{background:var(--q-color-primary, #60a5fa);transform:translate(-50%, -50%) scale(1.1)}.video-play-indicator svg{width:16px;height:16px;margin-left:2px}.thumb-caption{position:absolute;bottom:0;left:0;width:100%;background:linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, var(--q-thumb-overlay-bg, rgba(0, 0, 0, 0.4)) 70%, rgba(0, 0, 0, 0) 100%);padding:12px 8px 8px 8px;box-sizing:border-box}.caption-text{font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-sm, 0.7rem);font-weight:var(--q-font-weight-normal, 400);color:#ffffff;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 1px 2px rgba(0, 0, 0, 0.8)}`;
6
6
 
@@ -39,11 +39,11 @@ const QThumbnail = class {
39
39
  };
40
40
  // ===================== [6] RENDER (Visual Template Only) =====================
41
41
  render() {
42
- return (index.h("div", { key: '9539bbb4b38aecdf80e6ae17d545a3cc82575575', class: {
42
+ return (index.h("div", { key: '48d86628bc779cf1191e39c652d95bbae8c2a547', class: {
43
43
  'thumb-wrapper': true,
44
44
  'is-highlighted': this.highlighted,
45
45
  'is-video': this.video,
46
- }, onClick: this.handleTrigger, role: "button", tabindex: "0", "aria-label": this.label || this.alt || 'Media item', onKeyDown: this.handleKeyDown }, index.h("div", { key: 'e51cb627f0b7a1f586e6562b4f442c7356f9ecfd', class: "thumb-media-container" }, index.h("img", { key: '058c547a242923c901cb49d1608a80d89d1a02dc', class: "thumb-image", src: this.src, alt: this.alt, loading: "lazy" }), this.video && (index.h("div", { key: '8b0b344cbeed371101a45b55198a2382ce7543d8', class: "video-play-indicator", "aria-hidden": "true" }, index.h("svg", { key: 'b73a08a90815ca32b5ef45c519a56fde4b3675e8', viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true" }, index.h("polygon", { key: 'f094ea5150e5bf020013293529c97839f37d5c80', points: "5 3 19 12 5 21 5 3" }))))), this.label && (index.h("div", { key: 'b22dfeb30c858ecd01d724e176acb98de16fc9b5', class: "thumb-caption" }, index.h("span", { key: '68a9aa5898da59d2121b957fd971161239e2e0d5', class: "caption-text" }, this.label))), index.h("slot", { key: '98adc578a08f2630b82e513fb7e4e7c920f57b44' })));
46
+ }, onClick: this.handleTrigger, role: "button", tabindex: "0", "aria-label": this.label || this.alt || 'Media item', onKeyDown: this.handleKeyDown }, index.h("div", { key: 'c113b418d73954bf9ba2901b09020383a891c577', class: "thumb-media-container" }, index.h("img", { key: '6e7836db7bb9a0cd88e40cb068fac615ddff7e54', class: "thumb-image", src: this.src, alt: this.alt, loading: "lazy" }), this.video && (index.h("div", { key: '117d2d4bcd5550ac81694638dfd93b68e4c24454', class: "video-play-indicator", "aria-hidden": "true" }, index.h("svg", { key: '635d3c0f800c0694b94f387c432dc162de2bf1a4', viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true" }, index.h("polygon", { key: '9458e20ee888f443e8b71df67aa910036574bdec', points: "5 3 19 12 5 21 5 3" }))))), this.label && (index.h("div", { key: 'e2af4d4c581ab289d7041487e82d6c4ef8c729ca', class: "thumb-caption" }, index.h("span", { key: 'ad665af92f8341f3e72ec3b7aebfee8368547303', class: "caption-text" }, this.label))), index.h("slot", { key: '76065889919408e0566bca08e0257d264d4b47d9' })));
47
47
  }
48
48
  };
49
49
  QThumbnail.style = thumbnailCss();
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B7ex88C2.js');
3
+ var index = require('./index-BLlc_shC.js');
4
4
  var toastController = require('./toast-controller-CIXagxbV.js');
5
5
 
6
6
  const renderToastIcon = (variant) => {
@@ -378,7 +378,7 @@ const QToast = class {
378
378
  // ===================== [6] RENDER (Visual Template Only) =====================
379
379
  render() {
380
380
  const maxVisible = normalizeMaxVisible(this.maxVisible);
381
- return (index.h("div", { key: 'ab7ef85932d43cd72ebeab8ac67b24360fb66405', class: "viewport" }, index.h("div", { key: '1ca8f911a1dbc4d8b4034c151e8033e79446ac6a', class: "stack", part: "stack", role: "region", "aria-label": "Notifications", style: { '--q-toast-max-visible': `${maxVisible}` } }, this.visibleToasts.map((item) => (index.h("div", { class: {
381
+ return (index.h("div", { key: 'db16fb1ef176cbb67f12968cb3b700b65ae86c06', class: "viewport" }, index.h("div", { key: 'f5e6155816fa71cf3ab982b02a8744149615d29f', class: "stack", part: "stack", role: "region", "aria-label": "Notifications", style: { '--q-toast-max-visible': `${maxVisible}` } }, this.visibleToasts.map((item) => (index.h("div", { class: {
382
382
  'toast-item': true,
383
383
  [`variant-${item.variant}`]: true,
384
384
  'is-exiting': item.exiting,
@@ -387,7 +387,7 @@ const QToast = class {
387
387
  if (!current.contains(event.relatedTarget)) {
388
388
  this.timers.resume(item.id, 'focus');
389
389
  }
390
- } }, index.h("q-alert", { heading: item.title, variant: item.variant, dismissible: item.dismissible, dismissLabel: `Dismiss ${item.title}`, announcement: "off", onQDismiss: () => this.dismissItem(item.id) }, renderToastIcon(item.variant), item.description))))), index.h("div", { key: '884f3a8ec1b8b54bc4662dc9d005af108ca55e11', class: "announcement", part: "announcement", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.announcementText)));
390
+ } }, index.h("q-alert", { heading: item.title, variant: item.variant, dismissible: item.dismissible, dismissLabel: `Dismiss ${item.title}`, announcement: "off", onQDismiss: () => this.dismissItem(item.id) }, renderToastIcon(item.variant), item.description))))), index.h("div", { key: '46993c8758bd81e96dbaffbfcad22e65e9e508c4', class: "announcement", part: "announcement", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.announcementText)));
391
391
  }
392
392
  static get watchers() { return {
393
393
  "maxVisible": [{