@quartzds/core 1.0.0-beta.9 → 1.0.0-beta.90

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 (387) hide show
  1. package/README.md +5 -5
  2. package/components/index.d.ts +48 -0
  3. package/components/index.js +60 -28
  4. package/components/index.js.map +1 -1
  5. package/components/p-2806fee1.js +1887 -0
  6. package/components/p-2806fee1.js.map +1 -0
  7. package/components/p-3c48ff53.js +103 -0
  8. package/components/p-3c48ff53.js.map +1 -0
  9. package/components/p-688c90f6.js +267 -0
  10. package/components/p-688c90f6.js.map +1 -0
  11. package/components/p-8abba29b.js +204 -0
  12. package/components/p-8abba29b.js.map +1 -0
  13. package/components/p-a020ece3.js +142 -0
  14. package/components/p-a020ece3.js.map +1 -0
  15. package/components/p-a6310886.js +144 -0
  16. package/components/p-a6310886.js.map +1 -0
  17. package/components/p-adefd438.js +404 -0
  18. package/components/p-adefd438.js.map +1 -0
  19. package/components/p-b4c302d4.js +91 -0
  20. package/components/p-b4c302d4.js.map +1 -0
  21. package/components/p-ba880369.js +256 -0
  22. package/components/p-ba880369.js.map +1 -0
  23. package/components/p-c80f112a.js +408 -0
  24. package/components/p-c80f112a.js.map +1 -0
  25. package/components/p-d107c90c.js +27 -0
  26. package/components/p-d107c90c.js.map +1 -0
  27. package/components/p-fac26e20.js +111 -0
  28. package/components/p-fac26e20.js.map +1 -0
  29. package/components/{floating-ui.dom.esm.js → p-fdd0abae.js} +468 -416
  30. package/components/p-fdd0abae.js.map +1 -0
  31. package/components/p-fed0d11f.js +94 -0
  32. package/components/p-fed0d11f.js.map +1 -0
  33. package/components/qds-badge-counter.d.ts +11 -0
  34. package/components/qds-badge-counter.js +13 -0
  35. package/components/qds-badge-counter.js.map +1 -0
  36. package/components/qds-badge-indicator.d.ts +11 -0
  37. package/components/qds-badge-indicator.js +13 -0
  38. package/components/qds-badge-indicator.js.map +1 -0
  39. package/components/qds-breadcrumb-item.d.ts +11 -0
  40. package/components/qds-breadcrumb-item.js +126 -0
  41. package/components/qds-breadcrumb-item.js.map +1 -0
  42. package/components/qds-button.d.ts +2 -2
  43. package/components/qds-button.js +3 -138
  44. package/components/qds-button.js.map +1 -1
  45. package/components/qds-checkbox.d.ts +2 -2
  46. package/components/qds-checkbox.js +3 -146
  47. package/components/qds-checkbox.js.map +1 -1
  48. package/components/qds-chip.d.ts +11 -0
  49. package/components/qds-chip.js +296 -0
  50. package/components/qds-chip.js.map +1 -0
  51. package/components/qds-dialog.d.ts +11 -0
  52. package/components/qds-dialog.js +126 -0
  53. package/components/qds-dialog.js.map +1 -0
  54. package/components/qds-divider.d.ts +2 -2
  55. package/components/qds-divider.js +3 -39
  56. package/components/qds-divider.js.map +1 -1
  57. package/components/qds-dropdown.d.ts +2 -2
  58. package/components/qds-dropdown.js +273 -239
  59. package/components/qds-dropdown.js.map +1 -1
  60. package/components/qds-form-message.d.ts +11 -0
  61. package/components/qds-form-message.js +112 -0
  62. package/components/qds-form-message.js.map +1 -0
  63. package/components/qds-icon.d.ts +2 -2
  64. package/components/qds-icon.js +3 -3
  65. package/components/qds-inline-link.d.ts +2 -2
  66. package/components/qds-inline-link.js +136 -73
  67. package/components/qds-inline-link.js.map +1 -1
  68. package/components/qds-input.d.ts +2 -2
  69. package/components/qds-input.js +489 -230
  70. package/components/qds-input.js.map +1 -1
  71. package/components/qds-label.d.ts +2 -2
  72. package/components/qds-label.js +3 -3
  73. package/components/qds-list-item.d.ts +11 -0
  74. package/components/qds-list-item.js +212 -0
  75. package/components/qds-list-item.js.map +1 -0
  76. package/components/qds-loader.d.ts +11 -0
  77. package/components/qds-loader.js +113 -0
  78. package/components/qds-loader.js.map +1 -0
  79. package/components/qds-nav-list-item.d.ts +11 -0
  80. package/components/qds-nav-list-item.js +162 -0
  81. package/components/qds-nav-list-item.js.map +1 -0
  82. package/components/qds-progress-bar.d.ts +11 -0
  83. package/components/qds-progress-bar.js +153 -0
  84. package/components/qds-progress-bar.js.map +1 -0
  85. package/components/qds-radio.d.ts +2 -2
  86. package/components/qds-radio.js +147 -93
  87. package/components/qds-radio.js.map +1 -1
  88. package/components/qds-select.d.ts +11 -0
  89. package/components/qds-select.js +361 -0
  90. package/components/qds-select.js.map +1 -0
  91. package/components/qds-standalone-link.d.ts +11 -0
  92. package/components/qds-standalone-link.js +174 -0
  93. package/components/qds-standalone-link.js.map +1 -0
  94. package/components/qds-switch.d.ts +2 -2
  95. package/components/qds-switch.js +221 -105
  96. package/components/qds-switch.js.map +1 -1
  97. package/components/qds-tab.d.ts +11 -0
  98. package/components/qds-tab.js +379 -0
  99. package/components/qds-tab.js.map +1 -0
  100. package/components/qds-tabbar.d.ts +11 -0
  101. package/components/qds-tabbar.js +407 -0
  102. package/components/qds-tabbar.js.map +1 -0
  103. package/components/qds-table-body.d.ts +11 -0
  104. package/components/qds-table-body.js +68 -0
  105. package/components/qds-table-body.js.map +1 -0
  106. package/components/qds-table-cell.d.ts +11 -0
  107. package/components/qds-table-cell.js +71 -0
  108. package/components/qds-table-cell.js.map +1 -0
  109. package/components/qds-table-head-cell.d.ts +11 -0
  110. package/components/qds-table-head-cell.js +73 -0
  111. package/components/qds-table-head-cell.js.map +1 -0
  112. package/components/qds-table-head.d.ts +11 -0
  113. package/components/qds-table-head.js +68 -0
  114. package/components/qds-table-head.js.map +1 -0
  115. package/components/qds-table-row.d.ts +11 -0
  116. package/components/qds-table-row.js +68 -0
  117. package/components/qds-table-row.js.map +1 -0
  118. package/components/qds-table.d.ts +11 -0
  119. package/components/qds-table.js +68 -0
  120. package/components/qds-table.js.map +1 -0
  121. package/components/qds-tag.d.ts +11 -0
  122. package/components/qds-tag.js +13 -0
  123. package/components/qds-tag.js.map +1 -0
  124. package/components/qds-textarea.d.ts +2 -2
  125. package/components/qds-textarea.js +331 -193
  126. package/components/qds-textarea.js.map +1 -1
  127. package/components/qds-title.d.ts +2 -2
  128. package/components/qds-title.js +3 -84
  129. package/components/qds-title.js.map +1 -1
  130. package/components/qds-tooltip.d.ts +2 -2
  131. package/components/qds-tooltip.js +3 -315
  132. package/components/qds-tooltip.js.map +1 -1
  133. package/dist/cjs/app-globals-c4cf08df.js +12 -0
  134. package/dist/cjs/app-globals-c4cf08df.js.map +1 -0
  135. package/dist/cjs/controls-ee3d2ec8.js +31 -0
  136. package/dist/cjs/controls-ee3d2ec8.js.map +1 -0
  137. package/dist/cjs/{floating-ui.dom.esm-71fa96af.js → floating-ui.dom.esm-19b2b933.js} +468 -416
  138. package/dist/cjs/floating-ui.dom.esm-19b2b933.js.map +1 -0
  139. package/dist/cjs/helpers-10154521.js +217 -0
  140. package/dist/cjs/helpers-10154521.js.map +1 -0
  141. package/dist/cjs/index-523dd2e0.js +2149 -0
  142. package/dist/cjs/index-523dd2e0.js.map +1 -0
  143. package/dist/cjs/index.cjs.js +39 -27
  144. package/dist/cjs/index.cjs.js.map +1 -1
  145. package/dist/cjs/library-41b19b9e.js +117 -0
  146. package/dist/cjs/library-41b19b9e.js.map +1 -0
  147. package/dist/cjs/loader.cjs.js +8 -6
  148. package/dist/cjs/loader.cjs.js.map +1 -1
  149. package/dist/cjs/qds-badge-counter_2.cjs.entry.js +151 -0
  150. package/dist/cjs/qds-badge-counter_2.cjs.entry.js.map +1 -0
  151. package/dist/cjs/qds-breadcrumb-item.cjs.entry.js +96 -0
  152. package/dist/cjs/qds-breadcrumb-item.cjs.entry.js.map +1 -0
  153. package/dist/cjs/qds-button.cjs.entry.js +321 -90
  154. package/dist/cjs/qds-button.cjs.entry.js.map +1 -1
  155. package/dist/cjs/qds-checkbox.cjs.entry.js +207 -99
  156. package/dist/cjs/qds-checkbox.cjs.entry.js.map +1 -1
  157. package/dist/cjs/qds-chip.cjs.entry.js +256 -0
  158. package/dist/cjs/qds-chip.cjs.entry.js.map +1 -0
  159. package/dist/cjs/qds-dialog.cjs.entry.js +108 -0
  160. package/dist/cjs/qds-dialog.cjs.entry.js.map +1 -0
  161. package/dist/cjs/qds-divider.cjs.entry.js +60 -18
  162. package/dist/cjs/qds-divider.cjs.entry.js.map +1 -1
  163. package/dist/cjs/qds-dropdown.cjs.entry.js +232 -206
  164. package/dist/cjs/qds-dropdown.cjs.entry.js.map +1 -1
  165. package/dist/cjs/qds-form-message.cjs.entry.js +86 -0
  166. package/dist/cjs/qds-form-message.cjs.entry.js.map +1 -0
  167. package/dist/cjs/qds-icon.cjs.entry.js +113 -90
  168. package/dist/cjs/qds-icon.cjs.entry.js.map +1 -1
  169. package/dist/cjs/qds-inline-link.cjs.entry.js +99 -46
  170. package/dist/cjs/qds-inline-link.cjs.entry.js.map +1 -1
  171. package/dist/cjs/qds-input.cjs.entry.js +404 -185
  172. package/dist/cjs/qds-input.cjs.entry.js.map +1 -1
  173. package/dist/cjs/qds-label.cjs.entry.js +102 -24
  174. package/dist/cjs/qds-label.cjs.entry.js.map +1 -1
  175. package/dist/cjs/qds-list-item.cjs.entry.js +157 -0
  176. package/dist/cjs/qds-list-item.cjs.entry.js.map +1 -0
  177. package/dist/cjs/qds-loader.cjs.entry.js +94 -0
  178. package/dist/cjs/qds-loader.cjs.entry.js.map +1 -0
  179. package/dist/cjs/qds-nav-list-item.cjs.entry.js +124 -0
  180. package/dist/cjs/qds-nav-list-item.cjs.entry.js.map +1 -0
  181. package/dist/cjs/qds-progress-bar.cjs.entry.js +135 -0
  182. package/dist/cjs/qds-progress-bar.cjs.entry.js.map +1 -0
  183. package/dist/cjs/qds-radio.cjs.entry.js +102 -57
  184. package/dist/cjs/qds-radio.cjs.entry.js.map +1 -1
  185. package/dist/cjs/qds-select.cjs.entry.js +323 -0
  186. package/dist/cjs/qds-select.cjs.entry.js.map +1 -0
  187. package/dist/cjs/qds-standalone-link.cjs.entry.js +134 -0
  188. package/dist/cjs/qds-standalone-link.cjs.entry.js.map +1 -0
  189. package/dist/cjs/qds-switch.cjs.entry.js +193 -64
  190. package/dist/cjs/qds-switch.cjs.entry.js.map +1 -1
  191. package/dist/cjs/qds-tab.cjs.entry.js +299 -0
  192. package/dist/cjs/qds-tab.cjs.entry.js.map +1 -0
  193. package/dist/cjs/qds-tabbar.cjs.entry.js +349 -0
  194. package/dist/cjs/qds-tabbar.cjs.entry.js.map +1 -0
  195. package/dist/cjs/qds-table-body.cjs.entry.js +54 -0
  196. package/dist/cjs/qds-table-body.cjs.entry.js.map +1 -0
  197. package/dist/cjs/qds-table-cell.cjs.entry.js +54 -0
  198. package/dist/cjs/qds-table-cell.cjs.entry.js.map +1 -0
  199. package/dist/cjs/qds-table-head-cell.cjs.entry.js +54 -0
  200. package/dist/cjs/qds-table-head-cell.cjs.entry.js.map +1 -0
  201. package/dist/cjs/qds-table-head.cjs.entry.js +54 -0
  202. package/dist/cjs/qds-table-head.cjs.entry.js.map +1 -0
  203. package/dist/cjs/qds-table-row.cjs.entry.js +54 -0
  204. package/dist/cjs/qds-table-row.cjs.entry.js.map +1 -0
  205. package/dist/cjs/qds-table.cjs.entry.js +54 -0
  206. package/dist/cjs/qds-table.cjs.entry.js.map +1 -0
  207. package/dist/cjs/qds-tag_2.cjs.entry.js +181 -0
  208. package/dist/cjs/qds-tag_2.cjs.entry.js.map +1 -0
  209. package/dist/cjs/qds-textarea.cjs.entry.js +288 -153
  210. package/dist/cjs/qds-textarea.cjs.entry.js.map +1 -1
  211. package/dist/cjs/qds-tooltip.cjs.entry.js +332 -260
  212. package/dist/cjs/qds-tooltip.cjs.entry.js.map +1 -1
  213. package/dist/cjs/qds.cjs.js +15 -13
  214. package/dist/cjs/qds.cjs.js.map +1 -1
  215. package/dist/custom-elements.json +8707 -2149
  216. package/dist/docs.d.ts +344 -240
  217. package/dist/docs.json +9494 -3054
  218. package/dist/esm/app-globals-8ced3a41.js +10 -0
  219. package/dist/esm/app-globals-8ced3a41.js.map +1 -0
  220. package/dist/esm/controls-a4768aaf.js +27 -0
  221. package/dist/esm/controls-a4768aaf.js.map +1 -0
  222. package/dist/esm/{floating-ui.dom.esm-f96ac766.js → floating-ui.dom.esm-61986f35.js} +468 -416
  223. package/dist/esm/floating-ui.dom.esm-61986f35.js.map +1 -0
  224. package/dist/esm/helpers-2e4ca34d.js +204 -0
  225. package/dist/esm/helpers-2e4ca34d.js.map +1 -0
  226. package/dist/esm/index-b1d6acd2.js +2118 -0
  227. package/dist/esm/index-b1d6acd2.js.map +1 -0
  228. package/dist/esm/index.js +39 -28
  229. package/dist/esm/index.js.map +1 -1
  230. package/dist/esm/library-2e5458af.js +113 -0
  231. package/dist/esm/library-2e5458af.js.map +1 -0
  232. package/dist/esm/loader.js +9 -7
  233. package/dist/esm/loader.js.map +1 -1
  234. package/dist/esm/qds-badge-counter_2.entry.js +146 -0
  235. package/dist/esm/qds-badge-counter_2.entry.js.map +1 -0
  236. package/dist/esm/qds-breadcrumb-item.entry.js +92 -0
  237. package/dist/esm/qds-breadcrumb-item.entry.js.map +1 -0
  238. package/dist/esm/qds-button.entry.js +321 -90
  239. package/dist/esm/qds-button.entry.js.map +1 -1
  240. package/dist/esm/qds-checkbox.entry.js +207 -99
  241. package/dist/esm/qds-checkbox.entry.js.map +1 -1
  242. package/dist/esm/qds-chip.entry.js +252 -0
  243. package/dist/esm/qds-chip.entry.js.map +1 -0
  244. package/dist/esm/qds-dialog.entry.js +104 -0
  245. package/dist/esm/qds-dialog.entry.js.map +1 -0
  246. package/dist/esm/qds-divider.entry.js +60 -18
  247. package/dist/esm/qds-divider.entry.js.map +1 -1
  248. package/dist/esm/qds-dropdown.entry.js +232 -206
  249. package/dist/esm/qds-dropdown.entry.js.map +1 -1
  250. package/dist/esm/qds-form-message.entry.js +82 -0
  251. package/dist/esm/qds-form-message.entry.js.map +1 -0
  252. package/dist/esm/qds-icon.entry.js +113 -90
  253. package/dist/esm/qds-icon.entry.js.map +1 -1
  254. package/dist/esm/qds-inline-link.entry.js +99 -46
  255. package/dist/esm/qds-inline-link.entry.js.map +1 -1
  256. package/dist/esm/qds-input.entry.js +404 -185
  257. package/dist/esm/qds-input.entry.js.map +1 -1
  258. package/dist/esm/qds-label.entry.js +102 -24
  259. package/dist/esm/qds-label.entry.js.map +1 -1
  260. package/dist/esm/qds-list-item.entry.js +153 -0
  261. package/dist/esm/qds-list-item.entry.js.map +1 -0
  262. package/dist/esm/qds-loader.entry.js +90 -0
  263. package/dist/esm/qds-loader.entry.js.map +1 -0
  264. package/dist/esm/qds-nav-list-item.entry.js +120 -0
  265. package/dist/esm/qds-nav-list-item.entry.js.map +1 -0
  266. package/dist/esm/qds-progress-bar.entry.js +131 -0
  267. package/dist/esm/qds-progress-bar.entry.js.map +1 -0
  268. package/dist/esm/qds-radio.entry.js +102 -57
  269. package/dist/esm/qds-radio.entry.js.map +1 -1
  270. package/dist/esm/qds-select.entry.js +319 -0
  271. package/dist/esm/qds-select.entry.js.map +1 -0
  272. package/dist/esm/qds-standalone-link.entry.js +130 -0
  273. package/dist/esm/qds-standalone-link.entry.js.map +1 -0
  274. package/dist/esm/qds-switch.entry.js +193 -64
  275. package/dist/esm/qds-switch.entry.js.map +1 -1
  276. package/dist/esm/qds-tab.entry.js +295 -0
  277. package/dist/esm/qds-tab.entry.js.map +1 -0
  278. package/dist/esm/qds-tabbar.entry.js +345 -0
  279. package/dist/esm/qds-tabbar.entry.js.map +1 -0
  280. package/dist/esm/qds-table-body.entry.js +50 -0
  281. package/dist/esm/qds-table-body.entry.js.map +1 -0
  282. package/dist/esm/qds-table-cell.entry.js +50 -0
  283. package/dist/esm/qds-table-cell.entry.js.map +1 -0
  284. package/dist/esm/qds-table-head-cell.entry.js +50 -0
  285. package/dist/esm/qds-table-head-cell.entry.js.map +1 -0
  286. package/dist/esm/qds-table-head.entry.js +50 -0
  287. package/dist/esm/qds-table-head.entry.js.map +1 -0
  288. package/dist/esm/qds-table-row.entry.js +50 -0
  289. package/dist/esm/qds-table-row.entry.js.map +1 -0
  290. package/dist/esm/qds-table.entry.js +50 -0
  291. package/dist/esm/qds-table.entry.js.map +1 -0
  292. package/dist/esm/qds-tag_2.entry.js +176 -0
  293. package/dist/esm/qds-tag_2.entry.js.map +1 -0
  294. package/dist/esm/qds-textarea.entry.js +288 -153
  295. package/dist/esm/qds-textarea.entry.js.map +1 -1
  296. package/dist/esm/qds-tooltip.entry.js +332 -260
  297. package/dist/esm/qds-tooltip.entry.js.map +1 -1
  298. package/dist/esm/qds.js +16 -14
  299. package/dist/esm/qds.js.map +1 -1
  300. package/dist/types/components/badge-counter/badge-counter.d.ts +40 -0
  301. package/dist/types/components/badge-indicator/badge-indicator.d.ts +36 -0
  302. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +160 -0
  303. package/dist/types/components/button/button.d.ts +272 -194
  304. package/dist/types/components/checkbox/checkbox.d.ts +130 -124
  305. package/dist/types/components/chip/chip.d.ts +109 -0
  306. package/dist/types/components/controls.d.ts +4 -1
  307. package/dist/types/components/dialog/dialog.d.ts +35 -0
  308. package/dist/types/components/divider/divider.d.ts +13 -9
  309. package/dist/types/components/dropdown/dropdown.d.ts +107 -125
  310. package/dist/types/components/form-message/form-message.d.ts +42 -0
  311. package/dist/types/components/icon/icon.d.ts +24 -24
  312. package/dist/types/components/icon/library.d.ts +3 -3
  313. package/dist/types/components/icon/request.d.ts +5 -9
  314. package/dist/types/components/inline-link/inline-link.d.ts +208 -191
  315. package/dist/types/components/input/input.d.ts +415 -368
  316. package/dist/types/components/label/label.d.ts +26 -24
  317. package/dist/types/components/list-item/list-item.d.ts +100 -0
  318. package/dist/types/components/loader/loader.d.ts +27 -0
  319. package/dist/types/components/nav-list-item/nav-list-item.d.ts +67 -0
  320. package/dist/types/components/progress-bar/progress-bar.d.ts +60 -0
  321. package/dist/types/components/radio/radio.d.ts +90 -95
  322. package/dist/types/components/select/select.d.ts +203 -0
  323. package/dist/types/components/shared.d.ts +6 -0
  324. package/dist/types/components/standalone-link/standalone-link.d.ts +233 -0
  325. package/dist/types/components/switch/switch.d.ts +114 -107
  326. package/dist/types/components/tab/tab.d.ts +160 -0
  327. package/dist/types/components/tabbar/tabbar.d.ts +47 -0
  328. package/dist/types/components/table/table.d.ts +15 -0
  329. package/dist/types/components/table-body/table-body.d.ts +15 -0
  330. package/dist/types/components/table-cell/table-cell.d.ts +32 -0
  331. package/dist/types/components/table-head/table-head.d.ts +15 -0
  332. package/dist/types/components/table-head-cell/table-head-cell.d.ts +56 -0
  333. package/dist/types/components/table-row/table-row.d.ts +15 -0
  334. package/dist/types/components/tag/tag.d.ts +55 -0
  335. package/dist/types/components/textarea/textarea.d.ts +285 -300
  336. package/dist/types/components/title/title.d.ts +39 -32
  337. package/dist/types/components/tooltip/tooltip.d.ts +123 -137
  338. package/dist/types/components.d.ts +3928 -820
  339. package/dist/types/helpers.d.ts +15 -16
  340. package/dist/types/index.d.ts +2 -1
  341. package/dist/types/interface-overrides.d.ts +211 -0
  342. package/dist/types/qds-test.d.ts +22 -11
  343. package/dist/types/stencil-public-runtime.d.ts +55 -15
  344. package/dist/types/utils.d.ts +11 -4
  345. package/dist/vscode.html-custom-data.json +1523 -209
  346. package/hydrate/index.d.ts +59 -18
  347. package/hydrate/index.js +25682 -8977
  348. package/hydrate/index.mjs +26622 -0
  349. package/hydrate/package.json +7 -1
  350. package/loader/cdn.js +3 -4
  351. package/loader/index.cjs.js +3 -4
  352. package/loader/index.d.ts +4 -1
  353. package/loader/index.es2017.js +3 -4
  354. package/loader/index.js +3 -4
  355. package/package.json +53 -89
  356. package/styles/core.css +137 -14
  357. package/components/floating-ui.dom.esm.js.map +0 -1
  358. package/components/helpers.js +0 -175
  359. package/components/helpers.js.map +0 -1
  360. package/components/icon.js +0 -175
  361. package/components/icon.js.map +0 -1
  362. package/components/label.js +0 -55
  363. package/components/label.js.map +0 -1
  364. package/dist/cjs/floating-ui.dom.esm-71fa96af.js.map +0 -1
  365. package/dist/cjs/helpers-452256e8.js +0 -185
  366. package/dist/cjs/helpers-452256e8.js.map +0 -1
  367. package/dist/cjs/index-d181f952.js +0 -2039
  368. package/dist/cjs/index-d181f952.js.map +0 -1
  369. package/dist/cjs/library-0a619eeb.js +0 -62
  370. package/dist/cjs/library-0a619eeb.js.map +0 -1
  371. package/dist/cjs/qds-title.cjs.entry.js +0 -66
  372. package/dist/cjs/qds-title.cjs.entry.js.map +0 -1
  373. package/dist/esm/floating-ui.dom.esm-f96ac766.js.map +0 -1
  374. package/dist/esm/helpers-76b84f45.js +0 -175
  375. package/dist/esm/helpers-76b84f45.js.map +0 -1
  376. package/dist/esm/index-d7183092.js +0 -2009
  377. package/dist/esm/index-d7183092.js.map +0 -1
  378. package/dist/esm/library-021aca11.js +0 -58
  379. package/dist/esm/library-021aca11.js.map +0 -1
  380. package/dist/esm/polyfills/core-js.js +0 -11
  381. package/dist/esm/polyfills/dom.js +0 -79
  382. package/dist/esm/polyfills/es5-html-element.js +0 -1
  383. package/dist/esm/polyfills/index.js +0 -34
  384. package/dist/esm/polyfills/system.js +0 -6
  385. package/dist/esm/qds-title.entry.js +0 -62
  386. package/dist/esm/qds-title.entry.js.map +0 -1
  387. package/dist/types/components/create-story.d.ts +0 -5
