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

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-2bf0797c.js +272 -0
  8. package/components/p-2bf0797c.js.map +1 -0
  9. package/components/p-3baf75f4.js +111 -0
  10. package/components/p-3baf75f4.js.map +1 -0
  11. package/components/p-3c48ff53.js +103 -0
  12. package/components/p-3c48ff53.js.map +1 -0
  13. package/components/p-8abba29b.js +204 -0
  14. package/components/p-8abba29b.js.map +1 -0
  15. package/components/p-a020ece3.js +142 -0
  16. package/components/p-a020ece3.js.map +1 -0
  17. package/components/p-a6310886.js +144 -0
  18. package/components/p-a6310886.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-d6e52d0b.js +404 -0
  28. package/components/p-d6e52d0b.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 +212 -100
  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 +8727 -2151
  216. package/dist/docs.d.ts +344 -240
  217. package/dist/docs.json +9364 -2903
  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 +212 -100
  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 +137 -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 +3957 -833
  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 +1528 -210
  346. package/hydrate/index.d.ts +59 -18
  347. package/hydrate/index.js +25724 -9014
  348. package/hydrate/index.mjs +26627 -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,10 +1,12 @@
1
1
  import type { ComponentInterface } from '../../stencil-public-runtime';
2
2
  import type { LiteralUnion } from 'type-fest';
3
- export type ButtonType = 'button' | 'reset' | 'submit';
4
- export type Importance = 'destructive' | 'emphasized' | 'standard' | 'subdued';
5
- export type ButtonSize = 'large' | 'small' | 'standard';
6
- export type FormMethod = 'get' | 'post';
3
+ import type { Importance, Size } from '../shared';
4
+ export type Action = 'dropdown-close' | 'dropdown' | 'next';
5
+ export type ButtonImportance = Importance | 'destructive' | 'subdued-destructive';
6
+ export type ButtonSize = Size | 'hero';
7
7
  export type ButtonTarget = '_blank' | '_parent' | '_self' | '_top';
8
+ export type ButtonType = 'button' | 'reset' | 'submit';
9
+ export type FormMethod = 'dialog' | 'get' | 'post';
8
10
  /**
9
11
  * The `<qds-button>` element is an interactive element activated by a user
10
12
  * with a mouse, keyboard, finger, voice command, or other assistive technology.
@@ -15,195 +17,271 @@ export type ButtonTarget = '_blank' | '_parent' | '_self' | '_top';
15
17
  * @see https://quartz.se.com/build/components/button
16
18
  */
