@quartzds/core 1.0.0-beta.12 → 1.0.0-beta.120

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 (433) hide show
  1. package/CHANGELOG.md +1895 -0
  2. package/README.md +23 -23
  3. package/components/index.d.ts +50 -0
  4. package/components/index.js +62 -28
  5. package/components/index.js.map +1 -1
  6. package/components/p-5RFBIepu.js +112 -0
  7. package/components/p-5RFBIepu.js.map +1 -0
  8. package/components/p-B03FWheS.js +393 -0
  9. package/components/p-B03FWheS.js.map +1 -0
  10. package/components/p-BkBJDD6Y.js +274 -0
  11. package/components/p-BkBJDD6Y.js.map +1 -0
  12. package/components/p-BkgfW_tl.js +282 -0
  13. package/components/p-BkgfW_tl.js.map +1 -0
  14. package/components/p-Bnc7Puxx.js +164 -0
  15. package/components/p-Bnc7Puxx.js.map +1 -0
  16. package/components/{floating-ui.dom.esm.js → p-Bv2vPjgL.js} +557 -345
  17. package/components/p-Bv2vPjgL.js.map +1 -0
  18. package/components/p-CDRwHAIT.js +105 -0
  19. package/components/p-CDRwHAIT.js.map +1 -0
  20. package/components/p-CFVg7I9T.js +269 -0
  21. package/components/p-CFVg7I9T.js.map +1 -0
  22. package/components/p-CRVPDKfO.js +163 -0
  23. package/components/p-CRVPDKfO.js.map +1 -0
  24. package/components/p-CXP6q9Mr.js +286 -0
  25. package/components/p-CXP6q9Mr.js.map +1 -0
  26. package/components/p-CZRW1LV_.js +28 -0
  27. package/components/p-CZRW1LV_.js.map +1 -0
  28. package/components/p-D2489VzR.js +2133 -0
  29. package/components/p-D2489VzR.js.map +1 -0
  30. package/components/p-DeRqCYmp.js +102 -0
  31. package/components/p-DeRqCYmp.js.map +1 -0
  32. package/components/p-DnZdwX0l.js +149 -0
  33. package/components/p-DnZdwX0l.js.map +1 -0
  34. package/components/p-Dsc0-aXK.js +162 -0
  35. package/components/p-Dsc0-aXK.js.map +1 -0
  36. package/components/p-DwxIJEUj.js +91 -0
  37. package/components/p-DwxIJEUj.js.map +1 -0
  38. package/components/p-U2Q0vF-d.js +96 -0
  39. package/components/p-U2Q0vF-d.js.map +1 -0
  40. package/components/p-eFhV8w2l.js +428 -0
  41. package/components/p-eFhV8w2l.js.map +1 -0
  42. package/components/qds-action-item.d.ts +11 -0
  43. package/components/qds-action-item.js +183 -0
  44. package/components/qds-action-item.js.map +1 -0
  45. package/components/qds-avatar-media.d.ts +11 -0
  46. package/components/qds-avatar-media.js +14 -0
  47. package/components/qds-avatar-media.js.map +1 -0
  48. package/components/qds-badge-counter.d.ts +11 -0
  49. package/components/qds-badge-counter.js +14 -0
  50. package/components/qds-badge-counter.js.map +1 -0
  51. package/components/qds-badge-indicator.d.ts +11 -0
  52. package/components/qds-badge-indicator.js +14 -0
  53. package/components/qds-badge-indicator.js.map +1 -0
  54. package/components/qds-breadcrumb-item.d.ts +11 -0
  55. package/components/qds-breadcrumb-item.js +169 -0
  56. package/components/qds-breadcrumb-item.js.map +1 -0
  57. package/components/qds-button.d.ts +2 -2
  58. package/components/qds-button.js +457 -129
  59. package/components/qds-button.js.map +1 -1
  60. package/components/qds-checkbox.d.ts +2 -2
  61. package/components/qds-checkbox.js +4 -146
  62. package/components/qds-checkbox.js.map +1 -1
  63. package/components/qds-chip.d.ts +11 -0
  64. package/components/qds-chip.js +304 -0
  65. package/components/qds-chip.js.map +1 -0
  66. package/components/qds-dialog.d.ts +2 -2
  67. package/components/qds-dialog.js +179 -93
  68. package/components/qds-dialog.js.map +1 -1
  69. package/components/qds-divider.d.ts +2 -2
  70. package/components/qds-divider.js +4 -39
  71. package/components/qds-divider.js.map +1 -1
  72. package/components/qds-dropdown.d.ts +2 -2
  73. package/components/qds-dropdown.js +4 -249
  74. package/components/qds-dropdown.js.map +1 -1
  75. package/components/qds-form-message.d.ts +2 -2
  76. package/components/qds-form-message.js +100 -50
  77. package/components/qds-form-message.js.map +1 -1
  78. package/components/qds-icon-button.d.ts +11 -0
  79. package/components/qds-icon-button.js +14 -0
  80. package/components/qds-icon-button.js.map +1 -0
  81. package/components/qds-icon-tab.d.ts +11 -0
  82. package/components/qds-icon-tab.js +278 -0
  83. package/components/qds-icon-tab.js.map +1 -0
  84. package/components/qds-icon.d.ts +2 -2
  85. package/components/qds-icon.js +4 -3
  86. package/components/qds-inline-link.d.ts +2 -2
  87. package/components/qds-inline-link.js +171 -74
  88. package/components/qds-inline-link.js.map +1 -1
  89. package/components/qds-input.d.ts +2 -2
  90. package/components/qds-input.js +548 -230
  91. package/components/qds-input.js.map +1 -1
  92. package/components/qds-label.d.ts +2 -2
  93. package/components/qds-label.js +4 -3
  94. package/components/qds-list-item.d.ts +11 -0
  95. package/components/qds-list-item.js +395 -0
  96. package/components/qds-list-item.js.map +1 -0
  97. package/components/qds-loader.d.ts +11 -0
  98. package/components/qds-loader.js +152 -0
  99. package/components/qds-loader.js.map +1 -0
  100. package/components/qds-menu-item.d.ts +11 -0
  101. package/components/qds-menu-item.js +204 -0
  102. package/components/qds-menu-item.js.map +1 -0
  103. package/components/qds-mini-button.d.ts +11 -0
  104. package/components/qds-mini-button.js +14 -0
  105. package/components/qds-mini-button.js.map +1 -0
  106. package/components/qds-progress-bar.d.ts +11 -0
  107. package/components/qds-progress-bar.js +155 -0
  108. package/components/qds-progress-bar.js.map +1 -0
  109. package/components/qds-radio.d.ts +2 -2
  110. package/components/qds-radio.js +4 -99
  111. package/components/qds-radio.js.map +1 -1
  112. package/components/qds-select.d.ts +11 -0
  113. package/components/qds-select.js +363 -0
  114. package/components/qds-select.js.map +1 -0
  115. package/components/qds-standalone-link.d.ts +11 -0
  116. package/components/qds-standalone-link.js +208 -0
  117. package/components/qds-standalone-link.js.map +1 -0
  118. package/components/qds-switch.d.ts +2 -2
  119. package/components/qds-switch.js +257 -105
  120. package/components/qds-switch.js.map +1 -1
  121. package/components/qds-tab.d.ts +11 -0
  122. package/components/qds-tab.js +339 -0
  123. package/components/qds-tab.js.map +1 -0
  124. package/components/qds-tabbar.d.ts +11 -0
  125. package/components/qds-tabbar.js +410 -0
  126. package/components/qds-tabbar.js.map +1 -0
  127. package/components/qds-table-cell.d.ts +11 -0
  128. package/components/qds-table-cell.js +81 -0
  129. package/components/qds-table-cell.js.map +1 -0
  130. package/components/qds-table-head-cell.d.ts +11 -0
  131. package/components/qds-table-head-cell.js +87 -0
  132. package/components/qds-table-head-cell.js.map +1 -0
  133. package/components/qds-table-row.d.ts +11 -0
  134. package/components/qds-table-row.js +48 -0
  135. package/components/qds-table-row.js.map +1 -0
  136. package/components/qds-table.d.ts +11 -0
  137. package/components/qds-table.js +48 -0
  138. package/components/qds-table.js.map +1 -0
  139. package/components/qds-tag.d.ts +11 -0
  140. package/components/qds-tag.js +14 -0
  141. package/components/qds-tag.js.map +1 -0
  142. package/components/qds-textarea.d.ts +2 -2
  143. package/components/qds-textarea.js +352 -193
  144. package/components/qds-textarea.js.map +1 -1
  145. package/components/qds-title.d.ts +2 -2
  146. package/components/qds-title.js +4 -84
  147. package/components/qds-title.js.map +1 -1
  148. package/components/qds-tooltip.d.ts +2 -2
  149. package/components/qds-tooltip.js +4 -315
  150. package/components/qds-tooltip.js.map +1 -1
  151. package/dist/cjs/app-globals-CLoao1by.js +13 -0
  152. package/dist/cjs/app-globals-CLoao1by.js.map +1 -0
  153. package/dist/cjs/controls-DKGeNyr5.js +32 -0
  154. package/dist/cjs/controls-DKGeNyr5.js.map +1 -0
  155. package/dist/cjs/{floating-ui.dom.esm-7f1cac3e.js → floating-ui.dom-Bvzubd50.js} +557 -345
  156. package/dist/cjs/floating-ui.dom-Bvzubd50.js.map +1 -0
  157. package/dist/cjs/helpers-BIL8yXqA.js +303 -0
  158. package/dist/cjs/helpers-BIL8yXqA.js.map +1 -0
  159. package/dist/cjs/index-DIY7gpXM.js +2376 -0
  160. package/dist/cjs/index-DIY7gpXM.js.map +1 -0
  161. package/dist/cjs/index.cjs.js +40 -31
  162. package/dist/cjs/index.cjs.js.map +1 -1
  163. package/dist/cjs/library-CeKRI2f2.js +142 -0
  164. package/dist/cjs/library-CeKRI2f2.js.map +1 -0
  165. package/dist/cjs/loader.cjs.js +9 -10
  166. package/dist/cjs/loader.cjs.js.map +1 -1
  167. package/dist/cjs/qds-action-item.cjs.entry.js +145 -0
  168. package/dist/cjs/qds-action-item.entry.cjs.js.map +1 -0
  169. package/dist/cjs/qds-avatar-media.qds-checkbox.qds-radio.entry.cjs.js.map +1 -0
  170. package/dist/cjs/qds-avatar-media_3.cjs.entry.js +399 -0
  171. package/dist/cjs/qds-badge-counter.qds-badge-indicator.entry.cjs.js.map +1 -0
  172. package/dist/cjs/qds-badge-counter_2.cjs.entry.js +146 -0
  173. package/dist/cjs/qds-breadcrumb-item.cjs.entry.js +129 -0
  174. package/dist/cjs/qds-breadcrumb-item.entry.cjs.js.map +1 -0
  175. package/dist/cjs/qds-button.cjs.entry.js +385 -93
  176. package/dist/cjs/qds-button.entry.cjs.js.map +1 -0
  177. package/dist/cjs/qds-chip.cjs.entry.js +252 -0
  178. package/dist/cjs/qds-chip.entry.cjs.js.map +1 -0
  179. package/dist/cjs/qds-dialog.cjs.entry.js +124 -77
  180. package/dist/cjs/qds-dialog.entry.cjs.js.map +1 -0
  181. package/dist/cjs/qds-divider.qds-icon-button.entry.cjs.js.map +1 -0
  182. package/dist/cjs/qds-divider_2.cjs.entry.js +280 -0
  183. package/dist/cjs/qds-dropdown.cjs.entry.js +373 -209
  184. package/dist/cjs/qds-dropdown.entry.cjs.js.map +1 -0
  185. package/dist/cjs/qds-form-message.cjs.entry.js +70 -27
  186. package/dist/cjs/qds-form-message.entry.cjs.js.map +1 -0
  187. package/dist/cjs/qds-icon-tab.cjs.entry.js +214 -0
  188. package/dist/cjs/qds-icon-tab.entry.cjs.js.map +1 -0
  189. package/dist/cjs/qds-icon.cjs.entry.js +112 -93
  190. package/dist/cjs/qds-icon.entry.cjs.js.map +1 -0
  191. package/dist/cjs/qds-inline-link.cjs.entry.js +137 -49
  192. package/dist/cjs/qds-inline-link.entry.cjs.js.map +1 -0
  193. package/dist/cjs/qds-input.cjs.entry.js +473 -188
  194. package/dist/cjs/qds-input.entry.cjs.js.map +1 -0
  195. package/dist/cjs/qds-label.cjs.entry.js +118 -27
  196. package/dist/cjs/qds-label.entry.cjs.js.map +1 -0
  197. package/dist/cjs/qds-list-item.cjs.entry.js +290 -0
  198. package/dist/cjs/qds-list-item.entry.cjs.js.map +1 -0
  199. package/dist/cjs/qds-loader.cjs.entry.js +126 -0
  200. package/dist/cjs/qds-loader.entry.cjs.js.map +1 -0
  201. package/dist/cjs/qds-menu-item.cjs.entry.js +158 -0
  202. package/dist/cjs/qds-menu-item.entry.cjs.js.map +1 -0
  203. package/dist/cjs/qds-mini-button.cjs.entry.js +132 -0
  204. package/dist/cjs/qds-mini-button.entry.cjs.js.map +1 -0
  205. package/dist/cjs/qds-progress-bar.cjs.entry.js +131 -0
  206. package/dist/cjs/qds-progress-bar.entry.cjs.js.map +1 -0
  207. package/dist/cjs/qds-select.cjs.entry.js +319 -0
  208. package/dist/cjs/qds-select.entry.cjs.js.map +1 -0
  209. package/dist/cjs/qds-standalone-link.cjs.entry.js +169 -0
  210. package/dist/cjs/qds-standalone-link.entry.cjs.js.map +1 -0
  211. package/dist/cjs/qds-switch.cjs.entry.js +221 -67
  212. package/dist/cjs/qds-switch.entry.cjs.js.map +1 -0
  213. package/dist/cjs/qds-tab.cjs.entry.js +265 -0
  214. package/dist/cjs/qds-tab.entry.cjs.js.map +1 -0
  215. package/dist/cjs/qds-tabbar.cjs.entry.js +344 -0
  216. package/dist/cjs/qds-tabbar.entry.cjs.js.map +1 -0
  217. package/dist/cjs/qds-table-cell.cjs.entry.js +61 -0
  218. package/dist/cjs/qds-table-cell.entry.cjs.js.map +1 -0
  219. package/dist/cjs/qds-table-head-cell.cjs.entry.js +65 -0
  220. package/dist/cjs/qds-table-head-cell.entry.cjs.js.map +1 -0
  221. package/dist/cjs/qds-table-row.cjs.entry.js +34 -0
  222. package/dist/cjs/qds-table-row.entry.cjs.js.map +1 -0
  223. package/dist/cjs/qds-table.cjs.entry.js +34 -0
  224. package/dist/cjs/qds-table.entry.cjs.js.map +1 -0
  225. package/dist/cjs/qds-tag.cjs.entry.js +110 -0
  226. package/dist/cjs/qds-tag.entry.cjs.js.map +1 -0
  227. package/dist/cjs/qds-textarea.cjs.entry.js +303 -156
  228. package/dist/cjs/qds-textarea.entry.cjs.js.map +1 -0
  229. package/dist/cjs/qds-title.cjs.entry.js +61 -52
  230. package/dist/cjs/qds-title.entry.cjs.js.map +1 -0
  231. package/dist/cjs/qds-tooltip.cjs.entry.js +334 -263
  232. package/dist/cjs/qds-tooltip.entry.cjs.js.map +1 -0
  233. package/dist/cjs/qds.cjs.js +18 -17
  234. package/dist/cjs/qds.cjs.js.map +1 -1
  235. package/dist/custom-elements.json +12056 -2304
  236. package/dist/docs.d.ts +344 -240
  237. package/dist/docs.json +13125 -3360
  238. package/dist/esm/app-globals-WylVyaRG.js +11 -0
  239. package/dist/esm/app-globals-WylVyaRG.js.map +1 -0
  240. package/dist/esm/controls-CZRW1LV_.js +28 -0
  241. package/dist/esm/controls-CZRW1LV_.js.map +1 -0
  242. package/dist/esm/{floating-ui.dom.esm-c2f3e549.js → floating-ui.dom-Bv2vPjgL.js} +557 -345
  243. package/dist/esm/floating-ui.dom-Bv2vPjgL.js.map +1 -0
  244. package/dist/esm/helpers-BgaJNF9u.js +286 -0
  245. package/dist/esm/helpers-BgaJNF9u.js.map +1 -0
  246. package/dist/esm/index-Hg1Liloy.js +2364 -0
  247. package/dist/esm/index-Hg1Liloy.js.map +1 -0
  248. package/dist/esm/index.js +40 -30
  249. package/dist/esm/index.js.map +1 -1
  250. package/dist/esm/library-CBfntPWH.js +138 -0
  251. package/dist/esm/library-CBfntPWH.js.map +1 -0
  252. package/dist/esm/loader.js +10 -9
  253. package/dist/esm/loader.js.map +1 -1
  254. package/dist/esm/qds-action-item.entry.js +143 -0
  255. package/dist/esm/qds-action-item.entry.js.map +1 -0
  256. package/dist/esm/qds-avatar-media.qds-checkbox.qds-radio.entry.js.map +1 -0
  257. package/dist/esm/qds-avatar-media_3.entry.js +395 -0
  258. package/dist/esm/qds-badge-counter.qds-badge-indicator.entry.js.map +1 -0
  259. package/dist/esm/qds-badge-counter_2.entry.js +143 -0
  260. package/dist/esm/qds-breadcrumb-item.entry.js +127 -0
  261. package/dist/esm/qds-breadcrumb-item.entry.js.map +1 -0
  262. package/dist/esm/qds-button.entry.js +385 -91
  263. package/dist/esm/qds-button.entry.js.map +1 -1
  264. package/dist/esm/qds-chip.entry.js +250 -0
  265. package/dist/esm/qds-chip.entry.js.map +1 -0
  266. package/dist/esm/qds-dialog.entry.js +124 -75
  267. package/dist/esm/qds-dialog.entry.js.map +1 -1
  268. package/dist/esm/qds-divider.qds-icon-button.entry.js.map +1 -0
  269. package/dist/esm/qds-divider_2.entry.js +277 -0
  270. package/dist/esm/qds-dropdown.entry.js +373 -207
  271. package/dist/esm/qds-dropdown.entry.js.map +1 -1
  272. package/dist/esm/qds-form-message.entry.js +70 -25
  273. package/dist/esm/qds-form-message.entry.js.map +1 -1
  274. package/dist/esm/qds-icon-tab.entry.js +212 -0
  275. package/dist/esm/qds-icon-tab.entry.js.map +1 -0
  276. package/dist/esm/qds-icon.entry.js +112 -91
  277. package/dist/esm/qds-icon.entry.js.map +1 -1
  278. package/dist/esm/qds-inline-link.entry.js +137 -47
  279. package/dist/esm/qds-inline-link.entry.js.map +1 -1
  280. package/dist/esm/qds-input.entry.js +473 -186
  281. package/dist/esm/qds-input.entry.js.map +1 -1
  282. package/dist/esm/qds-label.entry.js +118 -25
  283. package/dist/esm/qds-label.entry.js.map +1 -1
  284. package/dist/esm/qds-list-item.entry.js +288 -0
  285. package/dist/esm/qds-list-item.entry.js.map +1 -0
  286. package/dist/esm/qds-loader.entry.js +124 -0
  287. package/dist/esm/qds-loader.entry.js.map +1 -0
  288. package/dist/esm/qds-menu-item.entry.js +156 -0
  289. package/dist/esm/qds-menu-item.entry.js.map +1 -0
  290. package/dist/esm/qds-mini-button.entry.js +130 -0
  291. package/dist/esm/qds-mini-button.entry.js.map +1 -0
  292. package/dist/esm/qds-progress-bar.entry.js +129 -0
  293. package/dist/esm/qds-progress-bar.entry.js.map +1 -0
  294. package/dist/esm/qds-select.entry.js +317 -0
  295. package/dist/esm/qds-select.entry.js.map +1 -0
  296. package/dist/esm/qds-standalone-link.entry.js +167 -0
  297. package/dist/esm/qds-standalone-link.entry.js.map +1 -0
  298. package/dist/esm/qds-switch.entry.js +221 -65
  299. package/dist/esm/qds-switch.entry.js.map +1 -1
  300. package/dist/esm/qds-tab.entry.js +263 -0
  301. package/dist/esm/qds-tab.entry.js.map +1 -0
  302. package/dist/esm/qds-tabbar.entry.js +342 -0
  303. package/dist/esm/qds-tabbar.entry.js.map +1 -0
  304. package/dist/esm/qds-table-cell.entry.js +59 -0
  305. package/dist/esm/qds-table-cell.entry.js.map +1 -0
  306. package/dist/esm/qds-table-head-cell.entry.js +63 -0
  307. package/dist/esm/qds-table-head-cell.entry.js.map +1 -0
  308. package/dist/esm/qds-table-row.entry.js +32 -0
  309. package/dist/esm/qds-table-row.entry.js.map +1 -0
  310. package/dist/esm/qds-table.entry.js +32 -0
  311. package/dist/esm/qds-table.entry.js.map +1 -0
  312. package/dist/esm/qds-tag.entry.js +108 -0
  313. package/dist/esm/qds-tag.entry.js.map +1 -0
  314. package/dist/esm/qds-textarea.entry.js +303 -154
  315. package/dist/esm/qds-textarea.entry.js.map +1 -1
  316. package/dist/esm/qds-title.entry.js +61 -50
  317. package/dist/esm/qds-title.entry.js.map +1 -1
  318. package/dist/esm/qds-tooltip.entry.js +334 -261
  319. package/dist/esm/qds-tooltip.entry.js.map +1 -1
  320. package/dist/esm/qds.js +18 -16
  321. package/dist/esm/qds.js.map +1 -1
  322. package/dist/types/components/action-item/action-item.d.ts +67 -0
  323. package/dist/types/components/avatar-media/avatar-media.d.ts +39 -0
  324. package/dist/types/components/badge-counter/badge-counter.d.ts +40 -0
  325. package/dist/types/components/badge-indicator/badge-indicator.d.ts +36 -0
  326. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +178 -0
  327. package/dist/types/components/button/button.d.ts +282 -198
  328. package/dist/types/components/checkbox/checkbox.d.ts +137 -124
  329. package/dist/types/components/chip/chip.d.ts +109 -0
  330. package/dist/types/components/controls.d.ts +4 -1
  331. package/dist/types/components/dialog/dialog.d.ts +32 -41
  332. package/dist/types/components/divider/divider.d.ts +14 -9
  333. package/dist/types/components/dropdown/dropdown.d.ts +116 -125
  334. package/dist/types/components/form-message/form-message.d.ts +33 -25
  335. package/dist/types/components/icon/icon.d.ts +24 -24
  336. package/dist/types/components/icon/library.d.ts +3 -3
  337. package/dist/types/components/icon/request.d.ts +5 -9
  338. package/dist/types/components/icon-button/icon-button.d.ts +121 -0
  339. package/dist/types/components/icon-tab/icon-tab.d.ts +110 -0
  340. package/dist/types/components/inline-link/inline-link.d.ts +209 -191
  341. package/dist/types/components/input/input.d.ts +431 -368
  342. package/dist/types/components/label/label.d.ts +37 -24
  343. package/dist/types/components/list-item/list-item.d.ts +121 -0
  344. package/dist/types/components/loader/loader.d.ts +32 -0
  345. package/dist/types/components/menu-item/menu-item.d.ts +71 -0
  346. package/dist/types/components/mini-button/mini-button.d.ts +82 -0
  347. package/dist/types/components/progress-bar/progress-bar.d.ts +60 -0
  348. package/dist/types/components/radio/radio.d.ts +90 -95
  349. package/dist/types/components/select/select.d.ts +203 -0
  350. package/dist/types/components/shared.d.ts +6 -0
  351. package/dist/types/components/standalone-link/standalone-link.d.ts +234 -0
  352. package/dist/types/components/switch/switch.d.ts +122 -107
  353. package/dist/types/components/tab/tab.d.ts +155 -0
  354. package/dist/types/components/tabbar/tabbar.d.ts +56 -0
  355. package/dist/types/components/table/table.d.ts +14 -0
  356. package/dist/types/components/table-cell/table-cell.d.ts +33 -0
  357. package/dist/types/components/table-head-cell/table-head-cell.d.ts +50 -0
  358. package/dist/types/components/table-row/table-row.d.ts +14 -0
  359. package/dist/types/components/tag/tag.d.ts +55 -0
  360. package/dist/types/components/textarea/textarea.d.ts +295 -300
  361. package/dist/types/components/title/title.d.ts +39 -32
  362. package/dist/types/components/tooltip/tooltip.d.ts +111 -136
  363. package/dist/types/components.d.ts +4403 -959
  364. package/dist/types/helpers.d.ts +38 -19
  365. package/dist/types/index.d.ts +2 -1
  366. package/dist/types/interface-overrides.d.ts +215 -0
  367. package/dist/types/qds-test.d.ts +22 -11
  368. package/dist/types/stencil-public-runtime.d.ts +109 -17
  369. package/dist/types/utils.d.ts +11 -4
  370. package/dist/vscode.html-custom-data.json +2365 -445
  371. package/hydrate/index.d.ts +73 -18
  372. package/hydrate/index.js +28020 -9256
  373. package/hydrate/index.mjs +28907 -0
  374. package/hydrate/package.json +7 -1
  375. package/loader/cdn.js +3 -4
  376. package/loader/index.cjs.js +3 -4
  377. package/loader/index.d.ts +4 -1
  378. package/loader/index.es2017.js +3 -4
  379. package/loader/index.js +3 -4
  380. package/package.json +23 -180
  381. package/styles/core.css +147 -19
  382. package/components/floating-ui.dom.esm.js.map +0 -1
  383. package/components/helpers.js +0 -175
  384. package/components/helpers.js.map +0 -1
  385. package/components/icon.js +0 -185
  386. package/components/icon.js.map +0 -1
  387. package/components/label.js +0 -55
  388. package/components/label.js.map +0 -1
  389. package/dist/cjs/floating-ui.dom.esm-7f1cac3e.js.map +0 -1
  390. package/dist/cjs/helpers-452256e8.js +0 -185
  391. package/dist/cjs/helpers-452256e8.js.map +0 -1
  392. package/dist/cjs/index-d181f952.js +0 -2039
  393. package/dist/cjs/index-d181f952.js.map +0 -1
  394. package/dist/cjs/library-ad8d9466.js +0 -72
  395. package/dist/cjs/library-ad8d9466.js.map +0 -1
  396. package/dist/cjs/qds-button.cjs.entry.js.map +0 -1
  397. package/dist/cjs/qds-checkbox.cjs.entry.js +0 -116
  398. package/dist/cjs/qds-checkbox.cjs.entry.js.map +0 -1
  399. package/dist/cjs/qds-dialog.cjs.entry.js.map +0 -1
  400. package/dist/cjs/qds-divider.cjs.entry.js +0 -33
  401. package/dist/cjs/qds-divider.cjs.entry.js.map +0 -1
  402. package/dist/cjs/qds-dropdown.cjs.entry.js.map +0 -1
  403. package/dist/cjs/qds-form-message.cjs.entry.js.map +0 -1
  404. package/dist/cjs/qds-icon.cjs.entry.js.map +0 -1
  405. package/dist/cjs/qds-inline-link.cjs.entry.js.map +0 -1
  406. package/dist/cjs/qds-input.cjs.entry.js.map +0 -1
  407. package/dist/cjs/qds-label.cjs.entry.js.map +0 -1
  408. package/dist/cjs/qds-radio.cjs.entry.js +0 -74
  409. package/dist/cjs/qds-radio.cjs.entry.js.map +0 -1
  410. package/dist/cjs/qds-switch.cjs.entry.js.map +0 -1
  411. package/dist/cjs/qds-textarea.cjs.entry.js.map +0 -1
  412. package/dist/cjs/qds-title.cjs.entry.js.map +0 -1
  413. package/dist/cjs/qds-tooltip.cjs.entry.js.map +0 -1
  414. package/dist/esm/floating-ui.dom.esm-c2f3e549.js.map +0 -1
  415. package/dist/esm/helpers-76b84f45.js +0 -175
  416. package/dist/esm/helpers-76b84f45.js.map +0 -1
  417. package/dist/esm/index-d7183092.js +0 -2009
  418. package/dist/esm/index-d7183092.js.map +0 -1
  419. package/dist/esm/library-f36d7d09.js +0 -68
  420. package/dist/esm/library-f36d7d09.js.map +0 -1
  421. package/dist/esm/polyfills/core-js.js +0 -11
  422. package/dist/esm/polyfills/dom.js +0 -79
  423. package/dist/esm/polyfills/es5-html-element.js +0 -1
  424. package/dist/esm/polyfills/index.js +0 -34
  425. package/dist/esm/polyfills/system.js +0 -6
  426. package/dist/esm/qds-checkbox.entry.js +0 -112
  427. package/dist/esm/qds-checkbox.entry.js.map +0 -1
  428. package/dist/esm/qds-divider.entry.js +0 -29
  429. package/dist/esm/qds-divider.entry.js.map +0 -1
  430. package/dist/esm/qds-radio.entry.js +0 -70
  431. package/dist/esm/qds-radio.entry.js.map +0 -1
  432. package/dist/types/components/create-story.d.ts +0 -5
  433. package/loader/package.json +0 -11
