wcs-core 7.1.0 → 7.2.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/README.md +1 -11
- package/design-tokens/dist/sncf-groupe-root-scoped.css +590 -0
- package/design-tokens/dist/sncf-groupe.css +590 -0
- package/design-tokens/dist/sncf-groupe.json +10693 -0
- package/design-tokens/dist/sncf-holding-root-scoped.css +426 -425
- package/design-tokens/dist/sncf-holding.css +426 -425
- package/design-tokens/dist/sncf-holding.json +26 -3
- package/design-tokens/dist/sncf-reseau-root-scoped.css +465 -465
- package/design-tokens/dist/sncf-reseau.css +465 -465
- package/design-tokens/dist/sncf-voyageurs-root-scoped.css +383 -383
- package/design-tokens/dist/sncf-voyageurs.css +383 -383
- package/dist/cjs/{grid-pagination-e4f29c78.js → grid-pagination-4505d7b6.js} +25 -5
- package/dist/cjs/grid-pagination-4505d7b6.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/wcs-accordion-panel.cjs.entry.js +1 -1
- package/dist/cjs/wcs-accordion-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-action-bar.cjs.entry.js +1 -1
- package/dist/cjs/wcs-action-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-alert-drawer.cjs.entry.js +99 -0
- package/dist/cjs/wcs-alert-drawer.cjs.entry.js.map +1 -0
- package/dist/cjs/wcs-alert.cjs.entry.js +121 -0
- package/dist/cjs/wcs-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/wcs-app.cjs.entry.js +3 -3
- package/dist/cjs/wcs-badge.cjs.entry.js +2 -2
- package/dist/cjs/wcs-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/wcs-breadcrumb-item.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/wcs-button_2.cjs.entry.js +3 -8
- package/dist/cjs/wcs-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-card-body.cjs.entry.js +9 -2
- package/dist/cjs/wcs-card-body.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-card-content.cjs.entry.js +22 -0
- package/dist/cjs/wcs-card-content.cjs.entry.js.map +1 -0
- package/dist/cjs/wcs-card-footer.cjs.entry.js +22 -0
- package/dist/cjs/wcs-card-footer.cjs.entry.js.map +1 -0
- package/dist/cjs/wcs-card-header.cjs.entry.js +22 -0
- package/dist/cjs/wcs-card-header.cjs.entry.js.map +1 -0
- package/dist/cjs/wcs-card-media.cjs.entry.js +29 -0
- package/dist/cjs/wcs-card-media.cjs.entry.js.map +1 -0
- package/dist/cjs/wcs-card.cjs.entry.js +30 -2
- package/dist/cjs/wcs-card.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/wcs-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-com-nav-category.cjs.entry.js +2 -2
- package/dist/cjs/wcs-com-nav-item.cjs.entry.js +1 -1
- package/dist/cjs/wcs-com-nav-submenu.cjs.entry.js +2 -2
- package/dist/cjs/wcs-com-nav.cjs.entry.js +2 -2
- package/dist/cjs/wcs-counter.cjs.entry.js +2 -12
- package/dist/cjs/wcs-counter.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-divider.cjs.entry.js +1 -1
- package/dist/cjs/wcs-dropdown-divider.cjs.entry.js +1 -1
- package/dist/cjs/wcs-dropdown-header.cjs.entry.js +1 -1
- package/dist/cjs/wcs-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/wcs-dropdown.cjs.entry.js +1 -6
- package/dist/cjs/wcs-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-editable-field.cjs.entry.js +2 -2
- package/dist/cjs/wcs-editable-field.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-error_3.cjs.entry.js +3 -3
- package/dist/cjs/wcs-error_3.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-field-content.cjs.entry.js +1 -1
- package/dist/cjs/wcs-field-label.cjs.entry.js +1 -1
- package/dist/cjs/wcs-field.cjs.entry.js +1 -1
- package/dist/cjs/wcs-footer.cjs.entry.js +1 -1
- package/dist/cjs/wcs-galactic-menu.cjs.entry.js +2 -2
- package/dist/cjs/wcs-galactic.cjs.entry.js +1 -1
- package/dist/cjs/wcs-grid-column.cjs.entry.js +1 -1
- package/dist/cjs/wcs-grid-column.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-grid-custom-cell.cjs.entry.js +1 -1
- package/dist/cjs/wcs-grid-pagination.cjs.entry.js +1 -1
- package/dist/cjs/wcs-grid.cjs.entry.js +12 -4
- package/dist/cjs/wcs-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-header.cjs.entry.js +2 -2
- package/dist/cjs/wcs-header.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-hint.cjs.entry.js +1 -1
- package/dist/cjs/wcs-horizontal-stepper.cjs.entry.js +1 -1
- package/dist/cjs/wcs-horizontal-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-icon.cjs.entry.js +1 -1
- package/dist/cjs/wcs-input.cjs.entry.js +2 -12
- package/dist/cjs/wcs-input.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-list-item-properties.cjs.entry.js +1 -1
- package/dist/cjs/wcs-list-item-property.cjs.entry.js +1 -1
- package/dist/cjs/wcs-list-item.cjs.entry.js +1 -1
- package/dist/cjs/wcs-mat-icon.cjs.entry.js +1 -1
- package/dist/cjs/wcs-mat-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-modal.cjs.entry.js +2 -2
- package/dist/cjs/wcs-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-native-select.cjs.entry.js +2 -2
- package/dist/cjs/wcs-native-select.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-nav-item.cjs.entry.js +1 -1
- package/dist/cjs/wcs-nav.cjs.entry.js +2 -2
- package/dist/cjs/wcs-nav.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/wcs-progress-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-progress-radial.cjs.entry.js +2 -2
- package/dist/cjs/wcs-progress-radial.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/wcs-radio.cjs.entry.js +1 -1
- package/dist/cjs/wcs-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-select_2.cjs.entry.js +18 -11
- package/dist/cjs/wcs-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-skeleton-circle.cjs.entry.js +1 -1
- package/dist/cjs/wcs-skeleton-rectangle.cjs.entry.js +1 -1
- package/dist/cjs/wcs-skeleton-text.cjs.entry.js +1 -1
- package/dist/cjs/wcs-switch.cjs.entry.js +1 -1
- package/dist/cjs/wcs-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-tab.cjs.entry.js +1 -1
- package/dist/cjs/wcs-tabs.cjs.entry.js +149 -6
- package/dist/cjs/wcs-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-textarea.cjs.entry.js +1 -1
- package/dist/cjs/wcs-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/wcs-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/accordion-panel/accordion-panel.js +1 -1
- package/dist/collection/components/accordion-panel/accordion-panel.js.map +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js.map +1 -1
- package/dist/collection/components/alert/alert-interface.js +2 -0
- package/dist/collection/components/alert/alert-interface.js.map +1 -0
- package/dist/collection/components/alert/alert.css +115 -0
- package/dist/collection/components/alert/alert.e2e.js +142 -0
- package/dist/collection/components/alert/alert.e2e.js.map +1 -0
- package/dist/collection/components/alert/alert.js +257 -0
- package/dist/collection/components/alert/alert.js.map +1 -0
- package/dist/collection/components/alert-drawer/alert-drawer-interface.js +2 -0
- package/dist/collection/components/alert-drawer/alert-drawer-interface.js.map +1 -0
- package/dist/collection/components/alert-drawer/alert-drawer.css +103 -0
- package/dist/collection/components/alert-drawer/alert-drawer.e2e.js +111 -0
- package/dist/collection/components/alert-drawer/alert-drawer.e2e.js.map +1 -0
- package/dist/collection/components/alert-drawer/alert-drawer.js +237 -0
- package/dist/collection/components/alert-drawer/alert-drawer.js.map +1 -0
- package/dist/collection/components/app/app.js +3 -3
- package/dist/collection/components/badge/badge.css +4 -1
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
- package/dist/collection/components/button/button-interface.js +1 -5
- package/dist/collection/components/button/button-interface.js.map +1 -1
- package/dist/collection/components/button/button.css +2 -2
- package/dist/collection/components/button/button.js +1 -6
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/card/card-interface.js.map +1 -1
- package/dist/collection/components/card/card.css +10 -0
- package/dist/collection/components/card/card.js +62 -1
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/card-body/card-body.css +12 -1
- package/dist/collection/components/card-body/card-body.js +52 -2
- package/dist/collection/components/card-body/card-body.js.map +1 -1
- package/dist/collection/components/card-content/card-content.css +12 -0
- package/dist/collection/components/card-content/card-content.js +30 -0
- package/dist/collection/components/card-content/card-content.js.map +1 -0
- package/dist/collection/components/card-footer/card-footer.css +7 -0
- package/dist/collection/components/card-footer/card-footer.js +25 -0
- package/dist/collection/components/card-footer/card-footer.js.map +1 -0
- package/dist/collection/components/card-header/card-header.css +28 -0
- package/dist/collection/components/card-header/card-header.js +32 -0
- package/dist/collection/components/card-header/card-header.js.map +1 -0
- package/dist/collection/components/card-media/card-media.css +21 -0
- package/dist/collection/components/card-media/card-media.js +77 -0
- package/dist/collection/components/card-media/card-media.js.map +1 -0
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/com-nav/com-nav.js +2 -2
- package/dist/collection/components/com-nav-category/com-nav-category.js +2 -2
- package/dist/collection/components/com-nav-item/com-nav-item.js +1 -1
- package/dist/collection/components/com-nav-submenu/com-nav-submenu.js +2 -2
- package/dist/collection/components/counter/counter-interface.js +1 -5
- package/dist/collection/components/counter/counter-interface.js.map +1 -1
- package/dist/collection/components/counter/counter.css +4 -1
- package/dist/collection/components/counter/counter.js +1 -6
- package/dist/collection/components/counter/counter.js.map +1 -1
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +2 -7
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown-divider/dropdown-divider.js +1 -1
- package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/editable-field/editable-field.css +3 -0
- package/dist/collection/components/editable-field/editable-field.js +1 -1
- package/dist/collection/components/error/error.js +1 -1
- package/dist/collection/components/error/error.js.map +1 -1
- package/dist/collection/components/field/field.js +1 -1
- package/dist/collection/components/field-content/field-content.js +1 -1
- package/dist/collection/components/field-label/field-label.js +1 -1
- package/dist/collection/components/footer/footer.js +1 -1
- package/dist/collection/components/form-field/form-field.js +1 -1
- package/dist/collection/components/form-field/form-field.js.map +1 -1
- package/dist/collection/components/galactic/galactic.js +1 -1
- package/dist/collection/components/galactic-menu/galactic-menu.js +2 -2
- package/dist/collection/components/grid/grid.js +30 -5
- package/dist/collection/components/grid/grid.js.map +1 -1
- package/dist/collection/components/grid-column/grid-column.js +3 -3
- package/dist/collection/components/grid-column/grid-column.js.map +1 -1
- package/dist/collection/components/grid-custom-cell/grid-custom-cell.js +1 -1
- package/dist/collection/components/grid-pagination/grid-pagination-arrow.js +2 -2
- package/dist/collection/components/grid-pagination/grid-pagination-arrow.js.map +1 -1
- package/dist/collection/components/grid-pagination/grid-pagination.js +22 -2
- package/dist/collection/components/grid-pagination/grid-pagination.js.map +1 -1
- package/dist/collection/components/header/header.css +9 -1
- package/dist/collection/components/header/header.js +2 -1
- package/dist/collection/components/header/header.js.map +1 -1
- package/dist/collection/components/hint/hint.js +1 -1
- package/dist/collection/components/horizontal-stepper/horizontal-stepper.js +2 -2
- package/dist/collection/components/horizontal-stepper/horizontal-stepper.js.map +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/input/input-interface.js +1 -5
- package/dist/collection/components/input/input-interface.js.map +1 -1
- package/dist/collection/components/input/input.css +4 -0
- package/dist/collection/components/input/input.js +3 -8
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/label.js.map +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item-properties/list-item-properties.js +1 -1
- package/dist/collection/components/list-item-property/list-item-property.js +1 -1
- package/dist/collection/components/mat-icon/mat-icon.js +2 -2
- package/dist/collection/components/mat-icon/mat-icon.js.map +1 -1
- package/dist/collection/components/modal/modal-interface.js.map +1 -1
- package/dist/collection/components/modal/modal.css +1 -0
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/native-select/native-select.css +2 -2
- package/dist/collection/components/native-select/native-select.js +2 -2
- package/dist/collection/components/native-select/native-select.js.map +1 -1
- package/dist/collection/components/nav/nav.css +2 -0
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-item/nav-item.js +1 -1
- package/dist/collection/components/progress-bar/progress-bar.css +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +3 -3
- package/dist/collection/components/progress-bar/progress-bar.js.map +1 -1
- package/dist/collection/components/progress-radial/progress-radial.js +3 -3
- package/dist/collection/components/progress-radial/progress-radial.js.map +1 -1
- package/dist/collection/components/radio/radio.js +1 -1
- package/dist/collection/components/radio/radio.js.map +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/select/select.css +1 -1
- package/dist/collection/components/select/select.js +16 -9
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select-option/select-option.js +2 -2
- package/dist/collection/components/select-option/select-option.js.map +1 -1
- package/dist/collection/components/skeleton-circle/skeleton-circle.js +1 -1
- package/dist/collection/components/skeleton-rectangle/skeleton-rectangle.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +1 -1
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/switch/switch.js.map +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tabs/tabs.css +104 -1
- package/dist/collection/components/tabs/tabs.js +180 -5
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/textarea/textarea.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/esm/{grid-pagination-976a86e9.js → grid-pagination-731726a6.js} +25 -5
- package/dist/esm/grid-pagination-731726a6.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/wcs-accordion-panel.entry.js +1 -1
- package/dist/esm/wcs-accordion-panel.entry.js.map +1 -1
- package/dist/esm/wcs-action-bar.entry.js +1 -1
- package/dist/esm/wcs-action-bar.entry.js.map +1 -1
- package/dist/esm/wcs-alert-drawer.entry.js +95 -0
- package/dist/esm/wcs-alert-drawer.entry.js.map +1 -0
- package/dist/esm/wcs-alert.entry.js +117 -0
- package/dist/esm/wcs-alert.entry.js.map +1 -0
- package/dist/esm/wcs-app.entry.js +3 -3
- package/dist/esm/wcs-badge.entry.js +2 -2
- package/dist/esm/wcs-badge.entry.js.map +1 -1
- package/dist/esm/wcs-breadcrumb-item.entry.js +1 -1
- package/dist/esm/wcs-breadcrumb-item.entry.js.map +1 -1
- package/dist/esm/wcs-breadcrumb.entry.js +1 -1
- package/dist/esm/wcs-button_2.entry.js +3 -8
- package/dist/esm/wcs-button_2.entry.js.map +1 -1
- package/dist/esm/wcs-card-body.entry.js +10 -3
- package/dist/esm/wcs-card-body.entry.js.map +1 -1
- package/dist/esm/wcs-card-content.entry.js +18 -0
- package/dist/esm/wcs-card-content.entry.js.map +1 -0
- package/dist/esm/wcs-card-footer.entry.js +18 -0
- package/dist/esm/wcs-card-footer.entry.js.map +1 -0
- package/dist/esm/wcs-card-header.entry.js +18 -0
- package/dist/esm/wcs-card-header.entry.js.map +1 -0
- package/dist/esm/wcs-card-media.entry.js +25 -0
- package/dist/esm/wcs-card-media.entry.js.map +1 -0
- package/dist/esm/wcs-card.entry.js +31 -3
- package/dist/esm/wcs-card.entry.js.map +1 -1
- package/dist/esm/wcs-checkbox.entry.js +1 -1
- package/dist/esm/wcs-checkbox.entry.js.map +1 -1
- package/dist/esm/wcs-com-nav-category.entry.js +2 -2
- package/dist/esm/wcs-com-nav-item.entry.js +1 -1
- package/dist/esm/wcs-com-nav-submenu.entry.js +2 -2
- package/dist/esm/wcs-com-nav.entry.js +2 -2
- package/dist/esm/wcs-counter.entry.js +2 -12
- package/dist/esm/wcs-counter.entry.js.map +1 -1
- package/dist/esm/wcs-divider.entry.js +1 -1
- package/dist/esm/wcs-dropdown-divider.entry.js +1 -1
- package/dist/esm/wcs-dropdown-header.entry.js +1 -1
- package/dist/esm/wcs-dropdown-item.entry.js +1 -1
- package/dist/esm/wcs-dropdown.entry.js +1 -6
- package/dist/esm/wcs-dropdown.entry.js.map +1 -1
- package/dist/esm/wcs-editable-field.entry.js +2 -2
- package/dist/esm/wcs-editable-field.entry.js.map +1 -1
- package/dist/esm/wcs-error_3.entry.js +3 -3
- package/dist/esm/wcs-error_3.entry.js.map +1 -1
- package/dist/esm/wcs-field-content.entry.js +1 -1
- package/dist/esm/wcs-field-label.entry.js +1 -1
- package/dist/esm/wcs-field.entry.js +1 -1
- package/dist/esm/wcs-footer.entry.js +1 -1
- package/dist/esm/wcs-galactic-menu.entry.js +2 -2
- package/dist/esm/wcs-galactic.entry.js +1 -1
- package/dist/esm/wcs-grid-column.entry.js +1 -1
- package/dist/esm/wcs-grid-column.entry.js.map +1 -1
- package/dist/esm/wcs-grid-custom-cell.entry.js +1 -1
- package/dist/esm/wcs-grid-pagination.entry.js +1 -1
- package/dist/esm/wcs-grid.entry.js +12 -4
- package/dist/esm/wcs-grid.entry.js.map +1 -1
- package/dist/esm/wcs-header.entry.js +2 -2
- package/dist/esm/wcs-header.entry.js.map +1 -1
- package/dist/esm/wcs-hint.entry.js +1 -1
- package/dist/esm/wcs-horizontal-stepper.entry.js +1 -1
- package/dist/esm/wcs-horizontal-stepper.entry.js.map +1 -1
- package/dist/esm/wcs-icon.entry.js +1 -1
- package/dist/esm/wcs-input.entry.js +2 -12
- package/dist/esm/wcs-input.entry.js.map +1 -1
- package/dist/esm/wcs-list-item-properties.entry.js +1 -1
- package/dist/esm/wcs-list-item-property.entry.js +1 -1
- package/dist/esm/wcs-list-item.entry.js +1 -1
- package/dist/esm/wcs-mat-icon.entry.js +1 -1
- package/dist/esm/wcs-mat-icon.entry.js.map +1 -1
- package/dist/esm/wcs-modal.entry.js +2 -2
- package/dist/esm/wcs-modal.entry.js.map +1 -1
- package/dist/esm/wcs-native-select.entry.js +2 -2
- package/dist/esm/wcs-native-select.entry.js.map +1 -1
- package/dist/esm/wcs-nav-item.entry.js +1 -1
- package/dist/esm/wcs-nav.entry.js +2 -2
- package/dist/esm/wcs-nav.entry.js.map +1 -1
- package/dist/esm/wcs-progress-bar.entry.js +3 -3
- package/dist/esm/wcs-progress-bar.entry.js.map +1 -1
- package/dist/esm/wcs-progress-radial.entry.js +2 -2
- package/dist/esm/wcs-progress-radial.entry.js.map +1 -1
- package/dist/esm/wcs-radio-group.entry.js +1 -1
- package/dist/esm/wcs-radio.entry.js +1 -1
- package/dist/esm/wcs-radio.entry.js.map +1 -1
- package/dist/esm/wcs-select_2.entry.js +18 -11
- package/dist/esm/wcs-select_2.entry.js.map +1 -1
- package/dist/esm/wcs-skeleton-circle.entry.js +1 -1
- package/dist/esm/wcs-skeleton-rectangle.entry.js +1 -1
- package/dist/esm/wcs-skeleton-text.entry.js +1 -1
- package/dist/esm/wcs-switch.entry.js +1 -1
- package/dist/esm/wcs-switch.entry.js.map +1 -1
- package/dist/esm/wcs-tab.entry.js +1 -1
- package/dist/esm/wcs-tabs.entry.js +149 -6
- package/dist/esm/wcs-tabs.entry.js.map +1 -1
- package/dist/esm/wcs-textarea.entry.js +1 -1
- package/dist/esm/wcs-textarea.entry.js.map +1 -1
- package/dist/esm/wcs-tooltip.entry.js +1 -1
- package/dist/esm/wcs-tooltip.entry.js.map +1 -1
- package/dist/esm/wcs.js +1 -1
- package/dist/types/components/alert/alert-interface.d.ts +11 -0
- package/dist/types/components/alert/alert.d.ts +79 -0
- package/dist/types/components/alert-drawer/alert-drawer-interface.d.ts +1 -0
- package/dist/types/components/alert-drawer/alert-drawer.d.ts +83 -0
- package/dist/types/components/button/button-interface.d.ts +1 -3
- package/dist/types/components/card/card-interface.d.ts +1 -0
- package/dist/types/components/card/card.d.ts +18 -1
- package/dist/types/components/card-body/card-body.d.ts +9 -0
- package/dist/types/components/card-content/card-content.d.ts +14 -0
- package/dist/types/components/card-footer/card-footer.d.ts +9 -0
- package/dist/types/components/card-header/card-header.d.ts +16 -0
- package/dist/types/components/card-media/card-media.d.ts +20 -0
- package/dist/types/components/counter/counter-interface.d.ts +1 -3
- package/dist/types/components/grid/grid.d.ts +4 -0
- package/dist/types/components/grid-pagination/grid-pagination.d.ts +6 -1
- package/dist/types/components/header/header.d.ts +1 -0
- package/dist/types/components/input/input-interface.d.ts +1 -3
- package/dist/types/components/mat-icon/mat-icon.d.ts +1 -1
- package/dist/types/components/modal/modal-interface.d.ts +2 -1
- package/dist/types/components/select/select.d.ts +7 -1
- package/dist/types/components/tabs/tabs.d.ts +55 -0
- package/dist/types/components.d.ts +571 -6
- package/dist/wcs/{p-9c012aae.entry.js → p-0424e545.entry.js} +2 -2
- package/dist/wcs/{p-50523b53.entry.js → p-0758d22e.entry.js} +2 -2
- package/dist/wcs/p-0b8157e7.entry.js +2 -0
- package/dist/wcs/p-0dd07842.entry.js +2 -0
- package/dist/wcs/p-0dd07842.entry.js.map +1 -0
- package/dist/wcs/{p-9554196c.entry.js → p-1244daa0.entry.js} +2 -2
- package/dist/wcs/{p-96bff8fe.entry.js → p-18fa39f4.entry.js} +2 -2
- package/dist/wcs/{p-96bff8fe.entry.js.map → p-18fa39f4.entry.js.map} +1 -1
- package/dist/wcs/p-1ba616c2.entry.js +2 -0
- package/dist/wcs/p-1ba616c2.entry.js.map +1 -0
- package/dist/wcs/p-1e7ea63c.entry.js +2 -0
- package/dist/wcs/p-1e7ea63c.entry.js.map +1 -0
- package/dist/wcs/p-1f593d06.entry.js +2 -0
- package/dist/wcs/p-1f593d06.entry.js.map +1 -0
- package/dist/wcs/{p-4dc52a25.entry.js → p-1fbe0328.entry.js} +2 -2
- package/dist/wcs/p-1fbe0328.entry.js.map +1 -0
- package/dist/wcs/{p-c2d35aa6.entry.js → p-204f2722.entry.js} +9 -9
- package/dist/wcs/p-204f2722.entry.js.map +1 -0
- package/dist/wcs/{p-37800935.entry.js → p-27b438c0.entry.js} +2 -2
- package/dist/wcs/{p-0ffdfc10.entry.js → p-352e1f99.entry.js} +2 -2
- package/dist/wcs/{p-3cfa1c4b.entry.js → p-367946fe.entry.js} +2 -2
- package/dist/wcs/p-3823f54e.entry.js +2 -0
- package/dist/wcs/{p-a7891233.entry.js → p-3a18535f.entry.js} +2 -2
- package/dist/wcs/p-41b946b2.entry.js +2 -0
- package/dist/wcs/p-41b946b2.entry.js.map +1 -0
- package/dist/wcs/{p-4661290b.entry.js → p-496115a5.entry.js} +2 -2
- package/dist/wcs/{p-4661290b.entry.js.map → p-496115a5.entry.js.map} +1 -1
- package/dist/wcs/p-4fb2d985.entry.js +2 -0
- package/dist/wcs/{p-9243a323.entry.js.map → p-4fb2d985.entry.js.map} +1 -1
- package/dist/wcs/{p-d895ffb4.entry.js → p-5202b323.entry.js} +2 -2
- package/dist/wcs/{p-ca8f3677.entry.js → p-53a395a9.entry.js} +2 -2
- package/dist/wcs/{p-ca8f3677.entry.js.map → p-53a395a9.entry.js.map} +1 -1
- package/dist/wcs/p-5607246c.entry.js +2 -0
- package/dist/wcs/p-5607246c.entry.js.map +1 -0
- package/dist/wcs/p-580b3142.entry.js +2 -0
- package/dist/wcs/p-5da0534f.entry.js +2 -0
- package/dist/wcs/p-5da0534f.entry.js.map +1 -0
- package/dist/wcs/p-5e8fff73.entry.js +2 -0
- package/dist/wcs/p-5e8fff73.entry.js.map +1 -0
- package/dist/wcs/{p-dddcd685.entry.js → p-622f7403.entry.js} +2 -2
- package/dist/wcs/p-637ec45a.entry.js +2 -0
- package/dist/wcs/p-637ec45a.entry.js.map +1 -0
- package/dist/wcs/p-6aededc6.entry.js +2 -0
- package/dist/wcs/p-6aededc6.entry.js.map +1 -0
- package/dist/wcs/p-6c6079ee.entry.js +2 -0
- package/dist/wcs/{p-76c92e22.entry.js.map → p-6c6079ee.entry.js.map} +1 -1
- package/dist/wcs/{p-e5c057c4.entry.js → p-781a956e.entry.js} +2 -2
- package/dist/wcs/p-7de847e0.entry.js +2 -0
- package/dist/wcs/p-8152d360.entry.js +2 -0
- package/dist/wcs/p-8152d360.entry.js.map +1 -0
- package/dist/wcs/{p-294732f7.entry.js → p-850fa9c9.entry.js} +2 -2
- package/dist/wcs/{p-796e690d.entry.js → p-86ec9ead.entry.js} +2 -2
- package/dist/wcs/{p-796e690d.entry.js.map → p-86ec9ead.entry.js.map} +1 -1
- package/dist/wcs/p-8c2605fd.entry.js +2 -0
- package/dist/wcs/p-8c2605fd.entry.js.map +1 -0
- package/dist/wcs/{p-16dd21cf.entry.js → p-8e9bd0f1.entry.js} +2 -2
- package/dist/wcs/p-98a8b806.entry.js +2 -0
- package/dist/wcs/p-98a8b806.entry.js.map +1 -0
- package/dist/wcs/p-9c73744c.entry.js +2 -0
- package/dist/wcs/p-9c73744c.entry.js.map +1 -0
- package/dist/wcs/p-9fd3366c.entry.js +2 -0
- package/dist/wcs/p-9fd3366c.entry.js.map +1 -0
- package/dist/wcs/p-a0f6ef30.entry.js +2 -0
- package/dist/wcs/p-a0f6ef30.entry.js.map +1 -0
- package/dist/wcs/{p-5bf73e05.entry.js → p-a94e685c.entry.js} +2 -2
- package/dist/wcs/{p-5bf73e05.entry.js.map → p-a94e685c.entry.js.map} +1 -1
- package/dist/wcs/{p-7d665a7e.entry.js → p-a956dc84.entry.js} +2 -2
- package/dist/wcs/p-a956dc84.entry.js.map +1 -0
- package/dist/wcs/{p-5d5f50ed.entry.js → p-aadf37e7.entry.js} +2 -2
- package/dist/wcs/{p-6b06d2e7.entry.js → p-ad286030.entry.js} +2 -2
- package/dist/wcs/p-ad5192cd.entry.js +2 -0
- package/dist/wcs/{p-dd60a6db.entry.js → p-b0a6eec6.entry.js} +2 -2
- package/dist/wcs/{p-dd60a6db.entry.js.map → p-b0a6eec6.entry.js.map} +1 -1
- package/dist/wcs/{p-9ad23e83.entry.js → p-b28b2fba.entry.js} +2 -2
- package/dist/wcs/p-b28b2fba.entry.js.map +1 -0
- package/dist/wcs/{p-29f5b974.entry.js → p-bc009574.entry.js} +2 -2
- package/dist/wcs/{p-29f5b974.entry.js.map → p-bc009574.entry.js.map} +1 -1
- package/dist/wcs/p-c211a5d1.entry.js +2 -0
- package/dist/wcs/{p-206c01d5.entry.js → p-c261eaf9.entry.js} +2 -2
- package/dist/wcs/p-c261eaf9.entry.js.map +1 -0
- package/dist/wcs/p-c5bad0b8.js +2 -0
- package/dist/wcs/p-c5bad0b8.js.map +1 -0
- package/dist/wcs/p-c7812760.entry.js +2 -0
- package/dist/wcs/{p-694724a2.entry.js → p-c84ae00d.entry.js} +2 -2
- package/dist/wcs/p-cad10435.entry.js +2 -0
- package/dist/wcs/{p-13e50077.entry.js.map → p-cad10435.entry.js.map} +1 -1
- package/dist/wcs/p-cbbca016.entry.js +2 -0
- package/dist/wcs/p-cbbca016.entry.js.map +1 -0
- package/dist/wcs/{p-619e1110.entry.js → p-cbda74f6.entry.js} +2 -2
- package/dist/wcs/{p-21b964cd.entry.js → p-d27d4a53.entry.js} +2 -2
- package/dist/wcs/p-d27d4a53.entry.js.map +1 -0
- package/dist/wcs/p-dfb52a1c.entry.js +2 -0
- package/dist/wcs/p-dfb52a1c.entry.js.map +1 -0
- package/dist/wcs/{p-6f5d570a.entry.js → p-dff8641e.entry.js} +2 -2
- package/dist/wcs/p-e26c19e5.entry.js +2 -0
- package/dist/wcs/{p-d9525519.entry.js → p-e56b9ce2.entry.js} +2 -2
- package/dist/wcs/p-ec383729.entry.js +2 -0
- package/dist/wcs/p-ec383729.entry.js.map +1 -0
- package/dist/wcs/p-f929b66f.entry.js +2 -0
- package/dist/wcs/p-f929b66f.entry.js.map +1 -0
- package/dist/wcs/{p-da4636fa.entry.js → p-fd187bce.entry.js} +2 -2
- package/dist/wcs/{p-b96f4921.entry.js → p-fdeae83e.entry.js} +2 -2
- package/dist/wcs/wcs.esm.js +1 -1
- package/dist/wcs/wcs.esm.js.map +1 -1
- package/package.json +5 -2
- package/dist/cjs/button-interface-629f3563.js +0 -12
- package/dist/cjs/button-interface-629f3563.js.map +0 -1
- package/dist/cjs/grid-pagination-e4f29c78.js.map +0 -1
- package/dist/esm/button-interface-dc5ddd51.js +0 -9
- package/dist/esm/button-interface-dc5ddd51.js.map +0 -1
- package/dist/esm/grid-pagination-976a86e9.js.map +0 -1
- package/dist/wcs/p-13090618.entry.js +0 -2
- package/dist/wcs/p-13090618.entry.js.map +0 -1
- package/dist/wcs/p-13e50077.entry.js +0 -2
- package/dist/wcs/p-1438530e.entry.js +0 -2
- package/dist/wcs/p-1438530e.entry.js.map +0 -1
- package/dist/wcs/p-206c01d5.entry.js.map +0 -1
- package/dist/wcs/p-21b964cd.entry.js.map +0 -1
- package/dist/wcs/p-21d2f06f.entry.js +0 -2
- package/dist/wcs/p-21d2f06f.entry.js.map +0 -1
- package/dist/wcs/p-258855a1.entry.js +0 -2
- package/dist/wcs/p-258855a1.entry.js.map +0 -1
- package/dist/wcs/p-2adf00be.entry.js +0 -2
- package/dist/wcs/p-2adf00be.entry.js.map +0 -1
- package/dist/wcs/p-388e6d75.entry.js +0 -2
- package/dist/wcs/p-388e6d75.entry.js.map +0 -1
- package/dist/wcs/p-43d70995.entry.js +0 -2
- package/dist/wcs/p-43d70995.entry.js.map +0 -1
- package/dist/wcs/p-4dc52a25.entry.js.map +0 -1
- package/dist/wcs/p-550012c2.entry.js +0 -2
- package/dist/wcs/p-5974be61.entry.js +0 -2
- package/dist/wcs/p-5974be61.entry.js.map +0 -1
- package/dist/wcs/p-5de993d7.entry.js +0 -2
- package/dist/wcs/p-5de993d7.entry.js.map +0 -1
- package/dist/wcs/p-71db0ed5.entry.js +0 -2
- package/dist/wcs/p-76c92e22.entry.js +0 -2
- package/dist/wcs/p-7d665a7e.entry.js.map +0 -1
- package/dist/wcs/p-8fcceaf1.js +0 -2
- package/dist/wcs/p-8fcceaf1.js.map +0 -1
- package/dist/wcs/p-9243a323.entry.js +0 -2
- package/dist/wcs/p-94aa269f.entry.js +0 -2
- package/dist/wcs/p-94aa269f.entry.js.map +0 -1
- package/dist/wcs/p-96195d9a.entry.js +0 -2
- package/dist/wcs/p-96195d9a.entry.js.map +0 -1
- package/dist/wcs/p-9ad23e83.entry.js.map +0 -1
- package/dist/wcs/p-9dc3f9a5.entry.js +0 -2
- package/dist/wcs/p-9dc3f9a5.entry.js.map +0 -1
- package/dist/wcs/p-9eb66fa9.entry.js +0 -2
- package/dist/wcs/p-ab49926d.entry.js +0 -2
- package/dist/wcs/p-ab49926d.entry.js.map +0 -1
- package/dist/wcs/p-b2080509.entry.js +0 -2
- package/dist/wcs/p-c2d35aa6.entry.js.map +0 -1
- package/dist/wcs/p-c6a28b79.js +0 -2
- package/dist/wcs/p-c6a28b79.js.map +0 -1
- package/dist/wcs/p-c752b85a.entry.js +0 -2
- package/dist/wcs/p-d443d419.entry.js +0 -2
- package/dist/wcs/p-e36b2ad1.entry.js +0 -2
- package/dist/wcs/p-f87636f6.entry.js +0 -2
- package/dist/wcs/p-f87636f6.entry.js.map +0 -1
- package/dist/wcs/p-fc115de4.entry.js +0 -2
- /package/dist/wcs/{p-9c012aae.entry.js.map → p-0424e545.entry.js.map} +0 -0
- /package/dist/wcs/{p-50523b53.entry.js.map → p-0758d22e.entry.js.map} +0 -0
- /package/dist/wcs/{p-e36b2ad1.entry.js.map → p-0b8157e7.entry.js.map} +0 -0
- /package/dist/wcs/{p-9554196c.entry.js.map → p-1244daa0.entry.js.map} +0 -0
- /package/dist/wcs/{p-37800935.entry.js.map → p-27b438c0.entry.js.map} +0 -0
- /package/dist/wcs/{p-0ffdfc10.entry.js.map → p-352e1f99.entry.js.map} +0 -0
- /package/dist/wcs/{p-3cfa1c4b.entry.js.map → p-367946fe.entry.js.map} +0 -0
- /package/dist/wcs/{p-c752b85a.entry.js.map → p-3823f54e.entry.js.map} +0 -0
- /package/dist/wcs/{p-a7891233.entry.js.map → p-3a18535f.entry.js.map} +0 -0
- /package/dist/wcs/{p-d895ffb4.entry.js.map → p-5202b323.entry.js.map} +0 -0
- /package/dist/wcs/{p-b2080509.entry.js.map → p-580b3142.entry.js.map} +0 -0
- /package/dist/wcs/{p-dddcd685.entry.js.map → p-622f7403.entry.js.map} +0 -0
- /package/dist/wcs/{p-e5c057c4.entry.js.map → p-781a956e.entry.js.map} +0 -0
- /package/dist/wcs/{p-550012c2.entry.js.map → p-7de847e0.entry.js.map} +0 -0
- /package/dist/wcs/{p-294732f7.entry.js.map → p-850fa9c9.entry.js.map} +0 -0
- /package/dist/wcs/{p-16dd21cf.entry.js.map → p-8e9bd0f1.entry.js.map} +0 -0
- /package/dist/wcs/{p-5d5f50ed.entry.js.map → p-aadf37e7.entry.js.map} +0 -0
- /package/dist/wcs/{p-6b06d2e7.entry.js.map → p-ad286030.entry.js.map} +0 -0
- /package/dist/wcs/{p-fc115de4.entry.js.map → p-ad5192cd.entry.js.map} +0 -0
- /package/dist/wcs/{p-9eb66fa9.entry.js.map → p-c211a5d1.entry.js.map} +0 -0
- /package/dist/wcs/{p-d443d419.entry.js.map → p-c7812760.entry.js.map} +0 -0
- /package/dist/wcs/{p-694724a2.entry.js.map → p-c84ae00d.entry.js.map} +0 -0
- /package/dist/wcs/{p-619e1110.entry.js.map → p-cbda74f6.entry.js.map} +0 -0
- /package/dist/wcs/{p-6f5d570a.entry.js.map → p-dff8641e.entry.js.map} +0 -0
- /package/dist/wcs/{p-71db0ed5.entry.js.map → p-e26c19e5.entry.js.map} +0 -0
- /package/dist/wcs/{p-d9525519.entry.js.map → p-e56b9ce2.entry.js.map} +0 -0
- /package/dist/wcs/{p-da4636fa.entry.js.map → p-fd187bce.entry.js.map} +0 -0
- /package/dist/wcs/{p-b96f4921.entry.js.map → p-fdeae83e.entry.js.map} +0 -0
|
@@ -6,9 +6,11 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { AriaAttributeName } from "./utils/mutable-aria-attribute";
|
|
9
|
+
import { WcsAlertConfig, WcsAlertIntent } from "./components/alert/alert-interface";
|
|
10
|
+
import { WcsAlertDrawerPosition } from "./components/alert-drawer/alert-drawer-interface";
|
|
9
11
|
import { BadgeColor, BadgeShape, BadgeSize } from "./components/badge/badge-interface";
|
|
10
12
|
import { WcsButtonMode, WcsButtonShape, WcsButtonSize, WcsButtonType } from "./components/button/button-interface";
|
|
11
|
-
import { CardMode } from "./components/card/card-interface";
|
|
13
|
+
import { CardMode, CardOrientation } from "./components/card/card-interface";
|
|
12
14
|
import { CheckboxChangeEventDetail, CheckboxLabelAlignment } from "./components/checkbox/checkbox-interface";
|
|
13
15
|
import { CategoryOpenedEventDetail, MenuOpenedEventDetail } from "./components/com-nav/com-nav-interface";
|
|
14
16
|
import { CounterChangeEventDetail, WcsCounterSize } from "./components/counter/counter-interface";
|
|
@@ -32,9 +34,11 @@ import { WcsTabChangeEvent, WcsTabsAlignment } from "./components/tabs/tabs-inte
|
|
|
32
34
|
import { TextareaChangeEventDetail, WcsTextareaEnterKeyHint, WcsTextareaInputMode, WcsTextareaInputState, WcsTextareaResize, WcsTextareaWrap } from "./components/textarea/textarea-interface";
|
|
33
35
|
import { WcsTooltipAppendTo, WcsTooltipPosition } from "./components/tooltip/tooltip-interface";
|
|
34
36
|
export { AriaAttributeName } from "./utils/mutable-aria-attribute";
|
|
37
|
+
export { WcsAlertConfig, WcsAlertIntent } from "./components/alert/alert-interface";
|
|
38
|
+
export { WcsAlertDrawerPosition } from "./components/alert-drawer/alert-drawer-interface";
|
|
35
39
|
export { BadgeColor, BadgeShape, BadgeSize } from "./components/badge/badge-interface";
|
|
36
40
|
export { WcsButtonMode, WcsButtonShape, WcsButtonSize, WcsButtonType } from "./components/button/button-interface";
|
|
37
|
-
export { CardMode } from "./components/card/card-interface";
|
|
41
|
+
export { CardMode, CardOrientation } from "./components/card/card-interface";
|
|
38
42
|
export { CheckboxChangeEventDetail, CheckboxLabelAlignment } from "./components/checkbox/checkbox-interface";
|
|
39
43
|
export { CategoryOpenedEventDetail, MenuOpenedEventDetail } from "./components/com-nav/com-nav-interface";
|
|
40
44
|
export { CounterChangeEventDetail, WcsCounterSize } from "./components/counter/counter-interface";
|
|
@@ -154,6 +158,87 @@ export namespace Components {
|
|
|
154
158
|
*/
|
|
155
159
|
"gutter": boolean;
|
|
156
160
|
}
|
|
161
|
+
/**
|
|
162
|
+
* Alerts are used to communicate a state or an action that has been performed.
|
|
163
|
+
* It has to be used conjunction with the `wcs-alert-drawer` component, or you can use it independently by taking care of
|
|
164
|
+
* the alert visibility
|
|
165
|
+
* @cssprop --wcs-alert-background-color - Background color of the alert
|
|
166
|
+
* @cssprop --wcs-alert-icon-background-color - Background color of the icon
|
|
167
|
+
* @cssprop --wcs-alert-title-color - Color of the title
|
|
168
|
+
* @cssprop --wcs-alert-subtitle-color - Color of the subtitle
|
|
169
|
+
* @cssprop --wcs-alert-dismiss-button-color - Color of the dismiss button
|
|
170
|
+
* @cssprop --wcs-alert-title-font-weight - Font weight of the title
|
|
171
|
+
* @cssprop --wcs-alert-subtitle-font-weight - Font weight of the subtitle
|
|
172
|
+
* @cssprop --wcs-alert-title-font-size - Font size of the title
|
|
173
|
+
* @cssprop --wcs-alert-subtitle-font-size - Font size of the subtitle
|
|
174
|
+
* @cssprop --wcs-alert-border-width - Border width of the alert
|
|
175
|
+
* @cssprop --wcs-alert-border-color - Border color of the alert
|
|
176
|
+
* @cssprop --wcs-alert-border-radius - Border radius of the alert
|
|
177
|
+
* @cssprop --wcs-alert-padding - Padding of the alert
|
|
178
|
+
* @cssprop --wcs-alert-gap - Gap between each element of the alert, icon content and close button
|
|
179
|
+
* @cssprop --wcs-alert-min-width - Minimum width of the alert, default to 100% and it is set by alert-drawer component
|
|
180
|
+
* @cssprop --wcs-alert-progress-bar-height - Height of the progress bar if `showProgressBar` is set to true
|
|
181
|
+
* @cssprop --wcs-alert-progress-bar-background-color - Background color of the progress bar
|
|
182
|
+
*/
|
|
183
|
+
interface WcsAlert {
|
|
184
|
+
"intent": WcsAlertIntent;
|
|
185
|
+
/**
|
|
186
|
+
* Controls the visibility state of the alert. This property is exposed to allow control of the alert's display state and animation timing: - Used by wcs-alert-drawer to coordinate exit animations when the alert is dismissed - Can be used directly for custom implementations (though using wcs-alert-drawer is recommended) - When set to false, it triggers the exit animation if implemented Note: While direct usage is possible for custom implementations, it's recommended to use wcs-alert-drawer for consistent alert management and animations.
|
|
187
|
+
*/
|
|
188
|
+
"show": boolean;
|
|
189
|
+
"showProgressBar": boolean;
|
|
190
|
+
/**
|
|
191
|
+
* Time duration of the alert visibility 5000ms by default If 0, the alert will not emit `wcsAlertDismiss` event automatically
|
|
192
|
+
*/
|
|
193
|
+
"timeout": number;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Serve as a container for displaying `wcs-alert` components. Directly use this component to display alerts in your applications.
|
|
197
|
+
* ## Usage
|
|
198
|
+
* You can place the `wcs-alert-drawer` component anywhere in your application. It will be used to display alerts.
|
|
199
|
+
* You need to set `position` property to define where the alert drawer will be displayed on the screen.
|
|
200
|
+
* About alerts order:
|
|
201
|
+
* - alerts are ordered up-bottom if the position is `top` and bottom-up if the position is `bottom`
|
|
202
|
+
* ## Accessibility guidelines 💡
|
|
203
|
+
* - The component has `aria-live="polite"` and `aria-atomic="true"` attributes to announce the new alerts to screen readers
|
|
204
|
+
* ## Configuration (on the web component)
|
|
205
|
+
* Per default, the `wcs-alert-drawer` is configured with:
|
|
206
|
+
* - `position: 'top-right'`
|
|
207
|
+
* - `showProgressBar: false`
|
|
208
|
+
* - `timeout: 5000`
|
|
209
|
+
* When using the `WcsAlertDrawer::show(alert: WcsAlertConfig)` method, you can override the default configuration by
|
|
210
|
+
* overriding it through the argument.
|
|
211
|
+
* You can also set them in the `wcs-alert-drawer` component directly as attributes
|
|
212
|
+
* ```html
|
|
213
|
+
* <wcs-alert-drawer position="top-right" show-progress-bar timeout="10000">
|
|
214
|
+
* ```
|
|
215
|
+
* With this configuration, all alerts will be displayed with a progress bar and a timeout of 10 seconds.
|
|
216
|
+
* @cssprop --wcs-alert-drawer-gap - Gap between alerts
|
|
217
|
+
* @cssprop --wcs-alert-drawer-margin-horizontal - Margin horizontal of the alert drawer
|
|
218
|
+
* @cssprop --wcs-alert-drawer-margin-vertical - Margin vertical of the alert drawer
|
|
219
|
+
* @cssprop --wcs-alert-drawer-hide-alert-animation-duration - Duration of the hide alert animation
|
|
220
|
+
* @cssprop --wcs-alert-drawer-min-width - Minimum width of the alert drawer => define the width of the alerts
|
|
221
|
+
*/
|
|
222
|
+
interface WcsAlertDrawer {
|
|
223
|
+
/**
|
|
224
|
+
* Position of the alert drawer on the screen
|
|
225
|
+
*/
|
|
226
|
+
"position": WcsAlertDrawerPosition;
|
|
227
|
+
/**
|
|
228
|
+
* Method exposed on `wcs-alert-drawer` to show an alert programmatically via the JS API
|
|
229
|
+
* @example Plain javascript (example inside a script tag): ```javascript document.querySelector('wcs-alert-drawer').show({ title: 'Alert title', subtitle: 'Alert subtitle', intent: 'info', showProgressBar: true, timeout: 5000 });
|
|
230
|
+
* @param alert The alert to show
|
|
231
|
+
*/
|
|
232
|
+
"show": (alert: WcsAlertConfig) => Promise<void>;
|
|
233
|
+
/**
|
|
234
|
+
* Whether to show the progress bar or not
|
|
235
|
+
*/
|
|
236
|
+
"showProgressBar": boolean;
|
|
237
|
+
/**
|
|
238
|
+
* Timeout for the alert to be dismissed automatically
|
|
239
|
+
*/
|
|
240
|
+
"timeout": number;
|
|
241
|
+
}
|
|
157
242
|
interface WcsApp {
|
|
158
243
|
}
|
|
159
244
|
/**
|
|
@@ -334,20 +419,64 @@ export namespace Components {
|
|
|
334
419
|
/**
|
|
335
420
|
* The card component is a container that display content such as text, images, buttons, and lists.
|
|
336
421
|
* A card can be a single component, but is often made up of a header, title, subtitle, and content.
|
|
422
|
+
* While they're very flexible, it's important to use them consistently. You may use `wcs-card-media` outside `wcs-card-body`
|
|
423
|
+
* and `wcs-card-header` `wcs-card-content` `wcs-card-footer` within `wcs-card-body` to make sure the card is well-designed.
|
|
337
424
|
* @cssprop --wcs-card-border-color - Border color of the card
|
|
338
425
|
* @cssprop --wcs-card-border-radius - Border radius of the card
|
|
339
426
|
* @cssprop --wcs-card-border-width - Border width of the card
|
|
340
427
|
* @cssprop --wcs-card-background-color - Background color of the card
|
|
341
428
|
* @cssprop --wcs-card-text-color - Text color of the card
|
|
429
|
+
* @cssprop --wcs-card-horizontal-min-height - Min height of the card when horizontal
|
|
342
430
|
*/
|
|
343
431
|
interface WcsCard {
|
|
344
432
|
"mode": CardMode;
|
|
433
|
+
/**
|
|
434
|
+
* The orientation of the card, can be horizontal or vertical
|
|
435
|
+
*/
|
|
436
|
+
"orientation": CardOrientation;
|
|
345
437
|
}
|
|
346
438
|
/**
|
|
347
439
|
* The card-body is a subcomponent of `wcs-card`. It represents content of the card with an extra padding around.
|
|
348
440
|
* @cssprop --wcs-card-body-padding - Padding of the card body
|
|
441
|
+
* @cssprop --wcs-card-body-gap - Gap between each element in the card body
|
|
349
442
|
*/
|
|
350
443
|
interface WcsCardBody {
|
|
444
|
+
"setOrientation": (orientation: CardOrientation) => Promise<void>;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* A content for a card inside card-body. Commonly used to provide more details about the card content.
|
|
448
|
+
* The information provided should be concise and easy to read.
|
|
449
|
+
* By default, the margin is removed from the top and bottom of the card description.
|
|
450
|
+
* @cssprop --wcs-card-content-color - The color of the card description.
|
|
451
|
+
* @cssprop --wcs-card-content-font-size - The font size of the card description.
|
|
452
|
+
*/
|
|
453
|
+
interface WcsCardContent {
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* The card footer component is a container that display content at the bottom of the card.
|
|
457
|
+
* It uses a flex layout to organize actions the user can take with a card
|
|
458
|
+
* @cssprop --wcs-card-footer-gap - Gap of the card footer
|
|
459
|
+
*/
|
|
460
|
+
interface WcsCardFooter {
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
* The card header component is a container that display a title and an action, it can also display a label as a `<wcs-badge>` component.
|
|
464
|
+
* The default slotted element is displayed as a `<h3>` element
|
|
465
|
+
* @cssprop --wcs-card-header-title-color - Color of the title
|
|
466
|
+
* @cssprop --wcs-card-header-title-font-size - Font size of the title
|
|
467
|
+
* @cssprop --wcs-card-header-title-font-weight - Font weight of the title
|
|
468
|
+
* @cssprop --wcs-card-header-gap - Gap between the title and the badge
|
|
469
|
+
*/
|
|
470
|
+
interface WcsCardHeader {
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* The card media component is a container that display an image/icon inside a card.
|
|
474
|
+
* On horizontal orientation, the image/icon has an aspect ratio of 1/1
|
|
475
|
+
* On vertical orientation, the image/icon has an aspect ratio of 16/9.
|
|
476
|
+
* @cssprop --wcs-card-media-max-width-horizontal - Max width of the image when the card is horizontal
|
|
477
|
+
*/
|
|
478
|
+
interface WcsCardMedia {
|
|
479
|
+
"setOrientation": (orientation: CardOrientation) => Promise<void>;
|
|
351
480
|
}
|
|
352
481
|
/**
|
|
353
482
|
* The checkbox component is an input for choosing one or more items from a set by checking / unchecking it.
|
|
@@ -920,6 +1049,10 @@ export namespace Components {
|
|
|
920
1049
|
* Contains the data to display in the table from a js object
|
|
921
1050
|
*/
|
|
922
1051
|
"data": any[];
|
|
1052
|
+
/**
|
|
1053
|
+
* Set focus on the first cell of the grid
|
|
1054
|
+
*/
|
|
1055
|
+
"focusFirstCell": () => Promise<void>;
|
|
923
1056
|
/**
|
|
924
1057
|
* Flag to display a spinner during data loading
|
|
925
1058
|
*/
|
|
@@ -1350,7 +1483,7 @@ export namespace Components {
|
|
|
1350
1483
|
interface WcsListItemProperty {
|
|
1351
1484
|
}
|
|
1352
1485
|
/**
|
|
1353
|
-
* A component used to display a [Material Icon](https://fonts.google.com/icons). Can be useful when used in wcs-grid or in a wcs-button.
|
|
1486
|
+
* A component used to display a [Material Icon](https://fonts.google.com/icons?icon.set=Material+Icons). Can be useful when used in wcs-grid or in a wcs-button.
|
|
1354
1487
|
*/
|
|
1355
1488
|
interface WcsMatIcon {
|
|
1356
1489
|
/**
|
|
@@ -2048,6 +2181,9 @@ export namespace Components {
|
|
|
2048
2181
|
}
|
|
2049
2182
|
/**
|
|
2050
2183
|
* Tabs component to switch between tab content. Use in conjunction with `wcs-tab`.
|
|
2184
|
+
* ## Accessibility guidelines 💡
|
|
2185
|
+
* > - Mobile display should be used for narrower screens (automatically set by default).
|
|
2186
|
+
* > - The component respects the W3C [tab pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tabs/)
|
|
2051
2187
|
* @cssprop --wcs-tabs-indicator-height - Height of the tabs indicator
|
|
2052
2188
|
* @cssprop --wcs-tabs-indicator-background-color - Background color of the tabs indicator
|
|
2053
2189
|
* @cssprop --wcs-tabs-indicator-border-radius - Border radius of the tabs indicator
|
|
@@ -2069,6 +2205,24 @@ export namespace Components {
|
|
|
2069
2205
|
* @cssprop --wcs-tabs-padding-left - Padding left of the tabs
|
|
2070
2206
|
* @cssprop --wcs-tabs-headers-border-bottom - Border bottom (gutter) below the tabs
|
|
2071
2207
|
* @cssprop --wcs-tabs-transition-duration - Transition duration of the tabs
|
|
2208
|
+
* @cssprop --wcs-tabs-mobile-breakpoint - Breakpoint for mobile display (default: 575px)
|
|
2209
|
+
* @cssprop --wcs-tabs-mobile-overlay-border-width - Border width of the mobile overlay
|
|
2210
|
+
* @cssprop --wcs-tabs-mobile-overlay-border-color - Border color of the mobile overlay
|
|
2211
|
+
* @cssprop --wcs-tabs-mobile-overlay-background-color - Background color of the mobile overlay
|
|
2212
|
+
* @cssprop --wcs-tabs-mobile-overlay-padding - Padding of the mobile overlay
|
|
2213
|
+
* @cssprop --wcs-tabs-mobile-overlay-border-radius - Border radius of the mobile overlay
|
|
2214
|
+
* @cssprop --wcs-tabs-mobile-gap - Gap between the mobile tabs in the overlay
|
|
2215
|
+
* @cssprop --wcs-tabs-mobile-padding - Padding of the mobile tabs in the overlay
|
|
2216
|
+
* @cssprop --wcs-tabs-mobile-height - Height of the mobile tabs in the overlay
|
|
2217
|
+
* @cssprop --wcs-tabs-mobile-font-weight-default - Default weight of the mobile tabs in the overlay
|
|
2218
|
+
* @cssprop --wcs-tabs-mobile-font-weight-active - Active font weight of the mobile tabs in the overlay
|
|
2219
|
+
* @cssprop --wcs-tabs-mobile-font-size - Font size of the mobile tabs in the overlay
|
|
2220
|
+
* @cssprop --wcs-tabs-mobile-color - Text color of the mobile tabs in the overlay
|
|
2221
|
+
* @cssprop --wcs-tabs-mobile-background-color-default - Default background color of the mobile tabs in the overlay
|
|
2222
|
+
* @cssprop --wcs-tabs-mobile-background-color-focus - Focused background color of the mobile tabs in the overlay
|
|
2223
|
+
* @cssprop --wcs-tabs-mobile-background-color-hover - Hovered background color of the mobile tabs in the overlay
|
|
2224
|
+
* @cssprop --wcs-tabs-mobile-background-color-press - Pressed background color of the mobile tabs in the overlay
|
|
2225
|
+
* @cssprop --wcs-tabs-mobile-border-radius - Border radius of the mobile tabs in the overlay
|
|
2072
2226
|
*/
|
|
2073
2227
|
interface WcsTabs {
|
|
2074
2228
|
/**
|
|
@@ -2322,6 +2476,10 @@ export interface WcsAccordionPanelCustomEvent<T> extends CustomEvent<T> {
|
|
|
2322
2476
|
detail: T;
|
|
2323
2477
|
target: HTMLWcsAccordionPanelElement;
|
|
2324
2478
|
}
|
|
2479
|
+
export interface WcsAlertCustomEvent<T> extends CustomEvent<T> {
|
|
2480
|
+
detail: T;
|
|
2481
|
+
target: HTMLWcsAlertElement;
|
|
2482
|
+
}
|
|
2325
2483
|
export interface WcsCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
2326
2484
|
detail: T;
|
|
2327
2485
|
target: HTMLWcsCheckboxElement;
|
|
@@ -2503,6 +2661,78 @@ declare global {
|
|
|
2503
2661
|
prototype: HTMLWcsActionBarElement;
|
|
2504
2662
|
new (): HTMLWcsActionBarElement;
|
|
2505
2663
|
};
|
|
2664
|
+
interface HTMLWcsAlertElementEventMap {
|
|
2665
|
+
"wcsAlertDismiss": void;
|
|
2666
|
+
}
|
|
2667
|
+
/**
|
|
2668
|
+
* Alerts are used to communicate a state or an action that has been performed.
|
|
2669
|
+
* It has to be used conjunction with the `wcs-alert-drawer` component, or you can use it independently by taking care of
|
|
2670
|
+
* the alert visibility
|
|
2671
|
+
* @cssprop --wcs-alert-background-color - Background color of the alert
|
|
2672
|
+
* @cssprop --wcs-alert-icon-background-color - Background color of the icon
|
|
2673
|
+
* @cssprop --wcs-alert-title-color - Color of the title
|
|
2674
|
+
* @cssprop --wcs-alert-subtitle-color - Color of the subtitle
|
|
2675
|
+
* @cssprop --wcs-alert-dismiss-button-color - Color of the dismiss button
|
|
2676
|
+
* @cssprop --wcs-alert-title-font-weight - Font weight of the title
|
|
2677
|
+
* @cssprop --wcs-alert-subtitle-font-weight - Font weight of the subtitle
|
|
2678
|
+
* @cssprop --wcs-alert-title-font-size - Font size of the title
|
|
2679
|
+
* @cssprop --wcs-alert-subtitle-font-size - Font size of the subtitle
|
|
2680
|
+
* @cssprop --wcs-alert-border-width - Border width of the alert
|
|
2681
|
+
* @cssprop --wcs-alert-border-color - Border color of the alert
|
|
2682
|
+
* @cssprop --wcs-alert-border-radius - Border radius of the alert
|
|
2683
|
+
* @cssprop --wcs-alert-padding - Padding of the alert
|
|
2684
|
+
* @cssprop --wcs-alert-gap - Gap between each element of the alert, icon content and close button
|
|
2685
|
+
* @cssprop --wcs-alert-min-width - Minimum width of the alert, default to 100% and it is set by alert-drawer component
|
|
2686
|
+
* @cssprop --wcs-alert-progress-bar-height - Height of the progress bar if `showProgressBar` is set to true
|
|
2687
|
+
* @cssprop --wcs-alert-progress-bar-background-color - Background color of the progress bar
|
|
2688
|
+
*/
|
|
2689
|
+
interface HTMLWcsAlertElement extends Components.WcsAlert, HTMLStencilElement {
|
|
2690
|
+
addEventListener<K extends keyof HTMLWcsAlertElementEventMap>(type: K, listener: (this: HTMLWcsAlertElement, ev: WcsAlertCustomEvent<HTMLWcsAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2691
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2692
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2693
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2694
|
+
removeEventListener<K extends keyof HTMLWcsAlertElementEventMap>(type: K, listener: (this: HTMLWcsAlertElement, ev: WcsAlertCustomEvent<HTMLWcsAlertElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2695
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2696
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2697
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2698
|
+
}
|
|
2699
|
+
var HTMLWcsAlertElement: {
|
|
2700
|
+
prototype: HTMLWcsAlertElement;
|
|
2701
|
+
new (): HTMLWcsAlertElement;
|
|
2702
|
+
};
|
|
2703
|
+
/**
|
|
2704
|
+
* Serve as a container for displaying `wcs-alert` components. Directly use this component to display alerts in your applications.
|
|
2705
|
+
* ## Usage
|
|
2706
|
+
* You can place the `wcs-alert-drawer` component anywhere in your application. It will be used to display alerts.
|
|
2707
|
+
* You need to set `position` property to define where the alert drawer will be displayed on the screen.
|
|
2708
|
+
* About alerts order:
|
|
2709
|
+
* - alerts are ordered up-bottom if the position is `top` and bottom-up if the position is `bottom`
|
|
2710
|
+
* ## Accessibility guidelines 💡
|
|
2711
|
+
* - The component has `aria-live="polite"` and `aria-atomic="true"` attributes to announce the new alerts to screen readers
|
|
2712
|
+
* ## Configuration (on the web component)
|
|
2713
|
+
* Per default, the `wcs-alert-drawer` is configured with:
|
|
2714
|
+
* - `position: 'top-right'`
|
|
2715
|
+
* - `showProgressBar: false`
|
|
2716
|
+
* - `timeout: 5000`
|
|
2717
|
+
* When using the `WcsAlertDrawer::show(alert: WcsAlertConfig)` method, you can override the default configuration by
|
|
2718
|
+
* overriding it through the argument.
|
|
2719
|
+
* You can also set them in the `wcs-alert-drawer` component directly as attributes
|
|
2720
|
+
* ```html
|
|
2721
|
+
* <wcs-alert-drawer position="top-right" show-progress-bar timeout="10000">
|
|
2722
|
+
* ```
|
|
2723
|
+
* With this configuration, all alerts will be displayed with a progress bar and a timeout of 10 seconds.
|
|
2724
|
+
* @cssprop --wcs-alert-drawer-gap - Gap between alerts
|
|
2725
|
+
* @cssprop --wcs-alert-drawer-margin-horizontal - Margin horizontal of the alert drawer
|
|
2726
|
+
* @cssprop --wcs-alert-drawer-margin-vertical - Margin vertical of the alert drawer
|
|
2727
|
+
* @cssprop --wcs-alert-drawer-hide-alert-animation-duration - Duration of the hide alert animation
|
|
2728
|
+
* @cssprop --wcs-alert-drawer-min-width - Minimum width of the alert drawer => define the width of the alerts
|
|
2729
|
+
*/
|
|
2730
|
+
interface HTMLWcsAlertDrawerElement extends Components.WcsAlertDrawer, HTMLStencilElement {
|
|
2731
|
+
}
|
|
2732
|
+
var HTMLWcsAlertDrawerElement: {
|
|
2733
|
+
prototype: HTMLWcsAlertDrawerElement;
|
|
2734
|
+
new (): HTMLWcsAlertDrawerElement;
|
|
2735
|
+
};
|
|
2506
2736
|
interface HTMLWcsAppElement extends Components.WcsApp, HTMLStencilElement {
|
|
2507
2737
|
}
|
|
2508
2738
|
var HTMLWcsAppElement: {
|
|
@@ -2632,11 +2862,14 @@ declare global {
|
|
|
2632
2862
|
/**
|
|
2633
2863
|
* The card component is a container that display content such as text, images, buttons, and lists.
|
|
2634
2864
|
* A card can be a single component, but is often made up of a header, title, subtitle, and content.
|
|
2865
|
+
* While they're very flexible, it's important to use them consistently. You may use `wcs-card-media` outside `wcs-card-body`
|
|
2866
|
+
* and `wcs-card-header` `wcs-card-content` `wcs-card-footer` within `wcs-card-body` to make sure the card is well-designed.
|
|
2635
2867
|
* @cssprop --wcs-card-border-color - Border color of the card
|
|
2636
2868
|
* @cssprop --wcs-card-border-radius - Border radius of the card
|
|
2637
2869
|
* @cssprop --wcs-card-border-width - Border width of the card
|
|
2638
2870
|
* @cssprop --wcs-card-background-color - Background color of the card
|
|
2639
2871
|
* @cssprop --wcs-card-text-color - Text color of the card
|
|
2872
|
+
* @cssprop --wcs-card-horizontal-min-height - Min height of the card when horizontal
|
|
2640
2873
|
*/
|
|
2641
2874
|
interface HTMLWcsCardElement extends Components.WcsCard, HTMLStencilElement {
|
|
2642
2875
|
}
|
|
@@ -2647,6 +2880,7 @@ declare global {
|
|
|
2647
2880
|
/**
|
|
2648
2881
|
* The card-body is a subcomponent of `wcs-card`. It represents content of the card with an extra padding around.
|
|
2649
2882
|
* @cssprop --wcs-card-body-padding - Padding of the card body
|
|
2883
|
+
* @cssprop --wcs-card-body-gap - Gap between each element in the card body
|
|
2650
2884
|
*/
|
|
2651
2885
|
interface HTMLWcsCardBodyElement extends Components.WcsCardBody, HTMLStencilElement {
|
|
2652
2886
|
}
|
|
@@ -2654,6 +2888,56 @@ declare global {
|
|
|
2654
2888
|
prototype: HTMLWcsCardBodyElement;
|
|
2655
2889
|
new (): HTMLWcsCardBodyElement;
|
|
2656
2890
|
};
|
|
2891
|
+
/**
|
|
2892
|
+
* A content for a card inside card-body. Commonly used to provide more details about the card content.
|
|
2893
|
+
* The information provided should be concise and easy to read.
|
|
2894
|
+
* By default, the margin is removed from the top and bottom of the card description.
|
|
2895
|
+
* @cssprop --wcs-card-content-color - The color of the card description.
|
|
2896
|
+
* @cssprop --wcs-card-content-font-size - The font size of the card description.
|
|
2897
|
+
*/
|
|
2898
|
+
interface HTMLWcsCardContentElement extends Components.WcsCardContent, HTMLStencilElement {
|
|
2899
|
+
}
|
|
2900
|
+
var HTMLWcsCardContentElement: {
|
|
2901
|
+
prototype: HTMLWcsCardContentElement;
|
|
2902
|
+
new (): HTMLWcsCardContentElement;
|
|
2903
|
+
};
|
|
2904
|
+
/**
|
|
2905
|
+
* The card footer component is a container that display content at the bottom of the card.
|
|
2906
|
+
* It uses a flex layout to organize actions the user can take with a card
|
|
2907
|
+
* @cssprop --wcs-card-footer-gap - Gap of the card footer
|
|
2908
|
+
*/
|
|
2909
|
+
interface HTMLWcsCardFooterElement extends Components.WcsCardFooter, HTMLStencilElement {
|
|
2910
|
+
}
|
|
2911
|
+
var HTMLWcsCardFooterElement: {
|
|
2912
|
+
prototype: HTMLWcsCardFooterElement;
|
|
2913
|
+
new (): HTMLWcsCardFooterElement;
|
|
2914
|
+
};
|
|
2915
|
+
/**
|
|
2916
|
+
* The card header component is a container that display a title and an action, it can also display a label as a `<wcs-badge>` component.
|
|
2917
|
+
* The default slotted element is displayed as a `<h3>` element
|
|
2918
|
+
* @cssprop --wcs-card-header-title-color - Color of the title
|
|
2919
|
+
* @cssprop --wcs-card-header-title-font-size - Font size of the title
|
|
2920
|
+
* @cssprop --wcs-card-header-title-font-weight - Font weight of the title
|
|
2921
|
+
* @cssprop --wcs-card-header-gap - Gap between the title and the badge
|
|
2922
|
+
*/
|
|
2923
|
+
interface HTMLWcsCardHeaderElement extends Components.WcsCardHeader, HTMLStencilElement {
|
|
2924
|
+
}
|
|
2925
|
+
var HTMLWcsCardHeaderElement: {
|
|
2926
|
+
prototype: HTMLWcsCardHeaderElement;
|
|
2927
|
+
new (): HTMLWcsCardHeaderElement;
|
|
2928
|
+
};
|
|
2929
|
+
/**
|
|
2930
|
+
* The card media component is a container that display an image/icon inside a card.
|
|
2931
|
+
* On horizontal orientation, the image/icon has an aspect ratio of 1/1
|
|
2932
|
+
* On vertical orientation, the image/icon has an aspect ratio of 16/9.
|
|
2933
|
+
* @cssprop --wcs-card-media-max-width-horizontal - Max width of the image when the card is horizontal
|
|
2934
|
+
*/
|
|
2935
|
+
interface HTMLWcsCardMediaElement extends Components.WcsCardMedia, HTMLStencilElement {
|
|
2936
|
+
}
|
|
2937
|
+
var HTMLWcsCardMediaElement: {
|
|
2938
|
+
prototype: HTMLWcsCardMediaElement;
|
|
2939
|
+
new (): HTMLWcsCardMediaElement;
|
|
2940
|
+
};
|
|
2657
2941
|
interface HTMLWcsCheckboxElementEventMap {
|
|
2658
2942
|
"wcsChange": CheckboxChangeEventDetail;
|
|
2659
2943
|
"wcsFocus": FocusEvent;
|
|
@@ -3512,7 +3796,7 @@ declare global {
|
|
|
3512
3796
|
new (): HTMLWcsListItemPropertyElement;
|
|
3513
3797
|
};
|
|
3514
3798
|
/**
|
|
3515
|
-
* A component used to display a [Material Icon](https://fonts.google.com/icons). Can be useful when used in wcs-grid or in a wcs-button.
|
|
3799
|
+
* A component used to display a [Material Icon](https://fonts.google.com/icons?icon.set=Material+Icons). Can be useful when used in wcs-grid or in a wcs-button.
|
|
3516
3800
|
*/
|
|
3517
3801
|
interface HTMLWcsMatIconElement extends Components.WcsMatIcon, HTMLStencilElement {
|
|
3518
3802
|
}
|
|
@@ -4088,6 +4372,9 @@ declare global {
|
|
|
4088
4372
|
}
|
|
4089
4373
|
/**
|
|
4090
4374
|
* Tabs component to switch between tab content. Use in conjunction with `wcs-tab`.
|
|
4375
|
+
* ## Accessibility guidelines 💡
|
|
4376
|
+
* > - Mobile display should be used for narrower screens (automatically set by default).
|
|
4377
|
+
* > - The component respects the W3C [tab pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tabs/)
|
|
4091
4378
|
* @cssprop --wcs-tabs-indicator-height - Height of the tabs indicator
|
|
4092
4379
|
* @cssprop --wcs-tabs-indicator-background-color - Background color of the tabs indicator
|
|
4093
4380
|
* @cssprop --wcs-tabs-indicator-border-radius - Border radius of the tabs indicator
|
|
@@ -4109,6 +4396,24 @@ declare global {
|
|
|
4109
4396
|
* @cssprop --wcs-tabs-padding-left - Padding left of the tabs
|
|
4110
4397
|
* @cssprop --wcs-tabs-headers-border-bottom - Border bottom (gutter) below the tabs
|
|
4111
4398
|
* @cssprop --wcs-tabs-transition-duration - Transition duration of the tabs
|
|
4399
|
+
* @cssprop --wcs-tabs-mobile-breakpoint - Breakpoint for mobile display (default: 575px)
|
|
4400
|
+
* @cssprop --wcs-tabs-mobile-overlay-border-width - Border width of the mobile overlay
|
|
4401
|
+
* @cssprop --wcs-tabs-mobile-overlay-border-color - Border color of the mobile overlay
|
|
4402
|
+
* @cssprop --wcs-tabs-mobile-overlay-background-color - Background color of the mobile overlay
|
|
4403
|
+
* @cssprop --wcs-tabs-mobile-overlay-padding - Padding of the mobile overlay
|
|
4404
|
+
* @cssprop --wcs-tabs-mobile-overlay-border-radius - Border radius of the mobile overlay
|
|
4405
|
+
* @cssprop --wcs-tabs-mobile-gap - Gap between the mobile tabs in the overlay
|
|
4406
|
+
* @cssprop --wcs-tabs-mobile-padding - Padding of the mobile tabs in the overlay
|
|
4407
|
+
* @cssprop --wcs-tabs-mobile-height - Height of the mobile tabs in the overlay
|
|
4408
|
+
* @cssprop --wcs-tabs-mobile-font-weight-default - Default weight of the mobile tabs in the overlay
|
|
4409
|
+
* @cssprop --wcs-tabs-mobile-font-weight-active - Active font weight of the mobile tabs in the overlay
|
|
4410
|
+
* @cssprop --wcs-tabs-mobile-font-size - Font size of the mobile tabs in the overlay
|
|
4411
|
+
* @cssprop --wcs-tabs-mobile-color - Text color of the mobile tabs in the overlay
|
|
4412
|
+
* @cssprop --wcs-tabs-mobile-background-color-default - Default background color of the mobile tabs in the overlay
|
|
4413
|
+
* @cssprop --wcs-tabs-mobile-background-color-focus - Focused background color of the mobile tabs in the overlay
|
|
4414
|
+
* @cssprop --wcs-tabs-mobile-background-color-hover - Hovered background color of the mobile tabs in the overlay
|
|
4415
|
+
* @cssprop --wcs-tabs-mobile-background-color-press - Pressed background color of the mobile tabs in the overlay
|
|
4416
|
+
* @cssprop --wcs-tabs-mobile-border-radius - Border radius of the mobile tabs in the overlay
|
|
4112
4417
|
*/
|
|
4113
4418
|
interface HTMLWcsTabsElement extends Components.WcsTabs, HTMLStencilElement {
|
|
4114
4419
|
addEventListener<K extends keyof HTMLWcsTabsElementEventMap>(type: K, listener: (this: HTMLWcsTabsElement, ev: WcsTabsCustomEvent<HTMLWcsTabsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -4217,6 +4522,8 @@ declare global {
|
|
|
4217
4522
|
"wcs-accordion-header": HTMLWcsAccordionHeaderElement;
|
|
4218
4523
|
"wcs-accordion-panel": HTMLWcsAccordionPanelElement;
|
|
4219
4524
|
"wcs-action-bar": HTMLWcsActionBarElement;
|
|
4525
|
+
"wcs-alert": HTMLWcsAlertElement;
|
|
4526
|
+
"wcs-alert-drawer": HTMLWcsAlertDrawerElement;
|
|
4220
4527
|
"wcs-app": HTMLWcsAppElement;
|
|
4221
4528
|
"wcs-badge": HTMLWcsBadgeElement;
|
|
4222
4529
|
"wcs-breadcrumb": HTMLWcsBreadcrumbElement;
|
|
@@ -4224,6 +4531,10 @@ declare global {
|
|
|
4224
4531
|
"wcs-button": HTMLWcsButtonElement;
|
|
4225
4532
|
"wcs-card": HTMLWcsCardElement;
|
|
4226
4533
|
"wcs-card-body": HTMLWcsCardBodyElement;
|
|
4534
|
+
"wcs-card-content": HTMLWcsCardContentElement;
|
|
4535
|
+
"wcs-card-footer": HTMLWcsCardFooterElement;
|
|
4536
|
+
"wcs-card-header": HTMLWcsCardHeaderElement;
|
|
4537
|
+
"wcs-card-media": HTMLWcsCardMediaElement;
|
|
4227
4538
|
"wcs-checkbox": HTMLWcsCheckboxElement;
|
|
4228
4539
|
"wcs-com-nav": HTMLWcsComNavElement;
|
|
4229
4540
|
"wcs-com-nav-category": HTMLWcsComNavCategoryElement;
|
|
@@ -4375,6 +4686,85 @@ declare namespace LocalJSX {
|
|
|
4375
4686
|
*/
|
|
4376
4687
|
"gutter"?: boolean;
|
|
4377
4688
|
}
|
|
4689
|
+
/**
|
|
4690
|
+
* Alerts are used to communicate a state or an action that has been performed.
|
|
4691
|
+
* It has to be used conjunction with the `wcs-alert-drawer` component, or you can use it independently by taking care of
|
|
4692
|
+
* the alert visibility
|
|
4693
|
+
* @cssprop --wcs-alert-background-color - Background color of the alert
|
|
4694
|
+
* @cssprop --wcs-alert-icon-background-color - Background color of the icon
|
|
4695
|
+
* @cssprop --wcs-alert-title-color - Color of the title
|
|
4696
|
+
* @cssprop --wcs-alert-subtitle-color - Color of the subtitle
|
|
4697
|
+
* @cssprop --wcs-alert-dismiss-button-color - Color of the dismiss button
|
|
4698
|
+
* @cssprop --wcs-alert-title-font-weight - Font weight of the title
|
|
4699
|
+
* @cssprop --wcs-alert-subtitle-font-weight - Font weight of the subtitle
|
|
4700
|
+
* @cssprop --wcs-alert-title-font-size - Font size of the title
|
|
4701
|
+
* @cssprop --wcs-alert-subtitle-font-size - Font size of the subtitle
|
|
4702
|
+
* @cssprop --wcs-alert-border-width - Border width of the alert
|
|
4703
|
+
* @cssprop --wcs-alert-border-color - Border color of the alert
|
|
4704
|
+
* @cssprop --wcs-alert-border-radius - Border radius of the alert
|
|
4705
|
+
* @cssprop --wcs-alert-padding - Padding of the alert
|
|
4706
|
+
* @cssprop --wcs-alert-gap - Gap between each element of the alert, icon content and close button
|
|
4707
|
+
* @cssprop --wcs-alert-min-width - Minimum width of the alert, default to 100% and it is set by alert-drawer component
|
|
4708
|
+
* @cssprop --wcs-alert-progress-bar-height - Height of the progress bar if `showProgressBar` is set to true
|
|
4709
|
+
* @cssprop --wcs-alert-progress-bar-background-color - Background color of the progress bar
|
|
4710
|
+
*/
|
|
4711
|
+
interface WcsAlert {
|
|
4712
|
+
"intent"?: WcsAlertIntent;
|
|
4713
|
+
/**
|
|
4714
|
+
* Event emitted when the alert is dismissed
|
|
4715
|
+
*/
|
|
4716
|
+
"onWcsAlertDismiss"?: (event: WcsAlertCustomEvent<void>) => void;
|
|
4717
|
+
/**
|
|
4718
|
+
* Controls the visibility state of the alert. This property is exposed to allow control of the alert's display state and animation timing: - Used by wcs-alert-drawer to coordinate exit animations when the alert is dismissed - Can be used directly for custom implementations (though using wcs-alert-drawer is recommended) - When set to false, it triggers the exit animation if implemented Note: While direct usage is possible for custom implementations, it's recommended to use wcs-alert-drawer for consistent alert management and animations.
|
|
4719
|
+
*/
|
|
4720
|
+
"show"?: boolean;
|
|
4721
|
+
"showProgressBar"?: boolean;
|
|
4722
|
+
/**
|
|
4723
|
+
* Time duration of the alert visibility 5000ms by default If 0, the alert will not emit `wcsAlertDismiss` event automatically
|
|
4724
|
+
*/
|
|
4725
|
+
"timeout"?: number;
|
|
4726
|
+
}
|
|
4727
|
+
/**
|
|
4728
|
+
* Serve as a container for displaying `wcs-alert` components. Directly use this component to display alerts in your applications.
|
|
4729
|
+
* ## Usage
|
|
4730
|
+
* You can place the `wcs-alert-drawer` component anywhere in your application. It will be used to display alerts.
|
|
4731
|
+
* You need to set `position` property to define where the alert drawer will be displayed on the screen.
|
|
4732
|
+
* About alerts order:
|
|
4733
|
+
* - alerts are ordered up-bottom if the position is `top` and bottom-up if the position is `bottom`
|
|
4734
|
+
* ## Accessibility guidelines 💡
|
|
4735
|
+
* - The component has `aria-live="polite"` and `aria-atomic="true"` attributes to announce the new alerts to screen readers
|
|
4736
|
+
* ## Configuration (on the web component)
|
|
4737
|
+
* Per default, the `wcs-alert-drawer` is configured with:
|
|
4738
|
+
* - `position: 'top-right'`
|
|
4739
|
+
* - `showProgressBar: false`
|
|
4740
|
+
* - `timeout: 5000`
|
|
4741
|
+
* When using the `WcsAlertDrawer::show(alert: WcsAlertConfig)` method, you can override the default configuration by
|
|
4742
|
+
* overriding it through the argument.
|
|
4743
|
+
* You can also set them in the `wcs-alert-drawer` component directly as attributes
|
|
4744
|
+
* ```html
|
|
4745
|
+
* <wcs-alert-drawer position="top-right" show-progress-bar timeout="10000">
|
|
4746
|
+
* ```
|
|
4747
|
+
* With this configuration, all alerts will be displayed with a progress bar and a timeout of 10 seconds.
|
|
4748
|
+
* @cssprop --wcs-alert-drawer-gap - Gap between alerts
|
|
4749
|
+
* @cssprop --wcs-alert-drawer-margin-horizontal - Margin horizontal of the alert drawer
|
|
4750
|
+
* @cssprop --wcs-alert-drawer-margin-vertical - Margin vertical of the alert drawer
|
|
4751
|
+
* @cssprop --wcs-alert-drawer-hide-alert-animation-duration - Duration of the hide alert animation
|
|
4752
|
+
* @cssprop --wcs-alert-drawer-min-width - Minimum width of the alert drawer => define the width of the alerts
|
|
4753
|
+
*/
|
|
4754
|
+
interface WcsAlertDrawer {
|
|
4755
|
+
/**
|
|
4756
|
+
* Position of the alert drawer on the screen
|
|
4757
|
+
*/
|
|
4758
|
+
"position"?: WcsAlertDrawerPosition;
|
|
4759
|
+
/**
|
|
4760
|
+
* Whether to show the progress bar or not
|
|
4761
|
+
*/
|
|
4762
|
+
"showProgressBar"?: boolean;
|
|
4763
|
+
/**
|
|
4764
|
+
* Timeout for the alert to be dismissed automatically
|
|
4765
|
+
*/
|
|
4766
|
+
"timeout"?: number;
|
|
4767
|
+
}
|
|
4378
4768
|
interface WcsApp {
|
|
4379
4769
|
}
|
|
4380
4770
|
/**
|
|
@@ -4548,21 +4938,63 @@ declare namespace LocalJSX {
|
|
|
4548
4938
|
/**
|
|
4549
4939
|
* The card component is a container that display content such as text, images, buttons, and lists.
|
|
4550
4940
|
* A card can be a single component, but is often made up of a header, title, subtitle, and content.
|
|
4941
|
+
* While they're very flexible, it's important to use them consistently. You may use `wcs-card-media` outside `wcs-card-body`
|
|
4942
|
+
* and `wcs-card-header` `wcs-card-content` `wcs-card-footer` within `wcs-card-body` to make sure the card is well-designed.
|
|
4551
4943
|
* @cssprop --wcs-card-border-color - Border color of the card
|
|
4552
4944
|
* @cssprop --wcs-card-border-radius - Border radius of the card
|
|
4553
4945
|
* @cssprop --wcs-card-border-width - Border width of the card
|
|
4554
4946
|
* @cssprop --wcs-card-background-color - Background color of the card
|
|
4555
4947
|
* @cssprop --wcs-card-text-color - Text color of the card
|
|
4948
|
+
* @cssprop --wcs-card-horizontal-min-height - Min height of the card when horizontal
|
|
4556
4949
|
*/
|
|
4557
4950
|
interface WcsCard {
|
|
4558
4951
|
"mode"?: CardMode;
|
|
4952
|
+
/**
|
|
4953
|
+
* The orientation of the card, can be horizontal or vertical
|
|
4954
|
+
*/
|
|
4955
|
+
"orientation"?: CardOrientation;
|
|
4559
4956
|
}
|
|
4560
4957
|
/**
|
|
4561
4958
|
* The card-body is a subcomponent of `wcs-card`. It represents content of the card with an extra padding around.
|
|
4562
4959
|
* @cssprop --wcs-card-body-padding - Padding of the card body
|
|
4960
|
+
* @cssprop --wcs-card-body-gap - Gap between each element in the card body
|
|
4563
4961
|
*/
|
|
4564
4962
|
interface WcsCardBody {
|
|
4565
4963
|
}
|
|
4964
|
+
/**
|
|
4965
|
+
* A content for a card inside card-body. Commonly used to provide more details about the card content.
|
|
4966
|
+
* The information provided should be concise and easy to read.
|
|
4967
|
+
* By default, the margin is removed from the top and bottom of the card description.
|
|
4968
|
+
* @cssprop --wcs-card-content-color - The color of the card description.
|
|
4969
|
+
* @cssprop --wcs-card-content-font-size - The font size of the card description.
|
|
4970
|
+
*/
|
|
4971
|
+
interface WcsCardContent {
|
|
4972
|
+
}
|
|
4973
|
+
/**
|
|
4974
|
+
* The card footer component is a container that display content at the bottom of the card.
|
|
4975
|
+
* It uses a flex layout to organize actions the user can take with a card
|
|
4976
|
+
* @cssprop --wcs-card-footer-gap - Gap of the card footer
|
|
4977
|
+
*/
|
|
4978
|
+
interface WcsCardFooter {
|
|
4979
|
+
}
|
|
4980
|
+
/**
|
|
4981
|
+
* The card header component is a container that display a title and an action, it can also display a label as a `<wcs-badge>` component.
|
|
4982
|
+
* The default slotted element is displayed as a `<h3>` element
|
|
4983
|
+
* @cssprop --wcs-card-header-title-color - Color of the title
|
|
4984
|
+
* @cssprop --wcs-card-header-title-font-size - Font size of the title
|
|
4985
|
+
* @cssprop --wcs-card-header-title-font-weight - Font weight of the title
|
|
4986
|
+
* @cssprop --wcs-card-header-gap - Gap between the title and the badge
|
|
4987
|
+
*/
|
|
4988
|
+
interface WcsCardHeader {
|
|
4989
|
+
}
|
|
4990
|
+
/**
|
|
4991
|
+
* The card media component is a container that display an image/icon inside a card.
|
|
4992
|
+
* On horizontal orientation, the image/icon has an aspect ratio of 1/1
|
|
4993
|
+
* On vertical orientation, the image/icon has an aspect ratio of 16/9.
|
|
4994
|
+
* @cssprop --wcs-card-media-max-width-horizontal - Max width of the image when the card is horizontal
|
|
4995
|
+
*/
|
|
4996
|
+
interface WcsCardMedia {
|
|
4997
|
+
}
|
|
4566
4998
|
/**
|
|
4567
4999
|
* The checkbox component is an input for choosing one or more items from a set by checking / unchecking it.
|
|
4568
5000
|
* @cssprop --wcs-checkbox-border-color-default - Default color of the border
|
|
@@ -5590,7 +6022,7 @@ declare namespace LocalJSX {
|
|
|
5590
6022
|
interface WcsListItemProperty {
|
|
5591
6023
|
}
|
|
5592
6024
|
/**
|
|
5593
|
-
* A component used to display a [Material Icon](https://fonts.google.com/icons). Can be useful when used in wcs-grid or in a wcs-button.
|
|
6025
|
+
* A component used to display a [Material Icon](https://fonts.google.com/icons?icon.set=Material+Icons). Can be useful when used in wcs-grid or in a wcs-button.
|
|
5594
6026
|
*/
|
|
5595
6027
|
interface WcsMatIcon {
|
|
5596
6028
|
/**
|
|
@@ -6297,6 +6729,9 @@ declare namespace LocalJSX {
|
|
|
6297
6729
|
}
|
|
6298
6730
|
/**
|
|
6299
6731
|
* Tabs component to switch between tab content. Use in conjunction with `wcs-tab`.
|
|
6732
|
+
* ## Accessibility guidelines 💡
|
|
6733
|
+
* > - Mobile display should be used for narrower screens (automatically set by default).
|
|
6734
|
+
* > - The component respects the W3C [tab pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tabs/)
|
|
6300
6735
|
* @cssprop --wcs-tabs-indicator-height - Height of the tabs indicator
|
|
6301
6736
|
* @cssprop --wcs-tabs-indicator-background-color - Background color of the tabs indicator
|
|
6302
6737
|
* @cssprop --wcs-tabs-indicator-border-radius - Border radius of the tabs indicator
|
|
@@ -6318,6 +6753,24 @@ declare namespace LocalJSX {
|
|
|
6318
6753
|
* @cssprop --wcs-tabs-padding-left - Padding left of the tabs
|
|
6319
6754
|
* @cssprop --wcs-tabs-headers-border-bottom - Border bottom (gutter) below the tabs
|
|
6320
6755
|
* @cssprop --wcs-tabs-transition-duration - Transition duration of the tabs
|
|
6756
|
+
* @cssprop --wcs-tabs-mobile-breakpoint - Breakpoint for mobile display (default: 575px)
|
|
6757
|
+
* @cssprop --wcs-tabs-mobile-overlay-border-width - Border width of the mobile overlay
|
|
6758
|
+
* @cssprop --wcs-tabs-mobile-overlay-border-color - Border color of the mobile overlay
|
|
6759
|
+
* @cssprop --wcs-tabs-mobile-overlay-background-color - Background color of the mobile overlay
|
|
6760
|
+
* @cssprop --wcs-tabs-mobile-overlay-padding - Padding of the mobile overlay
|
|
6761
|
+
* @cssprop --wcs-tabs-mobile-overlay-border-radius - Border radius of the mobile overlay
|
|
6762
|
+
* @cssprop --wcs-tabs-mobile-gap - Gap between the mobile tabs in the overlay
|
|
6763
|
+
* @cssprop --wcs-tabs-mobile-padding - Padding of the mobile tabs in the overlay
|
|
6764
|
+
* @cssprop --wcs-tabs-mobile-height - Height of the mobile tabs in the overlay
|
|
6765
|
+
* @cssprop --wcs-tabs-mobile-font-weight-default - Default weight of the mobile tabs in the overlay
|
|
6766
|
+
* @cssprop --wcs-tabs-mobile-font-weight-active - Active font weight of the mobile tabs in the overlay
|
|
6767
|
+
* @cssprop --wcs-tabs-mobile-font-size - Font size of the mobile tabs in the overlay
|
|
6768
|
+
* @cssprop --wcs-tabs-mobile-color - Text color of the mobile tabs in the overlay
|
|
6769
|
+
* @cssprop --wcs-tabs-mobile-background-color-default - Default background color of the mobile tabs in the overlay
|
|
6770
|
+
* @cssprop --wcs-tabs-mobile-background-color-focus - Focused background color of the mobile tabs in the overlay
|
|
6771
|
+
* @cssprop --wcs-tabs-mobile-background-color-hover - Hovered background color of the mobile tabs in the overlay
|
|
6772
|
+
* @cssprop --wcs-tabs-mobile-background-color-press - Pressed background color of the mobile tabs in the overlay
|
|
6773
|
+
* @cssprop --wcs-tabs-mobile-border-radius - Border radius of the mobile tabs in the overlay
|
|
6321
6774
|
*/
|
|
6322
6775
|
interface WcsTabs {
|
|
6323
6776
|
/**
|
|
@@ -6558,6 +7011,8 @@ declare namespace LocalJSX {
|
|
|
6558
7011
|
"wcs-accordion-header": WcsAccordionHeader;
|
|
6559
7012
|
"wcs-accordion-panel": WcsAccordionPanel;
|
|
6560
7013
|
"wcs-action-bar": WcsActionBar;
|
|
7014
|
+
"wcs-alert": WcsAlert;
|
|
7015
|
+
"wcs-alert-drawer": WcsAlertDrawer;
|
|
6561
7016
|
"wcs-app": WcsApp;
|
|
6562
7017
|
"wcs-badge": WcsBadge;
|
|
6563
7018
|
"wcs-breadcrumb": WcsBreadcrumb;
|
|
@@ -6565,6 +7020,10 @@ declare namespace LocalJSX {
|
|
|
6565
7020
|
"wcs-button": WcsButton;
|
|
6566
7021
|
"wcs-card": WcsCard;
|
|
6567
7022
|
"wcs-card-body": WcsCardBody;
|
|
7023
|
+
"wcs-card-content": WcsCardContent;
|
|
7024
|
+
"wcs-card-footer": WcsCardFooter;
|
|
7025
|
+
"wcs-card-header": WcsCardHeader;
|
|
7026
|
+
"wcs-card-media": WcsCardMedia;
|
|
6568
7027
|
"wcs-checkbox": WcsCheckbox;
|
|
6569
7028
|
"wcs-com-nav": WcsComNav;
|
|
6570
7029
|
"wcs-com-nav-category": WcsComNavCategory;
|
|
@@ -6684,6 +7143,57 @@ declare module "@stencil/core" {
|
|
|
6684
7143
|
* @cssprop --wcs-tabs-gutter-background-color - Background color of the gutter
|
|
6685
7144
|
*/
|
|
6686
7145
|
"wcs-action-bar": LocalJSX.WcsActionBar & JSXBase.HTMLAttributes<HTMLWcsActionBarElement>;
|
|
7146
|
+
/**
|
|
7147
|
+
* Alerts are used to communicate a state or an action that has been performed.
|
|
7148
|
+
* It has to be used conjunction with the `wcs-alert-drawer` component, or you can use it independently by taking care of
|
|
7149
|
+
* the alert visibility
|
|
7150
|
+
* @cssprop --wcs-alert-background-color - Background color of the alert
|
|
7151
|
+
* @cssprop --wcs-alert-icon-background-color - Background color of the icon
|
|
7152
|
+
* @cssprop --wcs-alert-title-color - Color of the title
|
|
7153
|
+
* @cssprop --wcs-alert-subtitle-color - Color of the subtitle
|
|
7154
|
+
* @cssprop --wcs-alert-dismiss-button-color - Color of the dismiss button
|
|
7155
|
+
* @cssprop --wcs-alert-title-font-weight - Font weight of the title
|
|
7156
|
+
* @cssprop --wcs-alert-subtitle-font-weight - Font weight of the subtitle
|
|
7157
|
+
* @cssprop --wcs-alert-title-font-size - Font size of the title
|
|
7158
|
+
* @cssprop --wcs-alert-subtitle-font-size - Font size of the subtitle
|
|
7159
|
+
* @cssprop --wcs-alert-border-width - Border width of the alert
|
|
7160
|
+
* @cssprop --wcs-alert-border-color - Border color of the alert
|
|
7161
|
+
* @cssprop --wcs-alert-border-radius - Border radius of the alert
|
|
7162
|
+
* @cssprop --wcs-alert-padding - Padding of the alert
|
|
7163
|
+
* @cssprop --wcs-alert-gap - Gap between each element of the alert, icon content and close button
|
|
7164
|
+
* @cssprop --wcs-alert-min-width - Minimum width of the alert, default to 100% and it is set by alert-drawer component
|
|
7165
|
+
* @cssprop --wcs-alert-progress-bar-height - Height of the progress bar if `showProgressBar` is set to true
|
|
7166
|
+
* @cssprop --wcs-alert-progress-bar-background-color - Background color of the progress bar
|
|
7167
|
+
*/
|
|
7168
|
+
"wcs-alert": LocalJSX.WcsAlert & JSXBase.HTMLAttributes<HTMLWcsAlertElement>;
|
|
7169
|
+
/**
|
|
7170
|
+
* Serve as a container for displaying `wcs-alert` components. Directly use this component to display alerts in your applications.
|
|
7171
|
+
* ## Usage
|
|
7172
|
+
* You can place the `wcs-alert-drawer` component anywhere in your application. It will be used to display alerts.
|
|
7173
|
+
* You need to set `position` property to define where the alert drawer will be displayed on the screen.
|
|
7174
|
+
* About alerts order:
|
|
7175
|
+
* - alerts are ordered up-bottom if the position is `top` and bottom-up if the position is `bottom`
|
|
7176
|
+
* ## Accessibility guidelines 💡
|
|
7177
|
+
* - The component has `aria-live="polite"` and `aria-atomic="true"` attributes to announce the new alerts to screen readers
|
|
7178
|
+
* ## Configuration (on the web component)
|
|
7179
|
+
* Per default, the `wcs-alert-drawer` is configured with:
|
|
7180
|
+
* - `position: 'top-right'`
|
|
7181
|
+
* - `showProgressBar: false`
|
|
7182
|
+
* - `timeout: 5000`
|
|
7183
|
+
* When using the `WcsAlertDrawer::show(alert: WcsAlertConfig)` method, you can override the default configuration by
|
|
7184
|
+
* overriding it through the argument.
|
|
7185
|
+
* You can also set them in the `wcs-alert-drawer` component directly as attributes
|
|
7186
|
+
* ```html
|
|
7187
|
+
* <wcs-alert-drawer position="top-right" show-progress-bar timeout="10000">
|
|
7188
|
+
* ```
|
|
7189
|
+
* With this configuration, all alerts will be displayed with a progress bar and a timeout of 10 seconds.
|
|
7190
|
+
* @cssprop --wcs-alert-drawer-gap - Gap between alerts
|
|
7191
|
+
* @cssprop --wcs-alert-drawer-margin-horizontal - Margin horizontal of the alert drawer
|
|
7192
|
+
* @cssprop --wcs-alert-drawer-margin-vertical - Margin vertical of the alert drawer
|
|
7193
|
+
* @cssprop --wcs-alert-drawer-hide-alert-animation-duration - Duration of the hide alert animation
|
|
7194
|
+
* @cssprop --wcs-alert-drawer-min-width - Minimum width of the alert drawer => define the width of the alerts
|
|
7195
|
+
*/
|
|
7196
|
+
"wcs-alert-drawer": LocalJSX.WcsAlertDrawer & JSXBase.HTMLAttributes<HTMLWcsAlertDrawerElement>;
|
|
6687
7197
|
"wcs-app": LocalJSX.WcsApp & JSXBase.HTMLAttributes<HTMLWcsAppElement>;
|
|
6688
7198
|
/**
|
|
6689
7199
|
* The badge component is a small label, generally appearing inside or in proximity to another larger interface component,
|
|
@@ -6788,18 +7298,52 @@ declare module "@stencil/core" {
|
|
|
6788
7298
|
/**
|
|
6789
7299
|
* The card component is a container that display content such as text, images, buttons, and lists.
|
|
6790
7300
|
* A card can be a single component, but is often made up of a header, title, subtitle, and content.
|
|
7301
|
+
* While they're very flexible, it's important to use them consistently. You may use `wcs-card-media` outside `wcs-card-body`
|
|
7302
|
+
* and `wcs-card-header` `wcs-card-content` `wcs-card-footer` within `wcs-card-body` to make sure the card is well-designed.
|
|
6791
7303
|
* @cssprop --wcs-card-border-color - Border color of the card
|
|
6792
7304
|
* @cssprop --wcs-card-border-radius - Border radius of the card
|
|
6793
7305
|
* @cssprop --wcs-card-border-width - Border width of the card
|
|
6794
7306
|
* @cssprop --wcs-card-background-color - Background color of the card
|
|
6795
7307
|
* @cssprop --wcs-card-text-color - Text color of the card
|
|
7308
|
+
* @cssprop --wcs-card-horizontal-min-height - Min height of the card when horizontal
|
|
6796
7309
|
*/
|
|
6797
7310
|
"wcs-card": LocalJSX.WcsCard & JSXBase.HTMLAttributes<HTMLWcsCardElement>;
|
|
6798
7311
|
/**
|
|
6799
7312
|
* The card-body is a subcomponent of `wcs-card`. It represents content of the card with an extra padding around.
|
|
6800
7313
|
* @cssprop --wcs-card-body-padding - Padding of the card body
|
|
7314
|
+
* @cssprop --wcs-card-body-gap - Gap between each element in the card body
|
|
6801
7315
|
*/
|
|
6802
7316
|
"wcs-card-body": LocalJSX.WcsCardBody & JSXBase.HTMLAttributes<HTMLWcsCardBodyElement>;
|
|
7317
|
+
/**
|
|
7318
|
+
* A content for a card inside card-body. Commonly used to provide more details about the card content.
|
|
7319
|
+
* The information provided should be concise and easy to read.
|
|
7320
|
+
* By default, the margin is removed from the top and bottom of the card description.
|
|
7321
|
+
* @cssprop --wcs-card-content-color - The color of the card description.
|
|
7322
|
+
* @cssprop --wcs-card-content-font-size - The font size of the card description.
|
|
7323
|
+
*/
|
|
7324
|
+
"wcs-card-content": LocalJSX.WcsCardContent & JSXBase.HTMLAttributes<HTMLWcsCardContentElement>;
|
|
7325
|
+
/**
|
|
7326
|
+
* The card footer component is a container that display content at the bottom of the card.
|
|
7327
|
+
* It uses a flex layout to organize actions the user can take with a card
|
|
7328
|
+
* @cssprop --wcs-card-footer-gap - Gap of the card footer
|
|
7329
|
+
*/
|
|
7330
|
+
"wcs-card-footer": LocalJSX.WcsCardFooter & JSXBase.HTMLAttributes<HTMLWcsCardFooterElement>;
|
|
7331
|
+
/**
|
|
7332
|
+
* The card header component is a container that display a title and an action, it can also display a label as a `<wcs-badge>` component.
|
|
7333
|
+
* The default slotted element is displayed as a `<h3>` element
|
|
7334
|
+
* @cssprop --wcs-card-header-title-color - Color of the title
|
|
7335
|
+
* @cssprop --wcs-card-header-title-font-size - Font size of the title
|
|
7336
|
+
* @cssprop --wcs-card-header-title-font-weight - Font weight of the title
|
|
7337
|
+
* @cssprop --wcs-card-header-gap - Gap between the title and the badge
|
|
7338
|
+
*/
|
|
7339
|
+
"wcs-card-header": LocalJSX.WcsCardHeader & JSXBase.HTMLAttributes<HTMLWcsCardHeaderElement>;
|
|
7340
|
+
/**
|
|
7341
|
+
* The card media component is a container that display an image/icon inside a card.
|
|
7342
|
+
* On horizontal orientation, the image/icon has an aspect ratio of 1/1
|
|
7343
|
+
* On vertical orientation, the image/icon has an aspect ratio of 16/9.
|
|
7344
|
+
* @cssprop --wcs-card-media-max-width-horizontal - Max width of the image when the card is horizontal
|
|
7345
|
+
*/
|
|
7346
|
+
"wcs-card-media": LocalJSX.WcsCardMedia & JSXBase.HTMLAttributes<HTMLWcsCardMediaElement>;
|
|
6803
7347
|
/**
|
|
6804
7348
|
* The checkbox component is an input for choosing one or more items from a set by checking / unchecking it.
|
|
6805
7349
|
* @cssprop --wcs-checkbox-border-color-default - Default color of the border
|
|
@@ -7351,7 +7895,7 @@ declare module "@stencil/core" {
|
|
|
7351
7895
|
*/
|
|
7352
7896
|
"wcs-list-item-property": LocalJSX.WcsListItemProperty & JSXBase.HTMLAttributes<HTMLWcsListItemPropertyElement>;
|
|
7353
7897
|
/**
|
|
7354
|
-
* A component used to display a [Material Icon](https://fonts.google.com/icons). Can be useful when used in wcs-grid or in a wcs-button.
|
|
7898
|
+
* A component used to display a [Material Icon](https://fonts.google.com/icons?icon.set=Material+Icons). Can be useful when used in wcs-grid or in a wcs-button.
|
|
7355
7899
|
*/
|
|
7356
7900
|
"wcs-mat-icon": LocalJSX.WcsMatIcon & JSXBase.HTMLAttributes<HTMLWcsMatIconElement>;
|
|
7357
7901
|
/**
|
|
@@ -7755,6 +8299,9 @@ declare module "@stencil/core" {
|
|
|
7755
8299
|
"wcs-tab": LocalJSX.WcsTab & JSXBase.HTMLAttributes<HTMLWcsTabElement>;
|
|
7756
8300
|
/**
|
|
7757
8301
|
* Tabs component to switch between tab content. Use in conjunction with `wcs-tab`.
|
|
8302
|
+
* ## Accessibility guidelines 💡
|
|
8303
|
+
* > - Mobile display should be used for narrower screens (automatically set by default).
|
|
8304
|
+
* > - The component respects the W3C [tab pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tabs/)
|
|
7758
8305
|
* @cssprop --wcs-tabs-indicator-height - Height of the tabs indicator
|
|
7759
8306
|
* @cssprop --wcs-tabs-indicator-background-color - Background color of the tabs indicator
|
|
7760
8307
|
* @cssprop --wcs-tabs-indicator-border-radius - Border radius of the tabs indicator
|
|
@@ -7776,6 +8323,24 @@ declare module "@stencil/core" {
|
|
|
7776
8323
|
* @cssprop --wcs-tabs-padding-left - Padding left of the tabs
|
|
7777
8324
|
* @cssprop --wcs-tabs-headers-border-bottom - Border bottom (gutter) below the tabs
|
|
7778
8325
|
* @cssprop --wcs-tabs-transition-duration - Transition duration of the tabs
|
|
8326
|
+
* @cssprop --wcs-tabs-mobile-breakpoint - Breakpoint for mobile display (default: 575px)
|
|
8327
|
+
* @cssprop --wcs-tabs-mobile-overlay-border-width - Border width of the mobile overlay
|
|
8328
|
+
* @cssprop --wcs-tabs-mobile-overlay-border-color - Border color of the mobile overlay
|
|
8329
|
+
* @cssprop --wcs-tabs-mobile-overlay-background-color - Background color of the mobile overlay
|
|
8330
|
+
* @cssprop --wcs-tabs-mobile-overlay-padding - Padding of the mobile overlay
|
|
8331
|
+
* @cssprop --wcs-tabs-mobile-overlay-border-radius - Border radius of the mobile overlay
|
|
8332
|
+
* @cssprop --wcs-tabs-mobile-gap - Gap between the mobile tabs in the overlay
|
|
8333
|
+
* @cssprop --wcs-tabs-mobile-padding - Padding of the mobile tabs in the overlay
|
|
8334
|
+
* @cssprop --wcs-tabs-mobile-height - Height of the mobile tabs in the overlay
|
|
8335
|
+
* @cssprop --wcs-tabs-mobile-font-weight-default - Default weight of the mobile tabs in the overlay
|
|
8336
|
+
* @cssprop --wcs-tabs-mobile-font-weight-active - Active font weight of the mobile tabs in the overlay
|
|
8337
|
+
* @cssprop --wcs-tabs-mobile-font-size - Font size of the mobile tabs in the overlay
|
|
8338
|
+
* @cssprop --wcs-tabs-mobile-color - Text color of the mobile tabs in the overlay
|
|
8339
|
+
* @cssprop --wcs-tabs-mobile-background-color-default - Default background color of the mobile tabs in the overlay
|
|
8340
|
+
* @cssprop --wcs-tabs-mobile-background-color-focus - Focused background color of the mobile tabs in the overlay
|
|
8341
|
+
* @cssprop --wcs-tabs-mobile-background-color-hover - Hovered background color of the mobile tabs in the overlay
|
|
8342
|
+
* @cssprop --wcs-tabs-mobile-background-color-press - Pressed background color of the mobile tabs in the overlay
|
|
8343
|
+
* @cssprop --wcs-tabs-mobile-border-radius - Border radius of the mobile tabs in the overlay
|
|
7779
8344
|
*/
|
|
7780
8345
|
"wcs-tabs": LocalJSX.WcsTabs & JSXBase.HTMLAttributes<HTMLWcsTabsElement>;
|
|
7781
8346
|
/**
|