@webquark/core 1.1.0-dev.4 → 1.1.0-dev.6

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 (485) hide show
  1. package/README.md +41 -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 +229 -8
  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.css +119 -0
  89. package/dist/collection/components/layout/navbar/navbar.js +310 -9
  90. package/dist/collection/components/layout/navbar/test/navbar.cmp.test.js +317 -1
  91. package/dist/collection/components/layout/panel/panel.css +13 -12
  92. package/dist/collection/components/layout/panel/panel.js +139 -10
  93. package/dist/collection/components/layout/scrollable/scrollable.js +3 -3
  94. package/dist/collection/components/layout/section/section.css +1 -0
  95. package/dist/collection/components/layout/section/section.js +98 -0
  96. package/dist/collection/components/layout/section/section.types.js +1 -0
  97. package/dist/collection/components/layout/sidepanel/internals/nav-items.js +1 -1
  98. package/dist/collection/components/layout/sidepanel/sidepanel.js +90 -10
  99. package/dist/collection/components/layout/stack/stack.css +4 -0
  100. package/dist/collection/components/layout/stack/stack.js +76 -0
  101. package/dist/collection/components/layout/tabs/tabs.js +2 -2
  102. package/dist/collection/components/layout/toolbar/toolbar.css +24 -1
  103. package/dist/collection/components/layout/toolbar/toolbar.js +81 -3
  104. package/dist/collection/components/media/avatar/avatar.js +43 -43
  105. package/dist/collection/components/media/icon/icon.js +79 -18
  106. package/dist/collection/components/media/media/media.css +1 -0
  107. package/dist/collection/components/media/media/media.js +125 -0
  108. package/dist/collection/components/media/media/media.types.js +1 -0
  109. package/dist/collection/components/media/reel/reel.js +2 -2
  110. package/dist/collection/components/media/thumbnail/thumbnail.js +2 -2
  111. package/dist/collection/components/overlays/dialog/dialog.css +16 -0
  112. package/dist/collection/components/overlays/dialog/dialog.js +144 -14
  113. package/dist/collection/components/overlays/tooltip/tooltip.js +2 -2
  114. package/dist/collection/components/shared/field.js +8 -0
  115. package/dist/collection/components/shared/test/orientation.cmp.test.js +36 -0
  116. package/dist/collection/index.js +1 -1
  117. package/dist/collection/playground/components/playground-event-log/playground-event-log.js +1 -1
  118. package/dist/collection/playground/components/playground-sidebar/playground-sidebar.js +5 -3
  119. package/dist/collection/playground/components/theme-designer/theme-designer.js +13 -35
  120. package/dist/collection/playground/components/theme-designer/token-row.js +26 -7
  121. package/dist/collection/playground/playground.bundled.js +846 -34
  122. package/dist/collection/theme/test/foundation.cmp.test.js +347 -0
  123. package/dist/collection/theme/tokens.js +828 -0
  124. package/dist/components/index.js +1 -1
  125. package/dist/components/p-0PieXMX9.js +1 -0
  126. package/dist/components/p-BOYjkCNa.js +1 -0
  127. package/dist/components/p-Bw4TVbfm.js +1 -0
  128. package/dist/components/{p-7oXL29Gu.js → p-BxFGkrUe.js} +1 -1
  129. package/dist/components/{p-CQofbR9q.js → p-CK7avZdv.js} +1 -1
  130. package/dist/components/p-Cx1vCuMp.js +1 -0
  131. package/dist/components/{p-Czf3kP0S.js → p-D0Q2vrt5.js} +1 -1
  132. package/dist/components/p-GU98U1DJ.js +1 -0
  133. package/dist/components/{p-C8fq-feq.js → p-NEolaUak.js} +1 -1
  134. package/dist/components/p-f95uguY1.js +1 -0
  135. package/dist/components/q-accordion.d.ts +11 -0
  136. package/dist/components/q-accordion.js +1 -0
  137. package/dist/components/q-alert.js +1 -1
  138. package/dist/components/q-avatar.js +1 -1
  139. package/dist/components/q-banner.d.ts +11 -0
  140. package/dist/components/q-banner.js +1 -0
  141. package/dist/components/q-button.js +1 -1
  142. package/dist/components/q-card.js +1 -1
  143. package/dist/components/q-carousel.js +1 -1
  144. package/dist/components/q-chip.js +1 -1
  145. package/dist/components/q-conversation-bubble.js +1 -1
  146. package/dist/components/q-data-table.js +1 -1
  147. package/dist/components/q-dialog.js +1 -1
  148. package/dist/components/q-dropdown.js +1 -1
  149. package/dist/components/q-form.js +1 -1
  150. package/dist/components/q-grid.d.ts +11 -0
  151. package/dist/components/q-grid.js +1 -0
  152. package/dist/components/q-icon.js +1 -1
  153. package/dist/components/q-inline.d.ts +11 -0
  154. package/dist/components/q-inline.js +1 -0
  155. package/dist/components/q-input.js +1 -1
  156. package/dist/components/q-link.js +1 -1
  157. package/dist/components/q-map.js +1 -1
  158. package/dist/components/q-media.d.ts +11 -0
  159. package/dist/components/q-media.js +1 -0
  160. package/dist/components/q-navbar.js +1 -1
  161. package/dist/components/q-pagination.js +1 -1
  162. package/dist/components/q-panel.js +1 -1
  163. package/dist/components/q-progress.js +1 -1
  164. package/dist/components/q-quantity-selector.js +1 -1
  165. package/dist/components/q-radio-group.js +1 -1
  166. package/dist/components/q-reel.js +1 -1
  167. package/dist/components/q-scrollable.js +1 -1
  168. package/dist/components/q-section.d.ts +11 -0
  169. package/dist/components/q-section.js +1 -0
  170. package/dist/components/q-sidepanel.js +3 -3
  171. package/dist/components/q-stack.d.ts +11 -0
  172. package/dist/components/q-stack.js +1 -0
  173. package/dist/components/q-step-diagram-item.js +1 -1
  174. package/dist/components/q-step-diagram.js +1 -1
  175. package/dist/components/q-syntax-box.js +2 -2
  176. package/dist/components/q-tabs.js +1 -1
  177. package/dist/components/q-textarea.js +1 -1
  178. package/dist/components/q-thumbnail.js +1 -1
  179. package/dist/components/q-toast.js +1 -1
  180. package/dist/components/q-toggle.js +1 -1
  181. package/dist/components/q-toolbar.js +1 -1
  182. package/dist/components/q-tooltip.js +1 -1
  183. package/dist/esm/{action.props-CJoxGHR7.js → action.props-GP1ameE3.js} +1 -1
  184. package/dist/esm/field-DkpyvZiX.js +11 -0
  185. package/dist/esm/{index-VFWyFa-_.js → index-DbGG9Q40.js} +1 -1
  186. package/dist/esm/loader.js +3 -3
  187. package/dist/esm/q-accordion.entry.js +16 -0
  188. package/dist/esm/q-alert.entry.js +1 -1
  189. package/dist/esm/q-avatar.entry.js +6 -6
  190. package/dist/esm/q-banner.entry.js +17 -0
  191. package/dist/esm/q-button_2.entry.js +7 -7
  192. package/dist/esm/q-card.entry.js +17 -6
  193. package/dist/esm/q-carousel.entry.js +3 -3
  194. package/dist/esm/q-chip.entry.js +2 -2
  195. package/dist/esm/q-conversation-bubble.entry.js +6 -6
  196. package/dist/esm/q-data-table.entry.js +4 -4
  197. package/dist/esm/q-dialog.entry.js +22 -8
  198. package/dist/esm/q-dropdown.entry.js +50 -6
  199. package/dist/esm/q-form.entry.js +11 -5
  200. package/dist/esm/q-grid.entry.js +22 -0
  201. package/dist/esm/q-icon.entry.js +16 -6
  202. package/dist/esm/q-inline.entry.js +20 -0
  203. package/dist/esm/q-input_2.entry.js +14 -7
  204. package/dist/esm/q-link.entry.js +5 -5
  205. package/dist/esm/q-map.entry.js +2 -2
  206. package/dist/esm/q-media.entry.js +19 -0
  207. package/dist/esm/q-navbar.entry.js +229 -8
  208. package/dist/esm/q-pagination.entry.js +2 -2
  209. package/dist/esm/q-panel.entry.js +17 -8
  210. package/dist/esm/q-quantity-selector.entry.js +15 -8
  211. package/dist/esm/q-radio-group.entry.js +14 -7
  212. package/dist/esm/q-reel.entry.js +3 -3
  213. package/dist/esm/q-scrollable.entry.js +4 -4
  214. package/dist/esm/q-section.entry.js +18 -0
  215. package/dist/esm/q-sidepanel.entry.js +14 -7
  216. package/dist/esm/q-stack.entry.js +18 -0
  217. package/dist/esm/q-step-diagram-item.entry.js +7 -4
  218. package/dist/esm/q-step-diagram.entry.js +21 -11
  219. package/dist/esm/q-syntax-box.entry.js +1 -1
  220. package/dist/esm/q-tabs.entry.js +3 -3
  221. package/dist/esm/q-textarea.entry.js +61 -7
  222. package/dist/esm/q-thumbnail.entry.js +3 -3
  223. package/dist/esm/q-toast.entry.js +3 -3
  224. package/dist/esm/q-toggle.entry.js +14 -6
  225. package/dist/esm/q-toolbar.entry.js +8 -4
  226. package/dist/esm/tokens-f95uguY1.js +38 -0
  227. package/dist/esm/webquark.js +3 -3
  228. package/dist/playground/build/p-0aea8464.entry.js +1 -0
  229. package/dist/playground/build/p-0aecd9b1.entry.js +1 -0
  230. package/dist/playground/build/p-0d98e500.entry.js +1 -0
  231. package/dist/playground/build/p-139fec38.entry.js +1 -0
  232. package/dist/{webquark/p-0053ec76.entry.js → playground/build/p-15502232.entry.js} +1 -1
  233. package/dist/playground/build/p-17340abf.entry.js +1 -0
  234. package/dist/playground/build/p-303dcac8.entry.js +1 -0
  235. package/dist/playground/build/p-408bf48a.entry.js +1 -0
  236. package/dist/playground/build/p-47253466.entry.js +1 -0
  237. package/dist/playground/build/p-5f6860f2.entry.js +13 -0
  238. package/dist/playground/build/p-6b619655.entry.js +1 -0
  239. package/dist/playground/build/p-6b63922b.entry.js +1 -0
  240. package/dist/playground/build/p-71e3d582.entry.js +1 -0
  241. package/dist/playground/build/p-737ca99e.entry.js +1 -0
  242. package/dist/playground/build/{p-41421759.entry.js → p-742e39f1.entry.js} +1 -1
  243. package/dist/playground/build/p-8115ec23.entry.js +1 -0
  244. package/dist/playground/build/{p-8ada8fc6.entry.js → p-8ad43d7f.entry.js} +1 -1
  245. package/dist/playground/build/{p-885572ee.entry.js → p-8bdababd.entry.js} +1 -1
  246. package/dist/playground/build/p-9418caa0.entry.js +1 -0
  247. package/dist/playground/build/p-96ef2b54.entry.js +1 -0
  248. package/dist/playground/build/p-97dae970.entry.js +1 -0
  249. package/dist/{webquark/p-b5066051.entry.js → playground/build/p-989bdc1a.entry.js} +1 -1
  250. package/dist/playground/build/{p-DoS2fiWw.js → p-BqvCR2U8.js} +1 -1
  251. package/dist/playground/build/p-DbGG9Q40.js +3 -0
  252. package/dist/playground/build/p-JgeOdXyP.js +1 -0
  253. package/dist/playground/build/p-a4b36120.entry.js +1 -0
  254. package/dist/playground/build/p-abf54361.entry.js +1 -0
  255. package/dist/playground/build/p-aed4b219.entry.js +1 -0
  256. package/dist/playground/build/p-b3a07d94.entry.js +1 -0
  257. package/dist/{webquark/p-8077aa3f.entry.js → playground/build/p-b465aebd.entry.js} +1 -1
  258. package/dist/playground/build/p-c1f3dca6.entry.js +1 -0
  259. package/dist/playground/build/p-c4899c2b.entry.js +1 -0
  260. package/dist/{webquark/p-1c9a82b8.entry.js → playground/build/p-c4fd89b8.entry.js} +1 -1
  261. package/dist/playground/build/p-cf8f7f2a.entry.js +1 -0
  262. package/dist/playground/build/{p-2e2b3ca9.entry.js → p-d4a915e5.entry.js} +1 -1
  263. package/dist/{webquark/p-6c0bc4b9.entry.js → playground/build/p-d7d436c5.entry.js} +1 -1
  264. package/dist/playground/build/{p-316a92e2.entry.js → p-de8813be.entry.js} +1 -1
  265. package/dist/{webquark/p-8ec7d250.entry.js → playground/build/p-eb71e335.entry.js} +1 -1
  266. package/dist/playground/build/p-ecbc0fee.entry.js +1 -0
  267. package/dist/{webquark/p-d837603c.entry.js → playground/build/p-ed327679.entry.js} +1 -1
  268. package/dist/{webquark/p-e0e6b68f.entry.js → playground/build/p-f911c90f.entry.js} +1 -1
  269. package/dist/playground/build/p-f95uguY1.js +1 -0
  270. package/dist/{webquark/p-13329777.entry.js → playground/build/p-ff1e2363.entry.js} +1 -1
  271. package/dist/playground/build/webquark.css +1 -1
  272. package/dist/playground/build/webquark.esm.js +1 -1
  273. package/dist/playground/playground/components.manifest.json +40 -35
  274. package/dist/playground/playground/specs/q-button.sandbox.json +3 -2
  275. package/dist/playground/playground/specs/q-card.sandbox.json +37 -3
  276. package/dist/playground/playground/specs/q-dialog.sandbox.json +16 -6
  277. package/dist/playground/playground/specs/q-dropdown.sandbox.json +12 -2
  278. package/dist/playground/playground/specs/q-form.sandbox.json +88 -10
  279. package/dist/playground/playground/specs/q-grid.sandbox.json +56 -0
  280. package/dist/playground/playground/specs/q-icon.sandbox.json +11 -11
  281. package/dist/playground/playground/specs/q-inline.sandbox.json +60 -0
  282. package/dist/playground/playground/specs/q-input.sandbox.json +12 -2
  283. package/dist/playground/playground/specs/q-navbar.sandbox.json +11 -3
  284. package/dist/playground/playground/specs/q-panel.sandbox.json +138 -17
  285. package/dist/playground/playground/specs/q-quantity-selector.sandbox.json +13 -2
  286. package/dist/playground/playground/specs/q-radio-group.sandbox.json +46 -10
  287. package/dist/playground/playground/specs/q-sidepanel.sandbox.json +7 -7
  288. package/dist/playground/playground/specs/q-stack.sandbox.json +56 -0
  289. package/dist/playground/playground/specs/q-step-diagram.sandbox.json +5 -5
  290. package/dist/playground/playground/specs/q-textarea.sandbox.json +20 -0
  291. package/dist/playground/playground/specs/q-toggle.sandbox.json +12 -2
  292. package/dist/playground/playground/specs/q-toolbar.sandbox.json +99 -14
  293. package/dist/playground/playground.js +846 -34
  294. package/dist/types/components/actions/button/button.types.d.ts +2 -1
  295. package/dist/types/components/actions/link/link.d.ts +1 -1
  296. package/dist/types/components/communication/toast/test/toast.cmp.test.d.ts +2 -0
  297. package/dist/types/components/communication/toast/test/toast.unit.test.d.ts +1 -0
  298. package/dist/types/components/content/banner/banner.d.ts +12 -0
  299. package/dist/types/components/content/banner/banner.types.d.ts +2 -0
  300. package/dist/types/components/{layout → content}/card/card.d.ts +11 -0
  301. package/dist/types/components/content/card/card.types.d.ts +1 -0
  302. package/dist/types/components/{layout → content}/card/card.utils.d.ts +1 -1
  303. package/dist/types/components/data-display/accordion/accordion.d.ts +9 -0
  304. package/dist/types/components/data-display/accordion/accordion.types.d.ts +1 -0
  305. package/dist/types/components/indicators/step-diagram/step-diagram.d.ts +6 -3
  306. package/dist/types/components/indicators/step-diagram/step-diagram.types.d.ts +3 -1
  307. package/dist/types/components/indicators/step-diagram-item/step-diagram-item.d.ts +4 -2
  308. package/dist/types/components/indicators/step-diagram-item/step-diagram-item.types.d.ts +3 -1
  309. package/dist/types/components/inputs/dropdown/dropdown.d.ts +13 -0
  310. package/dist/types/components/inputs/dropdown/dropdown.types.d.ts +2 -1
  311. package/dist/types/components/{layout → inputs}/form/form.d.ts +6 -0
  312. package/dist/types/components/inputs/input/input.d.ts +7 -1
  313. package/dist/types/components/inputs/input/input.types.d.ts +2 -1
  314. package/dist/types/components/inputs/quantity-selector/quantity-selector.d.ts +6 -1
  315. package/dist/types/components/inputs/quantity-selector/quantity-selector.types.d.ts +3 -1
  316. package/dist/types/components/inputs/radio-group/radio-group.d.ts +7 -1
  317. package/dist/types/components/inputs/radio-group/radio-group.types.d.ts +2 -1
  318. package/dist/types/components/inputs/textarea/textarea.d.ts +16 -1
  319. package/dist/types/components/inputs/toggle/toggle.d.ts +6 -0
  320. package/dist/types/components/inputs/toggle/toggle.types.d.ts +2 -1
  321. package/dist/types/components/layout/grid/grid.d.ts +13 -0
  322. package/dist/types/components/layout/inline/inline.d.ts +12 -0
  323. package/dist/types/components/layout/navbar/navbar.d.ts +29 -1
  324. package/dist/types/components/layout/navbar/navbar.types.d.ts +2 -0
  325. package/dist/types/components/layout/panel/panel.d.ts +8 -0
  326. package/dist/types/components/layout/panel/panel.types.d.ts +2 -1
  327. package/dist/types/components/layout/section/section.d.ts +13 -0
  328. package/dist/types/components/layout/section/section.types.d.ts +1 -0
  329. package/dist/types/components/layout/sidepanel/sidepanel.d.ts +7 -0
  330. package/dist/types/components/layout/stack/stack.d.ts +10 -0
  331. package/dist/types/components/layout/toolbar/toolbar.d.ts +4 -0
  332. package/dist/types/components/media/avatar/avatar.d.ts +4 -4
  333. package/dist/types/components/media/icon/icon.d.ts +7 -3
  334. package/dist/types/components/media/media/media.d.ts +13 -0
  335. package/dist/types/components/media/media/media.types.d.ts +2 -0
  336. package/dist/types/components/overlays/dialog/dialog.d.ts +14 -2
  337. package/dist/types/components/shared/field.d.ts +3 -0
  338. package/dist/types/components/shared/test/orientation.cmp.test.d.ts +1 -0
  339. package/dist/types/components.d.ts +911 -68
  340. package/dist/types/index.d.ts +8 -3
  341. package/dist/types/playground/components/theme-designer/token-row.d.ts +2 -1
  342. package/dist/types/theme/test/assets.d.ts +4 -0
  343. package/dist/types/theme/test/foundation.cmp.test.d.ts +16 -0
  344. package/dist/types/theme/tokens.d.ts +63 -0
  345. package/dist/webquark/p-0aea8464.entry.js +1 -0
  346. package/dist/webquark/p-0aecd9b1.entry.js +1 -0
  347. package/dist/webquark/p-0d98e500.entry.js +1 -0
  348. package/dist/webquark/p-139fec38.entry.js +1 -0
  349. package/dist/{playground/build/p-0053ec76.entry.js → webquark/p-15502232.entry.js} +1 -1
  350. package/dist/webquark/p-17340abf.entry.js +1 -0
  351. package/dist/webquark/p-303dcac8.entry.js +1 -0
  352. package/dist/webquark/p-408bf48a.entry.js +1 -0
  353. package/dist/webquark/p-47253466.entry.js +1 -0
  354. package/dist/webquark/p-5f6860f2.entry.js +13 -0
  355. package/dist/webquark/p-6b619655.entry.js +1 -0
  356. package/dist/webquark/p-6b63922b.entry.js +1 -0
  357. package/dist/webquark/p-71e3d582.entry.js +1 -0
  358. package/dist/webquark/p-737ca99e.entry.js +1 -0
  359. package/dist/webquark/{p-41421759.entry.js → p-742e39f1.entry.js} +1 -1
  360. package/dist/webquark/p-8115ec23.entry.js +1 -0
  361. package/dist/webquark/{p-8ada8fc6.entry.js → p-8ad43d7f.entry.js} +1 -1
  362. package/dist/webquark/{p-885572ee.entry.js → p-8bdababd.entry.js} +1 -1
  363. package/dist/webquark/p-9418caa0.entry.js +1 -0
  364. package/dist/webquark/p-96ef2b54.entry.js +1 -0
  365. package/dist/webquark/p-97dae970.entry.js +1 -0
  366. package/dist/{playground/build/p-b5066051.entry.js → webquark/p-989bdc1a.entry.js} +1 -1
  367. package/dist/webquark/{p-DoS2fiWw.js → p-BqvCR2U8.js} +1 -1
  368. package/dist/webquark/p-DbGG9Q40.js +3 -0
  369. package/dist/webquark/p-JgeOdXyP.js +1 -0
  370. package/dist/webquark/p-a4b36120.entry.js +1 -0
  371. package/dist/webquark/p-abf54361.entry.js +1 -0
  372. package/dist/webquark/p-aed4b219.entry.js +1 -0
  373. package/dist/webquark/p-b3a07d94.entry.js +1 -0
  374. package/dist/{playground/build/p-8077aa3f.entry.js → webquark/p-b465aebd.entry.js} +1 -1
  375. package/dist/webquark/p-c1f3dca6.entry.js +1 -0
  376. package/dist/webquark/p-c4899c2b.entry.js +1 -0
  377. package/dist/{playground/build/p-1c9a82b8.entry.js → webquark/p-c4fd89b8.entry.js} +1 -1
  378. package/dist/webquark/p-cf8f7f2a.entry.js +1 -0
  379. package/dist/webquark/{p-2e2b3ca9.entry.js → p-d4a915e5.entry.js} +1 -1
  380. package/dist/{playground/build/p-6c0bc4b9.entry.js → webquark/p-d7d436c5.entry.js} +1 -1
  381. package/dist/webquark/{p-316a92e2.entry.js → p-de8813be.entry.js} +1 -1
  382. package/dist/{playground/build/p-8ec7d250.entry.js → webquark/p-eb71e335.entry.js} +1 -1
  383. package/dist/webquark/p-ecbc0fee.entry.js +1 -0
  384. package/dist/{playground/build/p-d837603c.entry.js → webquark/p-ed327679.entry.js} +1 -1
  385. package/dist/{playground/build/p-e0e6b68f.entry.js → webquark/p-f911c90f.entry.js} +1 -1
  386. package/dist/webquark/p-f95uguY1.js +1 -0
  387. package/dist/{playground/build/p-13329777.entry.js → webquark/p-ff1e2363.entry.js} +1 -1
  388. package/dist/webquark/webquark.css +1 -1
  389. package/dist/webquark/webquark.esm.js +1 -1
  390. package/package.json +68 -5
  391. package/scripts/wq-switch/README.md +141 -0
  392. package/scripts/wq-switch/dist/index.js +543 -0
  393. package/scripts/wq-switch/dist/setup.js +349 -0
  394. package/dist/collection/components/layout/card/card.js +0 -168
  395. package/dist/collection/components/layout/form/form.css +0 -49
  396. package/dist/components/p-BygmcFxM.js +0 -1
  397. package/dist/components/p-CVtof65h.js +0 -1
  398. package/dist/components/p-I81wUKud.js +0 -1
  399. package/dist/components/p-vv3X99Ji.js +0 -1
  400. package/dist/playground/build/p-0363c0e6.entry.js +0 -1
  401. package/dist/playground/build/p-0e3dbe01.entry.js +0 -1
  402. package/dist/playground/build/p-226c2f79.entry.js +0 -13
  403. package/dist/playground/build/p-38b92be6.entry.js +0 -1
  404. package/dist/playground/build/p-42831108.entry.js +0 -1
  405. package/dist/playground/build/p-50ca27f7.entry.js +0 -1
  406. package/dist/playground/build/p-5c08aa94.entry.js +0 -1
  407. package/dist/playground/build/p-611ef3e0.entry.js +0 -1
  408. package/dist/playground/build/p-684292dd.entry.js +0 -1
  409. package/dist/playground/build/p-7081c96b.entry.js +0 -1
  410. package/dist/playground/build/p-789eb3c9.entry.js +0 -1
  411. package/dist/playground/build/p-8d0aa5a7.entry.js +0 -1
  412. package/dist/playground/build/p-9978ae38.entry.js +0 -1
  413. package/dist/playground/build/p-VFWyFa-_.js +0 -3
  414. package/dist/playground/build/p-b99541cd.entry.js +0 -1
  415. package/dist/playground/build/p-ca1a1d25.entry.js +0 -1
  416. package/dist/playground/build/p-e15e6d76.entry.js +0 -1
  417. package/dist/playground/build/p-e272dd45.entry.js +0 -1
  418. package/dist/playground/build/p-e8003179.entry.js +0 -1
  419. package/dist/types/components/layout/card/card.types.d.ts +0 -1
  420. package/dist/types/components/overlays/toast/test/toast.cmp.test.d.ts +0 -2
  421. package/dist/webquark/p-0363c0e6.entry.js +0 -1
  422. package/dist/webquark/p-0e3dbe01.entry.js +0 -1
  423. package/dist/webquark/p-226c2f79.entry.js +0 -13
  424. package/dist/webquark/p-38b92be6.entry.js +0 -1
  425. package/dist/webquark/p-42831108.entry.js +0 -1
  426. package/dist/webquark/p-50ca27f7.entry.js +0 -1
  427. package/dist/webquark/p-5c08aa94.entry.js +0 -1
  428. package/dist/webquark/p-611ef3e0.entry.js +0 -1
  429. package/dist/webquark/p-684292dd.entry.js +0 -1
  430. package/dist/webquark/p-7081c96b.entry.js +0 -1
  431. package/dist/webquark/p-789eb3c9.entry.js +0 -1
  432. package/dist/webquark/p-8d0aa5a7.entry.js +0 -1
  433. package/dist/webquark/p-9978ae38.entry.js +0 -1
  434. package/dist/webquark/p-VFWyFa-_.js +0 -3
  435. package/dist/webquark/p-b99541cd.entry.js +0 -1
  436. package/dist/webquark/p-ca1a1d25.entry.js +0 -1
  437. package/dist/webquark/p-e15e6d76.entry.js +0 -1
  438. package/dist/webquark/p-e272dd45.entry.js +0 -1
  439. package/dist/webquark/p-e8003179.entry.js +0 -1
  440. package/dist/collection/components/{data-display → communication}/alert/alert.css +0 -0
  441. package/dist/collection/components/{data-display → communication}/alert/alert.types.js +0 -0
  442. package/dist/collection/components/{data-display → communication}/conversation-bubble/conversation-bubble.css +0 -0
  443. package/dist/collection/components/{data-display → communication}/conversation-bubble/conversation-bubble.types.js +0 -0
  444. package/dist/collection/components/{overlays → communication}/toast/internals/icons.js +0 -0
  445. package/dist/collection/components/{overlays → communication}/toast/internals/queue.js +0 -0
  446. package/dist/collection/components/{overlays → communication}/toast/internals/timers.js +0 -0
  447. package/dist/collection/components/{overlays → communication}/toast/test/toast.unit.test.js +0 -0
  448. package/dist/collection/components/{overlays → communication}/toast/toast-controller.js +0 -0
  449. package/dist/collection/components/{overlays → communication}/toast/toast.css +0 -0
  450. package/dist/collection/components/{overlays → communication}/toast/toast.types.js +0 -0
  451. package/dist/collection/components/{actions/chip/chip.types.js → content/banner/banner.types.js} +0 -0
  452. package/dist/collection/components/{layout → content}/card/card.types.js +0 -0
  453. package/dist/collection/components/{layout → content}/card/card.utils.js +0 -0
  454. package/dist/collection/components/{layout → content}/carousel/carousel.css +0 -0
  455. package/dist/collection/components/{layout → content}/carousel/carousel.types.js +0 -0
  456. package/dist/collection/components/{layout → content}/carousel/carousel.utils.js +0 -0
  457. package/dist/collection/components/{layout → content}/carousel/internals/metrics.js +0 -0
  458. package/dist/collection/components/{layout/form/form.types.js → data-display/accordion/accordion.types.js} +0 -0
  459. package/dist/collection/components/{actions → data-display}/chip/chip.css +0 -0
  460. package/dist/{types/components/overlays/toast/test/toast.unit.test.d.ts → collection/components/data-display/chip/chip.types.js} +0 -0
  461. package/dist/collection/components/{layout → inputs}/form/internals/controls.js +0 -0
  462. package/dist/collection/components/{layout → inputs}/form/internals/enter-behavior.js +0 -0
  463. package/dist/collection/components/{layout → inputs}/form/internals/values.js +0 -0
  464. package/dist/collection/components/{layout → inputs}/form/test/form.cmp.test.js +0 -0
  465. package/dist/types/components/{data-display → communication}/alert/alert.d.ts +0 -0
  466. package/dist/types/components/{data-display → communication}/alert/alert.types.d.ts +0 -0
  467. package/dist/types/components/{data-display → communication}/conversation-bubble/conversation-bubble.d.ts +3 -3
  468. /package/dist/types/components/{data-display → communication}/conversation-bubble/conversation-bubble.types.d.ts +0 -0
  469. /package/dist/types/components/{overlays → communication}/toast/internals/icons.d.ts +0 -0
  470. /package/dist/types/components/{overlays → communication}/toast/internals/queue.d.ts +0 -0
  471. /package/dist/types/components/{overlays → communication}/toast/internals/timers.d.ts +0 -0
  472. /package/dist/types/components/{overlays → communication}/toast/toast-controller.d.ts +0 -0
  473. /package/dist/types/components/{overlays → communication}/toast/toast.d.ts +0 -0
  474. /package/dist/types/components/{overlays → communication}/toast/toast.types.d.ts +0 -0
  475. /package/dist/types/components/{layout → content}/carousel/carousel.d.ts +0 -0
  476. /package/dist/types/components/{layout → content}/carousel/carousel.types.d.ts +0 -0
  477. /package/dist/types/components/{layout → content}/carousel/carousel.utils.d.ts +0 -0
  478. /package/dist/types/components/{layout → content}/carousel/internals/metrics.d.ts +0 -0
  479. /package/dist/types/components/{actions → data-display}/chip/chip.d.ts +0 -0
  480. /package/dist/types/components/{actions → data-display}/chip/chip.types.d.ts +0 -0
  481. /package/dist/types/components/{layout → inputs}/form/form.types.d.ts +0 -0
  482. /package/dist/types/components/{layout → inputs}/form/internals/controls.d.ts +0 -0
  483. /package/dist/types/components/{layout → inputs}/form/internals/enter-behavior.d.ts +0 -0
  484. /package/dist/types/components/{layout → inputs}/form/internals/values.d.ts +0 -0
  485. /package/dist/types/components/{layout → inputs}/form/test/form.cmp.test.d.ts +0 -0
