@six-group/ui-library 0.0.0-insider.b85326c → 0.0.0-insider.b9211de
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/{form-control-Ditp8yHw.js → form-control-CX8QRq9v.js} +3 -3
- package/dist/cjs/{form-control-Ditp8yHw.js.map → form-control-CX8QRq9v.js.map} +1 -1
- package/dist/cjs/{index-BKTrCUjx.js → index-C8rK7OAe.js} +19 -11
- package/dist/{esm/index-D0Go1Zjj.js.map → cjs/index-C8rK7OAe.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/six-alert.cjs.entry.js +1 -1
- package/dist/cjs/six-avatar.cjs.entry.js +1 -1
- package/dist/cjs/six-badge.cjs.entry.js +1 -1
- package/dist/cjs/six-breadcrumbs-item.cjs.entry.js +25 -0
- package/dist/cjs/six-breadcrumbs-item.cjs.entry.js.map +1 -0
- package/dist/cjs/six-breadcrumbs-item.entry.cjs.js.map +1 -0
- package/dist/cjs/six-breadcrumbs.cjs.entry.js +73 -0
- package/dist/cjs/six-breadcrumbs.cjs.entry.js.map +1 -0
- package/dist/cjs/six-breadcrumbs.entry.cjs.js.map +1 -0
- package/dist/cjs/six-button.six-spinner.entry.cjs.js.map +1 -0
- package/dist/cjs/{six-button.cjs.entry.js → six-button_2.cjs.entry.js} +56 -5
- package/dist/cjs/six-button_2.cjs.entry.js.map +1 -0
- package/dist/cjs/six-card.cjs.entry.js +2 -2
- package/dist/cjs/six-checkbox_2.cjs.entry.js +6 -6
- package/dist/cjs/six-date.cjs.entry.js +39 -34
- package/dist/cjs/six-date.cjs.entry.js.map +1 -1
- package/dist/cjs/six-date.entry.cjs.js.map +1 -1
- package/dist/cjs/six-datepicker.cjs.entry.js +4 -4
- package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-datepicker.entry.cjs.js.map +1 -1
- package/dist/cjs/six-details.cjs.entry.js +4 -4
- package/dist/cjs/six-dialog.cjs.entry.js +1 -1
- package/dist/cjs/six-drawer.cjs.entry.js +1 -1
- package/dist/cjs/six-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/six-error-page.cjs.entry.js +2 -2
- package/dist/cjs/six-error.cjs.entry.js +2 -2
- package/dist/cjs/six-file-list-item.cjs.entry.js +1 -1
- package/dist/cjs/six-file-list.cjs.entry.js +2 -2
- package/dist/cjs/six-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/six-footer.cjs.entry.js +2 -2
- package/dist/cjs/six-group-label.cjs.entry.js +3 -3
- package/dist/cjs/six-header-dropdown-item.cjs.entry.js +3 -3
- package/dist/cjs/six-header-item.cjs.entry.js +2 -2
- package/dist/cjs/six-header-menu-button.cjs.entry.js +2 -2
- package/dist/cjs/six-header.cjs.entry.js +3 -3
- package/dist/cjs/six-icon-button.cjs.entry.js +4 -4
- package/dist/cjs/six-icon.cjs.entry.js +3 -3
- package/dist/cjs/six-input.cjs.entry.js +2 -2
- package/dist/cjs/six-item-picker.cjs.entry.js +1 -1
- package/dist/cjs/six-language-switcher.cjs.entry.js +1 -1
- package/dist/cjs/six-layout-grid.cjs.entry.js +2 -2
- package/dist/cjs/six-logo.cjs.entry.js +1 -1
- package/dist/cjs/six-main-container.cjs.entry.js +2 -2
- package/dist/cjs/six-menu-divider.cjs.entry.js +2 -2
- package/dist/cjs/six-menu-label.cjs.entry.js +2 -2
- package/dist/cjs/six-picto.cjs.entry.js +2 -2
- package/dist/cjs/six-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/six-progress-ring.cjs.entry.js +2 -2
- package/dist/cjs/six-radio.cjs.entry.js +3 -3
- package/dist/cjs/six-range.cjs.entry.js +4 -4
- package/dist/cjs/six-range.cjs.entry.js.map +1 -1
- package/dist/cjs/six-range.entry.cjs.js.map +1 -1
- package/dist/cjs/six-rating.cjs.entry.js +126 -0
- package/dist/cjs/six-rating.cjs.entry.js.map +1 -0
- package/dist/cjs/six-rating.entry.cjs.js.map +1 -0
- package/dist/cjs/six-root.cjs.entry.js +2 -2
- package/dist/cjs/six-search-field.cjs.entry.js +1 -1
- package/dist/cjs/six-select.cjs.entry.js +2 -2
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js +1 -1
- package/dist/cjs/six-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/six-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/six-stage-indicator.cjs.entry.js +1 -1
- package/dist/cjs/six-switch.cjs.entry.js +4 -4
- package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/six-switch.entry.cjs.js.map +1 -1
- package/dist/cjs/six-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/six-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/six-tab.cjs.entry.js +4 -4
- package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab.entry.cjs.js.map +1 -1
- package/dist/cjs/six-tag.cjs.entry.js +3 -3
- package/dist/cjs/six-textarea.cjs.entry.js +4 -4
- package/dist/cjs/six-tile.cjs.entry.js +6 -6
- package/dist/cjs/six-timepicker.cjs.entry.js +18 -10
- package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-timepicker.entry.cjs.js.map +1 -1
- package/dist/cjs/six-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/ui-library.cjs.js +3 -3
- package/dist/cjs/ui-library.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/six-breadcrumbs/six-breadcrumbs.css +27 -0
- package/dist/collection/components/six-breadcrumbs/six-breadcrumbs.js +109 -0
- package/dist/collection/components/six-breadcrumbs/six-breadcrumbs.js.map +1 -0
- package/dist/collection/components/six-breadcrumbs-item/six-breadcrumbs-item.css +61 -0
- package/dist/collection/components/six-breadcrumbs-item/six-breadcrumbs-item.js +123 -0
- package/dist/collection/components/six-breadcrumbs-item/six-breadcrumbs-item.js.map +1 -0
- package/dist/collection/components/six-button/six-button.js +2 -2
- package/dist/collection/components/six-card/six-card.js +1 -1
- package/dist/collection/components/six-checkbox/six-checkbox.js +2 -2
- package/dist/collection/components/six-date/iso-date.js +32 -0
- package/dist/collection/components/six-date/iso-date.js.map +1 -1
- package/dist/collection/components/six-date/six-date.js +7 -34
- package/dist/collection/components/six-date/six-date.js.map +1 -1
- package/dist/collection/components/six-datepicker/six-datepicker.js +4 -4
- package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
- package/dist/collection/components/six-details/six-details.js +3 -3
- package/dist/collection/components/six-error/six-error.js +1 -1
- package/dist/collection/components/six-error-page/six-error-page.js +1 -1
- package/dist/collection/components/six-file-list/six-file-list.js +1 -1
- package/dist/collection/components/six-footer/six-footer.js +1 -1
- package/dist/collection/components/six-group-label/six-group-label.js +1 -1
- package/dist/collection/components/six-header/six-header.js +2 -2
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +2 -2
- package/dist/collection/components/six-header-item/six-header-item.js +1 -1
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +1 -1
- package/dist/collection/components/six-icon/six-icon.js +2 -2
- package/dist/collection/components/six-icon-button/six-icon-button.js +3 -3
- package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
- package/dist/collection/components/six-main-container/six-main-container.js +1 -1
- package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
- package/dist/collection/components/six-menu-item/six-menu-item.js +2 -2
- package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
- package/dist/collection/components/six-picto/six-picto.js +1 -1
- package/dist/collection/components/six-progress-bar/six-progress-bar.js +3 -3
- package/dist/collection/components/six-progress-ring/six-progress-ring.js +1 -1
- package/dist/collection/components/six-radio/six-radio.js +2 -2
- package/dist/collection/components/six-range/six-range.js +2 -2
- package/dist/collection/components/six-rating/six-rating.css +125 -0
- package/dist/collection/components/six-rating/six-rating.js +432 -0
- package/dist/collection/components/six-rating/six-rating.js.map +1 -0
- package/dist/collection/components/six-root/six-root.js +1 -1
- package/dist/collection/components/six-sidebar/six-sidebar.js +2 -2
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
- package/dist/collection/components/six-switch/six-switch.js +2 -2
- package/dist/collection/components/six-tab/six-tab.css +12 -0
- package/dist/collection/components/six-tab/six-tab.js +2 -2
- package/dist/collection/components/six-tab/six-tab.js.map +1 -1
- package/dist/collection/components/six-tab-panel/six-tab-panel.js +1 -1
- package/dist/collection/components/six-tag/six-tag.js +2 -2
- package/dist/collection/components/six-textarea/six-textarea.js +2 -2
- package/dist/collection/components/six-tile/six-tile.js +5 -5
- package/dist/collection/components/six-timepicker/six-timepicker.js +17 -9
- package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
- package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
- package/dist/components/index.js +7 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-DV46ui1Q.js → p-BB2rei7y.js} +3 -3
- package/dist/components/{p-DV46ui1Q.js.map → p-BB2rei7y.js.map} +1 -1
- package/dist/components/{p-BtNjuUha.js → p-BDCdPEjW.js} +6 -6
- package/dist/components/p-BDCdPEjW.js.map +1 -0
- package/dist/components/{p-Bl7vxyI3.js → p-BKl-wAjt.js} +7 -7
- package/dist/components/{p-Bl7vxyI3.js.map → p-BKl-wAjt.js.map} +1 -1
- package/dist/components/{p-Cr6sHYme.js → p-BLocui1Z.js} +4 -4
- package/dist/components/{p-Cr6sHYme.js.map → p-BLocui1Z.js.map} +1 -1
- package/dist/components/{p-B-XztaHV.js → p-BS2kSSCX.js} +8 -8
- package/dist/components/{p-B-XztaHV.js.map → p-BS2kSSCX.js.map} +1 -1
- package/dist/components/{p-mLQ66WNK.js → p-C12rf0Ka.js} +7 -7
- package/dist/components/{p-mLQ66WNK.js.map → p-C12rf0Ka.js.map} +1 -1
- package/dist/components/{p-D0dsFLio.js → p-C7EO-HRN.js} +24 -16
- package/dist/components/p-C7EO-HRN.js.map +1 -0
- package/dist/components/{p-DXhOme6Y.js → p-CH82uB3t.js} +4 -4
- package/dist/components/{p-DXhOme6Y.js.map → p-CH82uB3t.js.map} +1 -1
- package/dist/components/{p-BxWEEwNO.js → p-CNEhbYaS.js} +6 -6
- package/dist/components/{p-BxWEEwNO.js.map → p-CNEhbYaS.js.map} +1 -1
- package/dist/components/{p-7eUoSVPj.js → p-CVZ589gc.js} +7 -7
- package/dist/components/{p-7eUoSVPj.js.map → p-CVZ589gc.js.map} +1 -1
- package/dist/components/{p-Mse5vRUS.js → p-CdBejqVk.js} +5 -5
- package/dist/components/{p-Mse5vRUS.js.map → p-CdBejqVk.js.map} +1 -1
- package/dist/components/{p-BtF2Ym6T.js → p-D512q9rn.js} +17 -4
- package/dist/components/p-D512q9rn.js.map +1 -0
- package/dist/components/{p-CpcN3YG9.js → p-D7VTCp8h.js} +4 -4
- package/dist/components/{p-CpcN3YG9.js.map → p-D7VTCp8h.js.map} +1 -1
- package/dist/components/{p-CLtU4Br-.js → p-DHpl3Lfk.js} +4 -4
- package/dist/components/{p-CLtU4Br-.js.map → p-DHpl3Lfk.js.map} +1 -1
- package/dist/components/{p-BmW8cpEG.js → p-DIkvCBxr.js} +3 -3
- package/dist/components/{p-BmW8cpEG.js.map → p-DIkvCBxr.js.map} +1 -1
- package/dist/components/{p-eW-dQ-wI.js → p-Dyx3R5VU.js} +7 -7
- package/dist/components/{p-eW-dQ-wI.js.map → p-Dyx3R5VU.js.map} +1 -1
- package/dist/components/{p-CNVkBlqA.js → p-iuKqFOKd.js} +9 -9
- package/dist/components/{p-CNVkBlqA.js.map → p-iuKqFOKd.js.map} +1 -1
- package/dist/components/{p-CYrYPnLQ.js → p-jflTvJ8E.js} +5 -5
- package/dist/components/{p-CYrYPnLQ.js.map → p-jflTvJ8E.js.map} +1 -1
- package/dist/components/six-alert.js +3 -3
- package/dist/components/six-avatar.js +2 -2
- package/dist/components/six-badge.js +1 -1
- package/dist/components/six-breadcrumbs-item.d.ts +11 -0
- package/dist/components/six-breadcrumbs-item.js +58 -0
- package/dist/components/six-breadcrumbs-item.js.map +1 -0
- package/dist/components/six-breadcrumbs.d.ts +11 -0
- package/dist/components/six-breadcrumbs.js +97 -0
- package/dist/components/six-breadcrumbs.js.map +1 -0
- package/dist/components/six-button.js +1 -1
- package/dist/components/six-card.js +2 -2
- package/dist/components/six-checkbox.js +1 -1
- package/dist/components/six-date.js +43 -38
- package/dist/components/six-date.js.map +1 -1
- package/dist/components/six-datepicker.js +9 -9
- package/dist/components/six-datepicker.js.map +1 -1
- package/dist/components/six-details.js +1 -1
- package/dist/components/six-dialog.js +3 -3
- package/dist/components/six-drawer.js +3 -3
- package/dist/components/six-dropdown.js +1 -1
- package/dist/components/six-error-page.js +3 -3
- package/dist/components/six-error.js +1 -1
- package/dist/components/six-file-list-item.js +2 -2
- package/dist/components/six-file-list.js +2 -2
- package/dist/components/six-file-upload.js +4 -4
- package/dist/components/six-footer.js +2 -2
- package/dist/components/six-group-label.js +4 -4
- package/dist/components/six-header-dropdown-item.js +10 -10
- package/dist/components/six-header-item.js +2 -2
- package/dist/components/six-header-menu-button.js +4 -4
- package/dist/components/six-header.js +3 -3
- package/dist/components/six-icon-button.js +1 -1
- package/dist/components/six-icon.js +1 -1
- package/dist/components/six-input.js +1 -1
- package/dist/components/six-item-picker.js +1 -1
- package/dist/components/six-language-switcher.js +1 -1
- package/dist/components/six-layout-grid.js +2 -2
- package/dist/components/six-logo.js +1 -1
- package/dist/components/six-main-container.js +2 -2
- package/dist/components/six-menu-divider.js +2 -2
- package/dist/components/six-menu-item.js +1 -1
- package/dist/components/six-menu-label.js +2 -2
- package/dist/components/six-menu.js +1 -1
- package/dist/components/six-picto.js +1 -1
- package/dist/components/six-progress-bar.js +4 -4
- package/dist/components/six-progress-ring.js +2 -2
- package/dist/components/six-radio.js +3 -3
- package/dist/components/six-range.js +5 -5
- package/dist/components/six-range.js.map +1 -1
- package/dist/components/six-rating.d.ts +11 -0
- package/dist/components/six-rating.js +173 -0
- package/dist/components/six-rating.js.map +1 -0
- package/dist/components/six-root.js +4 -4
- package/dist/components/six-search-field.js +4 -4
- package/dist/components/six-select.js +12 -12
- package/dist/components/six-sidebar-item-group.js +3 -3
- package/dist/components/six-sidebar-item.js +4 -4
- package/dist/components/six-sidebar.js +3 -3
- package/dist/components/six-spinner.js +1 -1
- package/dist/components/six-stage-indicator.js +1 -1
- package/dist/components/six-switch.js +5 -5
- package/dist/components/six-switch.js.map +1 -1
- package/dist/components/six-tab-group.js +3 -3
- package/dist/components/six-tab-panel.js +2 -2
- package/dist/components/six-tab.js +6 -6
- package/dist/components/six-tab.js.map +1 -1
- package/dist/components/six-tag.js +6 -6
- package/dist/components/six-textarea.js +5 -5
- package/dist/components/six-tile.js +9 -9
- package/dist/components/six-timepicker.js +1 -1
- package/dist/components/six-tooltip.js +1 -1
- package/dist/components.json +2975 -646
- package/dist/esm/{form-control-D_uS8E6o.js → form-control-DI6V1ZhR.js} +3 -3
- package/dist/esm/{form-control-D_uS8E6o.js.map → form-control-DI6V1ZhR.js.map} +1 -1
- package/dist/esm/{index-D0Go1Zjj.js → index-JoG9I7EO.js} +19 -11
- package/dist/{cjs/index-BKTrCUjx.js.map → esm/index-JoG9I7EO.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/six-alert.entry.js +1 -1
- package/dist/esm/six-avatar.entry.js +1 -1
- package/dist/esm/six-badge.entry.js +1 -1
- package/dist/esm/six-breadcrumbs-item.entry.js +23 -0
- package/dist/esm/six-breadcrumbs-item.entry.js.map +1 -0
- package/dist/esm/six-breadcrumbs.entry.js +71 -0
- package/dist/esm/six-breadcrumbs.entry.js.map +1 -0
- package/dist/esm/six-button.six-spinner.entry.js.map +1 -0
- package/dist/esm/{six-button.entry.js → six-button_2.entry.js} +56 -6
- package/dist/esm/six-button_2.entry.js.map +1 -0
- package/dist/esm/six-card.entry.js +2 -2
- package/dist/esm/six-checkbox_2.entry.js +6 -6
- package/dist/esm/six-date.entry.js +39 -34
- package/dist/esm/six-date.entry.js.map +1 -1
- package/dist/esm/six-datepicker.entry.js +4 -4
- package/dist/esm/six-datepicker.entry.js.map +1 -1
- package/dist/esm/six-details.entry.js +4 -4
- package/dist/esm/six-dialog.entry.js +1 -1
- package/dist/esm/six-drawer.entry.js +1 -1
- package/dist/esm/six-dropdown_2.entry.js +1 -1
- package/dist/esm/six-error-page.entry.js +2 -2
- package/dist/esm/six-error.entry.js +2 -2
- package/dist/esm/six-file-list-item.entry.js +1 -1
- package/dist/esm/six-file-list.entry.js +2 -2
- package/dist/esm/six-file-upload.entry.js +1 -1
- package/dist/esm/six-footer.entry.js +2 -2
- package/dist/esm/six-group-label.entry.js +3 -3
- package/dist/esm/six-header-dropdown-item.entry.js +3 -3
- package/dist/esm/six-header-item.entry.js +2 -2
- package/dist/esm/six-header-menu-button.entry.js +2 -2
- package/dist/esm/six-header.entry.js +3 -3
- package/dist/esm/six-icon-button.entry.js +4 -4
- package/dist/esm/six-icon.entry.js +3 -3
- package/dist/esm/six-input.entry.js +2 -2
- package/dist/esm/six-item-picker.entry.js +1 -1
- package/dist/esm/six-language-switcher.entry.js +1 -1
- package/dist/esm/six-layout-grid.entry.js +2 -2
- package/dist/esm/six-logo.entry.js +1 -1
- package/dist/esm/six-main-container.entry.js +2 -2
- package/dist/esm/six-menu-divider.entry.js +2 -2
- package/dist/esm/six-menu-label.entry.js +2 -2
- package/dist/esm/six-picto.entry.js +2 -2
- package/dist/esm/six-progress-bar.entry.js +4 -4
- package/dist/esm/six-progress-ring.entry.js +2 -2
- package/dist/esm/six-radio.entry.js +3 -3
- package/dist/esm/six-range.entry.js +4 -4
- package/dist/esm/six-range.entry.js.map +1 -1
- package/dist/esm/six-rating.entry.js +124 -0
- package/dist/esm/six-rating.entry.js.map +1 -0
- package/dist/esm/six-root.entry.js +2 -2
- package/dist/esm/six-search-field.entry.js +1 -1
- package/dist/esm/six-select.entry.js +2 -2
- package/dist/esm/six-sidebar-item-group.entry.js +1 -1
- package/dist/esm/six-sidebar-item.entry.js +3 -3
- package/dist/esm/six-sidebar.entry.js +3 -3
- package/dist/esm/six-stage-indicator.entry.js +1 -1
- package/dist/esm/six-switch.entry.js +4 -4
- package/dist/esm/six-switch.entry.js.map +1 -1
- package/dist/esm/six-tab-group.entry.js +1 -1
- package/dist/esm/six-tab-panel.entry.js +2 -2
- package/dist/esm/six-tab.entry.js +4 -4
- package/dist/esm/six-tab.entry.js.map +1 -1
- package/dist/esm/six-tag.entry.js +3 -3
- package/dist/esm/six-textarea.entry.js +4 -4
- package/dist/esm/six-tile.entry.js +6 -6
- package/dist/esm/six-timepicker.entry.js +18 -10
- package/dist/esm/six-timepicker.entry.js.map +1 -1
- package/dist/esm/six-tooltip.entry.js +3 -3
- package/dist/esm/ui-library.js +4 -4
- package/dist/esm/ui-library.js.map +1 -1
- package/dist/types/components/six-breadcrumbs/six-breadcrumbs.d.ts +20 -0
- package/dist/types/components/six-breadcrumbs-item/six-breadcrumbs-item.d.ts +27 -0
- package/dist/types/components/six-date/iso-date.d.ts +2 -0
- package/dist/types/components/six-datepicker/six-datepicker.d.ts +1 -1
- package/dist/types/components/six-rating/six-rating.d.ts +52 -0
- package/dist/types/components.d.ts +886 -4
- package/dist/types/stencil-public-runtime.d.ts +19 -0
- package/dist/ui-library/{p-95182417.entry.js → p-014f44f4.entry.js} +2 -2
- package/dist/ui-library/p-014f44f4.entry.js.map +1 -0
- package/dist/ui-library/p-05ca516d.entry.js +2 -0
- package/dist/ui-library/{p-73b64625.entry.js → p-06c6b189.entry.js} +2 -2
- package/dist/ui-library/{p-7bdc9f95.entry.js → p-0eb90caf.entry.js} +2 -2
- package/dist/ui-library/{p-4a4a0751.entry.js → p-12a2cc6b.entry.js} +2 -2
- package/dist/ui-library/p-12e7a9e1.entry.js +2 -0
- package/dist/ui-library/p-12e7a9e1.entry.js.map +1 -0
- package/dist/ui-library/{p-6990e5ed.entry.js → p-194037e9.entry.js} +2 -2
- package/dist/ui-library/{p-e91aa04b.entry.js → p-22ad3353.entry.js} +2 -2
- package/dist/ui-library/p-22f924a1.entry.js +2 -0
- package/dist/ui-library/{p-df05b23b.entry.js → p-26219330.entry.js} +2 -2
- package/dist/ui-library/{p-16028bce.entry.js → p-29994dc3.entry.js} +2 -2
- package/dist/ui-library/{p-cc44af70.entry.js → p-29aac7ea.entry.js} +2 -2
- package/dist/ui-library/p-29aac7ea.entry.js.map +1 -0
- package/dist/ui-library/{p-1e4d1252.entry.js → p-2a245a37.entry.js} +2 -2
- package/dist/ui-library/{p-5e70085d.entry.js → p-313177b7.entry.js} +2 -2
- package/dist/ui-library/p-38c51fd1.entry.js +2 -0
- package/dist/ui-library/p-38c51fd1.entry.js.map +1 -0
- package/dist/ui-library/{p-9e8fdf44.entry.js → p-39109b96.entry.js} +2 -2
- package/dist/ui-library/{p-84964501.entry.js → p-3c1285ad.entry.js} +2 -2
- package/dist/ui-library/{p-8fe7ecdd.entry.js → p-3d9e03b5.entry.js} +2 -2
- package/dist/ui-library/{p-7d2f5f44.entry.js → p-4152b371.entry.js} +2 -2
- package/dist/ui-library/{p-81af96f2.entry.js → p-4d9785bd.entry.js} +2 -2
- package/dist/ui-library/p-4decf969.entry.js +2 -0
- package/dist/ui-library/p-4decf969.entry.js.map +1 -0
- package/dist/ui-library/{p-394c1dc0.entry.js → p-54490d28.entry.js} +2 -2
- package/dist/ui-library/{p-6a760300.entry.js → p-56e172e0.entry.js} +2 -2
- package/dist/ui-library/{p-d9640c45.entry.js → p-6607d03a.entry.js} +2 -2
- package/dist/ui-library/{p-baf698e1.entry.js → p-664ddbab.entry.js} +2 -2
- package/dist/ui-library/{p-830ed202.entry.js → p-66b94978.entry.js} +2 -2
- package/dist/ui-library/{p-36a316e0.entry.js → p-66d616e8.entry.js} +2 -2
- package/dist/ui-library/{p-5ed5842b.entry.js → p-6cd4fbd8.entry.js} +2 -2
- package/dist/ui-library/{p-85dbcfb5.entry.js → p-6dd3f54c.entry.js} +2 -2
- package/dist/ui-library/{p-01306147.entry.js → p-70388108.entry.js} +2 -2
- package/dist/ui-library/p-72d3f332.entry.js +2 -0
- package/dist/ui-library/p-72d3f332.entry.js.map +1 -0
- package/dist/ui-library/{p-64377a4b.entry.js → p-7f7413db.entry.js} +2 -2
- package/dist/ui-library/p-7f7413db.entry.js.map +1 -0
- package/dist/ui-library/{p-2992225b.entry.js → p-83d5fa7c.entry.js} +2 -2
- package/dist/ui-library/{p-b8db5638.entry.js → p-8c2edb7f.entry.js} +2 -2
- package/dist/ui-library/{p-19361e9b.entry.js → p-91c195d3.entry.js} +2 -2
- package/dist/ui-library/{p-9f0ed997.entry.js → p-984a1f6d.entry.js} +2 -2
- package/dist/ui-library/p-9b75e009.entry.js +2 -0
- package/dist/ui-library/p-9b75e009.entry.js.map +1 -0
- package/dist/ui-library/{p-d7866617.entry.js → p-9deca0d0.entry.js} +2 -2
- package/dist/ui-library/{p-IBmarOIS.js → p-Dg9366Gk.js} +2 -2
- package/dist/ui-library/{p-IBmarOIS.js.map → p-Dg9366Gk.js.map} +1 -1
- package/dist/ui-library/{p-D0Go1Zjj.js → p-JoG9I7EO.js} +1 -1
- package/dist/ui-library/{p-D0Go1Zjj.js.map → p-JoG9I7EO.js.map} +1 -1
- package/dist/ui-library/{p-97b78889.entry.js → p-a6d7d618.entry.js} +2 -2
- package/dist/ui-library/p-a7f9c92d.entry.js +2 -0
- package/dist/ui-library/{p-79a79513.entry.js.map → p-a7f9c92d.entry.js.map} +1 -1
- package/dist/ui-library/{p-071ed780.entry.js → p-aaea0f73.entry.js} +2 -2
- package/dist/ui-library/{p-c2ec443c.entry.js → p-ab043a8c.entry.js} +2 -2
- package/dist/ui-library/{p-f0f73eef.entry.js → p-b37d9771.entry.js} +2 -2
- package/dist/ui-library/{p-9713ecff.entry.js → p-bea434d1.entry.js} +2 -2
- package/dist/ui-library/p-bea434d1.entry.js.map +1 -0
- package/dist/ui-library/{p-6bb0b9e9.entry.js → p-c47f11e4.entry.js} +2 -2
- package/dist/ui-library/{p-ba68b30c.entry.js → p-ccc7e227.entry.js} +2 -2
- package/dist/ui-library/{p-f38c1d23.entry.js → p-d81265f4.entry.js} +2 -2
- package/dist/ui-library/{p-537a8953.entry.js → p-da5f40ed.entry.js} +2 -2
- package/dist/ui-library/{p-a534a4bc.entry.js → p-df2b8f01.entry.js} +2 -2
- package/dist/ui-library/p-e100aff2.entry.js +2 -0
- package/dist/ui-library/{p-679f1e08.entry.js → p-e8e5445e.entry.js} +2 -2
- package/dist/ui-library/{p-68c50fb7.entry.js → p-e92df84a.entry.js} +2 -2
- package/dist/ui-library/{p-9f77ae55.entry.js → p-ed6625e6.entry.js} +2 -2
- package/dist/ui-library/p-fc2d893f.entry.js +2 -0
- package/dist/ui-library/p-fcd3305f.entry.js +2 -0
- package/dist/ui-library/{p-0d97e592.entry.js.map → p-fcd3305f.entry.js.map} +1 -1
- package/dist/ui-library/p-fd97bc8a.entry.js +2 -0
- package/dist/ui-library/p-fd97bc8a.entry.js.map +1 -0
- package/dist/ui-library/{p-7c438e21.entry.js → p-fe2ef0a4.entry.js} +2 -2
- package/dist/ui-library/six-breadcrumbs-item.entry.esm.js.map +1 -0
- package/dist/ui-library/six-breadcrumbs.entry.esm.js.map +1 -0
- package/dist/ui-library/six-button.six-spinner.entry.esm.js.map +1 -0
- package/dist/ui-library/six-date.entry.esm.js.map +1 -1
- package/dist/ui-library/six-datepicker.entry.esm.js.map +1 -1
- package/dist/ui-library/six-range.entry.esm.js.map +1 -1
- package/dist/ui-library/six-rating.entry.esm.js.map +1 -0
- package/dist/ui-library/six-switch.entry.esm.js.map +1 -1
- package/dist/ui-library/six-tab.entry.esm.js.map +1 -1
- package/dist/ui-library/six-timepicker.entry.esm.js.map +1 -1
- package/dist/ui-library/ui-library.css +1 -1
- package/dist/ui-library/ui-library.esm.js +1 -1
- package/dist/ui-library/ui-library.esm.js.map +1 -1
- package/package.json +7 -8
- package/dist/cjs/six-button.cjs.entry.js.map +0 -1
- package/dist/cjs/six-button.entry.cjs.js.map +0 -1
- package/dist/cjs/six-spinner.cjs.entry.js +0 -58
- package/dist/cjs/six-spinner.cjs.entry.js.map +0 -1
- package/dist/cjs/six-spinner.entry.cjs.js.map +0 -1
- package/dist/components/p-BtF2Ym6T.js.map +0 -1
- package/dist/components/p-BtNjuUha.js.map +0 -1
- package/dist/components/p-D0dsFLio.js.map +0 -1
- package/dist/esm/six-button.entry.js.map +0 -1
- package/dist/esm/six-spinner.entry.js +0 -56
- package/dist/esm/six-spinner.entry.js.map +0 -1
- package/dist/ui-library/p-0d97e592.entry.js +0 -2
- package/dist/ui-library/p-5e5bd309.entry.js +0 -2
- package/dist/ui-library/p-5e5bd309.entry.js.map +0 -1
- package/dist/ui-library/p-64377a4b.entry.js.map +0 -1
- package/dist/ui-library/p-695e450e.entry.js +0 -2
- package/dist/ui-library/p-6d212bc0.entry.js +0 -2
- package/dist/ui-library/p-79a79513.entry.js +0 -2
- package/dist/ui-library/p-868fab98.entry.js +0 -2
- package/dist/ui-library/p-95182417.entry.js.map +0 -1
- package/dist/ui-library/p-9713ecff.entry.js.map +0 -1
- package/dist/ui-library/p-9b1c8a24.entry.js +0 -2
- package/dist/ui-library/p-9b1c8a24.entry.js.map +0 -1
- package/dist/ui-library/p-cc44af70.entry.js.map +0 -1
- package/dist/ui-library/p-d1bd67af.entry.js +0 -2
- package/dist/ui-library/p-d1bd67af.entry.js.map +0 -1
- package/dist/ui-library/p-f4e2ddfc.entry.js +0 -2
- package/dist/ui-library/p-f585a5ab.entry.js +0 -2
- package/dist/ui-library/p-f585a5ab.entry.js.map +0 -1
- package/dist/ui-library/six-button.entry.esm.js.map +0 -1
- package/dist/ui-library/six-spinner.entry.esm.js.map +0 -1
- /package/dist/ui-library/{p-695e450e.entry.js.map → p-05ca516d.entry.js.map} +0 -0
- /package/dist/ui-library/{p-73b64625.entry.js.map → p-06c6b189.entry.js.map} +0 -0
- /package/dist/ui-library/{p-7bdc9f95.entry.js.map → p-0eb90caf.entry.js.map} +0 -0
- /package/dist/ui-library/{p-4a4a0751.entry.js.map → p-12a2cc6b.entry.js.map} +0 -0
- /package/dist/ui-library/{p-6990e5ed.entry.js.map → p-194037e9.entry.js.map} +0 -0
- /package/dist/ui-library/{p-e91aa04b.entry.js.map → p-22ad3353.entry.js.map} +0 -0
- /package/dist/ui-library/{p-f4e2ddfc.entry.js.map → p-22f924a1.entry.js.map} +0 -0
- /package/dist/ui-library/{p-df05b23b.entry.js.map → p-26219330.entry.js.map} +0 -0
- /package/dist/ui-library/{p-16028bce.entry.js.map → p-29994dc3.entry.js.map} +0 -0
- /package/dist/ui-library/{p-1e4d1252.entry.js.map → p-2a245a37.entry.js.map} +0 -0
- /package/dist/ui-library/{p-5e70085d.entry.js.map → p-313177b7.entry.js.map} +0 -0
- /package/dist/ui-library/{p-9e8fdf44.entry.js.map → p-39109b96.entry.js.map} +0 -0
- /package/dist/ui-library/{p-84964501.entry.js.map → p-3c1285ad.entry.js.map} +0 -0
- /package/dist/ui-library/{p-8fe7ecdd.entry.js.map → p-3d9e03b5.entry.js.map} +0 -0
- /package/dist/ui-library/{p-7d2f5f44.entry.js.map → p-4152b371.entry.js.map} +0 -0
- /package/dist/ui-library/{p-81af96f2.entry.js.map → p-4d9785bd.entry.js.map} +0 -0
- /package/dist/ui-library/{p-394c1dc0.entry.js.map → p-54490d28.entry.js.map} +0 -0
- /package/dist/ui-library/{p-6a760300.entry.js.map → p-56e172e0.entry.js.map} +0 -0
- /package/dist/ui-library/{p-d9640c45.entry.js.map → p-6607d03a.entry.js.map} +0 -0
- /package/dist/ui-library/{p-baf698e1.entry.js.map → p-664ddbab.entry.js.map} +0 -0
- /package/dist/ui-library/{p-830ed202.entry.js.map → p-66b94978.entry.js.map} +0 -0
- /package/dist/ui-library/{p-36a316e0.entry.js.map → p-66d616e8.entry.js.map} +0 -0
- /package/dist/ui-library/{p-5ed5842b.entry.js.map → p-6cd4fbd8.entry.js.map} +0 -0
- /package/dist/ui-library/{p-85dbcfb5.entry.js.map → p-6dd3f54c.entry.js.map} +0 -0
- /package/dist/ui-library/{p-01306147.entry.js.map → p-70388108.entry.js.map} +0 -0
- /package/dist/ui-library/{p-2992225b.entry.js.map → p-83d5fa7c.entry.js.map} +0 -0
- /package/dist/ui-library/{p-b8db5638.entry.js.map → p-8c2edb7f.entry.js.map} +0 -0
- /package/dist/ui-library/{p-19361e9b.entry.js.map → p-91c195d3.entry.js.map} +0 -0
- /package/dist/ui-library/{p-9f0ed997.entry.js.map → p-984a1f6d.entry.js.map} +0 -0
- /package/dist/ui-library/{p-d7866617.entry.js.map → p-9deca0d0.entry.js.map} +0 -0
- /package/dist/ui-library/{p-97b78889.entry.js.map → p-a6d7d618.entry.js.map} +0 -0
- /package/dist/ui-library/{p-071ed780.entry.js.map → p-aaea0f73.entry.js.map} +0 -0
- /package/dist/ui-library/{p-c2ec443c.entry.js.map → p-ab043a8c.entry.js.map} +0 -0
- /package/dist/ui-library/{p-f0f73eef.entry.js.map → p-b37d9771.entry.js.map} +0 -0
- /package/dist/ui-library/{p-6bb0b9e9.entry.js.map → p-c47f11e4.entry.js.map} +0 -0
- /package/dist/ui-library/{p-ba68b30c.entry.js.map → p-ccc7e227.entry.js.map} +0 -0
- /package/dist/ui-library/{p-f38c1d23.entry.js.map → p-d81265f4.entry.js.map} +0 -0
- /package/dist/ui-library/{p-537a8953.entry.js.map → p-da5f40ed.entry.js.map} +0 -0
- /package/dist/ui-library/{p-a534a4bc.entry.js.map → p-df2b8f01.entry.js.map} +0 -0
- /package/dist/ui-library/{p-6d212bc0.entry.js.map → p-e100aff2.entry.js.map} +0 -0
- /package/dist/ui-library/{p-679f1e08.entry.js.map → p-e8e5445e.entry.js.map} +0 -0
- /package/dist/ui-library/{p-68c50fb7.entry.js.map → p-e92df84a.entry.js.map} +0 -0
- /package/dist/ui-library/{p-9f77ae55.entry.js.map → p-ed6625e6.entry.js.map} +0 -0
- /package/dist/ui-library/{p-868fab98.entry.js.map → p-fc2d893f.entry.js.map} +0 -0
- /package/dist/ui-library/{p-7c438e21.entry.js.map → p-fe2ef0a4.entry.js.map} +0 -0
|
@@ -60,10 +60,12 @@ export namespace Components {
|
|
|
60
60
|
interface SixAlert {
|
|
61
61
|
/**
|
|
62
62
|
* Set to true to make the alert closable.
|
|
63
|
+
* @default false
|
|
63
64
|
*/
|
|
64
65
|
"closable": boolean;
|
|
65
66
|
/**
|
|
66
67
|
* The length of time, in milliseconds, the alert will show before closing itself. If the user hovers over the toast alert, the timer will pause. On leaving the element with the mouse, the timer resets.
|
|
68
|
+
* @default Infinity
|
|
67
69
|
*/
|
|
68
70
|
"duration": number;
|
|
69
71
|
/**
|
|
@@ -72,6 +74,7 @@ export namespace Components {
|
|
|
72
74
|
"hide": () => Promise<void>;
|
|
73
75
|
/**
|
|
74
76
|
* Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.
|
|
77
|
+
* @default false
|
|
75
78
|
*/
|
|
76
79
|
"open": boolean;
|
|
77
80
|
/**
|
|
@@ -85,6 +88,7 @@ export namespace Components {
|
|
|
85
88
|
"toast": (adjustPosition?: boolean) => Promise<void>;
|
|
86
89
|
/**
|
|
87
90
|
* The type of alert.
|
|
91
|
+
* @default 'primary'
|
|
88
92
|
*/
|
|
89
93
|
"type": AlertType;
|
|
90
94
|
}
|
|
@@ -96,18 +100,22 @@ export namespace Components {
|
|
|
96
100
|
interface SixAvatar {
|
|
97
101
|
/**
|
|
98
102
|
* Alternative text for the image.
|
|
103
|
+
* @default ''
|
|
99
104
|
*/
|
|
100
105
|
"alt": string;
|
|
101
106
|
/**
|
|
102
107
|
* The image source to use for the avatar.
|
|
108
|
+
* @default ''
|
|
103
109
|
*/
|
|
104
110
|
"image": string;
|
|
105
111
|
/**
|
|
106
112
|
* Initials to use as a fallback when no image is available (1-2 characters max recommended).
|
|
113
|
+
* @default ''
|
|
107
114
|
*/
|
|
108
115
|
"initials": string;
|
|
109
116
|
/**
|
|
110
117
|
* The shape of the avatar.
|
|
118
|
+
* @default 'circle'
|
|
111
119
|
*/
|
|
112
120
|
"shape": 'circle' | 'square' | 'rounded';
|
|
113
121
|
}
|
|
@@ -119,17 +127,57 @@ export namespace Components {
|
|
|
119
127
|
interface SixBadge {
|
|
120
128
|
/**
|
|
121
129
|
* Set to true to draw a pill-style badge with rounded edges.
|
|
130
|
+
* @default false
|
|
122
131
|
*/
|
|
123
132
|
"pill": boolean;
|
|
124
133
|
/**
|
|
125
134
|
* Set to true to make the badge pulsate to draw attention.
|
|
135
|
+
* @default false
|
|
126
136
|
*/
|
|
127
137
|
"pulse": boolean;
|
|
128
138
|
/**
|
|
129
139
|
* The badge's type.
|
|
140
|
+
* @default 'primary'
|
|
130
141
|
*/
|
|
131
142
|
"type": 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'action';
|
|
132
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.
|
|
146
|
+
* @since 5.0
|
|
147
|
+
* @status beta
|
|
148
|
+
*/
|
|
149
|
+
interface SixBreadcrumbs {
|
|
150
|
+
/**
|
|
151
|
+
* Defines an icon as a separator without having to place a slot *
|
|
152
|
+
* @default ''
|
|
153
|
+
*/
|
|
154
|
+
"separatorIcon": string;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Breadcrumb items are used inside breadcrumbs to represent different links.
|
|
158
|
+
* @since 5.0
|
|
159
|
+
* @status beta
|
|
160
|
+
*/
|
|
161
|
+
interface SixBreadcrumbsItem {
|
|
162
|
+
/**
|
|
163
|
+
* When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
|
|
164
|
+
*/
|
|
165
|
+
"href"?: string;
|
|
166
|
+
/**
|
|
167
|
+
* Set to true to readonly the breadcrumb item.
|
|
168
|
+
* @default false
|
|
169
|
+
*/
|
|
170
|
+
"readonly": boolean;
|
|
171
|
+
/**
|
|
172
|
+
* The breadcrumbs item size.
|
|
173
|
+
* @default 'medium'
|
|
174
|
+
*/
|
|
175
|
+
"size": 'small' | 'medium' | 'large';
|
|
176
|
+
/**
|
|
177
|
+
* Tells the browser where to open the link. Only used when `href` is set.
|
|
178
|
+
*/
|
|
179
|
+
"target"?: '_blank' | '_parent' | '_self' | '_top';
|
|
180
|
+
}
|
|
133
181
|
/**
|
|
134
182
|
* @since 1.0
|
|
135
183
|
* @status stable
|
|
@@ -138,14 +186,17 @@ export namespace Components {
|
|
|
138
186
|
interface SixButton {
|
|
139
187
|
/**
|
|
140
188
|
* Set to true to draw the button with a caret for use with dropdowns, popovers, etc.
|
|
189
|
+
* @default false
|
|
141
190
|
*/
|
|
142
191
|
"caret": boolean;
|
|
143
192
|
/**
|
|
144
193
|
* Set to true to draw a circle button.
|
|
194
|
+
* @default false
|
|
145
195
|
*/
|
|
146
196
|
"circle": boolean;
|
|
147
197
|
/**
|
|
148
198
|
* Set to true to disable the button.
|
|
199
|
+
* @default false
|
|
149
200
|
*/
|
|
150
201
|
"disabled": boolean;
|
|
151
202
|
/**
|
|
@@ -158,14 +209,17 @@ export namespace Components {
|
|
|
158
209
|
"href"?: string;
|
|
159
210
|
/**
|
|
160
211
|
* Set to true to draw the button in a loading state.
|
|
212
|
+
* @default false
|
|
161
213
|
*/
|
|
162
214
|
"loading": boolean;
|
|
163
215
|
/**
|
|
164
216
|
* An optional name for the button. Ignored when `href` is set.
|
|
217
|
+
* @default ''
|
|
165
218
|
*/
|
|
166
219
|
"name": string;
|
|
167
220
|
/**
|
|
168
221
|
* Set to true to draw a pill-style button with rounded edges.
|
|
222
|
+
* @default false
|
|
169
223
|
*/
|
|
170
224
|
"pill": boolean;
|
|
171
225
|
/**
|
|
@@ -174,6 +228,7 @@ export namespace Components {
|
|
|
174
228
|
"removeFocus": () => Promise<void>;
|
|
175
229
|
/**
|
|
176
230
|
* Indicates if activating the button should reset the form.
|
|
231
|
+
* @default false
|
|
177
232
|
*/
|
|
178
233
|
"reset": boolean;
|
|
179
234
|
/**
|
|
@@ -182,10 +237,12 @@ export namespace Components {
|
|
|
182
237
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
183
238
|
/**
|
|
184
239
|
* The button's size.
|
|
240
|
+
* @default 'medium'
|
|
185
241
|
*/
|
|
186
242
|
"size": 'small' | 'medium' | 'large';
|
|
187
243
|
/**
|
|
188
244
|
* Indicates if activating the button should submit the form. Ignored when `href` is set.
|
|
245
|
+
* @default false
|
|
189
246
|
*/
|
|
190
247
|
"submit": boolean;
|
|
191
248
|
/**
|
|
@@ -194,6 +251,7 @@ export namespace Components {
|
|
|
194
251
|
"target"?: '_blank' | '_parent' | '_self' | '_top';
|
|
195
252
|
/**
|
|
196
253
|
* The button's type.
|
|
254
|
+
* @default 'primary'
|
|
197
255
|
*/
|
|
198
256
|
"type": | 'secondary'
|
|
199
257
|
| 'primary'
|
|
@@ -205,6 +263,7 @@ export namespace Components {
|
|
|
205
263
|
| 'action-outline';
|
|
206
264
|
/**
|
|
207
265
|
* An optional value for the button. Ignored when `href` is set.
|
|
266
|
+
* @default ''
|
|
208
267
|
*/
|
|
209
268
|
"value": string;
|
|
210
269
|
}
|
|
@@ -222,14 +281,17 @@ export namespace Components {
|
|
|
222
281
|
interface SixCheckbox {
|
|
223
282
|
/**
|
|
224
283
|
* Set to true to draw the checkbox in a checked state.
|
|
284
|
+
* @default false
|
|
225
285
|
*/
|
|
226
286
|
"checked": boolean;
|
|
227
287
|
/**
|
|
228
288
|
* Set to true to disable the checkbox.
|
|
289
|
+
* @default false
|
|
229
290
|
*/
|
|
230
291
|
"disabled": boolean;
|
|
231
292
|
/**
|
|
232
293
|
* The error message shown, if `invalid` is set to true.
|
|
294
|
+
* @default ''
|
|
233
295
|
*/
|
|
234
296
|
"errorText": string | string[];
|
|
235
297
|
/**
|
|
@@ -238,18 +300,22 @@ export namespace Components {
|
|
|
238
300
|
"errorTextCount"?: number;
|
|
239
301
|
/**
|
|
240
302
|
* Set to true to draw the checkbox in an indeterminate state.
|
|
303
|
+
* @default false
|
|
241
304
|
*/
|
|
242
305
|
"indeterminate": boolean;
|
|
243
306
|
/**
|
|
244
307
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
308
|
+
* @default false
|
|
245
309
|
*/
|
|
246
310
|
"invalid": boolean;
|
|
247
311
|
/**
|
|
248
312
|
* The label text.
|
|
313
|
+
* @default ''
|
|
249
314
|
*/
|
|
250
315
|
"label": string;
|
|
251
316
|
/**
|
|
252
317
|
* The checkbox's name attribute.
|
|
318
|
+
* @default ''
|
|
253
319
|
*/
|
|
254
320
|
"name": string;
|
|
255
321
|
/**
|
|
@@ -258,6 +324,7 @@ export namespace Components {
|
|
|
258
324
|
"removeFocus": () => Promise<void>;
|
|
259
325
|
/**
|
|
260
326
|
* Set to true to show an asterisk beneath the label.
|
|
327
|
+
* @default false
|
|
261
328
|
*/
|
|
262
329
|
"required": boolean;
|
|
263
330
|
/**
|
|
@@ -266,6 +333,7 @@ export namespace Components {
|
|
|
266
333
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
267
334
|
/**
|
|
268
335
|
* The value of the checkbox does not mean if it's checked or not, use the `checked` property for that. The value of a checkbox is analogous to the value of an `<input type="checkbox">`, it's only used when the checkbox participates in a native `<form>`.
|
|
336
|
+
* @default 'on'
|
|
269
337
|
*/
|
|
270
338
|
"value": string;
|
|
271
339
|
}
|
|
@@ -277,22 +345,27 @@ export namespace Components {
|
|
|
277
345
|
interface SixDate {
|
|
278
346
|
/**
|
|
279
347
|
* Callback to determine which dates in the picker should be selectable.
|
|
348
|
+
* @default () => true
|
|
280
349
|
*/
|
|
281
350
|
"allowedDates": (date: string) => boolean;
|
|
282
351
|
/**
|
|
283
352
|
* Set to true to add a clear button when the input is populated.
|
|
353
|
+
* @default false
|
|
284
354
|
*/
|
|
285
355
|
"clearable": boolean;
|
|
286
356
|
/**
|
|
287
357
|
* Defines the format pattern for displaying dates and how dates can be entered via keyboard. The parser accepts flexible input that doesn't strictly match the format pattern. Input with missing leading zeros or incomplete years will be automatically normalized. For example, with the pattern "dd.MM.yyyy": "1.1.2025" becomes "01.01.2025" and "1.1.225" becomes "01.01.0225". Defaults to "dd.MM.yyyy". Available patterns: - Year: "yyyy" (e.g., "2021") - Month: "MM" (e.g., "01" for January) or "M" (e.g., "1" for January) - Day: "dd" (e.g., "08" for the 8th) or "d" (e.g., "8" for the 8th) Examples: - "dd.MM.yyyy" -> "31.01.2024" - "yyyy-MM-dd" -> "2024-01-31" - "d.M.yyyy" -> "31.1.2024"
|
|
358
|
+
* @default 'dd.MM.yyyy'
|
|
288
359
|
*/
|
|
289
360
|
"dateFormat": string;
|
|
290
361
|
/**
|
|
291
362
|
* If `true` the component is disabled.
|
|
363
|
+
* @default false
|
|
292
364
|
*/
|
|
293
365
|
"disabled": boolean;
|
|
294
366
|
/**
|
|
295
367
|
* The error message shown, if `invalid` is set to true.
|
|
368
|
+
* @default ''
|
|
296
369
|
*/
|
|
297
370
|
"errorText": string | string[];
|
|
298
371
|
/**
|
|
@@ -301,18 +374,22 @@ export namespace Components {
|
|
|
301
374
|
"errorTextCount"?: number;
|
|
302
375
|
/**
|
|
303
376
|
* The input's help text. Alternatively, you can use the help-text slot.
|
|
377
|
+
* @default ''
|
|
304
378
|
*/
|
|
305
379
|
"helpText": string;
|
|
306
380
|
/**
|
|
307
381
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
382
|
+
* @default false
|
|
308
383
|
*/
|
|
309
384
|
"invalid": boolean;
|
|
310
385
|
/**
|
|
311
386
|
* The label text.
|
|
387
|
+
* @default ''
|
|
312
388
|
*/
|
|
313
389
|
"label": string;
|
|
314
390
|
/**
|
|
315
391
|
* The language used to render the weekdays and months.
|
|
392
|
+
* @default 'en'
|
|
316
393
|
*/
|
|
317
394
|
"language": Language;
|
|
318
395
|
/**
|
|
@@ -325,6 +402,7 @@ export namespace Components {
|
|
|
325
402
|
"min"?: string;
|
|
326
403
|
/**
|
|
327
404
|
* The input's name attribute.
|
|
405
|
+
* @default ''
|
|
328
406
|
*/
|
|
329
407
|
"name": string;
|
|
330
408
|
/**
|
|
@@ -333,10 +411,12 @@ export namespace Components {
|
|
|
333
411
|
"placeholder"?: string;
|
|
334
412
|
/**
|
|
335
413
|
* If `true` the user can only select a date via the component in the popup but not directly edit the input field.
|
|
414
|
+
* @default false
|
|
336
415
|
*/
|
|
337
416
|
"readonly": boolean;
|
|
338
417
|
/**
|
|
339
418
|
* Set to true to show an asterisk beneath the label.
|
|
419
|
+
* @default false
|
|
340
420
|
*/
|
|
341
421
|
"required": boolean;
|
|
342
422
|
/**
|
|
@@ -345,28 +425,33 @@ export namespace Components {
|
|
|
345
425
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
346
426
|
/**
|
|
347
427
|
* The size of the date input field.
|
|
428
|
+
* @default 'medium'
|
|
348
429
|
*/
|
|
349
430
|
"size": 'small' | 'medium' | 'large';
|
|
350
431
|
/**
|
|
351
432
|
* The value of the form field in ISO 8601 date format (yyyy-MM-dd). Example: '2024-01-01'. When an invalid date is provided, it will be replaced with an empty string (''), matching the behavior of native HTML <input type="date">. The displayed format can be customized using the dateFormat property, but the underlying value will always be stored in ISO format.
|
|
433
|
+
* @default ''
|
|
352
434
|
*/
|
|
353
435
|
"value": string | '';
|
|
354
436
|
}
|
|
355
437
|
/**
|
|
356
438
|
* @since 1.0
|
|
357
|
-
* @status
|
|
439
|
+
* @status deprecated. Use six-date instead.
|
|
358
440
|
*/
|
|
359
441
|
interface SixDatepicker {
|
|
360
442
|
/**
|
|
361
443
|
* Callback to determine which date in the datepicker should be selectable. the callback function will get a datestring as an argument, e.g. '2021-07-04' Usage e.g.: const datepicker = document.getElementById('allowed-date-picker'); datepicker.allowedDates = datestring => parseInt(datestring.split('-')[2], 10) % 2 === 0;
|
|
444
|
+
* @default () => true
|
|
362
445
|
*/
|
|
363
446
|
"allowedDates": (date: Date) => boolean;
|
|
364
447
|
/**
|
|
365
448
|
* Set to true to add a clear button when the input is populated.
|
|
449
|
+
* @default false
|
|
366
450
|
*/
|
|
367
451
|
"clearable": boolean;
|
|
368
452
|
/**
|
|
369
453
|
* Closes the datepicker dropdown after selection
|
|
454
|
+
* @default this.type === 'date'
|
|
370
455
|
*/
|
|
371
456
|
"closeOnSelect": boolean;
|
|
372
457
|
/**
|
|
@@ -375,10 +460,12 @@ export namespace Components {
|
|
|
375
460
|
"containingElement"?: HTMLElement;
|
|
376
461
|
/**
|
|
377
462
|
* Define the dateFormat. Valid formats are: 'dd.mm.yyyy' 'yyyy-mm-dd' 'dd-mm-yyyy' 'dd/mm/yyyy' 'yyyy/mm/dd' 'dd.mm.yy' 'yy-mm-dd' 'dd-mm-yy' 'dd/mm/yy' 'yy/mm/dd'
|
|
463
|
+
* @default SixDateFormats.DDMMYYY_DOT
|
|
378
464
|
*/
|
|
379
465
|
"dateFormat": SixDateFormats;
|
|
380
466
|
/**
|
|
381
467
|
* Set the amount of time, in milliseconds, to wait to trigger the `dateChange` event after each keystroke.
|
|
468
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
382
469
|
*/
|
|
383
470
|
"debounce": number;
|
|
384
471
|
/**
|
|
@@ -387,10 +474,12 @@ export namespace Components {
|
|
|
387
474
|
"defaultDate"?: string;
|
|
388
475
|
/**
|
|
389
476
|
* If `true` the component is disabled.
|
|
477
|
+
* @default false
|
|
390
478
|
*/
|
|
391
479
|
"disabled": boolean;
|
|
392
480
|
/**
|
|
393
481
|
* The error message shown, if `invalid` is set to true.
|
|
482
|
+
* @default ''
|
|
394
483
|
*/
|
|
395
484
|
"errorText": string | string[];
|
|
396
485
|
/**
|
|
@@ -399,26 +488,32 @@ export namespace Components {
|
|
|
399
488
|
"errorTextCount"?: number;
|
|
400
489
|
/**
|
|
401
490
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
491
|
+
* @default false
|
|
402
492
|
*/
|
|
403
493
|
"hoist": boolean;
|
|
404
494
|
/**
|
|
405
495
|
* Set the position of the icon
|
|
496
|
+
* @default 'left'
|
|
406
497
|
*/
|
|
407
498
|
"iconPosition": 'left' | 'right';
|
|
408
499
|
/**
|
|
409
500
|
* Indicates whether or not the calendar should be shown as an inline (always open) component
|
|
501
|
+
* @default false
|
|
410
502
|
*/
|
|
411
503
|
"inline": boolean;
|
|
412
504
|
/**
|
|
413
505
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
506
|
+
* @default false
|
|
414
507
|
*/
|
|
415
508
|
"invalid": boolean;
|
|
416
509
|
/**
|
|
417
510
|
* The label text.
|
|
511
|
+
* @default ''
|
|
418
512
|
*/
|
|
419
513
|
"label": string;
|
|
420
514
|
/**
|
|
421
515
|
* The language used to render the weekdays and months.
|
|
516
|
+
* @default 'en'
|
|
422
517
|
*/
|
|
423
518
|
"locale": 'en' | 'de' | 'fr' | 'it' | 'es';
|
|
424
519
|
/**
|
|
@@ -431,10 +526,12 @@ export namespace Components {
|
|
|
431
526
|
"min"?: Date;
|
|
432
527
|
/**
|
|
433
528
|
* The input's name attribute.
|
|
529
|
+
* @default ''
|
|
434
530
|
*/
|
|
435
531
|
"name": string;
|
|
436
532
|
/**
|
|
437
533
|
* Indicates whether or not the calendar dropdown is open on startup. You can use this in lieu of the show/hide methods.
|
|
534
|
+
* @default false
|
|
438
535
|
*/
|
|
439
536
|
"open": boolean;
|
|
440
537
|
/**
|
|
@@ -447,10 +544,12 @@ export namespace Components {
|
|
|
447
544
|
"placement"?: 'top' | 'bottom';
|
|
448
545
|
/**
|
|
449
546
|
* If `true` the user can only select a date via the component in the popup, but not directly edit the input field.
|
|
547
|
+
* @default false
|
|
450
548
|
*/
|
|
451
549
|
"readonly": boolean;
|
|
452
550
|
/**
|
|
453
551
|
* Set to true to show an asterisk beneath the label.
|
|
552
|
+
* @default false
|
|
454
553
|
*/
|
|
455
554
|
"required": boolean;
|
|
456
555
|
/**
|
|
@@ -463,10 +562,12 @@ export namespace Components {
|
|
|
463
562
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
464
563
|
/**
|
|
465
564
|
* Datepicker size.
|
|
565
|
+
* @default 'medium'
|
|
466
566
|
*/
|
|
467
567
|
"size": 'small' | 'medium' | 'large';
|
|
468
568
|
/**
|
|
469
569
|
* Set the type.
|
|
570
|
+
* @default 'date'
|
|
470
571
|
*/
|
|
471
572
|
"type": 'date' | 'date-time';
|
|
472
573
|
/**
|
|
@@ -482,10 +583,12 @@ export namespace Components {
|
|
|
482
583
|
interface SixDetails {
|
|
483
584
|
/**
|
|
484
585
|
* Set to true to prevent the user from toggling the details.
|
|
586
|
+
* @default false
|
|
485
587
|
*/
|
|
486
588
|
"disabled": boolean;
|
|
487
589
|
/**
|
|
488
590
|
* Set to false when you want to hide the summary icon and disable the open/close mechanism. Usually not needed, but used internally by 'six-sidebar-item-group'
|
|
591
|
+
* @default true
|
|
489
592
|
*/
|
|
490
593
|
"hasContent": boolean;
|
|
491
594
|
/**
|
|
@@ -494,14 +597,17 @@ export namespace Components {
|
|
|
494
597
|
"hide": () => Promise<void>;
|
|
495
598
|
/**
|
|
496
599
|
* Set to true when you want to use six-details inline e.g. in a sidebar
|
|
600
|
+
* @default false
|
|
497
601
|
*/
|
|
498
602
|
"inline": boolean;
|
|
499
603
|
/**
|
|
500
604
|
* Indicates whether the details is open. You can use this in lieu of the show/hide methods.
|
|
605
|
+
* @default false
|
|
501
606
|
*/
|
|
502
607
|
"open": boolean;
|
|
503
608
|
/**
|
|
504
609
|
* Set to true when you want details without content to be selectable. This is important if you e.g. have a toggled sidebar where some menus have no children
|
|
610
|
+
* @default false
|
|
505
611
|
*/
|
|
506
612
|
"selectableEmpty": boolean;
|
|
507
613
|
/**
|
|
@@ -510,6 +616,7 @@ export namespace Components {
|
|
|
510
616
|
"show": () => Promise<void>;
|
|
511
617
|
/**
|
|
512
618
|
* The summary to show in the details header. If you need to display HTML, use the `summary` slot instead.
|
|
619
|
+
* @default ''
|
|
513
620
|
*/
|
|
514
621
|
"summary": string;
|
|
515
622
|
/**
|
|
@@ -518,6 +625,7 @@ export namespace Components {
|
|
|
518
625
|
"summaryIcon"?: string;
|
|
519
626
|
/**
|
|
520
627
|
* The icon's size.
|
|
628
|
+
* @default 'inherit'
|
|
521
629
|
*/
|
|
522
630
|
"summaryIconSize": | 'inherit'
|
|
523
631
|
| 'xSmall'
|
|
@@ -540,14 +648,17 @@ export namespace Components {
|
|
|
540
648
|
"hide": () => Promise<void>;
|
|
541
649
|
/**
|
|
542
650
|
* The dialog's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
|
|
651
|
+
* @default ''
|
|
543
652
|
*/
|
|
544
653
|
"label": string;
|
|
545
654
|
/**
|
|
546
655
|
* Set to true to disable the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the dialog.
|
|
656
|
+
* @default false
|
|
547
657
|
*/
|
|
548
658
|
"noHeader": boolean;
|
|
549
659
|
/**
|
|
550
660
|
* Indicates whether the dialog is open. You can use this in lieu of the show/hide methods.
|
|
661
|
+
* @default false
|
|
551
662
|
*/
|
|
552
663
|
"open": boolean;
|
|
553
664
|
/**
|
|
@@ -563,6 +674,7 @@ export namespace Components {
|
|
|
563
674
|
interface SixDrawer {
|
|
564
675
|
/**
|
|
565
676
|
* By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of its parent element, set this prop and add `position: relative` to the parent.
|
|
677
|
+
* @default false
|
|
566
678
|
*/
|
|
567
679
|
"contained": boolean;
|
|
568
680
|
/**
|
|
@@ -571,18 +683,22 @@ export namespace Components {
|
|
|
571
683
|
"hide": () => Promise<void>;
|
|
572
684
|
/**
|
|
573
685
|
* The drawer's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
|
|
686
|
+
* @default ''
|
|
574
687
|
*/
|
|
575
688
|
"label": string;
|
|
576
689
|
/**
|
|
577
690
|
* Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.
|
|
691
|
+
* @default false
|
|
578
692
|
*/
|
|
579
693
|
"noHeader": boolean;
|
|
580
694
|
/**
|
|
581
695
|
* Indicates whether the drawer is open. You can use this in lieu of the show/hide methods.
|
|
696
|
+
* @default false
|
|
582
697
|
*/
|
|
583
698
|
"open": boolean;
|
|
584
699
|
/**
|
|
585
700
|
* The direction from which the drawer will open.
|
|
701
|
+
* @default 'right'
|
|
586
702
|
*/
|
|
587
703
|
"placement": 'top' | 'right' | 'bottom' | 'left';
|
|
588
704
|
/**
|
|
@@ -598,14 +714,17 @@ export namespace Components {
|
|
|
598
714
|
interface SixDropdown {
|
|
599
715
|
/**
|
|
600
716
|
* Set to true to allow async filtering. When you enter something in the search field the component will only emit an event but not filter any elements itself. You can then simply listen to the 'six-async-filter-fired' event to manage the shown menu-items yourself
|
|
717
|
+
* @default false
|
|
601
718
|
*/
|
|
602
719
|
"asyncFilter": boolean;
|
|
603
720
|
/**
|
|
604
721
|
* By default the search field will be focused when opening a dropdown with filtering enabled.
|
|
722
|
+
* @default true
|
|
605
723
|
*/
|
|
606
724
|
"autofocusFilter": boolean;
|
|
607
725
|
/**
|
|
608
726
|
* Determines whether the dropdown should hide when a menu item is selected.
|
|
727
|
+
* @default true
|
|
609
728
|
*/
|
|
610
729
|
"closeOnSelect": boolean;
|
|
611
730
|
/**
|
|
@@ -614,22 +733,27 @@ export namespace Components {
|
|
|
614
733
|
"containingElement"?: HTMLElement;
|
|
615
734
|
/**
|
|
616
735
|
* The panel can be opend/closed by pressing the spacebar or the enter key. In some cases you might want to avoid this
|
|
736
|
+
* @default false
|
|
617
737
|
*/
|
|
618
738
|
"disableHideOnEnterAndSpace": boolean;
|
|
619
739
|
/**
|
|
620
740
|
* The distance in pixels from which to offset the panel away from its trigger.
|
|
741
|
+
* @default 4
|
|
621
742
|
*/
|
|
622
743
|
"distance": number;
|
|
623
744
|
/**
|
|
624
745
|
* Set to true to allow auto filtering for entries in the dropdown. With this flag the dropdown will automatically filter itsel. If you need to coordinate the shown elements yourself, e.g. because you need to call an endpoint use asyncFilter instead
|
|
746
|
+
* @default false
|
|
625
747
|
*/
|
|
626
748
|
"filter": boolean;
|
|
627
749
|
/**
|
|
628
750
|
* The debounce for the filter callbacks.
|
|
751
|
+
* @default 0
|
|
629
752
|
*/
|
|
630
753
|
"filterDebounce": number;
|
|
631
754
|
/**
|
|
632
755
|
* The filter's placeholder text.
|
|
756
|
+
* @default 'Filter...'
|
|
633
757
|
*/
|
|
634
758
|
"filterPlaceholder": string;
|
|
635
759
|
/**
|
|
@@ -638,22 +762,27 @@ export namespace Components {
|
|
|
638
762
|
"hide": () => Promise<void>;
|
|
639
763
|
/**
|
|
640
764
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
765
|
+
* @default false
|
|
641
766
|
*/
|
|
642
767
|
"hoist": boolean;
|
|
643
768
|
/**
|
|
644
769
|
* Determines if the dropdown panel's width should match the width of the trigger element. If set to `true`, the panel will resize its width to align with the trigger's width. If `false` or omitted, the panel will maintain its default width.
|
|
770
|
+
* @default false
|
|
645
771
|
*/
|
|
646
772
|
"matchTriggerWidth": boolean;
|
|
647
773
|
/**
|
|
648
774
|
* Indicates whether the dropdown is open. You can use this in lieu of the show/hide methods.
|
|
775
|
+
* @default false
|
|
649
776
|
*/
|
|
650
777
|
"open": boolean;
|
|
651
778
|
/**
|
|
652
779
|
* Set the options to be shown in the dropdown (alternative to setting the elements via html)
|
|
780
|
+
* @default []
|
|
653
781
|
*/
|
|
654
782
|
"options": SixMenuItemData[];
|
|
655
783
|
/**
|
|
656
784
|
* The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel inside the viewport.
|
|
785
|
+
* @default 'bottom-start'
|
|
657
786
|
*/
|
|
658
787
|
"placement": | 'top'
|
|
659
788
|
| 'top-start'
|
|
@@ -673,10 +802,12 @@ export namespace Components {
|
|
|
673
802
|
"show": () => Promise<void>;
|
|
674
803
|
/**
|
|
675
804
|
* The distance in pixels from which to offset the panel along its trigger.
|
|
805
|
+
* @default 0
|
|
676
806
|
*/
|
|
677
807
|
"skidding": number;
|
|
678
808
|
/**
|
|
679
809
|
* Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around) are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot.
|
|
810
|
+
* @default false
|
|
680
811
|
*/
|
|
681
812
|
"virtualScroll": boolean;
|
|
682
813
|
}
|
|
@@ -705,6 +836,7 @@ export namespace Components {
|
|
|
705
836
|
"errorCode"?: 404 | 403 | 500;
|
|
706
837
|
/**
|
|
707
838
|
* Defines language and thus displays the proper error page in the selected language.
|
|
839
|
+
* @default 'en'
|
|
708
840
|
*/
|
|
709
841
|
"language": 'en' | 'de';
|
|
710
842
|
}
|
|
@@ -721,22 +853,27 @@ export namespace Components {
|
|
|
721
853
|
interface SixFileListItem {
|
|
722
854
|
/**
|
|
723
855
|
* The date when the file was uploaded
|
|
856
|
+
* @default ''
|
|
724
857
|
*/
|
|
725
858
|
"date": string;
|
|
726
859
|
/**
|
|
727
860
|
* An id to clearly identify the file
|
|
861
|
+
* @default ''
|
|
728
862
|
*/
|
|
729
863
|
"identifier": string;
|
|
730
864
|
/**
|
|
731
865
|
* The filename
|
|
866
|
+
* @default ''
|
|
732
867
|
*/
|
|
733
868
|
"name": string;
|
|
734
869
|
/**
|
|
735
870
|
* Set to true if you don't want to allow to delete this file
|
|
871
|
+
* @default false
|
|
736
872
|
*/
|
|
737
873
|
"nodelete": boolean;
|
|
738
874
|
/**
|
|
739
875
|
* Set to true if you don't want to allow to download this file
|
|
876
|
+
* @default false
|
|
740
877
|
*/
|
|
741
878
|
"nodownload": boolean;
|
|
742
879
|
/**
|
|
@@ -755,18 +892,22 @@ export namespace Components {
|
|
|
755
892
|
"accept"?: string;
|
|
756
893
|
/**
|
|
757
894
|
* Set to true if file control should be small.
|
|
895
|
+
* @default false
|
|
758
896
|
*/
|
|
759
897
|
"compact": boolean;
|
|
760
898
|
/**
|
|
761
899
|
* Set when button is disabled.
|
|
900
|
+
* @default false
|
|
762
901
|
*/
|
|
763
902
|
"disabled": false;
|
|
764
903
|
/**
|
|
765
904
|
* The error message shown, if `invalid` is set to true.
|
|
905
|
+
* @default ''
|
|
766
906
|
*/
|
|
767
907
|
"errorText": string | string[];
|
|
768
908
|
/**
|
|
769
909
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
910
|
+
* @default false
|
|
770
911
|
*/
|
|
771
912
|
"invalid": boolean;
|
|
772
913
|
/**
|
|
@@ -779,10 +920,12 @@ export namespace Components {
|
|
|
779
920
|
"maxFileSize"?: number;
|
|
780
921
|
/**
|
|
781
922
|
* More than one file allowed.
|
|
923
|
+
* @default false
|
|
782
924
|
*/
|
|
783
925
|
"multiple": false;
|
|
784
926
|
/**
|
|
785
927
|
* Set to true to draw the control in a loading state.
|
|
928
|
+
* @default false
|
|
786
929
|
*/
|
|
787
930
|
"uploading": boolean;
|
|
788
931
|
}
|
|
@@ -799,22 +942,27 @@ export namespace Components {
|
|
|
799
942
|
interface SixGroupLabel {
|
|
800
943
|
/**
|
|
801
944
|
* Set to true to disable the label.
|
|
945
|
+
* @default false
|
|
802
946
|
*/
|
|
803
947
|
"disabled": boolean;
|
|
804
948
|
/**
|
|
805
949
|
* The wrapper label's help text. Alternatively, you can use the help-text slot.
|
|
950
|
+
* @default ''
|
|
806
951
|
*/
|
|
807
952
|
"helpText": string;
|
|
808
953
|
/**
|
|
809
954
|
* The wrapper label's label. Alternatively, you can use the label slot.
|
|
955
|
+
* @default ''
|
|
810
956
|
*/
|
|
811
957
|
"label": string;
|
|
812
958
|
/**
|
|
813
959
|
* Set to true to show an asterisk beneath the label.
|
|
960
|
+
* @default false
|
|
814
961
|
*/
|
|
815
962
|
"required": boolean;
|
|
816
963
|
/**
|
|
817
964
|
* The label's size.
|
|
965
|
+
* @default 'medium'
|
|
818
966
|
*/
|
|
819
967
|
"size": 'small' | 'medium' | 'large';
|
|
820
968
|
}
|
|
@@ -825,10 +973,12 @@ export namespace Components {
|
|
|
825
973
|
interface SixHeader {
|
|
826
974
|
/**
|
|
827
975
|
* Set the header search input to be in an open or closed state. Focuses the first `six-input` found in the search slot.
|
|
976
|
+
* @default false
|
|
828
977
|
*/
|
|
829
978
|
"openSearch": boolean;
|
|
830
979
|
/**
|
|
831
980
|
* Indicates if content should be shifted down when search field is visible.
|
|
981
|
+
* @default false
|
|
832
982
|
*/
|
|
833
983
|
"shiftContent": boolean;
|
|
834
984
|
}
|
|
@@ -839,10 +989,12 @@ export namespace Components {
|
|
|
839
989
|
interface SixHeaderDropdownItem {
|
|
840
990
|
/**
|
|
841
991
|
* Set to true to allow auto filtering for entries in the dropdown. With this flag the dropdown will automatically filter itsel. If you need to coordinate the shown elements yourself, e.g. because you need to call an endpoint use asyncFilter instead
|
|
992
|
+
* @default false
|
|
842
993
|
*/
|
|
843
994
|
"filter": boolean;
|
|
844
995
|
/**
|
|
845
996
|
* The filter's placeholder text.
|
|
997
|
+
* @default 'Filter...'
|
|
846
998
|
*/
|
|
847
999
|
"filterPlaceholder": string;
|
|
848
1000
|
}
|
|
@@ -853,6 +1005,7 @@ export namespace Components {
|
|
|
853
1005
|
interface SixHeaderItem {
|
|
854
1006
|
/**
|
|
855
1007
|
* Indicates whether the item is styled as active. When set to `true`, a border is displayed below the trigger element. Use <code>six-header-dropdown-item</code> to automatically set the active state for dropdowns.
|
|
1008
|
+
* @default false
|
|
856
1009
|
*/
|
|
857
1010
|
"active": boolean;
|
|
858
1011
|
}
|
|
@@ -863,22 +1016,27 @@ export namespace Components {
|
|
|
863
1016
|
interface SixHeaderMenuButton {
|
|
864
1017
|
/**
|
|
865
1018
|
* Set to true to draw the button with a caret for use with dropdowns, popovers, etc.
|
|
1019
|
+
* @default false
|
|
866
1020
|
*/
|
|
867
1021
|
"caret": boolean;
|
|
868
1022
|
/**
|
|
869
1023
|
* Set to true to disable the button.
|
|
1024
|
+
* @default false
|
|
870
1025
|
*/
|
|
871
1026
|
"disabled": boolean;
|
|
872
1027
|
/**
|
|
873
1028
|
* Set to true to draw the button in a loading state.
|
|
1029
|
+
* @default false
|
|
874
1030
|
*/
|
|
875
1031
|
"loading": boolean;
|
|
876
1032
|
/**
|
|
877
1033
|
* Indicates if activating the button should reset the form.
|
|
1034
|
+
* @default false
|
|
878
1035
|
*/
|
|
879
1036
|
"reset": boolean;
|
|
880
1037
|
/**
|
|
881
1038
|
* Indicates if activating the button should submit the form. Ignored when `href` is set.
|
|
1039
|
+
* @default false
|
|
882
1040
|
*/
|
|
883
1041
|
"submit": boolean;
|
|
884
1042
|
}
|
|
@@ -889,10 +1047,12 @@ export namespace Components {
|
|
|
889
1047
|
interface SixIcon {
|
|
890
1048
|
/**
|
|
891
1049
|
* If set to true the default material outlined icons are not used.
|
|
1050
|
+
* @default false
|
|
892
1051
|
*/
|
|
893
1052
|
"filled": boolean;
|
|
894
1053
|
/**
|
|
895
1054
|
* The icon's size.
|
|
1055
|
+
* @default 'inherit'
|
|
896
1056
|
*/
|
|
897
1057
|
"size": | 'inherit'
|
|
898
1058
|
| 'xSmall'
|
|
@@ -911,6 +1071,7 @@ export namespace Components {
|
|
|
911
1071
|
interface SixIconButton {
|
|
912
1072
|
/**
|
|
913
1073
|
* Set to true to disable the button.
|
|
1074
|
+
* @default false
|
|
914
1075
|
*/
|
|
915
1076
|
"disabled": boolean;
|
|
916
1077
|
/**
|
|
@@ -935,6 +1096,7 @@ export namespace Components {
|
|
|
935
1096
|
"name"?: string;
|
|
936
1097
|
/**
|
|
937
1098
|
* The icon's size.
|
|
1099
|
+
* @default 'medium'
|
|
938
1100
|
*/
|
|
939
1101
|
"size": 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge';
|
|
940
1102
|
/**
|
|
@@ -950,34 +1112,42 @@ export namespace Components {
|
|
|
950
1112
|
interface SixInput {
|
|
951
1113
|
/**
|
|
952
1114
|
* The input's autocaptialize attribute.
|
|
1115
|
+
* @default 'off'
|
|
953
1116
|
*/
|
|
954
1117
|
"autocapitalize": string;
|
|
955
1118
|
/**
|
|
956
1119
|
* The input's autocomplete attribute.
|
|
1120
|
+
* @default 'off'
|
|
957
1121
|
*/
|
|
958
1122
|
"autocomplete": string;
|
|
959
1123
|
/**
|
|
960
1124
|
* The input's autocorrect attribute.
|
|
1125
|
+
* @default 'off'
|
|
961
1126
|
*/
|
|
962
1127
|
"autocorrect": 'on' | 'off';
|
|
963
1128
|
/**
|
|
964
1129
|
* The input's autofocus attribute.
|
|
1130
|
+
* @default false
|
|
965
1131
|
*/
|
|
966
1132
|
"autofocus": boolean;
|
|
967
1133
|
/**
|
|
968
1134
|
* Set to true to add a clear button when the input is populated.
|
|
1135
|
+
* @default false
|
|
969
1136
|
*/
|
|
970
1137
|
"clearable": boolean;
|
|
971
1138
|
/**
|
|
972
1139
|
* Set to true to disable the input.
|
|
1140
|
+
* @default false
|
|
973
1141
|
*/
|
|
974
1142
|
"disabled": boolean;
|
|
975
1143
|
/**
|
|
976
1144
|
* Internal: Styles the input for the dropdown filter search.
|
|
1145
|
+
* @default false
|
|
977
1146
|
*/
|
|
978
1147
|
"dropdownSearch": boolean;
|
|
979
1148
|
/**
|
|
980
1149
|
* The error message shown, if `invalid` is set to true.
|
|
1150
|
+
* @default ''
|
|
981
1151
|
*/
|
|
982
1152
|
"errorText": string | string[];
|
|
983
1153
|
/**
|
|
@@ -990,6 +1160,7 @@ export namespace Components {
|
|
|
990
1160
|
"getSelectionRange": () => Promise<SelectionRange>;
|
|
991
1161
|
/**
|
|
992
1162
|
* The input's help text. Alternatively, you can use the help-text slot.
|
|
1163
|
+
* @default ''
|
|
993
1164
|
*/
|
|
994
1165
|
"helpText": string;
|
|
995
1166
|
/**
|
|
@@ -998,14 +1169,17 @@ export namespace Components {
|
|
|
998
1169
|
"inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
999
1170
|
/**
|
|
1000
1171
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
1172
|
+
* @default false
|
|
1001
1173
|
*/
|
|
1002
1174
|
"invalid": boolean;
|
|
1003
1175
|
/**
|
|
1004
1176
|
* The label text.
|
|
1177
|
+
* @default ''
|
|
1005
1178
|
*/
|
|
1006
1179
|
"label": string;
|
|
1007
1180
|
/**
|
|
1008
1181
|
* Set to render as line
|
|
1182
|
+
* @default false
|
|
1009
1183
|
*/
|
|
1010
1184
|
"line": boolean;
|
|
1011
1185
|
/**
|
|
@@ -1026,6 +1200,7 @@ export namespace Components {
|
|
|
1026
1200
|
"minlength"?: number;
|
|
1027
1201
|
/**
|
|
1028
1202
|
* The input's name attribute.
|
|
1203
|
+
* @default ''
|
|
1029
1204
|
*/
|
|
1030
1205
|
"name": string;
|
|
1031
1206
|
/**
|
|
@@ -1034,6 +1209,7 @@ export namespace Components {
|
|
|
1034
1209
|
"pattern"?: string;
|
|
1035
1210
|
/**
|
|
1036
1211
|
* Set to true to draw a pill-style input with rounded edges.
|
|
1212
|
+
* @default false
|
|
1037
1213
|
*/
|
|
1038
1214
|
"pill": boolean;
|
|
1039
1215
|
/**
|
|
@@ -1042,6 +1218,7 @@ export namespace Components {
|
|
|
1042
1218
|
"placeholder"?: string;
|
|
1043
1219
|
/**
|
|
1044
1220
|
* Set to true to make the input readonly.
|
|
1221
|
+
* @default false
|
|
1045
1222
|
*/
|
|
1046
1223
|
"readonly": boolean;
|
|
1047
1224
|
/**
|
|
@@ -1050,6 +1227,7 @@ export namespace Components {
|
|
|
1050
1227
|
"removeFocus": () => Promise<void>;
|
|
1051
1228
|
/**
|
|
1052
1229
|
* Set to true to show an asterisk beneath the label.
|
|
1230
|
+
* @default false
|
|
1053
1231
|
*/
|
|
1054
1232
|
"required": boolean;
|
|
1055
1233
|
/**
|
|
@@ -1070,10 +1248,12 @@ export namespace Components {
|
|
|
1070
1248
|
"setSelectionRange": (selectionStart: number, selectionEnd: number, selectionDirection?: SelectionRangeDirection) => Promise<void | undefined>;
|
|
1071
1249
|
/**
|
|
1072
1250
|
* The input's size.
|
|
1251
|
+
* @default 'medium'
|
|
1073
1252
|
*/
|
|
1074
1253
|
"size": 'small' | 'medium' | 'large';
|
|
1075
1254
|
/**
|
|
1076
1255
|
* Enables spell checking on the input.
|
|
1256
|
+
* @default false
|
|
1077
1257
|
*/
|
|
1078
1258
|
"spellcheck": boolean;
|
|
1079
1259
|
/**
|
|
@@ -1082,14 +1262,17 @@ export namespace Components {
|
|
|
1082
1262
|
"step"?: number;
|
|
1083
1263
|
/**
|
|
1084
1264
|
* Set to true to add a password toggle button for password inputs.
|
|
1265
|
+
* @default false
|
|
1085
1266
|
*/
|
|
1086
1267
|
"togglePassword": boolean;
|
|
1087
1268
|
/**
|
|
1088
1269
|
* The input's type.
|
|
1270
|
+
* @default 'text'
|
|
1089
1271
|
*/
|
|
1090
1272
|
"type": 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url';
|
|
1091
1273
|
/**
|
|
1092
1274
|
* The input's value attribute.
|
|
1275
|
+
* @default ''
|
|
1093
1276
|
*/
|
|
1094
1277
|
"value": string;
|
|
1095
1278
|
}
|
|
@@ -1100,10 +1283,12 @@ export namespace Components {
|
|
|
1100
1283
|
interface SixItemPicker {
|
|
1101
1284
|
/**
|
|
1102
1285
|
* Set the amount of time, in milliseconds, to wait to trigger the `six-item-picker-change-debounced` event. If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click (and keep pressed) and once you release
|
|
1286
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
1103
1287
|
*/
|
|
1104
1288
|
"debounce": number;
|
|
1105
1289
|
/**
|
|
1106
1290
|
* Set the amount of time, in milliseconds, to wait between switching to next item when mouse button is held pressed.
|
|
1291
|
+
* @default DEFAULT_DEBOUNCE_INSANELY_FAST
|
|
1107
1292
|
*/
|
|
1108
1293
|
"interval": number;
|
|
1109
1294
|
/**
|
|
@@ -1120,44 +1305,54 @@ export namespace Components {
|
|
|
1120
1305
|
"min"?: number | string;
|
|
1121
1306
|
/**
|
|
1122
1307
|
* Defines whether the items should be padded
|
|
1308
|
+
* @default false
|
|
1123
1309
|
*/
|
|
1124
1310
|
"padded": boolean;
|
|
1125
1311
|
/**
|
|
1126
1312
|
* Defines the character used for padding
|
|
1313
|
+
* @default '0'
|
|
1127
1314
|
*/
|
|
1128
1315
|
"paddingChar": string;
|
|
1129
1316
|
/**
|
|
1130
1317
|
* Defines whether the padding should be before or after the value. You can either use 'before' or 'after'. By default, before is selected
|
|
1318
|
+
* @default ItemPickerPaddingDirection.BEFORE
|
|
1131
1319
|
*/
|
|
1132
1320
|
"paddingDirection": ItemPickerPaddingDirection;
|
|
1133
1321
|
/**
|
|
1134
1322
|
* Defines the length of the padded area
|
|
1323
|
+
* @default 2
|
|
1135
1324
|
*/
|
|
1136
1325
|
"paddingLength": number;
|
|
1137
1326
|
/**
|
|
1138
1327
|
* Define whether the picker should to a roundtrip i.e. start at max when reaching min and vice versa.
|
|
1328
|
+
* @default true
|
|
1139
1329
|
*/
|
|
1140
1330
|
"roundtrip": boolean;
|
|
1141
1331
|
/**
|
|
1142
1332
|
* Defines how many steps should be taken when navigating
|
|
1333
|
+
* @default 1
|
|
1143
1334
|
*/
|
|
1144
1335
|
"step": number;
|
|
1145
1336
|
/**
|
|
1146
1337
|
* Set the amount of time, in milliseconds, to wait to trigger faster switching between items.
|
|
1338
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
1147
1339
|
*/
|
|
1148
1340
|
"timeout": number;
|
|
1149
1341
|
/**
|
|
1150
1342
|
* The type of items you want to rotate through.
|
|
1343
|
+
* @default ItemPickerType.NUMBER
|
|
1151
1344
|
*/
|
|
1152
1345
|
"type": ItemPickerType;
|
|
1153
1346
|
/**
|
|
1154
1347
|
* The item picker's value attribute.
|
|
1348
|
+
* @default ''
|
|
1155
1349
|
*/
|
|
1156
1350
|
"value": number | string;
|
|
1157
1351
|
}
|
|
1158
1352
|
interface SixLanguageSwitcher {
|
|
1159
1353
|
/**
|
|
1160
1354
|
* The languages which should be selectable options.
|
|
1355
|
+
* @default DEFAULT_LANGUAGES
|
|
1161
1356
|
*/
|
|
1162
1357
|
"languages": string[] | SixLanguageSwitcherInput[];
|
|
1163
1358
|
/**
|
|
@@ -1182,6 +1377,7 @@ export namespace Components {
|
|
|
1182
1377
|
interface SixLogo {
|
|
1183
1378
|
/**
|
|
1184
1379
|
* The brand of the logo. Either six or bme. Defaults to six.
|
|
1380
|
+
* @default 'six'
|
|
1185
1381
|
*/
|
|
1186
1382
|
"brand": 'six' | 'bme';
|
|
1187
1383
|
}
|
|
@@ -1192,6 +1388,7 @@ export namespace Components {
|
|
|
1192
1388
|
interface SixMainContainer {
|
|
1193
1389
|
/**
|
|
1194
1390
|
* Set to false to remove top and bottom padding.
|
|
1391
|
+
* @default true
|
|
1195
1392
|
*/
|
|
1196
1393
|
"padded": boolean;
|
|
1197
1394
|
}
|
|
@@ -1203,14 +1400,17 @@ export namespace Components {
|
|
|
1203
1400
|
interface SixMenu {
|
|
1204
1401
|
/**
|
|
1205
1402
|
* Internal: Disables handling of key presses.
|
|
1403
|
+
* @default false
|
|
1206
1404
|
*/
|
|
1207
1405
|
"disableKeyboardHandling": boolean;
|
|
1208
1406
|
/**
|
|
1209
1407
|
* Used for virtual scrolling Define how many items should be rendered in the DOM when using virtual scrolling
|
|
1408
|
+
* @default 10
|
|
1210
1409
|
*/
|
|
1211
1410
|
"itemSize": number;
|
|
1212
1411
|
/**
|
|
1213
1412
|
* Set the options to be shown in the dropdown
|
|
1413
|
+
* @default null
|
|
1214
1414
|
*/
|
|
1215
1415
|
"items": SixMenuItemData1[] | null;
|
|
1216
1416
|
/**
|
|
@@ -1219,10 +1419,12 @@ export namespace Components {
|
|
|
1219
1419
|
"itemsShown"?: number;
|
|
1220
1420
|
/**
|
|
1221
1421
|
* Set to true to remove the box-shadow
|
|
1422
|
+
* @default false
|
|
1222
1423
|
*/
|
|
1223
1424
|
"removeBoxShadow": boolean;
|
|
1224
1425
|
/**
|
|
1225
1426
|
* Used for virtual scrolling Define the debounce for listening on scrolling changes in milliseconds. The lower the number the more sensitive the component reacts to scrolling changes.
|
|
1427
|
+
* @default 15
|
|
1226
1428
|
*/
|
|
1227
1429
|
"scrollingDebounce": number;
|
|
1228
1430
|
/**
|
|
@@ -1231,6 +1433,7 @@ export namespace Components {
|
|
|
1231
1433
|
"typeToSelect": (key: string) => Promise<void>;
|
|
1232
1434
|
/**
|
|
1233
1435
|
* Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around) are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot.
|
|
1436
|
+
* @default false
|
|
1234
1437
|
*/
|
|
1235
1438
|
"virtualScroll": boolean;
|
|
1236
1439
|
}
|
|
@@ -1249,14 +1452,17 @@ export namespace Components {
|
|
|
1249
1452
|
interface SixMenuItem {
|
|
1250
1453
|
/**
|
|
1251
1454
|
* Defines if the checked state is displayed as a checkbox or a check-icon
|
|
1455
|
+
* @default 'check'
|
|
1252
1456
|
*/
|
|
1253
1457
|
"checkType": 'checkbox' | 'check';
|
|
1254
1458
|
/**
|
|
1255
1459
|
* Internal: Draws the item in a checked state. CheckType needs to be set to 'checkbox' or 'check' to show the checked state
|
|
1460
|
+
* @default false
|
|
1256
1461
|
*/
|
|
1257
1462
|
"checked": boolean;
|
|
1258
1463
|
/**
|
|
1259
1464
|
* Set to true to draw the menu item in a disabled state.
|
|
1465
|
+
* @default false
|
|
1260
1466
|
*/
|
|
1261
1467
|
"disabled": boolean;
|
|
1262
1468
|
/**
|
|
@@ -1273,6 +1479,7 @@ export namespace Components {
|
|
|
1273
1479
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
1274
1480
|
/**
|
|
1275
1481
|
* A unique value to store in the menu item. This can be used as a way to identify menu items when selected.
|
|
1482
|
+
* @default ''
|
|
1276
1483
|
*/
|
|
1277
1484
|
"value": string;
|
|
1278
1485
|
}
|
|
@@ -1290,6 +1497,7 @@ export namespace Components {
|
|
|
1290
1497
|
interface SixPicto {
|
|
1291
1498
|
/**
|
|
1292
1499
|
* Defines the size of the icon.
|
|
1500
|
+
* @default 'medium'
|
|
1293
1501
|
*/
|
|
1294
1502
|
"size": 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge' | '4xl';
|
|
1295
1503
|
}
|
|
@@ -1301,10 +1509,12 @@ export namespace Components {
|
|
|
1301
1509
|
interface SixProgressBar {
|
|
1302
1510
|
/**
|
|
1303
1511
|
* When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.
|
|
1512
|
+
* @default false
|
|
1304
1513
|
*/
|
|
1305
1514
|
"indeterminate": boolean;
|
|
1306
1515
|
/**
|
|
1307
1516
|
* The progress bar's percentage, 0 to 100.
|
|
1517
|
+
* @default 0
|
|
1308
1518
|
*/
|
|
1309
1519
|
"percentage": number;
|
|
1310
1520
|
}
|
|
@@ -1316,14 +1526,17 @@ export namespace Components {
|
|
|
1316
1526
|
interface SixProgressRing {
|
|
1317
1527
|
/**
|
|
1318
1528
|
* The current progress percentage, 0 - 100.
|
|
1529
|
+
* @default 0
|
|
1319
1530
|
*/
|
|
1320
1531
|
"percentage": number;
|
|
1321
1532
|
/**
|
|
1322
1533
|
* The size of the progress ring in pixels.
|
|
1534
|
+
* @default 128
|
|
1323
1535
|
*/
|
|
1324
1536
|
"size": number;
|
|
1325
1537
|
/**
|
|
1326
1538
|
* The stroke width of the progress ring in pixels.
|
|
1539
|
+
* @default 4
|
|
1327
1540
|
*/
|
|
1328
1541
|
"strokeWidth": number;
|
|
1329
1542
|
}
|
|
@@ -1335,18 +1548,22 @@ export namespace Components {
|
|
|
1335
1548
|
interface SixRadio {
|
|
1336
1549
|
/**
|
|
1337
1550
|
* Set to true to draw the radio in a checked state.
|
|
1551
|
+
* @default false
|
|
1338
1552
|
*/
|
|
1339
1553
|
"checked": boolean;
|
|
1340
1554
|
/**
|
|
1341
1555
|
* Set to true to disable the radio.
|
|
1556
|
+
* @default false
|
|
1342
1557
|
*/
|
|
1343
1558
|
"disabled": boolean;
|
|
1344
1559
|
/**
|
|
1345
1560
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
1561
|
+
* @default false
|
|
1346
1562
|
*/
|
|
1347
1563
|
"invalid": boolean;
|
|
1348
1564
|
/**
|
|
1349
1565
|
* The radio's name attribute.
|
|
1566
|
+
* @default ''
|
|
1350
1567
|
*/
|
|
1351
1568
|
"name": string;
|
|
1352
1569
|
/**
|
|
@@ -1359,6 +1576,7 @@ export namespace Components {
|
|
|
1359
1576
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
1360
1577
|
/**
|
|
1361
1578
|
* The radio's value attribute.
|
|
1579
|
+
* @default 'on'
|
|
1362
1580
|
*/
|
|
1363
1581
|
"value": string;
|
|
1364
1582
|
}
|
|
@@ -1370,10 +1588,12 @@ export namespace Components {
|
|
|
1370
1588
|
interface SixRange {
|
|
1371
1589
|
/**
|
|
1372
1590
|
* Set to true to disable the input.
|
|
1591
|
+
* @default false
|
|
1373
1592
|
*/
|
|
1374
1593
|
"disabled": boolean;
|
|
1375
1594
|
/**
|
|
1376
1595
|
* The error message shown, if `invalid` is set to true.
|
|
1596
|
+
* @default ''
|
|
1377
1597
|
*/
|
|
1378
1598
|
"errorText": string | string[];
|
|
1379
1599
|
/**
|
|
@@ -1382,26 +1602,32 @@ export namespace Components {
|
|
|
1382
1602
|
"errorTextCount"?: number;
|
|
1383
1603
|
/**
|
|
1384
1604
|
* The range's help text. Alternatively, you can use the help-text slot.
|
|
1605
|
+
* @default ''
|
|
1385
1606
|
*/
|
|
1386
1607
|
"helpText": string;
|
|
1387
1608
|
/**
|
|
1388
1609
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
1610
|
+
* @default false
|
|
1389
1611
|
*/
|
|
1390
1612
|
"invalid": boolean;
|
|
1391
1613
|
/**
|
|
1392
1614
|
* The label text.
|
|
1615
|
+
* @default ''
|
|
1393
1616
|
*/
|
|
1394
1617
|
"label": string;
|
|
1395
1618
|
/**
|
|
1396
1619
|
* The input's max attribute.
|
|
1620
|
+
* @default 100
|
|
1397
1621
|
*/
|
|
1398
1622
|
"max": number;
|
|
1399
1623
|
/**
|
|
1400
1624
|
* The input's min attribute.
|
|
1625
|
+
* @default 0
|
|
1401
1626
|
*/
|
|
1402
1627
|
"min": number;
|
|
1403
1628
|
/**
|
|
1404
1629
|
* The input's name attribute.
|
|
1630
|
+
* @default ''
|
|
1405
1631
|
*/
|
|
1406
1632
|
"name": string;
|
|
1407
1633
|
/**
|
|
@@ -1410,6 +1636,7 @@ export namespace Components {
|
|
|
1410
1636
|
"removeFocus": () => Promise<void>;
|
|
1411
1637
|
/**
|
|
1412
1638
|
* Set to true to show an asterisk beneath the label.
|
|
1639
|
+
* @default false
|
|
1413
1640
|
*/
|
|
1414
1641
|
"required": boolean;
|
|
1415
1642
|
/**
|
|
@@ -1418,18 +1645,83 @@ export namespace Components {
|
|
|
1418
1645
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
1419
1646
|
/**
|
|
1420
1647
|
* The input's step attribute.
|
|
1648
|
+
* @default 1
|
|
1421
1649
|
*/
|
|
1422
1650
|
"step": number;
|
|
1423
1651
|
/**
|
|
1424
1652
|
* The preferred placedment of the tooltip.
|
|
1653
|
+
* @default 'top'
|
|
1425
1654
|
*/
|
|
1426
1655
|
"tooltip": 'top' | 'bottom' | 'none';
|
|
1427
1656
|
/**
|
|
1428
1657
|
* A function used to format the tooltip's value.
|
|
1658
|
+
* @default (value: number) => value.toString()
|
|
1429
1659
|
*/
|
|
1430
1660
|
"tooltipFormatter": (value: number) => string;
|
|
1431
1661
|
/**
|
|
1432
1662
|
* The input's value attribute.
|
|
1663
|
+
* @default 0
|
|
1664
|
+
*/
|
|
1665
|
+
"value": number;
|
|
1666
|
+
}
|
|
1667
|
+
interface SixRating {
|
|
1668
|
+
/**
|
|
1669
|
+
* Set to true to disable the rating.
|
|
1670
|
+
* @default false
|
|
1671
|
+
*/
|
|
1672
|
+
"disabled": boolean;
|
|
1673
|
+
/**
|
|
1674
|
+
* The error message shown, if `invalid` is set to true.
|
|
1675
|
+
* @default ''
|
|
1676
|
+
*/
|
|
1677
|
+
"errorText": string | string[];
|
|
1678
|
+
/**
|
|
1679
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
1680
|
+
*/
|
|
1681
|
+
"errorTextCount"?: number;
|
|
1682
|
+
/**
|
|
1683
|
+
* The rating's help text. Alternatively, you can use the help-text slot.
|
|
1684
|
+
* @default ''
|
|
1685
|
+
*/
|
|
1686
|
+
"helpText": string;
|
|
1687
|
+
/**
|
|
1688
|
+
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
1689
|
+
* @default false
|
|
1690
|
+
*/
|
|
1691
|
+
"invalid": boolean;
|
|
1692
|
+
/**
|
|
1693
|
+
* The label text.
|
|
1694
|
+
* @default ''
|
|
1695
|
+
*/
|
|
1696
|
+
"label": string;
|
|
1697
|
+
/**
|
|
1698
|
+
* Maximum number of stars. Default is 5
|
|
1699
|
+
* @default 5
|
|
1700
|
+
*/
|
|
1701
|
+
"max": number;
|
|
1702
|
+
/**
|
|
1703
|
+
* The rating's name attribute.
|
|
1704
|
+
* @default ''
|
|
1705
|
+
*/
|
|
1706
|
+
"name": string;
|
|
1707
|
+
/**
|
|
1708
|
+
* If its readonly
|
|
1709
|
+
* @default false
|
|
1710
|
+
*/
|
|
1711
|
+
"readonly": boolean;
|
|
1712
|
+
/**
|
|
1713
|
+
* Set to true to show an asterisk beneath the label.
|
|
1714
|
+
* @default false
|
|
1715
|
+
*/
|
|
1716
|
+
"required": boolean;
|
|
1717
|
+
/**
|
|
1718
|
+
* Size of the stars
|
|
1719
|
+
* @default 'medium'
|
|
1720
|
+
*/
|
|
1721
|
+
"size": 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge';
|
|
1722
|
+
/**
|
|
1723
|
+
* The rating's value attribute.
|
|
1724
|
+
* @default 0
|
|
1433
1725
|
*/
|
|
1434
1726
|
"value": number;
|
|
1435
1727
|
}
|
|
@@ -1440,14 +1732,17 @@ export namespace Components {
|
|
|
1440
1732
|
interface SixRoot {
|
|
1441
1733
|
/**
|
|
1442
1734
|
* Defines whether the content section should be padded
|
|
1735
|
+
* @default true
|
|
1443
1736
|
*/
|
|
1444
1737
|
"padded": boolean;
|
|
1445
1738
|
/**
|
|
1446
1739
|
* Defines the stage of the application
|
|
1740
|
+
* @default null
|
|
1447
1741
|
*/
|
|
1448
1742
|
"stage": StageType;
|
|
1449
1743
|
/**
|
|
1450
1744
|
* Defines the version of the application
|
|
1745
|
+
* @default ''
|
|
1451
1746
|
*/
|
|
1452
1747
|
"version": string;
|
|
1453
1748
|
}
|
|
@@ -1458,14 +1753,17 @@ export namespace Components {
|
|
|
1458
1753
|
interface SixSearchField {
|
|
1459
1754
|
/**
|
|
1460
1755
|
* Set to true to add a clear button when the input is populated.
|
|
1756
|
+
* @default false
|
|
1461
1757
|
*/
|
|
1462
1758
|
"clearable": boolean;
|
|
1463
1759
|
/**
|
|
1464
1760
|
* Debounce time in milliseconds, default is 300 ms
|
|
1761
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
1465
1762
|
*/
|
|
1466
1763
|
"debounce": number;
|
|
1467
1764
|
/**
|
|
1468
1765
|
* Set to true to disable the input.
|
|
1766
|
+
* @default false
|
|
1469
1767
|
*/
|
|
1470
1768
|
"disabled": boolean;
|
|
1471
1769
|
/**
|
|
@@ -1474,6 +1772,7 @@ export namespace Components {
|
|
|
1474
1772
|
"placeholder"?: string;
|
|
1475
1773
|
/**
|
|
1476
1774
|
* The input's value attribute.
|
|
1775
|
+
* @default ''
|
|
1477
1776
|
*/
|
|
1478
1777
|
"value": string;
|
|
1479
1778
|
}
|
|
@@ -1485,22 +1784,27 @@ export namespace Components {
|
|
|
1485
1784
|
interface SixSelect {
|
|
1486
1785
|
/**
|
|
1487
1786
|
* Set to true to allow async filtering. When you enter something in the search field the component will only emit an event but not filter any elements itself. You can then simply listen to the 'six-async-filter-fired' event to manage the shown menu-items yourself
|
|
1787
|
+
* @default false
|
|
1488
1788
|
*/
|
|
1489
1789
|
"asyncFilter": boolean;
|
|
1490
1790
|
/**
|
|
1491
1791
|
* Set to true to turn the six-select into an autocomplete.
|
|
1792
|
+
* @default false
|
|
1492
1793
|
*/
|
|
1493
1794
|
"autocomplete": boolean;
|
|
1494
1795
|
/**
|
|
1495
1796
|
* Set to true to add a clear button when the select is populated.
|
|
1797
|
+
* @default false
|
|
1496
1798
|
*/
|
|
1497
1799
|
"clearable": boolean;
|
|
1498
1800
|
/**
|
|
1499
1801
|
* Set to true to disable the select control.
|
|
1802
|
+
* @default false
|
|
1500
1803
|
*/
|
|
1501
1804
|
"disabled": boolean;
|
|
1502
1805
|
/**
|
|
1503
1806
|
* The error message shown, if `invalid` is set to true.
|
|
1807
|
+
* @default ''
|
|
1504
1808
|
*/
|
|
1505
1809
|
"errorText": string | string[];
|
|
1506
1810
|
/**
|
|
@@ -1509,6 +1813,7 @@ export namespace Components {
|
|
|
1509
1813
|
"errorTextCount"?: number;
|
|
1510
1814
|
/**
|
|
1511
1815
|
* Set to true to allow filtering for entries in the dropdown
|
|
1816
|
+
* @default false
|
|
1512
1817
|
*/
|
|
1513
1818
|
"filter": boolean;
|
|
1514
1819
|
/**
|
|
@@ -1521,54 +1826,67 @@ export namespace Components {
|
|
|
1521
1826
|
"filterPlaceholder"?: string;
|
|
1522
1827
|
/**
|
|
1523
1828
|
* The select's help text. Alternatively, you can use the help-text slot.
|
|
1829
|
+
* @default ''
|
|
1524
1830
|
*/
|
|
1525
1831
|
"helpText": string;
|
|
1526
1832
|
/**
|
|
1527
1833
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
1834
|
+
* @default false
|
|
1528
1835
|
*/
|
|
1529
1836
|
"hoist": boolean;
|
|
1530
1837
|
/**
|
|
1531
1838
|
* The debounce for when the input changes for autocompletes should be emitted
|
|
1839
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
1532
1840
|
*/
|
|
1533
1841
|
"inputDebounce": number;
|
|
1534
1842
|
/**
|
|
1535
1843
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
1844
|
+
* @default false
|
|
1536
1845
|
*/
|
|
1537
1846
|
"invalid": boolean;
|
|
1538
1847
|
/**
|
|
1539
1848
|
* The label text.
|
|
1849
|
+
* @default ''
|
|
1540
1850
|
*/
|
|
1541
1851
|
"label": string;
|
|
1542
1852
|
/**
|
|
1543
1853
|
* Set to render as line
|
|
1854
|
+
* @default false
|
|
1544
1855
|
*/
|
|
1545
1856
|
"line": boolean;
|
|
1546
1857
|
/**
|
|
1547
1858
|
* Set to true to enable multiselect.
|
|
1859
|
+
* @default false
|
|
1548
1860
|
*/
|
|
1549
1861
|
"multiple": boolean;
|
|
1550
1862
|
/**
|
|
1551
1863
|
* The select's name.
|
|
1864
|
+
* @default ''
|
|
1552
1865
|
*/
|
|
1553
1866
|
"name": string;
|
|
1554
1867
|
/**
|
|
1555
1868
|
* Set the options to be shown in the dropdown (alternative to setting the elements via html)
|
|
1869
|
+
* @default null
|
|
1556
1870
|
*/
|
|
1557
1871
|
"options": SixMenuItemData[] | null;
|
|
1558
1872
|
/**
|
|
1559
1873
|
* Set to true to draw a pill-style select with rounded edges.
|
|
1874
|
+
* @default false
|
|
1560
1875
|
*/
|
|
1561
1876
|
"pill": boolean;
|
|
1562
1877
|
/**
|
|
1563
1878
|
* The select's placeholder text.
|
|
1879
|
+
* @default ''
|
|
1564
1880
|
*/
|
|
1565
1881
|
"placeholder": string;
|
|
1566
1882
|
/**
|
|
1567
1883
|
* Set to true to show an asterisk beneath the label.
|
|
1884
|
+
* @default false
|
|
1568
1885
|
*/
|
|
1569
1886
|
"required": boolean;
|
|
1570
1887
|
/**
|
|
1571
1888
|
* Enables the select all button.
|
|
1889
|
+
* @default false
|
|
1572
1890
|
*/
|
|
1573
1891
|
"selectAllButton": boolean;
|
|
1574
1892
|
/**
|
|
@@ -1581,14 +1899,17 @@ export namespace Components {
|
|
|
1581
1899
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
1582
1900
|
/**
|
|
1583
1901
|
* The select's size.
|
|
1902
|
+
* @default 'medium'
|
|
1584
1903
|
*/
|
|
1585
1904
|
"size": 'small' | 'medium' | 'large';
|
|
1586
1905
|
/**
|
|
1587
1906
|
* The value of the control. This will be a string or an array depending on `multiple`.
|
|
1907
|
+
* @default ''
|
|
1588
1908
|
*/
|
|
1589
1909
|
"value": string | string[];
|
|
1590
1910
|
/**
|
|
1591
1911
|
* Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around) are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot.
|
|
1912
|
+
* @default false
|
|
1592
1913
|
*/
|
|
1593
1914
|
"virtualScroll": boolean;
|
|
1594
1915
|
}
|
|
@@ -1603,10 +1924,12 @@ export namespace Components {
|
|
|
1603
1924
|
"hide": () => Promise<void>;
|
|
1604
1925
|
/**
|
|
1605
1926
|
* Indicates whether the sidebar is open. You can use this in lieu of the show/hide methods.
|
|
1927
|
+
* @default false
|
|
1606
1928
|
*/
|
|
1607
1929
|
"open": boolean;
|
|
1608
1930
|
/**
|
|
1609
1931
|
* Sidebar position
|
|
1932
|
+
* @default 'left'
|
|
1610
1933
|
*/
|
|
1611
1934
|
"position": 'left' | 'right';
|
|
1612
1935
|
/**
|
|
@@ -1627,10 +1950,12 @@ export namespace Components {
|
|
|
1627
1950
|
"toggle": () => Promise<void>;
|
|
1628
1951
|
/**
|
|
1629
1952
|
* Define whether sidebar is toggled meaning only one menu can be open at the same time
|
|
1953
|
+
* @default false
|
|
1630
1954
|
*/
|
|
1631
1955
|
"toggled": boolean;
|
|
1632
1956
|
/**
|
|
1633
1957
|
* Sidebar width
|
|
1958
|
+
* @default '16rem'
|
|
1634
1959
|
*/
|
|
1635
1960
|
"width": string;
|
|
1636
1961
|
}
|
|
@@ -1641,6 +1966,7 @@ export namespace Components {
|
|
|
1641
1966
|
interface SixSidebarItem {
|
|
1642
1967
|
/**
|
|
1643
1968
|
* Set to true to draw the sidebar item in a disabled state.
|
|
1969
|
+
* @default false
|
|
1644
1970
|
*/
|
|
1645
1971
|
"disabled": boolean;
|
|
1646
1972
|
/**
|
|
@@ -1649,14 +1975,17 @@ export namespace Components {
|
|
|
1649
1975
|
"href": string | undefined;
|
|
1650
1976
|
/**
|
|
1651
1977
|
* Icon of the item
|
|
1978
|
+
* @default ''
|
|
1652
1979
|
*/
|
|
1653
1980
|
"icon": string;
|
|
1654
1981
|
/**
|
|
1655
1982
|
* Set to true to draw the item in a selected state.
|
|
1983
|
+
* @default false
|
|
1656
1984
|
*/
|
|
1657
1985
|
"selected": boolean;
|
|
1658
1986
|
/**
|
|
1659
1987
|
* A unique value to store in the sidebar item. This can be used as a way to identify sidebar items when selected.
|
|
1988
|
+
* @default ''
|
|
1660
1989
|
*/
|
|
1661
1990
|
"value": string;
|
|
1662
1991
|
}
|
|
@@ -1671,14 +2000,17 @@ export namespace Components {
|
|
|
1671
2000
|
"href": string | undefined;
|
|
1672
2001
|
/**
|
|
1673
2002
|
* Icon of the group
|
|
2003
|
+
* @default ''
|
|
1674
2004
|
*/
|
|
1675
2005
|
"icon": string;
|
|
1676
2006
|
/**
|
|
1677
2007
|
* Title of item group
|
|
2008
|
+
* @default ''
|
|
1678
2009
|
*/
|
|
1679
2010
|
"name": string;
|
|
1680
2011
|
/**
|
|
1681
2012
|
* Indicates whether the sidebar is shown
|
|
2013
|
+
* @default false
|
|
1682
2014
|
*/
|
|
1683
2015
|
"open": boolean;
|
|
1684
2016
|
/**
|
|
@@ -1687,6 +2019,7 @@ export namespace Components {
|
|
|
1687
2019
|
"summaryIcon"?: string;
|
|
1688
2020
|
/**
|
|
1689
2021
|
* A unique value to store in the sidebar item of the group label. This can be used as a way to identify sidebar items when selected.
|
|
2022
|
+
* @default ''
|
|
1690
2023
|
*/
|
|
1691
2024
|
"value": string;
|
|
1692
2025
|
}
|
|
@@ -1708,6 +2041,7 @@ export namespace Components {
|
|
|
1708
2041
|
interface SixStageIndicator {
|
|
1709
2042
|
/**
|
|
1710
2043
|
* The indicators value attribute
|
|
2044
|
+
* @default null
|
|
1711
2045
|
*/
|
|
1712
2046
|
"stage": StageType1;
|
|
1713
2047
|
}
|
|
@@ -1719,14 +2053,17 @@ export namespace Components {
|
|
|
1719
2053
|
interface SixSwitch {
|
|
1720
2054
|
/**
|
|
1721
2055
|
* Set to true to draw the switch in a checked state.
|
|
2056
|
+
* @default false
|
|
1722
2057
|
*/
|
|
1723
2058
|
"checked": boolean;
|
|
1724
2059
|
/**
|
|
1725
2060
|
* Set to true to disable the switch.
|
|
2061
|
+
* @default false
|
|
1726
2062
|
*/
|
|
1727
2063
|
"disabled": boolean;
|
|
1728
2064
|
/**
|
|
1729
2065
|
* The error message shown, if `invalid` is set to true.
|
|
2066
|
+
* @default ''
|
|
1730
2067
|
*/
|
|
1731
2068
|
"errorText": string | string[];
|
|
1732
2069
|
/**
|
|
@@ -1735,14 +2072,17 @@ export namespace Components {
|
|
|
1735
2072
|
"errorTextCount"?: number;
|
|
1736
2073
|
/**
|
|
1737
2074
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
2075
|
+
* @default false
|
|
1738
2076
|
*/
|
|
1739
2077
|
"invalid": boolean;
|
|
1740
2078
|
/**
|
|
1741
2079
|
* The label text.
|
|
2080
|
+
* @default ''
|
|
1742
2081
|
*/
|
|
1743
2082
|
"label": string;
|
|
1744
2083
|
/**
|
|
1745
2084
|
* The switch's name attribute.
|
|
2085
|
+
* @default ''
|
|
1746
2086
|
*/
|
|
1747
2087
|
"name": string;
|
|
1748
2088
|
/**
|
|
@@ -1751,6 +2091,7 @@ export namespace Components {
|
|
|
1751
2091
|
"removeFocus": () => Promise<void>;
|
|
1752
2092
|
/**
|
|
1753
2093
|
* Set to true to show an asterisk beneath the label.
|
|
2094
|
+
* @default false
|
|
1754
2095
|
*/
|
|
1755
2096
|
"required": boolean;
|
|
1756
2097
|
/**
|
|
@@ -1759,6 +2100,7 @@ export namespace Components {
|
|
|
1759
2100
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
1760
2101
|
/**
|
|
1761
2102
|
* The switch's value attribute.
|
|
2103
|
+
* @default 'on'
|
|
1762
2104
|
*/
|
|
1763
2105
|
"value": string;
|
|
1764
2106
|
}
|
|
@@ -1770,18 +2112,22 @@ export namespace Components {
|
|
|
1770
2112
|
interface SixTab {
|
|
1771
2113
|
/**
|
|
1772
2114
|
* Set to true to draw the tab in an active state.
|
|
2115
|
+
* @default false
|
|
1773
2116
|
*/
|
|
1774
2117
|
"active": boolean;
|
|
1775
2118
|
/**
|
|
1776
2119
|
* When true, the tab will be rendered with a close icon.
|
|
2120
|
+
* @default false
|
|
1777
2121
|
*/
|
|
1778
2122
|
"closable": boolean;
|
|
1779
2123
|
/**
|
|
1780
2124
|
* Set to true to draw the tab in a disabled state.
|
|
2125
|
+
* @default false
|
|
1781
2126
|
*/
|
|
1782
2127
|
"disabled": boolean;
|
|
1783
2128
|
/**
|
|
1784
2129
|
* The name of the tab panel the tab will control. The panel must be located in the same tab group.
|
|
2130
|
+
* @default ''
|
|
1785
2131
|
*/
|
|
1786
2132
|
"panel": string;
|
|
1787
2133
|
/**
|
|
@@ -1801,10 +2147,12 @@ export namespace Components {
|
|
|
1801
2147
|
interface SixTabGroup {
|
|
1802
2148
|
/**
|
|
1803
2149
|
* Disables the scroll arrows that appear when tabs overflow.
|
|
2150
|
+
* @default false
|
|
1804
2151
|
*/
|
|
1805
2152
|
"noScrollControls": boolean;
|
|
1806
2153
|
/**
|
|
1807
2154
|
* The placement of the tabs.
|
|
2155
|
+
* @default 'top'
|
|
1808
2156
|
*/
|
|
1809
2157
|
"placement": 'top' | 'bottom' | 'left' | 'right';
|
|
1810
2158
|
/**
|
|
@@ -1820,10 +2168,12 @@ export namespace Components {
|
|
|
1820
2168
|
interface SixTabPanel {
|
|
1821
2169
|
/**
|
|
1822
2170
|
* When true, the tab panel will be shown.
|
|
2171
|
+
* @default false
|
|
1823
2172
|
*/
|
|
1824
2173
|
"active": boolean;
|
|
1825
2174
|
/**
|
|
1826
2175
|
* The tab panel's name.
|
|
2176
|
+
* @default ''
|
|
1827
2177
|
*/
|
|
1828
2178
|
"name": string;
|
|
1829
2179
|
}
|
|
@@ -1835,18 +2185,22 @@ export namespace Components {
|
|
|
1835
2185
|
interface SixTag {
|
|
1836
2186
|
/**
|
|
1837
2187
|
* Set to true to make the tag clearable.
|
|
2188
|
+
* @default false
|
|
1838
2189
|
*/
|
|
1839
2190
|
"clearable": boolean;
|
|
1840
2191
|
/**
|
|
1841
2192
|
* Set to true to draw a pill-style tag with rounded edges.
|
|
2193
|
+
* @default false
|
|
1842
2194
|
*/
|
|
1843
2195
|
"pill": boolean;
|
|
1844
2196
|
/**
|
|
1845
2197
|
* The tag's size.
|
|
2198
|
+
* @default 'medium'
|
|
1846
2199
|
*/
|
|
1847
2200
|
"size": 'small' | 'medium' | 'large';
|
|
1848
2201
|
/**
|
|
1849
2202
|
* The tag's type.
|
|
2203
|
+
* @default 'primary'
|
|
1850
2204
|
*/
|
|
1851
2205
|
"type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'action' | 'text';
|
|
1852
2206
|
}
|
|
@@ -1858,26 +2212,32 @@ export namespace Components {
|
|
|
1858
2212
|
interface SixTextarea {
|
|
1859
2213
|
/**
|
|
1860
2214
|
* The textarea's autocaptialize attribute.
|
|
2215
|
+
* @default 'off'
|
|
1861
2216
|
*/
|
|
1862
2217
|
"autocapitalize": string;
|
|
1863
2218
|
/**
|
|
1864
2219
|
* The textarea's autocomplete attribute.
|
|
2220
|
+
* @default 'off'
|
|
1865
2221
|
*/
|
|
1866
2222
|
"autocomplete": string;
|
|
1867
2223
|
/**
|
|
1868
2224
|
* The textarea's autocorrect attribute.
|
|
2225
|
+
* @default 'off'
|
|
1869
2226
|
*/
|
|
1870
2227
|
"autocorrect": 'on' | 'off';
|
|
1871
2228
|
/**
|
|
1872
2229
|
* The textarea's autofocus attribute.
|
|
2230
|
+
* @default false
|
|
1873
2231
|
*/
|
|
1874
2232
|
"autofocus": boolean;
|
|
1875
2233
|
/**
|
|
1876
2234
|
* Set to true to disable the textarea.
|
|
2235
|
+
* @default false
|
|
1877
2236
|
*/
|
|
1878
2237
|
"disabled": boolean;
|
|
1879
2238
|
/**
|
|
1880
2239
|
* The error message shown, if `invalid` is set to true.
|
|
2240
|
+
* @default ''
|
|
1881
2241
|
*/
|
|
1882
2242
|
"errorText": string | string[];
|
|
1883
2243
|
/**
|
|
@@ -1886,6 +2246,7 @@ export namespace Components {
|
|
|
1886
2246
|
"errorTextCount"?: number;
|
|
1887
2247
|
/**
|
|
1888
2248
|
* The textarea's help text. Alternatively, you can use the help-text slot.
|
|
2249
|
+
* @default ''
|
|
1889
2250
|
*/
|
|
1890
2251
|
"helpText": string;
|
|
1891
2252
|
/**
|
|
@@ -1894,10 +2255,12 @@ export namespace Components {
|
|
|
1894
2255
|
"inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
1895
2256
|
/**
|
|
1896
2257
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
2258
|
+
* @default false
|
|
1897
2259
|
*/
|
|
1898
2260
|
"invalid": boolean;
|
|
1899
2261
|
/**
|
|
1900
2262
|
* The label text.
|
|
2263
|
+
* @default ''
|
|
1901
2264
|
*/
|
|
1902
2265
|
"label": string;
|
|
1903
2266
|
/**
|
|
@@ -1910,6 +2273,7 @@ export namespace Components {
|
|
|
1910
2273
|
"minlength"?: number;
|
|
1911
2274
|
/**
|
|
1912
2275
|
* The textarea's name attribute.
|
|
2276
|
+
* @default ''
|
|
1913
2277
|
*/
|
|
1914
2278
|
"name": string;
|
|
1915
2279
|
/**
|
|
@@ -1918,6 +2282,7 @@ export namespace Components {
|
|
|
1918
2282
|
"placeholder"?: string;
|
|
1919
2283
|
/**
|
|
1920
2284
|
* Set to true for a readonly textarea.
|
|
2285
|
+
* @default false
|
|
1921
2286
|
*/
|
|
1922
2287
|
"readonly": boolean;
|
|
1923
2288
|
/**
|
|
@@ -1926,14 +2291,17 @@ export namespace Components {
|
|
|
1926
2291
|
"removeFocus": () => Promise<void>;
|
|
1927
2292
|
/**
|
|
1928
2293
|
* Set to true to show an asterisk beneath the label.
|
|
2294
|
+
* @default false
|
|
1929
2295
|
*/
|
|
1930
2296
|
"required": boolean;
|
|
1931
2297
|
/**
|
|
1932
2298
|
* Controls how the textarea can be resized.
|
|
2299
|
+
* @default 'vertical'
|
|
1933
2300
|
*/
|
|
1934
2301
|
"resize": 'none' | 'vertical' | 'auto';
|
|
1935
2302
|
/**
|
|
1936
2303
|
* The number of rows to display by default.
|
|
2304
|
+
* @default 4
|
|
1937
2305
|
*/
|
|
1938
2306
|
"rows": number;
|
|
1939
2307
|
/**
|
|
@@ -1954,14 +2322,17 @@ export namespace Components {
|
|
|
1954
2322
|
"setSelectionRange": (selectionStart: number, selectionEnd: number, selectionDirection?: "forward" | "backward" | "none") => Promise<void | undefined>;
|
|
1955
2323
|
/**
|
|
1956
2324
|
* The textarea's size.
|
|
2325
|
+
* @default 'medium'
|
|
1957
2326
|
*/
|
|
1958
2327
|
"size": 'small' | 'medium' | 'large';
|
|
1959
2328
|
/**
|
|
1960
2329
|
* The textarea's spellcheck attribute.
|
|
2330
|
+
* @default false
|
|
1961
2331
|
*/
|
|
1962
2332
|
"spellcheck": boolean;
|
|
1963
2333
|
/**
|
|
1964
2334
|
* The textarea's value attribute.
|
|
2335
|
+
* @default ''
|
|
1965
2336
|
*/
|
|
1966
2337
|
"value": string;
|
|
1967
2338
|
}
|
|
@@ -1972,18 +2343,22 @@ export namespace Components {
|
|
|
1972
2343
|
interface SixTile {
|
|
1973
2344
|
/**
|
|
1974
2345
|
* Flag, whether the tile is closeable.
|
|
2346
|
+
* @default true
|
|
1975
2347
|
*/
|
|
1976
2348
|
"closeable": boolean;
|
|
1977
2349
|
/**
|
|
1978
2350
|
* Enables tile tooltip for tiles
|
|
2351
|
+
* @default true
|
|
1979
2352
|
*/
|
|
1980
2353
|
"disableTooltip": boolean;
|
|
1981
2354
|
/**
|
|
1982
2355
|
* Set to true to disable the tile.
|
|
2356
|
+
* @default false
|
|
1983
2357
|
*/
|
|
1984
2358
|
"disabled": boolean;
|
|
1985
2359
|
/**
|
|
1986
2360
|
* Flag, whether the tile should cast a shadow.
|
|
2361
|
+
* @default false
|
|
1987
2362
|
*/
|
|
1988
2363
|
"elevated": boolean;
|
|
1989
2364
|
/**
|
|
@@ -1996,6 +2371,7 @@ export namespace Components {
|
|
|
1996
2371
|
"iconName"?: string;
|
|
1997
2372
|
/**
|
|
1998
2373
|
* The tile's label.
|
|
2374
|
+
* @default ''
|
|
1999
2375
|
*/
|
|
2000
2376
|
"label": string;
|
|
2001
2377
|
/**
|
|
@@ -2004,6 +2380,7 @@ export namespace Components {
|
|
|
2004
2380
|
"show": () => Promise<void>;
|
|
2005
2381
|
/**
|
|
2006
2382
|
* The tile's size.
|
|
2383
|
+
* @default 'medium'
|
|
2007
2384
|
*/
|
|
2008
2385
|
"size": 'small' | 'medium' | 'large';
|
|
2009
2386
|
}
|
|
@@ -2014,10 +2391,12 @@ export namespace Components {
|
|
|
2014
2391
|
interface SixTimepicker {
|
|
2015
2392
|
/**
|
|
2016
2393
|
* Set to true to add a clear button when the input is populated.
|
|
2394
|
+
* @default false
|
|
2017
2395
|
*/
|
|
2018
2396
|
"clearable": boolean;
|
|
2019
2397
|
/**
|
|
2020
2398
|
* Set the amount of time, in milliseconds, to wait to trigger the `six-timepicker-change-debounced` event. If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click (and keep pressed) and once you release
|
|
2399
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
2021
2400
|
*/
|
|
2022
2401
|
"debounce": number;
|
|
2023
2402
|
/**
|
|
@@ -2026,10 +2405,12 @@ export namespace Components {
|
|
|
2026
2405
|
"defaultTime"?: string;
|
|
2027
2406
|
/**
|
|
2028
2407
|
* If `true` the component is disabled.
|
|
2408
|
+
* @default false
|
|
2029
2409
|
*/
|
|
2030
2410
|
"disabled": boolean;
|
|
2031
2411
|
/**
|
|
2032
2412
|
* The input's error text. Alternatively, you can use the error-text slot.
|
|
2413
|
+
* @default ''
|
|
2033
2414
|
*/
|
|
2034
2415
|
"errorText": string | string[];
|
|
2035
2416
|
/**
|
|
@@ -2038,38 +2419,47 @@ export namespace Components {
|
|
|
2038
2419
|
"errorTextCount"?: number;
|
|
2039
2420
|
/**
|
|
2040
2421
|
* Define the time format. Valid formats are: HH:mm:ss hh:mm:ss:aa HH:mm:ss:ms hh:mm:ss:ms:aa HH:mm hh:mm:aa HH hh:aa mm ss ms where HH is the 24 hour format and hh is the 12 hour format Please notice that when using the 12-hour-clock (hh) you always need a period indicator (aa). So the time can be parsed as either am or pm
|
|
2422
|
+
* @default 'HH:mm:ss'
|
|
2041
2423
|
*/
|
|
2042
2424
|
"format": TimeFormat;
|
|
2043
2425
|
/**
|
|
2044
2426
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
2427
|
+
* @default false
|
|
2045
2428
|
*/
|
|
2046
2429
|
"hoist": boolean;
|
|
2047
2430
|
/**
|
|
2048
2431
|
* Set the position of the icon
|
|
2432
|
+
* @default 'left'
|
|
2049
2433
|
*/
|
|
2050
2434
|
"iconPosition": 'left' | 'right';
|
|
2051
2435
|
/**
|
|
2052
2436
|
* Indicates whether the timepicker should be shown as an inline (always open) component
|
|
2437
|
+
* @default false
|
|
2053
2438
|
*/
|
|
2054
2439
|
"inline": boolean;
|
|
2055
2440
|
/**
|
|
2056
2441
|
* Set the amount of time, in milliseconds, to wait between switching to next timeunit (e.g. next hour) when mouse button is held pressed.
|
|
2442
|
+
* @default DEFAULT_DEBOUNCE_INSANELY_FAST
|
|
2057
2443
|
*/
|
|
2058
2444
|
"interval": number;
|
|
2059
2445
|
/**
|
|
2060
2446
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
2447
|
+
* @default false
|
|
2061
2448
|
*/
|
|
2062
2449
|
"invalid": boolean;
|
|
2063
2450
|
/**
|
|
2064
2451
|
* The input's label. Alternatively, you can use the label slot.
|
|
2452
|
+
* @default ''
|
|
2065
2453
|
*/
|
|
2066
2454
|
"label": string;
|
|
2067
2455
|
/**
|
|
2068
2456
|
* The input's name attribute.
|
|
2457
|
+
* @default ''
|
|
2069
2458
|
*/
|
|
2070
2459
|
"name": string;
|
|
2071
2460
|
/**
|
|
2072
2461
|
* Indicates whether the timepicker dropdown is open on startup. You can use this in lieu of the show/hide methods.
|
|
2462
|
+
* @default false
|
|
2073
2463
|
*/
|
|
2074
2464
|
"open": boolean;
|
|
2075
2465
|
/**
|
|
@@ -2082,14 +2472,17 @@ export namespace Components {
|
|
|
2082
2472
|
"placement"?: 'top' | 'bottom';
|
|
2083
2473
|
/**
|
|
2084
2474
|
* If `true` the user can only select a time via the timepicker but not directly edit the input field.
|
|
2475
|
+
* @default false
|
|
2085
2476
|
*/
|
|
2086
2477
|
"readonly": boolean;
|
|
2087
2478
|
/**
|
|
2088
2479
|
* Set to true to show an asterisk beneath the label.
|
|
2480
|
+
* @default false
|
|
2089
2481
|
*/
|
|
2090
2482
|
"required": boolean;
|
|
2091
2483
|
/**
|
|
2092
2484
|
* Define the separator to be shown between the time unit pickers. Please be aware that this property will modify the displayed separator only. The separator for a timestring is always expected to be a colon (eg. '13:52:20')
|
|
2485
|
+
* @default ':'
|
|
2093
2486
|
*/
|
|
2094
2487
|
"separator": string;
|
|
2095
2488
|
/**
|
|
@@ -2098,14 +2491,17 @@ export namespace Components {
|
|
|
2098
2491
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
2099
2492
|
/**
|
|
2100
2493
|
* Timepicker size.
|
|
2494
|
+
* @default 'medium'
|
|
2101
2495
|
*/
|
|
2102
2496
|
"size": 'small' | 'medium' | 'large';
|
|
2103
2497
|
/**
|
|
2104
2498
|
* Set the amount of time, in milliseconds, to wait to trigger faster switching between timeunits (e.g. hours).
|
|
2499
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
2105
2500
|
*/
|
|
2106
2501
|
"timeout": number;
|
|
2107
2502
|
/**
|
|
2108
2503
|
* The value of the timepicker provided as a string. The string mast match the provided format (or default format)
|
|
2504
|
+
* @default ''
|
|
2109
2505
|
*/
|
|
2110
2506
|
"value": string;
|
|
2111
2507
|
}
|
|
@@ -2117,14 +2513,17 @@ export namespace Components {
|
|
|
2117
2513
|
interface SixTooltip {
|
|
2118
2514
|
/**
|
|
2119
2515
|
* The tooltip's content. Alternatively, you can use the content slot.
|
|
2516
|
+
* @default ''
|
|
2120
2517
|
*/
|
|
2121
2518
|
"content": string;
|
|
2122
2519
|
/**
|
|
2123
2520
|
* Set to true to disable the tooltip, so it won't show when triggered.
|
|
2521
|
+
* @default false
|
|
2124
2522
|
*/
|
|
2125
2523
|
"disabled": boolean;
|
|
2126
2524
|
/**
|
|
2127
2525
|
* The distance in pixels from which to offset the tooltip away from its target.
|
|
2526
|
+
* @default 10
|
|
2128
2527
|
*/
|
|
2129
2528
|
"distance": number;
|
|
2130
2529
|
/**
|
|
@@ -2133,10 +2532,12 @@ export namespace Components {
|
|
|
2133
2532
|
"hide": () => Promise<void>;
|
|
2134
2533
|
/**
|
|
2135
2534
|
* Indicates whether the tooltip is open. You can use this in lieu of the show/hide methods.
|
|
2535
|
+
* @default false
|
|
2136
2536
|
*/
|
|
2137
2537
|
"open": boolean;
|
|
2138
2538
|
/**
|
|
2139
2539
|
* The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip inside the viewport.
|
|
2540
|
+
* @default 'top'
|
|
2140
2541
|
*/
|
|
2141
2542
|
"placement": | 'top'
|
|
2142
2543
|
| 'top-start'
|
|
@@ -2156,10 +2557,12 @@ export namespace Components {
|
|
|
2156
2557
|
"show": () => Promise<void>;
|
|
2157
2558
|
/**
|
|
2158
2559
|
* The distance in pixels from which to offset the tooltip along its target.
|
|
2560
|
+
* @default 0
|
|
2159
2561
|
*/
|
|
2160
2562
|
"skidding": number;
|
|
2161
2563
|
/**
|
|
2162
2564
|
* Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple options can be passed by separating them with a space. When manual is used, the tooltip must be activated programmatically.
|
|
2565
|
+
* @default 'hover focus'
|
|
2163
2566
|
*/
|
|
2164
2567
|
"trigger": string;
|
|
2165
2568
|
}
|
|
@@ -2232,6 +2635,10 @@ export interface SixRangeCustomEvent<T> extends CustomEvent<T> {
|
|
|
2232
2635
|
detail: T;
|
|
2233
2636
|
target: HTMLSixRangeElement;
|
|
2234
2637
|
}
|
|
2638
|
+
export interface SixRatingCustomEvent<T> extends CustomEvent<T> {
|
|
2639
|
+
detail: T;
|
|
2640
|
+
target: HTMLSixRatingElement;
|
|
2641
|
+
}
|
|
2235
2642
|
export interface SixSearchFieldCustomEvent<T> extends CustomEvent<T> {
|
|
2236
2643
|
detail: T;
|
|
2237
2644
|
target: HTMLSixSearchFieldElement;
|
|
@@ -2324,6 +2731,28 @@ declare global {
|
|
|
2324
2731
|
prototype: HTMLSixBadgeElement;
|
|
2325
2732
|
new (): HTMLSixBadgeElement;
|
|
2326
2733
|
};
|
|
2734
|
+
/**
|
|
2735
|
+
* Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.
|
|
2736
|
+
* @since 5.0
|
|
2737
|
+
* @status beta
|
|
2738
|
+
*/
|
|
2739
|
+
interface HTMLSixBreadcrumbsElement extends Components.SixBreadcrumbs, HTMLStencilElement {
|
|
2740
|
+
}
|
|
2741
|
+
var HTMLSixBreadcrumbsElement: {
|
|
2742
|
+
prototype: HTMLSixBreadcrumbsElement;
|
|
2743
|
+
new (): HTMLSixBreadcrumbsElement;
|
|
2744
|
+
};
|
|
2745
|
+
/**
|
|
2746
|
+
* Breadcrumb items are used inside breadcrumbs to represent different links.
|
|
2747
|
+
* @since 5.0
|
|
2748
|
+
* @status beta
|
|
2749
|
+
*/
|
|
2750
|
+
interface HTMLSixBreadcrumbsItemElement extends Components.SixBreadcrumbsItem, HTMLStencilElement {
|
|
2751
|
+
}
|
|
2752
|
+
var HTMLSixBreadcrumbsItemElement: {
|
|
2753
|
+
prototype: HTMLSixBreadcrumbsItemElement;
|
|
2754
|
+
new (): HTMLSixBreadcrumbsItemElement;
|
|
2755
|
+
};
|
|
2327
2756
|
interface HTMLSixButtonElementEventMap {
|
|
2328
2757
|
"six-button-blur": EmptyPayload;
|
|
2329
2758
|
"six-button-focus": EmptyPayload;
|
|
@@ -2411,7 +2840,7 @@ declare global {
|
|
|
2411
2840
|
}
|
|
2412
2841
|
/**
|
|
2413
2842
|
* @since 1.0
|
|
2414
|
-
* @status
|
|
2843
|
+
* @status deprecated. Use six-date instead.
|
|
2415
2844
|
*/
|
|
2416
2845
|
interface HTMLSixDatepickerElement extends Components.SixDatepicker, HTMLStencilElement {
|
|
2417
2846
|
addEventListener<K extends keyof HTMLSixDatepickerElementEventMap>(type: K, listener: (this: HTMLSixDatepickerElement, ev: SixDatepickerCustomEvent<HTMLSixDatepickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2915,6 +3344,25 @@ declare global {
|
|
|
2915
3344
|
prototype: HTMLSixRangeElement;
|
|
2916
3345
|
new (): HTMLSixRangeElement;
|
|
2917
3346
|
};
|
|
3347
|
+
interface HTMLSixRatingElementEventMap {
|
|
3348
|
+
"six-rating-blur": number;
|
|
3349
|
+
"six-rating-change": number;
|
|
3350
|
+
"six-rating-focus": EmptyPayload;
|
|
3351
|
+
}
|
|
3352
|
+
interface HTMLSixRatingElement extends Components.SixRating, HTMLStencilElement {
|
|
3353
|
+
addEventListener<K extends keyof HTMLSixRatingElementEventMap>(type: K, listener: (this: HTMLSixRatingElement, ev: SixRatingCustomEvent<HTMLSixRatingElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3354
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3355
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3356
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3357
|
+
removeEventListener<K extends keyof HTMLSixRatingElementEventMap>(type: K, listener: (this: HTMLSixRatingElement, ev: SixRatingCustomEvent<HTMLSixRatingElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3358
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3359
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3360
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3361
|
+
}
|
|
3362
|
+
var HTMLSixRatingElement: {
|
|
3363
|
+
prototype: HTMLSixRatingElement;
|
|
3364
|
+
new (): HTMLSixRatingElement;
|
|
3365
|
+
};
|
|
2918
3366
|
/**
|
|
2919
3367
|
* @since 1.0
|
|
2920
3368
|
* @status stable
|
|
@@ -3233,6 +3681,8 @@ declare global {
|
|
|
3233
3681
|
"six-alert": HTMLSixAlertElement;
|
|
3234
3682
|
"six-avatar": HTMLSixAvatarElement;
|
|
3235
3683
|
"six-badge": HTMLSixBadgeElement;
|
|
3684
|
+
"six-breadcrumbs": HTMLSixBreadcrumbsElement;
|
|
3685
|
+
"six-breadcrumbs-item": HTMLSixBreadcrumbsItemElement;
|
|
3236
3686
|
"six-button": HTMLSixButtonElement;
|
|
3237
3687
|
"six-card": HTMLSixCardElement;
|
|
3238
3688
|
"six-checkbox": HTMLSixCheckboxElement;
|
|
@@ -3270,6 +3720,7 @@ declare global {
|
|
|
3270
3720
|
"six-progress-ring": HTMLSixProgressRingElement;
|
|
3271
3721
|
"six-radio": HTMLSixRadioElement;
|
|
3272
3722
|
"six-range": HTMLSixRangeElement;
|
|
3723
|
+
"six-rating": HTMLSixRatingElement;
|
|
3273
3724
|
"six-root": HTMLSixRootElement;
|
|
3274
3725
|
"six-search-field": HTMLSixSearchFieldElement;
|
|
3275
3726
|
"six-select": HTMLSixSelectElement;
|
|
@@ -3298,10 +3749,12 @@ declare namespace LocalJSX {
|
|
|
3298
3749
|
interface SixAlert {
|
|
3299
3750
|
/**
|
|
3300
3751
|
* Set to true to make the alert closable.
|
|
3752
|
+
* @default false
|
|
3301
3753
|
*/
|
|
3302
3754
|
"closable"?: boolean;
|
|
3303
3755
|
/**
|
|
3304
3756
|
* The length of time, in milliseconds, the alert will show before closing itself. If the user hovers over the toast alert, the timer will pause. On leaving the element with the mouse, the timer resets.
|
|
3757
|
+
* @default Infinity
|
|
3305
3758
|
*/
|
|
3306
3759
|
"duration"?: number;
|
|
3307
3760
|
/**
|
|
@@ -3322,10 +3775,12 @@ declare namespace LocalJSX {
|
|
|
3322
3775
|
"onSix-alert-show"?: (event: SixAlertCustomEvent<EmptyPayload>) => void;
|
|
3323
3776
|
/**
|
|
3324
3777
|
* Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.
|
|
3778
|
+
* @default false
|
|
3325
3779
|
*/
|
|
3326
3780
|
"open"?: boolean;
|
|
3327
3781
|
/**
|
|
3328
3782
|
* The type of alert.
|
|
3783
|
+
* @default 'primary'
|
|
3329
3784
|
*/
|
|
3330
3785
|
"type"?: AlertType;
|
|
3331
3786
|
}
|
|
@@ -3337,18 +3792,22 @@ declare namespace LocalJSX {
|
|
|
3337
3792
|
interface SixAvatar {
|
|
3338
3793
|
/**
|
|
3339
3794
|
* Alternative text for the image.
|
|
3795
|
+
* @default ''
|
|
3340
3796
|
*/
|
|
3341
3797
|
"alt"?: string;
|
|
3342
3798
|
/**
|
|
3343
3799
|
* The image source to use for the avatar.
|
|
3800
|
+
* @default ''
|
|
3344
3801
|
*/
|
|
3345
3802
|
"image"?: string;
|
|
3346
3803
|
/**
|
|
3347
3804
|
* Initials to use as a fallback when no image is available (1-2 characters max recommended).
|
|
3805
|
+
* @default ''
|
|
3348
3806
|
*/
|
|
3349
3807
|
"initials"?: string;
|
|
3350
3808
|
/**
|
|
3351
3809
|
* The shape of the avatar.
|
|
3810
|
+
* @default 'circle'
|
|
3352
3811
|
*/
|
|
3353
3812
|
"shape"?: 'circle' | 'square' | 'rounded';
|
|
3354
3813
|
}
|
|
@@ -3360,17 +3819,57 @@ declare namespace LocalJSX {
|
|
|
3360
3819
|
interface SixBadge {
|
|
3361
3820
|
/**
|
|
3362
3821
|
* Set to true to draw a pill-style badge with rounded edges.
|
|
3822
|
+
* @default false
|
|
3363
3823
|
*/
|
|
3364
3824
|
"pill"?: boolean;
|
|
3365
3825
|
/**
|
|
3366
3826
|
* Set to true to make the badge pulsate to draw attention.
|
|
3827
|
+
* @default false
|
|
3367
3828
|
*/
|
|
3368
3829
|
"pulse"?: boolean;
|
|
3369
3830
|
/**
|
|
3370
3831
|
* The badge's type.
|
|
3832
|
+
* @default 'primary'
|
|
3371
3833
|
*/
|
|
3372
3834
|
"type"?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'action';
|
|
3373
3835
|
}
|
|
3836
|
+
/**
|
|
3837
|
+
* Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.
|
|
3838
|
+
* @since 5.0
|
|
3839
|
+
* @status beta
|
|
3840
|
+
*/
|
|
3841
|
+
interface SixBreadcrumbs {
|
|
3842
|
+
/**
|
|
3843
|
+
* Defines an icon as a separator without having to place a slot *
|
|
3844
|
+
* @default ''
|
|
3845
|
+
*/
|
|
3846
|
+
"separatorIcon"?: string;
|
|
3847
|
+
}
|
|
3848
|
+
/**
|
|
3849
|
+
* Breadcrumb items are used inside breadcrumbs to represent different links.
|
|
3850
|
+
* @since 5.0
|
|
3851
|
+
* @status beta
|
|
3852
|
+
*/
|
|
3853
|
+
interface SixBreadcrumbsItem {
|
|
3854
|
+
/**
|
|
3855
|
+
* When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
|
|
3856
|
+
*/
|
|
3857
|
+
"href"?: string;
|
|
3858
|
+
/**
|
|
3859
|
+
* Set to true to readonly the breadcrumb item.
|
|
3860
|
+
* @default false
|
|
3861
|
+
*/
|
|
3862
|
+
"readonly"?: boolean;
|
|
3863
|
+
/**
|
|
3864
|
+
* The breadcrumbs item size.
|
|
3865
|
+
* @default 'medium'
|
|
3866
|
+
*/
|
|
3867
|
+
"size"?: 'small' | 'medium' | 'large';
|
|
3868
|
+
/**
|
|
3869
|
+
* Tells the browser where to open the link. Only used when `href` is set.
|
|
3870
|
+
*/
|
|
3871
|
+
"target"?: '_blank' | '_parent' | '_self' | '_top';
|
|
3872
|
+
}
|
|
3374
3873
|
/**
|
|
3375
3874
|
* @since 1.0
|
|
3376
3875
|
* @status stable
|
|
@@ -3379,14 +3878,17 @@ declare namespace LocalJSX {
|
|
|
3379
3878
|
interface SixButton {
|
|
3380
3879
|
/**
|
|
3381
3880
|
* Set to true to draw the button with a caret for use with dropdowns, popovers, etc.
|
|
3881
|
+
* @default false
|
|
3382
3882
|
*/
|
|
3383
3883
|
"caret"?: boolean;
|
|
3384
3884
|
/**
|
|
3385
3885
|
* Set to true to draw a circle button.
|
|
3886
|
+
* @default false
|
|
3386
3887
|
*/
|
|
3387
3888
|
"circle"?: boolean;
|
|
3388
3889
|
/**
|
|
3389
3890
|
* Set to true to disable the button.
|
|
3891
|
+
* @default false
|
|
3390
3892
|
*/
|
|
3391
3893
|
"disabled"?: boolean;
|
|
3392
3894
|
/**
|
|
@@ -3399,10 +3901,12 @@ declare namespace LocalJSX {
|
|
|
3399
3901
|
"href"?: string;
|
|
3400
3902
|
/**
|
|
3401
3903
|
* Set to true to draw the button in a loading state.
|
|
3904
|
+
* @default false
|
|
3402
3905
|
*/
|
|
3403
3906
|
"loading"?: boolean;
|
|
3404
3907
|
/**
|
|
3405
3908
|
* An optional name for the button. Ignored when `href` is set.
|
|
3909
|
+
* @default ''
|
|
3406
3910
|
*/
|
|
3407
3911
|
"name"?: string;
|
|
3408
3912
|
/**
|
|
@@ -3415,18 +3919,22 @@ declare namespace LocalJSX {
|
|
|
3415
3919
|
"onSix-button-focus"?: (event: SixButtonCustomEvent<EmptyPayload>) => void;
|
|
3416
3920
|
/**
|
|
3417
3921
|
* Set to true to draw a pill-style button with rounded edges.
|
|
3922
|
+
* @default false
|
|
3418
3923
|
*/
|
|
3419
3924
|
"pill"?: boolean;
|
|
3420
3925
|
/**
|
|
3421
3926
|
* Indicates if activating the button should reset the form.
|
|
3927
|
+
* @default false
|
|
3422
3928
|
*/
|
|
3423
3929
|
"reset"?: boolean;
|
|
3424
3930
|
/**
|
|
3425
3931
|
* The button's size.
|
|
3932
|
+
* @default 'medium'
|
|
3426
3933
|
*/
|
|
3427
3934
|
"size"?: 'small' | 'medium' | 'large';
|
|
3428
3935
|
/**
|
|
3429
3936
|
* Indicates if activating the button should submit the form. Ignored when `href` is set.
|
|
3937
|
+
* @default false
|
|
3430
3938
|
*/
|
|
3431
3939
|
"submit"?: boolean;
|
|
3432
3940
|
/**
|
|
@@ -3435,6 +3943,7 @@ declare namespace LocalJSX {
|
|
|
3435
3943
|
"target"?: '_blank' | '_parent' | '_self' | '_top';
|
|
3436
3944
|
/**
|
|
3437
3945
|
* The button's type.
|
|
3946
|
+
* @default 'primary'
|
|
3438
3947
|
*/
|
|
3439
3948
|
"type"?: | 'secondary'
|
|
3440
3949
|
| 'primary'
|
|
@@ -3446,6 +3955,7 @@ declare namespace LocalJSX {
|
|
|
3446
3955
|
| 'action-outline';
|
|
3447
3956
|
/**
|
|
3448
3957
|
* An optional value for the button. Ignored when `href` is set.
|
|
3958
|
+
* @default ''
|
|
3449
3959
|
*/
|
|
3450
3960
|
"value"?: string;
|
|
3451
3961
|
}
|
|
@@ -3463,14 +3973,17 @@ declare namespace LocalJSX {
|
|
|
3463
3973
|
interface SixCheckbox {
|
|
3464
3974
|
/**
|
|
3465
3975
|
* Set to true to draw the checkbox in a checked state.
|
|
3976
|
+
* @default false
|
|
3466
3977
|
*/
|
|
3467
3978
|
"checked"?: boolean;
|
|
3468
3979
|
/**
|
|
3469
3980
|
* Set to true to disable the checkbox.
|
|
3981
|
+
* @default false
|
|
3470
3982
|
*/
|
|
3471
3983
|
"disabled"?: boolean;
|
|
3472
3984
|
/**
|
|
3473
3985
|
* The error message shown, if `invalid` is set to true.
|
|
3986
|
+
* @default ''
|
|
3474
3987
|
*/
|
|
3475
3988
|
"errorText"?: string | string[];
|
|
3476
3989
|
/**
|
|
@@ -3479,18 +3992,22 @@ declare namespace LocalJSX {
|
|
|
3479
3992
|
"errorTextCount"?: number;
|
|
3480
3993
|
/**
|
|
3481
3994
|
* Set to true to draw the checkbox in an indeterminate state.
|
|
3995
|
+
* @default false
|
|
3482
3996
|
*/
|
|
3483
3997
|
"indeterminate"?: boolean;
|
|
3484
3998
|
/**
|
|
3485
3999
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
4000
|
+
* @default false
|
|
3486
4001
|
*/
|
|
3487
4002
|
"invalid"?: boolean;
|
|
3488
4003
|
/**
|
|
3489
4004
|
* The label text.
|
|
4005
|
+
* @default ''
|
|
3490
4006
|
*/
|
|
3491
4007
|
"label"?: string;
|
|
3492
4008
|
/**
|
|
3493
4009
|
* The checkbox's name attribute.
|
|
4010
|
+
* @default ''
|
|
3494
4011
|
*/
|
|
3495
4012
|
"name"?: string;
|
|
3496
4013
|
/**
|
|
@@ -3507,10 +4024,12 @@ declare namespace LocalJSX {
|
|
|
3507
4024
|
"onSix-checkbox-focus"?: (event: SixCheckboxCustomEvent<EmptyPayload>) => void;
|
|
3508
4025
|
/**
|
|
3509
4026
|
* Set to true to show an asterisk beneath the label.
|
|
4027
|
+
* @default false
|
|
3510
4028
|
*/
|
|
3511
4029
|
"required"?: boolean;
|
|
3512
4030
|
/**
|
|
3513
4031
|
* The value of the checkbox does not mean if it's checked or not, use the `checked` property for that. The value of a checkbox is analogous to the value of an `<input type="checkbox">`, it's only used when the checkbox participates in a native `<form>`.
|
|
4032
|
+
* @default 'on'
|
|
3514
4033
|
*/
|
|
3515
4034
|
"value"?: string;
|
|
3516
4035
|
}
|
|
@@ -3522,22 +4041,27 @@ declare namespace LocalJSX {
|
|
|
3522
4041
|
interface SixDate {
|
|
3523
4042
|
/**
|
|
3524
4043
|
* Callback to determine which dates in the picker should be selectable.
|
|
4044
|
+
* @default () => true
|
|
3525
4045
|
*/
|
|
3526
4046
|
"allowedDates"?: (date: string) => boolean;
|
|
3527
4047
|
/**
|
|
3528
4048
|
* Set to true to add a clear button when the input is populated.
|
|
4049
|
+
* @default false
|
|
3529
4050
|
*/
|
|
3530
4051
|
"clearable"?: boolean;
|
|
3531
4052
|
/**
|
|
3532
4053
|
* Defines the format pattern for displaying dates and how dates can be entered via keyboard. The parser accepts flexible input that doesn't strictly match the format pattern. Input with missing leading zeros or incomplete years will be automatically normalized. For example, with the pattern "dd.MM.yyyy": "1.1.2025" becomes "01.01.2025" and "1.1.225" becomes "01.01.0225". Defaults to "dd.MM.yyyy". Available patterns: - Year: "yyyy" (e.g., "2021") - Month: "MM" (e.g., "01" for January) or "M" (e.g., "1" for January) - Day: "dd" (e.g., "08" for the 8th) or "d" (e.g., "8" for the 8th) Examples: - "dd.MM.yyyy" -> "31.01.2024" - "yyyy-MM-dd" -> "2024-01-31" - "d.M.yyyy" -> "31.1.2024"
|
|
4054
|
+
* @default 'dd.MM.yyyy'
|
|
3533
4055
|
*/
|
|
3534
4056
|
"dateFormat"?: string;
|
|
3535
4057
|
/**
|
|
3536
4058
|
* If `true` the component is disabled.
|
|
4059
|
+
* @default false
|
|
3537
4060
|
*/
|
|
3538
4061
|
"disabled"?: boolean;
|
|
3539
4062
|
/**
|
|
3540
4063
|
* The error message shown, if `invalid` is set to true.
|
|
4064
|
+
* @default ''
|
|
3541
4065
|
*/
|
|
3542
4066
|
"errorText"?: string | string[];
|
|
3543
4067
|
/**
|
|
@@ -3546,18 +4070,22 @@ declare namespace LocalJSX {
|
|
|
3546
4070
|
"errorTextCount"?: number;
|
|
3547
4071
|
/**
|
|
3548
4072
|
* The input's help text. Alternatively, you can use the help-text slot.
|
|
4073
|
+
* @default ''
|
|
3549
4074
|
*/
|
|
3550
4075
|
"helpText"?: string;
|
|
3551
4076
|
/**
|
|
3552
4077
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
4078
|
+
* @default false
|
|
3553
4079
|
*/
|
|
3554
4080
|
"invalid"?: boolean;
|
|
3555
4081
|
/**
|
|
3556
4082
|
* The label text.
|
|
4083
|
+
* @default ''
|
|
3557
4084
|
*/
|
|
3558
4085
|
"label"?: string;
|
|
3559
4086
|
/**
|
|
3560
4087
|
* The language used to render the weekdays and months.
|
|
4088
|
+
* @default 'en'
|
|
3561
4089
|
*/
|
|
3562
4090
|
"language"?: Language;
|
|
3563
4091
|
/**
|
|
@@ -3570,6 +4098,7 @@ declare namespace LocalJSX {
|
|
|
3570
4098
|
"min"?: string;
|
|
3571
4099
|
/**
|
|
3572
4100
|
* The input's name attribute.
|
|
4101
|
+
* @default ''
|
|
3573
4102
|
*/
|
|
3574
4103
|
"name"?: string;
|
|
3575
4104
|
/**
|
|
@@ -3586,36 +4115,43 @@ declare namespace LocalJSX {
|
|
|
3586
4115
|
"placeholder"?: string;
|
|
3587
4116
|
/**
|
|
3588
4117
|
* If `true` the user can only select a date via the component in the popup but not directly edit the input field.
|
|
4118
|
+
* @default false
|
|
3589
4119
|
*/
|
|
3590
4120
|
"readonly"?: boolean;
|
|
3591
4121
|
/**
|
|
3592
4122
|
* Set to true to show an asterisk beneath the label.
|
|
4123
|
+
* @default false
|
|
3593
4124
|
*/
|
|
3594
4125
|
"required"?: boolean;
|
|
3595
4126
|
/**
|
|
3596
4127
|
* The size of the date input field.
|
|
4128
|
+
* @default 'medium'
|
|
3597
4129
|
*/
|
|
3598
4130
|
"size"?: 'small' | 'medium' | 'large';
|
|
3599
4131
|
/**
|
|
3600
4132
|
* The value of the form field in ISO 8601 date format (yyyy-MM-dd). Example: '2024-01-01'. When an invalid date is provided, it will be replaced with an empty string (''), matching the behavior of native HTML <input type="date">. The displayed format can be customized using the dateFormat property, but the underlying value will always be stored in ISO format.
|
|
4133
|
+
* @default ''
|
|
3601
4134
|
*/
|
|
3602
4135
|
"value"?: string | '';
|
|
3603
4136
|
}
|
|
3604
4137
|
/**
|
|
3605
4138
|
* @since 1.0
|
|
3606
|
-
* @status
|
|
4139
|
+
* @status deprecated. Use six-date instead.
|
|
3607
4140
|
*/
|
|
3608
4141
|
interface SixDatepicker {
|
|
3609
4142
|
/**
|
|
3610
4143
|
* Callback to determine which date in the datepicker should be selectable. the callback function will get a datestring as an argument, e.g. '2021-07-04' Usage e.g.: const datepicker = document.getElementById('allowed-date-picker'); datepicker.allowedDates = datestring => parseInt(datestring.split('-')[2], 10) % 2 === 0;
|
|
4144
|
+
* @default () => true
|
|
3611
4145
|
*/
|
|
3612
4146
|
"allowedDates"?: (date: Date) => boolean;
|
|
3613
4147
|
/**
|
|
3614
4148
|
* Set to true to add a clear button when the input is populated.
|
|
4149
|
+
* @default false
|
|
3615
4150
|
*/
|
|
3616
4151
|
"clearable"?: boolean;
|
|
3617
4152
|
/**
|
|
3618
4153
|
* Closes the datepicker dropdown after selection
|
|
4154
|
+
* @default this.type === 'date'
|
|
3619
4155
|
*/
|
|
3620
4156
|
"closeOnSelect"?: boolean;
|
|
3621
4157
|
/**
|
|
@@ -3624,10 +4160,12 @@ declare namespace LocalJSX {
|
|
|
3624
4160
|
"containingElement"?: HTMLElement;
|
|
3625
4161
|
/**
|
|
3626
4162
|
* Define the dateFormat. Valid formats are: 'dd.mm.yyyy' 'yyyy-mm-dd' 'dd-mm-yyyy' 'dd/mm/yyyy' 'yyyy/mm/dd' 'dd.mm.yy' 'yy-mm-dd' 'dd-mm-yy' 'dd/mm/yy' 'yy/mm/dd'
|
|
4163
|
+
* @default SixDateFormats.DDMMYYY_DOT
|
|
3627
4164
|
*/
|
|
3628
4165
|
"dateFormat"?: SixDateFormats;
|
|
3629
4166
|
/**
|
|
3630
4167
|
* Set the amount of time, in milliseconds, to wait to trigger the `dateChange` event after each keystroke.
|
|
4168
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
3631
4169
|
*/
|
|
3632
4170
|
"debounce"?: number;
|
|
3633
4171
|
/**
|
|
@@ -3636,10 +4174,12 @@ declare namespace LocalJSX {
|
|
|
3636
4174
|
"defaultDate"?: string;
|
|
3637
4175
|
/**
|
|
3638
4176
|
* If `true` the component is disabled.
|
|
4177
|
+
* @default false
|
|
3639
4178
|
*/
|
|
3640
4179
|
"disabled"?: boolean;
|
|
3641
4180
|
/**
|
|
3642
4181
|
* The error message shown, if `invalid` is set to true.
|
|
4182
|
+
* @default ''
|
|
3643
4183
|
*/
|
|
3644
4184
|
"errorText"?: string | string[];
|
|
3645
4185
|
/**
|
|
@@ -3648,26 +4188,32 @@ declare namespace LocalJSX {
|
|
|
3648
4188
|
"errorTextCount"?: number;
|
|
3649
4189
|
/**
|
|
3650
4190
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
4191
|
+
* @default false
|
|
3651
4192
|
*/
|
|
3652
4193
|
"hoist"?: boolean;
|
|
3653
4194
|
/**
|
|
3654
4195
|
* Set the position of the icon
|
|
4196
|
+
* @default 'left'
|
|
3655
4197
|
*/
|
|
3656
4198
|
"iconPosition"?: 'left' | 'right';
|
|
3657
4199
|
/**
|
|
3658
4200
|
* Indicates whether or not the calendar should be shown as an inline (always open) component
|
|
4201
|
+
* @default false
|
|
3659
4202
|
*/
|
|
3660
4203
|
"inline"?: boolean;
|
|
3661
4204
|
/**
|
|
3662
4205
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
4206
|
+
* @default false
|
|
3663
4207
|
*/
|
|
3664
4208
|
"invalid"?: boolean;
|
|
3665
4209
|
/**
|
|
3666
4210
|
* The label text.
|
|
4211
|
+
* @default ''
|
|
3667
4212
|
*/
|
|
3668
4213
|
"label"?: string;
|
|
3669
4214
|
/**
|
|
3670
4215
|
* The language used to render the weekdays and months.
|
|
4216
|
+
* @default 'en'
|
|
3671
4217
|
*/
|
|
3672
4218
|
"locale"?: 'en' | 'de' | 'fr' | 'it' | 'es';
|
|
3673
4219
|
/**
|
|
@@ -3680,6 +4226,7 @@ declare namespace LocalJSX {
|
|
|
3680
4226
|
"min"?: Date;
|
|
3681
4227
|
/**
|
|
3682
4228
|
* The input's name attribute.
|
|
4229
|
+
* @default ''
|
|
3683
4230
|
*/
|
|
3684
4231
|
"name"?: string;
|
|
3685
4232
|
/**
|
|
@@ -3696,6 +4243,7 @@ declare namespace LocalJSX {
|
|
|
3696
4243
|
"onSix-datepicker-select"?: (event: SixDatepickerCustomEvent<SixDatepickerSelectPayload>) => void;
|
|
3697
4244
|
/**
|
|
3698
4245
|
* Indicates whether or not the calendar dropdown is open on startup. You can use this in lieu of the show/hide methods.
|
|
4246
|
+
* @default false
|
|
3699
4247
|
*/
|
|
3700
4248
|
"open"?: boolean;
|
|
3701
4249
|
/**
|
|
@@ -3708,18 +4256,22 @@ declare namespace LocalJSX {
|
|
|
3708
4256
|
"placement"?: 'top' | 'bottom';
|
|
3709
4257
|
/**
|
|
3710
4258
|
* If `true` the user can only select a date via the component in the popup, but not directly edit the input field.
|
|
4259
|
+
* @default false
|
|
3711
4260
|
*/
|
|
3712
4261
|
"readonly"?: boolean;
|
|
3713
4262
|
/**
|
|
3714
4263
|
* Set to true to show an asterisk beneath the label.
|
|
4264
|
+
* @default false
|
|
3715
4265
|
*/
|
|
3716
4266
|
"required"?: boolean;
|
|
3717
4267
|
/**
|
|
3718
4268
|
* Datepicker size.
|
|
4269
|
+
* @default 'medium'
|
|
3719
4270
|
*/
|
|
3720
4271
|
"size"?: 'small' | 'medium' | 'large';
|
|
3721
4272
|
/**
|
|
3722
4273
|
* Set the type.
|
|
4274
|
+
* @default 'date'
|
|
3723
4275
|
*/
|
|
3724
4276
|
"type"?: 'date' | 'date-time';
|
|
3725
4277
|
/**
|
|
@@ -3735,14 +4287,17 @@ declare namespace LocalJSX {
|
|
|
3735
4287
|
interface SixDetails {
|
|
3736
4288
|
/**
|
|
3737
4289
|
* Set to true to prevent the user from toggling the details.
|
|
4290
|
+
* @default false
|
|
3738
4291
|
*/
|
|
3739
4292
|
"disabled"?: boolean;
|
|
3740
4293
|
/**
|
|
3741
4294
|
* Set to false when you want to hide the summary icon and disable the open/close mechanism. Usually not needed, but used internally by 'six-sidebar-item-group'
|
|
4295
|
+
* @default true
|
|
3742
4296
|
*/
|
|
3743
4297
|
"hasContent"?: boolean;
|
|
3744
4298
|
/**
|
|
3745
4299
|
* Set to true when you want to use six-details inline e.g. in a sidebar
|
|
4300
|
+
* @default false
|
|
3746
4301
|
*/
|
|
3747
4302
|
"inline"?: boolean;
|
|
3748
4303
|
/**
|
|
@@ -3763,14 +4318,17 @@ declare namespace LocalJSX {
|
|
|
3763
4318
|
"onSix-details-show"?: (event: SixDetailsCustomEvent<EmptyPayload>) => void;
|
|
3764
4319
|
/**
|
|
3765
4320
|
* Indicates whether the details is open. You can use this in lieu of the show/hide methods.
|
|
4321
|
+
* @default false
|
|
3766
4322
|
*/
|
|
3767
4323
|
"open"?: boolean;
|
|
3768
4324
|
/**
|
|
3769
4325
|
* Set to true when you want details without content to be selectable. This is important if you e.g. have a toggled sidebar where some menus have no children
|
|
4326
|
+
* @default false
|
|
3770
4327
|
*/
|
|
3771
4328
|
"selectableEmpty"?: boolean;
|
|
3772
4329
|
/**
|
|
3773
4330
|
* The summary to show in the details header. If you need to display HTML, use the `summary` slot instead.
|
|
4331
|
+
* @default ''
|
|
3774
4332
|
*/
|
|
3775
4333
|
"summary"?: string;
|
|
3776
4334
|
/**
|
|
@@ -3779,6 +4337,7 @@ declare namespace LocalJSX {
|
|
|
3779
4337
|
"summaryIcon"?: string;
|
|
3780
4338
|
/**
|
|
3781
4339
|
* The icon's size.
|
|
4340
|
+
* @default 'inherit'
|
|
3782
4341
|
*/
|
|
3783
4342
|
"summaryIconSize"?: | 'inherit'
|
|
3784
4343
|
| 'xSmall'
|
|
@@ -3797,10 +4356,12 @@ declare namespace LocalJSX {
|
|
|
3797
4356
|
interface SixDialog {
|
|
3798
4357
|
/**
|
|
3799
4358
|
* The dialog's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
|
|
4359
|
+
* @default ''
|
|
3800
4360
|
*/
|
|
3801
4361
|
"label"?: string;
|
|
3802
4362
|
/**
|
|
3803
4363
|
* Set to true to disable the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the dialog.
|
|
4364
|
+
* @default false
|
|
3804
4365
|
*/
|
|
3805
4366
|
"noHeader"?: boolean;
|
|
3806
4367
|
/**
|
|
@@ -3829,6 +4390,7 @@ declare namespace LocalJSX {
|
|
|
3829
4390
|
"onSix-dialog-show"?: (event: SixDialogCustomEvent<EmptyPayload>) => void;
|
|
3830
4391
|
/**
|
|
3831
4392
|
* Indicates whether the dialog is open. You can use this in lieu of the show/hide methods.
|
|
4393
|
+
* @default false
|
|
3832
4394
|
*/
|
|
3833
4395
|
"open"?: boolean;
|
|
3834
4396
|
}
|
|
@@ -3840,14 +4402,17 @@ declare namespace LocalJSX {
|
|
|
3840
4402
|
interface SixDrawer {
|
|
3841
4403
|
/**
|
|
3842
4404
|
* By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of its parent element, set this prop and add `position: relative` to the parent.
|
|
4405
|
+
* @default false
|
|
3843
4406
|
*/
|
|
3844
4407
|
"contained"?: boolean;
|
|
3845
4408
|
/**
|
|
3846
4409
|
* The drawer's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
|
|
4410
|
+
* @default ''
|
|
3847
4411
|
*/
|
|
3848
4412
|
"label"?: string;
|
|
3849
4413
|
/**
|
|
3850
4414
|
* Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.
|
|
4415
|
+
* @default false
|
|
3851
4416
|
*/
|
|
3852
4417
|
"noHeader"?: boolean;
|
|
3853
4418
|
/**
|
|
@@ -3876,10 +4441,12 @@ declare namespace LocalJSX {
|
|
|
3876
4441
|
"onSix-drawer-show"?: (event: SixDrawerCustomEvent<EmptyPayload>) => void;
|
|
3877
4442
|
/**
|
|
3878
4443
|
* Indicates whether the drawer is open. You can use this in lieu of the show/hide methods.
|
|
4444
|
+
* @default false
|
|
3879
4445
|
*/
|
|
3880
4446
|
"open"?: boolean;
|
|
3881
4447
|
/**
|
|
3882
4448
|
* The direction from which the drawer will open.
|
|
4449
|
+
* @default 'right'
|
|
3883
4450
|
*/
|
|
3884
4451
|
"placement"?: 'top' | 'right' | 'bottom' | 'left';
|
|
3885
4452
|
}
|
|
@@ -3891,14 +4458,17 @@ declare namespace LocalJSX {
|
|
|
3891
4458
|
interface SixDropdown {
|
|
3892
4459
|
/**
|
|
3893
4460
|
* Set to true to allow async filtering. When you enter something in the search field the component will only emit an event but not filter any elements itself. You can then simply listen to the 'six-async-filter-fired' event to manage the shown menu-items yourself
|
|
4461
|
+
* @default false
|
|
3894
4462
|
*/
|
|
3895
4463
|
"asyncFilter"?: boolean;
|
|
3896
4464
|
/**
|
|
3897
4465
|
* By default the search field will be focused when opening a dropdown with filtering enabled.
|
|
4466
|
+
* @default true
|
|
3898
4467
|
*/
|
|
3899
4468
|
"autofocusFilter"?: boolean;
|
|
3900
4469
|
/**
|
|
3901
4470
|
* Determines whether the dropdown should hide when a menu item is selected.
|
|
4471
|
+
* @default true
|
|
3902
4472
|
*/
|
|
3903
4473
|
"closeOnSelect"?: boolean;
|
|
3904
4474
|
/**
|
|
@@ -3907,30 +4477,37 @@ declare namespace LocalJSX {
|
|
|
3907
4477
|
"containingElement"?: HTMLElement;
|
|
3908
4478
|
/**
|
|
3909
4479
|
* The panel can be opend/closed by pressing the spacebar or the enter key. In some cases you might want to avoid this
|
|
4480
|
+
* @default false
|
|
3910
4481
|
*/
|
|
3911
4482
|
"disableHideOnEnterAndSpace"?: boolean;
|
|
3912
4483
|
/**
|
|
3913
4484
|
* The distance in pixels from which to offset the panel away from its trigger.
|
|
4485
|
+
* @default 4
|
|
3914
4486
|
*/
|
|
3915
4487
|
"distance"?: number;
|
|
3916
4488
|
/**
|
|
3917
4489
|
* Set to true to allow auto filtering for entries in the dropdown. With this flag the dropdown will automatically filter itsel. If you need to coordinate the shown elements yourself, e.g. because you need to call an endpoint use asyncFilter instead
|
|
4490
|
+
* @default false
|
|
3918
4491
|
*/
|
|
3919
4492
|
"filter"?: boolean;
|
|
3920
4493
|
/**
|
|
3921
4494
|
* The debounce for the filter callbacks.
|
|
4495
|
+
* @default 0
|
|
3922
4496
|
*/
|
|
3923
4497
|
"filterDebounce"?: number;
|
|
3924
4498
|
/**
|
|
3925
4499
|
* The filter's placeholder text.
|
|
4500
|
+
* @default 'Filter...'
|
|
3926
4501
|
*/
|
|
3927
4502
|
"filterPlaceholder"?: string;
|
|
3928
4503
|
/**
|
|
3929
4504
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
4505
|
+
* @default false
|
|
3930
4506
|
*/
|
|
3931
4507
|
"hoist"?: boolean;
|
|
3932
4508
|
/**
|
|
3933
4509
|
* Determines if the dropdown panel's width should match the width of the trigger element. If set to `true`, the panel will resize its width to align with the trigger's width. If `false` or omitted, the panel will maintain its default width.
|
|
4510
|
+
* @default false
|
|
3934
4511
|
*/
|
|
3935
4512
|
"matchTriggerWidth"?: boolean;
|
|
3936
4513
|
/**
|
|
@@ -3963,14 +4540,17 @@ declare namespace LocalJSX {
|
|
|
3963
4540
|
"onSix-dropdown-show"?: (event: SixDropdownCustomEvent<EmptyPayload>) => void;
|
|
3964
4541
|
/**
|
|
3965
4542
|
* Indicates whether the dropdown is open. You can use this in lieu of the show/hide methods.
|
|
4543
|
+
* @default false
|
|
3966
4544
|
*/
|
|
3967
4545
|
"open"?: boolean;
|
|
3968
4546
|
/**
|
|
3969
4547
|
* Set the options to be shown in the dropdown (alternative to setting the elements via html)
|
|
4548
|
+
* @default []
|
|
3970
4549
|
*/
|
|
3971
4550
|
"options"?: SixMenuItemData[];
|
|
3972
4551
|
/**
|
|
3973
4552
|
* The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel inside the viewport.
|
|
4553
|
+
* @default 'bottom-start'
|
|
3974
4554
|
*/
|
|
3975
4555
|
"placement"?: | 'top'
|
|
3976
4556
|
| 'top-start'
|
|
@@ -3986,10 +4566,12 @@ declare namespace LocalJSX {
|
|
|
3986
4566
|
| 'left-end';
|
|
3987
4567
|
/**
|
|
3988
4568
|
* The distance in pixels from which to offset the panel along its trigger.
|
|
4569
|
+
* @default 0
|
|
3989
4570
|
*/
|
|
3990
4571
|
"skidding"?: number;
|
|
3991
4572
|
/**
|
|
3992
4573
|
* Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around) are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot.
|
|
4574
|
+
* @default false
|
|
3993
4575
|
*/
|
|
3994
4576
|
"virtualScroll"?: boolean;
|
|
3995
4577
|
}
|
|
@@ -4018,6 +4600,7 @@ declare namespace LocalJSX {
|
|
|
4018
4600
|
"errorCode"?: 404 | 403 | 500;
|
|
4019
4601
|
/**
|
|
4020
4602
|
* Defines language and thus displays the proper error page in the selected language.
|
|
4603
|
+
* @default 'en'
|
|
4021
4604
|
*/
|
|
4022
4605
|
"language"?: 'en' | 'de';
|
|
4023
4606
|
}
|
|
@@ -4034,22 +4617,27 @@ declare namespace LocalJSX {
|
|
|
4034
4617
|
interface SixFileListItem {
|
|
4035
4618
|
/**
|
|
4036
4619
|
* The date when the file was uploaded
|
|
4620
|
+
* @default ''
|
|
4037
4621
|
*/
|
|
4038
4622
|
"date"?: string;
|
|
4039
4623
|
/**
|
|
4040
4624
|
* An id to clearly identify the file
|
|
4625
|
+
* @default ''
|
|
4041
4626
|
*/
|
|
4042
4627
|
"identifier"?: string;
|
|
4043
4628
|
/**
|
|
4044
4629
|
* The filename
|
|
4630
|
+
* @default ''
|
|
4045
4631
|
*/
|
|
4046
4632
|
"name"?: string;
|
|
4047
4633
|
/**
|
|
4048
4634
|
* Set to true if you don't want to allow to delete this file
|
|
4635
|
+
* @default false
|
|
4049
4636
|
*/
|
|
4050
4637
|
"nodelete"?: boolean;
|
|
4051
4638
|
/**
|
|
4052
4639
|
* Set to true if you don't want to allow to download this file
|
|
4640
|
+
* @default false
|
|
4053
4641
|
*/
|
|
4054
4642
|
"nodownload"?: boolean;
|
|
4055
4643
|
/**
|
|
@@ -4076,18 +4664,22 @@ declare namespace LocalJSX {
|
|
|
4076
4664
|
"accept"?: string;
|
|
4077
4665
|
/**
|
|
4078
4666
|
* Set to true if file control should be small.
|
|
4667
|
+
* @default false
|
|
4079
4668
|
*/
|
|
4080
4669
|
"compact"?: boolean;
|
|
4081
4670
|
/**
|
|
4082
4671
|
* Set when button is disabled.
|
|
4672
|
+
* @default false
|
|
4083
4673
|
*/
|
|
4084
4674
|
"disabled"?: false;
|
|
4085
4675
|
/**
|
|
4086
4676
|
* The error message shown, if `invalid` is set to true.
|
|
4677
|
+
* @default ''
|
|
4087
4678
|
*/
|
|
4088
4679
|
"errorText"?: string | string[];
|
|
4089
4680
|
/**
|
|
4090
4681
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
4682
|
+
* @default false
|
|
4091
4683
|
*/
|
|
4092
4684
|
"invalid"?: boolean;
|
|
4093
4685
|
/**
|
|
@@ -4100,6 +4692,7 @@ declare namespace LocalJSX {
|
|
|
4100
4692
|
"maxFileSize"?: number;
|
|
4101
4693
|
/**
|
|
4102
4694
|
* More than one file allowed.
|
|
4695
|
+
* @default false
|
|
4103
4696
|
*/
|
|
4104
4697
|
"multiple"?: false;
|
|
4105
4698
|
/**
|
|
@@ -4112,6 +4705,7 @@ declare namespace LocalJSX {
|
|
|
4112
4705
|
"onSix-file-upload-success"?: (event: SixFileUploadCustomEvent<SixFileUploadSuccessPayload>) => void;
|
|
4113
4706
|
/**
|
|
4114
4707
|
* Set to true to draw the control in a loading state.
|
|
4708
|
+
* @default false
|
|
4115
4709
|
*/
|
|
4116
4710
|
"uploading"?: boolean;
|
|
4117
4711
|
}
|
|
@@ -4128,22 +4722,27 @@ declare namespace LocalJSX {
|
|
|
4128
4722
|
interface SixGroupLabel {
|
|
4129
4723
|
/**
|
|
4130
4724
|
* Set to true to disable the label.
|
|
4725
|
+
* @default false
|
|
4131
4726
|
*/
|
|
4132
4727
|
"disabled"?: boolean;
|
|
4133
4728
|
/**
|
|
4134
4729
|
* The wrapper label's help text. Alternatively, you can use the help-text slot.
|
|
4730
|
+
* @default ''
|
|
4135
4731
|
*/
|
|
4136
4732
|
"helpText"?: string;
|
|
4137
4733
|
/**
|
|
4138
4734
|
* The wrapper label's label. Alternatively, you can use the label slot.
|
|
4735
|
+
* @default ''
|
|
4139
4736
|
*/
|
|
4140
4737
|
"label"?: string;
|
|
4141
4738
|
/**
|
|
4142
4739
|
* Set to true to show an asterisk beneath the label.
|
|
4740
|
+
* @default false
|
|
4143
4741
|
*/
|
|
4144
4742
|
"required"?: boolean;
|
|
4145
4743
|
/**
|
|
4146
4744
|
* The label's size.
|
|
4745
|
+
* @default 'medium'
|
|
4147
4746
|
*/
|
|
4148
4747
|
"size"?: 'small' | 'medium' | 'large';
|
|
4149
4748
|
}
|
|
@@ -4154,10 +4753,12 @@ declare namespace LocalJSX {
|
|
|
4154
4753
|
interface SixHeader {
|
|
4155
4754
|
/**
|
|
4156
4755
|
* Set the header search input to be in an open or closed state. Focuses the first `six-input` found in the search slot.
|
|
4756
|
+
* @default false
|
|
4157
4757
|
*/
|
|
4158
4758
|
"openSearch"?: boolean;
|
|
4159
4759
|
/**
|
|
4160
4760
|
* Indicates if content should be shifted down when search field is visible.
|
|
4761
|
+
* @default false
|
|
4161
4762
|
*/
|
|
4162
4763
|
"shiftContent"?: boolean;
|
|
4163
4764
|
}
|
|
@@ -4168,10 +4769,12 @@ declare namespace LocalJSX {
|
|
|
4168
4769
|
interface SixHeaderDropdownItem {
|
|
4169
4770
|
/**
|
|
4170
4771
|
* Set to true to allow auto filtering for entries in the dropdown. With this flag the dropdown will automatically filter itsel. If you need to coordinate the shown elements yourself, e.g. because you need to call an endpoint use asyncFilter instead
|
|
4772
|
+
* @default false
|
|
4171
4773
|
*/
|
|
4172
4774
|
"filter"?: boolean;
|
|
4173
4775
|
/**
|
|
4174
4776
|
* The filter's placeholder text.
|
|
4777
|
+
* @default 'Filter...'
|
|
4175
4778
|
*/
|
|
4176
4779
|
"filterPlaceholder"?: string;
|
|
4177
4780
|
}
|
|
@@ -4182,6 +4785,7 @@ declare namespace LocalJSX {
|
|
|
4182
4785
|
interface SixHeaderItem {
|
|
4183
4786
|
/**
|
|
4184
4787
|
* Indicates whether the item is styled as active. When set to `true`, a border is displayed below the trigger element. Use <code>six-header-dropdown-item</code> to automatically set the active state for dropdowns.
|
|
4788
|
+
* @default false
|
|
4185
4789
|
*/
|
|
4186
4790
|
"active"?: boolean;
|
|
4187
4791
|
}
|
|
@@ -4192,22 +4796,27 @@ declare namespace LocalJSX {
|
|
|
4192
4796
|
interface SixHeaderMenuButton {
|
|
4193
4797
|
/**
|
|
4194
4798
|
* Set to true to draw the button with a caret for use with dropdowns, popovers, etc.
|
|
4799
|
+
* @default false
|
|
4195
4800
|
*/
|
|
4196
4801
|
"caret"?: boolean;
|
|
4197
4802
|
/**
|
|
4198
4803
|
* Set to true to disable the button.
|
|
4804
|
+
* @default false
|
|
4199
4805
|
*/
|
|
4200
4806
|
"disabled"?: boolean;
|
|
4201
4807
|
/**
|
|
4202
4808
|
* Set to true to draw the button in a loading state.
|
|
4809
|
+
* @default false
|
|
4203
4810
|
*/
|
|
4204
4811
|
"loading"?: boolean;
|
|
4205
4812
|
/**
|
|
4206
4813
|
* Indicates if activating the button should reset the form.
|
|
4814
|
+
* @default false
|
|
4207
4815
|
*/
|
|
4208
4816
|
"reset"?: boolean;
|
|
4209
4817
|
/**
|
|
4210
4818
|
* Indicates if activating the button should submit the form. Ignored when `href` is set.
|
|
4819
|
+
* @default false
|
|
4211
4820
|
*/
|
|
4212
4821
|
"submit"?: boolean;
|
|
4213
4822
|
}
|
|
@@ -4218,10 +4827,12 @@ declare namespace LocalJSX {
|
|
|
4218
4827
|
interface SixIcon {
|
|
4219
4828
|
/**
|
|
4220
4829
|
* If set to true the default material outlined icons are not used.
|
|
4830
|
+
* @default false
|
|
4221
4831
|
*/
|
|
4222
4832
|
"filled"?: boolean;
|
|
4223
4833
|
/**
|
|
4224
4834
|
* The icon's size.
|
|
4835
|
+
* @default 'inherit'
|
|
4225
4836
|
*/
|
|
4226
4837
|
"size"?: | 'inherit'
|
|
4227
4838
|
| 'xSmall'
|
|
@@ -4240,6 +4851,7 @@ declare namespace LocalJSX {
|
|
|
4240
4851
|
interface SixIconButton {
|
|
4241
4852
|
/**
|
|
4242
4853
|
* Set to true to disable the button.
|
|
4854
|
+
* @default false
|
|
4243
4855
|
*/
|
|
4244
4856
|
"disabled"?: boolean;
|
|
4245
4857
|
/**
|
|
@@ -4264,6 +4876,7 @@ declare namespace LocalJSX {
|
|
|
4264
4876
|
"name"?: string;
|
|
4265
4877
|
/**
|
|
4266
4878
|
* The icon's size.
|
|
4879
|
+
* @default 'medium'
|
|
4267
4880
|
*/
|
|
4268
4881
|
"size"?: 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge';
|
|
4269
4882
|
/**
|
|
@@ -4279,34 +4892,42 @@ declare namespace LocalJSX {
|
|
|
4279
4892
|
interface SixInput {
|
|
4280
4893
|
/**
|
|
4281
4894
|
* The input's autocaptialize attribute.
|
|
4895
|
+
* @default 'off'
|
|
4282
4896
|
*/
|
|
4283
4897
|
"autocapitalize"?: string;
|
|
4284
4898
|
/**
|
|
4285
4899
|
* The input's autocomplete attribute.
|
|
4900
|
+
* @default 'off'
|
|
4286
4901
|
*/
|
|
4287
4902
|
"autocomplete"?: string;
|
|
4288
4903
|
/**
|
|
4289
4904
|
* The input's autocorrect attribute.
|
|
4905
|
+
* @default 'off'
|
|
4290
4906
|
*/
|
|
4291
4907
|
"autocorrect"?: 'on' | 'off';
|
|
4292
4908
|
/**
|
|
4293
4909
|
* The input's autofocus attribute.
|
|
4910
|
+
* @default false
|
|
4294
4911
|
*/
|
|
4295
4912
|
"autofocus"?: boolean;
|
|
4296
4913
|
/**
|
|
4297
4914
|
* Set to true to add a clear button when the input is populated.
|
|
4915
|
+
* @default false
|
|
4298
4916
|
*/
|
|
4299
4917
|
"clearable"?: boolean;
|
|
4300
4918
|
/**
|
|
4301
4919
|
* Set to true to disable the input.
|
|
4920
|
+
* @default false
|
|
4302
4921
|
*/
|
|
4303
4922
|
"disabled"?: boolean;
|
|
4304
4923
|
/**
|
|
4305
4924
|
* Internal: Styles the input for the dropdown filter search.
|
|
4925
|
+
* @default false
|
|
4306
4926
|
*/
|
|
4307
4927
|
"dropdownSearch"?: boolean;
|
|
4308
4928
|
/**
|
|
4309
4929
|
* The error message shown, if `invalid` is set to true.
|
|
4930
|
+
* @default ''
|
|
4310
4931
|
*/
|
|
4311
4932
|
"errorText"?: string | string[];
|
|
4312
4933
|
/**
|
|
@@ -4315,6 +4936,7 @@ declare namespace LocalJSX {
|
|
|
4315
4936
|
"errorTextCount"?: number;
|
|
4316
4937
|
/**
|
|
4317
4938
|
* The input's help text. Alternatively, you can use the help-text slot.
|
|
4939
|
+
* @default ''
|
|
4318
4940
|
*/
|
|
4319
4941
|
"helpText"?: string;
|
|
4320
4942
|
/**
|
|
@@ -4323,14 +4945,17 @@ declare namespace LocalJSX {
|
|
|
4323
4945
|
"inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
4324
4946
|
/**
|
|
4325
4947
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
4948
|
+
* @default false
|
|
4326
4949
|
*/
|
|
4327
4950
|
"invalid"?: boolean;
|
|
4328
4951
|
/**
|
|
4329
4952
|
* The label text.
|
|
4953
|
+
* @default ''
|
|
4330
4954
|
*/
|
|
4331
4955
|
"label"?: string;
|
|
4332
4956
|
/**
|
|
4333
4957
|
* Set to render as line
|
|
4958
|
+
* @default false
|
|
4334
4959
|
*/
|
|
4335
4960
|
"line"?: boolean;
|
|
4336
4961
|
/**
|
|
@@ -4351,6 +4976,7 @@ declare namespace LocalJSX {
|
|
|
4351
4976
|
"minlength"?: number;
|
|
4352
4977
|
/**
|
|
4353
4978
|
* The input's name attribute.
|
|
4979
|
+
* @default ''
|
|
4354
4980
|
*/
|
|
4355
4981
|
"name"?: string;
|
|
4356
4982
|
/**
|
|
@@ -4379,6 +5005,7 @@ declare namespace LocalJSX {
|
|
|
4379
5005
|
"pattern"?: string;
|
|
4380
5006
|
/**
|
|
4381
5007
|
* Set to true to draw a pill-style input with rounded edges.
|
|
5008
|
+
* @default false
|
|
4382
5009
|
*/
|
|
4383
5010
|
"pill"?: boolean;
|
|
4384
5011
|
/**
|
|
@@ -4387,18 +5014,22 @@ declare namespace LocalJSX {
|
|
|
4387
5014
|
"placeholder"?: string;
|
|
4388
5015
|
/**
|
|
4389
5016
|
* Set to true to make the input readonly.
|
|
5017
|
+
* @default false
|
|
4390
5018
|
*/
|
|
4391
5019
|
"readonly"?: boolean;
|
|
4392
5020
|
/**
|
|
4393
5021
|
* Set to true to show an asterisk beneath the label.
|
|
5022
|
+
* @default false
|
|
4394
5023
|
*/
|
|
4395
5024
|
"required"?: boolean;
|
|
4396
5025
|
/**
|
|
4397
5026
|
* The input's size.
|
|
5027
|
+
* @default 'medium'
|
|
4398
5028
|
*/
|
|
4399
5029
|
"size"?: 'small' | 'medium' | 'large';
|
|
4400
5030
|
/**
|
|
4401
5031
|
* Enables spell checking on the input.
|
|
5032
|
+
* @default false
|
|
4402
5033
|
*/
|
|
4403
5034
|
"spellcheck"?: boolean;
|
|
4404
5035
|
/**
|
|
@@ -4407,14 +5038,17 @@ declare namespace LocalJSX {
|
|
|
4407
5038
|
"step"?: number;
|
|
4408
5039
|
/**
|
|
4409
5040
|
* Set to true to add a password toggle button for password inputs.
|
|
5041
|
+
* @default false
|
|
4410
5042
|
*/
|
|
4411
5043
|
"togglePassword"?: boolean;
|
|
4412
5044
|
/**
|
|
4413
5045
|
* The input's type.
|
|
5046
|
+
* @default 'text'
|
|
4414
5047
|
*/
|
|
4415
5048
|
"type"?: 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url';
|
|
4416
5049
|
/**
|
|
4417
5050
|
* The input's value attribute.
|
|
5051
|
+
* @default ''
|
|
4418
5052
|
*/
|
|
4419
5053
|
"value"?: string;
|
|
4420
5054
|
}
|
|
@@ -4425,10 +5059,12 @@ declare namespace LocalJSX {
|
|
|
4425
5059
|
interface SixItemPicker {
|
|
4426
5060
|
/**
|
|
4427
5061
|
* Set the amount of time, in milliseconds, to wait to trigger the `six-item-picker-change-debounced` event. If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click (and keep pressed) and once you release
|
|
5062
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
4428
5063
|
*/
|
|
4429
5064
|
"debounce"?: number;
|
|
4430
5065
|
/**
|
|
4431
5066
|
* Set the amount of time, in milliseconds, to wait between switching to next item when mouse button is held pressed.
|
|
5067
|
+
* @default DEFAULT_DEBOUNCE_INSANELY_FAST
|
|
4432
5068
|
*/
|
|
4433
5069
|
"interval"?: number;
|
|
4434
5070
|
/**
|
|
@@ -4453,44 +5089,54 @@ declare namespace LocalJSX {
|
|
|
4453
5089
|
"onSix-item-picker-change-debounced"?: (event: SixItemPickerCustomEvent<SixItemPickerChangePayload>) => void;
|
|
4454
5090
|
/**
|
|
4455
5091
|
* Defines whether the items should be padded
|
|
5092
|
+
* @default false
|
|
4456
5093
|
*/
|
|
4457
5094
|
"padded"?: boolean;
|
|
4458
5095
|
/**
|
|
4459
5096
|
* Defines the character used for padding
|
|
5097
|
+
* @default '0'
|
|
4460
5098
|
*/
|
|
4461
5099
|
"paddingChar"?: string;
|
|
4462
5100
|
/**
|
|
4463
5101
|
* Defines whether the padding should be before or after the value. You can either use 'before' or 'after'. By default, before is selected
|
|
5102
|
+
* @default ItemPickerPaddingDirection.BEFORE
|
|
4464
5103
|
*/
|
|
4465
5104
|
"paddingDirection"?: ItemPickerPaddingDirection;
|
|
4466
5105
|
/**
|
|
4467
5106
|
* Defines the length of the padded area
|
|
5107
|
+
* @default 2
|
|
4468
5108
|
*/
|
|
4469
5109
|
"paddingLength"?: number;
|
|
4470
5110
|
/**
|
|
4471
5111
|
* Define whether the picker should to a roundtrip i.e. start at max when reaching min and vice versa.
|
|
5112
|
+
* @default true
|
|
4472
5113
|
*/
|
|
4473
5114
|
"roundtrip"?: boolean;
|
|
4474
5115
|
/**
|
|
4475
5116
|
* Defines how many steps should be taken when navigating
|
|
5117
|
+
* @default 1
|
|
4476
5118
|
*/
|
|
4477
5119
|
"step"?: number;
|
|
4478
5120
|
/**
|
|
4479
5121
|
* Set the amount of time, in milliseconds, to wait to trigger faster switching between items.
|
|
5122
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
4480
5123
|
*/
|
|
4481
5124
|
"timeout"?: number;
|
|
4482
5125
|
/**
|
|
4483
5126
|
* The type of items you want to rotate through.
|
|
5127
|
+
* @default ItemPickerType.NUMBER
|
|
4484
5128
|
*/
|
|
4485
5129
|
"type"?: ItemPickerType;
|
|
4486
5130
|
/**
|
|
4487
5131
|
* The item picker's value attribute.
|
|
5132
|
+
* @default ''
|
|
4488
5133
|
*/
|
|
4489
5134
|
"value"?: number | string;
|
|
4490
5135
|
}
|
|
4491
5136
|
interface SixLanguageSwitcher {
|
|
4492
5137
|
/**
|
|
4493
5138
|
* The languages which should be selectable options.
|
|
5139
|
+
* @default DEFAULT_LANGUAGES
|
|
4494
5140
|
*/
|
|
4495
5141
|
"languages"?: string[] | SixLanguageSwitcherInput[];
|
|
4496
5142
|
/**
|
|
@@ -4519,6 +5165,7 @@ declare namespace LocalJSX {
|
|
|
4519
5165
|
interface SixLogo {
|
|
4520
5166
|
/**
|
|
4521
5167
|
* The brand of the logo. Either six or bme. Defaults to six.
|
|
5168
|
+
* @default 'six'
|
|
4522
5169
|
*/
|
|
4523
5170
|
"brand"?: 'six' | 'bme';
|
|
4524
5171
|
}
|
|
@@ -4529,6 +5176,7 @@ declare namespace LocalJSX {
|
|
|
4529
5176
|
interface SixMainContainer {
|
|
4530
5177
|
/**
|
|
4531
5178
|
* Set to false to remove top and bottom padding.
|
|
5179
|
+
* @default true
|
|
4532
5180
|
*/
|
|
4533
5181
|
"padded"?: boolean;
|
|
4534
5182
|
}
|
|
@@ -4540,14 +5188,17 @@ declare namespace LocalJSX {
|
|
|
4540
5188
|
interface SixMenu {
|
|
4541
5189
|
/**
|
|
4542
5190
|
* Internal: Disables handling of key presses.
|
|
5191
|
+
* @default false
|
|
4543
5192
|
*/
|
|
4544
5193
|
"disableKeyboardHandling"?: boolean;
|
|
4545
5194
|
/**
|
|
4546
5195
|
* Used for virtual scrolling Define how many items should be rendered in the DOM when using virtual scrolling
|
|
5196
|
+
* @default 10
|
|
4547
5197
|
*/
|
|
4548
5198
|
"itemSize"?: number;
|
|
4549
5199
|
/**
|
|
4550
5200
|
* Set the options to be shown in the dropdown
|
|
5201
|
+
* @default null
|
|
4551
5202
|
*/
|
|
4552
5203
|
"items"?: SixMenuItemData1[] | null;
|
|
4553
5204
|
/**
|
|
@@ -4560,14 +5211,17 @@ declare namespace LocalJSX {
|
|
|
4560
5211
|
"onSix-menu-item-selected"?: (event: SixMenuCustomEvent<SixMenuItemSelectedPayload>) => void;
|
|
4561
5212
|
/**
|
|
4562
5213
|
* Set to true to remove the box-shadow
|
|
5214
|
+
* @default false
|
|
4563
5215
|
*/
|
|
4564
5216
|
"removeBoxShadow"?: boolean;
|
|
4565
5217
|
/**
|
|
4566
5218
|
* Used for virtual scrolling Define the debounce for listening on scrolling changes in milliseconds. The lower the number the more sensitive the component reacts to scrolling changes.
|
|
5219
|
+
* @default 15
|
|
4567
5220
|
*/
|
|
4568
5221
|
"scrollingDebounce"?: number;
|
|
4569
5222
|
/**
|
|
4570
5223
|
* Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around) are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot.
|
|
5224
|
+
* @default false
|
|
4571
5225
|
*/
|
|
4572
5226
|
"virtualScroll"?: boolean;
|
|
4573
5227
|
}
|
|
@@ -4586,18 +5240,22 @@ declare namespace LocalJSX {
|
|
|
4586
5240
|
interface SixMenuItem {
|
|
4587
5241
|
/**
|
|
4588
5242
|
* Defines if the checked state is displayed as a checkbox or a check-icon
|
|
5243
|
+
* @default 'check'
|
|
4589
5244
|
*/
|
|
4590
5245
|
"checkType"?: 'checkbox' | 'check';
|
|
4591
5246
|
/**
|
|
4592
5247
|
* Internal: Draws the item in a checked state. CheckType needs to be set to 'checkbox' or 'check' to show the checked state
|
|
5248
|
+
* @default false
|
|
4593
5249
|
*/
|
|
4594
5250
|
"checked"?: boolean;
|
|
4595
5251
|
/**
|
|
4596
5252
|
* Set to true to draw the menu item in a disabled state.
|
|
5253
|
+
* @default false
|
|
4597
5254
|
*/
|
|
4598
5255
|
"disabled"?: boolean;
|
|
4599
5256
|
/**
|
|
4600
5257
|
* A unique value to store in the menu item. This can be used as a way to identify menu items when selected.
|
|
5258
|
+
* @default ''
|
|
4601
5259
|
*/
|
|
4602
5260
|
"value"?: string;
|
|
4603
5261
|
}
|
|
@@ -4615,6 +5273,7 @@ declare namespace LocalJSX {
|
|
|
4615
5273
|
interface SixPicto {
|
|
4616
5274
|
/**
|
|
4617
5275
|
* Defines the size of the icon.
|
|
5276
|
+
* @default 'medium'
|
|
4618
5277
|
*/
|
|
4619
5278
|
"size"?: 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge' | '4xl';
|
|
4620
5279
|
}
|
|
@@ -4626,10 +5285,12 @@ declare namespace LocalJSX {
|
|
|
4626
5285
|
interface SixProgressBar {
|
|
4627
5286
|
/**
|
|
4628
5287
|
* When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.
|
|
5288
|
+
* @default false
|
|
4629
5289
|
*/
|
|
4630
5290
|
"indeterminate"?: boolean;
|
|
4631
5291
|
/**
|
|
4632
5292
|
* The progress bar's percentage, 0 to 100.
|
|
5293
|
+
* @default 0
|
|
4633
5294
|
*/
|
|
4634
5295
|
"percentage"?: number;
|
|
4635
5296
|
}
|
|
@@ -4641,14 +5302,17 @@ declare namespace LocalJSX {
|
|
|
4641
5302
|
interface SixProgressRing {
|
|
4642
5303
|
/**
|
|
4643
5304
|
* The current progress percentage, 0 - 100.
|
|
5305
|
+
* @default 0
|
|
4644
5306
|
*/
|
|
4645
5307
|
"percentage"?: number;
|
|
4646
5308
|
/**
|
|
4647
5309
|
* The size of the progress ring in pixels.
|
|
5310
|
+
* @default 128
|
|
4648
5311
|
*/
|
|
4649
5312
|
"size"?: number;
|
|
4650
5313
|
/**
|
|
4651
5314
|
* The stroke width of the progress ring in pixels.
|
|
5315
|
+
* @default 4
|
|
4652
5316
|
*/
|
|
4653
5317
|
"strokeWidth"?: number;
|
|
4654
5318
|
}
|
|
@@ -4660,18 +5324,22 @@ declare namespace LocalJSX {
|
|
|
4660
5324
|
interface SixRadio {
|
|
4661
5325
|
/**
|
|
4662
5326
|
* Set to true to draw the radio in a checked state.
|
|
5327
|
+
* @default false
|
|
4663
5328
|
*/
|
|
4664
5329
|
"checked"?: boolean;
|
|
4665
5330
|
/**
|
|
4666
5331
|
* Set to true to disable the radio.
|
|
5332
|
+
* @default false
|
|
4667
5333
|
*/
|
|
4668
5334
|
"disabled"?: boolean;
|
|
4669
5335
|
/**
|
|
4670
5336
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
5337
|
+
* @default false
|
|
4671
5338
|
*/
|
|
4672
5339
|
"invalid"?: boolean;
|
|
4673
5340
|
/**
|
|
4674
5341
|
* The radio's name attribute.
|
|
5342
|
+
* @default ''
|
|
4675
5343
|
*/
|
|
4676
5344
|
"name"?: string;
|
|
4677
5345
|
/**
|
|
@@ -4688,6 +5356,7 @@ declare namespace LocalJSX {
|
|
|
4688
5356
|
"onSix-radio-focus"?: (event: SixRadioCustomEvent<EmptyPayload>) => void;
|
|
4689
5357
|
/**
|
|
4690
5358
|
* The radio's value attribute.
|
|
5359
|
+
* @default 'on'
|
|
4691
5360
|
*/
|
|
4692
5361
|
"value"?: string;
|
|
4693
5362
|
}
|
|
@@ -4699,10 +5368,12 @@ declare namespace LocalJSX {
|
|
|
4699
5368
|
interface SixRange {
|
|
4700
5369
|
/**
|
|
4701
5370
|
* Set to true to disable the input.
|
|
5371
|
+
* @default false
|
|
4702
5372
|
*/
|
|
4703
5373
|
"disabled"?: boolean;
|
|
4704
5374
|
/**
|
|
4705
5375
|
* The error message shown, if `invalid` is set to true.
|
|
5376
|
+
* @default ''
|
|
4706
5377
|
*/
|
|
4707
5378
|
"errorText"?: string | string[];
|
|
4708
5379
|
/**
|
|
@@ -4711,26 +5382,32 @@ declare namespace LocalJSX {
|
|
|
4711
5382
|
"errorTextCount"?: number;
|
|
4712
5383
|
/**
|
|
4713
5384
|
* The range's help text. Alternatively, you can use the help-text slot.
|
|
5385
|
+
* @default ''
|
|
4714
5386
|
*/
|
|
4715
5387
|
"helpText"?: string;
|
|
4716
5388
|
/**
|
|
4717
5389
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
5390
|
+
* @default false
|
|
4718
5391
|
*/
|
|
4719
5392
|
"invalid"?: boolean;
|
|
4720
5393
|
/**
|
|
4721
5394
|
* The label text.
|
|
5395
|
+
* @default ''
|
|
4722
5396
|
*/
|
|
4723
5397
|
"label"?: string;
|
|
4724
5398
|
/**
|
|
4725
5399
|
* The input's max attribute.
|
|
5400
|
+
* @default 100
|
|
4726
5401
|
*/
|
|
4727
5402
|
"max"?: number;
|
|
4728
5403
|
/**
|
|
4729
5404
|
* The input's min attribute.
|
|
5405
|
+
* @default 0
|
|
4730
5406
|
*/
|
|
4731
5407
|
"min"?: number;
|
|
4732
5408
|
/**
|
|
4733
5409
|
* The input's name attribute.
|
|
5410
|
+
* @default ''
|
|
4734
5411
|
*/
|
|
4735
5412
|
"name"?: string;
|
|
4736
5413
|
/**
|
|
@@ -4747,22 +5424,100 @@ declare namespace LocalJSX {
|
|
|
4747
5424
|
"onSix-range-focus"?: (event: SixRangeCustomEvent<EmptyPayload>) => void;
|
|
4748
5425
|
/**
|
|
4749
5426
|
* Set to true to show an asterisk beneath the label.
|
|
5427
|
+
* @default false
|
|
4750
5428
|
*/
|
|
4751
5429
|
"required"?: boolean;
|
|
4752
5430
|
/**
|
|
4753
5431
|
* The input's step attribute.
|
|
5432
|
+
* @default 1
|
|
4754
5433
|
*/
|
|
4755
5434
|
"step"?: number;
|
|
4756
5435
|
/**
|
|
4757
5436
|
* The preferred placedment of the tooltip.
|
|
5437
|
+
* @default 'top'
|
|
4758
5438
|
*/
|
|
4759
5439
|
"tooltip"?: 'top' | 'bottom' | 'none';
|
|
4760
5440
|
/**
|
|
4761
5441
|
* A function used to format the tooltip's value.
|
|
5442
|
+
* @default (value: number) => value.toString()
|
|
4762
5443
|
*/
|
|
4763
5444
|
"tooltipFormatter"?: (value: number) => string;
|
|
4764
5445
|
/**
|
|
4765
5446
|
* The input's value attribute.
|
|
5447
|
+
* @default 0
|
|
5448
|
+
*/
|
|
5449
|
+
"value"?: number;
|
|
5450
|
+
}
|
|
5451
|
+
interface SixRating {
|
|
5452
|
+
/**
|
|
5453
|
+
* Set to true to disable the rating.
|
|
5454
|
+
* @default false
|
|
5455
|
+
*/
|
|
5456
|
+
"disabled"?: boolean;
|
|
5457
|
+
/**
|
|
5458
|
+
* The error message shown, if `invalid` is set to true.
|
|
5459
|
+
* @default ''
|
|
5460
|
+
*/
|
|
5461
|
+
"errorText"?: string | string[];
|
|
5462
|
+
/**
|
|
5463
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
5464
|
+
*/
|
|
5465
|
+
"errorTextCount"?: number;
|
|
5466
|
+
/**
|
|
5467
|
+
* The rating's help text. Alternatively, you can use the help-text slot.
|
|
5468
|
+
* @default ''
|
|
5469
|
+
*/
|
|
5470
|
+
"helpText"?: string;
|
|
5471
|
+
/**
|
|
5472
|
+
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
5473
|
+
* @default false
|
|
5474
|
+
*/
|
|
5475
|
+
"invalid"?: boolean;
|
|
5476
|
+
/**
|
|
5477
|
+
* The label text.
|
|
5478
|
+
* @default ''
|
|
5479
|
+
*/
|
|
5480
|
+
"label"?: string;
|
|
5481
|
+
/**
|
|
5482
|
+
* Maximum number of stars. Default is 5
|
|
5483
|
+
* @default 5
|
|
5484
|
+
*/
|
|
5485
|
+
"max"?: number;
|
|
5486
|
+
/**
|
|
5487
|
+
* The rating's name attribute.
|
|
5488
|
+
* @default ''
|
|
5489
|
+
*/
|
|
5490
|
+
"name"?: string;
|
|
5491
|
+
/**
|
|
5492
|
+
* Emitted when the control loses focus.
|
|
5493
|
+
*/
|
|
5494
|
+
"onSix-rating-blur"?: (event: SixRatingCustomEvent<number>) => void;
|
|
5495
|
+
/**
|
|
5496
|
+
* Emitted when the control's checked state changes.
|
|
5497
|
+
*/
|
|
5498
|
+
"onSix-rating-change"?: (event: SixRatingCustomEvent<number>) => void;
|
|
5499
|
+
/**
|
|
5500
|
+
* Emitted when the control gains focus.
|
|
5501
|
+
*/
|
|
5502
|
+
"onSix-rating-focus"?: (event: SixRatingCustomEvent<EmptyPayload>) => void;
|
|
5503
|
+
/**
|
|
5504
|
+
* If its readonly
|
|
5505
|
+
* @default false
|
|
5506
|
+
*/
|
|
5507
|
+
"readonly"?: boolean;
|
|
5508
|
+
/**
|
|
5509
|
+
* Set to true to show an asterisk beneath the label.
|
|
5510
|
+
* @default false
|
|
5511
|
+
*/
|
|
5512
|
+
"required"?: boolean;
|
|
5513
|
+
/**
|
|
5514
|
+
* Size of the stars
|
|
5515
|
+
* @default 'medium'
|
|
5516
|
+
*/
|
|
5517
|
+
"size"?: 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge';
|
|
5518
|
+
/**
|
|
5519
|
+
* The rating's value attribute.
|
|
5520
|
+
* @default 0
|
|
4766
5521
|
*/
|
|
4767
5522
|
"value"?: number;
|
|
4768
5523
|
}
|
|
@@ -4773,14 +5528,17 @@ declare namespace LocalJSX {
|
|
|
4773
5528
|
interface SixRoot {
|
|
4774
5529
|
/**
|
|
4775
5530
|
* Defines whether the content section should be padded
|
|
5531
|
+
* @default true
|
|
4776
5532
|
*/
|
|
4777
5533
|
"padded"?: boolean;
|
|
4778
5534
|
/**
|
|
4779
5535
|
* Defines the stage of the application
|
|
5536
|
+
* @default null
|
|
4780
5537
|
*/
|
|
4781
5538
|
"stage"?: StageType;
|
|
4782
5539
|
/**
|
|
4783
5540
|
* Defines the version of the application
|
|
5541
|
+
* @default ''
|
|
4784
5542
|
*/
|
|
4785
5543
|
"version"?: string;
|
|
4786
5544
|
}
|
|
@@ -4791,14 +5549,17 @@ declare namespace LocalJSX {
|
|
|
4791
5549
|
interface SixSearchField {
|
|
4792
5550
|
/**
|
|
4793
5551
|
* Set to true to add a clear button when the input is populated.
|
|
5552
|
+
* @default false
|
|
4794
5553
|
*/
|
|
4795
5554
|
"clearable"?: boolean;
|
|
4796
5555
|
/**
|
|
4797
5556
|
* Debounce time in milliseconds, default is 300 ms
|
|
5557
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
4798
5558
|
*/
|
|
4799
5559
|
"debounce"?: number;
|
|
4800
5560
|
/**
|
|
4801
5561
|
* Set to true to disable the input.
|
|
5562
|
+
* @default false
|
|
4802
5563
|
*/
|
|
4803
5564
|
"disabled"?: boolean;
|
|
4804
5565
|
/**
|
|
@@ -4811,6 +5572,7 @@ declare namespace LocalJSX {
|
|
|
4811
5572
|
"placeholder"?: string;
|
|
4812
5573
|
/**
|
|
4813
5574
|
* The input's value attribute.
|
|
5575
|
+
* @default ''
|
|
4814
5576
|
*/
|
|
4815
5577
|
"value"?: string;
|
|
4816
5578
|
}
|
|
@@ -4822,22 +5584,27 @@ declare namespace LocalJSX {
|
|
|
4822
5584
|
interface SixSelect {
|
|
4823
5585
|
/**
|
|
4824
5586
|
* Set to true to allow async filtering. When you enter something in the search field the component will only emit an event but not filter any elements itself. You can then simply listen to the 'six-async-filter-fired' event to manage the shown menu-items yourself
|
|
5587
|
+
* @default false
|
|
4825
5588
|
*/
|
|
4826
5589
|
"asyncFilter"?: boolean;
|
|
4827
5590
|
/**
|
|
4828
5591
|
* Set to true to turn the six-select into an autocomplete.
|
|
5592
|
+
* @default false
|
|
4829
5593
|
*/
|
|
4830
5594
|
"autocomplete"?: boolean;
|
|
4831
5595
|
/**
|
|
4832
5596
|
* Set to true to add a clear button when the select is populated.
|
|
5597
|
+
* @default false
|
|
4833
5598
|
*/
|
|
4834
5599
|
"clearable"?: boolean;
|
|
4835
5600
|
/**
|
|
4836
5601
|
* Set to true to disable the select control.
|
|
5602
|
+
* @default false
|
|
4837
5603
|
*/
|
|
4838
5604
|
"disabled"?: boolean;
|
|
4839
5605
|
/**
|
|
4840
5606
|
* The error message shown, if `invalid` is set to true.
|
|
5607
|
+
* @default ''
|
|
4841
5608
|
*/
|
|
4842
5609
|
"errorText"?: string | string[];
|
|
4843
5610
|
/**
|
|
@@ -4846,6 +5613,7 @@ declare namespace LocalJSX {
|
|
|
4846
5613
|
"errorTextCount"?: number;
|
|
4847
5614
|
/**
|
|
4848
5615
|
* Set to true to allow filtering for entries in the dropdown
|
|
5616
|
+
* @default false
|
|
4849
5617
|
*/
|
|
4850
5618
|
"filter"?: boolean;
|
|
4851
5619
|
/**
|
|
@@ -4858,34 +5626,42 @@ declare namespace LocalJSX {
|
|
|
4858
5626
|
"filterPlaceholder"?: string;
|
|
4859
5627
|
/**
|
|
4860
5628
|
* The select's help text. Alternatively, you can use the help-text slot.
|
|
5629
|
+
* @default ''
|
|
4861
5630
|
*/
|
|
4862
5631
|
"helpText"?: string;
|
|
4863
5632
|
/**
|
|
4864
5633
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
5634
|
+
* @default false
|
|
4865
5635
|
*/
|
|
4866
5636
|
"hoist"?: boolean;
|
|
4867
5637
|
/**
|
|
4868
5638
|
* The debounce for when the input changes for autocompletes should be emitted
|
|
5639
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
4869
5640
|
*/
|
|
4870
5641
|
"inputDebounce"?: number;
|
|
4871
5642
|
/**
|
|
4872
5643
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
5644
|
+
* @default false
|
|
4873
5645
|
*/
|
|
4874
5646
|
"invalid"?: boolean;
|
|
4875
5647
|
/**
|
|
4876
5648
|
* The label text.
|
|
5649
|
+
* @default ''
|
|
4877
5650
|
*/
|
|
4878
5651
|
"label"?: string;
|
|
4879
5652
|
/**
|
|
4880
5653
|
* Set to render as line
|
|
5654
|
+
* @default false
|
|
4881
5655
|
*/
|
|
4882
5656
|
"line"?: boolean;
|
|
4883
5657
|
/**
|
|
4884
5658
|
* Set to true to enable multiselect.
|
|
5659
|
+
* @default false
|
|
4885
5660
|
*/
|
|
4886
5661
|
"multiple"?: boolean;
|
|
4887
5662
|
/**
|
|
4888
5663
|
* The select's name.
|
|
5664
|
+
* @default ''
|
|
4889
5665
|
*/
|
|
4890
5666
|
"name"?: string;
|
|
4891
5667
|
/**
|
|
@@ -4902,22 +5678,27 @@ declare namespace LocalJSX {
|
|
|
4902
5678
|
"onSix-select-focus"?: (event: SixSelectCustomEvent<EmptyPayload>) => void;
|
|
4903
5679
|
/**
|
|
4904
5680
|
* Set the options to be shown in the dropdown (alternative to setting the elements via html)
|
|
5681
|
+
* @default null
|
|
4905
5682
|
*/
|
|
4906
5683
|
"options"?: SixMenuItemData[] | null;
|
|
4907
5684
|
/**
|
|
4908
5685
|
* Set to true to draw a pill-style select with rounded edges.
|
|
5686
|
+
* @default false
|
|
4909
5687
|
*/
|
|
4910
5688
|
"pill"?: boolean;
|
|
4911
5689
|
/**
|
|
4912
5690
|
* The select's placeholder text.
|
|
5691
|
+
* @default ''
|
|
4913
5692
|
*/
|
|
4914
5693
|
"placeholder"?: string;
|
|
4915
5694
|
/**
|
|
4916
5695
|
* Set to true to show an asterisk beneath the label.
|
|
5696
|
+
* @default false
|
|
4917
5697
|
*/
|
|
4918
5698
|
"required"?: boolean;
|
|
4919
5699
|
/**
|
|
4920
5700
|
* Enables the select all button.
|
|
5701
|
+
* @default false
|
|
4921
5702
|
*/
|
|
4922
5703
|
"selectAllButton"?: boolean;
|
|
4923
5704
|
/**
|
|
@@ -4926,14 +5707,17 @@ declare namespace LocalJSX {
|
|
|
4926
5707
|
"selectAllText"?: string;
|
|
4927
5708
|
/**
|
|
4928
5709
|
* The select's size.
|
|
5710
|
+
* @default 'medium'
|
|
4929
5711
|
*/
|
|
4930
5712
|
"size"?: 'small' | 'medium' | 'large';
|
|
4931
5713
|
/**
|
|
4932
5714
|
* The value of the control. This will be a string or an array depending on `multiple`.
|
|
5715
|
+
* @default ''
|
|
4933
5716
|
*/
|
|
4934
5717
|
"value"?: string | string[];
|
|
4935
5718
|
/**
|
|
4936
5719
|
* Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around) are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot.
|
|
5720
|
+
* @default false
|
|
4937
5721
|
*/
|
|
4938
5722
|
"virtualScroll"?: boolean;
|
|
4939
5723
|
}
|
|
@@ -4964,18 +5748,22 @@ declare namespace LocalJSX {
|
|
|
4964
5748
|
"onSix-sidebar-show"?: (event: SixSidebarCustomEvent<EmptyPayload>) => void;
|
|
4965
5749
|
/**
|
|
4966
5750
|
* Indicates whether the sidebar is open. You can use this in lieu of the show/hide methods.
|
|
5751
|
+
* @default false
|
|
4967
5752
|
*/
|
|
4968
5753
|
"open"?: boolean;
|
|
4969
5754
|
/**
|
|
4970
5755
|
* Sidebar position
|
|
5756
|
+
* @default 'left'
|
|
4971
5757
|
*/
|
|
4972
5758
|
"position"?: 'left' | 'right';
|
|
4973
5759
|
/**
|
|
4974
5760
|
* Define whether sidebar is toggled meaning only one menu can be open at the same time
|
|
5761
|
+
* @default false
|
|
4975
5762
|
*/
|
|
4976
5763
|
"toggled"?: boolean;
|
|
4977
5764
|
/**
|
|
4978
5765
|
* Sidebar width
|
|
5766
|
+
* @default '16rem'
|
|
4979
5767
|
*/
|
|
4980
5768
|
"width"?: string;
|
|
4981
5769
|
}
|
|
@@ -4986,6 +5774,7 @@ declare namespace LocalJSX {
|
|
|
4986
5774
|
interface SixSidebarItem {
|
|
4987
5775
|
/**
|
|
4988
5776
|
* Set to true to draw the sidebar item in a disabled state.
|
|
5777
|
+
* @default false
|
|
4989
5778
|
*/
|
|
4990
5779
|
"disabled"?: boolean;
|
|
4991
5780
|
/**
|
|
@@ -4994,14 +5783,17 @@ declare namespace LocalJSX {
|
|
|
4994
5783
|
"href"?: string | undefined;
|
|
4995
5784
|
/**
|
|
4996
5785
|
* Icon of the item
|
|
5786
|
+
* @default ''
|
|
4997
5787
|
*/
|
|
4998
5788
|
"icon"?: string;
|
|
4999
5789
|
/**
|
|
5000
5790
|
* Set to true to draw the item in a selected state.
|
|
5791
|
+
* @default false
|
|
5001
5792
|
*/
|
|
5002
5793
|
"selected"?: boolean;
|
|
5003
5794
|
/**
|
|
5004
5795
|
* A unique value to store in the sidebar item. This can be used as a way to identify sidebar items when selected.
|
|
5796
|
+
* @default ''
|
|
5005
5797
|
*/
|
|
5006
5798
|
"value"?: string;
|
|
5007
5799
|
}
|
|
@@ -5016,14 +5808,17 @@ declare namespace LocalJSX {
|
|
|
5016
5808
|
"href"?: string | undefined;
|
|
5017
5809
|
/**
|
|
5018
5810
|
* Icon of the group
|
|
5811
|
+
* @default ''
|
|
5019
5812
|
*/
|
|
5020
5813
|
"icon"?: string;
|
|
5021
5814
|
/**
|
|
5022
5815
|
* Title of item group
|
|
5816
|
+
* @default ''
|
|
5023
5817
|
*/
|
|
5024
5818
|
"name"?: string;
|
|
5025
5819
|
/**
|
|
5026
5820
|
* Indicates whether the sidebar is shown
|
|
5821
|
+
* @default false
|
|
5027
5822
|
*/
|
|
5028
5823
|
"open"?: boolean;
|
|
5029
5824
|
/**
|
|
@@ -5032,6 +5827,7 @@ declare namespace LocalJSX {
|
|
|
5032
5827
|
"summaryIcon"?: string;
|
|
5033
5828
|
/**
|
|
5034
5829
|
* A unique value to store in the sidebar item of the group label. This can be used as a way to identify sidebar items when selected.
|
|
5830
|
+
* @default ''
|
|
5035
5831
|
*/
|
|
5036
5832
|
"value"?: string;
|
|
5037
5833
|
}
|
|
@@ -5053,6 +5849,7 @@ declare namespace LocalJSX {
|
|
|
5053
5849
|
interface SixStageIndicator {
|
|
5054
5850
|
/**
|
|
5055
5851
|
* The indicators value attribute
|
|
5852
|
+
* @default null
|
|
5056
5853
|
*/
|
|
5057
5854
|
"stage"?: StageType1;
|
|
5058
5855
|
}
|
|
@@ -5064,14 +5861,17 @@ declare namespace LocalJSX {
|
|
|
5064
5861
|
interface SixSwitch {
|
|
5065
5862
|
/**
|
|
5066
5863
|
* Set to true to draw the switch in a checked state.
|
|
5864
|
+
* @default false
|
|
5067
5865
|
*/
|
|
5068
5866
|
"checked"?: boolean;
|
|
5069
5867
|
/**
|
|
5070
5868
|
* Set to true to disable the switch.
|
|
5869
|
+
* @default false
|
|
5071
5870
|
*/
|
|
5072
5871
|
"disabled"?: boolean;
|
|
5073
5872
|
/**
|
|
5074
5873
|
* The error message shown, if `invalid` is set to true.
|
|
5874
|
+
* @default ''
|
|
5075
5875
|
*/
|
|
5076
5876
|
"errorText"?: string | string[];
|
|
5077
5877
|
/**
|
|
@@ -5080,14 +5880,17 @@ declare namespace LocalJSX {
|
|
|
5080
5880
|
"errorTextCount"?: number;
|
|
5081
5881
|
/**
|
|
5082
5882
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
5883
|
+
* @default false
|
|
5083
5884
|
*/
|
|
5084
5885
|
"invalid"?: boolean;
|
|
5085
5886
|
/**
|
|
5086
5887
|
* The label text.
|
|
5888
|
+
* @default ''
|
|
5087
5889
|
*/
|
|
5088
5890
|
"label"?: string;
|
|
5089
5891
|
/**
|
|
5090
5892
|
* The switch's name attribute.
|
|
5893
|
+
* @default ''
|
|
5091
5894
|
*/
|
|
5092
5895
|
"name"?: string;
|
|
5093
5896
|
/**
|
|
@@ -5104,10 +5907,12 @@ declare namespace LocalJSX {
|
|
|
5104
5907
|
"onSix-switch-focus"?: (event: SixSwitchCustomEvent<EmptyPayload>) => void;
|
|
5105
5908
|
/**
|
|
5106
5909
|
* Set to true to show an asterisk beneath the label.
|
|
5910
|
+
* @default false
|
|
5107
5911
|
*/
|
|
5108
5912
|
"required"?: boolean;
|
|
5109
5913
|
/**
|
|
5110
5914
|
* The switch's value attribute.
|
|
5915
|
+
* @default 'on'
|
|
5111
5916
|
*/
|
|
5112
5917
|
"value"?: string;
|
|
5113
5918
|
}
|
|
@@ -5119,14 +5924,17 @@ declare namespace LocalJSX {
|
|
|
5119
5924
|
interface SixTab {
|
|
5120
5925
|
/**
|
|
5121
5926
|
* Set to true to draw the tab in an active state.
|
|
5927
|
+
* @default false
|
|
5122
5928
|
*/
|
|
5123
5929
|
"active"?: boolean;
|
|
5124
5930
|
/**
|
|
5125
5931
|
* When true, the tab will be rendered with a close icon.
|
|
5932
|
+
* @default false
|
|
5126
5933
|
*/
|
|
5127
5934
|
"closable"?: boolean;
|
|
5128
5935
|
/**
|
|
5129
5936
|
* Set to true to draw the tab in a disabled state.
|
|
5937
|
+
* @default false
|
|
5130
5938
|
*/
|
|
5131
5939
|
"disabled"?: boolean;
|
|
5132
5940
|
/**
|
|
@@ -5135,6 +5943,7 @@ declare namespace LocalJSX {
|
|
|
5135
5943
|
"onSix-tab-close"?: (event: SixTabCustomEvent<EmptyPayload>) => void;
|
|
5136
5944
|
/**
|
|
5137
5945
|
* The name of the tab panel the tab will control. The panel must be located in the same tab group.
|
|
5946
|
+
* @default ''
|
|
5138
5947
|
*/
|
|
5139
5948
|
"panel"?: string;
|
|
5140
5949
|
}
|
|
@@ -5146,6 +5955,7 @@ declare namespace LocalJSX {
|
|
|
5146
5955
|
interface SixTabGroup {
|
|
5147
5956
|
/**
|
|
5148
5957
|
* Disables the scroll arrows that appear when tabs overflow.
|
|
5958
|
+
* @default false
|
|
5149
5959
|
*/
|
|
5150
5960
|
"noScrollControls"?: boolean;
|
|
5151
5961
|
/**
|
|
@@ -5158,6 +5968,7 @@ declare namespace LocalJSX {
|
|
|
5158
5968
|
"onSix-tab-show"?: (event: SixTabGroupCustomEvent<SixTabShowPayload>) => void;
|
|
5159
5969
|
/**
|
|
5160
5970
|
* The placement of the tabs.
|
|
5971
|
+
* @default 'top'
|
|
5161
5972
|
*/
|
|
5162
5973
|
"placement"?: 'top' | 'bottom' | 'left' | 'right';
|
|
5163
5974
|
}
|
|
@@ -5169,10 +5980,12 @@ declare namespace LocalJSX {
|
|
|
5169
5980
|
interface SixTabPanel {
|
|
5170
5981
|
/**
|
|
5171
5982
|
* When true, the tab panel will be shown.
|
|
5983
|
+
* @default false
|
|
5172
5984
|
*/
|
|
5173
5985
|
"active"?: boolean;
|
|
5174
5986
|
/**
|
|
5175
5987
|
* The tab panel's name.
|
|
5988
|
+
* @default ''
|
|
5176
5989
|
*/
|
|
5177
5990
|
"name"?: string;
|
|
5178
5991
|
}
|
|
@@ -5184,6 +5997,7 @@ declare namespace LocalJSX {
|
|
|
5184
5997
|
interface SixTag {
|
|
5185
5998
|
/**
|
|
5186
5999
|
* Set to true to make the tag clearable.
|
|
6000
|
+
* @default false
|
|
5187
6001
|
*/
|
|
5188
6002
|
"clearable"?: boolean;
|
|
5189
6003
|
/**
|
|
@@ -5192,14 +6006,17 @@ declare namespace LocalJSX {
|
|
|
5192
6006
|
"onSix-tag-clear"?: (event: SixTagCustomEvent<EmptyPayload>) => void;
|
|
5193
6007
|
/**
|
|
5194
6008
|
* Set to true to draw a pill-style tag with rounded edges.
|
|
6009
|
+
* @default false
|
|
5195
6010
|
*/
|
|
5196
6011
|
"pill"?: boolean;
|
|
5197
6012
|
/**
|
|
5198
6013
|
* The tag's size.
|
|
6014
|
+
* @default 'medium'
|
|
5199
6015
|
*/
|
|
5200
6016
|
"size"?: 'small' | 'medium' | 'large';
|
|
5201
6017
|
/**
|
|
5202
6018
|
* The tag's type.
|
|
6019
|
+
* @default 'primary'
|
|
5203
6020
|
*/
|
|
5204
6021
|
"type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'action' | 'text';
|
|
5205
6022
|
}
|
|
@@ -5211,26 +6028,32 @@ declare namespace LocalJSX {
|
|
|
5211
6028
|
interface SixTextarea {
|
|
5212
6029
|
/**
|
|
5213
6030
|
* The textarea's autocaptialize attribute.
|
|
6031
|
+
* @default 'off'
|
|
5214
6032
|
*/
|
|
5215
6033
|
"autocapitalize"?: string;
|
|
5216
6034
|
/**
|
|
5217
6035
|
* The textarea's autocomplete attribute.
|
|
6036
|
+
* @default 'off'
|
|
5218
6037
|
*/
|
|
5219
6038
|
"autocomplete"?: string;
|
|
5220
6039
|
/**
|
|
5221
6040
|
* The textarea's autocorrect attribute.
|
|
6041
|
+
* @default 'off'
|
|
5222
6042
|
*/
|
|
5223
6043
|
"autocorrect"?: 'on' | 'off';
|
|
5224
6044
|
/**
|
|
5225
6045
|
* The textarea's autofocus attribute.
|
|
6046
|
+
* @default false
|
|
5226
6047
|
*/
|
|
5227
6048
|
"autofocus"?: boolean;
|
|
5228
6049
|
/**
|
|
5229
6050
|
* Set to true to disable the textarea.
|
|
6051
|
+
* @default false
|
|
5230
6052
|
*/
|
|
5231
6053
|
"disabled"?: boolean;
|
|
5232
6054
|
/**
|
|
5233
6055
|
* The error message shown, if `invalid` is set to true.
|
|
6056
|
+
* @default ''
|
|
5234
6057
|
*/
|
|
5235
6058
|
"errorText"?: string | string[];
|
|
5236
6059
|
/**
|
|
@@ -5239,6 +6062,7 @@ declare namespace LocalJSX {
|
|
|
5239
6062
|
"errorTextCount"?: number;
|
|
5240
6063
|
/**
|
|
5241
6064
|
* The textarea's help text. Alternatively, you can use the help-text slot.
|
|
6065
|
+
* @default ''
|
|
5242
6066
|
*/
|
|
5243
6067
|
"helpText"?: string;
|
|
5244
6068
|
/**
|
|
@@ -5247,10 +6071,12 @@ declare namespace LocalJSX {
|
|
|
5247
6071
|
"inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
5248
6072
|
/**
|
|
5249
6073
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
6074
|
+
* @default false
|
|
5250
6075
|
*/
|
|
5251
6076
|
"invalid"?: boolean;
|
|
5252
6077
|
/**
|
|
5253
6078
|
* The label text.
|
|
6079
|
+
* @default ''
|
|
5254
6080
|
*/
|
|
5255
6081
|
"label"?: string;
|
|
5256
6082
|
/**
|
|
@@ -5263,6 +6089,7 @@ declare namespace LocalJSX {
|
|
|
5263
6089
|
"minlength"?: number;
|
|
5264
6090
|
/**
|
|
5265
6091
|
* The textarea's name attribute.
|
|
6092
|
+
* @default ''
|
|
5266
6093
|
*/
|
|
5267
6094
|
"name"?: string;
|
|
5268
6095
|
/**
|
|
@@ -5287,30 +6114,37 @@ declare namespace LocalJSX {
|
|
|
5287
6114
|
"placeholder"?: string;
|
|
5288
6115
|
/**
|
|
5289
6116
|
* Set to true for a readonly textarea.
|
|
6117
|
+
* @default false
|
|
5290
6118
|
*/
|
|
5291
6119
|
"readonly"?: boolean;
|
|
5292
6120
|
/**
|
|
5293
6121
|
* Set to true to show an asterisk beneath the label.
|
|
6122
|
+
* @default false
|
|
5294
6123
|
*/
|
|
5295
6124
|
"required"?: boolean;
|
|
5296
6125
|
/**
|
|
5297
6126
|
* Controls how the textarea can be resized.
|
|
6127
|
+
* @default 'vertical'
|
|
5298
6128
|
*/
|
|
5299
6129
|
"resize"?: 'none' | 'vertical' | 'auto';
|
|
5300
6130
|
/**
|
|
5301
6131
|
* The number of rows to display by default.
|
|
6132
|
+
* @default 4
|
|
5302
6133
|
*/
|
|
5303
6134
|
"rows"?: number;
|
|
5304
6135
|
/**
|
|
5305
6136
|
* The textarea's size.
|
|
6137
|
+
* @default 'medium'
|
|
5306
6138
|
*/
|
|
5307
6139
|
"size"?: 'small' | 'medium' | 'large';
|
|
5308
6140
|
/**
|
|
5309
6141
|
* The textarea's spellcheck attribute.
|
|
6142
|
+
* @default false
|
|
5310
6143
|
*/
|
|
5311
6144
|
"spellcheck"?: boolean;
|
|
5312
6145
|
/**
|
|
5313
6146
|
* The textarea's value attribute.
|
|
6147
|
+
* @default ''
|
|
5314
6148
|
*/
|
|
5315
6149
|
"value"?: string;
|
|
5316
6150
|
}
|
|
@@ -5321,18 +6155,22 @@ declare namespace LocalJSX {
|
|
|
5321
6155
|
interface SixTile {
|
|
5322
6156
|
/**
|
|
5323
6157
|
* Flag, whether the tile is closeable.
|
|
6158
|
+
* @default true
|
|
5324
6159
|
*/
|
|
5325
6160
|
"closeable"?: boolean;
|
|
5326
6161
|
/**
|
|
5327
6162
|
* Enables tile tooltip for tiles
|
|
6163
|
+
* @default true
|
|
5328
6164
|
*/
|
|
5329
6165
|
"disableTooltip"?: boolean;
|
|
5330
6166
|
/**
|
|
5331
6167
|
* Set to true to disable the tile.
|
|
6168
|
+
* @default false
|
|
5332
6169
|
*/
|
|
5333
6170
|
"disabled"?: boolean;
|
|
5334
6171
|
/**
|
|
5335
6172
|
* Flag, whether the tile should cast a shadow.
|
|
6173
|
+
* @default false
|
|
5336
6174
|
*/
|
|
5337
6175
|
"elevated"?: boolean;
|
|
5338
6176
|
/**
|
|
@@ -5341,6 +6179,7 @@ declare namespace LocalJSX {
|
|
|
5341
6179
|
"iconName"?: string;
|
|
5342
6180
|
/**
|
|
5343
6181
|
* The tile's label.
|
|
6182
|
+
* @default ''
|
|
5344
6183
|
*/
|
|
5345
6184
|
"label"?: string;
|
|
5346
6185
|
/**
|
|
@@ -5353,6 +6192,7 @@ declare namespace LocalJSX {
|
|
|
5353
6192
|
"onSix-tile-selected"?: (event: SixTileCustomEvent<EmptyPayload>) => void;
|
|
5354
6193
|
/**
|
|
5355
6194
|
* The tile's size.
|
|
6195
|
+
* @default 'medium'
|
|
5356
6196
|
*/
|
|
5357
6197
|
"size"?: 'small' | 'medium' | 'large';
|
|
5358
6198
|
}
|
|
@@ -5363,10 +6203,12 @@ declare namespace LocalJSX {
|
|
|
5363
6203
|
interface SixTimepicker {
|
|
5364
6204
|
/**
|
|
5365
6205
|
* Set to true to add a clear button when the input is populated.
|
|
6206
|
+
* @default false
|
|
5366
6207
|
*/
|
|
5367
6208
|
"clearable"?: boolean;
|
|
5368
6209
|
/**
|
|
5369
6210
|
* Set the amount of time, in milliseconds, to wait to trigger the `six-timepicker-change-debounced` event. If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click (and keep pressed) and once you release
|
|
6211
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
5370
6212
|
*/
|
|
5371
6213
|
"debounce"?: number;
|
|
5372
6214
|
/**
|
|
@@ -5375,10 +6217,12 @@ declare namespace LocalJSX {
|
|
|
5375
6217
|
"defaultTime"?: string;
|
|
5376
6218
|
/**
|
|
5377
6219
|
* If `true` the component is disabled.
|
|
6220
|
+
* @default false
|
|
5378
6221
|
*/
|
|
5379
6222
|
"disabled"?: boolean;
|
|
5380
6223
|
/**
|
|
5381
6224
|
* The input's error text. Alternatively, you can use the error-text slot.
|
|
6225
|
+
* @default ''
|
|
5382
6226
|
*/
|
|
5383
6227
|
"errorText"?: string | string[];
|
|
5384
6228
|
/**
|
|
@@ -5387,34 +6231,42 @@ declare namespace LocalJSX {
|
|
|
5387
6231
|
"errorTextCount"?: number;
|
|
5388
6232
|
/**
|
|
5389
6233
|
* Define the time format. Valid formats are: HH:mm:ss hh:mm:ss:aa HH:mm:ss:ms hh:mm:ss:ms:aa HH:mm hh:mm:aa HH hh:aa mm ss ms where HH is the 24 hour format and hh is the 12 hour format Please notice that when using the 12-hour-clock (hh) you always need a period indicator (aa). So the time can be parsed as either am or pm
|
|
6234
|
+
* @default 'HH:mm:ss'
|
|
5390
6235
|
*/
|
|
5391
6236
|
"format"?: TimeFormat;
|
|
5392
6237
|
/**
|
|
5393
6238
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
6239
|
+
* @default false
|
|
5394
6240
|
*/
|
|
5395
6241
|
"hoist"?: boolean;
|
|
5396
6242
|
/**
|
|
5397
6243
|
* Set the position of the icon
|
|
6244
|
+
* @default 'left'
|
|
5398
6245
|
*/
|
|
5399
6246
|
"iconPosition"?: 'left' | 'right';
|
|
5400
6247
|
/**
|
|
5401
6248
|
* Indicates whether the timepicker should be shown as an inline (always open) component
|
|
6249
|
+
* @default false
|
|
5402
6250
|
*/
|
|
5403
6251
|
"inline"?: boolean;
|
|
5404
6252
|
/**
|
|
5405
6253
|
* Set the amount of time, in milliseconds, to wait between switching to next timeunit (e.g. next hour) when mouse button is held pressed.
|
|
6254
|
+
* @default DEFAULT_DEBOUNCE_INSANELY_FAST
|
|
5406
6255
|
*/
|
|
5407
6256
|
"interval"?: number;
|
|
5408
6257
|
/**
|
|
5409
6258
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
6259
|
+
* @default false
|
|
5410
6260
|
*/
|
|
5411
6261
|
"invalid"?: boolean;
|
|
5412
6262
|
/**
|
|
5413
6263
|
* The input's label. Alternatively, you can use the label slot.
|
|
6264
|
+
* @default ''
|
|
5414
6265
|
*/
|
|
5415
6266
|
"label"?: string;
|
|
5416
6267
|
/**
|
|
5417
6268
|
* The input's name attribute.
|
|
6269
|
+
* @default ''
|
|
5418
6270
|
*/
|
|
5419
6271
|
"name"?: string;
|
|
5420
6272
|
/**
|
|
@@ -5431,6 +6283,7 @@ declare namespace LocalJSX {
|
|
|
5431
6283
|
"onSix-timepicker-clear"?: (event: SixTimepickerCustomEvent<EmptyPayload>) => void;
|
|
5432
6284
|
/**
|
|
5433
6285
|
* Indicates whether the timepicker dropdown is open on startup. You can use this in lieu of the show/hide methods.
|
|
6286
|
+
* @default false
|
|
5434
6287
|
*/
|
|
5435
6288
|
"open"?: boolean;
|
|
5436
6289
|
/**
|
|
@@ -5443,26 +6296,32 @@ declare namespace LocalJSX {
|
|
|
5443
6296
|
"placement"?: 'top' | 'bottom';
|
|
5444
6297
|
/**
|
|
5445
6298
|
* If `true` the user can only select a time via the timepicker but not directly edit the input field.
|
|
6299
|
+
* @default false
|
|
5446
6300
|
*/
|
|
5447
6301
|
"readonly"?: boolean;
|
|
5448
6302
|
/**
|
|
5449
6303
|
* Set to true to show an asterisk beneath the label.
|
|
6304
|
+
* @default false
|
|
5450
6305
|
*/
|
|
5451
6306
|
"required"?: boolean;
|
|
5452
6307
|
/**
|
|
5453
6308
|
* Define the separator to be shown between the time unit pickers. Please be aware that this property will modify the displayed separator only. The separator for a timestring is always expected to be a colon (eg. '13:52:20')
|
|
6309
|
+
* @default ':'
|
|
5454
6310
|
*/
|
|
5455
6311
|
"separator"?: string;
|
|
5456
6312
|
/**
|
|
5457
6313
|
* Timepicker size.
|
|
6314
|
+
* @default 'medium'
|
|
5458
6315
|
*/
|
|
5459
6316
|
"size"?: 'small' | 'medium' | 'large';
|
|
5460
6317
|
/**
|
|
5461
6318
|
* Set the amount of time, in milliseconds, to wait to trigger faster switching between timeunits (e.g. hours).
|
|
6319
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
5462
6320
|
*/
|
|
5463
6321
|
"timeout"?: number;
|
|
5464
6322
|
/**
|
|
5465
6323
|
* The value of the timepicker provided as a string. The string mast match the provided format (or default format)
|
|
6324
|
+
* @default ''
|
|
5466
6325
|
*/
|
|
5467
6326
|
"value"?: string;
|
|
5468
6327
|
}
|
|
@@ -5474,14 +6333,17 @@ declare namespace LocalJSX {
|
|
|
5474
6333
|
interface SixTooltip {
|
|
5475
6334
|
/**
|
|
5476
6335
|
* The tooltip's content. Alternatively, you can use the content slot.
|
|
6336
|
+
* @default ''
|
|
5477
6337
|
*/
|
|
5478
6338
|
"content"?: string;
|
|
5479
6339
|
/**
|
|
5480
6340
|
* Set to true to disable the tooltip, so it won't show when triggered.
|
|
6341
|
+
* @default false
|
|
5481
6342
|
*/
|
|
5482
6343
|
"disabled"?: boolean;
|
|
5483
6344
|
/**
|
|
5484
6345
|
* The distance in pixels from which to offset the tooltip away from its target.
|
|
6346
|
+
* @default 10
|
|
5485
6347
|
*/
|
|
5486
6348
|
"distance"?: number;
|
|
5487
6349
|
/**
|
|
@@ -5502,10 +6364,12 @@ declare namespace LocalJSX {
|
|
|
5502
6364
|
"onSix-tooltip-show"?: (event: SixTooltipCustomEvent<EmptyPayload>) => void;
|
|
5503
6365
|
/**
|
|
5504
6366
|
* Indicates whether the tooltip is open. You can use this in lieu of the show/hide methods.
|
|
6367
|
+
* @default false
|
|
5505
6368
|
*/
|
|
5506
6369
|
"open"?: boolean;
|
|
5507
6370
|
/**
|
|
5508
6371
|
* The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip inside the viewport.
|
|
6372
|
+
* @default 'top'
|
|
5509
6373
|
*/
|
|
5510
6374
|
"placement"?: | 'top'
|
|
5511
6375
|
| 'top-start'
|
|
@@ -5521,10 +6385,12 @@ declare namespace LocalJSX {
|
|
|
5521
6385
|
| 'left-end';
|
|
5522
6386
|
/**
|
|
5523
6387
|
* The distance in pixels from which to offset the tooltip along its target.
|
|
6388
|
+
* @default 0
|
|
5524
6389
|
*/
|
|
5525
6390
|
"skidding"?: number;
|
|
5526
6391
|
/**
|
|
5527
6392
|
* Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple options can be passed by separating them with a space. When manual is used, the tooltip must be activated programmatically.
|
|
6393
|
+
* @default 'hover focus'
|
|
5528
6394
|
*/
|
|
5529
6395
|
"trigger"?: string;
|
|
5530
6396
|
}
|
|
@@ -5532,6 +6398,8 @@ declare namespace LocalJSX {
|
|
|
5532
6398
|
"six-alert": SixAlert;
|
|
5533
6399
|
"six-avatar": SixAvatar;
|
|
5534
6400
|
"six-badge": SixBadge;
|
|
6401
|
+
"six-breadcrumbs": SixBreadcrumbs;
|
|
6402
|
+
"six-breadcrumbs-item": SixBreadcrumbsItem;
|
|
5535
6403
|
"six-button": SixButton;
|
|
5536
6404
|
"six-card": SixCard;
|
|
5537
6405
|
"six-checkbox": SixCheckbox;
|
|
@@ -5569,6 +6437,7 @@ declare namespace LocalJSX {
|
|
|
5569
6437
|
"six-progress-ring": SixProgressRing;
|
|
5570
6438
|
"six-radio": SixRadio;
|
|
5571
6439
|
"six-range": SixRange;
|
|
6440
|
+
"six-rating": SixRating;
|
|
5572
6441
|
"six-root": SixRoot;
|
|
5573
6442
|
"six-search-field": SixSearchField;
|
|
5574
6443
|
"six-select": SixSelect;
|
|
@@ -5610,6 +6479,18 @@ declare module "@stencil/core" {
|
|
|
5610
6479
|
* Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.
|
|
5611
6480
|
*/
|
|
5612
6481
|
"six-badge": LocalJSX.SixBadge & JSXBase.HTMLAttributes<HTMLSixBadgeElement>;
|
|
6482
|
+
/**
|
|
6483
|
+
* Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.
|
|
6484
|
+
* @since 5.0
|
|
6485
|
+
* @status beta
|
|
6486
|
+
*/
|
|
6487
|
+
"six-breadcrumbs": LocalJSX.SixBreadcrumbs & JSXBase.HTMLAttributes<HTMLSixBreadcrumbsElement>;
|
|
6488
|
+
/**
|
|
6489
|
+
* Breadcrumb items are used inside breadcrumbs to represent different links.
|
|
6490
|
+
* @since 5.0
|
|
6491
|
+
* @status beta
|
|
6492
|
+
*/
|
|
6493
|
+
"six-breadcrumbs-item": LocalJSX.SixBreadcrumbsItem & JSXBase.HTMLAttributes<HTMLSixBreadcrumbsItemElement>;
|
|
5613
6494
|
/**
|
|
5614
6495
|
* @since 1.0
|
|
5615
6496
|
* @status stable
|
|
@@ -5635,7 +6516,7 @@ declare module "@stencil/core" {
|
|
|
5635
6516
|
"six-date": LocalJSX.SixDate & JSXBase.HTMLAttributes<HTMLSixDateElement>;
|
|
5636
6517
|
/**
|
|
5637
6518
|
* @since 1.0
|
|
5638
|
-
* @status
|
|
6519
|
+
* @status deprecated. Use six-date instead.
|
|
5639
6520
|
*/
|
|
5640
6521
|
"six-datepicker": LocalJSX.SixDatepicker & JSXBase.HTMLAttributes<HTMLSixDatepickerElement>;
|
|
5641
6522
|
/**
|
|
@@ -5804,6 +6685,7 @@ declare module "@stencil/core" {
|
|
|
5804
6685
|
* Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.
|
|
5805
6686
|
*/
|
|
5806
6687
|
"six-range": LocalJSX.SixRange & JSXBase.HTMLAttributes<HTMLSixRangeElement>;
|
|
6688
|
+
"six-rating": LocalJSX.SixRating & JSXBase.HTMLAttributes<HTMLSixRatingElement>;
|
|
5807
6689
|
/**
|
|
5808
6690
|
* @since 1.0
|
|
5809
6691
|
* @status stable
|