@rededor/cura 2.0.0-alpha.5 → 2.0.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/assets/icons/iconset-default-list.ts +1 -1
- package/dist/assets/assets/icons/iconset-default-tmp.svg +40 -0
- package/dist/assets/assets/icons/iconset-default.svg +1 -1
- package/dist/cjs/cura-accordion_21.cjs.entry.js +183 -71
- package/dist/cjs/cura-accordion_21.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-alert.cjs.entry.js +0 -0
- package/dist/cjs/cura-alert.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-alert.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-badge-counter.cjs.entry.js +0 -0
- package/dist/cjs/cura-badge-counter.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-badge-counter.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-badge-dot.cjs.entry.js +0 -0
- package/dist/cjs/cura-badge-dot.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-badge-dot.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-badge-pill.cjs.entry.js +0 -0
- package/dist/cjs/cura-badge-pill.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-badge-pill.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-button-outline.cjs.entry.js +0 -0
- package/dist/cjs/cura-button-outline.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-button-outline.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-button-select.cjs.entry.js +0 -0
- package/dist/cjs/cura-button-select.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-button-select.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-button.definitions-B3SK8MaV.js +0 -0
- package/dist/cjs/cura-button.definitions-B3SK8MaV.js.map +0 -0
- package/dist/cjs/cura-calendar.cjs.entry.js +0 -0
- package/dist/cjs/cura-calendar.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-calendar.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-checkbox.cjs.entry.js +0 -0
- package/dist/cjs/cura-checkbox.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-checkbox.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-display.cjs.entry.js +0 -0
- package/dist/cjs/cura-display.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-display.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +0 -0
- package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-dropdown-search-not-found.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-forms.definitions-DVLuO67c.js +0 -0
- package/dist/cjs/cura-forms.definitions-DVLuO67c.js.map +0 -0
- package/dist/cjs/cura-icon.definitions-DT0wF67y.js +0 -0
- package/dist/cjs/cura-icon.definitions-DT0wF67y.js.map +0 -0
- package/dist/cjs/cura-icons-view.cjs.entry.js +1 -1
- package/dist/cjs/cura-icons-view.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-icons-view.entry.cjs.js.map +1 -1
- package/dist/cjs/cura-input-date.cjs.entry.js +0 -0
- package/dist/cjs/cura-input-date.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-input-date.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-loader-bar.cjs.entry.js +0 -0
- package/dist/cjs/cura-loader-bar.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-loader-bar.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-modal.cjs.entry.js +0 -0
- package/dist/cjs/cura-modal.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-modal.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-progress-bar.cura-stepper-item.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-progress-bar_2.cjs.entry.js +0 -0
- package/dist/cjs/cura-progress-bar_2.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-radio.cjs.entry.js +0 -0
- package/dist/cjs/cura-radio.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-radio.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-stepper.cjs.entry.js +0 -0
- package/dist/cjs/cura-stepper.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-stepper.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-switch.cjs.entry.js +0 -0
- package/dist/cjs/cura-switch.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-switch.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-tabs-button.cjs.entry.js +0 -0
- package/dist/cjs/cura-tabs-button.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-tabs-button.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-tabs-transparent.cjs.entry.js +0 -0
- package/dist/cjs/cura-tabs-transparent.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-tabs-transparent.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-tabs.definitions-CGqqGE2e.js +0 -0
- package/dist/cjs/cura-tabs.definitions-CGqqGE2e.js.map +0 -0
- package/dist/cjs/cura-theme-module-CJkmAxBA.js +0 -0
- package/dist/cjs/cura-theme-module-CJkmAxBA.js.map +0 -0
- package/dist/cjs/cura-toast.cjs.entry.js +0 -0
- package/dist/cjs/cura-toast.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-toast.entry.cjs.js.map +0 -0
- package/dist/cjs/cura-tooltip.cjs.entry.js +0 -0
- package/dist/cjs/cura-tooltip.cjs.entry.js.map +0 -0
- package/dist/cjs/cura-tooltip.entry.cjs.js.map +0 -0
- package/dist/cjs/cura.cjs.js +0 -0
- package/dist/cjs/cura.cjs.js.map +0 -0
- package/dist/cjs/index-BK9MSAiE.js +0 -0
- package/dist/cjs/index-BK9MSAiE.js.map +0 -0
- package/dist/cjs/index-EyP6Zlkd.js +0 -0
- package/dist/cjs/index-EyP6Zlkd.js.map +0 -0
- package/dist/cjs/index.cjs.js +0 -0
- package/dist/cjs/index.cjs.js.map +0 -0
- package/dist/cjs/loader.cjs.js +0 -0
- package/dist/cjs/loader.cjs.js.map +0 -0
- package/dist/collection/api/cura-api.js +0 -0
- package/dist/collection/api/cura-api.js.map +0 -0
- package/dist/collection/api/cura-api.type.js +0 -0
- package/dist/collection/api/cura-api.type.js.map +0 -0
- package/dist/collection/api/modules/cura-theme-breakpoints-module.js +0 -0
- package/dist/collection/api/modules/cura-theme-breakpoints-module.js.map +0 -0
- package/dist/collection/api/modules/cura-theme-colors-module.js +0 -0
- package/dist/collection/api/modules/cura-theme-colors-module.js.map +0 -0
- package/dist/collection/api/modules/cura-theme-fonts-module.js +0 -0
- package/dist/collection/api/modules/cura-theme-fonts-module.js.map +0 -0
- package/dist/collection/api/modules/cura-theme-module.js +0 -0
- package/dist/collection/api/modules/cura-theme-module.js.map +0 -0
- package/dist/collection/api/modules/cura-theme-spacing-module.js +0 -0
- package/dist/collection/api/modules/cura-theme-spacing-module.js.map +0 -0
- package/dist/collection/api/theme-presets/static.js +0 -0
- package/dist/collection/api/theme-presets/static.js.map +0 -0
- package/dist/collection/api/theme-presets/theme-default.js +0 -0
- package/dist/collection/api/theme-presets/theme-default.js.map +0 -0
- package/dist/collection/api/theme-presets/theme-legacy-default.js +0 -0
- package/dist/collection/api/theme-presets/theme-legacy-default.js.map +0 -0
- package/dist/collection/api/theme-presets/theme-maternity.js +0 -0
- package/dist/collection/api/theme-presets/theme-maternity.js.map +0 -0
- package/dist/collection/api/theme-presets/theme-oncology.js +0 -0
- package/dist/collection/api/theme-presets/theme-oncology.js.map +0 -0
- package/dist/collection/api/theme-presets/theme-perinatal-temporary.js +0 -0
- package/dist/collection/api/theme-presets/theme-perinatal-temporary.js.map +0 -0
- package/dist/collection/api/theme-presets/theme-presets.js +0 -0
- package/dist/collection/api/theme-presets/theme-presets.js.map +0 -0
- package/dist/collection/api/theme-presets/theme-richet.js +0 -0
- package/dist/collection/api/theme-presets/theme-richet.js.map +0 -0
- package/dist/collection/assets/icons/iconset-default-list.js +1 -1
- package/dist/collection/assets/icons/iconset-default-list.js.map +1 -1
- package/dist/collection/assets/icons/iconset-default-tmp.svg +40 -0
- package/dist/collection/assets/icons/iconset-default.svg +1 -1
- package/dist/collection/assets-raw/icons/default/autism.svg +3 -0
- package/dist/collection/assets-raw/icons/default/biop.svg +3 -0
- package/dist/collection/assets-raw/icons/default/lab.svg +3 -0
- package/dist/collection/assets-raw/icons/default/mobileClick.svg +3 -0
- package/dist/collection/assets-raw/icons/default/mobileRotate1.svg +3 -0
- package/dist/collection/assets-raw/icons/default/mobileRotate2.svg +3 -0
- package/dist/collection/assets-raw/icons/default/mobileRotate3.svg +3 -0
- package/dist/collection/assets-raw/icons/default/star.svg +3 -0
- package/dist/collection/assets-raw/icons/default/stop.svg +3 -0
- package/dist/collection/assets-raw/icons/default/xray.svg +3 -0
- package/dist/collection/collection-manifest.json +0 -0
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.css +0 -0
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +0 -0
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +0 -0
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js +0 -0
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js.map +0 -0
- package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.stories.js +0 -0
- package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.stories.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js.map +0 -0
- package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.stories.js +0 -0
- package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.stories.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js.map +0 -0
- package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.stories.js +0 -0
- package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.stories.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js.map +0 -0
- package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.stories.js +0 -0
- package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.stories.js.map +0 -0
- package/dist/collection/components/buttons/cura-button/cura-button.css +0 -0
- package/dist/collection/components/buttons/cura-button/cura-button.js +0 -0
- package/dist/collection/components/buttons/cura-button/cura-button.js.map +0 -0
- package/dist/collection/components/buttons/cura-button/cura-button.stories.js +0 -0
- package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +0 -0
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +0 -0
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +0 -0
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js +0 -0
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +0 -0
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +0 -0
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +0 -0
- package/dist/collection/components/buttons/cura-button.definitions.js +0 -0
- package/dist/collection/components/buttons/cura-button.definitions.js.map +0 -0
- package/dist/collection/components/cura-alert/cura-alert.css +0 -0
- package/dist/collection/components/cura-alert/cura-alert.js +0 -0
- package/dist/collection/components/cura-alert/cura-alert.js.map +0 -0
- package/dist/collection/components/cura-alert/cura-alert.stories.js +0 -0
- package/dist/collection/components/cura-alert/cura-alert.stories.js.map +0 -0
- package/dist/collection/components/cura-avatar/cura-avatar.css +0 -0
- package/dist/collection/components/cura-avatar/cura-avatar.definitions.js +0 -0
- package/dist/collection/components/cura-avatar/cura-avatar.definitions.js.map +0 -0
- package/dist/collection/components/cura-avatar/cura-avatar.js +0 -0
- package/dist/collection/components/cura-avatar/cura-avatar.js.map +0 -0
- package/dist/collection/components/cura-avatar/cura-avatar.stories.js +0 -0
- package/dist/collection/components/cura-avatar/cura-avatar.stories.js.map +0 -0
- package/dist/collection/components/cura-calendar/cura-calendar.css +0 -0
- package/dist/collection/components/cura-calendar/cura-calendar.js +0 -0
- package/dist/collection/components/cura-calendar/cura-calendar.js.map +0 -0
- package/dist/collection/components/cura-calendar/cura-calendar.stories.js +0 -0
- package/dist/collection/components/cura-calendar/cura-calendar.stories.js.map +0 -0
- package/dist/collection/components/cura-card/cura-card.css +0 -0
- package/dist/collection/components/cura-card/cura-card.js +0 -0
- package/dist/collection/components/cura-card/cura-card.js.map +0 -0
- package/dist/collection/components/cura-card/cura-card.stories.js +0 -0
- package/dist/collection/components/cura-card/cura-card.stories.js.map +0 -0
- 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 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js.map +0 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.stories.js +0 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.stories.js.map +0 -0
- 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 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js.map +0 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js +0 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js.map +0 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js +0 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js.map +0 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.css +0 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js +4 -2
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js.map +1 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.stories.js +0 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.stories.js.map +0 -0
- package/dist/collection/components/cura-icon/cura-icon.css +0 -0
- package/dist/collection/components/cura-icon/cura-icon.definitions.js +0 -0
- package/dist/collection/components/cura-icon/cura-icon.definitions.js.map +0 -0
- package/dist/collection/components/cura-icon/cura-icon.js +0 -0
- package/dist/collection/components/cura-icon/cura-icon.js.map +0 -0
- package/dist/collection/components/cura-icon/cura-icon.stories.js +0 -0
- package/dist/collection/components/cura-icon/cura-icon.stories.js.map +0 -0
- 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 -0
- package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +0 -0
- package/dist/collection/components/cura-icons-view/cura-icons-view.stories.js +0 -0
- package/dist/collection/components/cura-icons-view/cura-icons-view.stories.js.map +0 -0
- package/dist/collection/components/cura-modal/cura-modal.css +0 -0
- package/dist/collection/components/cura-modal/cura-modal.js +0 -0
- package/dist/collection/components/cura-modal/cura-modal.js.map +0 -0
- package/dist/collection/components/cura-modal/cura-modal.stories.js +0 -0
- package/dist/collection/components/cura-modal/cura-modal.stories.js.map +0 -0
- package/dist/collection/components/cura-page-template/cura-page-template.css +0 -0
- package/dist/collection/components/cura-page-template/cura-page-template.js +0 -0
- package/dist/collection/components/cura-page-template/cura-page-template.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js.map +0 -0
- package/dist/collection/components/cura-stepper/cura-stepper.css +0 -0
- package/dist/collection/components/cura-stepper/cura-stepper.js +0 -0
- package/dist/collection/components/cura-stepper/cura-stepper.js.map +0 -0
- package/dist/collection/components/cura-stepper/cura-stepper.stories.js +0 -0
- package/dist/collection/components/cura-stepper/cura-stepper.stories.js.map +0 -0
- package/dist/collection/components/cura-stepper/stepper.type.js +0 -0
- package/dist/collection/components/cura-stepper/stepper.type.js.map +0 -0
- package/dist/collection/components/cura-toast/cura-toast.css +0 -0
- package/dist/collection/components/cura-toast/cura-toast.js +0 -0
- package/dist/collection/components/cura-toast/cura-toast.js.map +0 -0
- package/dist/collection/components/cura-toast/cura-toast.stories.js +0 -0
- package/dist/collection/components/cura-toast/cura-toast.stories.js.map +0 -0
- package/dist/collection/components/cura-tooltip/cura-tooltip.css +0 -0
- package/dist/collection/components/cura-tooltip/cura-tooltip.js +0 -0
- package/dist/collection/components/cura-tooltip/cura-tooltip.js.map +0 -0
- package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js +0 -0
- package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js.map +0 -0
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.css +0 -0
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +0 -0
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js.map +0 -0
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js +0 -0
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js.map +0 -0
- package/dist/collection/components/forms/cura-forms.definitions.js +0 -0
- package/dist/collection/components/forms/cura-forms.definitions.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/forms/cura-input-date/cura-input-date.js.map +0 -0
- package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js +0 -0
- package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +0 -0
- package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js +0 -0
- package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js.map +0 -0
- package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js +0 -0
- package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js.map +0 -0
- package/dist/collection/components/forms/cura-label/cura-label.css +0 -0
- package/dist/collection/components/forms/cura-label/cura-label.js +0 -0
- package/dist/collection/components/forms/cura-label/cura-label.js.map +0 -0
- package/dist/collection/components/forms/cura-label/cura-label.stories.js +0 -0
- package/dist/collection/components/forms/cura-label/cura-label.stories.js.map +0 -0
- package/dist/collection/components/forms/cura-radio/cura-radio.css +0 -0
- package/dist/collection/components/forms/cura-radio/cura-radio.js +0 -0
- package/dist/collection/components/forms/cura-radio/cura-radio.js.map +0 -0
- package/dist/collection/components/forms/cura-radio/cura-radio.stories.js +0 -0
- package/dist/collection/components/forms/cura-radio/cura-radio.stories.js.map +0 -0
- package/dist/collection/components/forms/cura-select/cura-select.css +0 -0
- package/dist/collection/components/forms/cura-select/cura-select.js +0 -0
- package/dist/collection/components/forms/cura-select/cura-select.js.map +0 -0
- package/dist/collection/components/forms/cura-select/cura-select.stories.js +0 -0
- package/dist/collection/components/forms/cura-select/cura-select.stories.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/forms/cura-select-options/cura-select-option.js.map +0 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.css +0 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.js +0 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.js.map +0 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.stories.js +0 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.stories.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js.map +0 -0
- package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.stories.js +0 -0
- package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.stories.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js.map +0 -0
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js +0 -0
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js.map +0 -0
- package/dist/collection/components/tabs/cura-tabs/cura-tabs.css +0 -0
- package/dist/collection/components/tabs/cura-tabs/cura-tabs.js +0 -0
- package/dist/collection/components/tabs/cura-tabs/cura-tabs.js.map +0 -0
- package/dist/collection/components/tabs/cura-tabs/cura-tabs.stories.js +0 -0
- package/dist/collection/components/tabs/cura-tabs/cura-tabs.stories.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js.map +0 -0
- package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.stories.js +0 -0
- package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.stories.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js.map +0 -0
- package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.stories.js +0 -0
- package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.stories.js.map +0 -0
- 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 +0 -0
- package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js.map +0 -0
- package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.stories.js +0 -0
- package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.stories.js.map +0 -0
- package/dist/collection/components/tabs/cura-tabs.definitions.js +0 -0
- package/dist/collection/components/tabs/cura-tabs.definitions.js.map +0 -0
- package/dist/collection/components/text/cura-display/cura-display.css +0 -0
- package/dist/collection/components/text/cura-display/cura-display.js +0 -0
- package/dist/collection/components/text/cura-display/cura-display.js.map +0 -0
- package/dist/collection/components/text/cura-display/cura-display.stories.js +0 -0
- package/dist/collection/components/text/cura-display/cura-display.stories.js.map +0 -0
- package/dist/collection/components/text/cura-heading/cura-heading.css +0 -0
- package/dist/collection/components/text/cura-heading/cura-heading.js +0 -0
- package/dist/collection/components/text/cura-heading/cura-heading.js.map +0 -0
- package/dist/collection/components/text/cura-heading/cura-heading.stories.js +0 -0
- package/dist/collection/components/text/cura-heading/cura-heading.stories.js.map +0 -0
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.css +0 -0
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +0 -0
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +0 -0
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js +0 -0
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js.map +0 -0
- package/dist/collection/index.js +0 -0
- package/dist/collection/index.js.map +0 -0
- package/dist/collection/rededor-cura-start.js +0 -0
- package/dist/collection/rededor-cura-start.js.map +0 -0
- package/dist/collection/utils/FixedElementScrollBehavior.js +0 -0
- package/dist/collection/utils/FixedElementScrollBehavior.js.map +0 -0
- package/dist/collection/utils/utils.js +0 -0
- package/dist/collection/utils/utils.js.map +0 -0
- package/dist/components/cura-accordion-item.d.ts +0 -0
- package/dist/components/cura-accordion-item.js +0 -0
- package/dist/components/cura-accordion-item.js.map +0 -0
- package/dist/components/cura-accordion.d.ts +0 -0
- package/dist/components/cura-accordion.js +0 -0
- package/dist/components/cura-accordion.js.map +0 -0
- package/dist/components/cura-alert.d.ts +0 -0
- package/dist/components/cura-alert.js +0 -0
- package/dist/components/cura-alert.js.map +0 -0
- package/dist/components/cura-avatar.d.ts +0 -0
- package/dist/components/cura-avatar.js +0 -0
- package/dist/components/cura-avatar.js.map +0 -0
- package/dist/components/cura-badge-counter.d.ts +0 -0
- package/dist/components/cura-badge-counter.js +0 -0
- package/dist/components/cura-badge-counter.js.map +0 -0
- package/dist/components/cura-badge-distance.d.ts +0 -0
- package/dist/components/cura-badge-distance.js +0 -0
- package/dist/components/cura-badge-distance.js.map +0 -0
- package/dist/components/cura-badge-dot.d.ts +0 -0
- package/dist/components/cura-badge-dot.js +0 -0
- package/dist/components/cura-badge-dot.js.map +0 -0
- package/dist/components/cura-badge-pill.d.ts +0 -0
- package/dist/components/cura-badge-pill.js +0 -0
- package/dist/components/cura-badge-pill.js.map +0 -0
- package/dist/components/cura-button-outline.d.ts +0 -0
- package/dist/components/cura-button-outline.js +0 -0
- package/dist/components/cura-button-outline.js.map +0 -0
- package/dist/components/cura-button-select.d.ts +0 -0
- package/dist/components/cura-button-select.js +0 -0
- package/dist/components/cura-button-select.js.map +0 -0
- package/dist/components/cura-button-transparent.d.ts +0 -0
- package/dist/components/cura-button-transparent.js +0 -0
- package/dist/components/cura-button-transparent.js.map +0 -0
- package/dist/components/cura-button.d.ts +0 -0
- package/dist/components/cura-button.js +0 -0
- package/dist/components/cura-button.js.map +0 -0
- package/dist/components/cura-calendar.d.ts +0 -0
- package/dist/components/cura-calendar.js +1 -1
- package/dist/components/cura-calendar.js.map +0 -0
- package/dist/components/cura-card.d.ts +0 -0
- package/dist/components/cura-card.js +0 -0
- package/dist/components/cura-card.js.map +0 -0
- package/dist/components/cura-checkbox.d.ts +0 -0
- package/dist/components/cura-checkbox.js +0 -0
- package/dist/components/cura-checkbox.js.map +0 -0
- package/dist/components/cura-display.d.ts +0 -0
- package/dist/components/cura-display.js +0 -0
- package/dist/components/cura-display.js.map +0 -0
- package/dist/components/cura-dropdown-search-category.d.ts +0 -0
- package/dist/components/cura-dropdown-search-category.js +0 -0
- package/dist/components/cura-dropdown-search-category.js.map +0 -0
- package/dist/components/cura-dropdown-search-not-found.d.ts +0 -0
- package/dist/components/cura-dropdown-search-not-found.js +0 -0
- package/dist/components/cura-dropdown-search-not-found.js.map +0 -0
- package/dist/components/cura-dropdown-search-option.d.ts +0 -0
- package/dist/components/cura-dropdown-search-option.js +0 -0
- package/dist/components/cura-dropdown-search-option.js.map +0 -0
- package/dist/components/cura-dropdown-search.d.ts +0 -0
- package/dist/components/cura-dropdown-search.js +4 -2
- package/dist/components/cura-dropdown-search.js.map +1 -1
- package/dist/components/cura-heading.d.ts +0 -0
- package/dist/components/cura-heading.js +0 -0
- package/dist/components/cura-heading.js.map +0 -0
- package/dist/components/cura-icon.d.ts +0 -0
- package/dist/components/cura-icon.js +0 -0
- package/dist/components/cura-icon.js.map +0 -0
- package/dist/components/cura-icons-view.d.ts +0 -0
- package/dist/components/cura-icons-view.js +1 -1
- package/dist/components/cura-icons-view.js.map +1 -1
- package/dist/components/cura-input-date.d.ts +0 -0
- package/dist/components/cura-input-date.js +2 -2
- package/dist/components/cura-input-date.js.map +0 -0
- package/dist/components/cura-input-text.d.ts +0 -0
- package/dist/components/cura-input-text.js +0 -0
- package/dist/components/cura-input-text.js.map +0 -0
- package/dist/components/cura-label.d.ts +0 -0
- package/dist/components/cura-label.js +0 -0
- package/dist/components/cura-label.js.map +0 -0
- package/dist/components/cura-loader-bar.d.ts +0 -0
- package/dist/components/cura-loader-bar.js +0 -0
- package/dist/components/cura-loader-bar.js.map +0 -0
- package/dist/components/cura-loader-circle.d.ts +0 -0
- package/dist/components/cura-loader-circle.js +0 -0
- package/dist/components/cura-loader-circle.js.map +0 -0
- package/dist/components/cura-modal.d.ts +0 -0
- package/dist/components/cura-modal.js +0 -0
- package/dist/components/cura-modal.js.map +0 -0
- package/dist/components/cura-page-template.d.ts +0 -0
- package/dist/components/cura-page-template.js +0 -0
- package/dist/components/cura-page-template.js.map +0 -0
- package/dist/components/cura-paragraph.d.ts +0 -0
- package/dist/components/cura-paragraph.js +0 -0
- package/dist/components/cura-paragraph.js.map +0 -0
- package/dist/components/cura-progress-bar.d.ts +0 -0
- package/dist/components/cura-progress-bar.js +0 -0
- package/dist/components/cura-progress-bar.js.map +0 -0
- package/dist/components/cura-radio.d.ts +0 -0
- package/dist/components/cura-radio.js +0 -0
- package/dist/components/cura-radio.js.map +0 -0
- package/dist/components/cura-select-option.d.ts +0 -0
- package/dist/components/cura-select-option.js +0 -0
- package/dist/components/cura-select-option.js.map +0 -0
- package/dist/components/cura-select.d.ts +0 -0
- package/dist/components/cura-select.js +1 -1
- package/dist/components/cura-select.js.map +0 -0
- package/dist/components/cura-stepper-item.d.ts +0 -0
- package/dist/components/cura-stepper-item.js +0 -0
- package/dist/components/cura-stepper-item.js.map +0 -0
- package/dist/components/cura-stepper.d.ts +0 -0
- package/dist/components/cura-stepper.js +0 -0
- package/dist/components/cura-stepper.js.map +0 -0
- package/dist/components/cura-switch.d.ts +0 -0
- package/dist/components/cura-switch.js +0 -0
- package/dist/components/cura-switch.js.map +0 -0
- package/dist/components/cura-tabs-button.d.ts +0 -0
- package/dist/components/cura-tabs-button.js +0 -0
- package/dist/components/cura-tabs-button.js.map +0 -0
- package/dist/components/cura-tabs-group.d.ts +0 -0
- package/dist/components/cura-tabs-group.js +0 -0
- package/dist/components/cura-tabs-group.js.map +0 -0
- package/dist/components/cura-tabs-transparent.d.ts +0 -0
- package/dist/components/cura-tabs-transparent.js +0 -0
- package/dist/components/cura-tabs-transparent.js.map +0 -0
- package/dist/components/cura-tabs.d.ts +0 -0
- package/dist/components/cura-tabs.js +0 -0
- package/dist/components/cura-tabs.js.map +0 -0
- package/dist/components/cura-toast.d.ts +0 -0
- package/dist/components/cura-toast.js +0 -0
- package/dist/components/cura-toast.js.map +0 -0
- package/dist/components/cura-tooltip.d.ts +0 -0
- package/dist/components/cura-tooltip.js +0 -0
- package/dist/components/cura-tooltip.js.map +0 -0
- package/dist/components/index.d.ts +0 -0
- package/dist/components/index.js +0 -0
- package/dist/components/index.js.map +0 -0
- package/dist/components/p-B5aO1chh.js +0 -0
- package/dist/components/p-B5aO1chh.js.map +0 -0
- package/dist/components/p-BHEafDKD.js +0 -0
- package/dist/components/p-BHEafDKD.js.map +0 -0
- package/dist/components/p-BRDqwZ4N.js +0 -0
- package/dist/components/p-BRDqwZ4N.js.map +0 -0
- package/dist/components/p-BSI2FkNn.js +0 -0
- package/dist/components/p-BSI2FkNn.js.map +0 -0
- package/dist/components/p-C72aF-gL.js +0 -0
- package/dist/components/p-C72aF-gL.js.map +0 -0
- package/dist/components/p-CHcd-uKK.js +0 -0
- package/dist/components/p-CHcd-uKK.js.map +0 -0
- package/dist/components/p-CgMS6FUK.js +0 -0
- package/dist/components/p-CgMS6FUK.js.map +0 -0
- package/dist/components/{p-Cs5scX1L.js → p-CvdWbsfO.js} +181 -71
- package/dist/components/p-CvdWbsfO.js.map +1 -0
- package/dist/components/p-D1cPOZpG.js +0 -0
- package/dist/components/p-D1cPOZpG.js.map +0 -0
- package/dist/components/{p-D6PpdPRJ.js → p-DETZu2ie.js} +3 -3
- package/dist/components/{p-D6PpdPRJ.js.map → p-DETZu2ie.js.map} +1 -1
- package/dist/components/p-DI4g-ZH4.js +0 -0
- package/dist/components/p-DI4g-ZH4.js.map +0 -0
- package/dist/components/p-DR1RHrEX.js +0 -0
- package/dist/components/p-DR1RHrEX.js.map +0 -0
- package/dist/components/p-DaPc6Dxl.js +0 -0
- package/dist/components/p-DaPc6Dxl.js.map +0 -0
- package/dist/components/p-Dot54hbB.js +0 -0
- package/dist/components/p-Dot54hbB.js.map +0 -0
- package/dist/components/p-Dqm2sAwv.js +0 -0
- package/dist/components/p-Dqm2sAwv.js.map +0 -0
- package/dist/components/p-Dt450DkQ.js +0 -0
- package/dist/components/p-Dt450DkQ.js.map +0 -0
- package/dist/components/p-FTSrgi0q.js +0 -0
- package/dist/components/p-FTSrgi0q.js.map +0 -0
- package/dist/components/p-KIQMkSRF.js +0 -0
- package/dist/components/p-KIQMkSRF.js.map +0 -0
- package/dist/components/p-cOEGtL9C.js +0 -0
- package/dist/components/p-cOEGtL9C.js.map +0 -0
- package/dist/cura/cura-alert.entry.esm.js.map +0 -0
- package/dist/cura/cura-badge-counter.entry.esm.js.map +0 -0
- package/dist/cura/cura-badge-dot.entry.esm.js.map +0 -0
- package/dist/cura/cura-badge-pill.entry.esm.js.map +0 -0
- package/dist/cura/cura-button-outline.entry.esm.js.map +0 -0
- package/dist/cura/cura-button-select.entry.esm.js.map +0 -0
- package/dist/cura/cura-calendar.entry.esm.js.map +0 -0
- package/dist/cura/cura-checkbox.entry.esm.js.map +0 -0
- package/dist/cura/cura-display.entry.esm.js.map +0 -0
- package/dist/cura/cura-dropdown-search-not-found.entry.esm.js.map +0 -0
- package/dist/cura/cura-icons-view.entry.esm.js.map +1 -1
- package/dist/cura/cura-input-date.entry.esm.js.map +0 -0
- package/dist/cura/cura-loader-bar.entry.esm.js.map +0 -0
- package/dist/cura/cura-modal.entry.esm.js.map +0 -0
- package/dist/cura/cura-progress-bar.cura-stepper-item.entry.esm.js.map +0 -0
- package/dist/cura/cura-radio.entry.esm.js.map +0 -0
- package/dist/cura/cura-stepper.entry.esm.js.map +0 -0
- package/dist/cura/cura-switch.entry.esm.js.map +0 -0
- package/dist/cura/cura-tabs-button.entry.esm.js.map +0 -0
- package/dist/cura/cura-tabs-transparent.entry.esm.js.map +0 -0
- package/dist/cura/cura-toast.entry.esm.js.map +0 -0
- package/dist/cura/cura-tooltip.entry.esm.js.map +0 -0
- package/dist/cura/cura.esm.js +1 -1
- package/dist/cura/cura.esm.js.map +0 -0
- package/dist/cura/index.esm.js +0 -0
- package/dist/cura/index.esm.js.map +0 -0
- package/dist/cura/loader.esm.js.map +0 -0
- package/dist/cura/p-077019da.entry.js +0 -0
- package/dist/cura/p-077019da.entry.js.map +0 -0
- package/dist/cura/p-07783235.entry.js +0 -0
- package/dist/cura/p-07783235.entry.js.map +0 -0
- package/dist/cura/p-090e297c.entry.js +0 -0
- package/dist/cura/p-090e297c.entry.js.map +0 -0
- package/dist/cura/p-16c0b52c.entry.js +0 -0
- package/dist/cura/p-16c0b52c.entry.js.map +0 -0
- package/dist/cura/p-32015dcc.entry.js +0 -0
- package/dist/cura/p-32015dcc.entry.js.map +0 -0
- package/dist/cura/p-32f94709.entry.js +0 -0
- package/dist/cura/p-32f94709.entry.js.map +0 -0
- package/dist/cura/p-3d6040e2.entry.js +0 -0
- package/dist/cura/p-3d6040e2.entry.js.map +0 -0
- package/dist/cura/p-4ac578a6.entry.js +0 -0
- package/dist/cura/p-4ac578a6.entry.js.map +0 -0
- package/dist/cura/p-4bde448e.entry.js +0 -0
- package/dist/cura/p-4bde448e.entry.js.map +0 -0
- package/dist/cura/p-5ed7ce95.entry.js +0 -0
- package/dist/cura/p-5ed7ce95.entry.js.map +0 -0
- package/dist/cura/p-7586fd07.entry.js +0 -0
- package/dist/cura/p-7586fd07.entry.js.map +0 -0
- package/dist/cura/p-76603652.entry.js +2 -0
- package/dist/cura/p-76603652.entry.js.map +1 -0
- package/dist/cura/p-76cbb798.entry.js +0 -0
- package/dist/cura/p-76cbb798.entry.js.map +0 -0
- package/dist/cura/p-7a774346.entry.js +2 -0
- package/dist/cura/p-7a774346.entry.js.map +1 -0
- package/dist/cura/p-7fd143aa.entry.js +0 -0
- package/dist/cura/p-7fd143aa.entry.js.map +0 -0
- package/dist/cura/p-8c83f259.entry.js +0 -0
- package/dist/cura/p-8c83f259.entry.js.map +0 -0
- package/dist/cura/p-95cd7918.entry.js +0 -0
- package/dist/cura/p-95cd7918.entry.js.map +0 -0
- package/dist/cura/p-964stZ3D.js +0 -0
- package/dist/cura/p-964stZ3D.js.map +0 -0
- package/dist/cura/p-9ef5444e.entry.js +0 -0
- package/dist/cura/p-9ef5444e.entry.js.map +0 -0
- package/dist/cura/p-BPKQjAwN.js +0 -0
- package/dist/cura/p-BPKQjAwN.js.map +0 -0
- package/dist/cura/p-BSI2FkNn.js +0 -0
- package/dist/cura/p-BSI2FkNn.js.map +0 -0
- package/dist/cura/p-CHcd-uKK.js +0 -0
- package/dist/cura/p-CHcd-uKK.js.map +0 -0
- package/dist/cura/p-Dot54hbB.js +0 -0
- package/dist/cura/p-Dot54hbB.js.map +0 -0
- package/dist/cura/p-PPMZr_VE.js +0 -0
- package/dist/cura/p-PPMZr_VE.js.map +0 -0
- package/dist/cura/p-bdfe9af2.entry.js +0 -0
- package/dist/cura/p-bdfe9af2.entry.js.map +0 -0
- package/dist/cura/p-c6f240f0.entry.js +0 -0
- package/dist/cura/p-c6f240f0.entry.js.map +0 -0
- package/dist/cura/p-ceb646df.entry.js +0 -0
- package/dist/cura/p-ceb646df.entry.js.map +0 -0
- package/dist/cura/p-d040f8b9.entry.js +0 -0
- package/dist/cura/p-d040f8b9.entry.js.map +0 -0
- package/dist/cura/p-f9af3a3b.entry.js +0 -0
- package/dist/cura/p-f9af3a3b.entry.js.map +0 -0
- package/dist/cura/p-sjLA93YY.js +0 -0
- package/dist/cura/p-sjLA93YY.js.map +0 -0
- package/dist/esm/cura-accordion_21.entry.js +183 -71
- package/dist/esm/cura-accordion_21.entry.js.map +1 -1
- package/dist/esm/cura-alert.entry.js +0 -0
- package/dist/esm/cura-alert.entry.js.map +0 -0
- package/dist/esm/cura-badge-counter.entry.js +0 -0
- package/dist/esm/cura-badge-counter.entry.js.map +0 -0
- package/dist/esm/cura-badge-dot.entry.js +0 -0
- package/dist/esm/cura-badge-dot.entry.js.map +0 -0
- package/dist/esm/cura-badge-pill.entry.js +0 -0
- package/dist/esm/cura-badge-pill.entry.js.map +0 -0
- package/dist/esm/cura-button-outline.entry.js +0 -0
- package/dist/esm/cura-button-outline.entry.js.map +0 -0
- package/dist/esm/cura-button-select.entry.js +0 -0
- package/dist/esm/cura-button-select.entry.js.map +0 -0
- package/dist/esm/cura-button.definitions-BSI2FkNn.js +0 -0
- package/dist/esm/cura-button.definitions-BSI2FkNn.js.map +0 -0
- package/dist/esm/cura-calendar.entry.js +0 -0
- package/dist/esm/cura-calendar.entry.js.map +0 -0
- package/dist/esm/cura-checkbox.entry.js +0 -0
- package/dist/esm/cura-checkbox.entry.js.map +0 -0
- package/dist/esm/cura-display.entry.js +0 -0
- package/dist/esm/cura-display.entry.js.map +0 -0
- package/dist/esm/cura-dropdown-search-not-found.entry.js +0 -0
- package/dist/esm/cura-dropdown-search-not-found.entry.js.map +0 -0
- package/dist/esm/cura-forms.definitions-Dot54hbB.js +0 -0
- package/dist/esm/cura-forms.definitions-Dot54hbB.js.map +0 -0
- package/dist/esm/cura-icon.definitions-sjLA93YY.js +0 -0
- package/dist/esm/cura-icon.definitions-sjLA93YY.js.map +0 -0
- package/dist/esm/cura-icons-view.entry.js +1 -1
- package/dist/esm/cura-icons-view.entry.js.map +1 -1
- package/dist/esm/cura-input-date.entry.js +0 -0
- package/dist/esm/cura-input-date.entry.js.map +0 -0
- package/dist/esm/cura-loader-bar.entry.js +0 -0
- package/dist/esm/cura-loader-bar.entry.js.map +0 -0
- package/dist/esm/cura-modal.entry.js +0 -0
- package/dist/esm/cura-modal.entry.js.map +0 -0
- package/dist/esm/cura-progress-bar.cura-stepper-item.entry.js.map +0 -0
- package/dist/esm/cura-progress-bar_2.entry.js +0 -0
- package/dist/esm/cura-progress-bar_2.entry.js.map +0 -0
- package/dist/esm/cura-radio.entry.js +0 -0
- package/dist/esm/cura-radio.entry.js.map +0 -0
- package/dist/esm/cura-stepper.entry.js +0 -0
- package/dist/esm/cura-stepper.entry.js.map +0 -0
- package/dist/esm/cura-switch.entry.js +0 -0
- package/dist/esm/cura-switch.entry.js.map +0 -0
- package/dist/esm/cura-tabs-button.entry.js +0 -0
- package/dist/esm/cura-tabs-button.entry.js.map +0 -0
- package/dist/esm/cura-tabs-transparent.entry.js +0 -0
- package/dist/esm/cura-tabs-transparent.entry.js.map +0 -0
- package/dist/esm/cura-tabs.definitions-CHcd-uKK.js +0 -0
- package/dist/esm/cura-tabs.definitions-CHcd-uKK.js.map +0 -0
- package/dist/esm/cura-theme-module-BPKQjAwN.js +0 -0
- package/dist/esm/cura-theme-module-BPKQjAwN.js.map +0 -0
- package/dist/esm/cura-toast.entry.js +0 -0
- package/dist/esm/cura-toast.entry.js.map +0 -0
- package/dist/esm/cura-tooltip.entry.js +0 -0
- package/dist/esm/cura-tooltip.entry.js.map +0 -0
- package/dist/esm/cura.js +0 -0
- package/dist/esm/cura.js.map +0 -0
- package/dist/esm/index-964stZ3D.js +0 -0
- package/dist/esm/index-964stZ3D.js.map +0 -0
- package/dist/esm/index-OdKytJIH.js +0 -0
- package/dist/esm/index-OdKytJIH.js.map +0 -0
- package/dist/esm/index.js +0 -0
- package/dist/esm/index.js.map +0 -0
- package/dist/esm/loader.js +0 -0
- package/dist/esm/loader.js.map +0 -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 +0 -0
- 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 +0 -0
- package/dist/types/utils/FixedElementScrollBehavior.d.ts +0 -0
- package/dist/types/utils/utils.d.ts +0 -0
- package/package.json +2 -2
- package/dist/components/p-Cs5scX1L.js.map +0 -1
- package/dist/cura/p-2632183e.entry.js +0 -2
- package/dist/cura/p-2632183e.entry.js.map +0 -1
- package/dist/cura/p-6dfc7c02.entry.js +0 -2
- package/dist/cura/p-6dfc7c02.entry.js.map +0 -1
|
@@ -972,7 +972,9 @@ const CuraDropdownSearch = class {
|
|
|
972
972
|
if (this.valueTimeout)
|
|
973
973
|
clearTimeout(this.valueTimeout);
|
|
974
974
|
this.valueTimeout = setTimeout(() => {
|
|
975
|
-
|
|
975
|
+
var _a;
|
|
976
|
+
const value = (_a = this.value) !== null && _a !== void 0 ? _a : '';
|
|
977
|
+
this.termchange.emit(value === '' || value.length < this.searchminchars ? '' : value);
|
|
976
978
|
}, this.searchdelay || 300);
|
|
977
979
|
}
|
|
978
980
|
}
|
|
@@ -1055,7 +1057,7 @@ const CuraDropdownSearch = class {
|
|
|
1055
1057
|
};
|
|
1056
1058
|
}
|
|
1057
1059
|
render() {
|
|
1058
|
-
return (index.h(index.Host, { key: '
|
|
1060
|
+
return (index.h(index.Host, { key: '7a312071ecc60fe462636ad7b32bcb82b5d5c1a2', style: this.getHostCSSProperties(), role: "search", "aria-label": this.label, "aria-required": this.required, "aria-disabled": this.disabled, "aria-expanded": this.zoomState }, index.h("div", { key: 'c4b906871b300013208649f8dcf9b27cf161daae', class: this.getClasses(), style: this.styles }, index.h("div", { key: '97d3d3ae67dc79f2d04456555388cce9aec36f7d', class: "component-controls" }, this.isMobile && this.zoomState ? (index.h("cura-button-transparent", { fontColor: "dark", onClick: () => this.handleBackClick(), iconName: "arrowLeft", size: "large", iconOnly: true, color: "primary", id: "button-back" })) : '', index.h("cura-input-text", { key: '53aa07646542b9941804f7a7f0d66f8c340ce664', disabled: this.disabled, label: this.label, part: "cura-input-field", mode: this.zoomState ? 'transparent' : 'default', required: this.required, iconName: this.icon || 'search', value: this.value, status: this.status, onValueChange: (ev) => this.handleInputValueChange(ev), onInput: (ev) => this._preventEvent(ev), onFocus: () => this.handleFocus(), onClick: (ev) => this._preventEvent(ev), onBlur: () => this.handleBlur(), onFocusout: () => this.handleFocusout(), onInputClear: (ev) => this.handleInputClear(ev), placeholder: this.placeholder, size: this.size, onKeyDown: (ev) => this.handleKeyDown(ev) }, index.h("slot", { key: 'fb206e8295b0139082b79cc747bfe8e424df33fa', name: "helperText" }))), index.h("div", { key: '8ab0ad70e667c4b01b2f7a31fc5df6056b170565', class: "dropdown-container", onMouseOver: () => this.handleDropdownMouseOver() }, index.h("slot", { key: 'dc3cda02f7a70d7229457d6c225a606ee2e03f52', onSlotchange: () => this.handleSlotChange() })))));
|
|
1059
1061
|
}
|
|
1060
1062
|
get host() { return index.getElement(this); }
|
|
1061
1063
|
};
|
|
@@ -5567,8 +5569,9 @@ function getOppositeAxis(axis) {
|
|
|
5567
5569
|
function getAxisLength(axis) {
|
|
5568
5570
|
return axis === 'y' ? 'height' : 'width';
|
|
5569
5571
|
}
|
|
5572
|
+
const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
|
|
5570
5573
|
function getSideAxis(placement) {
|
|
5571
|
-
return
|
|
5574
|
+
return yAxisSides.has(getSide(placement)) ? 'y' : 'x';
|
|
5572
5575
|
}
|
|
5573
5576
|
function getAlignmentAxis(placement) {
|
|
5574
5577
|
return getOppositeAxis(getSideAxis(placement));
|
|
@@ -5593,19 +5596,19 @@ function getExpandedPlacements(placement) {
|
|
|
5593
5596
|
function getOppositeAlignmentPlacement(placement) {
|
|
5594
5597
|
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
5595
5598
|
}
|
|
5599
|
+
const lrPlacement = ['left', 'right'];
|
|
5600
|
+
const rlPlacement = ['right', 'left'];
|
|
5601
|
+
const tbPlacement = ['top', 'bottom'];
|
|
5602
|
+
const btPlacement = ['bottom', 'top'];
|
|
5596
5603
|
function getSideList(side, isStart, rtl) {
|
|
5597
|
-
const lr = ['left', 'right'];
|
|
5598
|
-
const rl = ['right', 'left'];
|
|
5599
|
-
const tb = ['top', 'bottom'];
|
|
5600
|
-
const bt = ['bottom', 'top'];
|
|
5601
5604
|
switch (side) {
|
|
5602
5605
|
case 'top':
|
|
5603
5606
|
case 'bottom':
|
|
5604
|
-
if (rtl) return isStart ?
|
|
5605
|
-
return isStart ?
|
|
5607
|
+
if (rtl) return isStart ? rlPlacement : lrPlacement;
|
|
5608
|
+
return isStart ? lrPlacement : rlPlacement;
|
|
5606
5609
|
case 'left':
|
|
5607
5610
|
case 'right':
|
|
5608
|
-
return isStart ?
|
|
5611
|
+
return isStart ? tbPlacement : btPlacement;
|
|
5609
5612
|
default:
|
|
5610
5613
|
return [];
|
|
5611
5614
|
}
|
|
@@ -5943,16 +5946,22 @@ const flip$1 = function (options) {
|
|
|
5943
5946
|
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
5944
5947
|
const nextPlacement = placements[nextIndex];
|
|
5945
5948
|
if (nextPlacement) {
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5949
|
+
const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
|
|
5950
|
+
if (!ignoreCrossAxisOverflow ||
|
|
5951
|
+
// We leave the current main axis only if every placement on that axis
|
|
5952
|
+
// overflows the main axis.
|
|
5953
|
+
overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
|
|
5954
|
+
// Try next placement and re-run the lifecycle.
|
|
5955
|
+
return {
|
|
5956
|
+
data: {
|
|
5957
|
+
index: nextIndex,
|
|
5958
|
+
overflows: overflowsData
|
|
5959
|
+
},
|
|
5960
|
+
reset: {
|
|
5961
|
+
placement: nextPlacement
|
|
5962
|
+
}
|
|
5963
|
+
};
|
|
5964
|
+
}
|
|
5956
5965
|
}
|
|
5957
5966
|
|
|
5958
5967
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
@@ -5998,6 +6007,8 @@ const flip$1 = function (options) {
|
|
|
5998
6007
|
};
|
|
5999
6008
|
};
|
|
6000
6009
|
|
|
6010
|
+
const originSides = /*#__PURE__*/new Set(['left', 'top']);
|
|
6011
|
+
|
|
6001
6012
|
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
6002
6013
|
// Derivable.
|
|
6003
6014
|
|
|
@@ -6011,7 +6022,7 @@ async function convertValueToCoords(state, options) {
|
|
|
6011
6022
|
const side = getSide(placement);
|
|
6012
6023
|
const alignment = getAlignment(placement);
|
|
6013
6024
|
const isVertical = getSideAxis(placement) === 'y';
|
|
6014
|
-
const mainAxisMulti =
|
|
6025
|
+
const mainAxisMulti = originSides.has(side) ? -1 : 1;
|
|
6015
6026
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
6016
6027
|
const rawValue = evaluate(options, state);
|
|
6017
6028
|
|
|
@@ -6025,10 +6036,9 @@ async function convertValueToCoords(state, options) {
|
|
|
6025
6036
|
crossAxis: 0,
|
|
6026
6037
|
alignmentAxis: null
|
|
6027
6038
|
} : {
|
|
6028
|
-
mainAxis: 0,
|
|
6029
|
-
crossAxis: 0,
|
|
6030
|
-
alignmentAxis:
|
|
6031
|
-
...rawValue
|
|
6039
|
+
mainAxis: rawValue.mainAxis || 0,
|
|
6040
|
+
crossAxis: rawValue.crossAxis || 0,
|
|
6041
|
+
alignmentAxis: rawValue.alignmentAxis
|
|
6032
6042
|
};
|
|
6033
6043
|
if (alignment && typeof alignmentAxis === 'number') {
|
|
6034
6044
|
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
@@ -6150,7 +6160,11 @@ const shift$1 = function (options) {
|
|
|
6150
6160
|
...limitedCoords,
|
|
6151
6161
|
data: {
|
|
6152
6162
|
x: limitedCoords.x - x,
|
|
6153
|
-
y: limitedCoords.y - y
|
|
6163
|
+
y: limitedCoords.y - y,
|
|
6164
|
+
enabled: {
|
|
6165
|
+
[mainAxis]: checkMainAxis,
|
|
6166
|
+
[crossAxis]: checkCrossAxis
|
|
6167
|
+
}
|
|
6154
6168
|
}
|
|
6155
6169
|
};
|
|
6156
6170
|
}
|
|
@@ -6171,6 +6185,7 @@ const size$1 = function (options) {
|
|
|
6171
6185
|
name: 'size',
|
|
6172
6186
|
options,
|
|
6173
6187
|
async fn(state) {
|
|
6188
|
+
var _state$middlewareData, _state$middlewareData2;
|
|
6174
6189
|
const {
|
|
6175
6190
|
placement,
|
|
6176
6191
|
rects,
|
|
@@ -6205,10 +6220,11 @@ const size$1 = function (options) {
|
|
|
6205
6220
|
const noShift = !state.middlewareData.shift;
|
|
6206
6221
|
let availableHeight = overflowAvailableHeight;
|
|
6207
6222
|
let availableWidth = overflowAvailableWidth;
|
|
6208
|
-
if (
|
|
6209
|
-
availableWidth =
|
|
6210
|
-
}
|
|
6211
|
-
|
|
6223
|
+
if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
|
|
6224
|
+
availableWidth = maximumClippingWidth;
|
|
6225
|
+
}
|
|
6226
|
+
if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
|
|
6227
|
+
availableHeight = maximumClippingHeight;
|
|
6212
6228
|
}
|
|
6213
6229
|
if (noShift && !alignment) {
|
|
6214
6230
|
const xMin = max(overflow.left, 0);
|
|
@@ -6239,6 +6255,9 @@ const size$1 = function (options) {
|
|
|
6239
6255
|
};
|
|
6240
6256
|
};
|
|
6241
6257
|
|
|
6258
|
+
function hasWindow() {
|
|
6259
|
+
return typeof window !== 'undefined';
|
|
6260
|
+
}
|
|
6242
6261
|
function getNodeName(node) {
|
|
6243
6262
|
if (isNode(node)) {
|
|
6244
6263
|
return (node.nodeName || '').toLowerCase();
|
|
@@ -6257,48 +6276,63 @@ function getDocumentElement(node) {
|
|
|
6257
6276
|
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
6258
6277
|
}
|
|
6259
6278
|
function isNode(value) {
|
|
6279
|
+
if (!hasWindow()) {
|
|
6280
|
+
return false;
|
|
6281
|
+
}
|
|
6260
6282
|
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
6261
6283
|
}
|
|
6262
6284
|
function isElement(value) {
|
|
6285
|
+
if (!hasWindow()) {
|
|
6286
|
+
return false;
|
|
6287
|
+
}
|
|
6263
6288
|
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
6264
6289
|
}
|
|
6265
6290
|
function isHTMLElement(value) {
|
|
6291
|
+
if (!hasWindow()) {
|
|
6292
|
+
return false;
|
|
6293
|
+
}
|
|
6266
6294
|
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
6267
6295
|
}
|
|
6268
6296
|
function isShadowRoot(value) {
|
|
6269
|
-
|
|
6270
|
-
if (typeof ShadowRoot === 'undefined') {
|
|
6297
|
+
if (!hasWindow() || typeof ShadowRoot === 'undefined') {
|
|
6271
6298
|
return false;
|
|
6272
6299
|
}
|
|
6273
6300
|
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
6274
6301
|
}
|
|
6302
|
+
const invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);
|
|
6275
6303
|
function isOverflowElement(element) {
|
|
6276
6304
|
const {
|
|
6277
6305
|
overflow,
|
|
6278
6306
|
overflowX,
|
|
6279
6307
|
overflowY,
|
|
6280
6308
|
display
|
|
6281
|
-
} = getComputedStyle(element);
|
|
6282
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !
|
|
6309
|
+
} = getComputedStyle$1(element);
|
|
6310
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
|
|
6283
6311
|
}
|
|
6312
|
+
const tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);
|
|
6284
6313
|
function isTableElement(element) {
|
|
6285
|
-
return
|
|
6314
|
+
return tableElements.has(getNodeName(element));
|
|
6286
6315
|
}
|
|
6316
|
+
const topLayerSelectors = [':popover-open', ':modal'];
|
|
6287
6317
|
function isTopLayer(element) {
|
|
6288
|
-
return
|
|
6318
|
+
return topLayerSelectors.some(selector => {
|
|
6289
6319
|
try {
|
|
6290
6320
|
return element.matches(selector);
|
|
6291
|
-
} catch (
|
|
6321
|
+
} catch (_e) {
|
|
6292
6322
|
return false;
|
|
6293
6323
|
}
|
|
6294
6324
|
});
|
|
6295
6325
|
}
|
|
6326
|
+
const transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];
|
|
6327
|
+
const willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];
|
|
6328
|
+
const containValues = ['paint', 'layout', 'strict', 'content'];
|
|
6296
6329
|
function isContainingBlock(elementOrCss) {
|
|
6297
6330
|
const webkit = isWebKit();
|
|
6298
|
-
const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;
|
|
6331
|
+
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
6299
6332
|
|
|
6300
6333
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
6301
|
-
|
|
6334
|
+
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
6335
|
+
return transformProperties.some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || willChangeValues.some(value => (css.willChange || '').includes(value)) || containValues.some(value => (css.contain || '').includes(value));
|
|
6302
6336
|
}
|
|
6303
6337
|
function getContainingBlock(element) {
|
|
6304
6338
|
let currentNode = getParentNode(element);
|
|
@@ -6316,10 +6350,11 @@ function isWebKit() {
|
|
|
6316
6350
|
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
6317
6351
|
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
6318
6352
|
}
|
|
6353
|
+
const lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);
|
|
6319
6354
|
function isLastTraversableNode(node) {
|
|
6320
|
-
return
|
|
6355
|
+
return lastTraversableNodeNames.has(getNodeName(node));
|
|
6321
6356
|
}
|
|
6322
|
-
function getComputedStyle(element) {
|
|
6357
|
+
function getComputedStyle$1(element) {
|
|
6323
6358
|
return getWindow(element).getComputedStyle(element);
|
|
6324
6359
|
}
|
|
6325
6360
|
function getNodeScroll(element) {
|
|
@@ -6371,13 +6406,17 @@ function getOverflowAncestors(node, list, traverseIframes) {
|
|
|
6371
6406
|
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
6372
6407
|
const win = getWindow(scrollableAncestor);
|
|
6373
6408
|
if (isBody) {
|
|
6374
|
-
|
|
6409
|
+
const frameElement = getFrameElement(win);
|
|
6410
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
6375
6411
|
}
|
|
6376
6412
|
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
6377
6413
|
}
|
|
6414
|
+
function getFrameElement(win) {
|
|
6415
|
+
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
6416
|
+
}
|
|
6378
6417
|
|
|
6379
6418
|
function getCssDimensions(element) {
|
|
6380
|
-
const css = getComputedStyle(element);
|
|
6419
|
+
const css = getComputedStyle$1(element);
|
|
6381
6420
|
// In testing environments, the `width` and `height` properties are empty
|
|
6382
6421
|
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
6383
6422
|
let width = parseFloat(css.width) || 0;
|
|
@@ -6478,11 +6517,11 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
6478
6517
|
const win = getWindow(domElement);
|
|
6479
6518
|
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
6480
6519
|
let currentWin = win;
|
|
6481
|
-
let currentIFrame = currentWin
|
|
6520
|
+
let currentIFrame = getFrameElement(currentWin);
|
|
6482
6521
|
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
6483
6522
|
const iframeScale = getScale(currentIFrame);
|
|
6484
6523
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
6485
|
-
const css = getComputedStyle(currentIFrame);
|
|
6524
|
+
const css = getComputedStyle$1(currentIFrame);
|
|
6486
6525
|
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
6487
6526
|
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
6488
6527
|
x *= iframeScale.x;
|
|
@@ -6492,7 +6531,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
6492
6531
|
x += left;
|
|
6493
6532
|
y += top;
|
|
6494
6533
|
currentWin = getWindow(currentIFrame);
|
|
6495
|
-
currentIFrame = currentWin
|
|
6534
|
+
currentIFrame = getFrameElement(currentWin);
|
|
6496
6535
|
}
|
|
6497
6536
|
}
|
|
6498
6537
|
return rectToClientRect({
|
|
@@ -6503,6 +6542,26 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
6503
6542
|
});
|
|
6504
6543
|
}
|
|
6505
6544
|
|
|
6545
|
+
// If <html> has a CSS width greater than the viewport, then this will be
|
|
6546
|
+
// incorrect for RTL.
|
|
6547
|
+
function getWindowScrollBarX(element, rect) {
|
|
6548
|
+
const leftScroll = getNodeScroll(element).scrollLeft;
|
|
6549
|
+
if (!rect) {
|
|
6550
|
+
return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
|
|
6551
|
+
}
|
|
6552
|
+
return rect.left + leftScroll;
|
|
6553
|
+
}
|
|
6554
|
+
|
|
6555
|
+
function getHTMLOffset(documentElement, scroll) {
|
|
6556
|
+
const htmlRect = documentElement.getBoundingClientRect();
|
|
6557
|
+
const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
|
|
6558
|
+
const y = htmlRect.top + scroll.scrollTop;
|
|
6559
|
+
return {
|
|
6560
|
+
x,
|
|
6561
|
+
y
|
|
6562
|
+
};
|
|
6563
|
+
}
|
|
6564
|
+
|
|
6506
6565
|
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
6507
6566
|
let {
|
|
6508
6567
|
elements,
|
|
@@ -6534,11 +6593,12 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
6534
6593
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
6535
6594
|
}
|
|
6536
6595
|
}
|
|
6596
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
6537
6597
|
return {
|
|
6538
6598
|
width: rect.width * scale.x,
|
|
6539
6599
|
height: rect.height * scale.y,
|
|
6540
|
-
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
|
|
6541
|
-
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
|
|
6600
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
|
|
6601
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
|
|
6542
6602
|
};
|
|
6543
6603
|
}
|
|
6544
6604
|
|
|
@@ -6546,12 +6606,6 @@ function getClientRects(element) {
|
|
|
6546
6606
|
return Array.from(element.getClientRects());
|
|
6547
6607
|
}
|
|
6548
6608
|
|
|
6549
|
-
function getWindowScrollBarX(element) {
|
|
6550
|
-
// If <html> has a CSS width greater than the viewport, then this will be
|
|
6551
|
-
// incorrect for RTL.
|
|
6552
|
-
return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
|
|
6553
|
-
}
|
|
6554
|
-
|
|
6555
6609
|
// Gets the entire size of the scrollable document area, even extending outside
|
|
6556
6610
|
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
6557
6611
|
function getDocumentRect(element) {
|
|
@@ -6562,7 +6616,7 @@ function getDocumentRect(element) {
|
|
|
6562
6616
|
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
6563
6617
|
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
6564
6618
|
const y = -scroll.scrollTop;
|
|
6565
|
-
if (getComputedStyle(body).direction === 'rtl') {
|
|
6619
|
+
if (getComputedStyle$1(body).direction === 'rtl') {
|
|
6566
6620
|
x += max(html.clientWidth, body.clientWidth) - width;
|
|
6567
6621
|
}
|
|
6568
6622
|
return {
|
|
@@ -6573,6 +6627,10 @@ function getDocumentRect(element) {
|
|
|
6573
6627
|
};
|
|
6574
6628
|
}
|
|
6575
6629
|
|
|
6630
|
+
// Safety check: ensure the scrollbar space is reasonable in case this
|
|
6631
|
+
// calculation is affected by unusual styles.
|
|
6632
|
+
// Most scrollbars leave 15-18px of space.
|
|
6633
|
+
const SCROLLBAR_MAX = 25;
|
|
6576
6634
|
function getViewportRect(element, strategy) {
|
|
6577
6635
|
const win = getWindow(element);
|
|
6578
6636
|
const html = getDocumentElement(element);
|
|
@@ -6590,6 +6648,24 @@ function getViewportRect(element, strategy) {
|
|
|
6590
6648
|
y = visualViewport.offsetTop;
|
|
6591
6649
|
}
|
|
6592
6650
|
}
|
|
6651
|
+
const windowScrollbarX = getWindowScrollBarX(html);
|
|
6652
|
+
// <html> `overflow: hidden` + `scrollbar-gutter: stable` reduces the
|
|
6653
|
+
// visual width of the <html> but this is not considered in the size
|
|
6654
|
+
// of `html.clientWidth`.
|
|
6655
|
+
if (windowScrollbarX <= 0) {
|
|
6656
|
+
const doc = html.ownerDocument;
|
|
6657
|
+
const body = doc.body;
|
|
6658
|
+
const bodyStyles = getComputedStyle(body);
|
|
6659
|
+
const bodyMarginInline = doc.compatMode === 'CSS1Compat' ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
|
|
6660
|
+
const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
|
|
6661
|
+
if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {
|
|
6662
|
+
width -= clippingStableScrollbarWidth;
|
|
6663
|
+
}
|
|
6664
|
+
} else if (windowScrollbarX <= SCROLLBAR_MAX) {
|
|
6665
|
+
// If the <body> scrollbar is on the left, the width needs to be extended
|
|
6666
|
+
// by the scrollbar amount so there isn't extra space on the right.
|
|
6667
|
+
width += windowScrollbarX;
|
|
6668
|
+
}
|
|
6593
6669
|
return {
|
|
6594
6670
|
width,
|
|
6595
6671
|
height,
|
|
@@ -6598,6 +6674,7 @@ function getViewportRect(element, strategy) {
|
|
|
6598
6674
|
};
|
|
6599
6675
|
}
|
|
6600
6676
|
|
|
6677
|
+
const absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);
|
|
6601
6678
|
// Returns the inner client rect, subtracting scrollbars if present.
|
|
6602
6679
|
function getInnerBoundingClientRect(element, strategy) {
|
|
6603
6680
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
@@ -6626,9 +6703,10 @@ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy)
|
|
|
6626
6703
|
} else {
|
|
6627
6704
|
const visualOffsets = getVisualOffsets(element);
|
|
6628
6705
|
rect = {
|
|
6629
|
-
...clippingAncestor,
|
|
6630
6706
|
x: clippingAncestor.x - visualOffsets.x,
|
|
6631
|
-
y: clippingAncestor.y - visualOffsets.y
|
|
6707
|
+
y: clippingAncestor.y - visualOffsets.y,
|
|
6708
|
+
width: clippingAncestor.width,
|
|
6709
|
+
height: clippingAncestor.height
|
|
6632
6710
|
};
|
|
6633
6711
|
}
|
|
6634
6712
|
return rectToClientRect(rect);
|
|
@@ -6638,7 +6716,7 @@ function hasFixedPositionAncestor(element, stopNode) {
|
|
|
6638
6716
|
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
6639
6717
|
return false;
|
|
6640
6718
|
}
|
|
6641
|
-
return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
6719
|
+
return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
6642
6720
|
}
|
|
6643
6721
|
|
|
6644
6722
|
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
@@ -6651,17 +6729,17 @@ function getClippingElementAncestors(element, cache) {
|
|
|
6651
6729
|
}
|
|
6652
6730
|
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
6653
6731
|
let currentContainingBlockComputedStyle = null;
|
|
6654
|
-
const elementIsFixed = getComputedStyle(element).position === 'fixed';
|
|
6732
|
+
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
|
6655
6733
|
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
6656
6734
|
|
|
6657
6735
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
6658
6736
|
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
6659
|
-
const computedStyle = getComputedStyle(currentNode);
|
|
6737
|
+
const computedStyle = getComputedStyle$1(currentNode);
|
|
6660
6738
|
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
6661
6739
|
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
6662
6740
|
currentContainingBlockComputedStyle = null;
|
|
6663
6741
|
}
|
|
6664
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle &&
|
|
6742
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
6665
6743
|
if (shouldDropCurrentNode) {
|
|
6666
6744
|
// Drop non-containing blocks.
|
|
6667
6745
|
result = result.filter(ancestor => ancestor !== currentNode);
|
|
@@ -6724,6 +6802,12 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
6724
6802
|
scrollTop: 0
|
|
6725
6803
|
};
|
|
6726
6804
|
const offsets = createCoords(0);
|
|
6805
|
+
|
|
6806
|
+
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
6807
|
+
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
6808
|
+
function setLeftRTLScrollbarOffset() {
|
|
6809
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
6810
|
+
}
|
|
6727
6811
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
6728
6812
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
6729
6813
|
scroll = getNodeScroll(offsetParent);
|
|
@@ -6733,11 +6817,15 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
6733
6817
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
6734
6818
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
6735
6819
|
} else if (documentElement) {
|
|
6736
|
-
|
|
6820
|
+
setLeftRTLScrollbarOffset();
|
|
6737
6821
|
}
|
|
6738
6822
|
}
|
|
6739
|
-
|
|
6740
|
-
|
|
6823
|
+
if (isFixed && !isOffsetParentAnElement && documentElement) {
|
|
6824
|
+
setLeftRTLScrollbarOffset();
|
|
6825
|
+
}
|
|
6826
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
6827
|
+
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
6828
|
+
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
6741
6829
|
return {
|
|
6742
6830
|
x,
|
|
6743
6831
|
y,
|
|
@@ -6747,17 +6835,26 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
6747
6835
|
}
|
|
6748
6836
|
|
|
6749
6837
|
function isStaticPositioned(element) {
|
|
6750
|
-
return getComputedStyle(element).position === 'static';
|
|
6838
|
+
return getComputedStyle$1(element).position === 'static';
|
|
6751
6839
|
}
|
|
6752
6840
|
|
|
6753
6841
|
function getTrueOffsetParent(element, polyfill) {
|
|
6754
|
-
if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
|
|
6842
|
+
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
|
6755
6843
|
return null;
|
|
6756
6844
|
}
|
|
6757
6845
|
if (polyfill) {
|
|
6758
6846
|
return polyfill(element);
|
|
6759
6847
|
}
|
|
6760
|
-
|
|
6848
|
+
let rawOffsetParent = element.offsetParent;
|
|
6849
|
+
|
|
6850
|
+
// Firefox returns the <html> element as the offsetParent if it's non-static,
|
|
6851
|
+
// while Chrome and Safari return the <body> element. The <body> element must
|
|
6852
|
+
// be used to perform the correct calculations even if the <html> element is
|
|
6853
|
+
// non-static.
|
|
6854
|
+
if (getDocumentElement(element) === rawOffsetParent) {
|
|
6855
|
+
rawOffsetParent = rawOffsetParent.ownerDocument.body;
|
|
6856
|
+
}
|
|
6857
|
+
return rawOffsetParent;
|
|
6761
6858
|
}
|
|
6762
6859
|
|
|
6763
6860
|
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
@@ -6803,7 +6900,7 @@ const getElementRects = async function (data) {
|
|
|
6803
6900
|
};
|
|
6804
6901
|
|
|
6805
6902
|
function isRTL(element) {
|
|
6806
|
-
return getComputedStyle(element).direction === 'rtl';
|
|
6903
|
+
return getComputedStyle$1(element).direction === 'rtl';
|
|
6807
6904
|
}
|
|
6808
6905
|
|
|
6809
6906
|
const platform = {
|
|
@@ -6819,6 +6916,10 @@ const platform = {
|
|
|
6819
6916
|
isRTL
|
|
6820
6917
|
};
|
|
6821
6918
|
|
|
6919
|
+
function rectsAreEqual(a, b) {
|
|
6920
|
+
return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
|
|
6921
|
+
}
|
|
6922
|
+
|
|
6822
6923
|
// https://samthor.au/2021/observing-dom/
|
|
6823
6924
|
function observeMove(element, onMove) {
|
|
6824
6925
|
let io = null;
|
|
@@ -6838,12 +6939,13 @@ function observeMove(element, onMove) {
|
|
|
6838
6939
|
threshold = 1;
|
|
6839
6940
|
}
|
|
6840
6941
|
cleanup();
|
|
6942
|
+
const elementRectForRootMargin = element.getBoundingClientRect();
|
|
6841
6943
|
const {
|
|
6842
6944
|
left,
|
|
6843
6945
|
top,
|
|
6844
6946
|
width,
|
|
6845
6947
|
height
|
|
6846
|
-
} =
|
|
6948
|
+
} = elementRectForRootMargin;
|
|
6847
6949
|
if (!skip) {
|
|
6848
6950
|
onMove();
|
|
6849
6951
|
}
|
|
@@ -6876,6 +6978,16 @@ function observeMove(element, onMove) {
|
|
|
6876
6978
|
refresh(false, ratio);
|
|
6877
6979
|
}
|
|
6878
6980
|
}
|
|
6981
|
+
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
6982
|
+
// It's possible that even though the ratio is reported as 1, the
|
|
6983
|
+
// element is not actually fully within the IntersectionObserver's root
|
|
6984
|
+
// area anymore. This can happen under performance constraints. This may
|
|
6985
|
+
// be a bug in the browser's IntersectionObserver implementation. To
|
|
6986
|
+
// work around this, we compare the element's bounding rect now with
|
|
6987
|
+
// what it was at the time we created the IntersectionObserver. If they
|
|
6988
|
+
// are not equal then the element moved, so we refresh.
|
|
6989
|
+
refresh();
|
|
6990
|
+
}
|
|
6879
6991
|
isFirstUpdate = false;
|
|
6880
6992
|
}
|
|
6881
6993
|
|
|
@@ -6887,7 +6999,7 @@ function observeMove(element, onMove) {
|
|
|
6887
6999
|
// Handle <iframe>s
|
|
6888
7000
|
root: root.ownerDocument
|
|
6889
7001
|
});
|
|
6890
|
-
} catch (
|
|
7002
|
+
} catch (_e) {
|
|
6891
7003
|
io = new IntersectionObserver(handleObserve, options);
|
|
6892
7004
|
}
|
|
6893
7005
|
io.observe(element);
|
|
@@ -6953,7 +7065,7 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
6953
7065
|
}
|
|
6954
7066
|
function frameLoop() {
|
|
6955
7067
|
const nextRefRect = getBoundingClientRect(reference);
|
|
6956
|
-
if (prevRefRect && (
|
|
7068
|
+
if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
|
|
6957
7069
|
update();
|
|
6958
7070
|
}
|
|
6959
7071
|
prevRefRect = nextRefRect;
|