@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
@@ -0,0 +1,308 @@
1
+ import { spaceValue, surfaceValue } from "../../../theme/tokens";
2
+ import { h } from "@stencil/core";
3
+ import { getSlottedElements } from "../../../utils/dom";
4
+ import { normalizeCardElevation, shouldActivateCardFromKey } from "./card.utils";
5
+ /**
6
+ * Flexible content card with optional header slot, elevation, glass, lift, and interactive button semantics.
7
+ * @slot header - Optional header content, hidden automatically when empty.
8
+ * @slot footer - Optional footer content, hidden automatically when empty.
9
+ * @part container - Card surface.
10
+ * @part footer - Footer slot container.
11
+ * @slot - Main card body content.
12
+ * @part header - Header slot container.
13
+ * @part body - Body slot container.
14
+ */
15
+ export class QCard {
16
+ // ======== [1] STENCIL API (Props, Events, AttachInternals, Elements) =========
17
+ el;
18
+ /** Explicit surface; omitted preserves the variant's role. */
19
+ surface;
20
+ headerPadding;
21
+ footerPadding;
22
+ dividers = false;
23
+ padding = 'lg';
24
+ /** Numeric values remain supported as legacy elevation aliases. */
25
+ elevation = 'low';
26
+ /** Applies translucent glass styling without backdrop-filter. */
27
+ glass = false;
28
+ /** Applies a visual hover/focus lift without adding interactive semantics. */
29
+ lift = false;
30
+ /** Adds button semantics and keyboard activation to the card container. */
31
+ interactive = false;
32
+ // ========================= [2] INTERNAL STATE & REFS =========================
33
+ hasHeader = false;
34
+ hasFooter = false;
35
+ checkHeaderSlot = () => {
36
+ const footer = this.el.shadowRoot?.querySelector('slot[name="footer"]');
37
+ this.hasFooter = !!footer?.assignedNodes({ flatten: true }).some(node => node.nodeType === 1 || !!node.textContent?.trim());
38
+ const headerContainer = this.el.shadowRoot?.querySelector('.card-header');
39
+ if (headerContainer) {
40
+ const elements = getSlottedElements(headerContainer);
41
+ this.hasHeader = elements.length > 0;
42
+ }
43
+ else {
44
+ this.hasHeader = false;
45
+ }
46
+ };
47
+ // ========================= [3] LIFECYCLE & WATCHERS ==========================
48
+ componentDidLoad() {
49
+ this.checkHeaderSlot();
50
+ }
51
+ // =================== [5] EVENT HANDLERS & INTERNAL METHODS ===================
52
+ handleKeyDown = (e) => {
53
+ if (shouldActivateCardFromKey(this.interactive, e.key, e.target, e.currentTarget)) {
54
+ e.preventDefault();
55
+ e.currentTarget.click();
56
+ }
57
+ };
58
+ // ===================== [6] RENDER (Visual Template Only) =====================
59
+ render() {
60
+ const elevationClass = normalizeCardElevation(this.elevation);
61
+ return (h("div", { key: '717dc0017060a51d3e862786ff08b70d0048804b', part: "container", style: { '--_q-surface': surfaceValue(this.surface ?? 'card'), '--_q-body-padding': spaceValue(this.padding), '--_q-header-padding': spaceValue(this.headerPadding ?? this.padding), '--_q-footer-padding': spaceValue(this.footerPadding ?? this.padding) }, class: {
62
+ 'card-container': true,
63
+ 'has-dividers': this.dividers,
64
+ [`elevation-${elevationClass}`]: true,
65
+ 'is-interactive': this.interactive,
66
+ 'is-glass': this.glass,
67
+ 'has-lift': this.lift,
68
+ }, tabindex: this.interactive ? 0 : undefined, role: this.interactive ? 'button' : undefined, onKeyDown: this.interactive ? this.handleKeyDown : undefined }, h("div", { key: 'ed7dc6828609d3ce3593d1be9752633b8f3e5ca0', class: {
69
+ 'card-header': true,
70
+ 'is-hidden': !this.hasHeader,
71
+ }, part: "header" }, h("slot", { key: '9e1b0772536874b059b9f011b5b8edaedf4e6356', name: "header", onSlotchange: this.checkHeaderSlot })), h("div", { key: '0ce6df4b64d28eaf6b5282bce51945e2c817284b', class: "card-body", part: "body" }, h("slot", { key: '664c4f3123aaf5a4cb83168d4e4c14b6f649abaf' })), h("div", { key: '450b380586a2d9db29cd8cbe7c211fb20169cc46', class: { 'card-footer': true, 'is-hidden': !this.hasFooter }, part: "footer" }, h("slot", { key: 'de12a30c8a69d6f3647666ba00329d5f38cd3310', name: "footer", onSlotchange: this.checkHeaderSlot }))));
72
+ }
73
+ static get is() { return "q-card"; }
74
+ static get encapsulation() { return "shadow"; }
75
+ static get originalStyleUrls() {
76
+ return {
77
+ "$": ["card.css"]
78
+ };
79
+ }
80
+ static get styleUrls() {
81
+ return {
82
+ "$": ["card.css"]
83
+ };
84
+ }
85
+ static get properties() {
86
+ return {
87
+ "surface": {
88
+ "type": "string",
89
+ "mutable": false,
90
+ "complexType": {
91
+ "original": "QSurface",
92
+ "resolved": "\"canvas\" | \"card\" | \"field\" | \"floating\" | \"panel\" | \"transparent\"",
93
+ "references": {
94
+ "QSurface": {
95
+ "location": "import",
96
+ "path": "../../../theme/tokens",
97
+ "id": "src/theme/tokens.ts::QSurface",
98
+ "referenceLocation": "QSurface"
99
+ }
100
+ }
101
+ },
102
+ "required": false,
103
+ "optional": true,
104
+ "docs": {
105
+ "tags": [],
106
+ "text": "Explicit surface; omitted preserves the variant's role."
107
+ },
108
+ "getter": false,
109
+ "setter": false,
110
+ "reflect": false,
111
+ "attribute": "surface"
112
+ },
113
+ "headerPadding": {
114
+ "type": "string",
115
+ "mutable": false,
116
+ "complexType": {
117
+ "original": "QSpace",
118
+ "resolved": "\"2xl\" | \"3xl\" | \"lg\" | \"md\" | \"none\" | \"sm\" | \"xl\" | \"xs\"",
119
+ "references": {
120
+ "QSpace": {
121
+ "location": "import",
122
+ "path": "../../../theme/tokens",
123
+ "id": "src/theme/tokens.ts::QSpace",
124
+ "referenceLocation": "QSpace"
125
+ }
126
+ }
127
+ },
128
+ "required": false,
129
+ "optional": true,
130
+ "docs": {
131
+ "tags": [],
132
+ "text": ""
133
+ },
134
+ "getter": false,
135
+ "setter": false,
136
+ "reflect": false,
137
+ "attribute": "header-padding"
138
+ },
139
+ "footerPadding": {
140
+ "type": "string",
141
+ "mutable": false,
142
+ "complexType": {
143
+ "original": "QSpace",
144
+ "resolved": "\"2xl\" | \"3xl\" | \"lg\" | \"md\" | \"none\" | \"sm\" | \"xl\" | \"xs\"",
145
+ "references": {
146
+ "QSpace": {
147
+ "location": "import",
148
+ "path": "../../../theme/tokens",
149
+ "id": "src/theme/tokens.ts::QSpace",
150
+ "referenceLocation": "QSpace"
151
+ }
152
+ }
153
+ },
154
+ "required": false,
155
+ "optional": true,
156
+ "docs": {
157
+ "tags": [],
158
+ "text": ""
159
+ },
160
+ "getter": false,
161
+ "setter": false,
162
+ "reflect": false,
163
+ "attribute": "footer-padding"
164
+ },
165
+ "dividers": {
166
+ "type": "boolean",
167
+ "mutable": false,
168
+ "complexType": {
169
+ "original": "boolean",
170
+ "resolved": "boolean",
171
+ "references": {}
172
+ },
173
+ "required": false,
174
+ "optional": false,
175
+ "docs": {
176
+ "tags": [],
177
+ "text": ""
178
+ },
179
+ "getter": false,
180
+ "setter": false,
181
+ "reflect": false,
182
+ "attribute": "dividers",
183
+ "defaultValue": "false"
184
+ },
185
+ "padding": {
186
+ "type": "string",
187
+ "mutable": false,
188
+ "complexType": {
189
+ "original": "QSpace",
190
+ "resolved": "\"2xl\" | \"3xl\" | \"lg\" | \"md\" | \"none\" | \"sm\" | \"xl\" | \"xs\"",
191
+ "references": {
192
+ "QSpace": {
193
+ "location": "import",
194
+ "path": "../../../theme/tokens",
195
+ "id": "src/theme/tokens.ts::QSpace",
196
+ "referenceLocation": "QSpace"
197
+ }
198
+ }
199
+ },
200
+ "required": false,
201
+ "optional": false,
202
+ "docs": {
203
+ "tags": [],
204
+ "text": ""
205
+ },
206
+ "getter": false,
207
+ "setter": false,
208
+ "reflect": false,
209
+ "attribute": "padding",
210
+ "defaultValue": "'lg'"
211
+ },
212
+ "elevation": {
213
+ "type": "any",
214
+ "mutable": false,
215
+ "complexType": {
216
+ "original": "QCardElevation",
217
+ "resolved": "\"high\" | \"low\" | \"medium\" | \"none\" | 1 | 2 | 3",
218
+ "references": {
219
+ "QCardElevation": {
220
+ "location": "import",
221
+ "path": "./card.types",
222
+ "id": "src/components/content/card/card.types.ts::QCardElevation",
223
+ "referenceLocation": "QCardElevation"
224
+ }
225
+ }
226
+ },
227
+ "required": false,
228
+ "optional": false,
229
+ "docs": {
230
+ "tags": [],
231
+ "text": "Numeric values remain supported as legacy elevation aliases."
232
+ },
233
+ "getter": false,
234
+ "setter": false,
235
+ "reflect": true,
236
+ "attribute": "elevation",
237
+ "defaultValue": "'low'"
238
+ },
239
+ "glass": {
240
+ "type": "boolean",
241
+ "mutable": false,
242
+ "complexType": {
243
+ "original": "boolean",
244
+ "resolved": "boolean",
245
+ "references": {}
246
+ },
247
+ "required": false,
248
+ "optional": false,
249
+ "docs": {
250
+ "tags": [],
251
+ "text": "Applies translucent glass styling without backdrop-filter."
252
+ },
253
+ "getter": false,
254
+ "setter": false,
255
+ "reflect": true,
256
+ "attribute": "glass",
257
+ "defaultValue": "false"
258
+ },
259
+ "lift": {
260
+ "type": "boolean",
261
+ "mutable": false,
262
+ "complexType": {
263
+ "original": "boolean",
264
+ "resolved": "boolean",
265
+ "references": {}
266
+ },
267
+ "required": false,
268
+ "optional": false,
269
+ "docs": {
270
+ "tags": [],
271
+ "text": "Applies a visual hover/focus lift without adding interactive semantics."
272
+ },
273
+ "getter": false,
274
+ "setter": false,
275
+ "reflect": true,
276
+ "attribute": "lift",
277
+ "defaultValue": "false"
278
+ },
279
+ "interactive": {
280
+ "type": "boolean",
281
+ "mutable": false,
282
+ "complexType": {
283
+ "original": "boolean",
284
+ "resolved": "boolean",
285
+ "references": {}
286
+ },
287
+ "required": false,
288
+ "optional": false,
289
+ "docs": {
290
+ "tags": [],
291
+ "text": "Adds button semantics and keyboard activation to the card container."
292
+ },
293
+ "getter": false,
294
+ "setter": false,
295
+ "reflect": true,
296
+ "attribute": "interactive",
297
+ "defaultValue": "false"
298
+ }
299
+ };
300
+ }
301
+ static get states() {
302
+ return {
303
+ "hasHeader": {},
304
+ "hasFooter": {}
305
+ };
306
+ }
307
+ static get elementRef() { return "el"; }
308
+ }
@@ -257,10 +257,10 @@ export class QCarousel {
257
257
  render() {
258
258
  const isFirst = this.repeat ? (!this.isScrollable || this.maxIndex <= 0) : (this.isAtStart || !this.isScrollable);
259
259
  const isLast = this.repeat ? (!this.isScrollable || this.maxIndex <= 0) : (this.isAtEnd || !this.isScrollable);
260
- return (h("div", { key: '86a0e9daf5650a3d90eff10ca94c90f4ca17ad51', class: "carousel-wrapper" }, this.showArrows && (h("button", { key: '37bd85642a121721dc744f34bfcca2a1e76be912', class: { 'arrow-btn': true, 'arrow-left': true }, "aria-disabled": isFirst ? 'true' : 'false', onClick: isFirst ? undefined : this.slidePrev, "aria-label": "Previous slide", type: "button" }, h("svg", { key: 'd575f6b9e3fac25ff2a1bdf9326a2ece0945252e', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "aria-hidden": "true" }, h("polyline", { key: '2fd821d3529252bedb6fb11e983dafbb8876e71c', points: "15 18 9 12 15 6" })))), h("div", { key: '2df69be570e8bf6ea1962f3300d2b217ee78a234', class: {
260
+ return (h("div", { key: '815db219fbc3590b04e0b76c90e075f81a499d44', class: "carousel-wrapper" }, this.showArrows && (h("button", { key: 'f45dd5ee8c7cb8b31165b2e46c4a20c1dfec9022', class: { 'arrow-btn': true, 'arrow-left': true }, "aria-disabled": isFirst ? 'true' : 'false', onClick: isFirst ? undefined : this.slidePrev, "aria-label": "Previous slide", type: "button" }, h("svg", { key: '670137128e393713b010c88d4e465a3545c6b051', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "aria-hidden": "true" }, h("polyline", { key: '5c7756e1ed11f3be17c3c81d3717e5cea029a313', points: "15 18 9 12 15 6" })))), h("div", { key: 'f505b30d156e52deeed3d8efac96fbc6c60e2984', class: {
261
261
  'carousel-viewport': true,
262
262
  [`snap-${this.snapAlignment}`]: this.snapAlignment !== 'none'
263
- }, role: "group", "aria-roledescription": "carousel", tabindex: "0", "aria-label": "Carousel content", onScroll: this.handleScroll, ref: this.setScrollContainerRef }, h("slot", { key: '4377ce02504ef9b714c7d6fa74fcf5864520cf48', onSlotchange: this.handleSlotChange })), this.showArrows && (h("button", { key: 'fcf689f202ef6b49e3188460fbc962d3194feffb', class: { 'arrow-btn': true, 'arrow-right': true }, "aria-disabled": isLast ? 'true' : 'false', onClick: isLast ? undefined : this.slideNext, "aria-label": "Next slide", type: "button" }, h("svg", { key: '3c7246cbbc5920dbb2a49a229bdd8e8cec098f44', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "aria-hidden": "true" }, h("polyline", { key: '97a79966ebd8ff1dba704bf2984aaaa7dacc134a', points: "9 18 15 12 9 6" })))), this.showIndicators && this.isScrollable && this.maxIndex > 0 && (h("div", { key: '314e3d6b7d54e2a9bfa0287312d60b8520a9a407', class: "carousel-indicators", "aria-label": "Carousel slide controls", onKeyDown: this.handleIndicatorKeyDown }, Array.from({ length: this.maxIndex + 1 }).map((_, idx) => (h("button", { class: { 'indicator-dot': true, 'is-active': idx === this.activeIndex }, "aria-current": idx === this.activeIndex ? 'true' : undefined, onClick: () => this.scrollToIndex(idx), "aria-label": `Go to slide ${idx + 1}`, type: "button", tabindex: idx === this.activeIndex ? 0 : -1 })))))));
263
+ }, role: "group", "aria-roledescription": "carousel", tabindex: "0", "aria-label": "Carousel content", onScroll: this.handleScroll, ref: this.setScrollContainerRef }, h("slot", { key: 'c860d6a6f3726a43ce821a9ac0a3829140d29647', onSlotchange: this.handleSlotChange })), this.showArrows && (h("button", { key: '85e234fbbb9e5b639cc0fbb9bfd61204af77362c', class: { 'arrow-btn': true, 'arrow-right': true }, "aria-disabled": isLast ? 'true' : 'false', onClick: isLast ? undefined : this.slideNext, "aria-label": "Next slide", type: "button" }, h("svg", { key: '11eb8c532441910823c3c242af600315fb22b67f', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "aria-hidden": "true" }, h("polyline", { key: '488201279ec65762043333bd8dfb3d4cf065ef5f', points: "9 18 15 12 9 6" })))), this.showIndicators && this.isScrollable && this.maxIndex > 0 && (h("div", { key: 'e61202afcac73259cd844cab0a5d34d9086647f1', class: "carousel-indicators", "aria-label": "Carousel slide controls", onKeyDown: this.handleIndicatorKeyDown }, Array.from({ length: this.maxIndex + 1 }).map((_, idx) => (h("button", { class: { 'indicator-dot': true, 'is-active': idx === this.activeIndex }, "aria-current": idx === this.activeIndex ? 'true' : undefined, onClick: () => this.scrollToIndex(idx), "aria-label": `Go to slide ${idx + 1}`, type: "button", tabindex: idx === this.activeIndex ? 0 : -1 })))))));
264
264
  }
265
265
  static get is() { return "q-carousel"; }
266
266
  static get encapsulation() { return "shadow"; }
@@ -286,7 +286,7 @@ export class QCarousel {
286
286
  "QCarouselSnapAlignment": {
287
287
  "location": "import",
288
288
  "path": "./carousel.types",
289
- "id": "src/components/layout/carousel/carousel.types.ts::QCarouselSnapAlignment",
289
+ "id": "src/components/content/carousel/carousel.types.ts::QCarouselSnapAlignment",
290
290
  "referenceLocation": "QCarouselSnapAlignment"
291
291
  }
292
292
  }
@@ -412,7 +412,7 @@ export class QCarousel {
412
412
  "QCarouselSlideChangeDetail": {
413
413
  "location": "import",
414
414
  "path": "./carousel.types",
415
- "id": "src/components/layout/carousel/carousel.types.ts::QCarouselSlideChangeDetail",
415
+ "id": "src/components/content/carousel/carousel.types.ts::QCarouselSlideChangeDetail",
416
416
  "referenceLocation": "QCarouselSlideChangeDetail"
417
417
  }
418
418
  }
@@ -0,0 +1 @@
1
+ :host { display: block; min-width: 0; }
@@ -0,0 +1,54 @@
1
+ import { Host, h } from "@stencil/core";
2
+ /**
3
+ * Accordion API scaffold. Disclosure behavior and item coordination are deferred.
4
+ * @slot - Consumer-owned content.
5
+ */
6
+ export class QAccordion {
7
+ mode = 'single';
8
+ render() {
9
+ return h(Host, { key: '3d2dfa815dd8eb7735fe9d07dc183d1b3e2dca19' }, h("slot", { key: '0d10f8627d28214dfccb50bd87375661d8ef1ef4' }));
10
+ }
11
+ static get is() { return "q-accordion"; }
12
+ static get encapsulation() { return "shadow"; }
13
+ static get originalStyleUrls() {
14
+ return {
15
+ "$": ["accordion.css"]
16
+ };
17
+ }
18
+ static get styleUrls() {
19
+ return {
20
+ "$": ["accordion.css"]
21
+ };
22
+ }
23
+ static get properties() {
24
+ return {
25
+ "mode": {
26
+ "type": "string",
27
+ "mutable": false,
28
+ "complexType": {
29
+ "original": "QAccordionMode",
30
+ "resolved": "\"multiple\" | \"single\"",
31
+ "references": {
32
+ "QAccordionMode": {
33
+ "location": "import",
34
+ "path": "./accordion.types",
35
+ "id": "src/components/data-display/accordion/accordion.types.ts::QAccordionMode",
36
+ "referenceLocation": "QAccordionMode"
37
+ }
38
+ }
39
+ },
40
+ "required": false,
41
+ "optional": false,
42
+ "docs": {
43
+ "tags": [],
44
+ "text": ""
45
+ },
46
+ "getter": false,
47
+ "setter": false,
48
+ "reflect": true,
49
+ "attribute": "mode",
50
+ "defaultValue": "'single'"
51
+ }
52
+ };
53
+ }
54
+ }
@@ -1,5 +1,5 @@
1
1
  import { Mixin, h } from "@stencil/core";
2
- import { withActionLabel, withActionProps } from "../action.props";
2
+ import { withActionLabel, withActionProps } from "../../actions/action.props";
3
3
  /**
4
4
  * Compact label, link, filter, or removable token.
5
5
  * @slot - Chip label text. If using this for visible text on a removable chip, also set `label` for the remove button accessible name.
@@ -161,7 +161,7 @@ export class QChip extends Mixin(withActionProps, withActionLabel) {
161
161
  "QChipVariant": {
162
162
  "location": "import",
163
163
  "path": "./chip.types",
164
- "id": "src/components/actions/chip/chip.types.ts::QChipVariant",
164
+ "id": "src/components/data-display/chip/chip.types.ts::QChipVariant",
165
165
  "referenceLocation": "QChipVariant"
166
166
  }
167
167
  }
@@ -188,7 +188,7 @@ export class QChip extends Mixin(withActionProps, withActionLabel) {
188
188
  "QChipSize": {
189
189
  "location": "import",
190
190
  "path": "./chip.types",
191
- "id": "src/components/actions/chip/chip.types.ts::QChipSize",
191
+ "id": "src/components/data-display/chip/chip.types.ts::QChipSize",
192
192
  "referenceLocation": "QChipSize"
193
193
  }
194
194
  }
@@ -275,7 +275,7 @@ export class QChip extends Mixin(withActionProps, withActionLabel) {
275
275
  "QChipTarget": {
276
276
  "location": "import",
277
277
  "path": "./chip.types",
278
- "id": "src/components/actions/chip/chip.types.ts::QChipTarget",
278
+ "id": "src/components/data-display/chip/chip.types.ts::QChipTarget",
279
279
  "referenceLocation": "QChipTarget"
280
280
  }
281
281
  }
@@ -331,7 +331,7 @@ export class QChip extends Mixin(withActionProps, withActionLabel) {
331
331
  "QChipRemoveDetail": {
332
332
  "location": "import",
333
333
  "path": "./chip.types",
334
- "id": "src/components/actions/chip/chip.types.ts::QChipRemoveDetail",
334
+ "id": "src/components/data-display/chip/chip.types.ts::QChipRemoveDetail",
335
335
  "referenceLocation": "QChipRemoveDetail"
336
336
  }
337
337
  }
@@ -181,14 +181,14 @@ export class QDataTable {
181
181
  sortColumn: this.sortColumn,
182
182
  sortDirection: this.sortDirection,
183
183
  });
184
- return (h("div", { key: 'f03b09d5df6e37befe7e68ce75047c90220947c4', class: "table-container", role: "grid", "aria-label": this.ariaLabel?.trim() || this.toolbarTitle?.trim() || 'Data table' }, renderDataTableToolbar({
184
+ return (h("div", { key: '8f529185fc57de6f77c0109be7589ab4a6fa7066', class: "table-container", role: "grid", "aria-label": this.ariaLabel?.trim() || this.toolbarTitle?.trim() || 'Data table' }, renderDataTableToolbar({
185
185
  showToolbar: this.showToolbar,
186
186
  toolbarTitle: this.toolbarTitle,
187
187
  showSearch: this.showSearch,
188
188
  searchPlaceholder: this.searchPlaceholder,
189
189
  searchValue: this.searchValue,
190
190
  onSearchInput: this.handleSearchInput,
191
- }), h("div", { key: 'c74fe80103906cd67699b2710476dd215e1d5f0e', class: "table-scroll-area" }, h("table", { key: '3965bf4b248be674e5b6acc0a9481500bb7dedba', class: "table-el" }, renderDataTableHead({
191
+ }), h("div", { key: 'cccd8e17734d8c0f5737dd771e0c99d4842b1bae', class: "table-scroll-area" }, h("table", { key: '135bd88984195dac4c6a15808c2c0177e0a4b5d1', class: "table-el" }, renderDataTableHead({
192
192
  model,
193
193
  onSelectAllChange: event => this.handleSelectAllChange(event),
194
194
  onSortToggle: column => this.handleSortToggle(column),
@@ -200,7 +200,7 @@ export class QDataTable {
200
200
  onRowCheckboxChange: (item, index, event) => this.handleRowCheckboxChange(item, index, event),
201
201
  onRowAction: (item, index, action, event) => this.handleRowAction(item, index, action, event),
202
202
  renderCell: (item, column) => this.renderCell(item, column),
203
- }))), h("slot", { key: '648acf64de7a5a6527cf1bba9f7ffa98eaf0810c', name: "footer" })));
203
+ }))), h("slot", { key: '3293510b9ca6b5b2c850da1523e5d11beadfcb81', name: "footer" })));
204
204
  }
205
205
  static get is() { return "q-data-table"; }
206
206
  static get encapsulation() { return "shadow"; }
@@ -698,7 +698,7 @@ export class QMap {
698
698
  }
699
699
  }
700
700
  render() {
701
- return (h("div", { key: 'e8f0a6a23f0c2e874424e35b088bd3091ecb23b6', class: "map-surface", part: "surface" }, h("div", { key: 'fe43fc91c3c263d01cfcee5c094df092fd74c6c5', class: "map-canvas", part: "canvas", role: "region", "aria-label": this.ariaLabel, "aria-busy": this.providerStatus === 'initializing' ? 'true' : undefined, ref: this.setCanvas }), h("q-icon", { key: '39e345de020fec0c182422351b406f41758bae82', class: "map-icon-registration", "aria-hidden": "true" }), this.providerStatus === 'empty' && (h("div", { key: 'd6aa4d764750615fe1c74b800c092f12c9fb4a9b', class: "map-empty", part: "empty", role: "status" }, h("slot", { key: '4935d5cf52f507765594a42678a783bb08dce870', name: "empty" }, "Map provider is not configured."))), this.providerStatus === 'error' && (h("div", { key: 'a728fe92b6349a754701277fa60ec69c8b9d83a5', class: "map-empty map-error", part: "error", role: "alert" }, h("slot", { key: '8190ca2bc3c40b43f85c3505ce9e61c46929ebfb', name: "error" }, this.errorMessage ?? 'Map imagery is unavailable.'))), this.renderAttribution()));
701
+ return (h("div", { key: '753eeb63e0f1e0be9c018d72997d9553495b9ad8', class: "map-surface", part: "surface" }, h("div", { key: '2da65495446a24640d1f81c8b1583664664293bf', class: "map-canvas", part: "canvas", role: "region", "aria-label": this.ariaLabel, "aria-busy": this.providerStatus === 'initializing' ? 'true' : undefined, ref: this.setCanvas }), h("q-icon", { key: 'e61c59f96ed6624a2bedf1a32b8828b0ab133cbd', class: "map-icon-registration", "aria-hidden": "true" }), this.providerStatus === 'empty' && (h("div", { key: 'c7b24a9d6a6f796dd92b5e4d088711113de3a448', class: "map-empty", part: "empty", role: "status" }, h("slot", { key: '97f0b1fe4dd669512b1a55b58fb428f37a23fdfc', name: "empty" }, "Map provider is not configured."))), this.providerStatus === 'error' && (h("div", { key: 'f72f0211b9df1e9eb833828215575b08479cea59', class: "map-empty map-error", part: "error", role: "alert" }, h("slot", { key: '44026803ec28e2acb3d8b91dec1ab85ae3c74663', name: "error" }, this.errorMessage ?? 'Map imagery is unavailable.'))), this.renderAttribution()));
702
702
  }
703
703
  static get is() { return "q-map"; }
704
704
  static get encapsulation() { return "shadow"; }
@@ -55,7 +55,7 @@ export class QPagination {
55
55
  const itemLabel = this.itemLabel.trim() || 'items';
56
56
  const previousDisabled = this.disabled || totalItems === 0 || page <= 1;
57
57
  const nextDisabled = this.disabled || totalItems === 0 || page >= pageCount;
58
- return (h("nav", { key: 'd1c972c7bf6048f10de2764bc61e8350f0d4fede', class: "pagination", part: "container", "aria-label": this.ariaLabel?.trim() || 'Pagination' }, this.showSummary && (h("span", { key: '829198f5d22ebc6d365dcf3ba980eae29714a110', class: "summary", part: "summary", "aria-live": "polite" }, "Showing ", pageStart, "-", pageEnd, " of ", totalItems, " ", itemLabel)), h("div", { key: '0ef1c550c5d6f246fb874a040c008e6fda296ffb', class: "controls", part: "controls" }, h("button", { key: '2313c4f44307bd6caac9f88c5ecde28204a07e27', class: "page-button", part: "previous-button", type: "button", disabled: previousDisabled, "aria-label": "Previous page", onClick: () => this.requestPage(page - 1) }, "Previous"), h("span", { key: '87fcfd14ee3baf2dc275687d9676b905abb06a61', class: "page-count", part: "page-count", "aria-label": `Page ${page} of ${pageCount}` }, page, " / ", pageCount), h("button", { key: '2bcbda566df84901c0ec68ff829ea214fb882001', class: "page-button", part: "next-button", type: "button", disabled: nextDisabled, "aria-label": "Next page", onClick: () => this.requestPage(page + 1) }, "Next"))));
58
+ return (h("nav", { key: '44517344440b2f1f8fb05d09678ceb63d769ab63', class: "pagination", part: "container", "aria-label": this.ariaLabel?.trim() || 'Pagination' }, this.showSummary && (h("span", { key: 'fbdbe6a34b4f3b0310a48c9cd2fc78648ebc4138', class: "summary", part: "summary", "aria-live": "polite" }, "Showing ", pageStart, "-", pageEnd, " of ", totalItems, " ", itemLabel)), h("div", { key: '908843e7312d7a7f9c604f5c389bf1425e2df515', class: "controls", part: "controls" }, h("button", { key: '80b38e8bcfe16368e9a339e675cf07dd9225e783', class: "page-button", part: "previous-button", type: "button", disabled: previousDisabled, "aria-label": "Previous page", onClick: () => this.requestPage(page - 1) }, "Previous"), h("span", { key: 'e07fc9bbcf35c86504361768694f2bb3601eae10', class: "page-count", part: "page-count", "aria-label": `Page ${page} of ${pageCount}` }, page, " / ", pageCount), h("button", { key: 'cd50e90003cb0912d18f171284040a271d371444', class: "page-button", part: "next-button", type: "button", disabled: nextDisabled, "aria-label": "Next page", onClick: () => this.requestPage(page + 1) }, "Next"))));
59
59
  }
60
60
  static get is() { return "q-pagination"; }
61
61
  static get encapsulation() { return "shadow"; }
@@ -6,30 +6,37 @@ import { syncPropertyToSlottedChildren } from "../../../utils/dom";
6
6
  */
7
7
  export class QStepDiagram {
8
8
  // ======== [1] STENCIL API (Props, Events, AttachInternals, Elements) =========
9
+ /** Direction of the sequence and its items. Overrides layout; defaults to vertical when both are omitted. */
10
+ orientation;
11
+ /** @deprecated Use orientation. Used only when orientation is unset. */
9
12
  layout = 'vertical';
10
13
  /** Accessible label for the step sequence. */
11
14
  ariaLabel = 'Steps';
12
15
  el;
13
16
  // ========================= [3] LIFECYCLE & WATCHERS ==========================
14
- handleLayoutChange(newLayout) {
15
- this.propagateLayout(newLayout);
17
+ handleOrientationChange() {
18
+ this.propagateOrientation();
16
19
  }
17
20
  componentDidLoad() {
18
- this.handleLayoutChange(this.layout);
21
+ this.handleOrientationChange();
19
22
  }
20
23
  // =================== [5] EVENT HANDLERS & INTERNAL METHODS ===================
21
24
  handleSlotChange = () => {
22
- this.propagateLayout(this.layout);
25
+ this.propagateOrientation();
23
26
  };
24
- propagateLayout(layoutVal) {
25
- syncPropertyToSlottedChildren(this.el, 'q-step-diagram-item', 'layout', layoutVal);
27
+ propagateOrientation() {
28
+ const orientation = this.orientation ?? this.layout;
29
+ syncPropertyToSlottedChildren(this.el, 'q-step-diagram-item', 'orientation', orientation);
30
+ syncPropertyToSlottedChildren(this.el, 'q-step-diagram-item', 'layout', orientation);
26
31
  }
27
32
  // ===================== [6] RENDER (Visual Template Only) =====================
28
33
  render() {
29
- return (h("div", { key: '9cfa5ec3a839259e2534e8a9288a8262520ffe54', class: {
34
+ const orientation = this.orientation ?? this.layout;
35
+ return (h("div", { key: '1fddc04b537873198cdc8b026646e6a18902c25f', class: {
30
36
  'step-diagram': true,
31
- [`layout-${this.layout}`]: true,
32
- }, role: "list", "aria-label": this.ariaLabel }, h("slot", { key: '6af4e46591061836b35bd251498ab0b94140db8b', onSlotchange: this.handleSlotChange })));
37
+ [`orientation-${orientation}`]: true,
38
+ [`layout-${orientation}`]: true,
39
+ }, role: "list", "aria-label": this.ariaLabel }, h("slot", { key: '10a2934ec992d00446a28cb0ad73fed9eb3cabb6', onSlotchange: this.handleSlotChange })));
33
40
  }
34
41
  static get is() { return "q-step-diagram"; }
35
42
  static get encapsulation() { return "shadow"; }
@@ -45,6 +52,32 @@ export class QStepDiagram {
45
52
  }
46
53
  static get properties() {
47
54
  return {
55
+ "orientation": {
56
+ "type": "string",
57
+ "mutable": false,
58
+ "complexType": {
59
+ "original": "QStepDiagramOrientation",
60
+ "resolved": "\"horizontal\" | \"vertical\"",
61
+ "references": {
62
+ "QStepDiagramOrientation": {
63
+ "location": "import",
64
+ "path": "./step-diagram.types",
65
+ "id": "src/components/indicators/step-diagram/step-diagram.types.ts::QStepDiagramOrientation",
66
+ "referenceLocation": "QStepDiagramOrientation"
67
+ }
68
+ }
69
+ },
70
+ "required": false,
71
+ "optional": true,
72
+ "docs": {
73
+ "tags": [],
74
+ "text": "Direction of the sequence and its items. Overrides layout; defaults to vertical when both are omitted."
75
+ },
76
+ "getter": false,
77
+ "setter": false,
78
+ "reflect": true,
79
+ "attribute": "orientation"
80
+ },
48
81
  "layout": {
49
82
  "type": "string",
50
83
  "mutable": false,
@@ -63,7 +96,10 @@ export class QStepDiagram {
63
96
  "required": false,
64
97
  "optional": false,
65
98
  "docs": {
66
- "tags": [],
99
+ "tags": [{
100
+ "name": "deprecated",
101
+ "text": "Use orientation. Used only when orientation is unset."
102
+ }],
67
103
  "text": ""
68
104
  },
69
105
  "getter": false,
@@ -97,8 +133,11 @@ export class QStepDiagram {
97
133
  static get elementRef() { return "el"; }
98
134
  static get watchers() {
99
135
  return [{
136
+ "propName": "orientation",
137
+ "methodName": "handleOrientationChange"
138
+ }, {
100
139
  "propName": "layout",
101
- "methodName": "handleLayoutChange"
140
+ "methodName": "handleOrientationChange"
102
141
  }];
103
142
  }
104
143
  }