@m3e/react 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/README.md +31 -0
- package/dist/all.js +1912 -0
- package/dist/all.js.map +1 -0
- package/dist/all.min.js +7 -0
- package/dist/all.min.js.map +1 -0
- package/dist/app-bar.js +32 -0
- package/dist/app-bar.js.map +1 -0
- package/dist/app-bar.min.js +7 -0
- package/dist/app-bar.min.js.map +1 -0
- package/dist/autocomplete.js +35 -0
- package/dist/autocomplete.js.map +1 -0
- package/dist/autocomplete.min.js +7 -0
- package/dist/autocomplete.min.js.map +1 -0
- package/dist/avatar.js +32 -0
- package/dist/avatar.js.map +1 -0
- package/dist/avatar.min.js +7 -0
- package/dist/avatar.min.js.map +1 -0
- package/dist/badge.js +32 -0
- package/dist/badge.js.map +1 -0
- package/dist/badge.min.js +7 -0
- package/dist/badge.min.js.map +1 -0
- package/dist/bottom-sheet.js +77 -0
- package/dist/bottom-sheet.js.map +1 -0
- package/dist/bottom-sheet.min.js +7 -0
- package/dist/bottom-sheet.min.js.map +1 -0
- package/dist/button-group.js +32 -0
- package/dist/button-group.js.map +1 -0
- package/dist/button-group.min.js +7 -0
- package/dist/button-group.min.js.map +1 -0
- package/dist/button.js +37 -0
- package/dist/button.js.map +1 -0
- package/dist/button.min.js +7 -0
- package/dist/button.min.js.map +1 -0
- package/dist/card.js +35 -0
- package/dist/card.js.map +1 -0
- package/dist/card.min.js +7 -0
- package/dist/card.min.js.map +1 -0
- package/dist/checkbox.js +38 -0
- package/dist/checkbox.js.map +1 -0
- package/dist/checkbox.min.js +7 -0
- package/dist/checkbox.min.js.map +1 -0
- package/dist/chips.js +187 -0
- package/dist/chips.js.map +1 -0
- package/dist/chips.min.js +7 -0
- package/dist/chips.min.js.map +1 -0
- package/dist/dialog.js +77 -0
- package/dist/dialog.js.map +1 -0
- package/dist/dialog.min.js +7 -0
- package/dist/dialog.min.js.map +1 -0
- package/dist/divider.js +32 -0
- package/dist/divider.js.map +1 -0
- package/dist/divider.min.js +7 -0
- package/dist/divider.min.js.map +1 -0
- package/dist/drawer-container.js +54 -0
- package/dist/drawer-container.js.map +1 -0
- package/dist/drawer-container.min.js +7 -0
- package/dist/drawer-container.min.js.map +1 -0
- package/dist/expansion-panel.js +57 -0
- package/dist/expansion-panel.js.map +1 -0
- package/dist/expansion-panel.min.js +7 -0
- package/dist/expansion-panel.min.js.map +1 -0
- package/dist/fab-menu.js +77 -0
- package/dist/fab-menu.js.map +1 -0
- package/dist/fab-menu.min.js +7 -0
- package/dist/fab-menu.min.js.map +1 -0
- package/dist/fab.js +35 -0
- package/dist/fab.js.map +1 -0
- package/dist/fab.min.js +7 -0
- package/dist/fab.min.js.map +1 -0
- package/dist/form-field.js +32 -0
- package/dist/form-field.js.map +1 -0
- package/dist/form-field.min.js +7 -0
- package/dist/form-field.min.js.map +1 -0
- package/dist/heading.js +32 -0
- package/dist/heading.js.map +1 -0
- package/dist/heading.min.js +7 -0
- package/dist/heading.min.js.map +1 -0
- package/dist/icon-button.js +37 -0
- package/dist/icon-button.js.map +1 -0
- package/dist/icon-button.min.js +7 -0
- package/dist/icon-button.min.js.map +1 -0
- package/dist/icon.js +32 -0
- package/dist/icon.js.map +1 -0
- package/dist/icon.min.js +7 -0
- package/dist/icon.min.js.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/list.js +164 -0
- package/dist/list.js.map +1 -0
- package/dist/list.min.js +7 -0
- package/dist/list.min.js.map +1 -0
- package/dist/loading-indicator.js +32 -0
- package/dist/loading-indicator.js.map +1 -0
- package/dist/loading-indicator.min.js +7 -0
- package/dist/loading-indicator.min.js.map +1 -0
- package/dist/menu.js +140 -0
- package/dist/menu.js.map +1 -0
- package/dist/menu.min.js +7 -0
- package/dist/menu.min.js.map +1 -0
- package/dist/nav-bar.js +59 -0
- package/dist/nav-bar.js.map +1 -0
- package/dist/nav-bar.min.js +7 -0
- package/dist/nav-bar.min.js.map +1 -0
- package/dist/nav-menu.js +77 -0
- package/dist/nav-menu.js.map +1 -0
- package/dist/nav-menu.min.js +7 -0
- package/dist/nav-menu.min.js.map +1 -0
- package/dist/nav-rail.js +54 -0
- package/dist/nav-rail.js.map +1 -0
- package/dist/nav-rail.min.js +7 -0
- package/dist/nav-rail.min.js.map +1 -0
- package/dist/option.js +51 -0
- package/dist/option.js.map +1 -0
- package/dist/option.min.js +7 -0
- package/dist/option.min.js.map +1 -0
- package/dist/paginator.js +35 -0
- package/dist/paginator.js.map +1 -0
- package/dist/paginator.min.js +7 -0
- package/dist/paginator.min.js.map +1 -0
- package/dist/progress-indicator.js +51 -0
- package/dist/progress-indicator.js.map +1 -0
- package/dist/progress-indicator.min.js +7 -0
- package/dist/progress-indicator.min.js.map +1 -0
- package/dist/radio-group.js +59 -0
- package/dist/radio-group.js.map +1 -0
- package/dist/radio-group.min.js +7 -0
- package/dist/radio-group.min.js.map +1 -0
- package/dist/segmented-button.js +60 -0
- package/dist/segmented-button.js.map +1 -0
- package/dist/segmented-button.min.js +7 -0
- package/dist/segmented-button.min.js.map +1 -0
- package/dist/select.js +36 -0
- package/dist/select.js.map +1 -0
- package/dist/select.min.js +7 -0
- package/dist/select.min.js.map +1 -0
- package/dist/shape.js +32 -0
- package/dist/shape.js.map +1 -0
- package/dist/shape.min.js +7 -0
- package/dist/shape.min.js.map +1 -0
- package/dist/slide-group.js +32 -0
- package/dist/slide-group.js.map +1 -0
- package/dist/slide-group.min.js +7 -0
- package/dist/slide-group.min.js.map +1 -0
- package/dist/slider.js +56 -0
- package/dist/slider.js.map +1 -0
- package/dist/slider.min.js +7 -0
- package/dist/slider.min.js.map +1 -0
- package/dist/snackbar.js +9 -0
- package/dist/snackbar.js.map +1 -0
- package/dist/snackbar.min.js +7 -0
- package/dist/snackbar.min.js.map +1 -0
- package/dist/split-button.js +32 -0
- package/dist/split-button.js.map +1 -0
- package/dist/split-button.min.js +7 -0
- package/dist/split-button.min.js.map +1 -0
- package/dist/src/all.d.ts +46 -0
- package/dist/src/all.d.ts.map +1 -0
- package/dist/src/app-bar/AppBar.d.ts +17 -0
- package/dist/src/app-bar/AppBar.d.ts.map +1 -0
- package/dist/src/app-bar/index.d.ts +2 -0
- package/dist/src/app-bar/index.d.ts.map +1 -0
- package/dist/src/autocomplete/Autocomplete.d.ts +19 -0
- package/dist/src/autocomplete/Autocomplete.d.ts.map +1 -0
- package/dist/src/autocomplete/index.d.ts +2 -0
- package/dist/src/autocomplete/index.d.ts.map +1 -0
- package/dist/src/avatar/Avatar.d.ts +17 -0
- package/dist/src/avatar/Avatar.d.ts.map +1 -0
- package/dist/src/avatar/index.d.ts +2 -0
- package/dist/src/avatar/index.d.ts.map +1 -0
- package/dist/src/badge/Badge.d.ts +17 -0
- package/dist/src/badge/Badge.d.ts.map +1 -0
- package/dist/src/badge/index.d.ts +2 -0
- package/dist/src/badge/index.d.ts.map +1 -0
- package/dist/src/bottom-sheet/BottomSheet.d.ts +23 -0
- package/dist/src/bottom-sheet/BottomSheet.d.ts.map +1 -0
- package/dist/src/bottom-sheet/BottomSheetAction.d.ts +17 -0
- package/dist/src/bottom-sheet/BottomSheetAction.d.ts.map +1 -0
- package/dist/src/bottom-sheet/BottomSheetTrigger.d.ts +17 -0
- package/dist/src/bottom-sheet/BottomSheetTrigger.d.ts.map +1 -0
- package/dist/src/bottom-sheet/index.d.ts +4 -0
- package/dist/src/bottom-sheet/index.d.ts.map +1 -0
- package/dist/src/button/Button.d.ts +21 -0
- package/dist/src/button/Button.d.ts.map +1 -0
- package/dist/src/button/index.d.ts +2 -0
- package/dist/src/button/index.d.ts.map +1 -0
- package/dist/src/button-group/ButtonGroup.d.ts +17 -0
- package/dist/src/button-group/ButtonGroup.d.ts.map +1 -0
- package/dist/src/button-group/index.d.ts +2 -0
- package/dist/src/button-group/index.d.ts.map +1 -0
- package/dist/src/card/Card.d.ts +19 -0
- package/dist/src/card/Card.d.ts.map +1 -0
- package/dist/src/card/index.d.ts +2 -0
- package/dist/src/card/index.d.ts.map +1 -0
- package/dist/src/checkbox/Checkbox.d.ts +22 -0
- package/dist/src/checkbox/Checkbox.d.ts.map +1 -0
- package/dist/src/checkbox/index.d.ts +2 -0
- package/dist/src/checkbox/index.d.ts.map +1 -0
- package/dist/src/chips/AssistChip.d.ts +19 -0
- package/dist/src/chips/AssistChip.d.ts.map +1 -0
- package/dist/src/chips/Chip.d.ts +17 -0
- package/dist/src/chips/Chip.d.ts.map +1 -0
- package/dist/src/chips/ChipSet.d.ts +17 -0
- package/dist/src/chips/ChipSet.d.ts.map +1 -0
- package/dist/src/chips/FilterChip.d.ts +21 -0
- package/dist/src/chips/FilterChip.d.ts.map +1 -0
- package/dist/src/chips/FilterChipSet.d.ts +20 -0
- package/dist/src/chips/FilterChipSet.d.ts.map +1 -0
- package/dist/src/chips/InputChip.d.ts +20 -0
- package/dist/src/chips/InputChip.d.ts.map +1 -0
- package/dist/src/chips/InputChipSet.d.ts +19 -0
- package/dist/src/chips/InputChipSet.d.ts.map +1 -0
- package/dist/src/chips/SuggestionChip.d.ts +19 -0
- package/dist/src/chips/SuggestionChip.d.ts.map +1 -0
- package/dist/src/chips/index.d.ts +9 -0
- package/dist/src/chips/index.d.ts.map +1 -0
- package/dist/src/dialog/Dialog.d.ts +23 -0
- package/dist/src/dialog/Dialog.d.ts.map +1 -0
- package/dist/src/dialog/DialogAction.d.ts +17 -0
- package/dist/src/dialog/DialogAction.d.ts.map +1 -0
- package/dist/src/dialog/DialogTrigger.d.ts +17 -0
- package/dist/src/dialog/DialogTrigger.d.ts.map +1 -0
- package/dist/src/dialog/index.d.ts +4 -0
- package/dist/src/dialog/index.d.ts.map +1 -0
- package/dist/src/divider/Divider.d.ts +17 -0
- package/dist/src/divider/Divider.d.ts.map +1 -0
- package/dist/src/divider/index.d.ts +2 -0
- package/dist/src/divider/index.d.ts.map +1 -0
- package/dist/src/drawer-container/DrawerContainer.d.ts +19 -0
- package/dist/src/drawer-container/DrawerContainer.d.ts.map +1 -0
- package/dist/src/drawer-container/DrawerToggle.d.ts +17 -0
- package/dist/src/drawer-container/DrawerToggle.d.ts.map +1 -0
- package/dist/src/drawer-container/index.d.ts +3 -0
- package/dist/src/drawer-container/index.d.ts.map +1 -0
- package/dist/src/expansion-panel/Accordion.d.ts +17 -0
- package/dist/src/expansion-panel/Accordion.d.ts.map +1 -0
- package/dist/src/expansion-panel/ExpansionPanel.d.ts +22 -0
- package/dist/src/expansion-panel/ExpansionPanel.d.ts.map +1 -0
- package/dist/src/expansion-panel/index.d.ts +3 -0
- package/dist/src/expansion-panel/index.d.ts.map +1 -0
- package/dist/src/fab/Fab.d.ts +19 -0
- package/dist/src/fab/Fab.d.ts.map +1 -0
- package/dist/src/fab/index.d.ts +2 -0
- package/dist/src/fab/index.d.ts.map +1 -0
- package/dist/src/fab-menu/FabMenu.d.ts +20 -0
- package/dist/src/fab-menu/FabMenu.d.ts.map +1 -0
- package/dist/src/fab-menu/FabMenuItem.d.ts +19 -0
- package/dist/src/fab-menu/FabMenuItem.d.ts.map +1 -0
- package/dist/src/fab-menu/FabMenuTrigger.d.ts +17 -0
- package/dist/src/fab-menu/FabMenuTrigger.d.ts.map +1 -0
- package/dist/src/fab-menu/index.d.ts +4 -0
- package/dist/src/fab-menu/index.d.ts.map +1 -0
- package/dist/src/form-field/FormField.d.ts +17 -0
- package/dist/src/form-field/FormField.d.ts.map +1 -0
- package/dist/src/form-field/index.d.ts +2 -0
- package/dist/src/form-field/index.d.ts.map +1 -0
- package/dist/src/heading/Heading.d.ts +17 -0
- package/dist/src/heading/Heading.d.ts.map +1 -0
- package/dist/src/heading/index.d.ts +2 -0
- package/dist/src/heading/index.d.ts.map +1 -0
- package/dist/src/icon/Icon.d.ts +17 -0
- package/dist/src/icon/Icon.d.ts.map +1 -0
- package/dist/src/icon/index.d.ts +2 -0
- package/dist/src/icon/index.d.ts.map +1 -0
- package/dist/src/icon-button/IconButton.d.ts +21 -0
- package/dist/src/icon-button/IconButton.d.ts.map +1 -0
- package/dist/src/icon-button/index.d.ts +2 -0
- package/dist/src/icon-button/index.d.ts.map +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/list/ActionList.d.ts +17 -0
- package/dist/src/list/ActionList.d.ts.map +1 -0
- package/dist/src/list/ExpandableListItem.d.ts +22 -0
- package/dist/src/list/ExpandableListItem.d.ts.map +1 -0
- package/dist/src/list/List.d.ts +17 -0
- package/dist/src/list/List.d.ts.map +1 -0
- package/dist/src/list/ListAction.d.ts +19 -0
- package/dist/src/list/ListAction.d.ts.map +1 -0
- package/dist/src/list/ListItem.d.ts +17 -0
- package/dist/src/list/ListItem.d.ts.map +1 -0
- package/dist/src/list/ListOption.d.ts +21 -0
- package/dist/src/list/ListOption.d.ts.map +1 -0
- package/dist/src/list/SelectionList.d.ts +20 -0
- package/dist/src/list/SelectionList.d.ts.map +1 -0
- package/dist/src/list/index.d.ts +8 -0
- package/dist/src/list/index.d.ts.map +1 -0
- package/dist/src/loading-indicator/LoadingIndicator.d.ts +17 -0
- package/dist/src/loading-indicator/LoadingIndicator.d.ts.map +1 -0
- package/dist/src/loading-indicator/index.d.ts +2 -0
- package/dist/src/loading-indicator/index.d.ts.map +1 -0
- package/dist/src/menu/Menu.d.ts +20 -0
- package/dist/src/menu/Menu.d.ts.map +1 -0
- package/dist/src/menu/MenuItem.d.ts +19 -0
- package/dist/src/menu/MenuItem.d.ts.map +1 -0
- package/dist/src/menu/MenuItemCheckbox.d.ts +19 -0
- package/dist/src/menu/MenuItemCheckbox.d.ts.map +1 -0
- package/dist/src/menu/MenuItemGroup.d.ts +17 -0
- package/dist/src/menu/MenuItemGroup.d.ts.map +1 -0
- package/dist/src/menu/MenuItemRadio.d.ts +19 -0
- package/dist/src/menu/MenuItemRadio.d.ts.map +1 -0
- package/dist/src/menu/MenuTrigger.d.ts +17 -0
- package/dist/src/menu/MenuTrigger.d.ts.map +1 -0
- package/dist/src/menu/index.d.ts +7 -0
- package/dist/src/menu/index.d.ts.map +1 -0
- package/dist/src/nav-bar/NavBar.d.ts +19 -0
- package/dist/src/nav-bar/NavBar.d.ts.map +1 -0
- package/dist/src/nav-bar/NavItem.d.ts +21 -0
- package/dist/src/nav-bar/NavItem.d.ts.map +1 -0
- package/dist/src/nav-bar/index.d.ts +3 -0
- package/dist/src/nav-bar/index.d.ts.map +1 -0
- package/dist/src/nav-menu/NavMenu.d.ts +17 -0
- package/dist/src/nav-menu/NavMenu.d.ts.map +1 -0
- package/dist/src/nav-menu/NavMenuItem.d.ts +23 -0
- package/dist/src/nav-menu/NavMenuItem.d.ts.map +1 -0
- package/dist/src/nav-menu/NavMenuItemGroup.d.ts +17 -0
- package/dist/src/nav-menu/NavMenuItemGroup.d.ts.map +1 -0
- package/dist/src/nav-menu/index.d.ts +4 -0
- package/dist/src/nav-menu/index.d.ts.map +1 -0
- package/dist/src/nav-rail/NavRail.d.ts +19 -0
- package/dist/src/nav-rail/NavRail.d.ts.map +1 -0
- package/dist/src/nav-rail/NavRailToggle.d.ts +17 -0
- package/dist/src/nav-rail/NavRailToggle.d.ts.map +1 -0
- package/dist/src/nav-rail/index.d.ts +3 -0
- package/dist/src/nav-rail/index.d.ts.map +1 -0
- package/dist/src/option/OptGroup.d.ts +17 -0
- package/dist/src/option/OptGroup.d.ts.map +1 -0
- package/dist/src/option/Option.d.ts +17 -0
- package/dist/src/option/Option.d.ts.map +1 -0
- package/dist/src/option/index.d.ts +3 -0
- package/dist/src/option/index.d.ts.map +1 -0
- package/dist/src/paginator/Paginator.d.ts +20 -0
- package/dist/src/paginator/Paginator.d.ts.map +1 -0
- package/dist/src/paginator/index.d.ts +2 -0
- package/dist/src/paginator/index.d.ts.map +1 -0
- package/dist/src/progress-indicator/CircularProgressIndicator.d.ts +17 -0
- package/dist/src/progress-indicator/CircularProgressIndicator.d.ts.map +1 -0
- package/dist/src/progress-indicator/LinearProgressIndicator.d.ts +17 -0
- package/dist/src/progress-indicator/LinearProgressIndicator.d.ts.map +1 -0
- package/dist/src/progress-indicator/index.d.ts +3 -0
- package/dist/src/progress-indicator/index.d.ts.map +1 -0
- package/dist/src/radio-group/Radio.d.ts +21 -0
- package/dist/src/radio-group/Radio.d.ts.map +1 -0
- package/dist/src/radio-group/RadioGroup.d.ts +19 -0
- package/dist/src/radio-group/RadioGroup.d.ts.map +1 -0
- package/dist/src/radio-group/index.d.ts +3 -0
- package/dist/src/radio-group/index.d.ts.map +1 -0
- package/dist/src/segmented-button/ButtonSegment.d.ts +21 -0
- package/dist/src/segmented-button/ButtonSegment.d.ts.map +1 -0
- package/dist/src/segmented-button/SegmentedButton.d.ts +20 -0
- package/dist/src/segmented-button/SegmentedButton.d.ts.map +1 -0
- package/dist/src/segmented-button/index.d.ts +3 -0
- package/dist/src/segmented-button/index.d.ts.map +1 -0
- package/dist/src/select/Select.d.ts +20 -0
- package/dist/src/select/Select.d.ts.map +1 -0
- package/dist/src/select/index.d.ts +2 -0
- package/dist/src/select/index.d.ts.map +1 -0
- package/dist/src/shape/Shape.d.ts +17 -0
- package/dist/src/shape/Shape.d.ts.map +1 -0
- package/dist/src/shape/index.d.ts +2 -0
- package/dist/src/shape/index.d.ts.map +1 -0
- package/dist/src/slide-group/SlideGroup.d.ts +17 -0
- package/dist/src/slide-group/SlideGroup.d.ts.map +1 -0
- package/dist/src/slide-group/index.d.ts +2 -0
- package/dist/src/slide-group/index.d.ts.map +1 -0
- package/dist/src/slider/Slider.d.ts +17 -0
- package/dist/src/slider/Slider.d.ts.map +1 -0
- package/dist/src/slider/SliderThumb.d.ts +21 -0
- package/dist/src/slider/SliderThumb.d.ts.map +1 -0
- package/dist/src/slider/index.d.ts +3 -0
- package/dist/src/slider/index.d.ts.map +1 -0
- package/dist/src/snackbar/Snackbar.d.ts +3 -0
- package/dist/src/snackbar/Snackbar.d.ts.map +1 -0
- package/dist/src/snackbar/index.d.ts +2 -0
- package/dist/src/snackbar/index.d.ts.map +1 -0
- package/dist/src/split-button/SplitButton.d.ts +17 -0
- package/dist/src/split-button/SplitButton.d.ts.map +1 -0
- package/dist/src/split-button/index.d.ts +2 -0
- package/dist/src/split-button/index.d.ts.map +1 -0
- package/dist/src/stepper/Step.d.ts +21 -0
- package/dist/src/stepper/Step.d.ts.map +1 -0
- package/dist/src/stepper/StepPanel.d.ts +17 -0
- package/dist/src/stepper/StepPanel.d.ts.map +1 -0
- package/dist/src/stepper/Stepper.d.ts +19 -0
- package/dist/src/stepper/Stepper.d.ts.map +1 -0
- package/dist/src/stepper/StepperNext.d.ts +17 -0
- package/dist/src/stepper/StepperNext.d.ts.map +1 -0
- package/dist/src/stepper/StepperPrevious.d.ts +17 -0
- package/dist/src/stepper/StepperPrevious.d.ts.map +1 -0
- package/dist/src/stepper/StepperReset.d.ts +17 -0
- package/dist/src/stepper/StepperReset.d.ts.map +1 -0
- package/dist/src/stepper/index.d.ts +7 -0
- package/dist/src/stepper/index.d.ts.map +1 -0
- package/dist/src/switch/Switch.d.ts +21 -0
- package/dist/src/switch/Switch.d.ts.map +1 -0
- package/dist/src/switch/index.d.ts +2 -0
- package/dist/src/switch/index.d.ts.map +1 -0
- package/dist/src/tabs/Tab.d.ts +21 -0
- package/dist/src/tabs/Tab.d.ts.map +1 -0
- package/dist/src/tabs/TabPanel.d.ts +17 -0
- package/dist/src/tabs/TabPanel.d.ts.map +1 -0
- package/dist/src/tabs/Tabs.d.ts +19 -0
- package/dist/src/tabs/Tabs.d.ts.map +1 -0
- package/dist/src/tabs/index.d.ts +4 -0
- package/dist/src/tabs/index.d.ts.map +1 -0
- package/dist/src/textarea-autosize/TextareaAutosize.d.ts +17 -0
- package/dist/src/textarea-autosize/TextareaAutosize.d.ts.map +1 -0
- package/dist/src/textarea-autosize/index.d.ts +2 -0
- package/dist/src/textarea-autosize/index.d.ts.map +1 -0
- package/dist/src/theme/Theme.d.ts +19 -0
- package/dist/src/theme/Theme.d.ts.map +1 -0
- package/dist/src/theme/index.d.ts +2 -0
- package/dist/src/theme/index.d.ts.map +1 -0
- package/dist/src/toc/Toc.d.ts +17 -0
- package/dist/src/toc/Toc.d.ts.map +1 -0
- package/dist/src/toc/index.d.ts +2 -0
- package/dist/src/toc/index.d.ts.map +1 -0
- package/dist/src/toolbar/Toolbar.d.ts +17 -0
- package/dist/src/toolbar/Toolbar.d.ts.map +1 -0
- package/dist/src/toolbar/index.d.ts +2 -0
- package/dist/src/toolbar/index.d.ts.map +1 -0
- package/dist/src/tooltip/RichTooltip.d.ts +20 -0
- package/dist/src/tooltip/RichTooltip.d.ts.map +1 -0
- package/dist/src/tooltip/RichTooltipAction.d.ts +17 -0
- package/dist/src/tooltip/RichTooltipAction.d.ts.map +1 -0
- package/dist/src/tooltip/Tooltip.d.ts +17 -0
- package/dist/src/tooltip/Tooltip.d.ts.map +1 -0
- package/dist/src/tooltip/index.d.ts +4 -0
- package/dist/src/tooltip/index.d.ts.map +1 -0
- package/dist/stepper.js +135 -0
- package/dist/stepper.js.map +1 -0
- package/dist/stepper.min.js +7 -0
- package/dist/stepper.min.js.map +1 -0
- package/dist/switch.js +37 -0
- package/dist/switch.js.map +1 -0
- package/dist/switch.min.js +7 -0
- package/dist/switch.min.js.map +1 -0
- package/dist/tabs.js +78 -0
- package/dist/tabs.js.map +1 -0
- package/dist/tabs.min.js +7 -0
- package/dist/tabs.min.js.map +1 -0
- package/dist/textarea-autosize.js +32 -0
- package/dist/textarea-autosize.js.map +1 -0
- package/dist/textarea-autosize.min.js +7 -0
- package/dist/textarea-autosize.min.js.map +1 -0
- package/dist/theme.js +35 -0
- package/dist/theme.js.map +1 -0
- package/dist/theme.min.js +7 -0
- package/dist/theme.min.js.map +1 -0
- package/dist/toc.js +32 -0
- package/dist/toc.js.map +1 -0
- package/dist/toc.min.js +7 -0
- package/dist/toc.min.js.map +1 -0
- package/dist/toolbar.js +32 -0
- package/dist/toolbar.js.map +1 -0
- package/dist/toolbar.min.js +7 -0
- package/dist/toolbar.min.js.map +1 -0
- package/dist/tooltip.js +74 -0
- package/dist/tooltip.js.map +1 -0
- package/dist/tooltip.min.js +7 -0
- package/dist/tooltip.min.js.map +1 -0
- package/package.json +215 -0
package/dist/list.js
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
/**
|
|
3
|
+
* @license MIT
|
|
4
|
+
* Copyright (c) 2025 matraic
|
|
5
|
+
* See LICENSE file in the project root for full license text.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import { createComponent } from '@lit/react';
|
|
10
|
+
import { M3eActionListElement, M3eExpandableListItemElement, M3eListElement, M3eListActionElement, M3eListItemElement, M3eListOptionElement, M3eSelectionListElement } from '@m3e/web/list';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* React binding for the `m3e-action-list` Web Component from `@m3e/list`.
|
|
14
|
+
*
|
|
15
|
+
* This component renders the underlying `<m3e-action-list>` element and exposes its
|
|
16
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
17
|
+
*
|
|
18
|
+
* Props map directly to element properties, and event handlers receive the
|
|
19
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
20
|
+
* underlying `<m3e-action-list>` instance for imperative access.
|
|
21
|
+
*
|
|
22
|
+
* See the `m3e-action-list` documentation for full details on behavior, styling,
|
|
23
|
+
* accessibility, and supported events.
|
|
24
|
+
*/
|
|
25
|
+
const M3eActionList = createComponent({
|
|
26
|
+
tagName: "m3e-action-list",
|
|
27
|
+
elementClass: M3eActionListElement,
|
|
28
|
+
react: React,
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* React binding for the `m3e-expandable-list-item` Web Component from `@m3e/list`.
|
|
33
|
+
*
|
|
34
|
+
* This component renders the underlying `<m3e-expandable-list-item>` element and exposes its
|
|
35
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
36
|
+
*
|
|
37
|
+
* Props map directly to element properties, and event handlers receive the
|
|
38
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
39
|
+
* underlying `<m3e-expandable-list-item>` instance for imperative access.
|
|
40
|
+
*
|
|
41
|
+
* See the `m3e-expandable-list-item` documentation for full details on behavior, styling,
|
|
42
|
+
* accessibility, and supported events.
|
|
43
|
+
*/
|
|
44
|
+
const M3eExpandableListItem = createComponent({
|
|
45
|
+
tagName: "m3e-expandable-list-item",
|
|
46
|
+
elementClass: M3eExpandableListItemElement,
|
|
47
|
+
react: React,
|
|
48
|
+
events: {
|
|
49
|
+
onOpening: "opening",
|
|
50
|
+
onOpened: "opened",
|
|
51
|
+
onClosing: "closing",
|
|
52
|
+
onClosed: "closed",
|
|
53
|
+
},
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* React binding for the `m3e-list` Web Component from `@m3e/list`.
|
|
58
|
+
*
|
|
59
|
+
* This component renders the underlying `<m3e-list>` element and exposes its
|
|
60
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
61
|
+
*
|
|
62
|
+
* Props map directly to element properties, and event handlers receive the
|
|
63
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
64
|
+
* underlying `<m3e-list>` instance for imperative access.
|
|
65
|
+
*
|
|
66
|
+
* See the `m3e-list` documentation for full details on behavior, styling,
|
|
67
|
+
* accessibility, and supported events.
|
|
68
|
+
*/
|
|
69
|
+
const M3eList = createComponent({
|
|
70
|
+
tagName: "m3e-list",
|
|
71
|
+
elementClass: M3eListElement,
|
|
72
|
+
react: React,
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* React binding for the `m3e-list-action` Web Component from `@m3e/list`.
|
|
77
|
+
*
|
|
78
|
+
* This component renders the underlying `<m3e-list-action>` element and exposes its
|
|
79
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
80
|
+
*
|
|
81
|
+
* Props map directly to element properties, and event handlers receive the
|
|
82
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
83
|
+
* underlying `<m3e-list-action>` instance for imperative access.
|
|
84
|
+
*
|
|
85
|
+
* See the `m3e-list-action` documentation for full details on behavior, styling,
|
|
86
|
+
* accessibility, and supported events.
|
|
87
|
+
*/
|
|
88
|
+
const M3eListAction = createComponent({
|
|
89
|
+
tagName: "m3e-list-action",
|
|
90
|
+
elementClass: M3eListActionElement,
|
|
91
|
+
react: React,
|
|
92
|
+
events: {
|
|
93
|
+
onClick: "click",
|
|
94
|
+
},
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* React binding for the `m3e-list-item` Web Component from `@m3e/list`.
|
|
99
|
+
*
|
|
100
|
+
* This component renders the underlying `<m3e-list-item>` element and exposes its
|
|
101
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
102
|
+
*
|
|
103
|
+
* Props map directly to element properties, and event handlers receive the
|
|
104
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
105
|
+
* underlying `<m3e-list-item>` instance for imperative access.
|
|
106
|
+
*
|
|
107
|
+
* See the `m3e-list-item` documentation for full details on behavior, styling,
|
|
108
|
+
* accessibility, and supported events.
|
|
109
|
+
*/
|
|
110
|
+
const M3eListItem = createComponent({
|
|
111
|
+
tagName: "m3e-list-item",
|
|
112
|
+
elementClass: M3eListItemElement,
|
|
113
|
+
react: React,
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* React binding for the `m3e-list-option` Web Component from `@m3e/list`.
|
|
118
|
+
*
|
|
119
|
+
* This component renders the underlying `<m3e-list-option>` element and exposes its
|
|
120
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
121
|
+
*
|
|
122
|
+
* Props map directly to element properties, and event handlers receive the
|
|
123
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
124
|
+
* underlying `<m3e-list-option>` instance for imperative access.
|
|
125
|
+
*
|
|
126
|
+
* See the `m3e-list-option` documentation for full details on behavior, styling,
|
|
127
|
+
* accessibility, and supported events.
|
|
128
|
+
*/
|
|
129
|
+
const M3eListOption = createComponent({
|
|
130
|
+
tagName: "m3e-list-option",
|
|
131
|
+
elementClass: M3eListOptionElement,
|
|
132
|
+
react: React,
|
|
133
|
+
events: {
|
|
134
|
+
onInput: "input",
|
|
135
|
+
onChange: "change",
|
|
136
|
+
onClick: "click",
|
|
137
|
+
},
|
|
138
|
+
});
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* React binding for the `m3e-selection-list` Web Component from `@m3e/list`.
|
|
142
|
+
*
|
|
143
|
+
* This component renders the underlying `<m3e-selection-list>` element and exposes its
|
|
144
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
145
|
+
*
|
|
146
|
+
* Props map directly to element properties, and event handlers receive the
|
|
147
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
148
|
+
* underlying `<m3e-selection-list>` instance for imperative access.
|
|
149
|
+
*
|
|
150
|
+
* See the `m3e-selection-list` documentation for full details on behavior, styling,
|
|
151
|
+
* accessibility, and supported events.
|
|
152
|
+
*/
|
|
153
|
+
const M3eSelectionList = createComponent({
|
|
154
|
+
tagName: "m3e-selection-list",
|
|
155
|
+
elementClass: M3eSelectionListElement,
|
|
156
|
+
react: React,
|
|
157
|
+
events: {
|
|
158
|
+
onInput: "input",
|
|
159
|
+
onChange: "change",
|
|
160
|
+
},
|
|
161
|
+
});
|
|
162
|
+
|
|
163
|
+
export { M3eActionList, M3eExpandableListItem, M3eList, M3eListAction, M3eListItem, M3eListOption, M3eSelectionList };
|
|
164
|
+
//# sourceMappingURL=list.js.map
|
package/dist/list.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sources":["../../src/list/ActionList.ts","../../src/list/ExpandableListItem.ts","../../src/list/List.ts","../../src/list/ListAction.ts","../../src/list/ListItem.ts","../../src/list/ListOption.ts","../../src/list/SelectionList.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eActionListElement } from \"@m3e/web/list\";\r\nexport type { M3eActionListElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-action-list` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-action-list>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-action-list>` instance for imperative access.\r\n *\r\n * See the `m3e-action-list` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eActionList = createComponent({\r\n tagName: \"m3e-action-list\",\r\n elementClass: M3eActionListElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eExpandableListItemElement } from \"@m3e/web/list\";\r\nexport type { M3eExpandableListItemElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-expandable-list-item` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-expandable-list-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-expandable-list-item>` instance for imperative access.\r\n *\r\n * See the `m3e-expandable-list-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eExpandableListItem = createComponent({\r\n tagName: \"m3e-expandable-list-item\",\r\n elementClass: M3eExpandableListItemElement,\r\n react: React,\r\n events: {\r\n onOpening: \"opening\",\r\n onOpened: \"opened\",\r\n onClosing: \"closing\",\r\n onClosed: \"closed\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eListElement } from \"@m3e/web/list\";\r\nexport type { ListVariant, M3eListElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-list` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-list>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-list>` instance for imperative access.\r\n *\r\n * See the `m3e-list` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eList = createComponent({\r\n tagName: \"m3e-list\",\r\n elementClass: M3eListElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eListActionElement } from \"@m3e/web/list\";\r\nexport type { M3eListActionElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-list-action` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-list-action>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-list-action>` instance for imperative access.\r\n *\r\n * See the `m3e-list-action` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eListAction = createComponent({\r\n tagName: \"m3e-list-action\",\r\n elementClass: M3eListActionElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eListItemElement } from \"@m3e/web/list\";\r\nexport type { M3eListItemElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-list-item` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-list-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-list-item>` instance for imperative access.\r\n *\r\n * See the `m3e-list-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eListItem = createComponent({\r\n tagName: \"m3e-list-item\",\r\n elementClass: M3eListItemElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eListOptionElement } from \"@m3e/web/list\";\r\nexport type { M3eListOptionElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-list-option` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-list-option>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-list-option>` instance for imperative access.\r\n *\r\n * See the `m3e-list-option` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eListOption = createComponent({\r\n tagName: \"m3e-list-option\",\r\n elementClass: M3eListOptionElement,\r\n react: React,\r\n events: {\r\n onInput: \"input\",\r\n onChange: \"change\",\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eSelectionListElement } from \"@m3e/web/list\";\r\nexport type { M3eSelectionListElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-selection-list` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-selection-list>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-selection-list>` instance for imperative access.\r\n *\r\n * See the `m3e-selection-list` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eSelectionList = createComponent({\r\n tagName: \"m3e-selection-list\",\r\n elementClass: M3eSelectionListElement,\r\n react: React,\r\n events: {\r\n onInput: \"input\",\r\n onChange: \"change\",\r\n },\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,aAAa,GAAG,eAAe,CAAC;AAC3C,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,YAAY,EAAE,oBAAoB;AAClC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAM,qBAAqB,GAAG,eAAe,CAAC;AACnD,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,YAAY,EAAE,4BAA4B;AAC1C,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,SAAS,EAAE,SAAS;AACpB,QAAA,QAAQ,EAAE,QAAQ;AAClB,QAAA,SAAS,EAAE,SAAS;AACpB,QAAA,QAAQ,EAAE,QAAQ;AACnB,KAAA;AACF,CAAA;;ACvBD;;;;;;;;;;;;AAYG;AACI,MAAM,OAAO,GAAG,eAAe,CAAC;AACrC,IAAA,OAAO,EAAE,UAAU;AACnB,IAAA,YAAY,EAAE,cAAc;AAC5B,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAM,aAAa,GAAG,eAAe,CAAC;AAC3C,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,YAAY,EAAE,oBAAoB;AAClC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;ACpBD;;;;;;;;;;;;AAYG;AACI,MAAM,WAAW,GAAG,eAAe,CAAC;AACzC,IAAA,OAAO,EAAE,eAAe;AACxB,IAAA,YAAY,EAAE,kBAAkB;AAChC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAM,aAAa,GAAG,eAAe,CAAC;AAC3C,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,YAAY,EAAE,oBAAoB;AAClC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,QAAQ,EAAE,QAAQ;AAClB,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;ACtBD;;;;;;;;;;;;AAYG;AACI,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAC9C,IAAA,OAAO,EAAE,oBAAoB;AAC7B,IAAA,YAAY,EAAE,uBAAuB;AACrC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,QAAQ,EAAE,QAAQ;AACnB,KAAA;AACF,CAAA;;;;"}
|
package/dist/list.min.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
/**
|
|
3
|
+
* @license MIT
|
|
4
|
+
* Copyright (c) 2025 matraic
|
|
5
|
+
* See LICENSE file in the project root for full license text.
|
|
6
|
+
*/import e from"react";import{createComponent as t}from"@lit/react";import{M3eActionListElement as n,M3eExpandableListItemElement as a,M3eListElement as l,M3eListActionElement as s,M3eListItemElement as m,M3eListOptionElement as i,M3eSelectionListElement as o}from"@m3e/web/list";const c=t({tagName:"m3e-action-list",elementClass:n,react:e}),r=t({tagName:"m3e-expandable-list-item",elementClass:a,react:e,events:{onOpening:"opening",onOpened:"opened",onClosing:"closing",onClosed:"closed"}}),g=t({tagName:"m3e-list",elementClass:l,react:e}),p=t({tagName:"m3e-list-action",elementClass:s,react:e,events:{onClick:"click"}}),C=t({tagName:"m3e-list-item",elementClass:m,react:e}),N=t({tagName:"m3e-list-option",elementClass:i,react:e,events:{onInput:"input",onChange:"change",onClick:"click"}}),d=t({tagName:"m3e-selection-list",elementClass:o,react:e,events:{onInput:"input",onChange:"change"}});export{c as M3eActionList,r as M3eExpandableListItem,g as M3eList,p as M3eListAction,C as M3eListItem,N as M3eListOption,d as M3eSelectionList};
|
|
7
|
+
//# sourceMappingURL=list.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.min.js","sources":["../../src/list/ActionList.ts","../../src/list/ExpandableListItem.ts","../../src/list/List.ts","../../src/list/ListAction.ts","../../src/list/ListItem.ts","../../src/list/ListOption.ts","../../src/list/SelectionList.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eActionListElement } from \"@m3e/web/list\";\r\nexport type { M3eActionListElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-action-list` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-action-list>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-action-list>` instance for imperative access.\r\n *\r\n * See the `m3e-action-list` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eActionList = createComponent({\r\n tagName: \"m3e-action-list\",\r\n elementClass: M3eActionListElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eExpandableListItemElement } from \"@m3e/web/list\";\r\nexport type { M3eExpandableListItemElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-expandable-list-item` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-expandable-list-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-expandable-list-item>` instance for imperative access.\r\n *\r\n * See the `m3e-expandable-list-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eExpandableListItem = createComponent({\r\n tagName: \"m3e-expandable-list-item\",\r\n elementClass: M3eExpandableListItemElement,\r\n react: React,\r\n events: {\r\n onOpening: \"opening\",\r\n onOpened: \"opened\",\r\n onClosing: \"closing\",\r\n onClosed: \"closed\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eListElement } from \"@m3e/web/list\";\r\nexport type { ListVariant, M3eListElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-list` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-list>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-list>` instance for imperative access.\r\n *\r\n * See the `m3e-list` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eList = createComponent({\r\n tagName: \"m3e-list\",\r\n elementClass: M3eListElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eListActionElement } from \"@m3e/web/list\";\r\nexport type { M3eListActionElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-list-action` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-list-action>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-list-action>` instance for imperative access.\r\n *\r\n * See the `m3e-list-action` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eListAction = createComponent({\r\n tagName: \"m3e-list-action\",\r\n elementClass: M3eListActionElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eListItemElement } from \"@m3e/web/list\";\r\nexport type { M3eListItemElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-list-item` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-list-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-list-item>` instance for imperative access.\r\n *\r\n * See the `m3e-list-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eListItem = createComponent({\r\n tagName: \"m3e-list-item\",\r\n elementClass: M3eListItemElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eListOptionElement } from \"@m3e/web/list\";\r\nexport type { M3eListOptionElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-list-option` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-list-option>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-list-option>` instance for imperative access.\r\n *\r\n * See the `m3e-list-option` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eListOption = createComponent({\r\n tagName: \"m3e-list-option\",\r\n elementClass: M3eListOptionElement,\r\n react: React,\r\n events: {\r\n onInput: \"input\",\r\n onChange: \"change\",\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eSelectionListElement } from \"@m3e/web/list\";\r\nexport type { M3eSelectionListElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-selection-list` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-selection-list>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-selection-list>` instance for imperative access.\r\n *\r\n * See the `m3e-selection-list` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eSelectionList = createComponent({\r\n tagName: \"m3e-selection-list\",\r\n elementClass: M3eSelectionListElement,\r\n react: React,\r\n events: {\r\n onInput: \"input\",\r\n onChange: \"change\",\r\n },\r\n});\r\n"],"names":["M3eActionList","createComponent","tagName","elementClass","M3eActionListElement","react","React","M3eExpandableListItem","M3eExpandableListItemElement","events","onOpening","onOpened","onClosing","onClosed","M3eList","M3eListElement","M3eListAction","M3eListActionElement","onClick","M3eListItem","M3eListItemElement","M3eListOption","M3eListOptionElement","onInput","onChange","M3eSelectionList","M3eSelectionListElement"],"mappings":";;;;;yRAmBO,MAAMA,EAAgBC,EAAgB,CAC3CC,QAAS,kBACTC,aAAcC,EACdC,MAAOC,ICHIC,EAAwBN,EAAgB,CACnDC,QAAS,2BACTC,aAAcK,EACdH,MAAOC,EACPG,OAAQ,CACNC,UAAW,UACXC,SAAU,SACVC,UAAW,UACXC,SAAU,YCRDC,EAAUb,EAAgB,CACrCC,QAAS,WACTC,aAAcY,EACdV,MAAOC,ICHIU,EAAgBf,EAAgB,CAC3CC,QAAS,kBACTC,aAAcc,EACdZ,MAAOC,EACPG,OAAQ,CACNS,QAAS,WCLAC,EAAclB,EAAgB,CACzCC,QAAS,gBACTC,aAAciB,EACdf,MAAOC,ICHIe,EAAgBpB,EAAgB,CAC3CC,QAAS,kBACTC,aAAcmB,EACdjB,MAAOC,EACPG,OAAQ,CACNc,QAAS,QACTC,SAAU,SACVN,QAAS,WCPAO,EAAmBxB,EAAgB,CAC9CC,QAAS,qBACTC,aAAcuB,EACdrB,MAAOC,EACPG,OAAQ,CACNc,QAAS,QACTC,SAAU"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
/**
|
|
3
|
+
* @license MIT
|
|
4
|
+
* Copyright (c) 2025 matraic
|
|
5
|
+
* See LICENSE file in the project root for full license text.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import { createComponent } from '@lit/react';
|
|
10
|
+
import { M3eLoadingIndicatorElement } from '@m3e/web/loading-indicator';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* React binding for the `m3e-loading-indicator` Web Component from `@m3e/loading-indicator`.
|
|
14
|
+
*
|
|
15
|
+
* This component renders the underlying `<m3e-loading-indicator>` element and exposes its
|
|
16
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
17
|
+
*
|
|
18
|
+
* Props map directly to element properties, and event handlers receive the
|
|
19
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
20
|
+
* underlying `<m3e-loading-indicator>` instance for imperative access.
|
|
21
|
+
*
|
|
22
|
+
* See the `m3e-loading-indicator` documentation for full details on behavior, styling,
|
|
23
|
+
* accessibility, and supported events.
|
|
24
|
+
*/
|
|
25
|
+
const M3eLoadingIndicator = createComponent({
|
|
26
|
+
tagName: "m3e-loading-indicator",
|
|
27
|
+
elementClass: M3eLoadingIndicatorElement,
|
|
28
|
+
react: React,
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export { M3eLoadingIndicator };
|
|
32
|
+
//# sourceMappingURL=loading-indicator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading-indicator.js","sources":["../../src/loading-indicator/LoadingIndicator.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eLoadingIndicatorElement } from \"@m3e/web/loading-indicator\";\r\nexport type { LoadingIndicatorVariant, M3eLoadingIndicatorElement } from \"@m3e/web/loading-indicator\";\r\n\r\n/**\r\n * React binding for the `m3e-loading-indicator` Web Component from `@m3e/loading-indicator`.\r\n *\r\n * This component renders the underlying `<m3e-loading-indicator>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-loading-indicator>` instance for imperative access.\r\n *\r\n * See the `m3e-loading-indicator` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eLoadingIndicator = createComponent({\r\n tagName: \"m3e-loading-indicator\",\r\n elementClass: M3eLoadingIndicatorElement,\r\n react: React,\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,mBAAmB,GAAG,eAAe,CAAC;AACjD,IAAA,OAAO,EAAE,uBAAuB;AAChC,IAAA,YAAY,EAAE,0BAA0B;AACxC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
/**
|
|
3
|
+
* @license MIT
|
|
4
|
+
* Copyright (c) 2025 matraic
|
|
5
|
+
* See LICENSE file in the project root for full license text.
|
|
6
|
+
*/import t from"react";import{createComponent as e}from"@lit/react";import{M3eLoadingIndicatorElement as o}from"@m3e/web/loading-indicator";const r=e({tagName:"m3e-loading-indicator",elementClass:o,react:t});export{r as M3eLoadingIndicator};
|
|
7
|
+
//# sourceMappingURL=loading-indicator.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading-indicator.min.js","sources":["../../src/loading-indicator/LoadingIndicator.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eLoadingIndicatorElement } from \"@m3e/web/loading-indicator\";\r\nexport type { LoadingIndicatorVariant, M3eLoadingIndicatorElement } from \"@m3e/web/loading-indicator\";\r\n\r\n/**\r\n * React binding for the `m3e-loading-indicator` Web Component from `@m3e/loading-indicator`.\r\n *\r\n * This component renders the underlying `<m3e-loading-indicator>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-loading-indicator>` instance for imperative access.\r\n *\r\n * See the `m3e-loading-indicator` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eLoadingIndicator = createComponent({\r\n tagName: \"m3e-loading-indicator\",\r\n elementClass: M3eLoadingIndicatorElement,\r\n react: React,\r\n});\r\n"],"names":["M3eLoadingIndicator","createComponent","tagName","elementClass","M3eLoadingIndicatorElement","react","React"],"mappings":";;;;;6IAmBO,MAAMA,EAAsBC,EAAgB,CACjDC,QAAS,wBACTC,aAAcC,EACdC,MAAOC"}
|
package/dist/menu.js
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
/**
|
|
3
|
+
* @license MIT
|
|
4
|
+
* Copyright (c) 2025 matraic
|
|
5
|
+
* See LICENSE file in the project root for full license text.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import { createComponent } from '@lit/react';
|
|
10
|
+
import { M3eMenuElement, M3eMenuItemElement, M3eMenuItemCheckboxElement, M3eMenuItemGroupElement, M3eMenuItemRadioElement, M3eMenuTriggerElement } from '@m3e/web/menu';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* React binding for the `m3e-menu` Web Component from `@m3e/menu`.
|
|
14
|
+
*
|
|
15
|
+
* This component renders the underlying `<m3e-menu>` element and exposes its
|
|
16
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
17
|
+
*
|
|
18
|
+
* Props map directly to element properties, and event handlers receive the
|
|
19
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
20
|
+
* underlying `<m3e-menu>` instance for imperative access.
|
|
21
|
+
*
|
|
22
|
+
* See the `m3e-menu` documentation for full details on behavior, styling,
|
|
23
|
+
* accessibility, and supported events.
|
|
24
|
+
*/
|
|
25
|
+
const M3eMenu = createComponent({
|
|
26
|
+
tagName: "m3e-menu",
|
|
27
|
+
elementClass: M3eMenuElement,
|
|
28
|
+
react: React,
|
|
29
|
+
events: {
|
|
30
|
+
onBeforeToggle: "beforetoggle",
|
|
31
|
+
onToggle: "toggle",
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* React binding for the `m3e-menu-item` Web Component from `@m3e/menu`.
|
|
37
|
+
*
|
|
38
|
+
* This component renders the underlying `<m3e-menu-item>` element and exposes its
|
|
39
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
40
|
+
*
|
|
41
|
+
* Props map directly to element properties, and event handlers receive the
|
|
42
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
43
|
+
* underlying `<m3e-menu-item>` instance for imperative access.
|
|
44
|
+
*
|
|
45
|
+
* See the `m3e-menu-item` documentation for full details on behavior, styling,
|
|
46
|
+
* accessibility, and supported events.
|
|
47
|
+
*/
|
|
48
|
+
const M3eMenuItem = createComponent({
|
|
49
|
+
tagName: "m3e-menu-item",
|
|
50
|
+
elementClass: M3eMenuItemElement,
|
|
51
|
+
react: React,
|
|
52
|
+
events: {
|
|
53
|
+
onClick: "click",
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* React binding for the `m3e-menu-item-checkbox` Web Component from `@m3e/menu`.
|
|
59
|
+
*
|
|
60
|
+
* This component renders the underlying `<m3e-menu-item-checkbox>` element and exposes its
|
|
61
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
62
|
+
*
|
|
63
|
+
* Props map directly to element properties, and event handlers receive the
|
|
64
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
65
|
+
* underlying `<m3e-menu-item-checkbox>` instance for imperative access.
|
|
66
|
+
*
|
|
67
|
+
* See the `m3e-menu-item-checkbox` documentation for full details on behavior, styling,
|
|
68
|
+
* accessibility, and supported events.
|
|
69
|
+
*/
|
|
70
|
+
const M3eMenuItemCheckbox = createComponent({
|
|
71
|
+
tagName: "m3e-menu-item-checkbox",
|
|
72
|
+
elementClass: M3eMenuItemCheckboxElement,
|
|
73
|
+
react: React,
|
|
74
|
+
events: {
|
|
75
|
+
onClick: "click",
|
|
76
|
+
},
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* React binding for the `m3e-menu-item-group` Web Component from `@m3e/menu`.
|
|
81
|
+
*
|
|
82
|
+
* This component renders the underlying `<m3e-menu-item-group>` element and exposes its
|
|
83
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
84
|
+
*
|
|
85
|
+
* Props map directly to element properties, and event handlers receive the
|
|
86
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
87
|
+
* underlying `<m3e-menu-item-group>` instance for imperative access.
|
|
88
|
+
*
|
|
89
|
+
* See the `m3e-menu-item-group` documentation for full details on behavior, styling,
|
|
90
|
+
* accessibility, and supported events.
|
|
91
|
+
*/
|
|
92
|
+
const M3eMenuItemGroup = createComponent({
|
|
93
|
+
tagName: "m3e-menu-item-group",
|
|
94
|
+
elementClass: M3eMenuItemGroupElement,
|
|
95
|
+
react: React,
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* React binding for the `m3e-menu-item-radio` Web Component from `@m3e/menu`.
|
|
100
|
+
*
|
|
101
|
+
* This component renders the underlying `<m3e-menu-item-radio>` element and exposes its
|
|
102
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
103
|
+
*
|
|
104
|
+
* Props map directly to element properties, and event handlers receive the
|
|
105
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
106
|
+
* underlying `<m3e-menu-item-radio>` instance for imperative access.
|
|
107
|
+
*
|
|
108
|
+
* See the `m3e-menu-item-radio` documentation for full details on behavior, styling,
|
|
109
|
+
* accessibility, and supported events.
|
|
110
|
+
*/
|
|
111
|
+
const M3eMenuItemRadio = createComponent({
|
|
112
|
+
tagName: "m3e-menu-item-radio",
|
|
113
|
+
elementClass: M3eMenuItemRadioElement,
|
|
114
|
+
react: React,
|
|
115
|
+
events: {
|
|
116
|
+
onClick: "click",
|
|
117
|
+
},
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* React binding for the `m3e-menu-trigger` Web Component from `@m3e/menu`.
|
|
122
|
+
*
|
|
123
|
+
* This component renders the underlying `<m3e-menu-trigger>` element and exposes its
|
|
124
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
125
|
+
*
|
|
126
|
+
* Props map directly to element properties, and event handlers receive the
|
|
127
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
128
|
+
* underlying `<m3e-menu-trigger>` instance for imperative access.
|
|
129
|
+
*
|
|
130
|
+
* See the `m3e-menu-trigger` documentation for full details on behavior, styling,
|
|
131
|
+
* accessibility, and supported events.
|
|
132
|
+
*/
|
|
133
|
+
const M3eMenuTrigger = createComponent({
|
|
134
|
+
tagName: "m3e-menu-trigger",
|
|
135
|
+
elementClass: M3eMenuTriggerElement,
|
|
136
|
+
react: React,
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
export { M3eMenu, M3eMenuItem, M3eMenuItemCheckbox, M3eMenuItemGroup, M3eMenuItemRadio, M3eMenuTrigger };
|
|
140
|
+
//# sourceMappingURL=menu.js.map
|
package/dist/menu.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.js","sources":["../../src/menu/Menu.ts","../../src/menu/MenuItem.ts","../../src/menu/MenuItemCheckbox.ts","../../src/menu/MenuItemGroup.ts","../../src/menu/MenuItemRadio.ts","../../src/menu/MenuTrigger.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuElement } from \"@m3e/web/menu\";\r\nexport type { MenuPositionX, MenuPositionY, MenuVariant, M3eMenuElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu>` instance for imperative access.\r\n *\r\n * See the `m3e-menu` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenu = createComponent({\r\n tagName: \"m3e-menu\",\r\n elementClass: M3eMenuElement,\r\n react: React,\r\n events: {\r\n onBeforeToggle: \"beforetoggle\",\r\n onToggle: \"toggle\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuItemElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuItemElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-item` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-item>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuItem = createComponent({\r\n tagName: \"m3e-menu-item\",\r\n elementClass: M3eMenuItemElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuItemCheckboxElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuItemCheckboxElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-item-checkbox` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-item-checkbox>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-item-checkbox>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-item-checkbox` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuItemCheckbox = createComponent({\r\n tagName: \"m3e-menu-item-checkbox\",\r\n elementClass: M3eMenuItemCheckboxElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuItemGroupElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuItemGroupElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-item-group` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-item-group>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-item-group>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-item-group` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuItemGroup = createComponent({\r\n tagName: \"m3e-menu-item-group\",\r\n elementClass: M3eMenuItemGroupElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuItemRadioElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuItemRadioElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-item-radio` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-item-radio>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-item-radio>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-item-radio` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuItemRadio = createComponent({\r\n tagName: \"m3e-menu-item-radio\",\r\n elementClass: M3eMenuItemRadioElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuTriggerElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuTriggerElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-trigger` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-trigger>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-trigger>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-trigger` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuTrigger = createComponent({\r\n tagName: \"m3e-menu-trigger\",\r\n elementClass: M3eMenuTriggerElement,\r\n react: React,\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,OAAO,GAAG,eAAe,CAAC;AACrC,IAAA,OAAO,EAAE,UAAU;AACnB,IAAA,YAAY,EAAE,cAAc;AAC5B,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,cAAc,EAAE,cAAc;AAC9B,QAAA,QAAQ,EAAE,QAAQ;AACnB,KAAA;AACF,CAAA;;ACrBD;;;;;;;;;;;;AAYG;AACI,MAAM,WAAW,GAAG,eAAe,CAAC;AACzC,IAAA,OAAO,EAAE,eAAe;AACxB,IAAA,YAAY,EAAE,kBAAkB;AAChC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;ACpBD;;;;;;;;;;;;AAYG;AACI,MAAM,mBAAmB,GAAG,eAAe,CAAC;AACjD,IAAA,OAAO,EAAE,wBAAwB;AACjC,IAAA,YAAY,EAAE,0BAA0B;AACxC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;ACpBD;;;;;;;;;;;;AAYG;AACI,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAC9C,IAAA,OAAO,EAAE,qBAAqB;AAC9B,IAAA,YAAY,EAAE,uBAAuB;AACrC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAC9C,IAAA,OAAO,EAAE,qBAAqB;AAC9B,IAAA,YAAY,EAAE,uBAAuB;AACrC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;ACpBD;;;;;;;;;;;;AAYG;AACI,MAAM,cAAc,GAAG,eAAe,CAAC;AAC5C,IAAA,OAAO,EAAE,kBAAkB;AAC3B,IAAA,YAAY,EAAE,qBAAqB;AACnC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;;;"}
|
package/dist/menu.min.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
/**
|
|
3
|
+
* @license MIT
|
|
4
|
+
* Copyright (c) 2025 matraic
|
|
5
|
+
* See LICENSE file in the project root for full license text.
|
|
6
|
+
*/import e from"react";import{createComponent as t}from"@lit/react";import{M3eMenuElement as m,M3eMenuItemElement as a,M3eMenuItemCheckboxElement as l,M3eMenuItemGroupElement as n,M3eMenuItemRadioElement as o,M3eMenuTriggerElement as c}from"@m3e/web/menu";const r=t({tagName:"m3e-menu",elementClass:m,react:e,events:{onBeforeToggle:"beforetoggle",onToggle:"toggle"}}),s=t({tagName:"m3e-menu-item",elementClass:a,react:e,events:{onClick:"click"}}),g=t({tagName:"m3e-menu-item-checkbox",elementClass:l,react:e,events:{onClick:"click"}}),i=t({tagName:"m3e-menu-item-group",elementClass:n,react:e}),u=t({tagName:"m3e-menu-item-radio",elementClass:o,react:e,events:{onClick:"click"}}),C=t({tagName:"m3e-menu-trigger",elementClass:c,react:e});export{r as M3eMenu,s as M3eMenuItem,g as M3eMenuItemCheckbox,i as M3eMenuItemGroup,u as M3eMenuItemRadio,C as M3eMenuTrigger};
|
|
7
|
+
//# sourceMappingURL=menu.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.min.js","sources":["../../src/menu/Menu.ts","../../src/menu/MenuItem.ts","../../src/menu/MenuItemCheckbox.ts","../../src/menu/MenuItemGroup.ts","../../src/menu/MenuItemRadio.ts","../../src/menu/MenuTrigger.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuElement } from \"@m3e/web/menu\";\r\nexport type { MenuPositionX, MenuPositionY, MenuVariant, M3eMenuElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu>` instance for imperative access.\r\n *\r\n * See the `m3e-menu` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenu = createComponent({\r\n tagName: \"m3e-menu\",\r\n elementClass: M3eMenuElement,\r\n react: React,\r\n events: {\r\n onBeforeToggle: \"beforetoggle\",\r\n onToggle: \"toggle\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuItemElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuItemElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-item` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-item>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuItem = createComponent({\r\n tagName: \"m3e-menu-item\",\r\n elementClass: M3eMenuItemElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuItemCheckboxElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuItemCheckboxElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-item-checkbox` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-item-checkbox>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-item-checkbox>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-item-checkbox` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuItemCheckbox = createComponent({\r\n tagName: \"m3e-menu-item-checkbox\",\r\n elementClass: M3eMenuItemCheckboxElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuItemGroupElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuItemGroupElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-item-group` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-item-group>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-item-group>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-item-group` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuItemGroup = createComponent({\r\n tagName: \"m3e-menu-item-group\",\r\n elementClass: M3eMenuItemGroupElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuItemRadioElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuItemRadioElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-item-radio` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-item-radio>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-item-radio>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-item-radio` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuItemRadio = createComponent({\r\n tagName: \"m3e-menu-item-radio\",\r\n elementClass: M3eMenuItemRadioElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuTriggerElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuTriggerElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-trigger` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-trigger>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-trigger>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-trigger` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuTrigger = createComponent({\r\n tagName: \"m3e-menu-trigger\",\r\n elementClass: M3eMenuTriggerElement,\r\n react: React,\r\n});\r\n"],"names":["M3eMenu","createComponent","tagName","elementClass","M3eMenuElement","react","React","events","onBeforeToggle","onToggle","M3eMenuItem","M3eMenuItemElement","onClick","M3eMenuItemCheckbox","M3eMenuItemCheckboxElement","M3eMenuItemGroup","M3eMenuItemGroupElement","M3eMenuItemRadio","M3eMenuItemRadioElement","M3eMenuTrigger","M3eMenuTriggerElement"],"mappings":";;;;;iQAmBO,MAAMA,EAAUC,EAAgB,CACrCC,QAAS,WACTC,aAAcC,EACdC,MAAOC,EACPC,OAAQ,CACNC,eAAgB,eAChBC,SAAU,YCNDC,EAAcT,EAAgB,CACzCC,QAAS,gBACTC,aAAcQ,EACdN,MAAOC,EACPC,OAAQ,CACNK,QAAS,WCLAC,EAAsBZ,EAAgB,CACjDC,QAAS,yBACTC,aAAcW,EACdT,MAAOC,EACPC,OAAQ,CACNK,QAAS,WCLAG,EAAmBd,EAAgB,CAC9CC,QAAS,sBACTC,aAAca,EACdX,MAAOC,ICHIW,EAAmBhB,EAAgB,CAC9CC,QAAS,sBACTC,aAAce,EACdb,MAAOC,EACPC,OAAQ,CACNK,QAAS,WCLAO,EAAiBlB,EAAgB,CAC5CC,QAAS,mBACTC,aAAciB,EACdf,MAAOC"}
|
package/dist/nav-bar.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
/**
|
|
3
|
+
* @license MIT
|
|
4
|
+
* Copyright (c) 2025 matraic
|
|
5
|
+
* See LICENSE file in the project root for full license text.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import { createComponent } from '@lit/react';
|
|
10
|
+
import { M3eNavBarElement, M3eNavItemElement } from '@m3e/web/nav-bar';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* React binding for the `m3e-nav-bar` Web Component from `@m3e/nav-bar`.
|
|
14
|
+
*
|
|
15
|
+
* This component renders the underlying `<m3e-nav-bar>` element and exposes its
|
|
16
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
17
|
+
*
|
|
18
|
+
* Props map directly to element properties, and event handlers receive the
|
|
19
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
20
|
+
* underlying `<m3e-nav-bar>` instance for imperative access.
|
|
21
|
+
*
|
|
22
|
+
* See the `m3e-nav-bar` documentation for full details on behavior, styling,
|
|
23
|
+
* accessibility, and supported events.
|
|
24
|
+
*/
|
|
25
|
+
const M3eNavBar = createComponent({
|
|
26
|
+
tagName: "m3e-nav-bar",
|
|
27
|
+
elementClass: M3eNavBarElement,
|
|
28
|
+
react: React,
|
|
29
|
+
events: {
|
|
30
|
+
onChange: "change",
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* React binding for the `m3e-nav-item` Web Component from `@m3e/nav-bar`.
|
|
36
|
+
*
|
|
37
|
+
* This component renders the underlying `<m3e-nav-item>` element and exposes its
|
|
38
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
39
|
+
*
|
|
40
|
+
* Props map directly to element properties, and event handlers receive the
|
|
41
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
42
|
+
* underlying `<m3e-nav-item>` instance for imperative access.
|
|
43
|
+
*
|
|
44
|
+
* See the `m3e-nav-item` documentation for full details on behavior, styling,
|
|
45
|
+
* accessibility, and supported events.
|
|
46
|
+
*/
|
|
47
|
+
const M3eNavItem = createComponent({
|
|
48
|
+
tagName: "m3e-nav-item",
|
|
49
|
+
elementClass: M3eNavItemElement,
|
|
50
|
+
react: React,
|
|
51
|
+
events: {
|
|
52
|
+
onInput: "input",
|
|
53
|
+
onChange: "change",
|
|
54
|
+
onClick: "click",
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export { M3eNavBar, M3eNavItem };
|
|
59
|
+
//# sourceMappingURL=nav-bar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nav-bar.js","sources":["../../src/nav-bar/NavBar.ts","../../src/nav-bar/NavItem.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eNavBarElement } from \"@m3e/web/nav-bar\";\r\nexport type { NavBarMode, NavItemOrientation, M3eNavBarElement } from \"@m3e/web/nav-bar\";\r\n\r\n/**\r\n * React binding for the `m3e-nav-bar` Web Component from `@m3e/nav-bar`.\r\n *\r\n * This component renders the underlying `<m3e-nav-bar>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-nav-bar>` instance for imperative access.\r\n *\r\n * See the `m3e-nav-bar` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eNavBar = createComponent({\r\n tagName: \"m3e-nav-bar\",\r\n elementClass: M3eNavBarElement,\r\n react: React,\r\n events: {\r\n onChange: \"change\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eNavItemElement } from \"@m3e/web/nav-bar\";\r\nexport type { M3eNavItemElement } from \"@m3e/web/nav-bar\";\r\n\r\n/**\r\n * React binding for the `m3e-nav-item` Web Component from `@m3e/nav-bar`.\r\n *\r\n * This component renders the underlying `<m3e-nav-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-nav-item>` instance for imperative access.\r\n *\r\n * See the `m3e-nav-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eNavItem = createComponent({\r\n tagName: \"m3e-nav-item\",\r\n elementClass: M3eNavItemElement,\r\n react: React,\r\n events: {\r\n onInput: \"input\",\r\n onChange: \"change\",\r\n onClick: \"click\",\r\n },\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,SAAS,GAAG,eAAe,CAAC;AACvC,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,YAAY,EAAE,gBAAgB;AAC9B,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,QAAQ,EAAE,QAAQ;AACnB,KAAA;AACF,CAAA;;ACpBD;;;;;;;;;;;;AAYG;AACI,MAAM,UAAU,GAAG,eAAe,CAAC;AACxC,IAAA,OAAO,EAAE,cAAc;AACvB,IAAA,YAAY,EAAE,iBAAiB;AAC/B,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,QAAQ,EAAE,QAAQ;AAClB,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
/**
|
|
3
|
+
* @license MIT
|
|
4
|
+
* Copyright (c) 2025 matraic
|
|
5
|
+
* See LICENSE file in the project root for full license text.
|
|
6
|
+
*/import e from"react";import{createComponent as t}from"@lit/react";import{M3eNavBarElement as a,M3eNavItemElement as n}from"@m3e/web/nav-bar";const m=t({tagName:"m3e-nav-bar",elementClass:a,react:e,events:{onChange:"change"}}),r=t({tagName:"m3e-nav-item",elementClass:n,react:e,events:{onInput:"input",onChange:"change",onClick:"click"}});export{m as M3eNavBar,r as M3eNavItem};
|
|
7
|
+
//# sourceMappingURL=nav-bar.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nav-bar.min.js","sources":["../../src/nav-bar/NavBar.ts","../../src/nav-bar/NavItem.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eNavBarElement } from \"@m3e/web/nav-bar\";\r\nexport type { NavBarMode, NavItemOrientation, M3eNavBarElement } from \"@m3e/web/nav-bar\";\r\n\r\n/**\r\n * React binding for the `m3e-nav-bar` Web Component from `@m3e/nav-bar`.\r\n *\r\n * This component renders the underlying `<m3e-nav-bar>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-nav-bar>` instance for imperative access.\r\n *\r\n * See the `m3e-nav-bar` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eNavBar = createComponent({\r\n tagName: \"m3e-nav-bar\",\r\n elementClass: M3eNavBarElement,\r\n react: React,\r\n events: {\r\n onChange: \"change\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eNavItemElement } from \"@m3e/web/nav-bar\";\r\nexport type { M3eNavItemElement } from \"@m3e/web/nav-bar\";\r\n\r\n/**\r\n * React binding for the `m3e-nav-item` Web Component from `@m3e/nav-bar`.\r\n *\r\n * This component renders the underlying `<m3e-nav-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-nav-item>` instance for imperative access.\r\n *\r\n * See the `m3e-nav-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eNavItem = createComponent({\r\n tagName: \"m3e-nav-item\",\r\n elementClass: M3eNavItemElement,\r\n react: React,\r\n events: {\r\n onInput: \"input\",\r\n onChange: \"change\",\r\n onClick: \"click\",\r\n },\r\n});\r\n"],"names":["M3eNavBar","createComponent","tagName","elementClass","M3eNavBarElement","react","React","events","onChange","M3eNavItem","M3eNavItemElement","onInput","onClick"],"mappings":";;;;;gJAmBO,MAAMA,EAAYC,EAAgB,CACvCC,QAAS,cACTC,aAAcC,EACdC,MAAOC,EACPC,OAAQ,CACNC,SAAU,YCLDC,EAAaR,EAAgB,CACxCC,QAAS,eACTC,aAAcO,EACdL,MAAOC,EACPC,OAAQ,CACNI,QAAS,QACTH,SAAU,SACVI,QAAS"}
|
package/dist/nav-menu.js
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
/**
|
|
3
|
+
* @license MIT
|
|
4
|
+
* Copyright (c) 2025 matraic
|
|
5
|
+
* See LICENSE file in the project root for full license text.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import { createComponent } from '@lit/react';
|
|
10
|
+
import { M3eNavMenuElement, M3eNavMenuItemElement, M3eNavMenuItemGroupElement } from '@m3e/web/nav-menu';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* React binding for the `m3e-nav-menu` Web Component from `@m3e/nav-menu`.
|
|
14
|
+
*
|
|
15
|
+
* This component renders the underlying `<m3e-nav-menu>` element and exposes its
|
|
16
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
17
|
+
*
|
|
18
|
+
* Props map directly to element properties, and event handlers receive the
|
|
19
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
20
|
+
* underlying `<m3e-nav-menu>` instance for imperative access.
|
|
21
|
+
*
|
|
22
|
+
* See the `m3e-nav-menu` documentation for full details on behavior, styling,
|
|
23
|
+
* accessibility, and supported events.
|
|
24
|
+
*/
|
|
25
|
+
const M3eNavMenu = createComponent({
|
|
26
|
+
tagName: "m3e-nav-menu",
|
|
27
|
+
elementClass: M3eNavMenuElement,
|
|
28
|
+
react: React,
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* React binding for the `m3e-nav-menu-item` Web Component from `@m3e/nav-menu`.
|
|
33
|
+
*
|
|
34
|
+
* This component renders the underlying `<m3e-nav-menu-item>` element and exposes its
|
|
35
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
36
|
+
*
|
|
37
|
+
* Props map directly to element properties, and event handlers receive the
|
|
38
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
39
|
+
* underlying `<m3e-nav-menu-item>` instance for imperative access.
|
|
40
|
+
*
|
|
41
|
+
* See the `m3e-nav-menu-item` documentation for full details on behavior, styling,
|
|
42
|
+
* accessibility, and supported events.
|
|
43
|
+
*/
|
|
44
|
+
const M3eNavMenuItem = createComponent({
|
|
45
|
+
tagName: "m3e-nav-menu-item",
|
|
46
|
+
elementClass: M3eNavMenuItemElement,
|
|
47
|
+
react: React,
|
|
48
|
+
events: {
|
|
49
|
+
onOpening: "opening",
|
|
50
|
+
onOpened: "opened",
|
|
51
|
+
onClosing: "closing",
|
|
52
|
+
onClosed: "closed",
|
|
53
|
+
onClick: "click",
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* React binding for the `m3e-nav-menu-item-group` Web Component from `@m3e/nav-menu`.
|
|
59
|
+
*
|
|
60
|
+
* This component renders the underlying `<m3e-nav-menu-item-group>` element and exposes its
|
|
61
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
62
|
+
*
|
|
63
|
+
* Props map directly to element properties, and event handlers receive the
|
|
64
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
65
|
+
* underlying `<m3e-nav-menu-item-group>` instance for imperative access.
|
|
66
|
+
*
|
|
67
|
+
* See the `m3e-nav-menu-item-group` documentation for full details on behavior, styling,
|
|
68
|
+
* accessibility, and supported events.
|
|
69
|
+
*/
|
|
70
|
+
const M3eNavMenuItemGroup = createComponent({
|
|
71
|
+
tagName: "m3e-nav-menu-item-group",
|
|
72
|
+
elementClass: M3eNavMenuItemGroupElement,
|
|
73
|
+
react: React,
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
export { M3eNavMenu, M3eNavMenuItem, M3eNavMenuItemGroup };
|
|
77
|
+
//# sourceMappingURL=nav-menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nav-menu.js","sources":["../../src/nav-menu/NavMenu.ts","../../src/nav-menu/NavMenuItem.ts","../../src/nav-menu/NavMenuItemGroup.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eNavMenuElement } from \"@m3e/web/nav-menu\";\r\nexport type { M3eNavMenuElement } from \"@m3e/web/nav-menu\";\r\n\r\n/**\r\n * React binding for the `m3e-nav-menu` Web Component from `@m3e/nav-menu`.\r\n *\r\n * This component renders the underlying `<m3e-nav-menu>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-nav-menu>` instance for imperative access.\r\n *\r\n * See the `m3e-nav-menu` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eNavMenu = createComponent({\r\n tagName: \"m3e-nav-menu\",\r\n elementClass: M3eNavMenuElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eNavMenuItemElement } from \"@m3e/web/nav-menu\";\r\nexport type { M3eNavMenuItemElement } from \"@m3e/web/nav-menu\";\r\n\r\n/**\r\n * React binding for the `m3e-nav-menu-item` Web Component from `@m3e/nav-menu`.\r\n *\r\n * This component renders the underlying `<m3e-nav-menu-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-nav-menu-item>` instance for imperative access.\r\n *\r\n * See the `m3e-nav-menu-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eNavMenuItem = createComponent({\r\n tagName: \"m3e-nav-menu-item\",\r\n elementClass: M3eNavMenuItemElement,\r\n react: React,\r\n events: {\r\n onOpening: \"opening\",\r\n onOpened: \"opened\",\r\n onClosing: \"closing\",\r\n onClosed: \"closed\",\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eNavMenuItemGroupElement } from \"@m3e/web/nav-menu\";\r\nexport type { M3eNavMenuItemGroupElement } from \"@m3e/web/nav-menu\";\r\n\r\n/**\r\n * React binding for the `m3e-nav-menu-item-group` Web Component from `@m3e/nav-menu`.\r\n *\r\n * This component renders the underlying `<m3e-nav-menu-item-group>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-nav-menu-item-group>` instance for imperative access.\r\n *\r\n * See the `m3e-nav-menu-item-group` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eNavMenuItemGroup = createComponent({\r\n tagName: \"m3e-nav-menu-item-group\",\r\n elementClass: M3eNavMenuItemGroupElement,\r\n react: React,\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,UAAU,GAAG,eAAe,CAAC;AACxC,IAAA,OAAO,EAAE,cAAc;AACvB,IAAA,YAAY,EAAE,iBAAiB;AAC/B,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAM,cAAc,GAAG,eAAe,CAAC;AAC5C,IAAA,OAAO,EAAE,mBAAmB;AAC5B,IAAA,YAAY,EAAE,qBAAqB;AACnC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,SAAS,EAAE,SAAS;AACpB,QAAA,QAAQ,EAAE,QAAQ;AAClB,QAAA,SAAS,EAAE,SAAS;AACpB,QAAA,QAAQ,EAAE,QAAQ;AAClB,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;ACxBD;;;;;;;;;;;;AAYG;AACI,MAAM,mBAAmB,GAAG,eAAe,CAAC;AACjD,IAAA,OAAO,EAAE,yBAAyB;AAClC,IAAA,YAAY,EAAE,0BAA0B;AACxC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;;;"}
|