@haiilo/catalyst 0.3.2 → 0.5.1
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.
- package/dist/catalyst/app-globals-23d8c4a8.js +948 -0
- package/dist/catalyst/app-globals-23d8c4a8.js.map +1 -0
- package/dist/catalyst/app-globals-3dd6a26b.js +948 -0
- package/dist/catalyst/app-globals-3dd6a26b.js.map +1 -0
- package/dist/catalyst/app-globals-42ce39cc.js +948 -0
- package/dist/catalyst/app-globals-42ce39cc.js.map +1 -0
- package/dist/catalyst/app-globals-5cf43b57.js +949 -0
- package/dist/catalyst/app-globals-5cf43b57.js.map +1 -0
- package/dist/catalyst/app-globals-8598c768.js +948 -0
- package/dist/catalyst/app-globals-8598c768.js.map +1 -0
- package/dist/catalyst/app-globals-a41af143.js +948 -0
- package/dist/catalyst/app-globals-a41af143.js.map +1 -0
- package/dist/catalyst/app-globals-c6a8b994.js +949 -0
- package/dist/catalyst/app-globals-c6a8b994.js.map +1 -0
- package/dist/catalyst/cat-alert.entry.js +33 -0
- package/dist/catalyst/cat-alert.entry.js.map +1 -0
- package/dist/catalyst/cat-badge.entry.js +44 -0
- package/dist/catalyst/cat-badge.entry.js.map +1 -0
- package/dist/catalyst/cat-button.entry.js +298 -0
- package/dist/catalyst/cat-button.entry.js.map +1 -0
- package/dist/catalyst/cat-card.entry.js +17 -0
- package/dist/catalyst/cat-card.entry.js.map +1 -0
- package/dist/catalyst/cat-checkbox.entry.js +75 -0
- package/dist/catalyst/cat-checkbox.entry.js.map +1 -0
- package/dist/catalyst/cat-i18n-registry-2a6187c9.js +75 -0
- package/dist/catalyst/cat-i18n-registry-2a6187c9.js.map +1 -0
- package/dist/catalyst/cat-i18n-registry-330db605.js +74 -0
- package/dist/catalyst/cat-i18n-registry-330db605.js.map +1 -0
- package/dist/catalyst/cat-i18n-registry-83d20604.js +74 -0
- package/dist/catalyst/cat-i18n-registry-83d20604.js.map +1 -0
- package/dist/catalyst/cat-i18n-registry-dd55821d.js +73 -0
- package/dist/catalyst/cat-i18n-registry-dd55821d.js.map +1 -0
- package/dist/catalyst/cat-i18n-registry-f6560651.js +75 -0
- package/dist/catalyst/cat-i18n-registry-f6560651.js.map +1 -0
- package/dist/{esm/cat-icon-registry-59da2e37.js → catalyst/cat-icon-registry-2dcfc9fb.js} +16 -2
- package/dist/catalyst/cat-icon-registry-2dcfc9fb.js.map +1 -0
- package/dist/catalyst/cat-icon.entry.js +31 -0
- package/dist/catalyst/cat-icon.entry.js.map +1 -0
- package/dist/catalyst/cat-input.entry.js +111 -0
- package/dist/catalyst/cat-input.entry.js.map +1 -0
- package/dist/catalyst/cat-menu.entry.js +850 -0
- package/dist/catalyst/cat-menu.entry.js.map +1 -0
- package/dist/catalyst/cat-radio.entry.js +66 -0
- package/dist/catalyst/cat-radio.entry.js.map +1 -0
- package/dist/catalyst/cat-scrollable.entry.js +4522 -0
- package/dist/catalyst/cat-scrollable.entry.js.map +1 -0
- package/dist/catalyst/cat-skeleton.entry.js +55 -0
- package/dist/catalyst/cat-skeleton.entry.js.map +1 -0
- package/dist/catalyst/cat-spinner.entry.js +23 -0
- package/dist/catalyst/cat-spinner.entry.js.map +1 -0
- package/dist/catalyst/cat-textarea.entry.js +87 -0
- package/dist/catalyst/cat-textarea.entry.js.map +1 -0
- package/dist/catalyst/cat-toggle.entry.js +66 -0
- package/dist/catalyst/cat-toggle.entry.js.map +1 -0
- package/dist/catalyst/cat-tooltip.entry.js +129 -0
- package/dist/catalyst/cat-tooltip.entry.js.map +1 -0
- package/dist/catalyst/catalyst.css +2033 -1
- package/dist/catalyst/catalyst.esm.js +133 -1
- package/dist/catalyst/catalyst.esm.js.map +1 -1
- package/dist/catalyst/css-shim-e6dd2538.js +6 -0
- package/dist/catalyst/css-shim-e6dd2538.js.map +1 -0
- package/dist/catalyst/dom-7fc649b0.js +75 -0
- package/dist/catalyst/dom-7fc649b0.js.map +1 -0
- package/dist/catalyst/first-tabbable-2d9f9e9a.js +2123 -0
- package/dist/catalyst/first-tabbable-2d9f9e9a.js.map +1 -0
- package/dist/catalyst/index-471d4e05.js +3059 -0
- package/dist/catalyst/index-471d4e05.js.map +1 -0
- package/dist/catalyst/index-bbb694f5.js +3059 -0
- package/dist/catalyst/index-bbb694f5.js.map +1 -0
- package/dist/catalyst/index.esm.js +4 -1
- package/dist/catalyst/index.esm.js.map +1 -1
- package/dist/catalyst/loglevel-7f0f71af.js +346 -0
- package/dist/catalyst/loglevel-7f0f71af.js.map +1 -0
- package/dist/catalyst/shadow-css-4d56fa31.js +390 -0
- package/dist/catalyst/shadow-css-4d56fa31.js.map +1 -0
- package/dist/cjs/app-globals-aaefc070.js +950 -0
- package/dist/cjs/app-globals-aaefc070.js.map +1 -0
- package/dist/cjs/cat-alert.cjs.entry.js +37 -0
- package/dist/cjs/cat-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/cat-badge.cjs.entry.js +48 -0
- package/dist/cjs/cat-badge.cjs.entry.js.map +1 -0
- package/dist/cjs/cat-button.cjs.entry.js +302 -0
- package/dist/cjs/cat-button.cjs.entry.js.map +1 -0
- package/dist/cjs/cat-card.cjs.entry.js +21 -0
- package/dist/cjs/cat-card.cjs.entry.js.map +1 -0
- package/dist/cjs/cat-checkbox.cjs.entry.js +79 -0
- package/dist/cjs/cat-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/cat-i18n-registry-a1379d1e.js +76 -0
- package/dist/cjs/cat-i18n-registry-a1379d1e.js.map +1 -0
- package/dist/cjs/{cat-icon-registry-850c538c.js → cat-icon-registry-74247389.js} +16 -2
- package/dist/cjs/cat-icon-registry-74247389.js.map +1 -0
- package/dist/cjs/cat-icon.cjs.entry.js +35 -0
- package/dist/cjs/cat-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/cat-input.cjs.entry.js +115 -0
- package/dist/cjs/cat-input.cjs.entry.js.map +1 -0
- package/dist/cjs/cat-menu.cjs.entry.js +854 -0
- package/dist/cjs/cat-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/cat-radio.cjs.entry.js +70 -0
- package/dist/cjs/cat-radio.cjs.entry.js.map +1 -0
- package/dist/cjs/cat-scrollable.cjs.entry.js +4526 -0
- package/dist/cjs/cat-scrollable.cjs.entry.js.map +1 -0
- package/dist/cjs/cat-skeleton.cjs.entry.js +59 -0
- package/dist/cjs/cat-skeleton.cjs.entry.js.map +1 -0
- package/dist/cjs/cat-spinner.cjs.entry.js +27 -0
- package/dist/cjs/cat-spinner.cjs.entry.js.map +1 -0
- package/dist/cjs/cat-textarea.cjs.entry.js +91 -0
- package/dist/cjs/cat-textarea.cjs.entry.js.map +1 -0
- package/dist/cjs/cat-toggle.cjs.entry.js +70 -0
- package/dist/cjs/cat-toggle.cjs.entry.js.map +1 -0
- package/dist/cjs/cat-tooltip.cjs.entry.js +133 -0
- package/dist/cjs/cat-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/catalyst.cjs.js +118 -6
- package/dist/cjs/catalyst.cjs.js.map +1 -1
- package/dist/cjs/css-shim-6ca600c2.js +8 -0
- package/dist/cjs/css-shim-6ca600c2.js.map +1 -0
- package/dist/cjs/dom-8d415461.js +77 -0
- package/dist/cjs/dom-8d415461.js.map +1 -0
- package/dist/cjs/first-tabbable-2068dcc6.js +2133 -0
- package/dist/cjs/first-tabbable-2068dcc6.js.map +1 -0
- package/dist/cjs/index-abcb3941.js +3094 -0
- package/dist/cjs/index-abcb3941.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +20 -4
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/loglevel-24040e9d.js +348 -0
- package/dist/cjs/loglevel-24040e9d.js.map +1 -0
- package/dist/cjs/shadow-css-78860e39.js +392 -0
- package/dist/cjs/shadow-css-78860e39.js.map +1 -0
- package/dist/collection/collection-manifest.json +8 -1
- package/dist/collection/components/cat-alert/cat-alert.css +11 -6
- package/dist/collection/components/cat-alert/cat-alert.js +19 -8
- package/dist/collection/components/cat-alert/cat-alert.js.map +1 -1
- package/dist/collection/components/cat-badge/cat-badge.css +17 -17
- package/dist/collection/components/cat-badge/cat-badge.js +9 -8
- package/dist/collection/components/cat-badge/cat-badge.js.map +1 -1
- package/dist/collection/components/cat-button/cat-button.css +18 -8
- package/dist/collection/components/cat-button/cat-button.js +32 -8
- package/dist/collection/components/cat-button/cat-button.js.map +1 -1
- package/dist/collection/components/cat-card/cat-card.css +25 -0
- package/dist/collection/components/cat-card/cat-card.js +20 -0
- package/dist/collection/components/cat-card/cat-card.js.map +1 -0
- package/dist/collection/components/cat-checkbox/cat-checkbox.css +105 -0
- package/dist/collection/components/cat-checkbox/cat-checkbox.js +314 -0
- package/dist/collection/components/cat-checkbox/cat-checkbox.js.map +1 -0
- package/dist/collection/components/cat-i18n/cat-i18n-registry.js +70 -0
- package/dist/collection/components/cat-i18n/cat-i18n-registry.js.map +1 -0
- package/dist/collection/components/cat-icon/cat-icon-registry.js +14 -1
- package/dist/collection/components/cat-icon/cat-icon-registry.js.map +1 -1
- package/dist/collection/components/cat-icon/cat-icon.css +5 -5
- package/dist/collection/components/cat-icon/cat-icon.js +3 -2
- package/dist/collection/components/cat-icon/cat-icon.js.map +1 -1
- package/dist/collection/components/cat-input/cat-input.css +131 -0
- package/dist/collection/components/cat-input/cat-input.js +606 -0
- package/dist/collection/components/cat-input/cat-input.js.map +1 -0
- package/dist/collection/components/cat-menu/cat-menu.css +2 -1
- package/dist/collection/components/cat-menu/cat-menu.js +3 -5
- package/dist/collection/components/cat-menu/cat-menu.js.map +1 -1
- package/dist/collection/components/cat-radio/cat-radio.css +84 -0
- package/dist/collection/components/cat-radio/cat-radio.js +283 -0
- package/dist/collection/components/cat-radio/cat-radio.js.map +1 -0
- package/dist/collection/components/cat-scrollable/cat-scrollable.js +4 -2
- package/dist/collection/components/cat-scrollable/cat-scrollable.js.map +1 -1
- package/dist/collection/components/cat-skeleton/cat-skeleton.css +30 -30
- package/dist/collection/components/cat-skeleton/cat-skeleton.js +4 -4
- package/dist/collection/components/cat-skeleton/cat-skeleton.js.map +1 -1
- package/dist/collection/components/cat-spinner/cat-spinner.css +7 -7
- package/dist/collection/components/cat-spinner/cat-spinner.js +1 -1
- package/dist/collection/components/cat-spinner/cat-spinner.js.map +1 -1
- package/dist/collection/components/cat-textarea/cat-textarea.css +74 -0
- package/dist/collection/components/cat-textarea/cat-textarea.js +393 -0
- package/dist/collection/components/cat-textarea/cat-textarea.js.map +1 -0
- package/dist/collection/components/cat-toggle/cat-toggle.css +93 -0
- package/dist/collection/components/cat-toggle/cat-toggle.js +283 -0
- package/dist/collection/components/cat-toggle/cat-toggle.js.map +1 -0
- package/dist/collection/components/cat-tooltip/cat-tooltip.css +41 -0
- package/dist/collection/components/cat-tooltip/cat-tooltip.js +254 -0
- package/dist/collection/components/cat-tooltip/cat-tooltip.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/init.js +9 -1
- package/dist/collection/init.js.map +1 -1
- package/dist/collection/utils/first-tabbable.js +6 -0
- package/dist/collection/utils/first-tabbable.js.map +1 -0
- package/dist/collection/utils/is-touch-screen.js +3 -0
- package/dist/collection/utils/is-touch-screen.js.map +1 -0
- package/dist/components/cat-alert.js +15 -6
- package/dist/components/cat-alert.js.map +1 -1
- package/dist/components/cat-badge.js +7 -7
- package/dist/components/cat-badge.js.map +1 -1
- package/dist/components/cat-button.js +1 -647
- package/dist/components/cat-button.js.map +1 -1
- package/dist/components/cat-button2.js +346 -0
- package/dist/components/cat-button2.js.map +1 -0
- package/dist/components/cat-card.d.ts +11 -0
- package/dist/components/cat-card.js +35 -0
- package/dist/components/cat-card.js.map +1 -0
- package/dist/components/cat-checkbox.d.ts +11 -0
- package/dist/components/cat-checkbox.js +103 -0
- package/dist/components/cat-checkbox.js.map +1 -0
- package/dist/components/cat-i18n-registry.js +74 -0
- package/dist/components/cat-i18n-registry.js.map +1 -0
- package/dist/components/cat-icon-registry.js +15 -1
- package/dist/components/cat-icon-registry.js.map +1 -1
- package/dist/components/cat-icon2.js +3 -2
- package/dist/components/cat-icon2.js.map +1 -1
- package/dist/components/cat-input.d.ts +11 -0
- package/dist/components/cat-input.js +172 -0
- package/dist/components/cat-input.js.map +1 -0
- package/dist/components/cat-menu.js +12 -1520
- package/dist/components/cat-menu.js.map +1 -1
- package/dist/components/cat-radio.d.ts +11 -0
- package/dist/components/cat-radio.js +93 -0
- package/dist/components/cat-radio.js.map +1 -0
- package/dist/components/cat-scrollable.js +3210 -25
- package/dist/components/cat-scrollable.js.map +1 -1
- package/dist/components/cat-skeleton.js +5 -5
- package/dist/components/cat-skeleton.js.map +1 -1
- package/dist/components/cat-spinner2.js +2 -2
- package/dist/components/cat-spinner2.js.map +1 -1
- package/dist/components/cat-textarea.d.ts +11 -0
- package/dist/components/cat-textarea.js +119 -0
- package/dist/components/cat-textarea.js.map +1 -0
- package/dist/components/cat-toggle.d.ts +11 -0
- package/dist/components/cat-toggle.js +93 -0
- package/dist/components/cat-toggle.js.map +1 -0
- package/dist/components/cat-tooltip.d.ts +11 -0
- package/dist/components/cat-tooltip.js +154 -0
- package/dist/components/cat-tooltip.js.map +1 -0
- package/dist/components/first-tabbable.js +2123 -0
- package/dist/components/first-tabbable.js.map +1 -0
- package/dist/components/index.js +778 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/loglevel.js +346 -0
- package/dist/components/loglevel.js.map +1 -0
- package/dist/esm/app-globals-3dd6a26b.js +948 -0
- package/dist/esm/app-globals-3dd6a26b.js.map +1 -0
- package/dist/esm/cat-alert.entry.js +33 -0
- package/dist/esm/cat-alert.entry.js.map +1 -0
- package/dist/esm/cat-badge.entry.js +44 -0
- package/dist/esm/cat-badge.entry.js.map +1 -0
- package/dist/esm/cat-button.entry.js +298 -0
- package/dist/esm/cat-button.entry.js.map +1 -0
- package/dist/esm/cat-card.entry.js +17 -0
- package/dist/esm/cat-card.entry.js.map +1 -0
- package/dist/esm/cat-checkbox.entry.js +75 -0
- package/dist/esm/cat-checkbox.entry.js.map +1 -0
- package/dist/esm/cat-i18n-registry-83d20604.js +74 -0
- package/dist/esm/cat-i18n-registry-83d20604.js.map +1 -0
- package/dist/esm/cat-icon-registry-2dcfc9fb.js +59 -0
- package/dist/esm/cat-icon-registry-2dcfc9fb.js.map +1 -0
- package/dist/esm/cat-icon.entry.js +31 -0
- package/dist/esm/cat-icon.entry.js.map +1 -0
- package/dist/esm/cat-input.entry.js +111 -0
- package/dist/esm/cat-input.entry.js.map +1 -0
- package/dist/esm/cat-menu.entry.js +850 -0
- package/dist/esm/cat-menu.entry.js.map +1 -0
- package/dist/esm/cat-radio.entry.js +66 -0
- package/dist/esm/cat-radio.entry.js.map +1 -0
- package/dist/esm/cat-scrollable.entry.js +4522 -0
- package/dist/esm/cat-scrollable.entry.js.map +1 -0
- package/dist/esm/cat-skeleton.entry.js +55 -0
- package/dist/esm/cat-skeleton.entry.js.map +1 -0
- package/dist/esm/cat-spinner.entry.js +23 -0
- package/dist/esm/cat-spinner.entry.js.map +1 -0
- package/dist/esm/cat-textarea.entry.js +87 -0
- package/dist/esm/cat-textarea.entry.js.map +1 -0
- package/dist/esm/cat-toggle.entry.js +66 -0
- package/dist/esm/cat-toggle.entry.js.map +1 -0
- package/dist/esm/cat-tooltip.entry.js +129 -0
- package/dist/esm/cat-tooltip.entry.js.map +1 -0
- package/dist/esm/catalyst.js +118 -6
- package/dist/esm/catalyst.js.map +1 -1
- package/dist/esm/css-shim-e6dd2538.js +6 -0
- package/dist/esm/css-shim-e6dd2538.js.map +1 -0
- package/dist/esm/dom-7fc649b0.js +75 -0
- package/dist/esm/dom-7fc649b0.js.map +1 -0
- package/dist/esm/first-tabbable-2d9f9e9a.js +2123 -0
- package/dist/esm/first-tabbable-2d9f9e9a.js.map +1 -0
- package/dist/esm/index-471d4e05.js +3059 -0
- package/dist/esm/index-471d4e05.js.map +1 -0
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +20 -4
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/loglevel-7f0f71af.js +346 -0
- package/dist/esm/loglevel-7f0f71af.js.map +1 -0
- package/dist/esm/shadow-css-4d56fa31.js +390 -0
- package/dist/esm/shadow-css-4d56fa31.js.map +1 -0
- package/dist/types/components/cat-alert/cat-alert.d.ts +4 -2
- package/dist/types/components/cat-alert/cat-alert.e2e.d.ts +1 -0
- package/dist/types/components/cat-alert/cat-alert.spec.d.ts +1 -0
- package/dist/types/components/cat-badge/cat-badge.d.ts +3 -2
- package/dist/types/components/cat-badge/cat-badge.e2e.d.ts +1 -0
- package/dist/types/components/cat-badge/cat-badge.spec.d.ts +1 -0
- package/dist/types/components/cat-button/cat-button.d.ts +8 -3
- package/dist/types/components/cat-button/cat-button.e2e.d.ts +1 -0
- package/dist/types/components/cat-button/cat-button.spec.d.ts +1 -0
- package/dist/types/components/cat-card/cat-card.d.ts +7 -0
- package/dist/types/components/cat-card/cat-card.e2e.d.ts +1 -0
- package/dist/types/components/cat-card/cat-card.spec.d.ts +1 -0
- package/dist/types/components/cat-checkbox/cat-checkbox.d.ts +69 -0
- package/dist/types/components/cat-checkbox/cat-checkbox.e2e.d.ts +1 -0
- package/dist/types/components/cat-checkbox/cat-checkbox.spec.d.ts +1 -0
- package/dist/types/components/cat-i18n/cat-i18n-registry.d.ts +18 -0
- package/dist/types/components/cat-icon/cat-icon-registry.d.ts +4 -4
- package/dist/types/components/cat-icon/cat-icon.d.ts +1 -1
- package/dist/types/components/cat-icon/cat-icon.e2e.d.ts +1 -0
- package/dist/types/components/cat-icon/cat-icon.spec.d.ts +1 -0
- package/dist/types/components/cat-input/cat-input.d.ts +130 -0
- package/dist/types/components/cat-input/cat-input.e2e.d.ts +1 -0
- package/dist/types/components/cat-input/cat-input.spec.d.ts +1 -0
- package/dist/types/components/cat-menu/cat-menu.d.ts +0 -1
- package/dist/types/components/cat-menu/cat-menu.e2e.d.ts +1 -0
- package/dist/types/components/cat-menu/cat-menu.spec.d.ts +1 -0
- package/dist/types/components/cat-radio/cat-radio.d.ts +63 -0
- package/dist/types/components/cat-radio/cat-radio.e2e.d.ts +1 -0
- package/dist/types/components/cat-radio/cat-radio.spec.d.ts +1 -0
- package/dist/types/components/cat-scrollable/cat-scrollable.d.ts +3 -1
- package/dist/types/components/cat-scrollable/cat-scrollable.e2e.d.ts +1 -0
- package/dist/types/components/cat-scrollable/cat-scrollable.spec.d.ts +1 -0
- package/dist/types/components/cat-skeleton/cat-skeleton.e2e.d.ts +1 -0
- package/dist/types/components/cat-skeleton/cat-skeleton.spec.d.ts +1 -0
- package/dist/types/components/cat-spinner/cat-spinner.e2e.d.ts +1 -0
- package/dist/types/components/cat-spinner/cat-spinner.spec.d.ts +1 -0
- package/dist/types/components/cat-textarea/cat-textarea.d.ts +85 -0
- package/dist/types/components/cat-textarea/cat-textarea.e2e.d.ts +1 -0
- package/dist/types/components/cat-textarea/cat-textarea.spec.d.ts +1 -0
- package/dist/types/components/cat-toggle/cat-toggle.d.ts +64 -0
- package/dist/types/components/cat-toggle/cat-toggle.e2e.d.ts +1 -0
- package/dist/types/components/cat-toggle/cat-toggle.spec.d.ts +1 -0
- package/dist/types/components/cat-tooltip/cat-tooltip.d.ts +46 -0
- package/dist/types/components/cat-tooltip/cat-tooltip.e2e.d.ts +1 -0
- package/dist/types/components/cat-tooltip/cat-tooltip.spec.d.ts +1 -0
- package/dist/types/components.d.ts +680 -4
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/first-tabbable.d.ts +4 -0
- package/dist/types/utils/is-touch-screen.d.ts +2 -0
- package/dist/types/utils/media-matcher.spec.d.ts +1 -0
- package/package.json +9 -7
- package/dist/catalyst/p-31b500c7.entry.js +0 -10
- package/dist/catalyst/p-31b500c7.entry.js.map +0 -1
- package/dist/catalyst/p-ed826597.js +0 -2
- package/dist/catalyst/p-ed826597.js.map +0 -1
- package/dist/catalyst/p-ef0a8ae9.js +0 -2
- package/dist/catalyst/p-ef0a8ae9.js.map +0 -1
- package/dist/catalyst/p-f151cb13.js +0 -2
- package/dist/catalyst/p-f151cb13.js.map +0 -1
- package/dist/cjs/app-globals-7f2b1f8e.js +0 -173
- package/dist/cjs/app-globals-7f2b1f8e.js.map +0 -1
- package/dist/cjs/cat-alert_8.cjs.entry.js +0 -4450
- package/dist/cjs/cat-alert_8.cjs.entry.js.map +0 -1
- package/dist/cjs/cat-icon-registry-850c538c.js.map +0 -1
- package/dist/cjs/index-c0881ae0.js +0 -1348
- package/dist/cjs/index-c0881ae0.js.map +0 -1
- package/dist/collection/utils/utils.js +0 -4
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/esm/app-globals-8af9b2cf.js +0 -171
- package/dist/esm/app-globals-8af9b2cf.js.map +0 -1
- package/dist/esm/cat-alert_8.entry.js +0 -4439
- package/dist/esm/cat-alert_8.entry.js.map +0 -1
- package/dist/esm/cat-icon-registry-59da2e37.js.map +0 -1
- package/dist/esm/index-0ff35bca.js +0 -1320
- package/dist/esm/index-0ff35bca.js.map +0 -1
- package/dist/types/utils/utils.d.ts +0 -1
|
@@ -41,6 +41,10 @@ export namespace Components {
|
|
|
41
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
42
|
*/
|
|
43
43
|
"a11yLabel"?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Show an active status indicator on the left side of the button.
|
|
46
|
+
*/
|
|
47
|
+
"active": boolean;
|
|
44
48
|
/**
|
|
45
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.
|
|
46
50
|
*/
|
|
@@ -66,9 +70,9 @@ export namespace Components {
|
|
|
66
70
|
*/
|
|
67
71
|
"iconOnly": boolean | Breakpoint;
|
|
68
72
|
/**
|
|
69
|
-
* Display the icon
|
|
73
|
+
* Display the icon on the right.
|
|
70
74
|
*/
|
|
71
|
-
"
|
|
75
|
+
"iconRight": boolean;
|
|
72
76
|
/**
|
|
73
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.
|
|
74
78
|
*/
|
|
@@ -111,6 +115,47 @@ export namespace Components {
|
|
|
111
115
|
*/
|
|
112
116
|
"variant": 'filled' | 'outlined' | 'text';
|
|
113
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
|
+
}
|
|
114
159
|
interface CatIcon {
|
|
115
160
|
/**
|
|
116
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.
|
|
@@ -125,12 +170,142 @@ export namespace Components {
|
|
|
125
170
|
*/
|
|
126
171
|
"size": 'xs' | 's' | 'm' | 'l' | 'xl' | 'inline';
|
|
127
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
|
+
}
|
|
128
268
|
interface CatMenu {
|
|
129
269
|
/**
|
|
130
270
|
* The placement of the menu.
|
|
131
271
|
*/
|
|
132
272
|
"placement": Placement;
|
|
133
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
|
+
}
|
|
134
309
|
interface CatScrollable {
|
|
135
310
|
/**
|
|
136
311
|
* Flags to enable/disable overflowX.
|
|
@@ -189,6 +364,122 @@ export namespace Components {
|
|
|
189
364
|
*/
|
|
190
365
|
"size": 'xs' | 's' | 'm' | 'l' | 'xl' | 'inline';
|
|
191
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
|
+
}
|
|
192
483
|
}
|
|
193
484
|
declare global {
|
|
194
485
|
interface HTMLCatAlertElement extends Components.CatAlert, HTMLStencilElement {
|
|
@@ -209,18 +500,42 @@ declare global {
|
|
|
209
500
|
prototype: HTMLCatButtonElement;
|
|
210
501
|
new (): HTMLCatButtonElement;
|
|
211
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
|
+
};
|
|
212
515
|
interface HTMLCatIconElement extends Components.CatIcon, HTMLStencilElement {
|
|
213
516
|
}
|
|
214
517
|
var HTMLCatIconElement: {
|
|
215
518
|
prototype: HTMLCatIconElement;
|
|
216
519
|
new (): HTMLCatIconElement;
|
|
217
520
|
};
|
|
521
|
+
interface HTMLCatInputElement extends Components.CatInput, HTMLStencilElement {
|
|
522
|
+
}
|
|
523
|
+
var HTMLCatInputElement: {
|
|
524
|
+
prototype: HTMLCatInputElement;
|
|
525
|
+
new (): HTMLCatInputElement;
|
|
526
|
+
};
|
|
218
527
|
interface HTMLCatMenuElement extends Components.CatMenu, HTMLStencilElement {
|
|
219
528
|
}
|
|
220
529
|
var HTMLCatMenuElement: {
|
|
221
530
|
prototype: HTMLCatMenuElement;
|
|
222
531
|
new (): HTMLCatMenuElement;
|
|
223
532
|
};
|
|
533
|
+
interface HTMLCatRadioElement extends Components.CatRadio, HTMLStencilElement {
|
|
534
|
+
}
|
|
535
|
+
var HTMLCatRadioElement: {
|
|
536
|
+
prototype: HTMLCatRadioElement;
|
|
537
|
+
new (): HTMLCatRadioElement;
|
|
538
|
+
};
|
|
224
539
|
interface HTMLCatScrollableElement extends Components.CatScrollable, HTMLStencilElement {
|
|
225
540
|
}
|
|
226
541
|
var HTMLCatScrollableElement: {
|
|
@@ -239,15 +554,40 @@ declare global {
|
|
|
239
554
|
prototype: HTMLCatSpinnerElement;
|
|
240
555
|
new (): HTMLCatSpinnerElement;
|
|
241
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
|
+
};
|
|
242
575
|
interface HTMLElementTagNameMap {
|
|
243
576
|
"cat-alert": HTMLCatAlertElement;
|
|
244
577
|
"cat-badge": HTMLCatBadgeElement;
|
|
245
578
|
"cat-button": HTMLCatButtonElement;
|
|
579
|
+
"cat-card": HTMLCatCardElement;
|
|
580
|
+
"cat-checkbox": HTMLCatCheckboxElement;
|
|
246
581
|
"cat-icon": HTMLCatIconElement;
|
|
582
|
+
"cat-input": HTMLCatInputElement;
|
|
247
583
|
"cat-menu": HTMLCatMenuElement;
|
|
584
|
+
"cat-radio": HTMLCatRadioElement;
|
|
248
585
|
"cat-scrollable": HTMLCatScrollableElement;
|
|
249
586
|
"cat-skeleton": HTMLCatSkeletonElement;
|
|
250
587
|
"cat-spinner": HTMLCatSpinnerElement;
|
|
588
|
+
"cat-textarea": HTMLCatTextareaElement;
|
|
589
|
+
"cat-toggle": HTMLCatToggleElement;
|
|
590
|
+
"cat-tooltip": HTMLCatTooltipElement;
|
|
251
591
|
}
|
|
252
592
|
}
|
|
253
593
|
declare namespace LocalJSX {
|
|
@@ -284,6 +624,10 @@ declare namespace LocalJSX {
|
|
|
284
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.
|
|
285
625
|
*/
|
|
286
626
|
"a11yLabel"?: string;
|
|
627
|
+
/**
|
|
628
|
+
* Show an active status indicator on the left side of the button.
|
|
629
|
+
*/
|
|
630
|
+
"active"?: boolean;
|
|
287
631
|
/**
|
|
288
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.
|
|
289
633
|
*/
|
|
@@ -309,9 +653,9 @@ declare namespace LocalJSX {
|
|
|
309
653
|
*/
|
|
310
654
|
"iconOnly"?: boolean | Breakpoint;
|
|
311
655
|
/**
|
|
312
|
-
* Display the icon
|
|
656
|
+
* Display the icon on the right.
|
|
313
657
|
*/
|
|
314
|
-
"
|
|
658
|
+
"iconRight"?: boolean;
|
|
315
659
|
/**
|
|
316
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.
|
|
317
661
|
*/
|
|
@@ -361,6 +705,54 @@ declare namespace LocalJSX {
|
|
|
361
705
|
*/
|
|
362
706
|
"variant"?: 'filled' | 'outlined' | 'text';
|
|
363
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
|
+
}
|
|
364
756
|
interface CatIcon {
|
|
365
757
|
/**
|
|
366
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.
|
|
@@ -375,6 +767,104 @@ declare namespace LocalJSX {
|
|
|
375
767
|
*/
|
|
376
768
|
"size"?: 'xs' | 's' | 'm' | 'l' | 'xl' | 'inline';
|
|
377
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
|
+
}
|
|
378
868
|
interface CatMenu {
|
|
379
869
|
/**
|
|
380
870
|
* Emitted when the menu is closed.
|
|
@@ -389,6 +879,48 @@ declare namespace LocalJSX {
|
|
|
389
879
|
*/
|
|
390
880
|
"placement"?: Placement;
|
|
391
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
|
+
}
|
|
392
924
|
interface CatScrollable {
|
|
393
925
|
/**
|
|
394
926
|
* Emitted when the content is fully scrolled to the bottom.
|
|
@@ -463,15 +995,152 @@ declare namespace LocalJSX {
|
|
|
463
995
|
*/
|
|
464
996
|
"size"?: 'xs' | 's' | 'm' | 'l' | 'xl' | 'inline';
|
|
465
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
|
+
}
|
|
466
1128
|
interface IntrinsicElements {
|
|
467
1129
|
"cat-alert": CatAlert;
|
|
468
1130
|
"cat-badge": CatBadge;
|
|
469
1131
|
"cat-button": CatButton;
|
|
1132
|
+
"cat-card": CatCard;
|
|
1133
|
+
"cat-checkbox": CatCheckbox;
|
|
470
1134
|
"cat-icon": CatIcon;
|
|
1135
|
+
"cat-input": CatInput;
|
|
471
1136
|
"cat-menu": CatMenu;
|
|
1137
|
+
"cat-radio": CatRadio;
|
|
472
1138
|
"cat-scrollable": CatScrollable;
|
|
473
1139
|
"cat-skeleton": CatSkeleton;
|
|
474
1140
|
"cat-spinner": CatSpinner;
|
|
1141
|
+
"cat-textarea": CatTextarea;
|
|
1142
|
+
"cat-toggle": CatToggle;
|
|
1143
|
+
"cat-tooltip": CatTooltip;
|
|
475
1144
|
}
|
|
476
1145
|
}
|
|
477
1146
|
export { LocalJSX as JSX };
|
|
@@ -481,11 +1150,18 @@ declare module "@stencil/core" {
|
|
|
481
1150
|
"cat-alert": LocalJSX.CatAlert & JSXBase.HTMLAttributes<HTMLCatAlertElement>;
|
|
482
1151
|
"cat-badge": LocalJSX.CatBadge & JSXBase.HTMLAttributes<HTMLCatBadgeElement>;
|
|
483
1152
|
"cat-button": LocalJSX.CatButton & JSXBase.HTMLAttributes<HTMLCatButtonElement>;
|
|
1153
|
+
"cat-card": LocalJSX.CatCard & JSXBase.HTMLAttributes<HTMLCatCardElement>;
|
|
1154
|
+
"cat-checkbox": LocalJSX.CatCheckbox & JSXBase.HTMLAttributes<HTMLCatCheckboxElement>;
|
|
484
1155
|
"cat-icon": LocalJSX.CatIcon & JSXBase.HTMLAttributes<HTMLCatIconElement>;
|
|
1156
|
+
"cat-input": LocalJSX.CatInput & JSXBase.HTMLAttributes<HTMLCatInputElement>;
|
|
485
1157
|
"cat-menu": LocalJSX.CatMenu & JSXBase.HTMLAttributes<HTMLCatMenuElement>;
|
|
1158
|
+
"cat-radio": LocalJSX.CatRadio & JSXBase.HTMLAttributes<HTMLCatRadioElement>;
|
|
486
1159
|
"cat-scrollable": LocalJSX.CatScrollable & JSXBase.HTMLAttributes<HTMLCatScrollableElement>;
|
|
487
1160
|
"cat-skeleton": LocalJSX.CatSkeleton & JSXBase.HTMLAttributes<HTMLCatSkeletonElement>;
|
|
488
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>;
|
|
489
1165
|
}
|
|
490
1166
|
}
|
|
491
1167
|
}
|