le-kit 0.5.2 → 0.5.4

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 (475) hide show
  1. package/LLM_CONTEXT.md +22 -33
  2. package/package.json +3 -1
  3. package/readme.md +2 -0
  4. package/dist/cjs/index-BzadfLTc.js +0 -1864
  5. package/dist/cjs/index-BzadfLTc.js.map +0 -1
  6. package/dist/cjs/index.cjs.js +0 -124
  7. package/dist/cjs/index.cjs.js.map +0 -1
  8. package/dist/cjs/le-bar_16.cjs.entry.js +0 -3709
  9. package/dist/cjs/le-box.cjs.entry.js +0 -184
  10. package/dist/cjs/le-card.cjs.entry.js +0 -29
  11. package/dist/cjs/le-code-input.cjs.entry.js +0 -181
  12. package/dist/cjs/le-combobox.cjs.entry.js +0 -237
  13. package/dist/cjs/le-header-placeholder.cjs.entry.js +0 -18
  14. package/dist/cjs/le-kit.cjs.js +0 -27
  15. package/dist/cjs/le-kit.cjs.js.map +0 -1
  16. package/dist/cjs/le-multiselect.cjs.entry.js +0 -306
  17. package/dist/cjs/le-number-input.cjs.entry.js +0 -202
  18. package/dist/cjs/le-round-progress.cjs.entry.js +0 -106
  19. package/dist/cjs/le-segmented-control.cjs.entry.js +0 -245
  20. package/dist/cjs/le-side-panel-toggle.cjs.entry.js +0 -229
  21. package/dist/cjs/le-side-panel.cjs.entry.js +0 -546
  22. package/dist/cjs/le-stack.cjs.entry.js +0 -135
  23. package/dist/cjs/le-tab-bar.cjs.entry.js +0 -242
  24. package/dist/cjs/le-tab-panel.cjs.entry.js +0 -100
  25. package/dist/cjs/le-tab.cjs.entry.js +0 -136
  26. package/dist/cjs/le-tabs.cjs.entry.js +0 -307
  27. package/dist/cjs/le-tag.cjs.entry.js +0 -68
  28. package/dist/cjs/le-text.cjs.entry.js +0 -335
  29. package/dist/cjs/le-turntable.cjs.entry.js +0 -139
  30. package/dist/cjs/loader.cjs.js +0 -15
  31. package/dist/cjs/loader.cjs.js.map +0 -1
  32. package/dist/cjs/utils-Dxx9WhWK.js +0 -152
  33. package/dist/cjs/utils-Dxx9WhWK.js.map +0 -1
  34. package/dist/collection/assets/icons/chevron-down.svg +0 -3
  35. package/dist/collection/collection-manifest.json +0 -47
  36. package/dist/collection/components/le-bar/le-bar.css +0 -255
  37. package/dist/collection/components/le-bar/le-bar.js +0 -680
  38. package/dist/collection/components/le-bar/le-bar.js.map +0 -1
  39. package/dist/collection/components/le-box/le-box.css +0 -37
  40. package/dist/collection/components/le-box/le-box.js +0 -614
  41. package/dist/collection/components/le-box/le-box.js.map +0 -1
  42. package/dist/collection/components/le-button/le-button.css +0 -290
  43. package/dist/collection/components/le-button/le-button.js +0 -460
  44. package/dist/collection/components/le-button/le-button.js.map +0 -1
  45. package/dist/collection/components/le-card/le-card.css +0 -74
  46. package/dist/collection/components/le-card/le-card.js +0 -102
  47. package/dist/collection/components/le-card/le-card.js.map +0 -1
  48. package/dist/collection/components/le-checkbox/le-checkbox.css +0 -93
  49. package/dist/collection/components/le-checkbox/le-checkbox.js +0 -192
  50. package/dist/collection/components/le-checkbox/le-checkbox.js.map +0 -1
  51. package/dist/collection/components/le-code-input/le-code-input.css +0 -106
  52. package/dist/collection/components/le-code-input/le-code-input.js +0 -466
  53. package/dist/collection/components/le-code-input/le-code-input.js.map +0 -1
  54. package/dist/collection/components/le-collapse/le-collapse.css +0 -31
  55. package/dist/collection/components/le-collapse/le-collapse.js +0 -184
  56. package/dist/collection/components/le-collapse/le-collapse.js.map +0 -1
  57. package/dist/collection/components/le-combobox/le-combobox.css +0 -144
  58. package/dist/collection/components/le-combobox/le-combobox.js +0 -659
  59. package/dist/collection/components/le-combobox/le-combobox.js.map +0 -1
  60. package/dist/collection/components/le-component/le-component.css +0 -189
  61. package/dist/collection/components/le-component/le-component.js +0 -367
  62. package/dist/collection/components/le-component/le-component.js.map +0 -1
  63. package/dist/collection/components/le-current-heading/le-current-heading.css +0 -13
  64. package/dist/collection/components/le-current-heading/le-current-heading.js +0 -130
  65. package/dist/collection/components/le-current-heading/le-current-heading.js.map +0 -1
  66. package/dist/collection/components/le-dropdown-base/le-dropdown-base.css +0 -167
  67. package/dist/collection/components/le-dropdown-base/le-dropdown-base.js +0 -761
  68. package/dist/collection/components/le-dropdown-base/le-dropdown-base.js.map +0 -1
  69. package/dist/collection/components/le-header/le-header.css +0 -120
  70. package/dist/collection/components/le-header/le-header.js +0 -508
  71. package/dist/collection/components/le-header/le-header.js.map +0 -1
  72. package/dist/collection/components/le-header-placeholder/le-header-placeholder.js +0 -21
  73. package/dist/collection/components/le-header-placeholder/le-header-placeholder.js.map +0 -1
  74. package/dist/collection/components/le-icon/le-icon.css +0 -13
  75. package/dist/collection/components/le-icon/le-icon.js +0 -185
  76. package/dist/collection/components/le-icon/le-icon.js.map +0 -1
  77. package/dist/collection/components/le-multiselect/le-multiselect.css +0 -163
  78. package/dist/collection/components/le-multiselect/le-multiselect.js +0 -734
  79. package/dist/collection/components/le-multiselect/le-multiselect.js.map +0 -1
  80. package/dist/collection/components/le-navigation/le-navigation.css +0 -330
  81. package/dist/collection/components/le-navigation/le-navigation.js +0 -700
  82. package/dist/collection/components/le-navigation/le-navigation.js.map +0 -1
  83. package/dist/collection/components/le-number-input/le-number-input.css +0 -135
  84. package/dist/collection/components/le-number-input/le-number-input.js +0 -515
  85. package/dist/collection/components/le-number-input/le-number-input.js.map +0 -1
  86. package/dist/collection/components/le-popover/le-popover.css +0 -163
  87. package/dist/collection/components/le-popover/le-popover.js +0 -853
  88. package/dist/collection/components/le-popover/le-popover.js.map +0 -1
  89. package/dist/collection/components/le-popup/le-popup.api.js +0 -102
  90. package/dist/collection/components/le-popup/le-popup.api.js.map +0 -1
  91. package/dist/collection/components/le-popup/le-popup.css +0 -222
  92. package/dist/collection/components/le-popup/le-popup.js +0 -626
  93. package/dist/collection/components/le-popup/le-popup.js.map +0 -1
  94. package/dist/collection/components/le-round-progress/le-round-progress.css +0 -34
  95. package/dist/collection/components/le-round-progress/le-round-progress.js +0 -184
  96. package/dist/collection/components/le-round-progress/le-round-progress.js.map +0 -1
  97. package/dist/collection/components/le-scroll-progress/le-scroll-progress.css +0 -29
  98. package/dist/collection/components/le-scroll-progress/le-scroll-progress.js +0 -186
  99. package/dist/collection/components/le-scroll-progress/le-scroll-progress.js.map +0 -1
  100. package/dist/collection/components/le-segmented-control/le-segmented-control.css +0 -78
  101. package/dist/collection/components/le-segmented-control/le-segmented-control.js +0 -445
  102. package/dist/collection/components/le-segmented-control/le-segmented-control.js.map +0 -1
  103. package/dist/collection/components/le-select/le-select.css +0 -121
  104. package/dist/collection/components/le-select/le-select.js +0 -578
  105. package/dist/collection/components/le-select/le-select.js.map +0 -1
  106. package/dist/collection/components/le-side-panel/le-side-panel.css +0 -193
  107. package/dist/collection/components/le-side-panel/le-side-panel.js +0 -953
  108. package/dist/collection/components/le-side-panel/le-side-panel.js.map +0 -1
  109. package/dist/collection/components/le-side-panel-toggle/le-side-panel-toggle.js +0 -610
  110. package/dist/collection/components/le-side-panel-toggle/le-side-panel-toggle.js.map +0 -1
  111. package/dist/collection/components/le-slot/le-slot.default.css +0 -222
  112. package/dist/collection/components/le-slot/le-slot.js +0 -638
  113. package/dist/collection/components/le-slot/le-slot.js.map +0 -1
  114. package/dist/collection/components/le-stack/le-stack.default.css +0 -37
  115. package/dist/collection/components/le-stack/le-stack.js +0 -389
  116. package/dist/collection/components/le-stack/le-stack.js.map +0 -1
  117. package/dist/collection/components/le-string-input/le-string-input.css +0 -83
  118. package/dist/collection/components/le-string-input/le-string-input.js +0 -413
  119. package/dist/collection/components/le-string-input/le-string-input.js.map +0 -1
  120. package/dist/collection/components/le-tab/le-tab.css +0 -289
  121. package/dist/collection/components/le-tab/le-tab.js +0 -565
  122. package/dist/collection/components/le-tab/le-tab.js.map +0 -1
  123. package/dist/collection/components/le-tab-bar/le-tab-bar.css +0 -89
  124. package/dist/collection/components/le-tab-bar/le-tab-bar.js +0 -467
  125. package/dist/collection/components/le-tab-bar/le-tab-bar.js.map +0 -1
  126. package/dist/collection/components/le-tab-panel/le-tab-panel.css +0 -30
  127. package/dist/collection/components/le-tab-panel/le-tab-panel.js +0 -302
  128. package/dist/collection/components/le-tab-panel/le-tab-panel.js.map +0 -1
  129. package/dist/collection/components/le-tabs/le-tabs.css +0 -146
  130. package/dist/collection/components/le-tabs/le-tabs.js +0 -588
  131. package/dist/collection/components/le-tabs/le-tabs.js.map +0 -1
  132. package/dist/collection/components/le-tag/le-tag.css +0 -139
  133. package/dist/collection/components/le-tag/le-tag.js +0 -266
  134. package/dist/collection/components/le-tag/le-tag.js.map +0 -1
  135. package/dist/collection/components/le-text/le-text.css +0 -169
  136. package/dist/collection/components/le-text/le-text.js +0 -475
  137. package/dist/collection/components/le-text/le-text.js.map +0 -1
  138. package/dist/collection/components/le-turntable/le-turntable.css +0 -10
  139. package/dist/collection/components/le-turntable/le-turntable.js +0 -210
  140. package/dist/collection/components/le-turntable/le-turntable.js.map +0 -1
  141. package/dist/collection/dist/components/assets/custom-elements.json +0 -11935
  142. package/dist/collection/dist/components/assets/icons/chevron-down.json +0 -13
  143. package/dist/collection/dist/components/assets/icons/chevron-down.svg +0 -3
  144. package/dist/collection/dist/components/assets/icons/ellipsis-horizontal.json +0 -14
  145. package/dist/collection/dist/components/assets/icons/ellipsis-vertical.json +0 -14
  146. package/dist/collection/dist/components/assets/icons/hamburger.json +0 -14
  147. package/dist/collection/dist/components/assets/icons/side-panel.json +0 -61
  148. package/dist/collection/dist/themes/base.css +0 -89
  149. package/dist/collection/dist/themes/dark.css +0 -104
  150. package/dist/collection/dist/themes/default.css +0 -112
  151. package/dist/collection/dist/themes/gradient.css +0 -104
  152. package/dist/collection/dist/themes/index.css +0 -76
  153. package/dist/collection/dist/themes/minimal.css +0 -104
  154. package/dist/collection/dist/themes/warm.css +0 -104
  155. package/dist/collection/global/app.js +0 -177
  156. package/dist/collection/global/app.js.map +0 -1
  157. package/dist/collection/index.js +0 -16
  158. package/dist/collection/index.js.map +0 -1
  159. package/dist/collection/types/blocks.js +0 -115
  160. package/dist/collection/types/blocks.js.map +0 -1
  161. package/dist/collection/types/options.js +0 -2
  162. package/dist/collection/types/options.js.map +0 -1
  163. package/dist/collection/utils/utils.js +0 -141
  164. package/dist/collection/utils/utils.js.map +0 -1
  165. package/dist/components/app.js +0 -180
  166. package/dist/components/app.js.map +0 -1
  167. package/dist/components/assets/custom-elements.json +0 -11935
  168. package/dist/components/assets/icons/chevron-down.json +0 -13
  169. package/dist/components/assets/icons/chevron-down.svg +0 -3
  170. package/dist/components/assets/icons/ellipsis-horizontal.json +0 -14
  171. package/dist/components/assets/icons/ellipsis-vertical.json +0 -14
  172. package/dist/components/assets/icons/hamburger.json +0 -14
  173. package/dist/components/assets/icons/side-panel.json +0 -61
  174. package/dist/components/index.d.ts +0 -33
  175. package/dist/components/index.js +0 -12
  176. package/dist/components/index.js.map +0 -1
  177. package/dist/components/le-bar.d.ts +0 -11
  178. package/dist/components/le-bar.js +0 -9
  179. package/dist/components/le-bar.js.map +0 -1
  180. package/dist/components/le-bar2.js +0 -506
  181. package/dist/components/le-bar2.js.map +0 -1
  182. package/dist/components/le-box.d.ts +0 -11
  183. package/dist/components/le-box.js +0 -273
  184. package/dist/components/le-box.js.map +0 -1
  185. package/dist/components/le-button.d.ts +0 -11
  186. package/dist/components/le-button.js +0 -9
  187. package/dist/components/le-button.js.map +0 -1
  188. package/dist/components/le-button2.js +0 -1791
  189. package/dist/components/le-button2.js.map +0 -1
  190. package/dist/components/le-card.d.ts +0 -11
  191. package/dist/components/le-card.js +0 -100
  192. package/dist/components/le-card.js.map +0 -1
  193. package/dist/components/le-checkbox.d.ts +0 -11
  194. package/dist/components/le-checkbox.js +0 -9
  195. package/dist/components/le-checkbox.js.map +0 -1
  196. package/dist/components/le-code-input.d.ts +0 -11
  197. package/dist/components/le-code-input.js +0 -265
  198. package/dist/components/le-code-input.js.map +0 -1
  199. package/dist/components/le-collapse.d.ts +0 -11
  200. package/dist/components/le-collapse.js +0 -9
  201. package/dist/components/le-collapse.js.map +0 -1
  202. package/dist/components/le-collapse2.js +0 -138
  203. package/dist/components/le-collapse2.js.map +0 -1
  204. package/dist/components/le-combobox.d.ts +0 -11
  205. package/dist/components/le-combobox.js +0 -326
  206. package/dist/components/le-combobox.js.map +0 -1
  207. package/dist/components/le-component.d.ts +0 -11
  208. package/dist/components/le-component.js +0 -9
  209. package/dist/components/le-component.js.map +0 -1
  210. package/dist/components/le-current-heading.d.ts +0 -11
  211. package/dist/components/le-current-heading.js +0 -93
  212. package/dist/components/le-current-heading.js.map +0 -1
  213. package/dist/components/le-dropdown-base.d.ts +0 -11
  214. package/dist/components/le-dropdown-base.js +0 -9
  215. package/dist/components/le-dropdown-base.js.map +0 -1
  216. package/dist/components/le-dropdown-base2.js +0 -393
  217. package/dist/components/le-dropdown-base2.js.map +0 -1
  218. package/dist/components/le-header-placeholder.d.ts +0 -11
  219. package/dist/components/le-header-placeholder.js +0 -37
  220. package/dist/components/le-header-placeholder.js.map +0 -1
  221. package/dist/components/le-header.d.ts +0 -11
  222. package/dist/components/le-header.js +0 -349
  223. package/dist/components/le-header.js.map +0 -1
  224. package/dist/components/le-icon.d.ts +0 -11
  225. package/dist/components/le-icon.js +0 -9
  226. package/dist/components/le-icon.js.map +0 -1
  227. package/dist/components/le-icon2.js +0 -150
  228. package/dist/components/le-icon2.js.map +0 -1
  229. package/dist/components/le-multiselect.d.ts +0 -11
  230. package/dist/components/le-multiselect.js +0 -405
  231. package/dist/components/le-multiselect.js.map +0 -1
  232. package/dist/components/le-navigation.d.ts +0 -11
  233. package/dist/components/le-navigation.js +0 -502
  234. package/dist/components/le-navigation.js.map +0 -1
  235. package/dist/components/le-number-input.d.ts +0 -11
  236. package/dist/components/le-number-input.js +0 -288
  237. package/dist/components/le-number-input.js.map +0 -1
  238. package/dist/components/le-popover.d.ts +0 -11
  239. package/dist/components/le-popover.js +0 -9
  240. package/dist/components/le-popover.js.map +0 -1
  241. package/dist/components/le-popover2.js +0 -667
  242. package/dist/components/le-popover2.js.map +0 -1
  243. package/dist/components/le-popup.api.js +0 -106
  244. package/dist/components/le-popup.api.js.map +0 -1
  245. package/dist/components/le-popup.d.ts +0 -11
  246. package/dist/components/le-popup.js +0 -9
  247. package/dist/components/le-popup.js.map +0 -1
  248. package/dist/components/le-round-progress.d.ts +0 -11
  249. package/dist/components/le-round-progress.js +0 -135
  250. package/dist/components/le-round-progress.js.map +0 -1
  251. package/dist/components/le-scroll-progress.d.ts +0 -11
  252. package/dist/components/le-scroll-progress.js +0 -142
  253. package/dist/components/le-scroll-progress.js.map +0 -1
  254. package/dist/components/le-segmented-control.d.ts +0 -11
  255. package/dist/components/le-segmented-control.js +0 -331
  256. package/dist/components/le-segmented-control.js.map +0 -1
  257. package/dist/components/le-select.d.ts +0 -11
  258. package/dist/components/le-select.js +0 -9
  259. package/dist/components/le-select.js.map +0 -1
  260. package/dist/components/le-side-panel-toggle.d.ts +0 -11
  261. package/dist/components/le-side-panel-toggle.js +0 -9
  262. package/dist/components/le-side-panel-toggle.js.map +0 -1
  263. package/dist/components/le-side-panel-toggle2.js +0 -311
  264. package/dist/components/le-side-panel-toggle2.js.map +0 -1
  265. package/dist/components/le-side-panel.d.ts +0 -11
  266. package/dist/components/le-side-panel.js +0 -660
  267. package/dist/components/le-side-panel.js.map +0 -1
  268. package/dist/components/le-slot.d.ts +0 -11
  269. package/dist/components/le-slot.js +0 -9
  270. package/dist/components/le-slot.js.map +0 -1
  271. package/dist/components/le-stack.d.ts +0 -11
  272. package/dist/components/le-stack.js +0 -215
  273. package/dist/components/le-stack.js.map +0 -1
  274. package/dist/components/le-string-input.d.ts +0 -11
  275. package/dist/components/le-string-input.js +0 -9
  276. package/dist/components/le-string-input.js.map +0 -1
  277. package/dist/components/le-tab-bar.d.ts +0 -11
  278. package/dist/components/le-tab-bar.js +0 -330
  279. package/dist/components/le-tab-bar.js.map +0 -1
  280. package/dist/components/le-tab-panel.d.ts +0 -11
  281. package/dist/components/le-tab-panel.js +0 -182
  282. package/dist/components/le-tab-panel.js.map +0 -1
  283. package/dist/components/le-tab.d.ts +0 -11
  284. package/dist/components/le-tab.js +0 -9
  285. package/dist/components/le-tab.js.map +0 -1
  286. package/dist/components/le-tab2.js +0 -220
  287. package/dist/components/le-tab2.js.map +0 -1
  288. package/dist/components/le-tabs.d.ts +0 -11
  289. package/dist/components/le-tabs.js +0 -397
  290. package/dist/components/le-tabs.js.map +0 -1
  291. package/dist/components/le-tag.d.ts +0 -11
  292. package/dist/components/le-tag.js +0 -9
  293. package/dist/components/le-tag.js.map +0 -1
  294. package/dist/components/le-tag2.js +0 -141
  295. package/dist/components/le-tag2.js.map +0 -1
  296. package/dist/components/le-text.d.ts +0 -11
  297. package/dist/components/le-text.js +0 -415
  298. package/dist/components/le-text.js.map +0 -1
  299. package/dist/components/le-turntable.d.ts +0 -11
  300. package/dist/components/le-turntable.js +0 -164
  301. package/dist/components/le-turntable.js.map +0 -1
  302. package/dist/components/utils.js +0 -146
  303. package/dist/components/utils.js.map +0 -1
  304. package/dist/docs.d.ts +0 -443
  305. package/dist/docs.json +0 -14289
  306. package/dist/esm/index-DFTm5BqT.js +0 -1844
  307. package/dist/esm/index-DFTm5BqT.js.map +0 -1
  308. package/dist/esm/index.js +0 -109
  309. package/dist/esm/index.js.map +0 -1
  310. package/dist/esm/le-bar_16.entry.js +0 -3692
  311. package/dist/esm/le-box.entry.js +0 -182
  312. package/dist/esm/le-box.entry.js.map +0 -1
  313. package/dist/esm/le-card.entry.js +0 -27
  314. package/dist/esm/le-card.entry.js.map +0 -1
  315. package/dist/esm/le-code-input.entry.js +0 -179
  316. package/dist/esm/le-code-input.entry.js.map +0 -1
  317. package/dist/esm/le-combobox.entry.js +0 -235
  318. package/dist/esm/le-combobox.entry.js.map +0 -1
  319. package/dist/esm/le-header-placeholder.entry.js +0 -16
  320. package/dist/esm/le-header-placeholder.entry.js.map +0 -1
  321. package/dist/esm/le-kit.js +0 -23
  322. package/dist/esm/le-kit.js.map +0 -1
  323. package/dist/esm/le-multiselect.entry.js +0 -304
  324. package/dist/esm/le-multiselect.entry.js.map +0 -1
  325. package/dist/esm/le-number-input.entry.js +0 -200
  326. package/dist/esm/le-number-input.entry.js.map +0 -1
  327. package/dist/esm/le-round-progress.entry.js +0 -104
  328. package/dist/esm/le-round-progress.entry.js.map +0 -1
  329. package/dist/esm/le-segmented-control.entry.js +0 -243
  330. package/dist/esm/le-segmented-control.entry.js.map +0 -1
  331. package/dist/esm/le-side-panel-toggle.entry.js +0 -227
  332. package/dist/esm/le-side-panel-toggle.entry.js.map +0 -1
  333. package/dist/esm/le-side-panel.entry.js +0 -544
  334. package/dist/esm/le-side-panel.entry.js.map +0 -1
  335. package/dist/esm/le-stack.entry.js +0 -133
  336. package/dist/esm/le-stack.entry.js.map +0 -1
  337. package/dist/esm/le-tab-bar.entry.js +0 -240
  338. package/dist/esm/le-tab-bar.entry.js.map +0 -1
  339. package/dist/esm/le-tab-panel.entry.js +0 -98
  340. package/dist/esm/le-tab-panel.entry.js.map +0 -1
  341. package/dist/esm/le-tab.entry.js +0 -134
  342. package/dist/esm/le-tab.entry.js.map +0 -1
  343. package/dist/esm/le-tabs.entry.js +0 -305
  344. package/dist/esm/le-tabs.entry.js.map +0 -1
  345. package/dist/esm/le-tag.entry.js +0 -66
  346. package/dist/esm/le-tag.entry.js.map +0 -1
  347. package/dist/esm/le-text.entry.js +0 -333
  348. package/dist/esm/le-text.entry.js.map +0 -1
  349. package/dist/esm/le-turntable.entry.js +0 -137
  350. package/dist/esm/le-turntable.entry.js.map +0 -1
  351. package/dist/esm/loader.js +0 -13
  352. package/dist/esm/loader.js.map +0 -1
  353. package/dist/esm/utils-DZYCZLrF.js +0 -146
  354. package/dist/esm/utils-DZYCZLrF.js.map +0 -1
  355. package/dist/index.cjs.js +0 -1
  356. package/dist/index.js +0 -1
  357. package/dist/le-kit/dist/components/assets/custom-elements.json +0 -11935
  358. package/dist/le-kit/dist/components/assets/icons/chevron-down.json +0 -13
  359. package/dist/le-kit/dist/components/assets/icons/chevron-down.svg +0 -3
  360. package/dist/le-kit/dist/components/assets/icons/ellipsis-horizontal.json +0 -14
  361. package/dist/le-kit/dist/components/assets/icons/ellipsis-vertical.json +0 -14
  362. package/dist/le-kit/dist/components/assets/icons/hamburger.json +0 -14
  363. package/dist/le-kit/dist/components/assets/icons/side-panel.json +0 -61
  364. package/dist/le-kit/dist/themes/base.css +0 -89
  365. package/dist/le-kit/dist/themes/dark.css +0 -104
  366. package/dist/le-kit/dist/themes/default.css +0 -112
  367. package/dist/le-kit/dist/themes/gradient.css +0 -104
  368. package/dist/le-kit/dist/themes/index.css +0 -76
  369. package/dist/le-kit/dist/themes/minimal.css +0 -104
  370. package/dist/le-kit/dist/themes/warm.css +0 -104
  371. package/dist/le-kit/index.esm.js +0 -2
  372. package/dist/le-kit/index.esm.js.map +0 -1
  373. package/dist/le-kit/le-kit.css +0 -1
  374. package/dist/le-kit/le-kit.esm.js +0 -2
  375. package/dist/le-kit/le-kit.esm.js.map +0 -1
  376. package/dist/le-kit/loader.esm.js.map +0 -1
  377. package/dist/le-kit/p-221d379a.entry.js +0 -2
  378. package/dist/le-kit/p-221d379a.entry.js.map +0 -1
  379. package/dist/le-kit/p-24112ca3.entry.js +0 -2
  380. package/dist/le-kit/p-24112ca3.entry.js.map +0 -1
  381. package/dist/le-kit/p-2c6d080d.entry.js +0 -2
  382. package/dist/le-kit/p-2c6d080d.entry.js.map +0 -1
  383. package/dist/le-kit/p-46276e77.entry.js +0 -2
  384. package/dist/le-kit/p-46276e77.entry.js.map +0 -1
  385. package/dist/le-kit/p-516c8531.entry.js +0 -2
  386. package/dist/le-kit/p-516c8531.entry.js.map +0 -1
  387. package/dist/le-kit/p-6ae60ba5.entry.js +0 -2
  388. package/dist/le-kit/p-6ae60ba5.entry.js.map +0 -1
  389. package/dist/le-kit/p-6b69f9a2.entry.js +0 -2
  390. package/dist/le-kit/p-6b69f9a2.entry.js.map +0 -1
  391. package/dist/le-kit/p-6d14306f.entry.js +0 -2
  392. package/dist/le-kit/p-6d14306f.entry.js.map +0 -1
  393. package/dist/le-kit/p-7bcdf2d4.entry.js +0 -2
  394. package/dist/le-kit/p-7bcdf2d4.entry.js.map +0 -1
  395. package/dist/le-kit/p-7cf1e23c.entry.js +0 -2
  396. package/dist/le-kit/p-7cf1e23c.entry.js.map +0 -1
  397. package/dist/le-kit/p-85f2fd4d.entry.js +0 -2
  398. package/dist/le-kit/p-85f2fd4d.entry.js.map +0 -1
  399. package/dist/le-kit/p-98242429.entry.js +0 -2
  400. package/dist/le-kit/p-98242429.entry.js.map +0 -1
  401. package/dist/le-kit/p-D8RYDS9p.js +0 -2
  402. package/dist/le-kit/p-D8RYDS9p.js.map +0 -1
  403. package/dist/le-kit/p-DFTm5BqT.js +0 -3
  404. package/dist/le-kit/p-DFTm5BqT.js.map +0 -1
  405. package/dist/le-kit/p-ab6c1def.entry.js +0 -2
  406. package/dist/le-kit/p-ab6c1def.entry.js.map +0 -1
  407. package/dist/le-kit/p-ae4ead64.entry.js +0 -2
  408. package/dist/le-kit/p-ae4ead64.entry.js.map +0 -1
  409. package/dist/le-kit/p-b05d4511.entry.js +0 -2
  410. package/dist/le-kit/p-b05d4511.entry.js.map +0 -1
  411. package/dist/le-kit/p-b6ac02ff.entry.js +0 -2
  412. package/dist/le-kit/p-b6ac02ff.entry.js.map +0 -1
  413. package/dist/le-kit/p-c24769e2.entry.js +0 -2
  414. package/dist/le-kit/p-c24769e2.entry.js.map +0 -1
  415. package/dist/le-kit/p-dc0445ad.entry.js +0 -2
  416. package/dist/le-kit/p-dc0445ad.entry.js.map +0 -1
  417. package/dist/le-kit/p-eb5286f2.entry.js +0 -2
  418. package/dist/le-kit/p-eb5286f2.entry.js.map +0 -1
  419. package/dist/le-kit/p-f78b1ee6.entry.js +0 -2
  420. package/dist/le-kit/p-f78b1ee6.entry.js.map +0 -1
  421. package/dist/themes/base.css +0 -89
  422. package/dist/themes/dark.css +0 -104
  423. package/dist/themes/default.css +0 -112
  424. package/dist/themes/gradient.css +0 -104
  425. package/dist/themes/index.css +0 -76
  426. package/dist/themes/minimal.css +0 -104
  427. package/dist/themes/warm.css +0 -104
  428. package/dist/types/components/le-bar/le-bar.d.ts +0 -131
  429. package/dist/types/components/le-box/le-box.d.ts +0 -111
  430. package/dist/types/components/le-button/le-button.d.ts +0 -93
  431. package/dist/types/components/le-card/le-card.d.ts +0 -37
  432. package/dist/types/components/le-checkbox/le-checkbox.d.ts +0 -46
  433. package/dist/types/components/le-code-input/le-code-input.d.ts +0 -102
  434. package/dist/types/components/le-collapse/le-collapse.d.ts +0 -43
  435. package/dist/types/components/le-combobox/le-combobox.d.ts +0 -128
  436. package/dist/types/components/le-component/le-component.d.ts +0 -115
  437. package/dist/types/components/le-current-heading/le-current-heading.d.ts +0 -25
  438. package/dist/types/components/le-dropdown-base/le-dropdown-base.d.ts +0 -118
  439. package/dist/types/components/le-header/le-header.d.ts +0 -115
  440. package/dist/types/components/le-header-placeholder/le-header-placeholder.d.ts +0 -13
  441. package/dist/types/components/le-icon/le-icon.d.ts +0 -28
  442. package/dist/types/components/le-multiselect/le-multiselect.d.ts +0 -143
  443. package/dist/types/components/le-navigation/le-navigation.d.ts +0 -125
  444. package/dist/types/components/le-number-input/le-number-input.d.ts +0 -106
  445. package/dist/types/components/le-popover/le-popover.d.ts +0 -129
  446. package/dist/types/components/le-popup/le-popup.api.d.ts +0 -73
  447. package/dist/types/components/le-popup/le-popup.d.ts +0 -127
  448. package/dist/types/components/le-round-progress/le-round-progress.d.ts +0 -37
  449. package/dist/types/components/le-scroll-progress/le-scroll-progress.d.ts +0 -40
  450. package/dist/types/components/le-segmented-control/le-segmented-control.d.ts +0 -82
  451. package/dist/types/components/le-select/le-select.d.ts +0 -125
  452. package/dist/types/components/le-side-panel/le-side-panel.d.ts +0 -100
  453. package/dist/types/components/le-side-panel-toggle/le-side-panel-toggle.d.ts +0 -48
  454. package/dist/types/components/le-slot/le-slot.d.ts +0 -149
  455. package/dist/types/components/le-stack/le-stack.d.ts +0 -73
  456. package/dist/types/components/le-string-input/le-string-input.d.ts +0 -91
  457. package/dist/types/components/le-tab/le-tab.d.ts +0 -116
  458. package/dist/types/components/le-tab-bar/le-tab-bar.d.ts +0 -88
  459. package/dist/types/components/le-tab-panel/le-tab-panel.d.ts +0 -75
  460. package/dist/types/components/le-tabs/le-tabs.d.ts +0 -108
  461. package/dist/types/components/le-tag/le-tag.d.ts +0 -78
  462. package/dist/types/components/le-text/le-text.d.ts +0 -141
  463. package/dist/types/components/le-turntable/le-turntable.d.ts +0 -55
  464. package/dist/types/components.d.ts +0 -5716
  465. package/dist/types/global/app.d.ts +0 -96
  466. package/dist/types/index.d.ts +0 -16
  467. package/dist/types/stencil-public-runtime.d.ts +0 -1799
  468. package/dist/types/types/blocks.d.ts +0 -136
  469. package/dist/types/types/options.d.ts +0 -143
  470. package/dist/types/utils/utils.d.ts +0 -54
  471. package/loader/cdn.js +0 -1
  472. package/loader/index.cjs.js +0 -1
  473. package/loader/index.d.ts +0 -24
  474. package/loader/index.es2017.js +0 -1
  475. package/loader/index.js +0 -2
