@rededor/cura 2.0.0-alpha.10 → 2.0.0-alpha.12
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/cjs/app-globals-e8cmvmo1.js +69 -0
- package/dist/cjs/cura-accordion_21.cjs.entry.js +267 -208
- package/dist/cjs/cura-alert.cjs.entry.js +7 -8
- package/dist/cjs/cura-badge-counter.cjs.entry.js +13 -10
- package/dist/cjs/cura-badge-dot.cjs.entry.js +4 -7
- package/dist/cjs/cura-badge-pill.cjs.entry.js +7 -8
- package/dist/cjs/cura-button-outline.cjs.entry.js +15 -10
- package/dist/cjs/cura-button-select.cjs.entry.js +10 -9
- package/dist/cjs/cura-button.definitions-B3SK8MaV.js +0 -3
- package/dist/cjs/cura-calendar.cjs.entry.js +12 -9
- package/dist/cjs/cura-checkbox.cjs.entry.js +18 -11
- package/dist/cjs/cura-display.cjs.entry.js +10 -9
- package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +4 -7
- package/dist/cjs/cura-forms.definitions-DVLuO67c.js +0 -3
- package/dist/cjs/cura-icon.definitions-DT0wF67y.js +0 -3
- package/dist/cjs/cura-icons-view.cjs.entry.js +4 -7
- package/dist/cjs/cura-input-date.cjs.entry.js +7 -8
- package/dist/cjs/cura-loader-bar.cjs.entry.js +10 -9
- package/dist/cjs/cura-modal.cjs.entry.js +19 -12
- package/dist/cjs/cura-progress-bar_2.cjs.entry.js +6 -9
- package/dist/cjs/cura-radio.cjs.entry.js +15 -10
- package/dist/cjs/cura-stepper.cjs.entry.js +4 -7
- package/dist/cjs/cura-switch.cjs.entry.js +13 -10
- package/dist/cjs/cura-tabs-button.cjs.entry.js +7 -8
- package/dist/cjs/cura-tabs-transparent.cjs.entry.js +7 -8
- package/dist/cjs/cura-tabs.definitions-CGqqGE2e.js +0 -3
- package/dist/cjs/cura-theme-module-Dg1d3VUN.js +237 -0
- package/dist/cjs/cura-toast.cjs.entry.js +10 -9
- package/dist/cjs/cura-tooltip.cjs.entry.js +4 -7
- package/dist/cjs/cura.cjs.js +8 -8
- package/dist/cjs/{index-BK9MSAiE.js → index-BLhmsPd0.js} +705 -579
- package/dist/cjs/index-EyP6Zlkd.js +0 -3
- package/dist/cjs/index.cjs.js +3 -4
- package/dist/cjs/loader.cjs.js +7 -7
- package/dist/cjs/static-DHz-FA_O.js +88 -0
- package/dist/cjs/theme-legacy-default-COE-hjD7.js +264 -0
- package/dist/collection/api/cura-api.js +0 -1
- package/dist/collection/api/cura-api.type.js +0 -1
- package/dist/collection/api/modules/cura-theme-breakpoints-module.js +0 -1
- package/dist/collection/api/modules/cura-theme-colors-module.js +0 -1
- package/dist/collection/api/modules/cura-theme-fonts-module.js +0 -1
- package/dist/collection/api/modules/cura-theme-module.js +0 -1
- package/dist/collection/api/modules/cura-theme-spacing-module.js +0 -1
- package/dist/collection/api/theme-presets/static.js +0 -1
- package/dist/collection/api/theme-presets/theme-default.js +0 -1
- package/dist/collection/api/theme-presets/theme-legacy-default.js +0 -1
- package/dist/collection/api/theme-presets/theme-maternity.js +0 -1
- package/dist/collection/api/theme-presets/theme-oncology.js +0 -1
- package/dist/collection/api/theme-presets/theme-perinatal-temporary.js +0 -1
- package/dist/collection/api/theme-presets/theme-presets.js +0 -1
- package/dist/collection/api/theme-presets/theme-richet.js +0 -1
- package/dist/collection/assets/icons/iconset-default-list.js +0 -1
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.css +0 -0
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +9 -10
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js +0 -1
- package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.css +0 -0
- package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js +9 -10
- package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.css +0 -0
- package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js +5 -6
- package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.stories.js +0 -1
- package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.css +0 -0
- package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js +2 -3
- package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.stories.js +0 -1
- package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.css +0 -0
- package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js +3 -4
- package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.stories.js +0 -1
- package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.css +0 -0
- package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js +8 -9
- package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.stories.js +0 -1
- package/dist/collection/components/buttons/cura-button/cura-button.css +0 -0
- package/dist/collection/components/buttons/cura-button/cura-button.js +24 -25
- package/dist/collection/components/buttons/cura-button/cura-button.stories.js +0 -1
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.css +0 -0
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +17 -18
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +0 -1
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.css +0 -0
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +12 -13
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js +0 -1
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.css +0 -0
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +16 -17
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +0 -1
- package/dist/collection/components/buttons/cura-button.definitions.js +0 -1
- package/dist/collection/components/cura-alert/cura-alert.css +0 -0
- package/dist/collection/components/cura-alert/cura-alert.js +7 -8
- package/dist/collection/components/cura-alert/cura-alert.stories.js +0 -1
- package/dist/collection/components/cura-avatar/cura-avatar.css +0 -0
- package/dist/collection/components/cura-avatar/cura-avatar.definitions.js +0 -1
- package/dist/collection/components/cura-avatar/cura-avatar.js +13 -14
- package/dist/collection/components/cura-avatar/cura-avatar.stories.js +0 -1
- package/dist/collection/components/cura-calendar/cura-calendar.css +0 -0
- package/dist/collection/components/cura-calendar/cura-calendar.js +21 -25
- package/dist/collection/components/cura-calendar/cura-calendar.stories.js +0 -1
- package/dist/collection/components/cura-card/cura-card.css +0 -0
- package/dist/collection/components/cura-card/cura-card.js +7 -8
- package/dist/collection/components/cura-card/cura-card.stories.js +0 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.css +0 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js +0 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.stories.js +0 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.css +0 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js +0 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js +0 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.css +0 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +7 -8
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js +0 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.css +0 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js +13 -14
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.stories.js +0 -1
- package/dist/collection/components/cura-icon/cura-icon.css +0 -0
- package/dist/collection/components/cura-icon/cura-icon.definitions.js +0 -1
- package/dist/collection/components/cura-icon/cura-icon.js +6 -7
- package/dist/collection/components/cura-icon/cura-icon.stories.js +0 -1
- package/dist/collection/components/cura-icons-view/cura-icons-view.css +0 -0
- package/dist/collection/components/cura-icons-view/cura-icons-view.js +0 -1
- package/dist/collection/components/cura-icons-view/cura-icons-view.stories.js +0 -1
- package/dist/collection/components/cura-modal/cura-modal.css +0 -0
- package/dist/collection/components/cura-modal/cura-modal.js +9 -10
- package/dist/collection/components/cura-modal/cura-modal.stories.js +0 -1
- package/dist/collection/components/cura-page-template/cura-page-template.css +0 -0
- package/dist/collection/components/cura-page-template/cura-page-template.js +1 -2
- package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.css +0 -0
- package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +8 -9
- package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.css +0 -0
- package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +6 -7
- package/dist/collection/components/cura-stepper/cura-stepper.css +0 -0
- package/dist/collection/components/cura-stepper/cura-stepper.js +8 -8
- package/dist/collection/components/cura-stepper/cura-stepper.stories.js +0 -1
- package/dist/collection/components/cura-stepper/stepper.type.js +0 -1
- package/dist/collection/components/cura-toast/cura-toast.css +0 -0
- package/dist/collection/components/cura-toast/cura-toast.js +9 -10
- package/dist/collection/components/cura-toast/cura-toast.stories.js +0 -1
- package/dist/collection/components/cura-tooltip/cura-tooltip.css +0 -0
- package/dist/collection/components/cura-tooltip/cura-tooltip.js +8 -9
- package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js +0 -1
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.css +0 -0
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +19 -20
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js +0 -1
- package/dist/collection/components/forms/cura-forms.definitions.js +0 -1
- package/dist/collection/components/forms/cura-input-date/cura-input-date.css +0 -0
- package/dist/collection/components/forms/cura-input-date/cura-input-date.js +15 -16
- package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js +0 -1
- package/dist/collection/components/forms/cura-input-text/cura-input-text.css +0 -0
- package/dist/collection/components/forms/cura-input-text/cura-input-text.js +29 -30
- package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js +0 -1
- package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js +0 -1
- package/dist/collection/components/forms/cura-label/cura-label.css +0 -0
- package/dist/collection/components/forms/cura-label/cura-label.js +8 -9
- package/dist/collection/components/forms/cura-label/cura-label.stories.js +0 -1
- package/dist/collection/components/forms/cura-radio/cura-radio.css +0 -0
- package/dist/collection/components/forms/cura-radio/cura-radio.js +15 -16
- package/dist/collection/components/forms/cura-radio/cura-radio.stories.js +0 -1
- package/dist/collection/components/forms/cura-select/cura-select.css +0 -0
- package/dist/collection/components/forms/cura-select/cura-select.js +13 -14
- package/dist/collection/components/forms/cura-select/cura-select.stories.js +0 -1
- package/dist/collection/components/forms/cura-select-options/cura-select-option.css +0 -0
- package/dist/collection/components/forms/cura-select-options/cura-select-option.js +5 -6
- package/dist/collection/components/forms/cura-switch/cura-switch.css +0 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.js +10 -11
- package/dist/collection/components/forms/cura-switch/cura-switch.stories.js +0 -1
- package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.css +0 -0
- package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +2 -3
- package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.stories.js +0 -1
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.css +0 -0
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +2 -3
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js +0 -1
- package/dist/collection/components/tabs/cura-tabs/cura-tabs.css +0 -0
- package/dist/collection/components/tabs/cura-tabs/cura-tabs.js +9 -10
- package/dist/collection/components/tabs/cura-tabs/cura-tabs.stories.js +0 -1
- package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.css +0 -0
- package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js +9 -10
- package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.stories.js +0 -1
- package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.css +0 -0
- package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js +3 -4
- package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.stories.js +0 -1
- package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.css +0 -0
- package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js +9 -10
- package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.stories.js +0 -1
- package/dist/collection/components/tabs/cura-tabs.definitions.js +0 -1
- package/dist/collection/components/text/cura-display/cura-display.css +0 -0
- package/dist/collection/components/text/cura-display/cura-display.js +7 -8
- package/dist/collection/components/text/cura-display/cura-display.stories.js +0 -1
- package/dist/collection/components/text/cura-heading/cura-heading.css +0 -0
- package/dist/collection/components/text/cura-heading/cura-heading.js +9 -10
- package/dist/collection/components/text/cura-heading/cura-heading.stories.js +0 -1
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.css +0 -0
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +7 -8
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js +0 -1
- package/dist/collection/index.js +0 -1
- package/dist/collection/rededor-cura-start.js +0 -1
- package/dist/collection/utils/FixedElementScrollBehavior.js +0 -1
- package/dist/collection/utils/utils.js +0 -1
- package/dist/components/cura-accordion-item.d.ts +0 -0
- package/dist/components/cura-accordion-item.js +1 -102
- package/dist/components/cura-accordion.d.ts +0 -0
- package/dist/components/cura-accordion.js +1 -144
- package/dist/components/cura-alert.d.ts +0 -0
- package/dist/components/cura-alert.js +1 -110
- package/dist/components/cura-avatar.d.ts +0 -0
- package/dist/components/cura-avatar.js +1 -112
- package/dist/components/cura-badge-counter.d.ts +0 -0
- package/dist/components/cura-badge-counter.js +1 -9
- package/dist/components/cura-badge-distance.d.ts +0 -0
- package/dist/components/cura-badge-distance.js +1 -73
- package/dist/components/cura-badge-dot.d.ts +0 -0
- package/dist/components/cura-badge-dot.js +1 -73
- package/dist/components/cura-badge-pill.d.ts +0 -0
- package/dist/components/cura-badge-pill.js +1 -9
- package/dist/components/cura-button-outline.d.ts +0 -0
- package/dist/components/cura-button-outline.js +1 -206
- package/dist/components/cura-button-select.d.ts +0 -0
- package/dist/components/cura-button-select.js +1 -163
- package/dist/components/cura-button-transparent.d.ts +0 -0
- package/dist/components/cura-button-transparent.js +1 -9
- package/dist/components/cura-button.d.ts +0 -0
- package/dist/components/cura-button.js +1 -205
- package/dist/components/cura-calendar.d.ts +0 -0
- package/dist/components/cura-calendar.js +1 -9
- package/dist/components/cura-card.d.ts +0 -0
- package/dist/components/cura-card.js +1 -104
- package/dist/components/cura-checkbox.d.ts +0 -0
- package/dist/components/cura-checkbox.js +1 -286
- package/dist/components/cura-display.d.ts +0 -0
- package/dist/components/cura-display.js +1 -128
- package/dist/components/cura-dropdown-search-category.d.ts +0 -0
- package/dist/components/cura-dropdown-search-category.js +1 -49
- package/dist/components/cura-dropdown-search-not-found.d.ts +0 -0
- package/dist/components/cura-dropdown-search-not-found.js +1 -48
- package/dist/components/cura-dropdown-search-option.d.ts +0 -0
- package/dist/components/cura-dropdown-search-option.js +1 -93
- package/dist/components/cura-dropdown-search.d.ts +0 -0
- package/dist/components/cura-dropdown-search.js +1 -467
- package/dist/components/cura-heading.d.ts +0 -0
- package/dist/components/cura-heading.js +1 -9
- package/dist/components/cura-icon.d.ts +0 -0
- package/dist/components/cura-icon.js +1 -9
- package/dist/components/cura-icons-view.d.ts +0 -0
- package/dist/components/cura-icons-view.js +1 -67
- package/dist/components/cura-input-date.d.ts +0 -0
- package/dist/components/cura-input-date.js +1 -286
- package/dist/components/cura-input-text.d.ts +0 -0
- package/dist/components/cura-input-text.js +1 -9
- package/dist/components/cura-label.d.ts +0 -0
- package/dist/components/cura-label.js +1 -9
- package/dist/components/cura-loader-bar.d.ts +0 -0
- package/dist/components/cura-loader-bar.js +1 -9
- package/dist/components/cura-loader-circle.d.ts +0 -0
- package/dist/components/cura-loader-circle.js +1 -9
- package/dist/components/cura-modal.d.ts +0 -0
- package/dist/components/cura-modal.js +1 -181
- package/dist/components/cura-page-template.d.ts +0 -0
- package/dist/components/cura-page-template.js +1 -50
- package/dist/components/cura-paragraph.d.ts +0 -0
- package/dist/components/cura-paragraph.js +1 -9
- package/dist/components/cura-progress-bar.d.ts +0 -0
- package/dist/components/cura-progress-bar.js +1 -9
- package/dist/components/cura-radio.d.ts +0 -0
- package/dist/components/cura-radio.js +1 -249
- package/dist/components/cura-select-option.d.ts +0 -0
- package/dist/components/cura-select-option.js +1 -9
- package/dist/components/cura-select.d.ts +0 -0
- package/dist/components/cura-select.js +1 -9
- package/dist/components/cura-stepper-item.d.ts +0 -0
- package/dist/components/cura-stepper-item.js +1 -9
- package/dist/components/cura-stepper.d.ts +0 -0
- package/dist/components/cura-stepper.js +1 -205
- package/dist/components/cura-switch.d.ts +0 -0
- package/dist/components/cura-switch.js +1 -201
- package/dist/components/cura-tabs-button.d.ts +0 -0
- package/dist/components/cura-tabs-button.js +1 -148
- package/dist/components/cura-tabs-group.d.ts +0 -0
- package/dist/components/cura-tabs-group.js +1 -64
- package/dist/components/cura-tabs-transparent.d.ts +0 -0
- package/dist/components/cura-tabs-transparent.js +1 -141
- package/dist/components/cura-tabs.d.ts +0 -0
- package/dist/components/cura-tabs.js +1 -146
- package/dist/components/cura-toast.d.ts +0 -0
- package/dist/components/cura-toast.js +1 -162
- package/dist/components/cura-tooltip.d.ts +0 -0
- package/dist/components/cura-tooltip.js +1 -291
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -115
- package/dist/components/p-B2RN7oe_.js +1 -0
- package/dist/components/p-B8xnU6YS.js +1 -0
- package/dist/components/p-BSI2FkNn.js +1 -11
- package/dist/components/p-BSdkRryc.js +1 -0
- package/dist/components/p-BYA8glxD.js +1 -0
- package/dist/components/p-Bf21UQXV.js +1 -0
- package/dist/components/p-C7so9xnO.js +1 -0
- package/dist/components/p-CCkEqDZb.js +1 -0
- package/dist/components/p-CG1lz5DR.js +1 -0
- package/dist/components/p-CHcd-uKK.js +1 -11
- package/dist/components/p-CpmZ68rD.js +1 -0
- package/dist/components/p-D6xuYQiO.js +1 -0
- package/dist/components/p-D7WNwjv-.js +1 -0
- package/dist/components/p-DBXUEjWh.js +1 -0
- package/dist/components/p-DXlGQp3a.js +1 -0
- package/dist/components/p-Dot54hbB.js +1 -19
- package/dist/components/p-DxJedO3K.js +1 -0
- package/dist/components/p-fR02COZb.js +1 -0
- package/dist/components/p-fn4zJrKE.js +1 -0
- package/dist/cura/cura.esm.js +1 -2
- package/dist/cura/index.esm.js +1 -2
- package/dist/cura/p-1dc9c478.entry.js +1 -0
- package/dist/cura/p-27ba7ef5.entry.js +1 -0
- package/dist/cura/p-2db704a6.entry.js +1 -0
- package/dist/cura/p-2e2e2b4d.entry.js +1 -0
- package/dist/cura/p-31373db7.entry.js +1 -0
- package/dist/cura/p-3a3202f0.entry.js +1 -0
- package/dist/cura/p-42e72d12.entry.js +1 -0
- package/dist/cura/p-5357f7bd.entry.js +1 -0
- package/dist/cura/p-54624944.entry.js +1 -0
- package/dist/cura/p-582f8b72.entry.js +1 -0
- package/dist/cura/p-7965fe63.entry.js +1 -0
- package/dist/cura/p-964stZ3D.js +1 -2
- package/dist/cura/p-9de85de6.entry.js +1 -0
- package/dist/cura/p-BM8Akv15.js +1 -0
- package/dist/cura/p-BSI2FkNn.js +1 -2
- package/dist/cura/p-BTIDzOyO.js +1 -0
- package/dist/cura/p-BxFVLGIR.js +2 -0
- package/dist/cura/p-CHcd-uKK.js +1 -2
- package/dist/cura/p-DQopj-k5.js +1 -0
- package/dist/cura/p-DfJS7YqS.js +1 -0
- package/dist/cura/p-Dot54hbB.js +1 -2
- package/dist/cura/p-b14ae206.entry.js +1 -0
- package/dist/cura/p-b7369d04.entry.js +1 -0
- package/dist/cura/p-bf99e8bf.entry.js +1 -0
- package/dist/cura/p-c18d7f16.entry.js +1 -0
- package/dist/cura/p-c247c93b.entry.js +1 -0
- package/dist/cura/p-cbe8c690.entry.js +1 -0
- package/dist/cura/p-d2f670f6.entry.js +1 -0
- package/dist/cura/p-d5c6d2b4.entry.js +1 -0
- package/dist/cura/p-ddf4d240.entry.js +1 -0
- package/dist/cura/p-f534123f.entry.js +1 -0
- package/dist/cura/p-f911a6c5.entry.js +1 -0
- package/dist/cura/p-sjLA93YY.js +1 -2
- package/dist/esm/app-globals-B7bpkHH3.js +67 -0
- package/dist/esm/cura-accordion_21.entry.js +266 -207
- package/dist/esm/cura-alert.entry.js +7 -8
- package/dist/esm/cura-badge-counter.entry.js +13 -10
- package/dist/esm/cura-badge-dot.entry.js +4 -7
- package/dist/esm/cura-badge-pill.entry.js +7 -8
- package/dist/esm/cura-button-outline.entry.js +15 -10
- package/dist/esm/cura-button-select.entry.js +10 -9
- package/dist/esm/cura-button.definitions-BSI2FkNn.js +0 -3
- package/dist/esm/cura-calendar.entry.js +12 -9
- package/dist/esm/cura-checkbox.entry.js +18 -11
- package/dist/esm/cura-display.entry.js +10 -9
- package/dist/esm/cura-dropdown-search-not-found.entry.js +4 -7
- package/dist/esm/cura-forms.definitions-Dot54hbB.js +0 -3
- package/dist/esm/cura-icon.definitions-sjLA93YY.js +0 -3
- package/dist/esm/cura-icons-view.entry.js +4 -7
- package/dist/esm/cura-input-date.entry.js +7 -8
- package/dist/esm/cura-loader-bar.entry.js +10 -9
- package/dist/esm/cura-modal.entry.js +19 -12
- package/dist/esm/cura-progress-bar_2.entry.js +6 -9
- package/dist/esm/cura-radio.entry.js +15 -10
- package/dist/esm/cura-stepper.entry.js +4 -7
- package/dist/esm/cura-switch.entry.js +13 -10
- package/dist/esm/cura-tabs-button.entry.js +7 -8
- package/dist/esm/cura-tabs-transparent.entry.js +7 -8
- package/dist/esm/cura-tabs.definitions-CHcd-uKK.js +0 -3
- package/dist/esm/{cura-theme-module-BPKQjAwN.js → cura-theme-module-BrK961-w.js} +3 -339
- package/dist/esm/cura-toast.entry.js +10 -9
- package/dist/esm/cura-tooltip.entry.js +4 -7
- package/dist/esm/cura.js +8 -8
- package/dist/esm/index-964stZ3D.js +0 -3
- package/dist/esm/{index-OdKytJIH.js → index-Ce1Pxw3V.js} +706 -579
- package/dist/esm/index.js +3 -4
- package/dist/esm/loader.js +7 -7
- package/dist/esm/static-DfJS7YqS.js +86 -0
- package/dist/esm/theme-legacy-default-BTIDzOyO.js +257 -0
- package/dist/index.cjs.js +0 -0
- package/dist/index.js +0 -0
- package/dist/loader/cdn.js +0 -0
- package/dist/loader/index.cjs.js +0 -0
- package/dist/loader/index.d.ts +0 -0
- package/dist/loader/index.es2017.js +0 -0
- package/dist/loader/index.js +0 -0
- package/dist/types/api/cura-api.d.ts +0 -0
- package/dist/types/api/cura-api.type.d.ts +0 -0
- package/dist/types/api/modules/cura-theme-breakpoints-module.d.ts +0 -0
- package/dist/types/api/modules/cura-theme-colors-module.d.ts +0 -0
- package/dist/types/api/modules/cura-theme-fonts-module.d.ts +0 -0
- package/dist/types/api/modules/cura-theme-module.d.ts +0 -0
- package/dist/types/api/modules/cura-theme-spacing-module.d.ts +0 -0
- package/dist/types/api/theme-presets/static.d.ts +0 -0
- package/dist/types/api/theme-presets/theme-default.d.ts +0 -0
- package/dist/types/api/theme-presets/theme-legacy-default.d.ts +0 -0
- package/dist/types/api/theme-presets/theme-maternity.d.ts +0 -0
- package/dist/types/api/theme-presets/theme-oncology.d.ts +0 -0
- package/dist/types/api/theme-presets/theme-perinatal-temporary.d.ts +0 -0
- package/dist/types/api/theme-presets/theme-presets.d.ts +0 -0
- package/dist/types/api/theme-presets/theme-richet.d.ts +0 -0
- package/dist/types/assets/icons/iconset-default-list.d.ts +0 -0
- package/dist/types/components/accordion/cura-accordion/cura-accordion.d.ts +0 -0
- package/dist/types/components/accordion/cura-accordion/cura-accordion.stories.d.ts +0 -0
- package/dist/types/components/accordion/cura-accordion-item/cura-accordion-item.d.ts +0 -0
- package/dist/types/components/badges/cura-badge-counter/cura-badge-counter.d.ts +0 -0
- package/dist/types/components/badges/cura-badge-counter/cura-badge-counter.stories.d.ts +0 -0
- package/dist/types/components/badges/cura-badge-distance/cura-badge-distance.d.ts +0 -0
- package/dist/types/components/badges/cura-badge-distance/cura-badge-distance.stories.d.ts +0 -0
- package/dist/types/components/badges/cura-badge-dot/cura-badge-dot.d.ts +0 -0
- package/dist/types/components/badges/cura-badge-dot/cura-badge-dot.stories.d.ts +0 -0
- package/dist/types/components/badges/cura-badge-pill/cura-badge-pill.d.ts +0 -0
- package/dist/types/components/badges/cura-badge-pill/cura-badge-pill.stories.d.ts +0 -0
- package/dist/types/components/buttons/cura-button/cura-button.d.ts +0 -0
- package/dist/types/components/buttons/cura-button/cura-button.stories.d.ts +0 -0
- package/dist/types/components/buttons/cura-button-outline/cura-button-outline.d.ts +0 -0
- package/dist/types/components/buttons/cura-button-outline/cura-button-outline.stories.d.ts +0 -0
- package/dist/types/components/buttons/cura-button-select/cura-button-select.d.ts +0 -0
- package/dist/types/components/buttons/cura-button-select/cura-button-select.stories.d.ts +0 -0
- package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.d.ts +0 -0
- package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.stories.d.ts +0 -0
- package/dist/types/components/buttons/cura-button.definitions.d.ts +0 -0
- package/dist/types/components/cura-alert/cura-alert.d.ts +0 -0
- package/dist/types/components/cura-alert/cura-alert.stories.d.ts +0 -0
- package/dist/types/components/cura-avatar/cura-avatar.d.ts +0 -0
- package/dist/types/components/cura-avatar/cura-avatar.definitions.d.ts +0 -0
- package/dist/types/components/cura-avatar/cura-avatar.stories.d.ts +0 -0
- package/dist/types/components/cura-calendar/cura-calendar.d.ts +0 -0
- package/dist/types/components/cura-calendar/cura-calendar.stories.d.ts +0 -0
- package/dist/types/components/cura-card/cura-card.d.ts +0 -0
- package/dist/types/components/cura-card/cura-card.stories.d.ts +0 -0
- package/dist/types/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.d.ts +0 -0
- package/dist/types/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.stories.d.ts +0 -0
- package/dist/types/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.d.ts +0 -0
- package/dist/types/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.d.ts +0 -0
- package/dist/types/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.d.ts +0 -0
- package/dist/types/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.d.ts +0 -0
- package/dist/types/components/cura-dropdown-search/cura-dropdown-search.d.ts +0 -0
- package/dist/types/components/cura-dropdown-search/cura-dropdown-search.stories.d.ts +0 -0
- package/dist/types/components/cura-icon/cura-icon.d.ts +0 -0
- package/dist/types/components/cura-icon/cura-icon.definitions.d.ts +0 -0
- package/dist/types/components/cura-icon/cura-icon.stories.d.ts +0 -0
- package/dist/types/components/cura-icons-view/cura-icons-view.d.ts +0 -0
- package/dist/types/components/cura-icons-view/cura-icons-view.stories.d.ts +0 -0
- package/dist/types/components/cura-modal/cura-modal.d.ts +0 -0
- package/dist/types/components/cura-modal/cura-modal.stories.d.ts +0 -0
- package/dist/types/components/cura-page-template/cura-page-template.d.ts +0 -0
- package/dist/types/components/cura-stepper/cura-progress-bar/cura-progress-bar.d.ts +0 -0
- package/dist/types/components/cura-stepper/cura-stepper-item/cura-stepper-item.d.ts +0 -0
- package/dist/types/components/cura-stepper/cura-stepper.d.ts +0 -0
- package/dist/types/components/cura-stepper/cura-stepper.stories.d.ts +0 -0
- package/dist/types/components/cura-stepper/stepper.type.d.ts +0 -0
- package/dist/types/components/cura-toast/cura-toast.d.ts +0 -0
- package/dist/types/components/cura-toast/cura-toast.stories.d.ts +0 -0
- package/dist/types/components/cura-tooltip/cura-tooltip.d.ts +0 -0
- package/dist/types/components/cura-tooltip/cura-tooltip.stories.d.ts +0 -0
- package/dist/types/components/forms/cura-checkbox/cura-checkbox.d.ts +0 -0
- package/dist/types/components/forms/cura-checkbox/cura-checkbox.stories.d.ts +0 -0
- package/dist/types/components/forms/cura-forms.definitions.d.ts +0 -0
- package/dist/types/components/forms/cura-input-date/cura-input-date.d.ts +0 -0
- package/dist/types/components/forms/cura-input-date/cura-input-date.stories.d.ts +0 -0
- package/dist/types/components/forms/cura-input-text/cura-input-text.d.ts +0 -0
- package/dist/types/components/forms/cura-input-text/cura-input-text.stories.d.ts +0 -0
- package/dist/types/components/forms/cura-input-text/mask-presets/input-mask-presets.d.ts +0 -0
- package/dist/types/components/forms/cura-label/cura-label.d.ts +0 -0
- package/dist/types/components/forms/cura-label/cura-label.stories.d.ts +0 -0
- package/dist/types/components/forms/cura-radio/cura-radio.d.ts +0 -0
- package/dist/types/components/forms/cura-radio/cura-radio.stories.d.ts +0 -0
- package/dist/types/components/forms/cura-select/cura-select.d.ts +0 -0
- package/dist/types/components/forms/cura-select/cura-select.stories.d.ts +0 -0
- package/dist/types/components/forms/cura-select-options/cura-select-option.d.ts +0 -0
- package/dist/types/components/forms/cura-switch/cura-switch.d.ts +0 -0
- package/dist/types/components/forms/cura-switch/cura-switch.stories.d.ts +0 -0
- package/dist/types/components/loaders/cura-loader-bar/cura-loader-bar.d.ts +0 -0
- package/dist/types/components/loaders/cura-loader-bar/cura-loader-bar.stories.d.ts +0 -0
- package/dist/types/components/loaders/cura-loader-circle/cura-loader-circle.d.ts +0 -0
- package/dist/types/components/loaders/cura-loader-circle/cura-loader-circle.stories.d.ts +0 -0
- package/dist/types/components/tabs/cura-tabs/cura-tabs.d.ts +0 -0
- package/dist/types/components/tabs/cura-tabs/cura-tabs.stories.d.ts +0 -0
- package/dist/types/components/tabs/cura-tabs-button/cura-tabs-button.d.ts +0 -0
- package/dist/types/components/tabs/cura-tabs-button/cura-tabs-button.stories.d.ts +0 -0
- package/dist/types/components/tabs/cura-tabs-group/cura-tabs-group.d.ts +0 -0
- package/dist/types/components/tabs/cura-tabs-group/cura-tabs-group.stories.d.ts +0 -0
- package/dist/types/components/tabs/cura-tabs-transparent/cura-tabs-transparent.d.ts +0 -0
- package/dist/types/components/tabs/cura-tabs-transparent/cura-tabs-transparent.stories.d.ts +0 -0
- package/dist/types/components/tabs/cura-tabs.definitions.d.ts +0 -0
- package/dist/types/components/text/cura-display/cura-display.d.ts +0 -0
- package/dist/types/components/text/cura-display/cura-display.stories.d.ts +0 -0
- package/dist/types/components/text/cura-heading/cura-heading.d.ts +0 -0
- package/dist/types/components/text/cura-heading/cura-heading.stories.d.ts +0 -0
- package/dist/types/components/text/cura-paragraph/cura-paragraph.d.ts +0 -0
- package/dist/types/components/text/cura-paragraph/cura-paragraph.stories.d.ts +0 -0
- package/dist/types/components.d.ts +559 -85
- package/dist/types/index.d.ts +0 -0
- package/dist/types/rededor-cura-start.d.ts +0 -0
- package/dist/types/stencil-public-runtime.d.ts +169 -11
- package/dist/types/utils/FixedElementScrollBehavior.d.ts +0 -0
- package/dist/types/utils/utils.d.ts +0 -0
- package/package.json +4 -3
- package/dist/cjs/cura-accordion_21.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-alert.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-badge-counter.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-badge-counter.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-badge-dot.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-badge-dot.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-badge-pill.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-badge-pill.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-button-outline.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-button-outline.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-button-select.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-button-select.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-button.definitions-B3SK8MaV.js.map +0 -1
- package/dist/cjs/cura-calendar.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-calendar.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-checkbox.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-display.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-display.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-dropdown-search-not-found.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-forms.definitions-DVLuO67c.js.map +0 -1
- package/dist/cjs/cura-icon.definitions-DT0wF67y.js.map +0 -1
- package/dist/cjs/cura-icons-view.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-icons-view.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-input-date.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-input-date.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-loader-bar.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-loader-bar.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-modal.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-modal.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-progress-bar.cura-stepper-item.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-progress-bar_2.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-radio.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-radio.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-stepper.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-stepper.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-switch.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-switch.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-tabs-button.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-tabs-button.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-tabs-transparent.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-tabs-transparent.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-tabs.definitions-CGqqGE2e.js.map +0 -1
- package/dist/cjs/cura-theme-module-CJkmAxBA.js +0 -574
- package/dist/cjs/cura-theme-module-CJkmAxBA.js.map +0 -1
- package/dist/cjs/cura-toast.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-toast.entry.cjs.js.map +0 -1
- package/dist/cjs/cura-tooltip.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-tooltip.entry.cjs.js.map +0 -1
- package/dist/cjs/cura.cjs.js.map +0 -1
- package/dist/cjs/index-BK9MSAiE.js.map +0 -1
- package/dist/cjs/index-EyP6Zlkd.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/collection/api/cura-api.js.map +0 -1
- package/dist/collection/api/cura-api.type.js.map +0 -1
- package/dist/collection/api/modules/cura-theme-breakpoints-module.js.map +0 -1
- package/dist/collection/api/modules/cura-theme-colors-module.js.map +0 -1
- package/dist/collection/api/modules/cura-theme-fonts-module.js.map +0 -1
- package/dist/collection/api/modules/cura-theme-module.js.map +0 -1
- package/dist/collection/api/modules/cura-theme-spacing-module.js.map +0 -1
- package/dist/collection/api/theme-presets/static.js.map +0 -1
- package/dist/collection/api/theme-presets/theme-default.js.map +0 -1
- package/dist/collection/api/theme-presets/theme-legacy-default.js.map +0 -1
- package/dist/collection/api/theme-presets/theme-maternity.js.map +0 -1
- package/dist/collection/api/theme-presets/theme-oncology.js.map +0 -1
- package/dist/collection/api/theme-presets/theme-perinatal-temporary.js.map +0 -1
- package/dist/collection/api/theme-presets/theme-presets.js.map +0 -1
- package/dist/collection/api/theme-presets/theme-richet.js.map +0 -1
- package/dist/collection/assets/icons/iconset-default-list.js.map +0 -1
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +0 -1
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js.map +0 -1
- package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js.map +0 -1
- package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js.map +0 -1
- package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.stories.js.map +0 -1
- package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js.map +0 -1
- package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.stories.js.map +0 -1
- package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js.map +0 -1
- package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.stories.js.map +0 -1
- package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js.map +0 -1
- package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.stories.js.map +0 -1
- package/dist/collection/components/buttons/cura-button/cura-button.js.map +0 -1
- package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +0 -1
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +0 -1
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +0 -1
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +0 -1
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js.map +0 -1
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +0 -1
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +0 -1
- package/dist/collection/components/buttons/cura-button.definitions.js.map +0 -1
- package/dist/collection/components/cura-alert/cura-alert.js.map +0 -1
- package/dist/collection/components/cura-alert/cura-alert.stories.js.map +0 -1
- package/dist/collection/components/cura-avatar/cura-avatar.definitions.js.map +0 -1
- package/dist/collection/components/cura-avatar/cura-avatar.js.map +0 -1
- package/dist/collection/components/cura-avatar/cura-avatar.stories.js.map +0 -1
- package/dist/collection/components/cura-calendar/cura-calendar.js.map +0 -1
- package/dist/collection/components/cura-calendar/cura-calendar.stories.js.map +0 -1
- package/dist/collection/components/cura-card/cura-card.js.map +0 -1
- package/dist/collection/components/cura-card/cura-card.stories.js.map +0 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js.map +0 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.stories.js.map +0 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js.map +0 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js.map +0 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js.map +0 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js.map +0 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js.map +0 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.stories.js.map +0 -1
- package/dist/collection/components/cura-icon/cura-icon.definitions.js.map +0 -1
- package/dist/collection/components/cura-icon/cura-icon.js.map +0 -1
- package/dist/collection/components/cura-icon/cura-icon.stories.js.map +0 -1
- package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +0 -1
- package/dist/collection/components/cura-icons-view/cura-icons-view.stories.js.map +0 -1
- package/dist/collection/components/cura-modal/cura-modal.js.map +0 -1
- package/dist/collection/components/cura-modal/cura-modal.stories.js.map +0 -1
- package/dist/collection/components/cura-page-template/cura-page-template.js.map +0 -1
- package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js.map +0 -1
- package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js.map +0 -1
- package/dist/collection/components/cura-stepper/cura-stepper.js.map +0 -1
- package/dist/collection/components/cura-stepper/cura-stepper.stories.js.map +0 -1
- package/dist/collection/components/cura-stepper/stepper.type.js.map +0 -1
- package/dist/collection/components/cura-toast/cura-toast.js.map +0 -1
- package/dist/collection/components/cura-toast/cura-toast.stories.js.map +0 -1
- package/dist/collection/components/cura-tooltip/cura-tooltip.js.map +0 -1
- package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js.map +0 -1
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js.map +0 -1
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js.map +0 -1
- package/dist/collection/components/forms/cura-forms.definitions.js.map +0 -1
- package/dist/collection/components/forms/cura-input-date/cura-input-date.js.map +0 -1
- package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js.map +0 -1
- package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +0 -1
- package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js.map +0 -1
- package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js.map +0 -1
- package/dist/collection/components/forms/cura-label/cura-label.js.map +0 -1
- package/dist/collection/components/forms/cura-label/cura-label.stories.js.map +0 -1
- package/dist/collection/components/forms/cura-radio/cura-radio.js.map +0 -1
- package/dist/collection/components/forms/cura-radio/cura-radio.stories.js.map +0 -1
- package/dist/collection/components/forms/cura-select/cura-select.js.map +0 -1
- package/dist/collection/components/forms/cura-select/cura-select.stories.js.map +0 -1
- package/dist/collection/components/forms/cura-select-options/cura-select-option.js.map +0 -1
- package/dist/collection/components/forms/cura-switch/cura-switch.js.map +0 -1
- package/dist/collection/components/forms/cura-switch/cura-switch.stories.js.map +0 -1
- package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js.map +0 -1
- package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.stories.js.map +0 -1
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js.map +0 -1
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js.map +0 -1
- package/dist/collection/components/tabs/cura-tabs/cura-tabs.js.map +0 -1
- package/dist/collection/components/tabs/cura-tabs/cura-tabs.stories.js.map +0 -1
- package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js.map +0 -1
- package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.stories.js.map +0 -1
- package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js.map +0 -1
- package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.stories.js.map +0 -1
- package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js.map +0 -1
- package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.stories.js.map +0 -1
- package/dist/collection/components/tabs/cura-tabs.definitions.js.map +0 -1
- package/dist/collection/components/text/cura-display/cura-display.js.map +0 -1
- package/dist/collection/components/text/cura-display/cura-display.stories.js.map +0 -1
- package/dist/collection/components/text/cura-heading/cura-heading.js.map +0 -1
- package/dist/collection/components/text/cura-heading/cura-heading.stories.js.map +0 -1
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +0 -1
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/rededor-cura-start.js.map +0 -1
- package/dist/collection/utils/FixedElementScrollBehavior.js.map +0 -1
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/components/cura-accordion-item.js.map +0 -1
- package/dist/components/cura-accordion.js.map +0 -1
- package/dist/components/cura-alert.js.map +0 -1
- package/dist/components/cura-avatar.js.map +0 -1
- package/dist/components/cura-badge-counter.js.map +0 -1
- package/dist/components/cura-badge-distance.js.map +0 -1
- package/dist/components/cura-badge-dot.js.map +0 -1
- package/dist/components/cura-badge-pill.js.map +0 -1
- package/dist/components/cura-button-outline.js.map +0 -1
- package/dist/components/cura-button-select.js.map +0 -1
- package/dist/components/cura-button-transparent.js.map +0 -1
- package/dist/components/cura-button.js.map +0 -1
- package/dist/components/cura-calendar.js.map +0 -1
- package/dist/components/cura-card.js.map +0 -1
- package/dist/components/cura-checkbox.js.map +0 -1
- package/dist/components/cura-display.js.map +0 -1
- package/dist/components/cura-dropdown-search-category.js.map +0 -1
- package/dist/components/cura-dropdown-search-not-found.js.map +0 -1
- package/dist/components/cura-dropdown-search-option.js.map +0 -1
- package/dist/components/cura-dropdown-search.js.map +0 -1
- package/dist/components/cura-heading.js.map +0 -1
- package/dist/components/cura-icon.js.map +0 -1
- package/dist/components/cura-icons-view.js.map +0 -1
- package/dist/components/cura-input-date.js.map +0 -1
- package/dist/components/cura-input-text.js.map +0 -1
- package/dist/components/cura-label.js.map +0 -1
- package/dist/components/cura-loader-bar.js.map +0 -1
- package/dist/components/cura-loader-circle.js.map +0 -1
- package/dist/components/cura-modal.js.map +0 -1
- package/dist/components/cura-page-template.js.map +0 -1
- package/dist/components/cura-paragraph.js.map +0 -1
- package/dist/components/cura-progress-bar.js.map +0 -1
- package/dist/components/cura-radio.js.map +0 -1
- package/dist/components/cura-select-option.js.map +0 -1
- package/dist/components/cura-select.js.map +0 -1
- package/dist/components/cura-stepper-item.js.map +0 -1
- package/dist/components/cura-stepper.js.map +0 -1
- package/dist/components/cura-switch.js.map +0 -1
- package/dist/components/cura-tabs-button.js.map +0 -1
- package/dist/components/cura-tabs-group.js.map +0 -1
- package/dist/components/cura-tabs-transparent.js.map +0 -1
- package/dist/components/cura-tabs.js.map +0 -1
- package/dist/components/cura-toast.js.map +0 -1
- package/dist/components/cura-tooltip.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/p-B5aO1chh.js +0 -85
- package/dist/components/p-B5aO1chh.js.map +0 -1
- package/dist/components/p-BHEafDKD.js +0 -127
- package/dist/components/p-BHEafDKD.js.map +0 -1
- package/dist/components/p-BRDqwZ4N.js +0 -187
- package/dist/components/p-BRDqwZ4N.js.map +0 -1
- package/dist/components/p-BSI2FkNn.js.map +0 -1
- package/dist/components/p-BrJsfk5q.js +0 -4140
- package/dist/components/p-BrJsfk5q.js.map +0 -1
- package/dist/components/p-C72aF-gL.js +0 -99
- package/dist/components/p-C72aF-gL.js.map +0 -1
- package/dist/components/p-CHcd-uKK.js.map +0 -1
- package/dist/components/p-CvdWbsfO.js +0 -2147
- package/dist/components/p-CvdWbsfO.js.map +0 -1
- package/dist/components/p-D1cPOZpG.js +0 -2617
- package/dist/components/p-D1cPOZpG.js.map +0 -1
- package/dist/components/p-DETZu2ie.js +0 -7032
- package/dist/components/p-DETZu2ie.js.map +0 -1
- package/dist/components/p-DI4g-ZH4.js +0 -101
- package/dist/components/p-DI4g-ZH4.js.map +0 -1
- package/dist/components/p-DR1RHrEX.js +0 -120
- package/dist/components/p-DR1RHrEX.js.map +0 -1
- package/dist/components/p-DaPc6Dxl.js +0 -125
- package/dist/components/p-DaPc6Dxl.js.map +0 -1
- package/dist/components/p-Dot54hbB.js.map +0 -1
- package/dist/components/p-Dqm2sAwv.js +0 -58
- package/dist/components/p-Dqm2sAwv.js.map +0 -1
- package/dist/components/p-Dt450DkQ.js +0 -86
- package/dist/components/p-Dt450DkQ.js.map +0 -1
- package/dist/components/p-FTSrgi0q.js +0 -51
- package/dist/components/p-FTSrgi0q.js.map +0 -1
- package/dist/components/p-KIQMkSRF.js +0 -64
- package/dist/components/p-KIQMkSRF.js.map +0 -1
- package/dist/components/p-cOEGtL9C.js +0 -131
- package/dist/components/p-cOEGtL9C.js.map +0 -1
- package/dist/cura/cura-alert.entry.esm.js.map +0 -1
- package/dist/cura/cura-badge-counter.entry.esm.js.map +0 -1
- package/dist/cura/cura-badge-dot.entry.esm.js.map +0 -1
- package/dist/cura/cura-badge-pill.entry.esm.js.map +0 -1
- package/dist/cura/cura-button-outline.entry.esm.js.map +0 -1
- package/dist/cura/cura-button-select.entry.esm.js.map +0 -1
- package/dist/cura/cura-calendar.entry.esm.js.map +0 -1
- package/dist/cura/cura-checkbox.entry.esm.js.map +0 -1
- package/dist/cura/cura-display.entry.esm.js.map +0 -1
- package/dist/cura/cura-dropdown-search-not-found.entry.esm.js.map +0 -1
- package/dist/cura/cura-icons-view.entry.esm.js.map +0 -1
- package/dist/cura/cura-input-date.entry.esm.js.map +0 -1
- package/dist/cura/cura-loader-bar.entry.esm.js.map +0 -1
- package/dist/cura/cura-modal.entry.esm.js.map +0 -1
- package/dist/cura/cura-progress-bar.cura-stepper-item.entry.esm.js.map +0 -1
- package/dist/cura/cura-radio.entry.esm.js.map +0 -1
- package/dist/cura/cura-stepper.entry.esm.js.map +0 -1
- package/dist/cura/cura-switch.entry.esm.js.map +0 -1
- package/dist/cura/cura-tabs-button.entry.esm.js.map +0 -1
- package/dist/cura/cura-tabs-transparent.entry.esm.js.map +0 -1
- package/dist/cura/cura-toast.entry.esm.js.map +0 -1
- package/dist/cura/cura-tooltip.entry.esm.js.map +0 -1
- package/dist/cura/cura.esm.js.map +0 -1
- package/dist/cura/index.esm.js.map +0 -1
- package/dist/cura/loader.esm.js.map +0 -1
- package/dist/cura/p-077019da.entry.js +0 -2
- package/dist/cura/p-077019da.entry.js.map +0 -1
- package/dist/cura/p-07783235.entry.js +0 -2
- package/dist/cura/p-07783235.entry.js.map +0 -1
- package/dist/cura/p-090e297c.entry.js +0 -2
- package/dist/cura/p-090e297c.entry.js.map +0 -1
- package/dist/cura/p-16c0b52c.entry.js +0 -2
- package/dist/cura/p-16c0b52c.entry.js.map +0 -1
- package/dist/cura/p-32015dcc.entry.js +0 -2
- package/dist/cura/p-32015dcc.entry.js.map +0 -1
- package/dist/cura/p-32f94709.entry.js +0 -2
- package/dist/cura/p-32f94709.entry.js.map +0 -1
- package/dist/cura/p-3d6040e2.entry.js +0 -2
- package/dist/cura/p-3d6040e2.entry.js.map +0 -1
- package/dist/cura/p-4ac578a6.entry.js +0 -2
- package/dist/cura/p-4ac578a6.entry.js.map +0 -1
- package/dist/cura/p-4bde448e.entry.js +0 -2
- package/dist/cura/p-4bde448e.entry.js.map +0 -1
- package/dist/cura/p-5ed7ce95.entry.js +0 -2
- package/dist/cura/p-5ed7ce95.entry.js.map +0 -1
- package/dist/cura/p-7586fd07.entry.js +0 -2
- package/dist/cura/p-7586fd07.entry.js.map +0 -1
- package/dist/cura/p-76603652.entry.js +0 -2
- package/dist/cura/p-76603652.entry.js.map +0 -1
- package/dist/cura/p-76cbb798.entry.js +0 -2
- package/dist/cura/p-76cbb798.entry.js.map +0 -1
- package/dist/cura/p-7fd143aa.entry.js +0 -2
- package/dist/cura/p-7fd143aa.entry.js.map +0 -1
- package/dist/cura/p-8c83f259.entry.js +0 -2
- package/dist/cura/p-8c83f259.entry.js.map +0 -1
- package/dist/cura/p-8d10a5a2.entry.js +0 -2
- package/dist/cura/p-8d10a5a2.entry.js.map +0 -1
- package/dist/cura/p-95cd7918.entry.js +0 -2
- package/dist/cura/p-95cd7918.entry.js.map +0 -1
- package/dist/cura/p-964stZ3D.js.map +0 -1
- package/dist/cura/p-9ef5444e.entry.js +0 -2
- package/dist/cura/p-9ef5444e.entry.js.map +0 -1
- package/dist/cura/p-BPKQjAwN.js +0 -2
- package/dist/cura/p-BPKQjAwN.js.map +0 -1
- package/dist/cura/p-BSI2FkNn.js.map +0 -1
- package/dist/cura/p-CHcd-uKK.js.map +0 -1
- package/dist/cura/p-Dot54hbB.js.map +0 -1
- package/dist/cura/p-PPMZr_VE.js +0 -3
- package/dist/cura/p-PPMZr_VE.js.map +0 -1
- package/dist/cura/p-bdfe9af2.entry.js +0 -2
- package/dist/cura/p-bdfe9af2.entry.js.map +0 -1
- package/dist/cura/p-c6f240f0.entry.js +0 -2
- package/dist/cura/p-c6f240f0.entry.js.map +0 -1
- package/dist/cura/p-ceb646df.entry.js +0 -2
- package/dist/cura/p-ceb646df.entry.js.map +0 -1
- package/dist/cura/p-d040f8b9.entry.js +0 -2
- package/dist/cura/p-d040f8b9.entry.js.map +0 -1
- package/dist/cura/p-f9af3a3b.entry.js +0 -2
- package/dist/cura/p-f9af3a3b.entry.js.map +0 -1
- package/dist/cura/p-sjLA93YY.js.map +0 -1
- package/dist/esm/cura-accordion_21.entry.js.map +0 -1
- package/dist/esm/cura-alert.entry.js.map +0 -1
- package/dist/esm/cura-badge-counter.entry.js.map +0 -1
- package/dist/esm/cura-badge-dot.entry.js.map +0 -1
- package/dist/esm/cura-badge-pill.entry.js.map +0 -1
- package/dist/esm/cura-button-outline.entry.js.map +0 -1
- package/dist/esm/cura-button-select.entry.js.map +0 -1
- package/dist/esm/cura-button.definitions-BSI2FkNn.js.map +0 -1
- package/dist/esm/cura-calendar.entry.js.map +0 -1
- package/dist/esm/cura-checkbox.entry.js.map +0 -1
- package/dist/esm/cura-display.entry.js.map +0 -1
- package/dist/esm/cura-dropdown-search-not-found.entry.js.map +0 -1
- package/dist/esm/cura-forms.definitions-Dot54hbB.js.map +0 -1
- package/dist/esm/cura-icon.definitions-sjLA93YY.js.map +0 -1
- package/dist/esm/cura-icons-view.entry.js.map +0 -1
- package/dist/esm/cura-input-date.entry.js.map +0 -1
- package/dist/esm/cura-loader-bar.entry.js.map +0 -1
- package/dist/esm/cura-modal.entry.js.map +0 -1
- package/dist/esm/cura-progress-bar.cura-stepper-item.entry.js.map +0 -1
- package/dist/esm/cura-progress-bar_2.entry.js.map +0 -1
- package/dist/esm/cura-radio.entry.js.map +0 -1
- package/dist/esm/cura-stepper.entry.js.map +0 -1
- package/dist/esm/cura-switch.entry.js.map +0 -1
- package/dist/esm/cura-tabs-button.entry.js.map +0 -1
- package/dist/esm/cura-tabs-transparent.entry.js.map +0 -1
- package/dist/esm/cura-tabs.definitions-CHcd-uKK.js.map +0 -1
- package/dist/esm/cura-theme-module-BPKQjAwN.js.map +0 -1
- package/dist/esm/cura-toast.entry.js.map +0 -1
- package/dist/esm/cura-tooltip.entry.js.map +0 -1
- package/dist/esm/cura.js.map +0 -1
- package/dist/esm/index-964stZ3D.js.map +0 -1
- package/dist/esm/index-OdKytJIH.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
|
File without changes
|
|
@@ -1,50 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const curaPageTemplateCss = ":host{display:block}:host .grid-template{display:grid;grid-template-rows:auto;grid-template-columns:auto;grid-template-areas:\"sub-header\" \"header\" \"pre-content\" \"content-container\" \"post-body\" \"footer\" \"sub-footer\"}:host .grid-template #sub-header{grid-area:sub-header}:host .grid-template #header{grid-area:header}:host .grid-template #pre-content{grid-area:pre-content}:host .grid-template #content-container{grid-area:content-container}:host .grid-template #post-body{grid-area:post-body}:host .grid-template #footer{grid-area:footer}:host .grid-template #sub-footer{grid-area:sub-footer}@media (max-width: 768px){:host .grid-template{padding:0px}}@media (min-width: 769px) and (max-width: 992px){:host .grid-template{padding:0px}}@media (min-width: 993px) and (max-width: 1920px){:host .grid-template{padding:0px}:host .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]){margin-right:calc(var(--spacing) * 5px)}:host .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]){margin-left:calc(var(--spacing) * 5px)}:host .grid-template #content-container{display:flex}:host .grid-template #content-container #content{flex-grow:1}:host .grid-template #content-container #sidebar-left,:host .grid-template #content-container #sidebar-right{max-width:20%}}@media (min-width: 1921px){:host .grid-template{padding:0px}:host .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]){margin-right:calc(var(--spacing) * 7px)}:host .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]){margin-left:calc(var(--spacing) * 7px)}:host .grid-template #content-container{display:flex}:host .grid-template #content-container #content{flex-grow:1}:host .grid-template #content-container #sidebar-left,:host .grid-template #content-container #sidebar-right{max-width:20%}:host .grid-template #content-container.centered{max-width:1921px;justify-self:center}}";
|
|
4
|
-
|
|
5
|
-
const CuraPageTemplate$1 = /*@__PURE__*/ proxyCustomElement(class CuraPageTemplate extends H {
|
|
6
|
-
constructor() {
|
|
7
|
-
super();
|
|
8
|
-
this.__registerHost();
|
|
9
|
-
this.__attachShadow();
|
|
10
|
-
this.contentwidth = 'default';
|
|
11
|
-
}
|
|
12
|
-
connectedCallback() {
|
|
13
|
-
this.styles = {
|
|
14
|
-
'--spacing': window.CuraAPI.theme.spacing.getSpacing(),
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
getClasses() {
|
|
18
|
-
const classes = {};
|
|
19
|
-
classes[this.contentwidth.toLowerCase()] = true;
|
|
20
|
-
return classes;
|
|
21
|
-
}
|
|
22
|
-
render() {
|
|
23
|
-
return (h(Host, { key: 'a3b743b1f518ece009858e39716903869184d627' }, h("div", { key: 'f3f29d5306f612c197ded53885bbf598a377388a', style: this.styles, class: "grid-template" }, h("div", { key: '2329343b116c6bfb8f35a146bbab6b9460e50cbe', id: "sub-header" }, h("slot", { key: 'b27e5dd020099fc64636a0ab363003024315cff6', name: 'sub-header' })), h("div", { key: '45bcb4f1a574c2c0d8337635729bd603df399f20', id: "header" }, h("slot", { key: '27bcdc8a59b717ab1c4a021b629a5c4a6a285f8a', name: 'header' })), h("div", { key: 'b19ae447a53c43d2f46127b0e38e115b792bec6b', id: "pre-content" }, h("slot", { key: 'b37745e63e57ad2c48cf430849b2d64c71d2b45e', name: 'pre-content' })), h("div", { key: '4adbaacd79ebb4e5e5fae0233acba2b7215a74ce', id: "content-container", class: this.getClasses() }, h("div", { key: '17a7d806d6a24fe67f249cfca2fce466861e25f5', id: "sidebar-left" }, h("slot", { key: '6fa66175bf7e0953ce23c6c557297d6f2efb9439', name: 'sidebar-left' })), h("div", { key: '450c3a5a742d40d26ccdc672c855b2f9f9ae3153', id: "content" }, h("slot", { key: 'ce593020ba6d60ca8a2ddd835deb8c8a4b0e33a1', name: "content" }), h("slot", { key: '1cc8b4478d78e3c6985e811cd0d1b510f00edf1b' })), h("div", { key: '4497faf9a880a4ae0eaa3f097ca02d3a155a4496', id: "sidebar-right" }, h("slot", { key: '97dd82f3f0b83f93334a9ca896ace76521ab05fb', name: 'sidebar-right' }))), h("div", { key: '80fb43c7b84bdc2c0722dbada31024d477326d0a', id: "post-body" }, h("slot", { key: '3975794bdbefe5fd0e05d06af7715e13ff650338', name: 'post-body' })), h("div", { key: '08183669839fce4b448bef3f6489fc6d8c61e898', id: "footer" }, h("slot", { key: '9b1797aecc9fd4131944a70371fab08b239f0802', name: 'footer' })), h("div", { key: '3e9ea1d173490ee3bf941439fad80814d3a5daf2', id: "sub-footer" }, h("slot", { key: '4b0c6a8d6f4b548040195003e8b5574c83541508', name: 'sub-footer' })))));
|
|
24
|
-
}
|
|
25
|
-
get host() { return this; }
|
|
26
|
-
static get style() { return curaPageTemplateCss; }
|
|
27
|
-
}, [1, "cura-page-template", {
|
|
28
|
-
"contentwidth": [513]
|
|
29
|
-
}]);
|
|
30
|
-
function defineCustomElement$1() {
|
|
31
|
-
if (typeof customElements === "undefined") {
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
const components = ["cura-page-template"];
|
|
35
|
-
components.forEach(tagName => { switch (tagName) {
|
|
36
|
-
case "cura-page-template":
|
|
37
|
-
if (!customElements.get(tagName)) {
|
|
38
|
-
customElements.define(tagName, CuraPageTemplate$1);
|
|
39
|
-
}
|
|
40
|
-
break;
|
|
41
|
-
} });
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
const CuraPageTemplate = CuraPageTemplate$1;
|
|
45
|
-
const defineCustomElement = defineCustomElement$1;
|
|
46
|
-
|
|
47
|
-
export { CuraPageTemplate, defineCustomElement };
|
|
48
|
-
//# sourceMappingURL=cura-page-template.js.map
|
|
49
|
-
|
|
50
|
-
//# sourceMappingURL=cura-page-template.js.map
|
|
1
|
+
import{p as e,H as t,i as a,j as d,t as i}from"./p-DBXUEjWh.js";const r=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.contentwidth="default"}connectedCallback(){this.styles={"--spacing":window.CuraAPI.theme.spacing.getSpacing()}}getClasses(){const e={};return e[this.contentwidth.toLowerCase()]=!0,e}render(){return a(d,{key:"a3b743b1f518ece009858e39716903869184d627"},a("div",{key:"f3f29d5306f612c197ded53885bbf598a377388a",style:this.styles,class:"grid-template"},a("div",{key:"2329343b116c6bfb8f35a146bbab6b9460e50cbe",id:"sub-header"},a("slot",{key:"b27e5dd020099fc64636a0ab363003024315cff6",name:"sub-header"})),a("div",{key:"45bcb4f1a574c2c0d8337635729bd603df399f20",id:"header"},a("slot",{key:"27bcdc8a59b717ab1c4a021b629a5c4a6a285f8a",name:"header"})),a("div",{key:"b19ae447a53c43d2f46127b0e38e115b792bec6b",id:"pre-content"},a("slot",{key:"b37745e63e57ad2c48cf430849b2d64c71d2b45e",name:"pre-content"})),a("div",{key:"4adbaacd79ebb4e5e5fae0233acba2b7215a74ce",id:"content-container",class:this.getClasses()},a("div",{key:"17a7d806d6a24fe67f249cfca2fce466861e25f5",id:"sidebar-left"},a("slot",{key:"6fa66175bf7e0953ce23c6c557297d6f2efb9439",name:"sidebar-left"})),a("div",{key:"450c3a5a742d40d26ccdc672c855b2f9f9ae3153",id:"content"},a("slot",{key:"ce593020ba6d60ca8a2ddd835deb8c8a4b0e33a1",name:"content"}),a("slot",{key:"1cc8b4478d78e3c6985e811cd0d1b510f00edf1b"})),a("div",{key:"4497faf9a880a4ae0eaa3f097ca02d3a155a4496",id:"sidebar-right"},a("slot",{key:"97dd82f3f0b83f93334a9ca896ace76521ab05fb",name:"sidebar-right"}))),a("div",{key:"80fb43c7b84bdc2c0722dbada31024d477326d0a",id:"post-body"},a("slot",{key:"3975794bdbefe5fd0e05d06af7715e13ff650338",name:"post-body"})),a("div",{key:"08183669839fce4b448bef3f6489fc6d8c61e898",id:"footer"},a("slot",{key:"9b1797aecc9fd4131944a70371fab08b239f0802",name:"footer"})),a("div",{key:"3e9ea1d173490ee3bf941439fad80814d3a5daf2",id:"sub-footer"},a("slot",{key:"4b0c6a8d6f4b548040195003e8b5574c83541508",name:"sub-footer"}))))}get host(){return this}static get style(){return':host{display:block}:host .grid-template{display:grid;grid-template-rows:auto;grid-template-columns:auto;grid-template-areas:"sub-header" "header" "pre-content" "content-container" "post-body" "footer" "sub-footer"}:host .grid-template #sub-header{grid-area:sub-header}:host .grid-template #header{grid-area:header}:host .grid-template #pre-content{grid-area:pre-content}:host .grid-template #content-container{grid-area:content-container}:host .grid-template #post-body{grid-area:post-body}:host .grid-template #footer{grid-area:footer}:host .grid-template #sub-footer{grid-area:sub-footer}@media (max-width: 768px){:host .grid-template{padding:0px}}@media (min-width: 769px) and (max-width: 992px){:host .grid-template{padding:0px}}@media (min-width: 993px) and (max-width: 1920px){:host .grid-template{padding:0px}:host .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]){margin-right:calc(var(--spacing) * 5px)}:host .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]){margin-left:calc(var(--spacing) * 5px)}:host .grid-template #content-container{display:flex}:host .grid-template #content-container #content{flex-grow:1}:host .grid-template #content-container #sidebar-left,:host .grid-template #content-container #sidebar-right{max-width:20%}}@media (min-width: 1921px){:host .grid-template{padding:0px}:host .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]){margin-right:calc(var(--spacing) * 7px)}:host .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]){margin-left:calc(var(--spacing) * 7px)}:host .grid-template #content-container{display:flex}:host .grid-template #content-container #content{flex-grow:1}:host .grid-template #content-container #sidebar-left,:host .grid-template #content-container #sidebar-right{max-width:20%}:host .grid-template #content-container.centered{max-width:1921px;justify-self:center}}'}},[257,"cura-page-template",{contentwidth:[513]}]),o=r,n=function(){"undefined"!=typeof customElements&&["cura-page-template"].forEach((e=>{"cura-page-template"===e&&(customElements.get(i(e))||customElements.define(i(e),r))}))};export{o as CuraPageTemplate,n as defineCustomElement}
|
|
File without changes
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const CuraParagraph = CuraParagraph$1;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { CuraParagraph, defineCustomElement };
|
|
7
|
-
//# sourceMappingURL=cura-paragraph.js.map
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=cura-paragraph.js.map
|
|
1
|
+
import{C as o,d as s}from"./p-D7WNwjv-.js";const p=o,r=s;export{p as CuraParagraph,r as defineCustomElement}
|
|
File without changes
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const CuraProgressBar = CuraProgressBar$1;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { CuraProgressBar, defineCustomElement };
|
|
7
|
-
//# sourceMappingURL=cura-progress-bar.js.map
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=cura-progress-bar.js.map
|
|
1
|
+
import{C as o,d as s}from"./p-CG1lz5DR.js";const p=o,r=s;export{p as CuraProgressBar,r as defineCustomElement}
|
|
File without changes
|
|
@@ -1,249 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { f as formsSizes } from './p-Dot54hbB.js';
|
|
3
|
-
import { d as defineCustomElement$3 } from './p-DR1RHrEX.js';
|
|
4
|
-
import { d as defineCustomElement$2 } from './p-DI4g-ZH4.js';
|
|
5
|
-
|
|
6
|
-
const curaRadioCss = "@charset \"UTF-8\";:host{display:block;box-sizing:border-box;min-width:0;}:host .container{display:flex;align-items:center;flex-direction:row-reverse;justify-content:start;gap:var(--gap);cursor:pointer}:host .position.container{flex-direction:row}:host .position .label-wrapper{justify-content:end}:host .position .message{text-align:right}:host .position .label{order:1}:host .label.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;min-width:0;max-width:100%}:host .info{display:flex;flex-direction:column;overflow:hidden}:host .label-wrapper{display:flex;justify-content:start;align-items:center;gap:5px}:host .control{width:fit-content;cursor:pointer;position:relative}:host .radio{margin:0;appearance:none;-webkit-appearance:none;-moz-appearance:none;border-radius:50%;border:2px solid var(--primary-base-neutral-medium);background:var(--neutral-purewhite);box-sizing:border-box;transition:border-color 0.3s;position:relative;display:flex;align-items:center;justify-content:center;cursor:pointer;width:var(--size);height:var(--size);flex:0 0 var(--size)}:host .radio::after{content:\"\";background:var(--color-base-light);border-radius:50%;opacity:0;transition:opacity 0.3s;width:var(--size-after);height:var(--size-after)}:host .radio:focus{border-color:var(--info-base) !important}:host .success .radio{border-color:var(--success-base);background:var(--success-lighter)}:host .success .radio:hover{border-color:var(--success-base) !important}:host .success.checked .radio{border-color:var(--success-base)}:host .success.checked .radio::after{background:var(--success-base)}:host .success.checked .radio:hover{background:var(--success-lighter) !important;border-color:var(--success-base) !important}:host .success.checked .radio:hover::after{background:var(--success-base) !important}:host .error .radio{border-color:var(--error-base);background:var(--error-lighter)}:host .error .radio:hover{border-color:var(--error-base) !important}:host .error.checked .radio{border-color:var(--error-base)}:host .error.checked .radio::after{background:var(--error-base)}:host .error.checked .radio:hover{background:var(--error-lighter) !important;border-color:var(--error-base) !important}:host .error.checked .radio:hover::after{background:var(--error-base) !important}:host .checked .radio::after{opacity:1;background:var(--color-base)}:host .checked .radio{border-color:var(--color-dark)}:host .checked .radio:hover{border-color:var(--color-light) !important}:host .checked .radio:hover::after{background:var(--color-light)}:host .disabled .radio{background:var(--primary-base-neutral-white);border-color:var(--primary-darker-neutral-base);cursor:not-allowed}:host .disabled .radio::after{background:var(--neutral-lighter)}:host .disabled.checked .radio{border-color:var(--primary-base-neutral-base) !important;background:var(--primary-darker-neutral-white) !important}:host .disabled.checked .radio::after{background:var(--primary-base-neutral-base) !important}:host :not(.disabled):not(.checked) .radio:hover{border-color:var(--primary-base-neutral-dark)}";
|
|
7
|
-
|
|
8
|
-
const CuraRadio$1 = /*@__PURE__*/ proxyCustomElement(class CuraRadio extends H {
|
|
9
|
-
constructor() {
|
|
10
|
-
super();
|
|
11
|
-
this.__registerHost();
|
|
12
|
-
this.__attachShadow();
|
|
13
|
-
this.onchange = createEvent(this, "onchange");
|
|
14
|
-
this.internals = this.attachInternals();
|
|
15
|
-
/**
|
|
16
|
-
* Reflects the checked state of the radio button.
|
|
17
|
-
* Mutable property allowing state change.
|
|
18
|
-
*/
|
|
19
|
-
this.checked = false;
|
|
20
|
-
/**
|
|
21
|
-
* Status of the radio button.
|
|
22
|
-
* Can be 'error', 'success', or 'default'.
|
|
23
|
-
*/
|
|
24
|
-
this.status = 'default';
|
|
25
|
-
/**
|
|
26
|
-
* Reflects the disabled state of the radio button.
|
|
27
|
-
*/
|
|
28
|
-
this.disabled = false;
|
|
29
|
-
/**
|
|
30
|
-
* Reflects the required state of the radio button.
|
|
31
|
-
*/
|
|
32
|
-
this.required = false;
|
|
33
|
-
/**
|
|
34
|
-
* Text label associated with the radio button.
|
|
35
|
-
*/
|
|
36
|
-
this.label = '';
|
|
37
|
-
/**
|
|
38
|
-
* Position of the label relative to the radio button.
|
|
39
|
-
* Can be 'left' or 'right'.
|
|
40
|
-
*/
|
|
41
|
-
this.position = 'left';
|
|
42
|
-
/**
|
|
43
|
-
* Value associated with the radio button.
|
|
44
|
-
*/
|
|
45
|
-
this.value = '';
|
|
46
|
-
/**
|
|
47
|
-
* Name attribute of the radio button.
|
|
48
|
-
*/
|
|
49
|
-
this.name = '';
|
|
50
|
-
/**
|
|
51
|
-
* Background theme of the radio button.
|
|
52
|
-
* Can be 'dark' or 'light'.
|
|
53
|
-
*/
|
|
54
|
-
this.background = 'light';
|
|
55
|
-
/**
|
|
56
|
-
* Size of the radio button.
|
|
57
|
-
* Can be 'small', 'medium', or 'large'.
|
|
58
|
-
*/
|
|
59
|
-
this.size = 'medium';
|
|
60
|
-
/**
|
|
61
|
-
* Color theme of the radio button.
|
|
62
|
-
*/
|
|
63
|
-
this.color = 'accent';
|
|
64
|
-
/**
|
|
65
|
-
* Controls how the label text should handle overflow.
|
|
66
|
-
* - `'none'`: No overflow handling; the label displays normally.
|
|
67
|
-
* - `'single'`: The label will be truncated with an ellipsis if it overflows a single line.
|
|
68
|
-
* - `string`: Custom overflow handling mode.
|
|
69
|
-
*
|
|
70
|
-
* @default 'none'
|
|
71
|
-
*/
|
|
72
|
-
this.overflowLabel = 'none';
|
|
73
|
-
/**
|
|
74
|
-
* Controls how the helper text should handle overflow.
|
|
75
|
-
* - `'none'`: No overflow handling; the label displays normally.
|
|
76
|
-
* - `'single'`: The label will be truncated with an ellipsis if it overflows a single line.
|
|
77
|
-
* - `string`: Custom overflow handling mode.
|
|
78
|
-
*
|
|
79
|
-
* @default 'none'
|
|
80
|
-
*/
|
|
81
|
-
this.overflowHelper = 'none';
|
|
82
|
-
this.styles = {};
|
|
83
|
-
this.sizes = {
|
|
84
|
-
large: { size: 20 },
|
|
85
|
-
medium: { size: 14 },
|
|
86
|
-
small: { size: 10 },
|
|
87
|
-
};
|
|
88
|
-
this.isDarkbackground = () => this.background === 'dark';
|
|
89
|
-
this.handleClick = () => {
|
|
90
|
-
if (this.disabled)
|
|
91
|
-
return;
|
|
92
|
-
this.checked = !this.checked;
|
|
93
|
-
this.internals.setFormValue(this.value);
|
|
94
|
-
this.onchange.emit({ value: this.value, checked: this.checked });
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
sizeHandler() {
|
|
98
|
-
this.styles = Object.assign(Object.assign({}, this.styles), { '--size-after': `${this.sizes[this.size].size}px`, '--size': `${formsSizes[this.size].size}px`, '--gap': `${formsSizes[this.size].gap}px` });
|
|
99
|
-
}
|
|
100
|
-
setColors() {
|
|
101
|
-
const colors = [
|
|
102
|
-
{ name: '--info-base', background: 'info-base' },
|
|
103
|
-
{ name: '--color-light', background: `${this.color}-light` },
|
|
104
|
-
{ name: '--color-base', background: `${this.color}-base` },
|
|
105
|
-
{ name: '--color-dark', background: `${this.color}-dark` },
|
|
106
|
-
{ name: '--neutral-purewhite', background: 'neutral-purewhite' },
|
|
107
|
-
{ name: '--success-lighter', background: 'success-lighter' },
|
|
108
|
-
{ name: '--success-base', background: 'success-base' },
|
|
109
|
-
{ name: '--error-lighter', background: 'error-lighter' },
|
|
110
|
-
{ name: '--error-base', background: 'error-base' },
|
|
111
|
-
{ name: '--primary-base-neutral-medium', background: this.isDarkbackground() ? 'primary-base' : 'neutral-medium' },
|
|
112
|
-
{ name: '--primary-base-neutral-white', background: this.isDarkbackground() ? 'primary-base' : 'neutral-white' },
|
|
113
|
-
{ name: '--primary-darker-neutral-white', background: this.isDarkbackground() ? 'primary-darker' : 'neutral-white' },
|
|
114
|
-
{ name: '--primary-darker-neutral-base', background: this.isDarkbackground() ? 'primary-darker' : 'neutral-base' },
|
|
115
|
-
{ name: '--primary-base-neutral-base', background: this.isDarkbackground() ? 'primary-base' : 'neutral-base' },
|
|
116
|
-
{ name: '--primary-base-neutral-dark', background: this.isDarkbackground() ? 'primary-base' : 'neutral-dark' },
|
|
117
|
-
{ name: '--primary-base-neutral-medium', background: this.isDarkbackground() ? 'primary-base' : 'neutral-medium' },
|
|
118
|
-
{ name: '--success-base-dark', background: this.isDarkbackground() ? 'success-base' : 'success-dark' },
|
|
119
|
-
{ name: '--error-base-dark', background: this.isDarkbackground() ? 'error-base' : 'error-dark' },
|
|
120
|
-
];
|
|
121
|
-
colors.forEach(color => {
|
|
122
|
-
this.styles[color.name] = window.CuraAPI.theme.colors.getColor(color.background);
|
|
123
|
-
});
|
|
124
|
-
this.styles = Object.assign({}, this.styles);
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* Callback for form association.
|
|
128
|
-
*/
|
|
129
|
-
formAssociatedCallback(form) {
|
|
130
|
-
form.ariaLabel = this.label;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* Callback to restore the switch state from the form.
|
|
134
|
-
*/
|
|
135
|
-
formStateRestoreCallback(state) {
|
|
136
|
-
this.value = state.value;
|
|
137
|
-
this.checked = state.checked;
|
|
138
|
-
this.internals.setFormValue(this.value);
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* Callback to reset the switch state when the form is reset.
|
|
142
|
-
*/
|
|
143
|
-
formResetCallback() {
|
|
144
|
-
this.value = '';
|
|
145
|
-
this.checked = false;
|
|
146
|
-
this.internals.setValidity({});
|
|
147
|
-
this.internals.setFormValue(this.value);
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Callback to update the switch's disabled state when the form's disabled state changes.
|
|
151
|
-
*/
|
|
152
|
-
formDisabledCallback(disabled) {
|
|
153
|
-
this.disabled = disabled;
|
|
154
|
-
}
|
|
155
|
-
connectedCallback() {
|
|
156
|
-
this.sizeHandler();
|
|
157
|
-
this.setColors();
|
|
158
|
-
}
|
|
159
|
-
getClasses() {
|
|
160
|
-
const classes = {};
|
|
161
|
-
classes['container'] = true;
|
|
162
|
-
classes['checked'] = this.checked;
|
|
163
|
-
classes['disabled'] = this.disabled;
|
|
164
|
-
classes['position'] = this.position === 'right';
|
|
165
|
-
classes[this.status] = true;
|
|
166
|
-
return classes;
|
|
167
|
-
}
|
|
168
|
-
assignColor(type) {
|
|
169
|
-
if (this.disabled)
|
|
170
|
-
return this.isDarkbackground() ? 'primary-darker' : 'neutral-medium';
|
|
171
|
-
const statusColors = {
|
|
172
|
-
success: {
|
|
173
|
-
label: this.isDarkbackground() ? 'success-lighter' : 'success-darker',
|
|
174
|
-
message: this.isDarkbackground() ? 'success-base' : 'success-dark',
|
|
175
|
-
},
|
|
176
|
-
error: {
|
|
177
|
-
label: this.isDarkbackground() ? 'error-lighter' : 'neutral-darker',
|
|
178
|
-
message: this.isDarkbackground() ? 'error-base' : 'error-dark',
|
|
179
|
-
},
|
|
180
|
-
default: {
|
|
181
|
-
label: this.isDarkbackground() ? 'neutral-white' : 'neutral-black',
|
|
182
|
-
message: this.isDarkbackground() ? 'primary-lighter' : 'neutral-dark',
|
|
183
|
-
},
|
|
184
|
-
};
|
|
185
|
-
return statusColors[this.status][type];
|
|
186
|
-
}
|
|
187
|
-
render() {
|
|
188
|
-
return (h(Host, { key: '550e164f2be33f4fdad6c194302723a00e51843c', role: "radio", "aria-checked": this.checked, "aria-disabled": this.disabled, "aria-required": this.required, "aria-invalid": this.status === 'error' }, h("div", { key: 'ebcfef353b7dd4655b1d809025060db952927521', class: this.getClasses(), style: this.styles, onClick: this.handleClick }, h("div", { key: '436ecc0f4fd72ff6a00a2a47f494e08aae65b3d6', class: "info" }, h("div", { key: '4836e4ce83d1fc3b338cfd216b46a7791ba6dc90', class: "label-wrapper" }, h("cura-label", { key: '434f0b816eee11b7da0b44f37880e31c52e2f853', textOverflow: this.overflowLabel, class: `label${this.overflowLabel === 'single' ? ' textoverflow-single' : ''}`, size: this.size === 'large' ? 'medium' : 'xsmall', color: this.assignColor('label') }, this.label), this.required && (h("cura-paragraph", { key: '1d06464488947f469abd5c3d1c25ebb2ed63a5bd', lineHeight: "0%", marginBlock: "0", color: "error-base" }, "*", ' '))), h("cura-label", { key: '508bb787d2da5d25de48516ed64d6b02c94d8546', textOverflow: this.overflowHelper, color: this.assignColor('message'), size: "xsmall", class: "message" }, h("slot", { key: 'f35d5c895f74ec02987474e71df9a5067ea51e70' }))), h("input", { key: 'fbd6ba47d6e8a9c812ad986964749507f9d33d62', type: "radio", class: `radio ${this.size.toLocaleLowerCase()}`, name: this.name, value: this.value, required: this.required, tabIndex: this.ontabindex, disabled: this.disabled, checked: this.checked }))));
|
|
189
|
-
}
|
|
190
|
-
static get formAssociated() { return true; }
|
|
191
|
-
get host() { return this; }
|
|
192
|
-
static get watchers() { return {
|
|
193
|
-
"size": ["sizeHandler"],
|
|
194
|
-
"color": ["setColors"],
|
|
195
|
-
"background": ["setColors", "assignColor"]
|
|
196
|
-
}; }
|
|
197
|
-
static get style() { return curaRadioCss; }
|
|
198
|
-
}, [65, "cura-radio", {
|
|
199
|
-
"checked": [1540],
|
|
200
|
-
"status": [1537],
|
|
201
|
-
"disabled": [516],
|
|
202
|
-
"required": [516],
|
|
203
|
-
"label": [513],
|
|
204
|
-
"ontabindex": [514],
|
|
205
|
-
"position": [513],
|
|
206
|
-
"value": [513],
|
|
207
|
-
"name": [513],
|
|
208
|
-
"background": [1],
|
|
209
|
-
"size": [1],
|
|
210
|
-
"color": [1],
|
|
211
|
-
"overflowLabel": [513, "overflow-label"],
|
|
212
|
-
"overflowHelper": [513, "overflow-helper"],
|
|
213
|
-
"styles": [32]
|
|
214
|
-
}, undefined, {
|
|
215
|
-
"size": ["sizeHandler"],
|
|
216
|
-
"color": ["setColors"],
|
|
217
|
-
"background": ["setColors", "assignColor"]
|
|
218
|
-
}]);
|
|
219
|
-
function defineCustomElement$1() {
|
|
220
|
-
if (typeof customElements === "undefined") {
|
|
221
|
-
return;
|
|
222
|
-
}
|
|
223
|
-
const components = ["cura-radio", "cura-label", "cura-paragraph"];
|
|
224
|
-
components.forEach(tagName => { switch (tagName) {
|
|
225
|
-
case "cura-radio":
|
|
226
|
-
if (!customElements.get(tagName)) {
|
|
227
|
-
customElements.define(tagName, CuraRadio$1);
|
|
228
|
-
}
|
|
229
|
-
break;
|
|
230
|
-
case "cura-label":
|
|
231
|
-
if (!customElements.get(tagName)) {
|
|
232
|
-
defineCustomElement$3();
|
|
233
|
-
}
|
|
234
|
-
break;
|
|
235
|
-
case "cura-paragraph":
|
|
236
|
-
if (!customElements.get(tagName)) {
|
|
237
|
-
defineCustomElement$2();
|
|
238
|
-
}
|
|
239
|
-
break;
|
|
240
|
-
} });
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
const CuraRadio = CuraRadio$1;
|
|
244
|
-
const defineCustomElement = defineCustomElement$1;
|
|
245
|
-
|
|
246
|
-
export { CuraRadio, defineCustomElement };
|
|
247
|
-
//# sourceMappingURL=cura-radio.js.map
|
|
248
|
-
|
|
249
|
-
//# sourceMappingURL=cura-radio.js.map
|
|
1
|
+
import{p as r,H as e,k as a,i as s,j as t,t as o}from"./p-DBXUEjWh.js";import{f as i}from"./p-Dot54hbB.js";import{d as c}from"./p-BSdkRryc.js";import{d}from"./p-D7WNwjv-.js";const l=r(class extends e{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.onchange=a(this,"onchange"),this.internals=this.attachInternals(),this.checked=!1,this.status="default",this.disabled=!1,this.required=!1,this.label="",this.position="left",this.value="",this.name="",this.background="light",this.size="medium",this.color="accent",this.overflowLabel="none",this.overflowHelper="none",this.styles={},this.sizes={large:{size:20},medium:{size:14},small:{size:10}},this.isDarkbackground=()=>"dark"===this.background,this.handleClick=()=>{this.disabled||(this.checked=!this.checked,this.internals.setFormValue(this.value),this.onchange.emit({value:this.value,checked:this.checked}))}}sizeHandler(){this.styles=Object.assign(Object.assign({},this.styles),{"--size-after":this.sizes[this.size].size+"px","--size":i[this.size].size+"px","--gap":i[this.size].gap+"px"})}setColors(){[{name:"--info-base",background:"info-base"},{name:"--color-light",background:this.color+"-light"},{name:"--color-base",background:this.color+"-base"},{name:"--color-dark",background:this.color+"-dark"},{name:"--neutral-purewhite",background:"neutral-purewhite"},{name:"--success-lighter",background:"success-lighter"},{name:"--success-base",background:"success-base"},{name:"--error-lighter",background:"error-lighter"},{name:"--error-base",background:"error-base"},{name:"--primary-base-neutral-medium",background:this.isDarkbackground()?"primary-base":"neutral-medium"},{name:"--primary-base-neutral-white",background:this.isDarkbackground()?"primary-base":"neutral-white"},{name:"--primary-darker-neutral-white",background:this.isDarkbackground()?"primary-darker":"neutral-white"},{name:"--primary-darker-neutral-base",background:this.isDarkbackground()?"primary-darker":"neutral-base"},{name:"--primary-base-neutral-base",background:this.isDarkbackground()?"primary-base":"neutral-base"},{name:"--primary-base-neutral-dark",background:this.isDarkbackground()?"primary-base":"neutral-dark"},{name:"--primary-base-neutral-medium",background:this.isDarkbackground()?"primary-base":"neutral-medium"},{name:"--success-base-dark",background:this.isDarkbackground()?"success-base":"success-dark"},{name:"--error-base-dark",background:this.isDarkbackground()?"error-base":"error-dark"}].forEach((r=>{this.styles[r.name]=window.CuraAPI.theme.colors.getColor(r.background)})),this.styles=Object.assign({},this.styles)}formAssociatedCallback(r){r.ariaLabel=this.label}formStateRestoreCallback(r){this.value=r.value,this.checked=r.checked,this.internals.setFormValue(this.value)}formResetCallback(){this.value="",this.checked=!1,this.internals.setValidity({}),this.internals.setFormValue(this.value)}formDisabledCallback(r){this.disabled=r}connectedCallback(){this.sizeHandler(),this.setColors()}getClasses(){const r={container:!0};return r.checked=this.checked,r.disabled=this.disabled,r.position="right"===this.position,r[this.status]=!0,r}assignColor(r){return this.disabled?this.isDarkbackground()?"primary-darker":"neutral-medium":{success:{label:this.isDarkbackground()?"success-lighter":"success-darker",message:this.isDarkbackground()?"success-base":"success-dark"},error:{label:this.isDarkbackground()?"error-lighter":"neutral-darker",message:this.isDarkbackground()?"error-base":"error-dark"},default:{label:this.isDarkbackground()?"neutral-white":"neutral-black",message:this.isDarkbackground()?"primary-lighter":"neutral-dark"}}[this.status][r]}render(){return s(t,{key:"550e164f2be33f4fdad6c194302723a00e51843c",role:"radio","aria-checked":this.checked,"aria-disabled":this.disabled,"aria-required":this.required,"aria-invalid":"error"===this.status},s("div",{key:"ebcfef353b7dd4655b1d809025060db952927521",class:this.getClasses(),style:this.styles,onClick:this.handleClick},s("div",{key:"436ecc0f4fd72ff6a00a2a47f494e08aae65b3d6",class:"info"},s("div",{key:"4836e4ce83d1fc3b338cfd216b46a7791ba6dc90",class:"label-wrapper"},s("cura-label",{key:"434f0b816eee11b7da0b44f37880e31c52e2f853",textOverflow:this.overflowLabel,class:"label"+("single"===this.overflowLabel?" textoverflow-single":""),size:"large"===this.size?"medium":"xsmall",color:this.assignColor("label")},this.label),this.required&&s("cura-paragraph",{key:"1d06464488947f469abd5c3d1c25ebb2ed63a5bd",lineHeight:"0%",marginBlock:"0",color:"error-base"},"*"," ")),s("cura-label",{key:"508bb787d2da5d25de48516ed64d6b02c94d8546",textOverflow:this.overflowHelper,color:this.assignColor("message"),size:"xsmall",class:"message"},s("slot",{key:"f35d5c895f74ec02987474e71df9a5067ea51e70"}))),s("input",{key:"fbd6ba47d6e8a9c812ad986964749507f9d33d62",type:"radio",class:"radio "+this.size.toLocaleLowerCase(),name:this.name,value:this.value,required:this.required,tabIndex:this.ontabindex,disabled:this.disabled,checked:this.checked})))}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{size:[{sizeHandler:0}],color:[{setColors:0}],background:[{setColors:0},{assignColor:0}]}}static get style(){return'@charset "UTF-8";:host{display:block;box-sizing:border-box;min-width:0;}:host .container{display:flex;align-items:center;flex-direction:row-reverse;justify-content:start;gap:var(--gap);cursor:pointer}:host .position.container{flex-direction:row}:host .position .label-wrapper{justify-content:end}:host .position .message{text-align:right}:host .position .label{order:1}:host .label.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;min-width:0;max-width:100%}:host .info{display:flex;flex-direction:column;overflow:hidden}:host .label-wrapper{display:flex;justify-content:start;align-items:center;gap:5px}:host .control{width:fit-content;cursor:pointer;position:relative}:host .radio{margin:0;appearance:none;-webkit-appearance:none;-moz-appearance:none;border-radius:50%;border:2px solid var(--primary-base-neutral-medium);background:var(--neutral-purewhite);box-sizing:border-box;transition:border-color 0.3s;position:relative;display:flex;align-items:center;justify-content:center;cursor:pointer;width:var(--size);height:var(--size);flex:0 0 var(--size)}:host .radio::after{content:"";background:var(--color-base-light);border-radius:50%;opacity:0;transition:opacity 0.3s;width:var(--size-after);height:var(--size-after)}:host .radio:focus{border-color:var(--info-base) !important}:host .success .radio{border-color:var(--success-base);background:var(--success-lighter)}:host .success .radio:hover{border-color:var(--success-base) !important}:host .success.checked .radio{border-color:var(--success-base)}:host .success.checked .radio::after{background:var(--success-base)}:host .success.checked .radio:hover{background:var(--success-lighter) !important;border-color:var(--success-base) !important}:host .success.checked .radio:hover::after{background:var(--success-base) !important}:host .error .radio{border-color:var(--error-base);background:var(--error-lighter)}:host .error .radio:hover{border-color:var(--error-base) !important}:host .error.checked .radio{border-color:var(--error-base)}:host .error.checked .radio::after{background:var(--error-base)}:host .error.checked .radio:hover{background:var(--error-lighter) !important;border-color:var(--error-base) !important}:host .error.checked .radio:hover::after{background:var(--error-base) !important}:host .checked .radio::after{opacity:1;background:var(--color-base)}:host .checked .radio{border-color:var(--color-dark)}:host .checked .radio:hover{border-color:var(--color-light) !important}:host .checked .radio:hover::after{background:var(--color-light)}:host .disabled .radio{background:var(--primary-base-neutral-white);border-color:var(--primary-darker-neutral-base);cursor:not-allowed}:host .disabled .radio::after{background:var(--neutral-lighter)}:host .disabled.checked .radio{border-color:var(--primary-base-neutral-base) !important;background:var(--primary-darker-neutral-white) !important}:host .disabled.checked .radio::after{background:var(--primary-base-neutral-base) !important}:host :not(.disabled):not(.checked) .radio:hover{border-color:var(--primary-base-neutral-dark)}'}},[321,"cura-radio",{checked:[1540],status:[1537],disabled:[516],required:[516],label:[513],ontabindex:[514],position:[513],value:[513],name:[513],background:[1],size:[1],color:[1],overflowLabel:[513,"overflow-label"],overflowHelper:[513,"overflow-helper"],styles:[32]},void 0,{size:[{sizeHandler:0}],color:[{setColors:0}],background:[{setColors:0},{assignColor:0}]}]),h=l,n=function(){"undefined"!=typeof customElements&&["cura-radio","cura-label","cura-paragraph"].forEach((r=>{switch(r){case"cura-radio":customElements.get(o(r))||customElements.define(o(r),l);break;case"cura-label":customElements.get(o(r))||c();break;case"cura-paragraph":customElements.get(o(r))||d()}}))};export{h as CuraRadio,n as defineCustomElement}
|
|
File without changes
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const CuraSelectOption = CuraSelectOption$1;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { CuraSelectOption, defineCustomElement };
|
|
7
|
-
//# sourceMappingURL=cura-select-option.js.map
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=cura-select-option.js.map
|
|
1
|
+
import{C as o,d as s}from"./p-BYA8glxD.js";const p=o,r=s;export{p as CuraSelectOption,r as defineCustomElement}
|
|
File without changes
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const CuraSelect = CuraSelect$1;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { CuraSelect, defineCustomElement };
|
|
7
|
-
//# sourceMappingURL=cura-select.js.map
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=cura-select.js.map
|
|
1
|
+
import{C as o,d as s}from"./p-DxJedO3K.js";const p=o,r=s;export{p as CuraSelect,r as defineCustomElement}
|
|
File without changes
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const CuraStepperItem = CuraStepperItem$1;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { CuraStepperItem, defineCustomElement };
|
|
7
|
-
//# sourceMappingURL=cura-stepper-item.js.map
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=cura-stepper-item.js.map
|
|
1
|
+
import{C as o,d as s}from"./p-C7so9xnO.js";const p=o,r=s;export{p as CuraStepperItem,r as defineCustomElement}
|
|
File without changes
|
|
@@ -1,205 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { d as defineCustomElement$8 } from './p-cOEGtL9C.js';
|
|
3
|
-
import { d as defineCustomElement$7 } from './p-BHEafDKD.js';
|
|
4
|
-
import { d as defineCustomElement$6 } from './p-B5aO1chh.js';
|
|
5
|
-
import { d as defineCustomElement$5 } from './p-DR1RHrEX.js';
|
|
6
|
-
import { d as defineCustomElement$4 } from './p-DI4g-ZH4.js';
|
|
7
|
-
import { d as defineCustomElement$3 } from './p-FTSrgi0q.js';
|
|
8
|
-
import { d as defineCustomElement$2 } from './p-DaPc6Dxl.js';
|
|
9
|
-
|
|
10
|
-
const curaStepperCss = ":host{display:block;box-sizing:border-box;width:100%}cura-heading{--margin-block:0 !important}.container{display:flex}.compact{display:flex;padding:0px;justify-content:space-between;align-items:center}.compact .heading{text-align:right}.stepper-list{gap:4px;display:flex;flex-shrink:0;align-items:center;padding:0;flex:1;width:100%;justify-content:space-between}.step{display:flex;align-items:center;flex-direction:row;flex:1;gap:4px}.step .wrapper{flex:1;position:relative}.step .divider{background-color:var(--neutral-light);height:2px;flex:1;transition:all 1s}.step .animation{position:absolute;top:0;left:0;right:0;width:var(--progress-width)}.step .done{background-color:var(--success-light)}.step .stop{background-color:var(--error-light)}.step .active{background-color:var(--info-light)}.last{flex:0}";
|
|
11
|
-
|
|
12
|
-
const CuraStepper$1 = /*@__PURE__*/ proxyCustomElement(class CuraStepper extends H {
|
|
13
|
-
constructor() {
|
|
14
|
-
super();
|
|
15
|
-
this.__registerHost();
|
|
16
|
-
this.__attachShadow();
|
|
17
|
-
/**
|
|
18
|
-
* Indicates if a step has encountered an error
|
|
19
|
-
* If `true`, the current step will be marked as 'stop'
|
|
20
|
-
*/
|
|
21
|
-
this.errorInCurrentStep = false;
|
|
22
|
-
/**
|
|
23
|
-
* Whether to display the title (default: false)
|
|
24
|
-
*/
|
|
25
|
-
this.displayHeading = false;
|
|
26
|
-
/**
|
|
27
|
-
* Allows you to set the appearance of the component (default: default)
|
|
28
|
-
*/
|
|
29
|
-
this.variant = 'default';
|
|
30
|
-
/**
|
|
31
|
-
* List of steps in the stepper.
|
|
32
|
-
*/
|
|
33
|
-
this.steps = [];
|
|
34
|
-
this.styles = {};
|
|
35
|
-
/**
|
|
36
|
-
* Array of steps in the stepper.
|
|
37
|
-
*
|
|
38
|
-
* @type {Date[]}
|
|
39
|
-
* @default []
|
|
40
|
-
*/
|
|
41
|
-
this.stepList = [];
|
|
42
|
-
}
|
|
43
|
-
connectedCallback() {
|
|
44
|
-
this.initializeSteps();
|
|
45
|
-
const { fonts, colors, spacing } = window.CuraAPI.theme;
|
|
46
|
-
const weights = fonts.getWeights();
|
|
47
|
-
this.styles = this.generateStyles(colors, fonts, spacing, weights);
|
|
48
|
-
}
|
|
49
|
-
generateStyles(colors, fonts, spacing, weights) {
|
|
50
|
-
return {
|
|
51
|
-
'--base-spacing': spacing.getSpacing(),
|
|
52
|
-
'--neutral-purewhite': colors.getColor('neutral-purewhite'),
|
|
53
|
-
'--neutral-lighter': colors.getColor('neutral-lighter'),
|
|
54
|
-
'--neutral-base': colors.getColor('neutral-base'),
|
|
55
|
-
'--neutral-light': colors.getColor('neutral-light'),
|
|
56
|
-
'--success-light': colors.getColor('success-light'),
|
|
57
|
-
'--info-light': colors.getColor('info-light'),
|
|
58
|
-
'--error-light': colors.getColor('error-light'),
|
|
59
|
-
'--font-size': fonts.getSize(),
|
|
60
|
-
'--font-color': fonts.getColor(),
|
|
61
|
-
'--font-family': fonts.getFamily(),
|
|
62
|
-
'--font-weight-regular': weights.regular,
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
initializeSteps() {
|
|
66
|
-
if (typeof this.steps === 'string') {
|
|
67
|
-
this.stepList = JSON.parse(this.steps || '[]');
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
this.stepList = this.steps;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
getStepStatus(step) {
|
|
74
|
-
if (this.activeStepIndex === step && this.errorInCurrentStep)
|
|
75
|
-
return 'stop';
|
|
76
|
-
if (this.activeStepIndex === step && this.stepList.length !== step)
|
|
77
|
-
return 'active';
|
|
78
|
-
if (this.activeStepIndex >= step)
|
|
79
|
-
return 'done';
|
|
80
|
-
return 'default';
|
|
81
|
-
}
|
|
82
|
-
getProgressStyles() {
|
|
83
|
-
const progressStyles = {
|
|
84
|
-
default: {
|
|
85
|
-
progressColor: 'var(--info-light)',
|
|
86
|
-
activeStepTextColor: 'info-darker',
|
|
87
|
-
nextStepTextColor: 'info-dark',
|
|
88
|
-
},
|
|
89
|
-
firstStep: {
|
|
90
|
-
progressColor: 'var(--info-light)',
|
|
91
|
-
activeStepTextColor: 'neutral-dark',
|
|
92
|
-
nextStepTextColor: 'neutral-medium',
|
|
93
|
-
},
|
|
94
|
-
completed: {
|
|
95
|
-
progressColor: 'var(--success-light)',
|
|
96
|
-
activeStepTextColor: 'success-darker',
|
|
97
|
-
nextStepTextColor: 'success-dark',
|
|
98
|
-
},
|
|
99
|
-
error: {
|
|
100
|
-
progressColor: 'var(--error-light)',
|
|
101
|
-
activeStepTextColor: 'error-darker',
|
|
102
|
-
nextStepTextColor: 'error-dark',
|
|
103
|
-
},
|
|
104
|
-
};
|
|
105
|
-
if (this.errorInCurrentStep) {
|
|
106
|
-
return progressStyles.error;
|
|
107
|
-
}
|
|
108
|
-
if (this.activeStepIndex === 0) {
|
|
109
|
-
return progressStyles.firstStep;
|
|
110
|
-
}
|
|
111
|
-
if (this.activeStepIndex === this.stepList.length) {
|
|
112
|
-
return progressStyles.completed;
|
|
113
|
-
}
|
|
114
|
-
return progressStyles.default;
|
|
115
|
-
}
|
|
116
|
-
renderCompactStepper() {
|
|
117
|
-
var _a;
|
|
118
|
-
const title = this.activeStepIndex === 0 ? this.stepList[this.activeStepIndex].title : this.stepList[this.activeStepIndex - 1].title;
|
|
119
|
-
const subtitle = this.activeStepIndex === 0 ? this.stepList[this.activeStepIndex + 1].title : (_a = this.stepList[this.activeStepIndex]) === null || _a === void 0 ? void 0 : _a.title;
|
|
120
|
-
const completed = this.activeStepIndex === this.stepList.length;
|
|
121
|
-
const inProgress = !(completed || this.errorInCurrentStep);
|
|
122
|
-
const { progressColor, activeStepTextColor, nextStepTextColor } = this.getProgressStyles();
|
|
123
|
-
// Representa a porcentagem de progresso (step atual / quantidade de steps;)
|
|
124
|
-
const progress = (this.activeStepIndex * 100) / this.stepList.length;
|
|
125
|
-
return (h("div", { class: "container compact", style: this.styles }, h("cura-progress-bar", { progress: progress, progressColor: progressColor, active: this.activeStepIndex !== 0 }, !inProgress ? (h("cura-icon", { name: this.errorInCurrentStep ? 'alertCircle' : 'checkCircle', color: this.errorInCurrentStep ? 'error-dark' : 'success-dark', size: "16" })) : (h("cura-heading", { color: "neutral-dark", size: "xsmall" }, this.activeStepIndex, "/", this.stepList.length))), this.displayHeading && (h("div", { class: "heading" }, h("cura-heading", { size: "small", weight: "bold", color: activeStepTextColor }, title), !completed && (h("cura-heading", { size: "xsmall", weight: "regular", color: nextStepTextColor }, "Pr\u00F3ximo: ", subtitle))))));
|
|
126
|
-
}
|
|
127
|
-
renderStep(step, stepIndex) {
|
|
128
|
-
const stepStatus = this.getStepStatus(stepIndex + 1);
|
|
129
|
-
const lastStep = stepIndex === this.stepList.length - 1;
|
|
130
|
-
const progressWidth = stepStatus !== 'default' ? '100%' : '0';
|
|
131
|
-
return (h("div", { class: `step ${lastStep ? 'last' : ''}`, key: step.title }, h("cura-stepper-item", { heading: step.title, label: step.label, displayHeading: this.displayHeading, status: stepStatus }), stepIndex < this.stepList.length - 1 && (h("div", { class: "wrapper" }, h("div", { class: "divider" }), h("div", { class: `divider ${stepStatus} animation`, style: { '--progress-width': progressWidth } })))));
|
|
132
|
-
}
|
|
133
|
-
renderStepper() {
|
|
134
|
-
return (h("div", { class: "container", style: this.styles }, h("div", { class: "stepper-list" }, this.stepList.map((step, stepIndex) => this.renderStep(step, stepIndex)))));
|
|
135
|
-
}
|
|
136
|
-
render() {
|
|
137
|
-
return h(Host, { key: '6593f8a294abd6f729cbf493e3a773f358c10cf7' }, this.variant === 'default' ? this.renderStepper() : this.renderCompactStepper());
|
|
138
|
-
}
|
|
139
|
-
get host() { return this; }
|
|
140
|
-
static get style() { return curaStepperCss; }
|
|
141
|
-
}, [1, "cura-stepper", {
|
|
142
|
-
"activeStepIndex": [514, "active-step-index"],
|
|
143
|
-
"errorInCurrentStep": [516, "error-in-current-step"],
|
|
144
|
-
"displayHeading": [516, "display-heading"],
|
|
145
|
-
"variant": [513],
|
|
146
|
-
"steps": [1],
|
|
147
|
-
"styles": [32],
|
|
148
|
-
"stepList": [32]
|
|
149
|
-
}]);
|
|
150
|
-
function defineCustomElement$1() {
|
|
151
|
-
if (typeof customElements === "undefined") {
|
|
152
|
-
return;
|
|
153
|
-
}
|
|
154
|
-
const components = ["cura-stepper", "cura-badge-pill", "cura-heading", "cura-icon", "cura-label", "cura-paragraph", "cura-progress-bar", "cura-stepper-item"];
|
|
155
|
-
components.forEach(tagName => { switch (tagName) {
|
|
156
|
-
case "cura-stepper":
|
|
157
|
-
if (!customElements.get(tagName)) {
|
|
158
|
-
customElements.define(tagName, CuraStepper$1);
|
|
159
|
-
}
|
|
160
|
-
break;
|
|
161
|
-
case "cura-badge-pill":
|
|
162
|
-
if (!customElements.get(tagName)) {
|
|
163
|
-
defineCustomElement$8();
|
|
164
|
-
}
|
|
165
|
-
break;
|
|
166
|
-
case "cura-heading":
|
|
167
|
-
if (!customElements.get(tagName)) {
|
|
168
|
-
defineCustomElement$7();
|
|
169
|
-
}
|
|
170
|
-
break;
|
|
171
|
-
case "cura-icon":
|
|
172
|
-
if (!customElements.get(tagName)) {
|
|
173
|
-
defineCustomElement$6();
|
|
174
|
-
}
|
|
175
|
-
break;
|
|
176
|
-
case "cura-label":
|
|
177
|
-
if (!customElements.get(tagName)) {
|
|
178
|
-
defineCustomElement$5();
|
|
179
|
-
}
|
|
180
|
-
break;
|
|
181
|
-
case "cura-paragraph":
|
|
182
|
-
if (!customElements.get(tagName)) {
|
|
183
|
-
defineCustomElement$4();
|
|
184
|
-
}
|
|
185
|
-
break;
|
|
186
|
-
case "cura-progress-bar":
|
|
187
|
-
if (!customElements.get(tagName)) {
|
|
188
|
-
defineCustomElement$3();
|
|
189
|
-
}
|
|
190
|
-
break;
|
|
191
|
-
case "cura-stepper-item":
|
|
192
|
-
if (!customElements.get(tagName)) {
|
|
193
|
-
defineCustomElement$2();
|
|
194
|
-
}
|
|
195
|
-
break;
|
|
196
|
-
} });
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
const CuraStepper = CuraStepper$1;
|
|
200
|
-
const defineCustomElement = defineCustomElement$1;
|
|
201
|
-
|
|
202
|
-
export { CuraStepper, defineCustomElement };
|
|
203
|
-
//# sourceMappingURL=cura-stepper.js.map
|
|
204
|
-
|
|
205
|
-
//# sourceMappingURL=cura-stepper.js.map
|
|
1
|
+
import{p as e,H as t,i as s,j as r,t as i}from"./p-DBXUEjWh.js";import{d as a}from"./p-D6xuYQiO.js";import{d as o}from"./p-fR02COZb.js";import{d as l}from"./p-fn4zJrKE.js";import{d as n}from"./p-BSdkRryc.js";import{d as c}from"./p-D7WNwjv-.js";import{d as p}from"./p-CG1lz5DR.js";import{d as h}from"./p-C7so9xnO.js";const d=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.errorInCurrentStep=!1,this.displayHeading=!1,this.variant="default",this.steps=[],this.styles={},this.stepList=[]}connectedCallback(){this.initializeSteps();const{fonts:e,colors:t,spacing:s}=window.CuraAPI.theme,r=e.getWeights();this.styles=this.generateStyles(t,e,s,r)}generateStyles(e,t,s,r){return{"--base-spacing":s.getSpacing(),"--neutral-purewhite":e.getColor("neutral-purewhite"),"--neutral-lighter":e.getColor("neutral-lighter"),"--neutral-base":e.getColor("neutral-base"),"--neutral-light":e.getColor("neutral-light"),"--success-light":e.getColor("success-light"),"--info-light":e.getColor("info-light"),"--error-light":e.getColor("error-light"),"--font-size":t.getSize(),"--font-color":t.getColor(),"--font-family":t.getFamily(),"--font-weight-regular":r.regular}}initializeSteps(){this.stepList="string"==typeof this.steps?JSON.parse(this.steps||"[]"):this.steps}getStepStatus(e){return this.activeStepIndex===e&&this.errorInCurrentStep?"stop":this.activeStepIndex===e&&this.stepList.length!==e?"active":this.activeStepIndex>=e?"done":"default"}getProgressStyles(){return this.errorInCurrentStep?{progressColor:"var(--error-light)",activeStepTextColor:"error-darker",nextStepTextColor:"error-dark"}:0===this.activeStepIndex?{progressColor:"var(--info-light)",activeStepTextColor:"neutral-dark",nextStepTextColor:"neutral-medium"}:this.activeStepIndex===this.stepList.length?{progressColor:"var(--success-light)",activeStepTextColor:"success-darker",nextStepTextColor:"success-dark"}:{progressColor:"var(--info-light)",activeStepTextColor:"info-darker",nextStepTextColor:"info-dark"}}renderCompactStepper(){var e;const t=0===this.activeStepIndex?this.stepList[this.activeStepIndex].title:this.stepList[this.activeStepIndex-1].title,r=0===this.activeStepIndex?this.stepList[this.activeStepIndex+1].title:null===(e=this.stepList[this.activeStepIndex])||void 0===e?void 0:e.title,i=this.activeStepIndex===this.stepList.length,a=!(i||this.errorInCurrentStep),{progressColor:o,activeStepTextColor:l,nextStepTextColor:n}=this.getProgressStyles();return s("div",{class:"container compact",style:this.styles},s("cura-progress-bar",{progress:100*this.activeStepIndex/this.stepList.length,progressColor:o,active:0!==this.activeStepIndex},a?s("cura-heading",{color:"neutral-dark",size:"xsmall"},this.activeStepIndex,"/",this.stepList.length):s("cura-icon",{name:this.errorInCurrentStep?"alertCircle":"checkCircle",color:this.errorInCurrentStep?"error-dark":"success-dark",size:"16"})),this.displayHeading&&s("div",{class:"heading"},s("cura-heading",{size:"small",weight:"bold",color:l},t),!i&&s("cura-heading",{size:"xsmall",weight:"regular",color:n},"Próximo: ",r)))}renderStep(e,t){const r=this.getStepStatus(t+1),i="default"!==r?"100%":"0";return s("div",{class:"step "+(t===this.stepList.length-1?"last":""),key:e.title},s("cura-stepper-item",{heading:e.title,label:e.label,displayHeading:this.displayHeading,status:r}),t<this.stepList.length-1&&s("div",{class:"wrapper"},s("div",{class:"divider"}),s("div",{class:`divider ${r} animation`,style:{"--progress-width":i}})))}renderStepper(){return s("div",{class:"container",style:this.styles},s("div",{class:"stepper-list"},this.stepList.map(((e,t)=>this.renderStep(e,t)))))}render(){return s(r,{key:"6593f8a294abd6f729cbf493e3a773f358c10cf7"},"default"===this.variant?this.renderStepper():this.renderCompactStepper())}get host(){return this}static get style(){return":host{display:block;box-sizing:border-box;width:100%}cura-heading{--margin-block:0 !important}.container{display:flex}.compact{display:flex;padding:0px;justify-content:space-between;align-items:center}.compact .heading{text-align:right}.stepper-list{gap:4px;display:flex;flex-shrink:0;align-items:center;padding:0;flex:1;width:100%;justify-content:space-between}.step{display:flex;align-items:center;flex-direction:row;flex:1;gap:4px}.step .wrapper{flex:1;position:relative}.step .divider{background-color:var(--neutral-light);height:2px;flex:1;transition:all 1s}.step .animation{position:absolute;top:0;left:0;right:0;width:var(--progress-width)}.step .done{background-color:var(--success-light)}.step .stop{background-color:var(--error-light)}.step .active{background-color:var(--info-light)}.last{flex:0}"}},[1,"cura-stepper",{activeStepIndex:[514,"active-step-index"],errorInCurrentStep:[516,"error-in-current-step"],displayHeading:[516,"display-heading"],variant:[513],steps:[1],styles:[32],stepList:[32]}]),u=d,g=function(){"undefined"!=typeof customElements&&["cura-stepper","cura-badge-pill","cura-heading","cura-icon","cura-label","cura-paragraph","cura-progress-bar","cura-stepper-item"].forEach((e=>{switch(e){case"cura-stepper":customElements.get(i(e))||customElements.define(i(e),d);break;case"cura-badge-pill":customElements.get(i(e))||a();break;case"cura-heading":customElements.get(i(e))||o();break;case"cura-icon":customElements.get(i(e))||l();break;case"cura-label":customElements.get(i(e))||n();break;case"cura-paragraph":customElements.get(i(e))||c();break;case"cura-progress-bar":customElements.get(i(e))||p();break;case"cura-stepper-item":customElements.get(i(e))||h()}}))};export{u as CuraStepper,g as defineCustomElement}
|
|
File without changes
|