@rededor/cura 0.5.4 → 1.0.0-alpha.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/assets/icons/iconset-default-list.ts +1 -1
- package/dist/assets/icons/iconset-default-tmp.svg +8 -0
- package/dist/assets/icons/iconset-default.svg +1 -1
- package/dist/cjs/app-globals-bcffd819.js +511 -0
- package/dist/cjs/app-globals-bcffd819.js.map +1 -0
- package/dist/cjs/cura-accordion_9.cjs.entry.js +544 -0
- package/dist/cjs/cura-accordion_9.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-alert.cjs.entry.js +57 -55
- package/dist/cjs/cura-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-avatar.cjs.entry.js +68 -0
- package/dist/cjs/cura-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-button-outline.cjs.entry.js +102 -71
- package/dist/cjs/cura-button-outline.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-button-select.cjs.entry.js +91 -85
- package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-button-transparent_2.cjs.entry.js +4055 -0
- package/dist/cjs/cura-button-transparent_2.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-calendar.cjs.entry.js +3913 -0
- package/dist/cjs/cura-calendar.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-card.cjs.entry.js +53 -0
- package/dist/cjs/cura-card.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-checkbox.cjs.entry.js +168 -131
- package/dist/cjs/cura-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-display.cjs.entry.js +63 -62
- package/dist/cjs/cura-display.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-dropdown-search-option-title.cjs.entry.js +22 -0
- package/dist/cjs/cura-dropdown-search-option-title.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-dropdown-search-option.cjs.entry.js +55 -0
- package/dist/cjs/cura-dropdown-search-option.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-dropdown-search.cjs.entry.js +209 -0
- package/dist/cjs/cura-dropdown-search.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-forms.definitions-c164f1b8.js +20 -0
- package/dist/cjs/cura-forms.definitions-c164f1b8.js.map +1 -0
- package/dist/cjs/cura-icon.definitions-8d714f6a.js +21 -0
- package/dist/cjs/cura-icon.definitions-8d714f6a.js.map +1 -0
- package/dist/cjs/cura-icons-view.cjs.entry.js +24 -23
- package/dist/cjs/cura-icons-view.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-radio.cjs.entry.js +142 -103
- package/dist/cjs/cura-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-select_2.cjs.entry.js +325 -0
- package/dist/cjs/cura-select_2.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-switch.cjs.entry.js +113 -78
- package/dist/cjs/cura-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/cura.cjs.js +13 -22
- package/dist/cjs/cura.cjs.js.map +1 -1
- package/dist/cjs/index-5b63ff7a.js +1529 -0
- package/dist/cjs/index-5b63ff7a.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +6 -31
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/collection/api/cura-api.js +30 -30
- package/dist/collection/api/cura-api.js.map +1 -1
- package/dist/collection/api/cura-api.type.js +2 -2
- package/dist/collection/api/cura-api.type.js.map +1 -1
- package/dist/collection/api/modules/cura-theme-breakpoints-module.js +10 -10
- package/dist/collection/api/modules/cura-theme-breakpoints-module.js.map +1 -1
- package/dist/collection/api/modules/cura-theme-colors-module.js +72 -72
- package/dist/collection/api/modules/cura-theme-colors-module.js.map +1 -1
- package/dist/collection/api/modules/cura-theme-fonts-module.js +28 -28
- package/dist/collection/api/modules/cura-theme-fonts-module.js.map +1 -1
- package/dist/collection/api/modules/cura-theme-module.js +66 -66
- package/dist/collection/api/modules/cura-theme-module.js.map +1 -1
- package/dist/collection/api/modules/cura-theme-spacing-module.js +9 -9
- package/dist/collection/api/modules/cura-theme-spacing-module.js.map +1 -1
- package/dist/collection/api/theme-presets/static.js +63 -63
- package/dist/collection/api/theme-presets/static.js.map +1 -1
- package/dist/collection/api/theme-presets/theme-default.js +41 -41
- package/dist/collection/api/theme-presets/theme-default.js.map +1 -1
- package/dist/collection/api/theme-presets/theme-legacy-default.js +24 -24
- package/dist/collection/api/theme-presets/theme-legacy-default.js.map +1 -1
- package/dist/collection/api/theme-presets/theme-maternity.js +38 -38
- package/dist/collection/api/theme-presets/theme-maternity.js.map +1 -1
- package/dist/collection/api/theme-presets/theme-oncology.js +46 -46
- package/dist/collection/api/theme-presets/theme-oncology.js.map +1 -1
- package/dist/collection/api/theme-presets/theme-presets.js +8 -8
- package/dist/collection/api/theme-presets/theme-presets.js.map +1 -1
- package/dist/collection/assets/icons/iconset-default-list.js +1 -1
- package/dist/collection/assets/icons/iconset-default-list.js.map +1 -1
- package/dist/collection/assets/icons/iconset-default-tmp.svg +8 -0
- package/dist/collection/assets/icons/iconset-default.svg +1 -1
- package/dist/collection/assets/images/avatar/doctor-default.svg +8 -0
- package/dist/collection/assets/images/avatar/dora-default.svg +5 -0
- package/dist/collection/assets/images/avatar/patient-default.svg +12 -0
- package/dist/collection/assets/images/avatar/unit-default.svg +9 -0
- package/dist/collection/assets/images/logoCura.svg +15 -0
- package/dist/collection/assets-raw/icons/default/contacts.svg +3 -0
- package/dist/collection/assets-raw/icons/default/scheduleCancel.svg +3 -0
- package/dist/collection/collection-manifest.json +29 -21
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +267 -267
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +1 -1
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js +127 -127
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js.map +1 -1
- package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js +196 -196
- package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js.map +1 -1
- package/dist/collection/components/buttons/cura-button/cura-button.css +112 -46
- package/dist/collection/components/buttons/cura-button/cura-button.js +368 -306
- package/dist/collection/components/buttons/cura-button/cura-button.js.map +1 -1
- package/dist/collection/components/buttons/cura-button/cura-button.stories.js +184 -159
- package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +1 -1
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.css +37 -64
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +374 -306
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +1 -1
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +184 -159
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +1 -1
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.css +36 -23
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +265 -260
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +1 -1
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.css +32 -50
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +339 -306
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +1 -1
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +172 -159
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +1 -1
- package/dist/collection/components/cura-alert/cura-alert.js +182 -164
- package/dist/collection/components/cura-alert/cura-alert.js.map +1 -1
- package/dist/collection/components/cura-alert/cura-alert.stories.js +90 -77
- package/dist/collection/components/cura-alert/cura-alert.stories.js.map +1 -1
- package/dist/collection/components/cura-avatar/cura-avatar.css +24 -0
- package/dist/collection/components/cura-avatar/cura-avatar.definitions.js +7 -0
- package/dist/collection/components/cura-avatar/cura-avatar.definitions.js.map +1 -0
- package/dist/collection/components/cura-avatar/cura-avatar.js +231 -0
- package/dist/collection/components/cura-avatar/cura-avatar.js.map +1 -0
- package/dist/collection/components/cura-avatar/cura-avatar.stories.js +198 -0
- package/dist/collection/components/cura-avatar/cura-avatar.stories.js.map +1 -0
- package/dist/collection/components/cura-calendar/cura-calendar.css +181 -0
- package/dist/collection/components/cura-calendar/cura-calendar.js +681 -0
- package/dist/collection/components/cura-calendar/cura-calendar.js.map +1 -0
- package/dist/collection/components/cura-calendar/cura-calendar.stories.js +126 -0
- package/dist/collection/components/cura-calendar/cura-calendar.stories.js.map +1 -0
- package/dist/collection/components/cura-card/cura-card.css +175 -0
- package/dist/collection/components/cura-card/cura-card.js +201 -0
- package/dist/collection/components/cura-card/cura-card.js.map +1 -0
- package/dist/collection/components/cura-card/cura-card.stories.js +127 -0
- package/dist/collection/components/cura-card/cura-card.stories.js.map +1 -0
- package/dist/collection/components/cura-icon/cura-icon.definitions.js +11 -11
- package/dist/collection/components/cura-icon/cura-icon.definitions.js.map +1 -1
- package/dist/collection/components/cura-icon/cura-icon.js +151 -151
- package/dist/collection/components/cura-icon/cura-icon.js.map +1 -1
- package/dist/collection/components/cura-icon/cura-icon.stories.js +60 -60
- package/dist/collection/components/cura-icon/cura-icon.stories.js.map +1 -1
- package/dist/collection/components/cura-icons-view/cura-icons-view.js +37 -37
- package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +1 -1
- package/dist/collection/components/cura-icons-view/cura-icons-view.stories.js +7 -7
- package/dist/collection/components/cura-icons-view/cura-icons-view.stories.js.map +1 -1
- package/dist/collection/components/cura-page-template/cura-page-template.js +52 -52
- package/dist/collection/components/cura-page-template/cura-page-template.js.map +1 -1
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.css +19 -11
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +457 -427
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js.map +1 -1
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js +170 -170
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js.map +1 -1
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.css +50 -0
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +136 -0
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js.map +1 -0
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js +56 -0
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js.map +1 -0
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.css +10 -0
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.js +19 -0
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.js.map +1 -0
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.css +149 -0
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js +384 -0
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js.map +1 -0
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.stories.js +181 -0
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.stories.js.map +1 -0
- package/dist/collection/components/forms/cura-forms.definitions.js +12 -12
- package/dist/collection/components/forms/cura-forms.definitions.js.map +1 -1
- package/dist/collection/components/forms/cura-input-text/cura-input-text.css +849 -139
- package/dist/collection/components/forms/cura-input-text/cura-input-text.js +732 -641
- package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +1 -1
- package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js +217 -196
- package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js.map +1 -1
- package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js +40 -40
- package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js.map +1 -1
- package/dist/collection/components/forms/cura-label/cura-label.js +187 -187
- package/dist/collection/components/forms/cura-label/cura-label.js.map +1 -1
- package/dist/collection/components/forms/cura-label/cura-label.stories.js +108 -108
- package/dist/collection/components/forms/cura-label/cura-label.stories.js.map +1 -1
- package/dist/collection/components/forms/cura-radio/cura-radio.js +395 -363
- package/dist/collection/components/forms/cura-radio/cura-radio.js.map +1 -1
- package/dist/collection/components/forms/cura-radio/cura-radio.stories.js +150 -150
- package/dist/collection/components/forms/cura-radio/cura-radio.stories.js.map +1 -1
- package/dist/collection/components/forms/cura-select/cura-select.css +519 -0
- package/dist/collection/components/forms/cura-select/cura-select.js +444 -0
- package/dist/collection/components/forms/cura-select/cura-select.js.map +1 -0
- package/dist/collection/components/forms/cura-select/cura-select.stories.js +144 -0
- package/dist/collection/components/forms/cura-select/cura-select.stories.js.map +1 -0
- package/dist/collection/components/forms/cura-select-options/cura-select-option.css +28 -0
- package/dist/collection/components/forms/cura-select-options/cura-select-option.js +138 -0
- package/dist/collection/components/forms/cura-select-options/cura-select-option.js.map +1 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.css +88 -24
- package/dist/collection/components/forms/cura-switch/cura-switch.js +292 -264
- package/dist/collection/components/forms/cura-switch/cura-switch.js.map +1 -1
- package/dist/collection/components/forms/cura-switch/cura-switch.stories.js +115 -115
- package/dist/collection/components/forms/cura-switch/cura-switch.stories.js.map +1 -1
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +74 -74
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js.map +1 -1
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js +41 -41
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js.map +1 -1
- package/dist/collection/components/text/cura-display/cura-display.js +174 -174
- package/dist/collection/components/text/cura-display/cura-display.js.map +1 -1
- package/dist/collection/components/text/cura-display/cura-display.stories.js +97 -97
- package/dist/collection/components/text/cura-display/cura-display.stories.js.map +1 -1
- package/dist/collection/components/text/cura-heading/cura-heading.js +220 -220
- package/dist/collection/components/text/cura-heading/cura-heading.js.map +1 -1
- package/dist/collection/components/text/cura-heading/cura-heading.stories.js +117 -117
- package/dist/collection/components/text/cura-heading/cura-heading.stories.js.map +1 -1
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +168 -168
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +1 -1
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js +98 -98
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js.map +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/rededor-cura-start.js +7 -7
- package/dist/collection/rededor-cura-start.js.map +1 -1
- package/dist/collection/utils/utils.js +11 -11
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/cura-accordion-item.d.ts +2 -2
- package/dist/components/cura-accordion-item.js +62 -61
- package/dist/components/cura-accordion-item.js.map +1 -1
- package/dist/components/cura-accordion.d.ts +2 -2
- package/dist/components/cura-accordion.js +108 -104
- package/dist/components/cura-accordion.js.map +1 -1
- package/dist/components/cura-alert.d.ts +2 -2
- package/dist/components/cura-alert.js +93 -88
- package/dist/components/cura-alert.js.map +1 -1
- package/dist/components/cura-avatar.d.ts +11 -0
- package/dist/components/cura-avatar.js +95 -0
- package/dist/components/cura-avatar.js.map +1 -0
- package/dist/components/cura-button-outline.d.ts +2 -2
- package/dist/components/cura-button-outline.js +147 -109
- package/dist/components/cura-button-outline.js.map +1 -1
- package/dist/components/cura-button-select.d.ts +2 -2
- package/dist/components/cura-button-select.js +129 -113
- package/dist/components/cura-button-select.js.map +1 -1
- package/dist/components/cura-button-transparent.d.ts +2 -2
- package/dist/components/cura-button-transparent.js +1 -116
- package/dist/components/cura-button-transparent.js.map +1 -1
- package/dist/components/cura-button-transparent2.js +144 -0
- package/dist/components/cura-button-transparent2.js.map +1 -0
- package/dist/components/cura-button.d.ts +2 -2
- package/dist/components/cura-button.js +145 -109
- package/dist/components/cura-button.js.map +1 -1
- package/dist/components/cura-calendar.d.ts +11 -0
- package/dist/components/cura-calendar.js +3969 -0
- package/dist/components/cura-calendar.js.map +1 -0
- package/dist/components/cura-card.d.ts +11 -0
- package/dist/components/cura-card.js +75 -0
- package/dist/components/cura-card.js.map +1 -0
- package/dist/components/cura-checkbox.d.ts +2 -2
- package/dist/components/cura-checkbox.js +210 -174
- package/dist/components/cura-checkbox.js.map +1 -1
- package/dist/components/cura-display.d.ts +2 -2
- package/dist/components/cura-display.js +85 -81
- package/dist/components/cura-display.js.map +1 -1
- package/dist/components/cura-dropdown-search-option-title.d.ts +11 -0
- package/dist/components/cura-dropdown-search-option-title.js +42 -0
- package/dist/components/cura-dropdown-search-option-title.js.map +1 -0
- package/dist/components/cura-dropdown-search-option.d.ts +11 -0
- package/dist/components/cura-dropdown-search-option.js +82 -0
- package/dist/components/cura-dropdown-search-option.js.map +1 -0
- package/dist/components/cura-dropdown-search.d.ts +11 -0
- package/dist/components/cura-dropdown-search.js +272 -0
- package/dist/components/cura-dropdown-search.js.map +1 -0
- package/dist/components/cura-forms.definitions.js +12 -12
- package/dist/components/cura-forms.definitions.js.map +1 -1
- package/dist/components/cura-heading.d.ts +2 -2
- package/dist/components/cura-heading2.js +97 -93
- package/dist/components/cura-heading2.js.map +1 -1
- package/dist/components/cura-icon.d.ts +2 -2
- package/dist/components/cura-icon2.js +74 -69
- package/dist/components/cura-icon2.js.map +1 -1
- package/dist/components/cura-icons-view.d.ts +2 -2
- package/dist/components/cura-icons-view.js +57 -56
- package/dist/components/cura-icons-view.js.map +1 -1
- package/dist/components/cura-input-text.d.ts +2 -2
- package/dist/components/cura-input-text.js +1 -3954
- package/dist/components/cura-input-text.js.map +1 -1
- package/dist/{cjs/cura-input-text.cjs.entry.js → components/cura-input-text2.js} +393 -283
- package/dist/components/cura-input-text2.js.map +1 -0
- package/dist/components/cura-label.d.ts +2 -2
- package/dist/components/cura-label2.js +81 -77
- package/dist/components/cura-label2.js.map +1 -1
- package/dist/components/cura-loader-circle.d.ts +2 -2
- package/dist/components/cura-loader-circle2.js +41 -40
- package/dist/components/cura-loader-circle2.js.map +1 -1
- package/dist/components/cura-page-template.d.ts +2 -2
- package/dist/components/cura-page-template.js +36 -35
- package/dist/components/cura-page-template.js.map +1 -1
- package/dist/components/cura-paragraph.d.ts +2 -2
- package/dist/components/cura-paragraph2.js +79 -75
- package/dist/components/cura-paragraph2.js.map +1 -1
- package/dist/components/cura-radio.d.ts +2 -2
- package/dist/components/cura-radio.js +176 -139
- package/dist/components/cura-radio.js.map +1 -1
- package/dist/components/cura-select-option.d.ts +11 -0
- package/dist/components/cura-select-option.js +8 -0
- package/dist/components/cura-select-option.js.map +1 -0
- package/dist/components/cura-select-option2.js +87 -0
- package/dist/components/cura-select-option2.js.map +1 -0
- package/dist/components/cura-select.d.ts +11 -0
- package/dist/components/cura-select.js +8 -0
- package/dist/components/cura-select.js.map +1 -0
- package/dist/components/cura-select2.js +308 -0
- package/dist/components/cura-select2.js.map +1 -0
- package/dist/components/cura-switch.d.ts +2 -2
- package/dist/components/cura-switch.js +138 -105
- package/dist/components/cura-switch.js.map +1 -1
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +482 -466
- package/dist/components/index.js.map +1 -1
- package/dist/cura/cura.esm.js +1 -1
- package/dist/cura/cura.esm.js.map +1 -1
- package/dist/cura/index.esm.js.map +1 -1
- package/dist/cura/p-12d75346.entry.js +2 -0
- package/dist/cura/p-12d75346.entry.js.map +1 -0
- package/dist/cura/p-2176f253.entry.js +2 -0
- package/dist/cura/p-2176f253.entry.js.map +1 -0
- package/dist/cura/p-22292bfa.entry.js +2 -0
- package/dist/cura/p-22292bfa.entry.js.map +1 -0
- package/dist/cura/p-2a8be665.entry.js +2 -0
- package/dist/cura/p-2a8be665.entry.js.map +1 -0
- package/dist/cura/p-2d70b515.entry.js +2 -0
- package/dist/cura/p-2d70b515.entry.js.map +1 -0
- package/dist/cura/p-3c2ebc3a.entry.js +2 -0
- package/dist/cura/p-3c2ebc3a.entry.js.map +1 -0
- package/dist/cura/p-45a0a5e8.entry.js +2 -0
- package/dist/cura/p-45a0a5e8.entry.js.map +1 -0
- package/dist/cura/p-586bbe43.js +3 -0
- package/dist/cura/p-586bbe43.js.map +1 -0
- package/dist/cura/p-5d8e3ee3.entry.js +2 -0
- package/dist/cura/p-5d8e3ee3.entry.js.map +1 -0
- package/dist/cura/{p-f8fffdc1.js → p-70c369b1.js} +1 -1
- package/dist/cura/p-70c369b1.js.map +1 -0
- package/dist/cura/p-7c41f034.entry.js +2 -0
- package/dist/cura/p-7c41f034.entry.js.map +1 -0
- package/dist/cura/p-8cecf9e5.entry.js +2 -0
- package/dist/cura/p-8cecf9e5.entry.js.map +1 -0
- package/dist/cura/p-94b5c3b3.entry.js +2 -0
- package/dist/cura/p-94b5c3b3.entry.js.map +1 -0
- package/dist/cura/p-a5456007.entry.js +2 -0
- package/dist/cura/p-a5456007.entry.js.map +1 -0
- package/dist/cura/{p-c791725b.js → p-a7221f0c.js} +1 -1
- package/dist/{esm-es5/cura-icon.definitions-a63d1862.js.map → cura/p-a7221f0c.js.map} +1 -1
- package/dist/cura/p-cd757625.entry.js +2 -0
- package/dist/cura/p-cd757625.entry.js.map +1 -0
- package/dist/cura/p-de870781.entry.js +2 -0
- package/dist/cura/p-de870781.entry.js.map +1 -0
- package/dist/cura/p-e661bcca.entry.js +2 -0
- package/dist/cura/p-e661bcca.entry.js.map +1 -0
- package/dist/cura/p-ee7388a5.entry.js +2 -0
- package/dist/cura/p-ee7388a5.entry.js.map +1 -0
- package/dist/cura/{p-3688570d.js → p-f9b8f665.js} +1 -1
- package/dist/{esm-es5/cura-forms.definitions-0f774253.js.map → cura/p-f9b8f665.js.map} +1 -1
- package/dist/cura/p-fb9bece3.entry.js +2 -0
- package/dist/cura/p-fb9bece3.entry.js.map +1 -0
- package/dist/esm/app-globals-f2da2b14.js +509 -0
- package/dist/esm/app-globals-f2da2b14.js.map +1 -0
- package/dist/esm/cura-accordion_9.entry.js +532 -0
- package/dist/esm/cura-accordion_9.entry.js.map +1 -0
- package/dist/esm/cura-alert.entry.js +57 -55
- package/dist/esm/cura-alert.entry.js.map +1 -1
- package/dist/esm/cura-avatar.entry.js +64 -0
- package/dist/esm/cura-avatar.entry.js.map +1 -0
- package/dist/esm/cura-button-outline.entry.js +102 -71
- package/dist/esm/cura-button-outline.entry.js.map +1 -1
- package/dist/esm/cura-button-select.entry.js +91 -85
- package/dist/esm/cura-button-select.entry.js.map +1 -1
- package/dist/esm/{cura-input-text.entry.js → cura-button-transparent_2.entry.js} +423 -276
- package/dist/esm/cura-button-transparent_2.entry.js.map +1 -0
- package/dist/esm/cura-calendar.entry.js +3909 -0
- package/dist/esm/cura-calendar.entry.js.map +1 -0
- package/dist/esm/cura-card.entry.js +49 -0
- package/dist/esm/cura-card.entry.js.map +1 -0
- package/dist/esm/cura-checkbox.entry.js +168 -131
- package/dist/esm/cura-checkbox.entry.js.map +1 -1
- package/dist/esm/cura-display.entry.js +63 -62
- package/dist/esm/cura-display.entry.js.map +1 -1
- package/dist/esm/cura-dropdown-search-option-title.entry.js +18 -0
- package/dist/esm/cura-dropdown-search-option-title.entry.js.map +1 -0
- package/dist/esm/cura-dropdown-search-option.entry.js +51 -0
- package/dist/esm/cura-dropdown-search-option.entry.js.map +1 -0
- package/dist/esm/cura-dropdown-search.entry.js +205 -0
- package/dist/esm/cura-dropdown-search.entry.js.map +1 -0
- package/dist/esm/cura-forms.definitions-2f963167.js +18 -0
- package/dist/esm/cura-forms.definitions-2f963167.js.map +1 -0
- package/dist/esm/cura-icon.definitions-aaa4e80f.js +18 -0
- package/dist/esm/cura-icon.definitions-aaa4e80f.js.map +1 -0
- package/dist/esm/cura-icons-view.entry.js +24 -23
- package/dist/esm/cura-icons-view.entry.js.map +1 -1
- package/dist/esm/cura-radio.entry.js +142 -103
- package/dist/esm/cura-radio.entry.js.map +1 -1
- package/dist/esm/cura-select_2.entry.js +320 -0
- package/dist/esm/cura-select_2.entry.js.map +1 -0
- package/dist/esm/cura-switch.entry.js +113 -78
- package/dist/esm/cura-switch.entry.js.map +1 -1
- package/dist/esm/cura.js +14 -23
- package/dist/esm/cura.js.map +1 -1
- package/dist/esm/index-b6c443d5.js +1500 -0
- package/dist/esm/index-b6c443d5.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +8 -33
- package/dist/esm/loader.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/loader/cdn.js +1 -3
- package/dist/loader/index.cjs.js +1 -3
- package/dist/loader/index.d.ts +4 -1
- package/dist/loader/index.es2017.js +1 -3
- package/dist/loader/index.js +1 -3
- package/dist/types/api/cura-api.d.ts +3 -3
- package/dist/types/api/cura-api.type.d.ts +44 -44
- package/dist/types/api/modules/cura-theme-breakpoints-module.d.ts +3 -3
- package/dist/types/api/modules/cura-theme-colors-module.d.ts +46 -46
- package/dist/types/api/modules/cura-theme-fonts-module.d.ts +22 -22
- package/dist/types/api/modules/cura-theme-module.d.ts +25 -25
- package/dist/types/api/modules/cura-theme-spacing-module.d.ts +4 -4
- package/dist/types/api/theme-presets/static.d.ts +62 -62
- package/dist/types/api/theme-presets/theme-default.d.ts +38 -38
- package/dist/types/api/theme-presets/theme-legacy-default.d.ts +38 -38
- package/dist/types/api/theme-presets/theme-maternity.d.ts +38 -38
- package/dist/types/api/theme-presets/theme-oncology.d.ts +45 -45
- package/dist/types/api/theme-presets/theme-presets.d.ts +175 -175
- package/dist/types/components/accordion/cura-accordion/cura-accordion.d.ts +37 -37
- package/dist/types/components/accordion/cura-accordion/cura-accordion.stories.d.ts +140 -140
- package/dist/types/components/accordion/cura-accordion-item/cura-accordion-item.d.ts +27 -27
- package/dist/types/components/buttons/cura-button/cura-button.d.ts +70 -59
- package/dist/types/components/buttons/cura-button/cura-button.stories.d.ts +184 -155
- package/dist/types/components/buttons/cura-button-outline/cura-button-outline.d.ts +70 -59
- package/dist/types/components/buttons/cura-button-outline/cura-button-outline.stories.d.ts +184 -155
- package/dist/types/components/buttons/cura-button-select/cura-button-select.d.ts +48 -47
- package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.d.ts +65 -59
- package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.stories.d.ts +169 -155
- package/dist/types/components/cura-alert/cura-alert.d.ts +14 -13
- package/dist/types/components/cura-alert/cura-alert.stories.d.ts +85 -70
- package/dist/types/components/cura-avatar/cura-avatar.d.ts +24 -0
- package/dist/types/components/cura-avatar/cura-avatar.definitions.d.ts +14 -0
- package/dist/types/components/cura-avatar/cura-avatar.stories.d.ts +167 -0
- package/dist/types/components/cura-calendar/cura-calendar.d.ts +323 -0
- package/dist/types/components/cura-calendar/cura-calendar.stories.d.ts +128 -0
- package/dist/types/components/cura-card/cura-card.d.ts +48 -0
- package/dist/types/components/cura-card/cura-card.stories.d.ts +98 -0
- package/dist/types/components/cura-icon/cura-icon.d.ts +12 -12
- package/dist/types/components/cura-icon/cura-icon.definitions.d.ts +44 -44
- package/dist/types/components/cura-icon/cura-icon.stories.d.ts +56 -56
- package/dist/types/components/cura-icons-view/cura-icons-view.d.ts +6 -6
- package/dist/types/components/cura-icons-view/cura-icons-view.stories.d.ts +3 -3
- package/dist/types/components/cura-page-template/cura-page-template.d.ts +6 -6
- package/dist/types/components/forms/cura-checkbox/cura-checkbox.d.ts +111 -95
- package/dist/types/components/forms/cura-checkbox/cura-checkbox.stories.d.ts +193 -193
- package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.d.ts +27 -0
- package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.d.ts +44 -0
- package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.d.ts +3 -0
- package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search.d.ts +103 -0
- package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search.stories.d.ts +112 -0
- package/dist/types/components/forms/cura-forms.definitions.d.ts +12 -12
- package/dist/types/components/forms/cura-input-text/cura-input-text.d.ts +169 -132
- package/dist/types/components/forms/cura-input-text/cura-input-text.stories.d.ts +241 -218
- package/dist/types/components/forms/cura-input-text/mask-presets/input-mask-presets.d.ts +1 -2
- package/dist/types/components/forms/cura-label/cura-label.d.ts +52 -52
- package/dist/types/components/forms/cura-label/cura-label.stories.d.ts +112 -112
- package/dist/types/components/forms/cura-radio/cura-radio.d.ts +96 -74
- package/dist/types/components/forms/cura-radio/cura-radio.stories.d.ts +162 -162
- package/dist/types/components/forms/cura-select/cura-select.d.ts +176 -0
- package/dist/types/components/forms/cura-select/cura-select.stories.d.ts +156 -0
- package/dist/types/components/forms/cura-select-options/cura-select-option.d.ts +17 -0
- package/dist/types/components/forms/cura-switch/cura-switch.d.ts +78 -57
- package/dist/types/components/forms/cura-switch/cura-switch.stories.d.ts +121 -121
- package/dist/types/components/loaders/cura-loader-circle/cura-loader-circle.d.ts +21 -21
- package/dist/types/components/loaders/cura-loader-circle/cura-loader-circle.stories.d.ts +35 -35
- package/dist/types/components/text/cura-display/cura-display.d.ts +47 -47
- package/dist/types/components/text/cura-display/cura-display.stories.d.ts +101 -101
- package/dist/types/components/text/cura-heading/cura-heading.d.ts +58 -58
- package/dist/types/components/text/cura-heading/cura-heading.stories.d.ts +127 -127
- package/dist/types/components/text/cura-paragraph/cura-paragraph.d.ts +47 -47
- package/dist/types/components/text/cura-paragraph/cura-paragraph.stories.d.ts +99 -99
- package/dist/types/components.d.ts +689 -13
- package/dist/types/index.d.ts +4 -4
- package/dist/types/rededor-cura-start.d.ts +4 -4
- package/dist/types/stencil-public-runtime.d.ts +51 -15
- package/package.json +5 -5
- package/dist/cjs/app-globals-2988084b.js +0 -511
- package/dist/cjs/app-globals-2988084b.js.map +0 -1
- package/dist/cjs/css-shim-83cf0349.js +0 -8
- package/dist/cjs/css-shim-83cf0349.js.map +0 -1
- package/dist/cjs/cura-accordion_8.cjs.entry.js +0 -445
- package/dist/cjs/cura-accordion_8.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-button-transparent.cjs.entry.js +0 -83
- package/dist/cjs/cura-button-transparent.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-forms.definitions-11be2ebd.js +0 -20
- package/dist/cjs/cura-forms.definitions-11be2ebd.js.map +0 -1
- package/dist/cjs/cura-icon.definitions-b73b0178.js +0 -21
- package/dist/cjs/cura-icon.definitions-b73b0178.js.map +0 -1
- package/dist/cjs/cura-input-text.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-label.cjs.entry.js +0 -69
- package/dist/cjs/cura-label.cjs.entry.js.map +0 -1
- package/dist/cjs/index-7616f620.js +0 -2281
- package/dist/cjs/index-7616f620.js.map +0 -1
- package/dist/cjs/shadow-css-8baae635.js +0 -391
- package/dist/cjs/shadow-css-8baae635.js.map +0 -1
- package/dist/collection/utils/utils.spec.js +0 -16
- package/dist/collection/utils/utils.spec.js.map +0 -1
- package/dist/cura/cura.js +0 -133
- package/dist/cura/p-118112e5.system.js +0 -14
- package/dist/cura/p-118112e5.system.js.map +0 -1
- package/dist/cura/p-120926c5.system.js +0 -2
- package/dist/cura/p-120926c5.system.js.map +0 -1
- package/dist/cura/p-1228e771.entry.js +0 -2
- package/dist/cura/p-1228e771.entry.js.map +0 -1
- package/dist/cura/p-183305c3.js +0 -2
- package/dist/cura/p-183305c3.js.map +0 -1
- package/dist/cura/p-2d42ccf4.entry.js +0 -2
- package/dist/cura/p-2d42ccf4.entry.js.map +0 -1
- package/dist/cura/p-3688570d.js.map +0 -1
- package/dist/cura/p-36a83bc7.system.js +0 -3
- package/dist/cura/p-36a83bc7.system.js.map +0 -1
- package/dist/cura/p-3f3355f3.system.entry.js +0 -2
- package/dist/cura/p-3f3355f3.system.entry.js.map +0 -1
- package/dist/cura/p-3f5de5e2.entry.js +0 -2
- package/dist/cura/p-3f5de5e2.entry.js.map +0 -1
- package/dist/cura/p-3f6aaefc.system.js +0 -2
- package/dist/cura/p-3f6aaefc.system.js.map +0 -1
- package/dist/cura/p-48426f60.system.js +0 -2
- package/dist/cura/p-48426f60.system.js.map +0 -1
- package/dist/cura/p-4db87e8d.system.entry.js +0 -2
- package/dist/cura/p-4db87e8d.system.entry.js.map +0 -1
- package/dist/cura/p-51e00a16.entry.js +0 -2
- package/dist/cura/p-51e00a16.entry.js.map +0 -1
- package/dist/cura/p-72a9ed55.entry.js +0 -2
- package/dist/cura/p-72a9ed55.entry.js.map +0 -1
- package/dist/cura/p-75b2e4d1.system.entry.js +0 -2
- package/dist/cura/p-75b2e4d1.system.entry.js.map +0 -1
- package/dist/cura/p-880917c1.entry.js +0 -2
- package/dist/cura/p-880917c1.entry.js.map +0 -1
- package/dist/cura/p-8d959fb2.entry.js +0 -2
- package/dist/cura/p-8d959fb2.entry.js.map +0 -1
- package/dist/cura/p-9471c93e.system.entry.js +0 -2
- package/dist/cura/p-9471c93e.system.entry.js.map +0 -1
- package/dist/cura/p-98014544.entry.js +0 -2
- package/dist/cura/p-98014544.entry.js.map +0 -1
- package/dist/cura/p-98352c92.system.entry.js +0 -2
- package/dist/cura/p-98352c92.system.entry.js.map +0 -1
- package/dist/cura/p-a32889a4.system.js +0 -2
- package/dist/cura/p-a32889a4.system.js.map +0 -1
- package/dist/cura/p-ab8c9a8f.system.entry.js +0 -2
- package/dist/cura/p-ab8c9a8f.system.entry.js.map +0 -1
- package/dist/cura/p-ad194144.entry.js +0 -2
- package/dist/cura/p-ad194144.entry.js.map +0 -1
- package/dist/cura/p-b0e13882.system.entry.js +0 -2
- package/dist/cura/p-b0e13882.system.entry.js.map +0 -1
- package/dist/cura/p-ba66d7be.js +0 -3
- package/dist/cura/p-ba66d7be.js.map +0 -1
- package/dist/cura/p-bb3f9d05.entry.js +0 -2
- package/dist/cura/p-bb3f9d05.entry.js.map +0 -1
- package/dist/cura/p-beab48cd.js +0 -13
- package/dist/cura/p-beab48cd.js.map +0 -1
- package/dist/cura/p-c791725b.js.map +0 -1
- package/dist/cura/p-cb4e2a0c.system.entry.js +0 -2
- package/dist/cura/p-cb4e2a0c.system.entry.js.map +0 -1
- package/dist/cura/p-d3f9c888.system.js +0 -2
- package/dist/cura/p-d3f9c888.system.js.map +0 -1
- package/dist/cura/p-e5e259fd.system.entry.js +0 -2
- package/dist/cura/p-e5e259fd.system.entry.js.map +0 -1
- package/dist/cura/p-edeffbfc.entry.js +0 -2
- package/dist/cura/p-edeffbfc.entry.js.map +0 -1
- package/dist/cura/p-f51705c2.system.entry.js +0 -2
- package/dist/cura/p-f51705c2.system.entry.js.map +0 -1
- package/dist/cura/p-f89f2ecc.system.entry.js +0 -2
- package/dist/cura/p-f89f2ecc.system.entry.js.map +0 -1
- package/dist/cura/p-f8fffdc1.js.map +0 -1
- package/dist/cura/p-fc4ba4ce.system.js +0 -2
- package/dist/cura/p-fc4ba4ce.system.js.map +0 -1
- package/dist/cura/p-fef52079.entry.js +0 -2
- package/dist/cura/p-fef52079.entry.js.map +0 -1
- package/dist/cura/p-ffd41520.system.entry.js +0 -2
- package/dist/cura/p-ffd41520.system.entry.js.map +0 -1
- package/dist/esm/app-globals-29001758.js +0 -509
- package/dist/esm/app-globals-29001758.js.map +0 -1
- package/dist/esm/css-shim-d13f0738.js +0 -6
- package/dist/esm/css-shim-d13f0738.js.map +0 -1
- package/dist/esm/cura-accordion_8.entry.js +0 -434
- package/dist/esm/cura-accordion_8.entry.js.map +0 -1
- package/dist/esm/cura-button-transparent.entry.js +0 -79
- package/dist/esm/cura-button-transparent.entry.js.map +0 -1
- package/dist/esm/cura-forms.definitions-0f774253.js +0 -18
- package/dist/esm/cura-forms.definitions-0f774253.js.map +0 -1
- package/dist/esm/cura-icon.definitions-a63d1862.js +0 -18
- package/dist/esm/cura-icon.definitions-a63d1862.js.map +0 -1
- package/dist/esm/cura-input-text.entry.js.map +0 -1
- package/dist/esm/cura-label.entry.js +0 -65
- package/dist/esm/cura-label.entry.js.map +0 -1
- package/dist/esm/index-81f1a268.js +0 -2249
- package/dist/esm/index-81f1a268.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/shadow-css-07b0c8c8.js +0 -389
- package/dist/esm/shadow-css-07b0c8c8.js.map +0 -1
- package/dist/esm-es5/app-globals-29001758.js +0 -2
- package/dist/esm-es5/app-globals-29001758.js.map +0 -1
- package/dist/esm-es5/css-shim-d13f0738.js +0 -2
- package/dist/esm-es5/css-shim-d13f0738.js.map +0 -1
- package/dist/esm-es5/cura-accordion_8.entry.js +0 -2
- package/dist/esm-es5/cura-accordion_8.entry.js.map +0 -1
- package/dist/esm-es5/cura-alert.entry.js +0 -2
- package/dist/esm-es5/cura-alert.entry.js.map +0 -1
- package/dist/esm-es5/cura-button-outline.entry.js +0 -2
- package/dist/esm-es5/cura-button-outline.entry.js.map +0 -1
- package/dist/esm-es5/cura-button-select.entry.js +0 -2
- package/dist/esm-es5/cura-button-select.entry.js.map +0 -1
- package/dist/esm-es5/cura-button-transparent.entry.js +0 -2
- package/dist/esm-es5/cura-button-transparent.entry.js.map +0 -1
- package/dist/esm-es5/cura-checkbox.entry.js +0 -2
- package/dist/esm-es5/cura-checkbox.entry.js.map +0 -1
- package/dist/esm-es5/cura-display.entry.js +0 -2
- package/dist/esm-es5/cura-display.entry.js.map +0 -1
- package/dist/esm-es5/cura-forms.definitions-0f774253.js +0 -2
- package/dist/esm-es5/cura-icon.definitions-a63d1862.js +0 -2
- package/dist/esm-es5/cura-icons-view.entry.js +0 -2
- package/dist/esm-es5/cura-icons-view.entry.js.map +0 -1
- package/dist/esm-es5/cura-input-text.entry.js +0 -2
- package/dist/esm-es5/cura-input-text.entry.js.map +0 -1
- package/dist/esm-es5/cura-label.entry.js +0 -2
- package/dist/esm-es5/cura-label.entry.js.map +0 -1
- package/dist/esm-es5/cura-radio.entry.js +0 -2
- package/dist/esm-es5/cura-radio.entry.js.map +0 -1
- package/dist/esm-es5/cura-switch.entry.js +0 -2
- package/dist/esm-es5/cura-switch.entry.js.map +0 -1
- package/dist/esm-es5/cura.js +0 -2
- package/dist/esm-es5/cura.js.map +0 -1
- package/dist/esm-es5/index-81f1a268.js +0 -3
- package/dist/esm-es5/index-81f1a268.js.map +0 -1
- package/dist/esm-es5/index.js +0 -2
- package/dist/esm-es5/index.js.map +0 -1
- package/dist/esm-es5/loader.js +0 -2
- package/dist/esm-es5/loader.js.map +0 -1
- package/dist/esm-es5/shadow-css-07b0c8c8.js +0 -13
- package/dist/esm-es5/shadow-css-07b0c8c8.js.map +0 -1
|
@@ -6,9 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { MaskPreset } from "./components/forms/cura-input-text/cura-input-text";
|
|
9
|
-
import { FactoryArg, MaskedRegExp } from "imask";
|
|
10
9
|
export { MaskPreset } from "./components/forms/cura-input-text/cura-input-text";
|
|
11
|
-
export { FactoryArg, MaskedRegExp } from "imask";
|
|
12
10
|
export namespace Components {
|
|
13
11
|
interface CuraAccordion {
|
|
14
12
|
"activeColor": string;
|
|
@@ -61,10 +59,26 @@ export namespace Components {
|
|
|
61
59
|
interface CuraAlert {
|
|
62
60
|
"closeable": boolean;
|
|
63
61
|
"floating": boolean;
|
|
62
|
+
"icon": string;
|
|
64
63
|
"label": string;
|
|
65
64
|
"type": 'info' | 'success' | 'warning' | 'error';
|
|
66
65
|
}
|
|
66
|
+
interface CuraAvatar {
|
|
67
|
+
"backgroundColor": string;
|
|
68
|
+
"border": boolean;
|
|
69
|
+
"borderColor": string;
|
|
70
|
+
"borderRadius": string;
|
|
71
|
+
"floating": boolean;
|
|
72
|
+
"imageSrc": string;
|
|
73
|
+
"imageSrcDefault": string;
|
|
74
|
+
"size": '80' | '40' | '32' | '24';
|
|
75
|
+
"type": 'default' | 'branding';
|
|
76
|
+
}
|
|
67
77
|
interface CuraButton {
|
|
78
|
+
/**
|
|
79
|
+
* Set the background color to dark or light.
|
|
80
|
+
*/
|
|
81
|
+
"background": 'dark' | 'light';
|
|
68
82
|
/**
|
|
69
83
|
* Color base from color scheme. Default: accent.
|
|
70
84
|
*/
|
|
@@ -113,8 +127,16 @@ export namespace Components {
|
|
|
113
127
|
* Set text aligment for the button label. Vales: left (default) | center | right.
|
|
114
128
|
*/
|
|
115
129
|
"textAlign": 'left' | 'center' | 'right';
|
|
130
|
+
/**
|
|
131
|
+
* Button type: button (default) | submit | reset
|
|
132
|
+
*/
|
|
133
|
+
"type": 'button' | 'reset' | 'submit';
|
|
116
134
|
}
|
|
117
135
|
interface CuraButtonOutline {
|
|
136
|
+
/**
|
|
137
|
+
* Set the font background to dark or light.
|
|
138
|
+
*/
|
|
139
|
+
"background": 'dark' | 'light';
|
|
118
140
|
/**
|
|
119
141
|
* Color base from color scheme. Default: accent.
|
|
120
142
|
*/
|
|
@@ -163,6 +185,10 @@ export namespace Components {
|
|
|
163
185
|
* Set text aligment for the button label. Vales: left (default) | center | right.
|
|
164
186
|
*/
|
|
165
187
|
"textAlign": 'left' | 'center' | 'right';
|
|
188
|
+
/**
|
|
189
|
+
* Button type: button (default) | submit | reset
|
|
190
|
+
*/
|
|
191
|
+
"type": 'button' | 'reset' | 'submit';
|
|
166
192
|
}
|
|
167
193
|
interface CuraButtonSelect {
|
|
168
194
|
/**
|
|
@@ -243,6 +269,110 @@ export namespace Components {
|
|
|
243
269
|
* Set text aligment for the button label. Vales: left (default) | center | right.
|
|
244
270
|
*/
|
|
245
271
|
"textAlign": 'left' | 'center' | 'right';
|
|
272
|
+
/**
|
|
273
|
+
* Button type: button (default) | submit | reset
|
|
274
|
+
*/
|
|
275
|
+
"type": 'button' | 'reset' | 'submit';
|
|
276
|
+
}
|
|
277
|
+
interface CuraCalendar {
|
|
278
|
+
/**
|
|
279
|
+
* Date format used for display and parsing.
|
|
280
|
+
* @type {string}
|
|
281
|
+
* @default 'yyyy-MM-dd'
|
|
282
|
+
*/
|
|
283
|
+
"dateFormat": string;
|
|
284
|
+
/**
|
|
285
|
+
* Default dates selected on initialization.
|
|
286
|
+
* @type {string[]}
|
|
287
|
+
* @default []
|
|
288
|
+
*/
|
|
289
|
+
"defaultDate": string[];
|
|
290
|
+
/**
|
|
291
|
+
* List of dates to disable.
|
|
292
|
+
* @type {string[]}
|
|
293
|
+
* @default []
|
|
294
|
+
*/
|
|
295
|
+
"disable": string[];
|
|
296
|
+
/**
|
|
297
|
+
* List of dates to enable.
|
|
298
|
+
* @type {string[]}
|
|
299
|
+
* @default []
|
|
300
|
+
*/
|
|
301
|
+
"enable": string[];
|
|
302
|
+
/**
|
|
303
|
+
* Limits the selectable date range.
|
|
304
|
+
* @type {Date | null}
|
|
305
|
+
* @default null
|
|
306
|
+
*/
|
|
307
|
+
"limitRange": number | null;
|
|
308
|
+
/**
|
|
309
|
+
* Locale for date formatting.
|
|
310
|
+
* @type {'pt-BR' | 'en-US'}
|
|
311
|
+
* @default 'pt-BR'
|
|
312
|
+
*/
|
|
313
|
+
"locale": 'pt-BR' | 'en-US';
|
|
314
|
+
/**
|
|
315
|
+
* Selection mode of the date picker.
|
|
316
|
+
* @type {'single' | 'multiple' | 'range'}
|
|
317
|
+
* @default 'single'
|
|
318
|
+
*/
|
|
319
|
+
"mode": 'single' | 'multiple' | 'range';
|
|
320
|
+
/**
|
|
321
|
+
* An array of specific dates to be highlighted or processed.
|
|
322
|
+
* @type {string[] | string}
|
|
323
|
+
* @default []
|
|
324
|
+
* @example // Example usage period = ["2024-08-01", "2024-08-30"];
|
|
325
|
+
*/
|
|
326
|
+
"period": string[] | string;
|
|
327
|
+
/**
|
|
328
|
+
* Display type of the date picker.
|
|
329
|
+
* @type {'dropdown' | 'static'}
|
|
330
|
+
* @default 'dropdown'
|
|
331
|
+
*/
|
|
332
|
+
"type": 'dropdown' | 'static';
|
|
333
|
+
/**
|
|
334
|
+
* Width of the component.
|
|
335
|
+
* @type {string}
|
|
336
|
+
* @default '300px'
|
|
337
|
+
*/
|
|
338
|
+
"width": string;
|
|
339
|
+
}
|
|
340
|
+
interface CuraCard {
|
|
341
|
+
/**
|
|
342
|
+
* Sets the color mode of the card. - 'light': Light mode for the card. - 'dark': Dark mode for the card.
|
|
343
|
+
* @type {'light' | 'dark'}
|
|
344
|
+
* @default 'light'
|
|
345
|
+
*/
|
|
346
|
+
"colorMode": 'light' | 'dark';
|
|
347
|
+
/**
|
|
348
|
+
* Determines whether the card should have padding.
|
|
349
|
+
* @type {boolean}
|
|
350
|
+
* @default false
|
|
351
|
+
*/
|
|
352
|
+
"hasPadding": boolean;
|
|
353
|
+
/**
|
|
354
|
+
* Determines whether the card should have a shadow effect.
|
|
355
|
+
* @type {boolean}
|
|
356
|
+
* @default false
|
|
357
|
+
*/
|
|
358
|
+
"hasShadow": boolean;
|
|
359
|
+
/**
|
|
360
|
+
* The URL that the card should link to (if set). If not set, the card acts as a normal card.
|
|
361
|
+
* @type {string | undefined}
|
|
362
|
+
*/
|
|
363
|
+
"href"?: string;
|
|
364
|
+
/**
|
|
365
|
+
* The target attribute for the link. Applicable only if `href` is set.
|
|
366
|
+
* @type {string}
|
|
367
|
+
* @default '_self'
|
|
368
|
+
*/
|
|
369
|
+
"target": string;
|
|
370
|
+
/**
|
|
371
|
+
* Sets the type of the card background. - 'solid': A solid background. - 'transparent': A transparent background.
|
|
372
|
+
* @type {'solid' | 'transparent'}
|
|
373
|
+
* @default 'solid'
|
|
374
|
+
*/
|
|
375
|
+
"type": 'solid' | 'transparent';
|
|
246
376
|
}
|
|
247
377
|
interface CuraCheckbox {
|
|
248
378
|
/**
|
|
@@ -324,6 +454,52 @@ export namespace Components {
|
|
|
324
454
|
*/
|
|
325
455
|
"spotColor": string;
|
|
326
456
|
}
|
|
457
|
+
interface CuraDropdownSearch {
|
|
458
|
+
/**
|
|
459
|
+
* The label for the dropdown search.
|
|
460
|
+
*/
|
|
461
|
+
"label": string;
|
|
462
|
+
/**
|
|
463
|
+
* The name of the dropdown search component.
|
|
464
|
+
*/
|
|
465
|
+
"name": string;
|
|
466
|
+
/**
|
|
467
|
+
* The placeholder text for the dropdown search.
|
|
468
|
+
*/
|
|
469
|
+
"placeholder": string;
|
|
470
|
+
/**
|
|
471
|
+
* Indicates if the dropdown search is required.
|
|
472
|
+
*/
|
|
473
|
+
"required": boolean;
|
|
474
|
+
/**
|
|
475
|
+
* Indicates if the dropdown search is selected.
|
|
476
|
+
*/
|
|
477
|
+
"selected": boolean;
|
|
478
|
+
/**
|
|
479
|
+
* Define the status of the dropdown search.
|
|
480
|
+
*/
|
|
481
|
+
"status": 'error' | 'default';
|
|
482
|
+
/**
|
|
483
|
+
* The value of the dropdown search.
|
|
484
|
+
*/
|
|
485
|
+
"value": string;
|
|
486
|
+
}
|
|
487
|
+
interface CuraDropdownSearchOption {
|
|
488
|
+
/**
|
|
489
|
+
* Indicates if the dropdown search option is hovered.
|
|
490
|
+
*/
|
|
491
|
+
"hovered": boolean;
|
|
492
|
+
/**
|
|
493
|
+
* Indicates if the dropdown search option is selected.
|
|
494
|
+
*/
|
|
495
|
+
"selected": boolean;
|
|
496
|
+
/**
|
|
497
|
+
* The value of the dropdown search option.
|
|
498
|
+
*/
|
|
499
|
+
"value": string;
|
|
500
|
+
}
|
|
501
|
+
interface CuraDropdownSearchOptionTitle {
|
|
502
|
+
}
|
|
327
503
|
interface CuraHeading {
|
|
328
504
|
/**
|
|
329
505
|
* Text color. Values: Color from design system scheme. Default to the font color from the theme.
|
|
@@ -376,10 +552,18 @@ export namespace Components {
|
|
|
376
552
|
* Helper text displayed below the input
|
|
377
553
|
*/
|
|
378
554
|
"helperText"?: string;
|
|
555
|
+
/**
|
|
556
|
+
* Removes the alertCircle icon when necessary(as used in CuraDropdownSearch)
|
|
557
|
+
*/
|
|
558
|
+
"hideErrorIcon": boolean;
|
|
379
559
|
/**
|
|
380
560
|
* Whether to display a cura icon (default: null)
|
|
381
561
|
*/
|
|
382
562
|
"iconName"?: string;
|
|
563
|
+
/**
|
|
564
|
+
* Type of the input: 'text', 'number' (default: 'text')
|
|
565
|
+
*/
|
|
566
|
+
"inputMode": string;
|
|
383
567
|
/**
|
|
384
568
|
* Whether the input is in loading state (default: false)
|
|
385
569
|
*/
|
|
@@ -387,12 +571,12 @@ export namespace Components {
|
|
|
387
571
|
/**
|
|
388
572
|
* Label text for the input
|
|
389
573
|
*/
|
|
390
|
-
"label"
|
|
574
|
+
"label"?: string;
|
|
391
575
|
/**
|
|
392
576
|
* Advanced mask object to be used with IMask library
|
|
393
577
|
* @see : https://imask.js.org/
|
|
394
578
|
*/
|
|
395
|
-
"maskAdvanced"?:
|
|
579
|
+
"maskAdvanced"?: any | string | null;
|
|
396
580
|
/**
|
|
397
581
|
* Mask preset for input formatting: 'cpf', 'cnpj', 'phone', 'date', etc. Uses IMask library.
|
|
398
582
|
* @see : https://imask.js.org/
|
|
@@ -402,7 +586,7 @@ export namespace Components {
|
|
|
402
586
|
* Regular expression for custom input masking. Uses IMask library.
|
|
403
587
|
* @see : https://imask.js.org/
|
|
404
588
|
*/
|
|
405
|
-
"maskRegex"?:
|
|
589
|
+
"maskRegex"?: string | null;
|
|
406
590
|
/**
|
|
407
591
|
* Maximum length of the input value (default: undefined)
|
|
408
592
|
*/
|
|
@@ -411,6 +595,10 @@ export namespace Components {
|
|
|
411
595
|
* Mode of the input: 'default' or 'transparent' (default: 'default')
|
|
412
596
|
*/
|
|
413
597
|
"mode": 'default' | 'transparent';
|
|
598
|
+
/**
|
|
599
|
+
* Name text for the input
|
|
600
|
+
*/
|
|
601
|
+
"name"?: string;
|
|
414
602
|
/**
|
|
415
603
|
* Placeholder text for the input
|
|
416
604
|
*/
|
|
@@ -434,11 +622,11 @@ export namespace Components {
|
|
|
434
622
|
/**
|
|
435
623
|
* Type of the input: 'text', 'number' (default: 'text')
|
|
436
624
|
*/
|
|
437
|
-
"type":
|
|
625
|
+
"type": string;
|
|
438
626
|
/**
|
|
439
627
|
* Value of the input field
|
|
440
628
|
*/
|
|
441
|
-
"value"
|
|
629
|
+
"value"?: string | number;
|
|
442
630
|
}
|
|
443
631
|
interface CuraLabel {
|
|
444
632
|
/**
|
|
@@ -551,6 +739,46 @@ export namespace Components {
|
|
|
551
739
|
*/
|
|
552
740
|
"value": string;
|
|
553
741
|
}
|
|
742
|
+
interface CuraSelect {
|
|
743
|
+
/**
|
|
744
|
+
* Whether the select component is disabled. Reflects as an attribute in the DOM.
|
|
745
|
+
*/
|
|
746
|
+
"disabled": boolean;
|
|
747
|
+
/**
|
|
748
|
+
* The label text for the select component. Reflects as an attribute in the DOM.
|
|
749
|
+
*/
|
|
750
|
+
"label": string;
|
|
751
|
+
/**
|
|
752
|
+
* Display mode of the select component. Can be 'default' or 'transparent'.
|
|
753
|
+
*/
|
|
754
|
+
"mode": 'default' | 'transparent';
|
|
755
|
+
/**
|
|
756
|
+
* Placeholder text for the input field. Reflects as an attribute in the DOM.
|
|
757
|
+
*/
|
|
758
|
+
"placeholder": string;
|
|
759
|
+
/**
|
|
760
|
+
* Whether the select component is required. Reflects as an attribute in the DOM.
|
|
761
|
+
*/
|
|
762
|
+
"required": boolean;
|
|
763
|
+
/**
|
|
764
|
+
* Size of the select component. Can be 'small', 'medium', or 'large'.
|
|
765
|
+
*/
|
|
766
|
+
"size": 'small' | 'medium' | 'large';
|
|
767
|
+
/**
|
|
768
|
+
* Status of the select component. Can be 'success', 'error', or 'default'.
|
|
769
|
+
*/
|
|
770
|
+
"status": 'success' | 'error' | 'default';
|
|
771
|
+
/**
|
|
772
|
+
* Current value of the select component. Reflects as an attribute in the DOM and is mutable.
|
|
773
|
+
*/
|
|
774
|
+
"value": string;
|
|
775
|
+
}
|
|
776
|
+
interface CuraSelectOption {
|
|
777
|
+
"active": boolean;
|
|
778
|
+
"selected": boolean;
|
|
779
|
+
"size": 'xsmall' | 'small' | 'medium' | 'large';
|
|
780
|
+
"value": string;
|
|
781
|
+
}
|
|
554
782
|
interface CuraSwitch {
|
|
555
783
|
/**
|
|
556
784
|
* Background style of the switch. Can be 'dark' or 'light'.
|
|
@@ -579,7 +807,7 @@ export namespace Components {
|
|
|
579
807
|
/**
|
|
580
808
|
* Position of the label relative to the switch. Can be 'left' or 'right'.
|
|
581
809
|
*/
|
|
582
|
-
"position":
|
|
810
|
+
"position": 'left' | 'right';
|
|
583
811
|
/**
|
|
584
812
|
* Size of the switch. Can be 'small', 'medium', or 'large'.
|
|
585
813
|
*/
|
|
@@ -594,10 +822,22 @@ export interface CuraButtonSelectCustomEvent<T> extends CustomEvent<T> {
|
|
|
594
822
|
detail: T;
|
|
595
823
|
target: HTMLCuraButtonSelectElement;
|
|
596
824
|
}
|
|
825
|
+
export interface CuraCalendarCustomEvent<T> extends CustomEvent<T> {
|
|
826
|
+
detail: T;
|
|
827
|
+
target: HTMLCuraCalendarElement;
|
|
828
|
+
}
|
|
597
829
|
export interface CuraCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
598
830
|
detail: T;
|
|
599
831
|
target: HTMLCuraCheckboxElement;
|
|
600
832
|
}
|
|
833
|
+
export interface CuraDropdownSearchCustomEvent<T> extends CustomEvent<T> {
|
|
834
|
+
detail: T;
|
|
835
|
+
target: HTMLCuraDropdownSearchElement;
|
|
836
|
+
}
|
|
837
|
+
export interface CuraDropdownSearchOptionCustomEvent<T> extends CustomEvent<T> {
|
|
838
|
+
detail: T;
|
|
839
|
+
target: HTMLCuraDropdownSearchOptionElement;
|
|
840
|
+
}
|
|
601
841
|
export interface CuraInputTextCustomEvent<T> extends CustomEvent<T> {
|
|
602
842
|
detail: T;
|
|
603
843
|
target: HTMLCuraInputTextElement;
|
|
@@ -606,6 +846,10 @@ export interface CuraRadioCustomEvent<T> extends CustomEvent<T> {
|
|
|
606
846
|
detail: T;
|
|
607
847
|
target: HTMLCuraRadioElement;
|
|
608
848
|
}
|
|
849
|
+
export interface CuraSelectCustomEvent<T> extends CustomEvent<T> {
|
|
850
|
+
detail: T;
|
|
851
|
+
target: HTMLCuraSelectElement;
|
|
852
|
+
}
|
|
609
853
|
export interface CuraSwitchCustomEvent<T> extends CustomEvent<T> {
|
|
610
854
|
detail: T;
|
|
611
855
|
target: HTMLCuraSwitchElement;
|
|
@@ -623,12 +867,29 @@ declare global {
|
|
|
623
867
|
prototype: HTMLCuraAccordionItemElement;
|
|
624
868
|
new (): HTMLCuraAccordionItemElement;
|
|
625
869
|
};
|
|
870
|
+
interface HTMLCuraAlertElementEventMap {
|
|
871
|
+
"close": void;
|
|
872
|
+
}
|
|
626
873
|
interface HTMLCuraAlertElement extends Components.CuraAlert, HTMLStencilElement {
|
|
874
|
+
addEventListener<K extends keyof HTMLCuraAlertElementEventMap>(type: K, listener: (this: HTMLCuraAlertElement, ev: CuraAlertCustomEvent<HTMLCuraAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
875
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
876
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
877
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
878
|
+
removeEventListener<K extends keyof HTMLCuraAlertElementEventMap>(type: K, listener: (this: HTMLCuraAlertElement, ev: CuraAlertCustomEvent<HTMLCuraAlertElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
879
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
880
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
881
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
627
882
|
}
|
|
628
883
|
var HTMLCuraAlertElement: {
|
|
629
884
|
prototype: HTMLCuraAlertElement;
|
|
630
885
|
new (): HTMLCuraAlertElement;
|
|
631
886
|
};
|
|
887
|
+
interface HTMLCuraAvatarElement extends Components.CuraAvatar, HTMLStencilElement {
|
|
888
|
+
}
|
|
889
|
+
var HTMLCuraAvatarElement: {
|
|
890
|
+
prototype: HTMLCuraAvatarElement;
|
|
891
|
+
new (): HTMLCuraAvatarElement;
|
|
892
|
+
};
|
|
632
893
|
interface HTMLCuraButtonElement extends Components.CuraButton, HTMLStencilElement {
|
|
633
894
|
}
|
|
634
895
|
var HTMLCuraButtonElement: {
|
|
@@ -641,7 +902,18 @@ declare global {
|
|
|
641
902
|
prototype: HTMLCuraButtonOutlineElement;
|
|
642
903
|
new (): HTMLCuraButtonOutlineElement;
|
|
643
904
|
};
|
|
905
|
+
interface HTMLCuraButtonSelectElementEventMap {
|
|
906
|
+
"onclick": { selected: boolean; };
|
|
907
|
+
}
|
|
644
908
|
interface HTMLCuraButtonSelectElement extends Components.CuraButtonSelect, HTMLStencilElement {
|
|
909
|
+
addEventListener<K extends keyof HTMLCuraButtonSelectElementEventMap>(type: K, listener: (this: HTMLCuraButtonSelectElement, ev: CuraButtonSelectCustomEvent<HTMLCuraButtonSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
910
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
911
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
912
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
913
|
+
removeEventListener<K extends keyof HTMLCuraButtonSelectElementEventMap>(type: K, listener: (this: HTMLCuraButtonSelectElement, ev: CuraButtonSelectCustomEvent<HTMLCuraButtonSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
914
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
915
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
916
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
645
917
|
}
|
|
646
918
|
var HTMLCuraButtonSelectElement: {
|
|
647
919
|
prototype: HTMLCuraButtonSelectElement;
|
|
@@ -653,7 +925,41 @@ declare global {
|
|
|
653
925
|
prototype: HTMLCuraButtonTransparentElement;
|
|
654
926
|
new (): HTMLCuraButtonTransparentElement;
|
|
655
927
|
};
|
|
928
|
+
interface HTMLCuraCalendarElementEventMap {
|
|
929
|
+
"onchangeday": { days: Date[] };
|
|
930
|
+
}
|
|
931
|
+
interface HTMLCuraCalendarElement extends Components.CuraCalendar, HTMLStencilElement {
|
|
932
|
+
addEventListener<K extends keyof HTMLCuraCalendarElementEventMap>(type: K, listener: (this: HTMLCuraCalendarElement, ev: CuraCalendarCustomEvent<HTMLCuraCalendarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
933
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
934
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
935
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
936
|
+
removeEventListener<K extends keyof HTMLCuraCalendarElementEventMap>(type: K, listener: (this: HTMLCuraCalendarElement, ev: CuraCalendarCustomEvent<HTMLCuraCalendarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
937
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
938
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
939
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
940
|
+
}
|
|
941
|
+
var HTMLCuraCalendarElement: {
|
|
942
|
+
prototype: HTMLCuraCalendarElement;
|
|
943
|
+
new (): HTMLCuraCalendarElement;
|
|
944
|
+
};
|
|
945
|
+
interface HTMLCuraCardElement extends Components.CuraCard, HTMLStencilElement {
|
|
946
|
+
}
|
|
947
|
+
var HTMLCuraCardElement: {
|
|
948
|
+
prototype: HTMLCuraCardElement;
|
|
949
|
+
new (): HTMLCuraCardElement;
|
|
950
|
+
};
|
|
951
|
+
interface HTMLCuraCheckboxElementEventMap {
|
|
952
|
+
"onchange": { value: string; checked: boolean; indeterminate: boolean };
|
|
953
|
+
}
|
|
656
954
|
interface HTMLCuraCheckboxElement extends Components.CuraCheckbox, HTMLStencilElement {
|
|
955
|
+
addEventListener<K extends keyof HTMLCuraCheckboxElementEventMap>(type: K, listener: (this: HTMLCuraCheckboxElement, ev: CuraCheckboxCustomEvent<HTMLCuraCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
956
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
957
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
958
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
959
|
+
removeEventListener<K extends keyof HTMLCuraCheckboxElementEventMap>(type: K, listener: (this: HTMLCuraCheckboxElement, ev: CuraCheckboxCustomEvent<HTMLCuraCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
960
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
961
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
962
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
657
963
|
}
|
|
658
964
|
var HTMLCuraCheckboxElement: {
|
|
659
965
|
prototype: HTMLCuraCheckboxElement;
|
|
@@ -665,6 +971,47 @@ declare global {
|
|
|
665
971
|
prototype: HTMLCuraDisplayElement;
|
|
666
972
|
new (): HTMLCuraDisplayElement;
|
|
667
973
|
};
|
|
974
|
+
interface HTMLCuraDropdownSearchElementEventMap {
|
|
975
|
+
"valueChanged": string;
|
|
976
|
+
"onselect": any;
|
|
977
|
+
}
|
|
978
|
+
interface HTMLCuraDropdownSearchElement extends Components.CuraDropdownSearch, HTMLStencilElement {
|
|
979
|
+
addEventListener<K extends keyof HTMLCuraDropdownSearchElementEventMap>(type: K, listener: (this: HTMLCuraDropdownSearchElement, ev: CuraDropdownSearchCustomEvent<HTMLCuraDropdownSearchElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
980
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
981
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
982
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
983
|
+
removeEventListener<K extends keyof HTMLCuraDropdownSearchElementEventMap>(type: K, listener: (this: HTMLCuraDropdownSearchElement, ev: CuraDropdownSearchCustomEvent<HTMLCuraDropdownSearchElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
984
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
985
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
986
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
987
|
+
}
|
|
988
|
+
var HTMLCuraDropdownSearchElement: {
|
|
989
|
+
prototype: HTMLCuraDropdownSearchElement;
|
|
990
|
+
new (): HTMLCuraDropdownSearchElement;
|
|
991
|
+
};
|
|
992
|
+
interface HTMLCuraDropdownSearchOptionElementEventMap {
|
|
993
|
+
"optionSelected": string;
|
|
994
|
+
}
|
|
995
|
+
interface HTMLCuraDropdownSearchOptionElement extends Components.CuraDropdownSearchOption, HTMLStencilElement {
|
|
996
|
+
addEventListener<K extends keyof HTMLCuraDropdownSearchOptionElementEventMap>(type: K, listener: (this: HTMLCuraDropdownSearchOptionElement, ev: CuraDropdownSearchOptionCustomEvent<HTMLCuraDropdownSearchOptionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
997
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
998
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
999
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1000
|
+
removeEventListener<K extends keyof HTMLCuraDropdownSearchOptionElementEventMap>(type: K, listener: (this: HTMLCuraDropdownSearchOptionElement, ev: CuraDropdownSearchOptionCustomEvent<HTMLCuraDropdownSearchOptionElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1001
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1002
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1003
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1004
|
+
}
|
|
1005
|
+
var HTMLCuraDropdownSearchOptionElement: {
|
|
1006
|
+
prototype: HTMLCuraDropdownSearchOptionElement;
|
|
1007
|
+
new (): HTMLCuraDropdownSearchOptionElement;
|
|
1008
|
+
};
|
|
1009
|
+
interface HTMLCuraDropdownSearchOptionTitleElement extends Components.CuraDropdownSearchOptionTitle, HTMLStencilElement {
|
|
1010
|
+
}
|
|
1011
|
+
var HTMLCuraDropdownSearchOptionTitleElement: {
|
|
1012
|
+
prototype: HTMLCuraDropdownSearchOptionTitleElement;
|
|
1013
|
+
new (): HTMLCuraDropdownSearchOptionTitleElement;
|
|
1014
|
+
};
|
|
668
1015
|
interface HTMLCuraHeadingElement extends Components.CuraHeading, HTMLStencilElement {
|
|
669
1016
|
}
|
|
670
1017
|
var HTMLCuraHeadingElement: {
|
|
@@ -683,7 +1030,18 @@ declare global {
|
|
|
683
1030
|
prototype: HTMLCuraIconsViewElement;
|
|
684
1031
|
new (): HTMLCuraIconsViewElement;
|
|
685
1032
|
};
|
|
1033
|
+
interface HTMLCuraInputTextElementEventMap {
|
|
1034
|
+
"valueChange": string | number;
|
|
1035
|
+
}
|
|
686
1036
|
interface HTMLCuraInputTextElement extends Components.CuraInputText, HTMLStencilElement {
|
|
1037
|
+
addEventListener<K extends keyof HTMLCuraInputTextElementEventMap>(type: K, listener: (this: HTMLCuraInputTextElement, ev: CuraInputTextCustomEvent<HTMLCuraInputTextElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1038
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1039
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1040
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1041
|
+
removeEventListener<K extends keyof HTMLCuraInputTextElementEventMap>(type: K, listener: (this: HTMLCuraInputTextElement, ev: CuraInputTextCustomEvent<HTMLCuraInputTextElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1042
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1043
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1044
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
687
1045
|
}
|
|
688
1046
|
var HTMLCuraInputTextElement: {
|
|
689
1047
|
prototype: HTMLCuraInputTextElement;
|
|
@@ -713,13 +1071,58 @@ declare global {
|
|
|
713
1071
|
prototype: HTMLCuraParagraphElement;
|
|
714
1072
|
new (): HTMLCuraParagraphElement;
|
|
715
1073
|
};
|
|
1074
|
+
interface HTMLCuraRadioElementEventMap {
|
|
1075
|
+
"onchange": { value: string, checked: boolean };
|
|
1076
|
+
}
|
|
716
1077
|
interface HTMLCuraRadioElement extends Components.CuraRadio, HTMLStencilElement {
|
|
1078
|
+
addEventListener<K extends keyof HTMLCuraRadioElementEventMap>(type: K, listener: (this: HTMLCuraRadioElement, ev: CuraRadioCustomEvent<HTMLCuraRadioElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1079
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1080
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1081
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1082
|
+
removeEventListener<K extends keyof HTMLCuraRadioElementEventMap>(type: K, listener: (this: HTMLCuraRadioElement, ev: CuraRadioCustomEvent<HTMLCuraRadioElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1083
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1084
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1085
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
717
1086
|
}
|
|
718
1087
|
var HTMLCuraRadioElement: {
|
|
719
1088
|
prototype: HTMLCuraRadioElement;
|
|
720
1089
|
new (): HTMLCuraRadioElement;
|
|
721
1090
|
};
|
|
1091
|
+
interface HTMLCuraSelectElementEventMap {
|
|
1092
|
+
"selected": any;
|
|
1093
|
+
}
|
|
1094
|
+
interface HTMLCuraSelectElement extends Components.CuraSelect, HTMLStencilElement {
|
|
1095
|
+
addEventListener<K extends keyof HTMLCuraSelectElementEventMap>(type: K, listener: (this: HTMLCuraSelectElement, ev: CuraSelectCustomEvent<HTMLCuraSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1096
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1097
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1098
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1099
|
+
removeEventListener<K extends keyof HTMLCuraSelectElementEventMap>(type: K, listener: (this: HTMLCuraSelectElement, ev: CuraSelectCustomEvent<HTMLCuraSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1100
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1101
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1102
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1103
|
+
}
|
|
1104
|
+
var HTMLCuraSelectElement: {
|
|
1105
|
+
prototype: HTMLCuraSelectElement;
|
|
1106
|
+
new (): HTMLCuraSelectElement;
|
|
1107
|
+
};
|
|
1108
|
+
interface HTMLCuraSelectOptionElement extends Components.CuraSelectOption, HTMLStencilElement {
|
|
1109
|
+
}
|
|
1110
|
+
var HTMLCuraSelectOptionElement: {
|
|
1111
|
+
prototype: HTMLCuraSelectOptionElement;
|
|
1112
|
+
new (): HTMLCuraSelectOptionElement;
|
|
1113
|
+
};
|
|
1114
|
+
interface HTMLCuraSwitchElementEventMap {
|
|
1115
|
+
"onchange": { checked: boolean };
|
|
1116
|
+
}
|
|
722
1117
|
interface HTMLCuraSwitchElement extends Components.CuraSwitch, HTMLStencilElement {
|
|
1118
|
+
addEventListener<K extends keyof HTMLCuraSwitchElementEventMap>(type: K, listener: (this: HTMLCuraSwitchElement, ev: CuraSwitchCustomEvent<HTMLCuraSwitchElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1119
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1120
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1121
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1122
|
+
removeEventListener<K extends keyof HTMLCuraSwitchElementEventMap>(type: K, listener: (this: HTMLCuraSwitchElement, ev: CuraSwitchCustomEvent<HTMLCuraSwitchElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1123
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1124
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1125
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
723
1126
|
}
|
|
724
1127
|
var HTMLCuraSwitchElement: {
|
|
725
1128
|
prototype: HTMLCuraSwitchElement;
|
|
@@ -729,12 +1132,18 @@ declare global {
|
|
|
729
1132
|
"cura-accordion": HTMLCuraAccordionElement;
|
|
730
1133
|
"cura-accordion-item": HTMLCuraAccordionItemElement;
|
|
731
1134
|
"cura-alert": HTMLCuraAlertElement;
|
|
1135
|
+
"cura-avatar": HTMLCuraAvatarElement;
|
|
732
1136
|
"cura-button": HTMLCuraButtonElement;
|
|
733
1137
|
"cura-button-outline": HTMLCuraButtonOutlineElement;
|
|
734
1138
|
"cura-button-select": HTMLCuraButtonSelectElement;
|
|
735
1139
|
"cura-button-transparent": HTMLCuraButtonTransparentElement;
|
|
1140
|
+
"cura-calendar": HTMLCuraCalendarElement;
|
|
1141
|
+
"cura-card": HTMLCuraCardElement;
|
|
736
1142
|
"cura-checkbox": HTMLCuraCheckboxElement;
|
|
737
1143
|
"cura-display": HTMLCuraDisplayElement;
|
|
1144
|
+
"cura-dropdown-search": HTMLCuraDropdownSearchElement;
|
|
1145
|
+
"cura-dropdown-search-option": HTMLCuraDropdownSearchOptionElement;
|
|
1146
|
+
"cura-dropdown-search-option-title": HTMLCuraDropdownSearchOptionTitleElement;
|
|
738
1147
|
"cura-heading": HTMLCuraHeadingElement;
|
|
739
1148
|
"cura-icon": HTMLCuraIconElement;
|
|
740
1149
|
"cura-icons-view": HTMLCuraIconsViewElement;
|
|
@@ -744,6 +1153,8 @@ declare global {
|
|
|
744
1153
|
"cura-page-template": HTMLCuraPageTemplateElement;
|
|
745
1154
|
"cura-paragraph": HTMLCuraParagraphElement;
|
|
746
1155
|
"cura-radio": HTMLCuraRadioElement;
|
|
1156
|
+
"cura-select": HTMLCuraSelectElement;
|
|
1157
|
+
"cura-select-option": HTMLCuraSelectOptionElement;
|
|
747
1158
|
"cura-switch": HTMLCuraSwitchElement;
|
|
748
1159
|
}
|
|
749
1160
|
}
|
|
@@ -799,11 +1210,27 @@ declare namespace LocalJSX {
|
|
|
799
1210
|
interface CuraAlert {
|
|
800
1211
|
"closeable"?: boolean;
|
|
801
1212
|
"floating"?: boolean;
|
|
1213
|
+
"icon"?: string;
|
|
802
1214
|
"label"?: string;
|
|
803
1215
|
"onClose"?: (event: CuraAlertCustomEvent<void>) => void;
|
|
804
1216
|
"type"?: 'info' | 'success' | 'warning' | 'error';
|
|
805
1217
|
}
|
|
1218
|
+
interface CuraAvatar {
|
|
1219
|
+
"backgroundColor"?: string;
|
|
1220
|
+
"border"?: boolean;
|
|
1221
|
+
"borderColor"?: string;
|
|
1222
|
+
"borderRadius"?: string;
|
|
1223
|
+
"floating"?: boolean;
|
|
1224
|
+
"imageSrc"?: string;
|
|
1225
|
+
"imageSrcDefault"?: string;
|
|
1226
|
+
"size"?: '80' | '40' | '32' | '24';
|
|
1227
|
+
"type"?: 'default' | 'branding';
|
|
1228
|
+
}
|
|
806
1229
|
interface CuraButton {
|
|
1230
|
+
/**
|
|
1231
|
+
* Set the background color to dark or light.
|
|
1232
|
+
*/
|
|
1233
|
+
"background"?: 'dark' | 'light';
|
|
807
1234
|
/**
|
|
808
1235
|
* Color base from color scheme. Default: accent.
|
|
809
1236
|
*/
|
|
@@ -852,8 +1279,16 @@ declare namespace LocalJSX {
|
|
|
852
1279
|
* Set text aligment for the button label. Vales: left (default) | center | right.
|
|
853
1280
|
*/
|
|
854
1281
|
"textAlign"?: 'left' | 'center' | 'right';
|
|
1282
|
+
/**
|
|
1283
|
+
* Button type: button (default) | submit | reset
|
|
1284
|
+
*/
|
|
1285
|
+
"type"?: 'button' | 'reset' | 'submit';
|
|
855
1286
|
}
|
|
856
1287
|
interface CuraButtonOutline {
|
|
1288
|
+
/**
|
|
1289
|
+
* Set the font background to dark or light.
|
|
1290
|
+
*/
|
|
1291
|
+
"background"?: 'dark' | 'light';
|
|
857
1292
|
/**
|
|
858
1293
|
* Color base from color scheme. Default: accent.
|
|
859
1294
|
*/
|
|
@@ -902,6 +1337,10 @@ declare namespace LocalJSX {
|
|
|
902
1337
|
* Set text aligment for the button label. Vales: left (default) | center | right.
|
|
903
1338
|
*/
|
|
904
1339
|
"textAlign"?: 'left' | 'center' | 'right';
|
|
1340
|
+
/**
|
|
1341
|
+
* Button type: button (default) | submit | reset
|
|
1342
|
+
*/
|
|
1343
|
+
"type"?: 'button' | 'reset' | 'submit';
|
|
905
1344
|
}
|
|
906
1345
|
interface CuraButtonSelect {
|
|
907
1346
|
/**
|
|
@@ -983,6 +1422,116 @@ declare namespace LocalJSX {
|
|
|
983
1422
|
* Set text aligment for the button label. Vales: left (default) | center | right.
|
|
984
1423
|
*/
|
|
985
1424
|
"textAlign"?: 'left' | 'center' | 'right';
|
|
1425
|
+
/**
|
|
1426
|
+
* Button type: button (default) | submit | reset
|
|
1427
|
+
*/
|
|
1428
|
+
"type"?: 'button' | 'reset' | 'submit';
|
|
1429
|
+
}
|
|
1430
|
+
interface CuraCalendar {
|
|
1431
|
+
/**
|
|
1432
|
+
* Date format used for display and parsing.
|
|
1433
|
+
* @type {string}
|
|
1434
|
+
* @default 'yyyy-MM-dd'
|
|
1435
|
+
*/
|
|
1436
|
+
"dateFormat"?: string;
|
|
1437
|
+
/**
|
|
1438
|
+
* Default dates selected on initialization.
|
|
1439
|
+
* @type {string[]}
|
|
1440
|
+
* @default []
|
|
1441
|
+
*/
|
|
1442
|
+
"defaultDate"?: string[];
|
|
1443
|
+
/**
|
|
1444
|
+
* List of dates to disable.
|
|
1445
|
+
* @type {string[]}
|
|
1446
|
+
* @default []
|
|
1447
|
+
*/
|
|
1448
|
+
"disable"?: string[];
|
|
1449
|
+
/**
|
|
1450
|
+
* List of dates to enable.
|
|
1451
|
+
* @type {string[]}
|
|
1452
|
+
* @default []
|
|
1453
|
+
*/
|
|
1454
|
+
"enable"?: string[];
|
|
1455
|
+
/**
|
|
1456
|
+
* Limits the selectable date range.
|
|
1457
|
+
* @type {Date | null}
|
|
1458
|
+
* @default null
|
|
1459
|
+
*/
|
|
1460
|
+
"limitRange"?: number | null;
|
|
1461
|
+
/**
|
|
1462
|
+
* Locale for date formatting.
|
|
1463
|
+
* @type {'pt-BR' | 'en-US'}
|
|
1464
|
+
* @default 'pt-BR'
|
|
1465
|
+
*/
|
|
1466
|
+
"locale"?: 'pt-BR' | 'en-US';
|
|
1467
|
+
/**
|
|
1468
|
+
* Selection mode of the date picker.
|
|
1469
|
+
* @type {'single' | 'multiple' | 'range'}
|
|
1470
|
+
* @default 'single'
|
|
1471
|
+
*/
|
|
1472
|
+
"mode"?: 'single' | 'multiple' | 'range';
|
|
1473
|
+
/**
|
|
1474
|
+
* Event emitted when a day is changed.
|
|
1475
|
+
* @event
|
|
1476
|
+
* @type {EventEmitter<{ days: Date[] }>}
|
|
1477
|
+
*/
|
|
1478
|
+
"onOnchangeday"?: (event: CuraCalendarCustomEvent<{ days: Date[] }>) => void;
|
|
1479
|
+
/**
|
|
1480
|
+
* An array of specific dates to be highlighted or processed.
|
|
1481
|
+
* @type {string[] | string}
|
|
1482
|
+
* @default []
|
|
1483
|
+
* @example // Example usage period = ["2024-08-01", "2024-08-30"];
|
|
1484
|
+
*/
|
|
1485
|
+
"period"?: string[] | string;
|
|
1486
|
+
/**
|
|
1487
|
+
* Display type of the date picker.
|
|
1488
|
+
* @type {'dropdown' | 'static'}
|
|
1489
|
+
* @default 'dropdown'
|
|
1490
|
+
*/
|
|
1491
|
+
"type"?: 'dropdown' | 'static';
|
|
1492
|
+
/**
|
|
1493
|
+
* Width of the component.
|
|
1494
|
+
* @type {string}
|
|
1495
|
+
* @default '300px'
|
|
1496
|
+
*/
|
|
1497
|
+
"width"?: string;
|
|
1498
|
+
}
|
|
1499
|
+
interface CuraCard {
|
|
1500
|
+
/**
|
|
1501
|
+
* Sets the color mode of the card. - 'light': Light mode for the card. - 'dark': Dark mode for the card.
|
|
1502
|
+
* @type {'light' | 'dark'}
|
|
1503
|
+
* @default 'light'
|
|
1504
|
+
*/
|
|
1505
|
+
"colorMode"?: 'light' | 'dark';
|
|
1506
|
+
/**
|
|
1507
|
+
* Determines whether the card should have padding.
|
|
1508
|
+
* @type {boolean}
|
|
1509
|
+
* @default false
|
|
1510
|
+
*/
|
|
1511
|
+
"hasPadding"?: boolean;
|
|
1512
|
+
/**
|
|
1513
|
+
* Determines whether the card should have a shadow effect.
|
|
1514
|
+
* @type {boolean}
|
|
1515
|
+
* @default false
|
|
1516
|
+
*/
|
|
1517
|
+
"hasShadow"?: boolean;
|
|
1518
|
+
/**
|
|
1519
|
+
* The URL that the card should link to (if set). If not set, the card acts as a normal card.
|
|
1520
|
+
* @type {string | undefined}
|
|
1521
|
+
*/
|
|
1522
|
+
"href"?: string;
|
|
1523
|
+
/**
|
|
1524
|
+
* The target attribute for the link. Applicable only if `href` is set.
|
|
1525
|
+
* @type {string}
|
|
1526
|
+
* @default '_self'
|
|
1527
|
+
*/
|
|
1528
|
+
"target"?: string;
|
|
1529
|
+
/**
|
|
1530
|
+
* Sets the type of the card background. - 'solid': A solid background. - 'transparent': A transparent background.
|
|
1531
|
+
* @type {'solid' | 'transparent'}
|
|
1532
|
+
* @default 'solid'
|
|
1533
|
+
*/
|
|
1534
|
+
"type"?: 'solid' | 'transparent';
|
|
986
1535
|
}
|
|
987
1536
|
interface CuraCheckbox {
|
|
988
1537
|
/**
|
|
@@ -1017,7 +1566,7 @@ declare namespace LocalJSX {
|
|
|
1017
1566
|
* Name attribute of the checkbox.
|
|
1018
1567
|
*/
|
|
1019
1568
|
"name"?: string;
|
|
1020
|
-
"onOnchange"?: (event: CuraCheckboxCustomEvent<{ value: string
|
|
1569
|
+
"onOnchange"?: (event: CuraCheckboxCustomEvent<{ value: string; checked: boolean; indeterminate: boolean }>) => void;
|
|
1021
1570
|
/**
|
|
1022
1571
|
* Specifies the tabindex of the checkbox.
|
|
1023
1572
|
*/
|
|
@@ -1065,6 +1614,61 @@ declare namespace LocalJSX {
|
|
|
1065
1614
|
*/
|
|
1066
1615
|
"spotColor"?: string;
|
|
1067
1616
|
}
|
|
1617
|
+
interface CuraDropdownSearch {
|
|
1618
|
+
/**
|
|
1619
|
+
* The label for the dropdown search.
|
|
1620
|
+
*/
|
|
1621
|
+
"label"?: string;
|
|
1622
|
+
/**
|
|
1623
|
+
* The name of the dropdown search component.
|
|
1624
|
+
*/
|
|
1625
|
+
"name"?: string;
|
|
1626
|
+
"onOnselect"?: (event: CuraDropdownSearchCustomEvent<any>) => void;
|
|
1627
|
+
/**
|
|
1628
|
+
* Event emitted when the value changes.
|
|
1629
|
+
*/
|
|
1630
|
+
"onValueChanged"?: (event: CuraDropdownSearchCustomEvent<string>) => void;
|
|
1631
|
+
/**
|
|
1632
|
+
* The placeholder text for the dropdown search.
|
|
1633
|
+
*/
|
|
1634
|
+
"placeholder"?: string;
|
|
1635
|
+
/**
|
|
1636
|
+
* Indicates if the dropdown search is required.
|
|
1637
|
+
*/
|
|
1638
|
+
"required"?: boolean;
|
|
1639
|
+
/**
|
|
1640
|
+
* Indicates if the dropdown search is selected.
|
|
1641
|
+
*/
|
|
1642
|
+
"selected"?: boolean;
|
|
1643
|
+
/**
|
|
1644
|
+
* Define the status of the dropdown search.
|
|
1645
|
+
*/
|
|
1646
|
+
"status"?: 'error' | 'default';
|
|
1647
|
+
/**
|
|
1648
|
+
* The value of the dropdown search.
|
|
1649
|
+
*/
|
|
1650
|
+
"value"?: string;
|
|
1651
|
+
}
|
|
1652
|
+
interface CuraDropdownSearchOption {
|
|
1653
|
+
/**
|
|
1654
|
+
* Indicates if the dropdown search option is hovered.
|
|
1655
|
+
*/
|
|
1656
|
+
"hovered"?: boolean;
|
|
1657
|
+
/**
|
|
1658
|
+
* Event emitted when the option is selected.
|
|
1659
|
+
*/
|
|
1660
|
+
"onOptionSelected"?: (event: CuraDropdownSearchOptionCustomEvent<string>) => void;
|
|
1661
|
+
/**
|
|
1662
|
+
* Indicates if the dropdown search option is selected.
|
|
1663
|
+
*/
|
|
1664
|
+
"selected"?: boolean;
|
|
1665
|
+
/**
|
|
1666
|
+
* The value of the dropdown search option.
|
|
1667
|
+
*/
|
|
1668
|
+
"value"?: string;
|
|
1669
|
+
}
|
|
1670
|
+
interface CuraDropdownSearchOptionTitle {
|
|
1671
|
+
}
|
|
1068
1672
|
interface CuraHeading {
|
|
1069
1673
|
/**
|
|
1070
1674
|
* Text color. Values: Color from design system scheme. Default to the font color from the theme.
|
|
@@ -1117,10 +1721,18 @@ declare namespace LocalJSX {
|
|
|
1117
1721
|
* Helper text displayed below the input
|
|
1118
1722
|
*/
|
|
1119
1723
|
"helperText"?: string;
|
|
1724
|
+
/**
|
|
1725
|
+
* Removes the alertCircle icon when necessary(as used in CuraDropdownSearch)
|
|
1726
|
+
*/
|
|
1727
|
+
"hideErrorIcon"?: boolean;
|
|
1120
1728
|
/**
|
|
1121
1729
|
* Whether to display a cura icon (default: null)
|
|
1122
1730
|
*/
|
|
1123
1731
|
"iconName"?: string;
|
|
1732
|
+
/**
|
|
1733
|
+
* Type of the input: 'text', 'number' (default: 'text')
|
|
1734
|
+
*/
|
|
1735
|
+
"inputMode"?: string;
|
|
1124
1736
|
/**
|
|
1125
1737
|
* Whether the input is in loading state (default: false)
|
|
1126
1738
|
*/
|
|
@@ -1133,7 +1745,7 @@ declare namespace LocalJSX {
|
|
|
1133
1745
|
* Advanced mask object to be used with IMask library
|
|
1134
1746
|
* @see : https://imask.js.org/
|
|
1135
1747
|
*/
|
|
1136
|
-
"maskAdvanced"?:
|
|
1748
|
+
"maskAdvanced"?: any | string | null;
|
|
1137
1749
|
/**
|
|
1138
1750
|
* Mask preset for input formatting: 'cpf', 'cnpj', 'phone', 'date', etc. Uses IMask library.
|
|
1139
1751
|
* @see : https://imask.js.org/
|
|
@@ -1143,7 +1755,7 @@ declare namespace LocalJSX {
|
|
|
1143
1755
|
* Regular expression for custom input masking. Uses IMask library.
|
|
1144
1756
|
* @see : https://imask.js.org/
|
|
1145
1757
|
*/
|
|
1146
|
-
"maskRegex"?:
|
|
1758
|
+
"maskRegex"?: string | null;
|
|
1147
1759
|
/**
|
|
1148
1760
|
* Maximum length of the input value (default: undefined)
|
|
1149
1761
|
*/
|
|
@@ -1152,6 +1764,10 @@ declare namespace LocalJSX {
|
|
|
1152
1764
|
* Mode of the input: 'default' or 'transparent' (default: 'default')
|
|
1153
1765
|
*/
|
|
1154
1766
|
"mode"?: 'default' | 'transparent';
|
|
1767
|
+
/**
|
|
1768
|
+
* Name text for the input
|
|
1769
|
+
*/
|
|
1770
|
+
"name"?: string;
|
|
1155
1771
|
/**
|
|
1156
1772
|
* Emitted when the value of the input changes
|
|
1157
1773
|
* @type {EventEmitter<string | number>}
|
|
@@ -1180,7 +1796,7 @@ declare namespace LocalJSX {
|
|
|
1180
1796
|
/**
|
|
1181
1797
|
* Type of the input: 'text', 'number' (default: 'text')
|
|
1182
1798
|
*/
|
|
1183
|
-
"type"?:
|
|
1799
|
+
"type"?: string;
|
|
1184
1800
|
/**
|
|
1185
1801
|
* Value of the input field
|
|
1186
1802
|
*/
|
|
@@ -1298,6 +1914,50 @@ declare namespace LocalJSX {
|
|
|
1298
1914
|
*/
|
|
1299
1915
|
"value"?: string;
|
|
1300
1916
|
}
|
|
1917
|
+
interface CuraSelect {
|
|
1918
|
+
/**
|
|
1919
|
+
* Whether the select component is disabled. Reflects as an attribute in the DOM.
|
|
1920
|
+
*/
|
|
1921
|
+
"disabled"?: boolean;
|
|
1922
|
+
/**
|
|
1923
|
+
* The label text for the select component. Reflects as an attribute in the DOM.
|
|
1924
|
+
*/
|
|
1925
|
+
"label"?: string;
|
|
1926
|
+
/**
|
|
1927
|
+
* Display mode of the select component. Can be 'default' or 'transparent'.
|
|
1928
|
+
*/
|
|
1929
|
+
"mode"?: 'default' | 'transparent';
|
|
1930
|
+
/**
|
|
1931
|
+
* Event emitted when an option is selected.
|
|
1932
|
+
*/
|
|
1933
|
+
"onSelected"?: (event: CuraSelectCustomEvent<any>) => void;
|
|
1934
|
+
/**
|
|
1935
|
+
* Placeholder text for the input field. Reflects as an attribute in the DOM.
|
|
1936
|
+
*/
|
|
1937
|
+
"placeholder"?: string;
|
|
1938
|
+
/**
|
|
1939
|
+
* Whether the select component is required. Reflects as an attribute in the DOM.
|
|
1940
|
+
*/
|
|
1941
|
+
"required"?: boolean;
|
|
1942
|
+
/**
|
|
1943
|
+
* Size of the select component. Can be 'small', 'medium', or 'large'.
|
|
1944
|
+
*/
|
|
1945
|
+
"size"?: 'small' | 'medium' | 'large';
|
|
1946
|
+
/**
|
|
1947
|
+
* Status of the select component. Can be 'success', 'error', or 'default'.
|
|
1948
|
+
*/
|
|
1949
|
+
"status"?: 'success' | 'error' | 'default';
|
|
1950
|
+
/**
|
|
1951
|
+
* Current value of the select component. Reflects as an attribute in the DOM and is mutable.
|
|
1952
|
+
*/
|
|
1953
|
+
"value"?: string;
|
|
1954
|
+
}
|
|
1955
|
+
interface CuraSelectOption {
|
|
1956
|
+
"active"?: boolean;
|
|
1957
|
+
"selected"?: boolean;
|
|
1958
|
+
"size"?: 'xsmall' | 'small' | 'medium' | 'large';
|
|
1959
|
+
"value"?: string;
|
|
1960
|
+
}
|
|
1301
1961
|
interface CuraSwitch {
|
|
1302
1962
|
/**
|
|
1303
1963
|
* Background style of the switch. Can be 'dark' or 'light'.
|
|
@@ -1327,7 +1987,7 @@ declare namespace LocalJSX {
|
|
|
1327
1987
|
/**
|
|
1328
1988
|
* Position of the label relative to the switch. Can be 'left' or 'right'.
|
|
1329
1989
|
*/
|
|
1330
|
-
"position"?:
|
|
1990
|
+
"position"?: 'left' | 'right';
|
|
1331
1991
|
/**
|
|
1332
1992
|
* Size of the switch. Can be 'small', 'medium', or 'large'.
|
|
1333
1993
|
*/
|
|
@@ -1337,12 +1997,18 @@ declare namespace LocalJSX {
|
|
|
1337
1997
|
"cura-accordion": CuraAccordion;
|
|
1338
1998
|
"cura-accordion-item": CuraAccordionItem;
|
|
1339
1999
|
"cura-alert": CuraAlert;
|
|
2000
|
+
"cura-avatar": CuraAvatar;
|
|
1340
2001
|
"cura-button": CuraButton;
|
|
1341
2002
|
"cura-button-outline": CuraButtonOutline;
|
|
1342
2003
|
"cura-button-select": CuraButtonSelect;
|
|
1343
2004
|
"cura-button-transparent": CuraButtonTransparent;
|
|
2005
|
+
"cura-calendar": CuraCalendar;
|
|
2006
|
+
"cura-card": CuraCard;
|
|
1344
2007
|
"cura-checkbox": CuraCheckbox;
|
|
1345
2008
|
"cura-display": CuraDisplay;
|
|
2009
|
+
"cura-dropdown-search": CuraDropdownSearch;
|
|
2010
|
+
"cura-dropdown-search-option": CuraDropdownSearchOption;
|
|
2011
|
+
"cura-dropdown-search-option-title": CuraDropdownSearchOptionTitle;
|
|
1346
2012
|
"cura-heading": CuraHeading;
|
|
1347
2013
|
"cura-icon": CuraIcon;
|
|
1348
2014
|
"cura-icons-view": CuraIconsView;
|
|
@@ -1352,6 +2018,8 @@ declare namespace LocalJSX {
|
|
|
1352
2018
|
"cura-page-template": CuraPageTemplate;
|
|
1353
2019
|
"cura-paragraph": CuraParagraph;
|
|
1354
2020
|
"cura-radio": CuraRadio;
|
|
2021
|
+
"cura-select": CuraSelect;
|
|
2022
|
+
"cura-select-option": CuraSelectOption;
|
|
1355
2023
|
"cura-switch": CuraSwitch;
|
|
1356
2024
|
}
|
|
1357
2025
|
}
|
|
@@ -1362,12 +2030,18 @@ declare module "@stencil/core" {
|
|
|
1362
2030
|
"cura-accordion": LocalJSX.CuraAccordion & JSXBase.HTMLAttributes<HTMLCuraAccordionElement>;
|
|
1363
2031
|
"cura-accordion-item": LocalJSX.CuraAccordionItem & JSXBase.HTMLAttributes<HTMLCuraAccordionItemElement>;
|
|
1364
2032
|
"cura-alert": LocalJSX.CuraAlert & JSXBase.HTMLAttributes<HTMLCuraAlertElement>;
|
|
2033
|
+
"cura-avatar": LocalJSX.CuraAvatar & JSXBase.HTMLAttributes<HTMLCuraAvatarElement>;
|
|
1365
2034
|
"cura-button": LocalJSX.CuraButton & JSXBase.HTMLAttributes<HTMLCuraButtonElement>;
|
|
1366
2035
|
"cura-button-outline": LocalJSX.CuraButtonOutline & JSXBase.HTMLAttributes<HTMLCuraButtonOutlineElement>;
|
|
1367
2036
|
"cura-button-select": LocalJSX.CuraButtonSelect & JSXBase.HTMLAttributes<HTMLCuraButtonSelectElement>;
|
|
1368
2037
|
"cura-button-transparent": LocalJSX.CuraButtonTransparent & JSXBase.HTMLAttributes<HTMLCuraButtonTransparentElement>;
|
|
2038
|
+
"cura-calendar": LocalJSX.CuraCalendar & JSXBase.HTMLAttributes<HTMLCuraCalendarElement>;
|
|
2039
|
+
"cura-card": LocalJSX.CuraCard & JSXBase.HTMLAttributes<HTMLCuraCardElement>;
|
|
1369
2040
|
"cura-checkbox": LocalJSX.CuraCheckbox & JSXBase.HTMLAttributes<HTMLCuraCheckboxElement>;
|
|
1370
2041
|
"cura-display": LocalJSX.CuraDisplay & JSXBase.HTMLAttributes<HTMLCuraDisplayElement>;
|
|
2042
|
+
"cura-dropdown-search": LocalJSX.CuraDropdownSearch & JSXBase.HTMLAttributes<HTMLCuraDropdownSearchElement>;
|
|
2043
|
+
"cura-dropdown-search-option": LocalJSX.CuraDropdownSearchOption & JSXBase.HTMLAttributes<HTMLCuraDropdownSearchOptionElement>;
|
|
2044
|
+
"cura-dropdown-search-option-title": LocalJSX.CuraDropdownSearchOptionTitle & JSXBase.HTMLAttributes<HTMLCuraDropdownSearchOptionTitleElement>;
|
|
1371
2045
|
"cura-heading": LocalJSX.CuraHeading & JSXBase.HTMLAttributes<HTMLCuraHeadingElement>;
|
|
1372
2046
|
"cura-icon": LocalJSX.CuraIcon & JSXBase.HTMLAttributes<HTMLCuraIconElement>;
|
|
1373
2047
|
"cura-icons-view": LocalJSX.CuraIconsView & JSXBase.HTMLAttributes<HTMLCuraIconsViewElement>;
|
|
@@ -1377,6 +2051,8 @@ declare module "@stencil/core" {
|
|
|
1377
2051
|
"cura-page-template": LocalJSX.CuraPageTemplate & JSXBase.HTMLAttributes<HTMLCuraPageTemplateElement>;
|
|
1378
2052
|
"cura-paragraph": LocalJSX.CuraParagraph & JSXBase.HTMLAttributes<HTMLCuraParagraphElement>;
|
|
1379
2053
|
"cura-radio": LocalJSX.CuraRadio & JSXBase.HTMLAttributes<HTMLCuraRadioElement>;
|
|
2054
|
+
"cura-select": LocalJSX.CuraSelect & JSXBase.HTMLAttributes<HTMLCuraSelectElement>;
|
|
2055
|
+
"cura-select-option": LocalJSX.CuraSelectOption & JSXBase.HTMLAttributes<HTMLCuraSelectOptionElement>;
|
|
1380
2056
|
"cura-switch": LocalJSX.CuraSwitch & JSXBase.HTMLAttributes<HTMLCuraSwitchElement>;
|
|
1381
2057
|
}
|
|
1382
2058
|
}
|