@webquark/browser 1.1.0-dev.9 → 1.1.1-dev.1

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 (489) hide show
  1. package/dist/cjs/{action.props-N0urQtdP.js → action.props-CNe2JXR5.js} +1 -1
  2. package/dist/cjs/{dom-Dk77oFF6.js → dom-BYrqRYna.js} +1 -1
  3. package/dist/cjs/{field-CsrQGhG-.js → field-BRAR56Ex.js} +1 -1
  4. package/dist/cjs/{form-control-validity-D1ukC0_e.js → form-control-validity-BkilGb3E.js} +3 -3
  5. package/dist/cjs/{index-DWXhKHCB.js → index-BN-WdOQM.js} +17 -1
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/q-accordion.cjs.entry.js +2 -2
  8. package/dist/cjs/q-alert.cjs.entry.js +2 -2
  9. package/dist/cjs/q-avatar.cjs.entry.js +2 -2
  10. package/dist/cjs/q-banner.cjs.entry.js +1 -1
  11. package/dist/cjs/q-button_3.cjs.entry.js +907 -0
  12. package/dist/cjs/q-card.cjs.entry.js +3 -3
  13. package/dist/cjs/q-carousel.cjs.entry.js +120 -18
  14. package/dist/cjs/q-chip.cjs.entry.js +2 -2
  15. package/dist/cjs/q-control-group.cjs.entry.js +64 -0
  16. package/dist/cjs/q-conversation-bubble.cjs.entry.js +1 -1
  17. package/dist/cjs/q-data-table.cjs.entry.js +4 -4
  18. package/dist/cjs/q-dialog.cjs.entry.js +4 -4
  19. package/dist/cjs/q-divider.cjs.entry.js +26 -0
  20. package/dist/cjs/q-dropdown.cjs.entry.js +320 -104
  21. package/dist/cjs/q-form.cjs.entry.js +17 -7
  22. package/dist/cjs/q-grid.cjs.entry.js +3 -3
  23. package/dist/cjs/q-icon.cjs.entry.js +1 -1
  24. package/dist/cjs/q-image-comparison.cjs.entry.js +2 -2
  25. package/dist/cjs/q-inline.cjs.entry.js +3 -3
  26. package/dist/cjs/q-input_2.cjs.entry.js +10 -8
  27. package/dist/cjs/q-link.cjs.entry.js +2 -2
  28. package/dist/cjs/q-map.cjs.entry.js +2 -2
  29. package/dist/cjs/q-media.cjs.entry.js +2 -2
  30. package/dist/cjs/q-navbar.cjs.entry.js +3 -3
  31. package/dist/cjs/q-pagination.cjs.entry.js +2 -2
  32. package/dist/cjs/q-panel.cjs.entry.js +7 -7
  33. package/dist/cjs/q-quantity-selector.cjs.entry.js +6 -6
  34. package/dist/cjs/q-radio-group.cjs.entry.js +4 -4
  35. package/dist/cjs/q-reel.cjs.entry.js +24 -24
  36. package/dist/cjs/q-section.cjs.entry.js +2 -2
  37. package/dist/cjs/q-sidepanel.cjs.entry.js +5 -4
  38. package/dist/cjs/q-slider.cjs.entry.js +122 -0
  39. package/dist/cjs/q-stack.cjs.entry.js +3 -3
  40. package/dist/cjs/q-step-diagram-item.cjs.entry.js +2 -2
  41. package/dist/cjs/q-step-diagram.cjs.entry.js +4 -4
  42. package/dist/cjs/q-syntax-box.cjs.entry.js +180 -719
  43. package/dist/cjs/q-syntax-view.cjs.entry.js +65 -0
  44. package/dist/cjs/q-tabs.cjs.entry.js +2 -2
  45. package/dist/cjs/q-textarea.cjs.entry.js +8 -6
  46. package/dist/cjs/q-thumbnail.cjs.entry.js +3 -3
  47. package/dist/cjs/q-toast.cjs.entry.js +1 -1
  48. package/dist/cjs/q-toggle.cjs.entry.js +7 -7
  49. package/dist/cjs/q-toolbar.cjs.entry.js +4 -4
  50. package/dist/cjs/syntax-content-BmSExDiW.js +910 -0
  51. package/dist/cjs/{tokens-RMRaIOqv.js → tokens-BMrfol_M.js} +4 -1
  52. package/dist/cjs/webquark.cjs.js +2 -2
  53. package/dist/collection/collection-manifest.json +6 -1
  54. package/dist/collection/components/actions/button/button.css +49 -9
  55. package/dist/collection/components/actions/button/{button.utils.unit.test.js → test/button.utils.unit.test.js} +1 -1
  56. package/dist/collection/components/communication/alert/alert.css +4 -1
  57. package/dist/collection/components/content/carousel/carousel.css +7 -0
  58. package/dist/collection/components/content/carousel/carousel.js +256 -10
  59. package/dist/collection/components/content/carousel/internals/autoplay.js +31 -6
  60. package/dist/collection/components/content/carousel/test/transitions.cmp.test.js +122 -0
  61. package/dist/collection/components/data-display/accordion/accordion.js +1 -1
  62. package/dist/collection/components/data-display/data-table/data-table.js +3 -3
  63. package/dist/collection/components/data-display/map/map.js +1 -1
  64. package/dist/collection/components/data-display/map/test/map.cmp.test.js +1 -1
  65. package/dist/collection/components/data-display/pagination/pagination.js +1 -1
  66. package/dist/collection/components/data-display/syntax-box/internals/formatters/css.js +4 -0
  67. package/dist/collection/components/data-display/syntax-box/internals/formatters/formatter.js +20 -0
  68. package/dist/collection/{utils → components/data-display/syntax-box/internals/formatters}/formatter.unit.test.js +38 -11
  69. package/dist/collection/components/data-display/syntax-box/internals/formatters/html.js +4 -0
  70. package/dist/collection/components/data-display/syntax-box/internals/formatters/javascript.js +4 -0
  71. package/dist/collection/{utils/formatter.js → components/data-display/syntax-box/internals/formatters/json.js} +2 -20
  72. package/dist/collection/components/data-display/syntax-box/internals/formatters/languages.js +15 -0
  73. package/dist/collection/components/data-display/syntax-box/internals/formatters/util/prettier.js +17 -0
  74. package/dist/collection/{utils → components/data-display/syntax-box/internals}/syntax.unit.test.js +1 -1
  75. package/dist/collection/components/data-display/syntax-box/internals/views.js +29 -0
  76. package/dist/collection/components/data-display/syntax-box/internals/views.unit.test.js +19 -0
  77. package/dist/collection/components/data-display/syntax-box/syntax-box.css +107 -36
  78. package/dist/collection/components/data-display/syntax-box/syntax-box.js +179 -637
  79. package/dist/collection/components/data-display/syntax-box/syntax-content.js +748 -0
  80. package/dist/collection/components/data-display/syntax-box/syntax-ui.js +8 -0
  81. package/dist/collection/components/data-display/syntax-box/test/format-fixtures.js +2 -2
  82. package/dist/collection/components/data-display/syntax-box/test/syntax-box.cmp.test.js +1 -1
  83. package/dist/collection/components/data-display/syntax-box/test/syntax-format.cmp.test.js +20 -20
  84. package/dist/collection/components/data-display/syntax-box/test/syntax-views.cmp.test.js +228 -0
  85. package/dist/collection/components/data-display/syntax-view/syntax-view.js +64 -0
  86. package/dist/collection/components/indicators/step-diagram/step-diagram.js +2 -2
  87. package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.js +1 -1
  88. package/dist/collection/components/inputs/dropdown/dropdown.css +148 -0
  89. package/dist/collection/components/inputs/dropdown/dropdown.js +422 -104
  90. package/dist/collection/components/inputs/dropdown/test/dropdown.cmp.test.js +28 -0
  91. package/dist/collection/components/inputs/dropdown/test/fit-options.cmp.test.js +120 -0
  92. package/dist/collection/components/inputs/dropdown/test/multiple.cmp.test.js +124 -0
  93. package/dist/collection/components/inputs/dropdown/test/search-mode.cmp.test.js +186 -0
  94. package/dist/collection/components/inputs/form/form.js +2 -2
  95. package/dist/collection/components/inputs/form/internals/controls.js +2 -2
  96. package/dist/collection/components/inputs/form/internals/field-state.js +6 -1
  97. package/dist/collection/components/inputs/form/internals/values.js +5 -0
  98. package/dist/collection/components/inputs/form/test/form-submit.cmp.test.js +14 -8
  99. package/dist/collection/components/inputs/input/input.css +42 -0
  100. package/dist/collection/components/inputs/input/input.js +31 -3
  101. package/dist/collection/components/inputs/quantity-selector/quantity-selector.css +22 -0
  102. package/dist/collection/components/inputs/quantity-selector/quantity-selector.js +4 -4
  103. package/dist/collection/components/inputs/radio-group/radio-group.js +2 -2
  104. package/dist/collection/components/inputs/slider/slider.css +44 -0
  105. package/dist/collection/components/inputs/slider/slider.js +383 -0
  106. package/dist/collection/components/inputs/slider/test/slider.cmp.test.js +45 -0
  107. package/dist/collection/components/inputs/textarea/textarea.css +20 -0
  108. package/dist/collection/components/inputs/textarea/textarea.js +30 -2
  109. package/dist/collection/components/inputs/toggle/test/toggle-layout.cmp.test.js +69 -0
  110. package/dist/collection/components/inputs/toggle/toggle.css +27 -0
  111. package/dist/collection/components/inputs/toggle/toggle.js +3 -3
  112. package/dist/collection/components/layout/control-group/control-group.css +108 -0
  113. package/dist/collection/components/layout/control-group/control-group.js +142 -0
  114. package/dist/collection/components/layout/control-group/test/control-group.cmp.test.js +163 -0
  115. package/dist/collection/components/layout/divider/divider.css +40 -0
  116. package/dist/collection/components/layout/divider/divider.js +121 -0
  117. package/dist/collection/components/layout/divider/test/divider.cmp.test.js +105 -0
  118. package/dist/collection/components/layout/grid/grid.js +1 -1
  119. package/dist/collection/components/layout/inline/inline.js +1 -1
  120. package/dist/collection/components/layout/navbar/navbar.js +2 -2
  121. package/dist/collection/components/layout/panel/panel.js +4 -4
  122. package/dist/collection/components/layout/scrollable/scrollable.js +3 -3
  123. package/dist/collection/components/layout/section/section.js +1 -1
  124. package/dist/collection/components/layout/sidepanel/internals/nav-items.js +2 -2
  125. package/dist/collection/components/layout/sidepanel/sidepanel.js +3 -0
  126. package/dist/collection/components/layout/stack/stack.js +1 -1
  127. package/dist/collection/components/layout/tabs/tabs.js +1 -1
  128. package/dist/collection/components/layout/toolbar/toolbar.js +2 -2
  129. package/dist/collection/components/media/avatar/avatar.js +1 -1
  130. package/dist/collection/components/media/image-comparison/image-comparison.js +1 -1
  131. package/dist/collection/components/media/media/media.js +1 -1
  132. package/dist/collection/components/media/reel/reel.js +23 -23
  133. package/dist/collection/components/media/reel/test/focus.cmp.test.js +33 -0
  134. package/dist/collection/components/media/thumbnail/thumbnail.js +2 -2
  135. package/dist/collection/components/overlays/dialog/dialog.js +2 -2
  136. package/dist/collection/components/overlays/tooltip/tooltip.js +2 -2
  137. package/dist/collection/theme/test/input-width.cmp.test.js +117 -0
  138. package/dist/collection/theme/test/presets.unit.test.js +58 -0
  139. package/dist/collection/theme/tokens.js +4 -1
  140. package/dist/collection/utils/dom.js +1 -1
  141. package/dist/collection/utils/form-control-validity.js +3 -3
  142. package/dist/components/index.js +1 -1
  143. package/dist/components/p-B610wOGe.js +1 -0
  144. package/dist/components/p-BGlbV43y.js +13 -0
  145. package/dist/components/{p-Dfp_If-_.js → p-BKWL9zOn.js} +1 -1
  146. package/dist/components/p-BxxU73QQ.js +1 -0
  147. package/dist/components/{p-Cg0Mv7Vb.js → p-CVEQfA-v.js} +1 -1
  148. package/dist/components/p-CpbWWDiY.js +1 -0
  149. package/dist/{webquark/p-Dhsn99q4.js → components/p-D2fczi8m.js} +1 -1
  150. package/dist/components/{p-6PPZ2sIO.js → p-D5vpGqZ9.js} +1 -1
  151. package/dist/components/p-DQIYo8zC.js +1 -0
  152. package/dist/components/p-DX6PCIPS.js +1 -0
  153. package/dist/components/p-DY9D4z7Z.js +1 -0
  154. package/dist/components/p-DbzjRzhu.js +1 -0
  155. package/dist/components/{p-DQhiqYeq.js → p-DkanItP3.js} +1 -1
  156. package/dist/components/{p-CKuPOxKN.js → p-RX4DjgmV.js} +1 -1
  157. package/dist/components/{p-DlIn_ZWk.js → p-Ts5oOvg8.js} +1 -1
  158. package/dist/components/p-u1Qz6OcP.js +1 -0
  159. package/dist/components/q-accordion.js +1 -1
  160. package/dist/components/q-alert.js +1 -1
  161. package/dist/components/q-avatar.js +1 -1
  162. package/dist/components/q-banner.js +1 -1
  163. package/dist/components/q-button.js +1 -1
  164. package/dist/components/q-card.js +1 -1
  165. package/dist/components/q-carousel.js +1 -1
  166. package/dist/components/q-chip.js +1 -1
  167. package/dist/components/q-control-group.d.ts +11 -0
  168. package/dist/components/q-control-group.js +1 -0
  169. package/dist/components/q-conversation-bubble.js +1 -1
  170. package/dist/components/q-data-table.js +1 -1
  171. package/dist/components/q-dialog.js +1 -1
  172. package/dist/components/q-divider.d.ts +11 -0
  173. package/dist/components/q-divider.js +1 -0
  174. package/dist/components/q-dropdown.js +1 -1
  175. package/dist/components/q-form.js +1 -1
  176. package/dist/components/q-grid.js +1 -1
  177. package/dist/components/q-icon.js +1 -1
  178. package/dist/components/q-image-comparison.js +1 -1
  179. package/dist/components/q-inline.js +1 -1
  180. package/dist/components/q-input.js +1 -1
  181. package/dist/components/q-link.js +1 -1
  182. package/dist/components/q-map.js +1 -1
  183. package/dist/components/q-media.js +1 -1
  184. package/dist/components/q-navbar.js +1 -1
  185. package/dist/components/q-pagination.js +1 -1
  186. package/dist/components/q-panel.js +1 -1
  187. package/dist/components/q-progress.js +1 -1
  188. package/dist/components/q-quantity-selector.js +1 -1
  189. package/dist/components/q-radio-group.js +1 -1
  190. package/dist/components/q-reel.js +1 -1
  191. package/dist/components/q-scrollable.js +1 -1
  192. package/dist/components/q-section.js +1 -1
  193. package/dist/components/q-sidepanel.js +2 -2
  194. package/dist/components/q-slider.d.ts +11 -0
  195. package/dist/components/q-slider.js +1 -0
  196. package/dist/components/q-stack.js +1 -1
  197. package/dist/components/q-step-diagram-item.js +1 -1
  198. package/dist/components/q-step-diagram.js +1 -1
  199. package/dist/components/q-syntax-box.js +1 -13
  200. package/dist/components/q-syntax-view.d.ts +11 -0
  201. package/dist/components/q-syntax-view.js +1 -0
  202. package/dist/components/q-tabs.js +1 -1
  203. package/dist/components/q-textarea.js +1 -1
  204. package/dist/components/q-thumbnail.js +1 -1
  205. package/dist/components/q-toast.js +1 -1
  206. package/dist/components/q-toggle.js +1 -1
  207. package/dist/components/q-toolbar.js +1 -1
  208. package/dist/components/q-tooltip.js +1 -1
  209. package/dist/esm/{action.props-CpnGza8z.js → action.props-CbSH7c-q.js} +1 -1
  210. package/dist/esm/{dom-ByfrUWx1.js → dom-B610wOGe.js} +2 -2
  211. package/dist/esm/{field-zfD6OQ02.js → field-D5xUxo11.js} +1 -1
  212. package/dist/esm/{form-control-validity-Bj2RJb2E.js → form-control-validity-BxxU73QQ.js} +3 -3
  213. package/dist/esm/{form-submit-action-CoEIvDqE.js → form-submit-action-BjjfVWyu.js} +1 -1
  214. package/dist/esm/{index-B5ElFlHv.js → index-CIMzZPQO.js} +16 -2
  215. package/dist/esm/loader.js +3 -3
  216. package/dist/esm/q-accordion.entry.js +2 -2
  217. package/dist/esm/q-alert.entry.js +2 -2
  218. package/dist/esm/q-avatar.entry.js +2 -2
  219. package/dist/esm/q-banner.entry.js +1 -1
  220. package/dist/esm/q-button_3.entry.js +903 -0
  221. package/dist/esm/q-card.entry.js +3 -3
  222. package/dist/esm/q-carousel.entry.js +120 -18
  223. package/dist/esm/q-chip.entry.js +2 -2
  224. package/dist/esm/q-control-group.entry.js +62 -0
  225. package/dist/esm/q-conversation-bubble.entry.js +1 -1
  226. package/dist/esm/q-data-table.entry.js +4 -4
  227. package/dist/esm/q-dialog.entry.js +4 -4
  228. package/dist/esm/q-divider.entry.js +24 -0
  229. package/dist/esm/q-dropdown.entry.js +320 -104
  230. package/dist/esm/q-form.entry.js +18 -8
  231. package/dist/esm/q-grid.entry.js +3 -3
  232. package/dist/esm/q-icon.entry.js +1 -1
  233. package/dist/esm/q-image-comparison.entry.js +2 -2
  234. package/dist/esm/q-inline.entry.js +3 -3
  235. package/dist/esm/q-input_2.entry.js +10 -8
  236. package/dist/esm/q-link.entry.js +2 -2
  237. package/dist/esm/q-map.entry.js +2 -2
  238. package/dist/esm/q-media.entry.js +2 -2
  239. package/dist/esm/q-navbar.entry.js +3 -3
  240. package/dist/esm/q-pagination.entry.js +2 -2
  241. package/dist/esm/q-panel.entry.js +7 -7
  242. package/dist/esm/q-quantity-selector.entry.js +6 -6
  243. package/dist/esm/q-radio-group.entry.js +4 -4
  244. package/dist/esm/q-reel.entry.js +24 -24
  245. package/dist/esm/q-section.entry.js +2 -2
  246. package/dist/esm/q-sidepanel.entry.js +5 -4
  247. package/dist/esm/q-slider.entry.js +120 -0
  248. package/dist/esm/q-stack.entry.js +3 -3
  249. package/dist/esm/q-step-diagram-item.entry.js +2 -2
  250. package/dist/esm/q-step-diagram.entry.js +4 -4
  251. package/dist/esm/q-syntax-box.entry.js +180 -719
  252. package/dist/esm/q-syntax-view.entry.js +63 -0
  253. package/dist/esm/q-tabs.entry.js +2 -2
  254. package/dist/esm/q-textarea.entry.js +8 -6
  255. package/dist/esm/q-thumbnail.entry.js +3 -3
  256. package/dist/esm/q-toast.entry.js +1 -1
  257. package/dist/esm/q-toggle.entry.js +7 -7
  258. package/dist/esm/q-toolbar.entry.js +4 -4
  259. package/dist/esm/syntax-content-Cr9kSbmA.js +903 -0
  260. package/dist/esm/{tokens-B4Mg1xEw.js → tokens-DbzjRzhu.js} +4 -1
  261. package/dist/esm/webquark.js +3 -3
  262. package/dist/formatters/prettier/LICENSE +7 -0
  263. package/dist/formatters/prettier/THIRD-PARTY-NOTICES.md +7941 -0
  264. package/dist/formatters/prettier/html-fragment.mjs +1 -0
  265. package/dist/formatters/prettier/html-fragment.mjs.gz +0 -0
  266. package/dist/formatters/prettier/languages/angular.mjs +1 -0
  267. package/dist/formatters/prettier/languages/angular.mjs.gz +0 -0
  268. package/dist/formatters/prettier/languages/css.mjs +1 -0
  269. package/dist/formatters/prettier/languages/css.mjs.gz +0 -0
  270. package/dist/formatters/prettier/languages/flow.mjs +1 -0
  271. package/dist/formatters/prettier/languages/flow.mjs.gz +0 -0
  272. package/dist/formatters/prettier/languages/graphql.mjs +1 -0
  273. package/dist/formatters/prettier/languages/graphql.mjs.gz +0 -0
  274. package/dist/formatters/prettier/languages/handlebars.mjs +1 -0
  275. package/dist/formatters/prettier/languages/handlebars.mjs.gz +0 -0
  276. package/dist/formatters/prettier/languages/html.mjs +1 -0
  277. package/dist/formatters/prettier/languages/html.mjs.gz +0 -0
  278. package/dist/formatters/prettier/languages/javascript.mjs +1 -0
  279. package/dist/formatters/prettier/languages/javascript.mjs.gz +0 -0
  280. package/dist/formatters/prettier/languages/json-stringify.mjs +1 -0
  281. package/dist/formatters/prettier/languages/json-stringify.mjs.gz +0 -0
  282. package/dist/formatters/prettier/languages/json.mjs +1 -0
  283. package/dist/formatters/prettier/languages/json.mjs.gz +0 -0
  284. package/dist/formatters/prettier/languages/json5.mjs +1 -0
  285. package/dist/formatters/prettier/languages/json5.mjs.gz +0 -0
  286. package/dist/formatters/prettier/languages/jsonc.mjs +1 -0
  287. package/dist/formatters/prettier/languages/jsonc.mjs.gz +0 -0
  288. package/dist/formatters/prettier/languages/jsx.mjs +1 -0
  289. package/dist/formatters/prettier/languages/jsx.mjs.gz +0 -0
  290. package/dist/formatters/prettier/languages/less.mjs +1 -0
  291. package/dist/formatters/prettier/languages/less.mjs.gz +0 -0
  292. package/dist/formatters/prettier/languages/lwc.mjs +1 -0
  293. package/dist/formatters/prettier/languages/lwc.mjs.gz +0 -0
  294. package/dist/formatters/prettier/languages/markdown.mjs +1 -0
  295. package/dist/formatters/prettier/languages/markdown.mjs.gz +0 -0
  296. package/dist/formatters/prettier/languages/mdx.mjs +1 -0
  297. package/dist/formatters/prettier/languages/mdx.mjs.gz +0 -0
  298. package/dist/formatters/prettier/languages/mjml.mjs +1 -0
  299. package/dist/formatters/prettier/languages/mjml.mjs.gz +0 -0
  300. package/dist/formatters/prettier/languages/postcss.mjs +1 -0
  301. package/dist/formatters/prettier/languages/postcss.mjs.gz +0 -0
  302. package/dist/formatters/prettier/languages/scss.mjs +1 -0
  303. package/dist/formatters/prettier/languages/scss.mjs.gz +0 -0
  304. package/dist/formatters/prettier/languages/tsx.mjs +1 -0
  305. package/dist/formatters/prettier/languages/tsx.mjs.gz +0 -0
  306. package/dist/formatters/prettier/languages/typescript.mjs +1 -0
  307. package/dist/formatters/prettier/languages/typescript.mjs.gz +0 -0
  308. package/dist/formatters/prettier/languages/vue.mjs +1 -0
  309. package/dist/formatters/prettier/languages/vue.mjs.gz +0 -0
  310. package/dist/formatters/prettier/languages/yaml.mjs +1 -0
  311. package/dist/formatters/prettier/languages/yaml.mjs.gz +0 -0
  312. package/dist/formatters/prettier/manifest.json +87 -0
  313. package/dist/formatters/prettier/plugins/acorn.mjs +17 -0
  314. package/dist/formatters/prettier/plugins/acorn.mjs.gz +0 -0
  315. package/dist/formatters/prettier/plugins/angular.mjs +7 -0
  316. package/dist/formatters/prettier/plugins/angular.mjs.gz +0 -0
  317. package/dist/formatters/prettier/plugins/babel.mjs +16 -0
  318. package/dist/formatters/prettier/plugins/babel.mjs.gz +0 -0
  319. package/dist/formatters/prettier/plugins/estree.mjs +44 -0
  320. package/dist/formatters/prettier/plugins/estree.mjs.gz +0 -0
  321. package/dist/formatters/prettier/plugins/flow.mjs +7 -0
  322. package/dist/formatters/prettier/plugins/flow.mjs.gz +0 -0
  323. package/dist/formatters/prettier/plugins/glimmer.mjs +37 -0
  324. package/dist/formatters/prettier/plugins/glimmer.mjs.gz +0 -0
  325. package/dist/formatters/prettier/plugins/graphql.mjs +17 -0
  326. package/dist/formatters/prettier/plugins/graphql.mjs.gz +0 -0
  327. package/dist/formatters/prettier/plugins/html.mjs +25 -0
  328. package/dist/formatters/prettier/plugins/html.mjs.gz +0 -0
  329. package/dist/formatters/prettier/plugins/markdown.mjs +70 -0
  330. package/dist/formatters/prettier/plugins/markdown.mjs.gz +0 -0
  331. package/dist/formatters/prettier/plugins/meriyah.mjs +9 -0
  332. package/dist/formatters/prettier/plugins/meriyah.mjs.gz +0 -0
  333. package/dist/formatters/prettier/plugins/postcss.mjs +62 -0
  334. package/dist/formatters/prettier/plugins/postcss.mjs.gz +0 -0
  335. package/dist/formatters/prettier/plugins/typescript.mjs +22 -0
  336. package/dist/formatters/prettier/plugins/typescript.mjs.gz +0 -0
  337. package/dist/formatters/prettier/plugins/yaml.mjs +150 -0
  338. package/dist/formatters/prettier/plugins/yaml.mjs.gz +0 -0
  339. package/dist/formatters/prettier/runtime.d.mts +2 -0
  340. package/dist/formatters/prettier/runtime.mjs +1 -0
  341. package/dist/formatters/prettier/runtime.mjs.gz +0 -0
  342. package/dist/formatters/prettier/standalone.mjs +29 -0
  343. package/dist/formatters/prettier/standalone.mjs.gz +0 -0
  344. package/dist/playground/components/theme-designer/dimension-tokens.js +9 -0
  345. package/dist/playground/components/theme-designer/token-row.js +60 -0
  346. package/dist/playground/dom-factory.js +76 -0
  347. package/dist/playground/utils/color.js +15 -0
  348. package/dist/playground/utils/dom.js +38 -0
  349. package/dist/playground/utils/index.js +2 -0
  350. package/dist/types/components/content/carousel/carousel.d.ts +23 -2
  351. package/dist/types/components/content/carousel/carousel.types.d.ts +6 -0
  352. package/dist/types/components/content/carousel/internals/autoplay.d.ts +5 -0
  353. package/dist/types/components/data-display/syntax-box/internals/formatters/css.d.ts +1 -0
  354. package/dist/types/components/data-display/syntax-box/internals/formatters/formatter.d.ts +10 -0
  355. package/dist/types/components/data-display/syntax-box/internals/formatters/formatter.types.d.ts +4 -0
  356. package/dist/types/components/data-display/syntax-box/internals/formatters/html.d.ts +1 -0
  357. package/dist/types/components/data-display/syntax-box/internals/formatters/javascript.d.ts +1 -0
  358. package/dist/types/components/data-display/syntax-box/internals/formatters/json.d.ts +6 -0
  359. package/dist/types/components/data-display/syntax-box/internals/formatters/languages.d.ts +27 -0
  360. package/dist/types/components/data-display/syntax-box/internals/formatters/util/prettier.d.ts +3 -0
  361. package/dist/types/{utils → components/data-display/syntax-box/internals}/syntax.d.ts +1 -1
  362. package/dist/types/components/data-display/syntax-box/internals/syntax.unit.test.d.ts +1 -0
  363. package/dist/types/components/data-display/syntax-box/internals/views.d.ts +11 -0
  364. package/dist/types/components/data-display/syntax-box/internals/views.unit.test.d.ts +1 -0
  365. package/dist/types/components/data-display/syntax-box/syntax-box.d.ts +66 -63
  366. package/dist/types/components/data-display/syntax-box/syntax-box.types.d.ts +1 -1
  367. package/dist/types/components/data-display/syntax-box/syntax-content.d.ts +41 -0
  368. package/dist/types/components/data-display/syntax-box/syntax-ui.d.ts +15 -0
  369. package/dist/types/components/data-display/syntax-box/test/format-fixtures.d.ts +1 -1
  370. package/dist/types/components/data-display/syntax-box/test/syntax-views.cmp.test.d.ts +1 -0
  371. package/dist/types/components/data-display/syntax-view/syntax-view.d.ts +48 -0
  372. package/dist/types/components/inputs/dropdown/dropdown.d.ts +45 -1
  373. package/dist/types/components/inputs/dropdown/test/fit-options.cmp.test.d.ts +3 -0
  374. package/dist/types/components/inputs/dropdown/test/multiple.cmp.test.d.ts +1 -0
  375. package/dist/types/components/inputs/dropdown/test/search-mode.cmp.test.d.ts +1 -0
  376. package/dist/types/components/inputs/form/internals/field-state.d.ts +1 -1
  377. package/dist/types/components/inputs/input/input.d.ts +3 -0
  378. package/dist/types/components/inputs/slider/slider.d.ts +45 -0
  379. package/dist/types/components/inputs/slider/test/slider.cmp.test.d.ts +1 -0
  380. package/dist/types/components/inputs/textarea/textarea.d.ts +3 -1
  381. package/dist/types/components/inputs/toggle/test/toggle-layout.cmp.test.d.ts +1 -0
  382. package/dist/types/components/layout/control-group/control-group.d.ts +20 -0
  383. package/dist/types/components/layout/control-group/test/control-group.cmp.test.d.ts +7 -0
  384. package/dist/types/components/layout/divider/divider.d.ts +15 -0
  385. package/dist/types/components/layout/divider/test/divider.cmp.test.d.ts +1 -0
  386. package/dist/types/components/layout/sidepanel/sidepanel.d.ts +2 -0
  387. package/dist/types/components/layout/sidepanel/sidepanel.types.d.ts +1 -0
  388. package/dist/types/components/media/reel/reel.d.ts +3 -3
  389. package/dist/types/components/media/reel/test/focus.cmp.test.d.ts +1 -0
  390. package/dist/types/components.d.ts +591 -13
  391. package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/components/theme-designer/dimension-tokens.d.ts +3 -0
  392. package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/components/theme-designer/token-row.d.ts +14 -0
  393. package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/dom-factory.d.ts +13 -0
  394. package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/utils/color.d.ts +2 -0
  395. package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/utils/dom.d.ts +15 -0
  396. package/dist/types/home/runner/work/WebQuark/WebQuark/.stencil/src/playground/utils/index.d.ts +2 -0
  397. package/dist/types/index.d.ts +2 -2
  398. package/dist/types/theme/test/input-width.cmp.test.d.ts +3 -0
  399. package/dist/types/theme/test/presets.unit.test.d.ts +1 -0
  400. package/dist/types/theme/tokens.d.ts +9 -0
  401. package/dist/types/utils/form-control-validity.d.ts +2 -1
  402. package/dist/types/utils/form-field-adapter.d.ts +3 -3
  403. package/dist/webquark/p-014c2f4a.entry.js +1 -0
  404. package/dist/webquark/p-0389577c.entry.js +1 -0
  405. package/dist/webquark/p-041e17c1.entry.js +1 -0
  406. package/dist/webquark/p-0479c571.entry.js +1 -0
  407. package/dist/webquark/p-0ebca9be.entry.js +1 -0
  408. package/dist/webquark/{p-fe8c634a.entry.js → p-1bf375f7.entry.js} +2 -2
  409. package/dist/webquark/{p-6bfffa79.entry.js → p-20dc3ab5.entry.js} +1 -1
  410. package/dist/webquark/p-28d3348f.entry.js +1 -0
  411. package/dist/webquark/p-35c177d3.entry.js +1 -0
  412. package/dist/webquark/{p-99d785ca.entry.js → p-3a60086d.entry.js} +1 -1
  413. package/dist/webquark/{p-3bc4629c.entry.js → p-3ab798aa.entry.js} +1 -1
  414. package/dist/webquark/{p-9e78b796.entry.js → p-3b580baf.entry.js} +1 -1
  415. package/dist/webquark/{p-888e46a8.entry.js → p-3b65f787.entry.js} +1 -1
  416. package/dist/webquark/p-4bf610f8.entry.js +1 -0
  417. package/dist/webquark/{p-4d61b70d.entry.js → p-4d30227e.entry.js} +1 -1
  418. package/dist/webquark/{p-70d9ffde.entry.js → p-4de536ae.entry.js} +1 -1
  419. package/dist/webquark/{p-90b0858c.entry.js → p-4e4d70c9.entry.js} +1 -1
  420. package/dist/webquark/p-4efeb7c9.entry.js +1 -0
  421. package/dist/webquark/{p-dd115868.entry.js → p-51b3d71b.entry.js} +1 -1
  422. package/dist/webquark/p-778b6bbb.entry.js +1 -0
  423. package/dist/webquark/{p-f63b7214.entry.js → p-7da78b2f.entry.js} +1 -1
  424. package/dist/webquark/{p-9ff7e5a4.entry.js → p-7f8f986b.entry.js} +1 -1
  425. package/dist/webquark/p-8253c742.entry.js +1 -0
  426. package/dist/webquark/{p-059daa8a.entry.js → p-9a1ddeb7.entry.js} +1 -1
  427. package/dist/webquark/p-B610wOGe.js +1 -0
  428. package/dist/webquark/p-BxxU73QQ.js +1 -0
  429. package/dist/webquark/p-CIMzZPQO.js +3 -0
  430. package/dist/webquark/p-CfR85WgM.js +13 -0
  431. package/dist/{components/p-BofcK-7Z.js → webquark/p-D8p28N9s.js} +1 -1
  432. package/dist/webquark/p-DbzjRzhu.js +1 -0
  433. package/dist/webquark/{p-BOdNg0jc.js → p-DeOEN0si.js} +1 -1
  434. package/dist/webquark/{p-d0fbd2b1.entry.js → p-a2b1de23.entry.js} +1 -1
  435. package/dist/webquark/{p-48fb5228.entry.js → p-a55edc17.entry.js} +1 -1
  436. package/dist/webquark/p-a8808020.entry.js +1 -0
  437. package/dist/webquark/{p-f4f97e74.entry.js → p-b1084b3c.entry.js} +1 -1
  438. package/dist/webquark/{p-36118d90.entry.js → p-b6c4dff4.entry.js} +1 -1
  439. package/dist/webquark/p-b962e950.entry.js +1 -0
  440. package/dist/webquark/{p-023f8437.entry.js → p-bc369cd6.entry.js} +1 -1
  441. package/dist/webquark/p-c119a8ea.entry.js +1 -0
  442. package/dist/webquark/p-c6b77e9a.entry.js +1 -0
  443. package/dist/webquark/{p-030ecde3.entry.js → p-ca1c03b4.entry.js} +1 -1
  444. package/dist/webquark/{p-8ece2c62.entry.js → p-ce436162.entry.js} +1 -1
  445. package/dist/webquark/{p-0aa74ad6.entry.js → p-d0a47a7c.entry.js} +1 -1
  446. package/dist/webquark/{p-fec6fe0a.entry.js → p-e1fbc8fc.entry.js} +1 -1
  447. package/dist/webquark/{p-09cca7b9.entry.js → p-e32833ce.entry.js} +1 -1
  448. package/dist/webquark/p-e369a4aa.entry.js +1 -0
  449. package/dist/webquark/p-e4430c61.entry.js +1 -0
  450. package/dist/webquark/{p-f9ad63ff.entry.js → p-e9c0052b.entry.js} +1 -1
  451. package/dist/webquark/{p-f1bac94c.entry.js → p-f5c4ca18.entry.js} +1 -1
  452. package/dist/webquark/{p-64096386.entry.js → p-f6683126.entry.js} +1 -1
  453. package/dist/webquark/{p-DWO-pleQ.js → p-ojSDiptZ.js} +1 -1
  454. package/dist/webquark/webquark.css +1 -1
  455. package/dist/webquark/webquark.esm.js +1 -1
  456. package/package.json +6 -2
  457. package/dist/cjs/q-button_2.cjs.entry.js +0 -462
  458. package/dist/cjs/q-scrollable.cjs.entry.js +0 -449
  459. package/dist/components/p-B4Mg1xEw.js +0 -1
  460. package/dist/components/p-BH4gQWub.js +0 -1
  461. package/dist/components/p-Bj2RJb2E.js +0 -1
  462. package/dist/components/p-ByfrUWx1.js +0 -1
  463. package/dist/components/p-CN1ut2Lb.js +0 -1
  464. package/dist/components/p-ye27qtRo.js +0 -1
  465. package/dist/esm/q-button_2.entry.js +0 -459
  466. package/dist/esm/q-scrollable.entry.js +0 -447
  467. package/dist/types/utils/formatter.d.ts +0 -15
  468. package/dist/webquark/p-04c8cb9e.entry.js +0 -1
  469. package/dist/webquark/p-0ae43d6c.entry.js +0 -1
  470. package/dist/webquark/p-0c3aac3f.entry.js +0 -1
  471. package/dist/webquark/p-144ef339.entry.js +0 -1
  472. package/dist/webquark/p-296fbdb1.entry.js +0 -1
  473. package/dist/webquark/p-5f232b44.entry.js +0 -13
  474. package/dist/webquark/p-6e28cfe2.entry.js +0 -1
  475. package/dist/webquark/p-91fff6b6.entry.js +0 -1
  476. package/dist/webquark/p-923dac41.entry.js +0 -1
  477. package/dist/webquark/p-97a89cae.entry.js +0 -1
  478. package/dist/webquark/p-B4Mg1xEw.js +0 -1
  479. package/dist/webquark/p-B5ElFlHv.js +0 -3
  480. package/dist/webquark/p-Bj2RJb2E.js +0 -1
  481. package/dist/webquark/p-ByfrUWx1.js +0 -1
  482. package/dist/webquark/p-c523ec6f.entry.js +0 -1
  483. package/dist/webquark/p-d0253d64.entry.js +0 -1
  484. package/dist/webquark/p-f98f9439.entry.js +0 -1
  485. package/dist/webquark/p-fe200f68.entry.js +0 -1
  486. /package/dist/{types/components/actions/button/button.utils.unit.test.d.ts → collection/components/data-display/syntax-box/internals/formatters/formatter.types.js} +0 -0
  487. /package/dist/collection/{utils → components/data-display/syntax-box/internals}/syntax.js +0 -0
  488. /package/dist/types/{utils/formatter.unit.test.d.ts → components/actions/button/test/button.utils.unit.test.d.ts} +0 -0
  489. /package/dist/types/{utils/syntax.unit.test.d.ts → components/data-display/syntax-box/internals/formatters/formatter.unit.test.d.ts} +0 -0