@@ -1,20 +1,8 @@
1
- import type { MiddlewareState, OffsetOptions as LibraryOffsetOptions } from '@floating-ui/dom';
1
+ import type { MiddlewareState, OffsetOptions as LibraryOffsetOptions, ReferenceElement } from '@floating-ui/dom';
2
2
  import type { Except } from 'type-fest';
3
- export type Attributes = Record<string, string>;
4
- /**
5
- * Elements inside of web components sometimes need to inherit global attributes
6
- * set on the host. For example, the inner input in `qds-input` should inherit
7
- * the `tabindex` attribute that developers set directly on `qds-input`. This
8
- * helper function should be called in componentWillLoad and assigned to a variable
9
- * that is later used in the render function.
10
- *
11
- * This does not need to be reactive as changing attributes on the host element
12
- * does not trigger a re-render.
13
- *
14
- * @param element Element to inherit attributes from.
15
- * @param attributes Which attributes to inherit.
16
- */
17
- export declare const inheritAttributes: (element: Element, attributes?: string[]) => Attributes;
3
+ import type { LinkIcon } from './components/shared';
4
+ export type Attributes = Record<string, string | undefined>;
5
+ declare const inheritAttributes: (element: Element, attributes?: string[]) => Attributes;
18
6
  /**
19
7
  * Returns an array of aria attributes that should be copied from
20
8
  * the shadow host element to a target within the light DOM.
@@ -44,8 +32,39 @@ export declare const pickInputEventAttributes: (event: InputEvent) => QdsInputEv
44
32
  export declare const propertyToPx: (element: Element, property: string) => number | undefined;
45
33
  export declare const ignorePromise: <T>(promise: Promise<T>) => void;
46
34
  export declare const isTouchDevice: () => boolean;
47
- export declare const roundByDPR: (value: number) => number;
48
- export type OffsetValue = Except<Exclude<LibraryOffsetOptions, Function | number>, 'mainAxis'>;
49
- export type OffsetFunction = (state: MiddlewareState) => OffsetValue;
35
+ /**
36
+ * Checks if an element's ellipsis is active.
37
+ *
38
+ * @param element The element to check.
39
+ * @returns `true` if ellipsis is active, `false` otherwise.
40
+ */
41
+ export declare const isEllipsisActive: (element: Element) => boolean;
42
+ export declare const determineLinkIcon: (target?: string, rel?: string) => LinkIcon | undefined;
43
+ export declare const resolveTarget: (target?: ReferenceElement | string | (() => ReferenceElement | string)) => ReferenceElement | undefined;
44
+ /**
45
+ * Waits for a component to be ready for
46
+ * both custom element and non-custom element builds.
47
+ * If non-custom element build, el.componentOnReady
48
+ * will be used.
49
+ * For custom element builds, we wait a frame
50
+ * so that the inner contents of the component
51
+ * have a chance to render.
52
+ *
53
+ * Use this utility rather than calling
54
+ * el.componentOnReady yourself.
55
+ *
56
+ * Reference: https://stenciljs.com/docs/api#componentonready
57
+ */
58
+ export declare const componentOnReady: <T extends {
59
+ componentOnReady?: () => Promise<T>;
60
+ }>(element: T, callback: (element_: T) => void) => void;
61
+ export declare const resolvePanelElement: (tab: HTMLQdsTabElement) => HTMLElement | undefined;
62
+ type OffsetValue = Except<Exclude<LibraryOffsetOptions, Function | number>, 'mainAxis'>;
63
+ type OffsetFunction = (state: MiddlewareState) => OffsetValue;
50
64
  export type OffsetOptions = OffsetFunction | OffsetValue;
