@cscfi/csc-ui 2.2.5 → 2.2.7
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-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/c-accordion-item.cjs.entry.js +108 -107
- package/dist/cjs/c-accordion-item.cjs.entry.js.map +1 -1
- package/dist/cjs/c-accordion.cjs.entry.js +53 -52
- package/dist/cjs/c-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/c-alert.cjs.entry.js +17 -16
- package/dist/cjs/c-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/c-autocomplete_34.cjs.entry.js +2437 -2398
- package/dist/cjs/c-autocomplete_34.cjs.entry.js.map +1 -1
- package/dist/cjs/c-data-table.cjs.entry.js +678 -677
- package/dist/cjs/c-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/c-link.cjs.entry.js +19 -18
- package/dist/cjs/c-link.cjs.entry.js.map +1 -1
- package/dist/cjs/c-list-item-title.cjs.entry.js +14 -13
- package/dist/cjs/c-list-item-title.cjs.entry.js.map +1 -1
- package/dist/cjs/c-list-item.cjs.entry.js +70 -69
- package/dist/cjs/c-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/c-list.cjs.entry.js +33 -32
- package/dist/cjs/c-list.cjs.entry.js.map +1 -1
- package/dist/cjs/c-login-button.cjs.entry.js +13 -12
- package/dist/cjs/c-login-button.cjs.entry.js.map +1 -1
- package/dist/cjs/c-login-buttons.cjs.entry.js +9 -8
- package/dist/cjs/c-login-buttons.cjs.entry.js.map +1 -1
- package/dist/cjs/c-login-card-actions.cjs.entry.js +9 -9
- package/dist/cjs/c-login-card-actions.cjs.entry.js.map +1 -1
- package/dist/cjs/c-login-card-content.cjs.entry.js +9 -8
- package/dist/cjs/c-login-card-content.cjs.entry.js.map +1 -1
- package/dist/cjs/c-login-card-title.cjs.entry.js +9 -8
- package/dist/cjs/c-login-card-title.cjs.entry.js.map +1 -1
- package/dist/cjs/c-login-card.cjs.entry.js +54 -53
- package/dist/cjs/c-login-card.cjs.entry.js.map +1 -1
- package/dist/cjs/c-menu_2.cjs.entry.js +317 -315
- package/dist/cjs/c-menu_2.cjs.entry.js.map +1 -1
- package/dist/cjs/c-modal.cjs.entry.js +109 -108
- package/dist/cjs/c-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/c-option-value.cjs.entry.js +9 -8
- package/dist/cjs/c-option-value.cjs.entry.js.map +1 -1
- package/dist/cjs/c-pagination.cjs.entry.js +214 -213
- package/dist/cjs/c-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/c-progress-bar.cjs.entry.js +46 -45
- package/dist/cjs/c-progress-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/c-row.cjs.entry.js +23 -22
- package/dist/cjs/c-row.cjs.entry.js.map +1 -1
- package/dist/cjs/c-slider.cjs.entry.js +87 -86
- package/dist/cjs/c-slider.cjs.entry.js.map +1 -1
- package/dist/cjs/c-status.cjs.entry.js +11 -10
- package/dist/cjs/c-status.cjs.entry.js.map +1 -1
- package/dist/cjs/c-step.cjs.entry.js +15 -14
- package/dist/cjs/c-step.cjs.entry.js.map +1 -1
- package/dist/cjs/c-steps.cjs.entry.js +62 -61
- package/dist/cjs/c-steps.cjs.entry.js.map +1 -1
- package/dist/cjs/c-swiper-tab.cjs.entry.js +35 -34
- package/dist/cjs/c-swiper-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/c-swiper.cjs.entry.js +119 -118
- package/dist/cjs/c-swiper.cjs.entry.js.map +1 -1
- package/dist/cjs/c-tab-buttons.cjs.entry.js +118 -117
- package/dist/cjs/c-tab-buttons.cjs.entry.js.map +1 -1
- package/dist/cjs/c-tab-item.cjs.entry.js +29 -28
- package/dist/cjs/c-tab-item.cjs.entry.js.map +1 -1
- package/dist/cjs/c-tab-items.cjs.entry.js +67 -66
- package/dist/cjs/c-tab-items.cjs.entry.js.map +1 -1
- package/dist/cjs/c-tab.cjs.entry.js +46 -45
- package/dist/cjs/c-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/c-tabs.cjs.entry.js +394 -393
- package/dist/cjs/c-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/c-tag.cjs.entry.js +34 -33
- package/dist/cjs/c-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/c-tags.cjs.entry.js +18 -17
- package/dist/cjs/c-tags.cjs.entry.js.map +1 -1
- package/dist/cjs/c-toast.cjs.entry.js +60 -59
- package/dist/cjs/c-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/c-toasts.cjs.entry.js +64 -63
- package/dist/cjs/c-toasts.cjs.entry.js.map +1 -1
- package/dist/cjs/csc-ui.cjs.js +13 -11
- package/dist/cjs/csc-ui.cjs.js.map +1 -1
- package/dist/cjs/index-4fc978c6.js +1878 -0
- package/dist/cjs/index-4fc978c6.js.map +1 -0
- package/dist/cjs/index-f799b2ea.js +23 -0
- package/dist/cjs/{index-72dca436.js.map → index-f799b2ea.js.map} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +5 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/c-accordion/c-accordion.js +164 -164
- package/dist/collection/components/c-accordion/c-accordion.js.map +1 -1
- package/dist/collection/components/c-accordion/test/c-accordion.visual.js +40 -40
- package/dist/collection/components/c-accordion/test/c-accordion.visual.js.map +1 -1
- package/dist/collection/components/c-accordion-item/c-accordion-item.js +254 -254
- package/dist/collection/components/c-accordion-item/c-accordion-item.js.map +1 -1
- package/dist/collection/components/c-alert/c-alert.js +51 -51
- package/dist/collection/components/c-alert/c-alert.js.map +1 -1
- package/dist/collection/components/c-alert/test/c-alert.visual.js +18 -18
- package/dist/collection/components/c-alert/test/c-alert.visual.js.map +1 -1
- package/dist/collection/components/c-autocomplete/c-autocomplete.js +740 -740
- package/dist/collection/components/c-autocomplete/c-autocomplete.js.map +1 -1
- package/dist/collection/components/c-autocomplete/test/c-autocomplete.visual.js +23 -23
- package/dist/collection/components/c-autocomplete/test/c-autocomplete.visual.js.map +1 -1
- package/dist/collection/components/c-badge/c-badge.js +15 -15
- package/dist/collection/components/c-badge/c-badge.js.map +1 -1
- package/dist/collection/components/c-button/c-button.js +502 -502
- package/dist/collection/components/c-button/c-button.js.map +1 -1
- package/dist/collection/components/c-button/test/c-button.visual.js +72 -72
- package/dist/collection/components/c-button/test/c-button.visual.js.map +1 -1
- package/dist/collection/components/c-card/c-card.js +128 -128
- package/dist/collection/components/c-card/c-card.js.map +1 -1
- package/dist/collection/components/c-card/test/c-card.visual.js +8 -8
- package/dist/collection/components/c-card/test/c-card.visual.js.map +1 -1
- package/dist/collection/components/c-card-actions/c-card-actions.js +64 -64
- package/dist/collection/components/c-card-actions/c-card-actions.js.map +1 -1
- package/dist/collection/components/c-card-content/c-card-content.js +15 -15
- package/dist/collection/components/c-card-content/c-card-content.js.map +1 -1
- package/dist/collection/components/c-card-title/c-card-title.js +45 -45
- package/dist/collection/components/c-card-title/c-card-title.js.map +1 -1
- package/dist/collection/components/c-checkbox/c-checkbox.css +1 -1
- package/dist/collection/components/c-checkbox/c-checkbox.js +355 -355
- package/dist/collection/components/c-checkbox/c-checkbox.js.map +1 -1
- package/dist/collection/components/c-checkbox/test/c-checkbox.visual.js +12 -12
- package/dist/collection/components/c-checkbox/test/c-checkbox.visual.js.map +1 -1
- package/dist/collection/components/c-csc-logo/c-csc-logo.js +41 -41
- package/dist/collection/components/c-csc-logo/c-csc-logo.js.map +1 -1
- package/dist/collection/components/c-data-table/c-data-table.js +1140 -1140
- package/dist/collection/components/c-data-table/c-data-table.js.map +1 -1
- package/dist/collection/components/c-data-table/test/c-data-table.visual.js +23 -23
- package/dist/collection/components/c-data-table/test/c-data-table.visual.js.map +1 -1
- package/dist/collection/components/c-data-table/test/data/index.js +96 -96
- package/dist/collection/components/c-data-table/test/data/index.js.map +1 -1
- package/dist/collection/components/c-dropdown/c-dropdown.js +615 -612
- package/dist/collection/components/c-dropdown/c-dropdown.js.map +1 -1
- package/dist/collection/components/c-icon/c-icon.js +84 -84
- package/dist/collection/components/c-icon/c-icon.js.map +1 -1
- package/dist/collection/components/c-icon-button/c-icon-button.js +234 -234
- package/dist/collection/components/c-icon-button/c-icon-button.js.map +1 -1
- package/dist/collection/components/c-icon-button/test/c-icon-button.visual.js +10 -10
- package/dist/collection/components/c-icon-button/test/c-icon-button.visual.js.map +1 -1
- package/dist/collection/components/c-input/c-input.js +805 -805
- package/dist/collection/components/c-input/c-input.js.map +1 -1
- package/dist/collection/components/c-link/c-link.js +103 -103
- package/dist/collection/components/c-link/c-link.js.map +1 -1
- package/dist/collection/components/c-link/test/c-link.visual.js +6 -6
- package/dist/collection/components/c-link/test/c-link.visual.js.map +1 -1
- package/dist/collection/components/c-list/c-list.js +65 -65
- package/dist/collection/components/c-list/c-list.js.map +1 -1
- package/dist/collection/components/c-list-item/c-list-item.js +213 -213
- package/dist/collection/components/c-list-item/c-list-item.js.map +1 -1
- package/dist/collection/components/c-list-item-title/c-list-item-title.js +44 -44
- package/dist/collection/components/c-list-item-title/c-list-item-title.js.map +1 -1
- package/dist/collection/components/c-loader/c-loader.js +114 -114
- package/dist/collection/components/c-loader/c-loader.js.map +1 -1
- package/dist/collection/components/c-login-button/c-login-button.js +78 -78
- package/dist/collection/components/c-login-button/c-login-button.js.map +1 -1
- package/dist/collection/components/c-login-buttons/c-login-buttons.js +15 -15
- package/dist/collection/components/c-login-buttons/c-login-buttons.js.map +1 -1
- package/dist/collection/components/c-login-card/c-login-card.js +166 -166
- package/dist/collection/components/c-login-card/c-login-card.js.map +1 -1
- package/dist/collection/components/c-login-card/test/c-login-card.visual.js +8 -8
- package/dist/collection/components/c-login-card/test/c-login-card.visual.js.map +1 -1
- package/dist/collection/components/c-login-card-actions/c-login-card-actions.js +49 -49
- package/dist/collection/components/c-login-card-actions/c-login-card-actions.js.map +1 -1
- package/dist/collection/components/c-login-card-content/c-login-card-content.js +15 -15
- package/dist/collection/components/c-login-card-content/c-login-card-content.js.map +1 -1
- package/dist/collection/components/c-login-card-title/c-login-card-title.js +15 -15
- package/dist/collection/components/c-login-card-title/c-login-card-title.js.map +1 -1
- package/dist/collection/components/c-main/c-main.js +40 -40
- package/dist/collection/components/c-main/c-main.js.map +1 -1
- package/dist/collection/components/c-menu/c-menu.js +273 -273
- package/dist/collection/components/c-menu/c-menu.js.map +1 -1
- package/dist/collection/components/c-menu/test/c-menu.visual.js +29 -29
- package/dist/collection/components/c-menu/test/c-menu.visual.js.map +1 -1
- package/dist/collection/components/c-menu-items/c-menu-items.js +407 -407
- package/dist/collection/components/c-menu-items/c-menu-items.js.map +1 -1
- package/dist/collection/components/c-message/c-message.js +149 -149
- package/dist/collection/components/c-message/c-message.js.map +1 -1
- package/dist/collection/components/c-modal/c-modal.js +236 -236
- package/dist/collection/components/c-modal/c-modal.js.map +1 -1
- package/dist/collection/components/c-navigation-button/c-navigation-button.js +15 -15
- package/dist/collection/components/c-navigation-button/c-navigation-button.js.map +1 -1
- package/dist/collection/components/c-option/c-option.js +95 -95
- package/dist/collection/components/c-option/c-option.js.map +1 -1
- package/dist/collection/components/c-option-value/c-option-value.js +15 -15
- package/dist/collection/components/c-option-value/c-option-value.js.map +1 -1
- package/dist/collection/components/c-otp-input/c-otp-input.js +339 -339
- package/dist/collection/components/c-otp-input/c-otp-input.js.map +1 -1
- package/dist/collection/components/c-page/c-page.js +52 -52
- package/dist/collection/components/c-page/c-page.js.map +1 -1
- package/dist/collection/components/c-pagination/c-pagination.js +342 -342
- package/dist/collection/components/c-pagination/c-pagination.js.map +1 -1
- package/dist/collection/components/c-pagination/test/c-pagination.visual.js +32 -32
- package/dist/collection/components/c-pagination/test/c-pagination.visual.js.map +1 -1
- package/dist/collection/components/c-progress-bar/c-progress-bar.js +148 -148
- package/dist/collection/components/c-progress-bar/c-progress-bar.js.map +1 -1
- package/dist/collection/components/c-progress-bar/test/c-progress-bar.visual.js +12 -12
- package/dist/collection/components/c-progress-bar/test/c-progress-bar.visual.js.map +1 -1
- package/dist/collection/components/c-radio/c-radio.js +77 -77
- package/dist/collection/components/c-radio/c-radio.js.map +1 -1
- package/dist/collection/components/c-radio-group/c-radio-group.js +370 -370
- package/dist/collection/components/c-radio-group/c-radio-group.js.map +1 -1
- package/dist/collection/components/c-radio-group/test/c-radio-group.visual.js +12 -12
- package/dist/collection/components/c-radio-group/test/c-radio-group.visual.js.map +1 -1
- package/dist/collection/components/c-radio-group/test/items.js +3 -3
- package/dist/collection/components/c-radio-group/test/items.js.map +1 -1
- package/dist/collection/components/c-ripple/c-ripple.js +89 -86
- package/dist/collection/components/c-ripple/c-ripple.js.map +1 -1
- package/dist/collection/components/c-row/c-row.js +116 -116
- package/dist/collection/components/c-row/c-row.js.map +1 -1
- package/dist/collection/components/c-select/c-select.js +745 -740
- package/dist/collection/components/c-select/c-select.js.map +1 -1
- package/dist/collection/components/c-select/test/c-select.visual.js +26 -26
- package/dist/collection/components/c-select/test/c-select.visual.js.map +1 -1
- package/dist/collection/components/c-select/test/items.js +7 -7
- package/dist/collection/components/c-select/test/items.js.map +1 -1
- package/dist/collection/components/c-side-navigation/c-side-navigation.js +141 -141
- package/dist/collection/components/c-side-navigation/c-side-navigation.js.map +1 -1
- package/dist/collection/components/c-side-navigation/test/c-side-navigation.visual.js +10 -10
- package/dist/collection/components/c-side-navigation/test/c-side-navigation.visual.js.map +1 -1
- package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.js +223 -223
- package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.js.map +1 -1
- package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.js +15 -15
- package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.js.map +1 -1
- package/dist/collection/components/c-slider/c-slider.js +375 -375
- package/dist/collection/components/c-slider/c-slider.js.map +1 -1
- package/dist/collection/components/c-spacer/c-spacer.js +15 -15
- package/dist/collection/components/c-spacer/c-spacer.js.map +1 -1
- package/dist/collection/components/c-spinner/c-spinner.js +88 -88
- package/dist/collection/components/c-spinner/c-spinner.js.map +1 -1
- package/dist/collection/components/c-status/c-status.js +40 -40
- package/dist/collection/components/c-status/c-status.js.map +1 -1
- package/dist/collection/components/c-status/test/c-status.visual.js +4 -4
- package/dist/collection/components/c-status/test/c-status.visual.js.map +1 -1
- package/dist/collection/components/c-step/c-step.js +69 -69
- package/dist/collection/components/c-step/c-step.js.map +1 -1
- package/dist/collection/components/c-steps/c-steps.js +117 -117
- package/dist/collection/components/c-steps/c-steps.js.map +1 -1
- package/dist/collection/components/c-steps/test/c-steps.visual.js +11 -11
- package/dist/collection/components/c-steps/test/c-steps.visual.js.map +1 -1
- package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.js +135 -135
- package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.js.map +1 -1
- package/dist/collection/components/c-swiper/c-swiper.js +205 -205
- package/dist/collection/components/c-swiper/c-swiper.js.map +1 -1
- package/dist/collection/components/c-swiper/test/c-swiper.visual.js +14 -14
- package/dist/collection/components/c-swiper/test/c-swiper.visual.js.map +1 -1
- package/dist/collection/components/c-swiper-tab/c-swiper-tab.js +203 -203
- package/dist/collection/components/c-swiper-tab/c-swiper-tab.js.map +1 -1
- package/dist/collection/components/c-switch/c-switch.js +214 -214
- package/dist/collection/components/c-switch/c-switch.js.map +1 -1
- package/dist/collection/components/c-switch/test/c-switch.visual.js +14 -14
- package/dist/collection/components/c-switch/test/c-switch.visual.js.map +1 -1
- package/dist/collection/components/c-tab/c-tab.js +224 -224
- package/dist/collection/components/c-tab/c-tab.js.map +1 -1
- package/dist/collection/components/c-tab-buttons/c-tab-buttons.js +263 -263
- package/dist/collection/components/c-tab-buttons/c-tab-buttons.js.map +1 -1
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.visual.js +31 -31
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.visual.js.map +1 -1
- package/dist/collection/components/c-tab-item/c-tab-item.js +96 -96
- package/dist/collection/components/c-tab-item/c-tab-item.js.map +1 -1
- package/dist/collection/components/c-tab-items/c-tab-items.js +134 -134
- package/dist/collection/components/c-tab-items/c-tab-items.js.map +1 -1
- package/dist/collection/components/c-table/c-table.js +84 -84
- package/dist/collection/components/c-table/c-table.js.map +1 -1
- package/dist/collection/components/c-tabs/c-tabs.js +576 -576
- package/dist/collection/components/c-tabs/c-tabs.js.map +1 -1
- package/dist/collection/components/c-tabs/test/c-tabs.visual.js +8 -8
- package/dist/collection/components/c-tabs/test/c-tabs.visual.js.map +1 -1
- package/dist/collection/components/c-tag/c-tag.js +189 -189
- package/dist/collection/components/c-tag/c-tag.js.map +1 -1
- package/dist/collection/components/c-tag/test/c-tag.visual.js +12 -12
- package/dist/collection/components/c-tag/test/c-tag.visual.js.map +1 -1
- package/dist/collection/components/c-tags/c-tags.js +48 -48
- package/dist/collection/components/c-tags/c-tags.js.map +1 -1
- package/dist/collection/components/c-text-field/c-text-field.js +609 -609
- package/dist/collection/components/c-text-field/c-text-field.js.map +1 -1
- package/dist/collection/components/c-text-field/test/c-text-field.visual.js +27 -27
- package/dist/collection/components/c-text-field/test/c-text-field.visual.js.map +1 -1
- package/dist/collection/components/c-toast/c-toast.js +138 -138
- package/dist/collection/components/c-toast/c-toast.js.map +1 -1
- package/dist/collection/components/c-toasts/c-toasts.js +185 -183
- package/dist/collection/components/c-toasts/c-toasts.js.map +1 -1
- package/dist/collection/components/c-toasts/test/c-toasts.visual.js +21 -21
- package/dist/collection/components/c-toasts/test/c-toasts.visual.js.map +1 -1
- package/dist/collection/components/c-toolbar/c-toolbar.js +15 -15
- package/dist/collection/components/c-toolbar/c-toolbar.js.map +1 -1
- package/dist/collection/components/c-toolbar/test/c-toolbar.visual.js +4 -4
- package/dist/collection/components/c-toolbar/test/c-toolbar.visual.js.map +1 -1
- package/dist/collection/types/index.js +10 -10
- package/dist/collection/types/index.js.map +1 -1
- package/dist/collection/utils/getScrollParent.js +19 -19
- package/dist/collection/utils/getScrollParent.js.map +1 -1
- package/dist/collection/utils/test/takeScreenshot.js +8 -8
- package/dist/collection/utils/test/takeScreenshot.js.map +1 -1
- package/dist/components/c-accordion-item.d.ts +2 -2
- package/dist/components/c-accordion-item.js +137 -136
- package/dist/components/c-accordion-item.js.map +1 -1
- package/dist/components/c-accordion.d.ts +2 -2
- package/dist/components/c-accordion.js +74 -73
- package/dist/components/c-accordion.js.map +1 -1
- package/dist/components/c-alert.d.ts +2 -2
- package/dist/components/c-alert.js +34 -33
- package/dist/components/c-alert.js.map +1 -1
- package/dist/components/c-autocomplete.d.ts +2 -2
- package/dist/components/c-autocomplete.js +343 -342
- package/dist/components/c-autocomplete.js.map +1 -1
- package/dist/components/c-badge.d.ts +2 -2
- package/dist/components/c-badge.js +1 -1
- package/dist/components/c-button.d.ts +2 -2
- package/dist/components/c-button.js +176 -175
- package/dist/components/c-button.js.map +1 -1
- package/dist/components/c-card-actions.d.ts +2 -2
- package/dist/components/c-card-actions.js +1 -1
- package/dist/components/c-card-content.d.ts +2 -2
- package/dist/components/c-card-content.js +23 -22
- package/dist/components/c-card-content.js.map +1 -1
- package/dist/components/c-card-title.d.ts +2 -2
- package/dist/components/c-card-title.js +51 -50
- package/dist/components/c-card-title.js.map +1 -1
- package/dist/components/c-card.d.ts +2 -2
- package/dist/components/c-card.js +103 -102
- package/dist/components/c-card.js.map +1 -1
- package/dist/components/c-checkbox.d.ts +2 -2
- package/dist/components/c-checkbox.js +1 -1
- package/dist/components/c-csc-logo.d.ts +2 -2
- package/dist/components/c-csc-logo.js +27 -26
- package/dist/components/c-csc-logo.js.map +1 -1
- package/dist/components/c-data-table.d.ts +2 -2
- package/dist/components/c-data-table.js +799 -798
- package/dist/components/c-data-table.js.map +1 -1
- package/dist/components/c-dropdown.d.ts +2 -2
- package/dist/components/c-dropdown.js +1 -1
- package/dist/components/c-icon-button.d.ts +2 -2
- package/dist/components/c-icon-button.js +1 -1
- package/dist/components/c-icon.d.ts +2 -2
- package/dist/components/c-icon.js +1 -1
- package/dist/components/c-input.d.ts +2 -2
- package/dist/components/c-input.js +1 -1
- package/dist/components/c-link.d.ts +2 -2
- package/dist/components/c-link.js +38 -37
- package/dist/components/c-link.js.map +1 -1
- package/dist/components/c-list-item-title.d.ts +2 -2
- package/dist/components/c-list-item-title.js +30 -29
- package/dist/components/c-list-item-title.js.map +1 -1
- package/dist/components/c-list-item.d.ts +2 -2
- package/dist/components/c-list-item.js +100 -99
- package/dist/components/c-list-item.js.map +1 -1
- package/dist/components/c-list.d.ts +2 -2
- package/dist/components/c-list.js +50 -49
- package/dist/components/c-list.js.map +1 -1
- package/dist/components/c-loader.d.ts +2 -2
- package/dist/components/c-loader.js +1 -1
- package/dist/components/c-login-button.d.ts +2 -2
- package/dist/components/c-login-button.js +31 -30
- package/dist/components/c-login-button.js.map +1 -1
- package/dist/components/c-login-buttons.d.ts +2 -2
- package/dist/components/c-login-buttons.js +23 -22
- package/dist/components/c-login-buttons.js.map +1 -1
- package/dist/components/c-login-card-actions.d.ts +2 -2
- package/dist/components/c-login-card-actions.js +32 -32
- package/dist/components/c-login-card-actions.js.map +1 -1
- package/dist/components/c-login-card-content.d.ts +2 -2
- package/dist/components/c-login-card-content.js +23 -22
- package/dist/components/c-login-card-content.js.map +1 -1
- package/dist/components/c-login-card-title.d.ts +2 -2
- package/dist/components/c-login-card-title.js +23 -22
- package/dist/components/c-login-card-title.js.map +1 -1
- package/dist/components/c-login-card.d.ts +2 -2
- package/dist/components/c-login-card.js +75 -74
- package/dist/components/c-login-card.js.map +1 -1
- package/dist/components/c-main.d.ts +2 -2
- package/dist/components/c-main.js +26 -25
- package/dist/components/c-main.js.map +1 -1
- package/dist/components/c-menu-items.d.ts +2 -2
- package/dist/components/c-menu-items.js +1 -1
- package/dist/components/c-menu.d.ts +2 -2
- package/dist/components/c-menu.js +1 -1
- package/dist/components/c-message.d.ts +2 -2
- package/dist/components/c-message.js +1 -1
- package/dist/components/c-modal.d.ts +2 -2
- package/dist/components/c-modal.js +133 -132
- package/dist/components/c-modal.js.map +1 -1
- package/dist/components/c-navigation-button.d.ts +2 -2
- package/dist/components/c-navigation-button.js +54 -53
- package/dist/components/c-navigation-button.js.map +1 -1
- package/dist/components/c-option-value.d.ts +2 -2
- package/dist/components/c-option-value.js +23 -22
- package/dist/components/c-option-value.js.map +1 -1
- package/dist/components/c-option.d.ts +2 -2
- package/dist/components/c-option.js +32 -31
- package/dist/components/c-option.js.map +1 -1
- package/dist/components/c-otp-input.d.ts +2 -2
- package/dist/components/c-otp-input.js +187 -186
- package/dist/components/c-otp-input.js.map +1 -1
- package/dist/components/c-page.d.ts +2 -2
- package/dist/components/c-page.js +38 -37
- package/dist/components/c-page.js.map +1 -1
- package/dist/components/c-pagination.d.ts +2 -2
- package/dist/components/c-pagination.js +1 -1
- package/dist/components/c-progress-bar.d.ts +2 -2
- package/dist/components/c-progress-bar.js +66 -65
- package/dist/components/c-progress-bar.js.map +1 -1
- package/dist/components/c-radio-group.d.ts +2 -2
- package/dist/components/c-radio-group.js +141 -140
- package/dist/components/c-radio-group.js.map +1 -1
- package/dist/components/c-radio.d.ts +2 -2
- package/dist/components/c-radio.js +30 -29
- package/dist/components/c-radio.js.map +1 -1
- package/dist/components/c-ripple.d.ts +2 -2
- package/dist/components/c-ripple.js +1 -1
- package/dist/components/c-row.d.ts +2 -2
- package/dist/components/c-row.js +42 -41
- package/dist/components/c-row.js.map +1 -1
- package/dist/components/c-select.d.ts +2 -2
- package/dist/components/c-select.js +390 -384
- package/dist/components/c-select.js.map +1 -1
- package/dist/components/c-side-navigation-item.d.ts +2 -2
- package/dist/components/c-side-navigation-item.js +145 -144
- package/dist/components/c-side-navigation-item.js.map +1 -1
- package/dist/components/c-side-navigation-title.d.ts +2 -2
- package/dist/components/c-side-navigation-title.js +23 -22
- package/dist/components/c-side-navigation-title.js.map +1 -1
- package/dist/components/c-side-navigation.d.ts +2 -2
- package/dist/components/c-side-navigation.js +120 -119
- package/dist/components/c-side-navigation.js.map +1 -1
- package/dist/components/c-slider.d.ts +2 -2
- package/dist/components/c-slider.js +121 -120
- package/dist/components/c-slider.js.map +1 -1
- package/dist/components/c-spacer.d.ts +2 -2
- package/dist/components/c-spacer.js +1 -1
- package/dist/components/c-spinner.d.ts +2 -2
- package/dist/components/c-spinner.js +1 -1
- package/dist/components/c-status.d.ts +2 -2
- package/dist/components/c-status.js +27 -26
- package/dist/components/c-status.js.map +1 -1
- package/dist/components/c-step.d.ts +2 -2
- package/dist/components/c-step.js +32 -31
- package/dist/components/c-step.js.map +1 -1
- package/dist/components/c-steps.d.ts +2 -2
- package/dist/components/c-steps.js +82 -81
- package/dist/components/c-steps.js.map +1 -1
- package/dist/components/c-sub-navigation-item.d.ts +2 -2
- package/dist/components/c-sub-navigation-item.js +68 -67
- package/dist/components/c-sub-navigation-item.js.map +1 -1
- package/dist/components/c-swiper-tab.d.ts +2 -2
- package/dist/components/c-swiper-tab.js +63 -62
- package/dist/components/c-swiper-tab.js.map +1 -1
- package/dist/components/c-swiper.d.ts +2 -2
- package/dist/components/c-swiper.js +164 -163
- package/dist/components/c-swiper.js.map +1 -1
- package/dist/components/c-switch.d.ts +2 -2
- package/dist/components/c-switch.js +77 -76
- package/dist/components/c-switch.js.map +1 -1
- package/dist/components/c-tab-buttons.d.ts +2 -2
- package/dist/components/c-tab-buttons.js +140 -139
- package/dist/components/c-tab-buttons.js.map +1 -1
- package/dist/components/c-tab-item.d.ts +2 -2
- package/dist/components/c-tab-item.js +46 -45
- package/dist/components/c-tab-item.js.map +1 -1
- package/dist/components/c-tab-items.d.ts +2 -2
- package/dist/components/c-tab-items.js +87 -86
- package/dist/components/c-tab-items.js.map +1 -1
- package/dist/components/c-tab.d.ts +2 -2
- package/dist/components/c-tab.js +73 -72
- package/dist/components/c-tab.js.map +1 -1
- package/dist/components/c-table.d.ts +2 -2
- package/dist/components/c-table.js +53 -52
- package/dist/components/c-table.js.map +1 -1
- package/dist/components/c-tabs.d.ts +2 -2
- package/dist/components/c-tabs.js +452 -451
- package/dist/components/c-tabs.js.map +1 -1
- package/dist/components/c-tag.d.ts +2 -2
- package/dist/components/c-tag.js +87 -86
- package/dist/components/c-tag.js.map +1 -1
- package/dist/components/c-tags.d.ts +2 -2
- package/dist/components/c-tags.js +34 -33
- package/dist/components/c-tags.js.map +1 -1
- package/dist/components/c-text-field.d.ts +2 -2
- package/dist/components/c-text-field.js +184 -183
- package/dist/components/c-text-field.js.map +1 -1
- package/dist/components/c-toast.d.ts +2 -2
- package/dist/components/c-toast.js +1 -1
- package/dist/components/c-toasts.d.ts +2 -2
- package/dist/components/c-toasts.js +117 -97
- package/dist/components/c-toasts.js.map +1 -1
- package/dist/components/c-toolbar.d.ts +2 -2
- package/dist/components/c-toolbar.js +23 -22
- package/dist/components/c-toolbar.js.map +1 -1
- package/dist/components/index.d.ts +143 -0
- package/dist/components/index.js +71 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/p-07477d1d.js +238 -0
- package/dist/components/{c-menu-items2.js.map → p-07477d1d.js.map} +1 -1
- package/dist/components/p-14a3bcd3.js +295 -0
- package/dist/components/p-14a3bcd3.js.map +1 -0
- package/dist/components/p-29be82c5.js +120 -0
- package/dist/components/p-29be82c5.js.map +1 -0
- package/dist/components/p-2fbcb4e1.js +1518 -0
- package/dist/components/p-2fbcb4e1.js.map +1 -0
- package/dist/components/{mdi.js → p-3ea8acb0.js} +2 -2
- package/dist/components/p-3ea8acb0.js.map +1 -0
- package/dist/components/{c-icon-button2.js → p-59f6f0d8.js} +87 -86
- package/dist/components/p-59f6f0d8.js.map +1 -0
- package/dist/components/p-6e1a2888.js +33 -0
- package/dist/components/p-6e1a2888.js.map +1 -0
- package/dist/components/p-7f5a7176.js +50 -0
- package/dist/components/p-7f5a7176.js.map +1 -0
- package/dist/components/p-8068bc3d.js +47 -0
- package/dist/components/p-8068bc3d.js.map +1 -0
- package/dist/components/p-aa75dd47.js +293 -0
- package/dist/components/p-aa75dd47.js.map +1 -0
- package/dist/components/p-c1d56d6b.js +43 -0
- package/dist/components/p-c1d56d6b.js.map +1 -0
- package/dist/components/p-c9e58781.js +89 -0
- package/dist/components/p-c9e58781.js.map +1 -0
- package/dist/components/p-cdf22a0b.js +69 -0
- package/dist/components/p-cdf22a0b.js.map +1 -0
- package/dist/components/p-d3b88201.js +354 -0
- package/dist/components/p-d3b88201.js.map +1 -0
- package/dist/components/p-e6f11335.js +186 -0
- package/dist/components/p-e6f11335.js.map +1 -0
- package/dist/components/p-f07ce1ae.js +64 -0
- package/dist/components/p-f07ce1ae.js.map +1 -0
- package/dist/components/p-f4b8b4e1.js +94 -0
- package/dist/components/p-f4b8b4e1.js.map +1 -0
- package/dist/components/{c-badge2.js → p-f932f64a.js} +24 -23
- package/dist/components/p-f932f64a.js.map +1 -0
- package/dist/csc-ui/csc-ui.esm.js +1 -1
- package/dist/csc-ui/csc-ui.esm.js.map +1 -1
- package/dist/csc-ui/index.esm.js +1 -1
- package/dist/csc-ui/index.esm.js.map +1 -1
- package/dist/csc-ui/p-020643f8.entry.js +2 -0
- package/dist/csc-ui/p-020643f8.entry.js.map +1 -0
- package/dist/csc-ui/p-06e13288.entry.js +2 -0
- package/dist/csc-ui/p-06e13288.entry.js.map +1 -0
- package/dist/csc-ui/p-10ef7ca7.entry.js +2 -0
- package/dist/csc-ui/p-10ef7ca7.entry.js.map +1 -0
- package/dist/csc-ui/{p-ce88995f.entry.js → p-1eae6514.entry.js} +2 -2
- package/dist/csc-ui/p-1eae6514.entry.js.map +1 -0
- package/dist/csc-ui/p-23b2eb59.entry.js +2 -0
- package/dist/csc-ui/p-23b2eb59.entry.js.map +1 -0
- package/dist/csc-ui/p-26526434.entry.js +2 -0
- package/dist/csc-ui/p-26526434.entry.js.map +1 -0
- package/dist/csc-ui/p-307f3fbc.entry.js +2 -0
- package/dist/csc-ui/p-307f3fbc.entry.js.map +1 -0
- package/dist/csc-ui/p-32fa684b.entry.js +2 -0
- package/dist/csc-ui/p-32fa684b.entry.js.map +1 -0
- package/dist/csc-ui/p-3cade358.entry.js +2 -0
- package/dist/csc-ui/p-3cade358.entry.js.map +1 -0
- package/dist/csc-ui/p-47f76af6.entry.js +2 -0
- package/dist/csc-ui/p-47f76af6.entry.js.map +1 -0
- package/dist/csc-ui/p-4a1cf8bf.entry.js +2 -0
- package/dist/csc-ui/p-4a1cf8bf.entry.js.map +1 -0
- package/dist/csc-ui/{p-231bc97b.entry.js → p-68b100e9.entry.js} +2 -2
- package/dist/csc-ui/p-68b100e9.entry.js.map +1 -0
- package/dist/csc-ui/{p-aa307b78.entry.js → p-6ec4e25e.entry.js} +2 -2
- package/dist/csc-ui/p-6ec4e25e.entry.js.map +1 -0
- package/dist/csc-ui/{p-9dc5b5ac.entry.js → p-752f983d.entry.js} +2 -2
- package/dist/csc-ui/p-752f983d.entry.js.map +1 -0
- package/dist/csc-ui/{p-2a104276.entry.js → p-75ef652d.entry.js} +2 -2
- package/dist/csc-ui/p-75ef652d.entry.js.map +1 -0
- package/dist/csc-ui/p-7e0e5d26.entry.js +2 -0
- package/dist/csc-ui/p-7e0e5d26.entry.js.map +1 -0
- package/dist/csc-ui/p-8315aa49.entry.js +2 -0
- package/dist/csc-ui/p-8315aa49.entry.js.map +1 -0
- package/dist/csc-ui/p-87b41fa4.entry.js +2 -0
- package/dist/csc-ui/p-87b41fa4.entry.js.map +1 -0
- package/dist/csc-ui/{p-fafac729.js → p-8f729e27.js} +1 -1
- package/dist/csc-ui/{p-fafac729.js.map → p-8f729e27.js.map} +1 -1
- package/dist/csc-ui/p-900e4f04.entry.js +2 -0
- package/dist/csc-ui/p-900e4f04.entry.js.map +1 -0
- package/dist/csc-ui/{p-18a7f4e9.entry.js → p-9ce6cc51.entry.js} +2 -2
- package/dist/csc-ui/p-9ce6cc51.entry.js.map +1 -0
- package/dist/csc-ui/p-a3e3248c.js +3 -0
- package/dist/csc-ui/p-a3e3248c.js.map +1 -0
- package/dist/csc-ui/p-a84641e0.entry.js +2 -0
- package/dist/csc-ui/p-a84641e0.entry.js.map +1 -0
- package/dist/csc-ui/{p-da7c0754.entry.js → p-ac5da8d1.entry.js} +2 -2
- package/dist/csc-ui/p-ac5da8d1.entry.js.map +1 -0
- package/dist/csc-ui/p-acce6632.entry.js +2 -0
- package/dist/csc-ui/p-acce6632.entry.js.map +1 -0
- package/dist/csc-ui/{p-52a3f4f8.entry.js → p-af181b9b.entry.js} +2 -2
- package/dist/csc-ui/p-af181b9b.entry.js.map +1 -0
- package/dist/csc-ui/{p-29b07261.entry.js → p-b09292de.entry.js} +2 -2
- package/dist/csc-ui/p-b09292de.entry.js.map +1 -0
- package/dist/csc-ui/p-b1ab606b.entry.js +2 -0
- package/dist/csc-ui/p-b1ab606b.entry.js.map +1 -0
- package/dist/csc-ui/{p-0b41f178.entry.js → p-b543f80e.entry.js} +2 -2
- package/dist/csc-ui/p-b543f80e.entry.js.map +1 -0
- package/dist/csc-ui/{p-61e0e61f.entry.js → p-bb62b147.entry.js} +2 -2
- package/dist/csc-ui/p-bb62b147.entry.js.map +1 -0
- package/dist/csc-ui/{p-0394ebc7.entry.js → p-bcb87140.entry.js} +2 -2
- package/dist/csc-ui/p-bcb87140.entry.js.map +1 -0
- package/dist/csc-ui/p-c222df06.entry.js +2 -0
- package/dist/csc-ui/p-c222df06.entry.js.map +1 -0
- package/dist/csc-ui/{p-886f0d1d.entry.js → p-c80fa43f.entry.js} +2 -2
- package/dist/csc-ui/p-c80fa43f.entry.js.map +1 -0
- package/dist/csc-ui/p-d32e42fe.js.map +1 -1
- package/dist/csc-ui/p-d67b56d8.entry.js +2 -0
- package/dist/csc-ui/p-d67b56d8.entry.js.map +1 -0
- package/dist/csc-ui/p-e0e78a0d.entry.js +2 -0
- package/dist/csc-ui/p-e0e78a0d.entry.js.map +1 -0
- package/dist/csc-ui/p-e1255160.js +2 -0
- package/dist/csc-ui/p-e1255160.js.map +1 -0
- package/dist/csc-ui/{p-1aeab024.entry.js → p-e2a40b86.entry.js} +2 -2
- package/dist/csc-ui/p-e2a40b86.entry.js.map +1 -0
- package/dist/csc-ui/p-eafe038d.entry.js +2 -0
- package/dist/csc-ui/p-eafe038d.entry.js.map +1 -0
- package/dist/csc-ui/{p-0e3cf775.entry.js → p-f164b124.entry.js} +2 -2
- package/dist/csc-ui/p-f164b124.entry.js.map +1 -0
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/c-accordion-item.entry.js +108 -107
- package/dist/esm/c-accordion-item.entry.js.map +1 -1
- package/dist/esm/c-accordion.entry.js +53 -52
- package/dist/esm/c-accordion.entry.js.map +1 -1
- package/dist/esm/c-alert.entry.js +17 -16
- package/dist/esm/c-alert.entry.js.map +1 -1
- package/dist/esm/c-autocomplete_34.entry.js +2437 -2398
- package/dist/esm/c-autocomplete_34.entry.js.map +1 -1
- package/dist/esm/c-data-table.entry.js +678 -677
- package/dist/esm/c-data-table.entry.js.map +1 -1
- package/dist/esm/c-link.entry.js +19 -18
- package/dist/esm/c-link.entry.js.map +1 -1
- package/dist/esm/c-list-item-title.entry.js +14 -13
- package/dist/esm/c-list-item-title.entry.js.map +1 -1
- package/dist/esm/c-list-item.entry.js +70 -69
- package/dist/esm/c-list-item.entry.js.map +1 -1
- package/dist/esm/c-list.entry.js +33 -32
- package/dist/esm/c-list.entry.js.map +1 -1
- package/dist/esm/c-login-button.entry.js +13 -12
- package/dist/esm/c-login-button.entry.js.map +1 -1
- package/dist/esm/c-login-buttons.entry.js +9 -8
- package/dist/esm/c-login-buttons.entry.js.map +1 -1
- package/dist/esm/c-login-card-actions.entry.js +9 -9
- package/dist/esm/c-login-card-actions.entry.js.map +1 -1
- package/dist/esm/c-login-card-content.entry.js +9 -8
- package/dist/esm/c-login-card-content.entry.js.map +1 -1
- package/dist/esm/c-login-card-title.entry.js +9 -8
- package/dist/esm/c-login-card-title.entry.js.map +1 -1
- package/dist/esm/c-login-card.entry.js +54 -53
- package/dist/esm/c-login-card.entry.js.map +1 -1
- package/dist/esm/c-menu_2.entry.js +317 -315
- package/dist/esm/c-menu_2.entry.js.map +1 -1
- package/dist/esm/c-modal.entry.js +109 -108
- package/dist/esm/c-modal.entry.js.map +1 -1
- package/dist/esm/c-option-value.entry.js +9 -8
- package/dist/esm/c-option-value.entry.js.map +1 -1
- package/dist/esm/c-pagination.entry.js +214 -213
- package/dist/esm/c-pagination.entry.js.map +1 -1
- package/dist/esm/c-progress-bar.entry.js +46 -45
- package/dist/esm/c-progress-bar.entry.js.map +1 -1
- package/dist/esm/c-row.entry.js +23 -22
- package/dist/esm/c-row.entry.js.map +1 -1
- package/dist/esm/c-slider.entry.js +87 -86
- package/dist/esm/c-slider.entry.js.map +1 -1
- package/dist/esm/c-status.entry.js +11 -10
- package/dist/esm/c-status.entry.js.map +1 -1
- package/dist/esm/c-step.entry.js +15 -14
- package/dist/esm/c-step.entry.js.map +1 -1
- package/dist/esm/c-steps.entry.js +62 -61
- package/dist/esm/c-steps.entry.js.map +1 -1
- package/dist/esm/c-swiper-tab.entry.js +35 -34
- package/dist/esm/c-swiper-tab.entry.js.map +1 -1
- package/dist/esm/c-swiper.entry.js +119 -118
- package/dist/esm/c-swiper.entry.js.map +1 -1
- package/dist/esm/c-tab-buttons.entry.js +118 -117
- package/dist/esm/c-tab-buttons.entry.js.map +1 -1
- package/dist/esm/c-tab-item.entry.js +29 -28
- package/dist/esm/c-tab-item.entry.js.map +1 -1
- package/dist/esm/c-tab-items.entry.js +67 -66
- package/dist/esm/c-tab-items.entry.js.map +1 -1
- package/dist/esm/c-tab.entry.js +46 -45
- package/dist/esm/c-tab.entry.js.map +1 -1
- package/dist/esm/c-tabs.entry.js +394 -393
- package/dist/esm/c-tabs.entry.js.map +1 -1
- package/dist/esm/c-tag.entry.js +34 -33
- package/dist/esm/c-tag.entry.js.map +1 -1
- package/dist/esm/c-tags.entry.js +18 -17
- package/dist/esm/c-tags.entry.js.map +1 -1
- package/dist/esm/c-toast.entry.js +60 -59
- package/dist/esm/c-toast.entry.js.map +1 -1
- package/dist/esm/c-toasts.entry.js +64 -63
- package/dist/esm/c-toasts.entry.js.map +1 -1
- package/dist/esm/csc-ui.js +14 -12
- package/dist/esm/csc-ui.js.map +1 -1
- package/dist/esm/index-28ad175b.js +23 -0
- package/dist/esm/{index-dfaed2a4.js.map → index-28ad175b.js.map} +1 -1
- package/dist/esm/index-5e4179ca.js +1848 -0
- package/dist/esm/index-5e4179ca.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +6 -4
- package/dist/esm/loader.js.map +1 -1
- package/dist/playwright.config.js +40 -40
- package/dist/playwright.config.js.map +1 -1
- package/dist/stencil.config.js +41 -33
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/components/c-accordion/c-accordion.d.ts +15 -15
- package/dist/types/components/c-accordion-item/c-accordion-item.d.ts +27 -27
- package/dist/types/components/c-alert/c-alert.d.ts +3 -3
- package/dist/types/components/c-autocomplete/c-autocomplete.d.ts +60 -60
- package/dist/types/components/c-badge/c-badge.d.ts +1 -1
- package/dist/types/components/c-button/c-button.d.ts +33 -33
- package/dist/types/components/c-card/c-card.d.ts +10 -10
- package/dist/types/components/c-card-actions/c-card-actions.d.ts +3 -3
- package/dist/types/components/c-card-content/c-card-content.d.ts +1 -1
- package/dist/types/components/c-card-title/c-card-title.d.ts +12 -12
- package/dist/types/components/c-checkbox/c-checkbox.d.ts +26 -26
- package/dist/types/components/c-csc-logo/c-csc-logo.d.ts +2 -2
- package/dist/types/components/c-data-table/c-data-table.d.ts +109 -109
- package/dist/types/components/c-dropdown/c-dropdown.d.ts +52 -52
- package/dist/types/components/c-icon/c-icon.d.ts +7 -7
- package/dist/types/components/c-icon-button/c-icon-button.d.ts +16 -16
- package/dist/types/components/c-input/c-input.d.ts +60 -60
- package/dist/types/components/c-link/c-link.d.ts +5 -5
- package/dist/types/components/c-list/c-list.d.ts +6 -6
- package/dist/types/components/c-list-item/c-list-item.d.ts +14 -14
- package/dist/types/components/c-list-item-title/c-list-item-title.d.ts +2 -2
- package/dist/types/components/c-loader/c-loader.d.ts +8 -8
- package/dist/types/components/c-login-button/c-login-button.d.ts +4 -4
- package/dist/types/components/c-login-buttons/c-login-buttons.d.ts +1 -1
- package/dist/types/components/c-login-card/c-login-card.d.ts +16 -16
- package/dist/types/components/c-login-card-actions/c-login-card-actions.d.ts +3 -3
- package/dist/types/components/c-login-card-content/c-login-card-content.d.ts +1 -1
- package/dist/types/components/c-login-card-title/c-login-card-title.d.ts +1 -1
- package/dist/types/components/c-main/c-main.d.ts +2 -2
- package/dist/types/components/c-menu/c-menu.d.ts +23 -23
- package/dist/types/components/c-menu-items/c-menu-items.d.ts +39 -39
- package/dist/types/components/c-message/c-message.d.ts +16 -16
- package/dist/types/components/c-modal/c-modal.d.ts +22 -22
- package/dist/types/components/c-navigation-button/c-navigation-button.d.ts +1 -1
- package/dist/types/components/c-option/c-option.d.ts +5 -5
- package/dist/types/components/c-option-value/c-option-value.d.ts +1 -1
- package/dist/types/components/c-otp-input/c-otp-input.d.ts +32 -32
- package/dist/types/components/c-page/c-page.d.ts +6 -6
- package/dist/types/components/c-pagination/c-pagination.d.ts +34 -34
- package/dist/types/components/c-progress-bar/c-progress-bar.d.ts +7 -7
- package/dist/types/components/c-radio/c-radio.d.ts +4 -4
- package/dist/types/components/c-radio-group/c-radio-group.d.ts +27 -27
- package/dist/types/components/c-ripple/c-ripple.d.ts +5 -5
- package/dist/types/components/c-row/c-row.d.ts +7 -7
- package/dist/types/components/c-select/c-select.d.ts +65 -63
- package/dist/types/components/c-side-navigation/c-side-navigation.d.ts +13 -13
- package/dist/types/components/c-side-navigation-item/c-side-navigation-item.d.ts +18 -18
- package/dist/types/components/c-side-navigation-title/c-side-navigation-title.d.ts +1 -1
- package/dist/types/components/c-slider/c-slider.d.ts +29 -29
- package/dist/types/components/c-spacer/c-spacer.d.ts +1 -1
- package/dist/types/components/c-spinner/c-spinner.d.ts +4 -4
- package/dist/types/components/c-status/c-status.d.ts +2 -2
- package/dist/types/components/c-step/c-step.d.ts +3 -3
- package/dist/types/components/c-steps/c-steps.d.ts +13 -13
- package/dist/types/components/c-sub-navigation-item/c-sub-navigation-item.d.ts +8 -8
- package/dist/types/components/c-swiper/c-swiper.d.ts +22 -22
- package/dist/types/components/c-swiper-tab/c-swiper-tab.d.ts +13 -13
- package/dist/types/components/c-switch/c-switch.d.ts +16 -16
- package/dist/types/components/c-tab/c-tab.d.ts +16 -16
- package/dist/types/components/c-tab-buttons/c-tab-buttons.d.ts +20 -20
- package/dist/types/components/c-tab-item/c-tab-item.d.ts +9 -9
- package/dist/types/components/c-tab-items/c-tab-items.d.ts +16 -16
- package/dist/types/components/c-table/c-table.d.ts +11 -11
- package/dist/types/components/c-tabs/c-tabs.d.ts +62 -62
- package/dist/types/components/c-tag/c-tag.d.ts +10 -10
- package/dist/types/components/c-tags/c-tags.d.ts +4 -4
- package/dist/types/components/c-text-field/c-text-field.d.ts +47 -47
- package/dist/types/components/c-toast/c-toast.d.ts +15 -15
- package/dist/types/components/c-toasts/c-toasts.d.ts +14 -14
- package/dist/types/components/c-toolbar/c-toolbar.d.ts +1 -1
- package/dist/types/components.d.ts +8 -8
- package/dist/types/stencil-public-runtime.d.ts +15 -10
- package/dist/types/types/index.d.ts +99 -99
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +3 -0
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/package.json +16 -12
- package/vscode-data.json +9 -9
- package/dist/cjs/index-72dca436.js +0 -23
- package/dist/cjs/index-91ba22ab.js +0 -2603
- package/dist/cjs/index-91ba22ab.js.map +0 -1
- package/dist/collection/components/c-accordion/test/c-accordion.e2e.js +0 -140
- package/dist/collection/components/c-accordion/test/c-accordion.e2e.js.map +0 -1
- package/dist/collection/components/c-accordion/test/c-accordion.spec.js +0 -72
- package/dist/collection/components/c-accordion/test/c-accordion.spec.js.map +0 -1
- package/dist/collection/components/c-alert/test/c-alert.spec.js +0 -54
- package/dist/collection/components/c-alert/test/c-alert.spec.js.map +0 -1
- package/dist/collection/components/c-autocomplete/test/c-autocomplete.e2e.js +0 -35
- package/dist/collection/components/c-autocomplete/test/c-autocomplete.e2e.js.map +0 -1
- package/dist/collection/components/c-badge/test/c-badge.e2e.js +0 -10
- package/dist/collection/components/c-badge/test/c-badge.e2e.js.map +0 -1
- package/dist/collection/components/c-badge/test/c-badge.spec.js +0 -18
- package/dist/collection/components/c-badge/test/c-badge.spec.js.map +0 -1
- package/dist/collection/components/c-button/test/c-button.spec.js +0 -207
- package/dist/collection/components/c-button/test/c-button.spec.js.map +0 -1
- package/dist/collection/components/c-card/test/c-card.e2e.js +0 -17
- package/dist/collection/components/c-card/test/c-card.e2e.js.map +0 -1
- package/dist/collection/components/c-card/test/c-card.spec.js +0 -142
- package/dist/collection/components/c-card/test/c-card.spec.js.map +0 -1
- package/dist/collection/components/c-card-actions/test/c-card-actions.spec.js +0 -115
- package/dist/collection/components/c-card-actions/test/c-card-actions.spec.js.map +0 -1
- package/dist/collection/components/c-checkbox/test/c-checkbox.e2e.js +0 -60
- package/dist/collection/components/c-checkbox/test/c-checkbox.e2e.js.map +0 -1
- package/dist/collection/components/c-checkbox/test/c-checkbox.spec.js +0 -40
- package/dist/collection/components/c-checkbox/test/c-checkbox.spec.js.map +0 -1
- package/dist/collection/components/c-data-table/test/c-data-table.e2e.js +0 -125
- package/dist/collection/components/c-data-table/test/c-data-table.e2e.js.map +0 -1
- package/dist/collection/components/c-data-table/test/c-data-table.spec.js +0 -107
- package/dist/collection/components/c-data-table/test/c-data-table.spec.js.map +0 -1
- package/dist/collection/components/c-icon/test/c-icon.spec.js +0 -12
- package/dist/collection/components/c-icon/test/c-icon.spec.js.map +0 -1
- package/dist/collection/components/c-icon-button/test/c-icon-button.spec.js +0 -82
- package/dist/collection/components/c-icon-button/test/c-icon-button.spec.js.map +0 -1
- package/dist/collection/components/c-link/test/c-link.spec.js +0 -75
- package/dist/collection/components/c-link/test/c-link.spec.js.map +0 -1
- package/dist/collection/components/c-loader/test/c-loader.e2e.js +0 -16
- package/dist/collection/components/c-loader/test/c-loader.e2e.js.map +0 -1
- package/dist/collection/components/c-loader/test/c-loader.spec.js +0 -28
- package/dist/collection/components/c-loader/test/c-loader.spec.js.map +0 -1
- package/dist/collection/components/c-login-card/test/c-login-card.spec.js +0 -151
- package/dist/collection/components/c-login-card/test/c-login-card.spec.js.map +0 -1
- package/dist/collection/components/c-main/test/c-main.spec.js +0 -19
- package/dist/collection/components/c-main/test/c-main.spec.js.map +0 -1
- package/dist/collection/components/c-menu/test/c-menu.spec.js +0 -46
- package/dist/collection/components/c-menu/test/c-menu.spec.js.map +0 -1
- package/dist/collection/components/c-modal/test/c-modal.spec.js +0 -75
- package/dist/collection/components/c-modal/test/c-modal.spec.js.map +0 -1
- package/dist/collection/components/c-otp-input/test/c-otp-input.e2e.js +0 -10
- package/dist/collection/components/c-otp-input/test/c-otp-input.e2e.js.map +0 -1
- package/dist/collection/components/c-otp-input/test/c-otp-input.spec.js +0 -18
- package/dist/collection/components/c-otp-input/test/c-otp-input.spec.js.map +0 -1
- package/dist/collection/components/c-pagination/test/c-pagination.e2e.js +0 -47
- package/dist/collection/components/c-pagination/test/c-pagination.e2e.js.map +0 -1
- package/dist/collection/components/c-progress-bar/test/c-progress-bar.spec.js +0 -54
- package/dist/collection/components/c-progress-bar/test/c-progress-bar.spec.js.map +0 -1
- package/dist/collection/components/c-radio-group/test/c-radio-group.e2e.js +0 -39
- package/dist/collection/components/c-radio-group/test/c-radio-group.e2e.js.map +0 -1
- package/dist/collection/components/c-radio-group/test/c-radio-group.spec.js +0 -28
- package/dist/collection/components/c-radio-group/test/c-radio-group.spec.js.map +0 -1
- package/dist/collection/components/c-row/test/c-row.spec.js +0 -137
- package/dist/collection/components/c-row/test/c-row.spec.js.map +0 -1
- package/dist/collection/components/c-select/test/c-select.e2e.js +0 -66
- package/dist/collection/components/c-select/test/c-select.e2e.js.map +0 -1
- package/dist/collection/components/c-select/test/c-select.spec.js +0 -38
- package/dist/collection/components/c-select/test/c-select.spec.js.map +0 -1
- package/dist/collection/components/c-side-navigation/test/c-side-navigation.spec.js +0 -21
- package/dist/collection/components/c-side-navigation/test/c-side-navigation.spec.js.map +0 -1
- package/dist/collection/components/c-spacer/test/c-spacer.spec.js +0 -12
- package/dist/collection/components/c-spacer/test/c-spacer.spec.js.map +0 -1
- package/dist/collection/components/c-status/test/c-status.spec.js +0 -40
- package/dist/collection/components/c-status/test/c-status.spec.js.map +0 -1
- package/dist/collection/components/c-steps/test/c-steps.e2e.js +0 -35
- package/dist/collection/components/c-steps/test/c-steps.e2e.js.map +0 -1
- package/dist/collection/components/c-swiper/test/c-swiper.e2e.js +0 -83
- package/dist/collection/components/c-swiper/test/c-swiper.e2e.js.map +0 -1
- package/dist/collection/components/c-switch/test/c-switch.e2e.js +0 -51
- package/dist/collection/components/c-switch/test/c-switch.e2e.js.map +0 -1
- package/dist/collection/components/c-switch/test/c-switch.spec.js +0 -40
- package/dist/collection/components/c-switch/test/c-switch.spec.js.map +0 -1
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.e2e.js +0 -91
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.e2e.js.map +0 -1
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.spec.js +0 -42
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.spec.js.map +0 -1
- package/dist/collection/components/c-tabs/test/c-tabs.e2e.js +0 -74
- package/dist/collection/components/c-tabs/test/c-tabs.e2e.js.map +0 -1
- package/dist/collection/components/c-tabs/test/c-tabs.spec.js +0 -85
- package/dist/collection/components/c-tabs/test/c-tabs.spec.js.map +0 -1
- package/dist/collection/components/c-tag/test/c-tag.spec.js +0 -50
- package/dist/collection/components/c-tag/test/c-tag.spec.js.map +0 -1
- package/dist/collection/components/c-text-field/test/c-text-field.e2e.js +0 -12
- package/dist/collection/components/c-text-field/test/c-text-field.e2e.js.map +0 -1
- package/dist/collection/components/c-text-field/test/c-text-field.spec.js +0 -33
- package/dist/collection/components/c-text-field/test/c-text-field.spec.js.map +0 -1
- package/dist/collection/components/c-toasts/test/c-toasts.spec.js +0 -61
- package/dist/collection/components/c-toasts/test/c-toasts.spec.js.map +0 -1
- package/dist/collection/components/c-toolbar/test/c-toolbar.spec.js +0 -12
- package/dist/collection/components/c-toolbar/test/c-toolbar.spec.js.map +0 -1
- package/dist/collection/dist/styles/.gitkeep +0 -0
- package/dist/collection/dist/styles/css/theme.css +0 -102
- package/dist/collection/dist/styles/scss/_theme.scss +0 -100
- package/dist/collection/dist/styles/tailwind/theme.js +0 -120
- package/dist/components/c-badge2.js.map +0 -1
- package/dist/components/c-card-actions2.js +0 -42
- package/dist/components/c-card-actions2.js.map +0 -1
- package/dist/components/c-checkbox2.js +0 -119
- package/dist/components/c-checkbox2.js.map +0 -1
- package/dist/components/c-dropdown2.js +0 -353
- package/dist/components/c-dropdown2.js.map +0 -1
- package/dist/components/c-icon-button2.js.map +0 -1
- package/dist/components/c-icon2.js +0 -46
- package/dist/components/c-icon2.js.map +0 -1
- package/dist/components/c-input2.js +0 -292
- package/dist/components/c-input2.js.map +0 -1
- package/dist/components/c-loader2.js +0 -63
- package/dist/components/c-loader2.js.map +0 -1
- package/dist/components/c-menu-items2.js +0 -237
- package/dist/components/c-menu2.js +0 -185
- package/dist/components/c-menu2.js.map +0 -1
- package/dist/components/c-message2.js +0 -88
- package/dist/components/c-message2.js.map +0 -1
- package/dist/components/c-pagination2.js +0 -294
- package/dist/components/c-pagination2.js.map +0 -1
- package/dist/components/c-ripple2.js +0 -68
- package/dist/components/c-ripple2.js.map +0 -1
- package/dist/components/c-spacer2.js +0 -32
- package/dist/components/c-spacer2.js.map +0 -1
- package/dist/components/c-spinner2.js +0 -49
- package/dist/components/c-spinner2.js.map +0 -1
- package/dist/components/c-toast2.js +0 -93
- package/dist/components/c-toast2.js.map +0 -1
- package/dist/components/index2.js +0 -23
- package/dist/components/index2.js.map +0 -1
- package/dist/components/mdi.js.map +0 -1
- package/dist/csc-ui/dist/styles/.gitkeep +0 -0
- package/dist/csc-ui/dist/styles/css/theme.css +0 -102
- package/dist/csc-ui/dist/styles/scss/_theme.scss +0 -100
- package/dist/csc-ui/dist/styles/tailwind/theme.js +0 -120
- package/dist/csc-ui/p-0394ebc7.entry.js.map +0 -1
- package/dist/csc-ui/p-0ad7a08a.entry.js +0 -2
- package/dist/csc-ui/p-0ad7a08a.entry.js.map +0 -1
- package/dist/csc-ui/p-0b41f178.entry.js.map +0 -1
- package/dist/csc-ui/p-0e3cf775.entry.js.map +0 -1
- package/dist/csc-ui/p-18a7f4e9.entry.js.map +0 -1
- package/dist/csc-ui/p-1aeab024.entry.js.map +0 -1
- package/dist/csc-ui/p-231bc97b.entry.js.map +0 -1
- package/dist/csc-ui/p-29b07261.entry.js.map +0 -1
- package/dist/csc-ui/p-2a104276.entry.js.map +0 -1
- package/dist/csc-ui/p-33c354c4.entry.js +0 -2
- package/dist/csc-ui/p-33c354c4.entry.js.map +0 -1
- package/dist/csc-ui/p-4dbc9e96.entry.js +0 -2
- package/dist/csc-ui/p-4dbc9e96.entry.js.map +0 -1
- package/dist/csc-ui/p-4f568e1f.entry.js +0 -2
- package/dist/csc-ui/p-4f568e1f.entry.js.map +0 -1
- package/dist/csc-ui/p-52a3f4f8.entry.js.map +0 -1
- package/dist/csc-ui/p-54d44ab9.entry.js +0 -2
- package/dist/csc-ui/p-54d44ab9.entry.js.map +0 -1
- package/dist/csc-ui/p-565ec8e4.js +0 -3
- package/dist/csc-ui/p-565ec8e4.js.map +0 -1
- package/dist/csc-ui/p-5dd84926.entry.js +0 -2
- package/dist/csc-ui/p-5dd84926.entry.js.map +0 -1
- package/dist/csc-ui/p-61e0e61f.entry.js.map +0 -1
- package/dist/csc-ui/p-7a7da729.entry.js +0 -2
- package/dist/csc-ui/p-7a7da729.entry.js.map +0 -1
- package/dist/csc-ui/p-80cdd280.entry.js +0 -2
- package/dist/csc-ui/p-80cdd280.entry.js.map +0 -1
- package/dist/csc-ui/p-886f0d1d.entry.js.map +0 -1
- package/dist/csc-ui/p-908b21bf.entry.js +0 -2
- package/dist/csc-ui/p-908b21bf.entry.js.map +0 -1
- package/dist/csc-ui/p-9dc5b5ac.entry.js.map +0 -1
- package/dist/csc-ui/p-a33ca657.entry.js +0 -2
- package/dist/csc-ui/p-a33ca657.entry.js.map +0 -1
- package/dist/csc-ui/p-aa307b78.entry.js.map +0 -1
- package/dist/csc-ui/p-b8fd106b.entry.js +0 -2
- package/dist/csc-ui/p-b8fd106b.entry.js.map +0 -1
- package/dist/csc-ui/p-bae44625.entry.js +0 -2
- package/dist/csc-ui/p-bae44625.entry.js.map +0 -1
- package/dist/csc-ui/p-c9e04eb5.entry.js +0 -2
- package/dist/csc-ui/p-c9e04eb5.entry.js.map +0 -1
- package/dist/csc-ui/p-cb4bce81.entry.js +0 -2
- package/dist/csc-ui/p-cb4bce81.entry.js.map +0 -1
- package/dist/csc-ui/p-ce88995f.entry.js.map +0 -1
- package/dist/csc-ui/p-da7c0754.entry.js.map +0 -1
- package/dist/csc-ui/p-da7d18c9.entry.js +0 -2
- package/dist/csc-ui/p-da7d18c9.entry.js.map +0 -1
- package/dist/csc-ui/p-e8bd7a76.entry.js +0 -2
- package/dist/csc-ui/p-e8bd7a76.entry.js.map +0 -1
- package/dist/csc-ui/p-e922c869.entry.js +0 -2
- package/dist/csc-ui/p-e922c869.entry.js.map +0 -1
- package/dist/csc-ui/p-e9ec927b.entry.js +0 -2
- package/dist/csc-ui/p-e9ec927b.entry.js.map +0 -1
- package/dist/csc-ui/p-f6ca71df.entry.js +0 -2
- package/dist/csc-ui/p-f6ca71df.entry.js.map +0 -1
- package/dist/csc-ui/p-fadae1ab.entry.js +0 -2
- package/dist/csc-ui/p-fadae1ab.entry.js.map +0 -1
- package/dist/csc-ui/p-fc580f2c.entry.js +0 -2
- package/dist/csc-ui/p-fc580f2c.entry.js.map +0 -1
- package/dist/esm/index-47956d53.js +0 -2573
- package/dist/esm/index-47956d53.js.map +0 -1
- package/dist/esm/index-dfaed2a4.js +0 -23
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/loader/cdn.js +0 -3
- package/dist/loader/index.cjs.js +0 -3
- package/dist/loader/index.d.ts +0 -21
- package/dist/loader/index.es2017.js +0 -3
- package/dist/loader/index.js +0 -4
- package/dist/loader/package.json +0 -11
- package/dist/styles/.gitkeep +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"c-step.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,QAAQ,GAAG,4uDAA4uD;;
|
|
1
|
+
{"file":"c-step.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,QAAQ,GAAG,4uDAA4uD,CAAC;AAC9vD,oBAAe,QAAQ;;MCWV,KAAK;;;wBAKG,KAAK;uBAMN,KAAK;;IAEvB,MAAM;QACJ,MAAM,WAAW,GAAG;YAClB,QAAQ,EAAE,IAAI;YACd,kBAAkB,EAAE,IAAI,CAAC,QAAQ;SAClC,CAAC;QAEF,QACEA,kEAAK,KAAK,EAAE,WAAW,IACrBA,kEAAK,KAAK,EAAC,mBAAmB,IAC3B,CAAC,IAAI,CAAC,QAAQ,KACbA,kEAAK,KAAK,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,GAAQ,CACzD,EAEA,IAAI,CAAC,QAAQ,KACZA,kEAAK,KAAK,EAAC,UAAU,IACnBA,kEAAK,OAAO,EAAC,aAAa,IACxBA,mEACE,KAAK,EAAC,MAAM,EACZ,CAAC,EAAC,4DAA4D,GAC9D,CACE,CACF,CACP,CACG,EACNA,kEAAK,KAAK,EAAC,eAAe,IACxBA,oEAAa,CACT,CACF,EACN;KACH;;;;;;","names":["h"],"sources":["src/components/c-step/c-step.scss?tag=c-step&encapsulation=shadow","src/components/c-step/c-step.tsx"],"sourcesContent":[":host(c-step) {\n /**\n * @prop --c-step-color: Step color\n * @prop --c-step-color-complete: Completed step color\n * @prop --c-step-text-color-complete: Completed step text color\n */\n --_c-step-color: var(--c-step-color, var(--c-tertiary-500));\n --_c-step-color-complete: var(--c-step-color-complete, var(--c-primary-600));\n --_c-step-text-color-complete: var(--c-step-text-color-complete, var(--c-white));\n\n position: relative;\n width: 180px;\n}\n\n:host(.mobile) {\n width: 22px;\n height: 22px;\n}\n\n:host(.mobile) .c-step__label {\n display: none;\n}\n\n.c-step {\n display: grid;\n justify-items: center;\n padding: 0;\n gap: 8px;\n position: relative;\n box-sizing: border-box;\n\n &__indicator {\n box-sizing: border-box;\n\n .dot {\n background-color: var(--c-white);\n box-shadow: inset 0 0 0 2px var(--_c-step-color);\n border-radius: 22px;\n height: 22px;\n width: 22px;\n position: relative;\n\n &.current {\n box-shadow: inset 0 0 0 3px var(--_c-step-color-complete);\n\n &::before {\n content: \"\";\n border-radius: 14px;\n height: 10px;\n width: 10px;\n background-color: var(--_c-step-color-complete);\n position: absolute;\n top: 6px;\n left: 6px;\n }\n }\n }\n\n .complete {\n background-color: var(--_c-step-color-complete);\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n\n svg {\n width: 100%;\n height: 100%;\n }\n }\n }\n\n &--complete {\n .c-step__indicator {\n > div {\n position: relative;\n border-radius: 22px;\n height: 22px;\n width: 22px;\n background-color: var(--_c-step-color-complete);\n padding: 4px;\n\n svg {\n position: relative;\n fill: var(--_c-step-text-color-complete);\n\n .path {\n fill: none;\n stroke: var(--_c-step-text-color-complete);\n stroke-dashoffset: 0;\n stroke-width: 13;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-miterlimit: 10;\n }\n }\n }\n }\n }\n}\n","import { Component, h, Prop } from '@stencil/core';\n\n/**\n * @group Indicators\n * @parent c-steps\n * @slot Default slot - Default slot for the label\n */\n@Component({\n tag: 'c-step',\n styleUrl: 'c-step.scss',\n shadow: true,\n})\nexport class CStep {\n /**\n * Mark step as complete\n * @private\n */\n @Prop() complete = false;\n\n /**\n * Mark step as current\n * @private\n */\n @Prop() current = false;\n\n render() {\n const rootClasses = {\n 'c-step': true,\n 'c-step--complete': this.complete,\n };\n\n return (\n <div class={rootClasses}>\n <div class=\"c-step__indicator\">\n {!this.complete && (\n <div class={{ dot: true, current: this.current }}></div>\n )}\n\n {this.complete && (\n <div class=\"complete\">\n <svg viewBox=\"0 0 100 100\">\n <path\n class=\"path\"\n d=\"M 12 52 l 24 24 l 47 -47 l -3 -3 l -44 44 l -21 -21 l -3 3\"\n />\n </svg>\n </div>\n )}\n </div>\n <div class=\"c-step__label\">\n <slot></slot>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -2,76 +2,77 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4fc978c6.js');
|
|
6
6
|
|
|
7
7
|
const cStepsCss = "html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:host{--_c-steps-outline-color:var(--c-steps-outline-color, var(--c-primary-600));--_c-steps-color:var(--c-step-color, var(--c-tertiary-500));--_c-steps-color-complete:var(--c-step-color-complete, var(--c-primary-600));width:100%;display:grid;gap:8px;border-radius:6px}@supports selector(:focus-visible){:host(:focus){outline:none}}:host(:focus-visible){outline:2px var(--_c-steps-outline-color) solid;outline-offset:2px}.c-steps{--c-steps-divider-width:calc(100% + 160px);--c-steps-divider-margin:10px -80px 0;width:100%;display:flex;flex-wrap:nowrap}.c-steps slot{display:flex;justify-items:space-between;width:100%}.c-steps ::slotted(.divider){height:2px;flex:1;background-color:var(--_c-steps-color);width:var(--c-steps-divider-width);margin:var(--c-steps-divider-margin)}.c-steps ::slotted(.divider.complete){background-color:var(--_c-steps-color-complete);height:4px;margin-top:9px}.c-steps.mobile{--c-steps-divider-width:calc(100% + 11px);--c-steps-divider-margin:10px -10px 0}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}";
|
|
8
|
+
const CStepsStyle0 = cStepsCss;
|
|
8
9
|
|
|
9
10
|
const CSteps = class {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.changeValue = index.createEvent(this, "changeValue", 3);
|
|
14
|
+
this._isInitialized = false;
|
|
15
|
+
this.value = undefined;
|
|
16
|
+
this.isMobile = false;
|
|
17
|
+
this.label = '';
|
|
18
|
+
}
|
|
19
|
+
watchPropHandler() {
|
|
20
|
+
this._handleDividers();
|
|
21
|
+
}
|
|
22
|
+
_handleDividers() {
|
|
23
|
+
this._stepElements = this.host.querySelectorAll('c-step');
|
|
24
|
+
const dividers = this.host.querySelectorAll('.divider');
|
|
25
|
+
this._stepElements.forEach((item, index) => {
|
|
26
|
+
item.current = index + 1 === +this.value;
|
|
27
|
+
item.complete = index + 1 < +this.value;
|
|
28
|
+
if (index + 1 < this._stepElements.length) {
|
|
29
|
+
const div = this._isInitialized
|
|
30
|
+
? dividers[index]
|
|
31
|
+
: document.createElement('div');
|
|
32
|
+
div.classList.toggle('complete', !!item.complete);
|
|
33
|
+
if (!this._isInitialized) {
|
|
34
|
+
div.classList.add('divider');
|
|
35
|
+
item.after(div);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
if (item.current) {
|
|
39
|
+
this.label = item.textContent;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
this._isInitialized = true;
|
|
43
|
+
}
|
|
44
|
+
componentDidLoad() {
|
|
45
|
+
this._handleDividers();
|
|
46
|
+
this._resizeObserver = new ResizeObserver(([entry]) => {
|
|
47
|
+
const maxWidth = this._stepElements.length * 180;
|
|
48
|
+
this.isMobile = maxWidth > entry.contentRect.width;
|
|
49
|
+
this.host.shadowRoot
|
|
50
|
+
.querySelector('.c-steps')
|
|
51
|
+
.classList.toggle('mobile', this.isMobile);
|
|
52
|
+
this._stepElements.forEach((node) => {
|
|
53
|
+
node.classList.toggle('mobile', this.isMobile);
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
window.requestAnimationFrame(() => {
|
|
57
|
+
this._resizeObserver.observe(this.host);
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
_getA11yMessage(total, current) {
|
|
61
|
+
return `
|
|
61
62
|
Steps, step ${Math.min(current, total)} of ${total}.
|
|
62
63
|
${this.label}.
|
|
63
64
|
${current - 1} step${current - 1 !== 1 ? 's' : ''} marked as completed.
|
|
64
65
|
`;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
66
|
+
}
|
|
67
|
+
render() {
|
|
68
|
+
return (index.h(index.Host, { key: 'baa6731658ec56c558717e632cd58f3313737f90', tabindex: "0" }, this._stepElements && (index.h("span", { key: '19dfb708414bbfdd7138386200b9809a1f513e28', class: "visuallyhidden" }, this._getA11yMessage(this._stepElements.length, +this.value))), index.h("div", { key: '2516c17d83d42d06874fb86145aa1f609eb7c22f', class: "c-steps", "aria-hidden": "true" }, index.h("slot", { key: '51e79f03697eb650b90be4eee1689758ad738d50' })), this.isMobile && (index.h("div", { key: 'd9e06cbd7292670f6ff20bca71accc72e604184f', class: "c-steps__label", "aria-hidden": "true" }, this.label))));
|
|
69
|
+
}
|
|
70
|
+
get host() { return index.getElement(this); }
|
|
71
|
+
static get watchers() { return {
|
|
72
|
+
"value": ["watchPropHandler"]
|
|
73
|
+
}; }
|
|
73
74
|
};
|
|
74
|
-
CSteps.style =
|
|
75
|
+
CSteps.style = CStepsStyle0;
|
|
75
76
|
|
|
76
77
|
exports.c_steps = CSteps;
|
|
77
78
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"c-steps.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,8xCAA8xC;;
|
|
1
|
+
{"file":"c-steps.entry.cjs.js","mappings":"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","names":["h","Host"],"sources":["src/components/c-steps/c-steps.scss?tag=c-steps&encapsulation=shadow","src/components/c-steps/c-steps.tsx"],"sourcesContent":[":host {\n /**\n * @prop --c-steps-outline-color: Steps outline color\n */\n --_c-steps-outline-color: var(--c-steps-outline-color, var(--c-primary-600));\n\n // private\n --_c-steps-color: var(--c-step-color, var(--c-tertiary-500));\n --_c-steps-color-complete: var(--c-step-color-complete, var(--c-primary-600));\n\n width: 100%;\n display: grid;\n gap: 8px;\n border-radius: 6px;\n}\n\n@supports selector(:focus-visible) {\n :host(:focus) {\n outline: none;\n }\n}\n\n:host(:focus-visible) {\n outline: 2px var(--_c-steps-outline-color) solid;\n outline-offset: 2px;\n}\n\n.c-steps {\n --c-steps-divider-width: calc(100% + 160px);\n --c-steps-divider-margin: 10px -80px 0;\n\n width: 100%;\n display: flex;\n flex-wrap: nowrap;\n\n slot {\n display: flex;\n justify-items: space-between;\n width: 100%;\n }\n\n ::slotted(.divider) {\n height: 2px;\n flex: 1;\n background-color: var(--_c-steps-color);\n width: var(--c-steps-divider-width);\n margin: var(--c-steps-divider-margin);\n }\n\n ::slotted(.divider.complete) {\n background-color: var(--_c-steps-color-complete);\n height: 4px;\n margin-top: 9px;\n }\n\n &.mobile {\n --c-steps-divider-width: calc(100% + 11px);\n --c-steps-divider-margin: 10px -10px 0;\n }\n}\n\n.visuallyhidden {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n EventEmitter,\n Event,\n Element,\n Watch,\n State,\n} from '@stencil/core';\n\n/**\n * @group Indicators\n * @slot Default slot - Default slot\n */\n@Component({\n tag: 'c-steps',\n styleUrl: 'c-steps.scss',\n shadow: true,\n})\nexport class CSteps {\n @Element() host: HTMLCStepsElement;\n\n /**\n * Value of the accordion (current step number)\n */\n @Prop() value!: number | string;\n\n /**\n * Emit changes to the parent\n */\n @Event({ bubbles: false })\n changeValue: EventEmitter<number | string>;\n\n @State() isMobile = false;\n\n @State() label = '';\n\n @Watch('value')\n watchPropHandler() {\n this._handleDividers();\n }\n\n private _isInitialized = false;\n\n private _resizeObserver: ResizeObserver;\n\n private _stepElements: NodeListOf<HTMLCStepElement>;\n\n private _handleDividers() {\n this._stepElements = this.host.querySelectorAll('c-step');\n const dividers: NodeListOf<HTMLDivElement> =\n this.host.querySelectorAll('.divider');\n\n this._stepElements.forEach((item, index) => {\n item.current = index + 1 === +this.value;\n item.complete = index + 1 < +this.value;\n\n if (index + 1 < this._stepElements.length) {\n const div = this._isInitialized\n ? dividers[index]\n : document.createElement('div');\n\n div.classList.toggle('complete', !!item.complete);\n\n if (!this._isInitialized) {\n div.classList.add('divider');\n\n item.after(div);\n }\n }\n\n if (item.current) {\n this.label = item.textContent;\n }\n });\n\n this._isInitialized = true;\n }\n\n componentDidLoad() {\n this._handleDividers();\n\n this._resizeObserver = new ResizeObserver(([entry]) => {\n const maxWidth = this._stepElements.length * 180;\n\n this.isMobile = maxWidth > entry.contentRect.width;\n\n this.host.shadowRoot\n .querySelector('.c-steps')\n .classList.toggle('mobile', this.isMobile);\n\n this._stepElements.forEach((node) => {\n node.classList.toggle('mobile', this.isMobile);\n });\n });\n\n window.requestAnimationFrame(() => {\n this._resizeObserver.observe(this.host);\n });\n }\n\n private _getA11yMessage(total: number, current: number) {\n return `\n Steps, step ${Math.min(current, total)} of ${total}.\n ${this.label}.\n ${current - 1} step${current - 1 !== 1 ? 's' : ''} marked as completed.\n `;\n }\n\n render() {\n return (\n <Host tabindex=\"0\">\n {this._stepElements && (\n <span class=\"visuallyhidden\">\n {this._getA11yMessage(this._stepElements.length, +this.value)}\n </span>\n )}\n <div class=\"c-steps\" aria-hidden=\"true\">\n <slot></slot>\n </div>\n {this.isMobile && (\n <div class=\"c-steps__label\" aria-hidden=\"true\">\n {this.label}\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -2,45 +2,46 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4fc978c6.js');
|
|
6
6
|
|
|
7
7
|
const cSwiperTabCss = "html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:host(c-swiper-tab){--_c-swiper-tab-background-color-active:var(--c-swiper-tab-background-color-active, var(--c-primary-600));--_c-swiper-tab-background-color-disabled:var(--c-swiper-tab-background-color-disabled, var(--c-tertiary-100));--_c-swiper-tab-background-color:var(--c-swiper-tab-background-color, var(--c-primary-200));--_c-swiper-tab-hover-color:var(--c-swiper-tab-hover-color, var(--c-primary-100));--_c-swiper-tab-text-color-active:var(--c-swiper-tab-text-color-active, var(--c-white));--_c-swiper-tab-text-color-disabled:var(--c-swiper-tab-text-color-disabled, var(--c-tertiary-600));--_c-swiper-tab-text-color:var(--c-swiper-tab-text-color, var(--c-primary-600));border-radius:8px;width:100%;height:100%;outline:none;text-decoration:none;user-select:none;display:grid;align-content:stretch;padding:4px;background-color:transparent;border:none}:host(:focus){outline:2px var(--_c-swiper-tab-background-color-active) solid;outline-offset:-2px}@supports selector(:focus-visible){:host(:focus){outline:none}}:host(:focus-visible){outline:2px var(--_c-swiper-tab-background-color-active) solid;outline-offset:-2px}.c-swiper-tab{height:100%}.c-swiper-tab:hover:not(.c-swiper-tab--active):not(.c-swiper-tab--disabled) .c-swiper-tab__content{background-color:var(--_c-swiper-tab-hover-color)}.c-swiper-tab__content{border-radius:6px;background-color:var(--_c-swiper-tab-background-color);color:var(--_c-swiper-tab-text-color);cursor:pointer;transition:background-color 0.2s ease-in-out;display:grid;gap:4px;grid-template-columns:1fr;line-height:1.5;padding:16px;align-content:start;position:relative;overflow:hidden;height:100%}.c-swiper-tab__header{line-height:38px;font-size:24px;display:grid;grid-template-columns:1fr auto;gap:16px}.c-swiper-tab__description{align-items:start;opacity:0.67}.c-swiper-tab--disabled .c-swiper-tab__content{background:var(--_c-swiper-tab-background-color-disabled);color:var(--_c-swiper-tab-text-color-disabled);cursor:default !important;pointer-events:none}.c-swiper-tab--active .c-swiper-tab__content{background-color:var(--_c-swiper-tab-background-color-active);color:var(--_c-swiper-tab-text-color-active);pointer-events:none}.c-swiper-tab--active .c-swiper-tab__content:hover{background-color:var(--_c-swiper-tab-background-color-active)}.c-swiper-tab svg{fill:currentColor;height:38px;width:38px}";
|
|
8
|
+
const CSwiperTabStyle0 = cSwiperTabCss;
|
|
8
9
|
|
|
9
10
|
const CSwiperTab = class {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.changeValue = index.createEvent(this, "changeValue", 7);
|
|
14
|
+
this.disabled = false;
|
|
15
|
+
this.active = false;
|
|
16
|
+
this.label = undefined;
|
|
17
|
+
this.hostId = undefined;
|
|
18
|
+
this.setsize = undefined;
|
|
19
|
+
this.position = undefined;
|
|
20
|
+
this.value = undefined;
|
|
21
|
+
}
|
|
22
|
+
onTabClick(event) {
|
|
23
|
+
if (this.active || this.disabled)
|
|
24
|
+
return;
|
|
25
|
+
this._rippleElement.createRipple(event, this._container);
|
|
26
|
+
this.changeValue.emit(this.value);
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
const classes = {
|
|
30
|
+
'c-swiper-tab': true,
|
|
31
|
+
'c-swiper-tab--active': !this.disabled && this.active,
|
|
32
|
+
'c-swiper-tab--disabled': this.disabled,
|
|
33
|
+
};
|
|
34
|
+
const a11y = {
|
|
35
|
+
'aria-selected': this.active ? 'true' : 'false',
|
|
36
|
+
'aria-setsize': this.setsize,
|
|
37
|
+
'aria-posinset': this.position,
|
|
38
|
+
tabindex: this.active ? 0 : -1,
|
|
39
|
+
};
|
|
40
|
+
return (index.h(index.Host, Object.assign({ key: '84fcb5d7be5b1fbdbe323cd588c1a35a20517a4d' }, a11y, { role: "tab" }), index.h("div", { key: '3c42803852d5cdd035f1bbc3cbb209a89e321684', id: this.hostId, class: classes }, index.h("div", { key: 'affe005c0d34e24ecc12e1837401925f9a3c3634', class: "c-swiper-tab__content", ref: (el) => (this._container = el) }, index.h("div", { key: 'f15c6a7688b8f690a97c59db07828376ffe81cdc', class: "c-swiper-tab__header" }, this.label, index.h("slot", { key: '4e01e8623e1d03dc5eef8ab5535c05dfcd2c2445', name: "icon" })), index.h("div", { key: 'f099ebe957534baf85b838813dab35a23f10dc76', class: "c-swiper-tab__description" }, index.h("slot", { key: '86d19794a8f02c910291f5c61ccda40a81eb3606' })), index.h("c-ripple", { key: '7cedd39b1680cc0304db207ed7173e78a1376aca', ref: (el) => (this._rippleElement = el) })))));
|
|
41
|
+
}
|
|
42
|
+
get el() { return index.getElement(this); }
|
|
42
43
|
};
|
|
43
|
-
CSwiperTab.style =
|
|
44
|
+
CSwiperTab.style = CSwiperTabStyle0;
|
|
44
45
|
|
|
45
46
|
exports.c_swiper_tab = CSwiperTab;
|
|
46
47
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"c-swiper-tab.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,+9EAA+9E
|
|
1
|
+
{"file":"c-swiper-tab.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,+9EAA+9E,CAAC;AACt/E,yBAAe,aAAa;;MCkBf,UAAU;;;;wBAMF,KAAK;sBAKP,KAAK;;;;;;;IA6CtB,UAAU,CAAC,KAAK;QACd,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,QAAQ;YAAE,OAAO;QAEzC,IAAI,CAAC,cAAc,CAAC,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;QAEzD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACnC;IAED,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,cAAc,EAAE,IAAI;YACpB,sBAAsB,EAAE,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,MAAM;YACrD,wBAAwB,EAAE,IAAI,CAAC,QAAQ;SACxC,CAAC;QAEF,MAAM,IAAI,GAAG;YACX,eAAe,EAAE,IAAI,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO;YAC/C,cAAc,EAAE,IAAI,CAAC,OAAO;YAC5B,eAAe,EAAE,IAAI,CAAC,QAAQ;YAC9B,QAAQ,EAAE,IAAI,CAAC,MAAM,GAAG,CAAC,GAAG,CAAC,CAAC;SAC/B,CAAC;QAEF,QACEA,QAACC,UAAI,qEAAK,IAAI,IAAE,IAAI,EAAC,KAAK,KACxBD,kEAAK,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,IAClCA,kEACE,KAAK,EAAC,uBAAuB,EAC7B,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,UAAU,GAAG,EAAoB,CAAC,IAErDA,kEAAK,KAAK,EAAC,sBAAsB,IAC9B,IAAI,CAAC,KAAK,EACXA,mEAAM,IAAI,EAAC,MAAM,GAAQ,CACrB,EAENA,kEAAK,KAAK,EAAC,2BAA2B,IACpCA,oEAAa,CACT,EAENA,uEAAU,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC,GAAa,CAC1D,CACF,CACD,EACP;KACH;;;;;;;","names":["h","Host"],"sources":["src/components/c-swiper-tab/c-swiper-tab.scss?tag=c-swiper-tab&encapsulation=shadow","src/components/c-swiper-tab/c-swiper-tab.tsx"],"sourcesContent":[":host(c-swiper-tab) {\n /**\n * @prop --c-swiper-tab-background-color-active: Swiper active background color\n * @prop --c-swiper-tab-background-color-disabled: Swiper disabled background color\n * @prop --c-swiper-tab-background-color: Swiper background color\n * @prop --c-swiper-tab-hover-color: Swiper hover color\n * @prop --c-swiper-tab-text-color-active: Swiper active text color\n * @prop --c-swiper-tab-text-color-disabled: Swiper disabled text color\n * @prop --c-swiper-tab-text-color: Swiper text color\n */\n --_c-swiper-tab-background-color-active: var(--c-swiper-tab-background-color-active, var(--c-primary-600));\n --_c-swiper-tab-background-color-disabled: var(--c-swiper-tab-background-color-disabled, var(--c-tertiary-100));\n --_c-swiper-tab-background-color: var(--c-swiper-tab-background-color, var(--c-primary-200));\n --_c-swiper-tab-hover-color: var(--c-swiper-tab-hover-color, var(--c-primary-100));\n --_c-swiper-tab-text-color-active: var(--c-swiper-tab-text-color-active, var(--c-white));\n --_c-swiper-tab-text-color-disabled: var(--c-swiper-tab-text-color-disabled, var(--c-tertiary-600));\n --_c-swiper-tab-text-color: var(--c-swiper-tab-text-color, var(--c-primary-600));\n\n border-radius: 8px;\n width: 100%;\n height: 100%;\n outline: none;\n text-decoration: none;\n user-select: none;\n display: grid;\n align-content: stretch;\n padding: 4px;\n background-color: transparent;\n border: none;\n}\n\n:host(:focus) {\n outline: 2px var(--_c-swiper-tab-background-color-active) solid;\n outline-offset: -2px;\n}\n\n@supports selector(:focus-visible) {\n :host(:focus) {\n outline: none;\n }\n}\n\n:host(:focus-visible) {\n outline: 2px var(--_c-swiper-tab-background-color-active) solid;\n outline-offset: -2px;\n}\n\n.c-swiper-tab {\n $this: &;\n\n height: 100%;\n\n &:hover:not(#{$this}--active):not(#{$this}--disabled) {\n #{$this}__content {\n background-color: var(--_c-swiper-tab-hover-color);\n }\n }\n\n &__content {\n border-radius: 6px;\n background-color: var(--_c-swiper-tab-background-color);\n color: var(--_c-swiper-tab-text-color);\n cursor: pointer;\n transition: background-color 0.2s ease-in-out;\n display: grid;\n gap: 4px;\n grid-template-columns: 1fr;\n line-height: 1.5;\n padding: 16px;\n align-content: start;\n position: relative;\n overflow: hidden;\n height: 100%;\n }\n\n &__header {\n line-height: 38px;\n font-size: 24px;\n display: grid;\n grid-template-columns: 1fr auto;\n gap: 16px;\n }\n\n &__description {\n align-items: start;\n opacity: 0.67;\n }\n\n &--disabled {\n #{$this}__content {\n background: var(--_c-swiper-tab-background-color-disabled);\n color: var(--_c-swiper-tab-text-color-disabled);\n cursor: default !important;\n pointer-events: none;\n }\n }\n\n &--active {\n #{$this}__content {\n background-color: var(--_c-swiper-tab-background-color-active);\n color: var(--_c-swiper-tab-text-color-active);\n pointer-events: none;\n\n &:hover {\n background-color: var(--_c-swiper-tab-background-color-active);\n }\n }\n }\n\n svg {\n fill: currentColor;\n height: 38px;\n width: 38px;\n }\n}\n","import {\n Component,\n Prop,\n h,\n Host,\n Event,\n Element,\n EventEmitter,\n Listen,\n} from '@stencil/core';\n\n/**\n * @parent c-swiper\n */\n@Component({\n tag: 'c-swiper-tab',\n styleUrl: 'c-swiper-tab.scss',\n shadow: true,\n})\nexport class CSwiperTab {\n @Element() el: HTMLCSwiperTabElement;\n\n /**\n * Disable button\n */\n @Prop() disabled = false;\n\n /**\n * Mark as active\n */\n @Prop() active = false;\n\n /**\n * Label of the button\n */\n @Prop() label: string;\n\n /**\n * Id of the button\n */\n @Prop({ attribute: 'id' }) hostId: string;\n\n /**\n * Size of the set\n * @private\n */\n @Prop() setsize: number;\n\n /**\n * Position in the set\n * @private\n */\n @Prop() position: number;\n\n /**\n * Value of the button\n */\n @Prop() value: number | string;\n\n /**\n * Emit value change to the parent\n * @private\n */\n @Event({\n bubbles: true,\n composed: true,\n cancelable: true,\n })\n changeValue: EventEmitter<number | string>;\n\n private _container?: HTMLDivElement;\n\n private _rippleElement: HTMLCRippleElement;\n\n @Listen('click', { passive: true })\n onTabClick(event) {\n if (this.active || this.disabled) return;\n\n this._rippleElement.createRipple(event, this._container);\n\n this.changeValue.emit(this.value);\n }\n\n render() {\n const classes = {\n 'c-swiper-tab': true,\n 'c-swiper-tab--active': !this.disabled && this.active,\n 'c-swiper-tab--disabled': this.disabled,\n };\n\n const a11y = {\n 'aria-selected': this.active ? 'true' : 'false',\n 'aria-setsize': this.setsize,\n 'aria-posinset': this.position,\n tabindex: this.active ? 0 : -1,\n };\n\n return (\n <Host {...a11y} role=\"tab\">\n <div id={this.hostId} class={classes}>\n <div\n class=\"c-swiper-tab__content\"\n ref={(el) => (this._container = el as HTMLDivElement)}\n >\n <div class=\"c-swiper-tab__header\">\n {this.label}\n <slot name=\"icon\"></slot>\n </div>\n\n <div class=\"c-swiper-tab__description\">\n <slot></slot>\n </div>\n\n <c-ripple ref={(el) => (this._rippleElement = el)}></c-ripple>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4fc978c6.js');
|
|
6
6
|
const mdi = require('./mdi-66dcba4d.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -4056,131 +4056,132 @@ function Navigation({
|
|
|
4056
4056
|
}
|
|
4057
4057
|
|
|
4058
4058
|
const cSwiperCss = "html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}@font-face{font-family:\"swiper-icons\";src:url(\"data:application/font-woff;charset=utf-8;base64, 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\") format(\"woff\");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff;}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translate3d(0px, 0, 0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide,swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform, height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0, 0, 0, 0.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-centered>.swiper-wrapper::before{content:\"\";flex-shrink:0;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}:host,:root{--c-swiper-background-color:var(--c-primary-200);--c-swiper-hover-color:var(--c-primary-100);--c-swiper-text-color:var(--c-primary-600);--c-swiper-active-background-color:var(--c-primary-600);--c-swiper-active-text-color:var(--c-white);--c-swiper-disabled-background-color:var(--c-tertiary-100);--c-swiper-disabled-text-color:var(--c-tertiary-600)}.c-swiper__navigation{display:grid;gap:8px;grid-template-columns:auto auto 1fr;align-items:center;margin-top:8px;padding:4px}.c-swiper .swiper-wrapper{width:1px !important;display:grid !important;grid-auto-flow:column;grid-template-columns:1fr}.c-swiper .swiper-pagination{position:relative;bottom:auto;left:auto;width:auto;text-align:right}.c-swiper .swiper-container{overflow:hidden}.c-swiper .c-icon-button--next,.c-swiper .c-icon-button--prev{z-index:1;position:relative}.c-swiper .visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}";
|
|
4059
|
+
const CSwiperStyle0 = cSwiperCss;
|
|
4059
4060
|
|
|
4060
4061
|
const CSwiper = class {
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4062
|
+
constructor(hostRef) {
|
|
4063
|
+
index.registerInstance(this, hostRef);
|
|
4064
|
+
this.changeValue = index.createEvent(this, "changeValue", 3);
|
|
4065
|
+
this._debounce = null;
|
|
4066
|
+
this.value = undefined;
|
|
4067
|
+
this.elementId = undefined;
|
|
4068
|
+
this.isBeginning = true;
|
|
4069
|
+
this.isEnd = false;
|
|
4070
|
+
this.statusText = '';
|
|
4071
|
+
}
|
|
4072
|
+
onTabClick(event) {
|
|
4073
|
+
event.stopPropagation();
|
|
4074
|
+
this.value = event.detail;
|
|
4075
|
+
this._updateStatusText();
|
|
4076
|
+
}
|
|
4077
|
+
handleKeyUp(event) {
|
|
4078
|
+
const index = +event.target.dataset.index;
|
|
4079
|
+
const isArrowLeft = event.key === 'ArrowLeft';
|
|
4080
|
+
const isArrowRight = event.key === 'ArrowRight';
|
|
4081
|
+
const isBeginning = index === 0;
|
|
4082
|
+
const isEnd = index === this.slotItems.length - 1;
|
|
4083
|
+
if (!isArrowRight && !isArrowLeft)
|
|
4084
|
+
return;
|
|
4085
|
+
if (isArrowLeft) {
|
|
4086
|
+
if (isBeginning)
|
|
4087
|
+
return;
|
|
4088
|
+
this.value = this.slotItems[index - 1].value;
|
|
4089
|
+
}
|
|
4090
|
+
if (isArrowRight) {
|
|
4091
|
+
if (isEnd)
|
|
4092
|
+
return;
|
|
4093
|
+
this.value = this.slotItems[index + 1].value;
|
|
4094
|
+
}
|
|
4095
|
+
this._slideToTab(index - 1);
|
|
4096
|
+
this.slotItems.forEach((child) => {
|
|
4097
|
+
const isActive = child.value === this.value;
|
|
4098
|
+
if (isActive) {
|
|
4099
|
+
child.focus();
|
|
4100
|
+
}
|
|
4101
|
+
});
|
|
4102
|
+
this.changeValue.emit(this.value);
|
|
4103
|
+
}
|
|
4104
|
+
get id() {
|
|
4105
|
+
return this.elementId || `c-swiper--${CSwiper._uniqueId}`;
|
|
4106
|
+
}
|
|
4107
|
+
get slotItems() {
|
|
4108
|
+
return Array.from(this._wrapper.children);
|
|
4109
|
+
}
|
|
4110
|
+
_slideToTab(index) {
|
|
4111
|
+
this._swiper.slideTo(index);
|
|
4112
|
+
this._swiper.update();
|
|
4113
|
+
}
|
|
4114
|
+
componentDidLoad() {
|
|
4115
|
+
this._options = {
|
|
4116
|
+
modules: [Navigation],
|
|
4117
|
+
breakpointsBase: 'container',
|
|
4118
|
+
loop: false,
|
|
4119
|
+
speed: 300,
|
|
4120
|
+
slideToClickedSlide: true,
|
|
4121
|
+
slidesPerView: 1,
|
|
4122
|
+
spaceBetween: 8,
|
|
4123
|
+
threshold: 4,
|
|
4124
|
+
breakpoints: {
|
|
4125
|
+
480: {
|
|
4126
|
+
slidesPerView: 2,
|
|
4127
|
+
},
|
|
4128
|
+
720: {
|
|
4129
|
+
slidesPerView: 3,
|
|
4130
|
+
},
|
|
4131
|
+
960: {
|
|
4132
|
+
slidesPerView: 4,
|
|
4133
|
+
},
|
|
4134
|
+
},
|
|
4135
|
+
navigation: {
|
|
4136
|
+
nextEl: '.c-icon-button--next',
|
|
4137
|
+
prevEl: '.c-icon-button--prev',
|
|
4138
|
+
},
|
|
4139
|
+
keyboard: true,
|
|
4140
|
+
};
|
|
4141
|
+
this._initializeSwiper();
|
|
4142
|
+
}
|
|
4143
|
+
_initializeSwiper() {
|
|
4144
|
+
var _a;
|
|
4145
|
+
for (const [index, slide] of this.slotItems.entries()) {
|
|
4146
|
+
slide.classList.add('swiper-slide');
|
|
4147
|
+
slide.setAttribute('data-index', index.toString());
|
|
4148
|
+
slide.value = (_a = slide.value) !== null && _a !== void 0 ? _a : index;
|
|
4149
|
+
slide.position = index + 1;
|
|
4150
|
+
slide.setsize = this.slotItems.length;
|
|
4151
|
+
if (slide.active) {
|
|
4152
|
+
requestAnimationFrame(() => {
|
|
4153
|
+
this._slideToTab(index);
|
|
4154
|
+
});
|
|
4155
|
+
}
|
|
4156
|
+
}
|
|
4157
|
+
this._swiper = new Swiper(this._container, Object.assign({}, this._options));
|
|
4158
|
+
this._swiper.on('activeIndexChange', ({ isBeginning, isEnd }) => {
|
|
4159
|
+
this.isBeginning = isBeginning;
|
|
4160
|
+
this.isEnd = isEnd;
|
|
4161
|
+
});
|
|
4088
4162
|
}
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4163
|
+
_updateStatusText() {
|
|
4164
|
+
this.statusText = '';
|
|
4165
|
+
if (this._debounce !== null) {
|
|
4166
|
+
clearTimeout(this._debounce);
|
|
4167
|
+
this._debounce = null;
|
|
4168
|
+
}
|
|
4169
|
+
this._debounce = window.setTimeout(() => {
|
|
4170
|
+
var _a;
|
|
4171
|
+
const selection = (_a = this.slotItems) === null || _a === void 0 ? void 0 : _a.find((item) => item.value === this.value);
|
|
4172
|
+
this.statusText += `Currently selected - ${selection === null || selection === void 0 ? void 0 : selection.label}`;
|
|
4173
|
+
this._debounce = null;
|
|
4174
|
+
}, 1400);
|
|
4093
4175
|
}
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
const isActive = child.value === this.value;
|
|
4097
|
-
if (isActive) {
|
|
4098
|
-
child.focus();
|
|
4099
|
-
}
|
|
4100
|
-
});
|
|
4101
|
-
this.changeValue.emit(this.value);
|
|
4102
|
-
}
|
|
4103
|
-
get id() {
|
|
4104
|
-
return this.elementId || `c-swiper--${CSwiper._uniqueId}`;
|
|
4105
|
-
}
|
|
4106
|
-
get slotItems() {
|
|
4107
|
-
return Array.from(this._wrapper.children);
|
|
4108
|
-
}
|
|
4109
|
-
_slideToTab(index) {
|
|
4110
|
-
this._swiper.slideTo(index);
|
|
4111
|
-
this._swiper.update();
|
|
4112
|
-
}
|
|
4113
|
-
componentDidLoad() {
|
|
4114
|
-
this._options = {
|
|
4115
|
-
modules: [Navigation],
|
|
4116
|
-
breakpointsBase: 'container',
|
|
4117
|
-
loop: false,
|
|
4118
|
-
speed: 300,
|
|
4119
|
-
slideToClickedSlide: true,
|
|
4120
|
-
slidesPerView: 1,
|
|
4121
|
-
spaceBetween: 8,
|
|
4122
|
-
threshold: 4,
|
|
4123
|
-
breakpoints: {
|
|
4124
|
-
480: {
|
|
4125
|
-
slidesPerView: 2,
|
|
4126
|
-
},
|
|
4127
|
-
720: {
|
|
4128
|
-
slidesPerView: 3,
|
|
4129
|
-
},
|
|
4130
|
-
960: {
|
|
4131
|
-
slidesPerView: 4,
|
|
4132
|
-
},
|
|
4133
|
-
},
|
|
4134
|
-
navigation: {
|
|
4135
|
-
nextEl: '.c-icon-button--next',
|
|
4136
|
-
prevEl: '.c-icon-button--prev',
|
|
4137
|
-
},
|
|
4138
|
-
keyboard: true,
|
|
4139
|
-
};
|
|
4140
|
-
this._initializeSwiper();
|
|
4141
|
-
}
|
|
4142
|
-
_initializeSwiper() {
|
|
4143
|
-
var _a;
|
|
4144
|
-
for (const [index, slide] of this.slotItems.entries()) {
|
|
4145
|
-
slide.classList.add('swiper-slide');
|
|
4146
|
-
slide.setAttribute('data-index', index.toString());
|
|
4147
|
-
slide.value = (_a = slide.value) !== null && _a !== void 0 ? _a : index;
|
|
4148
|
-
slide.position = index + 1;
|
|
4149
|
-
slide.setsize = this.slotItems.length;
|
|
4150
|
-
if (slide.active) {
|
|
4151
|
-
requestAnimationFrame(() => {
|
|
4152
|
-
this._slideToTab(index);
|
|
4153
|
-
});
|
|
4154
|
-
}
|
|
4176
|
+
componentWillLoad() {
|
|
4177
|
+
CSwiper._uniqueId += 1;
|
|
4155
4178
|
}
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
this.isBeginning = isBeginning;
|
|
4159
|
-
this.isEnd = isEnd;
|
|
4160
|
-
});
|
|
4161
|
-
}
|
|
4162
|
-
_updateStatusText() {
|
|
4163
|
-
this.statusText = '';
|
|
4164
|
-
if (this._debounce !== null) {
|
|
4165
|
-
clearTimeout(this._debounce);
|
|
4166
|
-
this._debounce = null;
|
|
4179
|
+
render() {
|
|
4180
|
+
return (index.h("div", { key: '83a5d64097c472ee3e7b1b884884672fa092635e', class: "c-swiper swiper" }, index.h("div", { key: '6171c7c64e1fe331959bce4df376948b57bffc71', id: 'announce-' + this.id, class: "visuallyhidden", "aria-live": "polite", "aria-atomic": "true" }, this.statusText), index.h("div", { key: '3b7628d245fc7fbab8191a7124ffa435dfb24747', class: "swiper-container", ref: (el) => (this._container = el) }, index.h("div", { key: '294c4252d3361fc04f468a51028476273bae30b3', role: "tablist", class: "swiper-wrapper", ref: (el) => (this._wrapper = el) }, index.h("slot", { key: '13e8a246733db5a4f057905cd6c4a5b526b84a0f' })), index.h("div", { key: 'd3feca184678a531f7c9bae47e309fc49d3cbf79', class: "c-swiper__navigation" }, index.h("c-icon-button", { key: '16cdffde3b01796f27bf5cc599e7ad97a51dc794', "aria-disabled": this.isBeginning ? 'true' : 'false', "aria-label": "previous page", class: "c-icon-button--prev", disabled: this.isBeginning, size: "small", ghost: true }, index.h("span", { key: '90df2f328f7afc6a52a69a71c3a206c04b174be9', class: "visuallyhidden" }, "Previous", index.h("span", { key: '9cc1e7d4838f2dbe2d89caed4a1bc9bfef56e0d4' }, "page")), index.h("svg", { key: '7c61683917fdf688538934549056b753ac1a0be5', width: "24", height: "24", viewBox: "0 0 24 24" }, index.h("path", { key: '4f3fe4d959022d6fcf9210cbb10023a8aa5e9d43', d: mdi.mdiChevronLeft }))), index.h("c-icon-button", { key: 'caaf074d2c82537d51a571b0e8c650241d401aa3', "aria-disabled": this.isEnd ? 'true' : 'false', "aria-label": "next page", class: "c-icon-button--next", disabled: this.isEnd, size: "small", ghost: true }, index.h("span", { key: 'a9201fd8811e6ce4a770332981126883490f5f08', class: "visuallyhidden" }, "Next", index.h("span", { key: '856ecbfab621744c03dd94924914a134e6372cb2' }, "page")), index.h("svg", { key: '7740d7b11aa94270509a7871ba0816a6ffae3393', width: "24", height: "24", viewBox: "0 0 24 24" }, index.h("path", { key: '2489a151590a4314bc8c0b62b9790680e1226050', d: mdi.mdiChevronRight })))))));
|
|
4167
4181
|
}
|
|
4168
|
-
this._debounce = window.setTimeout(() => {
|
|
4169
|
-
var _a;
|
|
4170
|
-
const selection = (_a = this.slotItems) === null || _a === void 0 ? void 0 : _a.find((item) => item.value === this.value);
|
|
4171
|
-
this.statusText += `Currently selected - ${selection === null || selection === void 0 ? void 0 : selection.label}`;
|
|
4172
|
-
this._debounce = null;
|
|
4173
|
-
}, 1400);
|
|
4174
|
-
}
|
|
4175
|
-
componentWillLoad() {
|
|
4176
|
-
CSwiper._uniqueId += 1;
|
|
4177
|
-
}
|
|
4178
|
-
render() {
|
|
4179
|
-
return (index.h("div", { class: "c-swiper swiper" }, index.h("div", { id: 'announce-' + this.id, class: "visuallyhidden", "aria-live": "polite", "aria-atomic": "true" }, this.statusText), index.h("div", { class: "swiper-container", ref: (el) => (this._container = el) }, index.h("div", { role: "tablist", class: "swiper-wrapper", ref: (el) => (this._wrapper = el) }, index.h("slot", null)), index.h("div", { class: "c-swiper__navigation" }, index.h("c-icon-button", { "aria-disabled": this.isBeginning ? 'true' : 'false', "aria-label": "previous page", class: "c-icon-button--prev", disabled: this.isBeginning, size: "small", ghost: true }, index.h("span", { class: "visuallyhidden" }, "Previous", index.h("span", null, "page")), index.h("svg", { width: "24", height: "24", viewBox: "0 0 24 24" }, index.h("path", { d: mdi.mdiChevronLeft }))), index.h("c-icon-button", { "aria-disabled": this.isEnd ? 'true' : 'false', "aria-label": "next page", class: "c-icon-button--next", disabled: this.isEnd, size: "small", ghost: true }, index.h("span", { class: "visuallyhidden" }, "Next", index.h("span", null, "page")), index.h("svg", { width: "24", height: "24", viewBox: "0 0 24 24" }, index.h("path", { d: mdi.mdiChevronRight })))))));
|
|
4180
|
-
}
|
|
4181
4182
|
};
|
|
4182
4183
|
CSwiper._uniqueId = 0;
|
|
4183
|
-
CSwiper.style =
|
|
4184
|
+
CSwiper.style = CSwiperStyle0;
|
|
4184
4185
|
|
|
4185
4186
|
exports.c_swiper = CSwiper;
|
|
4186
4187
|
|