@statistikzh/leu 0.14.3 → 0.14.4
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/.eslintrc.json +23 -4
- package/.github/workflows/release-please.yml +0 -1
- package/.prettierignore +1 -1
- package/.release-please-manifest.json +3 -0
- package/.storybook/{main.js → main.ts} +18 -2
- package/.storybook/{theme.js → theme.ts} +1 -0
- package/CHANGELOG.md +7 -0
- package/custom-elements-manifest.config.js +2 -2
- package/dist/Accordion.d.ts +32 -11
- package/dist/Accordion.js +96 -68
- package/dist/Button.d.ts +84 -33
- package/dist/Button.js +116 -136
- package/dist/ButtonGroup.d.ts +15 -10
- package/dist/ButtonGroup.js +65 -72
- package/dist/Checkbox.d.ts +41 -8
- package/dist/Checkbox.js +33 -45
- package/dist/CheckboxGroup.d.ts +21 -8
- package/dist/CheckboxGroup.js +31 -35
- package/dist/Chip.d.ts +23 -4
- package/dist/Chip.js +13 -17
- package/dist/ChipGroup.d.ts +43 -17
- package/dist/ChipGroup.js +87 -113
- package/dist/ChipLink.d.ts +28 -10
- package/dist/ChipLink.js +17 -24
- package/dist/ChipRemovable.d.ts +25 -6
- package/dist/ChipRemovable.js +32 -36
- package/dist/ChipSelectable.d.ts +41 -23
- package/dist/ChipSelectable.js +55 -69
- package/dist/Dialog.d.ts +39 -11
- package/dist/Dialog.js +48 -55
- package/dist/Dropdown.d.ts +44 -9
- package/dist/Dropdown.js +89 -96
- package/dist/Icon.d.ts +16 -9
- package/dist/Icon.js +117 -122
- package/dist/Input.d.ts +122 -34
- package/dist/Input.js +262 -342
- package/dist/LeuElement-x8UlIDDl.js +42 -0
- package/dist/LeuElement.d-BevHqLUu.d.ts +10 -0
- package/dist/Menu.d.ts +29 -10
- package/dist/Menu.js +111 -110
- package/dist/MenuItem.d.ts +69 -19
- package/dist/MenuItem.js +93 -109
- package/dist/Pagination.d.ts +46 -16
- package/dist/Pagination.js +101 -116
- package/dist/Popup.d.ts +55 -21
- package/dist/Popup.js +149 -178
- package/dist/Radio.d.ts +37 -8
- package/dist/Radio.js +30 -42
- package/dist/RadioGroup.d.ts +25 -7
- package/dist/RadioGroup.js +123 -128
- package/dist/Range.d.ts +62 -23
- package/dist/Range.js +154 -180
- package/dist/ScrollTop.d.ts +25 -14
- package/dist/ScrollTop.js +71 -75
- package/dist/Select.d.ts +48 -38
- package/dist/Select.js +309 -336
- package/dist/Spinner.d.ts +9 -4
- package/dist/Spinner.js +5 -5
- package/dist/Table.d.ts +61 -31
- package/dist/Table.js +160 -179
- package/dist/VisuallyHidden.d.ts +9 -4
- package/dist/VisuallyHidden.js +5 -5
- package/dist/components/accordion/Accordion.d.ts +49 -0
- package/dist/components/accordion/Accordion.d.ts.map +1 -0
- package/dist/components/accordion/leu-accordion.d.ts +8 -0
- package/dist/components/accordion/leu-accordion.d.ts.map +1 -0
- package/dist/components/accordion/stories/accordion.stories.d.ts +26 -0
- package/dist/components/accordion/stories/accordion.stories.d.ts.map +1 -0
- package/dist/components/accordion/test/accordion.test.d.ts +2 -0
- package/dist/components/accordion/test/accordion.test.d.ts.map +1 -0
- package/dist/components/button/Button.d.ts +93 -0
- package/dist/components/button/Button.d.ts.map +1 -0
- package/dist/components/button/leu-button.d.ts +8 -0
- package/dist/components/button/leu-button.d.ts.map +1 -0
- package/dist/components/button/stories/button.stories.d.ts +19 -0
- package/dist/components/button/stories/button.stories.d.ts.map +1 -0
- package/dist/components/button/test/button.test.d.ts +3 -0
- package/dist/components/button/test/button.test.d.ts.map +1 -0
- package/dist/components/button-group/ButtonGroup.d.ts +25 -0
- package/dist/components/button-group/ButtonGroup.d.ts.map +1 -0
- package/dist/components/button-group/leu-button-group.d.ts +8 -0
- package/dist/components/button-group/leu-button-group.d.ts.map +1 -0
- package/dist/components/button-group/stories/button-group.stories.d.ts +15 -0
- package/dist/components/button-group/stories/button-group.stories.d.ts.map +1 -0
- package/dist/components/button-group/test/button-group.test.d.ts +3 -0
- package/dist/components/button-group/test/button-group.test.d.ts.map +1 -0
- package/dist/components/checkbox/Checkbox.d.ts +43 -0
- package/dist/components/checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/CheckboxGroup.d.ts +23 -0
- package/dist/components/checkbox/CheckboxGroup.d.ts.map +1 -0
- package/dist/components/checkbox/leu-checkbox-group.d.ts +8 -0
- package/dist/components/checkbox/leu-checkbox-group.d.ts.map +1 -0
- package/dist/components/checkbox/leu-checkbox.d.ts +8 -0
- package/dist/components/checkbox/leu-checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/stories/checkbox-group.stories.d.ts +29 -0
- package/dist/components/checkbox/stories/checkbox-group.stories.d.ts.map +1 -0
- package/dist/components/checkbox/stories/checkbox.stories.d.ts +22 -0
- package/dist/components/checkbox/stories/checkbox.stories.d.ts.map +1 -0
- package/dist/components/checkbox/test/checkbox-group.test.d.ts +3 -0
- package/dist/components/checkbox/test/checkbox-group.test.d.ts.map +1 -0
- package/dist/components/checkbox/test/checkbox.test.d.ts +2 -0
- package/dist/components/checkbox/test/checkbox.test.d.ts.map +1 -0
- package/dist/components/chip/Chip.d.ts +21 -0
- package/dist/components/chip/Chip.d.ts.map +1 -0
- package/dist/components/chip/ChipGroup.d.ts +58 -0
- package/dist/components/chip/ChipGroup.d.ts.map +1 -0
- package/dist/components/chip/ChipLink.d.ts +29 -0
- package/dist/components/chip/ChipLink.d.ts.map +1 -0
- package/dist/components/chip/ChipRemovable.d.ts +32 -0
- package/dist/components/chip/ChipRemovable.d.ts.map +1 -0
- package/dist/components/chip/ChipSelectable.d.ts +51 -0
- package/dist/components/chip/ChipSelectable.d.ts.map +1 -0
- package/dist/components/chip/exports.d.ts +5 -0
- package/dist/components/chip/exports.d.ts.map +1 -0
- package/dist/components/chip/leu-chip-group.d.ts +8 -0
- package/dist/components/chip/leu-chip-group.d.ts.map +1 -0
- package/dist/components/chip/leu-chip-link.d.ts +8 -0
- package/dist/components/chip/leu-chip-link.d.ts.map +1 -0
- package/dist/components/chip/leu-chip-removable.d.ts +8 -0
- package/dist/components/chip/leu-chip-removable.d.ts.map +1 -0
- package/dist/components/chip/leu-chip-selectable.d.ts +8 -0
- package/dist/components/chip/leu-chip-selectable.d.ts.map +1 -0
- package/dist/components/chip/stories/chip-group.stories.d.ts +40 -0
- package/dist/components/chip/stories/chip-group.stories.d.ts.map +1 -0
- package/dist/components/chip/stories/chip-link.stories.d.ts +27 -0
- package/dist/components/chip/stories/chip-link.stories.d.ts.map +1 -0
- package/dist/components/chip/stories/chip-removable.stories.d.ts +21 -0
- package/dist/components/chip/stories/chip-removable.stories.d.ts.map +1 -0
- package/dist/components/chip/stories/chip-selectable.stories.d.ts +35 -0
- package/dist/components/chip/stories/chip-selectable.stories.d.ts.map +1 -0
- package/dist/components/chip/test/chip-group.test.d.ts +4 -0
- package/dist/components/chip/test/chip-group.test.d.ts.map +1 -0
- package/dist/components/chip/test/chip-link.test.d.ts +2 -0
- package/dist/components/chip/test/chip-link.test.d.ts.map +1 -0
- package/dist/components/chip/test/chip-removable.test.d.ts +2 -0
- package/dist/components/chip/test/chip-removable.test.d.ts.map +1 -0
- package/dist/components/chip/test/chip-selectable.test.d.ts +2 -0
- package/dist/components/chip/test/chip-selectable.test.d.ts.map +1 -0
- package/dist/components/chip/test/chip.test.d.ts +2 -0
- package/dist/components/chip/test/chip.test.d.ts.map +1 -0
- package/dist/components/dialog/Dialog.d.ts +41 -0
- package/dist/components/dialog/Dialog.d.ts.map +1 -0
- package/dist/components/dialog/leu-dialog.d.ts +8 -0
- package/dist/components/dialog/leu-dialog.d.ts.map +1 -0
- package/dist/components/dialog/stories/dialog.stories.d.ts +19 -0
- package/dist/components/dialog/stories/dialog.stories.d.ts.map +1 -0
- package/dist/components/dialog/test/dialog.test.d.ts +2 -0
- package/dist/components/dialog/test/dialog.test.d.ts.map +1 -0
- package/dist/components/dropdown/Dropdown.d.ts +49 -0
- package/dist/components/dropdown/Dropdown.d.ts.map +1 -0
- package/dist/components/dropdown/leu-dropdown.d.ts +8 -0
- package/dist/components/dropdown/leu-dropdown.d.ts.map +1 -0
- package/dist/components/dropdown/stories/dropdown.stories.d.ts +25 -0
- package/dist/components/dropdown/stories/dropdown.stories.d.ts.map +1 -0
- package/dist/components/dropdown/test/dropdown.test.d.ts +2 -0
- package/dist/components/dropdown/test/dropdown.test.d.ts.map +1 -0
- package/dist/components/icon/Icon.d.ts +23 -0
- package/dist/components/icon/Icon.d.ts.map +1 -0
- package/dist/components/icon/leu-icon.d.ts +8 -0
- package/dist/components/icon/leu-icon.d.ts.map +1 -0
- package/dist/components/icon/paths.d.ts +101 -0
- package/dist/components/icon/paths.d.ts.map +1 -0
- package/dist/components/icon/stories/icon.stories.d.ts +22 -0
- package/dist/components/icon/stories/icon.stories.d.ts.map +1 -0
- package/dist/components/icon/test/icon.test.d.ts +2 -0
- package/dist/components/icon/test/icon.test.d.ts.map +1 -0
- package/dist/components/input/Input.d.ts +239 -0
- package/dist/components/input/Input.d.ts.map +1 -0
- package/dist/components/input/leu-input.d.ts +8 -0
- package/dist/components/input/leu-input.d.ts.map +1 -0
- package/dist/components/input/stories/input.stories.d.ts +35 -0
- package/dist/components/input/stories/input.stories.d.ts.map +1 -0
- package/dist/components/input/test/input.test.d.ts +2 -0
- package/dist/components/input/test/input.test.d.ts.map +1 -0
- package/dist/components/menu/Menu.d.ts +44 -0
- package/dist/components/menu/Menu.d.ts.map +1 -0
- package/dist/components/menu/MenuItem.d.ts +88 -0
- package/dist/components/menu/MenuItem.d.ts.map +1 -0
- package/dist/components/menu/leu-menu-item.d.ts +8 -0
- package/dist/components/menu/leu-menu-item.d.ts.map +1 -0
- package/dist/components/menu/leu-menu.d.ts +8 -0
- package/dist/components/menu/leu-menu.d.ts.map +1 -0
- package/dist/components/menu/stories/menu-item.stories.d.ts +24 -0
- package/dist/components/menu/stories/menu-item.stories.d.ts.map +1 -0
- package/dist/components/menu/stories/menu.stories.d.ts +26 -0
- package/dist/components/menu/stories/menu.stories.d.ts.map +1 -0
- package/dist/components/menu/test/menu-item.test.d.ts +3 -0
- package/dist/components/menu/test/menu-item.test.d.ts.map +1 -0
- package/dist/components/menu/test/menu.test.d.ts +4 -0
- package/dist/components/menu/test/menu.test.d.ts.map +1 -0
- package/dist/components/pagination/Pagination.d.ts +59 -0
- package/dist/components/pagination/Pagination.d.ts.map +1 -0
- package/dist/components/pagination/leu-pagination.d.ts +8 -0
- package/dist/components/pagination/leu-pagination.d.ts.map +1 -0
- package/dist/components/pagination/stories/pagination.stories.d.ts +17 -0
- package/dist/components/pagination/stories/pagination.stories.d.ts.map +1 -0
- package/dist/components/pagination/test/pagination.test.d.ts +2 -0
- package/dist/components/pagination/test/pagination.test.d.ts.map +1 -0
- package/dist/components/popup/Popup.d.ts +66 -0
- package/dist/components/popup/Popup.d.ts.map +1 -0
- package/dist/components/popup/leu-popup.d.ts +8 -0
- package/dist/components/popup/leu-popup.d.ts.map +1 -0
- package/dist/components/popup/stories/popup.stories.d.ts +17 -0
- package/dist/components/popup/stories/popup.stories.d.ts.map +1 -0
- package/dist/components/popup/test/popup.test.d.ts +2 -0
- package/dist/components/popup/test/popup.test.d.ts.map +1 -0
- package/dist/components/radio/Radio.d.ts +39 -0
- package/dist/components/radio/Radio.d.ts.map +1 -0
- package/dist/components/radio/RadioGroup.d.ts +34 -0
- package/dist/components/radio/RadioGroup.d.ts.map +1 -0
- package/dist/components/radio/leu-radio-group.d.ts +8 -0
- package/dist/components/radio/leu-radio-group.d.ts.map +1 -0
- package/dist/components/radio/leu-radio.d.ts +8 -0
- package/dist/components/radio/leu-radio.d.ts.map +1 -0
- package/dist/components/radio/stories/radio-group.stories.d.ts +29 -0
- package/dist/components/radio/stories/radio-group.stories.d.ts.map +1 -0
- package/dist/components/radio/stories/radio.stories.d.ts +22 -0
- package/dist/components/radio/stories/radio.stories.d.ts.map +1 -0
- package/dist/components/radio/test/radio-group.test.d.ts +3 -0
- package/dist/components/radio/test/radio-group.test.d.ts.map +1 -0
- package/dist/components/radio/test/radio.test.d.ts +2 -0
- package/dist/components/radio/test/radio.test.d.ts.map +1 -0
- package/dist/components/range/Range.d.ts +95 -0
- package/dist/components/range/Range.d.ts.map +1 -0
- package/dist/components/range/leu-range.d.ts +8 -0
- package/dist/components/range/leu-range.d.ts.map +1 -0
- package/dist/components/range/stories/range-slider.stories.d.ts +26 -0
- package/dist/components/range/stories/range-slider.stories.d.ts.map +1 -0
- package/dist/components/range/test/range.test.d.ts +2 -0
- package/dist/components/range/test/range.test.d.ts.map +1 -0
- package/dist/components/scroll-top/ScrollTop.d.ts +25 -0
- package/dist/components/scroll-top/ScrollTop.d.ts.map +1 -0
- package/dist/components/scroll-top/leu-scroll-top.d.ts +8 -0
- package/dist/components/scroll-top/leu-scroll-top.d.ts.map +1 -0
- package/dist/components/scroll-top/stories/scroll-top.stories.d.ts +8 -0
- package/dist/components/scroll-top/stories/scroll-top.stories.d.ts.map +1 -0
- package/dist/components/scroll-top/test/scroll-top.test.d.ts +2 -0
- package/dist/components/scroll-top/test/scroll-top.test.d.ts.map +1 -0
- package/dist/components/select/Select.d.ts +145 -0
- package/dist/components/select/Select.d.ts.map +1 -0
- package/dist/components/select/leu-select.d.ts +8 -0
- package/dist/components/select/leu-select.d.ts.map +1 -0
- package/dist/components/select/stories/select.stories.d.ts +23 -0
- package/dist/components/select/stories/select.stories.d.ts.map +1 -0
- package/dist/components/select/test/fixtures.d.ts +2 -0
- package/dist/components/select/test/fixtures.d.ts.map +1 -0
- package/dist/components/select/test/select.test.d.ts +3 -0
- package/dist/components/select/test/select.test.d.ts.map +1 -0
- package/dist/components/spinner/Spinner.d.ts +10 -0
- package/dist/components/spinner/Spinner.d.ts.map +1 -0
- package/dist/components/spinner/leu-spinner.d.ts +8 -0
- package/dist/components/spinner/leu-spinner.d.ts.map +1 -0
- package/dist/components/spinner/stories/spinner.stories.d.ts +16 -0
- package/dist/components/spinner/stories/spinner.stories.d.ts.map +1 -0
- package/dist/components/spinner/test/spinner.test.d.ts +2 -0
- package/dist/components/spinner/test/spinner.test.d.ts.map +1 -0
- package/dist/components/table/Table.d.ts +65 -0
- package/dist/components/table/Table.d.ts.map +1 -0
- package/dist/components/table/leu-table.d.ts +8 -0
- package/dist/components/table/leu-table.d.ts.map +1 -0
- package/dist/components/table/stories/table.stories.d.ts +15 -0
- package/dist/components/table/stories/table.stories.d.ts.map +1 -0
- package/dist/components/table/test/table.test.d.ts +2 -0
- package/dist/components/table/test/table.test.d.ts.map +1 -0
- package/dist/components/visually-hidden/VisuallyHidden.d.ts +9 -0
- package/dist/components/visually-hidden/VisuallyHidden.d.ts.map +1 -0
- package/dist/components/visually-hidden/leu-visually-hidden.d.ts +8 -0
- package/dist/components/visually-hidden/leu-visually-hidden.d.ts.map +1 -0
- package/dist/components/visually-hidden/stories/visually-hidden.stories.d.ts +13 -0
- package/dist/components/visually-hidden/stories/visually-hidden.stories.d.ts.map +1 -0
- package/dist/components/visually-hidden/test/visually-hidden.test.d.ts +2 -0
- package/dist/components/visually-hidden/test/visually-hidden.test.d.ts.map +1 -0
- package/dist/hasSlotController-Bm2tipvG.js +53 -0
- package/dist/hasSlotController.d-emXwVXWF.d.ts +23 -0
- package/dist/index.d.ts +17 -20
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/leu-accordion.d.ts +12 -2
- package/dist/leu-accordion.js +2 -1
- package/dist/leu-button-group.d.ts +12 -2
- package/dist/leu-button-group.js +1 -1
- package/dist/leu-button.d.ts +14 -2
- package/dist/leu-button.js +2 -2
- package/dist/leu-checkbox-group.d.ts +12 -2
- package/dist/leu-checkbox-group.js +1 -1
- package/dist/leu-checkbox.d.ts +13 -2
- package/dist/leu-checkbox.js +1 -1
- package/dist/leu-chip-group.d.ts +12 -2
- package/dist/leu-chip-group.js +2 -2
- package/dist/leu-chip-link.d.ts +13 -2
- package/dist/leu-chip-link.js +1 -1
- package/dist/leu-chip-removable.d.ts +14 -2
- package/dist/leu-chip-removable.js +1 -1
- package/dist/leu-chip-selectable.d.ts +13 -2
- package/dist/leu-chip-selectable.js +1 -1
- package/dist/leu-dialog.d.ts +14 -2
- package/dist/leu-dialog.js +2 -2
- package/dist/leu-dropdown.d.ts +18 -2
- package/dist/leu-dropdown.js +2 -2
- package/dist/leu-icon.d.ts +12 -2
- package/dist/leu-icon.js +1 -1
- package/dist/leu-input.d.ts +13 -2
- package/dist/leu-input.js +1 -1
- package/dist/leu-menu-item.d.ts +13 -2
- package/dist/leu-menu-item.js +1 -1
- package/dist/leu-menu.d.ts +14 -2
- package/dist/leu-menu.js +1 -1
- package/dist/leu-pagination.d.ts +16 -2
- package/dist/leu-pagination.js +2 -2
- package/dist/leu-popup.d.ts +12 -2
- package/dist/leu-popup.js +1 -1
- package/dist/leu-radio-group.d.ts +12 -2
- package/dist/leu-radio-group.js +1 -1
- package/dist/leu-radio.d.ts +12 -2
- package/dist/leu-radio.js +1 -1
- package/dist/leu-range.d.ts +12 -2
- package/dist/leu-range.js +1 -1
- package/dist/leu-scroll-top.d.ts +15 -2
- package/dist/leu-scroll-top.js +2 -2
- package/dist/leu-select.d.ts +19 -2
- package/dist/leu-select.js +2 -2
- package/dist/leu-spinner.d.ts +12 -2
- package/dist/leu-spinner.js +1 -1
- package/dist/leu-table.d.ts +17 -2
- package/dist/leu-table.js +2 -2
- package/dist/leu-visually-hidden.d.ts +12 -2
- package/dist/leu-visually-hidden.js +1 -1
- package/dist/lib/LeuElement.d.ts +8 -0
- package/dist/lib/LeuElement.d.ts.map +1 -0
- package/dist/lib/a11y.d.ts +11 -0
- package/dist/lib/a11y.d.ts.map +1 -0
- package/dist/lib/hasSlotController.d.ts +20 -0
- package/dist/lib/hasSlotController.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +16 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/styles/style.stories.d.ts +6 -0
- package/dist/styles/style.stories.d.ts.map +1 -0
- package/dist/vscode.html-custom-data.json +1 -1
- package/dist/vue/index.d.ts +1 -3
- package/dist/web-types.json +4 -5
- package/package.json +18 -11
- package/release-please-config.json +10 -0
- package/rollup.config.js +55 -25
- package/scripts/generate-component/generate.js +1 -1
- package/scripts/generate-component/templates/{[Name].js → [Name].ts} +3 -3
- package/src/components/accordion/{Accordion.js → Accordion.ts} +26 -21
- package/src/components/accordion/{leu-accordion.js → leu-accordion.ts} +6 -0
- package/src/components/accordion/stories/{accordion.stories.js → accordion.stories.ts} +10 -8
- package/src/components/button/{Button.js → Button.ts} +0 -1
- package/src/components/button/{leu-button.js → leu-button.ts} +6 -0
- package/src/components/button-group/{ButtonGroup.js → ButtonGroup.ts} +4 -8
- package/src/components/button-group/{leu-button-group.js → leu-button-group.ts} +6 -0
- package/src/components/checkbox/{Checkbox.js → Checkbox.ts} +0 -1
- package/src/components/checkbox/{CheckboxGroup.js → CheckboxGroup.ts} +0 -1
- package/src/components/checkbox/{leu-checkbox-group.js → leu-checkbox-group.ts} +6 -0
- package/src/components/checkbox/{leu-checkbox.js → leu-checkbox.ts} +6 -0
- package/src/components/chip/{Chip.js → Chip.ts} +0 -1
- package/src/components/chip/{ChipGroup.js → ChipGroup.ts} +0 -1
- package/src/components/chip/{leu-chip-group.js → leu-chip-group.ts} +6 -0
- package/src/components/chip/{leu-chip-link.js → leu-chip-link.ts} +6 -0
- package/src/components/chip/{leu-chip-removable.js → leu-chip-removable.ts} +6 -0
- package/src/components/chip/{leu-chip-selectable.js → leu-chip-selectable.ts} +6 -0
- package/src/components/dialog/{Dialog.js → Dialog.ts} +0 -1
- package/src/components/dialog/{leu-dialog.js → leu-dialog.ts} +6 -0
- package/src/components/dropdown/{Dropdown.js → Dropdown.ts} +0 -1
- package/src/components/dropdown/{leu-dropdown.js → leu-dropdown.ts} +6 -0
- package/src/components/icon/{Icon.js → Icon.ts} +0 -1
- package/src/components/icon/{leu-icon.js → leu-icon.ts} +6 -0
- package/src/components/input/{Input.js → Input.ts} +0 -1
- package/src/components/input/{leu-input.js → leu-input.ts} +6 -0
- package/src/components/menu/{Menu.js → Menu.ts} +0 -1
- package/src/components/menu/{MenuItem.js → MenuItem.ts} +0 -1
- package/src/components/menu/{leu-menu-item.js → leu-menu-item.ts} +6 -0
- package/src/components/menu/{leu-menu.js → leu-menu.ts} +6 -0
- package/src/components/pagination/{Pagination.js → Pagination.ts} +0 -1
- package/src/components/pagination/{leu-pagination.js → leu-pagination.ts} +6 -0
- package/src/components/popup/{Popup.js → Popup.ts} +0 -1
- package/src/components/popup/{leu-popup.js → leu-popup.ts} +6 -0
- package/src/components/radio/{Radio.js → Radio.ts} +0 -1
- package/src/components/radio/{RadioGroup.js → RadioGroup.ts} +0 -1
- package/src/components/radio/{leu-radio-group.js → leu-radio-group.ts} +6 -0
- package/src/components/radio/{leu-radio.js → leu-radio.ts} +6 -0
- package/src/components/range/{leu-range.js → leu-range.ts} +6 -0
- package/src/components/scroll-top/{ScrollTop.js → ScrollTop.ts} +0 -1
- package/src/components/scroll-top/{leu-scroll-top.js → leu-scroll-top.ts} +6 -0
- package/src/components/select/{Select.js → Select.ts} +0 -1
- package/src/components/select/{leu-select.js → leu-select.ts} +6 -0
- package/src/components/select/test/{fixtures.js → fixtures.ts} +1 -1
- package/src/components/spinner/{leu-spinner.js → leu-spinner.ts} +6 -0
- package/src/components/table/{Table.js → Table.ts} +0 -1
- package/src/components/table/{leu-table.js → leu-table.ts} +6 -0
- package/src/components/visually-hidden/{VisuallyHidden.js → VisuallyHidden.ts} +0 -1
- package/src/components/visually-hidden/{leu-visually-hidden.js → leu-visually-hidden.ts} +6 -0
- package/src/docs/theme.mdx +14 -10
- package/src/global.d.ts +11 -0
- package/src/index.ts +17 -0
- package/src/lib/{LeuElement.js → LeuElement.ts} +15 -6
- package/src/lib/{a11y.js → a11y.ts} +2 -2
- package/src/lib/{hasSlotController.js → hasSlotController.ts} +12 -25
- package/stylelint.config.mjs +1 -1
- package/tsconfig.build.json +6 -4
- package/tsconfig.json +7 -10
- package/web-dev-server.config.mjs +11 -1
- package/web-test-runner.config.mjs +11 -2
- package/babel.config.json +0 -3
- package/dist/Accordion.d.ts.map +0 -1
- package/dist/Button.d.ts.map +0 -1
- package/dist/ButtonGroup.d.ts.map +0 -1
- package/dist/Checkbox.d.ts.map +0 -1
- package/dist/CheckboxGroup.d.ts.map +0 -1
- package/dist/Chip.d.ts.map +0 -1
- package/dist/ChipGroup.d.ts.map +0 -1
- package/dist/ChipLink.d.ts.map +0 -1
- package/dist/ChipRemovable.d.ts.map +0 -1
- package/dist/ChipSelectable.d.ts.map +0 -1
- package/dist/Dialog.d.ts.map +0 -1
- package/dist/Dropdown.d.ts.map +0 -1
- package/dist/Icon.d.ts.map +0 -1
- package/dist/Input.d.ts.map +0 -1
- package/dist/LeuElement-Dd6zm9XF.d.ts +0 -7
- package/dist/LeuElement-Dd6zm9XF.d.ts.map +0 -1
- package/dist/LeuElement-Dd6zm9XF.js +0 -70
- package/dist/Menu.d.ts.map +0 -1
- package/dist/MenuItem.d.ts.map +0 -1
- package/dist/Pagination.d.ts.map +0 -1
- package/dist/Popup.d.ts.map +0 -1
- package/dist/Radio.d.ts.map +0 -1
- package/dist/RadioGroup.d.ts.map +0 -1
- package/dist/Range.d.ts.map +0 -1
- package/dist/ScrollTop.d.ts.map +0 -1
- package/dist/Select.d.ts.map +0 -1
- package/dist/Spinner.d.ts.map +0 -1
- package/dist/Table.d.ts.map +0 -1
- package/dist/VisuallyHidden.d.ts.map +0 -1
- package/dist/hasSlotController-dQsSUUpb.d.ts +0 -38
- package/dist/hasSlotController-dQsSUUpb.d.ts.map +0 -1
- package/dist/hasSlotController-dQsSUUpb.js +0 -75
- package/dist/leu-accordion.d.ts.map +0 -1
- package/dist/leu-button-group.d.ts.map +0 -1
- package/dist/leu-button.d.ts.map +0 -1
- package/dist/leu-checkbox-group.d.ts.map +0 -1
- package/dist/leu-checkbox.d.ts.map +0 -1
- package/dist/leu-chip-group.d.ts.map +0 -1
- package/dist/leu-chip-link.d.ts.map +0 -1
- package/dist/leu-chip-removable.d.ts.map +0 -1
- package/dist/leu-chip-selectable.d.ts.map +0 -1
- package/dist/leu-dialog.d.ts.map +0 -1
- package/dist/leu-dropdown.d.ts.map +0 -1
- package/dist/leu-icon.d.ts.map +0 -1
- package/dist/leu-input.d.ts.map +0 -1
- package/dist/leu-menu-item.d.ts.map +0 -1
- package/dist/leu-menu.d.ts.map +0 -1
- package/dist/leu-pagination.d.ts.map +0 -1
- package/dist/leu-popup.d.ts.map +0 -1
- package/dist/leu-radio-group.d.ts.map +0 -1
- package/dist/leu-radio.d.ts.map +0 -1
- package/dist/leu-range.d.ts.map +0 -1
- package/dist/leu-scroll-top.d.ts.map +0 -1
- package/dist/leu-select.d.ts.map +0 -1
- package/dist/leu-spinner.d.ts.map +0 -1
- package/dist/leu-table.d.ts.map +0 -1
- package/dist/leu-visually-hidden.d.ts.map +0 -1
- package/index.js +0 -17
- /package/.storybook/{manager.js → manager.ts} +0 -0
- /package/.storybook/{preview.js → preview.ts} +0 -0
- /package/scripts/generate-component/templates/{[namespace]-[name].js → [namespace]-[name].ts} +0 -0
- /package/scripts/generate-component/templates/stories/{[name].stories.js → [name].stories.ts} +0 -0
- /package/scripts/generate-component/templates/test/{[name].test.js → [name].test.ts} +0 -0
- /package/src/components/accordion/test/{accordion.test.js → accordion.test.ts} +0 -0
- /package/src/components/button/stories/{button.stories.js → button.stories.ts} +0 -0
- /package/src/components/button/test/{button.test.js → button.test.ts} +0 -0
- /package/src/components/button-group/stories/{button-group.stories.js → button-group.stories.ts} +0 -0
- /package/src/components/button-group/test/{button-group.test.js → button-group.test.ts} +0 -0
- /package/src/components/checkbox/stories/{checkbox-group.stories.js → checkbox-group.stories.ts} +0 -0
- /package/src/components/checkbox/stories/{checkbox.stories.js → checkbox.stories.ts} +0 -0
- /package/src/components/checkbox/test/{checkbox-group.test.js → checkbox-group.test.ts} +0 -0
- /package/src/components/checkbox/test/{checkbox.test.js → checkbox.test.ts} +0 -0
- /package/src/components/chip/{ChipLink.js → ChipLink.ts} +0 -0
- /package/src/components/chip/{ChipRemovable.js → ChipRemovable.ts} +0 -0
- /package/src/components/chip/{ChipSelectable.js → ChipSelectable.ts} +0 -0
- /package/src/components/chip/{exports.js → exports.ts} +0 -0
- /package/src/components/chip/stories/{chip-group.stories.js → chip-group.stories.ts} +0 -0
- /package/src/components/chip/stories/{chip-link.stories.js → chip-link.stories.ts} +0 -0
- /package/src/components/chip/stories/{chip-removable.stories.js → chip-removable.stories.ts} +0 -0
- /package/src/components/chip/stories/{chip-selectable.stories.js → chip-selectable.stories.ts} +0 -0
- /package/src/components/chip/test/{chip-group.test.js → chip-group.test.ts} +0 -0
- /package/src/components/chip/test/{chip-link.test.js → chip-link.test.ts} +0 -0
- /package/src/components/chip/test/{chip-removable.test.js → chip-removable.test.ts} +0 -0
- /package/src/components/chip/test/{chip-selectable.test.js → chip-selectable.test.ts} +0 -0
- /package/src/components/chip/test/{chip.test.js → chip.test.ts} +0 -0
- /package/src/components/dialog/stories/{dialog.stories.js → dialog.stories.ts} +0 -0
- /package/src/components/dialog/test/{dialog.test.js → dialog.test.ts} +0 -0
- /package/src/components/dropdown/stories/{dropdown.stories.js → dropdown.stories.ts} +0 -0
- /package/src/components/dropdown/test/{dropdown.test.js → dropdown.test.ts} +0 -0
- /package/src/components/icon/{paths.js → paths.ts} +0 -0
- /package/src/components/icon/stories/{icon.stories.js → icon.stories.ts} +0 -0
- /package/src/components/icon/test/{icon.test.js → icon.test.ts} +0 -0
- /package/src/components/input/stories/{input.stories.js → input.stories.ts} +0 -0
- /package/src/components/input/test/{input.test.js → input.test.ts} +0 -0
- /package/src/components/menu/stories/{menu-item.stories.js → menu-item.stories.ts} +0 -0
- /package/src/components/menu/stories/{menu.stories.js → menu.stories.ts} +0 -0
- /package/src/components/menu/test/{menu-item.test.js → menu-item.test.ts} +0 -0
- /package/src/components/menu/test/{menu.test.js → menu.test.ts} +0 -0
- /package/src/components/pagination/stories/{pagination.stories.js → pagination.stories.ts} +0 -0
- /package/src/components/pagination/test/{pagination.test.js → pagination.test.ts} +0 -0
- /package/src/components/popup/stories/{popup.stories.js → popup.stories.ts} +0 -0
- /package/src/components/popup/test/{popup.test.js → popup.test.ts} +0 -0
- /package/src/components/radio/stories/{radio-group.stories.js → radio-group.stories.ts} +0 -0
- /package/src/components/radio/stories/{radio.stories.js → radio.stories.ts} +0 -0
- /package/src/components/radio/test/{radio-group.test.js → radio-group.test.ts} +0 -0
- /package/src/components/radio/test/{radio.test.js → radio.test.ts} +0 -0
- /package/src/components/range/{Range.js → Range.ts} +0 -0
- /package/src/components/range/stories/{range-slider.stories.js → range-slider.stories.ts} +0 -0
- /package/src/components/range/test/{range-test.js → range.test.ts} +0 -0
- /package/src/components/scroll-top/stories/{scroll-top.stories.js → scroll-top.stories.ts} +0 -0
- /package/src/components/scroll-top/test/{scroll-top.test.js → scroll-top.test.ts} +0 -0
- /package/src/components/select/stories/{select.stories.js → select.stories.ts} +0 -0
- /package/src/components/select/test/{select.test.js → select.test.ts} +0 -0
- /package/src/components/spinner/{Spinner.js → Spinner.ts} +0 -0
- /package/src/components/spinner/stories/{spinner.stories.js → spinner.stories.ts} +0 -0
- /package/src/components/spinner/test/{spinner.test.js → spinner.test.ts} +0 -0
- /package/src/components/table/stories/{table.stories.js → table.stories.ts} +0 -0
- /package/src/components/table/test/{table.test.js → table.test.ts} +0 -0
- /package/src/components/visually-hidden/stories/{visually-hidden.stories.js → visually-hidden.stories.ts} +0 -0
- /package/src/components/visually-hidden/test/{visually-hidden.test.js → visually-hidden.test.ts} +0 -0
- /package/src/lib/{utils.js → utils.ts} +0 -0
- /package/src/styles/{style.stories.js → style.stories.ts} +0 -0
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import { nothing } from "lit";
|
|
2
|
+
import { LeuElement } from "../../lib/LeuElement.js";
|
|
3
|
+
import { LeuIcon } from "../icon/Icon.js";
|
|
4
|
+
export declare const SIZES: Readonly<{
|
|
5
|
+
SMALL: "small";
|
|
6
|
+
REGULAR: "regular";
|
|
7
|
+
}>;
|
|
8
|
+
/**
|
|
9
|
+
* A text input element.
|
|
10
|
+
*
|
|
11
|
+
* @prop {boolean} disabled - Disables the input element.
|
|
12
|
+
* @prop {boolean} required - Marks the input element as required.
|
|
13
|
+
* @prop {boolean} clearable - Adds a button to clear the input element.
|
|
14
|
+
* @prop {string} value - The value of the input element.
|
|
15
|
+
* @prop {string} name - The name of the input element.
|
|
16
|
+
* @prop {string} label - The label of the input element.
|
|
17
|
+
* @prop {string} error - A custom error that is completely independent of the validity state. Useful for displaying server side errors.
|
|
18
|
+
* @prop {string} size - The size of the input element.
|
|
19
|
+
* @prop {string} icon - The icon that is displayed at the end of the input element.
|
|
20
|
+
* @prop {string} prefix - A prefix that relates to the value of the input (e.g. CHF).
|
|
21
|
+
* @prop {string} suffix - A suffix that relates to the value of the input (e.g. mm).
|
|
22
|
+
* @prop {string} pattern - A regular expression that the value is checked against.
|
|
23
|
+
* @prop {string} type - The type of the input element.
|
|
24
|
+
* @prop {string} min - The minimum value of the input element.
|
|
25
|
+
* @prop {string} max - The maximum value of the input element.
|
|
26
|
+
* @prop {string} minlength - The minimum length of the input element.
|
|
27
|
+
* @prop {string} maxlength - The maximum length of the input element.
|
|
28
|
+
* @prop {object} validationMessages - Custom validation messages. The key is the name of the validity state and the value is the message.
|
|
29
|
+
* @prop {boolean} novalidate - Disables the browser's validation.
|
|
30
|
+
* @prop {string} step - The step value of the input element.
|
|
31
|
+
*
|
|
32
|
+
* @fires {CustomEvent} input - Dispatched when the value of the input element changes.
|
|
33
|
+
* @fires {CustomEvent} change - Dispatched when the value of the input element changes and the input element loses focus.
|
|
34
|
+
*
|
|
35
|
+
* @tagname leu-input
|
|
36
|
+
*/
|
|
37
|
+
export declare class LeuInput extends LeuElement {
|
|
38
|
+
static dependencies: {
|
|
39
|
+
"leu-icon": typeof LeuIcon;
|
|
40
|
+
};
|
|
41
|
+
static styles: import("lit").CSSResultGroup[];
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
static shadowRootOptions: {
|
|
46
|
+
delegatesFocus: boolean;
|
|
47
|
+
mode: ShadowRootMode;
|
|
48
|
+
serializable?: boolean;
|
|
49
|
+
slotAssignment?: SlotAssignmentMode;
|
|
50
|
+
customElements?: CustomElementRegistry;
|
|
51
|
+
registry?: CustomElementRegistry;
|
|
52
|
+
};
|
|
53
|
+
static properties: {
|
|
54
|
+
disabled: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
reflect: boolean;
|
|
57
|
+
};
|
|
58
|
+
required: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
reflect: boolean;
|
|
61
|
+
};
|
|
62
|
+
clearable: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
reflect: boolean;
|
|
65
|
+
};
|
|
66
|
+
value: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
reflect: boolean;
|
|
69
|
+
};
|
|
70
|
+
name: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
reflect: boolean;
|
|
73
|
+
};
|
|
74
|
+
error: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
reflect: boolean;
|
|
77
|
+
};
|
|
78
|
+
label: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
reflect: boolean;
|
|
81
|
+
};
|
|
82
|
+
prefix: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
reflect: boolean;
|
|
85
|
+
};
|
|
86
|
+
suffix: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
reflect: boolean;
|
|
89
|
+
};
|
|
90
|
+
size: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
reflect: boolean;
|
|
93
|
+
};
|
|
94
|
+
icon: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
reflect: boolean;
|
|
97
|
+
};
|
|
98
|
+
pattern: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
reflect: boolean;
|
|
101
|
+
};
|
|
102
|
+
type: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
reflect: boolean;
|
|
105
|
+
};
|
|
106
|
+
min: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
reflect: boolean;
|
|
109
|
+
};
|
|
110
|
+
max: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
reflect: boolean;
|
|
113
|
+
};
|
|
114
|
+
maxlength: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
reflect: boolean;
|
|
117
|
+
};
|
|
118
|
+
minlength: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
reflect: boolean;
|
|
121
|
+
};
|
|
122
|
+
validationMessages: {
|
|
123
|
+
type: ObjectConstructor;
|
|
124
|
+
};
|
|
125
|
+
novalidate: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
reflect: boolean;
|
|
128
|
+
};
|
|
129
|
+
step: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
reflect: boolean;
|
|
132
|
+
};
|
|
133
|
+
_validity: {
|
|
134
|
+
state: boolean;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
static resolveErrorMessage(message: any, refernceValue: any): any;
|
|
138
|
+
constructor();
|
|
139
|
+
get valueAsNumber(): number;
|
|
140
|
+
/**
|
|
141
|
+
* Method for handling the click event of the wrapper element.
|
|
142
|
+
* Redirect every click on the wrapper to the input element.
|
|
143
|
+
* This is only necessary for click events because the wrapper element
|
|
144
|
+
* looks like the input element. But the actual input field does not
|
|
145
|
+
* completely fill the wrapper element. Keyboard events don't need to be
|
|
146
|
+
* handled because the actual input element is focusable.
|
|
147
|
+
* @private
|
|
148
|
+
* @param {MouseEvent|PointerEvent} event
|
|
149
|
+
* @returns {void}
|
|
150
|
+
*/
|
|
151
|
+
handleWrapperClick(event: any): void;
|
|
152
|
+
/**
|
|
153
|
+
* Method for handling the blur event of the input element.
|
|
154
|
+
* Checks validity of the input element and sets the validity state.
|
|
155
|
+
* @private
|
|
156
|
+
* @param {FocusEvent & {target: HTMLInputElement}} event
|
|
157
|
+
* @returns {void}
|
|
158
|
+
*/
|
|
159
|
+
handleBlur(event: any): void;
|
|
160
|
+
/**
|
|
161
|
+
* Method for handling the invalid event of the input element.
|
|
162
|
+
* Sets the validity state.
|
|
163
|
+
* @private
|
|
164
|
+
* @param {Event} event
|
|
165
|
+
* @returns {void}
|
|
166
|
+
*/
|
|
167
|
+
handleInvalid(event: any): void;
|
|
168
|
+
/**
|
|
169
|
+
* Method for handling the change event of the input element.
|
|
170
|
+
* Sets the value property and dispatches a change event so that
|
|
171
|
+
* the event can be handled outside the shadow DOM.
|
|
172
|
+
* @private
|
|
173
|
+
* @param {Event} event
|
|
174
|
+
* @fires {CustomEvent} change
|
|
175
|
+
* @returns {void}
|
|
176
|
+
*/
|
|
177
|
+
handleChange(event: any): void;
|
|
178
|
+
/**
|
|
179
|
+
* Method for handling the input event of the input element.
|
|
180
|
+
* Sets the value property and dispatches an input event so that
|
|
181
|
+
* the event can be handled outside the shadow DOM.
|
|
182
|
+
* @private
|
|
183
|
+
* @param {Event} event
|
|
184
|
+
* @returns {void}
|
|
185
|
+
*/
|
|
186
|
+
handleInput(event: any): void;
|
|
187
|
+
/**
|
|
188
|
+
* Method for clearing the input element.
|
|
189
|
+
* Sets the value property to an empty string and dispatches
|
|
190
|
+
* an input and a change event.
|
|
191
|
+
* @private
|
|
192
|
+
* @returns {void}
|
|
193
|
+
* @fires {CustomEvent} input
|
|
194
|
+
* @fires {CustomEvent} change
|
|
195
|
+
*/
|
|
196
|
+
clear(): void;
|
|
197
|
+
/**
|
|
198
|
+
* Method for getting the id of the input element.
|
|
199
|
+
* If the id attribute is set, the value of the id attribute is returned.
|
|
200
|
+
* Otherwise a random id is generated and returned.
|
|
201
|
+
*
|
|
202
|
+
* @private
|
|
203
|
+
* @returns {string} id
|
|
204
|
+
*/
|
|
205
|
+
getId(): any;
|
|
206
|
+
/**
|
|
207
|
+
* Merge custom and default validation messages.
|
|
208
|
+
* A validation message can be a function or a string.
|
|
209
|
+
* If it s a function, the function is called with the corresponding
|
|
210
|
+
* attribute value as argument.
|
|
211
|
+
* e.g.
|
|
212
|
+
* `tooLong(this.maxlength)`
|
|
213
|
+
* This way the framework user can create reasonable validation messages
|
|
214
|
+
*
|
|
215
|
+
* @returns {Object} validationMessages
|
|
216
|
+
*/
|
|
217
|
+
getValidationMessages(): any;
|
|
218
|
+
isInvalid(): boolean;
|
|
219
|
+
/**
|
|
220
|
+
* Check input validation
|
|
221
|
+
* @returns {boolean} if valid or not
|
|
222
|
+
*/
|
|
223
|
+
checkValidity(): any;
|
|
224
|
+
/**
|
|
225
|
+
* Creates an error list with an item for the given validity state.
|
|
226
|
+
* @returns {import("lit").TemplateResult | nothing}
|
|
227
|
+
*/
|
|
228
|
+
renderErrorMessages(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
229
|
+
/**
|
|
230
|
+
* Determines the content that is displayed after the input element.
|
|
231
|
+
* This can be either an icon, a clear button or an error indicator icon.
|
|
232
|
+
*
|
|
233
|
+
* @private
|
|
234
|
+
* @returns {import("lit").TemplateResult | nothing}
|
|
235
|
+
*/
|
|
236
|
+
renderAfterContent(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
237
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
238
|
+
}
|
|
239
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/input/Input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,MAAM,KAAK,CAAA;AAMnC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAIzC,eAAO,MAAM,KAAK;;;EAGhB,CAAA;AAuBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBAAa,QAAS,SAAQ,UAAU;IACtC,MAAM,CAAC,YAAY;;MAElB;IAED,MAAM,CAAC,MAAM,iCAA8B;IAE3C;;OAEG;IACH,MAAM,CAAC,iBAAiB;;;;;;;MAGvB;IAED,MAAM,CAAC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2BhB;IAED,MAAM,CAAC,mBAAmB,CAAC,OAAO,KAAA,EAAE,aAAa,KAAA;;IAkCjD,IAAI,aAAa,WAKhB;IAED;;;;;;;;;;OAUG;IACH,kBAAkB,CAAC,KAAK,KAAA;IAMxB;;;;;;OAMG;IACH,UAAU,CAAC,KAAK,KAAA;IAQhB;;;;;;OAMG;IACH,aAAa,CAAC,KAAK,KAAA;IAInB;;;;;;;;OAQG;IACH,YAAY,CAAC,KAAK,KAAA;IASlB;;;;;;;OAOG;IACH,WAAW,CAAC,KAAK,KAAA;IAUjB;;;;;;;;OAQG;IACH,KAAK;IAaL;;;;;;;OAOG;IACH,KAAK;IAeL;;;;;;;;;;OAUG;IACH,qBAAqB;IA6BrB,SAAS;IAUT;;;OAGG;IACH,aAAa;IAIb;;;OAGG;IACH,mBAAmB;IAyBnB;;;;;;OAMG;IACH,kBAAkB;IA2BlB,MAAM;CAiDP"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leu-input.d.ts","sourceRoot":"","sources":["../../../src/components/input/leu-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,OAAO,EAAE,QAAQ,EAAE,CAAA;AAInB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,QAAQ,CAAA;KACtB;CACF"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import "../leu-input.js";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: string;
|
|
5
|
+
argTypes: {
|
|
6
|
+
size: {
|
|
7
|
+
control: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
options: ("small" | "regular")[];
|
|
11
|
+
};
|
|
12
|
+
icon: {
|
|
13
|
+
control: string;
|
|
14
|
+
options: string[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
parameters: {
|
|
18
|
+
design: {
|
|
19
|
+
type: string;
|
|
20
|
+
url: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
|
25
|
+
export declare const Regular: any;
|
|
26
|
+
export declare const Filled: any;
|
|
27
|
+
export declare const PrefixedNumber: any;
|
|
28
|
+
export declare const SuffixedNumber: any;
|
|
29
|
+
export declare const Disabled: any;
|
|
30
|
+
export declare const FilledDisabled: any;
|
|
31
|
+
export declare const Clearable: any;
|
|
32
|
+
export declare const Search: any;
|
|
33
|
+
export declare const CustomError: any;
|
|
34
|
+
export declare const Step: any;
|
|
35
|
+
//# sourceMappingURL=input.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/input/stories/input.stories.ts"],"names":[],"mappings":"AAGA,OAAO,iBAAiB,CAAA;;;;;;;;;;;;;;;;;;;;;;;AAKxB,wBAkBC;AAiDD,eAAO,MAAM,OAAO,KAAoB,CAAA;AAaxC,eAAO,MAAM,MAAM,KAAoB,CAAA;AAavC,eAAO,MAAM,cAAc,KAAoB,CAAA;AAe/C,eAAO,MAAM,cAAc,KAAoB,CAAA;AAiB/C,eAAO,MAAM,QAAQ,KAAoB,CAAA;AAMzC,eAAO,MAAM,cAAc,KAAoB,CAAA;AAO/C,eAAO,MAAM,SAAS,KAAoB,CAAA;AAc1C,eAAO,MAAM,MAAM,KAAoB,CAAA;AAiBvC,eAAO,MAAM,WAAW,KAAoB,CAAA;AAgB5C,eAAO,MAAM,IAAI,KAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.test.d.ts","sourceRoot":"","sources":["../../../../src/components/input/test/input.test.ts"],"names":[],"mappings":"AAMA,OAAO,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { LeuElement } from "../../lib/LeuElement.js";
|
|
2
|
+
import { LeuMenuItem } from "./MenuItem.js";
|
|
3
|
+
/**
|
|
4
|
+
* @typedef {'single' | 'multiple' | 'none'} SelectsType
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @tagname leu-menu
|
|
8
|
+
* @property {SelectsType} selects - This has only an effect when the role is 'menu'. It defines which role the menu items will get. Default is 'none'.
|
|
9
|
+
*/
|
|
10
|
+
export declare class LeuMenu extends LeuElement {
|
|
11
|
+
static styles: import("lit").CSSResultGroup[];
|
|
12
|
+
static shadowRootOptions: {
|
|
13
|
+
delegatesFocus: boolean;
|
|
14
|
+
mode: ShadowRootMode;
|
|
15
|
+
serializable?: boolean;
|
|
16
|
+
slotAssignment?: SlotAssignmentMode;
|
|
17
|
+
customElements?: CustomElementRegistry;
|
|
18
|
+
registry?: CustomElementRegistry;
|
|
19
|
+
};
|
|
20
|
+
static properties: {
|
|
21
|
+
selects: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
reflect: boolean;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
constructor();
|
|
27
|
+
connectedCallback(): void;
|
|
28
|
+
disconnectedCallback(): void;
|
|
29
|
+
_handleSlotChange(): void;
|
|
30
|
+
_setMenuItemRoles(): void;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @returns {import("./MenuItem").LeuMenuItem[]}
|
|
34
|
+
*/
|
|
35
|
+
getMenuItems(): LeuMenuItem[];
|
|
36
|
+
getVisibleMenuItems(): LeuMenuItem[];
|
|
37
|
+
_handleKeyDown(event: any): void;
|
|
38
|
+
setCurrentItem(index: any): any;
|
|
39
|
+
focusItem(index: any): void;
|
|
40
|
+
firstUpdated(): void;
|
|
41
|
+
updated(changedProperties: any): void;
|
|
42
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=Menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/components/menu/Menu.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAI3C;;GAEG;AAEH;;;GAGG;AACH,qBAAa,OAAQ,SAAQ,UAAU;IACrC,MAAM,CAAC,MAAM,iCAA8B;IAE3C,MAAM,CAAC,iBAAiB;;;;;;;MAGvB;IAED,MAAM,CAAC,UAAU;;;;;MAEhB;;IAWD,iBAAiB;IAUjB,oBAAoB;IAKpB,iBAAiB;IAKjB,iBAAiB;IAuBjB;;;OAGG;IACH,YAAY;IAOZ,mBAAmB;IAInB,cAAc,CAAC,KAAK,KAAA;IAqBpB,cAAc,CAAC,KAAK,KAAA;IAkBpB,SAAS,CAAC,KAAK,KAAA;IAMf,YAAY;IAIZ,OAAO,CAAC,iBAAiB,KAAA;IAMzB,MAAM;CAGP"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { nothing } from "lit";
|
|
2
|
+
import { LeuElement } from "../../lib/LeuElement.js";
|
|
3
|
+
import { LeuIcon } from "../icon/Icon.js";
|
|
4
|
+
/**
|
|
5
|
+
* @typedef {'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'option' | 'none'} MenuItemRole
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @tagname leu-menu-item
|
|
9
|
+
* @slot - The label of the menu item
|
|
10
|
+
* @property {boolean} active - Defines if the item is selected or checked
|
|
11
|
+
* @property {boolean} multipleSelection - If the item is part of a multiple selection. Renders a checkmark before the label when active
|
|
12
|
+
* @property {boolean} disabled - Disables the underlying button or link
|
|
13
|
+
* @property {string} value - The value of the item. It must not contain commas. See `getValue()`
|
|
14
|
+
* @property {string} href - The href of the underlying link
|
|
15
|
+
* @property {boolean} tabbable - If the item should be focusable. Will be reflected as `tabindex` to the underlying button or link
|
|
16
|
+
* @property {MenuItemRole} componentRole - The role of the item. This will be reflected as `role` to the underlying button or link. Default is `'menuitem'.`
|
|
17
|
+
*/
|
|
18
|
+
export declare class LeuMenuItem extends LeuElement {
|
|
19
|
+
static dependencies: {
|
|
20
|
+
"leu-icon": typeof LeuIcon;
|
|
21
|
+
};
|
|
22
|
+
static styles: import("lit").CSSResultGroup[];
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
static shadowRootOptions: {
|
|
27
|
+
delegatesFocus: boolean;
|
|
28
|
+
mode: ShadowRootMode;
|
|
29
|
+
serializable?: boolean;
|
|
30
|
+
slotAssignment?: SlotAssignmentMode;
|
|
31
|
+
customElements?: CustomElementRegistry;
|
|
32
|
+
registry?: CustomElementRegistry;
|
|
33
|
+
};
|
|
34
|
+
static properties: {
|
|
35
|
+
active: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
reflect: boolean;
|
|
38
|
+
};
|
|
39
|
+
multipleSelection: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
reflect: boolean;
|
|
42
|
+
attr: string;
|
|
43
|
+
};
|
|
44
|
+
disabled: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
reflect: boolean;
|
|
47
|
+
};
|
|
48
|
+
tabbable: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
reflect: boolean;
|
|
51
|
+
};
|
|
52
|
+
href: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
reflect: boolean;
|
|
55
|
+
};
|
|
56
|
+
value: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
reflect: boolean;
|
|
59
|
+
};
|
|
60
|
+
componentRole: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
reflect: boolean;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
constructor();
|
|
66
|
+
connectedCallback(): void;
|
|
67
|
+
disconnectedCallback(): void;
|
|
68
|
+
_handleClick(event: any): void;
|
|
69
|
+
/**
|
|
70
|
+
* Returns the value of the item. If `value` is not set, it will return the inner text
|
|
71
|
+
* @returns {string}
|
|
72
|
+
*/
|
|
73
|
+
getValue(): any;
|
|
74
|
+
_getAria(): {
|
|
75
|
+
disabled: any;
|
|
76
|
+
} | {
|
|
77
|
+
checked: any;
|
|
78
|
+
selected: any;
|
|
79
|
+
role: any;
|
|
80
|
+
disabled: any;
|
|
81
|
+
};
|
|
82
|
+
_getTabIndex(): 0 | -1;
|
|
83
|
+
_renderLink(content: any): import("lit-html").TemplateResult<1>;
|
|
84
|
+
_renderButton(content: any): import("lit-html").TemplateResult<1>;
|
|
85
|
+
_renderBeforeSlotDefault(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
86
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=MenuItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../src/components/menu/MenuItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,MAAM,KAAK,CAAA;AAGnC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAIzC;;GAEG;AAEH;;;;;;;;;;GAUG;AACH,qBAAa,WAAY,SAAQ,UAAU;IACzC,MAAM,CAAC,YAAY;;MAElB;IAED,MAAM,CAAC,MAAM,iCAA8B;IAE3C;;OAEG;IACH,MAAM,CAAC,iBAAiB;;;;;;;MAGvB;IAED,MAAM,CAAC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYhB;;IAgBD,iBAAiB;IAKjB,oBAAoB;IAKpB,YAAY,CAAC,KAAK,KAAA;IAOlB;;;OAGG;IACH,QAAQ;IAIR,QAAQ;;;;;;;;IAqBR,YAAY;IAQZ,WAAW,CAAC,OAAO,KAAA;IAenB,aAAa,CAAC,OAAO,KAAA;IAerB,wBAAwB;IAUxB,MAAM;CAWP"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leu-menu-item.d.ts","sourceRoot":"","sources":["../../../src/components/menu/leu-menu-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,EAAE,WAAW,EAAE,CAAA;AAItB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,eAAe,EAAE,WAAW,CAAA;KAC7B;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leu-menu.d.ts","sourceRoot":"","sources":["../../../src/components/menu/leu-menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,OAAO,EAAE,OAAO,EAAE,CAAA;AAIlB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,UAAU,EAAE,OAAO,CAAA;KACpB;CACF"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import "../leu-menu-item.js";
|
|
2
|
+
import "../../icon/leu-icon.js";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: string;
|
|
6
|
+
args: {
|
|
7
|
+
label: string;
|
|
8
|
+
};
|
|
9
|
+
parameters: {
|
|
10
|
+
design: {
|
|
11
|
+
type: string;
|
|
12
|
+
url: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
export declare const Regular: any;
|
|
18
|
+
export declare const Active: any;
|
|
19
|
+
export declare const IconBefore: any;
|
|
20
|
+
export declare const IconAfterLink: any;
|
|
21
|
+
export declare const IconAndTextLabel: any;
|
|
22
|
+
export declare const IconPlaceholder: any;
|
|
23
|
+
export declare const MultipleSelection: any;
|
|
24
|
+
//# sourceMappingURL=menu-item.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-item.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/stories/menu-item.stories.ts"],"names":[],"mappings":"AAGA,OAAO,qBAAqB,CAAA;AAC5B,OAAO,wBAAwB,CAAA;;;;;;;;;;;;;;AAO/B,wBAYC;AA2BD,eAAO,MAAM,OAAO,KAAoB,CAAA;AAExC,eAAO,MAAM,MAAM,KAAoB,CAAA;AAKvC,eAAO,MAAM,UAAU,KAAoB,CAAA;AAK3C,eAAO,MAAM,aAAa,KAAoB,CAAA;AAM9C,eAAO,MAAM,gBAAgB,KAAoB,CAAA;AAMjD,eAAO,MAAM,eAAe,KAAoB,CAAA;AAKhD,eAAO,MAAM,iBAAiB,KAAoB,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import "../leu-menu.js";
|
|
2
|
+
import "../leu-menu-item.js";
|
|
3
|
+
import "../../icon/leu-icon.js";
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: string;
|
|
7
|
+
parameters: {
|
|
8
|
+
design: {
|
|
9
|
+
type: string;
|
|
10
|
+
url: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
argTypes: {
|
|
14
|
+
selects: {
|
|
15
|
+
control: string;
|
|
16
|
+
options: string[];
|
|
17
|
+
};
|
|
18
|
+
role: {
|
|
19
|
+
control: string;
|
|
20
|
+
options: string[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
|
25
|
+
export declare const Menu: any;
|
|
26
|
+
//# sourceMappingURL=menu.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/stories/menu.stories.ts"],"names":[],"mappings":"AACA,OAAO,gBAAgB,CAAA;AACvB,OAAO,qBAAqB,CAAA;AAC5B,OAAO,wBAAwB,CAAA;;;;;;;;;;;;;;;;;;;;;AAG/B,wBAmBC;AA4BD,eAAO,MAAM,IAAI,KAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-item.test.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/test/menu-item.test.ts"],"names":[],"mappings":"AAKA,OAAO,gBAAgB,CAAA;AACvB,OAAO,qBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.test.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/test/menu.test.ts"],"names":[],"mappings":"AAKA,OAAO,gBAAgB,CAAA;AACvB,OAAO,qBAAqB,CAAA;AAC5B,OAAO,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { LeuElement } from "../../lib/LeuElement.js";
|
|
2
|
+
import { LeuButton } from "../button/Button.js";
|
|
3
|
+
import { LeuVisuallyHidden } from "../visually-hidden/VisuallyHidden.js";
|
|
4
|
+
import { LeuIcon } from "../icon/Icon.js";
|
|
5
|
+
/**
|
|
6
|
+
* @tagname leu-pagination
|
|
7
|
+
*/
|
|
8
|
+
export declare class LeuPagination extends LeuElement {
|
|
9
|
+
static dependencies: {
|
|
10
|
+
"leu-button": typeof LeuButton;
|
|
11
|
+
"leu-icon": typeof LeuIcon;
|
|
12
|
+
"leu-visually-hidden": typeof LeuVisuallyHidden;
|
|
13
|
+
};
|
|
14
|
+
static styles: import("lit").CSSResultGroup[];
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
static shadowRootOptions: {
|
|
19
|
+
delegatesFocus: boolean;
|
|
20
|
+
mode: ShadowRootMode;
|
|
21
|
+
serializable?: boolean;
|
|
22
|
+
slotAssignment?: SlotAssignmentMode;
|
|
23
|
+
customElements?: CustomElementRegistry;
|
|
24
|
+
registry?: CustomElementRegistry;
|
|
25
|
+
};
|
|
26
|
+
static properties: {
|
|
27
|
+
defaultPage: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
reflect: boolean;
|
|
30
|
+
};
|
|
31
|
+
itemsPerPage: {
|
|
32
|
+
type: NumberConstructor;
|
|
33
|
+
reflect: boolean;
|
|
34
|
+
};
|
|
35
|
+
numOfItems: {
|
|
36
|
+
type: NumberConstructor;
|
|
37
|
+
reflect: boolean;
|
|
38
|
+
};
|
|
39
|
+
_page: {
|
|
40
|
+
state: boolean;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
constructor();
|
|
44
|
+
attributeChangedCallback(name: any, oldVal: any, newVal: any): void;
|
|
45
|
+
get page(): any;
|
|
46
|
+
set page(page: any);
|
|
47
|
+
get startIndex(): number;
|
|
48
|
+
get endIndex(): number;
|
|
49
|
+
get _maxPage(): number;
|
|
50
|
+
_isFirstPage(): boolean;
|
|
51
|
+
_isLastPage(): boolean;
|
|
52
|
+
_clampPage(page: any): number;
|
|
53
|
+
_updatePage(page: any): void;
|
|
54
|
+
_handleChange(event: any): void;
|
|
55
|
+
_handleInput(event: any): void;
|
|
56
|
+
_handleKeyDown(event: any): void;
|
|
57
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=Pagination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/pagination/Pagination.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAA;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAMzC;;GAEG;AACH,qBAAa,aAAc,SAAQ,UAAU;IAC3C,MAAM,CAAC,YAAY;;;;MAIlB;IAED,MAAM,CAAC,MAAM,iCAA8B;IAE3C;;OAEG;IACH,MAAM,CAAC,iBAAiB;;;;;;;MAGvB;IAED,MAAM,CAAC,UAAU;;;;;;;;;;;;;;;;MAKhB;;IAsBD,wBAAwB,CAAC,IAAI,KAAA,EAAE,MAAM,KAAA,EAAE,MAAM,KAAA;IAQ7C,IAAI,IAAI,QAEP;IAED,IAAI,IAAI,CAAC,IAAI,KAAA,EAEZ;IAED,IAAI,UAAU,WAEb;IAED,IAAI,QAAQ,WAEX;IAED,IAAI,QAAQ,WAEX;IAED,YAAY;IAIZ,WAAW;IAIX,UAAU,CAAC,IAAI,KAAA;IAIf,WAAW,CAAC,IAAI,KAAA;IAkBhB,aAAa,CAAC,KAAK,KAAA;IAInB,YAAY,CAAC,KAAK,KAAA;IAOlB,cAAc,CAAC,KAAK,KAAA;IAWpB,MAAM;CAuCP"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leu-pagination.d.ts","sourceRoot":"","sources":["../../../src/components/pagination/leu-pagination.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,EAAE,aAAa,EAAE,CAAA;AAIxB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,aAAa,CAAA;KAChC;CACF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import "../leu-pagination.js";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: string;
|
|
5
|
+
args: {
|
|
6
|
+
onPageChange: import("@storybook/addon-actions").HandlerFunction;
|
|
7
|
+
};
|
|
8
|
+
parameters: {
|
|
9
|
+
design: {
|
|
10
|
+
type: string;
|
|
11
|
+
url: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
16
|
+
export declare const Regular: any;
|
|
17
|
+
//# sourceMappingURL=pagination.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/stories/pagination.stories.ts"],"names":[],"mappings":"AAGA,OAAO,sBAAsB,CAAA;;;;;;;;;;;;;;AAwD7B,wBAYC;AA0BD,eAAO,MAAM,OAAO,KAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.test.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/test/pagination.test.ts"],"names":[],"mappings":"AAMA,OAAO,sBAAsB,CAAA"}
|