@haiilo/catalyst 0.5.4 → 0.5.7

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 (297) hide show
  1. package/README.md +1 -1
  2. package/dist/catalyst/assets/fonts/AzeretMono-Regular.woff2 +0 -0
  3. package/dist/catalyst/assets/fonts/DMSans-Bold.woff2 +0 -0
  4. package/dist/catalyst/assets/fonts/DMSans-BoldItalic.woff2 +0 -0
  5. package/dist/catalyst/assets/fonts/DMSans-Italic.woff2 +0 -0
  6. package/dist/catalyst/assets/fonts/DMSans-Medium.woff2 +0 -0
  7. package/dist/catalyst/assets/fonts/DMSans-MediumItalic.woff2 +0 -0
  8. package/dist/catalyst/assets/fonts/DMSans-Regular.woff2 +0 -0
  9. package/dist/catalyst/assets/fonts/Lato-Black.woff +0 -0
  10. package/dist/catalyst/assets/fonts/Lato-Black.woff2 +0 -0
  11. package/dist/catalyst/assets/fonts/Lato-BlackItalic.woff +0 -0
  12. package/dist/catalyst/assets/fonts/Lato-BlackItalic.woff2 +0 -0
  13. package/dist/catalyst/assets/fonts/Lato-Bold.woff +0 -0
  14. package/dist/catalyst/assets/fonts/Lato-Bold.woff2 +0 -0
  15. package/dist/catalyst/assets/fonts/Lato-BoldItalic.woff +0 -0
  16. package/dist/catalyst/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  17. package/dist/catalyst/assets/fonts/Lato-Hairline.woff +0 -0
  18. package/dist/catalyst/assets/fonts/Lato-Hairline.woff2 +0 -0
  19. package/dist/catalyst/assets/fonts/Lato-HairlineItalic.woff +0 -0
  20. package/dist/catalyst/assets/fonts/Lato-HairlineItalic.woff2 +0 -0
  21. package/dist/catalyst/assets/fonts/Lato-Heavy.woff +0 -0
  22. package/dist/catalyst/assets/fonts/Lato-Heavy.woff2 +0 -0
  23. package/dist/catalyst/assets/fonts/Lato-HeavyItalic.woff +0 -0
  24. package/dist/catalyst/assets/fonts/Lato-HeavyItalic.woff2 +0 -0
  25. package/dist/catalyst/assets/fonts/Lato-Italic.woff +0 -0
  26. package/dist/catalyst/assets/fonts/Lato-Italic.woff2 +0 -0
  27. package/dist/catalyst/assets/fonts/Lato-Light.woff +0 -0
  28. package/dist/catalyst/assets/fonts/Lato-Light.woff2 +0 -0
  29. package/dist/catalyst/assets/fonts/Lato-LightItalic.woff +0 -0
  30. package/dist/catalyst/assets/fonts/Lato-LightItalic.woff2 +0 -0
  31. package/dist/catalyst/assets/fonts/Lato-Medium.woff +0 -0
  32. package/dist/catalyst/assets/fonts/Lato-Medium.woff2 +0 -0
  33. package/dist/catalyst/assets/fonts/Lato-MediumItalic.woff +0 -0
  34. package/dist/catalyst/assets/fonts/Lato-MediumItalic.woff2 +0 -0
  35. package/dist/catalyst/assets/fonts/Lato-Regular.woff +0 -0
  36. package/dist/catalyst/assets/fonts/Lato-Regular.woff2 +0 -0
  37. package/dist/catalyst/assets/fonts/Lato-Semibold.woff +0 -0
  38. package/dist/catalyst/assets/fonts/Lato-Semibold.woff2 +0 -0
  39. package/dist/catalyst/assets/fonts/Lato-SemiboldItalic.woff +0 -0
  40. package/dist/catalyst/assets/fonts/Lato-SemiboldItalic.woff2 +0 -0
  41. package/dist/catalyst/assets/fonts/Lato-Thin.woff +0 -0
  42. package/dist/catalyst/assets/fonts/Lato-Thin.woff2 +0 -0
  43. package/dist/catalyst/assets/fonts/Lato-ThinItalic.woff +0 -0
  44. package/dist/catalyst/assets/fonts/Lato-ThinItalic.woff2 +0 -0
  45. package/dist/catalyst/catalyst.css +1 -0
  46. package/dist/catalyst/catalyst.esm.js +2 -0
  47. package/dist/catalyst/catalyst.esm.js.map +1 -0
  48. package/dist/catalyst/index.cdn.js +21 -0
  49. package/dist/catalyst/index.esm.js +2 -0
  50. package/dist/catalyst/index.esm.js.map +1 -0
  51. package/dist/catalyst/p-9a3c2375.js +2 -0
  52. package/dist/catalyst/p-9a3c2375.js.map +1 -0
  53. package/dist/catalyst/p-a6b8ebe9.entry.js +10 -0
  54. package/dist/catalyst/p-a6b8ebe9.entry.js.map +1 -0
  55. package/dist/catalyst/p-bfc656ca.js +2 -0
  56. package/dist/catalyst/p-bfc656ca.js.map +1 -0
  57. package/dist/catalyst/p-e82b63e9.js +2 -0
  58. package/dist/catalyst/p-e82b63e9.js.map +1 -0
  59. package/dist/cjs/app-globals-2a30d681.js +256 -0
  60. package/dist/cjs/app-globals-2a30d681.js.map +1 -0
  61. package/dist/cjs/cat-alert_15.cjs.entry.js +4651 -0
  62. package/dist/cjs/cat-alert_15.cjs.entry.js.map +1 -0
  63. package/dist/cjs/cat-icon-registry-b3a95a6b.js +442 -0
  64. package/dist/cjs/cat-icon-registry-b3a95a6b.js.map +1 -0
  65. package/dist/cjs/catalyst.cjs.js +24 -0
  66. package/dist/cjs/catalyst.cjs.js.map +1 -0
  67. package/dist/cjs/index-5d72f0e4.js +1347 -0
  68. package/dist/cjs/index-5d72f0e4.js.map +1 -0
  69. package/dist/cjs/index.cjs.js +12 -0
  70. package/dist/cjs/index.cjs.js.map +1 -0
  71. package/dist/cjs/loader.cjs.js +26 -0
  72. package/dist/cjs/loader.cjs.js.map +1 -0
  73. package/dist/collection/assets/fonts/AzeretMono-Regular.woff2 +0 -0
  74. package/dist/collection/assets/fonts/DMSans-Bold.woff2 +0 -0
  75. package/dist/collection/assets/fonts/DMSans-BoldItalic.woff2 +0 -0
  76. package/dist/collection/assets/fonts/DMSans-Italic.woff2 +0 -0
  77. package/dist/collection/assets/fonts/DMSans-Medium.woff2 +0 -0
  78. package/dist/collection/assets/fonts/DMSans-MediumItalic.woff2 +0 -0
  79. package/dist/collection/assets/fonts/DMSans-Regular.woff2 +0 -0
  80. package/dist/collection/assets/fonts/Lato-Black.woff +0 -0
  81. package/dist/collection/assets/fonts/Lato-Black.woff2 +0 -0
  82. package/dist/collection/assets/fonts/Lato-BlackItalic.woff +0 -0
  83. package/dist/collection/assets/fonts/Lato-BlackItalic.woff2 +0 -0
  84. package/dist/collection/assets/fonts/Lato-Bold.woff +0 -0
  85. package/dist/collection/assets/fonts/Lato-Bold.woff2 +0 -0
  86. package/dist/collection/assets/fonts/Lato-BoldItalic.woff +0 -0
  87. package/dist/collection/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  88. package/dist/collection/assets/fonts/Lato-Hairline.woff +0 -0
  89. package/dist/collection/assets/fonts/Lato-Hairline.woff2 +0 -0
  90. package/dist/collection/assets/fonts/Lato-HairlineItalic.woff +0 -0
  91. package/dist/collection/assets/fonts/Lato-HairlineItalic.woff2 +0 -0
  92. package/dist/collection/assets/fonts/Lato-Heavy.woff +0 -0
  93. package/dist/collection/assets/fonts/Lato-Heavy.woff2 +0 -0
  94. package/dist/collection/assets/fonts/Lato-HeavyItalic.woff +0 -0
  95. package/dist/collection/assets/fonts/Lato-HeavyItalic.woff2 +0 -0
  96. package/dist/collection/assets/fonts/Lato-Italic.woff +0 -0
  97. package/dist/collection/assets/fonts/Lato-Italic.woff2 +0 -0
  98. package/dist/collection/assets/fonts/Lato-Light.woff +0 -0
  99. package/dist/collection/assets/fonts/Lato-Light.woff2 +0 -0
  100. package/dist/collection/assets/fonts/Lato-LightItalic.woff +0 -0
  101. package/dist/collection/assets/fonts/Lato-LightItalic.woff2 +0 -0
  102. package/dist/collection/assets/fonts/Lato-Medium.woff +0 -0
  103. package/dist/collection/assets/fonts/Lato-Medium.woff2 +0 -0
  104. package/dist/collection/assets/fonts/Lato-MediumItalic.woff +0 -0
  105. package/dist/collection/assets/fonts/Lato-MediumItalic.woff2 +0 -0
  106. package/dist/collection/assets/fonts/Lato-Regular.woff +0 -0
  107. package/dist/collection/assets/fonts/Lato-Regular.woff2 +0 -0
  108. package/dist/collection/assets/fonts/Lato-Semibold.woff +0 -0
  109. package/dist/collection/assets/fonts/Lato-Semibold.woff2 +0 -0
  110. package/dist/collection/assets/fonts/Lato-SemiboldItalic.woff +0 -0
  111. package/dist/collection/assets/fonts/Lato-SemiboldItalic.woff2 +0 -0
  112. package/dist/collection/assets/fonts/Lato-Thin.woff +0 -0
  113. package/dist/collection/assets/fonts/Lato-Thin.woff2 +0 -0
  114. package/dist/collection/assets/fonts/Lato-ThinItalic.woff +0 -0
  115. package/dist/collection/assets/fonts/Lato-ThinItalic.woff2 +0 -0
  116. package/dist/collection/collection-manifest.json +27 -0
  117. package/dist/collection/components/cat-alert/cat-alert.css +61 -0
  118. package/dist/collection/components/cat-alert/cat-alert.js +61 -0
  119. package/dist/collection/components/cat-alert/cat-alert.js.map +1 -0
  120. package/dist/collection/components/cat-badge/cat-badge.css +154 -0
  121. package/dist/collection/components/cat-badge/cat-badge.js +143 -0
  122. package/dist/collection/components/cat-badge/cat-badge.js.map +1 -0
  123. package/dist/collection/components/cat-button/cat-button.css +333 -0
  124. package/dist/collection/components/cat-button/cat-button.js +615 -0
  125. package/dist/collection/components/cat-button/cat-button.js.map +1 -0
  126. package/dist/collection/components/cat-card/cat-card.css +24 -0
  127. package/dist/collection/components/cat-card/cat-card.js +20 -0
  128. package/dist/collection/components/cat-card/cat-card.js.map +1 -0
  129. package/dist/collection/components/cat-checkbox/cat-checkbox.css +105 -0
  130. package/dist/collection/components/cat-checkbox/cat-checkbox.js +314 -0
  131. package/dist/collection/components/cat-checkbox/cat-checkbox.js.map +1 -0
  132. package/dist/collection/components/cat-i18n/cat-i18n-registry.js +70 -0
  133. package/dist/collection/components/cat-i18n/cat-i18n-registry.js.map +1 -0
  134. package/dist/collection/components/cat-icon/cat-icon-registry.js +55 -0
  135. package/dist/collection/components/cat-icon/cat-icon-registry.js.map +1 -0
  136. package/dist/collection/components/cat-icon/cat-icon.css +50 -0
  137. package/dist/collection/components/cat-icon/cat-icon.js +91 -0
  138. package/dist/collection/components/cat-icon/cat-icon.js.map +1 -0
  139. package/dist/collection/components/cat-input/cat-input.css +131 -0
  140. package/dist/collection/components/cat-input/cat-input.js +606 -0
  141. package/dist/collection/components/cat-input/cat-input.js.map +1 -0
  142. package/dist/collection/components/cat-menu/cat-menu.css +34 -0
  143. package/dist/collection/components/cat-menu/cat-menu.js +184 -0
  144. package/dist/collection/components/cat-menu/cat-menu.js.map +1 -0
  145. package/dist/collection/components/cat-radio/cat-radio.css +84 -0
  146. package/dist/collection/components/cat-radio/cat-radio.js +283 -0
  147. package/dist/collection/components/cat-radio/cat-radio.js.map +1 -0
  148. package/dist/collection/components/cat-scrollable/cat-scrollable.css +69 -0
  149. package/dist/collection/components/cat-scrollable/cat-scrollable.js +311 -0
  150. package/dist/collection/components/cat-scrollable/cat-scrollable.js.map +1 -0
  151. package/dist/collection/components/cat-skeleton/cat-skeleton.css +177 -0
  152. package/dist/collection/components/cat-skeleton/cat-skeleton.js +131 -0
  153. package/dist/collection/components/cat-skeleton/cat-skeleton.js.map +1 -0
  154. package/dist/collection/components/cat-spinner/cat-spinner.css +63 -0
  155. package/dist/collection/components/cat-spinner/cat-spinner.js +65 -0
  156. package/dist/collection/components/cat-spinner/cat-spinner.js.map +1 -0
  157. package/dist/collection/components/cat-textarea/cat-textarea.css +72 -0
  158. package/dist/collection/components/cat-textarea/cat-textarea.js +393 -0
  159. package/dist/collection/components/cat-textarea/cat-textarea.js.map +1 -0
  160. package/dist/collection/components/cat-toggle/cat-toggle.css +93 -0
  161. package/dist/collection/components/cat-toggle/cat-toggle.js +283 -0
  162. package/dist/collection/components/cat-toggle/cat-toggle.js.map +1 -0
  163. package/dist/collection/components/cat-tooltip/cat-tooltip.css +41 -0
  164. package/dist/collection/components/cat-tooltip/cat-tooltip.js +254 -0
  165. package/dist/collection/components/cat-tooltip/cat-tooltip.js.map +1 -0
  166. package/dist/collection/index.cdn.js +21 -0
  167. package/dist/collection/index.js +3 -0
  168. package/dist/collection/index.js.map +1 -0
  169. package/dist/collection/init.js +17 -0
  170. package/dist/collection/init.js.map +1 -0
  171. package/dist/collection/utils/breakpoints.js +12 -0
  172. package/dist/collection/utils/breakpoints.js.map +1 -0
  173. package/dist/collection/utils/first-tabbable.js +6 -0
  174. package/dist/collection/utils/first-tabbable.js.map +1 -0
  175. package/dist/collection/utils/is-touch-screen.js +3 -0
  176. package/dist/collection/utils/is-touch-screen.js.map +1 -0
  177. package/dist/collection/utils/media-matcher.js +55 -0
  178. package/dist/collection/utils/media-matcher.js.map +1 -0
  179. package/dist/collection/utils/platform.js +50 -0
  180. package/dist/collection/utils/platform.js.map +1 -0
  181. package/dist/components/cat-alert.d.ts +11 -0
  182. package/dist/components/cat-alert.js +53 -0
  183. package/dist/components/cat-alert.js.map +1 -0
  184. package/dist/components/cat-badge.d.ts +11 -0
  185. package/dist/components/cat-badge.js +68 -0
  186. package/dist/components/cat-badge.js.map +1 -0
  187. package/dist/components/cat-button.d.ts +11 -0
  188. package/dist/components/cat-button.js +8 -0
  189. package/dist/components/cat-button.js.map +1 -0
  190. package/dist/components/cat-button2.js +346 -0
  191. package/dist/components/cat-button2.js.map +1 -0
  192. package/dist/components/cat-card.d.ts +11 -0
  193. package/dist/components/cat-card.js +35 -0
  194. package/dist/components/cat-card.js.map +1 -0
  195. package/dist/components/cat-checkbox.d.ts +11 -0
  196. package/dist/components/cat-checkbox.js +103 -0
  197. package/dist/components/cat-checkbox.js.map +1 -0
  198. package/dist/components/cat-i18n-registry.js +74 -0
  199. package/dist/components/cat-i18n-registry.js.map +1 -0
  200. package/dist/components/cat-icon-registry.js +59 -0
  201. package/dist/components/cat-icon-registry.js.map +1 -0
  202. package/dist/components/cat-icon.d.ts +11 -0
  203. package/dist/components/cat-icon.js +8 -0
  204. package/dist/components/cat-icon.js.map +1 -0
  205. package/dist/components/cat-icon2.js +49 -0
  206. package/dist/components/cat-icon2.js.map +1 -0
  207. package/dist/components/cat-input.d.ts +11 -0
  208. package/dist/components/cat-input.js +172 -0
  209. package/dist/components/cat-input.js.map +1 -0
  210. package/dist/components/cat-menu.d.ts +11 -0
  211. package/dist/components/cat-menu.js +870 -0
  212. package/dist/components/cat-menu.js.map +1 -0
  213. package/dist/components/cat-radio.d.ts +11 -0
  214. package/dist/components/cat-radio.js +93 -0
  215. package/dist/components/cat-radio.js.map +1 -0
  216. package/dist/components/cat-scrollable.d.ts +11 -0
  217. package/dist/components/cat-scrollable.js +1362 -0
  218. package/dist/components/cat-scrollable.js.map +1 -0
  219. package/dist/components/cat-skeleton.d.ts +11 -0
  220. package/dist/components/cat-skeleton.js +78 -0
  221. package/dist/components/cat-skeleton.js.map +1 -0
  222. package/dist/components/cat-spinner.d.ts +11 -0
  223. package/dist/components/cat-spinner.js +8 -0
  224. package/dist/components/cat-spinner.js.map +1 -0
  225. package/dist/components/cat-spinner2.js +41 -0
  226. package/dist/components/cat-spinner2.js.map +1 -0
  227. package/dist/components/cat-textarea.d.ts +11 -0
  228. package/dist/components/cat-textarea.js +119 -0
  229. package/dist/components/cat-textarea.js.map +1 -0
  230. package/dist/components/cat-toggle.d.ts +11 -0
  231. package/dist/components/cat-toggle.js +93 -0
  232. package/dist/components/cat-toggle.js.map +1 -0
  233. package/dist/components/cat-tooltip.d.ts +11 -0
  234. package/dist/components/cat-tooltip.js +154 -0
  235. package/dist/components/cat-tooltip.js.map +1 -0
  236. package/dist/components/first-tabbable.js +1495 -0
  237. package/dist/components/first-tabbable.js.map +1 -0
  238. package/dist/components/index.d.ts +26 -0
  239. package/dist/components/index.js +258 -0
  240. package/dist/components/index.js.map +1 -0
  241. package/dist/components/loglevel.js +315 -0
  242. package/dist/components/loglevel.js.map +1 -0
  243. package/dist/esm/app-globals-77cd8c8e.js +254 -0
  244. package/dist/esm/app-globals-77cd8c8e.js.map +1 -0
  245. package/dist/esm/cat-alert_15.entry.js +4633 -0
  246. package/dist/esm/cat-alert_15.entry.js.map +1 -0
  247. package/dist/esm/cat-icon-registry-a7acd6f7.js +438 -0
  248. package/dist/esm/cat-icon-registry-a7acd6f7.js.map +1 -0
  249. package/dist/esm/catalyst.js +22 -0
  250. package/dist/esm/catalyst.js.map +1 -0
  251. package/dist/esm/index-fd12be19.js +1320 -0
  252. package/dist/esm/index-fd12be19.js.map +1 -0
  253. package/dist/esm/index.js +3 -0
  254. package/dist/esm/index.js.map +1 -0
  255. package/dist/esm/loader.js +22 -0
  256. package/dist/esm/loader.js.map +1 -0
  257. package/dist/esm/polyfills/core-js.js +11 -0
  258. package/dist/esm/polyfills/css-shim.js +1 -0
  259. package/dist/esm/polyfills/dom.js +79 -0
  260. package/dist/esm/polyfills/es5-html-element.js +1 -0
  261. package/dist/esm/polyfills/index.js +34 -0
  262. package/dist/esm/polyfills/system.js +6 -0
  263. package/dist/index.cjs.js +1 -0
  264. package/dist/index.js +1 -0
  265. package/dist/types/components/cat-alert/cat-alert.d.ts +14 -0
  266. package/dist/types/components/cat-badge/cat-badge.d.ts +29 -0
  267. package/dist/types/components/cat-button/cat-button.d.ts +134 -0
  268. package/dist/types/components/cat-card/cat-card.d.ts +7 -0
  269. package/dist/types/components/cat-checkbox/cat-checkbox.d.ts +69 -0
  270. package/dist/types/components/cat-i18n/cat-i18n-registry.d.ts +18 -0
  271. package/dist/types/components/cat-icon/cat-icon-registry.d.ts +15 -0
  272. package/dist/types/components/cat-icon/cat-icon.d.ts +23 -0
  273. package/dist/types/components/cat-input/cat-input.d.ts +130 -0
  274. package/dist/types/components/cat-menu/cat-menu.d.ts +31 -0
  275. package/dist/types/components/cat-radio/cat-radio.d.ts +63 -0
  276. package/dist/types/components/cat-scrollable/cat-scrollable.d.ts +52 -0
  277. package/dist/types/components/cat-skeleton/cat-skeleton.d.ts +28 -0
  278. package/dist/types/components/cat-spinner/cat-spinner.d.ts +15 -0
  279. package/dist/types/components/cat-textarea/cat-textarea.d.ts +85 -0
  280. package/dist/types/components/cat-toggle/cat-toggle.d.ts +64 -0
  281. package/dist/types/components/cat-tooltip/cat-tooltip.d.ts +46 -0
  282. package/dist/types/components.d.ts +1167 -0
  283. package/dist/types/index.d.ts +3 -0
  284. package/dist/types/init.d.ts +1 -0
  285. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  286. package/dist/types/utils/breakpoints.d.ts +7 -0
  287. package/dist/types/utils/first-tabbable.d.ts +4 -0
  288. package/dist/types/utils/is-touch-screen.d.ts +2 -0
  289. package/dist/types/utils/media-matcher.d.ts +13 -0
  290. package/dist/types/utils/platform.d.ts +18 -0
  291. package/loader/cdn.js +3 -0
  292. package/loader/index.cjs.js +3 -0
  293. package/loader/index.d.ts +12 -0
  294. package/loader/index.es2017.js +3 -0
  295. package/loader/index.js +4 -0
  296. package/loader/package.json +10 -0
  297. package/package.json +2 -2
