@cscfi/csc-ui 3.0.19 → 4.0.0-alpha.1
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/README.md +40 -40
- package/dist/csc-ui.js +20100 -0
- package/dist/css-anchor-positioning-fn-RTxo68pt.js +6447 -0
- package/dist/custom-elements.json +11447 -0
- package/dist/docs/c-autocomplete/usage.md +28 -0
- package/dist/docs/c-button/usage.md +31 -0
- package/dist/docs/c-button-group/usage.md +57 -0
- package/dist/docs/c-link/usage.md +1 -0
- package/dist/docs/c-loader/usage.md +1 -0
- package/dist/docs/c-main/usage.md +1 -0
- package/dist/docs/c-menu-item/usage.md +1 -0
- package/dist/docs/c-menu-label/usage.md +1 -0
- package/dist/docs/c-modal/usage.md +70 -0
- package/dist/docs/c-tab-buttons/usage.md +11 -0
- package/dist/docs/c-toast/usage.md +1 -0
- package/dist/docs/c-toasts/usage.md +30 -0
- package/dist/styles/css/tailwind-theme.css +118 -0
- package/dist/styles/css/tokens.css +464 -0
- package/dist/vscode.css-custom-data.json +580 -0
- package/dist/vscode.html-custom-data.json +1855 -0
- package/dist/web-types.json +5698 -0
- package/dist-types/components/c-accordion/CAccordion.vue.d.ts +46 -0
- package/dist-types/components/c-accordion-item/CAccordionItem.vue.d.ts +56 -0
- package/dist-types/components/c-alert/CAlert.vue.d.ts +32 -0
- package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +138 -0
- package/dist-types/components/c-badge/CBadge.vue.d.ts +13 -0
- package/dist-types/components/c-button/CButton.vue.d.ts +146 -0
- package/dist-types/components/c-button-group/CButtonGroup.vue.d.ts +66 -0
- package/dist-types/components/c-card/CCard.vue.d.ts +26 -0
- package/dist-types/components/c-card-actions/CCardActions.vue.d.ts +36 -0
- package/dist-types/components/c-card-content/CCardContent.vue.d.ts +13 -0
- package/dist-types/components/c-card-title/CCardTitle.vue.d.ts +15 -0
- package/dist-types/components/c-checkbox/CCheckbox.vue.d.ts +120 -0
- package/dist-types/components/c-csc-logo/CCscLogo.vue.d.ts +13 -0
- package/dist-types/components/c-data-table/CDataTable.vue.d.ts +222 -0
- package/dist-types/components/c-divider/CDivider.vue.d.ts +9 -0
- package/dist-types/components/c-dropdown/CDropdown.vue.d.ts +61 -0
- package/dist-types/components/c-icon/CIcon.vue.d.ts +22 -0
- package/dist-types/components/c-icon-button/CIconButton.vue.d.ts +89 -0
- package/dist-types/components/c-input/CInput.vue.d.ts +101 -0
- package/dist-types/components/c-link/CLink.vue.d.ts +46 -0
- package/dist-types/components/c-list/CList.vue.d.ts +30 -0
- package/dist-types/components/c-list-item/CListItem.vue.d.ts +71 -0
- package/dist-types/components/c-list-item-title/CListItemTitle.vue.d.ts +23 -0
- package/dist-types/components/c-loader/CLoader.vue.d.ts +55 -0
- package/dist-types/components/c-login-button/CLoginButton.vue.d.ts +40 -0
- package/dist-types/components/c-login-buttons/CLoginButtons.vue.d.ts +13 -0
- package/dist-types/components/c-login-card/CLoginCard.vue.d.ts +55 -0
- package/dist-types/components/c-login-card-actions/CLoginCardActions.vue.d.ts +36 -0
- package/dist-types/components/c-login-card-content/CLoginCardContent.vue.d.ts +13 -0
- package/dist-types/components/c-login-card-title/CLoginCardTitle.vue.d.ts +13 -0
- package/dist-types/components/c-main/CMain.vue.d.ts +23 -0
- package/dist-types/components/c-menu/CMenu.vue.d.ts +28 -0
- package/dist-types/components/c-menu-item/CMenuItem.vue.d.ts +34 -0
- package/dist-types/components/c-menu-label/CMenuLabel.vue.d.ts +13 -0
- package/dist-types/components/c-message/CMessage.vue.d.ts +36 -0
- package/dist-types/components/c-modal/CModal.vue.d.ts +38 -0
- package/dist-types/components/c-navigation-button/CNavigationButton.vue.d.ts +3 -0
- package/dist-types/components/c-option/COption.vue.d.ts +32 -0
- package/dist-types/components/c-option-value/COptionValue.vue.d.ts +13 -0
- package/dist-types/components/c-otp-input/COtpInput.vue.d.ts +87 -0
- package/dist-types/components/c-page/CPage.vue.d.ts +25 -0
- package/dist-types/components/c-pagination/CPagination.vue.d.ts +57 -0
- package/dist-types/components/c-progress-bar/CProgressBar.vue.d.ts +42 -0
- package/dist-types/components/c-radio/CRadio.vue.d.ts +38 -0
- package/dist-types/components/c-radio-group/CRadioGroup.vue.d.ts +108 -0
- package/dist-types/components/c-select/CSelect.vue.d.ts +104 -0
- package/dist-types/components/c-side-navigation/CSideNavigation.vue.d.ts +39 -0
- package/dist-types/components/c-side-navigation-item/CSideNavigationItem.vue.d.ts +51 -0
- package/dist-types/components/c-side-navigation-title/CSideNavigationTitle.vue.d.ts +13 -0
- package/dist-types/components/c-slider/CSlider.vue.d.ts +109 -0
- package/dist-types/components/c-spinner/CSpinner.vue.d.ts +28 -0
- package/dist-types/components/c-status/CStatus.vue.d.ts +23 -0
- package/dist-types/components/c-step/CStep.vue.d.ts +30 -0
- package/dist-types/components/c-steps/CSteps.vue.d.ts +23 -0
- package/dist-types/components/c-sub-navigation-item/CSubNavigationItem.vue.d.ts +53 -0
- package/dist-types/components/c-switch/CSwitch.vue.d.ts +80 -0
- package/dist-types/components/c-tab/CTab.vue.d.ts +60 -0
- package/dist-types/components/c-tab-buttons/CTabButtons.vue.d.ts +36 -0
- package/dist-types/components/c-tab-item/CTabItem.vue.d.ts +30 -0
- package/dist-types/components/c-tab-items/CTabItems.vue.d.ts +30 -0
- package/dist-types/components/c-table/CTable.vue.d.ts +20 -0
- package/dist-types/components/c-tabs/CTabs.vue.d.ts +63 -0
- package/dist-types/components/c-tag/CTag.vue.d.ts +53 -0
- package/dist-types/components/c-tags/CTags.vue.d.ts +37 -0
- package/dist-types/components/c-text-field/CTextField.vue.d.ts +194 -0
- package/dist-types/components/c-toast/CToast.vue.d.ts +23 -0
- package/dist-types/components/c-toasts/CToasts.vue.d.ts +46 -0
- package/dist-types/components/c-toolbar/CToolbar.vue.d.ts +13 -0
- package/dist-types/index.d.ts +38 -0
- package/dist-types/shared/FormLabel.vue.d.ts +34 -0
- package/dist-types/shared/anchorPolyfill.d.ts +24 -0
- package/dist-types/shared/coerceBoolean.d.ts +19 -0
- package/dist-types/shared/defineElement.d.ts +20 -0
- package/dist-types/shared/emitModelValue.d.ts +37 -0
- package/dist-types/shared/modalStack.d.ts +63 -0
- package/dist-types/shared/useHasSlot.d.ts +24 -0
- package/dist-types/shared/useHostEmit.d.ts +1 -0
- package/dist-types/shared/useRipple.d.ts +51 -0
- package/dist-types/tag-name-map.d.ts +1533 -0
- package/dist-types/theme/applyTheme.d.ts +25 -0
- package/dist-types/types.d.ts +51 -0
- package/package.json +63 -88
- package/LICENSE +0 -21
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -8
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
- package/dist/cjs/c-accordion-item.cjs.entry.js +0 -123
- package/dist/cjs/c-accordion-item.cjs.entry.js.map +0 -1
- package/dist/cjs/c-accordion-item.entry.cjs.js.map +0 -1
- package/dist/cjs/c-accordion.cjs.entry.js +0 -66
- package/dist/cjs/c-accordion.cjs.entry.js.map +0 -1
- package/dist/cjs/c-accordion.entry.cjs.js.map +0 -1
- package/dist/cjs/c-alert.cjs.entry.js +0 -28
- package/dist/cjs/c-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/c-alert.entry.cjs.js.map +0 -1
- package/dist/cjs/c-autocomplete_35.cjs.entry.js +0 -2672
- package/dist/cjs/c-autocomplete_35.cjs.entry.js.map +0 -1
- package/dist/cjs/c-data-table.cjs.entry.js +0 -708
- package/dist/cjs/c-data-table.cjs.entry.js.map +0 -1
- package/dist/cjs/c-data-table.entry.cjs.js.map +0 -1
- package/dist/cjs/c-link.cjs.entry.js +0 -30
- package/dist/cjs/c-link.cjs.entry.js.map +0 -1
- package/dist/cjs/c-link.entry.cjs.js.map +0 -1
- package/dist/cjs/c-list-item-title.cjs.entry.js +0 -25
- package/dist/cjs/c-list-item-title.cjs.entry.js.map +0 -1
- package/dist/cjs/c-list-item-title.entry.cjs.js.map +0 -1
- package/dist/cjs/c-list-item.cjs.entry.js +0 -81
- package/dist/cjs/c-list-item.cjs.entry.js.map +0 -1
- package/dist/cjs/c-list-item.entry.cjs.js.map +0 -1
- package/dist/cjs/c-list.cjs.entry.js +0 -46
- package/dist/cjs/c-list.cjs.entry.js.map +0 -1
- package/dist/cjs/c-list.entry.cjs.js.map +0 -1
- package/dist/cjs/c-login-button.cjs.entry.js +0 -23
- package/dist/cjs/c-login-button.cjs.entry.js.map +0 -1
- package/dist/cjs/c-login-button.entry.cjs.js.map +0 -1
- package/dist/cjs/c-login-buttons.cjs.entry.js +0 -20
- package/dist/cjs/c-login-buttons.cjs.entry.js.map +0 -1
- package/dist/cjs/c-login-buttons.entry.cjs.js.map +0 -1
- package/dist/cjs/c-login-card-actions.cjs.entry.js +0 -19
- package/dist/cjs/c-login-card-actions.cjs.entry.js.map +0 -1
- package/dist/cjs/c-login-card-actions.entry.cjs.js.map +0 -1
- package/dist/cjs/c-login-card-content.cjs.entry.js +0 -20
- package/dist/cjs/c-login-card-content.cjs.entry.js.map +0 -1
- package/dist/cjs/c-login-card-content.entry.cjs.js.map +0 -1
- package/dist/cjs/c-login-card-title.cjs.entry.js +0 -20
- package/dist/cjs/c-login-card-title.cjs.entry.js.map +0 -1
- package/dist/cjs/c-login-card-title.entry.cjs.js.map +0 -1
- package/dist/cjs/c-login-card.cjs.entry.js +0 -65
- package/dist/cjs/c-login-card.cjs.entry.js.map +0 -1
- package/dist/cjs/c-login-card.entry.cjs.js.map +0 -1
- package/dist/cjs/c-menu.c-menu-items.entry.cjs.js.map +0 -1
- package/dist/cjs/c-menu_2.cjs.entry.js +0 -352
- package/dist/cjs/c-menu_2.cjs.entry.js.map +0 -1
- package/dist/cjs/c-modal.cjs.entry.js +0 -178
- package/dist/cjs/c-modal.cjs.entry.js.map +0 -1
- package/dist/cjs/c-modal.entry.cjs.js.map +0 -1
- package/dist/cjs/c-option-value.cjs.entry.js +0 -20
- package/dist/cjs/c-option-value.cjs.entry.js.map +0 -1
- package/dist/cjs/c-option-value.entry.cjs.js.map +0 -1
- package/dist/cjs/c-pagination.cjs.entry.js +0 -223
- package/dist/cjs/c-pagination.cjs.entry.js.map +0 -1
- package/dist/cjs/c-pagination.entry.cjs.js.map +0 -1
- package/dist/cjs/c-progress-bar.cjs.entry.js +0 -58
- package/dist/cjs/c-progress-bar.cjs.entry.js.map +0 -1
- package/dist/cjs/c-progress-bar.entry.cjs.js.map +0 -1
- package/dist/cjs/c-row.cjs.entry.js +0 -32
- package/dist/cjs/c-row.cjs.entry.js.map +0 -1
- package/dist/cjs/c-row.entry.cjs.js.map +0 -1
- package/dist/cjs/c-slider.cjs.entry.js +0 -94
- package/dist/cjs/c-slider.cjs.entry.js.map +0 -1
- package/dist/cjs/c-slider.entry.cjs.js.map +0 -1
- package/dist/cjs/c-status.cjs.entry.js +0 -21
- package/dist/cjs/c-status.cjs.entry.js.map +0 -1
- package/dist/cjs/c-status.entry.cjs.js.map +0 -1
- package/dist/cjs/c-step.cjs.entry.js +0 -26
- package/dist/cjs/c-step.cjs.entry.js.map +0 -1
- package/dist/cjs/c-step.entry.cjs.js.map +0 -1
- package/dist/cjs/c-steps.cjs.entry.js +0 -76
- package/dist/cjs/c-steps.cjs.entry.js.map +0 -1
- package/dist/cjs/c-steps.entry.cjs.js.map +0 -1
- package/dist/cjs/c-swiper-tab.cjs.entry.js +0 -41
- package/dist/cjs/c-swiper-tab.cjs.entry.js.map +0 -1
- package/dist/cjs/c-swiper-tab.entry.cjs.js.map +0 -1
- package/dist/cjs/c-swiper.cjs.entry.js +0 -4181
- package/dist/cjs/c-swiper.cjs.entry.js.map +0 -1
- package/dist/cjs/c-swiper.entry.cjs.js.map +0 -1
- package/dist/cjs/c-tab-buttons.cjs.entry.js +0 -132
- package/dist/cjs/c-tab-buttons.cjs.entry.js.map +0 -1
- package/dist/cjs/c-tab-buttons.entry.cjs.js.map +0 -1
- package/dist/cjs/c-tab-item.cjs.entry.js +0 -39
- package/dist/cjs/c-tab-item.cjs.entry.js.map +0 -1
- package/dist/cjs/c-tab-item.entry.cjs.js.map +0 -1
- package/dist/cjs/c-tab-items.cjs.entry.js +0 -76
- package/dist/cjs/c-tab-items.cjs.entry.js.map +0 -1
- package/dist/cjs/c-tab-items.entry.cjs.js.map +0 -1
- package/dist/cjs/c-tab.cjs.entry.js +0 -54
- package/dist/cjs/c-tab.cjs.entry.js.map +0 -1
- package/dist/cjs/c-tab.entry.cjs.js.map +0 -1
- package/dist/cjs/c-tabs.cjs.entry.js +0 -423
- package/dist/cjs/c-tabs.cjs.entry.js.map +0 -1
- package/dist/cjs/c-tabs.entry.cjs.js.map +0 -1
- package/dist/cjs/c-tag.cjs.entry.js +0 -46
- package/dist/cjs/c-tag.cjs.entry.js.map +0 -1
- package/dist/cjs/c-tag.entry.cjs.js.map +0 -1
- package/dist/cjs/c-tags.cjs.entry.js +0 -30
- package/dist/cjs/c-tags.cjs.entry.js.map +0 -1
- package/dist/cjs/c-tags.entry.cjs.js.map +0 -1
- package/dist/cjs/c-text-field-open.cjs.entry.js +0 -152
- package/dist/cjs/c-text-field-open.cjs.entry.js.map +0 -1
- package/dist/cjs/c-text-field-open.entry.cjs.js.map +0 -1
- package/dist/cjs/c-toast.cjs.entry.js +0 -71
- package/dist/cjs/c-toast.cjs.entry.js.map +0 -1
- package/dist/cjs/c-toast.entry.cjs.js.map +0 -1
- package/dist/cjs/c-toasts.cjs.entry.js +0 -79
- package/dist/cjs/c-toasts.cjs.entry.js.map +0 -1
- package/dist/cjs/c-toasts.entry.cjs.js.map +0 -1
- package/dist/cjs/csc-ui.cjs.js +0 -28
- package/dist/cjs/csc-ui.cjs.js.map +0 -1
- package/dist/cjs/index-BTBT6v3v.js +0 -2056
- package/dist/cjs/index-BTBT6v3v.js.map +0 -1
- package/dist/cjs/index.cjs.js +0 -24
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js +0 -16
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/mdi-D4fs5l1W.js +0 -49
- package/dist/cjs/mdi-D4fs5l1W.js.map +0 -1
- package/dist/collection/collection-manifest.json +0 -83
- package/dist/collection/components/c-accordion/c-accordion.css +0 -31
- package/dist/collection/components/c-accordion/c-accordion.js +0 -179
- package/dist/collection/components/c-accordion/c-accordion.js.map +0 -1
- package/dist/collection/components/c-accordion/test/c-accordion.visual.js +0 -52
- package/dist/collection/components/c-accordion/test/c-accordion.visual.js.map +0 -1
- package/dist/collection/components/c-accordion-item/c-accordion-item.css +0 -139
- package/dist/collection/components/c-accordion-item/c-accordion-item.js +0 -273
- package/dist/collection/components/c-accordion-item/c-accordion-item.js.map +0 -1
- package/dist/collection/components/c-alert/c-alert.css +0 -67
- package/dist/collection/components/c-alert/c-alert.js +0 -58
- package/dist/collection/components/c-alert/c-alert.js.map +0 -1
- package/dist/collection/components/c-alert/test/c-alert.visual.js +0 -24
- package/dist/collection/components/c-alert/test/c-alert.visual.js.map +0 -1
- package/dist/collection/components/c-autocomplete/c-autocomplete.css +0 -233
- package/dist/collection/components/c-autocomplete/c-autocomplete.js +0 -806
- package/dist/collection/components/c-autocomplete/c-autocomplete.js.map +0 -1
- package/dist/collection/components/c-autocomplete/test/c-autocomplete.visual.js +0 -31
- package/dist/collection/components/c-autocomplete/test/c-autocomplete.visual.js.map +0 -1
- package/dist/collection/components/c-backdrop/c-backdrop.css +0 -60
- package/dist/collection/components/c-backdrop/c-backdrop.js +0 -64
- package/dist/collection/components/c-backdrop/c-backdrop.js.map +0 -1
- package/dist/collection/components/c-badge/c-badge.css +0 -51
- package/dist/collection/components/c-badge/c-badge.js +0 -19
- package/dist/collection/components/c-badge/c-badge.js.map +0 -1
- package/dist/collection/components/c-button/c-button.css +0 -749
- package/dist/collection/components/c-button/c-button.js +0 -545
- package/dist/collection/components/c-button/c-button.js.map +0 -1
- package/dist/collection/components/c-button/test/c-button.visual.js +0 -98
- package/dist/collection/components/c-button/test/c-button.visual.js.map +0 -1
- package/dist/collection/components/c-card/assets/puhti.gif +0 -0
- package/dist/collection/components/c-card/c-card.css +0 -67
- package/dist/collection/components/c-card/c-card.js +0 -141
- package/dist/collection/components/c-card/c-card.js.map +0 -1
- package/dist/collection/components/c-card/test/c-card.visual.js +0 -18
- package/dist/collection/components/c-card/test/c-card.visual.js.map +0 -1
- package/dist/collection/components/c-card-actions/c-card-actions.css +0 -72
- package/dist/collection/components/c-card-actions/c-card-actions.js +0 -72
- package/dist/collection/components/c-card-actions/c-card-actions.js.map +0 -1
- package/dist/collection/components/c-card-content/c-card-content.css +0 -36
- package/dist/collection/components/c-card-content/c-card-content.js +0 -19
- package/dist/collection/components/c-card-content/c-card-content.js.map +0 -1
- package/dist/collection/components/c-card-title/c-card-title.css +0 -70
- package/dist/collection/components/c-card-title/c-card-title.js +0 -49
- package/dist/collection/components/c-card-title/c-card-title.js.map +0 -1
- package/dist/collection/components/c-checkbox/c-checkbox.css +0 -149
- package/dist/collection/components/c-checkbox/c-checkbox.js +0 -379
- package/dist/collection/components/c-checkbox/c-checkbox.js.map +0 -1
- package/dist/collection/components/c-checkbox/test/c-checkbox.visual.js +0 -22
- package/dist/collection/components/c-checkbox/test/c-checkbox.visual.js.map +0 -1
- package/dist/collection/components/c-csc-logo/c-csc-logo.css +0 -43
- package/dist/collection/components/c-csc-logo/c-csc-logo.js +0 -47
- package/dist/collection/components/c-csc-logo/c-csc-logo.js.map +0 -1
- package/dist/collection/components/c-data-table/c-data-table.css +0 -470
- package/dist/collection/components/c-data-table/c-data-table.js +0 -1205
- package/dist/collection/components/c-data-table/c-data-table.js.map +0 -1
- package/dist/collection/components/c-data-table/test/c-data-table.visual.js +0 -31
- package/dist/collection/components/c-data-table/test/c-data-table.visual.js.map +0 -1
- package/dist/collection/components/c-data-table/test/data/index.js +0 -104
- package/dist/collection/components/c-data-table/test/data/index.js.map +0 -1
- package/dist/collection/components/c-dropdown/c-dropdown-options-item.js +0 -3
- package/dist/collection/components/c-dropdown/c-dropdown-options-item.js.map +0 -1
- package/dist/collection/components/c-dropdown/c-dropdown.css +0 -164
- package/dist/collection/components/c-dropdown/c-dropdown.js +0 -651
- package/dist/collection/components/c-dropdown/c-dropdown.js.map +0 -1
- package/dist/collection/components/c-icon/c-icon.css +0 -44
- package/dist/collection/components/c-icon/c-icon.js +0 -93
- package/dist/collection/components/c-icon/c-icon.js.map +0 -1
- package/dist/collection/components/c-icon-button/c-icon-button.css +0 -689
- package/dist/collection/components/c-icon-button/c-icon-button.js +0 -257
- package/dist/collection/components/c-icon-button/c-icon-button.js.map +0 -1
- package/dist/collection/components/c-icon-button/test/c-icon-button.visual.js +0 -22
- package/dist/collection/components/c-icon-button/test/c-icon-button.visual.js.map +0 -1
- package/dist/collection/components/c-input/c-input.css +0 -335
- package/dist/collection/components/c-input/c-input.js +0 -887
- package/dist/collection/components/c-input/c-input.js.map +0 -1
- package/dist/collection/components/c-link/c-link.css +0 -60
- package/dist/collection/components/c-link/c-link.js +0 -115
- package/dist/collection/components/c-link/c-link.js.map +0 -1
- package/dist/collection/components/c-link/test/c-link.visual.js +0 -14
- package/dist/collection/components/c-link/test/c-link.visual.js.map +0 -1
- package/dist/collection/components/c-list/c-list.css +0 -38
- package/dist/collection/components/c-list/c-list.js +0 -93
- package/dist/collection/components/c-list/c-list.js.map +0 -1
- package/dist/collection/components/c-list-item/c-list-item.css +0 -96
- package/dist/collection/components/c-list-item/c-list-item.js +0 -231
- package/dist/collection/components/c-list-item/c-list-item.js.map +0 -1
- package/dist/collection/components/c-list-item-title/c-list-item-title.css +0 -38
- package/dist/collection/components/c-list-item-title/c-list-item-title.js +0 -50
- package/dist/collection/components/c-list-item-title/c-list-item-title.js.map +0 -1
- package/dist/collection/components/c-loader/c-loader.css +0 -106
- package/dist/collection/components/c-loader/c-loader.js +0 -126
- package/dist/collection/components/c-loader/c-loader.js.map +0 -1
- package/dist/collection/components/c-login-button/c-login-button.css +0 -84
- package/dist/collection/components/c-login-button/c-login-button.js +0 -87
- package/dist/collection/components/c-login-button/c-login-button.js.map +0 -1
- package/dist/collection/components/c-login-buttons/c-login-buttons.css +0 -28
- package/dist/collection/components/c-login-buttons/c-login-buttons.js +0 -19
- package/dist/collection/components/c-login-buttons/c-login-buttons.js.map +0 -1
- package/dist/collection/components/c-login-card/c-login-card.css +0 -96
- package/dist/collection/components/c-login-card/c-login-card.js +0 -181
- package/dist/collection/components/c-login-card/c-login-card.js.map +0 -1
- package/dist/collection/components/c-login-card/test/c-login-card.visual.js +0 -18
- package/dist/collection/components/c-login-card/test/c-login-card.visual.js.map +0 -1
- package/dist/collection/components/c-login-card-actions/c-login-card-actions.js +0 -57
- package/dist/collection/components/c-login-card-actions/c-login-card-actions.js.map +0 -1
- package/dist/collection/components/c-login-card-content/c-login-card-content.css +0 -31
- package/dist/collection/components/c-login-card-content/c-login-card-content.js +0 -19
- package/dist/collection/components/c-login-card-content/c-login-card-content.js.map +0 -1
- package/dist/collection/components/c-login-card-title/c-login-card-title.css +0 -37
- package/dist/collection/components/c-login-card-title/c-login-card-title.js +0 -19
- package/dist/collection/components/c-login-card-title/c-login-card-title.js.map +0 -1
- package/dist/collection/components/c-main/c-main.css +0 -61
- package/dist/collection/components/c-main/c-main.js +0 -46
- package/dist/collection/components/c-main/c-main.js.map +0 -1
- package/dist/collection/components/c-menu/c-menu.css +0 -123
- package/dist/collection/components/c-menu/c-menu.js +0 -296
- package/dist/collection/components/c-menu/c-menu.js.map +0 -1
- package/dist/collection/components/c-menu/test/c-menu.visual.js +0 -43
- package/dist/collection/components/c-menu/test/c-menu.visual.js.map +0 -1
- package/dist/collection/components/c-menu-items/c-menu-items.css +0 -102
- package/dist/collection/components/c-menu-items/c-menu-items.js +0 -438
- package/dist/collection/components/c-menu-items/c-menu-items.js.map +0 -1
- package/dist/collection/components/c-message/c-message.css +0 -75
- package/dist/collection/components/c-message/c-message.js +0 -161
- package/dist/collection/components/c-message/c-message.js.map +0 -1
- package/dist/collection/components/c-modal/c-modal.css +0 -83
- package/dist/collection/components/c-modal/c-modal.js +0 -310
- package/dist/collection/components/c-modal/c-modal.js.map +0 -1
- package/dist/collection/components/c-navigation-button/c-navigation-button.css +0 -38
- package/dist/collection/components/c-navigation-button/c-navigation-button.js +0 -20
- package/dist/collection/components/c-navigation-button/c-navigation-button.js.map +0 -1
- package/dist/collection/components/c-option/c-option.css +0 -28
- package/dist/collection/components/c-option/c-option.js +0 -105
- package/dist/collection/components/c-option/c-option.js.map +0 -1
- package/dist/collection/components/c-option-value/c-option-value.css +0 -26
- package/dist/collection/components/c-option-value/c-option-value.js +0 -19
- package/dist/collection/components/c-option-value/c-option-value.js.map +0 -1
- package/dist/collection/components/c-otp-input/c-otp-input.css +0 -92
- package/dist/collection/components/c-otp-input/c-otp-input.js +0 -396
- package/dist/collection/components/c-otp-input/c-otp-input.js.map +0 -1
- package/dist/collection/components/c-page/c-page.css +0 -66
- package/dist/collection/components/c-page/c-page.js +0 -58
- package/dist/collection/components/c-page/c-page.js.map +0 -1
- package/dist/collection/components/c-pagination/c-pagination.css +0 -129
- package/dist/collection/components/c-pagination/c-pagination.js +0 -367
- package/dist/collection/components/c-pagination/c-pagination.js.map +0 -1
- package/dist/collection/components/c-pagination/test/c-pagination.visual.js +0 -42
- package/dist/collection/components/c-pagination/test/c-pagination.visual.js.map +0 -1
- package/dist/collection/components/c-progress-bar/c-progress-bar.css +0 -143
- package/dist/collection/components/c-progress-bar/c-progress-bar.js +0 -163
- package/dist/collection/components/c-progress-bar/c-progress-bar.js.map +0 -1
- package/dist/collection/components/c-progress-bar/test/c-progress-bar.visual.js +0 -22
- package/dist/collection/components/c-progress-bar/test/c-progress-bar.visual.js.map +0 -1
- package/dist/collection/components/c-radio/c-radio.css +0 -26
- package/dist/collection/components/c-radio/c-radio.js +0 -86
- package/dist/collection/components/c-radio/c-radio.js.map +0 -1
- package/dist/collection/components/c-radio-group/c-radio-group.css +0 -160
- package/dist/collection/components/c-radio-group/c-radio-group.js +0 -407
- package/dist/collection/components/c-radio-group/c-radio-group.js.map +0 -1
- package/dist/collection/components/c-radio-group/test/c-radio-group.visual.js +0 -24
- package/dist/collection/components/c-radio-group/test/c-radio-group.visual.js.map +0 -1
- package/dist/collection/components/c-radio-group/test/items.js +0 -6
- package/dist/collection/components/c-radio-group/test/items.js.map +0 -1
- package/dist/collection/components/c-ripple/c-ripple.css +0 -53
- package/dist/collection/components/c-ripple/c-ripple.js +0 -94
- package/dist/collection/components/c-ripple/c-ripple.js.map +0 -1
- package/dist/collection/components/c-row/c-row.css +0 -71
- package/dist/collection/components/c-row/c-row.js +0 -127
- package/dist/collection/components/c-row/c-row.js.map +0 -1
- package/dist/collection/components/c-select/c-select.css +0 -212
- package/dist/collection/components/c-select/c-select.js +0 -852
- package/dist/collection/components/c-select/c-select.js.map +0 -1
- package/dist/collection/components/c-select/test/c-select.visual.js +0 -36
- package/dist/collection/components/c-select/test/c-select.visual.js.map +0 -1
- package/dist/collection/components/c-select/test/items.js +0 -10
- package/dist/collection/components/c-select/test/items.js.map +0 -1
- package/dist/collection/components/c-side-navigation/c-side-navigation.css +0 -162
- package/dist/collection/components/c-side-navigation/c-side-navigation.js +0 -153
- package/dist/collection/components/c-side-navigation/c-side-navigation.js.map +0 -1
- package/dist/collection/components/c-side-navigation/test/c-side-navigation.visual.js +0 -16
- package/dist/collection/components/c-side-navigation/test/c-side-navigation.visual.js.map +0 -1
- package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.css +0 -173
- package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.js +0 -235
- package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.js.map +0 -1
- package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.css +0 -40
- package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.js +0 -19
- package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.js.map +0 -1
- package/dist/collection/components/c-slider/c-slider.css +0 -258
- package/dist/collection/components/c-slider/c-slider.js +0 -412
- package/dist/collection/components/c-slider/c-slider.js.map +0 -1
- package/dist/collection/components/c-spacer/c-spacer.css +0 -26
- package/dist/collection/components/c-spacer/c-spacer.js +0 -19
- package/dist/collection/components/c-spacer/c-spacer.js.map +0 -1
- package/dist/collection/components/c-spinner/c-spinner.css +0 -64
- package/dist/collection/components/c-spinner/c-spinner.js +0 -98
- package/dist/collection/components/c-spinner/c-spinner.js.map +0 -1
- package/dist/collection/components/c-status/c-status.css +0 -79
- package/dist/collection/components/c-status/c-status.js +0 -43
- package/dist/collection/components/c-status/c-status.js.map +0 -1
- package/dist/collection/components/c-status/test/c-status.visual.js +0 -10
- package/dist/collection/components/c-status/test/c-status.visual.js.map +0 -1
- package/dist/collection/components/c-step/c-step.css +0 -109
- package/dist/collection/components/c-step/c-step.js +0 -77
- package/dist/collection/components/c-step/c-step.js.map +0 -1
- package/dist/collection/components/c-steps/c-steps.css +0 -86
- package/dist/collection/components/c-steps/c-steps.js +0 -126
- package/dist/collection/components/c-steps/c-steps.js.map +0 -1
- package/dist/collection/components/c-steps/test/c-steps.visual.js +0 -19
- package/dist/collection/components/c-steps/test/c-steps.visual.js.map +0 -1
- package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.css +0 -189
- package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.js +0 -151
- package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.js.map +0 -1
- package/dist/collection/components/c-swiper/c-swiper.css +0 -322
- package/dist/collection/components/c-swiper/c-swiper.js +0 -219
- package/dist/collection/components/c-swiper/c-swiper.js.map +0 -1
- package/dist/collection/components/c-swiper/test/c-swiper.visual.js +0 -20
- package/dist/collection/components/c-swiper/test/c-swiper.visual.js.map +0 -1
- package/dist/collection/components/c-swiper-tab/c-swiper-tab.css +0 -120
- package/dist/collection/components/c-swiper-tab/c-swiper-tab.js +0 -219
- package/dist/collection/components/c-swiper-tab/c-swiper-tab.js.map +0 -1
- package/dist/collection/components/c-switch/c-switch.css +0 -169
- package/dist/collection/components/c-switch/c-switch.js +0 -256
- package/dist/collection/components/c-switch/c-switch.js.map +0 -1
- package/dist/collection/components/c-switch/test/c-switch.visual.js +0 -28
- package/dist/collection/components/c-switch/test/c-switch.visual.js.map +0 -1
- package/dist/collection/components/c-tab/c-tab.css +0 -112
- package/dist/collection/components/c-tab/c-tab.js +0 -241
- package/dist/collection/components/c-tab/c-tab.js.map +0 -1
- package/dist/collection/components/c-tab-buttons/c-tab-buttons.css +0 -113
- package/dist/collection/components/c-tab-buttons/c-tab-buttons.js +0 -284
- package/dist/collection/components/c-tab-buttons/c-tab-buttons.js.map +0 -1
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.visual.js +0 -47
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.visual.js.map +0 -1
- package/dist/collection/components/c-tab-item/c-tab-item.css +0 -50
- package/dist/collection/components/c-tab-item/c-tab-item.js +0 -103
- package/dist/collection/components/c-tab-item/c-tab-item.js.map +0 -1
- package/dist/collection/components/c-tab-items/c-tab-items.css +0 -36
- package/dist/collection/components/c-tab-items/c-tab-items.js +0 -140
- package/dist/collection/components/c-tab-items/c-tab-items.js.map +0 -1
- package/dist/collection/components/c-table/c-table.css +0 -153
- package/dist/collection/components/c-table/c-table.js +0 -141
- package/dist/collection/components/c-table/c-table.js.map +0 -1
- package/dist/collection/components/c-tabs/c-tabs.css +0 -173
- package/dist/collection/components/c-tabs/c-tabs.js +0 -611
- package/dist/collection/components/c-tabs/c-tabs.js.map +0 -1
- package/dist/collection/components/c-tabs/test/c-tabs.visual.js +0 -16
- package/dist/collection/components/c-tabs/test/c-tabs.visual.js.map +0 -1
- package/dist/collection/components/c-tag/c-tag.css +0 -182
- package/dist/collection/components/c-tag/c-tag.js +0 -208
- package/dist/collection/components/c-tag/c-tag.js.map +0 -1
- package/dist/collection/components/c-tag/test/c-tag.visual.js +0 -26
- package/dist/collection/components/c-tag/test/c-tag.visual.js.map +0 -1
- package/dist/collection/components/c-tags/c-tags.css +0 -29
- package/dist/collection/components/c-tags/c-tags.js +0 -55
- package/dist/collection/components/c-tags/c-tags.js.map +0 -1
- package/dist/collection/components/c-text-field/c-text-field.css +0 -81
- package/dist/collection/components/c-text-field/c-text-field.js +0 -692
- package/dist/collection/components/c-text-field/c-text-field.js.map +0 -1
- package/dist/collection/components/c-text-field/test/c-text-field.visual.js +0 -41
- package/dist/collection/components/c-text-field/test/c-text-field.visual.js.map +0 -1
- package/dist/collection/components/c-text-field-open/c-text-field-open.css +0 -81
- package/dist/collection/components/c-text-field-open/c-text-field-open.js +0 -718
- package/dist/collection/components/c-text-field-open/c-text-field-open.js.map +0 -1
- package/dist/collection/components/c-toast/c-toast.css +0 -161
- package/dist/collection/components/c-toast/c-toast.js +0 -146
- package/dist/collection/components/c-toast/c-toast.js.map +0 -1
- package/dist/collection/components/c-toasts/c-toasts.css +0 -69
- package/dist/collection/components/c-toasts/c-toasts.js +0 -204
- package/dist/collection/components/c-toasts/c-toasts.js.map +0 -1
- package/dist/collection/components/c-toasts/test/c-toasts.visual.js +0 -27
- package/dist/collection/components/c-toasts/test/c-toasts.visual.js.map +0 -1
- package/dist/collection/components/c-toolbar/c-toolbar.css +0 -54
- package/dist/collection/components/c-toolbar/c-toolbar.js +0 -19
- package/dist/collection/components/c-toolbar/c-toolbar.js.map +0 -1
- package/dist/collection/components/c-toolbar/test/c-toolbar.visual.js +0 -10
- package/dist/collection/components/c-toolbar/test/c-toolbar.visual.js.map +0 -1
- package/dist/collection/index.js +0 -2
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/styles/tailwind/theme.js +0 -120
- package/dist/collection/types/index.js +0 -20
- package/dist/collection/types/index.js.map +0 -1
- package/dist/collection/utils/getScrollParent.js +0 -23
- package/dist/collection/utils/getScrollParent.js.map +0 -1
- package/dist/collection/utils/index.js +0 -2
- package/dist/collection/utils/index.js.map +0 -1
- package/dist/collection/utils/test/sleep.js +0 -2
- package/dist/collection/utils/test/sleep.js.map +0 -1
- package/dist/collection/utils/test/takeScreenshot.js +0 -11
- package/dist/collection/utils/test/takeScreenshot.js.map +0 -1
- package/dist/components/c-accordion-item.d.ts +0 -11
- package/dist/components/c-accordion-item.js +0 -153
- package/dist/components/c-accordion-item.js.map +0 -1
- package/dist/components/c-accordion.d.ts +0 -11
- package/dist/components/c-accordion.js +0 -89
- package/dist/components/c-accordion.js.map +0 -1
- package/dist/components/c-alert.d.ts +0 -11
- package/dist/components/c-alert.js +0 -46
- package/dist/components/c-alert.js.map +0 -1
- package/dist/components/c-autocomplete.d.ts +0 -11
- package/dist/components/c-autocomplete.js +0 -367
- package/dist/components/c-autocomplete.js.map +0 -1
- package/dist/components/c-backdrop.d.ts +0 -11
- package/dist/components/c-backdrop.js +0 -9
- package/dist/components/c-backdrop.js.map +0 -1
- package/dist/components/c-badge.d.ts +0 -11
- package/dist/components/c-badge.js +0 -9
- package/dist/components/c-badge.js.map +0 -1
- package/dist/components/c-button.d.ts +0 -11
- package/dist/components/c-button.js +0 -189
- package/dist/components/c-button.js.map +0 -1
- package/dist/components/c-card-actions.d.ts +0 -11
- package/dist/components/c-card-actions.js +0 -9
- package/dist/components/c-card-actions.js.map +0 -1
- package/dist/components/c-card-content.d.ts +0 -11
- package/dist/components/c-card-content.js +0 -36
- package/dist/components/c-card-content.js.map +0 -1
- package/dist/components/c-card-title.d.ts +0 -11
- package/dist/components/c-card-title.js +0 -64
- package/dist/components/c-card-title.js.map +0 -1
- package/dist/components/c-card.d.ts +0 -11
- package/dist/components/c-card.js +0 -120
- package/dist/components/c-card.js.map +0 -1
- package/dist/components/c-checkbox.d.ts +0 -11
- package/dist/components/c-checkbox.js +0 -9
- package/dist/components/c-checkbox.js.map +0 -1
- package/dist/components/c-csc-logo.d.ts +0 -11
- package/dist/components/c-csc-logo.js +0 -40
- package/dist/components/c-csc-logo.js.map +0 -1
- package/dist/components/c-data-table.d.ts +0 -11
- package/dist/components/c-data-table.js +0 -830
- package/dist/components/c-data-table.js.map +0 -1
- package/dist/components/c-dropdown.d.ts +0 -11
- package/dist/components/c-dropdown.js +0 -9
- package/dist/components/c-dropdown.js.map +0 -1
- package/dist/components/c-icon-button.d.ts +0 -11
- package/dist/components/c-icon-button.js +0 -9
- package/dist/components/c-icon-button.js.map +0 -1
- package/dist/components/c-icon.d.ts +0 -11
- package/dist/components/c-icon.js +0 -9
- package/dist/components/c-icon.js.map +0 -1
- package/dist/components/c-input.d.ts +0 -11
- package/dist/components/c-input.js +0 -9
- package/dist/components/c-input.js.map +0 -1
- package/dist/components/c-link.d.ts +0 -11
- package/dist/components/c-link.js +0 -51
- package/dist/components/c-link.js.map +0 -1
- package/dist/components/c-list-item-title.d.ts +0 -11
- package/dist/components/c-list-item-title.js +0 -43
- package/dist/components/c-list-item-title.js.map +0 -1
- package/dist/components/c-list-item.d.ts +0 -11
- package/dist/components/c-list-item.js +0 -113
- package/dist/components/c-list-item.js.map +0 -1
- package/dist/components/c-list.d.ts +0 -11
- package/dist/components/c-list.js +0 -66
- package/dist/components/c-list.js.map +0 -1
- package/dist/components/c-loader.d.ts +0 -11
- package/dist/components/c-loader.js +0 -9
- package/dist/components/c-loader.js.map +0 -1
- package/dist/components/c-login-button.d.ts +0 -11
- package/dist/components/c-login-button.js +0 -43
- package/dist/components/c-login-button.js.map +0 -1
- package/dist/components/c-login-buttons.d.ts +0 -11
- package/dist/components/c-login-buttons.js +0 -36
- package/dist/components/c-login-buttons.js.map +0 -1
- package/dist/components/c-login-card-actions.d.ts +0 -11
- package/dist/components/c-login-card-actions.js +0 -44
- package/dist/components/c-login-card-actions.js.map +0 -1
- package/dist/components/c-login-card-content.d.ts +0 -11
- package/dist/components/c-login-card-content.js +0 -36
- package/dist/components/c-login-card-content.js.map +0 -1
- package/dist/components/c-login-card-title.d.ts +0 -11
- package/dist/components/c-login-card-title.js +0 -36
- package/dist/components/c-login-card-title.js.map +0 -1
- package/dist/components/c-login-card.d.ts +0 -11
- package/dist/components/c-login-card.js +0 -88
- package/dist/components/c-login-card.js.map +0 -1
- package/dist/components/c-main.d.ts +0 -11
- package/dist/components/c-main.js +0 -45
- package/dist/components/c-main.js.map +0 -1
- package/dist/components/c-menu-items.d.ts +0 -11
- package/dist/components/c-menu-items.js +0 -9
- package/dist/components/c-menu-items.js.map +0 -1
- package/dist/components/c-menu.d.ts +0 -11
- package/dist/components/c-menu.js +0 -9
- package/dist/components/c-menu.js.map +0 -1
- package/dist/components/c-message.d.ts +0 -11
- package/dist/components/c-message.js +0 -9
- package/dist/components/c-message.js.map +0 -1
- package/dist/components/c-modal.d.ts +0 -11
- package/dist/components/c-modal.js +0 -205
- package/dist/components/c-modal.js.map +0 -1
- package/dist/components/c-navigation-button.d.ts +0 -11
- package/dist/components/c-navigation-button.js +0 -67
- package/dist/components/c-navigation-button.js.map +0 -1
- package/dist/components/c-option-value.d.ts +0 -11
- package/dist/components/c-option-value.js +0 -36
- package/dist/components/c-option-value.js.map +0 -1
- package/dist/components/c-option.d.ts +0 -11
- package/dist/components/c-option.js +0 -43
- package/dist/components/c-option.js.map +0 -1
- package/dist/components/c-otp-input.d.ts +0 -11
- package/dist/components/c-otp-input.js +0 -201
- package/dist/components/c-otp-input.js.map +0 -1
- package/dist/components/c-page.d.ts +0 -11
- package/dist/components/c-page.js +0 -51
- package/dist/components/c-page.js.map +0 -1
- package/dist/components/c-pagination.d.ts +0 -11
- package/dist/components/c-pagination.js +0 -9
- package/dist/components/c-pagination.js.map +0 -1
- package/dist/components/c-progress-bar.d.ts +0 -11
- package/dist/components/c-progress-bar.js +0 -80
- package/dist/components/c-progress-bar.js.map +0 -1
- package/dist/components/c-radio-group.d.ts +0 -11
- package/dist/components/c-radio-group.js +0 -157
- package/dist/components/c-radio-group.js.map +0 -1
- package/dist/components/c-radio.d.ts +0 -11
- package/dist/components/c-radio.js +0 -42
- package/dist/components/c-radio.js.map +0 -1
- package/dist/components/c-ripple.d.ts +0 -11
- package/dist/components/c-ripple.js +0 -9
- package/dist/components/c-ripple.js.map +0 -1
- package/dist/components/c-row.d.ts +0 -11
- package/dist/components/c-row.js +0 -53
- package/dist/components/c-row.js.map +0 -1
- package/dist/components/c-select.d.ts +0 -11
- package/dist/components/c-select.js +0 -441
- package/dist/components/c-select.js.map +0 -1
- package/dist/components/c-side-navigation-item.d.ts +0 -11
- package/dist/components/c-side-navigation-item.js +0 -161
- package/dist/components/c-side-navigation-item.js.map +0 -1
- package/dist/components/c-side-navigation-title.d.ts +0 -11
- package/dist/components/c-side-navigation-title.js +0 -36
- package/dist/components/c-side-navigation-title.js.map +0 -1
- package/dist/components/c-side-navigation.d.ts +0 -11
- package/dist/components/c-side-navigation.js +0 -133
- package/dist/components/c-side-navigation.js.map +0 -1
- package/dist/components/c-slider.d.ts +0 -11
- package/dist/components/c-slider.js +0 -130
- package/dist/components/c-slider.js.map +0 -1
- package/dist/components/c-spacer.d.ts +0 -11
- package/dist/components/c-spacer.js +0 -9
- package/dist/components/c-spacer.js.map +0 -1
- package/dist/components/c-spinner.d.ts +0 -11
- package/dist/components/c-spinner.js +0 -9
- package/dist/components/c-spinner.js.map +0 -1
- package/dist/components/c-status.d.ts +0 -11
- package/dist/components/c-status.js +0 -39
- package/dist/components/c-status.js.map +0 -1
- package/dist/components/c-step.d.ts +0 -11
- package/dist/components/c-step.js +0 -45
- package/dist/components/c-step.js.map +0 -1
- package/dist/components/c-steps.d.ts +0 -11
- package/dist/components/c-steps.js +0 -98
- package/dist/components/c-steps.js.map +0 -1
- package/dist/components/c-sub-navigation-item.d.ts +0 -11
- package/dist/components/c-sub-navigation-item.js +0 -82
- package/dist/components/c-sub-navigation-item.js.map +0 -1
- package/dist/components/c-swiper-tab.d.ts +0 -11
- package/dist/components/c-swiper-tab.js +0 -71
- package/dist/components/c-swiper-tab.js.map +0 -1
- package/dist/components/c-swiper.d.ts +0 -11
- package/dist/components/c-swiper.js +0 -4226
- package/dist/components/c-swiper.js.map +0 -1
- package/dist/components/c-switch.d.ts +0 -11
- package/dist/components/c-switch.js +0 -98
- package/dist/components/c-switch.js.map +0 -1
- package/dist/components/c-tab-buttons.d.ts +0 -11
- package/dist/components/c-tab-buttons.js +0 -156
- package/dist/components/c-tab-buttons.js.map +0 -1
- package/dist/components/c-tab-item.d.ts +0 -11
- package/dist/components/c-tab-item.js +0 -58
- package/dist/components/c-tab-item.js.map +0 -1
- package/dist/components/c-tab-items.d.ts +0 -11
- package/dist/components/c-tab-items.js +0 -98
- package/dist/components/c-tab-items.js.map +0 -1
- package/dist/components/c-tab.d.ts +0 -11
- package/dist/components/c-tab.js +0 -83
- package/dist/components/c-tab.js.map +0 -1
- package/dist/components/c-table.d.ts +0 -11
- package/dist/components/c-table.js +0 -95
- package/dist/components/c-table.js.map +0 -1
- package/dist/components/c-tabs.d.ts +0 -11
- package/dist/components/c-tabs.js +0 -483
- package/dist/components/c-tabs.js.map +0 -1
- package/dist/components/c-tag.d.ts +0 -11
- package/dist/components/c-tag.js +0 -100
- package/dist/components/c-tag.js.map +0 -1
- package/dist/components/c-tags.d.ts +0 -11
- package/dist/components/c-tags.js +0 -48
- package/dist/components/c-tags.js.map +0 -1
- package/dist/components/c-text-field-open.d.ts +0 -11
- package/dist/components/c-text-field-open.js +0 -204
- package/dist/components/c-text-field-open.js.map +0 -1
- package/dist/components/c-text-field.d.ts +0 -11
- package/dist/components/c-text-field.js +0 -197
- package/dist/components/c-text-field.js.map +0 -1
- package/dist/components/c-toast.d.ts +0 -11
- package/dist/components/c-toast.js +0 -9
- package/dist/components/c-toast.js.map +0 -1
- package/dist/components/c-toasts.d.ts +0 -11
- package/dist/components/c-toasts.js +0 -133
- package/dist/components/c-toasts.js.map +0 -1
- package/dist/components/c-toolbar.d.ts +0 -11
- package/dist/components/c-toolbar.js +0 -36
- package/dist/components/c-toolbar.js.map +0 -1
- package/dist/components/index.d.ts +0 -180
- package/dist/components/index.js +0 -76
- package/dist/components/index.js.map +0 -1
- package/dist/components/p-BCgTj9pp.js +0 -95
- package/dist/components/p-BCgTj9pp.js.map +0 -1
- package/dist/components/p-BDgw4nNJ.js +0 -93
- package/dist/components/p-BDgw4nNJ.js.map +0 -1
- package/dist/components/p-BGFYISEF.js +0 -112
- package/dist/components/p-BGFYISEF.js.map +0 -1
- package/dist/components/p-BJVLvFq9.js +0 -88
- package/dist/components/p-BJVLvFq9.js.map +0 -1
- package/dist/components/p-BOTLtsJq.js +0 -291
- package/dist/components/p-BOTLtsJq.js.map +0 -1
- package/dist/components/p-BUcGIY5c.js +0 -43
- package/dist/components/p-BUcGIY5c.js.map +0 -1
- package/dist/components/p-BWp2ldC5.js +0 -64
- package/dist/components/p-BWp2ldC5.js.map +0 -1
- package/dist/components/p-Bd7jq7MS.js +0 -27
- package/dist/components/p-Bd7jq7MS.js.map +0 -1
- package/dist/components/p-Bz0xxOlq.js +0 -294
- package/dist/components/p-Bz0xxOlq.js.map +0 -1
- package/dist/components/p-CSoWw_-h.js +0 -236
- package/dist/components/p-CSoWw_-h.js.map +0 -1
- package/dist/components/p-Cmy8x1XB.js +0 -46
- package/dist/components/p-Cmy8x1XB.js.map +0 -1
- package/dist/components/p-CoxL9G3v.js +0 -349
- package/dist/components/p-CoxL9G3v.js.map +0 -1
- package/dist/components/p-D6wozX_5.js +0 -50
- package/dist/components/p-D6wozX_5.js.map +0 -1
- package/dist/components/p-DEHCeGjr.js +0 -69
- package/dist/components/p-DEHCeGjr.js.map +0 -1
- package/dist/components/p-DKhrqMh8.js +0 -33
- package/dist/components/p-DKhrqMh8.js.map +0 -1
- package/dist/components/p-DoU8xThq.js +0 -49
- package/dist/components/p-DoU8xThq.js.map +0 -1
- package/dist/components/p-DpnXN7-j.js +0 -33
- package/dist/components/p-DpnXN7-j.js.map +0 -1
- package/dist/components/p-Fv9YCUj3.js +0 -1662
- package/dist/components/p-Fv9YCUj3.js.map +0 -1
- package/dist/components/p-lKEVcO51.js +0 -186
- package/dist/components/p-lKEVcO51.js.map +0 -1
- package/dist/csc-ui/assets/puhti.gif +0 -0
- package/dist/csc-ui/c-accordion-item.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-accordion.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-alert.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-data-table.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-link.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-list-item-title.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-list-item.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-list.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-login-button.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-login-buttons.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-login-card-actions.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-login-card-content.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-login-card-title.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-login-card.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-menu.c-menu-items.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-modal.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-option-value.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-pagination.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-progress-bar.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-row.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-slider.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-status.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-step.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-steps.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-swiper-tab.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-swiper.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-tab-buttons.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-tab-item.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-tab-items.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-tab.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-tabs.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-tag.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-tags.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-text-field-open.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-toast.entry.esm.js.map +0 -1
- package/dist/csc-ui/c-toasts.entry.esm.js.map +0 -1
- package/dist/csc-ui/csc-ui.esm.js +0 -2
- package/dist/csc-ui/csc-ui.esm.js.map +0 -1
- package/dist/csc-ui/index.esm.js +0 -2
- package/dist/csc-ui/index.esm.js.map +0 -1
- package/dist/csc-ui/loader.esm.js.map +0 -1
- package/dist/csc-ui/p-04f010cd.entry.js +0 -2
- package/dist/csc-ui/p-04f010cd.entry.js.map +0 -1
- package/dist/csc-ui/p-084e4e2a.entry.js +0 -2
- package/dist/csc-ui/p-084e4e2a.entry.js.map +0 -1
- package/dist/csc-ui/p-0bf2ca66.entry.js +0 -2
- package/dist/csc-ui/p-0bf2ca66.entry.js.map +0 -1
- package/dist/csc-ui/p-13976903.entry.js +0 -2
- package/dist/csc-ui/p-13976903.entry.js.map +0 -1
- package/dist/csc-ui/p-1963c292.entry.js +0 -2
- package/dist/csc-ui/p-1963c292.entry.js.map +0 -1
- package/dist/csc-ui/p-1b1d64f3.entry.js +0 -2
- package/dist/csc-ui/p-1b1d64f3.entry.js.map +0 -1
- package/dist/csc-ui/p-2acf252a.entry.js +0 -2
- package/dist/csc-ui/p-2acf252a.entry.js.map +0 -1
- package/dist/csc-ui/p-39f34048.entry.js +0 -2
- package/dist/csc-ui/p-39f34048.entry.js.map +0 -1
- package/dist/csc-ui/p-41b53c95.entry.js +0 -2
- package/dist/csc-ui/p-41b53c95.entry.js.map +0 -1
- package/dist/csc-ui/p-4620a4d8.entry.js +0 -2
- package/dist/csc-ui/p-4620a4d8.entry.js.map +0 -1
- package/dist/csc-ui/p-4b9fc284.entry.js +0 -2
- package/dist/csc-ui/p-4b9fc284.entry.js.map +0 -1
- package/dist/csc-ui/p-5b10d5e5.entry.js +0 -2
- package/dist/csc-ui/p-5b10d5e5.entry.js.map +0 -1
- package/dist/csc-ui/p-732e7114.entry.js +0 -2
- package/dist/csc-ui/p-732e7114.entry.js.map +0 -1
- package/dist/csc-ui/p-774e25ed.entry.js +0 -2
- package/dist/csc-ui/p-774e25ed.entry.js.map +0 -1
- package/dist/csc-ui/p-7869709f.entry.js +0 -2
- package/dist/csc-ui/p-7869709f.entry.js.map +0 -1
- package/dist/csc-ui/p-7f778e0a.entry.js +0 -2
- package/dist/csc-ui/p-7f778e0a.entry.js.map +0 -1
- package/dist/csc-ui/p-7f84c51a.entry.js +0 -2
- package/dist/csc-ui/p-7f84c51a.entry.js.map +0 -1
- package/dist/csc-ui/p-82e5b6a3.entry.js +0 -2
- package/dist/csc-ui/p-82e5b6a3.entry.js.map +0 -1
- package/dist/csc-ui/p-8707c1c5.entry.js +0 -2
- package/dist/csc-ui/p-8707c1c5.entry.js.map +0 -1
- package/dist/csc-ui/p-95967094.entry.js +0 -2
- package/dist/csc-ui/p-95967094.entry.js.map +0 -1
- package/dist/csc-ui/p-9806cee5.entry.js +0 -2
- package/dist/csc-ui/p-9806cee5.entry.js.map +0 -1
- package/dist/csc-ui/p-9fff794f.entry.js +0 -2
- package/dist/csc-ui/p-9fff794f.entry.js.map +0 -1
- package/dist/csc-ui/p-DQuL1Twl.js +0 -2
- package/dist/csc-ui/p-DQuL1Twl.js.map +0 -1
- package/dist/csc-ui/p-RscoPQxP.js +0 -2
- package/dist/csc-ui/p-RscoPQxP.js.map +0 -1
- package/dist/csc-ui/p-a0129d80.entry.js +0 -2
- package/dist/csc-ui/p-a0129d80.entry.js.map +0 -1
- package/dist/csc-ui/p-a27a5f80.entry.js +0 -2
- package/dist/csc-ui/p-a27a5f80.entry.js.map +0 -1
- package/dist/csc-ui/p-aec6b36e.entry.js +0 -2
- package/dist/csc-ui/p-aec6b36e.entry.js.map +0 -1
- package/dist/csc-ui/p-b0e03fea.entry.js +0 -2
- package/dist/csc-ui/p-b0e03fea.entry.js.map +0 -1
- package/dist/csc-ui/p-c74c234c.entry.js +0 -2
- package/dist/csc-ui/p-c74c234c.entry.js.map +0 -1
- package/dist/csc-ui/p-c791bc22.entry.js +0 -2
- package/dist/csc-ui/p-c791bc22.entry.js.map +0 -1
- package/dist/csc-ui/p-cbafc9a2.entry.js +0 -2
- package/dist/csc-ui/p-cbafc9a2.entry.js.map +0 -1
- package/dist/csc-ui/p-ce764150.entry.js +0 -2
- package/dist/csc-ui/p-ce764150.entry.js.map +0 -1
- package/dist/csc-ui/p-cf835443.entry.js +0 -2
- package/dist/csc-ui/p-cf835443.entry.js.map +0 -1
- package/dist/csc-ui/p-e1cec030.entry.js +0 -2
- package/dist/csc-ui/p-e1cec030.entry.js.map +0 -1
- package/dist/csc-ui/p-e48d90fa.entry.js +0 -2
- package/dist/csc-ui/p-e48d90fa.entry.js.map +0 -1
- package/dist/csc-ui/p-ea26b8b0.entry.js +0 -2
- package/dist/csc-ui/p-ea26b8b0.entry.js.map +0 -1
- package/dist/csc-ui/p-f23b3ee3.entry.js +0 -2
- package/dist/csc-ui/p-f23b3ee3.entry.js.map +0 -1
- package/dist/csc-ui/p-f62b6b95.entry.js +0 -2
- package/dist/csc-ui/p-f62b6b95.entry.js.map +0 -1
- package/dist/csc-ui/p-fd75e786.entry.js +0 -2
- package/dist/csc-ui/p-fd75e786.entry.js.map +0 -1
- package/dist/csc-ui/p-gSzSMY-c.js +0 -3
- package/dist/csc-ui/p-gSzSMY-c.js.map +0 -1
- package/dist/esm/app-globals-DQuL1Twl.js +0 -6
- package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
- package/dist/esm/c-accordion-item.entry.js +0 -121
- package/dist/esm/c-accordion-item.entry.js.map +0 -1
- package/dist/esm/c-accordion.entry.js +0 -64
- package/dist/esm/c-accordion.entry.js.map +0 -1
- package/dist/esm/c-alert.entry.js +0 -26
- package/dist/esm/c-alert.entry.js.map +0 -1
- package/dist/esm/c-autocomplete_35.entry.js +0 -2636
- package/dist/esm/c-autocomplete_35.entry.js.map +0 -1
- package/dist/esm/c-data-table.entry.js +0 -706
- package/dist/esm/c-data-table.entry.js.map +0 -1
- package/dist/esm/c-link.entry.js +0 -28
- package/dist/esm/c-link.entry.js.map +0 -1
- package/dist/esm/c-list-item-title.entry.js +0 -23
- package/dist/esm/c-list-item-title.entry.js.map +0 -1
- package/dist/esm/c-list-item.entry.js +0 -79
- package/dist/esm/c-list-item.entry.js.map +0 -1
- package/dist/esm/c-list.entry.js +0 -44
- package/dist/esm/c-list.entry.js.map +0 -1
- package/dist/esm/c-login-button.entry.js +0 -21
- package/dist/esm/c-login-button.entry.js.map +0 -1
- package/dist/esm/c-login-buttons.entry.js +0 -18
- package/dist/esm/c-login-buttons.entry.js.map +0 -1
- package/dist/esm/c-login-card-actions.entry.js +0 -17
- package/dist/esm/c-login-card-actions.entry.js.map +0 -1
- package/dist/esm/c-login-card-content.entry.js +0 -18
- package/dist/esm/c-login-card-content.entry.js.map +0 -1
- package/dist/esm/c-login-card-title.entry.js +0 -18
- package/dist/esm/c-login-card-title.entry.js.map +0 -1
- package/dist/esm/c-login-card.entry.js +0 -63
- package/dist/esm/c-login-card.entry.js.map +0 -1
- package/dist/esm/c-menu.c-menu-items.entry.js.map +0 -1
- package/dist/esm/c-menu_2.entry.js +0 -349
- package/dist/esm/c-menu_2.entry.js.map +0 -1
- package/dist/esm/c-modal.entry.js +0 -176
- package/dist/esm/c-modal.entry.js.map +0 -1
- package/dist/esm/c-option-value.entry.js +0 -18
- package/dist/esm/c-option-value.entry.js.map +0 -1
- package/dist/esm/c-pagination.entry.js +0 -221
- package/dist/esm/c-pagination.entry.js.map +0 -1
- package/dist/esm/c-progress-bar.entry.js +0 -56
- package/dist/esm/c-progress-bar.entry.js.map +0 -1
- package/dist/esm/c-row.entry.js +0 -30
- package/dist/esm/c-row.entry.js.map +0 -1
- package/dist/esm/c-slider.entry.js +0 -92
- package/dist/esm/c-slider.entry.js.map +0 -1
- package/dist/esm/c-status.entry.js +0 -19
- package/dist/esm/c-status.entry.js.map +0 -1
- package/dist/esm/c-step.entry.js +0 -24
- package/dist/esm/c-step.entry.js.map +0 -1
- package/dist/esm/c-steps.entry.js +0 -74
- package/dist/esm/c-steps.entry.js.map +0 -1
- package/dist/esm/c-swiper-tab.entry.js +0 -39
- package/dist/esm/c-swiper-tab.entry.js.map +0 -1
- package/dist/esm/c-swiper.entry.js +0 -4179
- package/dist/esm/c-swiper.entry.js.map +0 -1
- package/dist/esm/c-tab-buttons.entry.js +0 -130
- package/dist/esm/c-tab-buttons.entry.js.map +0 -1
- package/dist/esm/c-tab-item.entry.js +0 -37
- package/dist/esm/c-tab-item.entry.js.map +0 -1
- package/dist/esm/c-tab-items.entry.js +0 -74
- package/dist/esm/c-tab-items.entry.js.map +0 -1
- package/dist/esm/c-tab.entry.js +0 -52
- package/dist/esm/c-tab.entry.js.map +0 -1
- package/dist/esm/c-tabs.entry.js +0 -421
- package/dist/esm/c-tabs.entry.js.map +0 -1
- package/dist/esm/c-tag.entry.js +0 -44
- package/dist/esm/c-tag.entry.js.map +0 -1
- package/dist/esm/c-tags.entry.js +0 -28
- package/dist/esm/c-tags.entry.js.map +0 -1
- package/dist/esm/c-text-field-open.entry.js +0 -150
- package/dist/esm/c-text-field-open.entry.js.map +0 -1
- package/dist/esm/c-toast.entry.js +0 -69
- package/dist/esm/c-toast.entry.js.map +0 -1
- package/dist/esm/c-toasts.entry.js +0 -77
- package/dist/esm/c-toasts.entry.js.map +0 -1
- package/dist/esm/csc-ui.js +0 -24
- package/dist/esm/csc-ui.js.map +0 -1
- package/dist/esm/index-gSzSMY-c.js +0 -2046
- package/dist/esm/index-gSzSMY-c.js.map +0 -1
- package/dist/esm/index.js +0 -24
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js +0 -14
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/mdi-RscoPQxP.js +0 -27
- package/dist/esm/mdi-RscoPQxP.js.map +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/playwright.config.js +0 -46
- package/dist/playwright.config.js.map +0 -1
- package/dist/stencil.config.js +0 -47
- package/dist/stencil.config.js.map +0 -1
- package/dist/styles/.gitkeep +0 -0
- package/dist/styles/css/theme.css +0 -102
- package/dist/styles/scss/_theme.scss +0 -100
- package/dist/styles/tailwind/theme.js +0 -120
- package/dist/types/additional-types.d.ts +0 -14
- package/dist/types/components/c-accordion/c-accordion.d.ts +0 -18
- package/dist/types/components/c-accordion/test/c-accordion.visual.d.ts +0 -1
- package/dist/types/components/c-accordion-item/c-accordion-item.d.ts +0 -30
- package/dist/types/components/c-alert/c-alert.d.ts +0 -6
- package/dist/types/components/c-alert/test/c-alert.visual.d.ts +0 -1
- package/dist/types/components/c-autocomplete/c-autocomplete.d.ts +0 -65
- package/dist/types/components/c-autocomplete/test/c-autocomplete.visual.d.ts +0 -1
- package/dist/types/components/c-backdrop/c-backdrop.d.ts +0 -6
- package/dist/types/components/c-badge/c-badge.d.ts +0 -3
- package/dist/types/components/c-button/c-button.d.ts +0 -36
- package/dist/types/components/c-button/test/c-button.visual.d.ts +0 -1
- package/dist/types/components/c-card/c-card.d.ts +0 -12
- package/dist/types/components/c-card/test/c-card.visual.d.ts +0 -1
- package/dist/types/components/c-card-actions/c-card-actions.d.ts +0 -5
- package/dist/types/components/c-card-content/c-card-content.d.ts +0 -3
- package/dist/types/components/c-card-title/c-card-title.d.ts +0 -14
- package/dist/types/components/c-checkbox/c-checkbox.d.ts +0 -28
- package/dist/types/components/c-checkbox/test/c-checkbox.visual.d.ts +0 -1
- package/dist/types/components/c-csc-logo/c-csc-logo.d.ts +0 -4
- package/dist/types/components/c-data-table/c-data-table.d.ts +0 -116
- package/dist/types/components/c-data-table/test/c-data-table.visual.d.ts +0 -1
- package/dist/types/components/c-data-table/test/data/index.d.ts +0 -3
- package/dist/types/components/c-dropdown/c-dropdown-options-item.d.ts +0 -3
- package/dist/types/components/c-dropdown/c-dropdown.d.ts +0 -56
- package/dist/types/components/c-icon/c-icon.d.ts +0 -9
- package/dist/types/components/c-icon-button/c-icon-button.d.ts +0 -18
- package/dist/types/components/c-icon-button/test/c-icon-button.visual.d.ts +0 -1
- package/dist/types/components/c-input/c-input.d.ts +0 -64
- package/dist/types/components/c-link/c-link.d.ts +0 -7
- package/dist/types/components/c-link/test/c-link.visual.d.ts +0 -1
- package/dist/types/components/c-list/c-list.d.ts +0 -9
- package/dist/types/components/c-list-item/c-list-item.d.ts +0 -16
- package/dist/types/components/c-list-item-title/c-list-item-title.d.ts +0 -4
- package/dist/types/components/c-loader/c-loader.d.ts +0 -10
- package/dist/types/components/c-login-button/c-login-button.d.ts +0 -6
- package/dist/types/components/c-login-buttons/c-login-buttons.d.ts +0 -3
- package/dist/types/components/c-login-card/c-login-card.d.ts +0 -19
- package/dist/types/components/c-login-card/test/c-login-card.visual.d.ts +0 -1
- package/dist/types/components/c-login-card-actions/c-login-card-actions.d.ts +0 -5
- package/dist/types/components/c-login-card-content/c-login-card-content.d.ts +0 -3
- package/dist/types/components/c-login-card-title/c-login-card-title.d.ts +0 -3
- package/dist/types/components/c-main/c-main.d.ts +0 -4
- package/dist/types/components/c-menu/c-menu.d.ts +0 -26
- package/dist/types/components/c-menu/test/c-menu.visual.d.ts +0 -1
- package/dist/types/components/c-menu-items/c-menu-items.d.ts +0 -43
- package/dist/types/components/c-message/c-message.d.ts +0 -18
- package/dist/types/components/c-modal/c-modal.d.ts +0 -31
- package/dist/types/components/c-navigation-button/c-navigation-button.d.ts +0 -3
- package/dist/types/components/c-option/c-option.d.ts +0 -7
- package/dist/types/components/c-option-value/c-option-value.d.ts +0 -3
- package/dist/types/components/c-otp-input/c-otp-input.d.ts +0 -36
- package/dist/types/components/c-page/c-page.d.ts +0 -8
- package/dist/types/components/c-pagination/c-pagination.d.ts +0 -38
- package/dist/types/components/c-pagination/test/c-pagination.visual.d.ts +0 -1
- package/dist/types/components/c-progress-bar/c-progress-bar.d.ts +0 -9
- package/dist/types/components/c-progress-bar/test/c-progress-bar.visual.d.ts +0 -1
- package/dist/types/components/c-radio/c-radio.d.ts +0 -6
- package/dist/types/components/c-radio-group/c-radio-group.d.ts +0 -31
- package/dist/types/components/c-radio-group/test/c-radio-group.visual.d.ts +0 -1
- package/dist/types/components/c-radio-group/test/items.d.ts +0 -2
- package/dist/types/components/c-ripple/c-ripple.d.ts +0 -7
- package/dist/types/components/c-row/c-row.d.ts +0 -10
- package/dist/types/components/c-select/c-select.d.ts +0 -71
- package/dist/types/components/c-select/test/c-select.visual.d.ts +0 -1
- package/dist/types/components/c-select/test/items.d.ts +0 -2
- package/dist/types/components/c-side-navigation/c-side-navigation.d.ts +0 -15
- package/dist/types/components/c-side-navigation/test/c-side-navigation.visual.d.ts +0 -1
- package/dist/types/components/c-side-navigation-item/c-side-navigation-item.d.ts +0 -21
- package/dist/types/components/c-side-navigation-title/c-side-navigation-title.d.ts +0 -3
- package/dist/types/components/c-slider/c-slider.d.ts +0 -32
- package/dist/types/components/c-spacer/c-spacer.d.ts +0 -3
- package/dist/types/components/c-spinner/c-spinner.d.ts +0 -6
- package/dist/types/components/c-status/c-status.d.ts +0 -4
- package/dist/types/components/c-status/test/c-status.visual.d.ts +0 -1
- package/dist/types/components/c-step/c-step.d.ts +0 -5
- package/dist/types/components/c-steps/c-steps.d.ts +0 -16
- package/dist/types/components/c-steps/test/c-steps.visual.d.ts +0 -1
- package/dist/types/components/c-sub-navigation-item/c-sub-navigation-item.d.ts +0 -10
- package/dist/types/components/c-swiper/c-swiper.d.ts +0 -25
- package/dist/types/components/c-swiper/test/c-swiper.visual.d.ts +0 -1
- package/dist/types/components/c-swiper-tab/c-swiper-tab.d.ts +0 -16
- package/dist/types/components/c-switch/c-switch.d.ts +0 -20
- package/dist/types/components/c-switch/test/c-switch.visual.d.ts +0 -1
- package/dist/types/components/c-tab/c-tab.d.ts +0 -20
- package/dist/types/components/c-tab-buttons/c-tab-buttons.d.ts +0 -24
- package/dist/types/components/c-tab-buttons/test/c-tab-buttons.visual.d.ts +0 -1
- package/dist/types/components/c-tab-item/c-tab-item.d.ts +0 -12
- package/dist/types/components/c-tab-items/c-tab-items.d.ts +0 -18
- package/dist/types/components/c-table/c-table.d.ts +0 -17
- package/dist/types/components/c-tabs/c-tabs.d.ts +0 -67
- package/dist/types/components/c-tabs/test/c-tabs.visual.d.ts +0 -1
- package/dist/types/components/c-tag/c-tag.d.ts +0 -13
- package/dist/types/components/c-tag/test/c-tag.visual.d.ts +0 -1
- package/dist/types/components/c-tags/c-tags.d.ts +0 -6
- package/dist/types/components/c-text-field/c-text-field.d.ts +0 -51
- package/dist/types/components/c-text-field/test/c-text-field.visual.d.ts +0 -1
- package/dist/types/components/c-text-field-open/c-text-field-open.d.ts +0 -52
- package/dist/types/components/c-toast/c-toast.d.ts +0 -19
- package/dist/types/components/c-toasts/c-toasts.d.ts +0 -17
- package/dist/types/components/c-toasts/test/c-toasts.visual.d.ts +0 -1
- package/dist/types/components/c-toolbar/c-toolbar.d.ts +0 -3
- package/dist/types/components/c-toolbar/test/c-toolbar.visual.d.ts +0 -1
- package/dist/types/components.d.ts +0 -5718
- package/dist/types/home/runner/work/ui/ui/packages/csc-ui/.stencil/playwright.config.d.ts +0 -2
- package/dist/types/home/runner/work/ui/ui/packages/csc-ui/.stencil/stencil.config.d.ts +0 -2
- package/dist/types/index.d.ts +0 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -1681
- package/dist/types/types/global.d.ts +0 -13
- package/dist/types/types/index.d.ts +0 -145
- package/dist/types/utils/getScrollParent.d.ts +0 -1
- package/dist/types/utils/index.d.ts +0 -1
- package/dist/types/utils/test/sleep.d.ts +0 -1
- package/dist/types/utils/test/takeScreenshot.d.ts +0 -2
- package/loader/cdn.js +0 -1
- package/loader/index.cjs.js +0 -1
- package/loader/index.d.ts +0 -24
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +0 -2
- package/vscode-data.json +0 -2401
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-Fv9YCUj3.js';
|
|
2
|
-
import { s as mdiEye, t as mdiEyeOff, u as mdiCalendar } from './p-Bd7jq7MS.js';
|
|
3
|
-
import { d as defineCustomElement$3 } from './p-Bz0xxOlq.js';
|
|
4
|
-
import { d as defineCustomElement$2 } from './p-BJVLvFq9.js';
|
|
5
|
-
|
|
6
|
-
const cTextFieldCss = "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}:root,:host{--_c-text-field-active-color:var(--c-text-field-active-color, var(--c-primary-600));--_c-text-field-inactive-color:var(--c-text-field-inactive-color, var(--c-tertiary-600));--_c-text-field-background-color:var(--c-text-field-background-color, var(--c-transparent));--_c-text-field-text-color:var(--c-text-field-text-color, var(--c-text-body));--_c-text-field-placeholder-color:var(--c-text-field-placeholder-color, var(--c-tertiary-500));--_c-text-field-shadow-active-color:var(--c-text-field-shadow-active-color, var(--_c-text-field-active-color));--_c-text-field-shadow-background-color:var(--c-text-field-shadow-background-color, var(--c-white));--_c-text-field-shadow-text-color:var(--c-text-field-shadow-text-color, var(--_c-text-field-text-color));--_c-text-field-shadow-placeholder-color:var(--c-text-field-shadow-placeholder-color, var(--_c-text-field-placeholder-color));--_c-text-field-label-color:var(--c-text-field-label-color, var(--_c-text-field-text-color))}.c-input{--_c-input-active-color:var(--_c-text-field-active-color);--_c-input-inactive-color:var(--_c-text-field-inactive-color);--_c-input-background-color:var(--_c-text-field-background-color);--_c-input-text-color:var(--_c-text-field-text-color);--_c-input-label-color:var(--_c-text-field-label-color);--_c-input-placeholder-color:var(--_c-text-field-placeholder-color);--_c-input-shadow-active-color:var(--_c-text-field-shadow-active-color);--_c-input-shadow-background-color:var(--_c-text-field-shadow-background-color);--_c-input-shadow-text-color:var(--_c-text-field-shadow-text-color);--_c-input-shadow-placeholder-color:var(--_c-text-field-shadow-placeholder-color)}.c-input__password-toggle,.c-input__date-toggle{cursor:pointer;fill:currentColor;height:22px;width:22px}.c-input__password-toggle--disabled,.c-input__date-toggle--disabled{cursor:not-allowed;fill:var(--c-tertiary-500)}.c-input input[type=date]{opacity:0}.c-input input[type=date]::-webkit-calendar-picker-indicator,.c-input input[type=date]::-webkit-inner-spin-button{display:none;appearance:none}.c-input input[type=date]:focus,.c-input input[type=date].c-input__input--filled{opacity:1}";
|
|
7
|
-
|
|
8
|
-
const CTextField$1 = proxyCustomElement(class CTextField extends H {
|
|
9
|
-
constructor() {
|
|
10
|
-
super();
|
|
11
|
-
this.__registerHost();
|
|
12
|
-
this.__attachShadow();
|
|
13
|
-
this.changeValue = createEvent(this, "changeValue", 3);
|
|
14
|
-
this.internals = this.attachInternals();
|
|
15
|
-
this.automaticFocus = false;
|
|
16
|
-
this.automaticCapitalize = '';
|
|
17
|
-
this.autocorrect = '';
|
|
18
|
-
this.autocomplete = '';
|
|
19
|
-
this.disabled = false;
|
|
20
|
-
this.hideDetails = false;
|
|
21
|
-
this.hint = '';
|
|
22
|
-
this.trimWhitespace = false;
|
|
23
|
-
this.labelOnTop = false;
|
|
24
|
-
this.max = null;
|
|
25
|
-
this.min = null;
|
|
26
|
-
this.readonly = false;
|
|
27
|
-
this.required = false;
|
|
28
|
-
this.rows = 1;
|
|
29
|
-
this.shadow = false;
|
|
30
|
-
this.step = null;
|
|
31
|
-
this.type = 'text';
|
|
32
|
-
this.valid = true;
|
|
33
|
-
this.validate = false;
|
|
34
|
-
this.validateOnBlur = false;
|
|
35
|
-
this.validation = 'Required field';
|
|
36
|
-
this.isFocused = false;
|
|
37
|
-
this.labelWidth = 0;
|
|
38
|
-
this.preSlotWidth = 0;
|
|
39
|
-
this._originalType = '';
|
|
40
|
-
this._handleChange = (event) => {
|
|
41
|
-
if (this.type === 'number' && !event.target.value && event.key === '-') {
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
this.value = this.trimWhitespace
|
|
45
|
-
? event.target.value.trim()
|
|
46
|
-
: event.target.value;
|
|
47
|
-
this.changeValue.emit(this.value);
|
|
48
|
-
this.internals.setFormValue(this.value);
|
|
49
|
-
};
|
|
50
|
-
this._handleBlur = (event) => {
|
|
51
|
-
if (this.trimWhitespace) {
|
|
52
|
-
const trimmedValue = event.target.value.trim();
|
|
53
|
-
event.target.value = trimmedValue;
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
this._togglePasswordVisibility = () => {
|
|
57
|
-
if (this.disabled)
|
|
58
|
-
return;
|
|
59
|
-
this.type = this.type === 'password' ? 'text' : 'password';
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
componentWillLoad() {
|
|
63
|
-
CTextField._uniqueId += 1;
|
|
64
|
-
this._originalType = this.type;
|
|
65
|
-
this._inputId = `${(this.hostId ||
|
|
66
|
-
this.label ||
|
|
67
|
-
this.placeholder ||
|
|
68
|
-
'').replace(/[^a-zA-Z0-9-_]/g, '')}_${CTextField._uniqueId}`;
|
|
69
|
-
this.internals.setFormValue(this.value);
|
|
70
|
-
}
|
|
71
|
-
get isActive() {
|
|
72
|
-
return !!this.value || this.isFocused;
|
|
73
|
-
}
|
|
74
|
-
get passwordIcon() {
|
|
75
|
-
return this.type === 'password' ? mdiEye : mdiEyeOff;
|
|
76
|
-
}
|
|
77
|
-
_renderInputElement() {
|
|
78
|
-
const props = {
|
|
79
|
-
classes: {
|
|
80
|
-
'c-input__input': true,
|
|
81
|
-
'c-input__input--filled': !!this.value,
|
|
82
|
-
},
|
|
83
|
-
shared: {
|
|
84
|
-
id: this._inputId,
|
|
85
|
-
name: this.name,
|
|
86
|
-
disabled: this.disabled,
|
|
87
|
-
readonly: this.readonly,
|
|
88
|
-
value: this.value,
|
|
89
|
-
onInput: this._handleChange,
|
|
90
|
-
onChange: this._handleChange,
|
|
91
|
-
onBlur: this._handleBlur,
|
|
92
|
-
},
|
|
93
|
-
input: Object.assign(Object.assign(Object.assign({ type: this.type, min: this.min, max: this.max, step: this.step }, (!!this.autocomplete && { autocomplete: this.autocomplete })), (!!this.automaticCapitalize && {
|
|
94
|
-
autocapitalize: this.automaticCapitalize,
|
|
95
|
-
})), (!!this.autocorrect && { autocorrect: this.autocorrect })),
|
|
96
|
-
textArea: {
|
|
97
|
-
rows: this.rows,
|
|
98
|
-
},
|
|
99
|
-
};
|
|
100
|
-
const textInput = (h("input", Object.assign({ class: props.classes }, props.input, props.shared, { ref: (el) => (this._inputElement = el) })));
|
|
101
|
-
const textArea = (h("textarea", Object.assign({ class: props.classes }, props.shared, props.textArea)));
|
|
102
|
-
return this.rows > 1 ? textArea : textInput;
|
|
103
|
-
}
|
|
104
|
-
_isFirefox() {
|
|
105
|
-
return !!navigator.userAgent.match(/firefox|fxios/i);
|
|
106
|
-
}
|
|
107
|
-
_renderDateToggle() {
|
|
108
|
-
if (this._originalType !== 'date' || this._isFirefox())
|
|
109
|
-
return;
|
|
110
|
-
const classes = {
|
|
111
|
-
'c-input__date-toggle': true,
|
|
112
|
-
'c-input__date-toggle--disabled': this.disabled,
|
|
113
|
-
};
|
|
114
|
-
return (h("svg", { class: classes, viewBox: "0 0 24 24", onClick: this._toggleDatepicker.bind(this) }, h("path", { d: mdiCalendar })));
|
|
115
|
-
}
|
|
116
|
-
_toggleDatepicker() {
|
|
117
|
-
var _a;
|
|
118
|
-
(_a = this._inputElement) === null || _a === void 0 ? void 0 : _a.showPicker();
|
|
119
|
-
}
|
|
120
|
-
_renderPasswordToggle() {
|
|
121
|
-
if (this._originalType !== 'password')
|
|
122
|
-
return;
|
|
123
|
-
const classes = {
|
|
124
|
-
'c-input__password-toggle': true,
|
|
125
|
-
'c-input__password-toggle--disabled': this.disabled,
|
|
126
|
-
};
|
|
127
|
-
return (h("svg", { class: classes, viewBox: "0 0 24 24", onClick: this._togglePasswordVisibility }, h("path", { d: this.passwordIcon })));
|
|
128
|
-
}
|
|
129
|
-
render() {
|
|
130
|
-
return (h(Host, { key: 'fc0f5d30cb6d8e7d96359300b79e568f4e4c5e7c' }, h("c-input", { key: '4e30200c8f46c36454023e42ad287f3ace86c2ec', autofocus: this.automaticFocus, disabled: this.disabled, "hide-details": this.hideDetails, hint: this.hint, id: this.hostId, "input-id": this._inputId, label: this.label, "label-on-top": this.labelOnTop, name: this.name, placeholder: this.placeholder, readonly: this.readonly, required: this.required, rows: this.rows, shadow: this.shadow, type: this.type, valid: this.valid, validate: this.validate, "validate-on-blur": this.validateOnBlur, validation: this.validation, value: this.value }, h("slot", { key: 'd0f32356c45e9b356bbace18f9b9ffaaded27d64', name: "pre", slot: "pre" }), this._renderInputElement(), this._renderPasswordToggle(), this._renderDateToggle(), h("slot", { key: '1e6eb44b3af9d9edb933bca28a2f60aefb0c9e1b', name: "post" }))));
|
|
131
|
-
}
|
|
132
|
-
static get formAssociated() { return true; }
|
|
133
|
-
get hiddenEl() { return this; }
|
|
134
|
-
static get style() { return cTextFieldCss; }
|
|
135
|
-
}, [65, "c-text-field", {
|
|
136
|
-
"automaticFocus": [4, "autofocus"],
|
|
137
|
-
"automaticCapitalize": [1, "autocapitalize"],
|
|
138
|
-
"autocorrect": [1],
|
|
139
|
-
"autocomplete": [1],
|
|
140
|
-
"disabled": [4],
|
|
141
|
-
"hideDetails": [4, "hide-details"],
|
|
142
|
-
"hint": [1],
|
|
143
|
-
"hostId": [1, "id"],
|
|
144
|
-
"trimWhitespace": [4, "trim-whitespace"],
|
|
145
|
-
"label": [1],
|
|
146
|
-
"labelOnTop": [4, "label-on-top"],
|
|
147
|
-
"max": [2],
|
|
148
|
-
"min": [2],
|
|
149
|
-
"name": [1],
|
|
150
|
-
"placeholder": [1],
|
|
151
|
-
"readonly": [4],
|
|
152
|
-
"required": [4],
|
|
153
|
-
"rows": [2],
|
|
154
|
-
"shadow": [4],
|
|
155
|
-
"step": [2],
|
|
156
|
-
"type": [1],
|
|
157
|
-
"valid": [4],
|
|
158
|
-
"validate": [4],
|
|
159
|
-
"validateOnBlur": [4, "validate-on-blur"],
|
|
160
|
-
"validation": [1],
|
|
161
|
-
"value": [1025],
|
|
162
|
-
"isFocused": [32],
|
|
163
|
-
"labelWidth": [32],
|
|
164
|
-
"preSlotWidth": [32]
|
|
165
|
-
}]);
|
|
166
|
-
CTextField$1._uniqueId = 0;
|
|
167
|
-
function defineCustomElement$1() {
|
|
168
|
-
if (typeof customElements === "undefined") {
|
|
169
|
-
return;
|
|
170
|
-
}
|
|
171
|
-
const components = ["c-text-field", "c-input", "c-message"];
|
|
172
|
-
components.forEach(tagName => { switch (tagName) {
|
|
173
|
-
case "c-text-field":
|
|
174
|
-
if (!customElements.get(tagName)) {
|
|
175
|
-
customElements.define(tagName, CTextField$1);
|
|
176
|
-
}
|
|
177
|
-
break;
|
|
178
|
-
case "c-input":
|
|
179
|
-
if (!customElements.get(tagName)) {
|
|
180
|
-
defineCustomElement$3();
|
|
181
|
-
}
|
|
182
|
-
break;
|
|
183
|
-
case "c-message":
|
|
184
|
-
if (!customElements.get(tagName)) {
|
|
185
|
-
defineCustomElement$2();
|
|
186
|
-
}
|
|
187
|
-
break;
|
|
188
|
-
} });
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
const CTextField = CTextField$1;
|
|
192
|
-
const defineCustomElement = defineCustomElement$1;
|
|
193
|
-
|
|
194
|
-
export { CTextField, defineCustomElement };
|
|
195
|
-
//# sourceMappingURL=c-text-field.js.map
|
|
196
|
-
|
|
197
|
-
//# sourceMappingURL=c-text-field.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"c-text-field.js","mappings":";;;;;AAAA,MAAM,aAAa,GAAG,8xEAA8xE;;MCwBvyEA,YAAU,GAAAC,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AANvB,IAAA,WAAA,GAAA;;;;;;AAcoC,QAAA,IAAc,CAAA,cAAA,GAAG,KAAK;AAMjB,QAAA,IAAmB,CAAA,mBAAA,GAAG,EAAE;AAKvD,QAAA,IAAW,CAAA,WAAA,GAAG,EAAE;AAKhB,QAAA,IAAY,CAAA,YAAA,GAAG,EAAE;AAKjB,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAKhB,QAAA,IAAW,CAAA,WAAA,GAAG,KAAK;AAKnB,QAAA,IAAI,CAAA,IAAA,GAAG,EAAE;AAWT,QAAA,IAAc,CAAA,cAAA,G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;;;;;;;AAzLIF,YAAS,CAAA,SAAA,GAAG,CAAH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["CTextField","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/c-text-field/c-text-field.scss?tag=c-text-field&encapsulation=shadow","src/components/c-text-field/c-text-field.tsx"],"sourcesContent":[":root,\n:host {\n /**\n * @prop --c-text-field-active-color: Active text field color\n * @prop --c-text-field-inactive-color: Inactive text field color\n * @prop --c-text-field-background-color: Inactive text field background color\n * @prop --c-text-field-text-color: Text field text color\n * @prop --c-text-field-placeholder-color:Text field placeholder color\n * @prop --c-text-field-shadow-active-color: Shadow text field active color\n * @prop --c-text-field-shadow-background-color: Shadow text field background color\n * @prop --c-text-field-shadow-text-color: Shadow text field text color\n * @prop --c-text-field-shadow-placeholder-color: Shadow text field placeholder color\n * @prop --c-text-field-label-color: Text field label color (works only with `label-on-top`)\n */\n --_c-text-field-active-color: var(--c-text-field-active-color, var(--c-primary-600));\n --_c-text-field-inactive-color: var(--c-text-field-inactive-color, var(--c-tertiary-600));\n --_c-text-field-background-color: var(--c-text-field-background-color, var(--c-transparent));\n --_c-text-field-text-color: var(--c-text-field-text-color, var(--c-text-body));\n --_c-text-field-placeholder-color: var(--c-text-field-placeholder-color, var(--c-tertiary-500));\n --_c-text-field-shadow-active-color: var(--c-text-field-shadow-active-color, var(--_c-text-field-active-color));\n --_c-text-field-shadow-background-color: var(--c-text-field-shadow-background-color, var(--c-white));\n --_c-text-field-shadow-text-color: var(--c-text-field-shadow-text-color, var(--_c-text-field-text-color));\n --_c-text-field-shadow-placeholder-color: var(--c-text-field-shadow-placeholder-color, var(--_c-text-field-placeholder-color));\n --_c-text-field-label-color: var(--c-text-field-label-color, var(--_c-text-field-text-color));\n}\n\n.c-input {\n --_c-input-active-color: var(--_c-text-field-active-color);\n --_c-input-inactive-color: var(--_c-text-field-inactive-color);\n --_c-input-background-color: var(--_c-text-field-background-color);\n --_c-input-text-color: var(--_c-text-field-text-color);\n --_c-input-label-color: var(--_c-text-field-label-color);\n --_c-input-placeholder-color: var(--_c-text-field-placeholder-color);\n --_c-input-shadow-active-color: var(--_c-text-field-shadow-active-color);\n --_c-input-shadow-background-color: var(--_c-text-field-shadow-background-color);\n --_c-input-shadow-text-color: var(--_c-text-field-shadow-text-color);\n --_c-input-shadow-placeholder-color: var(--_c-text-field-shadow-placeholder-color);\n\n &__password-toggle,\n &__date-toggle {\n cursor: pointer;\n fill: currentColor;\n height: 22px;\n width: 22px;\n\n &--disabled {\n cursor: not-allowed;\n fill: var(--c-tertiary-500);\n }\n }\n\n input {\n &[type=\"date\"] {\n opacity: 0;\n\n &::-webkit-calendar-picker-indicator,\n &::-webkit-inner-spin-button {\n display: none;\n appearance: none;\n }\n\n &:focus,\n &.c-input__input--filled {\n opacity: 1;\n }\n }\n }\n}\n","import {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport { mdiCalendar, mdiEye, mdiEyeOff } from '@mdi/js';\n\n/**\n * @group Form\n * @slot pre - Content added before the input\n * @slot post - Content added after the input\n */\n@Component({\n tag: 'c-text-field',\n styleUrl: 'c-text-field.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class CTextField {\n // eslint-disable-next-line\n @AttachInternals() internals: ElementInternals;\n\n /**\n * Auto focus the input\n * @name autofocus\n */\n @Prop({ attribute: 'autofocus' }) automaticFocus = false;\n\n /**\n * HTML input autocapitalize\n * @name autocapitalize\n */\n @Prop({ attribute: 'autocapitalize' }) automaticCapitalize = '';\n\n /**\n * HTML input autocorrect\n */\n @Prop() autocorrect = '';\n\n /**\n * HTML input autocomplete\n */\n @Prop() autocomplete = '';\n\n /**\n * Disable the input\n */\n @Prop() disabled = false;\n\n /**\n * Hide the hint and error messages\n */\n @Prop() hideDetails = false;\n\n /**\n * Hint text for the input\n */\n @Prop() hint = '';\n\n /**\n * Id of the input\n * @name id\n */\n @Prop({ attribute: 'id' }) hostId: string;\n\n /**\n * Trim whitespace from the return value\n */\n @Prop() trimWhitespace = false;\n\n /**\n * Label of the input\n */\n @Prop() label: string;\n\n /**\n * Label on top of the input\n */\n @Prop() labelOnTop = false;\n\n /**\n * Maximum value on a numeric input\n */\n @Prop() max: number = null;\n\n /**\n * Minimum value on a numeric input\n */\n @Prop() min: number = null;\n\n /**\n * Name of the input\n */\n @Prop() name: string;\n\n /**\n * Placeholder of the input\n */\n @Prop() placeholder: string;\n\n /**\n * Mark as readonly\n */\n @Prop() readonly = false;\n\n /**\n * Set the input as required\n */\n @Prop() required = false;\n\n /**\n * Rows on the input\n */\n @Prop() rows = 1;\n\n /**\n * Shadow variant of the input\n */\n @Prop() shadow = false;\n\n /**\n * Step size on a numeric input\n */\n @Prop() step: number = null;\n\n /**\n * Type of the input\n */\n @Prop() type = 'text';\n\n /**\n * Set the validity of the input\n */\n @Prop() valid = true;\n\n /**\n * Manual validation\n */\n @Prop() validate = false;\n\n /**\n * Validate the input on blur\n */\n @Prop() validateOnBlur = false;\n\n /**\n * Custom validation message\n */\n @Prop() validation = 'Required field';\n\n /**\n * Value of the input\n */\n @Prop({ mutable: true }) value: string;\n\n /**\n * Emit changes to the parent\n */\n @Event({ bubbles: false })\n changeValue: EventEmitter;\n\n @State() isFocused = false;\n\n @State() labelWidth = 0;\n\n @State() preSlotWidth = 0;\n\n @Element() hiddenEl!: HTMLCTextFieldElement;\n\n private _inputElement: HTMLInputElement;\n\n private _originalType = '';\n\n private _inputId: string;\n\n private static _uniqueId = 0;\n\n componentWillLoad() {\n CTextField._uniqueId += 1;\n\n this._originalType = this.type;\n\n this._inputId = `${(\n this.hostId ||\n this.label ||\n this.placeholder ||\n ''\n ).replace(/[^a-zA-Z0-9-_]/g, '')}_${CTextField._uniqueId}`;\n\n this.internals.setFormValue(this.value);\n }\n\n get isActive() {\n return !!this.value || this.isFocused;\n }\n\n get passwordIcon() {\n return this.type === 'password' ? mdiEye : mdiEyeOff;\n }\n\n private _handleChange = (event) => {\n if (this.type === 'number' && !event.target.value && event.key === '-') {\n return;\n }\n\n this.value = this.trimWhitespace\n ? event.target.value.trim()\n : event.target.value;\n\n this.changeValue.emit(this.value);\n this.internals.setFormValue(this.value);\n };\n\n private _handleBlur = (event) => {\n if (this.trimWhitespace) {\n const trimmedValue = event.target.value.trim();\n\n event.target.value = trimmedValue;\n }\n };\n\n private _renderInputElement() {\n const props = {\n classes: {\n 'c-input__input': true,\n 'c-input__input--filled': !!this.value,\n },\n shared: {\n id: this._inputId,\n name: this.name,\n disabled: this.disabled,\n readonly: this.readonly,\n value: this.value,\n onInput: this._handleChange,\n onChange: this._handleChange,\n onBlur: this._handleBlur,\n },\n input: {\n type: this.type,\n min: this.min,\n max: this.max,\n step: this.step,\n ...(!!this.autocomplete && { autocomplete: this.autocomplete }),\n ...(!!this.automaticCapitalize && {\n autocapitalize: this.automaticCapitalize,\n }),\n ...(!!this.autocorrect && { autocorrect: this.autocorrect }),\n },\n textArea: {\n rows: this.rows,\n },\n };\n\n const textInput = (\n <input\n class={props.classes}\n {...props.input}\n {...props.shared}\n ref={(el) => (this._inputElement = el)}\n />\n );\n\n const textArea = (\n <textarea\n class={props.classes}\n {...props.shared}\n {...props.textArea}\n ></textarea>\n );\n\n return this.rows > 1 ? textArea : textInput;\n }\n\n private _isFirefox() {\n return !!navigator.userAgent.match(/firefox|fxios/i);\n }\n\n private _renderDateToggle() {\n if (this._originalType !== 'date' || this._isFirefox()) return;\n\n const classes = {\n 'c-input__date-toggle': true,\n 'c-input__date-toggle--disabled': this.disabled,\n };\n\n return (\n <svg\n class={classes}\n viewBox=\"0 0 24 24\"\n onClick={this._toggleDatepicker.bind(this)}\n >\n <path d={mdiCalendar} />\n </svg>\n );\n }\n\n private _toggleDatepicker() {\n this._inputElement?.showPicker();\n }\n\n private _renderPasswordToggle() {\n if (this._originalType !== 'password') return;\n\n const classes = {\n 'c-input__password-toggle': true,\n 'c-input__password-toggle--disabled': this.disabled,\n };\n\n return (\n <svg\n class={classes}\n viewBox=\"0 0 24 24\"\n onClick={this._togglePasswordVisibility}\n >\n <path d={this.passwordIcon} />\n </svg>\n );\n }\n\n private _togglePasswordVisibility = () => {\n if (this.disabled) return;\n\n this.type = this.type === 'password' ? 'text' : 'password';\n };\n\n render() {\n return (\n <Host>\n <c-input\n autofocus={this.automaticFocus}\n disabled={this.disabled}\n hide-details={this.hideDetails}\n hint={this.hint}\n id={this.hostId}\n input-id={this._inputId}\n label={this.label}\n label-on-top={this.labelOnTop}\n name={this.name}\n placeholder={this.placeholder}\n readonly={this.readonly}\n required={this.required}\n rows={this.rows}\n shadow={this.shadow}\n type={this.type}\n valid={this.valid}\n validate={this.validate}\n validate-on-blur={this.validateOnBlur}\n validation={this.validation}\n value={this.value}\n >\n <slot name=\"pre\" slot=\"pre\"></slot>\n\n {this._renderInputElement()}\n\n {this._renderPasswordToggle()}\n\n {this._renderDateToggle()}\n\n <slot name=\"post\"></slot>\n </c-input>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface CToast extends Components.CToast, HTMLElement {}
|
|
4
|
-
export const CToast: {
|
|
5
|
-
prototype: CToast;
|
|
6
|
-
new (): CToast;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { C as CToast$1, d as defineCustomElement$1 } from './p-BDgw4nNJ.js';
|
|
2
|
-
|
|
3
|
-
const CToast = CToast$1;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { CToast, defineCustomElement };
|
|
7
|
-
//# sourceMappingURL=c-toast.js.map
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=c-toast.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"c-toast.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface CToasts extends Components.CToasts, HTMLElement {}
|
|
4
|
-
export const CToasts: {
|
|
5
|
-
prototype: CToasts;
|
|
6
|
-
new (): CToasts;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-Fv9YCUj3.js';
|
|
2
|
-
import { d as defineCustomElement$3 } from './p-Cmy8x1XB.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-BDgw4nNJ.js';
|
|
4
|
-
|
|
5
|
-
var CToastType;
|
|
6
|
-
(function (CToastType) {
|
|
7
|
-
CToastType["Warning"] = "warning";
|
|
8
|
-
CToastType["Error"] = "error";
|
|
9
|
-
CToastType["Success"] = "success";
|
|
10
|
-
CToastType["Info"] = "info";
|
|
11
|
-
})(CToastType || (CToastType = {}));
|
|
12
|
-
var CToastPosition;
|
|
13
|
-
(function (CToastPosition) {
|
|
14
|
-
CToastPosition["Absolute"] = "absolute";
|
|
15
|
-
CToastPosition["Fixed"] = "fixed";
|
|
16
|
-
})(CToastPosition || (CToastPosition = {}));
|
|
17
|
-
var CAlertType;
|
|
18
|
-
(function (CAlertType) {
|
|
19
|
-
CAlertType["Warning"] = "warning";
|
|
20
|
-
CAlertType["Error"] = "error";
|
|
21
|
-
CAlertType["Success"] = "success";
|
|
22
|
-
CAlertType["Info"] = "info";
|
|
23
|
-
})(CAlertType || (CAlertType = {}));
|
|
24
|
-
|
|
25
|
-
const cToastsCss = "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{left:0;max-width:100%;min-width:30vw;pointer-events:none;position:fixed;right:0;width:640px;z-index:10000}:host>div{display:grid;gap:12px;grid-template-columns:1fr;padding:12px}:host(.absolute){position:absolute}:host(.bottom){bottom:0}:host(.top){top:0}:host(.right){justify-content:end;left:auto;right:0}:host(.left){justify-content:start;left:0;right:auto}:host(.center){justify-content:center;margin:0 auto !important}";
|
|
26
|
-
|
|
27
|
-
const CToasts$1 = proxyCustomElement(class CToasts extends H {
|
|
28
|
-
constructor() {
|
|
29
|
-
super();
|
|
30
|
-
this.__registerHost();
|
|
31
|
-
this.__attachShadow();
|
|
32
|
-
this.absolute = false;
|
|
33
|
-
this.horizontal = 'center';
|
|
34
|
-
this.vertical = 'bottom';
|
|
35
|
-
this.messages = [];
|
|
36
|
-
this._getDefaultOptions = () => ({
|
|
37
|
-
type: CToastType.Info,
|
|
38
|
-
duration: 6000,
|
|
39
|
-
persistent: false,
|
|
40
|
-
indeterminate: false,
|
|
41
|
-
position: CToastPosition.Fixed,
|
|
42
|
-
progress: false,
|
|
43
|
-
id: `c-toast-item-${CToasts._uniqueId}`,
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
async addToast(message) {
|
|
47
|
-
const customMessages = this.messages.filter((message) => message.custom);
|
|
48
|
-
if (message.custom && customMessages.length > 0) {
|
|
49
|
-
console.warn(`Custom toast messages are restricted to 1 visible message due to slot reflection limitations.`);
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
CToasts._uniqueId += 1;
|
|
53
|
-
requestAnimationFrame(() => {
|
|
54
|
-
const defaultOptions = this._getDefaultOptions();
|
|
55
|
-
this.messages = [
|
|
56
|
-
...this.messages,
|
|
57
|
-
Object.assign(Object.assign(Object.assign({}, defaultOptions), message), { duration: +(message === null || message === void 0 ? void 0 : message.duration) > 0
|
|
58
|
-
? +message.duration
|
|
59
|
-
: defaultOptions.duration }),
|
|
60
|
-
];
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
async removeToast(id) {
|
|
65
|
-
const toast = this.el.shadowRoot.querySelector(`#c-toast--${id}`);
|
|
66
|
-
toast === null || toast === void 0 ? void 0 : toast.closeToast();
|
|
67
|
-
}
|
|
68
|
-
_onMessageClose(event) {
|
|
69
|
-
this._removeMessage(event.detail.id);
|
|
70
|
-
}
|
|
71
|
-
_removeMessage(id) {
|
|
72
|
-
const toast = this.el.shadowRoot.querySelector(`#c-toast--${id}`);
|
|
73
|
-
toast === null || toast === void 0 ? void 0 : toast.remove();
|
|
74
|
-
const messageCount = this.el.shadowRoot.querySelectorAll('c-toast').length;
|
|
75
|
-
if (messageCount === 0) {
|
|
76
|
-
this.messages = [].slice();
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
_renderMessage(message) {
|
|
80
|
-
return (h("c-toast", { message: message, onClose: (e) => this._onMessageClose(e) }, message.custom && h("slot", null)));
|
|
81
|
-
}
|
|
82
|
-
componentWillLoad() {
|
|
83
|
-
CToasts._uniqueId += 1;
|
|
84
|
-
}
|
|
85
|
-
render() {
|
|
86
|
-
return (h(Host, { key: '6dd7f4433e71d10e65b5bd7ca99c209841a665d7', class: {
|
|
87
|
-
absolute: this.absolute,
|
|
88
|
-
[this.vertical]: true,
|
|
89
|
-
[this.horizontal]: true,
|
|
90
|
-
} }, h("div", { key: 'e4c3ab0722789255b2aeb1b1e2e02d732d8e08cd' }, this.messages.map((message) => this._renderMessage(message)))));
|
|
91
|
-
}
|
|
92
|
-
get el() { return this; }
|
|
93
|
-
static get style() { return cToastsCss; }
|
|
94
|
-
}, [1, "c-toasts", {
|
|
95
|
-
"absolute": [4],
|
|
96
|
-
"horizontal": [1],
|
|
97
|
-
"vertical": [1],
|
|
98
|
-
"messages": [32],
|
|
99
|
-
"addToast": [64],
|
|
100
|
-
"removeToast": [64]
|
|
101
|
-
}]);
|
|
102
|
-
CToasts$1._uniqueId = 0;
|
|
103
|
-
function defineCustomElement$1() {
|
|
104
|
-
if (typeof customElements === "undefined") {
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
const components = ["c-toasts", "c-icon", "c-toast"];
|
|
108
|
-
components.forEach(tagName => { switch (tagName) {
|
|
109
|
-
case "c-toasts":
|
|
110
|
-
if (!customElements.get(tagName)) {
|
|
111
|
-
customElements.define(tagName, CToasts$1);
|
|
112
|
-
}
|
|
113
|
-
break;
|
|
114
|
-
case "c-icon":
|
|
115
|
-
if (!customElements.get(tagName)) {
|
|
116
|
-
defineCustomElement$3();
|
|
117
|
-
}
|
|
118
|
-
break;
|
|
119
|
-
case "c-toast":
|
|
120
|
-
if (!customElements.get(tagName)) {
|
|
121
|
-
defineCustomElement$2();
|
|
122
|
-
}
|
|
123
|
-
break;
|
|
124
|
-
} });
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
const CToasts = CToasts$1;
|
|
128
|
-
const defineCustomElement = defineCustomElement$1;
|
|
129
|
-
|
|
130
|
-
export { CToastType as C, CToasts, CToastPosition as a, CAlertType as b, defineCustomElement };
|
|
131
|
-
//# sourceMappingURL=c-toasts.js.map
|
|
132
|
-
|
|
133
|
-
//# sourceMappingURL=c-toasts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"c-toasts.js","mappings":";;;;IAyGY;AAAZ,CAAA,UAAY,UAAU,EAAA;AACpB,IAAA,UAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACnB,IAAA,UAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,UAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACnB,IAAA,UAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACf,CAAC,EALW,UAAU,KAAV,UAAU,GAKrB,EAAA,CAAA,CAAA;IAEW;AAAZ,CAAA,UAAY,cAAc,EAAA;AACxB,IAAA,cAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACrB,IAAA,cAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACjB,CAAC,EAHW,cAAc,KAAd,cA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;AAE1E,QAAA,IAAI,YAAY,KAAK,CAAC,EAAE;AACtB,YAAA,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC,KAAK,EAAE;;;AAItB,IAAA,cAAc,CAAC,OAAsB,EAAA;AAC3C,QAAA,QACE,CAAS,CAAA,SAAA,EAAA,EAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAC/D,EAAA,OAAO,CAAC,MAAM,IAAI,CAAA,CAAA,MAAA,EAAA,IAAA,CAAQ,CACnB;;IAId,iBAAiB,GAAA;AACf,QAAA,OAAO,CAAC,SAAS,IAAI,CAAC;;IAGxB,MAAM,GAAA;QACJ,QACE,CAAA,CAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACH,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;AACvB,gBAAA,CAAC,IAAI,CAAC,QAAQ,GAAG,IAAI;AACrB,gBAAA,CAAC,IAAI,CAAC,UAAU,GAAG,IAAI;AACxB,aAAA,EAAA,EAED,CACG,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EAAA,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,KAAK,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CACzD,CACD;;;;;;;;;;;;AAlGIF,SAAS,CAAA,SAAA,GAAG,CAAH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["CToasts","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/types/index.ts","src/components/c-toasts/c-toasts.scss?tag=c-toasts&encapsulation=shadow","src/components/c-toasts/c-toasts.tsx"],"sourcesContent":["export type CPaginationOptions = {\n itemCount: number;\n currentPage?: number;\n totalVisible?: number;\n itemsPerPage?: number;\n startFrom?: number;\n endTo?: number;\n locale?: string;\n textOverrides?: CPaginationTextOverrides;\n pageSizes?: number[];\n};\n\nexport type CPaginationTextOverrides = {\n itemsPerPageText?: string;\n nextPage?: string;\n prevPage?: string;\n pageText?: ({ start, end, count }) => string;\n pageOfText?: ({ pageNumber, count }) => string;\n};\n\nexport type CSelectItem = {\n name: string;\n value: string | number;\n disabled?: boolean;\n};\n\nexport type CAutocompleteItem = CSelectItem & {\n ref?: HTMLElement;\n};\n\nexport type CRadioGroupItem = {\n name: string;\n value: string | number;\n disabled?: boolean;\n};\n\nexport type CDataTableFooterOptions = {\n hideDetails?: boolean;\n simple?: boolean;\n hideRange?: boolean;\n size?: 'default' | 'small';\n};\n\nexport type CDataTableHeader = {\n key: string;\n value: null | string;\n component?: CDataTableComponent;\n width?: string;\n // pin items to exlude the from being hidden\n pinned?: boolean;\n sortable?: boolean;\n children?: CDataTableChild[];\n hidden?: boolean;\n align?: 'start' | 'center' | 'end';\n justify?: 'start' | 'center' | 'end';\n};\n\nexport type CDataTableData = {\n [key: string]: CDataTableDataItem;\n};\n\nexport type CDataTableDataItem = {\n value: string | number;\n formattedValue?: string | number;\n plainTextValue?: string;\n children?: CDataTableChild[];\n align?: 'start' | 'center' | 'end';\n justify?: 'start' | 'center' | 'end';\n component?: CDataTableComponent;\n};\n\nexport type CDataTableChild = {\n value: null | string;\n component?: CDataTableComponent;\n children?: CDataTableChild[];\n};\n\nexport type CDataTableComponent = {\n tag: string;\n params?: CDataTableComponentParams;\n injectValue?: boolean;\n};\n\nexport type CDataTableComponentParams = {\n [key: string]: unknown;\n onClick?: (params: CDataTableFunctionParams) => unknown;\n};\n\nexport type CDataTableFunctionParams = {\n event: MouseEvent;\n index: number;\n value: string | number;\n key: string;\n data: CDataTableData;\n};\n\nexport type CNotificationItem = {\n name: string;\n type: CNotificationItemType;\n delay?: number;\n requiresClosing?: boolean;\n};\n\nexport type CNotificationItemType = 'warning' | 'error' | 'success' | 'info';\n\nexport enum CToastType {\n Warning = 'warning',\n Error = 'error',\n Success = 'success',\n Info = 'info',\n}\n\nexport enum CToastPosition {\n Absolute = 'absolute',\n Fixed = 'fixed',\n}\n\nexport type CToastMessage = {\n message: string;\n title?: string;\n type?: CToastType;\n duration?: number;\n persistent?: boolean;\n position?: CToastPosition;\n id?: string;\n closeText?: string;\n indeterminate?: boolean;\n progress?: boolean;\n custom?: boolean;\n};\n\nexport enum CAlertType {\n Warning = 'warning',\n Error = 'error',\n Success = 'success',\n Info = 'info',\n}\n\nexport type CMenuCustomTrigger = {\n value: string;\n component: {\n tag: string;\n params?: {\n [key: string]: unknown;\n };\n };\n};\n\nexport type CMenuOption = {\n name: string;\n action: () => void;\n disabled?: boolean;\n icon?: string;\n iconPosition?: 'start' | 'end';\n};\n\nexport type CLoginCardBlendMode =\n | 'normal'\n | 'multiply'\n | 'screen'\n | 'overlay'\n | 'darken'\n | 'lighten'\n | 'color-dodge'\n | 'color-burn'\n | 'hard-light'\n | 'soft-light'\n | 'difference'\n | 'exclusion'\n | 'hue'\n | 'saturation'\n | 'color'\n | 'luminosity';\n\nexport type CRowAlign = 'start' | 'center' | 'end';\n\nexport type CRowJustify =\n | 'start'\n | 'center'\n | 'end'\n | 'space-between'\n | 'space-around';\n\nexport type CTabsJustify = 'stretch' | 'start' | 'end' | 'center';\n",":host {\n left: 0;\n max-width: 100%;\n min-width: 30vw;\n pointer-events: none;\n position: fixed;\n right: 0;\n width: 640px;\n z-index: 10000;\n}\n\n:host > div {\n display: grid;\n gap: 12px;\n grid-template-columns: 1fr;\n padding: 12px;\n}\n\n:host(.absolute) {\n position: absolute;\n}\n\n:host(.bottom) {\n bottom: 0;\n}\n\n:host(.top) {\n top: 0;\n}\n\n:host(.right) {\n justify-content: end;\n left: auto;\n right: 0;\n}\n\n:host(.left) {\n justify-content: start;\n left: 0;\n right: auto;\n}\n\n:host(.center) {\n justify-content: center;\n margin: 0 auto !important;\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n Element,\n Method,\n State,\n} from '@stencil/core';\nimport { CToastMessage, CToastPosition, CToastType } from '../../types';\n\n/**\n * @group Popups\n */\n@Component({\n tag: 'c-toasts',\n styleUrl: 'c-toasts.scss',\n shadow: true,\n})\nexport class CToasts {\n @Element() el: HTMLCToastsElement;\n\n /**\n * Use absolute positioning\n */\n @Prop() absolute = false;\n\n /**\n * Horizontal position\n */\n @Prop() horizontal: 'left' | 'center' | 'right' = 'center';\n\n /**\n * Vertical position\n */\n @Prop() vertical: 'top' | 'bottom' = 'bottom';\n\n @State() messages: CToastMessage[] = [];\n\n private static _uniqueId = 0;\n\n private _getDefaultOptions = () => ({\n type: CToastType.Info,\n duration: 6000,\n persistent: false,\n indeterminate: false,\n position: CToastPosition.Fixed,\n progress: false,\n id: `c-toast-item-${CToasts._uniqueId}`,\n });\n\n /**\n * Add a new message\n */\n @Method()\n async addToast(message: CToastMessage) {\n const customMessages = this.messages.filter((message) => message.custom);\n\n if (message.custom && customMessages.length > 0) {\n console.warn(\n `Custom toast messages are restricted to 1 visible message due to slot reflection limitations.`,\n );\n } else {\n CToasts._uniqueId += 1;\n\n requestAnimationFrame(() => {\n const defaultOptions = this._getDefaultOptions();\n\n this.messages = [\n ...this.messages,\n {\n ...defaultOptions,\n ...message,\n duration:\n +message?.duration > 0\n ? +message.duration\n : defaultOptions.duration,\n },\n ];\n });\n }\n }\n\n /**\n * Remove a message by id (id should be specified in the addToast params)\n */\n @Method()\n async removeToast(id: string) {\n const toast = this.el.shadowRoot.querySelector(\n `#c-toast--${id}`,\n ) as HTMLCToastElement;\n\n toast?.closeToast();\n }\n\n private _onMessageClose(event: CustomEvent) {\n this._removeMessage(event.detail.id);\n }\n\n private _removeMessage(id: string) {\n const toast = this.el.shadowRoot.querySelector(\n `#c-toast--${id}`,\n ) as HTMLCToastElement;\n\n toast?.remove();\n\n const messageCount = this.el.shadowRoot.querySelectorAll('c-toast').length;\n\n if (messageCount === 0) {\n this.messages = [].slice();\n }\n }\n\n private _renderMessage(message: CToastMessage) {\n return (\n <c-toast message={message} onClose={(e) => this._onMessageClose(e)}>\n {message.custom && <slot />}\n </c-toast>\n );\n }\n\n componentWillLoad() {\n CToasts._uniqueId += 1;\n }\n\n render() {\n return (\n <Host\n class={{\n absolute: this.absolute,\n [this.vertical]: true,\n [this.horizontal]: true,\n }}\n >\n <div>\n {this.messages.map((message) => this._renderMessage(message))}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface CToolbar extends Components.CToolbar, HTMLElement {}
|
|
4
|
-
export const CToolbar: {
|
|
5
|
-
prototype: CToolbar;
|
|
6
|
-
new (): CToolbar;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-Fv9YCUj3.js';
|
|
2
|
-
|
|
3
|
-
const cToolbarCss = "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-toolbar-background-color:var(--c-toolbar-background-color, var(--c-white));--_c-toolbar-text-color:var(--c-toolbar-text-color, var(--c-text-system));z-index:1}:host .c-toolbar{align-items:center;background:var(--_c-toolbar-background-color);box-shadow:2px 4px 10px rgba(0, 0, 0, 0.1607843137);color:var(--_c-toolbar-text-color);column-gap:12px;display:flex;height:60px;padding-left:16px;padding-right:16px;position:fixed;width:100%}:host .spacer{height:60px;width:100%}:host(.relative) .c-toolbar{position:relative;margin-bottom:-60px}";
|
|
4
|
-
|
|
5
|
-
const CToolbar$1 = proxyCustomElement(class CToolbar extends H {
|
|
6
|
-
constructor() {
|
|
7
|
-
super();
|
|
8
|
-
this.__registerHost();
|
|
9
|
-
this.__attachShadow();
|
|
10
|
-
}
|
|
11
|
-
render() {
|
|
12
|
-
return (h(Host, { key: '6d1f7727af44345f862431bca227169058e406be' }, h("div", { key: '5d7bb41c416763d92cf160d8b4a40958b8e0ee7e', class: "c-toolbar" }, h("slot", { key: 'b492e064ca153cc6496e89afe075a7d54f226750' })), h("div", { key: '163f28fd8b50415d67da3e6cfa62b03a54b13f9e', class: "spacer" })));
|
|
13
|
-
}
|
|
14
|
-
static get style() { return cToolbarCss; }
|
|
15
|
-
}, [1, "c-toolbar"]);
|
|
16
|
-
function defineCustomElement$1() {
|
|
17
|
-
if (typeof customElements === "undefined") {
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
const components = ["c-toolbar"];
|
|
21
|
-
components.forEach(tagName => { switch (tagName) {
|
|
22
|
-
case "c-toolbar":
|
|
23
|
-
if (!customElements.get(tagName)) {
|
|
24
|
-
customElements.define(tagName, CToolbar$1);
|
|
25
|
-
}
|
|
26
|
-
break;
|
|
27
|
-
} });
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
const CToolbar = CToolbar$1;
|
|
31
|
-
const defineCustomElement = defineCustomElement$1;
|
|
32
|
-
|
|
33
|
-
export { CToolbar, defineCustomElement };
|
|
34
|
-
//# sourceMappingURL=c-toolbar.js.map
|
|
35
|
-
|
|
36
|
-
//# sourceMappingURL=c-toolbar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"c-toolbar.js","mappings":";;AAAA,MAAM,WAAW,GAAG,4tBAA4tB;;MCUnuBA,UAAQ,GAAAC,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;;;;;;IACnB,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,WAAW,EAAA,EACpB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,EAEN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,QAAQ,EAAO,CAAA,CACrB;;;;;;;;;;;;;;;;;;;;;;;","names":["CToolbar","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/c-toolbar/c-toolbar.scss?tag=c-toolbar&encapsulation=shadow","src/components/c-toolbar/c-toolbar.tsx"],"sourcesContent":[":host {\n /**\n * @prop --c-toolbar-background-color: Toolbar background color\n * @prop --c-toolbar-text-color: Toolbar text color\n */\n --_c-toolbar-background-color: var(--c-toolbar-background-color, var(--c-white));\n --_c-toolbar-text-color: var(--c-toolbar-text-color, var(--c-text-system));\n\n z-index: 1;\n\n .c-toolbar {\n align-items: center;\n background: var(--_c-toolbar-background-color);\n box-shadow: 2px 4px 10px #00000029;\n color: var(--_c-toolbar-text-color);\n column-gap: 12px;\n display: flex;\n height: 60px;\n padding-left: 16px;\n padding-right: 16px;\n position: fixed;\n width: 100%;\n }\n\n .spacer {\n height: 60px;\n width: 100%;\n }\n}\n\n:host(.relative) .c-toolbar {\n position: relative;\n margin-bottom: -60px;\n}\n","import { Component, Host, h } from '@stencil/core';\n/**\n * @group Navigation\n * @slot Default slot - Content of toolbar\n */\n@Component({\n tag: 'c-toolbar',\n styleUrl: 'c-toolbar.scss',\n shadow: true,\n})\nexport class CToolbar {\n render() {\n return (\n <Host>\n <div class=\"c-toolbar\">\n <slot></slot>\n </div>\n\n <div class=\"spacer\"></div>\n </Host>\n );\n }\n}\n"],"version":3}
|