65
+ export declare const HORIZONTAL_MOVE_KEYS: ReadonlySet<string>;
66
+ export declare const VERTICAL_MOVE_KEYS: ReadonlySet<string>;
67
+ export declare const closestElement: (selector: string, base: Element) => Element | undefined;
68
+ export declare const isCurrentPage: (url: string) => boolean;
69
+ export {};
51
70
  //# sourceMappingURL=helpers.d.ts.map
@@ -1,4 +1,5 @@
1
1
  export * from './components';
2
2
  export { type IconLibrary, type IconLibraryResolver, registerIconLibrary, unregisterIconLibrary, } from './components/icon/library';
3
- export { getPlatform, getTheme, setPlatform, setTheme } from './utils';
3
+ export * from './interface-overrides';
4
+ export { defineCustomElements, getPlatform, getTheme, setPlatform, setTheme, } from './utils';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,215 @@
1
+ export {};
2
+ declare global {
3
+ interface HTMLInputElement {
4
+ onsearch?: (this: HTMLInputElement, event: Event) => unknown;
5
+ }
6
+ }
7
+ interface ValidationMethods {
8
+ /**
9
+ * Returns true if element has no validity problems; false otherwise.
10
+ * Fires an invalid event at the element in the latter case.
11
+ *
12
+ * @webnative
13
+ */
14
+ readonly checkValidity: ElementInternals['checkValidity'];
15
+ /**
16
+ * Returns true if the element has no validity problems; otherwise, returns
17
+ * false, fires an invalid event at the element, and (if the event isn't
18
+ * canceled) reports the problem to the user.
19
+ *
20
+ * @webnative
21
+ */
22
+ readonly reportValidity: ElementInternals['reportValidity'];
23
+ /**
24
+ * Sets a custom error message that is displayed when a form is submitted.
25
+ *
26
+ * @param error The custom error message to set.
27
+ *
28
+ * @webnative
29
+ */
30
+ readonly setCustomValidity: HTMLInputElement['setCustomValidity'];
31
+ }
32
+ declare module './components' {
33
+ namespace Components {
34
+ interface QdsCheckbox extends ValidationMethods {
35
+ }
36
+ interface QdsDialog {
37
+ /**
38
+ * Displays the dialog over the top of any other dialogs that might be
39
+ * present. Everything outside of the dialog is [inert][] with interactions
40
+ * outside of the dialog being blocked.
41
+ *
42
+ * [inert]: https://developer.mozilla.org/docs/Web/API/HTMLElement/inert
43
+ */
44
+ show: () => void;
45
+ /**
46
+ * Closes the dialog.
47
+ */
48
+ close: () => void;
49
+ }
50
+ interface QdsInput extends ValidationMethods {
51
+ /**
52
+ * Selects the entire content of the `<qds-input>` element if the
53
+ * element's content is selectable.
54
+ */
55
+ readonly select: HTMLInputElement['select'];
56
+ /**
57
+ * Sets the contents of the specified range of characters in the input element to a given string.
58
+ *
59
+ * @param replacement The string to insert.
60
+ * @param start The 0-based index of the first character to replace. Defaults to the current `selectionStart` value (the start of the user's current selection).
61
+ * @param end The 0-based index of the character _after_ the last character to replace. Defaults to the current `selectionEnd` value (the end of the user's current selection).
62
+ * @param selectionMode A string defining how the selection should be set
63
+ * after the text has been replaced. Possible values:
64
+ * - `"select"` selects the newly inserted text.
65
+ * - `"start"` moves the selection to just before the inserted text.
66
+ * - `"end"` moves the selection to just after the inserted text.
67
+ * - `"preserve"` attempts to preserve the selection.
68
+ *
69
+ * @webnative
70
+ */
71
+ readonly setRangeText: HTMLInputElement['setRangeText'];
72
+ /**
73
+ * Selects the specified range of characters within the input.
74
+ *
75
+ * @param start The offset into the input for the start of the selection.
76
+ * @param end The offset into the input for the end of the selection.
77
+ * @param direction The direction in which the selection is performed.
78
+ *
79
+ * @webnative
80
+ */
81
+ readonly setSelectionRange: HTMLInputElement['setSelectionRange'];
82
+ /**
83
+ * Decrements the `value` by (`step` * n), where n defaults to 1 if not
84
+ * specified.
85
+ *
86
+ * @param n Amount to decrement the value by.
87
+ *
88
+ * @webnative
89
+ */
90
+ readonly stepDown: HTMLInputElement['stepDown'];
91
+ /**
92
+ * Increments the `value` by (`step` * n), where n defaults to 1 if not
93
+ * specified.
94
+ *
95
+ * @param n Amount to increment the value by.
96
+ *
97
+ * @webnative
98
+ */
99
+ readonly stepUp: HTMLInputElement['stepUp'];
100
+ /**
101
+ * Displays the browser picker for a `<qds-input>` element.
102
+ *
103
+ * This is the same picker that would normally be displayed when the
104
+ * element is selected, but can be triggered from a button press or other
105
+ * user interaction.
106
+ *
107
+ * Commonly browsers implement it for inputs of these types: `"date"`,
108
+ * `"month"`, `"week"`, `"time"`, `"datetime-local"`, or `"color"`. It
109
+ * can also be pre-populated with items from a [`<datalist>`][] element
110
+ * or [`autocomplete`][] attribute.
111
+ *
112
+ * More generally, this method should display the picker for any
113
+ * `<qds-input>` element on the platform that has a picker.
114
+ *
115
+ * [`<datalist>`]: https://developer.mozilla.org/docs/Web/HTML/Element/datalist
116
+ * [`autocomplete`]: https://developer.mozilla.org/docs/Web/HTML/Attributes/autocomplete
117
+ *
118
+ * @webnative
119
+ */
120
+ readonly showPicker: HTMLInputElement['showPicker'];
121
+ }
122
+ interface QdsSelect extends ValidationMethods {
123
+ /**
124
+ * Adds an element to the options collection.
125
+ *
126
+ * @param element The element to add.
127
+ * @param before An element of the options collection or a zero-based
128
+ * index representing the item the element should be added before. If
129
+ * this parameter is not specified or the index does not exist, the new
130
+ * element is appended to the end of the collection.
131
+ */
132
+ readonly addItem: HTMLSelectElement['add'];
133
+ /**
134
+ * Removes an element from the options collection.
135
+ *
136
+ * @param index Zero-based index of the [`HTMLOptionElement`][] to remove
137
+ * from the collection. If the index is not found the method has no
138
+ * effect.
139
+ *
140
+ * [`HTMLOptionElement`]: https://developer.mozilla.org/docs/Web/API/HTMLOptionElement
141
+ */
142
+ readonly removeItem: HTMLSelectElement['remove'];
143
+ /**
144
+ * Retrieves an element from the options collection by its index.
145
+ *
146
+ * @param index Zero-based index of the [`HTMLOptionElement`][] to
147
+ * retrieve.
148
+ *
149
+ * [`HTMLOptionElement`]: https://developer.mozilla.org/docs/Web/API/HTMLOptionElement
150
+ *
151
+ * @webnative
152
+ */
153
+ readonly item: HTMLSelectElement['item'];
154
+ /**
155
+ * Retrieves an element from the options collection by its name.
156
+ *
157
+ * @param name The `name` or `id` property of the [`HTMLOptionElement`][] to
158
+ * retrieve.
159
+ *
160
+ * [`HTMLOptionElement`]: https://developer.mozilla.org/docs/Web/API/HTMLOptionElement
161
+ *
162
+ * @webnative
163
+ */
164
+ readonly namedItem: HTMLSelectElement['namedItem'];
165
+ }
166
+ interface QdsSwitch extends ValidationMethods {
167
+ }
168
+ interface QdsTextarea extends ValidationMethods {
169
+ /**
170
+ * Selects the entire content of the `<qds-textarea>` element if the
171
+ * element's content is selectable.
172
+ *
173
+ * @webnative
174
+ */
175
+ readonly select: HTMLTextAreaElement['select'];
176
+ /**
177
+ * Sets the contents of the specified range of characters in the textarea
178
+ * element to a given string.
179
+ *
180
+ * @param replacement The string to insert.
181
+ * @param start The 0-based index of the first character to replace. Defaults to the current `selectionStart` value (the start of the user's current selection).
182
+ * @param end The 0-based index of the character _after_ the last character to replace. Defaults to the current `selectionEnd` value (the end of the user's current selection).
183
+ * @param selectionMode A string defining how the selection should be set
184
+ * after the text has been replaced. Possible values:
185
+ * - `"select"` selects the newly inserted text.
186
+ * - `"start"` moves the selection to just before the inserted text.
187
+ * - `"end"` moves the selection to just after the inserted text.
188
+ * - `"preserve"` attempts to preserve the selection.
189
+ *
190
+ * @webnative
191
+ */
192
+ readonly setRangeText: HTMLTextAreaElement['setRangeText'];
193
+ /**
194
+ * Selects the specified range of characters within the textarea.
195
+ *
196
+ * @param start The offset into the textarea for the start of the selection.
197
+ * @param end The offset into the textarea for the end of the selection.
198
+ * @param direction The direction in which the selection is performed.
199
+ *
200
+ * @webnative
201
+ */
202
+ readonly setSelectionRange: HTMLTextAreaElement['setSelectionRange'];
203
+ }
204
+ interface QdsTab {
205
+ /**
206
+ * Exposes the tab `HTMLElement` that is rendered inside the component.
207
+ * This can be useful to manage focus.
208
+ *
209
+ * @readonly
210
+ */
211
+ readonly tab: HTMLElement;
212
+ }
213
+ }
214
+ }
215
+ //# sourceMappingURL=interface-overrides.d.ts.map
@@ -1,18 +1,29 @@
1
- import type { Page } from '@playwright/test';
2
- import type { EventSpy } from 'stencil-playwright/dist/page/event-spy';
1
+ import type { Locator, Page } from '@playwright/test';
2
+ import type { EventSpy } from '@stencil/playwright/dist/page/event-spy';
3
3
  declare module '@playwright/test' {
4
- interface Locator {
5
- spyOnEvent: (eventName: string) => Promise<EventSpy>;
6
- }
4
+ interface Locator {
5
+ /**
6
+ * Creates a new EventSpy and listens on the window for an event.
7
+ * The test will timeout if the event never fires.
8
+ *
9
+ * Usage:
10
+ * ```ts
11
+ * const ionChange = await page.spyOnEvent('ionChange');
12
+ * ...
13
+ * await ionChange.next();
14
+ * ```
15
+ */
16
+ spyOnEvent: (eventName: string) => Promise<EventSpy>;
17
+ }
7
18
  }