@@ -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.
@@ -45,7 +33,18 @@ export declare const propertyToPx: (element: Element, property: string) => numbe
45
33
  export declare const ignorePromise: <T>(promise: Promise<T>) => void;
46
34
  export declare const isTouchDevice: () => boolean;
47
35
  export declare const roundByDPR: (value: number) => number;
36
+ /**
37
+ * Checks if an element's content is overflowing.
38
+ *
39
+ * @param element The element to check.
40
+ * @returns `true` if overflowing, `false` otherwise.
41
+ */
42
+ export declare const isOverflowing: (element: Element) => boolean;
43
+ export declare const determineLinkIcon: (href?: URL | string, target?: string) => LinkIcon | undefined;
44
+ export declare function attachInternals(this: unknown): ElementInternals;
45
+ export declare const resolveTarget: (target?: ReferenceElement | string | (() => ReferenceElement | string)) => ReferenceElement | undefined;
48
46
  export type OffsetValue = Except<Exclude<LibraryOffsetOptions, Function | number>, 'mainAxis'>;
49
47
  export type OffsetFunction = (state: MiddlewareState) => OffsetValue;
50
48
  export type OffsetOptions = OffsetFunction | OffsetValue;
49
+ export {};
51
50
  //# 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,211 @@
1
+ export {};
2
+ interface ValidationMethods {
3
+ /**
4
+ * Returns true if element has no validity problems; false otherwise.
5
+ * Fires an invalid event at the element in the latter case.
6
+ *
7
+ * @webnative
8
+ */
9
+ readonly checkValidity: ElementInternals['checkValidity'];
10
+ /**
11
+ * Returns true if the element has no validity problems; otherwise, returns
12
+ * false, fires an invalid event at the element, and (if the event isn't
13
+ * canceled) reports the problem to the user.
14
+ *
15
+ * @webnative
16
+ */
17
+ readonly reportValidity: ElementInternals['reportValidity'];
18
+ /**
19
+ * Sets a custom error message that is displayed when a form is submitted.
20
+ *
21
+ * @param error The custom error message to set.
22
+ *
23
+ * @webnative
24
+ */
25
+ readonly setCustomValidity: HTMLInputElement['setCustomValidity'];
26
+ }
27
+ declare module './components' {
28
+ namespace Components {
29
+ interface QdsCheckbox extends ValidationMethods {
30
+ }
31
+ interface QdsDialog {
32
+ /**
33
+ * Displays the dialog over the top of any other dialogs that might be
34
+ * present. Everything outside of the dialog is [inert][] with interactions
35
+ * outside of the dialog being blocked.
36
+ *
37
+ * [inert]: https://developer.mozilla.org/docs/Web/API/HTMLElement/inert
38
+ */
39
+ show: () => void;
40
+ /**
41
+ * Closes the dialog.
42
+ */
43
+ close: () => void;
44
+ }
45
+ interface QdsDropdown {
46
+ /**
47
+ * Displays the dropdown.
48
+ */
49
+ show: () => void;
50
+ /**
51
+ * Closes the dropdown.
52
+ */
53
+ close: () => void;
54
+ }
55
+ interface QdsInput extends ValidationMethods {
56
+ /**
57
+ * Selects the entire content of the `<qds-input>` element if the
58
+ * element's content is selectable.
59
+ */
60
+ readonly select: HTMLInputElement['select'];
61
+ /**
62
+ * Sets the contents of the specified range of characters in the input element to a given string.
63
+ *
64
+ * @param replacement The string to insert.
65
+ * @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).
66
+ * @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).
67
+ * @param selectionMode A string defining how the selection should be set
68
+ * after the text has been replaced. Possible values:
69
+ * - `"select"` selects the newly inserted text.
70
+ * - `"start"` moves the selection to just before the inserted text.
71
+ * - `"end"` moves the selection to just after the inserted text.
72
+ * - `"preserve"` attempts to preserve the selection.
73
+ *
74
+ * @webnative
75
+ */
76
+ readonly setRangeText: HTMLInputElement['setRangeText'];
77
+ /**
78
+ * Selects the specified range of characters within the input.
79
+ *
80
+ * @param start The offset into the input for the start of the selection.
81
+ * @param end The offset into the input for the end of the selection.
82
+ * @param direction The direction in which the selection is performed.
83
+ *
84
+ * @webnative
85
+ */
86
+ readonly setSelectionRange: HTMLInputElement['setSelectionRange'];
87
+ /**
88
+ * Decrements the `value` by (`step` * n), where n defaults to 1 if not
89
+ * specified.
90
+ *
91
+ * @param n Amount to decrement the value by.
92
+ *
93
+ * @webnative
94
+ */
95
+ readonly stepDown: HTMLInputElement['stepDown'];
96
+ /**
97
+ * Increments the `value` by (`step` * n), where n defaults to 1 if not
98
+ * specified.
99
+ *
100
+ * @param n Amount to increment the value by.
101
+ *
102
+ * @webnative
103
+ */
104
+ readonly stepUp: HTMLInputElement['stepUp'];
105
+ /**
106
+ * Displays the browser picker for a `<qds-input>` element.
107
+ *
108
+ * This is the same picker that would normally be displayed when the
109
+ * element is selected, but can be triggered from a button press or other
110
+ * user interaction.
111
+ *
112
+ * Commonly browsers implement it for inputs of these types: `"date"`,
113
+ * `"month"`, `"week"`, `"time"`, `"datetime-local"`, or `"color"`. It
114
+ * can also be pre-populated with items from a [`<datalist>`][] element
115
+ * or [`autocomplete`][] attribute.
116
+ *
117
+ * More generally, this method should display the picker for any
118
+ * `<qds-input>` element on the platform that has a picker.
119
+ *
120
+ * [`<datalist>`]: https://developer.mozilla.org/docs/Web/HTML/Element/datalist
121
+ * [`autocomplete`]: https://developer.mozilla.org/docs/Web/HTML/Attributes/autocomplete
122
+ *
123
+ * @webnative
124
+ */
125
+ readonly showPicker: HTMLInputElement['showPicker'];
126
+ }
127
+ interface QdsSelect extends ValidationMethods {
128
+ /**
129
+ * Adds an element to the options collection.
130
+ *
131
+ * @param element The element to add.
132
+ * @param before An element of the options collection or a zero-based
133
+ * index representing the item the element should be added before. If
134
+ * this parameter is not specified or the index does not exist, the new
135
+ * element is appended to the end of the collection.
136
+ */
137
+ readonly addItem: HTMLSelectElement['add'];
138
+ /**
139
+ * Removes an element from the options collection.
140
+ *
141
+ * @param index Zero-based index of the [`HTMLOptionElement`][] to remove
142
+ * from the collection. If the index is not found the method has no
143
+ * effect.
144
+ *
145
+ * [`HTMLOptionElement`]: https://developer.mozilla.org/docs/Web/API/HTMLOptionElement
146
+ */
147
+ readonly removeItem: HTMLSelectElement['remove'];
148
+ /**
149
+ * Retrieves an element from the options collection by its index.
150
+ *
151
+ * @param index Zero-based index of the [`HTMLOptionElement`][] to
152
+ * retrieve.
153
+ *
154
+ * [`HTMLOptionElement`]: https://developer.mozilla.org/docs/Web/API/HTMLOptionElement
155
+ *
156
+ * @webnative
157
+ */
158
+ readonly item: HTMLSelectElement['item'];
159
+ /**
160
+ * Retrieves an element from the options collection by its name.
161
+ *
162
+ * @param name The `name` or `id` property of the [`HTMLOptionElement`][] to
163
+ * retrieve.
164
+ *
165
+ * [`HTMLOptionElement`]: https://developer.mozilla.org/docs/Web/API/HTMLOptionElement
166
+ *
167
+ * @webnative
168
+ */
169
+ readonly namedItem: HTMLSelectElement['namedItem'];
170
+ }
171
+ interface QdsSwitch extends ValidationMethods {
172
+ }
173
+ interface QdsTextarea extends ValidationMethods {
174
+ /**
175
+ * Selects the entire content of the `<qds-textarea>` element if the
176
+ * element's content is selectable.
177
+ *
178
+ * @webnative
179
+ */
180
+ readonly select: HTMLTextAreaElement['select'];
181
+ /**
182
+ * Sets the contents of the specified range of characters in the textarea
183
+ * element to a given string.
184
+ *
185
+ * @param replacement The string to insert.
186
+ * @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).
187
+ * @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).
188
+ * @param selectionMode A string defining how the selection should be set
189
+ * after the text has been replaced. Possible values:
190
+ * - `"select"` selects the newly inserted text.
191
+ * - `"start"` moves the selection to just before the inserted text.
192
+ * - `"end"` moves the selection to just after the inserted text.
193
+ * - `"preserve"` attempts to preserve the selection.
194
+ *
195
+ * @webnative
196
+ */
197
+ readonly setRangeText: HTMLTextAreaElement['setRangeText'];
198
+ /**
199
+ * Selects the specified range of characters within the textarea.
200
+ *
201
+ * @param start The offset into the textarea for the start of the selection.
202
+ * @param end The offset into the textarea for the end of the selection.
203
+ * @param direction The direction in which the selection is performed.
204
+ *
205
+ * @webnative
206
+ */
207
+ readonly setSelectionRange: HTMLTextAreaElement['setSelectionRange'];
208
+ }
209
+ }
210
+ }
211
+ //# 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
@@ -3,6 +3,16 @@ export interface ComponentDecorator {
3
3
  (opts?: ComponentOptions): ClassDecorator;
4
4
  }