17
19
  export declare class Button implements ComponentInterface {
18
- /**
19
- * The name of the icon to render.
20
- *
21
- * Available names depend on the icon library being used.
22
- */
23
- readonly iconName?: string;
24
- /**
25
- * The name of a registered icon library.
26
- */
27
- readonly iconLibrary: string;
28
- /**
29
- * The button's importance.
30
- */
31
- readonly importance: Importance;
32
- /**
33
- * The button's size.
34
- */
35
- readonly size: ButtonSize;
36
- /**
37
- * The button's text.
38
- */
39
- readonly text?: string;
40
- /**
41
- * Prevents the button from being interacted with: it cannot be pressed or
42
- * focused.
43
- *
44
- * @webnative
45
- */
46
- disabled?: boolean;
47
- /**
48
- * Tells the browser to download the linked file as this filename. Only used
49
- * when `href` is set.
50
- *
51
- * @webnative
52
- */
53
- readonly download?: string;
54
- /**
55
- * The [`<form>`](https://developer.mozilla.org/docs/Web/HTML/Element/form)
56
- * element to associate the button with (its form owner).
57
- *
58
- * The value of this attribute must be the id of a `<form>` in the same
59
- * document. If this attribute is not set, the `<button>` is associated with
60
- * its ancestor `<form>` element, if any.
61
- *
62
- * This attribute lets you associate `<button>` elements to `<form>`s
63
- * anywhere in the document, not just inside a `<form>`. It can also override
64
- * an ancestor `<form>` element.
65
- *
66
- * @webnative
67
- */
68
- readonly form?: string;
69
- /**
70
- * The URL that processes the information submitted by the button. Overrides
71
- * the [`action`](https://developer.mozilla.org/docs/Web/HTML/Element/button#attr-formaction)
72
- * attribute of the button's form owner. Does nothing if there is no form owner.
73
- *
74
- * @webnative
75
- */
76
- readonly formAction?: string;
77
- /**
78
- * If the button is a submit button (it's inside/associated with a `<form>`
79
- * and doesn't have `type="button"`), this attribute specifies the
80
- * [HTTP method](https://developer.mozilla.org/docs/Web/HTTP/Methods) used to
81
- * submit the form. Possible values:
82
- *
83
- * - `get`: The form data are appended to the form's action URL, with a ? as
84
- * a separator, and the resulting URL is sent to the server. Use this method
85
- * when the form has no side effects, like search forms.
86
- * - `post`: The data from the form are included in the body of the HTTP
87
- * request when sent to the server. Use when the form contains information
88
- * that shouldn't be public, like login credentials.
89
- *
90
- * If specified, this attribute overrides the method attribute of the button's form owner.
91
- *
92
- * @webnative
93
- */
94
- readonly formMethod?: FormMethod;
95
- /**
96
- * If the button is a submit button, this attribute specifies that the form
97
- * is not to be
98
- * [validated](https://developer.mozilla.org/docs/Learn/Forms/Form_validation)
99
- * when it is submitted. If this attribute is specified, it overrides the
100
- * [`novalidate`](https://developer.mozilla.org/docs/Web/HTML/Element/form#attr-novalidate)
101
- * attribute of the button's form owner.
102
- *
103
- * @webnative
104
- */
105
- readonly formNoValidate: boolean;
106
- /**
107
- * If the button is a submit button, this attribute is an author-defined name
108
- * or standardized, underscore-prefixed keyword indicating where to display
109
- * the response from submitting the form. This is the `name` of, or keyword
110
- * for, a browsing context (a tab, window, or
111
- * [`<iframe>`](https://developer.mozilla.org/docs/Web/HTML/Element/iframe)).
112
- * If this attribute is specified, it overrides the
113
- * [`target`](https://developer.mozilla.org/docs/Web/HTML/Element/form#attr-target)
114
- * attribute of the button's form owner. The following keywords have special
115
- * meanings:
116
- *
117
- * - `_blank`: Load the response into a new unnamed browsing context — usually
118
- * a new tab or window, depending on the user's browser settings.
119
- * - `_parent`: Load the response into the parent browsing context of the
120
- * current one. If there is no parent, this option behaves the same way as
121
- * `_self`.
122
- * - `_self`: Load the response into the same browsing context as the current
123
- * one.
124
- * - `_top`: Load the response into the top-level browsing context (that is,
125
- * the browsing context that is an ancestor of the current one, and has no
126
- * parent). If there is no parent, this option behaves the same way as
127
- * `_self`.
128
- *
129
- * @webnative
130
- */
131
- readonly formTarget: LiteralUnion<ButtonTarget, string>;
132
- /**
133
- * When set, the underlying button will be rendered as an `<a>` with this
134
- * `href` instead of a `<button>`.
135
- *
136
- * @webnative
137
- */
138
- readonly href?: string;
139
- /**
140
- * The name of the button, submitted as a pair with the button's `value` as
141
- * part of the form data, when that button is used to submit the form.
142
- * Ignored when `href` is set.
143
- *
144
- * @webnative
145
- */
146
- readonly name?: string;
147
- /**
148
- * Where to display the linked URL, as the name for a browsing context (a
149
- * tab, window, or
150
- * [`<iframe>`](https://developer.mozilla.org/docs/Web/HTML/Element/iframe).
151
- * The following keywords have special meanings for where to load the URL:
152
- *
153
- * - `_blank`: usually a new tab, but users can configure browsers to open a new
154
- * window instead.
155
- * - `_parent`: the parent browsing context of the current one. If no parent,
156
- * behaves as `_self`.
157
- * - `_self`: the current browsing context.
158
- * - `_top`: the topmost browsing context (the "highest" context that's an
159
- * ancestor of the current one). If no ancestors, behaves as `_self`.
160
- *
161
- * @webnative
162
- */
163
- readonly target: LiteralUnion<ButtonTarget, string>;
164
- /**
165
- * The type of button.
166
- *
167
- * `button`: The button has no default behavior, and does nothing when
168
- * pressed by default. It can have client-side scripts listen to the
169
- * element's events, which are triggered when the events occur.
170
- *
171
- * `submit`: The button submits the form data to the server. This is the
172
- * default if the attribute is not specified for buttons associated with a
173
- * `<form>`, or if the attribute is an empty or invalid value.
174
- *
175
- * `reset`: The button resets all the controls to their initial values.
176
- *
177
- * @webnative
178
- */
179
- readonly type?: ButtonType;
180
- /**
181
- * Defines the value associated with the button's `name` when it's submitted
182
- * with the form data. This value is passed to the server in params when the
183
- * form is submitted using this button. Ignored when `href` is set.
184
- *
185
- * @webnative
186
- */
187
- readonly value?: string;
188
- /**
189
- * Emitted when the button loses focus.
190
- */
191
- private readonly blurEmitter;
192
- /**
193
- * Emitted when the button gains focus.
194
- */
195
- private readonly focusEmitter;
196
- private readonly element;
197
- private inheritedAttributes;
198
- private get formElement();
199
- private get buttonType();
200
- private get iconOnly();
201
- private get computedDisabled();
202
- private get computedTabIndex();
203
- componentWillLoad(): void;
204
- render(): any;
205
- private readonly onClick;
206
- private readonly onBlur;
207
- private readonly onFocus;
20
+ #private;
21
+ /**
22
+ * The name of the action icon to render.
23
+ */
24
+ readonly action?: Action;
25
+ /**
26
+ * Displays an indicator if `true` or the empty string. Otherwise, displays a
27
+ * counter badge if a number or string representing a number is used.
28
+ *
29
+ * @webnative
30
+ */
31
+ readonly badge?: number | string | true;
32
+ /**
33
+ * The indicator or counter badge's accessible text that will be used by
34
+ * screen readers.
35
+ */
36
+ readonly badgeDescription?: string;
37
+ /**
38
+ * The indicator's status.
39
+ */
40
+ readonly badgeIndicatorStatus?: HTMLQdsBadgeIndicatorElement['status'];
41
+ /**
42
+ * The name of the icon to render.
43
+ *
44
+ * Available names depend on the icon library being used.
45
+ */
46
+ readonly iconName?: string;
47
+ /**
48
+ * The name of a registered icon library.
49
+ */
50
+ readonly iconLibrary: string;
51
+ /**
52
+ * The button's importance.
53
+ */
54
+ readonly importance?: ButtonImportance;
55
+ /**
56
+ * The button's size.
57
+ */
58
+ readonly size?: Size | 'hero';
59
+ /**
60
+ * The button's text.
61
+ */
62
+ readonly text: string;
63
+ /**
64
+ * Sets if button is icon only.
65
+ */
66
+ readonly iconOnly: boolean;
67
+ /**
68
+ * Prevents the button from being interacted with: it cannot be pressed or
69
+ * focused.
70
+ *
71
+ * @webnative
72
+ */
73
+ readonly disabled?: boolean;
74
+ /**
75
+ * Tells the browser to download the linked file as this filename. Only used
76
+ * when `href` is set.
77
+ *
78
+ * @webnative
79
+ */
80
+ readonly download?: string;
81
+ /**
82
+ * The [`<form>`][] element to associate the button with (its form owner).
83
+ *
84
+ * The value of this attribute must be the id of a `<form>` in the same
85
+ * document. If this attribute is not set, the `<qds-button>` is associated
86
+ * with its ancestor `<form>` element, if any.
87
+ *
88
+ * This attribute lets you associate `<qds-button>` elements to `<form>`s
89
+ * anywhere in the document, not just inside a `<form>`. It can also override
90
+ * an ancestor `<form>` element.
91
+ *
92
+ * [`<form>`]: https://developer.mozilla.org/docs/Web/HTML/Element/form
93
+ *
94
+ * @readonly
95
+ * @webnative
96
+ */
97
+ readonly form: ElementInternals['form'] | string;
98
+ /**
99
+ * The URL that processes the information submitted by the button. Overrides
100
+ * the [`action`](https://developer.mozilla.org/docs/Web/HTML/Element/button#attr-formaction)
101
+ * attribute of the button's form owner. Does nothing if there is no form owner.
102
+ *
103
+ * @webnative
104
+ */
105
+ readonly formAction?: string;
106
+ /**
107
+ * If the button is a submit button (it's inside/associated with a `<form>`
108
+ * and doesn't have `type="button"`), this attribute specifies the
109
+ * [HTTP method][] used to submit the form, or `dialog` which won't submit
110
+ * the form. Possible values:
111
+ *
112
+ * - `get`: The form data are appended to the form's action URL, with a ? as
113
+ * a separator, and the resulting URL is sent to the server. Use this method
114
+ * when the form has no side effects, like search forms.
115
+ * - `post`: The data from the form are included in the body of the HTTP
116
+ * request when sent to the server. Use when the form contains information
117
+ * that shouldn't be public, like login credentials.
118
+ * - `dialog`: Close the dialog box in which the button finds itself, if any,
119
+ * and do not submit the button's form owner.
120
+ *
121
+ * If specified, this attribute overrides the `method` attribute of the
122
+ * button's form owner.
123
+ *
124
+ * [HTTP method]: https://developer.mozilla.org/docs/Web/HTTP/Methods
125
+ *
126
+ * @webnative
127
+ */
128
+ readonly formMethod?: FormMethod;
129
+ /**
130
+ * If the button is a submit button, this attribute specifies that the form
131
+ * is not to be
132
+ * [validated](https://developer.mozilla.org/docs/Learn/Forms/Form_validation)
133
+ * when it is submitted. If this attribute is specified, it overrides the
134
+ * [`novalidate`](https://developer.mozilla.org/docs/Web/HTML/Element/form#attr-novalidate)
135
+ * attribute of the button's form owner.
136
+ *
137
+ * @webnative
138
+ */
139
+ readonly formNoValidate: boolean;
140
+ /**
141
+ * If the button is a submit button, this attribute is an author-defined name
142
+ * or standardized, underscore-prefixed keyword indicating where to display
143
+ * the response from submitting the form. This is the `name` of, or keyword
144
+ * for, a browsing context (a tab, window, or
145
+ * [`<iframe>`](https://developer.mozilla.org/docs/Web/HTML/Element/iframe)).
146
+ * If this attribute is specified, it overrides the
147
+ * [`target`](https://developer.mozilla.org/docs/Web/HTML/Element/form#attr-target)
148
+ * attribute of the button's form owner. The following keywords have special
149
+ * meanings:
150
+ *
151
+ * - `_blank`: Load the response into a new unnamed browsing context — usually
152
+ * a new tab or window, depending on the user's browser settings.
153
+ * - `_parent`: Load the response into the parent browsing context of the
154
+ * current one. If there is no parent, this option behaves the same way as
155
+ * `_self`.
156
+ * - `_self`: Load the response into the same browsing context as the current
157
+ * one.
158
+ * - `_top`: Load the response into the top-level browsing context (that is,
159
+ * the browsing context that is an ancestor of the current one, and has no
160
+ * parent). If there is no parent, this option behaves the same way as
161
+ * `_self`.
162
+ *
163
+ * @webnative
164
+ */
165
+ readonly formTarget: LiteralUnion<ButtonTarget, string>;
166
+ /**
167
+ * When set, the underlying button will be rendered as an `<a>` with this
168
+ * `href` instead of a `<button>`.
169
+ *
170
+ * @webnative
171
+ */
172
+ readonly href?: string;
173
+ /**
174
+ * Returns a list of the [`<label>`][] elements associated with the
175
+ * `qds-button` element.
176
+ *
177
+ * [`<label>`]: https://developer.mozilla.org/docs/Web/HTML/Element/label
178
+ *
179
+ * @readonly
180
+ * @webnative
181
+ */
182
+ readonly labels: ElementInternals['labels'];
183
+ /**
184
+ * When href is define and the button act as a link (`<a>`), the `rel` will be added to the element.
185
+ *
186
+ * @webnative
187
+ */
188
+ readonly rel?: string;
189
+ /**
190
+ * The name of the button, submitted as a pair with the button's `value` as
191
+ * part of the form data, when that button is used to submit the form.
192
+ * Ignored when `href` is set.
193
+ *
194
+ * @webnative
195
+ */
196
+ readonly name?: string;
197
+ /**
198
+ * Where to display the linked URL, as the name for a browsing context (a
199
+ * tab, window, or
200
+ * [`<iframe>`](https://developer.mozilla.org/docs/Web/HTML/Element/iframe).
201
+ * The following keywords have special meanings for where to load the URL:
202
+ *
203
+ * - `_blank`: usually a new tab, but users can configure browsers to open a new
204
+ * window instead.
205
+ * - `_parent`: the parent browsing context of the current one. If no parent,
206
+ * behaves as `_self`.
207
+ * - `_self`: the current browsing context.
208
+ * - `_top`: the topmost browsing context (the "highest" context that's an
209
+ * ancestor of the current one). If no ancestors, behaves as `_self`.
210
+ *
211
+ * @webnative
212
+ */
213
+ readonly target?: LiteralUnion<ButtonTarget, string>;
214
+ /**
215
+ * The type of button.
216
+ *
217
+ * `button`: The button has no default behavior, and does nothing when
218
+ * pressed by default. It can have client-side scripts listen to the
219
+ * element's events, which are triggered when the events occur.
220
+ *
221
+ * `submit`: The button submits the form data to the server. This is the
222
+ * default if the attribute is not specified for buttons associated with a
223
+ * `<form>`, or if the attribute is an empty or invalid value.
224
+ *
225
+ * `reset`: The button resets all the controls to their initial values.
226
+ *
227
+ * @webnative
228
+ */
229
+ readonly type?: ButtonType;
230
+ /**
231
+ * The error message that would be shown to the user if the `<qds-button>`
232
+ * was to be checked for validity.
233
+ *
234
+ * @readonly
235
+ * @webnative
236
+ */
237
+ readonly validationMessage: ElementInternals['validationMessage'];
238
+ /**
239
+ * The [`ValidityState`][] object for this `<qds-button>`.
240
+ *
241
+ * [`ValidityState`]: https://developer.mozilla.org/docs/Web/API/ValidityState
242
+ *
243
+ * @readonly
244
+ * @webnative
245
+ */
246
+ readonly validity: ElementInternals['validity'];
247
+ /**
248
+ * Defines the value associated with the button's `name` when it's submitted
249
+ * with the form data. This value is passed to the server in params when the
250
+ * form is submitted using this button. Ignored when `href` is set.
251
+ *
252
+ * @webnative
253
+ */
254
+ readonly value?: string;
255
+ /**
256
+ * True if `<qds-button>` will be validated when the form is submitted; false
257
+ * otherwise.
258
+ *
259
+ * @readonly
260
+ * @webnative
261
+ */
262
+ readonly willValidate: ElementInternals['willValidate'];
263
+ /**
264
+ * Emitted when the button loses focus.
265
+ */
266
+ private readonly blurEmitter;
267
+ /**
268
+ * Emitted when the button gains focus.
269
+ */
270
+ private readonly focusEmitter;
271
+ private readonly host;
272
+ private tabIndex?;
273
+ private tooltip;
274
+ private readonly internals;
275
+ protected onClick(event: MouseEvent): void;
276
+ protected disabledChanged(): void;
277
+ protected tabindexChanged(newValue: string): void;
278
+ protected textChanged(): void;
279
+ componentWillLoad(): void;
280
+ componentDidLoad(): void;
281
+ disconnectedCallback(): void;
282
+ render(): any;
283
+ checkValidity: ElementInternals['checkValidity'];
284
+ reportValidity: ElementInternals['reportValidity'];
285
+ setCustomValidity: HTMLButtonElement['setCustomValidity'];
208
286
  }
209
287
  //# sourceMappingURL=button.d.ts.map