8
19
  interface QuartzPageOptions {
9
- addBrandFont?: boolean;
10
- content?: string;
11
- platform?: 'desktop' | 'mobile';
12
- theme?: 'dark' | 'light';
20
+ addBrandFont?: boolean;
21
+ content?: string;
22
+ platform?: 'desktop' | 'mobile';
23
+ theme?: 'dark' | 'light';
13
24
  }
14
25
  export declare const setupQuartzPage: (page: Page, options?: QuartzPageOptions) => Promise<void>;
15
- export declare const press: (page: Page, selector: string) => Promise<void>;
26
+ export declare const press: (locator: Locator) => Promise<void>;
16
27
  export { expect } from '@playwright/test';
17
- export { test } from 'stencil-playwright';
28
+ export { test } from '@stencil/playwright';
18
29
  //# sourceMappingURL=qds-test.d.ts.map
@@ -1,8 +1,19 @@
1
1
  declare type CustomMethodDecorator<T> = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
2
+ type UnionToIntersection<U> = (U extends any ? (x: U) => void : never) extends (x: infer I) => void ? I : never;
2
3
  export interface ComponentDecorator {
3
4
  (opts?: ComponentOptions): ClassDecorator;
4
5
  }
5
6
  export interface ComponentOptions {
7
+ /**
8
+ * When set to `true` this component will be form-associated. See
9
+ * https://stenciljs.com/docs/next/form-associated documentation on how to
10
+ * build form-associated Stencil components that integrate into forms like
11
+ * native browser elements such as `<input>` and `<textarea>`.
12
+ *
13
+ * The {@link AttachInternals} decorator allows for access to the
14
+ * `ElementInternals` object to modify the associated form.
15
+ */
16
+ formAssociated?: boolean;
6
17
  /**
7
18
  * Tag name of the web component. Ideally, the tag name must be globally unique,
8
19
  * so it's recommended to choose an unique prefix for all your components within the same collection.
@@ -62,7 +73,7 @@ export interface PropOptions {
62
73
  /**
63
74
  * The name of the associated DOM attribute.
64
75
  * Stencil uses different heuristics to determine the default name of the attribute,
65
- * but using this property, you can override the default behaviour.
76
+ * but using this property, you can override the default behavior.
66
77
  */
67
78
  attribute?: string | null;
68
79
  /**
@@ -107,6 +118,9 @@ export interface EventOptions {
107
118
  */
108
119
  composed?: boolean;
109
120
  }
