@haiilo/catalyst 8.1.0 → 8.2.0
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/catalyst.css +4 -9
- package/dist/catalyst/catalyst.esm.js +1 -1
- package/dist/catalyst/catalyst.esm.js.map +1 -1
- package/dist/catalyst/index.esm.js +2 -2
- package/dist/catalyst/{p-85d057f0.js → p-6ae13953.js} +1 -1
- package/dist/catalyst/p-6cd4fa1e.js +3 -0
- package/dist/catalyst/p-6cd4fa1e.js.map +1 -0
- package/dist/catalyst/p-a05fbea3.entry.js +10 -0
- package/dist/catalyst/p-a05fbea3.entry.js.map +1 -0
- package/dist/catalyst/scss/core/_dialog.scss +1 -1
- package/dist/catalyst/scss/core/_form.scss +2 -1
- package/dist/catalyst/scss/core/_typography.scss +1 -7
- package/dist/cjs/cat-alert_26.cjs.entry.js +3899 -3883
- package/dist/cjs/cat-alert_26.cjs.entry.js.map +1 -1
- package/dist/cjs/catalyst.cjs.js +3 -3
- package/dist/cjs/catalyst.cjs.js.map +1 -1
- package/dist/cjs/{index-1e7eef7e.js → index-eb056d5e.js} +51 -13
- package/dist/cjs/index-eb056d5e.js.map +1 -0
- package/dist/cjs/index.cjs.js +73 -73
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{of-395b2f57.js → of-2b7161d2.js} +155 -155
- package/dist/cjs/of-2b7161d2.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/cat-alert/cat-alert.e2e.js +7 -7
- package/dist/collection/components/cat-alert/cat-alert.e2e.js.map +1 -1
- package/dist/collection/components/cat-alert/cat-alert.js +98 -98
- package/dist/collection/components/cat-alert/cat-alert.js.map +1 -1
- package/dist/collection/components/cat-alert/cat-alert.spec.js +7 -7
- package/dist/collection/components/cat-alert/cat-alert.spec.js.map +1 -1
- package/dist/collection/components/cat-avatar/cat-avatar.e2e.js +6 -6
- package/dist/collection/components/cat-avatar/cat-avatar.e2e.js.map +1 -1
- package/dist/collection/components/cat-avatar/cat-avatar.js +218 -218
- package/dist/collection/components/cat-avatar/cat-avatar.js.map +1 -1
- package/dist/collection/components/cat-avatar/cat-avatar.spec.js +7 -7
- package/dist/collection/components/cat-avatar/cat-avatar.spec.js.map +1 -1
- package/dist/collection/components/cat-badge/cat-badge.e2e.js +6 -6
- package/dist/collection/components/cat-badge/cat-badge.e2e.js.map +1 -1
- package/dist/collection/components/cat-badge/cat-badge.js +117 -117
- package/dist/collection/components/cat-badge/cat-badge.js.map +1 -1
- package/dist/collection/components/cat-badge/cat-badge.spec.js +7 -7
- package/dist/collection/components/cat-badge/cat-badge.spec.js.map +1 -1
- package/dist/collection/components/cat-button/cat-button.css +2 -1
- package/dist/collection/components/cat-button/cat-button.e2e.js +6 -6
- package/dist/collection/components/cat-button/cat-button.e2e.js.map +1 -1
- package/dist/collection/components/cat-button/cat-button.js +693 -693
- package/dist/collection/components/cat-button/cat-button.js.map +1 -1
- package/dist/collection/components/cat-button/cat-button.spec.js +7 -7
- package/dist/collection/components/cat-button/cat-button.spec.js.map +1 -1
- package/dist/collection/components/cat-button-group/cat-button-group.e2e.js +6 -6
- package/dist/collection/components/cat-button-group/cat-button-group.e2e.js.map +1 -1
- package/dist/collection/components/cat-button-group/cat-button-group.js +47 -47
- package/dist/collection/components/cat-button-group/cat-button-group.js.map +1 -1
- package/dist/collection/components/cat-button-group/cat-button-group.spec.js +7 -7
- package/dist/collection/components/cat-button-group/cat-button-group.spec.js.map +1 -1
- package/dist/collection/components/cat-card/cat-card.e2e.js +6 -6
- package/dist/collection/components/cat-card/cat-card.e2e.js.map +1 -1
- package/dist/collection/components/cat-card/cat-card.js +15 -15
- package/dist/collection/components/cat-card/cat-card.js.map +1 -1
- package/dist/collection/components/cat-card/cat-card.spec.js +7 -7
- package/dist/collection/components/cat-card/cat-card.spec.js.map +1 -1
- package/dist/collection/components/cat-checkbox/cat-checkbox.css +2 -1
- package/dist/collection/components/cat-checkbox/cat-checkbox.e2e.js +6 -6
- package/dist/collection/components/cat-checkbox/cat-checkbox.e2e.js.map +1 -1
- package/dist/collection/components/cat-checkbox/cat-checkbox.js +441 -441
- package/dist/collection/components/cat-checkbox/cat-checkbox.js.map +1 -1
- package/dist/collection/components/cat-checkbox/cat-checkbox.spec.js +7 -7
- package/dist/collection/components/cat-checkbox/cat-checkbox.spec.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.config.js +62 -62
- package/dist/collection/components/cat-datepicker/cat-datepicker.config.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.e2e.js +7 -7
- package/dist/collection/components/cat-datepicker/cat-datepicker.e2e.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.format.js +20 -20
- package/dist/collection/components/cat-datepicker/cat-datepicker.format.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.js +720 -707
- package/dist/collection/components/cat-datepicker/cat-datepicker.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.locale.js +39 -39
- package/dist/collection/components/cat-datepicker/cat-datepicker.locale.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.spec.js +7 -7
- package/dist/collection/components/cat-datepicker/cat-datepicker.spec.js.map +1 -1
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.e2e.js +7 -7
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.e2e.js.map +1 -1
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.js +244 -244
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.js.map +1 -1
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.spec.js +7 -7
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.spec.js.map +1 -1
- package/dist/collection/components/cat-dropdown/cat-dropdown.e2e.js +6 -6
- package/dist/collection/components/cat-dropdown/cat-dropdown.e2e.js.map +1 -1
- package/dist/collection/components/cat-dropdown/cat-dropdown.js +300 -300
- package/dist/collection/components/cat-dropdown/cat-dropdown.js.map +1 -1
- package/dist/collection/components/cat-dropdown/cat-dropdown.spec.js +7 -7
- package/dist/collection/components/cat-dropdown/cat-dropdown.spec.js.map +1 -1
- package/dist/collection/components/cat-form-group/cat-form-group.e2e.js +6 -6
- package/dist/collection/components/cat-form-group/cat-form-group.e2e.js.map +1 -1
- package/dist/collection/components/cat-form-group/cat-form-group.js +107 -107
- package/dist/collection/components/cat-form-group/cat-form-group.js.map +1 -1
- package/dist/collection/components/cat-form-group/cat-form-group.spec.js +7 -7
- package/dist/collection/components/cat-form-group/cat-form-group.spec.js.map +1 -1
- package/dist/collection/components/cat-form-hint/cat-form-hint.js +9 -9
- package/dist/collection/components/cat-form-hint/cat-form-hint.js.map +1 -1
- package/dist/collection/components/cat-form-hint/cat-form-hint.spec.js +7 -7
- package/dist/collection/components/cat-form-hint/cat-form-hint.spec.js.map +1 -1
- package/dist/collection/components/cat-i18n/cat-i18n-registry.js +71 -71
- package/dist/collection/components/cat-i18n/cat-i18n-registry.js.map +1 -1
- package/dist/collection/components/cat-i18n/cat-i18n-registry.spec.js +3 -3
- package/dist/collection/components/cat-i18n/cat-i18n-registry.spec.js.map +1 -1
- package/dist/collection/components/cat-icon/cat-icon-registry.js +77 -77
- package/dist/collection/components/cat-icon/cat-icon-registry.js.map +1 -1
- package/dist/collection/components/cat-icon/cat-icon-registry.spec.js +3 -3
- package/dist/collection/components/cat-icon/cat-icon-registry.spec.js.map +1 -1
- package/dist/collection/components/cat-icon/cat-icon.e2e.js +7 -7
- package/dist/collection/components/cat-icon/cat-icon.e2e.js.map +1 -1
- package/dist/collection/components/cat-icon/cat-icon.js +97 -97
- package/dist/collection/components/cat-icon/cat-icon.js.map +1 -1
- package/dist/collection/components/cat-icon/cat-icon.spec.js +7 -7
- package/dist/collection/components/cat-icon/cat-icon.spec.js.map +1 -1
- package/dist/collection/components/cat-input/cat-input.e2e.js +7 -7
- package/dist/collection/components/cat-input/cat-input.e2e.js.map +1 -1
- package/dist/collection/components/cat-input/cat-input.js +768 -768
- package/dist/collection/components/cat-input/cat-input.js.map +1 -1
- package/dist/collection/components/cat-input/cat-input.spec.js +7 -7
- package/dist/collection/components/cat-input/cat-input.spec.js.map +1 -1
- package/dist/collection/components/cat-notification/cat-notification.js +59 -59
- package/dist/collection/components/cat-notification/cat-notification.js.map +1 -1
- package/dist/collection/components/cat-notification/cat-notification.spec.js +3 -3
- package/dist/collection/components/cat-notification/cat-notification.spec.js.map +1 -1
- package/dist/collection/components/cat-pagination/cat-pagination.e2e.js +10 -10
- package/dist/collection/components/cat-pagination/cat-pagination.e2e.js.map +1 -1
- package/dist/collection/components/cat-pagination/cat-pagination.js +274 -274
- package/dist/collection/components/cat-pagination/cat-pagination.js.map +1 -1
- package/dist/collection/components/cat-pagination/cat-pagination.spec.js +7 -7
- package/dist/collection/components/cat-pagination/cat-pagination.spec.js.map +1 -1
- package/dist/collection/components/cat-radio/cat-radio.e2e.js +6 -6
- package/dist/collection/components/cat-radio/cat-radio.e2e.js.map +1 -1
- package/dist/collection/components/cat-radio/cat-radio.js +378 -378
- package/dist/collection/components/cat-radio/cat-radio.js.map +1 -1
- package/dist/collection/components/cat-radio/cat-radio.spec.js +7 -7
- package/dist/collection/components/cat-radio/cat-radio.spec.js.map +1 -1
- package/dist/collection/components/cat-radio-group/cat-radio-group.e2e.js +6 -6
- package/dist/collection/components/cat-radio-group/cat-radio-group.e2e.js.map +1 -1
- package/dist/collection/components/cat-radio-group/cat-radio-group.js +278 -278
- package/dist/collection/components/cat-radio-group/cat-radio-group.js.map +1 -1
- package/dist/collection/components/cat-radio-group/cat-radio-group.spec.js +7 -7
- package/dist/collection/components/cat-radio-group/cat-radio-group.spec.js.map +1 -1
- package/dist/collection/components/cat-scrollable/cat-scrollable.e2e.js +6 -6
- package/dist/collection/components/cat-scrollable/cat-scrollable.e2e.js.map +1 -1
- package/dist/collection/components/cat-scrollable/cat-scrollable.js +287 -287
- package/dist/collection/components/cat-scrollable/cat-scrollable.js.map +1 -1
- package/dist/collection/components/cat-scrollable/cat-scrollable.spec.js +7 -7
- package/dist/collection/components/cat-scrollable/cat-scrollable.spec.js.map +1 -1
- package/dist/collection/components/cat-select/cat-select.e2e.js +10 -10
- package/dist/collection/components/cat-select/cat-select.e2e.js.map +1 -1
- package/dist/collection/components/cat-select/cat-select.js +1143 -1143
- package/dist/collection/components/cat-select/cat-select.js.map +1 -1
- package/dist/collection/components/cat-select/cat-select.spec.js +7 -7
- package/dist/collection/components/cat-select/cat-select.spec.js.map +1 -1
- package/dist/collection/components/cat-select/connectors.js +13 -13
- package/dist/collection/components/cat-select/connectors.js.map +1 -1
- package/dist/collection/components/cat-select-demo/cat-select-demo.js +1379 -1379
- package/dist/collection/components/cat-select-demo/cat-select-demo.js.map +1 -1
- package/dist/collection/components/cat-skeleton/cat-skeleton.e2e.js +6 -6
- package/dist/collection/components/cat-skeleton/cat-skeleton.e2e.js.map +1 -1
- package/dist/collection/components/cat-skeleton/cat-skeleton.js +120 -120
- package/dist/collection/components/cat-skeleton/cat-skeleton.js.map +1 -1
- package/dist/collection/components/cat-skeleton/cat-skeleton.spec.js +7 -7
- package/dist/collection/components/cat-skeleton/cat-skeleton.spec.js.map +1 -1
- package/dist/collection/components/cat-spinner/cat-spinner.e2e.js +6 -6
- package/dist/collection/components/cat-spinner/cat-spinner.e2e.js.map +1 -1
- package/dist/collection/components/cat-spinner/cat-spinner.js +60 -60
- package/dist/collection/components/cat-spinner/cat-spinner.js.map +1 -1
- package/dist/collection/components/cat-spinner/cat-spinner.spec.js +7 -7
- package/dist/collection/components/cat-spinner/cat-spinner.spec.js.map +1 -1
- package/dist/collection/components/cat-tab/cat-tab.e2e.js +6 -6
- package/dist/collection/components/cat-tab/cat-tab.e2e.js.map +1 -1
- package/dist/collection/components/cat-tab/cat-tab.js +230 -211
- package/dist/collection/components/cat-tab/cat-tab.js.map +1 -1
- package/dist/collection/components/cat-tab/cat-tab.spec.js +7 -7
- package/dist/collection/components/cat-tab/cat-tab.spec.js.map +1 -1
- package/dist/collection/components/cat-tabs/cat-tabs.css +3 -0
- package/dist/collection/components/cat-tabs/cat-tabs.e2e.js +6 -6
- package/dist/collection/components/cat-tabs/cat-tabs.e2e.js.map +1 -1
- package/dist/collection/components/cat-tabs/cat-tabs.js +222 -215
- package/dist/collection/components/cat-tabs/cat-tabs.js.map +1 -1
- package/dist/collection/components/cat-tabs/cat-tabs.spec.js +7 -7
- package/dist/collection/components/cat-tabs/cat-tabs.spec.js.map +1 -1
- package/dist/collection/components/cat-textarea/cat-textarea.e2e.js +7 -7
- package/dist/collection/components/cat-textarea/cat-textarea.e2e.js.map +1 -1
- package/dist/collection/components/cat-textarea/cat-textarea.js +586 -586
- package/dist/collection/components/cat-textarea/cat-textarea.js.map +1 -1
- package/dist/collection/components/cat-textarea/cat-textarea.spec.js +7 -7
- package/dist/collection/components/cat-textarea/cat-textarea.spec.js.map +1 -1
- package/dist/collection/components/cat-toggle/cat-toggle.e2e.js +6 -6
- package/dist/collection/components/cat-toggle/cat-toggle.e2e.js.map +1 -1
- package/dist/collection/components/cat-toggle/cat-toggle.js +421 -421
- package/dist/collection/components/cat-toggle/cat-toggle.js.map +1 -1
- package/dist/collection/components/cat-toggle/cat-toggle.spec.js +7 -7
- package/dist/collection/components/cat-toggle/cat-toggle.spec.js.map +1 -1
- package/dist/collection/components/cat-tooltip/cat-tooltip.css +3 -0
- package/dist/collection/components/cat-tooltip/cat-tooltip.e2e.js +6 -6
- package/dist/collection/components/cat-tooltip/cat-tooltip.e2e.js.map +1 -1
- package/dist/collection/components/cat-tooltip/cat-tooltip.js +297 -296
- package/dist/collection/components/cat-tooltip/cat-tooltip.js.map +1 -1
- package/dist/collection/components/cat-tooltip/cat-tooltip.spec.js +12 -8
- package/dist/collection/components/cat-tooltip/cat-tooltip.spec.js.map +1 -1
- package/dist/collection/scss/core/_dialog.scss +1 -1
- package/dist/collection/scss/core/_form.scss +2 -1
- package/dist/collection/scss/core/_typography.scss +1 -7
- package/dist/collection/utils/breakpoints.js +6 -6
- package/dist/collection/utils/breakpoints.js.map +1 -1
- package/dist/collection/utils/coerce.js +3 -3
- package/dist/collection/utils/coerce.js.map +1 -1
- package/dist/collection/utils/find-closest.js +6 -6
- package/dist/collection/utils/find-closest.js.map +1 -1
- package/dist/collection/utils/first-tabbable.js +1 -1
- package/dist/collection/utils/first-tabbable.js.map +1 -1
- package/dist/collection/utils/load-img.js +6 -6
- package/dist/collection/utils/load-img.js.map +1 -1
- package/dist/collection/utils/media-matcher.js +30 -30
- package/dist/collection/utils/media-matcher.js.map +1 -1
- package/dist/collection/utils/media-matcher.spec.js +32 -32
- package/dist/collection/utils/media-matcher.spec.js.map +1 -1
- package/dist/collection/utils/platform.js +34 -34
- package/dist/collection/utils/platform.js.map +1 -1
- package/dist/collection/utils/setDefault.js +4 -4
- package/dist/collection/utils/setDefault.js.map +1 -1
- package/dist/components/cat-alert.d.ts +2 -2
- package/dist/components/cat-alert.js +56 -56
- package/dist/components/cat-alert.js.map +1 -1
- package/dist/components/cat-avatar.d.ts +2 -2
- package/dist/components/cat-avatar2.js +93 -93
- package/dist/components/cat-avatar2.js.map +1 -1
- package/dist/components/cat-badge.d.ts +2 -2
- package/dist/components/cat-badge.js +32 -32
- package/dist/components/cat-badge.js.map +1 -1
- package/dist/components/cat-button-group.d.ts +2 -2
- package/dist/components/cat-button-group.js +31 -31
- package/dist/components/cat-button-group.js.map +1 -1
- package/dist/components/cat-button.d.ts +2 -2
- package/dist/components/cat-button2.js +277 -277
- package/dist/components/cat-button2.js.map +1 -1
- package/dist/components/cat-card.d.ts +2 -2
- package/dist/components/cat-card.js +20 -20
- package/dist/components/cat-card.js.map +1 -1
- package/dist/components/cat-checkbox.d.ts +2 -2
- package/dist/components/cat-checkbox2.js +108 -108
- package/dist/components/cat-checkbox2.js.map +1 -1
- package/dist/components/cat-datepicker-inline.d.ts +2 -2
- package/dist/components/cat-datepicker-inline.js +89 -89
- package/dist/components/cat-datepicker-inline.js.map +1 -1
- package/dist/components/cat-datepicker.d.ts +2 -2
- package/dist/components/cat-datepicker.js +203 -194
- package/dist/components/cat-datepicker.js.map +1 -1
- package/dist/components/cat-datepicker.locale.js +121 -121
- package/dist/components/cat-datepicker.locale.js.map +1 -1
- package/dist/components/cat-dropdown.d.ts +2 -2
- package/dist/components/cat-dropdown2.js +177 -177
- package/dist/components/cat-dropdown2.js.map +1 -1
- package/dist/components/cat-form-group.d.ts +2 -2
- package/dist/components/cat-form-group.js +55 -55
- package/dist/components/cat-form-group.js.map +1 -1
- package/dist/components/cat-form-hint.js +9 -9
- package/dist/components/cat-form-hint.js.map +1 -1
- package/dist/components/cat-i18n-registry.js +71 -71
- package/dist/components/cat-i18n-registry.js.map +1 -1
- package/dist/components/cat-icon-registry.js +77 -77
- package/dist/components/cat-icon-registry.js.map +1 -1
- package/dist/components/cat-icon.d.ts +2 -2
- package/dist/components/cat-icon2.js +32 -32
- package/dist/components/cat-icon2.js.map +1 -1
- package/dist/components/cat-input.d.ts +2 -2
- package/dist/components/cat-input2.js +219 -219
- package/dist/components/cat-input2.js.map +1 -1
- package/dist/components/cat-pagination.d.ts +2 -2
- package/dist/components/cat-pagination.js +103 -103
- package/dist/components/cat-pagination.js.map +1 -1
- package/dist/components/cat-radio-group.d.ts +2 -2
- package/dist/components/cat-radio-group.js +113 -113
- package/dist/components/cat-radio-group.js.map +1 -1
- package/dist/components/cat-radio.d.ts +2 -2
- package/dist/components/cat-radio.js +93 -93
- package/dist/components/cat-radio.js.map +1 -1
- package/dist/components/cat-scrollable.d.ts +2 -2
- package/dist/components/cat-scrollable2.js +118 -118
- package/dist/components/cat-scrollable2.js.map +1 -1
- package/dist/components/cat-select-demo.d.ts +2 -2
- package/dist/components/cat-select-demo.js +1438 -1438
- package/dist/components/cat-select-demo.js.map +1 -1
- package/dist/components/cat-select.d.ts +2 -2
- package/dist/components/cat-select2.js +666 -666
- package/dist/components/cat-select2.js.map +1 -1
- package/dist/components/cat-skeleton.d.ts +2 -2
- package/dist/components/cat-skeleton2.js +53 -53
- package/dist/components/cat-skeleton2.js.map +1 -1
- package/dist/components/cat-spinner.d.ts +2 -2
- package/dist/components/cat-spinner2.js +27 -27
- package/dist/components/cat-spinner2.js.map +1 -1
- package/dist/components/cat-tab.d.ts +2 -2
- package/dist/components/cat-tab.js +48 -46
- package/dist/components/cat-tab.js.map +1 -1
- package/dist/components/cat-tabs.d.ts +2 -2
- package/dist/components/cat-tabs.js +120 -113
- package/dist/components/cat-tabs.js.map +1 -1
- package/dist/components/cat-textarea.d.ts +2 -2
- package/dist/components/cat-textarea.js +178 -178
- package/dist/components/cat-textarea.js.map +1 -1
- package/dist/components/cat-toggle.d.ts +2 -2
- package/dist/components/cat-toggle.js +104 -104
- package/dist/components/cat-toggle.js.map +1 -1
- package/dist/components/cat-tooltip.d.ts +2 -2
- package/dist/components/cat-tooltip.js +144 -143
- package/dist/components/cat-tooltip.js.map +1 -1
- package/dist/components/coerce.js +3 -3
- package/dist/components/coerce.js.map +1 -1
- package/dist/components/index.js +72 -72
- package/dist/components/index.js.map +1 -1
- package/dist/esm/cat-alert_26.entry.js +3899 -3883
- package/dist/esm/cat-alert_26.entry.js.map +1 -1
- package/dist/esm/catalyst.js +4 -4
- package/dist/esm/catalyst.js.map +1 -1
- package/dist/esm/{index-30a221a3.js → index-acddba36.js} +51 -13
- package/dist/esm/index-acddba36.js.map +1 -0
- package/dist/esm/index.js +74 -74
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{of-04d3d9e1.js → of-4f92b30b.js} +155 -155
- package/dist/esm/of-4f92b30b.js.map +1 -0
- package/dist/types/components/cat-alert/cat-alert.d.ts +17 -17
- package/dist/types/components/cat-avatar/cat-avatar.d.ts +41 -41
- package/dist/types/components/cat-badge/cat-badge.d.ts +22 -22
- package/dist/types/components/cat-button/cat-button.d.ts +151 -151
- package/dist/types/components/cat-button-group/cat-button-group.d.ts +9 -9
- package/dist/types/components/cat-card/cat-card.d.ts +1 -1
- package/dist/types/components/cat-checkbox/cat-checkbox.d.ts +97 -97
- package/dist/types/components/cat-datepicker/cat-datepicker.config.d.ts +12 -12
- package/dist/types/components/cat-datepicker/cat-datepicker.d.ts +153 -149
- package/dist/types/components/cat-datepicker-inline/cat-datepicker-inline.d.ts +45 -45
- package/dist/types/components/cat-dropdown/cat-dropdown.d.ts +49 -49
- package/dist/types/components/cat-form-group/cat-form-group.d.ts +23 -23
- package/dist/types/components/cat-form-hint/cat-form-hint.d.ts +6 -6
- package/dist/types/components/cat-i18n/cat-i18n-registry.d.ts +17 -17
- package/dist/types/components/cat-icon/cat-icon-registry.d.ts +12 -12
- package/dist/types/components/cat-icon/cat-icon.d.ts +18 -18
- package/dist/types/components/cat-input/cat-input.d.ts +167 -167
- package/dist/types/components/cat-notification/cat-notification.d.ts +31 -31
- package/dist/types/components/cat-pagination/cat-pagination.d.ts +52 -52
- package/dist/types/components/cat-radio/cat-radio.d.ts +83 -83
- package/dist/types/components/cat-radio-group/cat-radio-group.d.ts +49 -49
- package/dist/types/components/cat-scrollable/cat-scrollable.d.ts +49 -49
- package/dist/types/components/cat-select/cat-select.d.ts +221 -221
- package/dist/types/components/cat-select/connectors.d.ts +5 -5
- package/dist/types/components/cat-select-demo/cat-select-demo.d.ts +11 -11
- package/dist/types/components/cat-skeleton/cat-skeleton.d.ts +23 -23
- package/dist/types/components/cat-spinner/cat-spinner.d.ts +10 -10
- package/dist/types/components/cat-tab/cat-tab.d.ts +48 -42
- package/dist/types/components/cat-tabs/cat-tabs.d.ts +40 -39
- package/dist/types/components/cat-textarea/cat-textarea.d.ts +131 -131
- package/dist/types/components/cat-toggle/cat-toggle.d.ts +93 -93
- package/dist/types/components/cat-tooltip/cat-tooltip.d.ts +64 -64
- package/dist/types/components.d.ts +10 -2
- package/dist/types/stencil-public-runtime.d.ts +8 -0
- package/dist/types/utils/breakpoints.d.ts +1 -1
- package/dist/types/utils/media-matcher.d.ts +10 -10
- package/dist/types/utils/platform.d.ts +16 -16
- package/dist/types/utils/setDefault.d.ts +2 -2
- package/package.json +18 -18
- package/dist/catalyst/p-1bd44896.js +0 -3
- package/dist/catalyst/p-1bd44896.js.map +0 -1
- package/dist/catalyst/p-dc953306.entry.js +0 -10
- package/dist/catalyst/p-dc953306.entry.js.map +0 -1
- package/dist/cjs/index-1e7eef7e.js.map +0 -1
- package/dist/cjs/of-395b2f57.js.map +0 -1
- package/dist/esm/index-30a221a3.js.map +0 -1
- package/dist/esm/of-04d3d9e1.js.map +0 -1
- /package/dist/catalyst/{p-85d057f0.js.map → p-6ae13953.js.map} +0 -0
|
@@ -3,22 +3,22 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { ErrorMap } from '../cat-form-hint/cat-form-hint';
|
|
5
5
|
export interface Item {
|
|
6
|
-
|
|
6
|
+
id: string;
|
|
7
7
|
}
|
|
8
8
|
export interface Page<T> {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
content: T[];
|
|
10
|
+
last: boolean;
|
|
11
|
+
totalElements?: number;
|
|
12
12
|
}
|
|
13
13
|
export interface RenderInfo {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
label: string;
|
|
15
|
+
description?: string;
|
|
16
|
+
avatar?: {
|
|
17
|
+
src?: string;
|
|
18
|
+
round?: boolean;
|
|
19
|
+
initials?: string;
|
|
20
|
+
icon?: string;
|
|
21
|
+
};
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* @property customId - Change the ID of item for the given one.
|
|
@@ -27,39 +27,39 @@ export interface RenderInfo {
|
|
|
27
27
|
* @property render - Renders the items of the select.
|
|
28
28
|
*/
|
|
29
29
|
export interface CatSelectConnector<T extends Item = any> {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
customId?: (item: T) => string;
|
|
31
|
+
resolve: (ids: string[]) => Observable<T[]>;
|
|
32
|
+
retrieve: (term: string, page: number) => Observable<Page<T>>;
|
|
33
|
+
render: (item: T) => RenderInfo;
|
|
34
34
|
}
|
|
35
35
|
export interface CatSelectState {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
36
|
+
term: string;
|
|
37
|
+
isOpen: boolean;
|
|
38
|
+
isLoading: boolean;
|
|
39
|
+
isResolving: boolean;
|
|
40
|
+
options: {
|
|
41
|
+
item: Item;
|
|
42
|
+
render: RenderInfo;
|
|
43
|
+
}[];
|
|
44
|
+
tempSelection: {
|
|
45
|
+
item: Item;
|
|
46
|
+
render: RenderInfo;
|
|
47
|
+
}[];
|
|
48
|
+
selection: {
|
|
49
|
+
item: Item;
|
|
50
|
+
render: RenderInfo;
|
|
51
|
+
}[];
|
|
52
|
+
activeOptionIndex: number;
|
|
53
|
+
activeSelectionIndex: number;
|
|
54
|
+
totalElements?: number;
|
|
55
55
|
}
|
|
56
56
|
export interface CatSelectMultipleTaggingValue {
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
ids: string[];
|
|
58
|
+
tags: string[];
|
|
59
59
|
}
|
|
60
60
|
export interface CatSelectTaggingValue {
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
id: string;
|
|
62
|
+
tag: string;
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
65
|
* Select lets user choose one option from an options' menu. Consider using
|
|
@@ -72,186 +72,186 @@ export interface CatSelectTaggingValue {
|
|
|
72
72
|
* @part input - The native input element.
|
|
73
73
|
*/
|
|
74
74
|
export declare class CatSelect {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
75
|
+
private static readonly SKELETON_COUNT;
|
|
76
|
+
private static readonly DROPDOWN_OFFSET;
|
|
77
|
+
private readonly _id;
|
|
78
|
+
private get id();
|
|
79
|
+
private dropdown?;
|
|
80
|
+
private trigger?;
|
|
81
|
+
private input?;
|
|
82
|
+
private errorMapSrc?;
|
|
83
|
+
private subscription?;
|
|
84
|
+
private term$;
|
|
85
|
+
private more$;
|
|
86
|
+
private valueChangedBySelection;
|
|
87
|
+
hostElement: HTMLElement;
|
|
88
|
+
connector?: CatSelectConnector;
|
|
89
|
+
state: CatSelectState;
|
|
90
|
+
hasSlottedLabel: boolean;
|
|
91
|
+
hasSlottedHint: boolean;
|
|
92
|
+
errorMap?: ErrorMap;
|
|
93
|
+
/**
|
|
94
|
+
* Whether the label need a marker to shown if the select is required or optional.
|
|
95
|
+
*/
|
|
96
|
+
requiredMarker?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!';
|
|
97
|
+
/**
|
|
98
|
+
* Whether the label is on top or left.
|
|
99
|
+
*/
|
|
100
|
+
horizontal: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Enable multiple selection.
|
|
103
|
+
*/
|
|
104
|
+
multiple: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* The debounce time for the search.
|
|
107
|
+
*/
|
|
108
|
+
debounce: number;
|
|
109
|
+
/**
|
|
110
|
+
* The placement of the select.
|
|
111
|
+
*/
|
|
112
|
+
placement: Placement;
|
|
113
|
+
/**
|
|
114
|
+
* The value of the select. <br />
|
|
115
|
+
* <br />
|
|
116
|
+
* The value of the select depends on whether it is allowed to choose a single item or several items. <br />
|
|
117
|
+
* When only one item can be selected, the value is the id of the item, in case several items can be selected, the value is an array of ids of the selected items. <br />
|
|
118
|
+
* <br />
|
|
119
|
+
* In case the user can add new items to the select (tags activated), the value in the single select is an object (CatSelectTaggingValue) with the id of the item or the name of the created item,
|
|
120
|
+
* in the case of multiple select, it is an object (CatSelectMultipleTaggingValue) with the array of the ids of the items selected and the array of the names of the items created
|
|
121
|
+
*/
|
|
122
|
+
value?: string | string[] | CatSelectTaggingValue | CatSelectMultipleTaggingValue;
|
|
123
|
+
/**
|
|
124
|
+
* Whether the select is disabled.
|
|
125
|
+
*/
|
|
126
|
+
disabled: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* The placeholder text to display within the select.
|
|
129
|
+
*/
|
|
130
|
+
placeholder?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Optional hint text(s) to be displayed with the select.
|
|
133
|
+
*/
|
|
134
|
+
hint?: string | string[];
|
|
135
|
+
/**
|
|
136
|
+
* A unique identifier for the input.
|
|
137
|
+
*/
|
|
138
|
+
identifier?: string;
|
|
139
|
+
/**
|
|
140
|
+
* The label for the select.
|
|
141
|
+
*/
|
|
142
|
+
label: string;
|
|
143
|
+
/**
|
|
144
|
+
* The name of the form control. Submitted with the form as part of a name/value pair.
|
|
145
|
+
*/
|
|
146
|
+
name?: string;
|
|
147
|
+
/**
|
|
148
|
+
* Visually hide the label, but still show it to assistive technologies like screen readers.
|
|
149
|
+
*/
|
|
150
|
+
labelHidden: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* A value is required or must be checked for the form to be submittable.
|
|
153
|
+
*/
|
|
154
|
+
required: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Whether the select should show a clear button.
|
|
157
|
+
*/
|
|
158
|
+
clearable: boolean;
|
|
159
|
+
/**
|
|
160
|
+
* Whether the select should add new items.
|
|
161
|
+
*/
|
|
162
|
+
tags: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Optional hint text to be displayed on the new item to be added.
|
|
165
|
+
*/
|
|
166
|
+
tagHint?: string;
|
|
167
|
+
/**
|
|
168
|
+
* The text to display in the dropdown if no results are found.
|
|
169
|
+
*/
|
|
170
|
+
noItems?: string;
|
|
171
|
+
/**
|
|
172
|
+
* The validation errors for this input. Will render a hint under the input
|
|
173
|
+
* with the translated error message(s) `error.${key}`. If an object is
|
|
174
|
+
* passed, the keys will be used as error keys and the values translation
|
|
175
|
+
* parameters.
|
|
176
|
+
* If the value is `true`, the input will be marked as invalid without any
|
|
177
|
+
* hints under the input.
|
|
178
|
+
*/
|
|
179
|
+
errors?: boolean | string[] | ErrorMap;
|
|
180
|
+
/**
|
|
181
|
+
* Fine-grained control over when the errors are shown. Can be `false` to
|
|
182
|
+
* never show errors, `true` to show errors on blur, or a number to show
|
|
183
|
+
* errors on change with the given delay in milliseconds.
|
|
184
|
+
*/
|
|
185
|
+
errorUpdate: boolean | number;
|
|
186
|
+
/**
|
|
187
|
+
* Attributes that will be added to the native HTML input element.
|
|
188
|
+
*/
|
|
189
|
+
nativeAttributes?: {
|
|
190
|
+
[key: string]: string;
|
|
191
|
+
};
|
|
192
|
+
onConnectorChanged(connector: CatSelectConnector): void;
|
|
193
|
+
onValueChanged(): void;
|
|
194
|
+
onErrorsChanged(value?: boolean | string[] | ErrorMap): void;
|
|
195
|
+
onStateChanged(newState: CatSelectState, oldState: CatSelectState): void;
|
|
196
|
+
/**
|
|
197
|
+
* Emitted when the select dropdown is opened.
|
|
198
|
+
*/
|
|
199
|
+
catOpen: EventEmitter<FocusEvent>;
|
|
200
|
+
/**
|
|
201
|
+
* Emitted when the select dropdown is closed.
|
|
202
|
+
*/
|
|
203
|
+
catClose: EventEmitter<FocusEvent>;
|
|
204
|
+
/**
|
|
205
|
+
* Emitted when the value is changed.
|
|
206
|
+
*/
|
|
207
|
+
catChange: EventEmitter<InputEvent>;
|
|
208
|
+
/**
|
|
209
|
+
* Emitted when the select loses the focus.
|
|
210
|
+
*/
|
|
211
|
+
catBlur: EventEmitter<FocusEvent>;
|
|
212
|
+
componentDidLoad(): void;
|
|
213
|
+
componentWillRender(): void;
|
|
214
|
+
onBlur(event: FocusEvent): void;
|
|
215
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
216
|
+
onKeyUp(event: KeyboardEvent): void;
|
|
217
|
+
/**
|
|
218
|
+
* Connect the functions of the select
|
|
219
|
+
*
|
|
220
|
+
* @param connector - The {@link CatSelectConnector} of the select.
|
|
221
|
+
*/
|
|
222
|
+
connect(connector: CatSelectConnector): Promise<void>;
|
|
223
|
+
render(): any;
|
|
224
|
+
private get hasHint();
|
|
225
|
+
private get invalid();
|
|
226
|
+
private get optionsList();
|
|
227
|
+
private resolve;
|
|
228
|
+
private toSelectItems;
|
|
229
|
+
private show;
|
|
230
|
+
private hide;
|
|
231
|
+
private search;
|
|
232
|
+
private isSelected;
|
|
233
|
+
private select;
|
|
234
|
+
private deselect;
|
|
235
|
+
private toggle;
|
|
236
|
+
private clear;
|
|
237
|
+
private reset;
|
|
238
|
+
private onClick;
|
|
239
|
+
private onInput;
|
|
240
|
+
private update;
|
|
241
|
+
private patchState;
|
|
242
|
+
private isPillboxActive;
|
|
243
|
+
private get activeDescendant();
|
|
244
|
+
private onArrowKeyDown;
|
|
245
|
+
private get tagTextHelp();
|
|
246
|
+
private isTagSelected;
|
|
247
|
+
private createTag;
|
|
248
|
+
private removeTag;
|
|
249
|
+
private toggleTag;
|
|
250
|
+
private initIds;
|
|
251
|
+
private initTags;
|
|
252
|
+
private setTransparentCaret;
|
|
253
|
+
private showErrors;
|
|
254
|
+
private errorUpdateTimeoutId?;
|
|
255
|
+
private showErrorsIfTimeout;
|
|
256
|
+
private showErrorsIfNoFocus;
|
|
257
257
|
}
|
|
@@ -6,7 +6,7 @@ import { CatSelectConnector, RenderInfo } from './cat-select';
|
|
|
6
6
|
* @returns a connector that resolves local object array data
|
|
7
7
|
*/
|
|
8
8
|
export declare function objectArrayConnector<T extends {
|
|
9
|
-
|
|
9
|
+
id: string;
|
|
10
10
|
} & RenderInfo = any>(data: T[]): CatSelectConnector<T>;
|
|
11
11
|
/**
|
|
12
12
|
* Creates a connector that resolves local string array data.
|
|
@@ -15,8 +15,8 @@ export declare function objectArrayConnector<T extends {
|
|
|
15
15
|
* @returns a connector that resolves local string array data
|
|
16
16
|
*/
|
|
17
17
|
export declare function stringArrayConnector(data: string[]): CatSelectConnector<{
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
id: string;
|
|
19
|
+
label: string;
|
|
20
20
|
}>;
|
|
21
21
|
/**
|
|
22
22
|
* Creates a connector that resolves local string map data.
|
|
@@ -25,6 +25,6 @@ export declare function stringArrayConnector(data: string[]): CatSelectConnector
|
|
|
25
25
|
* @returns a connector that resolves local string map data
|
|
26
26
|
*/
|
|
27
27
|
export declare function stringMapConnector(data: Map<string, string>): CatSelectConnector<{
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
id: string;
|
|
29
|
+
label: string;
|
|
30
30
|
}>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare class CatSelectTest {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
private multipleSelect?;
|
|
3
|
+
private multipleSelectAvatar?;
|
|
4
|
+
private multipleSelectAvatarInitials?;
|
|
5
|
+
private multipleSelectTagging?;
|
|
6
|
+
private singleSelect?;
|
|
7
|
+
private singleSelectAvatar?;
|
|
8
|
+
private singleSelectAvatarInitials?;
|
|
9
|
+
private singleSelectTagging?;
|
|
10
|
+
componentDidLoad(): void;
|
|
11
|
+
render(): any;
|
|
12
|
+
private get countryConnector();
|
|
13
13
|
}
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
* Skeletons are used to show where content will eventually be drawn.
|
|
3
3
|
*/
|
|
4
4
|
export declare class CatSkeleton {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
5
|
+
/**
|
|
6
|
+
* The animation style of the skeleton.
|
|
7
|
+
*/
|
|
8
|
+
effect: 'plain' | 'sheen' | 'pulse';
|
|
9
|
+
/**
|
|
10
|
+
* The rendering style of the skeleton.
|
|
11
|
+
*/
|
|
12
|
+
variant: 'rectangle' | 'square' | 'circle' | 'head' | 'body';
|
|
13
|
+
/**
|
|
14
|
+
* The size of the skeleton. If the variant is set to "head", the size values
|
|
15
|
+
* "xs" to "xl" translate to the head levels `h1` to `h5`.
|
|
16
|
+
*/
|
|
17
|
+
size: 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
18
|
+
/**
|
|
19
|
+
* The number of text lines to be rendered for "head" and "body" variants.
|
|
20
|
+
* Defaults to 1 for "head" and 3 for "body". Will be ignored for other
|
|
21
|
+
* variants.
|
|
22
|
+
*/
|
|
23
|
+
lines?: number;
|
|
24
|
+
render(): any;
|
|
25
|
+
private get count();
|
|
26
|
+
private get style();
|
|
27
|
+
private random;
|
|
28
28
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* Spinners are used to indicate users that their action is being processed.
|
|
3
3
|
*/
|
|
4
4
|
export declare class CatSpinner {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
/**
|
|
6
|
+
* The size of the spinner.
|
|
7
|
+
*/
|
|
8
|
+
size: 'xs' | 's' | 'm' | 'l' | 'xl' | 'inline';
|
|
9
|
+
/**
|
|
10
|
+
* Adds accessible label for the spinner that is only shown for screen
|
|
11
|
+
* readers. The `aria-hidden` attribute will be set if no label is present.
|
|
12
|
+
*/
|
|
13
|
+
a11yLabel?: string;
|
|
14
|
+
render(): any;
|
|
15
15
|
}
|