@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,8 +1,9 @@
1
1
  import type { ComponentInterface } from '../../stencil-public-runtime';
2
- import type { AutoCapitalize, EnterKeyHint, InputMode, SelectDirection, Value } from '../controls';
3
- export type InputAutoComplete = 'additional-name' | 'address-level1' | 'address-level2' | 'address-level3' | 'address-level4' | 'address-line1' | 'address-line2' | 'address-line3' | 'bday-day' | 'bday-month' | 'bday-year' | 'bday' | 'cc-additional-name' | 'cc-csc' | 'cc-exp-month' | 'cc-exp-year' | 'cc-exp' | 'cc-family-name' | 'cc-given-name' | 'cc-name' | 'cc-number' | 'cc-type' | 'country-name' | 'country' | 'current-password' | 'email' | 'family-name' | 'given-name' | 'honorific-prefix' | 'honorific-suffix' | 'impp' | 'language' | 'name' | 'new-password' | 'nickname' | 'off' | 'on' | 'one-time-code' | 'organization-title' | 'organization' | 'photo' | 'postal-code' | 'sex' | 'street-address' | 'tel-area-code' | 'tel-country-code' | 'tel-extension' | 'tel-local' | 'tel-national' | 'tel' | 'transaction-amount' | 'transaction-currency' | 'url' | 'username';
4
- export type InputType = 'color' | 'date' | 'datetime-local' | 'email' | 'month' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url' | 'week';
5
- export type InputSize = 'large' | 'small' | 'standard';
2
+ import type { AutoComplete, EnterKeyHint, InputMode, Value } from '../controls';
3
+ import type { Size, Status } from '../shared';
4
+ export type Capture = '' | 'environment' | 'user';
5
+ export type InputType = 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'month' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url' | 'week';
6
+ export type InputStatus = Exclude<Status, 'info'>;
6
7
  /**
7
8
  * The `<qds-input>` element is used to create interactive controls for
8
9
  * web-based forms in order to accept data from the user; a wide variety of
@@ -13,369 +14,431 @@ export type InputSize = 'large' | 'small' | 'standard';
13
14
  * @see https://quartz.se.com/build/components/input
14
15
  */