121
+ export interface AttachInternalsDecorator {
122
+ (): PropertyDecorator;
123
+ }
110
124
  export interface ListenDecorator {
111
125
  (eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
112
126
  }
@@ -128,7 +142,7 @@ export interface ListenOptions {
128
142
  * By default, Stencil uses several heuristics to determine if
129
143
  * it must attach a `passive` event listener or not.
130
144
  *
131
- * Using the `passive` option can be used to change the default behaviour.
145
+ * Using the `passive` option can be used to change the default behavior.
132
146
  * Please see https://developers.google.com/web/updates/2016/06/passive-event-listeners for further information.
133
147
  */
134
148
  passive?: boolean;
@@ -175,6 +189,12 @@ export declare const Element: ElementDecorator;
175
189
  * https://stenciljs.com/docs/events
176
190
  */
177
191
  export declare const Event: EventDecorator;
192
+ /**
193
+ * If the `formAssociated` option is set in options passed to the
194
+ * `@Component()` decorator then this decorator may be used to get access to the
195
+ * `ElementInternals` instance associated with the component.
196
+ */
197
+ export declare const AttachInternals: AttachInternalsDecorator;
178
198
  /**
179
199
  * The `Listen()` decorator is for listening DOM events, including the ones
180
200
  * dispatched from `@Events()`.
@@ -241,6 +261,25 @@ export declare function setPlatformHelpers(helpers: {
241
261
  * @returns the base path
242
262
  */
243
263
  export declare function getAssetPath(path: string): string;
264
+ /**
265
+ * Method to render a virtual DOM tree to a container element.
266
+ *
267
+ * @example
268
+ * ```tsx
269
+ * import { render } from '@stencil/core';
270
+ *
271
+ * const vnode = (
272
+ * <div>
273
+ * <h1>Hello, world!</h1>
274
+ * </div>
275
+ * );
276
+ * render(vnode, document.body);
277
+ * ```
278
+ *
279
+ * @param vnode - The virtual DOM tree to render
280
+ * @param container - The container element to render the virtual DOM tree to
281
+ */
282
+ export declare function render(vnode: VNode, container: Element): void;
244
283
  /**
245
284
  * Used to manually set the base path where assets can be found. For lazy-loaded
246
285
  * builds the asset path is automatically set and assets copied to the correct
@@ -311,6 +350,28 @@ export declare function readTask(task: RafCallback): void;
311
350
  * Unhandled exception raised while rendering, during event handling, or lifecycles will trigger the custom event handler.
312
351
  */
313
352
  export declare const setErrorHandler: (handler: ErrorHandler) => void;
353
+ export type MixinFactory = <TBase extends new (...args: any[]) => any>(base: TBase) => abstract new (...args: ConstructorParameters<TBase>) => any;
354
+ /**
355
+ * Compose multiple mixin classes into a single constructor.
356
+ * The resulting class has the combined instance types of all mixed-in classes.
357
+ *
358
+ * Example:
359
+ * ```
360
+ * import { Mixin, MixinFactory } from '@stencil/core';
361
+ *
362
+ * const AWrap: MixinFactory = (Base) => {class A extends Base { propA = A }; return A;}
363
+ * const BWrap: MixinFactory = (Base) => {class B extends Base { propB = B }; return B;}
364
+ * const CWrap: MixinFactory = (Base) => {class C extends Base { propC = C }; return C;}
365
+ *
366
+ * class X extends Mixin(AWrap, BWrap, CWrap) {
367
+ * render() { return <div>{this.propA} {this.propB} {this.propC}</div>; }
368
+ * }
369
+ * ```
370
+ *
371
+ * @param mixinFactories mixin factory functions that return a class which extends from the provided class.
372
+ * @returns a class that that is composed from extending each of the provided classes in the order they were provided.
373
+ */
374
+ export declare function Mixin<TMixins extends readonly MixinFactory[]>(...mixinFactories: TMixins): abstract new (...args: any[]) => UnionToIntersection<InstanceType<ReturnType<TMixins[number]>>>;
314
375
  /**
315
376
  * This file gets copied to all distributions of stencil component collections.
316
377
  * - no imports
@@ -432,7 +493,7 @@ export interface QueueApi {
432
493
  /**
433
494
  * Host
434
495
  */
435
- interface HostAttributes {
496
+ export interface HostAttributes {
436
497
  class?: string | {
437
498
  [className: string]: boolean;
438
499
  };
@@ -471,7 +532,7 @@ export interface FunctionalUtilities {
471
532
  /**
472
533
  * Utility for reading the children of a functional component at runtime.
473
534
  * Since the Stencil runtime uses a different interface for children it is
474
- * not recommendeded to read the children directly, and is preferable to use
535
+ * not recommended to read the children directly, and is preferable to use
475
536
  * this utility to, for instance, perform a side effect for each child.
476
537
  */
477
538
  forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
@@ -749,6 +810,7 @@ export declare namespace JSXBase {
749
810
  hrefLang?: string;
750
811
  hreflang?: string;
751
812
  media?: string;
813
+ ping?: string;
752
814
  rel?: string;
753
815
  target?: string;
754
816
  referrerPolicy?: ReferrerPolicy;
@@ -775,7 +837,6 @@ export declare namespace JSXBase {
775
837
  cite?: string;
776
838
  }
777
839
  interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
778
- autoFocus?: boolean;
779
840
  disabled?: boolean;
780
841
  form?: string;
781
842
  formAction?: string;
@@ -791,6 +852,9 @@ export declare namespace JSXBase {
791
852
  name?: string;
792
853
  type?: string;
793
854
  value?: string | string[] | number;
855
+ popoverTargetAction?: string;
856
+ popoverTargetElement?: Element | null;
857
+ popoverTarget?: string;
794
858
  }
795
859
  interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
796
860
  height?: number | string;
@@ -804,7 +868,8 @@ export declare namespace JSXBase {
804
868
  }
805
869
  interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
806
870
  open?: boolean;
807
- onToggle?: (event: Event) => void;
871
+ name?: string;
872
+ onToggle?: (event: ToggleEvent) => void;
808
873
  }
809
874
  interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
810
875
  cite?: string;
@@ -872,6 +937,8 @@ export declare namespace JSXBase {
872
937
  }
873
938
  interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
874
939
  alt?: string;
940
+ crossOrigin?: string;
941
+ crossorigin?: string;
875
942
  decoding?: 'async' | 'auto' | 'sync';
876
943
  importance?: 'low' | 'auto' | 'high';
877
944
  height?: number | string;
@@ -897,8 +964,6 @@ export declare namespace JSXBase {
897
964
  autocapitalize?: string;
898
965
  autoComplete?: string;
899
966
  autocomplete?: string;
900
- autoFocus?: boolean;
901
- autofocus?: boolean | string;
902
967
  capture?: string;
903
968
  checked?: boolean;
904
969
  crossOrigin?: string;
@@ -930,6 +995,8 @@ export declare namespace JSXBase {
930
995
  minlength?: number | string;
931
996
  multiple?: boolean;
932
997
  name?: string;
998
+ onSelect?: (event: Event) => void;
999
+ onselect?: (event: Event) => void;
933
1000
  pattern?: string;
934
1001
  placeholder?: string;
935
1002
  readOnly?: boolean;
@@ -948,10 +1015,11 @@ export declare namespace JSXBase {
948
1015
  webkitdirectory?: boolean;
949
1016
  webkitEntries?: any;
950
1017
  width?: number | string;
1018
+ popoverTargetAction?: string;
1019
+ popoverTargetElement?: Element | null;
1020
+ popoverTarget?: string;
951
1021
  }
952
1022
  interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
953
- autoFocus?: boolean;
954
- autofocus?: boolean | string;
955
1023
  challenge?: string;
956
1024
  disabled?: boolean;
957
1025
  form?: string;
@@ -964,7 +1032,6 @@ export declare namespace JSXBase {
964
1032
  interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
965
1033
  form?: string;
966
1034
  htmlFor?: string;
967
- htmlfor?: string;
968
1035
  }
969
1036
  interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
970
1037
  value?: string | string[] | number;
@@ -991,6 +1058,8 @@ export declare namespace JSXBase {
991
1058
  autoPlay?: boolean;
992
1059
  autoplay?: boolean | string;
993
1060
  controls?: boolean;
1061
+ controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1062
+ controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
994
1063
  crossOrigin?: string;
995
1064
  crossorigin?: string;
996
1065
  loop?: boolean;
@@ -1075,7 +1144,6 @@ export declare namespace JSXBase {
1075
1144
  interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1076
1145
  form?: string;
1077
1146
  htmlFor?: string;
1078
- htmlfor?: string;
1079
1147
  name?: string;
1080
1148
  }
1081
1149
  interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
@@ -1100,7 +1168,6 @@ export declare namespace JSXBase {
1100
1168
  type?: string;
1101
1169
  }
1102
1170
  interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
1103
- autoFocus?: boolean;
1104
1171
  disabled?: boolean;
1105
1172
  form?: string;
1106
1173
  multiple?: boolean;
@@ -1111,11 +1178,13 @@ export declare namespace JSXBase {
1111
1178
  autocomplete?: string;
1112
1179
  }
1113
1180
  interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
1181
+ height?: number;
1114
1182
  media?: string;
1115
1183
  sizes?: string;
1116
1184
  src?: string;
1117
1185
  srcSet?: string;
1118
1186
  type?: string;
1187
+ width?: number;
1119
1188
  }
1120
1189
  interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
1121
1190
  media?: string;
@@ -1133,8 +1202,6 @@ export declare namespace JSXBase {
1133
1202
  interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1134
1203
  autoComplete?: string;
1135
1204
  autocomplete?: string;
1136
- autoFocus?: boolean;
1137
- autofocus?: boolean | string;
1138
1205
  cols?: number;
1139
1206
  disabled?: boolean;
1140
1207
  form?: string;
@@ -1143,6 +1210,8 @@ export declare namespace JSXBase {
1143
1210
  minLength?: number;
1144
1211
  minlength?: number | string;
1145
1212
  name?: string;
1213
+ onSelect?: (event: Event) => void;
1214
+ onselect?: (event: Event) => void;
1146
1215
  placeholder?: string;
1147
1216
  readOnly?: boolean;
1148
1217
  readonly?: boolean | string;
@@ -1185,6 +1254,8 @@ export declare namespace JSXBase {
1185
1254
  interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
1186
1255
  innerHTML?: string;
1187
1256
  accessKey?: string;
1257
+ autoFocus?: boolean;
1258
+ autofocus?: boolean | string;
1188
1259
  class?: string | {
1189
1260
  [className: string]: boolean;
1190
1261
  };
@@ -1196,6 +1267,7 @@ export declare namespace JSXBase {
1196
1267
  draggable?: boolean;
1197
1268
  hidden?: boolean;
1198
1269
  id?: string;
1270
+ inert?: boolean;
1199
1271
  lang?: string;
1200
1272
  spellcheck?: 'true' | 'false' | any;
1201
1273
  style?: {
@@ -1204,6 +1276,7 @@ export declare namespace JSXBase {
1204
1276
  tabIndex?: number;
1205
1277
  tabindex?: number | string;
1206
1278
  title?: string;
1279
+ popover?: string | null;
1207
1280
  inputMode?: string;
1208
1281
  inputmode?: string;
1209
1282
  enterKeyHint?: string;
@@ -1289,7 +1362,7 @@ export declare namespace JSXBase {
1289
1362
  clipPathUnits?: number | string;
1290
1363
  'clip-rule'?: number | string;
1291
1364
  'color-interpolation'?: number | string;
1292
- 'color-interpolation-filters'?: 'auto' | 's-rGB' | 'linear-rGB' | 'inherit';
1365
+ 'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB';
1293
1366
  'color-profile'?: number | string;
1294
1367
  'color-rendering'?: number | string;
1295
1368
  contentScriptType?: number | string;
@@ -1502,6 +1575,13 @@ export declare namespace JSXBase {
1502
1575
  z?: number | string;
1503
1576
  zoomAndPan?: string;
1504
1577
  }
1578
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent) */
1579
+ interface ToggleEvent extends Event {
1580
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState) */
1581
+ readonly newState: string;
1582
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState) */
1583
+ readonly oldState: string;
1584
+ }
1505
1585
  interface DOMAttributes<T> extends JSXAttributes<T> {
1506
1586
  slot?: string;
1507
1587
  part?: string;
@@ -1518,6 +1598,10 @@ export declare namespace JSXBase {
1518
1598
  onCompositionstartCapture?: (event: CompositionEvent) => void;
1519
1599
  onCompositionupdate?: (event: CompositionEvent) => void;
1520
1600
  onCompositionupdateCapture?: (event: CompositionEvent) => void;
1601
+ onBeforeToggle?: (event: ToggleEvent) => void;
1602
+ onBeforeToggleCapture?: (event: ToggleEvent) => void;
1603
+ onToggle?: (event: ToggleEvent) => void;
1604
+ onToggleCapture?: (event: ToggleEvent) => void;
1521
1605
  onFocus?: (event: FocusEvent) => void;
1522
1606
  onFocusCapture?: (event: FocusEvent) => void;
1523
1607
  onFocusin?: (event: FocusEvent) => void;
@@ -1547,7 +1631,7 @@ export declare namespace JSXBase {
1547
1631
  onKeyUp?: (event: KeyboardEvent) => void;
1548
1632
  onKeyUpCapture?: (event: KeyboardEvent) => void;
1549
1633
  onAuxClick?: (event: MouseEvent) => void;
1550
- onClick?: (event: MouseEvent) => void;
1634
+ onClick?: (event: PointerEvent) => void;
1551
1635
  onClickCapture?: (event: MouseEvent) => void;
1552
1636
  onContextMenu?: (event: MouseEvent) => void;
1553
1637
  onContextMenuCapture?: (event: MouseEvent) => void;
@@ -1619,8 +1703,16 @@ export declare namespace JSXBase {
1619
1703
  onAnimationEndCapture?: (event: AnimationEvent) => void;
1620
1704
  onAnimationIteration?: (event: AnimationEvent) => void;
1621
1705
  onAnimationIterationCapture?: (event: AnimationEvent) => void;
1706
+ onTransitionCancel?: (event: TransitionEvent) => void;
1707
+ onTransitionCancelCapture?: (event: TransitionEvent) => void;
1622
1708
  onTransitionEnd?: (event: TransitionEvent) => void;
1623
1709
  onTransitionEndCapture?: (event: TransitionEvent) => void;
1710
+ onTransitionRun?: (event: TransitionEvent) => void;
1711
+ onTransitionRunCapture?: (event: TransitionEvent) => void;
1712
+ onTransitionStart?: (event: TransitionEvent) => void;
1713
+ onTransitionStartCapture?: (event: TransitionEvent) => void;
1714
+ [key: `aria-${string}`]: string | boolean | undefined;
1715
+ [key: `aria${string}`]: string | boolean | undefined;
1624
1716
  }
1625
1717
  }
1626
1718
  export interface JSXAttributes<T = Element> {