@webquark/core 1.1.0-dev.4 → 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 +14 -7
  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 +1 -1
  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 +14 -7
  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-226c2f79.entry.js +0 -13
  400. package/dist/playground/build/p-38b92be6.entry.js +0 -1
  401. package/dist/playground/build/p-42831108.entry.js +0 -1
  402. package/dist/playground/build/p-50ca27f7.entry.js +0 -1
  403. package/dist/playground/build/p-611ef3e0.entry.js +0 -1
  404. package/dist/playground/build/p-684292dd.entry.js +0 -1
  405. package/dist/playground/build/p-7081c96b.entry.js +0 -1
  406. package/dist/playground/build/p-789eb3c9.entry.js +0 -1
  407. package/dist/playground/build/p-8d0aa5a7.entry.js +0 -1
  408. package/dist/playground/build/p-9978ae38.entry.js +0 -1
  409. package/dist/playground/build/p-VFWyFa-_.js +0 -3
  410. package/dist/playground/build/p-b99541cd.entry.js +0 -1
  411. package/dist/playground/build/p-ca1a1d25.entry.js +0 -1
  412. package/dist/playground/build/p-e15e6d76.entry.js +0 -1
  413. package/dist/playground/build/p-e272dd45.entry.js +0 -1
  414. package/dist/playground/build/p-e8003179.entry.js +0 -1
  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-226c2f79.entry.js +0 -13
  420. package/dist/webquark/p-38b92be6.entry.js +0 -1
  421. package/dist/webquark/p-42831108.entry.js +0 -1
  422. package/dist/webquark/p-50ca27f7.entry.js +0 -1
  423. package/dist/webquark/p-611ef3e0.entry.js +0 -1
  424. package/dist/webquark/p-684292dd.entry.js +0 -1
  425. package/dist/webquark/p-7081c96b.entry.js +0 -1
  426. package/dist/webquark/p-789eb3c9.entry.js +0 -1
  427. package/dist/webquark/p-8d0aa5a7.entry.js +0 -1
  428. package/dist/webquark/p-9978ae38.entry.js +0 -1
  429. package/dist/webquark/p-VFWyFa-_.js +0 -3
  430. package/dist/webquark/p-b99541cd.entry.js +0 -1
  431. package/dist/webquark/p-ca1a1d25.entry.js +0 -1
  432. package/dist/webquark/p-e15e6d76.entry.js +0 -1
  433. package/dist/webquark/p-e272dd45.entry.js +0 -1
  434. package/dist/webquark/p-e8003179.entry.js +0 -1
  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,3 +1,4 @@
1
+ import { fieldFeedback, feedbackStyle } from "../../shared/field";
1
2
  import { h } from "@stencil/core";
2
3
  import { syncRequiredBooleanValidity } from "../../../utils/form-control-validity";
3
4
  import { isToggleActivationKey } from "./toggle.utils";