15
16
  export declare class Input implements ComponentInterface {
16
- /**
17
- * Defines if the input is in an invalid state. Validity is determined by
18
- * attributes such as `type`, `pattern`, `min`, `max`, `required`, `step`,
19
- * `minlength`, and `maxlength` using
20
- * [constraint validation](https://developer.mozilla.org/docs/Web/Guide/HTML/Constraint_validation).
21
- */
22
- invalid?: boolean;
23
- /**
24
- * The input's size.
25
- *
26
- * > **_NOTE:_** The native
27
- * [`size` HTML attribute](https://developer.mozilla.org/docs/Web/HTML/Attributes/size)
28
- * is not supported. CSS `width` should be used instead if this functionality
29
- * is needed.
30
- */
31
- readonly size: InputSize;
32
- /**
33
- * Controls whether and how input is automatically capitalized as it is
34
- * entered/edited by the user. Only valid for `search`, `tel`, and `text`
35
- * inputs. Possible values:
36
- *
37
- * - `"off"` or `"none"`: No auto-capitalization is applied (all letters
38
- * default to lowercase).
39
- * - `"on"` or `"sentences"`: The first letter of each sentence defaults to a
40
- * capital letter; all other letters default to lowercase.
41
- * - `"words"`: The first letter of each word defaults to a capital letter;
42
- * all other letters default to lowercase.
43
- * - `"characters"`: All letters default to uppercase.
44
- *
45
- * @webnative
46
- */
47
- readonly autoCapitalize?: AutoCapitalize;
48
- /**
49
- * Indicates whether the value of the input can be automatically completed by
50
- * the browser.
51
- *
52
- * @webnative
53
- */
54
- readonly autoComplete?: InputAutoComplete;
55
- /**
56
- * Specify whether the input should have focus when the page loads.
57
- *
58
- * @webnative
59
- */
60
- readonly autoFocus?: boolean;
61
- /**
62
- * Prevents the input from being interacted with: it cannot be pressed or
63
- * focused.
64
- *
65
- * @webnative
66
- */
67
- disabled?: boolean;
68
- /**
69
- * What action label (or icon) to present for the enter key on virtual
70
- * keyboards. Possible values:
71
- *
72
- * - `"done"`: Typically meaning there is nothing more to input and the input
73
- * method editor (IME) will be closed.
74
- * - `"enter"`: Typically inserting a new line.
75
- * - `"go"`: Typically meaning to take the user to the target of the text
76
- * they typed.
77
- * - `"next"`: Typically taking the user to the next field that will accept
78
- * text.
79
- * - `"previous"`: Typically taking the user to the previous field that will
80
- * accept text.
81
- * - `"search"`: Typically taking the user to the results of searching for
82
- * the text they have typed.
83
- * - `"send"`: Typically delivering the text to its target.
84
- *
85
- * @webnative
86
- */
87
- readonly enterkeyhint?: EnterKeyHint;
88
- /**
89
- * The [`<form>`](https://developer.mozilla.org/docs/Web/HTML/Element/form)
90
- * element to associate the input with (its form owner).
91
- *
92
- * The value of this attribute must be the id of a `<form>` in the same
93
- * document. If this attribute is not set, the `<qds-input>` is associated
94
- * with its ancestor `<form>` element, if any.
95
- *
96
- * This attribute lets you associate `<qds-input>` elements to `<form>`s
97
- * anywhere in the document, not just inside a `<form>`. It can also override
98
- * an ancestor `<form>` element.
99
- *
100
- * @webnative
101
- */
102
- readonly form?: string;
103
- /**
104
- * Provide a hint to browsers as to the type of virtual keyboard
105
- * configuration to use when editing this element or its contents.
106
- *
107
- * @webnative
108
- */
109
- readonly inputmode?: InputMode;
110
- /**
111
- * Defines the greatest value in the range of permitted values. If the
112
- * `value` entered into the input exceeds this, the input fails
113
- * [constraint validation](https://developer.mozilla.org/docs/Web/Guide/HTML/Constraint_validation).
114
- * Only valid for `date`, `datetime-local`, `month`, `time`, and `week`
115
- * inputs.
116
- *
117
- * If this value isn't a valid number, then the input has no maximum value.
118
- *
119
- * @webnative
120
- */
121
- readonly max?: number | string;
122
- /**
123
- * The maximum number of characters (as UTF-16 code units) the user can enter
124
- * into the input. This must be an non-negative integer value. If no
125
- * `maxlength` is specified, or an invalid value is specified, the input has
126
- * no maximum length. Only valid for `email`, `password`, `search`, `tel`,
127
- * `text`, and `url` inputs.
128
- *
129
- * The input will fail
130
- * [constraint validation](https://developer.mozilla.org/docs/Web/Guide/HTML/Constraint_validation)
131
- * if the length of the text entered into the field is greater than
132
- * `maxlength` UTF-16 code units long. By default, browsers prevent users
133
- * from entering more characters than allowed by the `maxlength` attribute. See
134
- * [Client-side validation](https://developer.mozilla.org/docs/Web/HTML/Element/input#client-side_validation)
135
- * for more information.
136
- *
137
- * @webnative
138
- */
139
- readonly maxLength?: number;
140
- /**
141
- * Defines the most negative value in the range of permitted values. If the
142
- * `value` entered into the input is less than this, the input fails
143
- * [constraint validation](https://developer.mozilla.org/docs/Web/Guide/HTML/Constraint_validation).
144
- * Only valid for `date`, `datetime-local`, `month`, `time`, and `week`
145
- * inputs.
146
- *
147
- * This value must be less than or equal to the value of the `max` attribute.
148
- * If this value isn't a valid number, then the input has no minimum value.
149
- *
150
- * @webnative
151
- */
152
- readonly min?: number | string;
153
- /**
154
- * The minimum number of characters (as UTF-16 code units) the user can enter
155
- * into the input. This must be an non-negative integer value smaller than or
156
- * equal to the value specified by `maxlength`. If no `minlength` is
157
- * specified, or an invalid value is specified, the input has no minimum
158
- * length. Only valid for `email`, `password`, `search`, `tel`, `text`, and
159
- * `url` inputs.
160
- *
161
- * The input will fail
162
- * [constraint validation](https://developer.mozilla.org/docs/Web/Guide/HTML/Constraint_validation)
163
- * if the length of the text entered into the field is fewer than `minlength`
164
- * UTF-16 code units long, preventing form submission. See
165
- * [Client-side validation](https://developer.mozilla.org/docs/Web/HTML/Element/input#client-side_validation)
166
- * for more information.
167
- *
168
- * @webnative
169
- */
170
- readonly minLength?: number;
171
- /**
172
- * Specifies if multiple comma-separated email addresses can be entered. Only
173
- * valid for `email` inputs.
174
- *
175
- * @webnative
176
- */
177
- readonly multiple?: boolean;
178
- /**
179
- * The name of the control, which is submitted with the form data. An
180
- * incrementing input ID is used by default.
181
- *
182
- * @webnative
183
- */
184
- readonly name: string;
185
- /**
186
- * Defines a regular expression that the input's `value` must match in order
187
- * for the value to pass
188
- * [constraint validation](https://developer.mozilla.org/docs/Web/Guide/HTML/Constraint_validation).
189
- * It must be a valid JavaScript regular expression, as used by the
190
- * [`RegExp`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp)
191
- * type, and as documented in MDN's
192
- * [guide on regular expressions](https://developer.mozilla.org/docs/Web/JavaScript/Guide/Regular_Expressions);
193
- * the `'u'` flag is specified when compiling the regular expression, so that
194
- * the pattern is treated as a sequence of Unicode code points, instead of as
195
- * ASCII. No forward slashes should be specified around the pattern text.
196
- * Only valid for `email`, `password`, `search`, `tel`, `text`, and `url`
197
- * inputs.
198
- *
199
- * If the `pattern` is invalid, no regular expression is applied and this
200
- * property is ignored. If the pattern is valid and a non-empty value does
201
- * not match the pattern, constraint validation will prevent form submission.
202
- *
203
- * @webnative
204
- */
205
- readonly pattern?: string;
206
- /**
207
- * Text that appears in the input when it has no value set. Only valid for
208
- * `email`, `number`, `password`, `search`, `tel`, `text`, and `url` inputs.
209
- *
210
- * @webnative
211
- */
212
- readonly placeholder?: string;
213
- /**
214
- * The value of the input cannot be edited. Not valid for `color` inputs.
215
- *
216
- * @webnative
217
- */
218
- readonly readOnly?: boolean;
219
- /**
220
- * A value must be specified for the input before the owning form can be
221
- * submitted. Not valid for `color` inputs.
222
- *
223
- * See
224
- * [Client-side validation](https://developer.mozilla.org/docs/Web/HTML/Element/input#client-side_validation)
225
- * and the
226
- * [HTML attribute: `required`](https://developer.mozilla.org/docs/Web/HTML/Attributes/required)
227
- * for more information.
228
- *
229
- * @webnative
230
- */
231
- readonly required?: boolean;
232
- /**
233
- * Defines whether the input may be checked for spelling errors.
234
- *
235
- * @webnative
236
- */
237
- readonly spellCheck?: boolean;
238
- /**
239
- * Specifies the granularity that the `value` must adhere to. Only valid for
240
- * `date`, `datetime-local`, `month`, `number`, `time`, and `week` inputs.
241
- *
242
- * The value must be a positive number—integer or float—or the special value
243
- * `any`, which means no stepping is implied, and any value is allowed
244
- * (barring other constraints, such as `min` and `max`).
245
- *
246
- * If `any` is not explicitly set, valid values for the `number` are the
247
- * basis for stepping the `min` value and increments of the step value, up
248
- * to the `max` value, if specified.
249
- *
250
- * @webnative
251
- */
252
- readonly step?: number | 'any';
253
- /**
254
- * The type of input to render:
255
- *
256
- * - `"date"`: An input for entering a date (year, month, and day, with no
257
- * time). Opens a date picker or numeric wheels for year, month, day when
258
- * active in supporting browsers.
259
- * - `"datetime-local"`: An input for entering a date and time, with no time
260
- * zone. Opens a date picker or numeric wheels for date and time components
261
- * when active in supporting browsers.
262
- * - `"email"`: An input for editing an email address. Looks like a `"text"`
263
- * input, but has validation parameters and relevant keyboard in supporting
264
- * browsers and devices with dynamic keyboards.
265
- * - `"month"`: An input for entering a month and year, with no time zone.
266
- * - `"number"`: An input for entering a number. Displays a spinner and adds
267
- * default validation when supported. Displays a numeric keypad in some
268
- * devices with dynamic keypads.
269
- * - `"password"`: A single-line text input whose value is obscured. Will
270
- * alert user if site is not secure.
271
- * - `"search"`: A single-line text input for entering search strings.
272
- * Line-breaks are automatically removed from the input value. May include a
273
- * delete icon in supporting browsers that can be used to clear the input.
274
- * Displays a search icon instead of enter key on some devices with dynamic
275
- * keypads.
276
- * - `"tel"`: An input for entering a telephone number. Displays a telephone
277
- * keypad in some devices with dynamic keypads.
278
- * - `"text"`: A single-line text input. Line-breaks are automatically
279
- * removed from the input value.
280
- * - `"time"`: An input for entering a time value with no time zone.
281
- * - `"url"`: An input for entering a URL. Looks like a `"text"` input, but
282
- * has validation parameters and relevant keyboard in supporting browsers and
283
- * devices with dynamic keyboards.
284
- * - `"week"`: An input for entering a date consisting of a week-year number
285
- * and a week number with no time zone.
286
- *
287
- * @webnative
288
- */
289
- readonly type?: InputType;
290
- /**
291
- * The value of the input.
292
- *
293
- * @webnative
294
- */
295
- value?: Value;
296
- /**
297
- * Emitted when the input loses focus.
298
- */
299
- private readonly blurEmitter;
300
- /**
301
- * Emitted when an alteration to the input's value is committed by the user.
302
- */
303
- private readonly changeEmitter;
304
- /**
305
- * Emitted when the input gains focus.
306
- */
307
- private readonly focusEmitter;
308
- /**
309
- * Emitted when the input's value changes.
310
- */
311
- private readonly inputEmitter;
312
- private readonly element;
313
- private inheritedAttributes;
314
- private input?;
315
- private get computedDisabled();
316
- /**
317
- * Returns true if the element's value passes validity checks; otherwise,
318
- * returns false, fires an invalid event at the element, and (if the event
319
- * isn't canceled) reports the problem to the user.
320
- */
321
- reportValidity(): Promise<boolean>;
322
- /**
323
- * Selects the entire content of the `<qds-input>` element if the element's
324
- * content is selectable.
325
- */
326
- select(): Promise<void>;
327
- /**
328
- * Sets a custom validity message for the input. If this message is not the
329
- * empty string, then the element is considered invalid.
330
- */
331
- setCustomValidity(message: string): Promise<void>;
332
- /**
333
- * Sets the contents of the specified range of characters in the input element to a given string.
334
- *
335
- * @param replacement The string to insert.
336
- * @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).
337
- * @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).
338
- * @param selectionMode A string defining how the selection should be set after the text has been replaced. Possible values:
339
- *
340
- * - `"select"` selects the newly inserted text.
341
- * - `"start"` moves the selection to just before the inserted text.
342
- * - `"end"` moves the selection to just after the inserted text.
343
- * - `"preserve"` attempts to preserve the selection.
344
- */
345
- setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): Promise<void>;
346
- /**
347
- * Selects the specified range of characters within the input.
348
- *
349
- * @param start The offset into the input for the start of the selection.
350
- * @param end The offset into the input for the end of the selection.
351
- * @param direction The direction in which the selection is performed.
352
- */
353
- setSelectionRange(start: number | null, end: number | null, direction?: SelectDirection): Promise<void>;
354
- /**
355
- * Decrements the `value` by (`step` * n), where n defaults to 1 if not
356
- * specified.
357
- *
358
- * @param n Amount to decrement the value by.
359
- */
360
- stepDown(n?: number): Promise<void>;
361
- /**
362
- * Increments the `value` by (`step` * n), where n defaults to 1 if not
363
- * specified.
364
- *
365
- * @param n Amount to increment the value by.
366
- */
367
- stepUp(n?: number): Promise<void>;
368
- protected disabledChanged(): void;
369
- protected stepChanged(): void;
370
- protected valueChanged(): void;
371
- componentWillLoad(): void;
372
- render(): any;
373
- private readonly ref;
374
- private readonly onBlur;
375
- private readonly onChange;
376
- private readonly onClick;
377
- private readonly onFocus;
378
- private readonly onInput;
379
- private readonly onInvalid;
17
+ #private;
18
+ /**
19
+ * The input's status.
20
+ */
21
+ readonly status?: InputStatus;
22
+ /**
23
+ * Prevents the user from changing the value of the input.
24
+ *
25
+ * @webnative
26
+ */
27
+ readonly readonly?: boolean;
28
+ /**
29
+ * Hide the input type's icon.
30
+ *
31
+ * > **_NOTE:_** Due to browser limitations, the icon may not be hidden in
32
+ * all browsers.
33
+ */
34
+ readonly noIcon?: boolean;
35
+ /**
36
+ * The input's size.
37
+ *
38
+ * > **_NOTE:_** The native [`size` HTML attribute][size] is not supported.
39
+ * CSS `width` should be used instead if this functionality is needed.
40
+ *
41
+ * [size]: https://developer.mozilla.org/docs/Web/HTML/Attributes/size
42
+ */
43
+ readonly size?: Size;
44
+ /**
45
+ * Defines the file types the `file` type input should accept. This is a
46
+ * comma-separated list of [unique file type specifiers][]. Because a given
47
+ * file type may be identified in more than one manner, it's useful to
48
+ * provide a thorough set of type specifiers when you files of a given format
49
+ * are needed.
50
+ *
51
+ * For instance, there are a number of ways Microsoft Word files can be
52
+ * identified, so a site that accepts Word files might use a `<qds-input>`
53
+ * like this:
54
+ *
55
+ * @example
56
+ * <qds-input
57
+ * type="file"
58
+ * accept=".doc,.docx,.xml,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"
59
+ * ></qds-input>
60
+ *
61
+ * [unique file type specifiers]: https://developer.mozilla.org/docs/Web/HTML/Element/input/file#unique_file_type_specifiers
62
+ *
63
+ * @webnative
64
+ */
65
+ readonly accept?: string;
66
+ /**
67
+ * Provides a hint for a [user agent's][] autocomplete feature. See
68
+ * [the HTML `autocomplete` attribute][autocomplete] for a complete list of
69
+ * values and details on how to use `autoComplete`.
70
+ *
71
+ * [user agent's]: https://developer.mozilla.org/docs/Glossary/User_agent
72
+ * [autocomplete]: https://developer.mozilla.org/docs/Web/HTML/Attributes/autocomplete
73
+ *
74
+ * @webnative
75
+ */
76
+ readonly autoComplete?: AutoComplete;
77
+ /**
78
+ * Specifies that a new file should be captured and which device should be
79
+ * used to capture that new media of the type defined by `accept`.
80
+ *
81
+ * Values include `user`, `environment`, and `''`:
82
+ *
83
+ * - `user`: The user-facing camera and/or microphone should be used.
84
+ * - `environment`: The outward-facing camera and/or microphone should be
85
+ * used.
86
+ * - `''`: The implementation-specific capture state.
87
+ *
88
+ * @webnative
89
+ */
90
+ readonly capture?: Capture;
91
+ /**
92
+ * Prevents the input from being interacted with: it cannot be pressed or
93
+ * focused.
94
+ *
95
+ * @webnative
96
+ */
97
+ readonly disabled?: boolean;
98
+ /**
99
+ * What action label (or icon) to present for the enter key on virtual
100
+ * keyboards. Possible values:
101
+ *
102
+ * - `"done"`: Typically meaning there is nothing more to input and the input
103
+ * method editor (IME) will be closed.
104
+ * - `"enter"`: Typically inserting a new line.
105
+ * - `"go"`: Typically meaning to take the user to the target of the text
106
+ * they typed.
107
+ * - `"next"`: Typically taking the user to the next field that will accept
108
+ * text.
109
+ * - `"previous"`: Typically taking the user to the previous field that will
110
+ * accept text.
111
+ * - `"search"`: Typically taking the user to the results of searching for
112
+ * the text they have typed.
113
+ * - `"send"`: Typically delivering the text to its target.
114
+ *
115
+ * @webnative
116
+ */
117
+ readonly enterkeyhint?: EnterKeyHint;
118
+ /**
119
+ * Returns a file list for a `file` type input.
120
+ *
121
+ * @readonly
122
+ * @webnative
123
+ */
124
+ readonly files: HTMLInputElement['files'];
125
+ /**
126
+ * The [`<form>`][] element to associate the input with (its form owner).
127
+ *
128
+ * The value of this attribute must be the id of a `<form>` in the same
129
+ * document. If this attribute is not set, the `<qds-input>` is associated
130
+ * with its ancestor `<form>` element, if any.
131
+ *
132
+ * This attribute lets you associate `<qds-input>` elements to `<form>`s
133
+ * anywhere in the document, not just inside a `<form>`. It can also override
134
+ * an ancestor `<form>` element.
135
+ *
136
+ * [`<form>`]: https://developer.mozilla.org/docs/Web/HTML/Element/form
137
+ *
138
+ * @readonly
139
+ * @webnative
140
+ */
141
+ readonly form: ElementInternals['form'] | string;
142
+ /**
143
+ * Provide a hint to browsers as to the type of virtual keyboard
144
+ * configuration to use when editing this element or its contents.
145
+ *
146
+ * @webnative
147
+ */
148
+ readonly inputmode?: InputMode;
149
+ /**
150
+ * Returns a list of the [`<label>`][] elements associated with the
151
+ * `qds-input` element.
152
+ *
153
+ * [`<label>`]: https://developer.mozilla.org/docs/Web/HTML/Element/label
154
+ *
155
+ * @readonly
156
+ * @webnative
157
+ */
158
+ readonly labels: ElementInternals['labels'];
159
+ /**
160
+ * Defines the greatest value in the range of permitted values. If the
161
+ * `value` entered into the input exceeds this, the input fails
162
+ * [constraint validation][]. Only valid for `date`, `datetime-local`,
163
+ * `month`, `time`, and `week` inputs.
164
+ *
165
+ * If this value isn't a valid number, then the input has no maximum value.
166
+ *
167
+ * [constraint validation]: https://developer.mozilla.org/docs/Web/Guide/HTML/Constraint_validation
168
+ *
169
+ * @webnative
170
+ */
171
+ readonly max?: number | string;
172
+ /**
173
+ * The maximum number of characters (as UTF-16 code units) the user can enter
174
+ * into the input. This must be an non-negative integer value. If no
175
+ * `maxlength` is specified, or an invalid value is specified, the input has
176
+ * no maximum length. Only valid for `email`, `password`, `search`, `tel`,
177
+ * `text`, and `url` inputs.
178
+ *
179
+ * The input will fail [constraint validation][] if the length of the text
180
+ * entered into the field is greater than `maxlength` UTF-16 code units long.
181
+ * By default, browsers prevent users from entering more characters than
182
+ * allowed by the `maxlength` attribute. See [Client-side validation][] for
183
+ * more information.
184
+ *
185
+ * [constraint validation]: https://developer.mozilla.org/docs/Web/Guide/HTML/Constraint_validation
186
+ * [Client-side validation]: https://developer.mozilla.org/docs/Web/HTML/Element/input#client-side_validation
187
+ *
188
+ * @webnative
189
+ */
190
+ readonly maxLength?: number;
191
+ /**
192
+ * Defines the most negative value in the range of permitted values. If the
193
+ * `value` entered into the input is less than this, the input fails
194
+ * [constraint validation][]. Only valid for `date`, `datetime-local`,
195
+ * `month`, `time`, and `week` inputs.
196
+ *
197
+ * This value must be less than or equal to the value of the `max` attribute.
198
+ * If this value isn't a valid number, then the input has no minimum value.
199
+ *
200
+ * [constraint validation]: https://developer.mozilla.org/docs/Web/Guide/HTML/Constraint_validation
201
+ *
202
+ * @webnative
203
+ */
204
+ readonly min?: number | string;
205
+ /**
206
+ * The minimum number of characters (as UTF-16 code units) the user can enter
207
+ * into the input. This must be an non-negative integer value smaller than or
208
+ * equal to the value specified by `maxlength`. If no `minlength` is
209
+ * specified, or an invalid value is specified, the input has no minimum
210
+ * length. Only valid for `email`, `password`, `search`, `tel`, `text`, and
211
+ * `url` inputs.
212
+ *
213
+ * The input will fail [constraint validation][] if the length of the text
214
+ * entered into the field is fewer than `minlength` UTF-16 code units long,
215
+ * preventing form submission. See [Client-side validation][] for more
216
+ * information.
217
+ *
218
+ * [constraint validation]: https://developer.mozilla.org/docs/Web/Guide/HTML/Constraint_validation
219
+ * [Client-side validation]: https://developer.mozilla.org/docs/Web/HTML/Element/input#client-side_validation
220
+ *
221
+ * @webnative
222
+ */
223
+ readonly minLength?: number;
224
+ /**
225
+ * For `email` inputs, specifies if multiple comma-separated email addresses
226
+ * can be entered. For `file` inputs, specifies if the user is allowed to
227
+ * select more than one file.
228
+ *
229
+ * Only valid for `email` or `file` inputs.
230
+ *
231
+ * @webnative
232
+ */
233
+ readonly multiple?: boolean;
234
+ /**
235
+ * The name of the input, which is submitted with the form data.
236
+ *
237
+ * @webnative
238
+ */
239
+ readonly name?: string;
240
+ /**
241
+ * Defines a regular expression that the input's `value` must match in order
242
+ * for the value to pass [constraint validation][]. It must be a valid
243
+ * JavaScript regular expression, as used by the [`RegExp`][] type, and as
244
+ * documented in MDN's [guide on regular expressions][]; the `'u'` flag is
245
+ * specified when compiling the regular expression, so that the pattern is
246
+ * treated as a sequence of Unicode code points, instead of as ASCII. No
247
+ * forward slashes should be specified around the pattern text. Only valid
248
+ * for `email`, `password`, `search`, `tel`, `text`, and `url` inputs.
249
+ *
250
+ * If the `pattern` is invalid, no regular expression is applied and this
251
+ * property is ignored. If the pattern is valid and a non-empty value does
252
+ * not match the pattern, constraint validation will prevent form submission.
253
+ *
254
+ * [constraint validation]: https://developer.mozilla.org/docs/Web/Guide/HTML/Constraint_validation
255
+ * [`RegExp`]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp
256
+ * [guide on regular expressions]: https://developer.mozilla.org/docs/Web/JavaScript/Guide/Regular_Expressions
257
+ *
258
+ * @webnative
259
+ */
260
+ readonly pattern?: string;
261
+ /**
262
+ * Text that appears in the input when it has no value set. Only valid for
263
+ * `email`, `number`, `password`, `search`, `tel`, `text`, and `url` inputs.
264
+ *
265
+ * @webnative
266
+ */
267
+ readonly placeholder?: string;
268
+ /**
269
+ * A value must be specified for the input before the owning form can be
270
+ * submitted. Not valid for `color` inputs.
271
+ *
272
+ * See [Client-side validation][] and the
273
+ * [HTML attribute: `required`][required] for more information.
274
+ *
275
+ * [Client-side validation]: https://developer.mozilla.org/docs/Web/HTML/Element/input#client-side_validation
276
+ * [required]: https://developer.mozilla.org/docs/Web/HTML/Attributes/required
277
+ *
278
+ * @webnative
279
+ */
280
+ readonly required?: boolean;
281
+ /**
282
+ * Get or set the selection direction of a text selection.
283
+ *
284
+ * > **_NOTE:_** This property has no effect when used as an attribute.
285
+ *
286
+ * @webnative
287
+ */
288
+ selectionDirection: HTMLInputElement['selectionDirection'];
289
+ /**
290
+ * Get or set the ending position or offset of a text selection.
291
+ *
292
+ * > **_NOTE:_** This property has no effect when used as an attribute.
293
+ *
294
+ * @webnative
295
+ */
296
+ selectionEnd: HTMLInputElement['selectionEnd'];
297
+ /**
298
+ * Get or set the starting position or offset of a text selection.
299
+ *
300
+ * > **_NOTE:_** This property has no effect when used as an attribute.
301
+ *
302
+ * @webnative
303
+ */
304
+ selectionStart: HTMLInputElement['selectionStart'];
305
+ /**
306
+ * Specifies the granularity that the `value` must adhere to. Only valid for
307
+ * `date`, `datetime-local`, `month`, `number`, `time`, and `week` inputs.
308
+ *
309
+ * The value must be a positive number—integer or float—or the special value
310
+ * `any`, which means no stepping is implied, and any value is allowed
311
+ * (barring other constraints, such as `min` and `max`).
312
+ *
313
+ * If `any` is not explicitly set, valid values for the `number` are the
314
+ * basis for stepping — the `min` value and increments of the step value, up
315
+ * to the `max` value, if specified.
316
+ *
317
+ * @webnative
318
+ */
319
+ readonly step?: number | 'any';
320
+ /**
321
+ * The type of input to render:
322
+ *
323
+ * - `"date"`: An input for entering a date (year, month, and day, with no
324
+ * time). Opens a date picker or numeric wheels for year, month, day when
325
+ * active in supporting browsers.
326
+ * - `"datetime-local"`: An input for entering a date and time, with no time
327
+ * zone. Opens a date picker or numeric wheels for date and time components
328
+ * when active in supporting browsers.
329
+ * - `"email"`: An input for editing an email address. Looks like a `"text"`
330
+ * input, but has validation parameters and relevant keyboard in supporting
331
+ * browsers and devices with dynamic keyboards.
332
+ * - `"month"`: An input for entering a month and year, with no time zone.
333
+ * - `"number"`: An input for entering a number. Displays a spinner and adds
334
+ * default validation when supported. Displays a numeric keypad in some
335
+ * devices with dynamic keypads.
336
+ * - `"password"`: A single-line text input whose value is obscured. Will
337
+ * alert user if site is not secure.
338
+ * - `"search"`: A single-line text input for entering search strings.
339
+ * Line-breaks are automatically removed from the input value. May include a
340
+ * delete icon in supporting browsers that can be used to clear the input.
341
+ * Displays a search icon instead of enter key on some devices with dynamic
342
+ * keypads.
343
+ * - `"tel"`: An input for entering a telephone number. Displays a telephone
344
+ * keypad in some devices with dynamic keypads.
345
+ * - `"text"`: A single-line text input. Line-breaks are automatically
346
+ * removed from the input value.
347
+ * - `"time"`: An input for entering a time value with no time zone.
348
+ * - `"url"`: An input for entering a URL. Looks like a `"text"` input, but
349
+ * has validation parameters and relevant keyboard in supporting browsers and
350
+ * devices with dynamic keyboards.
351
+ * - `"week"`: An input for entering a date consisting of a week-year number
352
+ * and a week number with no time zone.
353
+ *
354
+ * @webnative
355
+ */
356
+ readonly type?: InputType;
357
+ /**
358
+ * The error message that would be shown to the user if the `<qds-input>`
359
+ * was to be checked for validity.
360
+ *
361
+ * @readonly
362
+ * @webnative
363
+ */
364
+ readonly validationMessage: ElementInternals['validationMessage'];
365
+ /**
366
+ * The [`ValidityState`][] object for this `<qds-input>`.
367
+ *
368
+ * [`ValidityState`]: https://developer.mozilla.org/docs/Web/API/ValidityState
369
+ *
370
+ * @readonly
371
+ * @webnative
372
+ */
373
+ readonly validity: ElementInternals['validity'];
374
+ /**
375
+ * The value of the input.
376
+ *
377
+ * @webnative
378
+ */
379
+ value?: Value;
380
+ /**
381
+ * True if `<qds-input>` will be validated when the form is submitted; false
382
+ * otherwise.
383
+ *
384
+ * @readonly
385
+ * @webnative
386
+ */
387
+ readonly willValidate: ElementInternals['willValidate'];
388
+ private readonly internals;
389
+ /**
390
+ * Emitted when the input loses focus.
391
+ */
392
+ private readonly blurEmitter;
393
+ /**
394
+ * Emitted when the user cancels the file picker via the <kbd>Esc</kbd> key
395
+ * or the cancel button and when the user re-selects the same files that were
396
+ * previously selected.
397
+ */
398
+ private readonly cancelEmitter;
399
+ /** Emitted when the user performs a search (Enter, clear, or search button). */
400
+ private readonly searchEmitter;
401
+ /**
402
+ * Emitted when an alteration to the input's value is committed by the user.
403
+ */
404
+ private readonly changeEmitter;
405
+ /**
406
+ * Emitted when the input gains focus.
407
+ */
408
+ private readonly focusEmitter;
409
+ /**
410
+ * Emitted when the input's value changes.
411
+ */
412
+ private readonly inputEmitter;
413
+ private readonly host;
414
+ private tabIndex?;
415
+ private isPasswordVisible;
416
+ protected onClick(event: MouseEvent): void;
417
+ protected onKeydown(event: KeyboardEvent): void;
418
+ protected ariaLabelChanged(newValue: string | null): void;
419
+ protected statusChanged(): void;
420
+ protected disabledChanged(): void;
421
+ protected selectionDirectionChanged(): void;
422
+ protected selectionEndChanged(): void;
423
+ protected selectionStartChanged(): void;
424
+ protected tabindexChanged(newValue: string): void;
425
+ protected validationChanged(): void;
426
+ protected valueChanged(): void;
427
+ componentWillLoad(): void;
428
+ componentDidLoad(): void;
429
+ disconnectedCallback(): void;
430
+ render(): any;
431
+ checkValidity: ElementInternals['checkValidity'];
432
+ reportValidity: ElementInternals['reportValidity'];
433
+ setCustomValidity: HTMLInputElement['setCustomValidity'];
434
+ select: HTMLInputElement['select'];
435
+ getSelectionDirection: () => HTMLInputElement['selectionDirection'];
436
+ getSelectionStart: () => HTMLInputElement['selectionStart'];
437
+ getSelectionEnd: () => HTMLInputElement['selectionEnd'];
438
+ setRangeText: (replacement: string, start: number, end: number, selectionMode?: SelectionMode) => void;
439
+ setSelectionRange: HTMLInputElement['setSelectionRange'];
440
+ stepDown: HTMLInputElement['stepDown'];
441
+ stepUp: HTMLInputElement['stepUp'];
442
+ showPicker: HTMLInputElement['showPicker'];
380
443
  }
381
444
  //# sourceMappingURL=input.d.ts.map