@@ -1,1799 +0,0 @@
1
- type CustomMethodDecorator<T> = (target: object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
2
- type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
3
- type MixinInstance<F> = F extends (base: MixedInCtor) => MixedInCtor<infer I> ? I : never;
4
- export interface ComponentDecorator {
5
- (opts?: ComponentOptions): ClassDecorator;
6
- }
7
- export interface ComponentOptions {
8
- /**
9
- * When set to `true` this component will be form-associated. See
10
- * https://stenciljs.com/docs/next/form-associated documentation on how to
11
- * build form-associated Stencil components that integrate into forms like
12
- * native browser elements such as `<input>` and `<textarea>`.
13
- *
14
- * The {@link AttachInternals} decorator allows for access to the
15
- * `ElementInternals` object to modify the associated form.
16
- */
17
- formAssociated?: boolean;
18
- /**
19
- * Tag name of the web component. Ideally, the tag name must be globally unique,
20
- * so it's recommended to choose an unique prefix for all your components within the same collection.
21
- *
22
- * In addition, tag name must contain a '-'
23
- */
24
- tag: string;
25
- /**
26
- * If `true`, the component will use scoped stylesheets. Similar to shadow-dom,
27
- * but without native isolation. Defaults to `false`.
28
- */
29
- scoped?: boolean;
30
- /**
31
- * If `true`, the component will use native shadow-dom encapsulation, it will fallback to
32
- * `scoped` if the browser does not support shadow-dom natively. Defaults to `false`.
33
- * Additionally, `shadow` can also be given options when attaching the shadow root.
34
- */
35
- shadow?: boolean | ShadowRootOptions;
36
- /**
37
- * Relative URL to some external stylesheet file. It should be a `.css` file unless some
38
- * external plugin is installed like `@stencil/sass`.
39
- */
40
- styleUrl?: string;
41
- /**
42
- * Similar as `styleUrl` but allows to specify different stylesheets for different modes.
43
- */
44
- styleUrls?: string[] | ModeStyles;
45
- /**
46
- * String that contains inlined CSS instead of using an external stylesheet.
47
- * The performance characteristics of this feature are the same as using an external stylesheet.
48
- *
49
- * Notice, you can't use sass, or less, only `css` is allowed using `styles`, use `styleUrl` is you need more advanced features.
50
- */
51
- styles?: string | {
52
- [modeName: string]: any;
53
- };
54
- /**
55
- * Array of relative links to folders of assets required by the component.
56
- */
57
- assetsDirs?: string[];
58
- }
59
- export interface ShadowRootOptions {
60
- /**
61
- * When set to `true`, specifies behavior that mitigates custom element issues
62
- * around focusability. When a non-focusable part of the shadow DOM is clicked, the first
63
- * focusable part is given focus, and the shadow host is given any available `:focus` styling.
64
- */
65
- delegatesFocus?: boolean;
66
- }
67
- export interface ModeStyles {
68
- [modeName: string]: string | string[];
69
- }
70
- export interface PropDecorator {
71
- (opts?: PropOptions): PropertyDecorator;
72
- }
73
- export interface PropOptions {
74
- /**
75
- * The name of the associated DOM attribute.
76
- * Stencil uses different heuristics to determine the default name of the attribute,
77
- * but using this property, you can override the default behavior.
78
- */
79
- attribute?: string | null;
80
- /**
81
- * A Prop is _by default_ immutable from inside the component logic.
82
- * Once a value is set by a user, the component cannot update it internally.
83
- * However, it's possible to explicitly allow a Prop to be mutated from inside the component,
84
- * by setting this `mutable` option to `true`.
85
- */
86
- mutable?: boolean;
87
- /**
88
- * In some cases it may be useful to keep a Prop in sync with an attribute.
89
- * In this case you can set the `reflect` option to `true`, since it defaults to `false`:
90
- */
91
- reflect?: boolean;
92
- }
93
- export interface MethodDecorator {
94
- (opts?: MethodOptions): CustomMethodDecorator<any>;
95
- }
96
- export interface MethodOptions {
97
- }
98
- export interface ElementDecorator {
99
- (): PropertyDecorator;
100
- }
101
- export interface EventDecorator {
102
- (opts?: EventOptions): PropertyDecorator;
103
- }
104
- export interface EventOptions {
105
- /**
106
- * A string custom event name to override the default.
107
- */
108
- eventName?: string;
109
- /**
110
- * A Boolean indicating whether the event bubbles up through the DOM or not.
111
- */
112
- bubbles?: boolean;
113
- /**
114
- * A Boolean indicating whether the event is cancelable.
115
- */
116
- cancelable?: boolean;
117
- /**
118
- * A Boolean value indicating whether or not the event can bubble across the boundary between the shadow DOM and the regular DOM.
119
- */
120
- composed?: boolean;
121
- }
122
- export interface AttachInternalsDecorator {
123
- (): PropertyDecorator;
124
- }
125
- export interface ListenDecorator {
126
- (eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
127
- }
128
- export interface ResolveVarFunction {
129
- <T>(variable: T): string;
130
- }
131
- export interface ListenOptions {
132
- /**
133
- * Handlers can also be registered for an event other than the host itself.
134
- * The `target` option can be used to change where the event listener is attached,
135
- * this is useful for listening to application-wide events.
136
- */
137
- target?: ListenTargetOptions;
138
- /**
139
- * Event listener attached with `@Listen` does not "capture" by default,
140
- * When a event listener is set to "capture", means the event will be dispatched
141
- * during the "capture phase". Please see
142
- * https://www.quirksmode.org/js/events_order.html for further information.
143
- */
144
- capture?: boolean;
145
- /**
146
- * By default, Stencil uses several heuristics to determine if
147
- * it must attach a `passive` event listener or not.
148
- *
149
- * Using the `passive` option can be used to change the default behavior.
150
- * Please see https://developers.google.com/web/updates/2016/06/passive-event-listeners for further information.
151
- */
152
- passive?: boolean;
153
- }
154
- export type ListenTargetOptions = 'body' | 'document' | 'window';
155
- export interface StateDecorator {
156
- (): PropertyDecorator;
157
- }
158
- export interface WatchDecorator {
159
- (propName: any): CustomMethodDecorator<(newValue?: any, oldValue?: any, propName?: any, ...args: any[]) => any | void>;
160
- }
161
- export interface PropSerializeDecorator {
162
- (propName: any): CustomMethodDecorator<(newValue?: any, propName?: string, ...args: any[]) => string | null>;
163
- }
164
- export interface AttrDeserializeDecorator {
165
- (propName: any): CustomMethodDecorator<(newValue?: any, propName?: string, ...args: any[]) => any>;
166
- }
167
- export interface UserBuildConditionals {
168
- isDev: boolean;
169
- isBrowser: boolean;
170
- isServer: boolean;
171
- isTesting: boolean;
172
- }
173
- /**
174
- * The `Build` object provides many build conditionals that can be used to
175
- * include or exclude code depending on the build.
176
- */
177
- export declare const Build: UserBuildConditionals;
178
- /**
179
- * The `Env` object provides access to the "env" object declared in the project's `stencil.config.ts`.
180
- */
181
- export declare const Env: {
182
- [prop: string]: string | undefined;
183
- };
184
- /**
185
- * The `@Component()` decorator is used to provide metadata about the component class.
186
- * https://stenciljs.com/docs/component
187
- */
188
- export declare const Component: ComponentDecorator;
189
- /**
190
- * The `@Element()` decorator is a reference to the actual host element
191
- * once it has rendered.
192
- */
193
- export declare const Element: ElementDecorator;
194
- /**
195
- * Components can emit data and events using the Event Emitter decorator.
196
- * To dispatch Custom DOM events for other components to handle, use the
197
- * `@Event()` decorator. The Event decorator also makes it easier for Stencil
198
- * to automatically build types and documentation for the event data.
199
- * https://stenciljs.com/docs/events
200
- */
201
- export declare const Event: EventDecorator;
202
- /**
203
- * If the `formAssociated` option is set in options passed to the
204
- * `@Component()` decorator then this decorator may be used to get access to the
205
- * `ElementInternals` instance associated with the component.
206
- */
207
- export declare const AttachInternals: AttachInternalsDecorator;
208
- /**
209
- * The `Listen()` decorator is for listening DOM events, including the ones
210
- * dispatched from `@Events()`.
211
- * https://stenciljs.com/docs/events#listen-decorator
212
- */
213
- export declare const Listen: ListenDecorator;
214
- /**
215
- * The `resolveVar()` function is a compile-time utility that resolves const variables
216
- * and object properties to their string literal values. This allows variables to be
217
- * used in `@Listen` and `@Event` decorators instead of hardcoded strings.
218
- *
219
- * @example
220
- * ```ts
221
- * const MY_EVENT = 'myEvent';
222
- * @Listen(resolveVar(MY_EVENT))
223
- * ```
224
- *
225
- * @example
226
- * ```ts
227
- * const EVENTS = { MY_EVENT: 'myEvent' } as const;
228
- * @Event({ eventName: resolveVar(EVENTS.MY_EVENT) })
229
- * ```
230
- */
231
- export declare const resolveVar: ResolveVarFunction;
232
- /**
233
- * The `@Method()` decorator is used to expose methods on the public API.
234
- * Class methods decorated with the @Method() decorator can be called directly
235
- * from the element, meaning they are intended to be callable from the outside.
236
- * https://stenciljs.com/docs/methods
237
- */
238
- export declare const Method: MethodDecorator;
239
- /**
240
- * Props are custom attribute/properties exposed publicly on the element
241
- * that developers can provide values for. Children components do not need to
242
- * know about or reference parent components, so Props can be used to pass
243
- * data down from the parent to the child. Components need to explicitly
244
- * declare the Props they expect to receive using the `@Prop()` decorator.
245
- * Any value changes to a Prop will cause a re-render.
246
- * https://stenciljs.com/docs/properties
247
- */
248
- export declare const Prop: PropDecorator;
249
- /**
250
- * The `@State()` decorator can be used to manage internal data for a component.
251
- * This means that a user cannot modify this data from outside the component,
252
- * but the component can modify it however it sees fit. Any value changes to a
253
- * `@State()` property will cause the components render function to be called again.
254
- * https://stenciljs.com/docs/state
255
- */
256
- export declare const State: StateDecorator;
257
- /**
258
- * When a property's value has changed, a method decorated with `@Watch()` will be
259
- * called and passed the new value of the prop along with the old value. Watch is
260
- * useful for validating props or handling side effects. Watch decorator does not
261
- * fire when a component initially loads.
262
- * https://stenciljs.com/docs/reactive-data#watch-decorator
263
- */
264
- export declare const Watch: WatchDecorator;
265
- /**
266
- * Decorator to serialize a property to an attribute string.
267
- */
268
- export declare const PropSerialize: PropSerializeDecorator;
269
- /**
270
- * Decorator to deserialize an attribute string to a property.
271
- */
272
- export declare const AttrDeserialize: AttrDeserializeDecorator;
273
- export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
274
- export type ErrorHandler = (err: any, element?: HTMLElement) => void;
275
- /**
276
- * `setMode()` is used for libraries which provide multiple "modes" for styles.
277
- */
278
- export declare const setMode: (handler: ResolutionHandler) => void;
279
- /**
280
- * `getMode()` is used for libraries which provide multiple "modes" for styles.
281
- * @param ref a reference to the node to get styles for
282
- * @returns the current mode or undefined, if not found
283
- */
284
- export declare function getMode<T = string | undefined>(ref: any): T;
285
- export declare function setPlatformHelpers(helpers: {
286
- jmp?: (c: any) => any;
287
- raf?: (c: any) => number;
288
- ael?: (el: any, eventName: string, listener: any, options: any) => void;
289
- rel?: (el: any, eventName: string, listener: any, options: any) => void;
290
- ce?: (eventName: string, opts?: any) => any;
291
- }): void;
292
- /**
293
- * Get the base path to where the assets can be found. Use `setAssetPath(path)`
294
- * if the path needs to be customized.
295
- * @param path the path to use in calculating the asset path. this value will be
296
- * used in conjunction with the base asset path
297
- * @returns the base path
298
- */
299
- export declare function getAssetPath(path: string): string;
300
- /**
301
- * Method to render a virtual DOM tree to a container element.
302
- *
303
- * @example
304
- * ```tsx
305
- * import { render } from '@stencil/core';
306
- *
307
- * const vnode = (
308
- * <div>
309
- * <h1>Hello, world!</h1>
310
- * </div>
311
- * );
312
- * render(vnode, document.body);
313
- * ```
314
- *
315
- * @param vnode - The virtual DOM tree to render
316
- * @param container - The container element to render the virtual DOM tree to
317
- */
318
- export declare function render(vnode: VNode, container: Element): void;
319
- /**
320
- * Used to manually set the base path where assets can be found. For lazy-loaded
321
- * builds the asset path is automatically set and assets copied to the correct
322
- * build directory. However, for custom elements builds, the `setAssetPath(path)` could
323
- * be used to customize the asset path depending on how the script file is consumed.
324
- * If the script is used as "module", it's recommended to use "import.meta.url", such
325
- * as `setAssetPath(import.meta.url)`. Other options include
326
- * `setAssetPath(document.currentScript.src)`, or using a bundler's replace plugin to
327
- * dynamically set the path at build time, such as `setAssetPath(process.env.ASSET_PATH)`.
328
- * But do note that this configuration depends on how your script is bundled, or lack of
329
- * bundling, and where your assets can be loaded from. Additionally custom bundling
330
- * will have to ensure the static assets are copied to its build directory.
331
- * @param path the asset path to set
332
- * @returns the set path
333
- */
334
- export declare function setAssetPath(path: string): string;
335
- /**
336
- * Used to specify a nonce value that corresponds with an application's
337
- * [Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP).
338
- * When set, the nonce will be added to all dynamically created script and style tags at runtime.
339
- * Alternatively, the nonce value can be set on a `meta` tag in the DOM head
340
- * (<meta name="csp-nonce" content="{ nonce value here }" />) and will result in the same behavior.
341
- * @param nonce The value to be used for the nonce attribute.
342
- */
343
- export declare function setNonce(nonce: string): void;
344
- /**
345
- * Retrieve a Stencil element for a given reference
346
- * @param ref the ref to get the Stencil element for
347
- * @returns a reference to the element
348
- */
349
- export declare function getElement(ref: any): HTMLStencilElement;
350
- /**
351
- * Schedules a new render of the given instance or element even if no state changed.
352
- *
353
- * Notice `forceUpdate()` is not synchronous and might perform the DOM render in the next frame.
354
- *
355
- * @param ref the node/element to force the re-render of
356
- */
357
- export declare function forceUpdate(ref: any): void;
358
- /**
359
- * getRenderingRef
360
- * @returns the rendering ref
361
- */
362
- export declare function getRenderingRef(): any;
363
- export interface HTMLStencilElement extends HTMLElement {
364
- componentOnReady(): Promise<this>;
365
- }
366
- /**
367
- * Schedules a DOM-write task. The provided callback will be executed
368
- * in the best moment to perform DOM mutation without causing layout thrashing.
369
- *
370
- * For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
371
- *
372
- * @param task the DOM-write to schedule
373
- */
374
- export declare function writeTask(task: RafCallback): void;
375
- /**
376
- * Schedules a DOM-read task. The provided callback will be executed
377
- * in the best moment to perform DOM reads without causing layout thrashing.
378
- *
379
- * For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
380
- *
381
- * @param task the DOM-read to schedule
382
- */
383
- export declare function readTask(task: RafCallback): void;
384
- /**
385
- * `setErrorHandler()` can be used to inject a custom global error handler.
386
- * Unhandled exception raised while rendering, during event handling, or lifecycles will trigger the custom event handler.
387
- */
388
- export declare const setErrorHandler: (handler: ErrorHandler) => void;
389
- export type TagTransformer = (tag: string) => string;
390
- /**
391
- * Sets a tag transformer to be used when rendering your custom elements.
392
- * ```ts
393
- * setTagTransformer((tag) => {
394
- * if (tag.startsWith('my-')) return `new-${tag}`
395
- * return tag;
396
- * });
397
- * ```
398
- * Will mean all your components that start with `my-` are defined instead with `new-my-` prefix.
399
- *
400
- * @param transformer the transformer function to use which must return a string.
401
- */
402
- export declare function setTagTransformer(transformer: TagTransformer): void;
403
- /**
404
- * Transforms a tag name using a transformer set via `setTagTransformer`
405
- *
406
- * @param tag - the tag to transform e.g. `my-tag`
407
- * @returns the transformed tag e.g. `new-my-tag`
408
- */
409
- export declare function transformTag(tag: string): string;
410
- /**
411
- * @deprecated - Use `MixedInCtor` instead:
412
- * ```ts
413
- * import { MixedInCtor } from '@stencil/core';
414
- *
415
- * const AFactoryFn = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
416
- * ```
417
- */
418
- export type MixinFactory = (base: MixedInCtor) => MixedInCtor;
419
- export type MixedInCtor<T = {}> = new (...args: any[]) => T;
420
- /**
421
- * Compose multiple mixin classes into a single constructor.
422
- * The resulting class has the combined instance types of all mixed-in classes.
423
- *
424
- * Example:
425
- * ```ts
426
- * import { Mixin, MixedInCtor } from '@stencil/core';
427
- *
428
- * const AWrap = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
429
- * const BWrap = <B extends MixedInCtor>(Base: B) => {class B extends Base { propB = B }; return B;}
430
- * const CWrap = <B extends MixedInCtor>(Base: B) => {class C extends Base { propC = C }; return C;}
431
- *
432
- * class X extends Mixin(AWrap, BWrap, CWrap) {
433
- * render() { return <div>{this.propA} {this.propB} {this.propC}</div>; }
434
- * }
435
- * ```
436
- *
437
- * @param mixinFactories mixin factory functions that return a class which extends from the provided class.
438
- * @returns a class that is composed from extending each of the provided classes in the order they were provided.
439
- */
440
- export declare function Mixin<const TMixins extends readonly MixinFactory[]>(...mixinFactories: TMixins): abstract new (...args: any[]) => UnionToIntersection<MixinInstance<TMixins[number]>>;
441
- /**
442
- * This file gets copied to all distributions of stencil component collections.
443
- * - no imports
444
- */
445
- export interface ComponentWillLoad {
446
- /**
447
- * The component is about to load and it has not
448
- * rendered yet.
449
- *
450
- * This is the best place to make any data updates
451
- * before the first render.
452
- *
453
- * componentWillLoad will only be called once.
454
- */
455
- componentWillLoad(): Promise<void> | void;
456
- }
457
- export interface ComponentDidLoad {
458
- /**
459
- * The component has loaded and has already rendered.
460
- *
461
- * Updating data in this method will cause the
462
- * component to re-render.
463
- *
464
- * componentDidLoad will only be called once.
465
- */
466
- componentDidLoad(): void;
467
- }
468
- export interface ComponentWillUpdate {
469
- /**
470
- * The component is about to update and re-render.
471
- *
472
- * Called multiple times throughout the life of
473
- * the component as it updates.
474
- *
475
- * componentWillUpdate is not called on the first render.
476
- */
477
- componentWillUpdate(): Promise<void> | void;
478
- }
479
- export interface ComponentDidUpdate {
480
- /**
481
- * The component has just re-rendered.
482
- *
483
- * Called multiple times throughout the life of
484
- * the component as it updates.
485
- *
486
- * componentWillUpdate is not called on the
487
- * first render.
488
- */
489
- componentDidUpdate(): void;
490
- }
491
- export interface ComponentInterface {
492
- connectedCallback?(): void;
493
- disconnectedCallback?(): void;
494
- componentWillRender?(): Promise<void> | void;
495
- componentDidRender?(): void;
496
- /**
497
- * The component is about to load and it has not
498
- * rendered yet.
499
- *
500
- * This is the best place to make any data updates
501
- * before the first render.
502
- *
503
- * componentWillLoad will only be called once.
504
- */
505
- componentWillLoad?(): Promise<void> | void;
506
- /**
507
- * The component has loaded and has already rendered.
508
- *
509
- * Updating data in this method will cause the
510
- * component to re-render.
511
- *
512
- * componentDidLoad will only be called once.
513
- */
514
- componentDidLoad?(): void;
515
- /**
516
- * A `@Prop` or `@State` property changed and a rerender is about to be requested.
517
- *
518
- * Called multiple times throughout the life of
519
- * the component as its properties change.
520
- *
521
- * componentShouldUpdate is not called on the first render.
522
- */
523
- componentShouldUpdate?(newVal: any, oldVal: any, propName: string): boolean | void;
524
- /**
525
- * The component is about to update and re-render.
526
- *
527
- * Called multiple times throughout the life of
528
- * the component as it updates.
529
- *
530
- * componentWillUpdate is not called on the first render.
531
- */
532
- componentWillUpdate?(): Promise<void> | void;
533
- /**
534
- * The component has just re-rendered.
535
- *
536
- * Called multiple times throughout the life of
537
- * the component as it updates.
538
- *
539
- * componentWillUpdate is not called on the
540
- * first render.
541
- */
542
- componentDidUpdate?(): void;
543
- render?(): any;
544
- [memberName: string]: any;
545
- }
546
- export interface EventEmitter<T = any> {
547
- emit: (data?: T) => CustomEvent<T>;
548
- }
549
- export interface RafCallback {
550
- (timeStamp: number): void;
551
- }
552
- export interface QueueApi {
553
- tick: (cb: RafCallback) => void;
554
- read: (cb: RafCallback) => void;
555
- write: (cb: RafCallback) => void;
556
- clear?: () => void;
557
- flush?: (cb?: () => void) => void;
558
- }
559
- /**
560
- * Host
561
- */
562
- export interface HostAttributes {
563
- class?: string | {
564
- [className: string]: boolean;
565
- };
566
- style?: {
567
- [key: string]: string | undefined;
568
- };
569
- ref?: (el: HTMLElement | null) => void;
570
- [prop: string]: any;
571
- }
572
- /**
573
- * Utilities for working with functional Stencil components. An object
574
- * conforming to this interface is passed by the Stencil runtime as the third
575
- * argument to a functional component, allowing component authors to work with
576
- * features like children.
577
- *
578
- * The children of a functional component will be passed as the second
579
- * argument, so a functional component which uses these utils to transform its
580
- * children might look like the following:
581
- *
582
- * ```ts
583
- * export const AddClass: FunctionalComponent = (_, children, utils) => (
584
- * utils.map(children, child => ({
585
- * ...child,
586
- * vattrs: {
587
- * ...child.vattrs,
588
- * class: `${child.vattrs.class} add-class`
589
- * }
590
- * }))
591
- * );
592
- * ```
593
- *
594
- * For more see the Stencil documentation, here:
595
- * https://stenciljs.com/docs/functional-components
596
- */
597
- export interface FunctionalUtilities {
598
- /**
599
- * Utility for reading the children of a functional component at runtime.
600
- * Since the Stencil runtime uses a different interface for children it is
601
- * not recommended to read the children directly, and is preferable to use
602
- * this utility to, for instance, perform a side effect for each child.
603
- */
604
- forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
605
- /**
606
- * Utility for transforming the children of a functional component. Given an
607
- * array of children and a callback this will return a list of the results of
608
- * passing each child to the supplied callback.
609
- */
610
- map: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => ChildNode) => VNode[];
611
- }
612
- export interface FunctionalComponent<T = {}> {
613
- (props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[];
614
- }
615
- /**
616
- * A Child VDOM node
617
- *
618
- * This has most of the same properties as {@link VNode} but friendlier names
619
- * (i.e. `vtag` instead of `$tag$`, `vchildren` instead of `$children$`) in
620
- * order to provide a friendlier public interface for users of the
621
- * {@link FunctionalUtilities}).
622
- */
623
- export interface ChildNode {
624
- vtag?: string | number | Function;
625
- vkey?: string | number;
626
- vtext?: string;
627
- vchildren?: VNode[];
628
- vattrs?: any;
629
- vname?: string;
630
- }
631
- /**
632
- * Host is a functional component can be used at the root of the render function
633
- * to set attributes and event listeners to the host element itself.
634
- *
635
- * For further information: https://stenciljs.com/docs/host-element
636
- */
637
- export declare const Host: FunctionalComponent<HostAttributes>;
638
- /**
639
- * Fragment
640
- */
641
- export declare const Fragment: FunctionalComponent<{}>;
642
- /**
643
- * The "h" namespace is used to import JSX types for elements and attributes.
644
- * It is imported in order to avoid conflicting global JSX issues.
645
- */
646
- export declare namespace h {
647
- function h(sel: any): VNode;
648
- function h(sel: Node, data: VNodeData | null): VNode;
649
- function h(sel: any, data: VNodeData | null): VNode;
650
- function h(sel: any, text: string): VNode;
651
- function h(sel: any, children: Array<VNode | undefined | null>): VNode;
652
- function h(sel: any, data: VNodeData | null, text: string): VNode;
653
- function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
654
- function h(sel: any, data: VNodeData | null, children: VNode): VNode;
655
- namespace JSX {
656
- interface IntrinsicElements extends LocalJSX.IntrinsicElements, JSXBase.IntrinsicElements {
657
- [tagName: string]: any;
658
- }
659
- }
660
- }
661
- export declare function h(sel: any): VNode;
662
- export declare function h(sel: Node, data: VNodeData | null): VNode;
663
- export declare function h(sel: any, data: VNodeData | null): VNode;
664
- export declare function h(sel: any, text: string): VNode;
665
- export declare function h(sel: any, children: Array<VNode | undefined | null>): VNode;
666
- export declare function h(sel: any, data: VNodeData | null, text: string): VNode;
667
- export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
668
- export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
669
- /**
670
- * A virtual DOM node
671
- */
672
- export interface VNode {
673
- $flags$: number;
674
- $tag$: string | number | Function;
675
- $elm$: any;
676
- $text$: string;
677
- $children$: VNode[];
678
- $attrs$?: any;
679
- $name$?: string;
680
- $key$?: string | number;
681
- }
682
- export interface VNodeData {
683
- class?: {
684
- [className: string]: boolean;
685
- };
686
- style?: any;
687
- [attrName: string]: any;
688
- }
689
- declare namespace LocalJSX {
690
- interface Element {
691
- }
692
- interface IntrinsicElements {
693
- }
694
- }
695
- export { LocalJSX as JSX };
696
- export declare namespace JSXBase {
697
- interface IntrinsicElements {
698
- slot: JSXBase.SlotAttributes;
699
- a: JSXBase.AnchorHTMLAttributes<HTMLAnchorElement>;
700
- abbr: JSXBase.HTMLAttributes;
701
- address: JSXBase.HTMLAttributes;
702
- area: JSXBase.AreaHTMLAttributes<HTMLAreaElement>;
703
- article: JSXBase.HTMLAttributes;
704
- aside: JSXBase.HTMLAttributes;
705
- audio: JSXBase.AudioHTMLAttributes<HTMLAudioElement>;
706
- b: JSXBase.HTMLAttributes;
707
- base: JSXBase.BaseHTMLAttributes<HTMLBaseElement>;
708
- bdi: JSXBase.HTMLAttributes;
709
- bdo: JSXBase.HTMLAttributes;
710
- big: JSXBase.HTMLAttributes;
711
- blockquote: JSXBase.BlockquoteHTMLAttributes<HTMLQuoteElement>;
712
- body: JSXBase.HTMLAttributes<HTMLBodyElement>;
713
- br: JSXBase.HTMLAttributes<HTMLBRElement>;
714
- button: JSXBase.ButtonHTMLAttributes<HTMLButtonElement>;
715
- canvas: JSXBase.CanvasHTMLAttributes<HTMLCanvasElement>;
716
- caption: JSXBase.HTMLAttributes<HTMLTableCaptionElement>;
717
- cite: JSXBase.HTMLAttributes;
718
- code: JSXBase.HTMLAttributes;
719
- col: JSXBase.ColHTMLAttributes<HTMLTableColElement>;
720
- colgroup: JSXBase.ColgroupHTMLAttributes<HTMLTableColElement>;
721
- data: JSXBase.HTMLAttributes<HTMLDataElement>;
722
- datalist: JSXBase.HTMLAttributes<HTMLDataListElement>;
723
- dd: JSXBase.HTMLAttributes;
724
- del: JSXBase.DelHTMLAttributes<HTMLModElement>;
725
- details: JSXBase.DetailsHTMLAttributes<HTMLElement>;
726
- dfn: JSXBase.HTMLAttributes;
727
- dialog: JSXBase.DialogHTMLAttributes<HTMLDialogElement>;
728
- div: JSXBase.HTMLAttributes<HTMLDivElement>;
729
- dl: JSXBase.HTMLAttributes<HTMLDListElement>;
730
- dt: JSXBase.HTMLAttributes;
731
- em: JSXBase.HTMLAttributes;
732
- embed: JSXBase.EmbedHTMLAttributes<HTMLEmbedElement>;
733
- fieldset: JSXBase.FieldsetHTMLAttributes<HTMLFieldSetElement>;
734
- figcaption: JSXBase.HTMLAttributes;
735
- figure: JSXBase.HTMLAttributes;
736
- footer: JSXBase.HTMLAttributes;
737
- form: JSXBase.FormHTMLAttributes<HTMLFormElement>;
738
- h1: JSXBase.HTMLAttributes<HTMLHeadingElement>;
739
- h2: JSXBase.HTMLAttributes<HTMLHeadingElement>;
740
- h3: JSXBase.HTMLAttributes<HTMLHeadingElement>;
741
- h4: JSXBase.HTMLAttributes<HTMLHeadingElement>;
742
- h5: JSXBase.HTMLAttributes<HTMLHeadingElement>;
743
- h6: JSXBase.HTMLAttributes<HTMLHeadingElement>;
744
- head: JSXBase.HTMLAttributes<HTMLHeadElement>;
745
- header: JSXBase.HTMLAttributes;
746
- hgroup: JSXBase.HTMLAttributes;
747
- hr: JSXBase.HTMLAttributes<HTMLHRElement>;
748
- html: JSXBase.HTMLAttributes<HTMLHtmlElement>;
749
- i: JSXBase.HTMLAttributes;
750
- iframe: JSXBase.IframeHTMLAttributes<HTMLIFrameElement>;
751
- img: JSXBase.ImgHTMLAttributes<HTMLImageElement>;
752
- input: JSXBase.InputHTMLAttributes<HTMLInputElement>;
753
- ins: JSXBase.InsHTMLAttributes<HTMLModElement>;
754
- kbd: JSXBase.HTMLAttributes;
755
- keygen: JSXBase.KeygenHTMLAttributes<HTMLElement>;
756
- label: JSXBase.LabelHTMLAttributes<HTMLLabelElement>;
757
- legend: JSXBase.HTMLAttributes<HTMLLegendElement>;
758
- li: JSXBase.LiHTMLAttributes<HTMLLIElement>;
759
- link: JSXBase.LinkHTMLAttributes<HTMLLinkElement>;
760
- main: JSXBase.HTMLAttributes;
761
- map: JSXBase.MapHTMLAttributes<HTMLMapElement>;
762
- mark: JSXBase.HTMLAttributes;
763
- menu: JSXBase.MenuHTMLAttributes<HTMLMenuElement>;
764
- menuitem: JSXBase.HTMLAttributes;
765
- meta: JSXBase.MetaHTMLAttributes<HTMLMetaElement>;
766
- meter: JSXBase.MeterHTMLAttributes<HTMLMeterElement>;
767
- nav: JSXBase.HTMLAttributes;
768
- noscript: JSXBase.HTMLAttributes;
769
- object: JSXBase.ObjectHTMLAttributes<HTMLObjectElement>;
770
- ol: JSXBase.OlHTMLAttributes<HTMLOListElement>;
771
- optgroup: JSXBase.OptgroupHTMLAttributes<HTMLOptGroupElement>;
772
- option: JSXBase.OptionHTMLAttributes<HTMLOptionElement>;
773
- output: JSXBase.OutputHTMLAttributes<HTMLOutputElement>;
774
- p: JSXBase.HTMLAttributes<HTMLParagraphElement>;
775
- param: JSXBase.ParamHTMLAttributes<HTMLParamElement>;
776
- picture: JSXBase.HTMLAttributes<HTMLPictureElement>;
777
- pre: JSXBase.HTMLAttributes<HTMLPreElement>;
778
- progress: JSXBase.ProgressHTMLAttributes<HTMLProgressElement>;
779
- q: JSXBase.QuoteHTMLAttributes<HTMLQuoteElement>;
780
- rp: JSXBase.HTMLAttributes;
781
- rt: JSXBase.HTMLAttributes;
782
- ruby: JSXBase.HTMLAttributes;
783
- s: JSXBase.HTMLAttributes;
784
- samp: JSXBase.HTMLAttributes;
785
- script: JSXBase.ScriptHTMLAttributes<HTMLScriptElement>;
786
- section: JSXBase.HTMLAttributes;
787
- select: JSXBase.SelectHTMLAttributes<HTMLSelectElement>;
788
- small: JSXBase.HTMLAttributes;
789
- source: JSXBase.SourceHTMLAttributes<HTMLSourceElement>;
790
- span: JSXBase.HTMLAttributes<HTMLSpanElement>;
791
- strong: JSXBase.HTMLAttributes;
792
- style: JSXBase.StyleHTMLAttributes<HTMLStyleElement>;
793
- sub: JSXBase.HTMLAttributes;
794
- summary: JSXBase.HTMLAttributes;
795
- sup: JSXBase.HTMLAttributes;
796
- table: JSXBase.TableHTMLAttributes<HTMLTableElement>;
797
- tbody: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
798
- td: JSXBase.TdHTMLAttributes<HTMLTableDataCellElement>;
799
- textarea: JSXBase.TextareaHTMLAttributes<HTMLTextAreaElement>;
800
- tfoot: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
801
- th: JSXBase.ThHTMLAttributes<HTMLTableHeaderCellElement>;
802
- thead: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
803
- time: JSXBase.TimeHTMLAttributes<HTMLTimeElement>;
804
- title: JSXBase.HTMLAttributes<HTMLTitleElement>;
805
- tr: JSXBase.HTMLAttributes<HTMLTableRowElement>;
806
- track: JSXBase.TrackHTMLAttributes<HTMLTrackElement>;
807
- u: JSXBase.HTMLAttributes;
808
- ul: JSXBase.HTMLAttributes<HTMLUListElement>;
809
- var: JSXBase.HTMLAttributes;
810
- video: JSXBase.VideoHTMLAttributes<HTMLVideoElement>;
811
- wbr: JSXBase.HTMLAttributes;
812
- animate: JSXBase.SVGAttributes;
813
- circle: JSXBase.SVGAttributes;
814
- clipPath: JSXBase.SVGAttributes;
815
- defs: JSXBase.SVGAttributes;
816
- desc: JSXBase.SVGAttributes;
817
- ellipse: JSXBase.SVGAttributes;
818
- feBlend: JSXBase.SVGAttributes;
819
- feColorMatrix: JSXBase.SVGAttributes;
820
- feComponentTransfer: JSXBase.SVGAttributes;
821
- feComposite: JSXBase.SVGAttributes;
822
- feConvolveMatrix: JSXBase.SVGAttributes;
823
- feDiffuseLighting: JSXBase.SVGAttributes;
824
- feDisplacementMap: JSXBase.SVGAttributes;
825
- feDistantLight: JSXBase.SVGAttributes;
826
- feDropShadow: JSXBase.SVGAttributes;
827
- feFlood: JSXBase.SVGAttributes;
828
- feFuncA: JSXBase.SVGAttributes;
829
- feFuncB: JSXBase.SVGAttributes;
830
- feFuncG: JSXBase.SVGAttributes;
831
- feFuncR: JSXBase.SVGAttributes;
832
- feGaussianBlur: JSXBase.SVGAttributes;
833
- feImage: JSXBase.SVGAttributes;
834
- feMerge: JSXBase.SVGAttributes;
835
- feMergeNode: JSXBase.SVGAttributes;
836
- feMorphology: JSXBase.SVGAttributes;
837
- feOffset: JSXBase.SVGAttributes;
838
- fePointLight: JSXBase.SVGAttributes;
839
- feSpecularLighting: JSXBase.SVGAttributes;
840
- feSpotLight: JSXBase.SVGAttributes;
841
- feTile: JSXBase.SVGAttributes;
842
- feTurbulence: JSXBase.SVGAttributes;
843
- filter: JSXBase.SVGAttributes;
844
- foreignObject: JSXBase.SVGAttributes;
845
- g: JSXBase.SVGAttributes;
846
- image: JSXBase.SVGAttributes;
847
- line: JSXBase.SVGAttributes;
848
- linearGradient: JSXBase.SVGAttributes;
849
- marker: JSXBase.SVGAttributes;
850
- mask: JSXBase.SVGAttributes;
851
- metadata: JSXBase.SVGAttributes;
852
- path: JSXBase.SVGAttributes;
853
- pattern: JSXBase.SVGAttributes;
854
- polygon: JSXBase.SVGAttributes;
855
- polyline: JSXBase.SVGAttributes;
856
- radialGradient: JSXBase.SVGAttributes;
857
- rect: JSXBase.SVGAttributes;
858
- stop: JSXBase.SVGAttributes;
859
- svg: JSXBase.SVGAttributes;
860
- switch: JSXBase.SVGAttributes;
861
- symbol: JSXBase.SVGAttributes;
862
- text: JSXBase.SVGAttributes;
863
- textPath: JSXBase.SVGAttributes;
864
- tspan: JSXBase.SVGAttributes;
865
- use: JSXBase.SVGAttributes;
866
- view: JSXBase.SVGAttributes;
867
- }
868
- interface SlotAttributes extends JSXAttributes {
869
- name?: string;
870
- slot?: string;
871
- onSlotchange?: (event: Event) => void;
872
- }
873
- interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
874
- download?: any;
875
- href?: string;
876
- hrefLang?: string;
877
- hreflang?: string;
878
- media?: string;
879
- ping?: string;
880
- rel?: string;
881
- target?: string;
882
- referrerPolicy?: ReferrerPolicy;
883
- }
884
- interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {
885
- }
886
- interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
887
- alt?: string;
888
- coords?: string;
889
- download?: any;
890
- href?: string;
891
- hrefLang?: string;
892
- hreflang?: string;
893
- media?: string;
894
- rel?: string;
895
- shape?: string;
896
- target?: string;
897
- }
898
- interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
899
- href?: string;
900
- target?: string;
901
- }
902
- interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
903
- cite?: string;
904
- }
905
- interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
906
- disabled?: boolean;
907
- form?: string;
908
- formAction?: string;
909
- formaction?: string;
910
- formEncType?: string;
911
- formenctype?: string;
912
- formMethod?: string;
913
- formmethod?: string;
914
- formNoValidate?: boolean;
915
- formnovalidate?: boolean;
916
- formTarget?: string;
917
- formtarget?: string;
918
- name?: string;
919
- type?: string;
920
- value?: string | string[] | number;
921
- popoverTargetAction?: string;
922
- popoverTargetElement?: Element | null;
923
- popoverTarget?: string;
924
- }
925
- interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
926
- height?: number | string;
927
- width?: number | string;
928
- }
929
- interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
930
- span?: number;
931
- }
932
- interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
933
- span?: number;
934
- }
935
- interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
936
- open?: boolean;
937
- name?: string;
938
- onToggle?: (event: ToggleEvent) => void;
939
- }
940
- interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
941
- cite?: string;
942
- dateTime?: string;
943
- datetime?: string;
944
- }
945
- interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
946
- onCancel?: (event: Event) => void;
947
- onClose?: (event: Event) => void;
948
- open?: boolean;
949
- returnValue?: string;
950
- }
951
- interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
952
- height?: number | string;
953
- src?: string;
954
- type?: string;
955
- width?: number | string;
956
- }
957
- interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
958
- disabled?: boolean;
959
- form?: string;
960
- name?: string;
961
- }
962
- interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
963
- acceptCharset?: string;
964
- acceptcharset?: string;
965
- action?: string;
966
- autoComplete?: string;
967
- autocomplete?: string;
968
- encType?: string;
969
- enctype?: string;
970
- method?: string;
971
- name?: string;
972
- noValidate?: boolean;
973
- novalidate?: boolean | string;
974
- target?: string;
975
- }
976
- interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
977
- manifest?: string;
978
- }
979
- interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
980
- allow?: string;
981
- allowFullScreen?: boolean;
982
- allowfullScreen?: string | boolean;
983
- allowTransparency?: boolean;
984
- allowtransparency?: string | boolean;
985
- frameBorder?: number | string;
986
- frameborder?: number | string;
987
- importance?: 'low' | 'auto' | 'high';
988
- height?: number | string;
989
- loading?: 'lazy' | 'auto' | 'eager';
990
- marginHeight?: number;
991
- marginheight?: string | number;
992
- marginWidth?: number;
993
- marginwidth?: string | number;
994
- name?: string;
995
- referrerPolicy?: ReferrerPolicy;
996
- sandbox?: string;
997
- scrolling?: string;
998
- seamless?: boolean;
999
- src?: string;
1000
- srcDoc?: string;
1001
- srcdoc?: string;
1002
- width?: number | string;
1003
- }
1004
- interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
1005
- alt?: string;
1006
- crossOrigin?: string;
1007
- crossorigin?: string;
1008
- decoding?: 'async' | 'auto' | 'sync';
1009
- importance?: 'low' | 'auto' | 'high';
1010
- height?: number | string;
1011
- loading?: 'lazy' | 'auto' | 'eager';
1012
- sizes?: string;
1013
- src?: string;
1014
- srcSet?: string;
1015
- srcset?: string;
1016
- useMap?: string;
1017
- usemap?: string;
1018
- width?: number | string;
1019
- }
1020
- interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
1021
- cite?: string;
1022
- dateTime?: string;
1023
- datetime?: string;
1024
- }
1025
- interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
1026
- accept?: string;
1027
- allowdirs?: boolean;
1028
- alt?: string;
1029
- autoCapitalize?: string;
1030
- autocapitalize?: string;
1031
- autoComplete?: string;
1032
- autocomplete?: string;
1033
- capture?: string;
1034
- checked?: boolean;
1035
- crossOrigin?: string;
1036
- crossorigin?: string;
1037
- defaultChecked?: boolean;
1038
- defaultValue?: string;
1039
- dirName?: string;
1040
- disabled?: boolean;
1041
- files?: any;
1042
- form?: string;
1043
- formAction?: string;
1044
- formaction?: string;
1045
- formEncType?: string;
1046
- formenctype?: string;
1047
- formMethod?: string;
1048
- formmethod?: string;
1049
- formNoValidate?: boolean;
1050
- formnovalidate?: boolean;
1051
- formTarget?: string;
1052
- formtarget?: string;
1053
- height?: number | string;
1054
- indeterminate?: boolean;
1055
- list?: string;
1056
- max?: number | string;
1057
- maxLength?: number;
1058
- maxlength?: number | string;
1059
- min?: number | string;
1060
- minLength?: number;
1061
- minlength?: number | string;
1062
- multiple?: boolean;
1063
- name?: string;
1064
- onSelect?: (event: Event) => void;
1065
- onselect?: (event: Event) => void;
1066
- pattern?: string;
1067
- placeholder?: string;
1068
- readOnly?: boolean;
1069
- readonly?: boolean | string;
1070
- required?: boolean;
1071
- selectionStart?: number | string;
1072
- selectionEnd?: number | string;
1073
- selectionDirection?: string;
1074
- size?: number;
1075
- src?: string;
1076
- step?: number | string;
1077
- type?: string;
1078
- value?: string | string[] | number;
1079
- valueAsDate?: any;
1080
- valueAsNumber?: any;
1081
- webkitdirectory?: boolean;
1082
- webkitEntries?: any;
1083
- width?: number | string;
1084
- popoverTargetAction?: string;
1085
- popoverTargetElement?: Element | null;
1086
- popoverTarget?: string;
1087
- }
1088
- interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
1089
- challenge?: string;
1090
- disabled?: boolean;
1091
- form?: string;
1092
- keyType?: string;
1093
- keytype?: string;
1094
- keyParams?: string;
1095
- keyparams?: string;
1096
- name?: string;
1097
- }
1098
- interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
1099
- form?: string;
1100
- htmlFor?: string;
1101
- }
1102
- interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
1103
- value?: string | string[] | number;
1104
- }
1105
- interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
1106
- as?: string;
1107
- href?: string;
1108
- hrefLang?: string;
1109
- hreflang?: string;
1110
- importance?: 'low' | 'auto' | 'high';
1111
- integrity?: string;
1112
- media?: string;
1113
- rel?: string;
1114
- sizes?: string;
1115
- type?: string;
1116
- }
1117
- interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
1118
- name?: string;
1119
- }
1120
- interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
1121
- type?: string;
1122
- }
1123
- interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
1124
- autoPlay?: boolean;
1125
- autoplay?: boolean | string;
1126
- controls?: boolean;
1127
- controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1128
- controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1129
- crossOrigin?: string;
1130
- crossorigin?: string;
1131
- loop?: boolean;
1132
- mediaGroup?: string;
1133
- mediagroup?: string;
1134
- muted?: boolean;
1135
- preload?: string;
1136
- src?: string;
1137
- onAbort?: (event: Event) => void;
1138
- onCanPlay?: (event: Event) => void;
1139
- onCanPlayThrough?: (event: Event) => void;
1140
- onDurationChange?: (event: Event) => void;
1141
- onEmptied?: (event: Event) => void;
1142
- onEnded?: (event: Event) => void;
1143
- onError?: (event: Event) => void;
1144
- onInterruptBegin?: (event: Event) => void;
1145
- onInterruptEnd?: (event: Event) => void;
1146
- onLoadedData?: (event: Event) => void;
1147
- onLoadedMetaData?: (event: Event) => void;
1148
- onLoadStart?: (event: Event) => void;
1149
- onMozAudioAvailable?: (event: Event) => void;
1150
- onPause?: (event: Event) => void;
1151
- onPlay?: (event: Event) => void;
1152
- onPlaying?: (event: Event) => void;
1153
- onProgress?: (event: Event) => void;
1154
- onRateChange?: (event: Event) => void;
1155
- onSeeked?: (event: Event) => void;
1156
- onSeeking?: (event: Event) => void;
1157
- onStalled?: (event: Event) => void;
1158
- onSuspend?: (event: Event) => void;
1159
- onTimeUpdate?: (event: Event) => void;
1160
- onVolumeChange?: (event: Event) => void;
1161
- onWaiting?: (event: Event) => void;
1162
- }
1163
- interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
1164
- charSet?: string;
1165
- charset?: string;
1166
- content?: string;
1167
- httpEquiv?: string;
1168
- httpequiv?: string;
1169
- name?: string;
1170
- }
1171
- interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
1172
- form?: string;
1173
- high?: number;
1174
- low?: number;
1175
- max?: number | string;
1176
- min?: number | string;
1177
- optimum?: number;
1178
- value?: string | string[] | number;
1179
- }
1180
- interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
1181
- cite?: string;
1182
- }
1183
- interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
1184
- classID?: string;
1185
- classid?: string;
1186
- data?: string;
1187
- form?: string;
1188
- height?: number | string;
1189
- name?: string;
1190
- type?: string;
1191
- useMap?: string;
1192
- usemap?: string;
1193
- width?: number | string;
1194
- wmode?: string;
1195
- }
1196
- interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
1197
- reversed?: boolean;
1198
- start?: number;
1199
- }
1200
- interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
1201
- disabled?: boolean;
1202
- label?: string;
1203
- }
1204
- interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
1205
- disabled?: boolean;
1206
- label?: string;
1207
- selected?: boolean;
1208
- value?: string | string[] | number;
1209
- }
1210
- interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1211
- form?: string;
1212
- htmlFor?: string;
1213
- name?: string;
1214
- }
1215
- interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
1216
- name?: string;
1217
- value?: string | string[] | number;
1218
- }
1219
- interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
1220
- max?: number | string;
1221
- value?: string | string[] | number;
1222
- }
1223
- interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
1224
- async?: boolean;
1225
- charSet?: string;
1226
- charset?: string;
1227
- crossOrigin?: string;
1228
- crossorigin?: string;
1229
- defer?: boolean;
1230
- importance?: 'low' | 'auto' | 'high';
1231
- integrity?: string;
1232
- nonce?: string;
1233
- src?: string;
1234
- type?: string;
1235
- }
1236
- interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
1237
- disabled?: boolean;
1238
- form?: string;
1239
- multiple?: boolean;
1240
- name?: string;
1241
- required?: boolean;
1242
- size?: number;
1243
- autoComplete?: string;
1244
- autocomplete?: string;
1245
- }
1246
- interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
1247
- height?: number;
1248
- media?: string;
1249
- sizes?: string;
1250
- src?: string;
1251
- srcSet?: string;
1252
- type?: string;
1253
- width?: number;
1254
- }
1255
- interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
1256
- media?: string;
1257
- nonce?: string;
1258
- scoped?: boolean;
1259
- type?: string;
1260
- }
1261
- interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
1262
- cellPadding?: number | string;
1263
- cellpadding?: number | string;
1264
- cellSpacing?: number | string;
1265
- cellspacing?: number | string;
1266
- summary?: string;
1267
- }
1268
- interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1269
- autoComplete?: string;
1270
- autocomplete?: string;
1271
- cols?: number;
1272
- disabled?: boolean;
1273
- form?: string;
1274
- maxLength?: number;
1275
- maxlength?: number | string;
1276
- minLength?: number;
1277
- minlength?: number | string;
1278
- name?: string;
1279
- onSelect?: (event: Event) => void;
1280
- onselect?: (event: Event) => void;
1281
- placeholder?: string;
1282
- readOnly?: boolean;
1283
- readonly?: boolean | string;
1284
- required?: boolean;
1285
- rows?: number;
1286
- value?: string | string[] | number;
1287
- wrap?: string;
1288
- }
1289
- interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
1290
- colSpan?: number;
1291
- headers?: string;
1292
- rowSpan?: number;
1293
- }
1294
- interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
1295
- abbr?: string;
1296
- colSpan?: number;
1297
- headers?: string;
1298
- rowSpan?: number;
1299
- rowspan?: number | string;
1300
- scope?: string;
1301
- }
1302
- interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
1303
- dateTime?: string;
1304
- }
1305
- interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
1306
- default?: boolean;
1307
- kind?: string;
1308
- label?: string;
1309
- src?: string;
1310
- srcLang?: string;
1311
- srclang?: string;
1312
- }
1313
- interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
1314
- height?: number | string;
1315
- playsInline?: boolean;
1316
- playsinline?: boolean | string;
1317
- poster?: string;
1318
- width?: number | string;
1319
- }
1320
- interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
1321
- innerHTML?: string;
1322
- accessKey?: string;
1323
- autoFocus?: boolean;
1324
- autofocus?: boolean | string;
1325
- class?: string | {
1326
- [className: string]: boolean;
1327
- };
1328
- contentEditable?: boolean | string;
1329
- contenteditable?: boolean | string;
1330
- contextMenu?: string;
1331
- contextmenu?: string;
1332
- dir?: string;
1333
- draggable?: boolean;
1334
- hidden?: boolean;
1335
- id?: string;
1336
- inert?: boolean;
1337
- lang?: string;
1338
- spellcheck?: 'true' | 'false' | any;
1339
- style?: {
1340
- [key: string]: string | undefined;
1341
- };
1342
- tabIndex?: number;
1343
- tabindex?: number | string;
1344
- title?: string;
1345
- popover?: string | null;
1346
- inputMode?: string;
1347
- inputmode?: string;
1348
- enterKeyHint?: string;
1349
- enterkeyhint?: string;
1350
- is?: string;
1351
- radioGroup?: string;
1352
- radiogroup?: string;
1353
- role?: string;
1354
- about?: string;
1355
- datatype?: string;
1356
- inlist?: any;
1357
- prefix?: string;
1358
- property?: string;
1359
- resource?: string;
1360
- typeof?: string;
1361
- vocab?: string;
1362
- autoCapitalize?: string;
1363
- autocapitalize?: string;
1364
- autoCorrect?: string;
1365
- autocorrect?: string;
1366
- autoSave?: string;
1367
- autosave?: string;
1368
- color?: string;
1369
- itemProp?: string;
1370
- itemprop?: string;
1371
- itemScope?: boolean;
1372
- itemscope?: boolean;
1373
- itemType?: string;
1374
- itemtype?: string;
1375
- itemID?: string;
1376
- itemid?: string;
1377
- itemRef?: string;
1378
- itemref?: string;
1379
- results?: number;
1380
- security?: string;
1381
- unselectable?: boolean;
1382
- }
1383
- interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
1384
- class?: string | {
1385
- [className: string]: boolean;
1386
- };
1387
- color?: string;
1388
- height?: number | string;
1389
- id?: string;
1390
- lang?: string;
1391
- max?: number | string;
1392
- media?: string;
1393
- method?: string;
1394
- min?: number | string;
1395
- name?: string;
1396
- style?: {
1397
- [key: string]: string | undefined;
1398
- };
1399
- target?: string;
1400
- type?: string;
1401
- width?: number | string;
1402
- role?: string;
1403
- tabindex?: number;
1404
- 'accent-height'?: number | string;
1405
- accumulate?: 'none' | 'sum';
1406
- additive?: 'replace' | 'sum';
1407
- 'alignment-baseline'?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit';
1408
- allowReorder?: 'no' | 'yes';
1409
- alphabetic?: number | string;
1410
- amplitude?: number | string;
1411
- 'arabic-form'?: 'initial' | 'medial' | 'terminal' | 'isolated';
1412
- ascent?: number | string;
1413
- attributeName?: string;
1414
- attributeType?: string;
1415
- autoReverse?: number | string;
1416
- azimuth?: number | string;
1417
- baseFrequency?: number | string;
1418
- 'baseline-shift'?: number | string;
1419
- baseProfile?: number | string;
1420
- bbox?: number | string;
1421
- begin?: number | string;
1422
- bias?: number | string;
1423
- by?: number | string;
1424
- calcMode?: number | string;
1425
- 'cap-height'?: number | string;
1426
- clip?: number | string;
1427
- 'clip-path'?: string;
1428
- clipPathUnits?: number | string;
1429
- 'clip-rule'?: number | string;
1430
- 'color-interpolation'?: number | string;
1431
- 'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB';
1432
- 'color-profile'?: number | string;
1433
- 'color-rendering'?: number | string;
1434
- contentScriptType?: number | string;
1435
- contentStyleType?: number | string;
1436
- cursor?: number | string;
1437
- cx?: number | string;
1438
- cy?: number | string;
1439
- d?: string;
1440
- decelerate?: number | string;
1441
- descent?: number | string;
1442
- diffuseConstant?: number | string;
1443
- direction?: number | string;
1444
- display?: number | string;
1445
- divisor?: number | string;
1446
- 'dominant-baseline'?: number | string;
1447
- dur?: number | string;
1448
- dx?: number | string;
1449
- dy?: number | string;
1450
- 'edge-mode'?: number | string;
1451
- elevation?: number | string;
1452
- 'enable-background'?: number | string;
1453
- end?: number | string;
1454
- exponent?: number | string;
1455
- externalResourcesRequired?: number | string;
1456
- fill?: string;
1457
- 'fill-opacity'?: number | string;
1458
- 'fill-rule'?: 'nonzero' | 'evenodd' | 'inherit';
1459
- filter?: string;
1460
- filterRes?: number | string;
1461
- filterUnits?: number | string;
1462
- 'flood-color'?: number | string;
1463
- 'flood-opacity'?: number | string;
1464
- focusable?: number | string;
1465
- 'font-family'?: string;
1466
- 'font-size'?: number | string;
1467
- 'font-size-adjust'?: number | string;
1468
- 'font-stretch'?: number | string;
1469
- 'font-style'?: number | string;
1470
- 'font-variant'?: number | string;
1471
- 'font-weight'?: number | string;
1472
- format?: number | string;
1473
- from?: number | string;
1474
- fx?: number | string;
1475
- fy?: number | string;
1476
- g1?: number | string;
1477
- g2?: number | string;
1478
- 'glyph-name'?: number | string;
1479
- 'glyph-orientation-horizontal'?: number | string;
1480
- 'glyph-orientation-vertical'?: number | string;
1481
- glyphRef?: number | string;
1482
- gradientTransform?: string;
1483
- gradientUnits?: string;
1484
- hanging?: number | string;
1485
- 'horiz-adv-x'?: number | string;
1486
- 'horiz-origin-x'?: number | string;
1487
- href?: string;
1488
- ideographic?: number | string;
1489
- 'image-rendering'?: number | string;
1490
- in2?: number | string;
1491
- in?: string;
1492
- intercept?: number | string;
1493
- k1?: number | string;
1494
- k2?: number | string;
1495
- k3?: number | string;
1496
- k4?: number | string;
1497
- k?: number | string;
1498
- kernelMatrix?: number | string;
1499
- kernelUnitLength?: number | string;
1500
- kerning?: number | string;
1501
- keyPoints?: number | string;
1502
- keySplines?: number | string;
1503
- keyTimes?: number | string;
1504
- lengthAdjust?: number | string;
1505
- 'letter-spacing'?: number | string;
1506
- 'lighting-color'?: number | string;
1507
- limitingConeAngle?: number | string;
1508
- local?: number | string;
1509
- 'marker-end'?: string;
1510
- markerHeight?: number | string;
1511
- 'marker-mid'?: string;
1512
- 'marker-start'?: string;
1513
- markerUnits?: number | string;
1514
- markerWidth?: number | string;
1515
- mask?: string;
1516
- maskContentUnits?: number | string;
1517
- maskUnits?: number | string;
1518
- mathematical?: number | string;
1519
- mode?: number | string;
1520
- numOctaves?: number | string;
1521
- offset?: number | string;
1522
- opacity?: number | string;
1523
- operator?: number | string;
1524
- order?: number | string;
1525
- orient?: number | string;
1526
- orientation?: number | string;
1527
- origin?: number | string;
1528
- overflow?: number | string;
1529
- 'overline-position'?: number | string;
1530
- 'overline-thickness'?: number | string;
1531
- 'paint-order'?: number | string;
1532
- panose1?: number | string;
1533
- pathLength?: number | string;
1534
- patternContentUnits?: string;
1535
- patternTransform?: number | string;
1536
- patternUnits?: string;
1537
- 'pointer-events'?: number | string;
1538
- points?: string;
1539
- pointsAtX?: number | string;
1540
- pointsAtY?: number | string;
1541
- pointsAtZ?: number | string;
1542
- preserveAlpha?: number | string;
1543
- preserveAspectRatio?: string;
1544
- primitiveUnits?: number | string;
1545
- r?: number | string;
1546
- radius?: number | string;
1547
- refX?: number | string;
1548
- refY?: number | string;
1549
- 'rendering-intent'?: number | string;
1550
- repeatCount?: number | string;
1551
- repeatDur?: number | string;
1552
- requiredextensions?: number | string;
1553
- requiredFeatures?: number | string;
1554
- restart?: number | string;
1555
- result?: string;
1556
- rotate?: number | string;
1557
- rx?: number | string;
1558
- ry?: number | string;
1559
- scale?: number | string;
1560
- seed?: number | string;
1561
- 'shape-rendering'?: number | string;
1562
- slope?: number | string;
1563
- spacing?: number | string;
1564
- specularConstant?: number | string;
1565
- specularExponent?: number | string;
1566
- speed?: number | string;
1567
- spreadMethod?: string;
1568
- startOffset?: number | string;
1569
- stdDeviation?: number | string;
1570
- stemh?: number | string;
1571
- stemv?: number | string;
1572
- stitchTiles?: number | string;
1573
- 'stop-color'?: string;
1574
- 'stop-opacity'?: number | string;
1575
- 'strikethrough-position'?: number | string;
1576
- 'strikethrough-thickness'?: number | string;
1577
- string?: number | string;
1578
- stroke?: string;
1579
- 'stroke-dasharray'?: string | number;
1580
- 'stroke-dashoffset'?: string | number;
1581
- 'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit';
1582
- 'stroke-linejoin'?: 'miter' | 'round' | 'bevel' | 'inherit';
1583
- 'stroke-miterlimit'?: string;
1584
- 'stroke-opacity'?: number | string;
1585
- 'stroke-width'?: number | string;
1586
- surfaceScale?: number | string;
1587
- systemLanguage?: number | string;
1588
- tableValues?: number | string;
1589
- targetX?: number | string;
1590
- targetY?: number | string;
1591
- 'text-anchor'?: string;
1592
- 'text-decoration'?: number | string;
1593
- textLength?: number | string;
1594
- 'text-rendering'?: number | string;
1595
- to?: number | string;
1596
- transform?: string;
1597
- u1?: number | string;
1598
- u2?: number | string;
1599
- 'underline-position'?: number | string;
1600
- 'underline-thickness'?: number | string;
1601
- unicode?: number | string;
1602
- 'unicode-bidi'?: number | string;
1603
- 'unicode-range'?: number | string;
1604
- 'units-per-em'?: number | string;
1605
- 'v-alphabetic'?: number | string;
1606
- values?: string;
1607
- 'vector-effect'?: number | string;
1608
- version?: string;
1609
- 'vert-adv-y'?: number | string;
1610
- 'vert-origin-x'?: number | string;
1611
- 'vert-origin-y'?: number | string;
1612
- 'v-hanging'?: number | string;
1613
- 'v-ideographic'?: number | string;
1614
- viewBox?: string;
1615
- viewTarget?: number | string;
1616
- visibility?: number | string;
1617
- 'v-mathematical'?: number | string;
1618
- widths?: number | string;
1619
- 'word-spacing'?: number | string;
1620
- 'writing-mode'?: number | string;
1621
- x1?: number | string;
1622
- x2?: number | string;
1623
- x?: number | string;
1624
- 'x-channel-selector'?: string;
1625
- 'x-height'?: number | string;
1626
- xlinkActuate?: string;
1627
- xlinkArcrole?: string;
1628
- xlinkHref?: string;
1629
- xlinkRole?: string;
1630
- xlinkShow?: string;
1631
- xlinkTitle?: string;
1632
- xlinkType?: string;
1633
- xmlBase?: string;
1634
- xmlLang?: string;
1635
- xmlns?: string;
1636
- xmlSpace?: string;
1637
- y1?: number | string;
1638
- y2?: number | string;
1639
- y?: number | string;
1640
- yChannelSelector?: string;
1641
- z?: number | string;
1642
- zoomAndPan?: string;
1643
- }
1644
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent) */
1645
- interface ToggleEvent extends Event {
1646
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState) */
1647
- readonly newState: string;
1648
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState) */
1649
- readonly oldState: string;
1650
- }
1651
- interface DOMAttributes<T> extends JSXAttributes<T> {
1652
- slot?: string;
1653
- part?: string;
1654
- exportparts?: string;
1655
- onCopy?: (event: ClipboardEvent) => void;
1656
- onCopyCapture?: (event: ClipboardEvent) => void;
1657
- onCut?: (event: ClipboardEvent) => void;
1658
- onCutCapture?: (event: ClipboardEvent) => void;
1659
- onPaste?: (event: ClipboardEvent) => void;
1660
- onPasteCapture?: (event: ClipboardEvent) => void;
1661
- onCompositionend?: (event: CompositionEvent) => void;
1662
- onCompositionendCapture?: (event: CompositionEvent) => void;
1663
- onCompositionstart?: (event: CompositionEvent) => void;
1664
- onCompositionstartCapture?: (event: CompositionEvent) => void;
1665
- onCompositionupdate?: (event: CompositionEvent) => void;
1666
- onCompositionupdateCapture?: (event: CompositionEvent) => void;
1667
- onBeforeToggle?: (event: ToggleEvent) => void;
1668
- onBeforeToggleCapture?: (event: ToggleEvent) => void;
1669
- onToggle?: (event: ToggleEvent) => void;
1670
- onToggleCapture?: (event: ToggleEvent) => void;
1671
- onFocus?: (event: FocusEvent) => void;
1672
- onFocusCapture?: (event: FocusEvent) => void;
1673
- onFocusin?: (event: FocusEvent) => void;
1674
- onFocusinCapture?: (event: FocusEvent) => void;
1675
- onFocusout?: (event: FocusEvent) => void;
1676
- onFocusoutCapture?: (event: FocusEvent) => void;
1677
- onBlur?: (event: FocusEvent) => void;
1678
- onBlurCapture?: (event: FocusEvent) => void;
1679
- onChange?: (event: Event) => void;
1680
- onChangeCapture?: (event: Event) => void;
1681
- onInput?: (event: InputEvent) => void;
1682
- onInputCapture?: (event: InputEvent) => void;
1683
- onReset?: (event: Event) => void;
1684
- onResetCapture?: (event: Event) => void;
1685
- onSubmit?: (event: Event) => void;
1686
- onSubmitCapture?: (event: Event) => void;
1687
- onInvalid?: (event: Event) => void;
1688
- onInvalidCapture?: (event: Event) => void;
1689
- onLoad?: (event: Event) => void;
1690
- onLoadCapture?: (event: Event) => void;
1691
- onError?: (event: Event) => void;
1692
- onErrorCapture?: (event: Event) => void;
1693
- onKeyDown?: (event: KeyboardEvent) => void;
1694
- onKeyDownCapture?: (event: KeyboardEvent) => void;
1695
- onKeyPress?: (event: KeyboardEvent) => void;
1696
- onKeyPressCapture?: (event: KeyboardEvent) => void;
1697
- onKeyUp?: (event: KeyboardEvent) => void;
1698
- onKeyUpCapture?: (event: KeyboardEvent) => void;
1699
- onAuxClick?: (event: MouseEvent) => void;
1700
- onClick?: (event: PointerEvent) => void;
1701
- onClickCapture?: (event: MouseEvent) => void;
1702
- onContextMenu?: (event: MouseEvent) => void;
1703
- onContextMenuCapture?: (event: MouseEvent) => void;
1704
- onDblClick?: (event: MouseEvent) => void;
1705
- onDblClickCapture?: (event: MouseEvent) => void;
1706
- onDrag?: (event: DragEvent) => void;
1707
- onDragCapture?: (event: DragEvent) => void;
1708
- onDragEnd?: (event: DragEvent) => void;
1709
- onDragEndCapture?: (event: DragEvent) => void;
1710
- onDragEnter?: (event: DragEvent) => void;
1711
- onDragEnterCapture?: (event: DragEvent) => void;
1712
- onDragExit?: (event: DragEvent) => void;
1713
- onDragExitCapture?: (event: DragEvent) => void;
1714
- onDragLeave?: (event: DragEvent) => void;
1715
- onDragLeaveCapture?: (event: DragEvent) => void;
1716
- onDragOver?: (event: DragEvent) => void;
1717
- onDragOverCapture?: (event: DragEvent) => void;
1718
- onDragStart?: (event: DragEvent) => void;
1719
- onDragStartCapture?: (event: DragEvent) => void;
1720
- onDrop?: (event: DragEvent) => void;
1721
- onDropCapture?: (event: DragEvent) => void;
1722
- onMouseDown?: (event: MouseEvent) => void;
1723
- onMouseDownCapture?: (event: MouseEvent) => void;
1724
- onMouseEnter?: (event: MouseEvent) => void;
1725
- onMouseLeave?: (event: MouseEvent) => void;
1726
- onMouseMove?: (event: MouseEvent) => void;
1727
- onMouseMoveCapture?: (event: MouseEvent) => void;
1728
- onMouseOut?: (event: MouseEvent) => void;
1729
- onMouseOutCapture?: (event: MouseEvent) => void;
1730
- onMouseOver?: (event: MouseEvent) => void;
1731
- onMouseOverCapture?: (event: MouseEvent) => void;
1732
- onMouseUp?: (event: MouseEvent) => void;
1733
- onMouseUpCapture?: (event: MouseEvent) => void;
1734
- onTouchCancel?: (event: TouchEvent) => void;
1735
- onTouchCancelCapture?: (event: TouchEvent) => void;
1736
- onTouchEnd?: (event: TouchEvent) => void;
1737
- onTouchEndCapture?: (event: TouchEvent) => void;
1738
- onTouchMove?: (event: TouchEvent) => void;
1739
- onTouchMoveCapture?: (event: TouchEvent) => void;
1740
- onTouchStart?: (event: TouchEvent) => void;
1741
- onTouchStartCapture?: (event: TouchEvent) => void;
1742
- onPointerDown?: (event: PointerEvent) => void;
1743
- onPointerDownCapture?: (event: PointerEvent) => void;
1744
- onPointerMove?: (event: PointerEvent) => void;
1745
- onPointerMoveCapture?: (event: PointerEvent) => void;
1746
- onPointerUp?: (event: PointerEvent) => void;
1747
- onPointerUpCapture?: (event: PointerEvent) => void;
1748
- onPointerCancel?: (event: PointerEvent) => void;
1749
- onPointerCancelCapture?: (event: PointerEvent) => void;
1750
- onPointerEnter?: (event: PointerEvent) => void;
1751
- onPointerEnterCapture?: (event: PointerEvent) => void;
1752
- onPointerLeave?: (event: PointerEvent) => void;
1753
- onPointerLeaveCapture?: (event: PointerEvent) => void;
1754
- onPointerOver?: (event: PointerEvent) => void;
1755
- onPointerOverCapture?: (event: PointerEvent) => void;
1756
- onPointerOut?: (event: PointerEvent) => void;
1757
- onPointerOutCapture?: (event: PointerEvent) => void;
1758
- onGotPointerCapture?: (event: PointerEvent) => void;
1759
- onGotPointerCaptureCapture?: (event: PointerEvent) => void;
1760
- onLostPointerCapture?: (event: PointerEvent) => void;
1761
- onLostPointerCaptureCapture?: (event: PointerEvent) => void;
1762
- onScroll?: (event: UIEvent) => void;
1763
- onScrollCapture?: (event: UIEvent) => void;
1764
- onWheel?: (event: WheelEvent) => void;
1765
- onWheelCapture?: (event: WheelEvent) => void;
1766
- onAnimationStart?: (event: AnimationEvent) => void;
1767
- onAnimationStartCapture?: (event: AnimationEvent) => void;
1768
- onAnimationEnd?: (event: AnimationEvent) => void;
1769
- onAnimationEndCapture?: (event: AnimationEvent) => void;
1770
- onAnimationIteration?: (event: AnimationEvent) => void;
1771
- onAnimationIterationCapture?: (event: AnimationEvent) => void;
1772
- onTransitionCancel?: (event: TransitionEvent) => void;
1773
- onTransitionCancelCapture?: (event: TransitionEvent) => void;
1774
- onTransitionEnd?: (event: TransitionEvent) => void;
1775
- onTransitionEndCapture?: (event: TransitionEvent) => void;
1776
- onTransitionRun?: (event: TransitionEvent) => void;
1777
- onTransitionRunCapture?: (event: TransitionEvent) => void;
1778
- onTransitionStart?: (event: TransitionEvent) => void;
1779
- onTransitionStartCapture?: (event: TransitionEvent) => void;
1780
- [key: `aria-${string}`]: string | boolean | undefined;
1781
- [key: `aria${string}`]: string | boolean | undefined;
1782
- }
1783
- }
1784
- export interface JSXAttributes<T = Element> {
1785
- key?: string | number;
1786
- ref?: (elm?: T) => void;
1787
- }
1788
- export interface CustomElementsDefineOptions {
1789
- exclude?: string[];
1790
- resourcesUrl?: string;
1791
- syncQueue?: boolean;
1792
- /** @deprecated in-favour of `setTagTransformer` and `transformTag` */
1793
- transformTagName?: (tagName: string) => string;
1794
- jmp?: (c: Function) => any;
1795
- raf?: (c: FrameRequestCallback) => number;
1796
- ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
1797
- rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
1798
- ce?: (eventName: string, opts?: any) => CustomEvent;
1799
- }