@@ -0,0 +1,27 @@
1
+ export declare const formatterLanguages: {
2
+ readonly html: "HTML";
3
+ readonly javascript: "JavaScript";
4
+ readonly css: "CSS";
5
+ readonly json: "JSON";
6
+ readonly typescript: "TypeScript";
7
+ readonly jsx: "JSX";
8
+ readonly tsx: "TSX";
9
+ readonly flow: "Flow";
10
+ readonly json5: "JSON5";
11
+ readonly jsonc: "JSON with Comments";
12
+ readonly 'json-stringify': "JSON.stringify";
13
+ readonly postcss: "PostCSS";
14
+ readonly less: "Less";
15
+ readonly scss: "SCSS";
16
+ readonly angular: "Angular";
17
+ readonly vue: "Vue";
18
+ readonly lwc: "Lightning Web Components";
19
+ readonly mjml: "MJML";
20
+ readonly handlebars: "Handlebars";
21
+ readonly graphql: "GraphQL";
22
+ readonly markdown: "Markdown";
23
+ readonly mdx: "MDX";
24
+ readonly yaml: "YAML";
25
+ };
26
+ export type FormatterLanguage = keyof typeof formatterLanguages;
27
+ export declare function formatterLanguage(value: string): FormatterLanguage | undefined;
@@ -0,0 +1,3 @@
1
+ import type { SyntaxFormatResult } from '../formatter.types';
2
+ import type { FormatterLanguage } from '../languages';
3
+ export declare function formatPrettierSource(code: string, language: FormatterLanguage): Promise<SyntaxFormatResult>;
@@ -4,7 +4,7 @@ export interface SyntaxToken {
4
4
  className?: 'code-comment' | 'code-value' | 'code-tag' | 'code-number' | 'code-attr';
5
5
  }