@@ -0,0 +1,85 @@
1
+ :host {
2
+ display: block;
3
+ box-sizing: border-box;
4
+ }
5
+
6
+ .form-shell {
7
+ display: flex;
8
+ flex-direction: column;
9
+ gap: var(--q-form-gap, var(--q-space-xl, 1.5rem));
10
+ width: 100%;
11
+ color: var(--q-form-fg, var(--q-fg-base, #172033));
12
+ font-family: var(--q-font-family, inherit);
13
+ }
14
+
15
+ .form-header.is-hidden,
16
+ .form-actions.is-hidden {
17
+ display: none;
18
+ }
19
+
20
+ .form-title {
21
+ margin: 0;
22
+ color: var(--q-form-title-color, var(--q-fg-base, #172033));
23
+ font-size: var(--q-form-title-size, var(--q-font-size-lg, 1rem));
24
+ font-weight: var(--q-font-weight-bold, 600);
25
+ line-height: 1.3;
26
+ }
27
+
28
+ form {
29
+ display: flex;
30
+ flex-direction: column;
31
+ gap: var(--q-form-gap, var(--q-space-xl, 1.5rem));
32
+ width: 100%;
33
+ margin: 0;
34
+ }
35
+
36
+ .form-body {
37
+ display: flex;
38
+ flex-direction: column;
39
+ gap: var(--q-form-field-gap, 12px);
40
+ min-width: 0;
41
+ }
42
+
43
+ .form-actions {
44
+ display: flex;
45
+ align-items: center;
46
+ justify-content: flex-end;
47
+ flex-wrap: wrap;
48
+ gap: var(--q-form-action-gap, var(--q-space-sm, .5rem));
49
+ padding-top: var(--q-form-actions-padding-top, 4px);
50
+ }
51
+
52
+ :host { min-width: 0; }
53
+ .q-label-hidden {
54
+ position: absolute !important;
55
+ width: 1px !important;
56
+ height: 1px !important;
57
+ padding: 0 !important;
58
+ margin: -1px !important;
59
+ overflow: hidden !important;
60
+ clip-path: inset(50%);
61
+ white-space: nowrap;
62
+ border: 0 !important;
63
+ }
64
+ .q-field-feedback {
65
+ display: block;
66
+ min-block-size: var(--_q-feedback-min, var(--q-context-feedback-min, 0px));
67
+ font-family: var(--q-font-family, inherit);
68
+ font-size: var(--q-field-feedback-font, .75rem);
69
+ font-weight: 400;
70
+ line-height: 1rem;
71
+ color: var(--q-fg-muted, #9ca3af);
72
+ overflow-wrap: anywhere;
73
+ margin: min(var(--q-space-xs, .25rem), var(--_q-feedback-min, var(--q-context-feedback-min, 0px))) 0 0;
74
+ }
75
+ .q-field-feedback:not(:empty) { margin-top: var(--q-space-xs, .25rem); }
76
+ .q-field-feedback.error-msg { color: var(--_q-field-error-color, var(--q-color-danger, #f87171)); }
77
+ [part='label']:not(.q-label-hidden) {
78
+ font-family: var(--q-font-family, inherit);
79
+ font-size: var(--q-field-label-font, .75rem);
80
+ font-weight: 600;
81
+ line-height: 1rem;
82
+ margin-bottom: var(--q-space-xs, .25rem);
83
+ overflow-wrap: anywhere;
84
+ }
85
+
@@ -1,4 +1,5 @@
1
- import { h } from "@stencil/core";
1
+ import { controlScope } from "../../../theme/tokens";
2
+ import { Host, h } from "@stencil/core";
2
3
  import { handleEnterBehavior } from "./internals/enter-behavior";
3
4
  import { getNamedControls, shouldSkipControl } from "./internals/controls";
4
5
  import { applyValues, collectValues, createFormData, resetValues } from "./internals/values";
@@ -22,6 +23,9 @@ export class QForm {
22
23
  el;
23
24
  /** Names the native form when no custom header is slotted. */
24
25
  label;
26
+ size = 'inherit';
27
+ reserveFeedback;
28
+ labelHidden = false;
25
29
  /** Prevents the native submit event's default navigation. */
26
30
  preventDefault = true;
27
31
  /** Controls how Enter behaves inside text-like controls. */
@@ -32,6 +36,8 @@ export class QForm {
32
36
  autocomplete = 'on';
33
37
  enctype = 'application/x-www-form-urlencoded';
34
38
  target;
39
+ /** Names the native form without requiring a visible heading. */
40
+ ariaLabel = null;
35
41
  /** Emitted after a valid submit with collected values and FormData. */
36
42
  qSubmit;
37
43
  qReset;
@@ -215,9 +221,9 @@ export class QForm {
215
221
  // ===================== [6] RENDER (Visual Template Only) =====================
216
222
  render() {
217
223
  const hasHeaderContent = Boolean(this.label) || this.hasHeaderSlot;
218
- const formLabelledBy = this.label && !this.hasHeaderSlot ? this.titleId : undefined;
219
- const formAriaLabel = this.label && this.hasHeaderSlot ? this.label : undefined;
220
- return (h("div", { key: 'cedd158a5f67ee785eb68e355ce8a5a85c9fb837', class: "form-shell" }, h("div", { key: '2ba38f8e6e490edca13bd3207df671908b911be8', class: { 'form-header': true, 'is-hidden': !hasHeaderContent }, part: "header" }, h("slot", { key: '405567d4d8d2a76dbc35de7a593a4ca53739ddd7', name: "header", ref: (el) => (this.headerSlot = el), onSlotchange: this.handleHeaderSlotChange }, this.label && h("h2", { key: '6ec93f2ddc7375c6dbfa172db01f1604aef52b50', id: this.titleId, class: "form-title" }, this.label))), h("form", { key: 'f7dc6ef299715e170810b8965a25e8ad7d87ed08', ref: (el) => (this.formEl = el), action: this.action, method: this.method, autocomplete: this.autocomplete, enctype: this.enctype, target: this.target, noValidate: this.noValidate, "aria-labelledby": formLabelledBy, "aria-label": formAriaLabel, part: "form", onSubmit: this.handleSubmit, onReset: this.handleReset }, h("div", { key: '6f95d534dfad3a06f537838f9627b3b96503ff8b', class: "form-body", part: "body" }, h("slot", { key: '66e33ad76f90a5b64edb34453dff65343489a8bd' })), h("div", { key: '58d42417cbcf5b70552d683af31addcadc093941', class: { 'form-actions': true, 'is-hidden': !this.hasActionsSlot }, part: "actions" }, h("slot", { key: '042855960995d4f5e7ecb2acb484b8505ebb6ab6', name: "actions", ref: (el) => (this.actionsSlot = el), onSlotchange: this.handleActionsSlotChange })))));
224
+ const formLabelledBy = !this.ariaLabel && this.label && !this.hasHeaderSlot ? this.titleId : undefined;
225
+ const formAriaLabel = this.ariaLabel?.trim() || (this.label && this.hasHeaderSlot ? this.label : undefined);
226
+ return (h(Host, { key: '85fff51774e0bb0e73948cd14b8100aef6556c31', style: { ...controlScope(this.size), '--q-context-feedback-min': this.reserveFeedback === undefined ? '' : this.reserveFeedback ? '1rem' : '0px' } }, h("div", { key: 'f3dff40fcdfddc896787295c59c3e97f5d6c15ad', class: "form-shell" }, h("div", { key: '0b1fb2465c7ce04185d9cc65524562c46efe152f', class: { 'form-header': true, 'is-hidden': !hasHeaderContent, 'q-label-hidden': this.labelHidden }, part: "header" }, h("slot", { key: '391f9944a4c920a639bc62f0f1583d0cf3920884', name: "header", ref: (el) => (this.headerSlot = el), onSlotchange: this.handleHeaderSlotChange }, this.label && h("h2", { key: '54bd0774bbde169fd1f6f960fce0567daecb9db4', id: this.titleId, class: "form-title" }, this.label))), h("form", { key: 'ddb1b7d09ffe4dd64bbec548656ea0c658d56389', ref: (el) => (this.formEl = el), action: this.action, method: this.method, autocomplete: this.autocomplete, enctype: this.enctype, target: this.target, noValidate: this.noValidate, "aria-labelledby": formLabelledBy, "aria-label": formAriaLabel, part: "form", onSubmit: this.handleSubmit, onReset: this.handleReset }, h("div", { key: '7f5d47a6e57c2e7e3972d705e8e556e159584445', class: "form-body", part: "body" }, h("slot", { key: '3515728fd810c3c6d6352932ce56c07cbecc5d39' })), h("div", { key: '09e06d1ef03559336d7ac40de72c824ad8e7d656', class: { 'form-actions': true, 'is-hidden': !this.hasActionsSlot }, part: "actions" }, h("slot", { key: '05a368aea36d4c18d569d60831cb31f737ac5854', name: "actions", ref: (el) => (this.actionsSlot = el), onSlotchange: this.handleActionsSlotChange }))))));
221
227
  }
222
228
  static get is() { return "q-form"; }
223
229
  static get encapsulation() { return "shadow"; }
@@ -252,6 +258,72 @@ export class QForm {
252
258
  "reflect": false,
253
259
  "attribute": "label"
254
260
  },
261
+ "size": {
262
+ "type": "string",
263
+ "mutable": false,
264
+ "complexType": {
265
+ "original": "QControlSize",
266
+ "resolved": "\"inherit\" | \"lg\" | \"md\" | \"sm\"",
267
+ "references": {
268
+ "QControlSize": {
269
+ "location": "import",
270
+ "path": "../../../theme/tokens",
271
+ "id": "src/theme/tokens.ts::QControlSize",
272
+ "referenceLocation": "QControlSize"
273
+ }
274
+ }
275
+ },
276
+ "required": false,
277
+ "optional": false,
278
+ "docs": {
279
+ "tags": [],
280
+ "text": ""
281
+ },
282
+ "getter": false,
283
+ "setter": false,
284
+ "reflect": false,
285
+ "attribute": "size",
286
+ "defaultValue": "'inherit'"
287
+ },
288
+ "reserveFeedback": {
289
+ "type": "boolean",
290
+ "mutable": false,
291
+ "complexType": {
292
+ "original": "boolean",
293
+ "resolved": "boolean",
294
+ "references": {}
295
+ },
296
+ "required": false,
297
+ "optional": true,
298
+ "docs": {
299
+ "tags": [],
300
+ "text": ""
301
+ },
302
+ "getter": false,
303
+ "setter": false,
304
+ "reflect": false,
305
+ "attribute": "reserve-feedback"
306
+ },
307
+ "labelHidden": {
308
+ "type": "boolean",
309
+ "mutable": false,
310
+ "complexType": {
311
+ "original": "boolean",
312
+ "resolved": "boolean",
313
+ "references": {}
314
+ },
315
+ "required": false,
316
+ "optional": false,
317
+ "docs": {
318
+ "tags": [],
319
+ "text": ""
320
+ },
321
+ "getter": false,
322
+ "setter": false,
323
+ "reflect": false,
324
+ "attribute": "label-hidden",
325
+ "defaultValue": "false"
326
+ },
255
327
  "preventDefault": {
256
328
  "type": "boolean",
257
329
  "mutable": false,
@@ -282,7 +354,7 @@ export class QForm {
282
354
  "QFormEnterBehavior": {
283
355
  "location": "import",
284
356
  "path": "./form.types",
285
- "id": "src/components/layout/form/form.types.ts::QFormEnterBehavior",
357
+ "id": "src/components/inputs/form/form.types.ts::QFormEnterBehavior",
286
358
  "referenceLocation": "QFormEnterBehavior"
287
359
  }
288
360
  }
@@ -348,7 +420,7 @@ export class QForm {
348
420
  "QFormMethod": {
349
421
  "location": "import",
350
422
  "path": "./form.types",
351
- "id": "src/components/layout/form/form.types.ts::QFormMethod",
423
+ "id": "src/components/inputs/form/form.types.ts::QFormMethod",
352
424
  "referenceLocation": "QFormMethod"
353
425
  }
354
426
  }
@@ -375,7 +447,7 @@ export class QForm {
375
447
  "QFormAutocomplete": {
376
448
  "location": "import",
377
449
  "path": "./form.types",
378
- "id": "src/components/layout/form/form.types.ts::QFormAutocomplete",
450
+ "id": "src/components/inputs/form/form.types.ts::QFormAutocomplete",
379
451
  "referenceLocation": "QFormAutocomplete"
380
452
  }
381
453
  }
@@ -402,7 +474,7 @@ export class QForm {
402
474
  "QFormEnctype": {
403
475
  "location": "import",
404
476
  "path": "./form.types",
405
- "id": "src/components/layout/form/form.types.ts::QFormEnctype",
477
+ "id": "src/components/inputs/form/form.types.ts::QFormEnctype",
406
478
  "referenceLocation": "QFormEnctype"
407
479
  }
408
480
  }
@@ -429,7 +501,7 @@ export class QForm {
429
501
  "QFormTarget": {
430
502
  "location": "import",
431
503
  "path": "./form.types",
432
- "id": "src/components/layout/form/form.types.ts::QFormTarget",
504
+ "id": "src/components/inputs/form/form.types.ts::QFormTarget",
433
505
  "referenceLocation": "QFormTarget"
434
506
  }
435
507
  }
@@ -444,6 +516,26 @@ export class QForm {
444
516
  "setter": false,
445
517
  "reflect": false,
446
518
  "attribute": "target"
519
+ },
520
+ "ariaLabel": {
521
+ "type": "string",
522
+ "mutable": false,
523
+ "complexType": {
524
+ "original": "string | null",
525
+ "resolved": "string",
526
+ "references": {}
527
+ },
528
+ "required": false,
529
+ "optional": false,
530
+ "docs": {
531
+ "tags": [],
532
+ "text": "Names the native form without requiring a visible heading."
533
+ },
534
+ "getter": false,
535
+ "setter": false,
536
+ "reflect": false,
537
+ "attribute": "aria-label",
538
+ "defaultValue": "null"
447
539
  }
448
540
  };
449
541
  }
@@ -471,7 +563,7 @@ export class QForm {
471
563
  "QFormSubmitDetail": {
472
564
  "location": "import",
473
565
  "path": "./form.types",
474
- "id": "src/components/layout/form/form.types.ts::QFormSubmitDetail",
566
+ "id": "src/components/inputs/form/form.types.ts::QFormSubmitDetail",
475
567
  "referenceLocation": "QFormSubmitDetail"
476
568
  }
477
569
  }
@@ -493,7 +585,7 @@ export class QForm {
493
585
  "QFormResetDetail": {
494
586
  "location": "import",
495
587
  "path": "./form.types",
496
- "id": "src/components/layout/form/form.types.ts::QFormResetDetail",
588
+ "id": "src/components/inputs/form/form.types.ts::QFormResetDetail",
497
589
  "referenceLocation": "QFormResetDetail"
498
590
  }
499
591
  }
@@ -514,7 +606,7 @@ export class QForm {
514
606
  "QFormValues": {
515
607
  "location": "import",
516
608
  "path": "./form.types",
517
- "id": "src/components/layout/form/form.types.ts::QFormValues",
609
+ "id": "src/components/inputs/form/form.types.ts::QFormValues",
518
610
  "referenceLocation": "QFormValues"
519
611
  }
520
612
  },
@@ -541,7 +633,7 @@ export class QForm {
541
633
  "QFormValues": {
542
634
  "location": "import",
543
635
  "path": "./form.types",
544
- "id": "src/components/layout/form/form.types.ts::QFormValues",
636
+ "id": "src/components/inputs/form/form.types.ts::QFormValues",
545
637
  "referenceLocation": "QFormValues"
546
638
  }
547
639
  },
@@ -1,3 +1,38 @@
1
+ /* Generated by scripts/generate-theme.ts. */
2
+ :host {
3
+ min-width: 0;
4
+ --_q-control-height: var(--q-context-control-height, var(--q-control-height-md, 2.25rem));
5
+ --_q-control-font: var(--q-context-control-font, var(--q-control-font-md, 0.875rem));
6
+ --_q-control-line: var(--q-context-control-line, var(--q-control-line-md, 1.25rem));
7
+ --_q-control-padding: var(--q-context-control-padding, var(--q-control-padding-md, 0.75rem));
8
+ --_q-control-icon: var(--q-context-control-icon, var(--q-control-icon-md, 1rem));
9
+ --_q-control-radius: var(--q-context-control-radius, var(--q-control-radius-md, 0.4375rem));
10
+ }
11
+ .size-sm {
12
+ --_q-control-height: var(--q-control-height-sm, 1.75rem);
13
+ --_q-control-font: var(--q-control-font-sm, 0.75rem);
14
+ --_q-control-line: var(--q-control-line-sm, 1rem);
15
+ --_q-control-padding: var(--q-control-padding-sm, 0.5rem);
16
+ --_q-control-icon: var(--q-control-icon-sm, 0.875rem);
17
+ --_q-control-radius: var(--q-control-radius-sm, 0.34375rem);
18
+ }
19
+ .size-md {
20
+ --_q-control-height: var(--q-control-height-md, 2.25rem);
21
+ --_q-control-font: var(--q-control-font-md, 0.875rem);
22
+ --_q-control-line: var(--q-control-line-md, 1.25rem);
23
+ --_q-control-padding: var(--q-control-padding-md, 0.75rem);
24
+ --_q-control-icon: var(--q-control-icon-md, 1rem);
25
+ --_q-control-radius: var(--q-control-radius-md, 0.4375rem);
26
+ }
27
+ .size-lg {
28
+ --_q-control-height: var(--q-control-height-lg, 2.75rem);
29
+ --_q-control-font: var(--q-control-font-lg, 1rem);
30
+ --_q-control-line: var(--q-control-line-lg, 1.5rem);
31
+ --_q-control-padding: var(--q-control-padding-lg, 1rem);
32
+ --_q-control-icon: var(--q-control-icon-lg, 1.25rem);
33
+ --_q-control-radius: var(--q-control-radius-lg, 0.53125rem);
34
+ }
35
+
1
36
  :host {
2
37
  display: block;
3
38
  width: 100%;
@@ -29,7 +64,7 @@
29
64
  width: 100%;
30
65
  background: var(--q-input-bg, var(--q-bg-surface-2, #374151));
31
66
  border: var(--q-input-border, var(--q-border, 1px solid var(--q-border-color, #4b5563)));
32
- border-radius: var(--q-input-radius, var(--q-radius-md, 8px));
67
+ border-radius: var(--q-input-radius, var(--q-field-radius, var(--_q-control-radius)));
33
68
  box-sizing: border-box;
34
69
  overflow: hidden;
35
70
  transition: border-color var(--q-transition-fast, 150ms ease),
@@ -152,7 +187,7 @@
152
187
 
153
188
  /* Color input styling */
154
189
  input.input-box[type="color"] {
155
- height: 40px;
190
+ height: calc(var(--q-input-height, var(--_q-control-height)) - 2px);
156
191
  padding: 6px;
157
192
  cursor: pointer;
158
193
  background: transparent;
@@ -172,66 +207,6 @@ input.input-box[type="color"]::-moz-color-swatch {
172
207
  border-radius: var(--q-radius-sm, 4px);
173
208
  }
174
209
 
175
- /* Sizing Layouts */
176
- .input-wrapper.size-sm .input-control {
177
- min-height: 32px;
178
- height: 32px;
179
- }
180
- .input-wrapper.size-sm .input-label {
181
- font-size: var(--q-font-size-sm, 0.7rem);
182
- }
183
- .input-wrapper.size-sm .input-box {
184
- padding: 4px 8px;
185
- font-size: var(--q-font-size-sm, 0.75rem);
186
- }
187
- .input-wrapper.size-sm .prefix-container,
188
- .input-wrapper.size-sm .suffix-container {
189
- padding: 0 8px;
190
- }
191
- .input-wrapper.size-sm .clear-btn svg,
192
- .input-wrapper.size-sm .password-toggle-btn svg {
193
- width: 12px;
194
- height: 12px;
195
- }
196
- .input-wrapper.size-sm input.input-box[type="color"] {
197
- height: 32px;
198
- padding: 4px;
199
- }
200
-
201
- .input-wrapper.size-md .input-label {
202
- font-size: var(--q-font-size-sm, 0.7rem);
203
- }
204
- .input-wrapper.size-md .input-box {
205
- padding: 10px 14px;
206
- font-size: var(--q-font-size-base, 0.9rem);
207
- }
208
- .input-wrapper.size-md .prefix-container,
209
- .input-wrapper.size-md .suffix-container {
210
- padding: 0 12px;
211
- }
212
- .input-wrapper.size-md .clear-btn svg,
213
- .input-wrapper.size-md .password-toggle-btn svg {
214
- width: 14px;
215
- height: 14px;
216
- }
217
-
218
- .input-wrapper.size-lg .input-label {
219
- font-size: var(--q-font-size-base, 0.9rem);
220
- }
221
- .input-wrapper.size-lg .input-box {
222
- padding: 14px 18px;
223
- font-size: var(--q-font-size-lg, 1.1rem);
224
- }
225
- .input-wrapper.size-lg .prefix-container,
226
- .input-wrapper.size-lg .suffix-container {
227
- padding: 0 14px;
228
- }
229
- .input-wrapper.size-lg .clear-btn svg,
230
- .input-wrapper.size-lg .password-toggle-btn svg {
231
- width: 16px;
232
- height: 16px;
233
- }
234
-
235
210
  /* Number Spinners */
236
211
  .input-spinners {
237
212
  display: flex;
@@ -275,3 +250,44 @@ input.input-box[type="color"]::-moz-color-swatch {
275
250
  width: 10px;
276
251
  height: 10px;
277
252
  }
253
+
254
+ /* Shared foundation geometry. */
255
+ .input-wrapper .input-control { min-height: var(--q-input-height, var(--_q-control-height)); height: auto; background: var(--q-input-bg, var(--q-field-bg, var(--q-bg-field, var(--q-bg-surface-3, #22304d)))); }
256
+ .input-wrapper:is(.size-sm, .size-md, .size-lg, .size-inherit) .input-box { min-width: 0; padding: var(--q-input-padding, 0 var(--_q-control-padding)); min-height: calc(var(--q-input-height, var(--_q-control-height)) - 2px); font-size: var(--_q-control-font); line-height: var(--_q-control-line); }
257
+ .input-wrapper .prefix-container, .input-wrapper .suffix-container { padding-inline: var(--_q-control-padding); }
258
+ .input-wrapper .clear-btn svg, .input-wrapper .password-toggle-btn svg { width: var(--_q-control-icon); height: var(--_q-control-icon); }
259
+
260
+ :host { min-width: 0; }
261
+ .q-label-hidden {
262
+ position: absolute !important;
263
+ width: 1px !important;
264
+ height: 1px !important;
265
+ padding: 0 !important;
266
+ margin: -1px !important;
267
+ overflow: hidden !important;
268
+ clip-path: inset(50%);
269
+ white-space: nowrap;
270
+ border: 0 !important;
271
+ }
272
+ .q-field-feedback {
273
+ display: block;
274
+ min-block-size: var(--_q-feedback-min, var(--q-context-feedback-min, 0px));
275
+ font-family: var(--q-font-family, inherit);
276
+ font-size: var(--q-field-feedback-font, .75rem);
277
+ font-weight: 400;
278
+ line-height: 1rem;
279
+ color: var(--q-fg-muted, #9ca3af);
280
+ overflow-wrap: anywhere;
281
+ margin: min(var(--q-space-xs, .25rem), var(--_q-feedback-min, var(--q-context-feedback-min, 0px))) 0 0;
282
+ }
283
+ .q-field-feedback:not(:empty) { margin-top: var(--q-space-xs, .25rem); }
284
+ .q-field-feedback.error-msg { color: var(--_q-field-error-color, var(--q-color-danger, #f87171)); }
285
+ [part='label']:not(.q-label-hidden) {
286
+ font-family: var(--q-font-family, inherit);
287
+ font-size: var(--q-field-label-font, .75rem);
288
+ font-weight: 600;
289
+ line-height: 1rem;
290
+ margin-bottom: var(--q-space-xs, .25rem);
291
+ overflow-wrap: anywhere;
292
+ }
293
+
@@ -1,3 +1,4 @@
1
+ import { fieldFeedback, feedbackStyle } from "../../shared/field";
1
2
  import { h } from "@stencil/core";
2
3
  import { syncNativeControlValidity } from "../../../utils/form-control-validity";
3
4
  import { hasAssignedSlotContent } from "./input.utils";
@@ -19,14 +20,20 @@ export class QInput {
19
20
  label;
20
21
  /** Accessible name for the native input when a visible label is not used. */
21
22
  ariaLabel = null;
22
- size = 'md';
23
+ /** Supporting text, replaced by an active error. */
24
+ description;
25
+ /** Keep the label accessible without displaying it. */
26
+ labelHidden = false;
27
+ /** Omitted inherits the enclosing form; false cancels reservation. */
28
+ reserveFeedback;
29
+ size = 'inherit';
23
30
  /** Shows a clear button when the field has a value. */
24
31
  clearable = false;
25
32
  disabled = false;
26
33
  required = false;
27
34
  /** Validation error text or error-state flag. */
28
35
  error;
29
- /** Validation helper text displayed when the field is in an error state. */
36
+ /** @deprecated Use error. Used when error is empty or unset. */
30
37
  errorMessage;
31
38
  name;
32
39
  /** `password` adds a visibility toggle; `number` adds spinner controls. */
@@ -249,16 +256,16 @@ export class QInput {
249
256
  const isMinDisabled = hasNumericValue && this.min !== undefined && this.min !== null && numericValue <= this.min;
250
257
  const isMaxDisabled = hasNumericValue && this.max !== undefined && this.max !== null && numericValue >= this.max;
251
258
  const ariaLabel = this.ariaLabel?.trim() || undefined;
252
- return (h("div", { key: '08aa1cfd2e3f3c32bbc109dd0ced6d4f9ccbd5d2', class: {
259
+ return (h("div", { key: '4e3f10c0256c42bba21ed2c50d8d0b817252e418', style: feedbackStyle(this.reserveFeedback), class: {
253
260
  'input-wrapper': true,
254
261
  'is-disabled': this.disabled,
255
262
  'has-error': hasError,
256
263
  [`size-${this.size}`]: true
257
- } }, this.label && (h("label", { key: 'd6b6cd29067f2d5bcd872c4e0173c6df87cc41ae', class: "input-label", htmlFor: "q-field", part: "label" }, this.label)), h("div", { key: '06d4836978707b81d40dbbcbc2ca7a0547ea1031', class: "input-control", part: "control" }, h("span", { key: '24b6d8d13280d030312a79f17b703aa259b00641', class: "prefix-container", style: { display: this.hasPrefix ? 'flex' : 'none' }, part: "prefix" }, h("slot", { key: 'a82f32bc02cd210dcc10de561dd58baa25c6fd98', name: "prefix", onSlotchange: this.handlePrefixSlotChange })), h("input", { key: this.type, ref: (el) => (this.inputEl = el), id: "q-field", class: {
264
+ } }, this.label && (h("label", { key: 'ee4ceb0add8f09a8f92169cbca28aab5e0589b16', class: { 'input-label': true, 'q-label-hidden': this.labelHidden }, htmlFor: "q-field", part: "label" }, this.label)), h("div", { key: '43fab24ca58070de570be5ca182942f64e61a902', class: "input-control", part: "control" }, h("span", { key: '06e7231d67ad315a2897a2399a5f47d6efdc02ee', class: "prefix-container", style: { display: this.hasPrefix ? 'flex' : 'none' }, part: "prefix" }, h("slot", { key: '4f95a654ed5708cad6fbe1456a97c1e7fb4adee1', name: "prefix", onSlotchange: this.handlePrefixSlotChange })), h("input", { key: this.type, ref: (el) => (this.inputEl = el), id: "q-field", class: {
258
265
  'input-box': true,
259
266
  'has-prefix-padding': this.hasPrefix,
260
267
  'has-suffix-padding': showSuffixContainer
261
- }, type: inputType, name: this.name, value: this.value, placeholder: this.placeholder, disabled: this.disabled, required: this.required, min: this.min, max: this.max, step: this.step, onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.handleClick, onKeyDown: this.handleKeyDown, role: this.type === 'number' ? 'spinbutton' : undefined, "aria-valuenow": hasNumericValue ? String(numericValue) : undefined, "aria-valuemin": this.type === 'number' && this.min !== undefined && this.min !== null ? String(this.min) : undefined, "aria-valuemax": this.type === 'number' && this.max !== undefined && this.max !== null ? String(this.max) : undefined, "aria-invalid": hasError ? 'true' : 'false', "aria-describedby": hasError ? 'q-field-error' : undefined, "aria-label": ariaLabel }), this.type === 'number' && !this.disabled && (h("div", { key: '08151e8325b52cb1363090527e58e282f75c2ba5', class: "input-spinners", part: "spinners" }, h("button", { key: '6210ff28366658b6de497f0ab94343859dfdcb43', class: "spinner-btn spinner-up", type: "button", onClick: this.handleIncrement, disabled: isMaxDisabled, "aria-label": "Increase value" }, h("svg", { key: 'a138085cebfd388f28796127e54eaf40009b546a', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "aria-hidden": "true" }, h("path", { key: 'ca8d2fc490c22b35cb87714e8091a9fb14d85357', d: "M18 15l-6-6-6 6" }))), h("button", { key: 'acfd745899edc9124bdcbefcc42ee87480583982', class: "spinner-btn spinner-down", type: "button", onClick: this.handleDecrement, disabled: isMinDisabled, "aria-label": "Decrease value" }, h("svg", { key: 'da2417827c7b14538ad7437f0ce084174f46d00e', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "aria-hidden": "true" }, h("path", { key: '9a16d88f27c724581cc7d9f30aa27c2766b72429', d: "M6 9l6 6 6-6" }))))), h("span", { key: '3393389368a778907b4a0de49ff5d6813912ee57', class: "suffix-container", style: { display: showSuffixContainer ? 'flex' : 'none' }, part: "suffix" }, showClearBtn && (h("button", { key: 'c3eedebb165feb59fb7cf1d2956e55df57e9ea4b', class: "clear-btn", type: "button", onClick: this.handleClear, "aria-label": "Clear input" }, h("svg", { key: '76351a3446784a5dc62060bea64b359aa1830da2', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("path", { key: 'cb8c0fad30b1214b6689571e9905c07db158e092', d: "M18 6L6 18M6 6l12 12" })))), showPasswordToggle && (h("button", { key: '0cbfd055abf302836fbfc7d4be8143d5e935022f', class: "password-toggle-btn", type: "button", onClick: this.handlePasswordToggle, "aria-label": this.passwordVisible ? 'Hide password' : 'Show password', "aria-pressed": this.passwordVisible ? 'true' : 'false' }, this.passwordVisible ? (h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "aria-hidden": "true" }, h("path", { d: "M3 3l18 18" }), h("path", { d: "M10.58 10.58A2 2 0 0 0 12 14a2 2 0 0 0 1.42-.58" }), h("path", { d: "M9.88 4.24A10.2 10.2 0 0 1 12 4c7 0 10 8 10 8a18.5 18.5 0 0 1-4.08 5.19" }), h("path", { d: "M6.61 6.61A18.5 18.5 0 0 0 2 12s3 8 10 8a10.7 10.7 0 0 0 5.39-1.61" }))) : (h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "aria-hidden": "true" }, h("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }), h("circle", { cx: "12", cy: "12", r: "3" }))))), h("span", { key: 'b1ca65ea1a0d63f5d521c5b7ae822d790f9e4cf7', style: { display: !showClearBtn && this.hasSuffix ? 'block' : 'none' } }, h("slot", { key: '5374bbe5306e458245fbeffdcfeb487366b1ddb7', name: "suffix", onSlotchange: this.handleSuffixSlotChange })))), hasError && (h("span", { key: '3598e2888edc92705b862fb7197470378bbcfd2e', id: "q-field-error", class: "error-msg", part: "error-msg" }, displayError))));
268
+ }, type: inputType, name: this.name, value: this.value, placeholder: this.placeholder, disabled: this.disabled, required: this.required, min: this.min, max: this.max, step: this.step, onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.handleClick, onKeyDown: this.handleKeyDown, role: this.type === 'number' ? 'spinbutton' : undefined, "aria-valuenow": hasNumericValue ? String(numericValue) : undefined, "aria-valuemin": this.type === 'number' && this.min !== undefined && this.min !== null ? String(this.min) : undefined, "aria-valuemax": this.type === 'number' && this.max !== undefined && this.max !== null ? String(this.max) : undefined, "aria-invalid": hasError ? 'true' : 'false', "aria-describedby": hasError || this.description ? 'q-field-error' : undefined, "aria-label": ariaLabel }), this.type === 'number' && !this.disabled && (h("div", { key: 'a003b95c55e27e953ab5f0eca794bb8fcaae05b8', class: "input-spinners", part: "spinners" }, h("button", { key: '4a968f43230dd91b3a2ddda5f57a569aad687279', class: "spinner-btn spinner-up", type: "button", onClick: this.handleIncrement, disabled: isMaxDisabled, "aria-label": "Increase value" }, h("svg", { key: '60424c3b99e50bebb32fd7aead7818e2da5adac7', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "aria-hidden": "true" }, h("path", { key: '8c3d5dc18da929975e1de91e4e71dadc447cf41c', d: "M18 15l-6-6-6 6" }))), h("button", { key: '03d0667903272fbd3ae14a6e9f0a056c6e676d6d', class: "spinner-btn spinner-down", type: "button", onClick: this.handleDecrement, disabled: isMinDisabled, "aria-label": "Decrease value" }, h("svg", { key: '937c656ae40e87bab6b8b5b0194f3a341f370ce1', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "aria-hidden": "true" }, h("path", { key: '3a3c2db25c2a5c5f98e2cfe5490775a1106e023d', d: "M6 9l6 6 6-6" }))))), h("span", { key: '584a50cccd58e50597e57eaf261b6d149bde59bf', class: "suffix-container", style: { display: showSuffixContainer ? 'flex' : 'none' }, part: "suffix" }, showClearBtn && (h("button", { key: 'de7d65dff1e745ec5362c909897169be7b0ac15a', class: "clear-btn", type: "button", onClick: this.handleClear, "aria-label": "Clear input" }, h("svg", { key: 'b0f78bc3b9b3d97cd118f6602905418a3dbae354', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("path", { key: '8973c4acfda6c4c9f26cedb1f5678937c9dc3823', d: "M18 6L6 18M6 6l12 12" })))), showPasswordToggle && (h("button", { key: '74baf473e1ba79f30bde2ec4b0a5a8a9d781942b', class: "password-toggle-btn", type: "button", onClick: this.handlePasswordToggle, "aria-label": this.passwordVisible ? 'Hide password' : 'Show password', "aria-pressed": this.passwordVisible ? 'true' : 'false' }, this.passwordVisible ? (h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "aria-hidden": "true" }, h("path", { d: "M3 3l18 18" }), h("path", { d: "M10.58 10.58A2 2 0 0 0 12 14a2 2 0 0 0 1.42-.58" }), h("path", { d: "M9.88 4.24A10.2 10.2 0 0 1 12 4c7 0 10 8 10 8a18.5 18.5 0 0 1-4.08 5.19" }), h("path", { d: "M6.61 6.61A18.5 18.5 0 0 0 2 12s3 8 10 8a10.7 10.7 0 0 0 5.39-1.61" }))) : (h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "aria-hidden": "true" }, h("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }), h("circle", { cx: "12", cy: "12", r: "3" }))))), h("span", { key: 'a28828a5ae5c01967247453f1f9a5ee1ce2422ef', style: { display: !showClearBtn && this.hasSuffix ? 'block' : 'none' } }, h("slot", { key: 'd3ec795bdfcacafdb68a33774d1a90cb96b27344', name: "suffix", onSlotchange: this.handleSuffixSlotChange })))), fieldFeedback('q-field-error', displayError, this.description)));
262
269
  }
263
270
  static get is() { return "q-input"; }
264
271
  static get encapsulation() { return "shadow"; }
@@ -355,12 +362,70 @@ export class QInput {
355
362
  "attribute": "aria-label",
356
363
  "defaultValue": "null"
357
364
  },
365
+ "description": {
366
+ "type": "string",
367
+ "mutable": false,
368
+ "complexType": {
369
+ "original": "string",
370
+ "resolved": "string",
371
+ "references": {}
372
+ },
373
+ "required": false,
374
+ "optional": true,
375
+ "docs": {
376
+ "tags": [],
377
+ "text": "Supporting text, replaced by an active error."
378
+ },
379
+ "getter": false,
380
+ "setter": false,
381
+ "reflect": false,
382
+ "attribute": "description"
383
+ },
384
+ "labelHidden": {
385
+ "type": "boolean",
386
+ "mutable": false,
387
+ "complexType": {
388
+ "original": "boolean",
389
+ "resolved": "boolean",
390
+ "references": {}
391
+ },
392
+ "required": false,
393
+ "optional": false,
394
+ "docs": {
395
+ "tags": [],
396
+ "text": "Keep the label accessible without displaying it."
397
+ },
398
+ "getter": false,
399
+ "setter": false,
400
+ "reflect": false,
401
+ "attribute": "label-hidden",
402
+ "defaultValue": "false"
403
+ },
404
+ "reserveFeedback": {
405
+ "type": "boolean",
406
+ "mutable": false,
407
+ "complexType": {
408
+ "original": "boolean",
409
+ "resolved": "boolean",
410
+ "references": {}
411
+ },
412
+ "required": false,
413
+ "optional": true,
414
+ "docs": {
415
+ "tags": [],
416
+ "text": "Omitted inherits the enclosing form; false cancels reservation."
417
+ },
418
+ "getter": false,
419
+ "setter": false,
420
+ "reflect": false,
421
+ "attribute": "reserve-feedback"
422
+ },
358
423
  "size": {
359
424
  "type": "string",
360
425
  "mutable": false,
361
426
  "complexType": {
362
427
  "original": "QInputSize",
363
- "resolved": "\"lg\" | \"md\" | \"sm\"",
428
+ "resolved": "\"inherit\" | \"lg\" | \"md\" | \"sm\"",
364
429
  "references": {
365
430
  "QInputSize": {
366
431
  "location": "import",
@@ -380,7 +445,7 @@ export class QInput {
380
445
  "setter": false,
381
446
  "reflect": false,
382
447
  "attribute": "size",
383
- "defaultValue": "'md'"
448
+ "defaultValue": "'inherit'"
384
449
  },
385
450
  "clearable": {
386
451
  "type": "boolean",
@@ -472,8 +537,11 @@ export class QInput {
472
537
  "required": false,
473
538
  "optional": true,
474
539
  "docs": {
475
- "tags": [],
476
- "text": "Validation helper text displayed when the field is in an error state."
540
+ "tags": [{
541
+ "name": "deprecated",
542
+ "text": "Use error. Used when error is empty or unset."
543
+ }],
544
+ "text": ""
477
545
  },
478
546
  "getter": false,
479
547
  "setter": false,