wcs-core 7.0.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 +590 -0
- package/design-tokens/dist/sncf-holding.css +437 -423
- package/design-tokens/dist/sncf-holding.json +80 -3
- package/design-tokens/dist/sncf-reseau-root-scoped.css +652 -0
- package/design-tokens/dist/sncf-reseau.css +473 -463
- package/design-tokens/dist/sncf-reseau.json +54 -0
- package/design-tokens/dist/sncf-voyageurs-root-scoped.css +550 -0
- package/design-tokens/dist/sncf-voyageurs.css +394 -381
- package/design-tokens/dist/sncf-voyageurs.json +54 -0
- package/dist/cjs/{com-nav-utils-9f6c99b8.js → com-nav-utils-ff4f0bef.js} +2 -2
- package/dist/cjs/{com-nav-utils-9f6c99b8.js.map → com-nav-utils-ff4f0bef.js.map} +1 -1
- package/dist/cjs/control-component-interface-d9b68f28.js +43 -0
- package/dist/cjs/control-component-interface-d9b68f28.js.map +1 -0
- package/dist/cjs/{grid-pagination-2c752b22.js → grid-pagination-4505d7b6.js} +26 -6
- package/dist/cjs/grid-pagination-4505d7b6.js.map +1 -0
- package/dist/cjs/{helpers-871f5a3d.js → helpers-2f1a8ddc.js} +44 -1
- package/dist/cjs/helpers-2f1a8ddc.js.map +1 -0
- package/dist/cjs/{keyboard-event-d2c81ce0.js → keyboard-event-40ecdc27.js} +2 -2
- package/dist/cjs/{keyboard-event-d2c81ce0.js.map → keyboard-event-40ecdc27.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/wcs-accordion-panel.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/wcs-button_2.cjs.entry.js +4 -9
- 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 +6 -2
- package/dist/cjs/wcs-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-com-nav-category.cjs.entry.js +4 -4
- package/dist/cjs/wcs-com-nav-item.cjs.entry.js +2 -2
- package/dist/cjs/wcs-com-nav-item.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-com-nav-submenu.cjs.entry.js +4 -4
- package/dist/cjs/wcs-com-nav.cjs.entry.js +4 -4
- package/dist/cjs/wcs-counter.cjs.entry.js +13 -15
- 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 +2 -2
- package/dist/cjs/wcs-dropdown.cjs.entry.js +3 -8
- package/dist/cjs/wcs-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-editable-field.cjs.entry.js +81 -55
- package/dist/cjs/wcs-editable-field.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-error_3.cjs.entry.js +209 -0
- package/dist/cjs/wcs-error_3.cjs.entry.js.map +1 -0
- 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-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-galactic-menu.cjs.entry.js +4 -4
- package/dist/cjs/wcs-galactic-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-galactic.cjs.entry.js +1 -1
- package/dist/cjs/wcs-grid-column.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/wcs-grid.cjs.entry.js +14 -6
- package/dist/cjs/wcs-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-header.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/wcs-input.cjs.entry.js +5 -13
- 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-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-mat-icon.cjs.entry.js +2 -2
- package/dist/cjs/wcs-mat-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-modal.cjs.entry.js +18 -4
- 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 +3 -3
- package/dist/cjs/wcs-nav-item.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-nav.cjs.entry.js +3 -3
- package/dist/cjs/wcs-nav.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/wcs-progress-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-progress-radial.cjs.entry.js +3 -3
- package/dist/cjs/wcs-progress-radial.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-radio-group.cjs.entry.js +5 -2
- package/dist/cjs/wcs-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-radio.cjs.entry.js +2 -2
- package/dist/cjs/wcs-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-select_2.cjs.entry.js +21 -13
- 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 +6 -2
- 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 +150 -7
- package/dist/cjs/wcs-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-textarea.cjs.entry.js +2 -2
- package/dist/cjs/wcs-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-tooltip.cjs.entry.js +8 -4
- 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 +2 -2
- 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 +5 -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 +2 -7
- 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 +22 -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.css +2 -1
- 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 +7 -1
- package/dist/collection/components/counter/counter.js +13 -10
- 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 +3 -8
- 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 +34 -10
- package/dist/collection/components/editable-field/editable-field.e2e.js +176 -0
- package/dist/collection/components/editable-field/editable-field.e2e.js.map +1 -0
- package/dist/collection/components/editable-field/editable-field.js +83 -57
- package/dist/collection/components/editable-field/editable-field.js.map +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/footer/footer.js.map +1 -1
- package/dist/collection/components/form-field/form-field.css +39 -12
- package/dist/collection/components/form-field/form-field.e2e.js +122 -0
- package/dist/collection/components/form-field/form-field.e2e.js.map +1 -0
- package/dist/collection/components/form-field/form-field.js +29 -12
- 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.css +1 -0
- 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 +4 -4
- 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 +14 -1
- package/dist/collection/components/input/input.js +44 -10
- 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 +7 -2
- package/dist/collection/components/list-item/list-item.js.map +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 +58 -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.css +24 -6
- 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 +2 -2
- package/dist/collection/components/radio/radio.js.map +1 -1
- package/dist/collection/components/radio-group/radio-group.js +39 -2
- package/dist/collection/components/radio-group/radio-group.js.map +1 -1
- package/dist/collection/components/select/select.css +1 -1
- package/dist/collection/components/select/select.js +35 -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 +23 -2
- 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 +181 -6
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/textarea/textarea.js +5 -5
- package/dist/collection/components/textarea/textarea.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.js +11 -9
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/utils/control-component-interface.js +37 -0
- package/dist/collection/utils/control-component-interface.js.map +1 -0
- package/dist/collection/utils/helpers.js +40 -0
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/esm/{com-nav-utils-1366c701.js → com-nav-utils-ee7bf77c.js} +2 -2
- package/dist/esm/{com-nav-utils-1366c701.js.map → com-nav-utils-ee7bf77c.js.map} +1 -1
- package/dist/esm/control-component-interface-9f09e520.js +40 -0
- package/dist/esm/control-component-interface-9f09e520.js.map +1 -0
- package/dist/esm/{grid-pagination-421689be.js → grid-pagination-731726a6.js} +26 -6
- package/dist/esm/grid-pagination-731726a6.js.map +1 -0
- package/dist/esm/{helpers-f137ec8d.js → helpers-ece6a2d3.js} +42 -2
- package/dist/esm/helpers-ece6a2d3.js.map +1 -0
- package/dist/esm/{keyboard-event-bdea408a.js → keyboard-event-26b65ae5.js} +2 -2
- package/dist/esm/{keyboard-event-bdea408a.js.map → keyboard-event-26b65ae5.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/wcs-accordion-panel.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/wcs-button_2.entry.js +4 -9
- 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 +6 -2
- package/dist/esm/wcs-checkbox.entry.js.map +1 -1
- package/dist/esm/wcs-com-nav-category.entry.js +4 -4
- package/dist/esm/wcs-com-nav-item.entry.js +2 -2
- package/dist/esm/wcs-com-nav-item.entry.js.map +1 -1
- package/dist/esm/wcs-com-nav-submenu.entry.js +4 -4
- package/dist/esm/wcs-com-nav.entry.js +4 -4
- package/dist/esm/wcs-counter.entry.js +13 -15
- 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 +2 -2
- package/dist/esm/wcs-dropdown.entry.js +3 -8
- package/dist/esm/wcs-dropdown.entry.js.map +1 -1
- package/dist/esm/wcs-editable-field.entry.js +81 -55
- package/dist/esm/wcs-editable-field.entry.js.map +1 -1
- package/dist/esm/wcs-error_3.entry.js +203 -0
- package/dist/esm/wcs-error_3.entry.js.map +1 -0
- 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-footer.entry.js.map +1 -1
- package/dist/esm/wcs-galactic-menu.entry.js +4 -4
- package/dist/esm/wcs-galactic-menu.entry.js.map +1 -1
- package/dist/esm/wcs-galactic.entry.js +1 -1
- package/dist/esm/wcs-grid-column.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/wcs-grid.entry.js +14 -6
- package/dist/esm/wcs-grid.entry.js.map +1 -1
- package/dist/esm/wcs-header.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/wcs-input.entry.js +5 -13
- 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-list-item.entry.js.map +1 -1
- package/dist/esm/wcs-mat-icon.entry.js +2 -2
- package/dist/esm/wcs-mat-icon.entry.js.map +1 -1
- package/dist/esm/wcs-modal.entry.js +18 -4
- 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 +3 -3
- package/dist/esm/wcs-nav-item.entry.js.map +1 -1
- package/dist/esm/wcs-nav.entry.js +3 -3
- package/dist/esm/wcs-nav.entry.js.map +1 -1
- package/dist/esm/wcs-progress-bar.entry.js +4 -4
- package/dist/esm/wcs-progress-bar.entry.js.map +1 -1
- package/dist/esm/wcs-progress-radial.entry.js +3 -3
- package/dist/esm/wcs-progress-radial.entry.js.map +1 -1
- package/dist/esm/wcs-radio-group.entry.js +5 -2
- package/dist/esm/wcs-radio-group.entry.js.map +1 -1
- package/dist/esm/wcs-radio.entry.js +2 -2
- package/dist/esm/wcs-radio.entry.js.map +1 -1
- package/dist/esm/wcs-select_2.entry.js +21 -13
- 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 +6 -2
- 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 +150 -7
- package/dist/esm/wcs-tabs.entry.js.map +1 -1
- package/dist/esm/wcs-textarea.entry.js +2 -2
- package/dist/esm/wcs-textarea.entry.js.map +1 -1
- package/dist/esm/wcs-tooltip.entry.js +8 -4
- 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/checkbox/checkbox.d.ts +3 -1
- package/dist/types/components/counter/counter-interface.d.ts +1 -3
- package/dist/types/components/counter/counter.d.ts +6 -0
- package/dist/types/components/editable-field/editable-field.d.ts +23 -9
- 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/input/input.d.ts +3 -0
- package/dist/types/components/list-item/list-item.d.ts +5 -0
- 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/modal/modal.d.ts +23 -0
- package/dist/types/components/radio-group/radio-group.d.ts +3 -1
- package/dist/types/components/select/select.d.ts +11 -1
- package/dist/types/components/switch/switch.d.ts +3 -1
- package/dist/types/components/tabs/tabs.d.ts +55 -0
- package/dist/types/components/tooltip/tooltip.d.ts +3 -5
- package/dist/types/components.d.ts +658 -22
- package/dist/types/utils/control-component-interface.d.ts +22 -0
- package/dist/types/utils/helpers.d.ts +21 -0
- package/dist/wcs/p-0017d766.js +2 -0
- package/dist/wcs/{p-5ea2aba5.entry.js → p-0424e545.entry.js} +2 -2
- package/dist/wcs/{p-25b96cde.entry.js → p-0758d22e.entry.js} +2 -2
- package/dist/wcs/p-0758d22e.entry.js.map +1 -0
- 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-87b69cac.entry.js → p-1244daa0.entry.js} +2 -2
- package/dist/wcs/{p-80a23f9c.entry.js → p-18fa39f4.entry.js} +2 -2
- package/dist/wcs/{p-80a23f9c.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-d2a4f609.entry.js → p-1fbe0328.entry.js} +2 -2
- package/dist/wcs/p-1fbe0328.entry.js.map +1 -0
- package/dist/wcs/{p-276b8125.entry.js → p-204f2722.entry.js} +9 -9
- package/dist/wcs/p-204f2722.entry.js.map +1 -0
- package/dist/wcs/p-27b438c0.entry.js +2 -0
- package/dist/wcs/{p-45a6934d.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-4982f96c.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-9553d60e.entry.js → p-496115a5.entry.js} +2 -2
- package/dist/wcs/{p-9553d60e.entry.js.map → p-496115a5.entry.js.map} +1 -1
- package/dist/wcs/p-4fb2d985.entry.js +2 -0
- package/dist/wcs/p-4fb2d985.entry.js.map +1 -0
- package/dist/wcs/{p-b0f8190f.entry.js → p-5202b323.entry.js} +2 -2
- package/dist/wcs/p-52d77e1f.js +2 -0
- package/dist/wcs/p-52d77e1f.js.map +1 -0
- 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-806315e6.entry.js.map → p-580b3142.entry.js.map} +1 -1
- 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-622f7403.entry.js +2 -0
- package/dist/wcs/p-622f7403.entry.js.map +1 -0
- 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-209145de.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-2c9e20c1.entry.js → p-850fa9c9.entry.js} +2 -2
- package/dist/wcs/{p-f06aa79d.entry.js → p-86ec9ead.entry.js} +2 -2
- package/dist/wcs/{p-f06aa79d.entry.js.map → p-86ec9ead.entry.js.map} +1 -1
- package/dist/wcs/p-89b8c724.js +2 -0
- package/dist/wcs/p-8c2605fd.entry.js +2 -0
- package/dist/wcs/p-8c2605fd.entry.js.map +1 -0
- package/dist/wcs/{p-2305f257.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-a7468a3a.js +2 -0
- package/dist/wcs/p-a7468a3a.js.map +1 -0
- package/dist/wcs/{p-0fa370d7.entry.js → p-a94e685c.entry.js} +3 -3
- package/dist/wcs/{p-0fa370d7.entry.js.map → p-a94e685c.entry.js.map} +1 -1
- package/dist/wcs/{p-97cbbcfc.entry.js → p-a956dc84.entry.js} +2 -2
- package/dist/wcs/p-a956dc84.entry.js.map +1 -0
- package/dist/wcs/{p-e19308cf.entry.js → p-aadf37e7.entry.js} +2 -2
- package/dist/wcs/{p-f8d2be83.entry.js → p-ad286030.entry.js} +2 -2
- package/dist/wcs/p-ad5192cd.entry.js +2 -0
- package/dist/wcs/p-b0a6eec6.entry.js +2 -0
- package/dist/wcs/p-b0a6eec6.entry.js.map +1 -0
- package/dist/wcs/{p-fa507e06.entry.js → p-b28b2fba.entry.js} +2 -2
- package/dist/wcs/p-b28b2fba.entry.js.map +1 -0
- package/dist/wcs/{p-15ff9f93.entry.js → p-bc009574.entry.js} +2 -2
- package/dist/wcs/{p-15ff9f93.entry.js.map → p-bc009574.entry.js.map} +1 -1
- package/dist/wcs/p-c211a5d1.entry.js +2 -0
- package/dist/wcs/{p-85a5bbb7.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-9e03b379.entry.js → p-c84ae00d.entry.js} +2 -2
- package/dist/wcs/p-cad10435.entry.js +2 -0
- package/dist/wcs/{p-8f0e093f.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-a788b5bd.entry.js → p-cbda74f6.entry.js} +2 -2
- package/dist/wcs/{p-09d0a296.entry.js → p-d27d4a53.entry.js} +3 -3
- 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-dff8641e.entry.js +2 -0
- package/dist/wcs/p-dff8641e.entry.js.map +1 -0
- package/dist/wcs/p-e26c19e5.entry.js +2 -0
- package/dist/wcs/{p-1e5aa960.entry.js → p-e56b9ce2.entry.js} +2 -2
- package/dist/wcs/p-e56b9ce2.entry.js.map +1 -0
- 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-db81b74f.entry.js → p-fd187bce.entry.js} +2 -2
- package/dist/wcs/p-fd187bce.entry.js.map +1 -0
- package/dist/wcs/p-fdeae83e.entry.js +2 -0
- package/dist/wcs/p-fdeae83e.entry.js.map +1 -0
- 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-2c752b22.js.map +0 -1
- package/dist/cjs/helpers-871f5a3d.js.map +0 -1
- package/dist/cjs/wcs-error_2.cjs.entry.js +0 -168
- package/dist/cjs/wcs-error_2.cjs.entry.js.map +0 -1
- package/dist/cjs/wcs-label.cjs.entry.js +0 -33
- package/dist/cjs/wcs-label.cjs.entry.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-421689be.js.map +0 -1
- package/dist/esm/helpers-f137ec8d.js.map +0 -1
- package/dist/esm/wcs-error_2.entry.js +0 -163
- package/dist/esm/wcs-error_2.entry.js.map +0 -1
- package/dist/esm/wcs-label.entry.js +0 -29
- package/dist/esm/wcs-label.entry.js.map +0 -1
- package/dist/wcs/p-08e86d69.entry.js +0 -2
- package/dist/wcs/p-08e86d69.entry.js.map +0 -1
- package/dist/wcs/p-09d0a296.entry.js.map +0 -1
- package/dist/wcs/p-0fdaec9e.entry.js +0 -2
- package/dist/wcs/p-0fdaec9e.entry.js.map +0 -1
- package/dist/wcs/p-19c77b5c.entry.js +0 -2
- package/dist/wcs/p-1ab0d13b.entry.js +0 -2
- package/dist/wcs/p-1ab0d13b.entry.js.map +0 -1
- package/dist/wcs/p-1e5aa960.entry.js.map +0 -1
- package/dist/wcs/p-209145de.entry.js +0 -2
- package/dist/wcs/p-25b96cde.entry.js.map +0 -1
- package/dist/wcs/p-276b8125.entry.js.map +0 -1
- package/dist/wcs/p-2add4d4d.entry.js +0 -2
- package/dist/wcs/p-2add4d4d.entry.js.map +0 -1
- package/dist/wcs/p-400a71d7.entry.js +0 -2
- package/dist/wcs/p-412b0021.js +0 -2
- package/dist/wcs/p-412b0021.js.map +0 -1
- package/dist/wcs/p-4ca7c59f.entry.js +0 -2
- package/dist/wcs/p-4ca7c59f.entry.js.map +0 -1
- package/dist/wcs/p-4d6d1d14.js +0 -2
- package/dist/wcs/p-52cd0abb.entry.js +0 -2
- package/dist/wcs/p-52cd0abb.entry.js.map +0 -1
- package/dist/wcs/p-550012c2.entry.js +0 -2
- package/dist/wcs/p-5f517eb5.entry.js +0 -2
- package/dist/wcs/p-76f07dbd.entry.js +0 -2
- package/dist/wcs/p-76f07dbd.entry.js.map +0 -1
- package/dist/wcs/p-806315e6.entry.js +0 -2
- package/dist/wcs/p-85a5bbb7.entry.js.map +0 -1
- package/dist/wcs/p-8780a429.entry.js +0 -2
- package/dist/wcs/p-8780a429.entry.js.map +0 -1
- package/dist/wcs/p-8bd1b9ce.entry.js +0 -2
- package/dist/wcs/p-8bd1b9ce.entry.js.map +0 -1
- package/dist/wcs/p-8f0e093f.entry.js +0 -2
- package/dist/wcs/p-94ff8939.entry.js +0 -2
- package/dist/wcs/p-94ff8939.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-97cbbcfc.entry.js.map +0 -1
- package/dist/wcs/p-985c4cf2.entry.js +0 -2
- package/dist/wcs/p-985c4cf2.entry.js.map +0 -1
- package/dist/wcs/p-9f23c49e.entry.js +0 -2
- package/dist/wcs/p-9f23c49e.entry.js.map +0 -1
- package/dist/wcs/p-a3aece7a.js +0 -2
- package/dist/wcs/p-a3aece7a.js.map +0 -1
- package/dist/wcs/p-a66a4289.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-bf31245c.entry.js +0 -2
- package/dist/wcs/p-bf31245c.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-cd592a00.entry.js +0 -2
- package/dist/wcs/p-cd592a00.entry.js.map +0 -1
- package/dist/wcs/p-d2a4f609.entry.js.map +0 -1
- package/dist/wcs/p-d42831b2.entry.js +0 -2
- package/dist/wcs/p-d42831b2.entry.js.map +0 -1
- package/dist/wcs/p-d443d419.entry.js +0 -2
- package/dist/wcs/p-d7acbf01.js +0 -2
- package/dist/wcs/p-db81b74f.entry.js.map +0 -1
- package/dist/wcs/p-dbbf0980.entry.js +0 -2
- package/dist/wcs/p-dbbf0980.entry.js.map +0 -1
- package/dist/wcs/p-e64d7437.entry.js +0 -2
- package/dist/wcs/p-e86575d3.entry.js +0 -2
- package/dist/wcs/p-e86575d3.entry.js.map +0 -1
- package/dist/wcs/p-f264d46f.entry.js +0 -2
- package/dist/wcs/p-fa507e06.entry.js.map +0 -1
- package/dist/wcs/p-fd9e731d.entry.js +0 -2
- package/dist/wcs/p-fd9e731d.entry.js.map +0 -1
- /package/dist/wcs/{p-d7acbf01.js.map → p-0017d766.js.map} +0 -0
- /package/dist/wcs/{p-5ea2aba5.entry.js.map → p-0424e545.entry.js.map} +0 -0
- /package/dist/wcs/{p-f264d46f.entry.js.map → p-0b8157e7.entry.js.map} +0 -0
- /package/dist/wcs/{p-87b69cac.entry.js.map → p-1244daa0.entry.js.map} +0 -0
- /package/dist/wcs/{p-e64d7437.entry.js.map → p-27b438c0.entry.js.map} +0 -0
- /package/dist/wcs/{p-45a6934d.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-400a71d7.entry.js.map → p-3823f54e.entry.js.map} +0 -0
- /package/dist/wcs/{p-4982f96c.entry.js.map → p-3a18535f.entry.js.map} +0 -0
- /package/dist/wcs/{p-b0f8190f.entry.js.map → p-5202b323.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-2c9e20c1.entry.js.map → p-850fa9c9.entry.js.map} +0 -0
- /package/dist/wcs/{p-4d6d1d14.js.map → p-89b8c724.js.map} +0 -0
- /package/dist/wcs/{p-2305f257.entry.js.map → p-8e9bd0f1.entry.js.map} +0 -0
- /package/dist/wcs/{p-e19308cf.entry.js.map → p-aadf37e7.entry.js.map} +0 -0
- /package/dist/wcs/{p-f8d2be83.entry.js.map → p-ad286030.entry.js.map} +0 -0
- /package/dist/wcs/{p-a66a4289.entry.js.map → p-ad5192cd.entry.js.map} +0 -0
- /package/dist/wcs/{p-19c77b5c.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-9e03b379.entry.js.map → p-c84ae00d.entry.js.map} +0 -0
- /package/dist/wcs/{p-a788b5bd.entry.js.map → p-cbda74f6.entry.js.map} +0 -0
- /package/dist/wcs/{p-5f517eb5.entry.js.map → p-e26c19e5.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.
|
|
@@ -392,6 +521,10 @@ export namespace Components {
|
|
|
392
521
|
* Specify whether the checkbox is disabled or not.
|
|
393
522
|
*/
|
|
394
523
|
"disabled": boolean;
|
|
524
|
+
/**
|
|
525
|
+
* Get the label text
|
|
526
|
+
*/
|
|
527
|
+
"getLabel": () => Promise<string>;
|
|
395
528
|
/**
|
|
396
529
|
* If `true` the checkbox is in indeterminate state.
|
|
397
530
|
*/
|
|
@@ -691,6 +824,7 @@ export namespace Components {
|
|
|
691
824
|
* @cssprop --wcs-editable-field-border-width-hover - Border width of the editable field on hover
|
|
692
825
|
* @cssprop --wcs-editable-field-border-color-default - Default border color of the editable field
|
|
693
826
|
* @cssprop --wcs-editable-field-border-color-hover - Border color of the editable field on hover
|
|
827
|
+
* @cssprop --wcs-editable-field-border-color-focus - Border color of the editable field on focus
|
|
694
828
|
* @cssprop --wcs-editable-field-border-style - Border style of the editable field
|
|
695
829
|
* @cssprop --wcs-editable-field-padding-vertical-m - Vertical padding of the editable field in medium size
|
|
696
830
|
* @cssprop --wcs-editable-field-padding-vertical-l - Vertical padding of the editable field in large size
|
|
@@ -708,7 +842,7 @@ export namespace Components {
|
|
|
708
842
|
*/
|
|
709
843
|
"formatFn": FormatFn<any>;
|
|
710
844
|
/**
|
|
711
|
-
* Label of the field
|
|
845
|
+
* Label of the field. Will also be part of the edit button `aria-label`.
|
|
712
846
|
*/
|
|
713
847
|
"label": string;
|
|
714
848
|
/**
|
|
@@ -915,6 +1049,10 @@ export namespace Components {
|
|
|
915
1049
|
* Contains the data to display in the table from a js object
|
|
916
1050
|
*/
|
|
917
1051
|
"data": any[];
|
|
1052
|
+
/**
|
|
1053
|
+
* Set focus on the first cell of the grid
|
|
1054
|
+
*/
|
|
1055
|
+
"focusFirstCell": () => Promise<void>;
|
|
918
1056
|
/**
|
|
919
1057
|
* Flag to display a spinner during data loading
|
|
920
1058
|
*/
|
|
@@ -1138,6 +1276,7 @@ export namespace Components {
|
|
|
1138
1276
|
* @cssprop --wcs-input-border-color-default - default border color of the input when not focused
|
|
1139
1277
|
* @cssprop --wcs-input-border-color-disabled - border color of the input when disabled
|
|
1140
1278
|
* @cssprop --wcs-input-border-color-focus - border color of the input when focused
|
|
1279
|
+
* @cssprop --wcs-input-reveal-password-button-border-color-focus - border color of the show/hide password button when focused
|
|
1141
1280
|
* @cssprop --wcs-input-border-color-error - border color of the input when in error state
|
|
1142
1281
|
* @cssprop --wcs-input-value-color - color of the input value
|
|
1143
1282
|
* @cssprop --wcs-input-value-font-weight - font weight of the input value
|
|
@@ -1191,6 +1330,7 @@ export namespace Components {
|
|
|
1191
1330
|
* Returns the native `<input>` element used under the hood.
|
|
1192
1331
|
*/
|
|
1193
1332
|
"getInputElement": () => Promise<HTMLInputElement>;
|
|
1333
|
+
"hidePasswordButtonAriaLabel": string;
|
|
1194
1334
|
/**
|
|
1195
1335
|
* Name of the material icon to add to the input
|
|
1196
1336
|
*/
|
|
@@ -1248,6 +1388,7 @@ export namespace Components {
|
|
|
1248
1388
|
* Sets blur on the native `input` in `wcs-input`. Use this method instead of the global `input.blur()`.
|
|
1249
1389
|
*/
|
|
1250
1390
|
"setBlur": () => Promise<void>;
|
|
1391
|
+
"showPasswordButtonAriaLabel": string;
|
|
1251
1392
|
/**
|
|
1252
1393
|
* Specify the size (height) of the input.
|
|
1253
1394
|
*/
|
|
@@ -1298,6 +1439,10 @@ export namespace Components {
|
|
|
1298
1439
|
/**
|
|
1299
1440
|
* Lists are used for grouping a collection of related items.
|
|
1300
1441
|
* Standard lists can be used either with or without icons. Depending on the context, the list can have one or more
|
|
1442
|
+
* actions (favourite, download, delete, etc.). Use standard lists with a unique action when each line has an action.
|
|
1443
|
+
* ## Accessibility guidelines 💡
|
|
1444
|
+
* > - You should wrap your list-items inside a container with a `role` attribute set to `list`. On each `wcs-list-item`,
|
|
1445
|
+
* you should set a `role` attribute to `listitem`. See the code below.
|
|
1301
1446
|
* actions (favourite, download, delete, etc.). Use standard lists with a unique action when each line has an action.
|
|
1302
1447
|
* @cssprop --wcs-list-item-padding - Padding of the list item
|
|
1303
1448
|
* @cssprop --wcs-list-item-border-width - Border width of the list item
|
|
@@ -1338,7 +1483,7 @@ export namespace Components {
|
|
|
1338
1483
|
interface WcsListItemProperty {
|
|
1339
1484
|
}
|
|
1340
1485
|
/**
|
|
1341
|
-
* 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.
|
|
1342
1487
|
*/
|
|
1343
1488
|
interface WcsMatIcon {
|
|
1344
1489
|
/**
|
|
@@ -1363,6 +1508,9 @@ export namespace Components {
|
|
|
1363
1508
|
* > - Keyboard navigation is trapped inside the modal
|
|
1364
1509
|
* > - It is mandatory to set the `modal-trigger-controls-id` to the id of the element that opens the dialog, in order
|
|
1365
1510
|
* > to focus it upon dialog dismissal.
|
|
1511
|
+
* > - On modal opening, the default behaviour is to focus the first focusable element. If you want to change the initial
|
|
1512
|
+
* > behaviour, you have to use `modal-element-id-to-focus-on-opening` attribute to set the id of the inner modal element you
|
|
1513
|
+
* > want to focus. You will see a story as example below
|
|
1366
1514
|
* > - The modal can be closed at any time by pressing the Escape key.
|
|
1367
1515
|
* >
|
|
1368
1516
|
* > - More info : https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/
|
|
@@ -1390,10 +1538,19 @@ export namespace Components {
|
|
|
1390
1538
|
* Specifies the aria-label present on the close button when the modal is opened. Only use when `showCloseButton` is `true`.
|
|
1391
1539
|
*/
|
|
1392
1540
|
"closeButtonAriaLabel": string;
|
|
1541
|
+
/**
|
|
1542
|
+
* Disables automatic focus behavior when the modal opens. When set to true, the modal will not automatically focus any element upon opening. Use this property with caution, as managing focus is important for accessibility. Consider providing an alternative focus management strategy if disabling the default behavior.
|
|
1543
|
+
*/
|
|
1544
|
+
"disableAutoFocus": boolean;
|
|
1393
1545
|
/**
|
|
1394
1546
|
* Specifies whether the component should hide the actions slot or not
|
|
1395
1547
|
*/
|
|
1396
1548
|
"hideActions": boolean;
|
|
1549
|
+
/**
|
|
1550
|
+
* The ID of the element to automatically focus when the modal opens. If this property is not set and `disableAutoFocus` is false, the modal will automatically focus the first focusable element within its content. This follows accessibility best practices by ensuring keyboard navigation starts from a logical point when the modal opens.
|
|
1551
|
+
* @example <wcs-modal initial-focus-element="cancel-button"></wcs-modal>
|
|
1552
|
+
*/
|
|
1553
|
+
"initialFocusElementId"?: string;
|
|
1397
1554
|
/**
|
|
1398
1555
|
* Specifies which element id controls the modal
|
|
1399
1556
|
* @private
|
|
@@ -1707,6 +1864,7 @@ export namespace Components {
|
|
|
1707
1864
|
* The name of the control to be set on all radio button children
|
|
1708
1865
|
*/
|
|
1709
1866
|
"name": any;
|
|
1867
|
+
"setAriaAttribute": (attr: AriaAttributeName, value: string | null | undefined) => Promise<void>;
|
|
1710
1868
|
/**
|
|
1711
1869
|
* The value of the radio-group. Automatically reflects which radio button is selected.
|
|
1712
1870
|
*/
|
|
@@ -1801,6 +1959,10 @@ export namespace Components {
|
|
|
1801
1959
|
* The text to display when the select is empty.
|
|
1802
1960
|
*/
|
|
1803
1961
|
"placeholder"?: string | null;
|
|
1962
|
+
/**
|
|
1963
|
+
* If `true`, the user must fill in a value before submitting a form.
|
|
1964
|
+
*/
|
|
1965
|
+
"required": boolean;
|
|
1804
1966
|
/**
|
|
1805
1967
|
* **Only works with `autocomplete` mode.** If `true`, the server mode disables the client-side filtering on your select and allows you to handle which options should be present in your DOM.
|
|
1806
1968
|
*/
|
|
@@ -1992,6 +2154,10 @@ export namespace Components {
|
|
|
1992
2154
|
* Specify whether the switch is disabled or not.
|
|
1993
2155
|
*/
|
|
1994
2156
|
"disabled": boolean;
|
|
2157
|
+
/**
|
|
2158
|
+
* Get the label text
|
|
2159
|
+
*/
|
|
2160
|
+
"getLabel": () => Promise<string>;
|
|
1995
2161
|
/**
|
|
1996
2162
|
* Specifie the alignment of the switch with the label content
|
|
1997
2163
|
*/
|
|
@@ -2015,6 +2181,9 @@ export namespace Components {
|
|
|
2015
2181
|
}
|
|
2016
2182
|
/**
|
|
2017
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/)
|
|
2018
2187
|
* @cssprop --wcs-tabs-indicator-height - Height of the tabs indicator
|
|
2019
2188
|
* @cssprop --wcs-tabs-indicator-background-color - Background color of the tabs indicator
|
|
2020
2189
|
* @cssprop --wcs-tabs-indicator-border-radius - Border radius of the tabs indicator
|
|
@@ -2036,6 +2205,24 @@ export namespace Components {
|
|
|
2036
2205
|
* @cssprop --wcs-tabs-padding-left - Padding left of the tabs
|
|
2037
2206
|
* @cssprop --wcs-tabs-headers-border-bottom - Border bottom (gutter) below the tabs
|
|
2038
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
|
|
2039
2226
|
*/
|
|
2040
2227
|
interface WcsTabs {
|
|
2041
2228
|
/**
|
|
@@ -2204,14 +2391,13 @@ export namespace Components {
|
|
|
2204
2391
|
* (for longer content).
|
|
2205
2392
|
* Note that this component is based on the Tippy.js library : https://atomiks.github.io/tippyjs/
|
|
2206
2393
|
* ## Accessibility guidelines 💡
|
|
2207
|
-
* The component places necessary aria attribute on your target element (like the `wcs-button`) :
|
|
2208
|
-
* - `aria-expanded`: set to true when popover is open, false when it is closed
|
|
2209
2394
|
* The problem is that impaired users may not be able to see what is the information provided by the tooltip. To solve
|
|
2210
2395
|
* this problem, the tooltip should be served with some aria attributes to make it accessible.
|
|
2211
2396
|
* Aria-features `wcs-tooltip` respect:
|
|
2212
2397
|
* - dismiss when the user presses the `Escape` key
|
|
2213
2398
|
* - has a `role=tooltip`
|
|
2214
|
-
* -
|
|
2399
|
+
* - when set to `interactive` mode
|
|
2400
|
+
* - `aria-expanded` on the targeted element: set to true when popover is open, false when it is closed
|
|
2215
2401
|
* Aria-features `wcs-tooltip` **does not respect with `wcs-button`**:
|
|
2216
2402
|
* - aria-controls => we cannot do it yet, we need to wait for Cross root ARIA - export ID (https://github.com/WICG/aom/blob/gh-pages/exportid-explainer.md)
|
|
2217
2403
|
* But you have to provide the "link" between the element you want to describe and the tooltip. To do this, you have to
|
|
@@ -2277,7 +2463,7 @@ export namespace Components {
|
|
|
2277
2463
|
*/
|
|
2278
2464
|
"show": () => Promise<void>;
|
|
2279
2465
|
/**
|
|
2280
|
-
* Allows you to change the theme used by tippy. The WCS theme is used by default and uses the WCS CSS variables. You can create a theme by following this documentation and choosing a custom name : https://atomiks.github.io/tippyjs/v6/themes/
|
|
2466
|
+
* Allows you to change the theme used by tippy. The WCS theme 'dark' is used by default and uses the WCS CSS variables. You can create a theme by following this documentation and choosing a custom name : https://atomiks.github.io/tippyjs/v6/themes/
|
|
2281
2467
|
*/
|
|
2282
2468
|
"theme": 'dark' | 'light';
|
|
2283
2469
|
/**
|
|
@@ -2290,6 +2476,10 @@ export interface WcsAccordionPanelCustomEvent<T> extends CustomEvent<T> {
|
|
|
2290
2476
|
detail: T;
|
|
2291
2477
|
target: HTMLWcsAccordionPanelElement;
|
|
2292
2478
|
}
|
|
2479
|
+
export interface WcsAlertCustomEvent<T> extends CustomEvent<T> {
|
|
2480
|
+
detail: T;
|
|
2481
|
+
target: HTMLWcsAlertElement;
|
|
2482
|
+
}
|
|
2293
2483
|
export interface WcsCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
2294
2484
|
detail: T;
|
|
2295
2485
|
target: HTMLWcsCheckboxElement;
|
|
@@ -2471,6 +2661,78 @@ declare global {
|
|
|
2471
2661
|
prototype: HTMLWcsActionBarElement;
|
|
2472
2662
|
new (): HTMLWcsActionBarElement;
|
|
2473
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
|
+
};
|
|
2474
2736
|
interface HTMLWcsAppElement extends Components.WcsApp, HTMLStencilElement {
|
|
2475
2737
|
}
|
|
2476
2738
|
var HTMLWcsAppElement: {
|
|
@@ -2600,11 +2862,14 @@ declare global {
|
|
|
2600
2862
|
/**
|
|
2601
2863
|
* The card component is a container that display content such as text, images, buttons, and lists.
|
|
2602
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.
|
|
2603
2867
|
* @cssprop --wcs-card-border-color - Border color of the card
|
|
2604
2868
|
* @cssprop --wcs-card-border-radius - Border radius of the card
|
|
2605
2869
|
* @cssprop --wcs-card-border-width - Border width of the card
|
|
2606
2870
|
* @cssprop --wcs-card-background-color - Background color of the card
|
|
2607
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
|
|
2608
2873
|
*/
|
|
2609
2874
|
interface HTMLWcsCardElement extends Components.WcsCard, HTMLStencilElement {
|
|
2610
2875
|
}
|
|
@@ -2615,6 +2880,7 @@ declare global {
|
|
|
2615
2880
|
/**
|
|
2616
2881
|
* The card-body is a subcomponent of `wcs-card`. It represents content of the card with an extra padding around.
|
|
2617
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
|
|
2618
2884
|
*/
|
|
2619
2885
|
interface HTMLWcsCardBodyElement extends Components.WcsCardBody, HTMLStencilElement {
|
|
2620
2886
|
}
|
|
@@ -2622,6 +2888,56 @@ declare global {
|
|
|
2622
2888
|
prototype: HTMLWcsCardBodyElement;
|
|
2623
2889
|
new (): HTMLWcsCardBodyElement;
|
|
2624
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
|
+
};
|
|
2625
2941
|
interface HTMLWcsCheckboxElementEventMap {
|
|
2626
2942
|
"wcsChange": CheckboxChangeEventDetail;
|
|
2627
2943
|
"wcsFocus": FocusEvent;
|
|
@@ -2981,6 +3297,7 @@ declare global {
|
|
|
2981
3297
|
* @cssprop --wcs-editable-field-border-width-hover - Border width of the editable field on hover
|
|
2982
3298
|
* @cssprop --wcs-editable-field-border-color-default - Default border color of the editable field
|
|
2983
3299
|
* @cssprop --wcs-editable-field-border-color-hover - Border color of the editable field on hover
|
|
3300
|
+
* @cssprop --wcs-editable-field-border-color-focus - Border color of the editable field on focus
|
|
2984
3301
|
* @cssprop --wcs-editable-field-border-style - Border style of the editable field
|
|
2985
3302
|
* @cssprop --wcs-editable-field-padding-vertical-m - Vertical padding of the editable field in medium size
|
|
2986
3303
|
* @cssprop --wcs-editable-field-padding-vertical-l - Vertical padding of the editable field in large size
|
|
@@ -3380,6 +3697,7 @@ declare global {
|
|
|
3380
3697
|
* @cssprop --wcs-input-border-color-default - default border color of the input when not focused
|
|
3381
3698
|
* @cssprop --wcs-input-border-color-disabled - border color of the input when disabled
|
|
3382
3699
|
* @cssprop --wcs-input-border-color-focus - border color of the input when focused
|
|
3700
|
+
* @cssprop --wcs-input-reveal-password-button-border-color-focus - border color of the show/hide password button when focused
|
|
3383
3701
|
* @cssprop --wcs-input-border-color-error - border color of the input when in error state
|
|
3384
3702
|
* @cssprop --wcs-input-value-color - color of the input value
|
|
3385
3703
|
* @cssprop --wcs-input-value-font-weight - font weight of the input value
|
|
@@ -3426,6 +3744,10 @@ declare global {
|
|
|
3426
3744
|
/**
|
|
3427
3745
|
* Lists are used for grouping a collection of related items.
|
|
3428
3746
|
* Standard lists can be used either with or without icons. Depending on the context, the list can have one or more
|
|
3747
|
+
* actions (favourite, download, delete, etc.). Use standard lists with a unique action when each line has an action.
|
|
3748
|
+
* ## Accessibility guidelines 💡
|
|
3749
|
+
* > - You should wrap your list-items inside a container with a `role` attribute set to `list`. On each `wcs-list-item`,
|
|
3750
|
+
* you should set a `role` attribute to `listitem`. See the code below.
|
|
3429
3751
|
* actions (favourite, download, delete, etc.). Use standard lists with a unique action when each line has an action.
|
|
3430
3752
|
* @cssprop --wcs-list-item-padding - Padding of the list item
|
|
3431
3753
|
* @cssprop --wcs-list-item-border-width - Border width of the list item
|
|
@@ -3474,7 +3796,7 @@ declare global {
|
|
|
3474
3796
|
new (): HTMLWcsListItemPropertyElement;
|
|
3475
3797
|
};
|
|
3476
3798
|
/**
|
|
3477
|
-
* 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.
|
|
3478
3800
|
*/
|
|
3479
3801
|
interface HTMLWcsMatIconElement extends Components.WcsMatIcon, HTMLStencilElement {
|
|
3480
3802
|
}
|
|
@@ -3493,6 +3815,9 @@ declare global {
|
|
|
3493
3815
|
* > - Keyboard navigation is trapped inside the modal
|
|
3494
3816
|
* > - It is mandatory to set the `modal-trigger-controls-id` to the id of the element that opens the dialog, in order
|
|
3495
3817
|
* > to focus it upon dialog dismissal.
|
|
3818
|
+
* > - On modal opening, the default behaviour is to focus the first focusable element. If you want to change the initial
|
|
3819
|
+
* > behaviour, you have to use `modal-element-id-to-focus-on-opening` attribute to set the id of the inner modal element you
|
|
3820
|
+
* > want to focus. You will see a story as example below
|
|
3496
3821
|
* > - The modal can be closed at any time by pressing the Escape key.
|
|
3497
3822
|
* >
|
|
3498
3823
|
* > - More info : https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/
|
|
@@ -4047,6 +4372,9 @@ declare global {
|
|
|
4047
4372
|
}
|
|
4048
4373
|
/**
|
|
4049
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/)
|
|
4050
4378
|
* @cssprop --wcs-tabs-indicator-height - Height of the tabs indicator
|
|
4051
4379
|
* @cssprop --wcs-tabs-indicator-background-color - Background color of the tabs indicator
|
|
4052
4380
|
* @cssprop --wcs-tabs-indicator-border-radius - Border radius of the tabs indicator
|
|
@@ -4068,6 +4396,24 @@ declare global {
|
|
|
4068
4396
|
* @cssprop --wcs-tabs-padding-left - Padding left of the tabs
|
|
4069
4397
|
* @cssprop --wcs-tabs-headers-border-bottom - Border bottom (gutter) below the tabs
|
|
4070
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
|
|
4071
4417
|
*/
|
|
4072
4418
|
interface HTMLWcsTabsElement extends Components.WcsTabs, HTMLStencilElement {
|
|
4073
4419
|
addEventListener<K extends keyof HTMLWcsTabsElementEventMap>(type: K, listener: (this: HTMLWcsTabsElement, ev: WcsTabsCustomEvent<HTMLWcsTabsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -4143,14 +4489,13 @@ declare global {
|
|
|
4143
4489
|
* (for longer content).
|
|
4144
4490
|
* Note that this component is based on the Tippy.js library : https://atomiks.github.io/tippyjs/
|
|
4145
4491
|
* ## Accessibility guidelines 💡
|
|
4146
|
-
* The component places necessary aria attribute on your target element (like the `wcs-button`) :
|
|
4147
|
-
* - `aria-expanded`: set to true when popover is open, false when it is closed
|
|
4148
4492
|
* The problem is that impaired users may not be able to see what is the information provided by the tooltip. To solve
|
|
4149
4493
|
* this problem, the tooltip should be served with some aria attributes to make it accessible.
|
|
4150
4494
|
* Aria-features `wcs-tooltip` respect:
|
|
4151
4495
|
* - dismiss when the user presses the `Escape` key
|
|
4152
4496
|
* - has a `role=tooltip`
|
|
4153
|
-
* -
|
|
4497
|
+
* - when set to `interactive` mode
|
|
4498
|
+
* - `aria-expanded` on the targeted element: set to true when popover is open, false when it is closed
|
|
4154
4499
|
* Aria-features `wcs-tooltip` **does not respect with `wcs-button`**:
|
|
4155
4500
|
* - aria-controls => we cannot do it yet, we need to wait for Cross root ARIA - export ID (https://github.com/WICG/aom/blob/gh-pages/exportid-explainer.md)
|
|
4156
4501
|
* But you have to provide the "link" between the element you want to describe and the tooltip. To do this, you have to
|
|
@@ -4177,6 +4522,8 @@ declare global {
|
|
|
4177
4522
|
"wcs-accordion-header": HTMLWcsAccordionHeaderElement;
|
|
4178
4523
|
"wcs-accordion-panel": HTMLWcsAccordionPanelElement;
|
|
4179
4524
|
"wcs-action-bar": HTMLWcsActionBarElement;
|
|
4525
|
+
"wcs-alert": HTMLWcsAlertElement;
|
|
4526
|
+
"wcs-alert-drawer": HTMLWcsAlertDrawerElement;
|
|
4180
4527
|
"wcs-app": HTMLWcsAppElement;
|
|
4181
4528
|
"wcs-badge": HTMLWcsBadgeElement;
|
|
4182
4529
|
"wcs-breadcrumb": HTMLWcsBreadcrumbElement;
|
|
@@ -4184,6 +4531,10 @@ declare global {
|
|
|
4184
4531
|
"wcs-button": HTMLWcsButtonElement;
|
|
4185
4532
|
"wcs-card": HTMLWcsCardElement;
|
|
4186
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;
|
|
4187
4538
|
"wcs-checkbox": HTMLWcsCheckboxElement;
|
|
4188
4539
|
"wcs-com-nav": HTMLWcsComNavElement;
|
|
4189
4540
|
"wcs-com-nav-category": HTMLWcsComNavCategoryElement;
|
|
@@ -4335,6 +4686,85 @@ declare namespace LocalJSX {
|
|
|
4335
4686
|
*/
|
|
4336
4687
|
"gutter"?: boolean;
|
|
4337
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
|
+
}
|
|
4338
4768
|
interface WcsApp {
|
|
4339
4769
|
}
|
|
4340
4770
|
/**
|
|
@@ -4508,21 +4938,63 @@ declare namespace LocalJSX {
|
|
|
4508
4938
|
/**
|
|
4509
4939
|
* The card component is a container that display content such as text, images, buttons, and lists.
|
|
4510
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.
|
|
4511
4943
|
* @cssprop --wcs-card-border-color - Border color of the card
|
|
4512
4944
|
* @cssprop --wcs-card-border-radius - Border radius of the card
|
|
4513
4945
|
* @cssprop --wcs-card-border-width - Border width of the card
|
|
4514
4946
|
* @cssprop --wcs-card-background-color - Background color of the card
|
|
4515
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
|
|
4516
4949
|
*/
|
|
4517
4950
|
interface WcsCard {
|
|
4518
4951
|
"mode"?: CardMode;
|
|
4952
|
+
/**
|
|
4953
|
+
* The orientation of the card, can be horizontal or vertical
|
|
4954
|
+
*/
|
|
4955
|
+
"orientation"?: CardOrientation;
|
|
4519
4956
|
}
|
|
4520
4957
|
/**
|
|
4521
4958
|
* The card-body is a subcomponent of `wcs-card`. It represents content of the card with an extra padding around.
|
|
4522
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
|
|
4523
4961
|
*/
|
|
4524
4962
|
interface WcsCardBody {
|
|
4525
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
|
+
}
|
|
4526
4998
|
/**
|
|
4527
4999
|
* The checkbox component is an input for choosing one or more items from a set by checking / unchecking it.
|
|
4528
5000
|
* @cssprop --wcs-checkbox-border-color-default - Default color of the border
|
|
@@ -4873,6 +5345,7 @@ declare namespace LocalJSX {
|
|
|
4873
5345
|
* @cssprop --wcs-editable-field-border-width-hover - Border width of the editable field on hover
|
|
4874
5346
|
* @cssprop --wcs-editable-field-border-color-default - Default border color of the editable field
|
|
4875
5347
|
* @cssprop --wcs-editable-field-border-color-hover - Border color of the editable field on hover
|
|
5348
|
+
* @cssprop --wcs-editable-field-border-color-focus - Border color of the editable field on focus
|
|
4876
5349
|
* @cssprop --wcs-editable-field-border-style - Border style of the editable field
|
|
4877
5350
|
* @cssprop --wcs-editable-field-padding-vertical-m - Vertical padding of the editable field in medium size
|
|
4878
5351
|
* @cssprop --wcs-editable-field-padding-vertical-l - Vertical padding of the editable field in large size
|
|
@@ -4890,7 +5363,7 @@ declare namespace LocalJSX {
|
|
|
4890
5363
|
*/
|
|
4891
5364
|
"formatFn"?: FormatFn<any>;
|
|
4892
5365
|
/**
|
|
4893
|
-
* Label of the field
|
|
5366
|
+
* Label of the field. Will also be part of the edit button `aria-label`.
|
|
4894
5367
|
*/
|
|
4895
5368
|
"label": string;
|
|
4896
5369
|
/**
|
|
@@ -5340,6 +5813,7 @@ declare namespace LocalJSX {
|
|
|
5340
5813
|
* @cssprop --wcs-input-border-color-default - default border color of the input when not focused
|
|
5341
5814
|
* @cssprop --wcs-input-border-color-disabled - border color of the input when disabled
|
|
5342
5815
|
* @cssprop --wcs-input-border-color-focus - border color of the input when focused
|
|
5816
|
+
* @cssprop --wcs-input-reveal-password-button-border-color-focus - border color of the show/hide password button when focused
|
|
5343
5817
|
* @cssprop --wcs-input-border-color-error - border color of the input when in error state
|
|
5344
5818
|
* @cssprop --wcs-input-value-color - color of the input value
|
|
5345
5819
|
* @cssprop --wcs-input-value-font-weight - font weight of the input value
|
|
@@ -5385,6 +5859,7 @@ declare namespace LocalJSX {
|
|
|
5385
5859
|
* A hint to the browser for which enter key to display.
|
|
5386
5860
|
*/
|
|
5387
5861
|
"enterkeyhint"?: WcsInputEnterKeyHint;
|
|
5862
|
+
"hidePasswordButtonAriaLabel"?: string;
|
|
5388
5863
|
/**
|
|
5389
5864
|
* Name of the material icon to add to the input
|
|
5390
5865
|
*/
|
|
@@ -5453,6 +5928,7 @@ declare namespace LocalJSX {
|
|
|
5453
5928
|
* If `true`, the user must fill in a value before submitting a form.
|
|
5454
5929
|
*/
|
|
5455
5930
|
"required"?: boolean;
|
|
5931
|
+
"showPasswordButtonAriaLabel"?: string;
|
|
5456
5932
|
/**
|
|
5457
5933
|
* Specify the size (height) of the input.
|
|
5458
5934
|
*/
|
|
@@ -5502,6 +5978,10 @@ declare namespace LocalJSX {
|
|
|
5502
5978
|
/**
|
|
5503
5979
|
* Lists are used for grouping a collection of related items.
|
|
5504
5980
|
* Standard lists can be used either with or without icons. Depending on the context, the list can have one or more
|
|
5981
|
+
* actions (favourite, download, delete, etc.). Use standard lists with a unique action when each line has an action.
|
|
5982
|
+
* ## Accessibility guidelines 💡
|
|
5983
|
+
* > - You should wrap your list-items inside a container with a `role` attribute set to `list`. On each `wcs-list-item`,
|
|
5984
|
+
* you should set a `role` attribute to `listitem`. See the code below.
|
|
5505
5985
|
* actions (favourite, download, delete, etc.). Use standard lists with a unique action when each line has an action.
|
|
5506
5986
|
* @cssprop --wcs-list-item-padding - Padding of the list item
|
|
5507
5987
|
* @cssprop --wcs-list-item-border-width - Border width of the list item
|
|
@@ -5542,7 +6022,7 @@ declare namespace LocalJSX {
|
|
|
5542
6022
|
interface WcsListItemProperty {
|
|
5543
6023
|
}
|
|
5544
6024
|
/**
|
|
5545
|
-
* 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.
|
|
5546
6026
|
*/
|
|
5547
6027
|
interface WcsMatIcon {
|
|
5548
6028
|
/**
|
|
@@ -5566,6 +6046,9 @@ declare namespace LocalJSX {
|
|
|
5566
6046
|
* > - Keyboard navigation is trapped inside the modal
|
|
5567
6047
|
* > - It is mandatory to set the `modal-trigger-controls-id` to the id of the element that opens the dialog, in order
|
|
5568
6048
|
* > to focus it upon dialog dismissal.
|
|
6049
|
+
* > - On modal opening, the default behaviour is to focus the first focusable element. If you want to change the initial
|
|
6050
|
+
* > behaviour, you have to use `modal-element-id-to-focus-on-opening` attribute to set the id of the inner modal element you
|
|
6051
|
+
* > want to focus. You will see a story as example below
|
|
5569
6052
|
* > - The modal can be closed at any time by pressing the Escape key.
|
|
5570
6053
|
* >
|
|
5571
6054
|
* > - More info : https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/
|
|
@@ -5593,10 +6076,19 @@ declare namespace LocalJSX {
|
|
|
5593
6076
|
* Specifies the aria-label present on the close button when the modal is opened. Only use when `showCloseButton` is `true`.
|
|
5594
6077
|
*/
|
|
5595
6078
|
"closeButtonAriaLabel"?: string;
|
|
6079
|
+
/**
|
|
6080
|
+
* Disables automatic focus behavior when the modal opens. When set to true, the modal will not automatically focus any element upon opening. Use this property with caution, as managing focus is important for accessibility. Consider providing an alternative focus management strategy if disabling the default behavior.
|
|
6081
|
+
*/
|
|
6082
|
+
"disableAutoFocus"?: boolean;
|
|
5596
6083
|
/**
|
|
5597
6084
|
* Specifies whether the component should hide the actions slot or not
|
|
5598
6085
|
*/
|
|
5599
6086
|
"hideActions"?: boolean;
|
|
6087
|
+
/**
|
|
6088
|
+
* The ID of the element to automatically focus when the modal opens. If this property is not set and `disableAutoFocus` is false, the modal will automatically focus the first focusable element within its content. This follows accessibility best practices by ensuring keyboard navigation starts from a logical point when the modal opens.
|
|
6089
|
+
* @example <wcs-modal initial-focus-element="cancel-button"></wcs-modal>
|
|
6090
|
+
*/
|
|
6091
|
+
"initialFocusElementId"?: string;
|
|
5600
6092
|
/**
|
|
5601
6093
|
* Specifies which element id controls the modal
|
|
5602
6094
|
* @private
|
|
@@ -6012,6 +6504,10 @@ declare namespace LocalJSX {
|
|
|
6012
6504
|
* The text to display when the select is empty.
|
|
6013
6505
|
*/
|
|
6014
6506
|
"placeholder"?: string | null;
|
|
6507
|
+
/**
|
|
6508
|
+
* If `true`, the user must fill in a value before submitting a form.
|
|
6509
|
+
*/
|
|
6510
|
+
"required"?: boolean;
|
|
6015
6511
|
/**
|
|
6016
6512
|
* **Only works with `autocomplete` mode.** If `true`, the server mode disables the client-side filtering on your select and allows you to handle which options should be present in your DOM.
|
|
6017
6513
|
*/
|
|
@@ -6233,6 +6729,9 @@ declare namespace LocalJSX {
|
|
|
6233
6729
|
}
|
|
6234
6730
|
/**
|
|
6235
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/)
|
|
6236
6735
|
* @cssprop --wcs-tabs-indicator-height - Height of the tabs indicator
|
|
6237
6736
|
* @cssprop --wcs-tabs-indicator-background-color - Background color of the tabs indicator
|
|
6238
6737
|
* @cssprop --wcs-tabs-indicator-border-radius - Border radius of the tabs indicator
|
|
@@ -6254,6 +6753,24 @@ declare namespace LocalJSX {
|
|
|
6254
6753
|
* @cssprop --wcs-tabs-padding-left - Padding left of the tabs
|
|
6255
6754
|
* @cssprop --wcs-tabs-headers-border-bottom - Border bottom (gutter) below the tabs
|
|
6256
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
|
|
6257
6774
|
*/
|
|
6258
6775
|
interface WcsTabs {
|
|
6259
6776
|
/**
|
|
@@ -6424,14 +6941,13 @@ declare namespace LocalJSX {
|
|
|
6424
6941
|
* (for longer content).
|
|
6425
6942
|
* Note that this component is based on the Tippy.js library : https://atomiks.github.io/tippyjs/
|
|
6426
6943
|
* ## Accessibility guidelines 💡
|
|
6427
|
-
* The component places necessary aria attribute on your target element (like the `wcs-button`) :
|
|
6428
|
-
* - `aria-expanded`: set to true when popover is open, false when it is closed
|
|
6429
6944
|
* The problem is that impaired users may not be able to see what is the information provided by the tooltip. To solve
|
|
6430
6945
|
* this problem, the tooltip should be served with some aria attributes to make it accessible.
|
|
6431
6946
|
* Aria-features `wcs-tooltip` respect:
|
|
6432
6947
|
* - dismiss when the user presses the `Escape` key
|
|
6433
6948
|
* - has a `role=tooltip`
|
|
6434
|
-
* -
|
|
6949
|
+
* - when set to `interactive` mode
|
|
6950
|
+
* - `aria-expanded` on the targeted element: set to true when popover is open, false when it is closed
|
|
6435
6951
|
* Aria-features `wcs-tooltip` **does not respect with `wcs-button`**:
|
|
6436
6952
|
* - aria-controls => we cannot do it yet, we need to wait for Cross root ARIA - export ID (https://github.com/WICG/aom/blob/gh-pages/exportid-explainer.md)
|
|
6437
6953
|
* But you have to provide the "link" between the element you want to describe and the tooltip. To do this, you have to
|
|
@@ -6481,7 +6997,7 @@ declare namespace LocalJSX {
|
|
|
6481
6997
|
*/
|
|
6482
6998
|
"position"?: WcsTooltipPosition;
|
|
6483
6999
|
/**
|
|
6484
|
-
* Allows you to change the theme used by tippy. The WCS theme is used by default and uses the WCS CSS variables. You can create a theme by following this documentation and choosing a custom name : https://atomiks.github.io/tippyjs/v6/themes/
|
|
7000
|
+
* Allows you to change the theme used by tippy. The WCS theme 'dark' is used by default and uses the WCS CSS variables. You can create a theme by following this documentation and choosing a custom name : https://atomiks.github.io/tippyjs/v6/themes/
|
|
6485
7001
|
*/
|
|
6486
7002
|
"theme"?: 'dark' | 'light';
|
|
6487
7003
|
/**
|
|
@@ -6495,6 +7011,8 @@ declare namespace LocalJSX {
|
|
|
6495
7011
|
"wcs-accordion-header": WcsAccordionHeader;
|
|
6496
7012
|
"wcs-accordion-panel": WcsAccordionPanel;
|
|
6497
7013
|
"wcs-action-bar": WcsActionBar;
|
|
7014
|
+
"wcs-alert": WcsAlert;
|
|
7015
|
+
"wcs-alert-drawer": WcsAlertDrawer;
|
|
6498
7016
|
"wcs-app": WcsApp;
|
|
6499
7017
|
"wcs-badge": WcsBadge;
|
|
6500
7018
|
"wcs-breadcrumb": WcsBreadcrumb;
|
|
@@ -6502,6 +7020,10 @@ declare namespace LocalJSX {
|
|
|
6502
7020
|
"wcs-button": WcsButton;
|
|
6503
7021
|
"wcs-card": WcsCard;
|
|
6504
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;
|
|
6505
7027
|
"wcs-checkbox": WcsCheckbox;
|
|
6506
7028
|
"wcs-com-nav": WcsComNav;
|
|
6507
7029
|
"wcs-com-nav-category": WcsComNavCategory;
|
|
@@ -6621,6 +7143,57 @@ declare module "@stencil/core" {
|
|
|
6621
7143
|
* @cssprop --wcs-tabs-gutter-background-color - Background color of the gutter
|
|
6622
7144
|
*/
|
|
6623
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>;
|
|
6624
7197
|
"wcs-app": LocalJSX.WcsApp & JSXBase.HTMLAttributes<HTMLWcsAppElement>;
|
|
6625
7198
|
/**
|
|
6626
7199
|
* The badge component is a small label, generally appearing inside or in proximity to another larger interface component,
|
|
@@ -6725,18 +7298,52 @@ declare module "@stencil/core" {
|
|
|
6725
7298
|
/**
|
|
6726
7299
|
* The card component is a container that display content such as text, images, buttons, and lists.
|
|
6727
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.
|
|
6728
7303
|
* @cssprop --wcs-card-border-color - Border color of the card
|
|
6729
7304
|
* @cssprop --wcs-card-border-radius - Border radius of the card
|
|
6730
7305
|
* @cssprop --wcs-card-border-width - Border width of the card
|
|
6731
7306
|
* @cssprop --wcs-card-background-color - Background color of the card
|
|
6732
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
|
|
6733
7309
|
*/
|
|
6734
7310
|
"wcs-card": LocalJSX.WcsCard & JSXBase.HTMLAttributes<HTMLWcsCardElement>;
|
|
6735
7311
|
/**
|
|
6736
7312
|
* The card-body is a subcomponent of `wcs-card`. It represents content of the card with an extra padding around.
|
|
6737
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
|
|
6738
7315
|
*/
|
|
6739
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>;
|
|
6740
7347
|
/**
|
|
6741
7348
|
* The checkbox component is an input for choosing one or more items from a set by checking / unchecking it.
|
|
6742
7349
|
* @cssprop --wcs-checkbox-border-color-default - Default color of the border
|
|
@@ -6969,6 +7576,7 @@ declare module "@stencil/core" {
|
|
|
6969
7576
|
* @cssprop --wcs-editable-field-border-width-hover - Border width of the editable field on hover
|
|
6970
7577
|
* @cssprop --wcs-editable-field-border-color-default - Default border color of the editable field
|
|
6971
7578
|
* @cssprop --wcs-editable-field-border-color-hover - Border color of the editable field on hover
|
|
7579
|
+
* @cssprop --wcs-editable-field-border-color-focus - Border color of the editable field on focus
|
|
6972
7580
|
* @cssprop --wcs-editable-field-border-style - Border style of the editable field
|
|
6973
7581
|
* @cssprop --wcs-editable-field-padding-vertical-m - Vertical padding of the editable field in medium size
|
|
6974
7582
|
* @cssprop --wcs-editable-field-padding-vertical-l - Vertical padding of the editable field in large size
|
|
@@ -7221,6 +7829,7 @@ declare module "@stencil/core" {
|
|
|
7221
7829
|
* @cssprop --wcs-input-border-color-default - default border color of the input when not focused
|
|
7222
7830
|
* @cssprop --wcs-input-border-color-disabled - border color of the input when disabled
|
|
7223
7831
|
* @cssprop --wcs-input-border-color-focus - border color of the input when focused
|
|
7832
|
+
* @cssprop --wcs-input-reveal-password-button-border-color-focus - border color of the show/hide password button when focused
|
|
7224
7833
|
* @cssprop --wcs-input-border-color-error - border color of the input when in error state
|
|
7225
7834
|
* @cssprop --wcs-input-value-color - color of the input value
|
|
7226
7835
|
* @cssprop --wcs-input-value-font-weight - font weight of the input value
|
|
@@ -7249,6 +7858,10 @@ declare module "@stencil/core" {
|
|
|
7249
7858
|
/**
|
|
7250
7859
|
* Lists are used for grouping a collection of related items.
|
|
7251
7860
|
* Standard lists can be used either with or without icons. Depending on the context, the list can have one or more
|
|
7861
|
+
* actions (favourite, download, delete, etc.). Use standard lists with a unique action when each line has an action.
|
|
7862
|
+
* ## Accessibility guidelines 💡
|
|
7863
|
+
* > - You should wrap your list-items inside a container with a `role` attribute set to `list`. On each `wcs-list-item`,
|
|
7864
|
+
* you should set a `role` attribute to `listitem`. See the code below.
|
|
7252
7865
|
* actions (favourite, download, delete, etc.). Use standard lists with a unique action when each line has an action.
|
|
7253
7866
|
* @cssprop --wcs-list-item-padding - Padding of the list item
|
|
7254
7867
|
* @cssprop --wcs-list-item-border-width - Border width of the list item
|
|
@@ -7282,7 +7895,7 @@ declare module "@stencil/core" {
|
|
|
7282
7895
|
*/
|
|
7283
7896
|
"wcs-list-item-property": LocalJSX.WcsListItemProperty & JSXBase.HTMLAttributes<HTMLWcsListItemPropertyElement>;
|
|
7284
7897
|
/**
|
|
7285
|
-
* 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.
|
|
7286
7899
|
*/
|
|
7287
7900
|
"wcs-mat-icon": LocalJSX.WcsMatIcon & JSXBase.HTMLAttributes<HTMLWcsMatIconElement>;
|
|
7288
7901
|
/**
|
|
@@ -7293,6 +7906,9 @@ declare module "@stencil/core" {
|
|
|
7293
7906
|
* > - Keyboard navigation is trapped inside the modal
|
|
7294
7907
|
* > - It is mandatory to set the `modal-trigger-controls-id` to the id of the element that opens the dialog, in order
|
|
7295
7908
|
* > to focus it upon dialog dismissal.
|
|
7909
|
+
* > - On modal opening, the default behaviour is to focus the first focusable element. If you want to change the initial
|
|
7910
|
+
* > behaviour, you have to use `modal-element-id-to-focus-on-opening` attribute to set the id of the inner modal element you
|
|
7911
|
+
* > want to focus. You will see a story as example below
|
|
7296
7912
|
* > - The modal can be closed at any time by pressing the Escape key.
|
|
7297
7913
|
* >
|
|
7298
7914
|
* > - More info : https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/
|
|
@@ -7683,6 +8299,9 @@ declare module "@stencil/core" {
|
|
|
7683
8299
|
"wcs-tab": LocalJSX.WcsTab & JSXBase.HTMLAttributes<HTMLWcsTabElement>;
|
|
7684
8300
|
/**
|
|
7685
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/)
|
|
7686
8305
|
* @cssprop --wcs-tabs-indicator-height - Height of the tabs indicator
|
|
7687
8306
|
* @cssprop --wcs-tabs-indicator-background-color - Background color of the tabs indicator
|
|
7688
8307
|
* @cssprop --wcs-tabs-indicator-border-radius - Border radius of the tabs indicator
|
|
@@ -7704,6 +8323,24 @@ declare module "@stencil/core" {
|
|
|
7704
8323
|
* @cssprop --wcs-tabs-padding-left - Padding left of the tabs
|
|
7705
8324
|
* @cssprop --wcs-tabs-headers-border-bottom - Border bottom (gutter) below the tabs
|
|
7706
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
|
|
7707
8344
|
*/
|
|
7708
8345
|
"wcs-tabs": LocalJSX.WcsTabs & JSXBase.HTMLAttributes<HTMLWcsTabsElement>;
|
|
7709
8346
|
/**
|
|
@@ -7747,14 +8384,13 @@ declare module "@stencil/core" {
|
|
|
7747
8384
|
* (for longer content).
|
|
7748
8385
|
* Note that this component is based on the Tippy.js library : https://atomiks.github.io/tippyjs/
|
|
7749
8386
|
* ## Accessibility guidelines 💡
|
|
7750
|
-
* The component places necessary aria attribute on your target element (like the `wcs-button`) :
|
|
7751
|
-
* - `aria-expanded`: set to true when popover is open, false when it is closed
|
|
7752
8387
|
* The problem is that impaired users may not be able to see what is the information provided by the tooltip. To solve
|
|
7753
8388
|
* this problem, the tooltip should be served with some aria attributes to make it accessible.
|
|
7754
8389
|
* Aria-features `wcs-tooltip` respect:
|
|
7755
8390
|
* - dismiss when the user presses the `Escape` key
|
|
7756
8391
|
* - has a `role=tooltip`
|
|
7757
|
-
* -
|
|
8392
|
+
* - when set to `interactive` mode
|
|
8393
|
+
* - `aria-expanded` on the targeted element: set to true when popover is open, false when it is closed
|
|
7758
8394
|
* Aria-features `wcs-tooltip` **does not respect with `wcs-button`**:
|
|
7759
8395
|
* - aria-controls => we cannot do it yet, we need to wait for Cross root ARIA - export ID (https://github.com/WICG/aom/blob/gh-pages/exportid-explainer.md)
|
|
7760
8396
|
* But you have to provide the "link" between the element you want to describe and the tooltip. To do this, you have to
|