@@ -20,7 +21,13 @@ export class QToggle {
20
21
  el;
21
22
  internals;
22
23
  label;
23
- size = 'md';
24
+ /** Supporting text, replaced by an active error. */
25
+ description;
26
+ /** Keep the label accessible without displaying it. */
27
+ labelHidden = false;
28
+ /** Omitted inherits the enclosing form; false cancels reservation. */
29
+ reserveFeedback;
30
+ size = 'inherit';
24
31
  /** Controls switch/checkbox visuals and semantics. */
25
32
  type = 'switch';
26
33
  checked = false;
@@ -147,7 +154,7 @@ export class QToggle {
147
154
  const hasLabel = this.label !== undefined && this.label !== '';
148
155
  const showLabel = hasLabel || this.hasDefaultSlot;
149
156
  const hasError = !!this.error;
150
- return (h("div", { key: '6306d09b26d8537d39240a5bad3e5ad4417cca8f', class: "toggle-container" }, h("div", { key: '4273617b19df6f216db0768c2efe03d4339e20eb', ref: el => (this.controlEl = el), class: {
157
+ return (h("div", { key: 'b41339e3637d65724c6a0d05fd90229698022701', class: "toggle-container", style: feedbackStyle(this.reserveFeedback) }, h("div", { key: '0b4da93c0facda81241fc136b9745bddd264d3f3', ref: el => (this.controlEl = el), class: {
151
158
  'toggle-wrapper': true,
152
159
  'is-checked': this.checked,
153
160
  'is-disabled': this.disabled,
@@ -155,10 +162,11 @@ export class QToggle {
155
162
  'has-error': hasError,
156
163
  [`type-${this.type}`]: true,
157
164
  [`size-${this.size}`]: true,
158
- }, role: this.type === 'switch' ? 'switch' : 'checkbox', "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false', "aria-invalid": hasError ? 'true' : 'false', "aria-describedby": hasError ? 'toggle-error-msg' : undefined, tabindex: this.disabled ? -1 : 0, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: 'f5ca938a4f2d4d113a27b19f5dd64bae273688f9', class: "toggle-control", part: "control" }, this.type === 'switch' ? (h("div", { class: "switch-track", part: "track" }, h("div", { class: "switch-thumb", part: "thumb" }))) : (h("div", { class: "checkbox-box", part: "box" }, h("span", { class: { 'icon-wrap': true, 'is-hidden': !this.checked }, part: "icon-checked" }, h("slot", { name: "checked-icon", onSlotchange: this.handleSlotChange }, h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round", class: "default-check-icon", "aria-hidden": "true" }, h("polyline", { points: "20 6 9 17 4 12" })))), h("span", { class: { 'icon-wrap': true, 'is-hidden': this.checked }, part: "icon-unchecked" }, h("slot", { name: "unchecked-icon", onSlotchange: this.handleSlotChange }))))), h("span", { key: '407595dea63a4d3b7f6b980b28e42114e501994e', class: {
165
+ }, role: this.type === 'switch' ? 'switch' : 'checkbox', "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false', "aria-invalid": hasError ? 'true' : 'false', "aria-describedby": hasError || this.description ? 'toggle-error-msg' : undefined, tabindex: this.disabled ? -1 : 0, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '83232f4eba7feac8b5a1c5678608f627f7747a61', class: "toggle-control", part: "control" }, this.type === 'switch' ? (h("div", { class: "switch-track", part: "track" }, h("div", { class: "switch-thumb", part: "thumb" }))) : (h("div", { class: "checkbox-box", part: "box" }, h("span", { class: { 'icon-wrap': true, 'is-hidden': !this.checked }, part: "icon-checked" }, h("slot", { name: "checked-icon", onSlotchange: this.handleSlotChange }, h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round", class: "default-check-icon", "aria-hidden": "true" }, h("polyline", { points: "20 6 9 17 4 12" })))), h("span", { class: { 'icon-wrap': true, 'is-hidden': this.checked }, part: "icon-unchecked" }, h("slot", { name: "unchecked-icon", onSlotchange: this.handleSlotChange }))))), h("span", { key: 'f05f1f9f9954995ced27b0f7224e9c65afe5e267', class: {
159
166
  'toggle-label-text': true,
167
+ 'q-label-hidden': this.labelHidden,
160
168
  'is-hidden': !showLabel
161
- }, part: "label" }, h("slot", { key: 'a2994d78523a075588ae40b26ff36661672272da', onSlotchange: this.handleSlotChange }, this.label))), hasError && (h("span", { key: 'f5f3e46d77efa41d41e8bd40f9dc274b22eda928', id: "toggle-error-msg", class: "error-msg", part: "error-msg" }, this.error))));
169
+ }, part: "label" }, h("slot", { key: '34f30ed70f6cffebb5b23d4cc0857f88bb4f598c', onSlotchange: this.handleSlotChange }, this.label))), fieldFeedback('toggle-error-msg', this.error, this.description)));
162
170
  }
163
171
  static get is() { return "q-toggle"; }
164
172
  static get encapsulation() { return "shadow"; }
@@ -194,12 +202,70 @@ export class QToggle {
194
202
  "reflect": false,
195
203
  "attribute": "label"
196
204
  },