5
5
  export interface ComponentOptions {
6
+ /**
7
+ * When set to `true` this component will be form-associated. See
8
+ * https://stenciljs.com/docs/next/form-associated documentation on how to
9
+ * build form-associated Stencil components that integrate into forms like
10
+ * native browser elements such as `<input>` and `<textarea>`.
11
+ *
12
+ * The {@link AttachInternals} decorator allows for access to the
13
+ * `ElementInternals` object to modify the associated form.
14
+ */
15
+ formAssociated?: boolean;
6
16
  /**
7
17
  * Tag name of the web component. Ideally, the tag name must be globally unique,
8
18
  * so it's recommended to choose an unique prefix for all your components within the same collection.
@@ -62,7 +72,7 @@ export interface PropOptions {
62
72
  /**
63
73
  * The name of the associated DOM attribute.
64
74
  * Stencil uses different heuristics to determine the default name of the attribute,
65
- * but using this property, you can override the default behaviour.
75
+ * but using this property, you can override the default behavior.
66
76
  */
67
77
  attribute?: string | null;
68
78
  /**
@@ -107,6 +117,9 @@ export interface EventOptions {
107
117
  */
108
118
  composed?: boolean;
109
119
  }
120
+ export interface AttachInternalsDecorator {
121
+ (): PropertyDecorator;
122
+ }
110
123
  export interface ListenDecorator {
111
124
  (eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
112
125
  }
@@ -128,7 +141,7 @@ export interface ListenOptions {
128
141
  * By default, Stencil uses several heuristics to determine if
129
142
  * it must attach a `passive` event listener or not.
130
143
  *
131
- * Using the `passive` option can be used to change the default behaviour.
144
+ * Using the `passive` option can be used to change the default behavior.
132
145
  * Please see https://developers.google.com/web/updates/2016/06/passive-event-listeners for further information.
133
146
  */
134
147
  passive?: boolean;
@@ -175,6 +188,12 @@ export declare const Element: ElementDecorator;
175
188
  * https://stenciljs.com/docs/events
176
189
  */
177
190
  export declare const Event: EventDecorator;
191
+ /**
192
+ * If the `formAssociated` option is set in options passed to the
193
+ * `@Component()` decorator then this decorator may be used to get access to the
194
+ * `ElementInternals` instance associated with the component.
195
+ */
196
+ export declare const AttachInternals: AttachInternalsDecorator;
178
197
  /**
179
198
  * The `Listen()` decorator is for listening DOM events, including the ones
180
199
  * dispatched from `@Events()`.
@@ -432,7 +451,7 @@ export interface QueueApi {
432
451
  /**
433
452
  * Host
434
453
  */
435
- interface HostAttributes {
454
+ export interface HostAttributes {
436
455
  class?: string | {
437
456
  [className: string]: boolean;
438
457
  };
@@ -471,7 +490,7 @@ export interface FunctionalUtilities {
471
490
  /**
472
491
  * Utility for reading the children of a functional component at runtime.
473
492
  * 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
493
+ * not recommended to read the children directly, and is preferable to use
475
494
  * this utility to, for instance, perform a side effect for each child.
476
495
  */
477
496
  forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
@@ -749,6 +768,7 @@ export declare namespace JSXBase {
749
768
  hrefLang?: string;
750
769
  hreflang?: string;
751
770
  media?: string;
771
+ ping?: string;
752
772
  rel?: string;
753
773
  target?: string;
754
774
  referrerPolicy?: ReferrerPolicy;
@@ -775,7 +795,6 @@ export declare namespace JSXBase {
775
795
  cite?: string;
776
796
  }
777
797
  interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
778
- autoFocus?: boolean;
779
798
  disabled?: boolean;
780
799
  form?: string;
781
800
  formAction?: string;
@@ -791,6 +810,9 @@ export declare namespace JSXBase {
791
810
  name?: string;
792
811
  type?: string;
793
812
  value?: string | string[] | number;
813
+ popoverTargetAction?: string;
814
+ popoverTargetElement?: Element | null;
815
+ popoverTarget?: string;
794
816
  }
795
817
  interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
796
818
  height?: number | string;
@@ -872,6 +894,8 @@ export declare namespace JSXBase {
872
894
  }
873
895
  interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
874
896
  alt?: string;
897
+ crossOrigin?: string;
898
+ crossorigin?: string;
875
899
  decoding?: 'async' | 'auto' | 'sync';
876
900
  importance?: 'low' | 'auto' | 'high';
877
901
  height?: number | string;
@@ -897,8 +921,6 @@ export declare namespace JSXBase {
897
921
  autocapitalize?: string;
898
922
  autoComplete?: string;
899
923
  autocomplete?: string;
900
- autoFocus?: boolean;
901
- autofocus?: boolean | string;
902
924
  capture?: string;
903
925
  checked?: boolean;
904
926
  crossOrigin?: string;
@@ -930,6 +952,8 @@ export declare namespace JSXBase {
930
952
  minlength?: number | string;
931
953
  multiple?: boolean;
932
954
  name?: string;
955
+ onSelect?: (event: Event) => void;
956
+ onselect?: (event: Event) => void;
933
957
  pattern?: string;
934
958
  placeholder?: string;
935
959
  readOnly?: boolean;
@@ -948,10 +972,11 @@ export declare namespace JSXBase {
948
972
  webkitdirectory?: boolean;
949
973
  webkitEntries?: any;
950
974
  width?: number | string;
975
+ popoverTargetAction?: string;
976
+ popoverTargetElement?: Element | null;
977
+ popoverTarget?: string;
951
978
  }
952
979
  interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
953
- autoFocus?: boolean;
954
- autofocus?: boolean | string;
955
980
  challenge?: string;
956
981
  disabled?: boolean;
957
982
  form?: string;
@@ -964,7 +989,6 @@ export declare namespace JSXBase {
964
989
  interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
965
990
  form?: string;
966
991
  htmlFor?: string;
967
- htmlfor?: string;
968
992
  }
969
993
  interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
970
994
  value?: string | string[] | number;
@@ -991,6 +1015,8 @@ export declare namespace JSXBase {
991
1015
  autoPlay?: boolean;
992
1016
  autoplay?: boolean | string;
993
1017
  controls?: boolean;
1018
+ controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1019
+ controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
994
1020
  crossOrigin?: string;
995
1021
  crossorigin?: string;
996
1022
  loop?: boolean;
@@ -1075,7 +1101,6 @@ export declare namespace JSXBase {
1075
1101
  interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1076
1102
  form?: string;
1077
1103
  htmlFor?: string;
1078
- htmlfor?: string;
1079
1104
  name?: string;
1080
1105
  }
1081
1106
  interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
@@ -1100,7 +1125,6 @@ export declare namespace JSXBase {
1100
1125
  type?: string;
1101
1126
  }
1102
1127
  interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
1103
- autoFocus?: boolean;
1104
1128
  disabled?: boolean;
1105
1129
  form?: string;
1106
1130
  multiple?: boolean;
@@ -1111,11 +1135,13 @@ export declare namespace JSXBase {
1111
1135
  autocomplete?: string;
1112
1136
  }
1113
1137
  interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
1138
+ height?: number;
1114
1139
  media?: string;
1115
1140
  sizes?: string;
1116
1141
  src?: string;
1117
1142
  srcSet?: string;
1118
1143
  type?: string;
1144
+ width?: number;
1119
1145
  }
1120
1146
  interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
1121
1147
  media?: string;
@@ -1133,8 +1159,6 @@ export declare namespace JSXBase {
1133
1159
  interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1134
1160
  autoComplete?: string;
1135
1161
  autocomplete?: string;
1136
- autoFocus?: boolean;
1137
- autofocus?: boolean | string;
1138
1162
  cols?: number;
1139
1163
  disabled?: boolean;
1140
1164
  form?: string;
@@ -1143,6 +1167,8 @@ export declare namespace JSXBase {
1143
1167
  minLength?: number;
1144
1168
  minlength?: number | string;
1145
1169
  name?: string;
1170
+ onSelect?: (event: Event) => void;
1171
+ onselect?: (event: Event) => void;
1146
1172
  placeholder?: string;
1147
1173
  readOnly?: boolean;
1148
1174
  readonly?: boolean | string;
@@ -1185,6 +1211,8 @@ export declare namespace JSXBase {
1185
1211
  interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
1186
1212
  innerHTML?: string;
1187
1213
  accessKey?: string;
1214
+ autoFocus?: boolean;
1215
+ autofocus?: boolean | string;
1188
1216
  class?: string | {
1189
1217
  [className: string]: boolean;
1190
1218
  };
@@ -1196,6 +1224,7 @@ export declare namespace JSXBase {
1196
1224
  draggable?: boolean;
1197
1225
  hidden?: boolean;
1198
1226
  id?: string;
1227
+ inert?: boolean;
1199
1228
  lang?: string;
1200
1229
  spellcheck?: 'true' | 'false' | any;
1201
1230
  style?: {
@@ -1204,6 +1233,7 @@ export declare namespace JSXBase {
1204
1233
  tabIndex?: number;
1205
1234
  tabindex?: number | string;
1206
1235
  title?: string;
1236
+ popover?: string | null;
1207
1237
  inputMode?: string;
1208
1238
  inputmode?: string;
1209
1239
  enterKeyHint?: string;
@@ -1289,7 +1319,7 @@ export declare namespace JSXBase {
1289
1319
  clipPathUnits?: number | string;
1290
1320
  'clip-rule'?: number | string;
1291
1321
  'color-interpolation'?: number | string;
1292
- 'color-interpolation-filters'?: 'auto' | 's-rGB' | 'linear-rGB' | 'inherit';
1322
+ 'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB';
1293
1323
  'color-profile'?: number | string;
1294
1324
  'color-rendering'?: number | string;
1295
1325
  contentScriptType?: number | string;
@@ -1536,6 +1566,10 @@ export declare namespace JSXBase {
1536
1566
  onSubmitCapture?: (event: Event) => void;
1537
1567
  onInvalid?: (event: Event) => void;
1538
1568
  onInvalidCapture?: (event: Event) => void;
1569
+ onBeforeToggle?: (event: Event) => void;
1570
+ onBeforeToggleCapture?: (event: Event) => void;
1571
+ onToggle?: (event: Event) => void;
1572
+ onToggleCapture?: (event: Event) => void;
1539
1573
  onLoad?: (event: Event) => void;
1540
1574
  onLoadCapture?: (event: Event) => void;
1541
1575
  onError?: (event: Event) => void;
@@ -1619,8 +1653,14 @@ export declare namespace JSXBase {
1619
1653
  onAnimationEndCapture?: (event: AnimationEvent) => void;
1620
1654
  onAnimationIteration?: (event: AnimationEvent) => void;
1621
1655
  onAnimationIterationCapture?: (event: AnimationEvent) => void;
1656
+ onTransitionCancel?: (event: TransitionEvent) => void;
1657
+ onTransitionCancelCapture?: (event: TransitionEvent) => void;
1622
1658
  onTransitionEnd?: (event: TransitionEvent) => void;
1623
1659
  onTransitionEndCapture?: (event: TransitionEvent) => void;
1660
+ onTransitionRun?: (event: TransitionEvent) => void;
1661
+ onTransitionRunCapture?: (event: TransitionEvent) => void;
1662
+ onTransitionStart?: (event: TransitionEvent) => void;
1663
+ onTransitionStartCapture?: (event: TransitionEvent) => void;
1624
1664
  }
1625
1665
  }
1626
1666
  export interface JSXAttributes<T = Element> {
@@ -1,4 +1,11 @@
1
1
  type NonEmpty<T extends string = string> = T extends '' ? never : T;
2
+ /**
3
+ * Calls all exported `defineCustomElementQds*` functions in the provided
4
+ * module.
5
+ *
6
+ * @param module The module to call the exported functions from.
7
+ */
8
+ export declare const defineCustomElements: (module: Record<string, unknown>) => void;
2
9
  /**
3
10
  * Get the currently set platform.
4
11
  *
@@ -13,7 +20,7 @@ type NonEmpty<T extends string = string> = T extends '' ? never : T;
13
20
  *
14
21
  * @returns The currently set platform if one is set, `undefined` otherwise.
15
22
  */
16
- export declare const getPlatform: <S extends string, E extends Element = Element>(element?: E | NonEmpty<S> | undefined) => string | undefined;
23
+ export declare const getPlatform: <S extends string, E extends Element = Element>(element?: E | NonEmpty<S>) => string | undefined;
17
24
  /**
18
25
  * Sets the current platform.
19
26
  *
@@ -29,7 +36,7 @@ export declare const getPlatform: <S extends string, E extends Element = Element
29
36
  *
30
37
  * By default, this is the root node of the current document.
31
38
  */
32
- export declare const setPlatform: <P extends string, S extends string = string, E extends Element = Element>(platform: NonEmpty<P>, element?: E | NonEmpty<S> | undefined) => void;
39
+ export declare const setPlatform: <P extends string, S extends string = string, E extends Element = Element>(platform: NonEmpty<P>, element?: E | NonEmpty<S>) => void;
33
40
  /**
34
41
  * Get the currently set theme.
35
42
  *
@@ -44,7 +51,7 @@ export declare const setPlatform: <P extends string, S extends string = string,
44
51
  *
45
52
  * @returns The currently set theme if one is set, `undefined` otherwise.
46
53
  */
47
- export declare const getTheme: <S extends string, E extends Element = Element>(element?: E | NonEmpty<S> | undefined) => string | undefined;
54
+ export declare const getTheme: <S extends string, E extends Element = Element>(element?: E | NonEmpty<S>) => string | undefined;
48
55
  /**
49
56
  * Sets the current theme.
50
57
  *
@@ -60,6 +67,6 @@ export declare const getTheme: <S extends string, E extends Element = Element>(e
60
67
  *
61
68
  * By default, this is the root node of the current document.
62
69
  */
63
- export declare const setTheme: <T extends string, S extends string = string, E extends Element = Element>(theme: NonEmpty<T>, element?: E | NonEmpty<S> | undefined) => void;
70
+ export declare const setTheme: <T extends string, S extends string = string, E extends Element = Element>(theme: NonEmpty<T>, element?: E | NonEmpty<S>) => void;
64
71
  export {};
65
72
  //# sourceMappingURL=utils.d.ts.map