@six-group/ui-library 0.0.0-insider.f058d60 → 0.0.0-insider.f24090c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/dist/cjs/{form-control-d369af14.js → form-control-9769b310.js} +10 -7
- package/dist/cjs/form-control-9769b310.js.map +1 -0
- package/dist/cjs/index-900437fc.js +214 -1
- package/dist/cjs/index-900437fc.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{scroll-03678de1.js → scroll-2c4200dc.js} +1 -2
- package/dist/cjs/scroll-2c4200dc.js.map +1 -0
- package/dist/cjs/six-button.cjs.entry.js +3 -3
- package/dist/cjs/six-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-checkbox.cjs.entry.js +6 -3
- package/dist/cjs/six-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/six-datepicker.cjs.entry.js +2 -7
- package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-details.cjs.entry.js +1 -1
- package/dist/cjs/six-details.cjs.entry.js.map +1 -1
- 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-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/six-error.cjs.entry.js +21 -0
- package/dist/cjs/six-error.cjs.entry.js.map +1 -0
- package/dist/cjs/six-group-label.cjs.entry.js +2 -2
- package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-input.cjs.entry.js +6 -3
- package/dist/cjs/six-input.cjs.entry.js.map +1 -1
- package/dist/cjs/six-range.cjs.entry.js +6 -3
- package/dist/cjs/six-range.cjs.entry.js.map +1 -1
- package/dist/cjs/six-select.cjs.entry.js +6 -3
- package/dist/cjs/six-select.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js +2 -1
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/six-switch.cjs.entry.js +22 -4
- package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-group.cjs.entry.js +45 -50
- package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab.cjs.entry.js +19 -3
- package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tag.cjs.entry.js +23 -1
- package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/six-textarea.cjs.entry.js +6 -3
- package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/six-timepicker.cjs.entry.js +4 -9
- package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/ui-library.cjs.js +2 -2
- package/dist/cjs/ui-library.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/six-button/six-button.css +5 -30
- package/dist/collection/components/six-button/six-button.js +2 -2
- package/dist/collection/components/six-button/six-button.js.map +1 -1
- package/dist/collection/components/six-checkbox/six-checkbox.css +1 -1
- package/dist/collection/components/six-checkbox/six-checkbox.js +25 -4
- package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
- package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js +6 -2
- package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js.map +1 -1
- package/dist/collection/components/six-datepicker/six-datepicker.js +22 -11
- package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
- package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js +1 -1
- package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js.map +1 -1
- package/dist/collection/components/six-details/six-details.css +3 -1
- package/dist/collection/components/six-dropdown/six-dropdown.css +2 -1
- package/dist/collection/components/six-error/six-error.css +5 -0
- package/dist/collection/components/six-error/six-error.js +25 -0
- package/dist/collection/components/six-error/six-error.js.map +1 -0
- package/dist/collection/components/six-group-label/six-group-label.css +1 -1
- package/dist/collection/components/six-group-label/test/six-group-label.spec.js +3 -1
- package/dist/collection/components/six-group-label/test/six-group-label.spec.js.map +1 -1
- package/dist/collection/components/six-icon-button/six-icon-button.css +4 -4
- package/dist/collection/components/six-input/six-input.css +1 -1
- package/dist/collection/components/six-input/six-input.js +27 -4
- package/dist/collection/components/six-input/six-input.js.map +1 -1
- package/dist/collection/components/six-input/test/six-input.spec.js +3 -1
- package/dist/collection/components/six-input/test/six-input.spec.js.map +1 -1
- package/dist/collection/components/six-range/six-range.css +1 -1
- package/dist/collection/components/six-range/six-range.js +24 -3
- package/dist/collection/components/six-range/six-range.js.map +1 -1
- package/dist/collection/components/six-range/test/six-range.spec.js +3 -1
- package/dist/collection/components/six-range/test/six-range.spec.js.map +1 -1
- package/dist/collection/components/six-select/six-select.css +1 -1
- package/dist/collection/components/six-select/six-select.js +24 -3
- package/dist/collection/components/six-select/six-select.js.map +1 -1
- package/dist/collection/components/six-select/test/six-select.spec.js +6 -2
- package/dist/collection/components/six-select/test/six-select.spec.js.map +1 -1
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +4 -0
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +1 -0
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
- package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js +2 -2
- package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js.map +1 -1
- package/dist/collection/components/six-switch/six-switch.css +1 -1
- package/dist/collection/components/six-switch/six-switch.js +45 -4
- package/dist/collection/components/six-switch/six-switch.js.map +1 -1
- package/dist/collection/components/six-switch/test/six-switch.spec.js +6 -2
- package/dist/collection/components/six-switch/test/six-switch.spec.js.map +1 -1
- package/dist/collection/components/six-tab/six-tab.css +54 -5
- package/dist/collection/components/six-tab/six-tab.js +18 -2
- package/dist/collection/components/six-tab/six-tab.js.map +1 -1
- package/dist/collection/components/six-tab-group/six-tab-group.css +0 -31
- package/dist/collection/components/six-tab-group/six-tab-group.js +10 -51
- package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
- package/dist/collection/components/six-tag/six-tag.js +23 -1
- package/dist/collection/components/six-tag/six-tag.js.map +1 -1
- package/dist/collection/components/six-tag/test/six-tag.spec.js +12 -0
- package/dist/collection/components/six-tag/test/six-tag.spec.js.map +1 -1
- package/dist/collection/components/six-textarea/six-textarea.css +1 -1
- package/dist/collection/components/six-textarea/six-textarea.js +25 -4
- package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
- package/dist/collection/components/six-textarea/test/six-textarea.spec.js +3 -1
- package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +1 -1
- package/dist/collection/components/six-timepicker/six-timepicker.js +24 -12
- package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
- package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js +15 -15
- package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +1 -1
- package/dist/collection/components/six-tooltip/six-tooltip.css +1 -1
- package/dist/collection/components/six-tooltip/six-tooltip.js +1 -1
- package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
- package/dist/collection/functional-components/form-control/form-control.js +8 -6
- package/dist/collection/functional-components/form-control/form-control.js.map +1 -1
- package/dist/collection/utils/animation.js +34 -0
- package/dist/collection/utils/animation.js.map +1 -0
- package/dist/components/form-control.js +9 -6
- package/dist/components/form-control.js.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/scroll.js +1 -1
- package/dist/components/six-button.js +3 -3
- package/dist/components/six-button.js.map +1 -1
- package/dist/components/six-checkbox.js +14 -3
- package/dist/components/six-checkbox.js.map +1 -1
- package/dist/components/six-datepicker.js +10 -8
- package/dist/components/six-datepicker.js.map +1 -1
- package/dist/components/six-details2.js +1 -1
- package/dist/components/six-details2.js.map +1 -1
- package/dist/components/six-dropdown2.js +8 -2
- package/dist/components/six-dropdown2.js.map +1 -1
- package/dist/components/six-error.d.ts +11 -0
- package/dist/components/six-error.js +8 -0
- package/dist/components/six-error.js.map +1 -0
- package/dist/components/six-error2.js +32 -0
- package/dist/components/six-error2.js.map +1 -0
- package/dist/components/six-group-label.js +8 -2
- package/dist/components/six-group-label.js.map +1 -1
- package/dist/components/six-header.js +8 -2
- package/dist/components/six-header.js.map +1 -1
- package/dist/components/six-icon-button2.js +1 -1
- package/dist/components/six-icon-button2.js.map +1 -1
- package/dist/components/six-input2.js +14 -3
- package/dist/components/six-input2.js.map +1 -1
- package/dist/components/six-range.js +14 -3
- package/dist/components/six-range.js.map +1 -1
- package/dist/components/six-search-field.js +7 -1
- package/dist/components/six-search-field.js.map +1 -1
- package/dist/components/six-select.js +33 -16
- package/dist/components/six-select.js.map +1 -1
- package/dist/components/six-sidebar-item-group.js +2 -1
- package/dist/components/six-sidebar-item-group.js.map +1 -1
- package/dist/components/six-switch.js +30 -4
- package/dist/components/six-switch.js.map +1 -1
- package/dist/components/six-tab-group.js +45 -50
- package/dist/components/six-tab-group.js.map +1 -1
- package/dist/components/six-tab.js +19 -3
- package/dist/components/six-tab.js.map +1 -1
- package/dist/components/six-tag2.js +33 -5
- package/dist/components/six-tag2.js.map +1 -1
- package/dist/components/six-textarea.js +14 -3
- package/dist/components/six-textarea.js.map +1 -1
- package/dist/components/six-timepicker2.js +12 -10
- package/dist/components/six-timepicker2.js.map +1 -1
- package/dist/components/six-tooltip2.js +2 -2
- package/dist/components/six-tooltip2.js.map +1 -1
- package/dist/components.json +426 -56
- package/dist/esm/{form-control-32cb533f.js → form-control-b0febe88.js} +10 -7
- package/dist/esm/form-control-b0febe88.js.map +1 -0
- package/dist/esm/index-8a74f992.js +214 -1
- package/dist/esm/index-8a74f992.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{scroll-3fb087a2.js → scroll-774762d6.js} +2 -2
- package/dist/esm/{scroll-3fb087a2.js.map → scroll-774762d6.js.map} +1 -1
- package/dist/esm/six-button.entry.js +3 -3
- package/dist/esm/six-button.entry.js.map +1 -1
- package/dist/esm/six-checkbox.entry.js +6 -3
- package/dist/esm/six-checkbox.entry.js.map +1 -1
- package/dist/esm/six-datepicker.entry.js +2 -7
- package/dist/esm/six-datepicker.entry.js.map +1 -1
- package/dist/esm/six-details.entry.js +1 -1
- package/dist/esm/six-details.entry.js.map +1 -1
- 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-dropdown_2.entry.js.map +1 -1
- package/dist/esm/six-error.entry.js +17 -0
- package/dist/esm/six-error.entry.js.map +1 -0
- package/dist/esm/six-group-label.entry.js +2 -2
- package/dist/esm/six-group-label.entry.js.map +1 -1
- package/dist/esm/six-icon-button.entry.js +1 -1
- package/dist/esm/six-icon-button.entry.js.map +1 -1
- package/dist/esm/six-input.entry.js +6 -3
- package/dist/esm/six-input.entry.js.map +1 -1
- package/dist/esm/six-range.entry.js +6 -3
- package/dist/esm/six-range.entry.js.map +1 -1
- package/dist/esm/six-select.entry.js +6 -3
- package/dist/esm/six-select.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item-group.entry.js +2 -1
- package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
- package/dist/esm/six-sidebar.entry.js +1 -1
- package/dist/esm/six-switch.entry.js +22 -4
- package/dist/esm/six-switch.entry.js.map +1 -1
- package/dist/esm/six-tab-group.entry.js +45 -50
- package/dist/esm/six-tab-group.entry.js.map +1 -1
- package/dist/esm/six-tab.entry.js +19 -3
- package/dist/esm/six-tab.entry.js.map +1 -1
- package/dist/esm/six-tag.entry.js +23 -1
- package/dist/esm/six-tag.entry.js.map +1 -1
- package/dist/esm/six-textarea.entry.js +6 -3
- package/dist/esm/six-textarea.entry.js.map +1 -1
- package/dist/esm/six-timepicker.entry.js +4 -9
- package/dist/esm/six-timepicker.entry.js.map +1 -1
- package/dist/esm/six-tooltip.entry.js +2 -2
- package/dist/esm/six-tooltip.entry.js.map +1 -1
- package/dist/esm/ui-library.js +2 -2
- package/dist/esm/ui-library.js.map +1 -1
- package/dist/types/components/six-checkbox/six-checkbox.d.ts +4 -1
- package/dist/types/components/six-datepicker/six-datepicker.d.ts +4 -2
- package/dist/types/components/six-error/six-error.d.ts +9 -0
- package/dist/types/components/six-input/six-input.d.ts +7 -2
- package/dist/types/components/six-range/six-range.d.ts +4 -1
- package/dist/types/components/six-select/six-select.d.ts +4 -1
- package/dist/types/components/six-switch/six-switch.d.ts +8 -1
- package/dist/types/components/six-tab-group/six-tab-group.d.ts +0 -3
- package/dist/types/components/six-tag/six-tag.d.ts +8 -0
- package/dist/types/components/six-textarea/six-textarea.d.ts +4 -1
- package/dist/types/components/six-timepicker/six-timepicker.d.ts +5 -2
- package/dist/types/components.d.ts +109 -16
- package/dist/types/functional-components/form-control/form-control.d.ts +6 -2
- package/dist/types/utils/animation.d.ts +12 -0
- package/dist/ui-library/{p-1f18768a.js → p-052aa8d3.js} +2 -2
- package/dist/ui-library/{p-ed381ad9.entry.js → p-14c1ec31.entry.js} +2 -2
- package/dist/ui-library/p-14c1ec31.entry.js.map +1 -0
- package/dist/ui-library/p-22c9b8c3.entry.js +2 -0
- package/dist/ui-library/p-22c9b8c3.entry.js.map +1 -0
- package/dist/ui-library/p-25bb1752.entry.js +2 -0
- package/dist/ui-library/p-25bb1752.entry.js.map +1 -0
- package/dist/ui-library/p-3f1a5ecb.entry.js +2 -0
- package/dist/ui-library/p-3f1a5ecb.entry.js.map +1 -0
- package/dist/ui-library/p-4435ff73.entry.js +2 -0
- package/dist/ui-library/p-4435ff73.entry.js.map +1 -0
- package/dist/ui-library/p-538f3c50.entry.js +2 -0
- package/dist/ui-library/p-538f3c50.entry.js.map +1 -0
- package/dist/ui-library/{p-330a4988.entry.js → p-5800663b.entry.js} +2 -2
- package/dist/ui-library/p-5ba3a0fe.entry.js +2 -0
- package/dist/ui-library/p-5ba3a0fe.entry.js.map +1 -0
- package/dist/ui-library/p-6153045b.js.map +1 -1
- package/dist/ui-library/p-658d9f79.entry.js +2 -0
- package/dist/ui-library/p-658d9f79.entry.js.map +1 -0
- package/dist/ui-library/p-66fe54b3.entry.js +2 -0
- package/dist/ui-library/p-66fe54b3.entry.js.map +1 -0
- package/dist/ui-library/{p-99e24daf.entry.js → p-a2035543.entry.js} +2 -2
- package/dist/ui-library/p-a457fee8.entry.js +2 -0
- package/dist/ui-library/p-a457fee8.entry.js.map +1 -0
- package/dist/ui-library/p-ab91c2a9.entry.js +2 -0
- package/dist/ui-library/p-ab91c2a9.entry.js.map +1 -0
- package/dist/ui-library/p-b57afbe4.entry.js +2 -0
- package/dist/ui-library/p-b57afbe4.entry.js.map +1 -0
- package/dist/ui-library/p-b6f47c9d.entry.js +2 -0
- package/dist/ui-library/p-b6f47c9d.entry.js.map +1 -0
- package/dist/ui-library/p-cba69e9d.entry.js +2 -0
- package/dist/ui-library/p-cba69e9d.entry.js.map +1 -0
- package/dist/ui-library/{p-19ed7a4c.entry.js → p-d1bda563.entry.js} +2 -2
- package/dist/ui-library/p-db34a6cc.entry.js +2 -0
- package/dist/ui-library/p-db34a6cc.entry.js.map +1 -0
- package/dist/ui-library/p-db936ad7.entry.js +2 -0
- package/dist/ui-library/{p-d367f4f9.entry.js.map → p-db936ad7.entry.js.map} +1 -1
- package/dist/ui-library/p-dc4f41d8.entry.js +2 -0
- package/dist/ui-library/p-dc4f41d8.entry.js.map +1 -0
- package/dist/ui-library/p-e5020f0d.js +2 -0
- package/dist/ui-library/p-e5020f0d.js.map +1 -0
- package/dist/ui-library/p-e775dcb4.entry.js +2 -0
- package/dist/ui-library/p-e775dcb4.entry.js.map +1 -0
- package/dist/ui-library/p-f1dc3a88.entry.js +2 -0
- package/dist/ui-library/p-f1dc3a88.entry.js.map +1 -0
- package/dist/ui-library/ui-library.css +2 -2
- package/dist/ui-library/ui-library.esm.js +1 -1
- package/dist/ui-library/ui-library.esm.js.map +1 -1
- package/package.json +3 -3
- package/dist/cjs/form-control-d369af14.js.map +0 -1
- package/dist/cjs/scroll-03678de1.js.map +0 -1
- package/dist/collection/components/six-tab/test/six-tab.spec.js +0 -20
- package/dist/collection/components/six-tab/test/six-tab.spec.js.map +0 -1
- package/dist/collection/components/six-tab-group/test/six-tab-group.spec.js +0 -45
- package/dist/collection/components/six-tab-group/test/six-tab-group.spec.js.map +0 -1
- package/dist/esm/form-control-32cb533f.js.map +0 -1
- package/dist/ui-library/p-02981b91.entry.js +0 -2
- package/dist/ui-library/p-02981b91.entry.js.map +0 -1
- package/dist/ui-library/p-1256cc0a.entry.js +0 -2
- package/dist/ui-library/p-1256cc0a.entry.js.map +0 -1
- package/dist/ui-library/p-21b3b321.entry.js +0 -2
- package/dist/ui-library/p-21b3b321.entry.js.map +0 -1
- package/dist/ui-library/p-29ac3d7d.entry.js +0 -2
- package/dist/ui-library/p-29ac3d7d.entry.js.map +0 -1
- package/dist/ui-library/p-314b2096.entry.js +0 -2
- package/dist/ui-library/p-314b2096.entry.js.map +0 -1
- package/dist/ui-library/p-3d9de119.entry.js +0 -2
- package/dist/ui-library/p-3d9de119.entry.js.map +0 -1
- package/dist/ui-library/p-4705a51e.entry.js +0 -2
- package/dist/ui-library/p-4705a51e.entry.js.map +0 -1
- package/dist/ui-library/p-4abed9df.entry.js +0 -2
- package/dist/ui-library/p-4abed9df.entry.js.map +0 -1
- package/dist/ui-library/p-5d6b7353.entry.js +0 -2
- package/dist/ui-library/p-5d6b7353.entry.js.map +0 -1
- package/dist/ui-library/p-72254eef.entry.js +0 -2
- package/dist/ui-library/p-72254eef.entry.js.map +0 -1
- package/dist/ui-library/p-83864cfe.entry.js +0 -2
- package/dist/ui-library/p-83864cfe.entry.js.map +0 -1
- package/dist/ui-library/p-9f0b43f9.entry.js +0 -2
- package/dist/ui-library/p-9f0b43f9.entry.js.map +0 -1
- package/dist/ui-library/p-b550a258.entry.js +0 -2
- package/dist/ui-library/p-b550a258.entry.js.map +0 -1
- package/dist/ui-library/p-bf87464b.entry.js +0 -2
- package/dist/ui-library/p-bf87464b.entry.js.map +0 -1
- package/dist/ui-library/p-d367f4f9.entry.js +0 -2
- package/dist/ui-library/p-d42c2025.js +0 -2
- package/dist/ui-library/p-d42c2025.js.map +0 -1
- package/dist/ui-library/p-ed381ad9.entry.js.map +0 -1
- package/dist/ui-library/p-ee8342e1.entry.js +0 -2
- package/dist/ui-library/p-ee8342e1.entry.js.map +0 -1
- package/dist/ui-library/p-ff90ffd1.entry.js +0 -2
- package/dist/ui-library/p-ff90ffd1.entry.js.map +0 -1
- package/readme.md +0 -156
- /package/dist/ui-library/{p-1f18768a.js.map → p-052aa8d3.js.map} +0 -0
- /package/dist/ui-library/{p-330a4988.entry.js.map → p-5800663b.entry.js.map} +0 -0
- /package/dist/ui-library/{p-99e24daf.entry.js.map → p-a2035543.entry.js.map} +0 -0
- /package/dist/ui-library/{p-19ed7a4c.entry.js.map → p-d1bda563.entry.js.map} +0 -0
|
@@ -25,6 +25,7 @@ export declare class SixCheckbox {
|
|
|
25
25
|
host: HTMLSixCheckboxElement;
|
|
26
26
|
hasFocus: boolean;
|
|
27
27
|
hasLabelSlot: boolean;
|
|
28
|
+
hasErrorSlot: boolean;
|
|
28
29
|
/** The checkbox's name attribute. */
|
|
29
30
|
name: string;
|
|
30
31
|
/**
|
|
@@ -42,7 +43,9 @@ export declare class SixCheckbox {
|
|
|
42
43
|
/** The label text. */
|
|
43
44
|
label: string;
|
|
44
45
|
/** The error message shown, if `invalid` is set to true. */
|
|
45
|
-
errorText: string;
|
|
46
|
+
errorText: string | string[];
|
|
47
|
+
/** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */
|
|
48
|
+
errorTextCount?: number;
|
|
46
49
|
/** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */
|
|
47
50
|
invalid: boolean;
|
|
48
51
|
/** Set to true to draw the checkbox in a checked state. */
|
|
@@ -22,6 +22,7 @@ declare enum SelectionMode {
|
|
|
22
22
|
* @status stable
|
|
23
23
|
*
|
|
24
24
|
* @slot - Used to define a footer for the date picker.
|
|
25
|
+
* @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.
|
|
25
26
|
*/
|
|
26
27
|
export declare class SixDatepicker {
|
|
27
28
|
private eventListeners;
|
|
@@ -97,7 +98,9 @@ export declare class SixDatepicker {
|
|
|
97
98
|
/** The label text. */
|
|
98
99
|
label: string;
|
|
99
100
|
/** The error message shown, if `invalid` is set to true. */
|
|
100
|
-
errorText: string;
|
|
101
|
+
errorText: string | string[];
|
|
102
|
+
/** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */
|
|
103
|
+
errorTextCount?: number;
|
|
101
104
|
/** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */
|
|
102
105
|
invalid: boolean;
|
|
103
106
|
/** The dropdown will close when the user interacts outside of this element (e.g. clicking). */
|
|
@@ -131,7 +134,6 @@ export declare class SixDatepicker {
|
|
|
131
134
|
*/
|
|
132
135
|
hoist: boolean;
|
|
133
136
|
protected debounceChanged(): void;
|
|
134
|
-
protected invalidChanged(invalid: boolean): void;
|
|
135
137
|
/**
|
|
136
138
|
* Update the native input element when the value changes
|
|
137
139
|
*/
|
|
@@ -13,9 +13,10 @@ import { EmptyPayload } from '../../utils/types';
|
|
|
13
13
|
* @slot show-password-icon - An icon to use in lieu of the default show password icon.
|
|
14
14
|
* @slot hide-password-icon - An icon to use in lieu of the default hide password icon.
|
|
15
15
|
* @slot help-text - Help text that describes how to use the input. Alternatively, you can use the help-text prop.
|
|
16
|
+
* @slot error-text - Error text that is shown when the status is set to invalid. Alternatively, you can use the error-text prop.
|
|
16
17
|
*
|
|
17
18
|
* @part base - The component's base wrapper.
|
|
18
|
-
* @part form-control - The form control that wraps the label, input, and help-text.
|
|
19
|
+
* @part form-control - The form control that wraps the label, input, error-text and help-text.
|
|
19
20
|
* @part label - The input label.
|
|
20
21
|
* @part input - The input control.
|
|
21
22
|
* @part prefix - The input prefix container.
|
|
@@ -23,6 +24,7 @@ import { EmptyPayload } from '../../utils/types';
|
|
|
23
24
|
* @part password-toggle-button - The password toggle button.
|
|
24
25
|
* @part suffix - The input suffix container.
|
|
25
26
|
* @part help-text - The input help text.
|
|
27
|
+
* @part error-text - The input error text.
|
|
26
28
|
*/
|
|
27
29
|
export declare class SixInput {
|
|
28
30
|
private inputId;
|
|
@@ -35,6 +37,7 @@ export declare class SixInput {
|
|
|
35
37
|
hasFocus: boolean;
|
|
36
38
|
hasHelpTextSlot: boolean;
|
|
37
39
|
hasLabelSlot: boolean;
|
|
40
|
+
hasErrorSlot: boolean;
|
|
38
41
|
isPasswordVisible: boolean;
|
|
39
42
|
/** The input's type. */
|
|
40
43
|
type: 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url';
|
|
@@ -81,7 +84,9 @@ export declare class SixInput {
|
|
|
81
84
|
/** The label text. */
|
|
82
85
|
label: string;
|
|
83
86
|
/** The error message shown, if `invalid` is set to true. */
|
|
84
|
-
errorText: string;
|
|
87
|
+
errorText: string | string[];
|
|
88
|
+
/** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */
|
|
89
|
+
errorTextCount?: number;
|
|
85
90
|
/** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */
|
|
86
91
|
invalid: boolean;
|
|
87
92
|
/** Set to true to add a clear button when the input is populated. */
|
|
@@ -26,6 +26,7 @@ export declare class SixRange {
|
|
|
26
26
|
host: HTMLSixRangeElement;
|
|
27
27
|
hasFocus: boolean;
|
|
28
28
|
hasHelpTextSlot: boolean;
|
|
29
|
+
hasErrorTextSlot: boolean;
|
|
29
30
|
hasLabelSlot: boolean;
|
|
30
31
|
hasTooltip: boolean;
|
|
31
32
|
/** The input's name attribute. */
|
|
@@ -41,7 +42,9 @@ export declare class SixRange {
|
|
|
41
42
|
/** The label text. */
|
|
42
43
|
label: string;
|
|
43
44
|
/** The error message shown, if `invalid` is set to true. */
|
|
44
|
-
errorText: string;
|
|
45
|
+
errorText: string | string[];
|
|
46
|
+
/** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */
|
|
47
|
+
errorTextCount?: number;
|
|
45
48
|
/** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */
|
|
46
49
|
invalid: boolean;
|
|
47
50
|
/** The input's min attribute. */
|
|
@@ -42,6 +42,7 @@ export declare class SixSelect {
|
|
|
42
42
|
hasFocus: boolean;
|
|
43
43
|
hasHelpTextSlot: boolean;
|
|
44
44
|
hasLabelSlot: boolean;
|
|
45
|
+
hasErrorTextSlot: boolean;
|
|
45
46
|
isOpen: boolean;
|
|
46
47
|
displayLabel: string;
|
|
47
48
|
displayTags: HTMLSixTagElement[];
|
|
@@ -82,7 +83,9 @@ export declare class SixSelect {
|
|
|
82
83
|
/** The label text. */
|
|
83
84
|
label: string;
|
|
84
85
|
/** The error message shown, if `invalid` is set to true. */
|
|
85
|
-
errorText: string;
|
|
86
|
+
errorText: string | string[];
|
|
87
|
+
/** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */
|
|
88
|
+
errorTextCount?: number;
|
|
86
89
|
/** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */
|
|
87
90
|
invalid: boolean;
|
|
88
91
|
/** Set to render as line */
|
|
@@ -7,6 +7,7 @@ import { EmptyPayload } from '../../utils/types';
|
|
|
7
7
|
* Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.
|
|
8
8
|
*
|
|
9
9
|
* @slot - The switch's label.
|
|
10
|
+
* @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.
|
|
10
11
|
*
|
|
11
12
|
* @part base - The component's base wrapper.
|
|
12
13
|
* @part control - The switch control.
|
|
@@ -21,6 +22,7 @@ export declare class SixSwitch {
|
|
|
21
22
|
private eventListeners;
|
|
22
23
|
host: HTMLSixSwitchElement;
|
|
23
24
|
hasFocus: boolean;
|
|
25
|
+
hasErrorTextSlot: boolean;
|
|
24
26
|
/** The switch's name attribute. */
|
|
25
27
|
name: string;
|
|
26
28
|
/** The switch's value attribute. */
|
|
@@ -34,9 +36,12 @@ export declare class SixSwitch {
|
|
|
34
36
|
/** The label text. */
|
|
35
37
|
label: string;
|
|
36
38
|
/** The error message shown, if `invalid` is set to true. */
|
|
37
|
-
errorText: string;
|
|
39
|
+
errorText: string | string[];
|
|
40
|
+
/** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */
|
|
41
|
+
errorTextCount?: number;
|
|
38
42
|
/** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */
|
|
39
43
|
invalid: boolean;
|
|
44
|
+
componentWillLoad(): void;
|
|
40
45
|
handleCheckedChange(): void;
|
|
41
46
|
/** Emitted when the control loses focus. */
|
|
42
47
|
sixBlur: EventEmitter<boolean>;
|
|
@@ -46,6 +51,8 @@ export declare class SixSwitch {
|
|
|
46
51
|
sixFocus: EventEmitter<EmptyPayload>;
|
|
47
52
|
connectedCallback(): void;
|
|
48
53
|
disconnectedCallback(): void;
|
|
54
|
+
handleLabelChange(): void;
|
|
55
|
+
private handleSlotChange;
|
|
49
56
|
/** Sets focus on the switch. */
|
|
50
57
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
51
58
|
/** Removes focus from the switch. */
|
|
@@ -23,7 +23,6 @@ export interface SixTabHidePayload {
|
|
|
23
23
|
*/
|
|
24
24
|
export declare class SixTabGroup {
|
|
25
25
|
private activeTab?;
|
|
26
|
-
private activeTabIndicator?;
|
|
27
26
|
private body?;
|
|
28
27
|
private mutationObserver?;
|
|
29
28
|
private nav?;
|
|
@@ -36,7 +35,6 @@ export declare class SixTabGroup {
|
|
|
36
35
|
placement: 'top' | 'bottom' | 'left' | 'right';
|
|
37
36
|
/** Disables the scroll arrows that appear when tabs overflow. */
|
|
38
37
|
noScrollControls: boolean;
|
|
39
|
-
handlePlacementChange(): void;
|
|
40
38
|
handleNoScrollControlsChange(): void;
|
|
41
39
|
/** Emitted when a tab is shown. */
|
|
42
40
|
sixTabShow: EventEmitter<SixTabShowPayload>;
|
|
@@ -56,6 +54,5 @@ export declare class SixTabGroup {
|
|
|
56
54
|
private updateScrollControls;
|
|
57
55
|
private setActiveTab;
|
|
58
56
|
private setAriaLabels;
|
|
59
|
-
private syncActiveTabIndicator;
|
|
60
57
|
render(): any;
|
|
61
58
|
}
|
|
@@ -23,6 +23,14 @@ export declare class SixTag {
|
|
|
23
23
|
clearable: boolean;
|
|
24
24
|
/** Emitted when the clear button is activated. */
|
|
25
25
|
sixClear: EventEmitter<EmptyPayload>;
|
|
26
|
+
private contentSlotElement;
|
|
27
|
+
private tooltipElement;
|
|
28
|
+
private contentElement;
|
|
29
|
+
private resizeObserver;
|
|
30
|
+
connectedCallback(): void;
|
|
31
|
+
componentDidLoad(): void;
|
|
32
|
+
disconnectedCallback(): void;
|
|
33
|
+
private updateTooltip;
|
|
26
34
|
private handleClearClick;
|
|
27
35
|
render(): any;
|
|
28
36
|
}
|
|
@@ -28,6 +28,7 @@ export declare class SixTextarea {
|
|
|
28
28
|
hasFocus: boolean;
|
|
29
29
|
hasHelpTextSlot: boolean;
|
|
30
30
|
hasLabelSlot: boolean;
|
|
31
|
+
hasErrorTextSlot: boolean;
|
|
31
32
|
/** The textarea's size. */
|
|
32
33
|
size: 'small' | 'medium' | 'large';
|
|
33
34
|
/** The textarea's name attribute. */
|
|
@@ -55,7 +56,9 @@ export declare class SixTextarea {
|
|
|
55
56
|
/** The label text. */
|
|
56
57
|
label: string;
|
|
57
58
|
/** The error message shown, if `invalid` is set to true. */
|
|
58
|
-
errorText: string;
|
|
59
|
+
errorText: string | string[];
|
|
60
|
+
/** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */
|
|
61
|
+
errorTextCount?: number;
|
|
59
62
|
/** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */
|
|
60
63
|
invalid: boolean;
|
|
61
64
|
/** The textarea's autocaptialize attribute. */
|
|
@@ -10,6 +10,8 @@ export interface SixTimepickerChange {
|
|
|
10
10
|
* @since 2.0.0
|
|
11
11
|
* @status experimental
|
|
12
12
|
*
|
|
13
|
+
* @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.
|
|
14
|
+
*
|
|
13
15
|
* @part input - The input field
|
|
14
16
|
* @part container - The container of whole component
|
|
15
17
|
* @part popup - The popup of the timepicker component
|
|
@@ -78,7 +80,9 @@ export declare class SixTimepicker {
|
|
|
78
80
|
*/
|
|
79
81
|
placeholder?: string;
|
|
80
82
|
/** The input's error text. Alternatively, you can use the error-text slot. */
|
|
81
|
-
errorText: string;
|
|
83
|
+
errorText: string | string[];
|
|
84
|
+
/** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */
|
|
85
|
+
errorTextCount?: number;
|
|
82
86
|
/** The input's label. Alternatively, you can use the label slot. */
|
|
83
87
|
label: string;
|
|
84
88
|
/** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */
|
|
@@ -133,7 +137,6 @@ export declare class SixTimepicker {
|
|
|
133
137
|
* Update the native input element when the value changes
|
|
134
138
|
*/
|
|
135
139
|
protected valueChanged(): void;
|
|
136
|
-
protected invalidChanged(invalid: boolean): void;
|
|
137
140
|
/** Sets focus on the datepickers input. */
|
|
138
141
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
139
142
|
private popupValue;
|
|
@@ -223,7 +223,11 @@ export namespace Components {
|
|
|
223
223
|
/**
|
|
224
224
|
* The error message shown, if `invalid` is set to true.
|
|
225
225
|
*/
|
|
226
|
-
"errorText": string;
|
|
226
|
+
"errorText": string | string[];
|
|
227
|
+
/**
|
|
228
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
229
|
+
*/
|
|
230
|
+
"errorTextCount"?: number;
|
|
227
231
|
/**
|
|
228
232
|
* Set to true to draw the checkbox in an indeterminate state.
|
|
229
233
|
*/
|
|
@@ -297,7 +301,11 @@ export namespace Components {
|
|
|
297
301
|
/**
|
|
298
302
|
* The error message shown, if `invalid` is set to true.
|
|
299
303
|
*/
|
|
300
|
-
"errorText": string;
|
|
304
|
+
"errorText": string | string[];
|
|
305
|
+
/**
|
|
306
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
307
|
+
*/
|
|
308
|
+
"errorTextCount"?: number;
|
|
301
309
|
/**
|
|
302
310
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
303
311
|
*/
|
|
@@ -581,6 +589,12 @@ export namespace Components {
|
|
|
581
589
|
*/
|
|
582
590
|
"virtualScroll": boolean;
|
|
583
591
|
}
|
|
592
|
+
/**
|
|
593
|
+
* @since 4.0
|
|
594
|
+
* @status beta
|
|
595
|
+
*/
|
|
596
|
+
interface SixError {
|
|
597
|
+
}
|
|
584
598
|
interface SixErrorPage {
|
|
585
599
|
/**
|
|
586
600
|
* Defines a custom description.
|
|
@@ -812,7 +826,11 @@ export namespace Components {
|
|
|
812
826
|
/**
|
|
813
827
|
* The error message shown, if `invalid` is set to true.
|
|
814
828
|
*/
|
|
815
|
-
"errorText": string;
|
|
829
|
+
"errorText": string | string[];
|
|
830
|
+
/**
|
|
831
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
832
|
+
*/
|
|
833
|
+
"errorTextCount"?: number;
|
|
816
834
|
/**
|
|
817
835
|
* The input's help text. Alternatively, you can use the help-text slot.
|
|
818
836
|
*/
|
|
@@ -1182,7 +1200,11 @@ export namespace Components {
|
|
|
1182
1200
|
/**
|
|
1183
1201
|
* The error message shown, if `invalid` is set to true.
|
|
1184
1202
|
*/
|
|
1185
|
-
"errorText": string;
|
|
1203
|
+
"errorText": string | string[];
|
|
1204
|
+
/**
|
|
1205
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
1206
|
+
*/
|
|
1207
|
+
"errorTextCount"?: number;
|
|
1186
1208
|
/**
|
|
1187
1209
|
* The range's help text. Alternatively, you can use the help-text slot.
|
|
1188
1210
|
*/
|
|
@@ -1309,7 +1331,11 @@ export namespace Components {
|
|
|
1309
1331
|
/**
|
|
1310
1332
|
* The error message shown, if `invalid` is set to true.
|
|
1311
1333
|
*/
|
|
1312
|
-
"errorText": string;
|
|
1334
|
+
"errorText": string | string[];
|
|
1335
|
+
/**
|
|
1336
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
1337
|
+
*/
|
|
1338
|
+
"errorTextCount"?: number;
|
|
1313
1339
|
/**
|
|
1314
1340
|
* Set to true to allow filtering for entries in the dropdown
|
|
1315
1341
|
*/
|
|
@@ -1511,7 +1537,11 @@ export namespace Components {
|
|
|
1511
1537
|
/**
|
|
1512
1538
|
* The error message shown, if `invalid` is set to true.
|
|
1513
1539
|
*/
|
|
1514
|
-
"errorText": string;
|
|
1540
|
+
"errorText": string | string[];
|
|
1541
|
+
/**
|
|
1542
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
1543
|
+
*/
|
|
1544
|
+
"errorTextCount"?: number;
|
|
1515
1545
|
/**
|
|
1516
1546
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
1517
1547
|
*/
|
|
@@ -1658,7 +1688,11 @@ export namespace Components {
|
|
|
1658
1688
|
/**
|
|
1659
1689
|
* The error message shown, if `invalid` is set to true.
|
|
1660
1690
|
*/
|
|
1661
|
-
"errorText": string;
|
|
1691
|
+
"errorText": string | string[];
|
|
1692
|
+
/**
|
|
1693
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
1694
|
+
*/
|
|
1695
|
+
"errorTextCount"?: number;
|
|
1662
1696
|
/**
|
|
1663
1697
|
* The textarea's help text. Alternatively, you can use the help-text slot.
|
|
1664
1698
|
*/
|
|
@@ -1806,7 +1840,11 @@ export namespace Components {
|
|
|
1806
1840
|
/**
|
|
1807
1841
|
* The input's error text. Alternatively, you can use the error-text slot.
|
|
1808
1842
|
*/
|
|
1809
|
-
"errorText": string;
|
|
1843
|
+
"errorText": string | string[];
|
|
1844
|
+
/**
|
|
1845
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
1846
|
+
*/
|
|
1847
|
+
"errorTextCount"?: number;
|
|
1810
1848
|
/**
|
|
1811
1849
|
* 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
|
|
1812
1850
|
*/
|
|
@@ -2177,6 +2215,16 @@ declare global {
|
|
|
2177
2215
|
prototype: HTMLSixDropdownElement;
|
|
2178
2216
|
new (): HTMLSixDropdownElement;
|
|
2179
2217
|
};
|
|
2218
|
+
/**
|
|
2219
|
+
* @since 4.0
|
|
2220
|
+
* @status beta
|
|
2221
|
+
*/
|
|
2222
|
+
interface HTMLSixErrorElement extends Components.SixError, HTMLStencilElement {
|
|
2223
|
+
}
|
|
2224
|
+
var HTMLSixErrorElement: {
|
|
2225
|
+
prototype: HTMLSixErrorElement;
|
|
2226
|
+
new (): HTMLSixErrorElement;
|
|
2227
|
+
};
|
|
2180
2228
|
interface HTMLSixErrorPageElement extends Components.SixErrorPage, HTMLStencilElement {
|
|
2181
2229
|
}
|
|
2182
2230
|
var HTMLSixErrorPageElement: {
|
|
@@ -2597,6 +2645,7 @@ declare global {
|
|
|
2597
2645
|
"six-dialog": HTMLSixDialogElement;
|
|
2598
2646
|
"six-drawer": HTMLSixDrawerElement;
|
|
2599
2647
|
"six-dropdown": HTMLSixDropdownElement;
|
|
2648
|
+
"six-error": HTMLSixErrorElement;
|
|
2600
2649
|
"six-error-page": HTMLSixErrorPageElement;
|
|
2601
2650
|
"six-file-list": HTMLSixFileListElement;
|
|
2602
2651
|
"six-file-list-item": HTMLSixFileListItemElement;
|
|
@@ -2821,7 +2870,11 @@ declare namespace LocalJSX {
|
|
|
2821
2870
|
/**
|
|
2822
2871
|
* The error message shown, if `invalid` is set to true.
|
|
2823
2872
|
*/
|
|
2824
|
-
"errorText"?: string;
|
|
2873
|
+
"errorText"?: string | string[];
|
|
2874
|
+
/**
|
|
2875
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
2876
|
+
*/
|
|
2877
|
+
"errorTextCount"?: number;
|
|
2825
2878
|
/**
|
|
2826
2879
|
* Set to true to draw the checkbox in an indeterminate state.
|
|
2827
2880
|
*/
|
|
@@ -2899,7 +2952,11 @@ declare namespace LocalJSX {
|
|
|
2899
2952
|
/**
|
|
2900
2953
|
* The error message shown, if `invalid` is set to true.
|
|
2901
2954
|
*/
|
|
2902
|
-
"errorText"?: string;
|
|
2955
|
+
"errorText"?: string | string[];
|
|
2956
|
+
/**
|
|
2957
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
2958
|
+
*/
|
|
2959
|
+
"errorTextCount"?: number;
|
|
2903
2960
|
/**
|
|
2904
2961
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
2905
2962
|
*/
|
|
@@ -3243,6 +3300,12 @@ declare namespace LocalJSX {
|
|
|
3243
3300
|
*/
|
|
3244
3301
|
"virtualScroll"?: boolean;
|
|
3245
3302
|
}
|
|
3303
|
+
/**
|
|
3304
|
+
* @since 4.0
|
|
3305
|
+
* @status beta
|
|
3306
|
+
*/
|
|
3307
|
+
interface SixError {
|
|
3308
|
+
}
|
|
3246
3309
|
interface SixErrorPage {
|
|
3247
3310
|
/**
|
|
3248
3311
|
* Defines a custom description.
|
|
@@ -3506,7 +3569,11 @@ declare namespace LocalJSX {
|
|
|
3506
3569
|
/**
|
|
3507
3570
|
* The error message shown, if `invalid` is set to true.
|
|
3508
3571
|
*/
|
|
3509
|
-
"errorText"?: string;
|
|
3572
|
+
"errorText"?: string | string[];
|
|
3573
|
+
/**
|
|
3574
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
3575
|
+
*/
|
|
3576
|
+
"errorTextCount"?: number;
|
|
3510
3577
|
/**
|
|
3511
3578
|
* The input's help text. Alternatively, you can use the help-text slot.
|
|
3512
3579
|
*/
|
|
@@ -3880,7 +3947,11 @@ declare namespace LocalJSX {
|
|
|
3880
3947
|
/**
|
|
3881
3948
|
* The error message shown, if `invalid` is set to true.
|
|
3882
3949
|
*/
|
|
3883
|
-
"errorText"?: string;
|
|
3950
|
+
"errorText"?: string | string[];
|
|
3951
|
+
/**
|
|
3952
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
3953
|
+
*/
|
|
3954
|
+
"errorTextCount"?: number;
|
|
3884
3955
|
/**
|
|
3885
3956
|
* The range's help text. Alternatively, you can use the help-text slot.
|
|
3886
3957
|
*/
|
|
@@ -4019,7 +4090,11 @@ declare namespace LocalJSX {
|
|
|
4019
4090
|
/**
|
|
4020
4091
|
* The error message shown, if `invalid` is set to true.
|
|
4021
4092
|
*/
|
|
4022
|
-
"errorText"?: string;
|
|
4093
|
+
"errorText"?: string | string[];
|
|
4094
|
+
/**
|
|
4095
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
4096
|
+
*/
|
|
4097
|
+
"errorTextCount"?: number;
|
|
4023
4098
|
/**
|
|
4024
4099
|
* Set to true to allow filtering for entries in the dropdown
|
|
4025
4100
|
*/
|
|
@@ -4229,7 +4304,11 @@ declare namespace LocalJSX {
|
|
|
4229
4304
|
/**
|
|
4230
4305
|
* The error message shown, if `invalid` is set to true.
|
|
4231
4306
|
*/
|
|
4232
|
-
"errorText"?: string;
|
|
4307
|
+
"errorText"?: string | string[];
|
|
4308
|
+
/**
|
|
4309
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
4310
|
+
*/
|
|
4311
|
+
"errorTextCount"?: number;
|
|
4233
4312
|
/**
|
|
4234
4313
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
4235
4314
|
*/
|
|
@@ -4384,7 +4463,11 @@ declare namespace LocalJSX {
|
|
|
4384
4463
|
/**
|
|
4385
4464
|
* The error message shown, if `invalid` is set to true.
|
|
4386
4465
|
*/
|
|
4387
|
-
"errorText"?: string;
|
|
4466
|
+
"errorText"?: string | string[];
|
|
4467
|
+
/**
|
|
4468
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
4469
|
+
*/
|
|
4470
|
+
"errorTextCount"?: number;
|
|
4388
4471
|
/**
|
|
4389
4472
|
* The textarea's help text. Alternatively, you can use the help-text slot.
|
|
4390
4473
|
*/
|
|
@@ -4528,7 +4611,11 @@ declare namespace LocalJSX {
|
|
|
4528
4611
|
/**
|
|
4529
4612
|
* The input's error text. Alternatively, you can use the error-text slot.
|
|
4530
4613
|
*/
|
|
4531
|
-
"errorText"?: string;
|
|
4614
|
+
"errorText"?: string | string[];
|
|
4615
|
+
/**
|
|
4616
|
+
* The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1
|
|
4617
|
+
*/
|
|
4618
|
+
"errorTextCount"?: number;
|
|
4532
4619
|
/**
|
|
4533
4620
|
* 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
|
|
4534
4621
|
*/
|
|
@@ -4685,6 +4772,7 @@ declare namespace LocalJSX {
|
|
|
4685
4772
|
"six-dialog": SixDialog;
|
|
4686
4773
|
"six-drawer": SixDrawer;
|
|
4687
4774
|
"six-dropdown": SixDropdown;
|
|
4775
|
+
"six-error": SixError;
|
|
4688
4776
|
"six-error-page": SixErrorPage;
|
|
4689
4777
|
"six-file-list": SixFileList;
|
|
4690
4778
|
"six-file-list-item": SixFileListItem;
|
|
@@ -4796,6 +4884,11 @@ declare module "@stencil/core" {
|
|
|
4796
4884
|
* Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.
|
|
4797
4885
|
*/
|
|
4798
4886
|
"six-dropdown": LocalJSX.SixDropdown & JSXBase.HTMLAttributes<HTMLSixDropdownElement>;
|
|
4887
|
+
/**
|
|
4888
|
+
* @since 4.0
|
|
4889
|
+
* @status beta
|
|
4890
|
+
*/
|
|
4891
|
+
"six-error": LocalJSX.SixError & JSXBase.HTMLAttributes<HTMLSixErrorElement>;
|
|
4799
4892
|
"six-error-page": LocalJSX.SixErrorPage & JSXBase.HTMLAttributes<HTMLSixErrorPageElement>;
|
|
4800
4893
|
/**
|
|
4801
4894
|
* @since 2.0.0
|
|
@@ -16,10 +16,14 @@ export interface FormControlProps {
|
|
|
16
16
|
helpText?: string;
|
|
17
17
|
/** Whether a help text slot has been provided. */
|
|
18
18
|
hasHelpTextSlot?: boolean;
|
|
19
|
+
/** Whether an error text slot has been provided. */
|
|
20
|
+
hasErrorTextSlot?: boolean;
|
|
19
21
|
/** The error text id, used to map the input to the help text */
|
|
20
22
|
errorTextId?: string;
|
|
21
|
-
/** The error text */
|
|
22
|
-
errorText?: string;
|
|
23
|
+
/** The error text (if the error-text slot isn't used) */
|
|
24
|
+
errorText?: string | string[];
|
|
25
|
+
/** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */
|
|
26
|
+
errorTextCount?: number;
|
|
23
27
|
/** Set to true to disable the input. */
|
|
24
28
|
disabled?: boolean;
|
|
25
29
|
/** Set if the value is required. */
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Animates a given `element` from the position and dimension of `fromElement` to
|
|
3
|
+
* its current position and dimension. Can be useful to implement the FLIP animation technique.
|
|
4
|
+
*
|
|
5
|
+
* @see {@link https://css-tricks.com/animating-layouts-with-the-flip-technique/} for details on the FLIP technique.
|
|
6
|
+
*
|
|
7
|
+
* @param {Element} element - The element to animate.
|
|
8
|
+
* @param {Element} fromElement - The element representing the initial position and dimensions.
|
|
9
|
+
* @param {KeyframeAnimationOptions} [options={ duration: 150, easing: 'ease', fill: 'both' }] - Optional animation parameters.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export declare function flipAnimate(element: Element, fromElement: Element, options?: KeyframeAnimationOptions): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
function o(o,t){return{top:Math.round(o.getBoundingClientRect().top-t.getBoundingClientRect().top),left:Math.round(o.getBoundingClientRect().left-t.getBoundingClientRect().left)}}const t=new Set;function n(o){t.add(o);document.body.classList.add("six-scroll-lock")}function c(o){t.delete(o);if(t.size===0){document.body.classList.remove("six-scroll-lock")}}function i(t,n,c="vertical",i="smooth"){const
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
function o(o,t){return{top:Math.round(o.getBoundingClientRect().top-t.getBoundingClientRect().top),left:Math.round(o.getBoundingClientRect().left-t.getBoundingClientRect().left)}}const t=new Set;function n(o){t.add(o);document.body.classList.add("six-scroll-lock")}function c(o){t.delete(o);if(t.size===0){document.body.classList.remove("six-scroll-lock")}}function i(t,n,c="vertical",i="smooth"){const e=o(t,n);const s=e.top+n.scrollTop;const l=e.left+n.scrollLeft;const f=n.scrollLeft;const a=n.scrollLeft+n.offsetWidth;const r=n.scrollTop;const h=n.scrollTop+n.offsetHeight;if(c==="horizontal"||c==="both"){if(l<f){n.scrollTo({left:l,behavior:i})}else if(l+t.clientWidth>a){n.scrollTo({left:l-n.offsetWidth+t.clientWidth,behavior:i})}}if(c==="vertical"||c==="both"){if(s<r){n.scrollTo({top:s,behavior:i})}else if(s+t.clientHeight>h){n.scrollTo({top:s-n.offsetHeight+t.clientHeight,behavior:i})}}}export{n as l,i as s,c as u};
|
|
2
|
+
//# sourceMappingURL=p-052aa8d3.js.map
|