205
+ "description": {
206
+ "type": "string",
207
+ "mutable": false,
208
+ "complexType": {
209
+ "original": "string",
210
+ "resolved": "string",
211
+ "references": {}
212
+ },
213
+ "required": false,
214
+ "optional": true,
215
+ "docs": {
216
+ "tags": [],
217
+ "text": "Supporting text, replaced by an active error."
218
+ },
219
+ "getter": false,
220
+ "setter": false,
221
+ "reflect": false,
222
+ "attribute": "description"
223
+ },
224
+ "labelHidden": {
225
+ "type": "boolean",
226
+ "mutable": false,
227
+ "complexType": {
228
+ "original": "boolean",
229
+ "resolved": "boolean",
230
+ "references": {}
231
+ },
232
+ "required": false,
233
+ "optional": false,
234
+ "docs": {
235
+ "tags": [],
236
+ "text": "Keep the label accessible without displaying it."
237
+ },
238
+ "getter": false,
239
+ "setter": false,
240
+ "reflect": false,
241
+ "attribute": "label-hidden",
242
+ "defaultValue": "false"
243
+ },
244
+ "reserveFeedback": {
245
+ "type": "boolean",
246
+ "mutable": false,
247
+ "complexType": {
248
+ "original": "boolean",
249
+ "resolved": "boolean",
250
+ "references": {}
251
+ },
252
+ "required": false,
253
+ "optional": true,
254
+ "docs": {
255
+ "tags": [],
256
+ "text": "Omitted inherits the enclosing form; false cancels reservation."
257
+ },
258
+ "getter": false,
259
+ "setter": false,
260
+ "reflect": false,
261
+ "attribute": "reserve-feedback"
262
+ },
197
263
  "size": {
198
264
  "type": "string",
199
265
  "mutable": false,
200
266
  "complexType": {
201
267
  "original": "QToggleSize",
202
- "resolved": "\"lg\" | \"md\" | \"sm\"",
268
+ "resolved": "\"inherit\" | \"lg\" | \"md\" | \"sm\"",
203
269
  "references": {
204
270
  "QToggleSize": {
205
271
  "location": "import",
@@ -219,7 +285,7 @@ export class QToggle {
219
285
  "setter": false,
220
286
  "reflect": false,
221
287
  "attribute": "size",
222
- "defaultValue": "'md'"
288
+ "defaultValue": "'inherit'"
223
289
  },
224
290
  "type": {
225
291
  "type": "string",
@@ -0,0 +1,11 @@
1
+ :host { display: block; min-width: 0; }
2
+ div {
3
+ display: grid;
4
+ min-width: 0;
5
+ align-items: start;
6
+ column-gap: var(--_q-column-gap);
7
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, max(var(--_q-min-item), calc((100% - (var(--_q-columns) - 1) * var(--_q-column-gap)) / var(--_q-columns)))), 1fr));
8
+ }
9
+ slot { display: contents; }
10
+ ::slotted(*) { min-width: 0; }
11
+ ::slotted([data-q-span='full']) { grid-column: 1 / -1; }
@@ -0,0 +1,152 @@
1
+ import { h } from "@stencil/core";
2
+ import { spaceValue } from "../../../theme/tokens";
3
+ /** Container-fitting grid; data-q-span="full" spans a direct child across a row.
4
+ * @slot - Grid items.
5
+ * @part layout - Grid container.
6
+ */
7
+ export class QGrid {
8
+ columns = 2;
9
+ minItemWidth = '16rem';
10
+ gap = 'lg';
11
+ rowGap;
12
+ columnGap;
13
+ render() {
14
+ const columns = Math.min(4, Math.max(1, Number(this.columns) || 2));
15
+ return h("div", { key: '0e35bf62529cfe1534ee7f93878569e678719338', part: "layout", style: { '--_q-columns': String(columns), '--_q-min-item': this.minItemWidth, '--_q-column-gap': spaceValue(this.columnGap ?? this.gap), rowGap: spaceValue(this.rowGap ?? this.gap) } }, h("slot", { key: 'bc4ace6988aac76c2c225fb8c0dd991a287b960f' }));
16
+ }
17
+ static get is() { return "q-grid"; }
18
+ static get encapsulation() { return "shadow"; }
19
+ static get originalStyleUrls() {
20
+ return {
21
+ "$": ["grid.css"]
22
+ };
23
+ }
24
+ static get styleUrls() {
25
+ return {
26
+ "$": ["grid.css"]
27
+ };
28
+ }
29
+ static get properties() {
30
+ return {
31
+ "columns": {
32
+ "type": "number",
33
+ "mutable": false,
34
+ "complexType": {
35
+ "original": "1 | 2 | 3 | 4",
36
+ "resolved": "1 | 2 | 3 | 4",
37
+ "references": {}
38
+ },
39
+ "required": false,
40
+ "optional": false,
41
+ "docs": {
42
+ "tags": [],
43
+ "text": ""
44
+ },
45
+ "getter": false,
46
+ "setter": false,
47
+ "reflect": false,
48
+ "attribute": "columns",
49
+ "defaultValue": "2"
50
+ },
51
+ "minItemWidth": {
52
+ "type": "string",
53
+ "mutable": false,
54
+ "complexType": {
55
+ "original": "string",
56
+ "resolved": "string",
57
+ "references": {}
58
+ },
59
+ "required": false,
60
+ "optional": false,
61
+ "docs": {
62
+ "tags": [],
63
+ "text": ""
64
+ },
65
+ "getter": false,
66
+ "setter": false,
67
+ "reflect": false,
68
+ "attribute": "min-item-width",
69
+ "defaultValue": "'16rem'"
70
+ },
71
+ "gap": {
72
+ "type": "string",
73
+ "mutable": false,
74
+ "complexType": {
75
+ "original": "QSpace",
76
+ "resolved": "\"2xl\" | \"3xl\" | \"lg\" | \"md\" | \"none\" | \"sm\" | \"xl\" | \"xs\"",
77
+ "references": {
78
+ "QSpace": {
79
+ "location": "import",
80
+ "path": "../../../theme/tokens",
81
+ "id": "src/theme/tokens.ts::QSpace",
82
+ "referenceLocation": "QSpace"
83
+ }
84
+ }
85
+ },
86
+ "required": false,
87
+ "optional": false,
88
+ "docs": {
89
+ "tags": [],
90
+ "text": ""
91
+ },
92
+ "getter": false,
93
+ "setter": false,
94
+ "reflect": false,
95
+ "attribute": "gap",
96
+ "defaultValue": "'lg'"
97
+ },
98
+ "rowGap": {
99
+ "type": "string",
100
+ "mutable": false,
101
+ "complexType": {
102
+ "original": "QSpace",
103
+ "resolved": "\"2xl\" | \"3xl\" | \"lg\" | \"md\" | \"none\" | \"sm\" | \"xl\" | \"xs\"",
104
+ "references": {
105
+ "QSpace": {
106
+ "location": "import",
107
+ "path": "../../../theme/tokens",
108
+ "id": "src/theme/tokens.ts::QSpace",
109
+ "referenceLocation": "QSpace"
110
+ }
111
+ }
112
+ },
113
+ "required": false,
114
+ "optional": true,
115
+ "docs": {
116
+ "tags": [],
117
+ "text": ""
118
+ },
119
+ "getter": false,
120
+ "setter": false,
121
+ "reflect": false,
122
+ "attribute": "row-gap"
123
+ },
124
+ "columnGap": {
125
+ "type": "string",
126
+ "mutable": false,
127
+ "complexType": {
128
+ "original": "QSpace",
129
+ "resolved": "\"2xl\" | \"3xl\" | \"lg\" | \"md\" | \"none\" | \"sm\" | \"xl\" | \"xs\"",
130
+ "references": {
131
+ "QSpace": {
132
+ "location": "import",
133
+ "path": "../../../theme/tokens",
134
+ "id": "src/theme/tokens.ts::QSpace",
135
+ "referenceLocation": "QSpace"
136
+ }
137
+ }
138
+ },
139
+ "required": false,
140
+ "optional": true,
141
+ "docs": {
142
+ "tags": [],
143
+ "text": ""
144
+ },
145
+ "getter": false,
146
+ "setter": false,
147
+ "reflect": false,
148
+ "attribute": "column-gap"
149
+ }
150
+ };
151
+ }
152
+ }
@@ -0,0 +1,4 @@
1
+ :host { display: block; min-width: 0; }
2
+ div { display: flex; min-width: 0; }
3
+ slot { display: contents; }
4
+ ::slotted(*) { min-width: 0; }
@@ -0,0 +1,118 @@
1
+ import { h } from "@stencil/core";
2
+ import { spaceValue } from "../../../theme/tokens";
3
+ /** Wrapping action/content row.
4
+ * @slot - Row items.
5
+ * @part layout - Layout container.
6
+ */
7
+ export class QInline {
8
+ gap = 'sm';
9
+ align = 'center';
10
+ justify = 'start';
11
+ wrap = true;
12
+ render() {
13
+ return h("div", { key: 'ebe4ece8eeb27fbe52feda65eda69a7717fc3c44', part: "layout", style: { gap: spaceValue(this.gap), alignItems: this.align, justifyContent: this.justify === 'between' ? 'space-between' : this.justify, flexWrap: this.wrap ? 'wrap' : 'nowrap' } }, h("slot", { key: '939bc58eb0fb9a3bf4246e51f7587c65d1014086' }));
14
+ }
15
+ static get is() { return "q-inline"; }
16
+ static get encapsulation() { return "shadow"; }
17
+ static get originalStyleUrls() {
18
+ return {
19
+ "$": ["inline.css"]
20
+ };
21
+ }
22
+ static get styleUrls() {
23
+ return {
24
+ "$": ["inline.css"]
25
+ };
26
+ }
27
+ static get properties() {
28
+ return {
29
+ "gap": {
30
+ "type": "string",
31
+ "mutable": false,
32
+ "complexType": {
33
+ "original": "QSpace",
34
+ "resolved": "\"2xl\" | \"3xl\" | \"lg\" | \"md\" | \"none\" | \"sm\" | \"xl\" | \"xs\"",
35
+ "references": {
36
+ "QSpace": {
37
+ "location": "import",
38
+ "path": "../../../theme/tokens",
39
+ "id": "src/theme/tokens.ts::QSpace",
40
+ "referenceLocation": "QSpace"
41
+ }
42
+ }
43
+ },
44
+ "required": false,
45
+ "optional": false,
46
+ "docs": {
47
+ "tags": [],
48
+ "text": ""
49
+ },
50
+ "getter": false,
51
+ "setter": false,
52
+ "reflect": false,
53
+ "attribute": "gap",
54
+ "defaultValue": "'sm'"
55
+ },
56
+ "align": {
57
+ "type": "string",
58
+ "mutable": false,
59
+ "complexType": {
60
+ "original": "'stretch' | 'start' | 'center' | 'end'",
61
+ "resolved": "\"center\" | \"end\" | \"start\" | \"stretch\"",
62
+ "references": {}
63
+ },
64
+ "required": false,
65
+ "optional": false,
66
+ "docs": {
67
+ "tags": [],
68
+ "text": ""
69
+ },
70
+ "getter": false,
71
+ "setter": false,
72
+ "reflect": false,
73
+ "attribute": "align",
74
+ "defaultValue": "'center'"
75
+ },
76
+ "justify": {
77
+ "type": "string",
78
+ "mutable": false,
79
+ "complexType": {
80
+ "original": "'start' | 'center' | 'end' | 'between'",
81
+ "resolved": "\"between\" | \"center\" | \"end\" | \"start\"",
82
+ "references": {}
83
+ },
84
+ "required": false,
85
+ "optional": false,
86
+ "docs": {
87
+ "tags": [],
88
+ "text": ""
89
+ },
90
+ "getter": false,
91
+ "setter": false,
92
+ "reflect": false,
93
+ "attribute": "justify",
94
+ "defaultValue": "'start'"
95
+ },
96
+ "wrap": {
97
+ "type": "boolean",
98
+ "mutable": false,
99
+ "complexType": {
100
+ "original": "boolean",
101
+ "resolved": "boolean",
102
+ "references": {}
103
+ },
104
+ "required": false,
105
+ "optional": false,
106
+ "docs": {
107
+ "tags": [],
108
+ "text": ""
109
+ },
110
+ "getter": false,
111
+ "setter": false,
112
+ "reflect": false,
113
+ "attribute": "wrap",
114
+ "defaultValue": "true"
115
+ }
116
+ };
117
+ }
118
+ }
@@ -29,6 +29,8 @@ export class QNavbar {
29
29
  /** Navigation items; strings use the same text for label and value, while objects enable links, icons, and state. */
30
30
  items = [];
31
31
  /** Matches either an item's value or `href`. */
32
+ value;
33
+ /** @deprecated Use value. Used only when value is unset. */
32
34
  activeValue = '';
33
35
  edge = 'top';
34
36
  sticky = false;
@@ -135,7 +137,7 @@ export class QNavbar {
135
137
  if (!el || !item.icon)
136
138
  return;
137
139
  this.setIconAttribute(el, 'name', item.icon);
138
- this.setIconAttribute(el, 'lib', item.iconLib || 'lucide');
140
+ this.setIconAttribute(el, 'library', item.iconLib || 'lucide');
139
141
  this.setIconAttribute(el, 'size', item.iconSize || 'sm');
140
142
  this.setIconAttribute(el, 'local-path', item.iconLocalPath);
141
143
  };
@@ -146,7 +148,8 @@ export class QNavbar {
146
148
  return (h("a", { class: "brand-link", href: this.brandHref, part: "brand" }, h("slot", { name: "brand" }, content)));
147
149
  }
148
150
  renderNavItem({ item, key }) {
149
- const active = item.active || (!!this.activeValue && (item.value === this.activeValue || item.href === this.activeValue));
151
+ const value = this.value ?? this.activeValue;
152
+ const active = item.active || (!!value && (item.value === value || item.href === value));
150
153
  const iconOnly = !!item.iconOnly && !!item.icon;
151
154
  const accessibleLabel = iconOnly ? item.ariaLabel || item.label : undefined;
152
155
  const addonPlacement = item.addonPlacement || 'top-end';
@@ -157,7 +160,7 @@ export class QNavbar {
157
160
  'is-icon-only': iconOnly,
158
161
  };
159
162
  const content = [
160
- item.icon && (h("q-icon", { class: "nav-item__icon", name: item.icon, lib: item.iconLib || 'lucide', localPath: item.iconLocalPath, size: item.iconSize || 'sm', ref: (el) => this.syncIconAttributes(el, item) })),
163
+ item.icon && (h("q-icon", { class: "nav-item__icon", name: item.icon, library: item.iconLib || 'lucide', localPath: item.iconLocalPath, size: item.iconSize || 'sm', ref: (el) => this.syncIconAttributes(el, item) })),
161
164
  h("span", { class: "nav-item__label", "aria-hidden": iconOnly ? 'true' : undefined }, item.label),
162
165
  ];
163
166
  const addon = item.addonSlot ? (h("span", { class: `nav-item__addon is-${addonPlacement}`, part: "item-addon" }, h("slot", { name: item.addonSlot }))) : null;
@@ -173,14 +176,14 @@ export class QNavbar {
173
176
  const items = identifyItems(this.parsedItems, item => item.value, { warningContext: 'q-navbar.items' });
174
177
  const hasItems = items.length > 0;
175
178
  const ariaLabel = this.ariaLabel?.trim() || undefined;
176
- return (h("div", { key: '77cc56653221231e5c95e254f3a0a171ea7b106f', class: {
179
+ return (h("div", { key: '09ac3cccab41f89adaae0d308067ed0952ce1eb2', class: {
177
180
  'navbar': true,
178
181
  'is-open': this.menuOpen,
179
182
  'is-sticky': this.sticky,
180
183
  'is-compact': this.compact,
181
184
  'is-transparent': this.transparent,
182
185
  'is-bordered': this.bordered,
183
- }, part: "navbar" }, h("div", { key: '5b5a7ec4ba5a373fcb9c5bc669439e72ad7b2e23', class: "navbar-row" }, this.renderBrand(), h("nav", { key: '02f2947daccb81607cd4f054987dc3e435c95c1e', id: this.primaryNavId, class: "desktop-nav", "aria-label": ariaLabel || 'Primary navigation', part: "nav" }, hasItems && this.renderNavItems(items), h("slot", { key: '889f9dd19f8af50df8889887c9c6829639b71fd9', name: "nav" })), h("div", { key: 'ffc832b4c1cb89fc30706a5a62e7e357221ec1e9', class: "desktop-actions", part: "actions" }, h("slot", { key: '8ca4fa6172b1d0fbc101b2e9122c1be73ee3b020', name: "actions" })), h("button", { key: 'a739412839bee1c5cba098393597dc6cf23e07b2', class: "menu-button", type: "button", "aria-label": this.mobileLabel, "aria-expanded": this.menuOpen ? 'true' : 'false', "aria-controls": `${this.primaryNavId} ${this.mobilePanelId}`, "aria-haspopup": "true", onClick: this.handleMenuToggle, part: "menu-button" }, h("span", { key: '1007e6f53c2971d78651d306f146ee313eb0ecc3' }), h("span", { key: 'e6cba5db5e9ebf0c37225dab7d9bfc65ca3bf17a' }), h("span", { key: '146332c68f1f31b6b84c3ddaa433ac29ce1a03ec' }))), h("div", { key: '3d94112d9b8e89c2593c33c08f302bbcc53fe5de', id: this.mobilePanelId, class: { 'mobile-panel': true, 'has-content': this.hasMobileContent }, part: "mobile-panel" }, h("nav", { key: '4ebe894bbab5ef8503c0d23b04f8fb902c51c0d5', class: "mobile-nav", "aria-label": ariaLabel || 'Mobile navigation' }, h("slot", { key: 'dd4d2b0d0c90dd14d20ddca1e5fc0c2e6d3c9d5d', name: "mobile-nav", onSlotchange: this.handleMobileSlotChange })), h("div", { key: '6d94a67f38a16a6ed8fd41de1a34bcb6561696b6', class: "mobile-actions" }, h("slot", { key: 'f6c5d38103197044d57a951428df6fcbcef23c4e', name: "mobile-actions", onSlotchange: this.handleMobileSlotChange })))));
186
+ }, part: "navbar" }, h("div", { key: '2336b4b12aed62d0ba014f7a1e34b22e6952c444', class: "navbar-row" }, this.renderBrand(), h("nav", { key: '2516df77be1739a34ab5b67296c11db776934261', id: this.primaryNavId, class: "desktop-nav", "aria-label": ariaLabel || 'Primary navigation', part: "nav" }, hasItems && this.renderNavItems(items), h("slot", { key: 'd022935aebf6d62b6c12328d125e914a7a13b843', name: "nav" })), h("div", { key: '3f18ffcdcc918e56856df176810a049a00111886', class: "desktop-actions", part: "actions" }, h("slot", { key: '8ebc6706ac2ff1006b262978e6f870a15ed1f5d5', name: "actions" })), h("button", { key: '5f0739a91b79594ff62f769498d3ee95004c55d9', class: "menu-button", type: "button", "aria-label": this.mobileLabel, "aria-expanded": this.menuOpen ? 'true' : 'false', "aria-controls": `${this.primaryNavId} ${this.mobilePanelId}`, "aria-haspopup": "true", onClick: this.handleMenuToggle, part: "menu-button" }, h("span", { key: 'ac577f3d6b9d5505dd372a23ec7e23a41030e05b' }), h("span", { key: 'fdc13b36bff79c44df72b602078a4067db31319e' }), h("span", { key: 'bcde22fc716c623002f723e99f14412a111420ad' }))), h("div", { key: '2265e94f7236b62de6e3f237dbe81cda556f3da2', id: this.mobilePanelId, class: { 'mobile-panel': true, 'has-content': this.hasMobileContent }, part: "mobile-panel" }, h("nav", { key: '1166d0d59ff6a28eab548c971a94ea02199da5c0', class: "mobile-nav", "aria-label": ariaLabel || 'Mobile navigation' }, h("slot", { key: '812bc68a6e9f7496b8d7ea36a28fd3d83d0de780', name: "mobile-nav", onSlotchange: this.handleMobileSlotChange })), h("div", { key: '8ec6523d8098e013864f4dcc07cb6abccf332e34', class: "mobile-actions" }, h("slot", { key: '92a75d93272c462624711ac2491f4ae79cf33651', name: "mobile-actions", onSlotchange: this.handleMobileSlotChange })))));
184
187
  }
185
188
  static get is() { return "q-navbar"; }
186
189
  static get encapsulation() { return "shadow"; }
@@ -301,7 +304,7 @@ export class QNavbar {
301
304
  "attribute": "items",
302
305
  "defaultValue": "[]"
303
306
  },
304
- "activeValue": {
307
+ "value": {
305
308
  "type": "string",
306
309
  "mutable": false,
307
310
  "complexType": {
@@ -310,7 +313,7 @@ export class QNavbar {
310
313
  "references": {}
311
314
  },
312
315
  "required": false,
313
- "optional": false,
316
+ "optional": true,
314
317
  "docs": {
315
318
  "tags": [],
316
319
  "text": "Matches either an item's value or `href`."
@@ -318,6 +321,28 @@ export class QNavbar {
318
321
  "getter": false,
319
322
  "setter": false,
320
323
  "reflect": false,
324
+ "attribute": "value"
325
+ },
326
+ "activeValue": {
327
+ "type": "string",
328
+ "mutable": false,
329
+ "complexType": {
330
+ "original": "string",
331
+ "resolved": "string",
332
+ "references": {}
333
+ },
334
+ "required": false,
335
+ "optional": false,
336
+ "docs": {
337
+ "tags": [{
338
+ "name": "deprecated",
339
+ "text": "Use value. Used only when value is unset."
340
+ }],
341
+ "text": ""
342
+ },
343
+ "getter": false,
344
+ "setter": false,
345
+ "reflect": false,
321
346
  "attribute": "active-value",
322
347
  "defaultValue": "''"
323
348
  },
@@ -96,18 +96,19 @@
96
96
  overflow: auto;
97
97
  }
98
98
 
99
- .padding-none .panel-body {
100
- padding: 0;
101
- }
102
99
 
103
- .padding-sm .panel-body {
104
- padding: var(--q-panel-padding-sm, var(--q-padding-sm, 4px));
105
- }
106
100
 
107
- .padding-md .panel-body {
108
- padding: var(--q-panel-padding-md, var(--q-padding-md, 9px));
109
- }
101
+ .padding-sm .panel-body { padding: var(--q-panel-padding, var(--q-panel-padding-sm, var(--_q-body-padding))); }
110
102
 
111
- .padding-lg .panel-body {
112
- padding: var(--q-panel-padding-lg, var(--q-padding-lg, 16px));
113
- }
103
+ .padding-md .panel-body { padding: var(--q-panel-padding, var(--q-panel-padding-md, var(--_q-body-padding))); }
104
+
105
+ .padding-lg .panel-body { padding: var(--q-panel-padding, var(--q-panel-padding-lg, var(--_q-body-padding))); }
106
+
107
+ /* Region padding is local and cannot alter descendants' spacing tokens. */
108
+ .panel { background: var(--q-panel-bg, var(--_q-surface)); }
109
+ .panel-header { padding: var(--q-panel-header-padding, var(--_q-header-padding)); margin: 0; }
110
+ .panel-body { padding: var(--q-panel-padding, var(--_q-body-padding)); }
111
+ .panel-footer { padding: var(--q-panel-footer-padding, var(--_q-footer-padding)); }
112
+ .panel-footer.is-hidden { display: none; }
113
+ .has-dividers .panel-header { border-bottom: var(--q-panel-divider, var(--q-border, 1px solid #374151)); }
114
+ .has-dividers .panel-footer { border-top: var(--q-panel-divider, var(--q-border, 1px solid #374151)); }