@@ -0,0 +1,1167 @@
1
+ /* eslint-disable */
2
+ /* tslint:disable */
3
+ /**
4
+ * This is an autogenerated file created by the Stencil compiler.
5
+ * It contains typing information for all components that exist in this project.
6
+ */
7
+ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
+ import { Breakpoint } from "./utils/breakpoints";
9
+ import { Placement } from "@floating-ui/dom";
10
+ export namespace Components {
11
+ interface CatAlert {
12
+ /**
13
+ * The color palette of the alert.
14
+ */
15
+ "color": 'primary' | 'secondary' | 'danger' | 'success' | 'warning';
16
+ }
17
+ interface CatBadge {
18
+ /**
19
+ * The color palette of the badge.
20
+ */
21
+ "color": 'primary' | 'secondary' | 'danger' | 'success' | 'warning';
22
+ /**
23
+ * Draw attention to the badge with a subtle animation.
24
+ */
25
+ "pulse": boolean;
26
+ /**
27
+ * Use round badge edges.
28
+ */
29
+ "round": boolean;
30
+ /**
31
+ * The size of the badge.
32
+ */
33
+ "size": 'xs' | 's' | 'm' | 'l' | 'xl';
34
+ /**
35
+ * The rendering style of the badge.
36
+ */
37
+ "variant": 'filled' | 'outlined';
38
+ }
39
+ interface CatButton {
40
+ /**
41
+ * Adds accessible label for the button that is only shown for screen readers. Typically, this label text replaces the visible text on the button for users who use assistive technology.
42
+ */
43
+ "a11yLabel"?: string;
44
+ /**
45
+ * Show an active status indicator on the left side of the button.
46
+ */
47
+ "active": boolean;
48
+ /**
49
+ * Adds a unique identifier for the button. Please note that with this particular component this ID is added inside the web component. If you need an ID on the HTML element, use the regular `id` attribute instead.
50
+ */
51
+ "buttonId"?: string;
52
+ /**
53
+ * The color palette of the button.
54
+ */
55
+ "color": 'primary' | 'secondary' | 'danger' | 'success' | 'warning';
56
+ /**
57
+ * Specifies that the button should be disabled. A disabled button is unusable and un-clickable. Corresponds with the native HTML disabled attribute.
58
+ */
59
+ "disabled": boolean;
60
+ /**
61
+ * Ellipse overflowing button content.
62
+ */
63
+ "ellipsed": boolean;
64
+ /**
65
+ * The name of an icon to be displayed in the button.
66
+ */
67
+ "icon"?: string;
68
+ /**
69
+ * Hide the actual button content and only display the icon.
70
+ */
71
+ "iconOnly": boolean | Breakpoint;
72
+ /**
73
+ * Display the icon on the right.
74
+ */
75
+ "iconRight": boolean;
76
+ /**
77
+ * Displays the button in a loading state with a spinner. Just like a disabled button, an inactive button is unusable and un-clickable. However, it retains the current focus state.
78
+ */
79
+ "loading": boolean;
80
+ /**
81
+ * The name of the button, which gets paired with the button's value when submitted as part of a form. Corresponds with the native HTML name attribute.
82
+ */
83
+ "name"?: string;
84
+ /**
85
+ * Use round button edges.
86
+ */
87
+ "round": boolean;
88
+ /**
89
+ * Sets focus on the button. Use this method instead of `button.focus()`.
90
+ * @param options An optional object providing options to control aspects of the focusing process.
91
+ */
92
+ "setFocus": (options?: FocusOptions | undefined) => Promise<void>;
93
+ /**
94
+ * The size of the button.
95
+ */
96
+ "size": 'xs' | 's' | 'm' | 'l' | 'xl';
97
+ /**
98
+ * Allows the button to submit a form.
99
+ */
100
+ "submit": boolean;
101
+ /**
102
+ * A destination to link to, rendered in the href attribute of a link.
103
+ */
104
+ "url"?: string;
105
+ /**
106
+ * Specifies where to open the linked document.
107
+ */
108
+ "urlTarget"?: '_blank' | '_self';
109
+ /**
110
+ * The value of the button, which gets paired with the button's name when submitted as part of a form. Corresponds with the native HTML value attribute.
111
+ */
112
+ "value"?: string;
113
+ /**
114
+ * The rendering style of the button.
115
+ */
116
+ "variant": 'filled' | 'outlined' | 'text';
117
+ }
118
+ interface CatCard {
119
+ }
120
+ interface CatCheckbox {
121
+ /**
122
+ * Checked state of the checkbox
123
+ */
124
+ "checked": boolean;
125
+ /**
126
+ * Disabled state of the checkbox
127
+ */
128
+ "disabled": boolean;
129
+ /**
130
+ * Indeterminate state of the checkbox
131
+ */
132
+ "indeterminate": boolean;
133
+ /**
134
+ * Label of the checkbox which is presented in the UI
135
+ */
136
+ "label": string;
137
+ /**
138
+ * Visually hide the label, but still show it to assistive technologies like screen readers.
139
+ */
140
+ "labelHidden": boolean;
141
+ /**
142
+ * The name of the input
143
+ */
144
+ "name"?: string;
145
+ /**
146
+ * Required state of the checkbox
147
+ */
148
+ "required": boolean;
149
+ /**
150
+ * Sets focus on the checkbox. Use this method instead of `checkbox.focus()`.
151
+ * @param options An optional object providing options to control aspects of the focusing process.
152
+ */
153
+ "setFocus": (options?: FocusOptions | undefined) => Promise<void>;
154
+ /**
155
+ * The value of the checkbox
156
+ */
157
+ "value"?: string;
158
+ }
159
+ interface CatIcon {
160
+ /**
161
+ * Adds accessible label for the icon that is only shown for screen readers. The `aria-hidden` attribute will be set if no label is present.
162
+ */
163
+ "a11yLabel"?: string;
164
+ /**
165
+ * The name of the icon.
166
+ */
167
+ "icon": string;
168
+ /**
169
+ * The size of the icon.
170
+ */
171
+ "size": 'xs' | 's' | 'm' | 'l' | 'xl' | 'inline';
172
+ }
173
+ interface CatInput {
174
+ /**
175
+ * Hint for form autofill feature.
176
+ */
177
+ "autoComplete"?: string;
178
+ /**
179
+ * Clear the input.
180
+ */
181
+ "clear": () => Promise<void>;
182
+ /**
183
+ * Whether the input should show a clear button.
184
+ */
185
+ "clearable": boolean;
186
+ /**
187
+ * Whether the input is disabled.
188
+ */
189
+ "disabled": boolean;
190
+ /**
191
+ * Optional hint text to be displayed with the input.
192
+ */
193
+ "hint"?: string;
194
+ /**
195
+ * The name of an icon to be displayed in the input.
196
+ */
197
+ "icon"?: string;
198
+ /**
199
+ * Display the icon on the right.
200
+ */
201
+ "iconRight": boolean;
202
+ /**
203
+ * The label for the input.
204
+ */
205
+ "label": string;
206
+ /**
207
+ * Visually hide the label, but still show it to assistive technologies like screen readers.
208
+ */
209
+ "labelHidden": boolean;
210
+ /**
211
+ * A maximum value for numeric values.
212
+ */
213
+ "max"?: number;
214
+ /**
215
+ * A maximum length (number of characters) for textual values.
216
+ */
217
+ "maxLength"?: number;
218
+ /**
219
+ * A minimum value for numeric values.
220
+ */
221
+ "min"?: number;
222
+ /**
223
+ * A minimum length (number of characters) for textual values.
224
+ */
225
+ "minLength"?: number;
226
+ /**
227
+ * The name of the form control. Submitted with the form as part of a name/value pair.
228
+ */
229
+ "name": string;
230
+ /**
231
+ * The placeholder text to display within the input.
232
+ */
233
+ "placeholder"?: string;
234
+ /**
235
+ * The value is not editable.
236
+ */
237
+ "readonly": boolean;
238
+ /**
239
+ * A value is required or must be check for the form to be submittable.
240
+ */
241
+ "required": boolean;
242
+ /**
243
+ * Use round input edges.
244
+ */
245
+ "round": boolean;
246
+ /**
247
+ * Sets focus on the input. Use this method instead of `input.focus()`.
248
+ * @param options An optional object providing options to control aspects of the focusing process.
249
+ */
250
+ "setFocus": (options?: FocusOptions | undefined) => Promise<void>;
251
+ /**
252
+ * A textual prefix to be displayed in the input.
253
+ */
254
+ "textPrefix"?: string;
255
+ /**
256
+ * A textual suffix to be displayed in the input.
257
+ */
258
+ "textSuffix"?: string;
259
+ /**
260
+ * Type of form control.
261
+ */
262
+ "type": 'text' | 'email' | 'password' | 'tel' | 'url' | 'search' | 'number';
263
+ /**
264
+ * The initial value of the control.
265
+ */
266
+ "value"?: string | number;
267
+ }
268
+ interface CatMenu {
269
+ /**
270
+ * The placement of the menu.
271
+ */
272
+ "placement": Placement;
273
+ }
274
+ interface CatRadio {
275
+ /**
276
+ * Whether this radio is checked.
277
+ */
278
+ "checked": boolean;
279
+ /**
280
+ * Whether this radio is disabled.
281
+ */
282
+ "disabled": boolean;
283
+ /**
284
+ * The label of the radio that is visible.
285
+ */
286
+ "label": string;
287
+ /**
288
+ * Visually hide the label, but still show it to assistive technologies like screen readers.
289
+ */
290
+ "labelHidden": boolean;
291
+ /**
292
+ * The name of the radio component.
293
+ */
294
+ "name"?: string;
295
+ /**
296
+ * Whether the radio is required.
297
+ */
298
+ "required": boolean;
299
+ /**
300
+ * Sets focus on the radio. Use this method instead of `radio.focus()`.
301
+ * @param options An optional object providing options to control aspects of the focusing process.
302
+ */
303
+ "setFocus": (options?: FocusOptions | undefined) => Promise<void>;
304
+ /**
305
+ * The value of the radio component.
306
+ */
307
+ "value"?: string;
308
+ }
309
+ interface CatScrollable {
310
+ /**
311
+ * Flags to enable/disable overflowX.
312
+ */
313
+ "overflowX": boolean;
314
+ /**
315
+ * Flags to enable/disable overflowY.
316
+ */
317
+ "overflowY": boolean;
318
+ /**
319
+ * Flag to enable/disable overscroll behavior.
320
+ */
321
+ "overscroll": boolean;
322
+ /**
323
+ * Buffer to be used to calculate the scroll distance.
324
+ */
325
+ "scrolledBuffer": number;
326
+ /**
327
+ * Flag to fire an initial event after content initialization.
328
+ */
329
+ "scrolledInit": boolean;
330
+ /**
331
+ * Flags to enable/disable scroll shadowX.
332
+ */
333
+ "shadowX": boolean;
334
+ /**
335
+ * Flags to enable/disable scroll shadowY.
336
+ */
337
+ "shadowY": boolean;
338
+ }
339
+ interface CatSkeleton {
340
+ /**
341
+ * The animation style of the skeleton.
342
+ */
343
+ "effect": 'plain' | 'sheen' | 'pulse';
344
+ /**
345
+ * The number of text lines to be rendered for "head" and "body" variants. Defaults to 1 for "head" and 3 for "body". Will be ignored for other variants.
346
+ */
347
+ "lines"?: number;
348
+ /**
349
+ * The size of the skeleton. If the variant is set to "head", the size values "xs" to "xl" translate to the head levels `h1` to `h5`.
350
+ */
351
+ "size": 'xs' | 's' | 'm' | 'l' | 'xl';
352
+ /**
353
+ * The rendering style of the skeleton.
354
+ */
355
+ "variant": 'rectangle' | 'square' | 'circle' | 'head' | 'body';
356
+ }
357
+ interface CatSpinner {
358
+ /**
359
+ * Adds accessible label for the spinner that is only shown for screen readers. The `aria-hidden` attribute will be set if no label is present.
360
+ */
361
+ "a11yLabel"?: string;
362
+ /**
363
+ * The size of the spinner.
364
+ */
365
+ "size": 'xs' | 's' | 'm' | 'l' | 'xl' | 'inline';
366
+ }
367
+ interface CatTextarea {
368
+ /**
369
+ * Whether the textarea is disabled.
370
+ */
371
+ "disabled": boolean;
372
+ /**
373
+ * Optional hint text to be displayed with the textarea.
374
+ */
375
+ "hint"?: string;
376
+ /**
377
+ * The label for the textarea.
378
+ */
379
+ "label": string;
380
+ /**
381
+ * Visually hide the label, but still show it to assistive technologies like screen readers.
382
+ */
383
+ "labelHidden": boolean;
384
+ /**
385
+ * A maximum length (number of characters) for textual values.
386
+ */
387
+ "maxLength"?: number;
388
+ /**
389
+ * A minimum length (number of characters) for textual values.
390
+ */
391
+ "minLength"?: number;
392
+ /**
393
+ * The name of the form control. Submitted with the form as part of a name/value pair.
394
+ */
395
+ "name": string;
396
+ /**
397
+ * The placeholder text to display within the input.
398
+ */
399
+ "placeholder"?: string;
400
+ /**
401
+ * The value is not editable.
402
+ */
403
+ "readonly": boolean;
404
+ /**
405
+ * A value is required or must be check for the form to be submittable.
406
+ */
407
+ "required": boolean;
408
+ /**
409
+ * Specifies the initial number of lines in the textarea.
410
+ */
411
+ "rows": number;
412
+ /**
413
+ * Sets focus on the textarea. Use this method instead of `textarea.focus()`.
414
+ * @param options An optional object providing options to control aspects of the focusing process.
415
+ */
416
+ "setFocus": (options?: FocusOptions | undefined) => Promise<void>;
417
+ /**
418
+ * The initial value of the control.
419
+ */
420
+ "value"?: string | number;
421
+ }
422
+ interface CatToggle {
423
+ /**
424
+ * Checked state of the toggle.
425
+ */
426
+ "checked": boolean;
427
+ /**
428
+ * Disabled state of the toggle.
429
+ */
430
+ "disabled": boolean;
431
+ /**
432
+ * The label of the toggle that is visible.
433
+ */
434
+ "label": string;
435
+ /**
436
+ * Visually hide the label, but still show it to assistive technologies like screen readers.
437
+ */
438
+ "labelHidden": boolean;
439
+ /**
440
+ * The name of the input
441
+ */
442
+ "name"?: string;
443
+ /**
444
+ * Required state of the toggle
445
+ */
446
+ "required": boolean;
447
+ /**
448
+ * Sets focus on the toggle. Use this method instead of `toggle.focus()`.
449
+ * @param options An optional object providing options to control aspects of the focusing process.
450
+ */
451
+ "setFocus": (options?: FocusOptions | undefined) => Promise<void>;
452
+ /**
453
+ * The value of the toggle
454
+ */
455
+ "value"?: string;
456
+ }
457
+ interface CatTooltip {
458
+ /**
459
+ * The content of the tooltip.
460
+ */
461
+ "content": string;
462
+ /**
463
+ * Specifies that the tooltip should be disabled. A disabled tooltip is unusable, and invisible. Corresponds with the native HTML disabled attribute.
464
+ */
465
+ "disabled": boolean;
466
+ /**
467
+ * The delay time for hiding tooltip in ms.
468
+ */
469
+ "hideDelay": number;
470
+ /**
471
+ * The duration of tap to show the tooltip.
472
+ */
473
+ "longTouchDuration": number;
474
+ /**
475
+ * The placement of the tooltip.
476
+ */
477
+ "placement": Placement;
478
+ /**
479
+ * The delay time for showing tooltip in ms.
480
+ */
481
+ "showDelay": number;
482
+ }
483
+ }
484
+ declare global {
485
+ interface HTMLCatAlertElement extends Components.CatAlert, HTMLStencilElement {
486
+ }
487
+ var HTMLCatAlertElement: {
488
+ prototype: HTMLCatAlertElement;
489
+ new (): HTMLCatAlertElement;
490
+ };
491
+ interface HTMLCatBadgeElement extends Components.CatBadge, HTMLStencilElement {
492
+ }
493
+ var HTMLCatBadgeElement: {
494
+ prototype: HTMLCatBadgeElement;
495
+ new (): HTMLCatBadgeElement;
496
+ };
497
+ interface HTMLCatButtonElement extends Components.CatButton, HTMLStencilElement {
498
+ }
499
+ var HTMLCatButtonElement: {
500
+ prototype: HTMLCatButtonElement;
501
+ new (): HTMLCatButtonElement;
502
+ };
503
+ interface HTMLCatCardElement extends Components.CatCard, HTMLStencilElement {
504
+ }
505
+ var HTMLCatCardElement: {
506
+ prototype: HTMLCatCardElement;
507
+ new (): HTMLCatCardElement;
508
+ };
509
+ interface HTMLCatCheckboxElement extends Components.CatCheckbox, HTMLStencilElement {
510
+ }
511
+ var HTMLCatCheckboxElement: {
512
+ prototype: HTMLCatCheckboxElement;
513
+ new (): HTMLCatCheckboxElement;
514
+ };
515
+ interface HTMLCatIconElement extends Components.CatIcon, HTMLStencilElement {
516
+ }
517
+ var HTMLCatIconElement: {
518
+ prototype: HTMLCatIconElement;
519
+ new (): HTMLCatIconElement;
520
+ };
521
+ interface HTMLCatInputElement extends Components.CatInput, HTMLStencilElement {
522
+ }
523
+ var HTMLCatInputElement: {
524
+ prototype: HTMLCatInputElement;
525
+ new (): HTMLCatInputElement;
526
+ };
527
+ interface HTMLCatMenuElement extends Components.CatMenu, HTMLStencilElement {
528
+ }
529
+ var HTMLCatMenuElement: {
530
+ prototype: HTMLCatMenuElement;
531
+ new (): HTMLCatMenuElement;
532
+ };
533
+ interface HTMLCatRadioElement extends Components.CatRadio, HTMLStencilElement {
534
+ }
535
+ var HTMLCatRadioElement: {
536
+ prototype: HTMLCatRadioElement;
537
+ new (): HTMLCatRadioElement;
538
+ };
539
+ interface HTMLCatScrollableElement extends Components.CatScrollable, HTMLStencilElement {
540
+ }
541
+ var HTMLCatScrollableElement: {
542
+ prototype: HTMLCatScrollableElement;
543
+ new (): HTMLCatScrollableElement;
544
+ };
545
+ interface HTMLCatSkeletonElement extends Components.CatSkeleton, HTMLStencilElement {
546
+ }
547
+ var HTMLCatSkeletonElement: {
548
+ prototype: HTMLCatSkeletonElement;
549
+ new (): HTMLCatSkeletonElement;
550
+ };
551
+ interface HTMLCatSpinnerElement extends Components.CatSpinner, HTMLStencilElement {
552
+ }
553
+ var HTMLCatSpinnerElement: {
554
+ prototype: HTMLCatSpinnerElement;
555
+ new (): HTMLCatSpinnerElement;
556
+ };
557
+ interface HTMLCatTextareaElement extends Components.CatTextarea, HTMLStencilElement {
558
+ }
559
+ var HTMLCatTextareaElement: {
560
+ prototype: HTMLCatTextareaElement;
561
+ new (): HTMLCatTextareaElement;
562
+ };
563
+ interface HTMLCatToggleElement extends Components.CatToggle, HTMLStencilElement {
564
+ }
565
+ var HTMLCatToggleElement: {
566
+ prototype: HTMLCatToggleElement;
567
+ new (): HTMLCatToggleElement;
568
+ };
569
+ interface HTMLCatTooltipElement extends Components.CatTooltip, HTMLStencilElement {
570
+ }
571
+ var HTMLCatTooltipElement: {
572
+ prototype: HTMLCatTooltipElement;
573
+ new (): HTMLCatTooltipElement;
574
+ };
575
+ interface HTMLElementTagNameMap {
576
+ "cat-alert": HTMLCatAlertElement;
577
+ "cat-badge": HTMLCatBadgeElement;
578
+ "cat-button": HTMLCatButtonElement;
579
+ "cat-card": HTMLCatCardElement;
580
+ "cat-checkbox": HTMLCatCheckboxElement;
581
+ "cat-icon": HTMLCatIconElement;
582
+ "cat-input": HTMLCatInputElement;
583
+ "cat-menu": HTMLCatMenuElement;
584
+ "cat-radio": HTMLCatRadioElement;
585
+ "cat-scrollable": HTMLCatScrollableElement;
586
+ "cat-skeleton": HTMLCatSkeletonElement;
587
+ "cat-spinner": HTMLCatSpinnerElement;
588
+ "cat-textarea": HTMLCatTextareaElement;
589
+ "cat-toggle": HTMLCatToggleElement;
590
+ "cat-tooltip": HTMLCatTooltipElement;
591
+ }
592
+ }
593
+ declare namespace LocalJSX {
594
+ interface CatAlert {
595
+ /**
596
+ * The color palette of the alert.
597
+ */
598
+ "color"?: 'primary' | 'secondary' | 'danger' | 'success' | 'warning';
599
+ }
600
+ interface CatBadge {
601
+ /**
602
+ * The color palette of the badge.
603
+ */
604
+ "color"?: 'primary' | 'secondary' | 'danger' | 'success' | 'warning';
605
+ /**
606
+ * Draw attention to the badge with a subtle animation.
607
+ */
608
+ "pulse"?: boolean;
609
+ /**
610
+ * Use round badge edges.
611
+ */
612
+ "round"?: boolean;
613
+ /**
614
+ * The size of the badge.
615
+ */
616
+ "size"?: 'xs' | 's' | 'm' | 'l' | 'xl';
617
+ /**
618
+ * The rendering style of the badge.
619
+ */
620
+ "variant"?: 'filled' | 'outlined';
621
+ }
622
+ interface CatButton {
623
+ /**
624
+ * Adds accessible label for the button that is only shown for screen readers. Typically, this label text replaces the visible text on the button for users who use assistive technology.
625
+ */
626
+ "a11yLabel"?: string;
627
+ /**
628
+ * Show an active status indicator on the left side of the button.
629
+ */
630
+ "active"?: boolean;
631
+ /**
632
+ * Adds a unique identifier for the button. Please note that with this particular component this ID is added inside the web component. If you need an ID on the HTML element, use the regular `id` attribute instead.
633
+ */
634
+ "buttonId"?: string;
635
+ /**
636
+ * The color palette of the button.
637
+ */
638
+ "color"?: 'primary' | 'secondary' | 'danger' | 'success' | 'warning';
639
+ /**
640
+ * Specifies that the button should be disabled. A disabled button is unusable and un-clickable. Corresponds with the native HTML disabled attribute.
641
+ */
642
+ "disabled"?: boolean;
643
+ /**
644
+ * Ellipse overflowing button content.
645
+ */
646
+ "ellipsed"?: boolean;
647
+ /**
648
+ * The name of an icon to be displayed in the button.
649
+ */
650
+ "icon"?: string;
651
+ /**
652
+ * Hide the actual button content and only display the icon.
653
+ */
654
+ "iconOnly"?: boolean | Breakpoint;
655
+ /**
656
+ * Display the icon on the right.
657
+ */
658
+ "iconRight"?: boolean;
659
+ /**
660
+ * Displays the button in a loading state with a spinner. Just like a disabled button, an inactive button is unusable and un-clickable. However, it retains the current focus state.
661
+ */
662
+ "loading"?: boolean;
663
+ /**
664
+ * The name of the button, which gets paired with the button's value when submitted as part of a form. Corresponds with the native HTML name attribute.
665
+ */
666
+ "name"?: string;
667
+ /**
668
+ * Emitted when the button loses focus.
669
+ */
670
+ "onCatBlur"?: (event: CustomEvent<FocusEvent>) => void;
671
+ /**
672
+ * Emitted when the button is clicked.
673
+ */
674
+ "onCatClick"?: (event: CustomEvent<MouseEvent>) => void;
675
+ /**
676
+ * Emitted when the button received focus.
677
+ */
678
+ "onCatFocus"?: (event: CustomEvent<FocusEvent>) => void;
679
+ /**
680
+ * Use round button edges.
681
+ */
682
+ "round"?: boolean;
683
+ /**
684
+ * The size of the button.
685
+ */
686
+ "size"?: 'xs' | 's' | 'm' | 'l' | 'xl';
687
+ /**
688
+ * Allows the button to submit a form.
689
+ */
690
+ "submit"?: boolean;
691
+ /**
692
+ * A destination to link to, rendered in the href attribute of a link.
693
+ */
694
+ "url"?: string;
695
+ /**
696
+ * Specifies where to open the linked document.
697
+ */
698
+ "urlTarget"?: '_blank' | '_self';
699
+ /**
700
+ * The value of the button, which gets paired with the button's name when submitted as part of a form. Corresponds with the native HTML value attribute.
701
+ */
702
+ "value"?: string;
703
+ /**
704
+ * The rendering style of the button.
705
+ */
706
+ "variant"?: 'filled' | 'outlined' | 'text';
707
+ }
708
+ interface CatCard {
709
+ }
710
+ interface CatCheckbox {
711
+ /**
712
+ * Checked state of the checkbox
713
+ */
714
+ "checked"?: boolean;
715
+ /**
716
+ * Disabled state of the checkbox
717
+ */
718
+ "disabled"?: boolean;
719
+ /**
720
+ * Indeterminate state of the checkbox
721
+ */
722
+ "indeterminate"?: boolean;
723
+ /**
724
+ * Label of the checkbox which is presented in the UI
725
+ */
726
+ "label"?: string;
727
+ /**
728
+ * Visually hide the label, but still show it to assistive technologies like screen readers.
729
+ */
730
+ "labelHidden"?: boolean;
731
+ /**
732
+ * The name of the input
733
+ */
734
+ "name"?: string;
735
+ /**
736
+ * Emitted when the checkbox loses focus.
737
+ */
738
+ "onCatBlur"?: (event: CustomEvent<FocusEvent>) => void;
739
+ /**
740
+ * Emitted when the checked status of the checkbox is changed.
741
+ */
742
+ "onCatChange"?: (event: CustomEvent<any>) => void;
743
+ /**
744
+ * Emitted when the checkbox received focus.
745
+ */
746
+ "onCatFocus"?: (event: CustomEvent<FocusEvent>) => void;
747
+ /**
748
+ * Required state of the checkbox
749
+ */
750
+ "required"?: boolean;
751
+ /**
752
+ * The value of the checkbox
753
+ */
754
+ "value"?: string;
755
+ }
756
+ interface CatIcon {
757
+ /**
758
+ * Adds accessible label for the icon that is only shown for screen readers. The `aria-hidden` attribute will be set if no label is present.
759
+ */
760
+ "a11yLabel"?: string;
761
+ /**
762
+ * The name of the icon.
763
+ */
764
+ "icon"?: string;
765
+ /**
766
+ * The size of the icon.
767
+ */
768
+ "size"?: 'xs' | 's' | 'm' | 'l' | 'xl' | 'inline';
769
+ }
770
+ interface CatInput {
771
+ /**
772
+ * Hint for form autofill feature.
773
+ */
774
+ "autoComplete"?: string;
775
+ /**
776
+ * Whether the input should show a clear button.
777
+ */
778
+ "clearable"?: boolean;
779
+ /**
780
+ * Whether the input is disabled.
781
+ */
782
+ "disabled"?: boolean;
783
+ /**
784
+ * Optional hint text to be displayed with the input.
785
+ */
786
+ "hint"?: string;
787
+ /**
788
+ * The name of an icon to be displayed in the input.
789
+ */
790
+ "icon"?: string;
791
+ /**
792
+ * Display the icon on the right.
793
+ */
794
+ "iconRight"?: boolean;
795
+ /**
796
+ * The label for the input.
797
+ */
798
+ "label"?: string;
799
+ /**
800
+ * Visually hide the label, but still show it to assistive technologies like screen readers.
801
+ */
802
+ "labelHidden"?: boolean;
803
+ /**
804
+ * A maximum value for numeric values.
805
+ */
806
+ "max"?: number;
807
+ /**
808
+ * A maximum length (number of characters) for textual values.
809
+ */
810
+ "maxLength"?: number;
811
+ /**
812
+ * A minimum value for numeric values.
813
+ */
814
+ "min"?: number;
815
+ /**
816
+ * A minimum length (number of characters) for textual values.
817
+ */
818
+ "minLength"?: number;
819
+ /**
820
+ * The name of the form control. Submitted with the form as part of a name/value pair.
821
+ */
822
+ "name"?: string;
823
+ /**
824
+ * Emitted when the input loses focus.
825
+ */
826
+ "onCatBlur"?: (event: CustomEvent<FocusEvent>) => void;
827
+ /**
828
+ * Emitted when the value is changed.
829
+ */
830
+ "onCatChange"?: (event: CustomEvent<any>) => void;
831
+ /**
832
+ * Emitted when the input received focus.
833
+ */
834
+ "onCatFocus"?: (event: CustomEvent<FocusEvent>) => void;
835
+ /**
836
+ * The placeholder text to display within the input.
837
+ */
838
+ "placeholder"?: string;
839
+ /**
840
+ * The value is not editable.
841
+ */
842
+ "readonly"?: boolean;
843
+ /**
844
+ * A value is required or must be check for the form to be submittable.
845
+ */
846
+ "required"?: boolean;
847
+ /**
848
+ * Use round input edges.
849
+ */
850
+ "round"?: boolean;
851
+ /**
852
+ * A textual prefix to be displayed in the input.
853
+ */
854
+ "textPrefix"?: string;
855
+ /**
856
+ * A textual suffix to be displayed in the input.
857
+ */
858
+ "textSuffix"?: string;
859
+ /**
860
+ * Type of form control.
861
+ */
862
+ "type"?: 'text' | 'email' | 'password' | 'tel' | 'url' | 'search' | 'number';
863
+ /**
864
+ * The initial value of the control.
865
+ */
866
+ "value"?: string | number;
867
+ }
868
+ interface CatMenu {
869
+ /**
870
+ * Emitted when the menu is closed.
871
+ */
872
+ "onCatClose"?: (event: CustomEvent<FocusEvent>) => void;
873
+ /**
874
+ * Emitted when the menu is opened.
875
+ */
876
+ "onCatOpen"?: (event: CustomEvent<FocusEvent>) => void;
877
+ /**
878
+ * The placement of the menu.
879
+ */
880
+ "placement"?: Placement;
881
+ }
882
+ interface CatRadio {
883
+ /**
884
+ * Whether this radio is checked.
885
+ */
886
+ "checked"?: boolean;
887
+ /**
888
+ * Whether this radio is disabled.
889
+ */
890
+ "disabled"?: boolean;
891
+ /**
892
+ * The label of the radio that is visible.
893
+ */
894
+ "label"?: string;
895
+ /**
896
+ * Visually hide the label, but still show it to assistive technologies like screen readers.
897
+ */
898
+ "labelHidden"?: boolean;
899
+ /**
900
+ * The name of the radio component.
901
+ */
902
+ "name"?: string;
903
+ /**
904
+ * Emitted when the radio loses focus.
905
+ */
906
+ "onCatBlur"?: (event: CustomEvent<FocusEvent>) => void;
907
+ /**
908
+ * Emitted when the radio is changed.
909
+ */
910
+ "onCatChange"?: (event: CustomEvent<any>) => void;
911
+ /**
912
+ * Emitted when the radio received focus.
913
+ */
914
+ "onCatFocus"?: (event: CustomEvent<FocusEvent>) => void;
915
+ /**
916
+ * Whether the radio is required.
917
+ */
918
+ "required"?: boolean;
919
+ /**
920
+ * The value of the radio component.
921
+ */
922
+ "value"?: string;
923
+ }
924
+ interface CatScrollable {
925
+ /**
926
+ * Emitted when the content is fully scrolled to the bottom.
927
+ */
928
+ "onScrolledBottom"?: (event: CustomEvent<void>) => void;
929
+ /**
930
+ * Emitted when the content is fully scrolled to the left.
931
+ */
932
+ "onScrolledLeft"?: (event: CustomEvent<void>) => void;
933
+ /**
934
+ * Emitted when the content is fully scrolled to the right.
935
+ */
936
+ "onScrolledRight"?: (event: CustomEvent<void>) => void;
937
+ /**
938
+ * Emitted when the content is fully scrolled to the top.
939
+ */
940
+ "onScrolledTop"?: (event: CustomEvent<void>) => void;
941
+ /**
942
+ * Flags to enable/disable overflowX.
943
+ */
944
+ "overflowX"?: boolean;
945
+ /**
946
+ * Flags to enable/disable overflowY.
947
+ */
948
+ "overflowY"?: boolean;
949
+ /**
950
+ * Flag to enable/disable overscroll behavior.
951
+ */
952
+ "overscroll"?: boolean;
953
+ /**
954
+ * Buffer to be used to calculate the scroll distance.
955
+ */
956
+ "scrolledBuffer"?: number;
957
+ /**
958
+ * Flag to fire an initial event after content initialization.
959
+ */
960
+ "scrolledInit"?: boolean;
961
+ /**
962
+ * Flags to enable/disable scroll shadowX.
963
+ */
964
+ "shadowX"?: boolean;
965
+ /**
966
+ * Flags to enable/disable scroll shadowY.
967
+ */
968
+ "shadowY"?: boolean;
969
+ }
970
+ interface CatSkeleton {
971
+ /**
972
+ * The animation style of the skeleton.
973
+ */
974
+ "effect"?: 'plain' | 'sheen' | 'pulse';
975
+ /**
976
+ * The number of text lines to be rendered for "head" and "body" variants. Defaults to 1 for "head" and 3 for "body". Will be ignored for other variants.
977
+ */
978
+ "lines"?: number;
979
+ /**
980
+ * The size of the skeleton. If the variant is set to "head", the size values "xs" to "xl" translate to the head levels `h1` to `h5`.
981
+ */
982
+ "size"?: 'xs' | 's' | 'm' | 'l' | 'xl';
983
+ /**
984
+ * The rendering style of the skeleton.
985
+ */
986
+ "variant"?: 'rectangle' | 'square' | 'circle' | 'head' | 'body';
987
+ }
988
+ interface CatSpinner {
989
+ /**
990
+ * Adds accessible label for the spinner that is only shown for screen readers. The `aria-hidden` attribute will be set if no label is present.
991
+ */
992
+ "a11yLabel"?: string;
993
+ /**
994
+ * The size of the spinner.
995
+ */
996
+ "size"?: 'xs' | 's' | 'm' | 'l' | 'xl' | 'inline';
997
+ }
998
+ interface CatTextarea {
999
+ /**
1000
+ * Whether the textarea is disabled.
1001
+ */
1002
+ "disabled"?: boolean;
1003
+ /**
1004
+ * Optional hint text to be displayed with the textarea.
1005
+ */
1006
+ "hint"?: string;
1007
+ /**
1008
+ * The label for the textarea.
1009
+ */
1010
+ "label"?: string;
1011
+ /**
1012
+ * Visually hide the label, but still show it to assistive technologies like screen readers.
1013
+ */
1014
+ "labelHidden"?: boolean;
1015
+ /**
1016
+ * A maximum length (number of characters) for textual values.
1017
+ */
1018
+ "maxLength"?: number;
1019
+ /**
1020
+ * A minimum length (number of characters) for textual values.
1021
+ */
1022
+ "minLength"?: number;
1023
+ /**
1024
+ * The name of the form control. Submitted with the form as part of a name/value pair.
1025
+ */
1026
+ "name"?: string;
1027
+ /**
1028
+ * Emitted when the textarea loses focus.
1029
+ */
1030
+ "onCatBlur"?: (event: CustomEvent<FocusEvent>) => void;
1031
+ /**
1032
+ * Emitted when the value is changed.
1033
+ */
1034
+ "onCatChange"?: (event: CustomEvent<any>) => void;
1035
+ /**
1036
+ * Emitted when the textarea received focus.
1037
+ */
1038
+ "onCatFocus"?: (event: CustomEvent<FocusEvent>) => void;
1039
+ /**
1040
+ * The placeholder text to display within the input.
1041
+ */
1042
+ "placeholder"?: string;
1043
+ /**
1044
+ * The value is not editable.
1045
+ */
1046
+ "readonly"?: boolean;
1047
+ /**
1048
+ * A value is required or must be check for the form to be submittable.
1049
+ */
1050
+ "required"?: boolean;
1051
+ /**
1052
+ * Specifies the initial number of lines in the textarea.
1053
+ */
1054
+ "rows"?: number;
1055
+ /**
1056
+ * The initial value of the control.
1057
+ */
1058
+ "value"?: string | number;
1059
+ }
1060
+ interface CatToggle {
1061
+ /**
1062
+ * Checked state of the toggle.
1063
+ */
1064
+ "checked"?: boolean;
1065
+ /**
1066
+ * Disabled state of the toggle.
1067
+ */
1068
+ "disabled"?: boolean;
1069
+ /**
1070
+ * The label of the toggle that is visible.
1071
+ */
1072
+ "label"?: string;
1073
+ /**
1074
+ * Visually hide the label, but still show it to assistive technologies like screen readers.
1075
+ */
1076
+ "labelHidden"?: boolean;
1077
+ /**
1078
+ * The name of the input
1079
+ */
1080
+ "name"?: string;
1081
+ /**
1082
+ * Emitted when the toggle loses focus.
1083
+ */
1084
+ "onCatBlur"?: (event: CustomEvent<FocusEvent>) => void;
1085
+ /**
1086
+ * Emitted when the checked status of the toggle is changed.
1087
+ */
1088
+ "onCatChange"?: (event: CustomEvent<any>) => void;
1089
+ /**
1090
+ * Emitted when the toggle received focus.
1091
+ */
1092
+ "onCatFocus"?: (event: CustomEvent<FocusEvent>) => void;
1093
+ /**
1094
+ * Required state of the toggle
1095
+ */
1096
+ "required"?: boolean;
1097
+ /**
1098
+ * The value of the toggle
1099
+ */
1100
+ "value"?: string;
1101
+ }
1102
+ interface CatTooltip {
1103
+ /**
1104
+ * The content of the tooltip.
1105
+ */
1106
+ "content"?: string;
1107
+ /**
1108
+ * Specifies that the tooltip should be disabled. A disabled tooltip is unusable, and invisible. Corresponds with the native HTML disabled attribute.
1109
+ */
1110
+ "disabled"?: boolean;
1111
+ /**
1112
+ * The delay time for hiding tooltip in ms.
1113
+ */
1114
+ "hideDelay"?: number;
1115
+ /**
1116
+ * The duration of tap to show the tooltip.
1117
+ */
1118
+ "longTouchDuration"?: number;
1119
+ /**
1120
+ * The placement of the tooltip.
1121
+ */
1122
+ "placement"?: Placement;
1123
+ /**
1124
+ * The delay time for showing tooltip in ms.
1125
+ */
1126
+ "showDelay"?: number;
1127
+ }
1128
+ interface IntrinsicElements {
1129
+ "cat-alert": CatAlert;
1130
+ "cat-badge": CatBadge;
1131
+ "cat-button": CatButton;
1132
+ "cat-card": CatCard;
1133
+ "cat-checkbox": CatCheckbox;
1134
+ "cat-icon": CatIcon;
1135
+ "cat-input": CatInput;
1136
+ "cat-menu": CatMenu;
1137
+ "cat-radio": CatRadio;
1138
+ "cat-scrollable": CatScrollable;
1139
+ "cat-skeleton": CatSkeleton;
1140
+ "cat-spinner": CatSpinner;
1141
+ "cat-textarea": CatTextarea;
1142
+ "cat-toggle": CatToggle;
1143
+ "cat-tooltip": CatTooltip;
1144
+ }
1145
+ }
1146
+ export { LocalJSX as JSX };
1147
+ declare module "@stencil/core" {
1148
+ export namespace JSX {
1149
+ interface IntrinsicElements {
1150
+ "cat-alert": LocalJSX.CatAlert & JSXBase.HTMLAttributes<HTMLCatAlertElement>;
1151
+ "cat-badge": LocalJSX.CatBadge & JSXBase.HTMLAttributes<HTMLCatBadgeElement>;
1152
+ "cat-button": LocalJSX.CatButton & JSXBase.HTMLAttributes<HTMLCatButtonElement>;
1153
+ "cat-card": LocalJSX.CatCard & JSXBase.HTMLAttributes<HTMLCatCardElement>;
1154
+ "cat-checkbox": LocalJSX.CatCheckbox & JSXBase.HTMLAttributes<HTMLCatCheckboxElement>;
1155
+ "cat-icon": LocalJSX.CatIcon & JSXBase.HTMLAttributes<HTMLCatIconElement>;
1156
+ "cat-input": LocalJSX.CatInput & JSXBase.HTMLAttributes<HTMLCatInputElement>;
1157
+ "cat-menu": LocalJSX.CatMenu & JSXBase.HTMLAttributes<HTMLCatMenuElement>;
1158
+ "cat-radio": LocalJSX.CatRadio & JSXBase.HTMLAttributes<HTMLCatRadioElement>;
1159
+ "cat-scrollable": LocalJSX.CatScrollable & JSXBase.HTMLAttributes<HTMLCatScrollableElement>;
1160
+ "cat-skeleton": LocalJSX.CatSkeleton & JSXBase.HTMLAttributes<HTMLCatSkeletonElement>;
1161
+ "cat-spinner": LocalJSX.CatSpinner & JSXBase.HTMLAttributes<HTMLCatSpinnerElement>;
1162
+ "cat-textarea": LocalJSX.CatTextarea & JSXBase.HTMLAttributes<HTMLCatTextareaElement>;
1163
+ "cat-toggle": LocalJSX.CatToggle & JSXBase.HTMLAttributes<HTMLCatToggleElement>;
1164
+ "cat-tooltip": LocalJSX.CatTooltip & JSXBase.HTMLAttributes<HTMLCatTooltipElement>;
1165
+ }
1166
+ }
1167
+ }