wcs-core 4.2.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{accessibility-e99b032d.js → accessibility-c0c4e648.js} +8 -2
- package/dist/cjs/accessibility-c0c4e648.js.map +1 -0
- package/dist/cjs/button-interface-044a8a8a.js +12 -0
- package/dist/cjs/button-interface-044a8a8a.js.map +1 -0
- package/dist/cjs/grid-pagination-3511fdfa.js +111 -0
- package/dist/cjs/grid-pagination-3511fdfa.js.map +1 -0
- package/dist/cjs/{helpers-4a14051a.js → helpers-6280db6e.js} +75 -2
- package/dist/cjs/helpers-6280db6e.js.map +1 -0
- package/dist/cjs/{index-ca67a6dc.js → index-749d999e.js} +4 -1
- package/dist/cjs/index-749d999e.js.map +1 -0
- package/dist/cjs/{isEqual-9ea7ee49.js → keyboard-event-1cad4036.js} +77 -1
- package/dist/cjs/keyboard-event-1cad4036.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{select-arrow-c9583ea9.js → select-arrow-8169c0cb.js} +2 -2
- package/dist/cjs/{select-arrow-c9583ea9.js.map → select-arrow-8169c0cb.js.map} +1 -1
- package/dist/cjs/wcs-accordion-content.cjs.entry.js +1 -1
- package/dist/cjs/wcs-accordion-header.cjs.entry.js +1 -1
- package/dist/cjs/wcs-accordion-panel.cjs.entry.js +2 -2
- package/dist/cjs/wcs-accordion.cjs.entry.js +1 -1
- package/dist/cjs/wcs-action-bar.cjs.entry.js +1 -1
- package/dist/cjs/wcs-app.cjs.entry.js +1 -1
- package/dist/cjs/wcs-badge.cjs.entry.js +3 -2
- package/dist/cjs/wcs-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/{wcs-button.cjs.entry.js → wcs-button_2.cjs.entry.js} +21 -12
- package/dist/cjs/wcs-button_2.cjs.entry.js.map +1 -0
- package/dist/cjs/wcs-card-body.cjs.entry.js +1 -1
- package/dist/cjs/wcs-card.cjs.entry.js +1 -1
- package/dist/cjs/wcs-checkbox.cjs.entry.js +5 -2
- package/dist/cjs/wcs-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-com-nav-category.cjs.entry.js +2 -2
- package/dist/cjs/wcs-com-nav-submenu.cjs.entry.js +2 -2
- package/dist/cjs/wcs-com-nav.cjs.entry.js +2 -2
- package/dist/cjs/wcs-counter.cjs.entry.js +16 -6
- 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-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-dropdown-header.cjs.entry.js +1 -1
- package/dist/cjs/wcs-dropdown-header.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-dropdown-item.cjs.entry.js +2 -2
- package/dist/cjs/wcs-dropdown-item.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-dropdown.cjs.entry.js +12 -6
- package/dist/cjs/wcs-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-editable-field.cjs.entry.js +18 -3
- package/dist/cjs/wcs-editable-field.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-error_2.cjs.entry.js +36 -2
- package/dist/cjs/wcs-error_2.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-field-content.cjs.entry.js +1 -1
- package/dist/cjs/wcs-field-label.cjs.entry.js +1 -1
- package/dist/cjs/wcs-field.cjs.entry.js +1 -1
- package/dist/cjs/wcs-footer.cjs.entry.js +1 -1
- package/dist/cjs/wcs-galactic-menu.cjs.entry.js +2 -2
- package/dist/cjs/wcs-galactic.cjs.entry.js +1 -1
- package/dist/cjs/wcs-grid-column.cjs.entry.js +25 -4
- 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 +320 -65
- package/dist/cjs/wcs-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-header.cjs.entry.js +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-icon.cjs.entry.js +1 -1
- package/dist/cjs/wcs-input.cjs.entry.js +15 -15
- package/dist/cjs/wcs-input.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-label.cjs.entry.js +1 -1
- package/dist/cjs/wcs-label.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-list-item-properties.cjs.entry.js +1 -1
- package/dist/cjs/wcs-list-item-property.cjs.entry.js +1 -1
- package/dist/cjs/wcs-list-item.cjs.entry.js +1 -1
- package/dist/cjs/wcs-mat-icon.cjs.entry.js +2 -2
- package/dist/cjs/wcs-mat-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-modal.cjs.entry.js +35 -5
- package/dist/cjs/wcs-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-native-select.cjs.entry.js +6 -3
- package/dist/cjs/wcs-native-select.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-nav-item.cjs.entry.js +2 -2
- package/dist/cjs/wcs-nav.cjs.entry.js +1 -1
- package/dist/cjs/wcs-progress-bar.cjs.entry.js +4 -6
- package/dist/cjs/wcs-progress-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-progress-radial.cjs.entry.js +14 -6
- package/dist/cjs/wcs-progress-radial.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-radio-group.cjs.entry.js +22 -15
- package/dist/cjs/wcs-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-radio.cjs.entry.js +14 -7
- package/dist/cjs/wcs-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-select_2.cjs.entry.js +603 -111
- 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 +5 -2
- package/dist/cjs/wcs-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-tab.cjs.entry.js +4 -1
- package/dist/cjs/wcs-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-tabs.cjs.entry.js +4 -4
- package/dist/cjs/wcs-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-textarea.cjs.entry.js +13 -11
- package/dist/cjs/wcs-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/wcs-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/wcs.cjs.js +2 -2
- package/dist/collection/components/badge/badge-interface.js.map +1 -1
- package/dist/collection/components/badge/badge.css +19 -1
- package/dist/collection/components/badge/badge.js +24 -0
- package/dist/collection/components/badge/badge.js.map +1 -1
- package/dist/collection/components/button/button.css +1 -1
- package/dist/collection/components/checkbox/checkbox.js +34 -1
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/counter/counter.css +6 -1
- package/dist/collection/components/counter/counter.js +61 -3
- package/dist/collection/components/counter/counter.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.css +15 -4
- package/dist/collection/components/dropdown/dropdown.js +37 -1
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown-divider/dropdown-divider.js +3 -0
- package/dist/collection/components/dropdown-divider/dropdown-divider.js.map +1 -1
- package/dist/collection/components/dropdown-header/dropdown-header.js +4 -0
- package/dist/collection/components/dropdown-header/dropdown-header.js.map +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +5 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -1
- package/dist/collection/components/editable-field/editable-field.js +17 -2
- 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/form-field/form-field.js +31 -0
- package/dist/collection/components/form-field/form-field.js.map +1 -1
- package/dist/collection/components/grid/grid-interface.js.map +1 -1
- package/dist/collection/components/grid/grid-keyboard-event.js +52 -0
- package/dist/collection/components/grid/grid-keyboard-event.js.map +1 -0
- package/dist/collection/components/grid/grid.css +5 -0
- package/dist/collection/components/grid/grid.js +265 -29
- package/dist/collection/components/grid/grid.js.map +1 -1
- package/dist/collection/components/grid-column/grid-column.css +5 -0
- package/dist/collection/components/grid-column/grid-column.js +60 -1
- package/dist/collection/components/grid-column/grid-column.js.map +1 -1
- package/dist/collection/components/grid-column/grid-sort-arrow.js +1 -1
- package/dist/collection/components/grid-column/grid-sort-arrow.js.map +1 -1
- package/dist/collection/components/grid-pagination/grid-pagination-arrow.js +32 -23
- package/dist/collection/components/grid-pagination/grid-pagination-arrow.js.map +1 -1
- package/dist/collection/components/grid-pagination/grid-pagination.css +17 -0
- package/dist/collection/components/grid-pagination/grid-pagination.js +1 -1
- package/dist/collection/components/grid-pagination/grid-pagination.js.map +1 -1
- package/dist/collection/components/input/input.js +64 -28
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/label/label.js.map +1 -1
- package/dist/collection/components/mat-icon/mat-icon.js +1 -1
- package/dist/collection/components/mat-icon/mat-icon.js.map +1 -1
- package/dist/collection/components/modal/modal.css +2 -2
- package/dist/collection/components/modal/modal.js +73 -2
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/native-select/native-select.css +6 -5
- package/dist/collection/components/native-select/native-select.js +29 -0
- package/dist/collection/components/native-select/native-select.js.map +1 -1
- package/dist/collection/components/progress-bar/progress-bar.css +12 -11
- package/dist/collection/components/progress-bar/progress-bar.js +22 -13
- package/dist/collection/components/progress-bar/progress-bar.js.map +1 -1
- package/dist/collection/components/progress-radial/progress-radial.css +5 -0
- package/dist/collection/components/progress-radial/progress-radial.js +18 -7
- package/dist/collection/components/progress-radial/progress-radial.js.map +1 -1
- package/dist/collection/components/radio/radio.css +8 -16
- package/dist/collection/components/radio/radio.js +12 -5
- package/dist/collection/components/radio/radio.js.map +1 -1
- package/dist/collection/components/radio-group/radio-group.js +50 -13
- package/dist/collection/components/radio-group/radio-group.js.map +1 -1
- package/dist/collection/components/select/select-interface.js +10 -0
- package/dist/collection/components/select/select-interface.js.map +1 -1
- package/dist/collection/components/select/select-keyboard-event.js +306 -0
- package/dist/collection/components/select/select-keyboard-event.js.map +1 -0
- package/dist/collection/components/select/select.css +59 -6
- package/dist/collection/components/select/select.js +435 -111
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select-option/select-option.css +15 -0
- package/dist/collection/components/select-option/select-option.js +30 -5
- package/dist/collection/components/select-option/select-option.js.map +1 -1
- package/dist/collection/components/switch/switch.js +34 -1
- package/dist/collection/components/switch/switch.js.map +1 -1
- package/dist/collection/components/tab/tab.css +7 -0
- package/dist/collection/components/tab/tab.js +11 -1
- package/dist/collection/components/tab/tab.js.map +1 -1
- package/dist/collection/components/tabs/tabs.js +7 -3
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/textarea/textarea.css +8 -3
- package/dist/collection/components/textarea/textarea.js +41 -12
- package/dist/collection/components/textarea/textarea.js.map +1 -1
- package/dist/collection/utils/accessibility.js +7 -1
- package/dist/collection/utils/accessibility.js.map +1 -1
- package/dist/collection/utils/helpers.js +76 -1
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/keyboard-event.js +74 -0
- package/dist/collection/utils/keyboard-event.js.map +1 -0
- package/dist/collection/utils/mutable-aria-attribute.js +4 -0
- package/dist/collection/utils/mutable-aria-attribute.js.map +1 -0
- package/dist/esm/{accessibility-ffa12842.js → accessibility-64feea8a.js} +8 -2
- package/dist/esm/accessibility-64feea8a.js.map +1 -0
- package/dist/esm/button-interface-c21c265f.js +9 -0
- package/dist/esm/button-interface-c21c265f.js.map +1 -0
- package/dist/esm/grid-pagination-f7b01e2e.js +109 -0
- package/dist/esm/grid-pagination-f7b01e2e.js.map +1 -0
- package/dist/esm/{helpers-1d55b67f.js → helpers-a21ae7d0.js} +75 -3
- package/dist/esm/helpers-a21ae7d0.js.map +1 -0
- package/dist/esm/{index-dc4d96d4.js → index-4f282598.js} +4 -1
- package/dist/esm/index-4f282598.js.map +1 -0
- package/dist/esm/{isEqual-20881bca.js → keyboard-event-ba3d20e7.js} +77 -2
- package/dist/esm/keyboard-event-ba3d20e7.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{select-arrow-81d069f7.js → select-arrow-28e8687b.js} +2 -2
- package/dist/esm/{select-arrow-81d069f7.js.map → select-arrow-28e8687b.js.map} +1 -1
- package/dist/esm/wcs-accordion-content.entry.js +1 -1
- package/dist/esm/wcs-accordion-header.entry.js +1 -1
- package/dist/esm/wcs-accordion-panel.entry.js +2 -2
- package/dist/esm/wcs-accordion.entry.js +1 -1
- package/dist/esm/wcs-action-bar.entry.js +1 -1
- package/dist/esm/wcs-app.entry.js +1 -1
- package/dist/esm/wcs-badge.entry.js +3 -2
- package/dist/esm/wcs-badge.entry.js.map +1 -1
- package/dist/esm/{wcs-button.entry.js → wcs-button_2.entry.js} +19 -11
- package/dist/esm/wcs-button_2.entry.js.map +1 -0
- package/dist/esm/wcs-card-body.entry.js +1 -1
- package/dist/esm/wcs-card.entry.js +1 -1
- package/dist/esm/wcs-checkbox.entry.js +5 -2
- package/dist/esm/wcs-checkbox.entry.js.map +1 -1
- package/dist/esm/wcs-com-nav-category.entry.js +2 -2
- package/dist/esm/wcs-com-nav-submenu.entry.js +2 -2
- package/dist/esm/wcs-com-nav.entry.js +2 -2
- package/dist/esm/wcs-counter.entry.js +16 -6
- 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-divider.entry.js.map +1 -1
- package/dist/esm/wcs-dropdown-header.entry.js +1 -1
- package/dist/esm/wcs-dropdown-header.entry.js.map +1 -1
- package/dist/esm/wcs-dropdown-item.entry.js +2 -2
- package/dist/esm/wcs-dropdown-item.entry.js.map +1 -1
- package/dist/esm/wcs-dropdown.entry.js +12 -6
- package/dist/esm/wcs-dropdown.entry.js.map +1 -1
- package/dist/esm/wcs-editable-field.entry.js +18 -3
- package/dist/esm/wcs-editable-field.entry.js.map +1 -1
- package/dist/esm/wcs-error_2.entry.js +36 -2
- package/dist/esm/wcs-error_2.entry.js.map +1 -1
- package/dist/esm/wcs-field-content.entry.js +1 -1
- package/dist/esm/wcs-field-label.entry.js +1 -1
- package/dist/esm/wcs-field.entry.js +1 -1
- package/dist/esm/wcs-footer.entry.js +1 -1
- package/dist/esm/wcs-galactic-menu.entry.js +2 -2
- package/dist/esm/wcs-galactic.entry.js +1 -1
- package/dist/esm/wcs-grid-column.entry.js +25 -4
- 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 +282 -27
- package/dist/esm/wcs-grid.entry.js.map +1 -1
- package/dist/esm/wcs-header.entry.js +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-icon.entry.js +1 -1
- package/dist/esm/wcs-input.entry.js +15 -15
- package/dist/esm/wcs-input.entry.js.map +1 -1
- package/dist/esm/wcs-label.entry.js +1 -1
- package/dist/esm/wcs-label.entry.js.map +1 -1
- package/dist/esm/wcs-list-item-properties.entry.js +1 -1
- package/dist/esm/wcs-list-item-property.entry.js +1 -1
- package/dist/esm/wcs-list-item.entry.js +1 -1
- package/dist/esm/wcs-mat-icon.entry.js +2 -2
- package/dist/esm/wcs-mat-icon.entry.js.map +1 -1
- package/dist/esm/wcs-modal.entry.js +35 -5
- package/dist/esm/wcs-modal.entry.js.map +1 -1
- package/dist/esm/wcs-native-select.entry.js +6 -3
- package/dist/esm/wcs-native-select.entry.js.map +1 -1
- package/dist/esm/wcs-nav-item.entry.js +2 -2
- package/dist/esm/wcs-nav.entry.js +1 -1
- package/dist/esm/wcs-progress-bar.entry.js +4 -6
- package/dist/esm/wcs-progress-bar.entry.js.map +1 -1
- package/dist/esm/wcs-progress-radial.entry.js +14 -6
- package/dist/esm/wcs-progress-radial.entry.js.map +1 -1
- package/dist/esm/wcs-radio-group.entry.js +22 -15
- package/dist/esm/wcs-radio-group.entry.js.map +1 -1
- package/dist/esm/wcs-radio.entry.js +14 -7
- package/dist/esm/wcs-radio.entry.js.map +1 -1
- package/dist/esm/wcs-select_2.entry.js +602 -110
- 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 +5 -2
- package/dist/esm/wcs-switch.entry.js.map +1 -1
- package/dist/esm/wcs-tab.entry.js +4 -1
- package/dist/esm/wcs-tab.entry.js.map +1 -1
- package/dist/esm/wcs-tabs.entry.js +4 -4
- package/dist/esm/wcs-tabs.entry.js.map +1 -1
- package/dist/esm/wcs-textarea.entry.js +13 -11
- package/dist/esm/wcs-textarea.entry.js.map +1 -1
- package/dist/esm/wcs-tooltip.entry.js +1 -1
- package/dist/esm/wcs.js +3 -3
- package/dist/types/components/badge/badge-interface.d.ts +2 -0
- package/dist/types/components/badge/badge.d.ts +5 -1
- package/dist/types/components/checkbox/checkbox.d.ts +4 -1
- package/dist/types/components/counter/counter.d.ts +8 -1
- package/dist/types/components/dropdown/dropdown.d.ts +10 -1
- package/dist/types/components/dropdown-divider/dropdown-divider.d.ts +3 -0
- package/dist/types/components/dropdown-header/dropdown-header.d.ts +4 -0
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +7 -0
- package/dist/types/components/editable-field/editable-field.d.ts +7 -0
- package/dist/types/components/form-field/form-field.d.ts +4 -0
- package/dist/types/components/grid/grid-interface.d.ts +14 -2
- package/dist/types/components/grid/grid-keyboard-event.d.ts +16 -0
- package/dist/types/components/grid/grid.d.ts +59 -4
- package/dist/types/components/grid-column/grid-column.d.ts +17 -0
- package/dist/types/components/input/input.d.ts +40 -17
- package/dist/types/components/modal/modal.d.ts +37 -1
- package/dist/types/components/native-select/native-select.d.ts +3 -1
- package/dist/types/components/progress-bar/progress-bar.d.ts +8 -3
- package/dist/types/components/progress-radial/progress-radial.d.ts +12 -0
- package/dist/types/components/radio/radio.d.ts +3 -0
- package/dist/types/components/radio-group/radio-group.d.ts +3 -1
- package/dist/types/components/select/select-interface.d.ts +12 -0
- package/dist/types/components/select/select-keyboard-event.d.ts +38 -0
- package/dist/types/components/select/select.d.ts +76 -15
- package/dist/types/components/select-option/select-option.d.ts +10 -4
- package/dist/types/components/switch/switch.d.ts +4 -1
- package/dist/types/components/tab/tab.d.ts +3 -0
- package/dist/types/components/tabs/tabs.d.ts +4 -0
- package/dist/types/components/textarea/textarea.d.ts +8 -4
- package/dist/types/components.d.ts +357 -55
- package/dist/types/utils/accessibility.d.ts +4 -0
- package/dist/types/utils/helpers.d.ts +12 -1
- package/dist/types/utils/keyboard-event.d.ts +13 -0
- package/dist/types/utils/mutable-aria-attribute.d.ts +5 -0
- package/dist/wcs/{p-7a3f70da.entry.js → p-00f6a79a.entry.js} +2 -2
- package/dist/wcs/{p-ee453b6e.entry.js → p-016e4dd9.entry.js} +2 -2
- package/dist/wcs/p-0ae177cf.js +2 -0
- package/dist/wcs/p-0ae177cf.js.map +1 -0
- package/dist/wcs/{p-f06f48f3.entry.js → p-0d02d9e4.entry.js} +2 -2
- package/dist/wcs/p-0d02d9e4.entry.js.map +1 -0
- package/dist/wcs/{p-30d8f9c3.entry.js → p-11ab4ffc.entry.js} +2 -2
- package/dist/wcs/p-13548191.entry.js +2 -0
- package/dist/wcs/p-13548191.entry.js.map +1 -0
- package/dist/wcs/p-13ffe5f3.entry.js +2 -0
- package/dist/wcs/p-13ffe5f3.entry.js.map +1 -0
- package/dist/wcs/{p-dfddec76.entry.js → p-17442a2f.entry.js} +2 -2
- package/dist/wcs/p-1d49a02e.entry.js +2 -0
- package/dist/wcs/p-1d49a02e.entry.js.map +1 -0
- package/dist/wcs/{p-d6c3e615.js → p-24611014.js} +2 -2
- package/dist/wcs/p-250b3794.entry.js +2 -0
- package/dist/wcs/{p-91b3e4b5.entry.js.map → p-250b3794.entry.js.map} +1 -1
- package/dist/wcs/{p-292ca644.entry.js → p-2d62b3dd.entry.js} +2 -2
- package/dist/wcs/{p-d6b3f742.entry.js → p-33a5594d.entry.js} +2 -2
- package/dist/wcs/p-33a570ee.js +2 -0
- package/dist/wcs/p-33a570ee.js.map +1 -0
- package/dist/wcs/{p-e86c6cbb.entry.js → p-34079054.entry.js} +2 -2
- package/dist/wcs/{p-e86c6cbb.entry.js.map → p-34079054.entry.js.map} +1 -1
- package/dist/wcs/{p-257b15b9.entry.js → p-36e83879.entry.js} +2 -2
- package/dist/wcs/p-44410e32.entry.js +2 -0
- package/dist/wcs/p-44410e32.entry.js.map +1 -0
- package/dist/wcs/{p-7269272f.entry.js → p-46184d47.entry.js} +2 -2
- package/dist/wcs/p-46975b1e.entry.js +2 -0
- package/dist/wcs/p-46975b1e.entry.js.map +1 -0
- package/dist/wcs/{p-4a9f8e94.entry.js → p-46d56c4e.entry.js} +3 -3
- package/dist/wcs/{p-fc3f5b53.entry.js → p-4820154c.entry.js} +2 -2
- package/dist/wcs/p-49b0de03.entry.js +2 -0
- package/dist/wcs/p-49b0de03.entry.js.map +1 -0
- package/dist/wcs/{p-ff9967eb.entry.js → p-4af68f13.entry.js} +2 -2
- package/dist/wcs/{p-1f8c73eb.entry.js → p-5f0ab1dc.entry.js} +2 -2
- package/dist/wcs/p-5f0ab1dc.entry.js.map +1 -0
- package/dist/wcs/p-5f3e6b0c.entry.js +2 -0
- package/dist/wcs/p-5f3e6b0c.entry.js.map +1 -0
- package/dist/wcs/{p-50dce764.entry.js → p-61b934a7.entry.js} +2 -2
- package/dist/wcs/p-64855188.js +2 -0
- package/dist/wcs/p-64855188.js.map +1 -0
- package/dist/wcs/p-680b107c.entry.js +2 -0
- package/dist/wcs/p-68d654da.js +2 -0
- package/dist/wcs/p-68d654da.js.map +1 -0
- package/dist/wcs/p-69d1223c.js +3 -0
- package/dist/wcs/p-69d1223c.js.map +1 -0
- package/dist/wcs/p-6f538b67.entry.js +2 -0
- package/dist/wcs/p-6f538b67.entry.js.map +1 -0
- package/dist/wcs/p-7c145ed0.entry.js +2 -0
- package/dist/wcs/p-7c145ed0.entry.js.map +1 -0
- package/dist/wcs/p-8724a296.entry.js +2 -0
- package/dist/wcs/p-8724a296.entry.js.map +1 -0
- package/dist/wcs/{p-d084dd61.entry.js → p-88b1cdfe.entry.js} +2 -2
- package/dist/wcs/{p-c7494651.entry.js → p-8ff7e463.entry.js} +2 -2
- package/dist/wcs/p-90a7fd68.entry.js +2 -0
- package/dist/wcs/p-90a7fd68.entry.js.map +1 -0
- package/dist/wcs/{p-cfcacc44.entry.js → p-914aa964.entry.js} +2 -2
- package/dist/wcs/p-93fcef08.entry.js +2 -0
- package/dist/wcs/p-93fcef08.entry.js.map +1 -0
- package/dist/wcs/{p-429bd9fb.entry.js → p-9b1c73b3.entry.js} +2 -2
- package/dist/wcs/p-9cc48d75.js +2 -0
- package/dist/wcs/p-9cc48d75.js.map +1 -0
- package/dist/wcs/p-a3518f66.entry.js +2 -0
- package/dist/wcs/p-a361d9f1.entry.js +2 -0
- package/dist/wcs/{p-31a8d23f.entry.js → p-a85208ca.entry.js} +2 -2
- package/dist/wcs/{p-d3f1cafe.entry.js → p-b91323fc.entry.js} +2 -2
- package/dist/wcs/{p-47d8ece5.entry.js → p-bd4029f8.entry.js} +2 -2
- package/dist/wcs/{p-e348058b.entry.js → p-bed4e3ce.entry.js} +2 -2
- package/dist/wcs/{p-f489793d.entry.js → p-c261353f.entry.js} +2 -2
- package/dist/wcs/p-c261353f.entry.js.map +1 -0
- package/dist/wcs/p-c3227f01.entry.js +2 -0
- package/dist/wcs/p-c3227f01.entry.js.map +1 -0
- package/dist/wcs/{p-810aff71.entry.js → p-c38adf4b.entry.js} +2 -2
- package/dist/wcs/{p-2185bf8b.entry.js → p-c6a8c6f9.entry.js} +2 -2
- package/dist/wcs/p-c9478849.entry.js +2 -0
- package/dist/wcs/p-c9478849.entry.js.map +1 -0
- package/dist/wcs/p-ce3ef5d0.entry.js +2 -0
- package/dist/wcs/p-ce3ef5d0.entry.js.map +1 -0
- package/dist/wcs/{p-54e29233.entry.js → p-ce40b012.entry.js} +2 -2
- package/dist/wcs/{p-54e29233.entry.js.map → p-ce40b012.entry.js.map} +1 -1
- package/dist/wcs/p-d6c482fc.entry.js +2 -0
- package/dist/wcs/p-d6c482fc.entry.js.map +1 -0
- package/dist/wcs/{p-1e43122f.entry.js → p-d84cee70.entry.js} +2 -2
- package/dist/wcs/p-d895b92c.entry.js +16 -0
- package/dist/wcs/p-d895b92c.entry.js.map +1 -0
- package/dist/wcs/p-dca2f42c.entry.js +2 -0
- package/dist/wcs/{p-7519a270.entry.js → p-e0d5908a.entry.js} +2 -2
- package/dist/wcs/{p-a5cd4c07.entry.js → p-e487ff2c.entry.js} +2 -2
- package/dist/wcs/p-e487ff2c.entry.js.map +1 -0
- package/dist/wcs/{p-3b1fc676.entry.js → p-e52c11e4.entry.js} +2 -2
- package/dist/wcs/{p-0ede0c37.entry.js → p-e7661047.entry.js} +2 -2
- package/dist/wcs/p-ea6e33ee.entry.js +2 -0
- package/dist/wcs/{p-cc03627c.entry.js → p-f7ce4e0d.entry.js} +2 -2
- package/dist/wcs/{p-b6160b7c.entry.js → p-faf04401.entry.js} +2 -2
- package/dist/wcs/p-fc1767ae.entry.js +2 -0
- package/dist/wcs/p-fc1767ae.entry.js.map +1 -0
- package/dist/wcs/p-feebc469.entry.js +2 -0
- package/dist/wcs/p-feebc469.entry.js.map +1 -0
- package/dist/wcs/wcs.css +1 -1
- package/dist/wcs/wcs.esm.js +1 -1
- package/dist/wcs/wcs.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/accessibility-e99b032d.js.map +0 -1
- package/dist/cjs/grid-pagination-4b55c908.js +0 -101
- package/dist/cjs/grid-pagination-4b55c908.js.map +0 -1
- package/dist/cjs/helpers-4a14051a.js.map +0 -1
- package/dist/cjs/index-ca67a6dc.js.map +0 -1
- package/dist/cjs/isEqual-9ea7ee49.js.map +0 -1
- package/dist/cjs/wcs-button.cjs.entry.js.map +0 -1
- package/dist/cjs/wcs-spinner.cjs.entry.js +0 -22
- package/dist/cjs/wcs-spinner.cjs.entry.js.map +0 -1
- package/dist/esm/accessibility-ffa12842.js.map +0 -1
- package/dist/esm/grid-pagination-41354861.js +0 -99
- package/dist/esm/grid-pagination-41354861.js.map +0 -1
- package/dist/esm/helpers-1d55b67f.js.map +0 -1
- package/dist/esm/index-dc4d96d4.js.map +0 -1
- package/dist/esm/isEqual-20881bca.js.map +0 -1
- package/dist/esm/wcs-button.entry.js.map +0 -1
- package/dist/esm/wcs-spinner.entry.js +0 -18
- package/dist/esm/wcs-spinner.entry.js.map +0 -1
- package/dist/wcs/p-02b95dbf.entry.js +0 -2
- package/dist/wcs/p-02b95dbf.entry.js.map +0 -1
- package/dist/wcs/p-0f8db386.js +0 -2
- package/dist/wcs/p-0f8db386.js.map +0 -1
- package/dist/wcs/p-17630eea.entry.js +0 -2
- package/dist/wcs/p-1f8c73eb.entry.js.map +0 -1
- package/dist/wcs/p-269d244c.entry.js +0 -2
- package/dist/wcs/p-269d244c.entry.js.map +0 -1
- package/dist/wcs/p-2f63d6c5.entry.js +0 -2
- package/dist/wcs/p-2f63d6c5.entry.js.map +0 -1
- package/dist/wcs/p-39821dd2.entry.js +0 -2
- package/dist/wcs/p-39821dd2.entry.js.map +0 -1
- package/dist/wcs/p-3dc6b507.js +0 -2
- package/dist/wcs/p-3dc6b507.js.map +0 -1
- package/dist/wcs/p-463667c9.entry.js +0 -2
- package/dist/wcs/p-475ac7c5.js +0 -2
- package/dist/wcs/p-475ac7c5.js.map +0 -1
- package/dist/wcs/p-4ffe4539.entry.js +0 -2
- package/dist/wcs/p-4ffe4539.entry.js.map +0 -1
- package/dist/wcs/p-57560d7d.entry.js +0 -2
- package/dist/wcs/p-57560d7d.entry.js.map +0 -1
- package/dist/wcs/p-61cab06f.entry.js +0 -2
- package/dist/wcs/p-61cab06f.entry.js.map +0 -1
- package/dist/wcs/p-627bbb6a.entry.js +0 -2
- package/dist/wcs/p-627bbb6a.entry.js.map +0 -1
- package/dist/wcs/p-6de70331.entry.js +0 -2
- package/dist/wcs/p-6de70331.entry.js.map +0 -1
- package/dist/wcs/p-747a5962.entry.js +0 -2
- package/dist/wcs/p-8181f8cd.js +0 -2
- package/dist/wcs/p-8181f8cd.js.map +0 -1
- package/dist/wcs/p-8c4ed883.entry.js +0 -2
- package/dist/wcs/p-8c4ed883.entry.js.map +0 -1
- package/dist/wcs/p-8d57835f.entry.js +0 -2
- package/dist/wcs/p-8fed8b1c.entry.js +0 -2
- package/dist/wcs/p-8fed8b1c.entry.js.map +0 -1
- package/dist/wcs/p-91b3e4b5.entry.js +0 -2
- package/dist/wcs/p-9910fedd.entry.js +0 -2
- package/dist/wcs/p-9910fedd.entry.js.map +0 -1
- package/dist/wcs/p-9d798de4.entry.js +0 -2
- package/dist/wcs/p-9d798de4.entry.js.map +0 -1
- package/dist/wcs/p-9ecdeaf9.entry.js +0 -2
- package/dist/wcs/p-9ecdeaf9.entry.js.map +0 -1
- package/dist/wcs/p-a2df3a49.js +0 -3
- package/dist/wcs/p-a2df3a49.js.map +0 -1
- package/dist/wcs/p-a5cd4c07.entry.js.map +0 -1
- package/dist/wcs/p-ac106663.entry.js +0 -2
- package/dist/wcs/p-ac106663.entry.js.map +0 -1
- package/dist/wcs/p-cb90bc3a.entry.js +0 -2
- package/dist/wcs/p-cb90bc3a.entry.js.map +0 -1
- package/dist/wcs/p-cdd172b4.entry.js +0 -2
- package/dist/wcs/p-d5a0e271.entry.js +0 -2
- package/dist/wcs/p-d5a0e271.entry.js.map +0 -1
- package/dist/wcs/p-ec84d6fd.entry.js +0 -16
- package/dist/wcs/p-ec84d6fd.entry.js.map +0 -1
- package/dist/wcs/p-ed3132be.entry.js +0 -2
- package/dist/wcs/p-ed3132be.entry.js.map +0 -1
- package/dist/wcs/p-f06f48f3.entry.js.map +0 -1
- package/dist/wcs/p-f20b9024.entry.js +0 -2
- package/dist/wcs/p-f20b9024.entry.js.map +0 -1
- package/dist/wcs/p-f489793d.entry.js.map +0 -1
- /package/dist/wcs/{p-7a3f70da.entry.js.map → p-00f6a79a.entry.js.map} +0 -0
- /package/dist/wcs/{p-ee453b6e.entry.js.map → p-016e4dd9.entry.js.map} +0 -0
- /package/dist/wcs/{p-30d8f9c3.entry.js.map → p-11ab4ffc.entry.js.map} +0 -0
- /package/dist/wcs/{p-dfddec76.entry.js.map → p-17442a2f.entry.js.map} +0 -0
- /package/dist/wcs/{p-d6c3e615.js.map → p-24611014.js.map} +0 -0
- /package/dist/wcs/{p-292ca644.entry.js.map → p-2d62b3dd.entry.js.map} +0 -0
- /package/dist/wcs/{p-d6b3f742.entry.js.map → p-33a5594d.entry.js.map} +0 -0
- /package/dist/wcs/{p-257b15b9.entry.js.map → p-36e83879.entry.js.map} +0 -0
- /package/dist/wcs/{p-7269272f.entry.js.map → p-46184d47.entry.js.map} +0 -0
- /package/dist/wcs/{p-4a9f8e94.entry.js.map → p-46d56c4e.entry.js.map} +0 -0
- /package/dist/wcs/{p-fc3f5b53.entry.js.map → p-4820154c.entry.js.map} +0 -0
- /package/dist/wcs/{p-ff9967eb.entry.js.map → p-4af68f13.entry.js.map} +0 -0
- /package/dist/wcs/{p-50dce764.entry.js.map → p-61b934a7.entry.js.map} +0 -0
- /package/dist/wcs/{p-17630eea.entry.js.map → p-680b107c.entry.js.map} +0 -0
- /package/dist/wcs/{p-d084dd61.entry.js.map → p-88b1cdfe.entry.js.map} +0 -0
- /package/dist/wcs/{p-c7494651.entry.js.map → p-8ff7e463.entry.js.map} +0 -0
- /package/dist/wcs/{p-cfcacc44.entry.js.map → p-914aa964.entry.js.map} +0 -0
- /package/dist/wcs/{p-429bd9fb.entry.js.map → p-9b1c73b3.entry.js.map} +0 -0
- /package/dist/wcs/{p-8d57835f.entry.js.map → p-a3518f66.entry.js.map} +0 -0
- /package/dist/wcs/{p-463667c9.entry.js.map → p-a361d9f1.entry.js.map} +0 -0
- /package/dist/wcs/{p-31a8d23f.entry.js.map → p-a85208ca.entry.js.map} +0 -0
- /package/dist/wcs/{p-d3f1cafe.entry.js.map → p-b91323fc.entry.js.map} +0 -0
- /package/dist/wcs/{p-47d8ece5.entry.js.map → p-bd4029f8.entry.js.map} +0 -0
- /package/dist/wcs/{p-e348058b.entry.js.map → p-bed4e3ce.entry.js.map} +0 -0
- /package/dist/wcs/{p-810aff71.entry.js.map → p-c38adf4b.entry.js.map} +0 -0
- /package/dist/wcs/{p-2185bf8b.entry.js.map → p-c6a8c6f9.entry.js.map} +0 -0
- /package/dist/wcs/{p-1e43122f.entry.js.map → p-d84cee70.entry.js.map} +0 -0
- /package/dist/wcs/{p-747a5962.entry.js.map → p-dca2f42c.entry.js.map} +0 -0
- /package/dist/wcs/{p-7519a270.entry.js.map → p-e0d5908a.entry.js.map} +0 -0
- /package/dist/wcs/{p-3b1fc676.entry.js.map → p-e52c11e4.entry.js.map} +0 -0
- /package/dist/wcs/{p-0ede0c37.entry.js.map → p-e7661047.entry.js.map} +0 -0
- /package/dist/wcs/{p-cdd172b4.entry.js.map → p-ea6e33ee.entry.js.map} +0 -0
- /package/dist/wcs/{p-cc03627c.entry.js.map → p-f7ce4e0d.entry.js.map} +0 -0
- /package/dist/wcs/{p-b6160b7c.entry.js.map → p-faf04401.entry.js.map} +0 -0
|
@@ -5,51 +5,53 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { BadgeColor, BadgeShape } from "./components/badge/badge-interface";
|
|
8
|
+
import { BadgeColor, BadgeShape, BadgeSize } from "./components/badge/badge-interface";
|
|
9
9
|
import { WcsButtonMode, WcsButtonShape, WcsButtonSize, WcsButtonType } from "./components/button/button-interface";
|
|
10
10
|
import { CardMode } from "./components/card/card-interface";
|
|
11
11
|
import { CheckboxChangeEventDetail, CheckboxLabelAlignment } from "./components/checkbox/checkbox-interface";
|
|
12
|
+
import { AriaAttributeName } from "./utils/mutable-aria-attribute";
|
|
12
13
|
import { CategoryOpenedEventDetail, MenuOpenedEventDetail } from "./components/com-nav/com-nav-interface";
|
|
13
14
|
import { CounterChangeEventDetail, WcsCounterSize } from "./components/counter/counter-interface";
|
|
14
15
|
import { WcsDropdownPlacement } from "./components/dropdown/dropdown-interface";
|
|
15
16
|
import { EditableComponentUpdateEvent, EditableFieldType, FormatFn, ValidateFn, WcsEditableFieldSize } from "./components/editable-field/editable-field-interface";
|
|
16
|
-
import { WcsCellFormatter, WcsGridAllRowSelectedEventDetails, WcsGridColumnSortChangeEventDetails, WcsGridPaginationChangeEventDetails,
|
|
17
|
+
import { WcsCellFormatter, WcsGridAllRowSelectedEventDetails, WcsGridColumnSortChangeEventDetails, WcsGridPaginationChangeEventDetails, WcsGridSelectionConfig, WcsGridSelectionEventDetails, WcsSortFn, WcsSortOrder } from "./components/grid/grid-interface";
|
|
17
18
|
import { HorizontalStepClickEvent, HorizontalStepConfig, HorizontalStepperMode } from "./components/horizontal-stepper/horizontal-stepper-interface";
|
|
18
19
|
import { AutocompleteTypes, InputChangeEventDetail, TextFieldTypes, WcsInputSize } from "./components/input/input-interface";
|
|
19
20
|
import { MaterialIconFamily, MaterialIconSize } from "./components/mat-icon/mat-icon-interface";
|
|
20
21
|
import { ModalSize } from "./components/modal/modal-interface";
|
|
21
22
|
import { WcsNativeSelectSize } from "./components/native-select/native-select";
|
|
23
|
+
import { CssTypes, WcsSize } from "./shared-types";
|
|
22
24
|
import { RadioGroupChangeEventDetail, RadioGroupMode } from "./components/radio-group/radio-group-interface";
|
|
23
25
|
import { RadioChosedEvent } from "./components/radio/radio-interface";
|
|
24
|
-
import { SelectChangeEventDetail, WcsSelectSize } from "./components/select/select-interface";
|
|
26
|
+
import { SelectChangeEventDetail, SelectFilerChangeEventDetail, WcsSelectFilterFn, WcsSelectSize } from "./components/select/select-interface";
|
|
25
27
|
import { SelectOptionChosedEvent } from "./components/select-option/select-option-interface";
|
|
26
28
|
import { WcsSkeletonAnimation } from "./components/skeleton/skeleton-interface";
|
|
27
|
-
import { CssTypes } from "./shared-types";
|
|
28
29
|
import { WcsSpinnerMode } from "./components/spinner/spinner-interface";
|
|
29
30
|
import { SwitchChangeEventDetail, SwitchLabelAlignment } from "./components/switch/switch-interface";
|
|
30
31
|
import { WcsTabChangeEvent, WcsTabsAlignment } from "./components/tabs/tabs-interface";
|
|
31
32
|
import { TextareaChangeEventDetail } from "./components/textarea/textarea-interface";
|
|
32
33
|
import { WcsTooltipAppendTo, WcsTooltipPosition } from "./components/tooltip/tooltip-interface";
|
|
33
|
-
export { BadgeColor, BadgeShape } from "./components/badge/badge-interface";
|
|
34
|
+
export { BadgeColor, BadgeShape, BadgeSize } from "./components/badge/badge-interface";
|
|
34
35
|
export { WcsButtonMode, WcsButtonShape, WcsButtonSize, WcsButtonType } from "./components/button/button-interface";
|
|
35
36
|
export { CardMode } from "./components/card/card-interface";
|
|
36
37
|
export { CheckboxChangeEventDetail, CheckboxLabelAlignment } from "./components/checkbox/checkbox-interface";
|
|
38
|
+
export { AriaAttributeName } from "./utils/mutable-aria-attribute";
|
|
37
39
|
export { CategoryOpenedEventDetail, MenuOpenedEventDetail } from "./components/com-nav/com-nav-interface";
|
|
38
40
|
export { CounterChangeEventDetail, WcsCounterSize } from "./components/counter/counter-interface";
|
|
39
41
|
export { WcsDropdownPlacement } from "./components/dropdown/dropdown-interface";
|
|
40
42
|
export { EditableComponentUpdateEvent, EditableFieldType, FormatFn, ValidateFn, WcsEditableFieldSize } from "./components/editable-field/editable-field-interface";
|
|
41
|
-
export { WcsCellFormatter, WcsGridAllRowSelectedEventDetails, WcsGridColumnSortChangeEventDetails, WcsGridPaginationChangeEventDetails,
|
|
43
|
+
export { WcsCellFormatter, WcsGridAllRowSelectedEventDetails, WcsGridColumnSortChangeEventDetails, WcsGridPaginationChangeEventDetails, WcsGridSelectionConfig, WcsGridSelectionEventDetails, WcsSortFn, WcsSortOrder } from "./components/grid/grid-interface";
|
|
42
44
|
export { HorizontalStepClickEvent, HorizontalStepConfig, HorizontalStepperMode } from "./components/horizontal-stepper/horizontal-stepper-interface";
|
|
43
45
|
export { AutocompleteTypes, InputChangeEventDetail, TextFieldTypes, WcsInputSize } from "./components/input/input-interface";
|
|
44
46
|
export { MaterialIconFamily, MaterialIconSize } from "./components/mat-icon/mat-icon-interface";
|
|
45
47
|
export { ModalSize } from "./components/modal/modal-interface";
|
|
46
48
|
export { WcsNativeSelectSize } from "./components/native-select/native-select";
|
|
49
|
+
export { CssTypes, WcsSize } from "./shared-types";
|
|
47
50
|
export { RadioGroupChangeEventDetail, RadioGroupMode } from "./components/radio-group/radio-group-interface";
|
|
48
51
|
export { RadioChosedEvent } from "./components/radio/radio-interface";
|
|
49
|
-
export { SelectChangeEventDetail, WcsSelectSize } from "./components/select/select-interface";
|
|
52
|
+
export { SelectChangeEventDetail, SelectFilerChangeEventDetail, WcsSelectFilterFn, WcsSelectSize } from "./components/select/select-interface";
|
|
50
53
|
export { SelectOptionChosedEvent } from "./components/select-option/select-option-interface";
|
|
51
54
|
export { WcsSkeletonAnimation } from "./components/skeleton/skeleton-interface";
|
|
52
|
-
export { CssTypes } from "./shared-types";
|
|
53
55
|
export { WcsSpinnerMode } from "./components/spinner/spinner-interface";
|
|
54
56
|
export { SwitchChangeEventDetail, SwitchLabelAlignment } from "./components/switch/switch-interface";
|
|
55
57
|
export { WcsTabChangeEvent, WcsTabsAlignment } from "./components/tabs/tabs-interface";
|
|
@@ -107,6 +109,10 @@ export namespace Components {
|
|
|
107
109
|
* Define the shape of the badge
|
|
108
110
|
*/
|
|
109
111
|
"shape": BadgeShape;
|
|
112
|
+
/**
|
|
113
|
+
* Specify the size of the badge.
|
|
114
|
+
*/
|
|
115
|
+
"size": BadgeSize;
|
|
110
116
|
}
|
|
111
117
|
/**
|
|
112
118
|
* Button component, can also be a link when specifying href.
|
|
@@ -178,6 +184,7 @@ export namespace Components {
|
|
|
178
184
|
*/
|
|
179
185
|
"labelAlignment": CheckboxLabelAlignment;
|
|
180
186
|
"name": string;
|
|
187
|
+
"setAriaAttribute": (attr: AriaAttributeName, value: string) => Promise<void>;
|
|
181
188
|
}
|
|
182
189
|
interface WcsComNav {
|
|
183
190
|
/**
|
|
@@ -214,6 +221,10 @@ export namespace Components {
|
|
|
214
221
|
* For larger or specific ranges, please use [wcs-input (type number)](.?path=/docs/components-input--documentation)
|
|
215
222
|
*/
|
|
216
223
|
interface WcsCounter {
|
|
224
|
+
/**
|
|
225
|
+
* Specify whether the counter is disabled or not.
|
|
226
|
+
*/
|
|
227
|
+
"disabled": boolean;
|
|
217
228
|
/**
|
|
218
229
|
* The label of the counter.<br/> e.g. Number of passengers, train carriages, railroad tracks...
|
|
219
230
|
*/
|
|
@@ -226,6 +237,7 @@ export namespace Components {
|
|
|
226
237
|
* The minimum value of the counter. If the value of the min attribute isn't set, then the element has no minimum value.
|
|
227
238
|
*/
|
|
228
239
|
"min"?: number;
|
|
240
|
+
"setAriaAttribute": (attr: AriaAttributeName, value: string) => Promise<void>;
|
|
229
241
|
/**
|
|
230
242
|
* Specify the size (height) of the counter.
|
|
231
243
|
*/
|
|
@@ -241,6 +253,10 @@ export namespace Components {
|
|
|
241
253
|
}
|
|
242
254
|
interface WcsDivider {
|
|
243
255
|
}
|
|
256
|
+
/**
|
|
257
|
+
* The dropdown component use a wcs-button under the hood, so you can use the same css classes as the button to style the
|
|
258
|
+
* dropdown.
|
|
259
|
+
*/
|
|
244
260
|
interface WcsDropdown {
|
|
245
261
|
/**
|
|
246
262
|
* Specifies whether the dropdown button is clickable or not
|
|
@@ -262,11 +278,24 @@ export namespace Components {
|
|
|
262
278
|
* Dropdown's button shape
|
|
263
279
|
*/
|
|
264
280
|
"shape": WcsButtonShape;
|
|
281
|
+
/**
|
|
282
|
+
* Dropdown's button size
|
|
283
|
+
*/
|
|
284
|
+
"size": WcsButtonSize;
|
|
265
285
|
}
|
|
286
|
+
/**
|
|
287
|
+
* You can add a divider between groups of items
|
|
288
|
+
*/
|
|
266
289
|
interface WcsDropdownDivider {
|
|
267
290
|
}
|
|
291
|
+
/**
|
|
292
|
+
* You can add `wcs-dropdown-header` before a group of items to describe it
|
|
293
|
+
*/
|
|
268
294
|
interface WcsDropdownHeader {
|
|
269
295
|
}
|
|
296
|
+
/**
|
|
297
|
+
* You must add `wcs-dropdown-item` to `wcs-dropdown`
|
|
298
|
+
*/
|
|
270
299
|
interface WcsDropdownItem {
|
|
271
300
|
}
|
|
272
301
|
interface WcsEditableField {
|
|
@@ -376,6 +405,14 @@ export namespace Components {
|
|
|
376
405
|
* @csspart [path]-column - CSS part for each column for styling. e.g: first_name-column, email-column
|
|
377
406
|
*/
|
|
378
407
|
interface WcsGridColumn {
|
|
408
|
+
/**
|
|
409
|
+
* This property mustn't be set by hand, it is set by the wcs-grid component to register the column index in a grid in order to move the focus between the grid columns.
|
|
410
|
+
*/
|
|
411
|
+
"columnPosition": number;
|
|
412
|
+
/**
|
|
413
|
+
* This property mustn't be set by hand, it is set by the wcs-grid component to move the focus between grid columns using keyboard.
|
|
414
|
+
*/
|
|
415
|
+
"cursorPosition": {col: number, row: number};
|
|
379
416
|
/**
|
|
380
417
|
* Set to true if using a `wcs-custom-cell` linked to it.
|
|
381
418
|
*/
|
|
@@ -484,7 +521,17 @@ export namespace Components {
|
|
|
484
521
|
"size": 'x5' | 'x75' | '1x' | '1x2' | '1x5' | '1x7' | '2x' | '3x' | '30px' | '50px' | '66px' | '90px' | '96px' | '140px';
|
|
485
522
|
}
|
|
486
523
|
/**
|
|
487
|
-
*
|
|
524
|
+
* The input component is a form control that accepts a single line of text.
|
|
525
|
+
* Implementation mainly inspired from Ionic Input Component.
|
|
526
|
+
* <details>
|
|
527
|
+
* <summary>Accessibility guidelines 💡</summary>
|
|
528
|
+
* > - Provide a `<wcs-label>` next to the input
|
|
529
|
+
* > - Use the `disabled` prop to add the HTML `disabled` attribute to the `input`
|
|
530
|
+
* > - Use the `readonly` prop to add the HTML `readonly` attribute to the `input`
|
|
531
|
+
* > - Use the `autofocus` prop to add the HTML `autofocus` attribute to the `input`. Use it if you want your input focus
|
|
532
|
+
* automatically when the page load
|
|
533
|
+
* > - Adapt the `type` to lets user enter information more easily (_ex: `type="number"` for an input which only accept numbers entry_)
|
|
534
|
+
* </details>
|
|
488
535
|
*/
|
|
489
536
|
interface WcsInput {
|
|
490
537
|
/**
|
|
@@ -587,12 +634,13 @@ export namespace Components {
|
|
|
587
634
|
* If `true`, the user must fill in a value before submitting a form.
|
|
588
635
|
*/
|
|
589
636
|
"required": boolean;
|
|
637
|
+
"setAriaAttribute": (attr: AriaAttributeName, value: string) => Promise<void>;
|
|
590
638
|
/**
|
|
591
639
|
* Sets blur on the native `input` in `wcs-input`. Use this method instead of the global `input.blur()`.
|
|
592
640
|
*/
|
|
593
641
|
"setBlur": () => Promise<void>;
|
|
594
642
|
/**
|
|
595
|
-
* @deprecated use the native focus method instead
|
|
643
|
+
* @deprecated use the native focus method instead Sets focus on the native `input` in `wcs-input`.
|
|
596
644
|
*/
|
|
597
645
|
"setFocus": () => Promise<void>;
|
|
598
646
|
/**
|
|
@@ -651,11 +699,32 @@ export namespace Components {
|
|
|
651
699
|
*/
|
|
652
700
|
"size": MaterialIconSize;
|
|
653
701
|
}
|
|
702
|
+
/**
|
|
703
|
+
* The modal component (also named dialog or popup) is an interface element that appears on top of the page content.
|
|
704
|
+
* Use it to show a message, a confirmation dialog, or any other content like forms.
|
|
705
|
+
* <details>
|
|
706
|
+
* <summary>Accessibility guidelines 💡</summary>
|
|
707
|
+
* > - Modal element has `role="dialog"` and `aria-modal="true"`
|
|
708
|
+
* > - Keyboard navigation is trapped inside the modal
|
|
709
|
+
* > - It is mandatory to set the `modal-trigger-controls-id` to the id of the element that opens the dialog, in order
|
|
710
|
+
* > to focus it upon dialog dismissal.
|
|
711
|
+
* > - The modal can be closed at any time by pressing the Escape key.
|
|
712
|
+
* >
|
|
713
|
+
* > - More info : https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/
|
|
714
|
+
* </details>
|
|
715
|
+
* @cssprop --wcs-modal-max-height - Max height of the main container
|
|
716
|
+
* @cssprop --wcs-modal-overflow-y - Overflow-y of the content
|
|
717
|
+
*/
|
|
654
718
|
interface WcsModal {
|
|
655
719
|
/**
|
|
656
720
|
* Specifies whether the component should hide the actions slot or not
|
|
657
721
|
*/
|
|
658
722
|
"hideActions": boolean;
|
|
723
|
+
/**
|
|
724
|
+
* Specifies which element id controls the modal
|
|
725
|
+
* @private
|
|
726
|
+
*/
|
|
727
|
+
"modalTriggerControlsId": string;
|
|
659
728
|
/**
|
|
660
729
|
* Displays the modal
|
|
661
730
|
*/
|
|
@@ -698,6 +767,7 @@ export namespace Components {
|
|
|
698
767
|
* - It is strongly recommended to use select-native when you don't have to support the multi-selection feature
|
|
699
768
|
*/
|
|
700
769
|
interface WcsNativeSelect {
|
|
770
|
+
"setAriaAttribute": (attr: AriaAttributeName, value: string) => Promise<void>;
|
|
701
771
|
/**
|
|
702
772
|
* The `size` property controls the size of the slotted `select` element by adjusting its padding. There are two possible size options: - 'm': medium size - 'l': large size The default value is 'm'.
|
|
703
773
|
*/
|
|
@@ -720,7 +790,10 @@ export namespace Components {
|
|
|
720
790
|
"text": string;
|
|
721
791
|
}
|
|
722
792
|
/**
|
|
723
|
-
* Component displaying progress as a bar.
|
|
793
|
+
* Component displaying progress as a horizontal bar.
|
|
794
|
+
* @cssprop --wcs-progress-bar-border-radius - Border radius
|
|
795
|
+
* @cssprop --wcs-progress-bar-border-radius-small - Border radius for size small
|
|
796
|
+
* @cssprop --wcs-progress-bar-animation-duration - Animation duration
|
|
724
797
|
*/
|
|
725
798
|
interface WcsProgressBar {
|
|
726
799
|
/**
|
|
@@ -728,17 +801,29 @@ export namespace Components {
|
|
|
728
801
|
*/
|
|
729
802
|
"showLabel": boolean;
|
|
730
803
|
/**
|
|
731
|
-
*
|
|
804
|
+
* Specify the size of the progress bar. m = default, s = smaller
|
|
732
805
|
*/
|
|
733
|
-
"
|
|
806
|
+
"size": Extract<WcsSize, 'm' | 's'>;
|
|
734
807
|
/**
|
|
735
808
|
* The actual value of the progress. Ranging from 0 to 100.
|
|
736
809
|
*/
|
|
737
810
|
"value": number;
|
|
738
811
|
}
|
|
812
|
+
/**
|
|
813
|
+
* The progress-radial component is a circular progress bar that indicates the current completion of a task.
|
|
814
|
+
*/
|
|
739
815
|
interface WcsProgressRadial {
|
|
816
|
+
/**
|
|
817
|
+
* Whether the component should display the % label inside
|
|
818
|
+
*/
|
|
740
819
|
"showLabel": boolean;
|
|
820
|
+
/**
|
|
821
|
+
* The size of the progress radial (in px)
|
|
822
|
+
*/
|
|
741
823
|
"size": number;
|
|
824
|
+
/**
|
|
825
|
+
* The value of the progress radial. Prefer values between 0 and 100.
|
|
826
|
+
*/
|
|
742
827
|
"value": number;
|
|
743
828
|
}
|
|
744
829
|
interface WcsRadio {
|
|
@@ -752,22 +837,28 @@ export namespace Components {
|
|
|
752
837
|
"disabled": boolean;
|
|
753
838
|
"label": string;
|
|
754
839
|
"mode": RadioGroupMode;
|
|
840
|
+
/**
|
|
841
|
+
* Giving every radio button the same name is mandatory to group them
|
|
842
|
+
*/
|
|
755
843
|
"name": string;
|
|
756
844
|
"value": any | any[] | undefined | null;
|
|
757
845
|
}
|
|
758
846
|
interface WcsRadioGroup {
|
|
759
847
|
"mode": RadioGroupMode;
|
|
760
848
|
"name": any;
|
|
849
|
+
"setAriaAttribute": (attr: AriaAttributeName, value: string) => Promise<void>;
|
|
761
850
|
"value": any | any[] | undefined | null;
|
|
762
851
|
}
|
|
763
852
|
/**
|
|
764
|
-
*
|
|
765
|
-
*
|
|
766
|
-
*
|
|
767
|
-
* <wcs-select-option value="1">One</wcs-select-option>
|
|
768
|
-
* </wcs-select>```
|
|
853
|
+
* The select component (also named combobox) is a form component that allows users to select one or more options
|
|
854
|
+
* from a list.
|
|
855
|
+
* Use it with several slotted `wcs-select-option` inside.
|
|
769
856
|
*/
|
|
770
857
|
interface WcsSelect {
|
|
858
|
+
/**
|
|
859
|
+
* If `true`, the select acts as an autocomplete field to filter your results.
|
|
860
|
+
*/
|
|
861
|
+
"autocomplete": boolean;
|
|
771
862
|
/**
|
|
772
863
|
* If `true`, selected items are shown in chips mode.
|
|
773
864
|
*/
|
|
@@ -784,6 +875,10 @@ export namespace Components {
|
|
|
784
875
|
* If `true`, the user cannot interact with the select.
|
|
785
876
|
*/
|
|
786
877
|
"disabled": boolean;
|
|
878
|
+
/**
|
|
879
|
+
* Customizable sort function to change the comparison of values. If not provided, uses the default behavior : `option.textContent.toLowerCase().startsWith(filter.toLowerCase())`
|
|
880
|
+
*/
|
|
881
|
+
"filterFn": WcsSelectFilterFn;
|
|
787
882
|
/**
|
|
788
883
|
* If `true`, the user can select multiple values at once.
|
|
789
884
|
*/
|
|
@@ -800,6 +895,7 @@ export namespace Components {
|
|
|
800
895
|
* The text to display when the select is empty.
|
|
801
896
|
*/
|
|
802
897
|
"placeholder"?: string | null;
|
|
898
|
+
"setAriaAttribute": (attr: AriaAttributeName, value: string) => Promise<void>;
|
|
803
899
|
/**
|
|
804
900
|
* Specify the size (height) of the select.
|
|
805
901
|
*/
|
|
@@ -810,7 +906,7 @@ export namespace Components {
|
|
|
810
906
|
"value"?: any | null;
|
|
811
907
|
}
|
|
812
908
|
/**
|
|
813
|
-
*
|
|
909
|
+
* The select option is a subcomponent of `wcs-select` that represents a single option in a select list.
|
|
814
910
|
*/
|
|
815
911
|
interface WcsSelectOption {
|
|
816
912
|
/**
|
|
@@ -822,16 +918,21 @@ export namespace Components {
|
|
|
822
918
|
*/
|
|
823
919
|
"chipColor"?: string;
|
|
824
920
|
/**
|
|
825
|
-
*
|
|
921
|
+
* Whether this option can be selected.
|
|
826
922
|
*/
|
|
827
923
|
"disabled": boolean;
|
|
828
924
|
/**
|
|
829
|
-
* This property
|
|
925
|
+
* This property mustn't be set by hand, it is used by the `wcs-select` component. Applies a highlight design on the option for autocomplete mode.
|
|
926
|
+
* @ignore
|
|
927
|
+
*/
|
|
928
|
+
"highlighted": boolean;
|
|
929
|
+
/**
|
|
930
|
+
* This property mustn't be set by hand, it is used by the `wcs-select` component. If you want a multiple select, set `multiple` attribute on the parent select instead.
|
|
830
931
|
* @ignore
|
|
831
932
|
*/
|
|
832
933
|
"multiple": boolean;
|
|
833
934
|
/**
|
|
834
|
-
*
|
|
935
|
+
* Whether this option is selected.
|
|
835
936
|
*/
|
|
836
937
|
"selected": boolean;
|
|
837
938
|
/**
|
|
@@ -907,6 +1008,7 @@ export namespace Components {
|
|
|
907
1008
|
*/
|
|
908
1009
|
"labelAlignment": SwitchLabelAlignment;
|
|
909
1010
|
"name": string;
|
|
1011
|
+
"setAriaAttribute": (attr: AriaAttributeName, value: string) => Promise<void>;
|
|
910
1012
|
}
|
|
911
1013
|
/**
|
|
912
1014
|
* Tab content component.
|
|
@@ -917,6 +1019,9 @@ export namespace Components {
|
|
|
917
1019
|
* The header you want to be displayed for this tab.
|
|
918
1020
|
*/
|
|
919
1021
|
"header": string;
|
|
1022
|
+
/**
|
|
1023
|
+
* The id of the tab. It should be unique.
|
|
1024
|
+
*/
|
|
920
1025
|
"itemKey": any;
|
|
921
1026
|
}
|
|
922
1027
|
/**
|
|
@@ -928,6 +1033,9 @@ export namespace Components {
|
|
|
928
1033
|
* <wcs-tab header="Two">More content !</wcs-tab>
|
|
929
1034
|
* </wcs-tabs>
|
|
930
1035
|
* ```
|
|
1036
|
+
* @cssprop --wcs-tabs-width - Width of each tab
|
|
1037
|
+
* @cssprop --wcs-tabs-padding-horizontal - Width of each tab
|
|
1038
|
+
* @cssprop --wcs-tabs-padding-vertical - Vertical padding
|
|
931
1039
|
*/
|
|
932
1040
|
interface WcsTabs {
|
|
933
1041
|
/**
|
|
@@ -955,6 +1063,8 @@ export namespace Components {
|
|
|
955
1063
|
/**
|
|
956
1064
|
* Mainly inspired from Ionic Textarea Component
|
|
957
1065
|
* @cssprop --wcs-textarea-max-height - Max height of the text area component
|
|
1066
|
+
* @cssprop --wcs-textarea-padding-left - Padding left of the text area. Take in consideration the transparent border of 2px around the textarea.
|
|
1067
|
+
* @cssprop --wcs-textarea-padding-right - Padding right of the text area. Take in consideration the transparent border of 2px around the textarea.
|
|
958
1068
|
*/
|
|
959
1069
|
interface WcsTextarea {
|
|
960
1070
|
/**
|
|
@@ -1041,6 +1151,7 @@ export namespace Components {
|
|
|
1041
1151
|
* The number of visible text lines for the control.
|
|
1042
1152
|
*/
|
|
1043
1153
|
"rows"?: number;
|
|
1154
|
+
"setAriaAttribute": (attr: AriaAttributeName, value: string) => Promise<void>;
|
|
1044
1155
|
/**
|
|
1045
1156
|
* Sets blur on the native `textarea` in `wcs-textarea`. Use this method instead of the global `textarea.blur()`.
|
|
1046
1157
|
*/
|
|
@@ -1326,24 +1437,37 @@ declare global {
|
|
|
1326
1437
|
prototype: HTMLWcsDividerElement;
|
|
1327
1438
|
new (): HTMLWcsDividerElement;
|
|
1328
1439
|
};
|
|
1440
|
+
/**
|
|
1441
|
+
* The dropdown component use a wcs-button under the hood, so you can use the same css classes as the button to style the
|
|
1442
|
+
* dropdown.
|
|
1443
|
+
*/
|
|
1329
1444
|
interface HTMLWcsDropdownElement extends Components.WcsDropdown, HTMLStencilElement {
|
|
1330
1445
|
}
|
|
1331
1446
|
var HTMLWcsDropdownElement: {
|
|
1332
1447
|
prototype: HTMLWcsDropdownElement;
|
|
1333
1448
|
new (): HTMLWcsDropdownElement;
|
|
1334
1449
|
};
|
|
1450
|
+
/**
|
|
1451
|
+
* You can add a divider between groups of items
|
|
1452
|
+
*/
|
|
1335
1453
|
interface HTMLWcsDropdownDividerElement extends Components.WcsDropdownDivider, HTMLStencilElement {
|
|
1336
1454
|
}
|
|
1337
1455
|
var HTMLWcsDropdownDividerElement: {
|
|
1338
1456
|
prototype: HTMLWcsDropdownDividerElement;
|
|
1339
1457
|
new (): HTMLWcsDropdownDividerElement;
|
|
1340
1458
|
};
|
|
1459
|
+
/**
|
|
1460
|
+
* You can add `wcs-dropdown-header` before a group of items to describe it
|
|
1461
|
+
*/
|
|
1341
1462
|
interface HTMLWcsDropdownHeaderElement extends Components.WcsDropdownHeader, HTMLStencilElement {
|
|
1342
1463
|
}
|
|
1343
1464
|
var HTMLWcsDropdownHeaderElement: {
|
|
1344
1465
|
prototype: HTMLWcsDropdownHeaderElement;
|
|
1345
1466
|
new (): HTMLWcsDropdownHeaderElement;
|
|
1346
1467
|
};
|
|
1468
|
+
/**
|
|
1469
|
+
* You must add `wcs-dropdown-item` to `wcs-dropdown`
|
|
1470
|
+
*/
|
|
1347
1471
|
interface HTMLWcsDropdownItemElement extends Components.WcsDropdownItem, HTMLStencilElement {
|
|
1348
1472
|
}
|
|
1349
1473
|
var HTMLWcsDropdownItemElement: {
|
|
@@ -1473,7 +1597,17 @@ declare global {
|
|
|
1473
1597
|
new (): HTMLWcsIconElement;
|
|
1474
1598
|
};
|
|
1475
1599
|
/**
|
|
1476
|
-
*
|
|
1600
|
+
* The input component is a form control that accepts a single line of text.
|
|
1601
|
+
* Implementation mainly inspired from Ionic Input Component.
|
|
1602
|
+
* <details>
|
|
1603
|
+
* <summary>Accessibility guidelines 💡</summary>
|
|
1604
|
+
* > - Provide a `<wcs-label>` next to the input
|
|
1605
|
+
* > - Use the `disabled` prop to add the HTML `disabled` attribute to the `input`
|
|
1606
|
+
* > - Use the `readonly` prop to add the HTML `readonly` attribute to the `input`
|
|
1607
|
+
* > - Use the `autofocus` prop to add the HTML `autofocus` attribute to the `input`. Use it if you want your input focus
|
|
1608
|
+
* automatically when the page load
|
|
1609
|
+
* > - Adapt the `type` to lets user enter information more easily (_ex: `type="number"` for an input which only accept numbers entry_)
|
|
1610
|
+
* </details>
|
|
1477
1611
|
*/
|
|
1478
1612
|
interface HTMLWcsInputElement extends Components.WcsInput, HTMLStencilElement {
|
|
1479
1613
|
}
|
|
@@ -1511,6 +1645,22 @@ declare global {
|
|
|
1511
1645
|
prototype: HTMLWcsMatIconElement;
|
|
1512
1646
|
new (): HTMLWcsMatIconElement;
|
|
1513
1647
|
};
|
|
1648
|
+
/**
|
|
1649
|
+
* The modal component (also named dialog or popup) is an interface element that appears on top of the page content.
|
|
1650
|
+
* Use it to show a message, a confirmation dialog, or any other content like forms.
|
|
1651
|
+
* <details>
|
|
1652
|
+
* <summary>Accessibility guidelines 💡</summary>
|
|
1653
|
+
* > - Modal element has `role="dialog"` and `aria-modal="true"`
|
|
1654
|
+
* > - Keyboard navigation is trapped inside the modal
|
|
1655
|
+
* > - It is mandatory to set the `modal-trigger-controls-id` to the id of the element that opens the dialog, in order
|
|
1656
|
+
* > to focus it upon dialog dismissal.
|
|
1657
|
+
* > - The modal can be closed at any time by pressing the Escape key.
|
|
1658
|
+
* >
|
|
1659
|
+
* > - More info : https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/
|
|
1660
|
+
* </details>
|
|
1661
|
+
* @cssprop --wcs-modal-max-height - Max height of the main container
|
|
1662
|
+
* @cssprop --wcs-modal-overflow-y - Overflow-y of the content
|
|
1663
|
+
*/
|
|
1514
1664
|
interface HTMLWcsModalElement extends Components.WcsModal, HTMLStencilElement {
|
|
1515
1665
|
}
|
|
1516
1666
|
var HTMLWcsModalElement: {
|
|
@@ -1560,7 +1710,10 @@ declare global {
|
|
|
1560
1710
|
new (): HTMLWcsNavItemElement;
|
|
1561
1711
|
};
|
|
1562
1712
|
/**
|
|
1563
|
-
* Component displaying progress as a bar.
|
|
1713
|
+
* Component displaying progress as a horizontal bar.
|
|
1714
|
+
* @cssprop --wcs-progress-bar-border-radius - Border radius
|
|
1715
|
+
* @cssprop --wcs-progress-bar-border-radius-small - Border radius for size small
|
|
1716
|
+
* @cssprop --wcs-progress-bar-animation-duration - Animation duration
|
|
1564
1717
|
*/
|
|
1565
1718
|
interface HTMLWcsProgressBarElement extends Components.WcsProgressBar, HTMLStencilElement {
|
|
1566
1719
|
}
|
|
@@ -1568,6 +1721,9 @@ declare global {
|
|
|
1568
1721
|
prototype: HTMLWcsProgressBarElement;
|
|
1569
1722
|
new (): HTMLWcsProgressBarElement;
|
|
1570
1723
|
};
|
|
1724
|
+
/**
|
|
1725
|
+
* The progress-radial component is a circular progress bar that indicates the current completion of a task.
|
|
1726
|
+
*/
|
|
1571
1727
|
interface HTMLWcsProgressRadialElement extends Components.WcsProgressRadial, HTMLStencilElement {
|
|
1572
1728
|
}
|
|
1573
1729
|
var HTMLWcsProgressRadialElement: {
|
|
@@ -1587,11 +1743,9 @@ declare global {
|
|
|
1587
1743
|
new (): HTMLWcsRadioGroupElement;
|
|
1588
1744
|
};
|
|
1589
1745
|
/**
|
|
1590
|
-
*
|
|
1591
|
-
*
|
|
1592
|
-
*
|
|
1593
|
-
* <wcs-select-option value="1">One</wcs-select-option>
|
|
1594
|
-
* </wcs-select>```
|
|
1746
|
+
* The select component (also named combobox) is a form component that allows users to select one or more options
|
|
1747
|
+
* from a list.
|
|
1748
|
+
* Use it with several slotted `wcs-select-option` inside.
|
|
1595
1749
|
*/
|
|
1596
1750
|
interface HTMLWcsSelectElement extends Components.WcsSelect, HTMLStencilElement {
|
|
1597
1751
|
}
|
|
@@ -1600,7 +1754,7 @@ declare global {
|
|
|
1600
1754
|
new (): HTMLWcsSelectElement;
|
|
1601
1755
|
};
|
|
1602
1756
|
/**
|
|
1603
|
-
*
|
|
1757
|
+
* The select option is a subcomponent of `wcs-select` that represents a single option in a select list.
|
|
1604
1758
|
*/
|
|
1605
1759
|
interface HTMLWcsSelectOptionElement extends Components.WcsSelectOption, HTMLStencilElement {
|
|
1606
1760
|
}
|
|
@@ -1667,6 +1821,9 @@ declare global {
|
|
|
1667
1821
|
* <wcs-tab header="Two">More content !</wcs-tab>
|
|
1668
1822
|
* </wcs-tabs>
|
|
1669
1823
|
* ```
|
|
1824
|
+
* @cssprop --wcs-tabs-width - Width of each tab
|
|
1825
|
+
* @cssprop --wcs-tabs-padding-horizontal - Width of each tab
|
|
1826
|
+
* @cssprop --wcs-tabs-padding-vertical - Vertical padding
|
|
1670
1827
|
*/
|
|
1671
1828
|
interface HTMLWcsTabsElement extends Components.WcsTabs, HTMLStencilElement {
|
|
1672
1829
|
}
|
|
@@ -1677,6 +1834,8 @@ declare global {
|
|
|
1677
1834
|
/**
|
|
1678
1835
|
* Mainly inspired from Ionic Textarea Component
|
|
1679
1836
|
* @cssprop --wcs-textarea-max-height - Max height of the text area component
|
|
1837
|
+
* @cssprop --wcs-textarea-padding-left - Padding left of the text area. Take in consideration the transparent border of 2px around the textarea.
|
|
1838
|
+
* @cssprop --wcs-textarea-padding-right - Padding right of the text area. Take in consideration the transparent border of 2px around the textarea.
|
|
1680
1839
|
*/
|
|
1681
1840
|
interface HTMLWcsTextareaElement extends Components.WcsTextarea, HTMLStencilElement {
|
|
1682
1841
|
}
|
|
@@ -1813,6 +1972,10 @@ declare namespace LocalJSX {
|
|
|
1813
1972
|
* Define the shape of the badge
|
|
1814
1973
|
*/
|
|
1815
1974
|
"shape"?: BadgeShape;
|
|
1975
|
+
/**
|
|
1976
|
+
* Specify the size of the badge.
|
|
1977
|
+
*/
|
|
1978
|
+
"size"?: BadgeSize;
|
|
1816
1979
|
}
|
|
1817
1980
|
/**
|
|
1818
1981
|
* Button component, can also be a link when specifying href.
|
|
@@ -1915,6 +2078,10 @@ declare namespace LocalJSX {
|
|
|
1915
2078
|
* For larger or specific ranges, please use [wcs-input (type number)](.?path=/docs/components-input--documentation)
|
|
1916
2079
|
*/
|
|
1917
2080
|
interface WcsCounter {
|
|
2081
|
+
/**
|
|
2082
|
+
* Specify whether the counter is disabled or not.
|
|
2083
|
+
*/
|
|
2084
|
+
"disabled"?: boolean;
|
|
1918
2085
|
/**
|
|
1919
2086
|
* The label of the counter.<br/> e.g. Number of passengers, train carriages, railroad tracks...
|
|
1920
2087
|
*/
|
|
@@ -1950,6 +2117,10 @@ declare namespace LocalJSX {
|
|
|
1950
2117
|
}
|
|
1951
2118
|
interface WcsDivider {
|
|
1952
2119
|
}
|
|
2120
|
+
/**
|
|
2121
|
+
* The dropdown component use a wcs-button under the hood, so you can use the same css classes as the button to style the
|
|
2122
|
+
* dropdown.
|
|
2123
|
+
*/
|
|
1953
2124
|
interface WcsDropdown {
|
|
1954
2125
|
/**
|
|
1955
2126
|
* Specifies whether the dropdown button is clickable or not
|
|
@@ -1971,12 +2142,28 @@ declare namespace LocalJSX {
|
|
|
1971
2142
|
* Dropdown's button shape
|
|
1972
2143
|
*/
|
|
1973
2144
|
"shape"?: WcsButtonShape;
|
|
2145
|
+
/**
|
|
2146
|
+
* Dropdown's button size
|
|
2147
|
+
*/
|
|
2148
|
+
"size"?: WcsButtonSize;
|
|
1974
2149
|
}
|
|
2150
|
+
/**
|
|
2151
|
+
* You can add a divider between groups of items
|
|
2152
|
+
*/
|
|
1975
2153
|
interface WcsDropdownDivider {
|
|
1976
2154
|
}
|
|
2155
|
+
/**
|
|
2156
|
+
* You can add `wcs-dropdown-header` before a group of items to describe it
|
|
2157
|
+
*/
|
|
1977
2158
|
interface WcsDropdownHeader {
|
|
1978
2159
|
}
|
|
2160
|
+
/**
|
|
2161
|
+
* You must add `wcs-dropdown-item` to `wcs-dropdown`
|
|
2162
|
+
*/
|
|
1979
2163
|
interface WcsDropdownItem {
|
|
2164
|
+
/**
|
|
2165
|
+
* Event emitted when the dropdown item is clicked
|
|
2166
|
+
*/
|
|
1980
2167
|
"onWcsDropdownItemClick"?: (event: WcsDropdownItemCustomEvent<void>) => void;
|
|
1981
2168
|
}
|
|
1982
2169
|
interface WcsEditableField {
|
|
@@ -2070,7 +2257,7 @@ declare namespace LocalJSX {
|
|
|
2070
2257
|
/**
|
|
2071
2258
|
* Event emitted when a row is selected or unselected
|
|
2072
2259
|
*/
|
|
2073
|
-
"onWcsGridSelectionChange"?: (event: WcsGridCustomEvent<
|
|
2260
|
+
"onWcsGridSelectionChange"?: (event: WcsGridCustomEvent<WcsGridSelectionEventDetails>) => void;
|
|
2074
2261
|
/**
|
|
2075
2262
|
* Name of the object's key that will be used to display the cells whose `keyValue` attribute matches to the object's value for this key.
|
|
2076
2263
|
*/
|
|
@@ -2220,7 +2407,17 @@ declare namespace LocalJSX {
|
|
|
2220
2407
|
"size"?: 'x5' | 'x75' | '1x' | '1x2' | '1x5' | '1x7' | '2x' | '3x' | '30px' | '50px' | '66px' | '90px' | '96px' | '140px';
|
|
2221
2408
|
}
|
|
2222
2409
|
/**
|
|
2223
|
-
*
|
|
2410
|
+
* The input component is a form control that accepts a single line of text.
|
|
2411
|
+
* Implementation mainly inspired from Ionic Input Component.
|
|
2412
|
+
* <details>
|
|
2413
|
+
* <summary>Accessibility guidelines 💡</summary>
|
|
2414
|
+
* > - Provide a `<wcs-label>` next to the input
|
|
2415
|
+
* > - Use the `disabled` prop to add the HTML `disabled` attribute to the `input`
|
|
2416
|
+
* > - Use the `readonly` prop to add the HTML `readonly` attribute to the `input`
|
|
2417
|
+
* > - Use the `autofocus` prop to add the HTML `autofocus` attribute to the `input`. Use it if you want your input focus
|
|
2418
|
+
* automatically when the page load
|
|
2419
|
+
* > - Adapt the `type` to lets user enter information more easily (_ex: `type="number"` for an input which only accept numbers entry_)
|
|
2420
|
+
* </details>
|
|
2224
2421
|
*/
|
|
2225
2422
|
interface WcsInput {
|
|
2226
2423
|
/**
|
|
@@ -2300,7 +2497,7 @@ declare namespace LocalJSX {
|
|
|
2300
2497
|
*/
|
|
2301
2498
|
"onWcsBlur"?: (event: WcsInputCustomEvent<FocusEvent>) => void;
|
|
2302
2499
|
/**
|
|
2303
|
-
* Emitted when the value has changed.
|
|
2500
|
+
* Emitted when the value has changed. See https://developer.mozilla.org/en-US/docs/Web/Events/change
|
|
2304
2501
|
*/
|
|
2305
2502
|
"onWcsChange"?: (event: WcsInputCustomEvent<InputChangeEventDetail>) => void;
|
|
2306
2503
|
/**
|
|
@@ -2308,7 +2505,7 @@ declare namespace LocalJSX {
|
|
|
2308
2505
|
*/
|
|
2309
2506
|
"onWcsFocus"?: (event: WcsInputCustomEvent<FocusEvent>) => void;
|
|
2310
2507
|
/**
|
|
2311
|
-
* Emitted when a keyboard input occurred.
|
|
2508
|
+
* Emitted when a keyboard input occurred. See https://developer.mozilla.org/en-US/docs/Web/Events/input
|
|
2312
2509
|
*/
|
|
2313
2510
|
"onWcsInput"?: (event: WcsInputCustomEvent<KeyboardEvent>) => void;
|
|
2314
2511
|
/**
|
|
@@ -2387,11 +2584,32 @@ declare namespace LocalJSX {
|
|
|
2387
2584
|
*/
|
|
2388
2585
|
"size"?: MaterialIconSize;
|
|
2389
2586
|
}
|
|
2587
|
+
/**
|
|
2588
|
+
* The modal component (also named dialog or popup) is an interface element that appears on top of the page content.
|
|
2589
|
+
* Use it to show a message, a confirmation dialog, or any other content like forms.
|
|
2590
|
+
* <details>
|
|
2591
|
+
* <summary>Accessibility guidelines 💡</summary>
|
|
2592
|
+
* > - Modal element has `role="dialog"` and `aria-modal="true"`
|
|
2593
|
+
* > - Keyboard navigation is trapped inside the modal
|
|
2594
|
+
* > - It is mandatory to set the `modal-trigger-controls-id` to the id of the element that opens the dialog, in order
|
|
2595
|
+
* > to focus it upon dialog dismissal.
|
|
2596
|
+
* > - The modal can be closed at any time by pressing the Escape key.
|
|
2597
|
+
* >
|
|
2598
|
+
* > - More info : https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/
|
|
2599
|
+
* </details>
|
|
2600
|
+
* @cssprop --wcs-modal-max-height - Max height of the main container
|
|
2601
|
+
* @cssprop --wcs-modal-overflow-y - Overflow-y of the content
|
|
2602
|
+
*/
|
|
2390
2603
|
interface WcsModal {
|
|
2391
2604
|
/**
|
|
2392
2605
|
* Specifies whether the component should hide the actions slot or not
|
|
2393
2606
|
*/
|
|
2394
2607
|
"hideActions"?: boolean;
|
|
2608
|
+
/**
|
|
2609
|
+
* Specifies which element id controls the modal
|
|
2610
|
+
* @private
|
|
2611
|
+
*/
|
|
2612
|
+
"modalTriggerControlsId"?: string;
|
|
2395
2613
|
/**
|
|
2396
2614
|
* Triggered when the user leaves the dialog with the closing button.
|
|
2397
2615
|
*/
|
|
@@ -2456,7 +2674,10 @@ declare namespace LocalJSX {
|
|
|
2456
2674
|
"text"?: string;
|
|
2457
2675
|
}
|
|
2458
2676
|
/**
|
|
2459
|
-
* Component displaying progress as a bar.
|
|
2677
|
+
* Component displaying progress as a horizontal bar.
|
|
2678
|
+
* @cssprop --wcs-progress-bar-border-radius - Border radius
|
|
2679
|
+
* @cssprop --wcs-progress-bar-border-radius-small - Border radius for size small
|
|
2680
|
+
* @cssprop --wcs-progress-bar-animation-duration - Animation duration
|
|
2460
2681
|
*/
|
|
2461
2682
|
interface WcsProgressBar {
|
|
2462
2683
|
/**
|
|
@@ -2464,17 +2685,29 @@ declare namespace LocalJSX {
|
|
|
2464
2685
|
*/
|
|
2465
2686
|
"showLabel"?: boolean;
|
|
2466
2687
|
/**
|
|
2467
|
-
*
|
|
2688
|
+
* Specify the size of the progress bar. m = default, s = smaller
|
|
2468
2689
|
*/
|
|
2469
|
-
"
|
|
2690
|
+
"size"?: Extract<WcsSize, 'm' | 's'>;
|
|
2470
2691
|
/**
|
|
2471
2692
|
* The actual value of the progress. Ranging from 0 to 100.
|
|
2472
2693
|
*/
|
|
2473
2694
|
"value"?: number;
|
|
2474
2695
|
}
|
|
2696
|
+
/**
|
|
2697
|
+
* The progress-radial component is a circular progress bar that indicates the current completion of a task.
|
|
2698
|
+
*/
|
|
2475
2699
|
interface WcsProgressRadial {
|
|
2700
|
+
/**
|
|
2701
|
+
* Whether the component should display the % label inside
|
|
2702
|
+
*/
|
|
2476
2703
|
"showLabel"?: boolean;
|
|
2704
|
+
/**
|
|
2705
|
+
* The size of the progress radial (in px)
|
|
2706
|
+
*/
|
|
2477
2707
|
"size"?: number;
|
|
2708
|
+
/**
|
|
2709
|
+
* The value of the progress radial. Prefer values between 0 and 100.
|
|
2710
|
+
*/
|
|
2478
2711
|
"value"?: number;
|
|
2479
2712
|
}
|
|
2480
2713
|
interface WcsRadio {
|
|
@@ -2488,6 +2721,9 @@ declare namespace LocalJSX {
|
|
|
2488
2721
|
"disabled"?: boolean;
|
|
2489
2722
|
"label"?: string;
|
|
2490
2723
|
"mode"?: RadioGroupMode;
|
|
2724
|
+
/**
|
|
2725
|
+
* Giving every radio button the same name is mandatory to group them
|
|
2726
|
+
*/
|
|
2491
2727
|
"name"?: string;
|
|
2492
2728
|
"onWcsRadioClick"?: (event: WcsRadioCustomEvent<RadioChosedEvent>) => void;
|
|
2493
2729
|
"value"?: any | any[] | undefined | null;
|
|
@@ -2502,13 +2738,15 @@ declare namespace LocalJSX {
|
|
|
2502
2738
|
"value"?: any | any[] | undefined | null;
|
|
2503
2739
|
}
|
|
2504
2740
|
/**
|
|
2505
|
-
*
|
|
2506
|
-
*
|
|
2507
|
-
*
|
|
2508
|
-
* <wcs-select-option value="1">One</wcs-select-option>
|
|
2509
|
-
* </wcs-select>```
|
|
2741
|
+
* The select component (also named combobox) is a form component that allows users to select one or more options
|
|
2742
|
+
* from a list.
|
|
2743
|
+
* Use it with several slotted `wcs-select-option` inside.
|
|
2510
2744
|
*/
|
|
2511
2745
|
interface WcsSelect {
|
|
2746
|
+
/**
|
|
2747
|
+
* If `true`, the select acts as an autocomplete field to filter your results.
|
|
2748
|
+
*/
|
|
2749
|
+
"autocomplete"?: boolean;
|
|
2512
2750
|
/**
|
|
2513
2751
|
* If `true`, selected items are shown in chips mode.
|
|
2514
2752
|
*/
|
|
@@ -2521,6 +2759,10 @@ declare namespace LocalJSX {
|
|
|
2521
2759
|
* If `true`, the user cannot interact with the select.
|
|
2522
2760
|
*/
|
|
2523
2761
|
"disabled"?: boolean;
|
|
2762
|
+
/**
|
|
2763
|
+
* Customizable sort function to change the comparison of values. If not provided, uses the default behavior : `option.textContent.toLowerCase().startsWith(filter.toLowerCase())`
|
|
2764
|
+
*/
|
|
2765
|
+
"filterFn"?: WcsSelectFilterFn;
|
|
2524
2766
|
/**
|
|
2525
2767
|
* If `true`, the user can select multiple values at once.
|
|
2526
2768
|
*/
|
|
@@ -2537,6 +2779,10 @@ declare namespace LocalJSX {
|
|
|
2537
2779
|
* Emitted when the value has changed.
|
|
2538
2780
|
*/
|
|
2539
2781
|
"onWcsChange"?: (event: WcsSelectCustomEvent<SelectChangeEventDetail>) => void;
|
|
2782
|
+
/**
|
|
2783
|
+
* Emitted when the autocomplete filter has changed.
|
|
2784
|
+
*/
|
|
2785
|
+
"onWcsFilterChange"?: (event: WcsSelectCustomEvent<SelectFilerChangeEventDetail>) => void;
|
|
2540
2786
|
/**
|
|
2541
2787
|
* Emitted when the select has focus.
|
|
2542
2788
|
*/
|
|
@@ -2555,7 +2801,7 @@ declare namespace LocalJSX {
|
|
|
2555
2801
|
"value"?: any | null;
|
|
2556
2802
|
}
|
|
2557
2803
|
/**
|
|
2558
|
-
*
|
|
2804
|
+
* The select option is a subcomponent of `wcs-select` that represents a single option in a select list.
|
|
2559
2805
|
*/
|
|
2560
2806
|
interface WcsSelectOption {
|
|
2561
2807
|
/**
|
|
@@ -2567,12 +2813,12 @@ declare namespace LocalJSX {
|
|
|
2567
2813
|
*/
|
|
2568
2814
|
"chipColor"?: string;
|
|
2569
2815
|
/**
|
|
2570
|
-
*
|
|
2816
|
+
* Whether this option can be selected.
|
|
2571
2817
|
*/
|
|
2572
2818
|
"disabled"?: boolean;
|
|
2573
2819
|
"onWcsSelectOptionClick"?: (event: WcsSelectOptionCustomEvent<SelectOptionChosedEvent>) => void;
|
|
2574
2820
|
/**
|
|
2575
|
-
*
|
|
2821
|
+
* Whether this option is selected.
|
|
2576
2822
|
*/
|
|
2577
2823
|
"selected"?: boolean;
|
|
2578
2824
|
/**
|
|
@@ -2662,6 +2908,9 @@ declare namespace LocalJSX {
|
|
|
2662
2908
|
* The header you want to be displayed for this tab.
|
|
2663
2909
|
*/
|
|
2664
2910
|
"header"?: string;
|
|
2911
|
+
/**
|
|
2912
|
+
* The id of the tab. It should be unique.
|
|
2913
|
+
*/
|
|
2665
2914
|
"itemKey"?: any;
|
|
2666
2915
|
/**
|
|
2667
2916
|
* Do not use, meant for internal use only.
|
|
@@ -2679,6 +2928,9 @@ declare namespace LocalJSX {
|
|
|
2679
2928
|
* <wcs-tab header="Two">More content !</wcs-tab>
|
|
2680
2929
|
* </wcs-tabs>
|
|
2681
2930
|
* ```
|
|
2931
|
+
* @cssprop --wcs-tabs-width - Width of each tab
|
|
2932
|
+
* @cssprop --wcs-tabs-padding-horizontal - Width of each tab
|
|
2933
|
+
* @cssprop --wcs-tabs-padding-vertical - Vertical padding
|
|
2682
2934
|
*/
|
|
2683
2935
|
interface WcsTabs {
|
|
2684
2936
|
/**
|
|
@@ -2710,6 +2962,8 @@ declare namespace LocalJSX {
|
|
|
2710
2962
|
/**
|
|
2711
2963
|
* Mainly inspired from Ionic Textarea Component
|
|
2712
2964
|
* @cssprop --wcs-textarea-max-height - Max height of the text area component
|
|
2965
|
+
* @cssprop --wcs-textarea-padding-left - Padding left of the text area. Take in consideration the transparent border of 2px around the textarea.
|
|
2966
|
+
* @cssprop --wcs-textarea-padding-right - Padding right of the text area. Take in consideration the transparent border of 2px around the textarea.
|
|
2713
2967
|
*/
|
|
2714
2968
|
interface WcsTextarea {
|
|
2715
2969
|
/**
|
|
@@ -2769,7 +3023,7 @@ declare namespace LocalJSX {
|
|
|
2769
3023
|
*/
|
|
2770
3024
|
"onWcsBlur"?: (event: WcsTextareaCustomEvent<FocusEvent>) => void;
|
|
2771
3025
|
/**
|
|
2772
|
-
* Emitted when the input value has changed.
|
|
3026
|
+
* Emitted when the input value has changed.- See https://developer.mozilla.org/en-US/docs/Web/Events/change
|
|
2773
3027
|
*/
|
|
2774
3028
|
"onWcsChange"?: (event: WcsTextareaCustomEvent<TextareaChangeEventDetail>) => void;
|
|
2775
3029
|
/**
|
|
@@ -2777,7 +3031,7 @@ declare namespace LocalJSX {
|
|
|
2777
3031
|
*/
|
|
2778
3032
|
"onWcsFocus"?: (event: WcsTextareaCustomEvent<FocusEvent>) => void;
|
|
2779
3033
|
/**
|
|
2780
|
-
* Emitted when a keyboard input occurred.
|
|
3034
|
+
* Emitted when a keyboard input occurred. See https://developer.mozilla.org/en-US/docs/Web/Events/input
|
|
2781
3035
|
*/
|
|
2782
3036
|
"onWcsInput"?: (event: WcsTextareaCustomEvent<KeyboardEvent>) => void;
|
|
2783
3037
|
/**
|
|
@@ -2964,9 +3218,22 @@ declare module "@stencil/core" {
|
|
|
2964
3218
|
*/
|
|
2965
3219
|
"wcs-counter": LocalJSX.WcsCounter & JSXBase.HTMLAttributes<HTMLWcsCounterElement>;
|
|
2966
3220
|
"wcs-divider": LocalJSX.WcsDivider & JSXBase.HTMLAttributes<HTMLWcsDividerElement>;
|
|
3221
|
+
/**
|
|
3222
|
+
* The dropdown component use a wcs-button under the hood, so you can use the same css classes as the button to style the
|
|
3223
|
+
* dropdown.
|
|
3224
|
+
*/
|
|
2967
3225
|
"wcs-dropdown": LocalJSX.WcsDropdown & JSXBase.HTMLAttributes<HTMLWcsDropdownElement>;
|
|
3226
|
+
/**
|
|
3227
|
+
* You can add a divider between groups of items
|
|
3228
|
+
*/
|
|
2968
3229
|
"wcs-dropdown-divider": LocalJSX.WcsDropdownDivider & JSXBase.HTMLAttributes<HTMLWcsDropdownDividerElement>;
|
|
3230
|
+
/**
|
|
3231
|
+
* You can add `wcs-dropdown-header` before a group of items to describe it
|
|
3232
|
+
*/
|
|
2969
3233
|
"wcs-dropdown-header": LocalJSX.WcsDropdownHeader & JSXBase.HTMLAttributes<HTMLWcsDropdownHeaderElement>;
|
|
3234
|
+
/**
|
|
3235
|
+
* You must add `wcs-dropdown-item` to `wcs-dropdown`
|
|
3236
|
+
*/
|
|
2970
3237
|
"wcs-dropdown-item": LocalJSX.WcsDropdownItem & JSXBase.HTMLAttributes<HTMLWcsDropdownItemElement>;
|
|
2971
3238
|
"wcs-editable-field": LocalJSX.WcsEditableField & JSXBase.HTMLAttributes<HTMLWcsEditableFieldElement>;
|
|
2972
3239
|
"wcs-error": LocalJSX.WcsError & JSXBase.HTMLAttributes<HTMLWcsErrorElement>;
|
|
@@ -3006,7 +3273,17 @@ declare module "@stencil/core" {
|
|
|
3006
3273
|
"wcs-horizontal-stepper": LocalJSX.WcsHorizontalStepper & JSXBase.HTMLAttributes<HTMLWcsHorizontalStepperElement>;
|
|
3007
3274
|
"wcs-icon": LocalJSX.WcsIcon & JSXBase.HTMLAttributes<HTMLWcsIconElement>;
|
|
3008
3275
|
/**
|
|
3009
|
-
*
|
|
3276
|
+
* The input component is a form control that accepts a single line of text.
|
|
3277
|
+
* Implementation mainly inspired from Ionic Input Component.
|
|
3278
|
+
* <details>
|
|
3279
|
+
* <summary>Accessibility guidelines 💡</summary>
|
|
3280
|
+
* > - Provide a `<wcs-label>` next to the input
|
|
3281
|
+
* > - Use the `disabled` prop to add the HTML `disabled` attribute to the `input`
|
|
3282
|
+
* > - Use the `readonly` prop to add the HTML `readonly` attribute to the `input`
|
|
3283
|
+
* > - Use the `autofocus` prop to add the HTML `autofocus` attribute to the `input`. Use it if you want your input focus
|
|
3284
|
+
* automatically when the page load
|
|
3285
|
+
* > - Adapt the `type` to lets user enter information more easily (_ex: `type="number"` for an input which only accept numbers entry_)
|
|
3286
|
+
* </details>
|
|
3010
3287
|
*/
|
|
3011
3288
|
"wcs-input": LocalJSX.WcsInput & JSXBase.HTMLAttributes<HTMLWcsInputElement>;
|
|
3012
3289
|
"wcs-label": LocalJSX.WcsLabel & JSXBase.HTMLAttributes<HTMLWcsLabelElement>;
|
|
@@ -3014,6 +3291,22 @@ declare module "@stencil/core" {
|
|
|
3014
3291
|
"wcs-list-item-properties": LocalJSX.WcsListItemProperties & JSXBase.HTMLAttributes<HTMLWcsListItemPropertiesElement>;
|
|
3015
3292
|
"wcs-list-item-property": LocalJSX.WcsListItemProperty & JSXBase.HTMLAttributes<HTMLWcsListItemPropertyElement>;
|
|
3016
3293
|
"wcs-mat-icon": LocalJSX.WcsMatIcon & JSXBase.HTMLAttributes<HTMLWcsMatIconElement>;
|
|
3294
|
+
/**
|
|
3295
|
+
* The modal component (also named dialog or popup) is an interface element that appears on top of the page content.
|
|
3296
|
+
* Use it to show a message, a confirmation dialog, or any other content like forms.
|
|
3297
|
+
* <details>
|
|
3298
|
+
* <summary>Accessibility guidelines 💡</summary>
|
|
3299
|
+
* > - Modal element has `role="dialog"` and `aria-modal="true"`
|
|
3300
|
+
* > - Keyboard navigation is trapped inside the modal
|
|
3301
|
+
* > - It is mandatory to set the `modal-trigger-controls-id` to the id of the element that opens the dialog, in order
|
|
3302
|
+
* > to focus it upon dialog dismissal.
|
|
3303
|
+
* > - The modal can be closed at any time by pressing the Escape key.
|
|
3304
|
+
* >
|
|
3305
|
+
* > - More info : https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/
|
|
3306
|
+
* </details>
|
|
3307
|
+
* @cssprop --wcs-modal-max-height - Max height of the main container
|
|
3308
|
+
* @cssprop --wcs-modal-overflow-y - Overflow-y of the content
|
|
3309
|
+
*/
|
|
3017
3310
|
"wcs-modal": LocalJSX.WcsModal & JSXBase.HTMLAttributes<HTMLWcsModalElement>;
|
|
3018
3311
|
/**
|
|
3019
3312
|
* The `wcs-native-select` component is designed to accept a native `<select>` element as a slotted child. This choice
|
|
@@ -3043,22 +3336,26 @@ declare module "@stencil/core" {
|
|
|
3043
3336
|
"wcs-nav": LocalJSX.WcsNav & JSXBase.HTMLAttributes<HTMLWcsNavElement>;
|
|
3044
3337
|
"wcs-nav-item": LocalJSX.WcsNavItem & JSXBase.HTMLAttributes<HTMLWcsNavItemElement>;
|
|
3045
3338
|
/**
|
|
3046
|
-
* Component displaying progress as a bar.
|
|
3339
|
+
* Component displaying progress as a horizontal bar.
|
|
3340
|
+
* @cssprop --wcs-progress-bar-border-radius - Border radius
|
|
3341
|
+
* @cssprop --wcs-progress-bar-border-radius-small - Border radius for size small
|
|
3342
|
+
* @cssprop --wcs-progress-bar-animation-duration - Animation duration
|
|
3047
3343
|
*/
|
|
3048
3344
|
"wcs-progress-bar": LocalJSX.WcsProgressBar & JSXBase.HTMLAttributes<HTMLWcsProgressBarElement>;
|
|
3345
|
+
/**
|
|
3346
|
+
* The progress-radial component is a circular progress bar that indicates the current completion of a task.
|
|
3347
|
+
*/
|
|
3049
3348
|
"wcs-progress-radial": LocalJSX.WcsProgressRadial & JSXBase.HTMLAttributes<HTMLWcsProgressRadialElement>;
|
|
3050
3349
|
"wcs-radio": LocalJSX.WcsRadio & JSXBase.HTMLAttributes<HTMLWcsRadioElement>;
|
|
3051
3350
|
"wcs-radio-group": LocalJSX.WcsRadioGroup & JSXBase.HTMLAttributes<HTMLWcsRadioGroupElement>;
|
|
3052
3351
|
/**
|
|
3053
|
-
*
|
|
3054
|
-
*
|
|
3055
|
-
*
|
|
3056
|
-
* <wcs-select-option value="1">One</wcs-select-option>
|
|
3057
|
-
* </wcs-select>```
|
|
3352
|
+
* The select component (also named combobox) is a form component that allows users to select one or more options
|
|
3353
|
+
* from a list.
|
|
3354
|
+
* Use it with several slotted `wcs-select-option` inside.
|
|
3058
3355
|
*/
|
|
3059
3356
|
"wcs-select": LocalJSX.WcsSelect & JSXBase.HTMLAttributes<HTMLWcsSelectElement>;
|
|
3060
3357
|
/**
|
|
3061
|
-
*
|
|
3358
|
+
* The select option is a subcomponent of `wcs-select` that represents a single option in a select list.
|
|
3062
3359
|
*/
|
|
3063
3360
|
"wcs-select-option": LocalJSX.WcsSelectOption & JSXBase.HTMLAttributes<HTMLWcsSelectOptionElement>;
|
|
3064
3361
|
/**
|
|
@@ -3090,11 +3387,16 @@ declare module "@stencil/core" {
|
|
|
3090
3387
|
* <wcs-tab header="Two">More content !</wcs-tab>
|
|
3091
3388
|
* </wcs-tabs>
|
|
3092
3389
|
* ```
|
|
3390
|
+
* @cssprop --wcs-tabs-width - Width of each tab
|
|
3391
|
+
* @cssprop --wcs-tabs-padding-horizontal - Width of each tab
|
|
3392
|
+
* @cssprop --wcs-tabs-padding-vertical - Vertical padding
|
|
3093
3393
|
*/
|
|
3094
3394
|
"wcs-tabs": LocalJSX.WcsTabs & JSXBase.HTMLAttributes<HTMLWcsTabsElement>;
|
|
3095
3395
|
/**
|
|
3096
3396
|
* Mainly inspired from Ionic Textarea Component
|
|
3097
3397
|
* @cssprop --wcs-textarea-max-height - Max height of the text area component
|
|
3398
|
+
* @cssprop --wcs-textarea-padding-left - Padding left of the text area. Take in consideration the transparent border of 2px around the textarea.
|
|
3399
|
+
* @cssprop --wcs-textarea-padding-right - Padding right of the text area. Take in consideration the transparent border of 2px around the textarea.
|
|
3098
3400
|
*/
|
|
3099
3401
|
"wcs-textarea": LocalJSX.WcsTextarea & JSXBase.HTMLAttributes<HTMLWcsTextareaElement>;
|
|
3100
3402
|
/**
|