@cscfi/csc-ui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +54 -0
- package/dist/cjs/c-accordion-item.cjs.entry.js +118 -0
- package/dist/cjs/c-accordion-item.cjs.entry.js.map +1 -0
- package/dist/cjs/c-accordion.cjs.entry.js +68 -0
- package/dist/cjs/c-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/c-alert.cjs.entry.js +30 -0
- package/dist/cjs/c-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/c-autocomplete.cjs.entry.js +263 -0
- package/dist/cjs/c-autocomplete.cjs.entry.js.map +1 -0
- package/dist/cjs/c-badge_12.cjs.entry.js +442 -0
- package/dist/cjs/c-badge_12.cjs.entry.js.map +1 -0
- package/dist/cjs/c-card-actions.cjs.entry.js +28 -0
- package/dist/cjs/c-card-actions.cjs.entry.js.map +1 -0
- package/dist/cjs/c-card-content.cjs.entry.js +21 -0
- package/dist/cjs/c-card-content.cjs.entry.js.map +1 -0
- package/dist/cjs/c-card-title.cjs.entry.js +21 -0
- package/dist/cjs/c-card-title.cjs.entry.js.map +1 -0
- package/dist/cjs/c-checkbox_2.cjs.entry.js +342 -0
- package/dist/cjs/c-checkbox_2.cjs.entry.js.map +1 -0
- package/dist/cjs/c-data-table.cjs.entry.js +701 -0
- package/dist/cjs/c-data-table.cjs.entry.js.map +1 -0
- package/dist/cjs/c-dropdown_4.cjs.entry.js +837 -0
- package/dist/cjs/c-dropdown_4.cjs.entry.js.map +1 -0
- package/dist/cjs/c-link.cjs.entry.js +31 -0
- package/dist/cjs/c-link.cjs.entry.js.map +1 -0
- package/dist/cjs/c-list-item-title.cjs.entry.js +26 -0
- package/dist/cjs/c-list-item-title.cjs.entry.js.map +1 -0
- package/dist/cjs/c-list-item.cjs.entry.js +83 -0
- package/dist/cjs/c-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/c-list.cjs.entry.js +45 -0
- package/dist/cjs/c-list.cjs.entry.js.map +1 -0
- package/dist/cjs/c-loader.cjs.entry.js +39 -0
- package/dist/cjs/c-loader.cjs.entry.js.map +1 -0
- package/dist/cjs/c-login-button.cjs.entry.js +25 -0
- package/dist/cjs/c-login-button.cjs.entry.js.map +1 -0
- package/dist/cjs/c-login-buttons.cjs.entry.js +21 -0
- package/dist/cjs/c-login-buttons.cjs.entry.js.map +1 -0
- package/dist/cjs/c-login-card-actions.cjs.entry.js +20 -0
- package/dist/cjs/c-login-card-actions.cjs.entry.js.map +1 -0
- package/dist/cjs/c-login-card-content.cjs.entry.js +21 -0
- package/dist/cjs/c-login-card-content.cjs.entry.js.map +1 -0
- package/dist/cjs/c-login-card-title.cjs.entry.js +21 -0
- package/dist/cjs/c-login-card-title.cjs.entry.js.map +1 -0
- package/dist/cjs/c-login-card.cjs.entry.js +66 -0
- package/dist/cjs/c-login-card.cjs.entry.js.map +1 -0
- package/dist/cjs/c-menu_2.cjs.entry.js +354 -0
- package/dist/cjs/c-menu_2.cjs.entry.js.map +1 -0
- package/dist/cjs/c-modal.cjs.entry.js +108 -0
- package/dist/cjs/c-modal.cjs.entry.js.map +1 -0
- package/dist/cjs/c-navigation-button.cjs.entry.js +22 -0
- package/dist/cjs/c-navigation-button.cjs.entry.js.map +1 -0
- package/dist/cjs/c-option-value.cjs.entry.js +21 -0
- package/dist/cjs/c-option-value.cjs.entry.js.map +1 -0
- package/dist/cjs/c-option.cjs.entry.js +25 -0
- package/dist/cjs/c-option.cjs.entry.js.map +1 -0
- package/dist/cjs/c-otp-input.cjs.entry.js +154 -0
- package/dist/cjs/c-otp-input.cjs.entry.js.map +1 -0
- package/dist/cjs/c-page.cjs.entry.js +31 -0
- package/dist/cjs/c-page.cjs.entry.js.map +1 -0
- package/dist/cjs/c-progress-bar.cjs.entry.js +59 -0
- package/dist/cjs/c-progress-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/c-radio-group.cjs.entry.js +154 -0
- package/dist/cjs/c-radio-group.cjs.entry.js.map +1 -0
- package/dist/cjs/c-radio.cjs.entry.js +24 -0
- package/dist/cjs/c-radio.cjs.entry.js.map +1 -0
- package/dist/cjs/c-select.cjs.entry.js +331 -0
- package/dist/cjs/c-select.cjs.entry.js.map +1 -0
- package/dist/cjs/c-side-navigation-item.cjs.entry.js +121 -0
- package/dist/cjs/c-side-navigation-item.cjs.entry.js.map +1 -0
- package/dist/cjs/c-side-navigation-title.cjs.entry.js +21 -0
- package/dist/cjs/c-side-navigation-title.cjs.entry.js.map +1 -0
- package/dist/cjs/c-side-navigation.cjs.entry.js +71 -0
- package/dist/cjs/c-side-navigation.cjs.entry.js.map +1 -0
- package/dist/cjs/c-status.cjs.entry.js +23 -0
- package/dist/cjs/c-status.cjs.entry.js.map +1 -0
- package/dist/cjs/c-step.cjs.entry.js +27 -0
- package/dist/cjs/c-step.cjs.entry.js.map +1 -0
- package/dist/cjs/c-steps.cjs.entry.js +78 -0
- package/dist/cjs/c-steps.cjs.entry.js.map +1 -0
- package/dist/cjs/c-sub-navigation-item.cjs.entry.js +51 -0
- package/dist/cjs/c-sub-navigation-item.cjs.entry.js.map +1 -0
- package/dist/cjs/c-swiper-tab.cjs.entry.js +47 -0
- package/dist/cjs/c-swiper-tab.cjs.entry.js.map +1 -0
- package/dist/cjs/c-swiper.cjs.entry.js +4187 -0
- package/dist/cjs/c-swiper.cjs.entry.js.map +1 -0
- package/dist/cjs/c-switch.cjs.entry.js +71 -0
- package/dist/cjs/c-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/c-tab-buttons.cjs.entry.js +133 -0
- package/dist/cjs/c-tab-buttons.cjs.entry.js.map +1 -0
- package/dist/cjs/c-tab-item.cjs.entry.js +40 -0
- package/dist/cjs/c-tab-item.cjs.entry.js.map +1 -0
- package/dist/cjs/c-tab-items.cjs.entry.js +81 -0
- package/dist/cjs/c-tab-items.cjs.entry.js.map +1 -0
- package/dist/cjs/c-tab.cjs.entry.js +59 -0
- package/dist/cjs/c-tab.cjs.entry.js.map +1 -0
- package/dist/cjs/c-table.cjs.entry.js +47 -0
- package/dist/cjs/c-table.cjs.entry.js.map +1 -0
- package/dist/cjs/c-tabs.cjs.entry.js +423 -0
- package/dist/cjs/c-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/c-tag.cjs.entry.js +45 -0
- package/dist/cjs/c-tag.cjs.entry.js.map +1 -0
- package/dist/cjs/c-tags.cjs.entry.js +21 -0
- package/dist/cjs/c-tags.cjs.entry.js.map +1 -0
- package/dist/cjs/c-text-field.cjs.entry.js +151 -0
- package/dist/cjs/c-text-field.cjs.entry.js.map +1 -0
- package/dist/cjs/c-toast.cjs.entry.js +73 -0
- package/dist/cjs/c-toast.cjs.entry.js.map +1 -0
- package/dist/cjs/c-toasts.cjs.entry.js +80 -0
- package/dist/cjs/c-toasts.cjs.entry.js.map +1 -0
- package/dist/cjs/csc-ui.cjs.js +25 -0
- package/dist/cjs/csc-ui.cjs.js.map +1 -0
- package/dist/cjs/index-3cad12b5.js +2605 -0
- package/dist/cjs/index-3cad12b5.js.map +1 -0
- package/dist/cjs/index-72dca436.js +23 -0
- package/dist/cjs/index-72dca436.js.map +1 -0
- package/dist/cjs/index.cjs.js +28 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/mdi-16842afc.js +46 -0
- package/dist/cjs/mdi-16842afc.js.map +1 -0
- package/dist/collection/collection-manifest.json +81 -0
- package/dist/collection/components/c-accordion/c-accordion.css +26 -0
- package/dist/collection/components/c-accordion/c-accordion.js +172 -0
- package/dist/collection/components/c-accordion/c-accordion.js.map +1 -0
- package/dist/collection/components/c-accordion/test/c-accordion.e2e.js +140 -0
- package/dist/collection/components/c-accordion/test/c-accordion.e2e.js.map +1 -0
- package/dist/collection/components/c-accordion/test/c-accordion.spec.js +72 -0
- package/dist/collection/components/c-accordion/test/c-accordion.spec.js.map +1 -0
- package/dist/collection/components/c-accordion/test/c-accordion.visual.js +52 -0
- package/dist/collection/components/c-accordion/test/c-accordion.visual.js.map +1 -0
- package/dist/collection/components/c-accordion-item/c-accordion-item.css +130 -0
- package/dist/collection/components/c-accordion-item/c-accordion-item.js +251 -0
- package/dist/collection/components/c-accordion-item/c-accordion-item.js.map +1 -0
- package/dist/collection/components/c-alert/c-alert.css +62 -0
- package/dist/collection/components/c-alert/c-alert.js +57 -0
- package/dist/collection/components/c-alert/c-alert.js.map +1 -0
- package/dist/collection/components/c-alert/test/c-alert.spec.js +54 -0
- package/dist/collection/components/c-alert/test/c-alert.spec.js.map +1 -0
- package/dist/collection/components/c-alert/test/c-alert.visual.js +24 -0
- package/dist/collection/components/c-alert/test/c-alert.visual.js.map +1 -0
- package/dist/collection/components/c-autocomplete/c-autocomplete.css +207 -0
- package/dist/collection/components/c-autocomplete/c-autocomplete.js +808 -0
- package/dist/collection/components/c-autocomplete/c-autocomplete.js.map +1 -0
- package/dist/collection/components/c-autocomplete/test/c-autocomplete.e2e.js +35 -0
- package/dist/collection/components/c-autocomplete/test/c-autocomplete.e2e.js.map +1 -0
- package/dist/collection/components/c-autocomplete/test/c-autocomplete.visual.js +31 -0
- package/dist/collection/components/c-autocomplete/test/c-autocomplete.visual.js.map +1 -0
- package/dist/collection/components/c-badge/c-badge.css +46 -0
- package/dist/collection/components/c-badge/c-badge.js +19 -0
- package/dist/collection/components/c-badge/c-badge.js.map +1 -0
- package/dist/collection/components/c-badge/test/c-badge.e2e.js +10 -0
- package/dist/collection/components/c-badge/test/c-badge.e2e.js.map +1 -0
- package/dist/collection/components/c-badge/test/c-badge.spec.js +18 -0
- package/dist/collection/components/c-badge/test/c-badge.spec.js.map +1 -0
- package/dist/collection/components/c-button/c-button.css +565 -0
- package/dist/collection/components/c-button/c-button.js +511 -0
- package/dist/collection/components/c-button/c-button.js.map +1 -0
- package/dist/collection/components/c-button/test/c-button.spec.js +207 -0
- package/dist/collection/components/c-button/test/c-button.spec.js.map +1 -0
- package/dist/collection/components/c-button/test/c-button.visual.js +98 -0
- package/dist/collection/components/c-button/test/c-button.visual.js.map +1 -0
- package/dist/collection/components/c-card/assets/puhti.gif +0 -0
- package/dist/collection/components/c-card/c-card.css +47 -0
- package/dist/collection/components/c-card/c-card.js +138 -0
- package/dist/collection/components/c-card/c-card.js.map +1 -0
- package/dist/collection/components/c-card/test/c-card.e2e.js +17 -0
- package/dist/collection/components/c-card/test/c-card.e2e.js.map +1 -0
- package/dist/collection/components/c-card/test/c-card.spec.js +142 -0
- package/dist/collection/components/c-card/test/c-card.spec.js.map +1 -0
- package/dist/collection/components/c-card/test/c-card.visual.js +18 -0
- package/dist/collection/components/c-card/test/c-card.visual.js.map +1 -0
- package/dist/collection/components/c-card-actions/c-card-actions.css +65 -0
- package/dist/collection/components/c-card-actions/c-card-actions.js +68 -0
- package/dist/collection/components/c-card-actions/c-card-actions.js.map +1 -0
- package/dist/collection/components/c-card-actions/test/c-card-actions.spec.js +115 -0
- package/dist/collection/components/c-card-actions/test/c-card-actions.spec.js.map +1 -0
- package/dist/collection/components/c-card-content/c-card-content.css +31 -0
- package/dist/collection/components/c-card-content/c-card-content.js +19 -0
- package/dist/collection/components/c-card-content/c-card-content.js.map +1 -0
- package/dist/collection/components/c-card-title/c-card-title.css +41 -0
- package/dist/collection/components/c-card-title/c-card-title.js +19 -0
- package/dist/collection/components/c-card-title/c-card-title.js.map +1 -0
- package/dist/collection/components/c-checkbox/c-checkbox.css +178 -0
- package/dist/collection/components/c-checkbox/c-checkbox.js +391 -0
- package/dist/collection/components/c-checkbox/c-checkbox.js.map +1 -0
- package/dist/collection/components/c-checkbox/test/c-checkbox.e2e.js +60 -0
- package/dist/collection/components/c-checkbox/test/c-checkbox.e2e.js.map +1 -0
- package/dist/collection/components/c-checkbox/test/c-checkbox.spec.js +40 -0
- package/dist/collection/components/c-checkbox/test/c-checkbox.spec.js.map +1 -0
- package/dist/collection/components/c-checkbox/test/c-checkbox.visual.js +22 -0
- package/dist/collection/components/c-checkbox/test/c-checkbox.visual.js.map +1 -0
- package/dist/collection/components/c-csc-logo/c-csc-logo.css +38 -0
- package/dist/collection/components/c-csc-logo/c-csc-logo.js +45 -0
- package/dist/collection/components/c-csc-logo/c-csc-logo.js.map +1 -0
- package/dist/collection/components/c-data-table/c-data-table.css +379 -0
- package/dist/collection/components/c-data-table/c-data-table.js +1163 -0
- package/dist/collection/components/c-data-table/c-data-table.js.map +1 -0
- package/dist/collection/components/c-data-table/test/c-data-table.e2e.js +125 -0
- package/dist/collection/components/c-data-table/test/c-data-table.e2e.js.map +1 -0
- package/dist/collection/components/c-data-table/test/c-data-table.spec.js +107 -0
- package/dist/collection/components/c-data-table/test/c-data-table.spec.js.map +1 -0
- package/dist/collection/components/c-data-table/test/c-data-table.visual.js +31 -0
- package/dist/collection/components/c-data-table/test/c-data-table.visual.js.map +1 -0
- package/dist/collection/components/c-data-table/test/data/index.js +104 -0
- package/dist/collection/components/c-data-table/test/data/index.js.map +1 -0
- package/dist/collection/components/c-dropdown/c-dropdown.css +99 -0
- package/dist/collection/components/c-dropdown/c-dropdown.js +778 -0
- package/dist/collection/components/c-dropdown/c-dropdown.js.map +1 -0
- package/dist/collection/components/c-dropdowns/c-dropdowns.css +24 -0
- package/dist/collection/components/c-dropdowns/c-dropdowns.js +66 -0
- package/dist/collection/components/c-dropdowns/c-dropdowns.js.map +1 -0
- package/dist/collection/components/c-icon/c-icon.css +29 -0
- package/dist/collection/components/c-icon/c-icon.js +85 -0
- package/dist/collection/components/c-icon/c-icon.js.map +1 -0
- package/dist/collection/components/c-icon/test/c-icon.spec.js +12 -0
- package/dist/collection/components/c-icon/test/c-icon.spec.js.map +1 -0
- package/dist/collection/components/c-icon-button/c-icon-button.css +685 -0
- package/dist/collection/components/c-icon-button/c-icon-button.js +238 -0
- package/dist/collection/components/c-icon-button/c-icon-button.js.map +1 -0
- package/dist/collection/components/c-icon-button/test/c-icon-button.spec.js +82 -0
- package/dist/collection/components/c-icon-button/test/c-icon-button.spec.js.map +1 -0
- package/dist/collection/components/c-icon-button/test/c-icon-button.visual.js +22 -0
- package/dist/collection/components/c-icon-button/test/c-icon-button.visual.js.map +1 -0
- package/dist/collection/components/c-input/c-input.css +287 -0
- package/dist/collection/components/c-input/c-input.js +960 -0
- package/dist/collection/components/c-input/c-input.js.map +1 -0
- package/dist/collection/components/c-link/c-link.css +54 -0
- package/dist/collection/components/c-link/c-link.js +107 -0
- package/dist/collection/components/c-link/c-link.js.map +1 -0
- package/dist/collection/components/c-link/test/c-link.spec.js +75 -0
- package/dist/collection/components/c-link/test/c-link.spec.js.map +1 -0
- package/dist/collection/components/c-link/test/c-link.visual.js +14 -0
- package/dist/collection/components/c-link/test/c-link.visual.js.map +1 -0
- package/dist/collection/components/c-list/c-list.css +22 -0
- package/dist/collection/components/c-list/c-list.js +69 -0
- package/dist/collection/components/c-list/c-list.js.map +1 -0
- package/dist/collection/components/c-list-item/c-list-item.css +90 -0
- package/dist/collection/components/c-list-item/c-list-item.js +218 -0
- package/dist/collection/components/c-list-item/c-list-item.js.map +1 -0
- package/dist/collection/components/c-list-item-title/c-list-item-title.css +33 -0
- package/dist/collection/components/c-list-item-title/c-list-item-title.js +48 -0
- package/dist/collection/components/c-list-item-title/c-list-item-title.js.map +1 -0
- package/dist/collection/components/c-loader/c-loader.css +101 -0
- package/dist/collection/components/c-loader/c-loader.js +118 -0
- package/dist/collection/components/c-loader/c-loader.js.map +1 -0
- package/dist/collection/components/c-loader/test/c-loader.e2e.js +16 -0
- package/dist/collection/components/c-loader/test/c-loader.e2e.js.map +1 -0
- package/dist/collection/components/c-loader/test/c-loader.spec.js +28 -0
- package/dist/collection/components/c-loader/test/c-loader.spec.js.map +1 -0
- package/dist/collection/components/c-login-button/c-login-button.css +79 -0
- package/dist/collection/components/c-login-button/c-login-button.js +82 -0
- package/dist/collection/components/c-login-button/c-login-button.js.map +1 -0
- package/dist/collection/components/c-login-buttons/c-login-buttons.css +23 -0
- package/dist/collection/components/c-login-buttons/c-login-buttons.js +19 -0
- package/dist/collection/components/c-login-buttons/c-login-buttons.js.map +1 -0
- package/dist/collection/components/c-login-card/c-login-card.css +88 -0
- package/dist/collection/components/c-login-card/c-login-card.js +171 -0
- package/dist/collection/components/c-login-card/c-login-card.js.map +1 -0
- package/dist/collection/components/c-login-card/test/c-login-card.spec.js +151 -0
- package/dist/collection/components/c-login-card/test/c-login-card.spec.js.map +1 -0
- package/dist/collection/components/c-login-card/test/c-login-card.visual.js +18 -0
- package/dist/collection/components/c-login-card/test/c-login-card.visual.js.map +1 -0
- package/dist/collection/components/c-login-card-actions/c-login-card-actions.js +53 -0
- package/dist/collection/components/c-login-card-actions/c-login-card-actions.js.map +1 -0
- package/dist/collection/components/c-login-card-content/c-login-card-content.css +26 -0
- package/dist/collection/components/c-login-card-content/c-login-card-content.js +19 -0
- package/dist/collection/components/c-login-card-content/c-login-card-content.js.map +1 -0
- package/dist/collection/components/c-login-card-title/c-login-card-title.css +31 -0
- package/dist/collection/components/c-login-card-title/c-login-card-title.js +19 -0
- package/dist/collection/components/c-login-card-title/c-login-card-title.js.map +1 -0
- package/dist/collection/components/c-main/c-main.css +34 -0
- package/dist/collection/components/c-main/c-main.js +19 -0
- package/dist/collection/components/c-main/c-main.js.map +1 -0
- package/dist/collection/components/c-main/test/c-main.spec.js +19 -0
- package/dist/collection/components/c-main/test/c-main.spec.js.map +1 -0
- package/dist/collection/components/c-menu/c-menu.css +117 -0
- package/dist/collection/components/c-menu/c-menu.js +284 -0
- package/dist/collection/components/c-menu/c-menu.js.map +1 -0
- package/dist/collection/components/c-menu/test/c-menu.spec.js +46 -0
- package/dist/collection/components/c-menu/test/c-menu.spec.js.map +1 -0
- package/dist/collection/components/c-menu/test/c-menu.visual.js +43 -0
- package/dist/collection/components/c-menu/test/c-menu.visual.js.map +1 -0
- package/dist/collection/components/c-menu-items/c-menu-items.css +97 -0
- package/dist/collection/components/c-menu-items/c-menu-items.js +445 -0
- package/dist/collection/components/c-menu-items/c-menu-items.js.map +1 -0
- package/dist/collection/components/c-message/c-message.css +68 -0
- package/dist/collection/components/c-message/c-message.js +154 -0
- package/dist/collection/components/c-message/c-message.js.map +1 -0
- package/dist/collection/components/c-modal/c-modal.css +94 -0
- package/dist/collection/components/c-modal/c-modal.js +210 -0
- package/dist/collection/components/c-modal/c-modal.js.map +1 -0
- package/dist/collection/components/c-modal/test/c-modal.spec.js +75 -0
- package/dist/collection/components/c-modal/test/c-modal.spec.js.map +1 -0
- package/dist/collection/components/c-navigation-button/c-navigation-button.css +33 -0
- package/dist/collection/components/c-navigation-button/c-navigation-button.js +20 -0
- package/dist/collection/components/c-navigation-button/c-navigation-button.js.map +1 -0
- package/dist/collection/components/c-option/c-option.css +23 -0
- package/dist/collection/components/c-option/c-option.js +99 -0
- package/dist/collection/components/c-option/c-option.js.map +1 -0
- package/dist/collection/components/c-option-value/c-option-value.css +21 -0
- package/dist/collection/components/c-option-value/c-option-value.js +19 -0
- package/dist/collection/components/c-option-value/c-option-value.js.map +1 -0
- package/dist/collection/components/c-otp-input/c-otp-input.css +87 -0
- package/dist/collection/components/c-otp-input/c-otp-input.js +298 -0
- package/dist/collection/components/c-otp-input/c-otp-input.js.map +1 -0
- package/dist/collection/components/c-otp-input/test/c-otp-input.e2e.js +10 -0
- package/dist/collection/components/c-otp-input/test/c-otp-input.e2e.js.map +1 -0
- package/dist/collection/components/c-otp-input/test/c-otp-input.spec.js +18 -0
- package/dist/collection/components/c-otp-input/test/c-otp-input.spec.js.map +1 -0
- package/dist/collection/components/c-page/c-page.css +46 -0
- package/dist/collection/components/c-page/c-page.js +29 -0
- package/dist/collection/components/c-page/c-page.js.map +1 -0
- package/dist/collection/components/c-pagination/c-pagination.css +121 -0
- package/dist/collection/components/c-pagination/c-pagination.js +375 -0
- package/dist/collection/components/c-pagination/c-pagination.js.map +1 -0
- package/dist/collection/components/c-pagination/test/c-pagination.e2e.js +47 -0
- package/dist/collection/components/c-pagination/test/c-pagination.e2e.js.map +1 -0
- package/dist/collection/components/c-pagination/test/c-pagination.visual.js +42 -0
- package/dist/collection/components/c-pagination/test/c-pagination.visual.js.map +1 -0
- package/dist/collection/components/c-progress-bar/c-progress-bar.css +137 -0
- package/dist/collection/components/c-progress-bar/c-progress-bar.js +153 -0
- package/dist/collection/components/c-progress-bar/c-progress-bar.js.map +1 -0
- package/dist/collection/components/c-progress-bar/test/c-progress-bar.spec.js +54 -0
- package/dist/collection/components/c-progress-bar/test/c-progress-bar.spec.js.map +1 -0
- package/dist/collection/components/c-progress-bar/test/c-progress-bar.visual.js +22 -0
- package/dist/collection/components/c-progress-bar/test/c-progress-bar.visual.js.map +1 -0
- package/dist/collection/components/c-radio/c-radio.css +21 -0
- package/dist/collection/components/c-radio/c-radio.js +81 -0
- package/dist/collection/components/c-radio/c-radio.js.map +1 -0
- package/dist/collection/components/c-radio-group/c-radio-group.css +199 -0
- package/dist/collection/components/c-radio-group/c-radio-group.js +403 -0
- package/dist/collection/components/c-radio-group/c-radio-group.js.map +1 -0
- package/dist/collection/components/c-radio-group/test/c-radio-group.e2e.js +39 -0
- package/dist/collection/components/c-radio-group/test/c-radio-group.e2e.js.map +1 -0
- package/dist/collection/components/c-radio-group/test/c-radio-group.spec.js +28 -0
- package/dist/collection/components/c-radio-group/test/c-radio-group.spec.js.map +1 -0
- package/dist/collection/components/c-radio-group/test/c-radio-group.visual.js +24 -0
- package/dist/collection/components/c-radio-group/test/c-radio-group.visual.js.map +1 -0
- package/dist/collection/components/c-radio-group/test/items.js +6 -0
- package/dist/collection/components/c-radio-group/test/items.js.map +1 -0
- package/dist/collection/components/c-ripple/c-ripple.css +48 -0
- package/dist/collection/components/c-ripple/c-ripple.js +91 -0
- package/dist/collection/components/c-ripple/c-ripple.js.map +1 -0
- package/dist/collection/components/c-row/c-row.css +66 -0
- package/dist/collection/components/c-row/c-row.js +121 -0
- package/dist/collection/components/c-row/c-row.js.map +1 -0
- package/dist/collection/components/c-row/test/c-row.spec.js +137 -0
- package/dist/collection/components/c-row/test/c-row.spec.js.map +1 -0
- package/dist/collection/components/c-select/c-select.css +200 -0
- package/dist/collection/components/c-select/c-select.js +786 -0
- package/dist/collection/components/c-select/c-select.js.map +1 -0
- package/dist/collection/components/c-select/test/c-select.e2e.js +66 -0
- package/dist/collection/components/c-select/test/c-select.e2e.js.map +1 -0
- package/dist/collection/components/c-select/test/c-select.spec.js +38 -0
- package/dist/collection/components/c-select/test/c-select.spec.js.map +1 -0
- package/dist/collection/components/c-select/test/c-select.visual.js +36 -0
- package/dist/collection/components/c-select/test/c-select.visual.js.map +1 -0
- package/dist/collection/components/c-select/test/items.js +10 -0
- package/dist/collection/components/c-select/test/items.js.map +1 -0
- package/dist/collection/components/c-side-navigation/c-side-navigation.css +147 -0
- package/dist/collection/components/c-side-navigation/c-side-navigation.js +119 -0
- package/dist/collection/components/c-side-navigation/c-side-navigation.js.map +1 -0
- package/dist/collection/components/c-side-navigation/test/c-side-navigation.spec.js +21 -0
- package/dist/collection/components/c-side-navigation/test/c-side-navigation.spec.js.map +1 -0
- package/dist/collection/components/c-side-navigation/test/c-side-navigation.visual.js +16 -0
- package/dist/collection/components/c-side-navigation/test/c-side-navigation.visual.js.map +1 -0
- package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.css +168 -0
- package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.js +227 -0
- package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.js.map +1 -0
- package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.css +33 -0
- package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.js +19 -0
- package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.js.map +1 -0
- package/dist/collection/components/c-spacer/c-spacer.css +21 -0
- package/dist/collection/components/c-spacer/c-spacer.js +19 -0
- package/dist/collection/components/c-spacer/c-spacer.js.map +1 -0
- package/dist/collection/components/c-spacer/test/c-spacer.spec.js +12 -0
- package/dist/collection/components/c-spacer/test/c-spacer.spec.js.map +1 -0
- package/dist/collection/components/c-spinner/c-spinner.css +59 -0
- package/dist/collection/components/c-spinner/c-spinner.js +92 -0
- package/dist/collection/components/c-spinner/c-spinner.js.map +1 -0
- package/dist/collection/components/c-status/c-status.css +74 -0
- package/dist/collection/components/c-status/c-status.js +44 -0
- package/dist/collection/components/c-status/c-status.js.map +1 -0
- package/dist/collection/components/c-status/test/c-status.spec.js +40 -0
- package/dist/collection/components/c-status/test/c-status.spec.js.map +1 -0
- package/dist/collection/components/c-status/test/c-status.visual.js +10 -0
- package/dist/collection/components/c-status/test/c-status.visual.js.map +1 -0
- package/dist/collection/components/c-step/c-step.css +104 -0
- package/dist/collection/components/c-step/c-step.js +73 -0
- package/dist/collection/components/c-step/c-step.js.map +1 -0
- package/dist/collection/components/c-steps/c-steps.css +81 -0
- package/dist/collection/components/c-steps/c-steps.js +125 -0
- package/dist/collection/components/c-steps/c-steps.js.map +1 -0
- package/dist/collection/components/c-steps/test/c-steps.e2e.js +35 -0
- package/dist/collection/components/c-steps/test/c-steps.e2e.js.map +1 -0
- package/dist/collection/components/c-steps/test/c-steps.visual.js +19 -0
- package/dist/collection/components/c-steps/test/c-steps.visual.js.map +1 -0
- package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.css +184 -0
- package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.js +143 -0
- package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.js.map +1 -0
- package/dist/collection/components/c-swiper/c-swiper.css +317 -0
- package/dist/collection/components/c-swiper/c-swiper.js +214 -0
- package/dist/collection/components/c-swiper/c-swiper.js.map +1 -0
- package/dist/collection/components/c-swiper/test/c-swiper.e2e.js +83 -0
- package/dist/collection/components/c-swiper/test/c-swiper.e2e.js.map +1 -0
- package/dist/collection/components/c-swiper/test/c-swiper.visual.js +20 -0
- package/dist/collection/components/c-swiper/test/c-swiper.visual.js.map +1 -0
- package/dist/collection/components/c-swiper-tab/c-swiper-tab.css +115 -0
- package/dist/collection/components/c-swiper-tab/c-swiper-tab.js +207 -0
- package/dist/collection/components/c-swiper-tab/c-swiper-tab.js.map +1 -0
- package/dist/collection/components/c-switch/c-switch.css +138 -0
- package/dist/collection/components/c-switch/c-switch.js +216 -0
- package/dist/collection/components/c-switch/c-switch.js.map +1 -0
- package/dist/collection/components/c-switch/test/c-switch.e2e.js +51 -0
- package/dist/collection/components/c-switch/test/c-switch.e2e.js.map +1 -0
- package/dist/collection/components/c-switch/test/c-switch.spec.js +40 -0
- package/dist/collection/components/c-switch/test/c-switch.spec.js.map +1 -0
- package/dist/collection/components/c-switch/test/c-switch.visual.js +28 -0
- package/dist/collection/components/c-switch/test/c-switch.visual.js.map +1 -0
- package/dist/collection/components/c-tab/c-tab.css +101 -0
- package/dist/collection/components/c-tab/c-tab.js +230 -0
- package/dist/collection/components/c-tab/c-tab.js.map +1 -0
- package/dist/collection/components/c-tab-buttons/c-tab-buttons.css +108 -0
- package/dist/collection/components/c-tab-buttons/c-tab-buttons.js +271 -0
- package/dist/collection/components/c-tab-buttons/c-tab-buttons.js.map +1 -0
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.e2e.js +91 -0
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.e2e.js.map +1 -0
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.spec.js +42 -0
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.spec.js.map +1 -0
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.visual.js +47 -0
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.visual.js.map +1 -0
- package/dist/collection/components/c-tab-item/c-tab-item.css +41 -0
- package/dist/collection/components/c-tab-item/c-tab-item.js +99 -0
- package/dist/collection/components/c-tab-item/c-tab-item.js.map +1 -0
- package/dist/collection/components/c-tab-items/c-tab-items.css +34 -0
- package/dist/collection/components/c-tab-items/c-tab-items.js +140 -0
- package/dist/collection/components/c-tab-items/c-tab-items.js.map +1 -0
- package/dist/collection/components/c-table/c-table.css +143 -0
- package/dist/collection/components/c-table/c-table.js +86 -0
- package/dist/collection/components/c-table/c-table.js.map +1 -0
- package/dist/collection/components/c-tabs/c-tabs.css +167 -0
- package/dist/collection/components/c-tabs/c-tabs.js +598 -0
- package/dist/collection/components/c-tabs/c-tabs.js.map +1 -0
- package/dist/collection/components/c-tabs/test/c-tabs.e2e.js +74 -0
- package/dist/collection/components/c-tabs/test/c-tabs.e2e.js.map +1 -0
- package/dist/collection/components/c-tabs/test/c-tabs.spec.js +85 -0
- package/dist/collection/components/c-tabs/test/c-tabs.spec.js.map +1 -0
- package/dist/collection/components/c-tabs/test/c-tabs.visual.js +16 -0
- package/dist/collection/components/c-tabs/test/c-tabs.visual.js.map +1 -0
- package/dist/collection/components/c-tag/c-tag.css +146 -0
- package/dist/collection/components/c-tag/c-tag.js +174 -0
- package/dist/collection/components/c-tag/c-tag.js.map +1 -0
- package/dist/collection/components/c-tag/test/c-tag.spec.js +50 -0
- package/dist/collection/components/c-tag/test/c-tag.spec.js.map +1 -0
- package/dist/collection/components/c-tag/test/c-tag.visual.js +26 -0
- package/dist/collection/components/c-tag/test/c-tag.visual.js.map +1 -0
- package/dist/collection/components/c-tags/c-tags.css +25 -0
- package/dist/collection/components/c-tags/c-tags.js +19 -0
- package/dist/collection/components/c-tags/c-tags.js.map +1 -0
- package/dist/collection/components/c-text-field/c-text-field.css +73 -0
- package/dist/collection/components/c-text-field/c-text-field.js +639 -0
- package/dist/collection/components/c-text-field/c-text-field.js.map +1 -0
- package/dist/collection/components/c-text-field/test/c-text-field.e2e.js +12 -0
- package/dist/collection/components/c-text-field/test/c-text-field.e2e.js.map +1 -0
- package/dist/collection/components/c-text-field/test/c-text-field.spec.js +33 -0
- package/dist/collection/components/c-text-field/test/c-text-field.spec.js.map +1 -0
- package/dist/collection/components/c-text-field/test/c-text-field.visual.js +41 -0
- package/dist/collection/components/c-text-field/test/c-text-field.visual.js.map +1 -0
- package/dist/collection/components/c-toast/c-toast.css +156 -0
- package/dist/collection/components/c-toast/c-toast.js +145 -0
- package/dist/collection/components/c-toast/c-toast.js.map +1 -0
- package/dist/collection/components/c-toasts/c-toasts.css +61 -0
- package/dist/collection/components/c-toasts/c-toasts.js +196 -0
- package/dist/collection/components/c-toasts/c-toasts.js.map +1 -0
- package/dist/collection/components/c-toasts/test/c-toasts.spec.js +61 -0
- package/dist/collection/components/c-toasts/test/c-toasts.spec.js.map +1 -0
- package/dist/collection/components/c-toasts/test/c-toasts.visual.js +27 -0
- package/dist/collection/components/c-toasts/test/c-toasts.visual.js.map +1 -0
- package/dist/collection/components/c-toolbar/c-toolbar.css +49 -0
- package/dist/collection/components/c-toolbar/c-toolbar.js +19 -0
- package/dist/collection/components/c-toolbar/c-toolbar.js.map +1 -0
- package/dist/collection/components/c-toolbar/test/c-toolbar.spec.js +12 -0
- package/dist/collection/components/c-toolbar/test/c-toolbar.spec.js.map +1 -0
- package/dist/collection/components/c-toolbar/test/c-toolbar.visual.js +10 -0
- package/dist/collection/components/c-toolbar/test/c-toolbar.visual.js.map +1 -0
- package/dist/collection/dist/styles/css/c-data-table.css +10 -0
- package/dist/collection/dist/styles/css/theme.css +100 -0
- package/dist/collection/dist/styles/css/typography.css +10 -0
- package/dist/collection/dist/styles/scss/_c-data-table.scss +7 -0
- package/dist/collection/dist/styles/scss/_theme.scss +97 -0
- package/dist/collection/dist/styles/scss/_typography.scss +7 -0
- package/dist/collection/dist/styles/tailwind/theme.js +117 -0
- package/dist/collection/dist/styles/variables.css +111 -0
- package/dist/collection/dist/styles/variables.scss +108 -0
- package/dist/collection/index.js +3 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/styles/tailwind/theme.js +117 -0
- package/dist/collection/types/index.js +20 -0
- package/dist/collection/types/index.js.map +1 -0
- package/dist/collection/utils/test/sleep.js +2 -0
- package/dist/collection/utils/test/sleep.js.map +1 -0
- package/dist/collection/utils/test/takeScreenshot.js +11 -0
- package/dist/collection/utils/test/takeScreenshot.js.map +1 -0
- package/dist/components/c-accordion-item.d.ts +11 -0
- package/dist/components/c-accordion-item.js +144 -0
- package/dist/components/c-accordion-item.js.map +1 -0
- package/dist/components/c-accordion.d.ts +11 -0
- package/dist/components/c-accordion.js +89 -0
- package/dist/components/c-accordion.js.map +1 -0
- package/dist/components/c-alert.d.ts +11 -0
- package/dist/components/c-alert.js +46 -0
- package/dist/components/c-alert.js.map +1 -0
- package/dist/components/c-autocomplete.d.ts +11 -0
- package/dist/components/c-autocomplete.js +335 -0
- package/dist/components/c-autocomplete.js.map +1 -0
- package/dist/components/c-badge.d.ts +11 -0
- package/dist/components/c-badge.js +8 -0
- package/dist/components/c-badge.js.map +1 -0
- package/dist/components/c-badge2.js +32 -0
- package/dist/components/c-badge2.js.map +1 -0
- package/dist/components/c-button.d.ts +11 -0
- package/dist/components/c-button.js +191 -0
- package/dist/components/c-button.js.map +1 -0
- package/dist/components/c-card-actions.d.ts +11 -0
- package/dist/components/c-card-actions.js +8 -0
- package/dist/components/c-card-actions.js.map +1 -0
- package/dist/components/c-card-actions2.js +42 -0
- package/dist/components/c-card-actions2.js.map +1 -0
- package/dist/components/c-card-content.d.ts +11 -0
- package/dist/components/c-card-content.js +35 -0
- package/dist/components/c-card-content.js.map +1 -0
- package/dist/components/c-card-title.d.ts +11 -0
- package/dist/components/c-card-title.js +35 -0
- package/dist/components/c-card-title.js.map +1 -0
- package/dist/components/c-card.d.ts +11 -0
- package/dist/components/c-card.js +118 -0
- package/dist/components/c-card.js.map +1 -0
- package/dist/components/c-checkbox.d.ts +11 -0
- package/dist/components/c-checkbox.js +8 -0
- package/dist/components/c-checkbox.js.map +1 -0
- package/dist/components/c-checkbox2.js +153 -0
- package/dist/components/c-checkbox2.js.map +1 -0
- package/dist/components/c-csc-logo.d.ts +11 -0
- package/dist/components/c-csc-logo.js +39 -0
- package/dist/components/c-csc-logo.js.map +1 -0
- package/dist/components/c-data-table.d.ts +11 -0
- package/dist/components/c-data-table.js +815 -0
- package/dist/components/c-data-table.js.map +1 -0
- package/dist/components/c-dropdown.d.ts +11 -0
- package/dist/components/c-dropdown.js +8 -0
- package/dist/components/c-dropdown.js.map +1 -0
- package/dist/components/c-dropdown2.js +504 -0
- package/dist/components/c-dropdown2.js.map +1 -0
- package/dist/components/c-dropdowns.d.ts +11 -0
- package/dist/components/c-dropdowns.js +8 -0
- package/dist/components/c-dropdowns.js.map +1 -0
- package/dist/components/c-dropdowns2.js +60 -0
- package/dist/components/c-dropdowns2.js.map +1 -0
- package/dist/components/c-icon-button.d.ts +11 -0
- package/dist/components/c-icon-button.js +8 -0
- package/dist/components/c-icon-button.js.map +1 -0
- package/dist/components/c-icon-button2.js +95 -0
- package/dist/components/c-icon-button2.js.map +1 -0
- package/dist/components/c-icon.d.ts +11 -0
- package/dist/components/c-icon.js +8 -0
- package/dist/components/c-icon.js.map +1 -0
- package/dist/components/c-icon2.js +43 -0
- package/dist/components/c-icon2.js.map +1 -0
- package/dist/components/c-input.d.ts +11 -0
- package/dist/components/c-input.js +8 -0
- package/dist/components/c-input.js.map +1 -0
- package/dist/components/c-input2.js +373 -0
- package/dist/components/c-input2.js.map +1 -0
- package/dist/components/c-link.d.ts +11 -0
- package/dist/components/c-link.js +50 -0
- package/dist/components/c-link.js.map +1 -0
- package/dist/components/c-list-item-title.d.ts +11 -0
- package/dist/components/c-list-item-title.js +42 -0
- package/dist/components/c-list-item-title.js.map +1 -0
- package/dist/components/c-list-item.d.ts +11 -0
- package/dist/components/c-list-item.js +113 -0
- package/dist/components/c-list-item.js.map +1 -0
- package/dist/components/c-list.d.ts +11 -0
- package/dist/components/c-list.js +62 -0
- package/dist/components/c-list.js.map +1 -0
- package/dist/components/c-loader.d.ts +11 -0
- package/dist/components/c-loader.js +8 -0
- package/dist/components/c-loader.js.map +1 -0
- package/dist/components/c-loader2.js +63 -0
- package/dist/components/c-loader2.js.map +1 -0
- package/dist/components/c-login-button.d.ts +11 -0
- package/dist/components/c-login-button.js +43 -0
- package/dist/components/c-login-button.js.map +1 -0
- package/dist/components/c-login-buttons.d.ts +11 -0
- package/dist/components/c-login-buttons.js +35 -0
- package/dist/components/c-login-buttons.js.map +1 -0
- package/dist/components/c-login-card-actions.d.ts +11 -0
- package/dist/components/c-login-card-actions.js +43 -0
- package/dist/components/c-login-card-actions.js.map +1 -0
- package/dist/components/c-login-card-content.d.ts +11 -0
- package/dist/components/c-login-card-content.js +35 -0
- package/dist/components/c-login-card-content.js.map +1 -0
- package/dist/components/c-login-card-title.d.ts +11 -0
- package/dist/components/c-login-card-title.js +35 -0
- package/dist/components/c-login-card-title.js.map +1 -0
- package/dist/components/c-login-card.d.ts +11 -0
- package/dist/components/c-login-card.js +87 -0
- package/dist/components/c-login-card.js.map +1 -0
- package/dist/components/c-main.d.ts +11 -0
- package/dist/components/c-main.js +35 -0
- package/dist/components/c-main.js.map +1 -0
- package/dist/components/c-menu-items.d.ts +11 -0
- package/dist/components/c-menu-items.js +8 -0
- package/dist/components/c-menu-items.js.map +1 -0
- package/dist/components/c-menu-items2.js +236 -0
- package/dist/components/c-menu-items2.js.map +1 -0
- package/dist/components/c-menu.d.ts +11 -0
- package/dist/components/c-menu.js +8 -0
- package/dist/components/c-menu.js.map +1 -0
- package/dist/components/c-menu2.js +185 -0
- package/dist/components/c-menu2.js.map +1 -0
- package/dist/components/c-message.d.ts +11 -0
- package/dist/components/c-message.js +8 -0
- package/dist/components/c-message.js.map +1 -0
- package/dist/components/c-message2.js +88 -0
- package/dist/components/c-message2.js.map +1 -0
- package/dist/components/c-modal.d.ts +11 -0
- package/dist/components/c-modal.js +131 -0
- package/dist/components/c-modal.js.map +1 -0
- package/dist/components/c-navigation-button.d.ts +11 -0
- package/dist/components/c-navigation-button.js +66 -0
- package/dist/components/c-navigation-button.js.map +1 -0
- package/dist/components/c-option-value.d.ts +11 -0
- package/dist/components/c-option-value.js +35 -0
- package/dist/components/c-option-value.js.map +1 -0
- package/dist/components/c-option.d.ts +11 -0
- package/dist/components/c-option.js +44 -0
- package/dist/components/c-option.js.map +1 -0
- package/dist/components/c-otp-input.d.ts +11 -0
- package/dist/components/c-otp-input.js +178 -0
- package/dist/components/c-otp-input.js.map +1 -0
- package/dist/components/c-page.d.ts +11 -0
- package/dist/components/c-page.js +45 -0
- package/dist/components/c-page.js.map +1 -0
- package/dist/components/c-pagination.d.ts +11 -0
- package/dist/components/c-pagination.js +8 -0
- package/dist/components/c-pagination.js.map +1 -0
- package/dist/components/c-pagination2.js +293 -0
- package/dist/components/c-pagination2.js.map +1 -0
- package/dist/components/c-progress-bar.d.ts +11 -0
- package/dist/components/c-progress-bar.js +79 -0
- package/dist/components/c-progress-bar.js.map +1 -0
- package/dist/components/c-radio-group.d.ts +11 -0
- package/dist/components/c-radio-group.js +185 -0
- package/dist/components/c-radio-group.js.map +1 -0
- package/dist/components/c-radio.d.ts +11 -0
- package/dist/components/c-radio.js +42 -0
- package/dist/components/c-radio.js.map +1 -0
- package/dist/components/c-ripple.d.ts +11 -0
- package/dist/components/c-ripple.js +8 -0
- package/dist/components/c-ripple.js.map +1 -0
- package/dist/components/c-ripple2.js +68 -0
- package/dist/components/c-ripple2.js.map +1 -0
- package/dist/components/c-row.d.ts +11 -0
- package/dist/components/c-row.js +54 -0
- package/dist/components/c-row.js.map +1 -0
- package/dist/components/c-select.d.ts +11 -0
- package/dist/components/c-select.js +402 -0
- package/dist/components/c-select.js.map +1 -0
- package/dist/components/c-side-navigation-item.d.ts +11 -0
- package/dist/components/c-side-navigation-item.js +154 -0
- package/dist/components/c-side-navigation-item.js.map +1 -0
- package/dist/components/c-side-navigation-title.d.ts +11 -0
- package/dist/components/c-side-navigation-title.js +35 -0
- package/dist/components/c-side-navigation-title.js.map +1 -0
- package/dist/components/c-side-navigation.d.ts +11 -0
- package/dist/components/c-side-navigation.js +118 -0
- package/dist/components/c-side-navigation.js.map +1 -0
- package/dist/components/c-spacer.d.ts +11 -0
- package/dist/components/c-spacer.js +8 -0
- package/dist/components/c-spacer.js.map +1 -0
- package/dist/components/c-spacer2.js +32 -0
- package/dist/components/c-spacer2.js.map +1 -0
- package/dist/components/c-spinner.d.ts +11 -0
- package/dist/components/c-spinner.js +8 -0
- package/dist/components/c-spinner.js.map +1 -0
- package/dist/components/c-spinner2.js +49 -0
- package/dist/components/c-spinner2.js.map +1 -0
- package/dist/components/c-status.d.ts +11 -0
- package/dist/components/c-status.js +39 -0
- package/dist/components/c-status.js.map +1 -0
- package/dist/components/c-step.d.ts +11 -0
- package/dist/components/c-step.js +44 -0
- package/dist/components/c-step.js.map +1 -0
- package/dist/components/c-steps.d.ts +11 -0
- package/dist/components/c-steps.js +98 -0
- package/dist/components/c-steps.js.map +1 -0
- package/dist/components/c-sub-navigation-item.d.ts +11 -0
- package/dist/components/c-sub-navigation-item.js +83 -0
- package/dist/components/c-sub-navigation-item.js.map +1 -0
- package/dist/components/c-swiper-tab.d.ts +11 -0
- package/dist/components/c-swiper-tab.js +75 -0
- package/dist/components/c-swiper-tab.js.map +1 -0
- package/dist/components/c-swiper.d.ts +11 -0
- package/dist/components/c-swiper.js +4230 -0
- package/dist/components/c-swiper.js.map +1 -0
- package/dist/components/c-switch.d.ts +11 -0
- package/dist/components/c-switch.js +88 -0
- package/dist/components/c-switch.js.map +1 -0
- package/dist/components/c-tab-buttons.d.ts +11 -0
- package/dist/components/c-tab-buttons.js +155 -0
- package/dist/components/c-tab-buttons.js.map +1 -0
- package/dist/components/c-tab-item.d.ts +11 -0
- package/dist/components/c-tab-item.js +57 -0
- package/dist/components/c-tab-item.js.map +1 -0
- package/dist/components/c-tab-items.d.ts +11 -0
- package/dist/components/c-tab-items.js +101 -0
- package/dist/components/c-tab-items.js.map +1 -0
- package/dist/components/c-tab.d.ts +11 -0
- package/dist/components/c-tab.js +86 -0
- package/dist/components/c-tab.js.map +1 -0
- package/dist/components/c-table.d.ts +11 -0
- package/dist/components/c-table.js +63 -0
- package/dist/components/c-table.js.map +1 -0
- package/dist/components/c-tabs.d.ts +11 -0
- package/dist/components/c-tabs.js +481 -0
- package/dist/components/c-tabs.js.map +1 -0
- package/dist/components/c-tag.d.ts +11 -0
- package/dist/components/c-tag.js +96 -0
- package/dist/components/c-tag.js.map +1 -0
- package/dist/components/c-tags.d.ts +11 -0
- package/dist/components/c-tags.js +35 -0
- package/dist/components/c-tags.js.map +1 -0
- package/dist/components/c-text-field.d.ts +11 -0
- package/dist/components/c-text-field.js +220 -0
- package/dist/components/c-text-field.js.map +1 -0
- package/dist/components/c-toast.d.ts +11 -0
- package/dist/components/c-toast.js +8 -0
- package/dist/components/c-toast.js.map +1 -0
- package/dist/components/c-toast2.js +93 -0
- package/dist/components/c-toast2.js.map +1 -0
- package/dist/components/c-toasts.d.ts +11 -0
- package/dist/components/c-toasts.js +113 -0
- package/dist/components/c-toasts.js.map +1 -0
- package/dist/components/c-toolbar.d.ts +11 -0
- package/dist/components/c-toolbar.js +35 -0
- package/dist/components/c-toolbar.js.map +1 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +4 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index2.js +23 -0
- package/dist/components/index2.js.map +1 -0
- package/dist/components/mdi.js +25 -0
- package/dist/components/mdi.js.map +1 -0
- package/dist/csc-ui/assets/puhti.gif +0 -0
- package/dist/csc-ui/csc-ui.esm.js +2 -0
- package/dist/csc-ui/csc-ui.esm.js.map +1 -0
- package/dist/csc-ui/dist/styles/css/c-data-table.css +10 -0
- package/dist/csc-ui/dist/styles/css/theme.css +100 -0
- package/dist/csc-ui/dist/styles/css/typography.css +10 -0
- package/dist/csc-ui/dist/styles/scss/_c-data-table.scss +7 -0
- package/dist/csc-ui/dist/styles/scss/_theme.scss +97 -0
- package/dist/csc-ui/dist/styles/scss/_typography.scss +7 -0
- package/dist/csc-ui/dist/styles/tailwind/theme.js +117 -0
- package/dist/csc-ui/dist/styles/variables.css +111 -0
- package/dist/csc-ui/dist/styles/variables.scss +108 -0
- package/dist/csc-ui/index.esm.js +2 -0
- package/dist/csc-ui/index.esm.js.map +1 -0
- package/dist/csc-ui/p-0355c094.entry.js +2 -0
- package/dist/csc-ui/p-0355c094.entry.js.map +1 -0
- package/dist/csc-ui/p-0c7c2bbd.entry.js +2 -0
- package/dist/csc-ui/p-0c7c2bbd.entry.js.map +1 -0
- package/dist/csc-ui/p-177f7d7d.entry.js +2 -0
- package/dist/csc-ui/p-177f7d7d.entry.js.map +1 -0
- package/dist/csc-ui/p-20282d86.entry.js +2 -0
- package/dist/csc-ui/p-20282d86.entry.js.map +1 -0
- package/dist/csc-ui/p-21f39647.entry.js +2 -0
- package/dist/csc-ui/p-21f39647.entry.js.map +1 -0
- package/dist/csc-ui/p-2318ba6b.entry.js +2 -0
- package/dist/csc-ui/p-2318ba6b.entry.js.map +1 -0
- package/dist/csc-ui/p-2bf78691.entry.js +2 -0
- package/dist/csc-ui/p-2bf78691.entry.js.map +1 -0
- package/dist/csc-ui/p-319fba28.entry.js +2 -0
- package/dist/csc-ui/p-319fba28.entry.js.map +1 -0
- package/dist/csc-ui/p-33e42eb8.entry.js +2 -0
- package/dist/csc-ui/p-33e42eb8.entry.js.map +1 -0
- package/dist/csc-ui/p-3c11dfb2.entry.js +2 -0
- package/dist/csc-ui/p-3c11dfb2.entry.js.map +1 -0
- package/dist/csc-ui/p-3e4869bf.entry.js +2 -0
- package/dist/csc-ui/p-3e4869bf.entry.js.map +1 -0
- package/dist/csc-ui/p-3ec3f184.entry.js +2 -0
- package/dist/csc-ui/p-3ec3f184.entry.js.map +1 -0
- package/dist/csc-ui/p-3f35766b.entry.js +2 -0
- package/dist/csc-ui/p-3f35766b.entry.js.map +1 -0
- package/dist/csc-ui/p-425ca7aa.entry.js +2 -0
- package/dist/csc-ui/p-425ca7aa.entry.js.map +1 -0
- package/dist/csc-ui/p-49726bd5.entry.js +2 -0
- package/dist/csc-ui/p-49726bd5.entry.js.map +1 -0
- package/dist/csc-ui/p-540e681a.entry.js +2 -0
- package/dist/csc-ui/p-540e681a.entry.js.map +1 -0
- package/dist/csc-ui/p-593b6720.entry.js +2 -0
- package/dist/csc-ui/p-593b6720.entry.js.map +1 -0
- package/dist/csc-ui/p-626c6afe.entry.js +2 -0
- package/dist/csc-ui/p-626c6afe.entry.js.map +1 -0
- package/dist/csc-ui/p-6e90cdfb.entry.js +2 -0
- package/dist/csc-ui/p-6e90cdfb.entry.js.map +1 -0
- package/dist/csc-ui/p-7092cd6c.entry.js +2 -0
- package/dist/csc-ui/p-7092cd6c.entry.js.map +1 -0
- package/dist/csc-ui/p-771adfde.entry.js +2 -0
- package/dist/csc-ui/p-771adfde.entry.js.map +1 -0
- package/dist/csc-ui/p-7d76025c.entry.js +2 -0
- package/dist/csc-ui/p-7d76025c.entry.js.map +1 -0
- package/dist/csc-ui/p-816f84b2.entry.js +2 -0
- package/dist/csc-ui/p-816f84b2.entry.js.map +1 -0
- package/dist/csc-ui/p-86a96319.entry.js +2 -0
- package/dist/csc-ui/p-86a96319.entry.js.map +1 -0
- package/dist/csc-ui/p-87c39c69.entry.js +2 -0
- package/dist/csc-ui/p-87c39c69.entry.js.map +1 -0
- package/dist/csc-ui/p-89d6e4c6.entry.js +2 -0
- package/dist/csc-ui/p-89d6e4c6.entry.js.map +1 -0
- package/dist/csc-ui/p-8d3a455f.entry.js +2 -0
- package/dist/csc-ui/p-8d3a455f.entry.js.map +1 -0
- package/dist/csc-ui/p-8e08df79.entry.js +2 -0
- package/dist/csc-ui/p-8e08df79.entry.js.map +1 -0
- package/dist/csc-ui/p-982b94a7.entry.js +2 -0
- package/dist/csc-ui/p-982b94a7.entry.js.map +1 -0
- package/dist/csc-ui/p-993583f1.entry.js +2 -0
- package/dist/csc-ui/p-993583f1.entry.js.map +1 -0
- package/dist/csc-ui/p-9936c5e9.entry.js +2 -0
- package/dist/csc-ui/p-9936c5e9.entry.js.map +1 -0
- package/dist/csc-ui/p-9ad61903.entry.js +2 -0
- package/dist/csc-ui/p-9ad61903.entry.js.map +1 -0
- package/dist/csc-ui/p-9bda8e49.entry.js +2 -0
- package/dist/csc-ui/p-9bda8e49.entry.js.map +1 -0
- package/dist/csc-ui/p-9d54e9a4.js +3 -0
- package/dist/csc-ui/p-9d54e9a4.js.map +1 -0
- package/dist/csc-ui/p-a7a7f6ab.entry.js +2 -0
- package/dist/csc-ui/p-a7a7f6ab.entry.js.map +1 -0
- package/dist/csc-ui/p-a9441233.entry.js +2 -0
- package/dist/csc-ui/p-a9441233.entry.js.map +1 -0
- package/dist/csc-ui/p-b7dcfced.entry.js +2 -0
- package/dist/csc-ui/p-b7dcfced.entry.js.map +1 -0
- package/dist/csc-ui/p-bc1000f3.entry.js +2 -0
- package/dist/csc-ui/p-bc1000f3.entry.js.map +1 -0
- package/dist/csc-ui/p-bf6d76df.entry.js +2 -0
- package/dist/csc-ui/p-bf6d76df.entry.js.map +1 -0
- package/dist/csc-ui/p-bf8bc8d7.entry.js +2 -0
- package/dist/csc-ui/p-bf8bc8d7.entry.js.map +1 -0
- package/dist/csc-ui/p-c101d987.entry.js +2 -0
- package/dist/csc-ui/p-c101d987.entry.js.map +1 -0
- package/dist/csc-ui/p-c4122519.entry.js +2 -0
- package/dist/csc-ui/p-c4122519.entry.js.map +1 -0
- package/dist/csc-ui/p-c5847170.entry.js +2 -0
- package/dist/csc-ui/p-c5847170.entry.js.map +1 -0
- package/dist/csc-ui/p-d18578fc.entry.js +2 -0
- package/dist/csc-ui/p-d18578fc.entry.js.map +1 -0
- package/dist/csc-ui/p-d3659ea8.entry.js +2 -0
- package/dist/csc-ui/p-d3659ea8.entry.js.map +1 -0
- package/dist/csc-ui/p-dffa1f9f.js +2 -0
- package/dist/csc-ui/p-dffa1f9f.js.map +1 -0
- package/dist/csc-ui/p-e81aa4e4.entry.js +2 -0
- package/dist/csc-ui/p-e81aa4e4.entry.js.map +1 -0
- package/dist/csc-ui/p-e8cddda8.entry.js +2 -0
- package/dist/csc-ui/p-e8cddda8.entry.js.map +1 -0
- package/dist/csc-ui/p-e970fa68.entry.js +2 -0
- package/dist/csc-ui/p-e970fa68.entry.js.map +1 -0
- package/dist/csc-ui/p-edb164fa.entry.js +2 -0
- package/dist/csc-ui/p-edb164fa.entry.js.map +1 -0
- package/dist/csc-ui/p-f327adbb.entry.js +2 -0
- package/dist/csc-ui/p-f327adbb.entry.js.map +1 -0
- package/dist/csc-ui/p-f32832e3.entry.js +2 -0
- package/dist/csc-ui/p-f32832e3.entry.js.map +1 -0
- package/dist/csc-ui/p-f65ed4bf.entry.js +2 -0
- package/dist/csc-ui/p-f65ed4bf.entry.js.map +1 -0
- package/dist/csc-ui/p-fa86088a.entry.js +2 -0
- package/dist/csc-ui/p-fa86088a.entry.js.map +1 -0
- package/dist/csc-ui/p-fafac729.js +2 -0
- package/dist/csc-ui/p-fafac729.js.map +1 -0
- package/dist/csc-ui/p-fc284e52.entry.js +2 -0
- package/dist/csc-ui/p-fc284e52.entry.js.map +1 -0
- package/dist/csc-ui/p-fe217f6c.entry.js +2 -0
- package/dist/csc-ui/p-fe217f6c.entry.js.map +1 -0
- package/dist/esm/c-accordion-item.entry.js +114 -0
- package/dist/esm/c-accordion-item.entry.js.map +1 -0
- package/dist/esm/c-accordion.entry.js +64 -0
- package/dist/esm/c-accordion.entry.js.map +1 -0
- package/dist/esm/c-alert.entry.js +26 -0
- package/dist/esm/c-alert.entry.js.map +1 -0
- package/dist/esm/c-autocomplete.entry.js +259 -0
- package/dist/esm/c-autocomplete.entry.js.map +1 -0
- package/dist/esm/c-badge_12.entry.js +427 -0
- package/dist/esm/c-badge_12.entry.js.map +1 -0
- package/dist/esm/c-card-actions.entry.js +24 -0
- package/dist/esm/c-card-actions.entry.js.map +1 -0
- package/dist/esm/c-card-content.entry.js +17 -0
- package/dist/esm/c-card-content.entry.js.map +1 -0
- package/dist/esm/c-card-title.entry.js +17 -0
- package/dist/esm/c-card-title.entry.js.map +1 -0
- package/dist/esm/c-checkbox_2.entry.js +337 -0
- package/dist/esm/c-checkbox_2.entry.js.map +1 -0
- package/dist/esm/c-data-table.entry.js +697 -0
- package/dist/esm/c-data-table.entry.js.map +1 -0
- package/dist/esm/c-dropdown_4.entry.js +830 -0
- package/dist/esm/c-dropdown_4.entry.js.map +1 -0
- package/dist/esm/c-link.entry.js +27 -0
- package/dist/esm/c-link.entry.js.map +1 -0
- package/dist/esm/c-list-item-title.entry.js +22 -0
- package/dist/esm/c-list-item-title.entry.js.map +1 -0
- package/dist/esm/c-list-item.entry.js +79 -0
- package/dist/esm/c-list-item.entry.js.map +1 -0
- package/dist/esm/c-list.entry.js +41 -0
- package/dist/esm/c-list.entry.js.map +1 -0
- package/dist/esm/c-loader.entry.js +35 -0
- package/dist/esm/c-loader.entry.js.map +1 -0
- package/dist/esm/c-login-button.entry.js +21 -0
- package/dist/esm/c-login-button.entry.js.map +1 -0
- package/dist/esm/c-login-buttons.entry.js +17 -0
- package/dist/esm/c-login-buttons.entry.js.map +1 -0
- package/dist/esm/c-login-card-actions.entry.js +16 -0
- package/dist/esm/c-login-card-actions.entry.js.map +1 -0
- package/dist/esm/c-login-card-content.entry.js +17 -0
- package/dist/esm/c-login-card-content.entry.js.map +1 -0
- package/dist/esm/c-login-card-title.entry.js +17 -0
- package/dist/esm/c-login-card-title.entry.js.map +1 -0
- package/dist/esm/c-login-card.entry.js +62 -0
- package/dist/esm/c-login-card.entry.js.map +1 -0
- package/dist/esm/c-menu_2.entry.js +349 -0
- package/dist/esm/c-menu_2.entry.js.map +1 -0
- package/dist/esm/c-modal.entry.js +104 -0
- package/dist/esm/c-modal.entry.js.map +1 -0
- package/dist/esm/c-navigation-button.entry.js +18 -0
- package/dist/esm/c-navigation-button.entry.js.map +1 -0
- package/dist/esm/c-option-value.entry.js +17 -0
- package/dist/esm/c-option-value.entry.js.map +1 -0
- package/dist/esm/c-option.entry.js +21 -0
- package/dist/esm/c-option.entry.js.map +1 -0
- package/dist/esm/c-otp-input.entry.js +150 -0
- package/dist/esm/c-otp-input.entry.js.map +1 -0
- package/dist/esm/c-page.entry.js +27 -0
- package/dist/esm/c-page.entry.js.map +1 -0
- package/dist/esm/c-progress-bar.entry.js +55 -0
- package/dist/esm/c-progress-bar.entry.js.map +1 -0
- package/dist/esm/c-radio-group.entry.js +150 -0
- package/dist/esm/c-radio-group.entry.js.map +1 -0
- package/dist/esm/c-radio.entry.js +20 -0
- package/dist/esm/c-radio.entry.js.map +1 -0
- package/dist/esm/c-select.entry.js +327 -0
- package/dist/esm/c-select.entry.js.map +1 -0
- package/dist/esm/c-side-navigation-item.entry.js +117 -0
- package/dist/esm/c-side-navigation-item.entry.js.map +1 -0
- package/dist/esm/c-side-navigation-title.entry.js +17 -0
- package/dist/esm/c-side-navigation-title.entry.js.map +1 -0
- package/dist/esm/c-side-navigation.entry.js +67 -0
- package/dist/esm/c-side-navigation.entry.js.map +1 -0
- package/dist/esm/c-status.entry.js +19 -0
- package/dist/esm/c-status.entry.js.map +1 -0
- package/dist/esm/c-step.entry.js +23 -0
- package/dist/esm/c-step.entry.js.map +1 -0
- package/dist/esm/c-steps.entry.js +74 -0
- package/dist/esm/c-steps.entry.js.map +1 -0
- package/dist/esm/c-sub-navigation-item.entry.js +47 -0
- package/dist/esm/c-sub-navigation-item.entry.js.map +1 -0
- package/dist/esm/c-swiper-tab.entry.js +43 -0
- package/dist/esm/c-swiper-tab.entry.js.map +1 -0
- package/dist/esm/c-swiper.entry.js +4183 -0
- package/dist/esm/c-swiper.entry.js.map +1 -0
- package/dist/esm/c-switch.entry.js +67 -0
- package/dist/esm/c-switch.entry.js.map +1 -0
- package/dist/esm/c-tab-buttons.entry.js +129 -0
- package/dist/esm/c-tab-buttons.entry.js.map +1 -0
- package/dist/esm/c-tab-item.entry.js +36 -0
- package/dist/esm/c-tab-item.entry.js.map +1 -0
- package/dist/esm/c-tab-items.entry.js +77 -0
- package/dist/esm/c-tab-items.entry.js.map +1 -0
- package/dist/esm/c-tab.entry.js +55 -0
- package/dist/esm/c-tab.entry.js.map +1 -0
- package/dist/esm/c-table.entry.js +43 -0
- package/dist/esm/c-table.entry.js.map +1 -0
- package/dist/esm/c-tabs.entry.js +419 -0
- package/dist/esm/c-tabs.entry.js.map +1 -0
- package/dist/esm/c-tag.entry.js +41 -0
- package/dist/esm/c-tag.entry.js.map +1 -0
- package/dist/esm/c-tags.entry.js +17 -0
- package/dist/esm/c-tags.entry.js.map +1 -0
- package/dist/esm/c-text-field.entry.js +147 -0
- package/dist/esm/c-text-field.entry.js.map +1 -0
- package/dist/esm/c-toast.entry.js +69 -0
- package/dist/esm/c-toast.entry.js.map +1 -0
- package/dist/esm/c-toasts.entry.js +76 -0
- package/dist/esm/c-toasts.entry.js.map +1 -0
- package/dist/esm/csc-ui.js +20 -0
- package/dist/esm/csc-ui.js.map +1 -0
- package/dist/esm/index-cdf029b7.js +2575 -0
- package/dist/esm/index-cdf029b7.js.map +1 -0
- package/dist/esm/index-dfaed2a4.js +23 -0
- package/dist/esm/index-dfaed2a4.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/mdi-a4a63b40.js +25 -0
- package/dist/esm/mdi-a4a63b40.js.map +1 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +3 -0
- package/dist/loader/index.cjs.js +3 -0
- package/dist/loader/index.d.ts +21 -0
- package/dist/loader/index.es2017.js +3 -0
- package/dist/loader/index.js +4 -0
- package/dist/loader/package.json +11 -0
- package/dist/playwright.config.js +46 -0
- package/dist/playwright.config.js.map +1 -0
- package/dist/stencil.config.js +41 -0
- package/dist/stencil.config.js.map +1 -0
- package/dist/styles/css/c-data-table.css +10 -0
- package/dist/styles/css/theme.css +100 -0
- package/dist/styles/css/typography.css +10 -0
- package/dist/styles/scss/_c-data-table.scss +7 -0
- package/dist/styles/scss/_theme.scss +97 -0
- package/dist/styles/scss/_typography.scss +7 -0
- package/dist/styles/tailwind/theme.js +117 -0
- package/dist/styles/variables.css +111 -0
- package/dist/styles/variables.scss +108 -0
- package/dist/types/Users/veriksso/Documents/code/ui/packages/csc-ui/.stencil/playwright.config.d.ts +2 -0
- package/dist/types/Users/veriksso/Documents/code/ui/packages/csc-ui/.stencil/stencil.config.d.ts +2 -0
- package/dist/types/components/c-accordion/c-accordion.d.ts +18 -0
- package/dist/types/components/c-accordion/test/c-accordion.visual.d.ts +1 -0
- package/dist/types/components/c-accordion-item/c-accordion-item.d.ts +27 -0
- package/dist/types/components/c-alert/c-alert.d.ts +6 -0
- package/dist/types/components/c-alert/test/c-alert.visual.d.ts +1 -0
- package/dist/types/components/c-autocomplete/c-autocomplete.d.ts +65 -0
- package/dist/types/components/c-autocomplete/test/c-autocomplete.visual.d.ts +1 -0
- package/dist/types/components/c-badge/c-badge.d.ts +3 -0
- package/dist/types/components/c-button/c-button.d.ts +36 -0
- package/dist/types/components/c-button/test/c-button.visual.d.ts +1 -0
- package/dist/types/components/c-card/c-card.d.ts +12 -0
- package/dist/types/components/c-card/test/c-card.visual.d.ts +1 -0
- package/dist/types/components/c-card-actions/c-card-actions.d.ts +5 -0
- package/dist/types/components/c-card-content/c-card-content.d.ts +3 -0
- package/dist/types/components/c-card-title/c-card-title.d.ts +3 -0
- package/dist/types/components/c-checkbox/c-checkbox.d.ts +37 -0
- package/dist/types/components/c-checkbox/test/c-checkbox.visual.d.ts +1 -0
- package/dist/types/components/c-csc-logo/c-csc-logo.d.ts +4 -0
- package/dist/types/components/c-data-table/c-data-table.d.ts +116 -0
- package/dist/types/components/c-data-table/test/c-data-table.visual.d.ts +1 -0
- package/dist/types/components/c-data-table/test/data/index.d.ts +3 -0
- package/dist/types/components/c-dropdown/c-dropdown.d.ts +66 -0
- package/dist/types/components/c-dropdowns/c-dropdowns.d.ts +29 -0
- package/dist/types/components/c-icon/c-icon.d.ts +7 -0
- package/dist/types/components/c-icon-button/c-icon-button.d.ts +18 -0
- package/dist/types/components/c-icon-button/test/c-icon-button.visual.d.ts +1 -0
- package/dist/types/components/c-input/c-input.d.ts +75 -0
- package/dist/types/components/c-link/c-link.d.ts +7 -0
- package/dist/types/components/c-link/test/c-link.visual.d.ts +1 -0
- package/dist/types/components/c-list/c-list.d.ts +8 -0
- package/dist/types/components/c-list-item/c-list-item.d.ts +16 -0
- package/dist/types/components/c-list-item-title/c-list-item-title.d.ts +4 -0
- package/dist/types/components/c-loader/c-loader.d.ts +10 -0
- package/dist/types/components/c-login-button/c-login-button.d.ts +6 -0
- package/dist/types/components/c-login-buttons/c-login-buttons.d.ts +3 -0
- package/dist/types/components/c-login-card/c-login-card.d.ts +19 -0
- package/dist/types/components/c-login-card/test/c-login-card.visual.d.ts +1 -0
- package/dist/types/components/c-login-card-actions/c-login-card-actions.d.ts +5 -0
- package/dist/types/components/c-login-card-content/c-login-card-content.d.ts +3 -0
- package/dist/types/components/c-login-card-title/c-login-card-title.d.ts +3 -0
- package/dist/types/components/c-main/c-main.d.ts +3 -0
- package/dist/types/components/c-menu/c-menu.d.ts +26 -0
- package/dist/types/components/c-menu/test/c-menu.visual.d.ts +1 -0
- package/dist/types/components/c-menu-items/c-menu-items.d.ts +44 -0
- package/dist/types/components/c-message/c-message.d.ts +18 -0
- package/dist/types/components/c-modal/c-modal.d.ts +23 -0
- package/dist/types/components/c-navigation-button/c-navigation-button.d.ts +3 -0
- package/dist/types/components/c-option/c-option.d.ts +7 -0
- package/dist/types/components/c-option-value/c-option-value.d.ts +3 -0
- package/dist/types/components/c-otp-input/c-otp-input.d.ts +31 -0
- package/dist/types/components/c-page/c-page.d.ts +7 -0
- package/dist/types/components/c-pagination/c-pagination.d.ts +38 -0
- package/dist/types/components/c-pagination/test/c-pagination.visual.d.ts +1 -0
- package/dist/types/components/c-progress-bar/c-progress-bar.d.ts +9 -0
- package/dist/types/components/c-progress-bar/test/c-progress-bar.visual.d.ts +1 -0
- package/dist/types/components/c-radio/c-radio.d.ts +6 -0
- package/dist/types/components/c-radio-group/c-radio-group.d.ts +40 -0
- package/dist/types/components/c-radio-group/test/c-radio-group.visual.d.ts +1 -0
- package/dist/types/components/c-radio-group/test/items.d.ts +2 -0
- package/dist/types/components/c-ripple/c-ripple.d.ts +7 -0
- package/dist/types/components/c-row/c-row.d.ts +10 -0
- package/dist/types/components/c-select/c-select.d.ts +73 -0
- package/dist/types/components/c-select/test/c-select.visual.d.ts +1 -0
- package/dist/types/components/c-select/test/items.d.ts +2 -0
- package/dist/types/components/c-side-navigation/c-side-navigation.d.ts +9 -0
- package/dist/types/components/c-side-navigation/test/c-side-navigation.visual.d.ts +1 -0
- package/dist/types/components/c-side-navigation-item/c-side-navigation-item.d.ts +20 -0
- package/dist/types/components/c-side-navigation-title/c-side-navigation-title.d.ts +3 -0
- package/dist/types/components/c-spacer/c-spacer.d.ts +3 -0
- package/dist/types/components/c-spinner/c-spinner.d.ts +6 -0
- package/dist/types/components/c-status/c-status.d.ts +4 -0
- package/dist/types/components/c-status/test/c-status.visual.d.ts +1 -0
- package/dist/types/components/c-step/c-step.d.ts +5 -0
- package/dist/types/components/c-steps/c-steps.d.ts +16 -0
- package/dist/types/components/c-steps/test/c-steps.visual.d.ts +1 -0
- package/dist/types/components/c-sub-navigation-item/c-sub-navigation-item.d.ts +10 -0
- package/dist/types/components/c-swiper/c-swiper.d.ts +25 -0
- package/dist/types/components/c-swiper/test/c-swiper.visual.d.ts +1 -0
- package/dist/types/components/c-swiper-tab/c-swiper-tab.d.ts +16 -0
- package/dist/types/components/c-switch/c-switch.d.ts +18 -0
- package/dist/types/components/c-switch/test/c-switch.visual.d.ts +1 -0
- package/dist/types/components/c-tab/c-tab.d.ts +20 -0
- package/dist/types/components/c-tab-buttons/c-tab-buttons.d.ts +24 -0
- package/dist/types/components/c-tab-buttons/test/c-tab-buttons.visual.d.ts +1 -0
- package/dist/types/components/c-tab-item/c-tab-item.d.ts +12 -0
- package/dist/types/components/c-tab-items/c-tab-items.d.ts +18 -0
- package/dist/types/components/c-table/c-table.d.ts +12 -0
- package/dist/types/components/c-tabs/c-tabs.d.ts +67 -0
- package/dist/types/components/c-tabs/test/c-tabs.visual.d.ts +1 -0
- package/dist/types/components/c-tag/c-tag.d.ts +12 -0
- package/dist/types/components/c-tag/test/c-tag.visual.d.ts +1 -0
- package/dist/types/components/c-tags/c-tags.d.ts +3 -0
- package/dist/types/components/c-text-field/c-text-field.d.ts +56 -0
- package/dist/types/components/c-text-field/test/c-text-field.visual.d.ts +1 -0
- package/dist/types/components/c-toast/c-toast.d.ts +19 -0
- package/dist/types/components/c-toasts/c-toasts.d.ts +17 -0
- package/dist/types/components/c-toasts/test/c-toasts.visual.d.ts +1 -0
- package/dist/types/components/c-toolbar/c-toolbar.d.ts +3 -0
- package/dist/types/components/c-toolbar/test/c-toolbar.visual.d.ts +1 -0
- package/dist/types/components.d.ts +5143 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +1673 -0
- package/dist/types/types/global.d.ts +13 -0
- package/dist/types/types/index.d.ts +145 -0
- package/dist/types/utils/test/sleep.d.ts +1 -0
- package/dist/types/utils/test/takeScreenshot.d.ts +2 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +13 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +95 -0
- package/vscode-data.json +2135 -0
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
export class CListItem {
|
|
3
|
+
constructor() {
|
|
4
|
+
this._onClick = (event, center = false) => {
|
|
5
|
+
if (this.disabled) {
|
|
6
|
+
event.preventDefault();
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
if (!this.ripple)
|
|
10
|
+
return;
|
|
11
|
+
this.el.shadowRoot
|
|
12
|
+
.querySelector('c-ripple')
|
|
13
|
+
.createRipple(event, this.el, center);
|
|
14
|
+
};
|
|
15
|
+
this._onKeyup = (event) => {
|
|
16
|
+
if ([' ', 'Enter'].includes(event.key)) {
|
|
17
|
+
this._onClick(event, true);
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
this.active = false;
|
|
21
|
+
this.disabled = false;
|
|
22
|
+
this.disabledByParent = false;
|
|
23
|
+
this.hoverable = false;
|
|
24
|
+
this.ripple = false;
|
|
25
|
+
this.href = undefined;
|
|
26
|
+
this.target = '_blank';
|
|
27
|
+
}
|
|
28
|
+
onActiveChange(active) {
|
|
29
|
+
const title = this.el.querySelector('c-list-item-title');
|
|
30
|
+
if (!title)
|
|
31
|
+
return;
|
|
32
|
+
title.active = active;
|
|
33
|
+
}
|
|
34
|
+
get _slots() {
|
|
35
|
+
const hasPreSlot = !!this.el.querySelector('[slot="pre"]');
|
|
36
|
+
const hasPostSlot = !!this.el.querySelector('[slot="post"]');
|
|
37
|
+
return {
|
|
38
|
+
pre: hasPreSlot,
|
|
39
|
+
post: hasPostSlot,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
get _tabindex() {
|
|
43
|
+
if (this.disabled)
|
|
44
|
+
return -1;
|
|
45
|
+
if (this.ripple && !this.href)
|
|
46
|
+
return 0;
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
render() {
|
|
50
|
+
const Tag = !!this.href ? 'a' : 'div';
|
|
51
|
+
const classes = {
|
|
52
|
+
'c-list-item': true,
|
|
53
|
+
'c-list-item--active': this.active,
|
|
54
|
+
'c-list-item--disabled': this.disabled,
|
|
55
|
+
'c-list-item--hoverable': this.ripple || !!this.href || this.hoverable,
|
|
56
|
+
'c-list-item--ripple': this.ripple,
|
|
57
|
+
};
|
|
58
|
+
let linkAttributes = {};
|
|
59
|
+
if (!!this.href) {
|
|
60
|
+
linkAttributes = { href: this.href, target: this.target };
|
|
61
|
+
}
|
|
62
|
+
return (h(Host, Object.assign({ role: "listitem", "aria-disabled": (!!this.disabled).toString(), onClick: this._onClick, onKeyup: this._onKeyup, class: classes }, (!!this.disabled ? { disabled: 'true' } : {}), (!!this.disabledByParent ? { 'data-disabled': 'true' } : {}), ([0, -1].includes(this._tabindex)
|
|
63
|
+
? { tabindex: this._tabindex }
|
|
64
|
+
: {})), h(Tag, Object.assign({}, linkAttributes, { class: "c-list-item__content" }), this._slots.pre && h("slot", { name: "pre" }), h("slot", null), this._slots.post && h("slot", { name: "post" }), this.ripple && h("c-ripple", null))));
|
|
65
|
+
}
|
|
66
|
+
static get is() { return "c-list-item"; }
|
|
67
|
+
static get encapsulation() { return "shadow"; }
|
|
68
|
+
static get originalStyleUrls() {
|
|
69
|
+
return {
|
|
70
|
+
"$": ["c-list-item.scss"]
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
static get styleUrls() {
|
|
74
|
+
return {
|
|
75
|
+
"$": ["c-list-item.css"]
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
static get properties() {
|
|
79
|
+
return {
|
|
80
|
+
"active": {
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"mutable": false,
|
|
83
|
+
"complexType": {
|
|
84
|
+
"original": "boolean",
|
|
85
|
+
"resolved": "boolean",
|
|
86
|
+
"references": {}
|
|
87
|
+
},
|
|
88
|
+
"required": false,
|
|
89
|
+
"optional": false,
|
|
90
|
+
"docs": {
|
|
91
|
+
"tags": [],
|
|
92
|
+
"text": "Set the item active"
|
|
93
|
+
},
|
|
94
|
+
"attribute": "active",
|
|
95
|
+
"reflect": false,
|
|
96
|
+
"defaultValue": "false"
|
|
97
|
+
},
|
|
98
|
+
"disabled": {
|
|
99
|
+
"type": "boolean",
|
|
100
|
+
"mutable": false,
|
|
101
|
+
"complexType": {
|
|
102
|
+
"original": "boolean",
|
|
103
|
+
"resolved": "boolean",
|
|
104
|
+
"references": {}
|
|
105
|
+
},
|
|
106
|
+
"required": false,
|
|
107
|
+
"optional": false,
|
|
108
|
+
"docs": {
|
|
109
|
+
"tags": [],
|
|
110
|
+
"text": "Disable the item"
|
|
111
|
+
},
|
|
112
|
+
"attribute": "disabled",
|
|
113
|
+
"reflect": false,
|
|
114
|
+
"defaultValue": "false"
|
|
115
|
+
},
|
|
116
|
+
"disabledByParent": {
|
|
117
|
+
"type": "boolean",
|
|
118
|
+
"mutable": false,
|
|
119
|
+
"complexType": {
|
|
120
|
+
"original": "boolean",
|
|
121
|
+
"resolved": "boolean",
|
|
122
|
+
"references": {}
|
|
123
|
+
},
|
|
124
|
+
"required": false,
|
|
125
|
+
"optional": false,
|
|
126
|
+
"docs": {
|
|
127
|
+
"tags": [{
|
|
128
|
+
"name": "private",
|
|
129
|
+
"text": undefined
|
|
130
|
+
}],
|
|
131
|
+
"text": "Disabled by the parent list"
|
|
132
|
+
},
|
|
133
|
+
"attribute": "disabled-by-parent",
|
|
134
|
+
"reflect": false,
|
|
135
|
+
"defaultValue": "false"
|
|
136
|
+
},
|
|
137
|
+
"hoverable": {
|
|
138
|
+
"type": "boolean",
|
|
139
|
+
"mutable": false,
|
|
140
|
+
"complexType": {
|
|
141
|
+
"original": "boolean",
|
|
142
|
+
"resolved": "boolean",
|
|
143
|
+
"references": {}
|
|
144
|
+
},
|
|
145
|
+
"required": false,
|
|
146
|
+
"optional": false,
|
|
147
|
+
"docs": {
|
|
148
|
+
"tags": [],
|
|
149
|
+
"text": "Display background color on hover"
|
|
150
|
+
},
|
|
151
|
+
"attribute": "hoverable",
|
|
152
|
+
"reflect": false,
|
|
153
|
+
"defaultValue": "false"
|
|
154
|
+
},
|
|
155
|
+
"ripple": {
|
|
156
|
+
"type": "boolean",
|
|
157
|
+
"mutable": false,
|
|
158
|
+
"complexType": {
|
|
159
|
+
"original": "boolean",
|
|
160
|
+
"resolved": "boolean",
|
|
161
|
+
"references": {}
|
|
162
|
+
},
|
|
163
|
+
"required": false,
|
|
164
|
+
"optional": false,
|
|
165
|
+
"docs": {
|
|
166
|
+
"tags": [],
|
|
167
|
+
"text": "Add ripple effect to the item"
|
|
168
|
+
},
|
|
169
|
+
"attribute": "ripple",
|
|
170
|
+
"reflect": false,
|
|
171
|
+
"defaultValue": "false"
|
|
172
|
+
},
|
|
173
|
+
"href": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"mutable": false,
|
|
176
|
+
"complexType": {
|
|
177
|
+
"original": "string",
|
|
178
|
+
"resolved": "string",
|
|
179
|
+
"references": {}
|
|
180
|
+
},
|
|
181
|
+
"required": false,
|
|
182
|
+
"optional": true,
|
|
183
|
+
"docs": {
|
|
184
|
+
"tags": [],
|
|
185
|
+
"text": "Hyperlink url"
|
|
186
|
+
},
|
|
187
|
+
"attribute": "href",
|
|
188
|
+
"reflect": false
|
|
189
|
+
},
|
|
190
|
+
"target": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"mutable": false,
|
|
193
|
+
"complexType": {
|
|
194
|
+
"original": "string",
|
|
195
|
+
"resolved": "string",
|
|
196
|
+
"references": {}
|
|
197
|
+
},
|
|
198
|
+
"required": false,
|
|
199
|
+
"optional": false,
|
|
200
|
+
"docs": {
|
|
201
|
+
"tags": [],
|
|
202
|
+
"text": "Hyperlink target"
|
|
203
|
+
},
|
|
204
|
+
"attribute": "target",
|
|
205
|
+
"reflect": false,
|
|
206
|
+
"defaultValue": "'_blank'"
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
static get elementRef() { return "el"; }
|
|
211
|
+
static get watchers() {
|
|
212
|
+
return [{
|
|
213
|
+
"propName": "active",
|
|
214
|
+
"methodName": "onActiveChange"
|
|
215
|
+
}];
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
//# sourceMappingURL=c-list-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c-list-item.js","sourceRoot":"","sources":["../../../../src/components/c-list-item/c-list-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAOzE,MAAM,OAAO,SAAS;;IAmEZ,aAAQ,GAAG,CAAC,KAAiC,EAAE,MAAM,GAAG,KAAK,EAAE,EAAE;MACvE,IAAI,IAAI,CAAC,QAAQ,EAAE;QACjB,KAAK,CAAC,cAAc,EAAE,CAAC;QAEvB,OAAO;OACR;MAED,IAAI,CAAC,IAAI,CAAC,MAAM;QAAE,OAAO;MAEzB,IAAI,CAAC,EAAE,CAAC,UAAU;SACf,aAAa,CAAC,UAAU,CAAC;SACzB,YAAY,CAAC,KAAmB,EAAE,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC;IACxD,CAAC,CAAC;IAEM,aAAQ,GAAG,CAAC,KAAoB,EAAE,EAAE;MAC1C,IAAI,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;QACtC,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;OAC5B;IACH,CAAC,CAAC;kBA/Ee,KAAK;oBAKH,KAAK;4BAMG,KAAK;qBAKZ,KAAK;kBAKR,KAAK;;kBAUL,QAAQ;;EAGzB,cAAc,CAAC,MAAM;IACnB,MAAM,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;IAEzD,IAAI,CAAC,KAAK;MAAE,OAAO;IAEnB,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;EACxB,CAAC;EAED,IAAY,MAAM;IAChB,MAAM,UAAU,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;IAE3D,MAAM,WAAW,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;IAE7D,OAAO;MACL,GAAG,EAAE,UAAU;MACf,IAAI,EAAE,WAAW;KAClB,CAAC;EACJ,CAAC;EAED,IAAY,SAAS;IACnB,IAAI,IAAI,CAAC,QAAQ;MAAE,OAAO,CAAC,CAAC,CAAC;IAE7B,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI;MAAE,OAAO,CAAC,CAAC;IAExC,OAAO,IAAI,CAAC;EACd,CAAC;EAsBD,MAAM;IACJ,MAAM,GAAG,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC;IAEtC,MAAM,OAAO,GAAG;MACd,aAAa,EAAE,IAAI;MACnB,qBAAqB,EAAE,IAAI,CAAC,MAAM;MAClC,uBAAuB,EAAE,IAAI,CAAC,QAAQ;MACtC,wBAAwB,EAAE,IAAI,CAAC,MAAM,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS;MACtE,qBAAqB,EAAE,IAAI,CAAC,MAAM;KACnC,CAAC;IAEF,IAAI,cAAc,GAAG,EAAE,CAAC;IAExB,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE;MACf,cAAc,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC;KAC3D;IAED,OAAO,CACL,EAAC,IAAI,kBACH,IAAI,EAAC,UAAU,mBACA,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,QAAQ,EAAE,EAC3C,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,KAAK,EAAE,OAAO,IACV,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAC7C,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,eAAe,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAC5D,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC;MACnC,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;MAC9B,CAAC,CAAC,EAAE,CAAC;MAEP,EAAC,GAAG,oBAAK,cAAc,IAAE,KAAK,EAAC,sBAAsB;QAClD,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,YAAM,IAAI,EAAC,KAAK,GAAQ;QAC5C,eAAa;QACZ,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,YAAM,IAAI,EAAC,MAAM,GAAQ;QAC7C,IAAI,CAAC,MAAM,IAAI,mBAAqB,CACjC,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Host, Prop, Watch, h } from '@stencil/core';\n\n@Component({\n tag: 'c-list-item',\n styleUrl: 'c-list-item.scss',\n shadow: true,\n})\nexport class CListItem {\n @Element() el!: HTMLCListItemElement;\n\n /**\n * Set the item active\n */\n @Prop() active = false;\n\n /**\n * Disable the item\n */\n @Prop() disabled = false;\n\n /**\n * Disabled by the parent list\n * @private\n */\n @Prop() disabledByParent = false;\n\n /**\n * Display background color on hover\n */\n @Prop() hoverable = false;\n\n /**\n * Add ripple effect to the item\n */\n @Prop() ripple = false;\n\n /**\n * Hyperlink url\n */\n @Prop() href?: string;\n\n /**\n * Hyperlink target\n */\n @Prop() target = '_blank';\n\n @Watch('active')\n onActiveChange(active) {\n const title = this.el.querySelector('c-list-item-title');\n\n if (!title) return;\n\n title.active = active;\n }\n\n private get _slots() {\n const hasPreSlot = !!this.el.querySelector('[slot=\"pre\"]');\n\n const hasPostSlot = !!this.el.querySelector('[slot=\"post\"]');\n\n return {\n pre: hasPreSlot,\n post: hasPostSlot,\n };\n }\n\n private get _tabindex() {\n if (this.disabled) return -1;\n\n if (this.ripple && !this.href) return 0;\n\n return null;\n }\n\n private _onClick = (event: MouseEvent | KeyboardEvent, center = false) => {\n if (this.disabled) {\n event.preventDefault();\n\n return;\n }\n\n if (!this.ripple) return;\n\n this.el.shadowRoot\n .querySelector('c-ripple')\n .createRipple(event as MouseEvent, this.el, center);\n };\n\n private _onKeyup = (event: KeyboardEvent) => {\n if ([' ', 'Enter'].includes(event.key)) {\n this._onClick(event, true);\n }\n };\n\n render() {\n const Tag = !!this.href ? 'a' : 'div';\n\n const classes = {\n 'c-list-item': true,\n 'c-list-item--active': this.active,\n 'c-list-item--disabled': this.disabled,\n 'c-list-item--hoverable': this.ripple || !!this.href || this.hoverable,\n 'c-list-item--ripple': this.ripple,\n };\n\n let linkAttributes = {};\n\n if (!!this.href) {\n linkAttributes = { href: this.href, target: this.target };\n }\n\n return (\n <Host\n role=\"listitem\"\n aria-disabled={(!!this.disabled).toString()}\n onClick={this._onClick}\n onKeyup={this._onKeyup}\n class={classes}\n {...(!!this.disabled ? { disabled: 'true' } : {})}\n {...(!!this.disabledByParent ? { 'data-disabled': 'true' } : {})}\n {...([0, -1].includes(this._tabindex)\n ? { tabindex: this._tabindex }\n : {})}\n >\n <Tag {...linkAttributes} class=\"c-list-item__content\">\n {this._slots.pre && <slot name=\"pre\"></slot>}\n <slot></slot>\n {this._slots.post && <slot name=\"post\"></slot>}\n {this.ripple && <c-ripple></c-ripple>}\n </Tag>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
html {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
*,
|
|
6
|
+
*:before,
|
|
7
|
+
*:after {
|
|
8
|
+
box-sizing: inherit;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:host {
|
|
12
|
+
font-family: var(--c-font-family);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
::-ms-reveal {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host(.c-list-item-title) {
|
|
20
|
+
/**
|
|
21
|
+
* @prop --c-list-item-title-color: Title color
|
|
22
|
+
* @prop --c-list-item-title-color-active: Active title color
|
|
23
|
+
*/
|
|
24
|
+
--_c-list-item-title-color: var(--c-list-item-title-color, var(--c-text-body));
|
|
25
|
+
--_c-list-item-title-color-active: var(--c-list-item-title-color-active, var(--c-primary-600));
|
|
26
|
+
display: block;
|
|
27
|
+
font-weight: 500;
|
|
28
|
+
color: var(--_c-list-item-title-color);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:host(.c-list-item-title--active) {
|
|
32
|
+
color: var(--_c-list-item-title-color-active);
|
|
33
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
export class CListItemTitle {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.active = false;
|
|
5
|
+
}
|
|
6
|
+
render() {
|
|
7
|
+
const classes = {
|
|
8
|
+
'c-list-item-title': true,
|
|
9
|
+
'c-list-item-title--active': this.active,
|
|
10
|
+
};
|
|
11
|
+
return (h(Host, { class: classes }, h("slot", null)));
|
|
12
|
+
}
|
|
13
|
+
static get is() { return "c-list-item-title"; }
|
|
14
|
+
static get encapsulation() { return "shadow"; }
|
|
15
|
+
static get originalStyleUrls() {
|
|
16
|
+
return {
|
|
17
|
+
"$": ["c-list-item-title.scss"]
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
static get styleUrls() {
|
|
21
|
+
return {
|
|
22
|
+
"$": ["c-list-item-title.css"]
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
static get properties() {
|
|
26
|
+
return {
|
|
27
|
+
"active": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"mutable": false,
|
|
30
|
+
"complexType": {
|
|
31
|
+
"original": "boolean",
|
|
32
|
+
"resolved": "boolean",
|
|
33
|
+
"references": {}
|
|
34
|
+
},
|
|
35
|
+
"required": false,
|
|
36
|
+
"optional": false,
|
|
37
|
+
"docs": {
|
|
38
|
+
"tags": [],
|
|
39
|
+
"text": "Set the title active"
|
|
40
|
+
},
|
|
41
|
+
"attribute": "active",
|
|
42
|
+
"reflect": false,
|
|
43
|
+
"defaultValue": "false"
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=c-list-item-title.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c-list-item-title.js","sourceRoot":"","sources":["../../../../src/components/c-list-item-title/c-list-item-title.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,cAAc;;kBAIR,KAAK;;EAEtB,MAAM;IACJ,MAAM,OAAO,GAAG;MACd,mBAAmB,EAAE,IAAI;MACzB,2BAA2B,EAAE,IAAI,CAAC,MAAM;KACzC,CAAC;IAEF,OAAO,CACL,EAAC,IAAI,IAAC,KAAK,EAAE,OAAO;MAClB,eAAQ,CACH,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'c-list-item-title',\n styleUrl: 'c-list-item-title.scss',\n shadow: true,\n})\nexport class CListItemTitle {\n /**\n * Set the title active\n */\n @Prop() active = false;\n\n render() {\n const classes = {\n 'c-list-item-title': true,\n 'c-list-item-title--active': this.active,\n };\n\n return (\n <Host class={classes}>\n <slot />\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
html {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
*,
|
|
6
|
+
*:before,
|
|
7
|
+
*:after {
|
|
8
|
+
box-sizing: inherit;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:host {
|
|
12
|
+
font-family: var(--c-font-family);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
::-ms-reveal {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host {
|
|
20
|
+
/**
|
|
21
|
+
* @prop --c-loader-color: Loader color
|
|
22
|
+
* @prop --c-loader-background-color: Loader background color
|
|
23
|
+
* @prop --c-loader-text-color: Loader text color
|
|
24
|
+
*/
|
|
25
|
+
--_c-loader-color: var(--c-loader-color, var(--c-primary-600));
|
|
26
|
+
--_c-loader-background-color: var(--c-loader-background-color, rgba(var(--c-white-rgb), 0.8));
|
|
27
|
+
--_c-loader-text-color: var(--c-loader-text-color, var(--c-text-system));
|
|
28
|
+
--_c-stroke-start-dasharray: 1, 200;
|
|
29
|
+
--_c-stroke-end-dasharray: 89, 200;
|
|
30
|
+
width: 100%;
|
|
31
|
+
position: absolute;
|
|
32
|
+
inset: 0;
|
|
33
|
+
z-index: 6;
|
|
34
|
+
background: var(--_c-loader-background-color);
|
|
35
|
+
border-radius: inherit;
|
|
36
|
+
visibility: hidden;
|
|
37
|
+
opacity: 0;
|
|
38
|
+
transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:host(.active) {
|
|
42
|
+
opacity: 1;
|
|
43
|
+
visibility: visible;
|
|
44
|
+
}
|
|
45
|
+
:host(.active) .c-loader {
|
|
46
|
+
transform: scale(1);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.c-loader {
|
|
50
|
+
height: 100%;
|
|
51
|
+
width: 100%;
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
align-items: center;
|
|
55
|
+
justify-content: center;
|
|
56
|
+
transform: scale(0.5);
|
|
57
|
+
transition: transform 0.3s ease-in-out;
|
|
58
|
+
}
|
|
59
|
+
.c-loader__slot {
|
|
60
|
+
line-height: 40px;
|
|
61
|
+
font-size: 14px;
|
|
62
|
+
color: var(--_c-loader-text-color);
|
|
63
|
+
text-align: center;
|
|
64
|
+
font-weight: 500;
|
|
65
|
+
display: block;
|
|
66
|
+
max-height: 0;
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
animation-duration: 4s;
|
|
69
|
+
animation-direction: forwards;
|
|
70
|
+
animation-iteration-count: 1;
|
|
71
|
+
animation-name: fadein;
|
|
72
|
+
animation-fill-mode: forwards;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@keyframes rotate {
|
|
76
|
+
100% {
|
|
77
|
+
transform: rotate(360deg);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
@keyframes animate-stroke {
|
|
81
|
+
0% {
|
|
82
|
+
stroke-dasharray: var(--_c-stroke-start-dasharray);
|
|
83
|
+
stroke-dashoffset: 0;
|
|
84
|
+
}
|
|
85
|
+
50% {
|
|
86
|
+
stroke-dasharray: var(--_c-stroke-end-dasharray);
|
|
87
|
+
stroke-dashoffset: -35;
|
|
88
|
+
}
|
|
89
|
+
100% {
|
|
90
|
+
stroke-dasharray: var(--_c-stroke-end-dasharray);
|
|
91
|
+
stroke-dashoffset: -124;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
@keyframes fadein {
|
|
95
|
+
0% {
|
|
96
|
+
max-height: 0;
|
|
97
|
+
}
|
|
98
|
+
100% {
|
|
99
|
+
max-height: 300px;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
export class CLoader {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.contentdelay = 0;
|
|
5
|
+
this.hide = false;
|
|
6
|
+
this.size = 48;
|
|
7
|
+
this.width = 4;
|
|
8
|
+
}
|
|
9
|
+
onElementHide(hide) {
|
|
10
|
+
requestAnimationFrame(() => this.el.classList.toggle('active', !hide));
|
|
11
|
+
}
|
|
12
|
+
componentDidLoad() {
|
|
13
|
+
requestAnimationFrame(() => this.el.classList.toggle('active', !this.hide));
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
const slotHasContent = !!this.el.childNodes.length;
|
|
17
|
+
const styles = {
|
|
18
|
+
'--c-loader-size': `${this.size}px`,
|
|
19
|
+
};
|
|
20
|
+
return (h(Host, null, h("div", { class: "c-loader", style: styles }, h("c-spinner", { color: "var(--_c-loader-color)", size: this.size, width: this.width }), slotHasContent && (h("div", { class: "c-loader__slot", style: { 'animation-delay': `${this.contentdelay}s` } }, h("slot", null))))));
|
|
21
|
+
}
|
|
22
|
+
static get is() { return "c-loader"; }
|
|
23
|
+
static get encapsulation() { return "shadow"; }
|
|
24
|
+
static get originalStyleUrls() {
|
|
25
|
+
return {
|
|
26
|
+
"$": ["c-loader.scss"]
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
static get styleUrls() {
|
|
30
|
+
return {
|
|
31
|
+
"$": ["c-loader.css"]
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
static get properties() {
|
|
35
|
+
return {
|
|
36
|
+
"contentdelay": {
|
|
37
|
+
"type": "number",
|
|
38
|
+
"mutable": false,
|
|
39
|
+
"complexType": {
|
|
40
|
+
"original": "number",
|
|
41
|
+
"resolved": "number",
|
|
42
|
+
"references": {}
|
|
43
|
+
},
|
|
44
|
+
"required": false,
|
|
45
|
+
"optional": false,
|
|
46
|
+
"docs": {
|
|
47
|
+
"tags": [],
|
|
48
|
+
"text": "Delay in seconds of showing the contents in the slot of the loader"
|
|
49
|
+
},
|
|
50
|
+
"attribute": "contentdelay",
|
|
51
|
+
"reflect": false,
|
|
52
|
+
"defaultValue": "0"
|
|
53
|
+
},
|
|
54
|
+
"hide": {
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"mutable": false,
|
|
57
|
+
"complexType": {
|
|
58
|
+
"original": "boolean",
|
|
59
|
+
"resolved": "boolean",
|
|
60
|
+
"references": {}
|
|
61
|
+
},
|
|
62
|
+
"required": false,
|
|
63
|
+
"optional": false,
|
|
64
|
+
"docs": {
|
|
65
|
+
"tags": [],
|
|
66
|
+
"text": "Hide the loader"
|
|
67
|
+
},
|
|
68
|
+
"attribute": "hide",
|
|
69
|
+
"reflect": false,
|
|
70
|
+
"defaultValue": "false"
|
|
71
|
+
},
|
|
72
|
+
"size": {
|
|
73
|
+
"type": "number",
|
|
74
|
+
"mutable": false,
|
|
75
|
+
"complexType": {
|
|
76
|
+
"original": "number",
|
|
77
|
+
"resolved": "number",
|
|
78
|
+
"references": {}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": false,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": "Size of the loader"
|
|
85
|
+
},
|
|
86
|
+
"attribute": "size",
|
|
87
|
+
"reflect": false,
|
|
88
|
+
"defaultValue": "48"
|
|
89
|
+
},
|
|
90
|
+
"width": {
|
|
91
|
+
"type": "number",
|
|
92
|
+
"mutable": false,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "number",
|
|
95
|
+
"resolved": "number",
|
|
96
|
+
"references": {}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": "Width of the loader"
|
|
103
|
+
},
|
|
104
|
+
"attribute": "width",
|
|
105
|
+
"reflect": false,
|
|
106
|
+
"defaultValue": "4"
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
static get elementRef() { return "el"; }
|
|
111
|
+
static get watchers() {
|
|
112
|
+
return [{
|
|
113
|
+
"propName": "hide",
|
|
114
|
+
"methodName": "onElementHide"
|
|
115
|
+
}];
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
//# sourceMappingURL=c-loader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c-loader.js","sourceRoot":"","sources":["../../../../src/components/c-loader/c-loader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAYzE,MAAM,OAAO,OAAO;;wBAIK,CAAC;gBAKT,KAAK;gBAKL,EAAE;iBAKD,CAAC;;EAKjB,aAAa,CAAC,IAAI;IAChB,qBAAqB,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;EACzE,CAAC;EAED,gBAAgB;IACd,qBAAqB,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;EAC9E,CAAC;EAED,MAAM;IACJ,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IAEnD,MAAM,MAAM,GAAG;MACb,iBAAiB,EAAE,GAAG,IAAI,CAAC,IAAI,IAAI;KACpC,CAAC;IAEF,OAAO,CACL,EAAC,IAAI;MACH,WAAK,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,MAAM;QACjC,iBACE,KAAK,EAAC,wBAAwB,EAC9B,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,GACjB;QAED,cAAc,IAAI,CACjB,WACE,KAAK,EAAC,gBAAgB,EACtB,KAAK,EAAE,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAC,YAAY,GAAG,EAAE;UAErD,eAAQ,CACJ,CACP,CACG,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Host, h, Prop, Watch } from '@stencil/core';\n\n/**\n * A loader component that fills the nearest containing element that has css-property position set to 'relative'\n *\n * @group Indicators\n */\n@Component({\n tag: 'c-loader',\n styleUrl: 'c-loader.scss',\n shadow: true,\n})\nexport class CLoader {\n /**\n * Delay in seconds of showing the contents in the slot of the loader\n */\n @Prop() contentdelay = 0;\n\n /**\n * Hide the loader\n */\n @Prop() hide = false;\n\n /**\n * Size of the loader\n */\n @Prop() size = 48;\n\n /**\n * Width of the loader\n */\n @Prop() width = 4;\n\n @Element() el: HTMLCLoaderElement;\n\n @Watch('hide')\n onElementHide(hide) {\n requestAnimationFrame(() => this.el.classList.toggle('active', !hide));\n }\n\n componentDidLoad() {\n requestAnimationFrame(() => this.el.classList.toggle('active', !this.hide));\n }\n\n render() {\n const slotHasContent = !!this.el.childNodes.length;\n\n const styles = {\n '--c-loader-size': `${this.size}px`,\n };\n\n return (\n <Host>\n <div class=\"c-loader\" style={styles}>\n <c-spinner\n color=\"var(--_c-loader-color)\"\n size={this.size}\n width={this.width}\n />\n\n {slotHasContent && (\n <div\n class=\"c-loader__slot\"\n style={{ 'animation-delay': `${this.contentdelay}s` }}\n >\n <slot />\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { newE2EPage } from "@stencil/core/testing";
|
|
2
|
+
import { sleep } from "../../../utils/test/sleep";
|
|
3
|
+
describe('c-loader', () => {
|
|
4
|
+
it('should render delayed content', async () => {
|
|
5
|
+
const page = await newE2EPage({
|
|
6
|
+
html: `
|
|
7
|
+
<c-loader contentdelay="1">
|
|
8
|
+
Delayed text
|
|
9
|
+
</c-loader>`,
|
|
10
|
+
});
|
|
11
|
+
expect(await page.$eval('c-loader >>> .c-loader__slot', (el) => el.clientHeight)).toBe(0);
|
|
12
|
+
await sleep(1100);
|
|
13
|
+
expect(await page.$eval('c-loader >>> .c-loader__slot', (el) => el.clientHeight)).not.toBe(0);
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=c-loader.e2e.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c-loader.e2e.js","sourceRoot":"","sources":["../../../../../src/components/c-loader/test/c-loader.e2e.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElD,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;EACxB,EAAE,CAAC,+BAA+B,EAAE,KAAK,IAAI,EAAE;IAC7C,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC;MAC5B,IAAI,EAAE;;;gBAGI;KACX,CAAC,CAAC;IAEH,MAAM,CACJ,MAAM,IAAI,CAAC,KAAK,CAAC,8BAA8B,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,YAAY,CAAC,CAC1E,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAEV,MAAM,KAAK,CAAC,IAAI,CAAC,CAAC;IAElB,MAAM,CACJ,MAAM,IAAI,CAAC,KAAK,CAAC,8BAA8B,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,YAAY,CAAC,CAC1E,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;EAChB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newE2EPage } from '@stencil/core/testing';\nimport { sleep } from '../../../utils/test/sleep';\n\ndescribe('c-loader', () => {\n it('should render delayed content', async () => {\n const page = await newE2EPage({\n html: `\n <c-loader contentdelay=\"1\">\n Delayed text\n </c-loader>`,\n });\n\n expect(\n await page.$eval('c-loader >>> .c-loader__slot', (el) => el.clientHeight),\n ).toBe(0);\n\n await sleep(1100);\n\n expect(\n await page.$eval('c-loader >>> .c-loader__slot', (el) => el.clientHeight),\n ).not.toBe(0);\n });\n});\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { newSpecPage } from "@stencil/core/testing";
|
|
2
|
+
import { CLoader } from "../c-loader";
|
|
3
|
+
describe('c-loader', () => {
|
|
4
|
+
it('renders default html', async () => {
|
|
5
|
+
const page = await newSpecPage({
|
|
6
|
+
components: [CLoader],
|
|
7
|
+
html: `<c-loader></c-loader>`,
|
|
8
|
+
});
|
|
9
|
+
expect(page.root).toMatchSnapshot();
|
|
10
|
+
});
|
|
11
|
+
it('renders hidden loader', async () => {
|
|
12
|
+
const page = await newSpecPage({
|
|
13
|
+
components: [CLoader],
|
|
14
|
+
html: `<c-loader hide=${true}>
|
|
15
|
+
</c-loader>`,
|
|
16
|
+
});
|
|
17
|
+
expect(page.root).toMatchSnapshot();
|
|
18
|
+
});
|
|
19
|
+
it('renders custom size', async () => {
|
|
20
|
+
const page = await newSpecPage({
|
|
21
|
+
components: [CLoader],
|
|
22
|
+
html: `<c-loader size="30">
|
|
23
|
+
</c-loader>`,
|
|
24
|
+
});
|
|
25
|
+
expect(page.root).toMatchSnapshot();
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=c-loader.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c-loader.spec.js","sourceRoot":"","sources":["../../../../../src/components/c-loader/test/c-loader.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;EACxB,EAAE,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,OAAO,CAAC;MACrB,IAAI,EAAE,uBAAuB;KAC9B,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;EACtC,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,uBAAuB,EAAE,KAAK,IAAI,EAAE;IACrC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,OAAO,CAAC;MACrB,IAAI,EAAE,kBAAkB,IAAI;kBAChB;KACb,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;EACtC,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,qBAAqB,EAAE,KAAK,IAAI,EAAE;IACnC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,OAAO,CAAC;MACrB,IAAI,EAAE;kBACM;KACb,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;EACtC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from '@stencil/core/testing';\nimport { CLoader } from '../c-loader';\n\ndescribe('c-loader', () => {\n it('renders default html', async () => {\n const page = await newSpecPage({\n components: [CLoader],\n html: `<c-loader></c-loader>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it('renders hidden loader', async () => {\n const page = await newSpecPage({\n components: [CLoader],\n html: `<c-loader hide=${true}>\n </c-loader>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it('renders custom size', async () => {\n const page = await newSpecPage({\n components: [CLoader],\n html: `<c-loader size=\"30\">\n </c-loader>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n});\n"]}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
html {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
*,
|
|
6
|
+
*:before,
|
|
7
|
+
*:after {
|
|
8
|
+
box-sizing: inherit;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:host {
|
|
12
|
+
font-family: var(--c-font-family);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
::-ms-reveal {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host {
|
|
20
|
+
/**
|
|
21
|
+
* @prop --c-login-button-background-color: Button background color
|
|
22
|
+
* @prop --c-login-button-border-color: Button border color
|
|
23
|
+
* @prop --c-login-button-outline-color: Button outline color
|
|
24
|
+
* @prop --c-login-button-text-color: Button text color
|
|
25
|
+
* @prop --c-login-button-title-background-color: Button title color
|
|
26
|
+
*/
|
|
27
|
+
--_c-login-button-background-color: var(--c-login-button-background-color, var(--c-white));
|
|
28
|
+
--_c-login-button-border-color: var(--c-login-button-border-color, var(--c-primary-200));
|
|
29
|
+
--_c-login-button-outline-color: var(--c-login-button-outline-color, var(--c-primary-600));
|
|
30
|
+
--_c-login-button-text-color: var(--c-login-button-text-color, var(--c-text-system));
|
|
31
|
+
--_c-login-button-title-background-color: var(--c-login-button-title-background-color, var(--c-tertiary-100));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
a {
|
|
35
|
+
background-color: var(--_c-login-button-background-color);
|
|
36
|
+
border-radius: 4px;
|
|
37
|
+
border: 1px var(--_c-login-button-border-color) solid;
|
|
38
|
+
color: var(--_c-login-button-text-color);
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
display: grid;
|
|
41
|
+
grid-template-columns: 1fr;
|
|
42
|
+
grid-template-rows: 1fr auto;
|
|
43
|
+
height: 100%;
|
|
44
|
+
min-height: 168px;
|
|
45
|
+
outline: 1px transparent solid;
|
|
46
|
+
place-content: center;
|
|
47
|
+
text-align: center;
|
|
48
|
+
text-decoration: none;
|
|
49
|
+
}
|
|
50
|
+
a img {
|
|
51
|
+
max-height: 120px;
|
|
52
|
+
max-width: 200px;
|
|
53
|
+
padding: 8px 24px;
|
|
54
|
+
place-self: center;
|
|
55
|
+
}
|
|
56
|
+
a div {
|
|
57
|
+
background-color: var(--_c-login-button-title-background-color);
|
|
58
|
+
border-radius: 0 0 4px 4px;
|
|
59
|
+
box-shadow: 0 -1px 0 0 var(--_c-login-button-border-color);
|
|
60
|
+
font-size: 14px;
|
|
61
|
+
padding: 4px;
|
|
62
|
+
}
|
|
63
|
+
a:hover {
|
|
64
|
+
border-color: var(--_c-login-button-outline-color);
|
|
65
|
+
outline: 1px var(--_c-login-button-outline-color) solid;
|
|
66
|
+
}
|
|
67
|
+
a:focus {
|
|
68
|
+
outline: 2px var(--_c-login-button-outline-color) solid;
|
|
69
|
+
outline-offset: 2px;
|
|
70
|
+
}
|
|
71
|
+
@supports selector(:focus-visible) {
|
|
72
|
+
a:focus {
|
|
73
|
+
outline: none;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
a:focus-visible {
|
|
77
|
+
outline: 2px var(--_c-login-button-outline-color) solid;
|
|
78
|
+
outline-offset: 2px;
|
|
79
|
+
}
|