6
6
  export declare function escapeHtml(text: string): string;
7
- export declare function tokenizeSyntax(text: string, language: 'html' | 'javascript' | 'css' | 'json'): SyntaxToken[];
7
+ export declare function tokenizeSyntax(text: string, language: string): SyntaxToken[];
8
8
  /** HTML-string callers escape each raw segment once; components can render the same tokens as text nodes. */
9
9
  export declare function highlight(text: string, language: 'html' | 'javascript' | 'css' | 'json'): string;
10
10
  export declare const highlightHtml: (text: string) => string;
@@ -0,0 +1,11 @@
1
+ import type { QSyntaxBoxVariant } from '../syntax-box.types';
2
+ export interface SyntaxOwner {
3
+ variant: QSyntaxBoxVariant;
4
+ visible(view: HTMLElement): boolean;
5
+ select(view: HTMLElement): void;
6
+ }
7
+ export declare const syntaxBoxes: WeakMap<HTMLElement, SyntaxOwner>, syntaxScrollRestorers: WeakMap<HTMLElement, () => void>, syntaxVisibility: WeakMap<HTMLElement, () => void>;
8
+ export declare function syntaxOwner(view: HTMLElement): SyntaxOwner | undefined;
9
+ export declare function revealSyntaxEditor(editor: HTMLElement): void;
10
+ export declare function ownContentNodes(host: HTMLElement): ChildNode[];
11
+ export declare function hasSlottedSource(host: HTMLElement): boolean;
@@ -1,72 +1,75 @@
1
- import { EventEmitter } from '../../../stencil-public-runtime';
2
- import type { QSyntaxBoxLanguage, QSyntaxBoxVariant } from './syntax-box.types';
3
- /**
4
- * Displays and optionally edits syntax-highlighted code, with form association in editable mode.
5
- * @slot - Read-only fallback content rendered when `code` is not provided.
6
- * @slot actions - Additional actions rendered in the panel header.
7
- */
8
- export declare class QSyntaxBox {
9
- el: HTMLElement;
10
- internals: ElementInternals;
11
- /** Mirrored with `value`; prefer `code` for domain usage. */
12
- code?: string;
13
- /** Form-value alias mirrored with `code` for compatibility. */
14
- value?: string;
15
- /** Shown only in the panel variant. */
16
- heading?: string;
17
- /** Accessible name for the editor; falls back to `heading`, then the language. */
18
- ariaLabel: string | null;
1
+ import type { QSyntaxBoxVariant } from './syntax-box.types';
2
+ declare const QSyntaxBox_base: abstract new (...args: any[]) => {
3
+ componentWillLoad: () => void;
4
+ componentDidLoad: () => void;
5
+ heading: string;
19
6
  variant: QSyntaxBoxVariant;
20
- /** Explicit content height. Panel mode defaults to 110px; plain mode defaults to auto. */
21
- height?: string;
7
+ name: string;
8
+ height: string;
9
+ disabled: boolean;
10
+ ariaLabel: string;
11
+ value: string;
12
+ required: boolean;
13
+ code: string;
22
14
  copyable: boolean;
23
15
  editable: boolean;
24
- /** Form field name used when the component is editable. */
25
- name?: string;
26
- /** Marks the editable textarea as required for form validation. */
27
- required: boolean;
28
- language: QSyntaxBoxLanguage;
29
- /** Disables editing and panel actions. */
30
- disabled: boolean;
31
- /** Emitted when editable content is committed by the native change event or by formatting. */
32
- qChange: EventEmitter<string>;
33
- /** Emitted on each editable content input and after formatting. */
34
- qInput: EventEmitter<string>;
35
- private disabledState;
36
- private get isDisabled();
16
+ language: "json" | "html" | "javascript" | "css" | "typescript" | "jsx" | "tsx" | "flow" | "json5" | "jsonc" | "json-stringify" | "postcss" | "less" | "scss" | "angular" | "vue" | "lwc" | "mjml" | "handlebars" | "graphql" | "markdown" | "mdx" | "yaml";
17
+ qChange: import("@stencil/core").EventEmitter<string>;
18
+ qInput: import("@stencil/core").EventEmitter<string>;
19
+ el: HTMLElement;
20
+ internals: ElementInternals;
37
21
  copied: boolean;
38
22
  copyFailed: boolean;
39
- formatMessage?: string;
40
- private initialValue;
41
- private copiedTimeoutId?;
42
- private scrollableEl?;
43
- private preEl?;
44
- watchCode(newCode: string | undefined): void;
45
- watchValue(newValue: string | undefined): void;
46
- watchConstraints(): void;
47
- watchEditable(): void;
48
- componentWillLoad(): void;
49
- formDisabledCallback(): void;
50
- componentDidLoad(): void;
23
+ formatMessage: string;
24
+ watchCode: (newCode: string | undefined) => void;
25
+ watchValue: (newValue: string | undefined) => void;
26
+ watchLanguage: () => void;
27
+ watchConstraints: () => void;
28
+ watchEditable: () => void;
29
+ formDisabledCallback: () => void;
30
+ formResetCallback: () => void;
31
+ scrollToBottom: () => Promise<void>;
32
+ checkValidity: () => Promise<boolean>;
33
+ reportValidity: () => Promise<boolean>;
34
+ renderContent: (variant: QSyntaxBoxVariant) => any[];
35
+ renderActions: () => any;
36
+ } & import("./syntax-content").SyntaxContentLifecycle;
37
+ /**
38
+ * Displays syntax-highlighted content and automatically adds tabs for multiple views.
39
+ * @slot - Read-only fallback content or direct q-syntax-view children.
40
+ * @slot heading - Custom title content in the single-view panel header.
41
+ * @slot actions - Additional actions for the box's own view.
42
+ */
43
+ export declare class QSyntaxBox extends QSyntaxBox_base {
44
+ el: HTMLElement;
45
+ internals: ElementInternals;
46
+ private readonly instanceId;
47
+ private readonly identities;
48
+ private nextView;
49
+ private views;
50
+ private selected?;
51
+ private observer?;
52
+ private tabSelector?;
53
+ private focusWithin;
54
+ private restoreFocus;
55
+ private activeVariant?;
56
+ private linkFrame?;
57
+ connectedCallback(): void;
58
+ componentWillRender(): void;
51
59
  componentDidRender(): void;
52
60
  disconnectedCallback(): void;
53
- formResetCallback(): void;
54
- /** Programmatically scrolls the read-only code body to the bottom when it is wrapped by q-scrollable. */
55
- scrollToBottom(): Promise<void>;
56
- /** Returns whether editable content satisfies native constraints. */
57
- checkValidity(): Promise<boolean>;
58
- /** Reports editable constraint violations and returns whether the control is valid. */
59
- reportValidity(): Promise<boolean>;
60
- private syncFormValue;
61
- private syncValidity;
62
- private clearCopiedTimeout;
63
- private scheduleCopyStateReset;
64
- private copyCode;
65
- private handleScroll;
66
- private handleInput;
67
- private handleChange;
68
- private handleKeyDown;
69
- private handleFormat;
70
- private getCopyTooltipContent;
61
+ visible(view: HTMLElement): boolean;
62
+ select(view: HTMLElement): void;
63
+ private onFocusIn;
64
+ private onFocusOut;
65
+ private collectViews;
66
+ private describeView;
67
+ private replacementView;
68
+ private onTabChange;
69
+ private panel;
70
+ private syncPanels;
71
+ private linkTabs;
72
+ private recoverFocus;
71
73
  render(): any;
72
74
  }
75
+ export {};
@@ -1,2 +1,2 @@
1
1
  export type QSyntaxBoxVariant = 'panel' | 'plain';
2
- export type QSyntaxBoxLanguage = 'html' | 'javascript' | 'css' | 'json';
2
+ export type { FormatterLanguage as QSyntaxBoxLanguage } from './internals/formatters/languages';
@@ -0,0 +1,41 @@
1
+ import { EventEmitter, type MixedInCtor } from '../../../stencil-public-runtime';
2
+ import type { QSyntaxBoxVariant } from './syntax-box.types';
3
+ export interface SyntaxContentLifecycle {
4
+ componentDidRender(): void;
5
+ disconnectedCallback(): void;
6
+ }
7
+ export declare const withSyntaxContent: <T extends MixedInCtor>(Base: T) => MixedInCtor<{
8
+ componentWillLoad: () => void;
9
+ componentDidLoad: () => void;
10
+ heading: string;
11
+ variant: QSyntaxBoxVariant;
12
+ name: string;
13
+ height: string;
14
+ disabled: boolean;
15
+ ariaLabel: string;
16
+ value: string;
17
+ required: boolean;
18
+ code: string;
19
+ copyable: boolean;
20
+ editable: boolean;
21
+ language: "json" | "html" | "javascript" | "css" | "typescript" | "jsx" | "tsx" | "flow" | "json5" | "jsonc" | "json-stringify" | "postcss" | "less" | "scss" | "angular" | "vue" | "lwc" | "mjml" | "handlebars" | "graphql" | "markdown" | "mdx" | "yaml";
22
+ qChange: EventEmitter<string>;
23
+ qInput: EventEmitter<string>;
24
+ el: HTMLElement;
25
+ internals: ElementInternals;
26
+ copied: boolean;
27
+ copyFailed: boolean;
28
+ formatMessage: string;
29
+ watchCode: (newCode: string | undefined) => void;
30
+ watchValue: (newValue: string | undefined) => void;
31
+ watchLanguage: () => void;
32
+ watchConstraints: () => void;
33
+ watchEditable: () => void;
34
+ formDisabledCallback: () => void;
35
+ formResetCallback: () => void;
36
+ scrollToBottom: () => Promise<void>;
37
+ checkValidity: () => Promise<boolean>;
38
+ reportValidity: () => Promise<boolean>;
39
+ renderContent: (variant: QSyntaxBoxVariant) => any[];
40
+ renderActions: () => any;
41
+ } & SyntaxContentLifecycle>;
@@ -0,0 +1,15 @@
1
+ import { type VNode } from '../../../stencil-public-runtime';
2
+ interface SyntaxActions {
3
+ editable: boolean;
4
+ copyable: boolean;
5
+ disabled: boolean;
6
+ formatLabel?: string;
7
+ copied: boolean;
8
+ copyFeedback: string;
9
+ onFormat: () => void;
10
+ onCopy: () => void;
11
+ ref: (element?: HTMLElement) => void;
12
+ }
13
+ export declare function renderSyntaxActions(actions: SyntaxActions): any;
14
+ export declare function renderSyntaxScroller(body: VNode, height: string, ref: (element?: HTMLQScrollableElement) => void): any;
15
+ export {};
@@ -1,6 +1,6 @@
1
1
  export declare const JSON_SOURCE = "{\r\n \"10\":9007199254740993,\"2\":-0,\"same\":1,\"same\":2,\"array\":[1e400,2.3000,-0,1E+03],\"text\":\" \\u0061 \\/ \\\"quote\\\" \u96EA \uD83D\uDC26 \"\r\n}";
2
2
  export declare const JSON_EXPECTED = "{\n \"10\": 9007199254740993,\n \"2\": -0,\n \"same\": 1,\n \"same\": 2,\n \"array\": [\n 1e400,\n 2.3000,\n -0,\n 1E+03\n ],\n \"text\": \" \\u0061 \\/ \\\"quote\\\" \u96EA \uD83D\uDC26 \"\n}";
3
3
  export declare const INVALID_JSON: readonly [readonly ["commented JSON", "{/* preserve comment */\"a\":1}"], readonly ["line comment", "{\"a\":1 // keep\r\n}"], readonly ["trailing comma", "{\"a\":1,}"], readonly ["unfinished", "{\"a\":"], readonly ["missing comma", "[1 2]"], readonly ["missing colon", "{\"a\" 1}"], readonly ["unquoted member", "{a:1}"], readonly ["extra document", "{} []"], readonly ["leading zero", "[01]"], readonly ["nonfinite", "[NaN,Infinity]"], readonly ["invalid escape", "\"\\x20\""], readonly ["short Unicode escape", "\"\\u123\""], readonly ["raw string newline", "\"keep\r\nline\""], readonly ["BOM", "{\"a\":1}"], readonly ["whitespace only", " \t\r\n "]];
4
- export declare const UNSUPPORTED_SOURCE: readonly [readonly ["html", "<p>Hello <b>world</b> !</p>\r\n<pre> keep \t spaces\r\n</pre><!-- keep comment -->"], readonly ["javascript", "// keep\r\nfunction f(){return\n\"x\";} const t = ` a ${1}\r\n b;{} `; /[{};]/.test(t);"], readonly ["css", "/* keep */\r\n.a { content: \" x; { y } \"; --text: a b; }\r\n"]];
4
+ export declare const NON_JSON_SOURCE: readonly [readonly ["html", "<p class=\"message\">Hello <b>world</b> !</p>\r\n<pre> keep \t spaces\r\n</pre><!-- keep comment -->"], readonly ["javascript", "// keep\r\nfunction f(){return\n\"x\";} const t = ` a ${1}\r\n b;{} `; /[{};]/.test(t);"], readonly ["css", "/* keep */\r\n.a { content: \" x; { y } \"; --text: a b; }\r\n"]];
5
5
  /** Independent token equality checks retain punctuation and raw numeric/string spellings. */
6
6
  export declare function jsonTokens(source: string): string[];
@@ -0,0 +1 @@
1
+ import '../../../../../../packages/browser/components/dist/webquark/webquark.css';
@@ -0,0 +1,48 @@
1
+ declare const QSyntaxView_base: abstract new (...args: any[]) => {
2
+ componentWillLoad: () => void;
3
+ componentDidLoad: () => void;
4
+ heading: string;
5
+ variant: import("../syntax-box/syntax-box.types").QSyntaxBoxVariant;
6
+ name: string;
7
+ height: string;
8
+ disabled: boolean;
9
+ ariaLabel: string;
10
+ value: string;
11
+ required: boolean;
12
+ code: string;
13
+ copyable: boolean;
14
+ editable: boolean;
15
+ language: "json" | "html" | "javascript" | "css" | "typescript" | "jsx" | "tsx" | "flow" | "json5" | "jsonc" | "json-stringify" | "postcss" | "less" | "scss" | "angular" | "vue" | "lwc" | "mjml" | "handlebars" | "graphql" | "markdown" | "mdx" | "yaml";
16
+ qChange: import("@stencil/core").EventEmitter<string>;
17
+ qInput: import("@stencil/core").EventEmitter<string>;
18
+ el: HTMLElement;
19
+ internals: ElementInternals;
20
+ copied: boolean;
21
+ copyFailed: boolean;
22
+ formatMessage: string;
23
+ watchCode: (newCode: string | undefined) => void;
24
+ watchValue: (newValue: string | undefined) => void;
25
+ watchLanguage: () => void;
26
+ watchConstraints: () => void;
27
+ watchEditable: () => void;
28
+ formDisabledCallback: () => void;
29
+ formResetCallback: () => void;
30
+ scrollToBottom: () => Promise<void>;
31
+ checkValidity: () => Promise<boolean>;
32
+ reportValidity: () => Promise<boolean>;
33
+ renderContent: (variant: import("../syntax-box/syntax-box.types").QSyntaxBoxVariant) => any[];
34
+ renderActions: () => any;
35
+ } & import("../syntax-box/syntax-content").SyntaxContentLifecycle;
36
+ /**
37
+ * Displays one editable or read-only view, on its own or as a child of a Syntax Box.
38
+ * @slot - Read-only content when code is omitted.
39
+ * @slot actions - Actions for this view.
40
+ */
41
+ export declare class QSyntaxView extends QSyntaxView_base {
42
+ el: HTMLElement;
43
+ internals: ElementInternals;
44
+ /** Optional identity for preserving selection when replacing a view element. */
45
+ viewKey?: string;
46
+ render(): any;
47
+ }
48
+ export {};
@@ -1,3 +1,4 @@
1
+ import type { QInputWidth } from '../../../theme/tokens';
1
2
  import { EventEmitter } from '../../../stencil-public-runtime';
2
3
  import type { DropdownOptionInput, Option, QDropdownPlacement, QDropdownSize } from './dropdown.types';
3
4
  /**
@@ -5,7 +6,7 @@ import type { DropdownOptionInput, Option, QDropdownPlacement, QDropdownSize } f
5
6
  * and externally loaded option pages.
6
7
  * @slot icon-left - Optional leading content rendered inside the trigger.
7
8
  * @part label - Optional field label.
8
- * @part trigger - Button that opens the option menu.
9
+ * @part trigger - Active input or button that opens the option menu.
9
10
  * @part menu - Floating option menu.
10
11
  */
11
12
  export declare class QDropdown {
@@ -18,12 +19,20 @@ export declare class QDropdown {
18
19
  /** Options to render; strings use the same text for label and value, while objects allow separate values. */
19
20
  options: DropdownOptionInput[] | string;
20
21
  value: string;
22
+ /** Select several options. Uses values/qValuesChange instead of value/qChange. */
23
+ multiple: boolean;
24
+ /** Selected identities in multiple mode. Replace the array to update selections. */
25
+ values: string[];
21
26
  /** Keep the label accessible without displaying it. */
22
27
  labelHidden: boolean;
23
28
  /** Omitted inherits the enclosing form; false cancels reservation. */
24
29
  reserveFeedback?: boolean;
25
30
  size: QDropdownSize;
31
+ /** Opt-in horizontal width; fit-options sizes to loaded option labels. Omitted keeps the full-width layout. */
32
+ width?: QInputWidth | 'fit-options';
26
33
  searchable: boolean;
34
+ /** Search in the main editable control (default) or a separate menu field. Applies only when searchable. */
35
+ searchMode: 'default' | 'menu';
27
36
  /** Delegates filtering and pagination to the consumer. */
28
37
  externalSearch: boolean;
29
38
  /** Indicates another externally loaded option page is available. */
@@ -47,6 +56,8 @@ export declare class QDropdown {
47
56
  internals: ElementInternals;
48
57
  /** Emitted with the selected option value when selection changes. */
49
58
  qChange: EventEmitter<string>;
59
+ /** Complete selected identities after an add or removal in multiple mode. */
60
+ qValuesChange: EventEmitter<string[]>;
50
61
  /** Emitted with the selected option object when selection changes. */
51
62
  qSelect: EventEmitter<Option>;
52
63
  /** Emitted with the current search term when a searchable dropdown uses external search. */
@@ -68,11 +79,34 @@ export declare class QDropdown {
68
79
  private positionFrame;
69
80
  private floatingCleanup?;
70
81
  private floatingResizeObserver?;
82
+ private fitOptionsMeasure?;
83
+ private fitOptionsObserver?;
84
+ private draftEdited;
85
+ private selectedLabelCache?;
86
+ private composing;
87
+ private lastSearchValue?;
88
+ private initialValues;
89
+ private multipleLabels;
90
+ private multipleFrame?;
91
+ private chipMeasure?;
92
+ private multipleObserver?;
93
+ private visibleChips;
94
+ private selectedPanel;
95
+ private get editableSearch();
96
+ private get selectedValues();
97
+ private reconcileSelectedLabel;
98
+ private closeMenu;
99
+ watchSearchMode(): void;
100
+ connectedCallback(): void;
71
101
  disconnectedCallback(): void;
72
102
  formDisabledCallback(): void;
73
103
  componentDidLoad(): void;
74
104
  componentDidRender(): void;
105
+ private observeFitOptions;
106
+ private updateFitOptionsWidth;
75
107
  watchValue(newValue: string): void;
108
+ watchValues(): void;
109
+ watchMultiple(): void;
76
110
  syncValidity(): void;
77
111
  checkValidity(): Promise<boolean>;
78
112
  reportValidity(): Promise<boolean>;
@@ -82,6 +116,12 @@ export declare class QDropdown {
82
116
  componentWillLoad(): void;
83
117
  formResetCallback(): void;
84
118
  private getFormSelection;
119
+ private getMultipleFormSelection;
120
+ private reconcileMultipleLabels;
121
+ private removeValue;
122
+ private observeMultipleLayout;
123
+ private measureMultipleLayout;
124
+ private openSelectedPanel;
85
125
  private clearScrollLoading;
86
126
  private getOptionLabel;
87
127
  private getAllOptions;
@@ -92,6 +132,10 @@ export declare class QDropdown {
92
132
  private handleSelect;
93
133
  private handleFocus;
94
134
  private handleBlur;
135
+ private handleFocusOut;
136
+ private handleEditableClick;
137
+ private handleCompositionStart;
138
+ private handleCompositionEnd;
95
139
  private handleTriggerClick;
96
140
  private handleSearchInput;
97
141
  private handleScroll;
@@ -0,0 +1,3 @@
1
+ import '../../../../../../packages/browser/components/dist/components/q-dropdown.js';
2
+ import '../../../../../../packages/browser/components/dist/components/q-control-group.js';
3
+ import '../../../../../../packages/browser/components/dist/components/q-input.js';
@@ -0,0 +1 @@
1
+ import '../../../../../../packages/browser/components/dist/webquark/webquark.css';
@@ -9,7 +9,7 @@ export interface FieldState {
9
9
  disabled: boolean;
10
10
  active: boolean;
11
11
  entries: SuccessfulEntry[];
12
- model: string | boolean | null;
12
+ model: string | string[] | boolean | null;
13
13
  custom?: CustomFormField;
14
14
  }
15
15
  /** Radio exclusivity belongs to the native owner, tree and name, not q-form. */
@@ -1,3 +1,4 @@
1
+ import type { QInputWidth } from '../../../theme/tokens';
1
2
  import { EventEmitter } from '../../../stencil-public-runtime';
2
3
  import type { QInputSize, QInputType } from './input.types';
3
4
  /**
@@ -25,6 +26,8 @@ export declare class QInput {
25
26
  /** Omitted inherits the enclosing form; false cancels reservation. */
26
27
  reserveFeedback?: boolean;
27
28
  size: QInputSize;
29
+ /** Opt-in horizontal width; independent of size. Omitted uses the existing full-width layout. */
30
+ width?: QInputWidth;
28
31
  /** Shows a clear button when the field has a value. */
29
32
  clearable: boolean;
30
33
  disabled: boolean;
@@ -0,0 +1,45 @@
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ /**
3
+ * Single-value range input with a themed track, glowing thumb and optional value badge.
4
+ * @part label - Label and value row.
5
+ * @part value - Current-value badge.
6
+ * @part input - Native range control.
7
+ */
8
+ export declare class QSlider {
9
+ el: HTMLElement;
10
+ /** Current value. Defaults to the minimum when omitted. */
11
+ value?: number;
12
+ label?: string;
13
+ /** Suffix for the displayed value, such as px or %. */
14
+ suffix: string;
15
+ showValue: boolean;
16
+ disabled: boolean;
17
+ min: number;
18
+ max: number;
19
+ step: number;
20
+ name?: string;
21
+ ariaLabel: string | null;
22
+ internals: ElementInternals;
23
+ /** Numeric value emitted continuously while dragging or using the keyboard. */
24
+ qInput: EventEmitter<number>;
25
+ /** Numeric value emitted when the interaction is committed. */
26
+ qChange: EventEmitter<number>;
27
+ private fieldDisabled;
28
+ private inputEl?;
29
+ private initialValue?;
30
+ componentWillLoad(): void;
31
+ constraintsChanged(): void;
32
+ disabledChanged(): void;
33
+ private get lower();
34
+ private get upper();
35
+ private get increment();
36
+ private normalize;
37
+ private syncForm;
38
+ componentDidLoad(): void;
39
+ formDisabledCallback(): void;
40
+ formResetCallback(): void;
41
+ formStateRestoreCallback(state: string | File | FormData | null): void;
42
+ focusElement(): Promise<void>;
43
+ private onValue;
44
+ render(): any;
45
+ }
@@ -1,4 +1,4 @@
1
- import type { QControlSize } from '../../../theme/tokens';
1
+ import type { QControlSize, QInputWidth } from '../../../theme/tokens';
2
2
  import { EventEmitter } from '../../../stencil-public-runtime';
3
3
  import type { QTextareaResizeMode } from './textarea.types';
4
4
  /**
@@ -17,6 +17,8 @@ export declare class QTextarea {
17
17
  /** Supporting text, replaced by an active error. */
18
18
  description?: string;
19
19
  size: QControlSize;
20
+ /** Opt-in horizontal width; independent of size. Omitted uses the existing full-width layout. */
21
+ width?: QInputWidth;
20
22
  /** Keep the label accessible without displaying it. */
21
23
  labelHidden: boolean;
22
24
  /** Omitted inherits the enclosing form; false cancels reservation. */
@@ -0,0 +1 @@
1
+ import '../../../../../../packages/browser/components/dist/components/q-toggle.js';
@@ -0,0 +1,20 @@
1
+ import { type QControlSize } from '../../../theme/tokens';
2
+ /**
3
+ * Visually joined controls with consumer-owned values and interactions.
4
+ * @slot - Direct input, dropdown, toggle, quantity selector or button children.
5
+ * @part group - Layout container; each child retains its own control surface.
6
+ */
7
+ export declare class QControlGroup {
8
+ el: HTMLElement;
9
+ size: QControlSize;
10
+ orientation: 'horizontal' | 'vertical';
11
+ /** Name of the group; each child still needs its own accessible name. */
12
+ ariaLabel: string | null;
13
+ private observer?;
14
+ private managedChildren;
15
+ connectedCallback(): void;
16
+ disconnectedCallback(): void;
17
+ private restoreChild;
18
+ private updateChildren;
19
+ render(): any;
20
+ }
@@ -0,0 +1,7 @@
1
+ import '../../../../../../packages/browser/components/dist/components/q-control-group.js';
2
+ import '../../../../../../packages/browser/components/dist/components/q-input.js';
3
+ import '../../../../../../packages/browser/components/dist/components/q-dropdown.js';
4
+ import '../../../../../../packages/browser/components/dist/components/q-toggle.js';
5
+ import '../../../../../../packages/browser/components/dist/components/q-quantity-selector.js';
6
+ import '../../../../../../packages/browser/components/dist/components/q-button.js';
7
+ import '../../../../../../packages/browser/components/dist/components/q-form.js';
@@ -0,0 +1,15 @@
1
+ import { type QSpace } from '../../../theme/tokens';
2
+ /** Static, container-relative separator.
3
+ * @part line - The visible separator line.
4
+ */
5
+ export declare class QDivider {
6
+ /** Physical direction of the separator. */
7
+ orientation: 'horizontal' | 'vertical';
8
+ /** CSS length or percentage, capped to the allocated extent minus endpoint insets. */
9
+ length: string;
10
+ /** Symmetric external spacing perpendicular to the line. */
11
+ spacing: QSpace;
12
+ /** Hide a purely visual separator from assistive technology. */
13
+ decorative: boolean;
14
+ render(): any;
15
+ }
@@ -0,0 +1 @@
1
+ import '../divider';
@@ -14,6 +14,8 @@ import type { QSidepanelCollapseControl, QSidepanelCollapseControlAppearance, QS
14
14
  * @part surface - Stable inner content surface for persistent panels.
15
15
  * @part header - Header region.
16
16
  * @part body - Body or navigation region.
17
+ * @part group-label - Text of a navigation item with children.
18
+ * @part item-label - Text of a navigation item without children.
17
19
  * @part item-badge - Navigation item's optional count badge.
18
20
  * @part footer - Footer region.
19
21
  * @part collapse-control - Built-in collapse button.
@@ -36,6 +36,7 @@ export interface HandleDrawerOpenChangeOptions {
36
36
  }
37
37
  export interface RenderNavItemsOptions {
38
38
  items: SidepanelItem[];
39
+ collapsedRail: boolean;
39
40
  expandedGroups: Set<string>;
40
41
  activeValue: string;
41
42
  onItemClick: (item: SidepanelItem) => void;
@@ -14,7 +14,9 @@ export declare class QReel {
14
14
  el: HTMLElement;
15
15
  activeMedia: QThumbnailMaximizeDetail | null;
16
16
  private closeButtonRef?;
17
- private focusTimer?;
17
+ private openingThumbnail?;
18
+ private focusAfterRender?;
19
+ componentDidRender(): void;
18
20
  disconnectedCallback(): void;
19
21
  handleLightboxChange(lightbox: boolean): void;
20
22
  private getThumbnails;
@@ -28,7 +30,5 @@ export declare class QReel {
28
30
  private handleNextClick;
29
31
  private getActiveIndex;
30
32
  private navigateMedia;
31
- private clearFocusTimer;
32
- private scheduleFocus;
33
33
  render(): any;
34
34
  }