@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bottom-sheet.min.js","sources":["../../src/bottom-sheet/BottomSheet.ts","../../src/bottom-sheet/BottomSheetAction.ts","../../src/bottom-sheet/BottomSheetTrigger.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eBottomSheetElement } from \"@m3e/web/bottom-sheet\";\r\nexport type { M3eBottomSheetElement } from \"@m3e/web/bottom-sheet\";\r\n/**\r\n * React binding for the `m3e-bottom-sheet` Web Component from `@m3e/bottom-sheet`.\r\n *\r\n * This component renders the underlying `<m3e-bottom-sheet>` 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-bottom-sheet>` instance for imperative access.\r\n *\r\n * See the `m3e-bottom-sheet` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eBottomSheet = createComponent({\r\n tagName: \"m3e-bottom-sheet\",\r\n elementClass: M3eBottomSheetElement,\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 onCancel: \"cancel\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eBottomSheetActionElement } from \"@m3e/web/bottom-sheet\";\r\nexport type { M3eBottomSheetActionElement } from \"@m3e/web/bottom-sheet\";\r\n\r\n/**\r\n * React binding for the `m3e-bottom-sheet-action` Web Component from `@m3e/bottom-sheet`.\r\n *\r\n * This component renders the underlying `<m3e-bottom-sheet-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-bottom-sheet-action>` instance for imperative access.\r\n *\r\n * See the `m3e-bottom-sheet-action` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eBottomSheetAction = createComponent({\r\n tagName: \"m3e-bottom-sheet-action\",\r\n elementClass: M3eBottomSheetActionElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eBottomSheetTriggerElement } from \"@m3e/web/bottom-sheet\";\r\nexport type { M3eBottomSheetTriggerElement } from \"@m3e/web/bottom-sheet\";\r\n\r\n/**\r\n * React binding for the `m3e-bottom-sheet-trigger` Web Component from `@m3e/bottom-sheet`.\r\n *\r\n * This component renders the underlying `<m3e-bottom-sheet-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-bottom-sheet-trigger>` instance for imperative access.\r\n *\r\n * See the `m3e-bottom-sheet-trigger` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eBottomSheetTrigger = createComponent({\r\n tagName: \"m3e-bottom-sheet-trigger\",\r\n elementClass: M3eBottomSheetTriggerElement,\r\n react: React,\r\n});\r\n"],"names":["M3eBottomSheet","createComponent","tagName","elementClass","M3eBottomSheetElement","react","React","events","onOpening","onOpened","onClosing","onClosed","onCancel","M3eBottomSheetAction","M3eBottomSheetActionElement","M3eBottomSheetTrigger","M3eBottomSheetTriggerElement"],"mappings":";;;;;sMAkBO,MAAMA,EAAiBC,EAAgB,CAC5CC,QAAS,mBACTC,aAAcC,EACdC,MAAOC,EACPC,OAAQ,CACNC,UAAW,UACXC,SAAU,SACVC,UAAW,UACXC,SAAU,SACVC,SAAU,YCRDC,EAAuBZ,EAAgB,CAClDC,QAAS,0BACTC,aAAcW,EACdT,MAAOC,ICHIS,EAAwBd,EAAgB,CACnDC,QAAS,2BACTC,aAAca,EACdX,MAAOC"}
|
|
@@ -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 { M3eButtonGroupElement } from '@m3e/web/button-group';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* React binding for the `m3e-button-group` Web Component from `@m3e/button-group`.
|
|
14
|
+
*
|
|
15
|
+
* This component renders the underlying `<m3e-button-group>` 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-button-group>` instance for imperative access.
|
|
21
|
+
*
|
|
22
|
+
* See the `m3e-button-group` documentation in `@m3e/button-group` for full details on behavior,
|
|
23
|
+
* styling, accessibility, and supported events.
|
|
24
|
+
*/
|
|
25
|
+
const M3eButtonGroup = createComponent({
|
|
26
|
+
tagName: "m3e-button-group",
|
|
27
|
+
elementClass: M3eButtonGroupElement,
|
|
28
|
+
react: React,
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export { M3eButtonGroup };
|
|
32
|
+
//# sourceMappingURL=button-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-group.js","sources":["../../src/button-group/ButtonGroup.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eButtonGroupElement } from \"@m3e/web/button-group\";\r\nexport type { ButtonGroupSize, ButtonGroupVariant, M3eButtonGroupElement } from \"@m3e/web/button-group\";\r\n\r\n/**\r\n * React binding for the `m3e-button-group` Web Component from `@m3e/button-group`.\r\n *\r\n * This component renders the underlying `<m3e-button-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-button-group>` instance for imperative access.\r\n *\r\n * See the `m3e-button-group` documentation in `@m3e/button-group` for full details on behavior,\r\n * styling, accessibility, and supported events.\r\n */\r\nexport const M3eButtonGroup = createComponent({\r\n tagName: \"m3e-button-group\",\r\n elementClass: M3eButtonGroupElement,\r\n react: React,\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,cAAc,GAAG,eAAe,CAAC;AAC5C,IAAA,OAAO,EAAE,kBAAkB;AAC3B,IAAA,YAAY,EAAE,qBAAqB;AACnC,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{M3eButtonGroupElement as o}from"@m3e/web/button-group";const r=e({tagName:"m3e-button-group",elementClass:o,react:t});export{r as M3eButtonGroup};
|
|
7
|
+
//# sourceMappingURL=button-group.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-group.min.js","sources":["../../src/button-group/ButtonGroup.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eButtonGroupElement } from \"@m3e/web/button-group\";\r\nexport type { ButtonGroupSize, ButtonGroupVariant, M3eButtonGroupElement } from \"@m3e/web/button-group\";\r\n\r\n/**\r\n * React binding for the `m3e-button-group` Web Component from `@m3e/button-group`.\r\n *\r\n * This component renders the underlying `<m3e-button-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-button-group>` instance for imperative access.\r\n *\r\n * See the `m3e-button-group` documentation in `@m3e/button-group` for full details on behavior,\r\n * styling, accessibility, and supported events.\r\n */\r\nexport const M3eButtonGroup = createComponent({\r\n tagName: \"m3e-button-group\",\r\n elementClass: M3eButtonGroupElement,\r\n react: React,\r\n});\r\n"],"names":["M3eButtonGroup","createComponent","tagName","elementClass","M3eButtonGroupElement","react","React"],"mappings":";;;;;mIAmBO,MAAMA,EAAiBC,EAAgB,CAC5CC,QAAS,mBACTC,aAAcC,EACdC,MAAOC"}
|
package/dist/button.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
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 { M3eButtonElement } from '@m3e/web/button';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* React binding for the `m3e-button` Web Component from `@m3e/button`.
|
|
14
|
+
*
|
|
15
|
+
* This component renders the underlying `<m3e-button>` 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-button>` instance for imperative access.
|
|
21
|
+
*
|
|
22
|
+
* See the `m3e-button` documentation in `@m3e/button` for full details on behavior,
|
|
23
|
+
* styling, accessibility, and supported events.
|
|
24
|
+
*/
|
|
25
|
+
const M3eButton = createComponent({
|
|
26
|
+
tagName: "m3e-button",
|
|
27
|
+
elementClass: M3eButtonElement,
|
|
28
|
+
react: React,
|
|
29
|
+
events: {
|
|
30
|
+
onInput: "input",
|
|
31
|
+
onChange: "change",
|
|
32
|
+
onClick: "click",
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export { M3eButton };
|
|
37
|
+
//# sourceMappingURL=button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.js","sources":["../../src/button/Button.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eButtonElement } from \"@m3e/web/button\";\r\nexport type { ButtonShape, ButtonSize, ButtonVariant, M3eButtonElement } from \"@m3e/web/button\";\r\n\r\n/**\r\n * React binding for the `m3e-button` Web Component from `@m3e/button`.\r\n *\r\n * This component renders the underlying `<m3e-button>` 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-button>` instance for imperative access.\r\n *\r\n * See the `m3e-button` documentation in `@m3e/button` for full details on behavior,\r\n * styling, accessibility, and supported events.\r\n */\r\nexport const M3eButton = createComponent({\r\n tagName: \"m3e-button\",\r\n elementClass: M3eButtonElement,\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,YAAY;AACrB,IAAA,YAAY,EAAE,gBAAgB;AAC9B,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 t from"react";import{createComponent as e}from"@lit/react";import{M3eButtonElement as n}from"@m3e/web/button";const o=e({tagName:"m3e-button",elementClass:n,react:t,events:{onInput:"input",onChange:"change",onClick:"click"}});export{o as M3eButton};
|
|
7
|
+
//# sourceMappingURL=button.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.min.js","sources":["../../src/button/Button.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eButtonElement } from \"@m3e/web/button\";\r\nexport type { ButtonShape, ButtonSize, ButtonVariant, M3eButtonElement } from \"@m3e/web/button\";\r\n\r\n/**\r\n * React binding for the `m3e-button` Web Component from `@m3e/button`.\r\n *\r\n * This component renders the underlying `<m3e-button>` 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-button>` instance for imperative access.\r\n *\r\n * See the `m3e-button` documentation in `@m3e/button` for full details on behavior,\r\n * styling, accessibility, and supported events.\r\n */\r\nexport const M3eButton = createComponent({\r\n tagName: \"m3e-button\",\r\n elementClass: M3eButtonElement,\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":["M3eButton","createComponent","tagName","elementClass","M3eButtonElement","react","React","events","onInput","onChange","onClick"],"mappings":";;;;;wHAmBO,MAAMA,EAAYC,EAAgB,CACvCC,QAAS,aACTC,aAAcC,EACdC,MAAOC,EACPC,OAAQ,CACNC,QAAS,QACTC,SAAU,SACVC,QAAS"}
|
package/dist/card.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
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 { M3eCardElement } from '@m3e/web/card';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* React binding for the `m3e-card` Web Component from `@m3e/card`.
|
|
14
|
+
*
|
|
15
|
+
* This component renders the underlying `<m3e-card>` 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-card>` instance for imperative access.
|
|
21
|
+
*
|
|
22
|
+
* See the `m3e-card` documentation in `@m3e/card` for full details on behavior,
|
|
23
|
+
* styling, accessibility, and supported events.
|
|
24
|
+
*/
|
|
25
|
+
const M3eCard = createComponent({
|
|
26
|
+
tagName: "m3e-card",
|
|
27
|
+
elementClass: M3eCardElement,
|
|
28
|
+
react: React,
|
|
29
|
+
events: {
|
|
30
|
+
onClick: "click",
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export { M3eCard };
|
|
35
|
+
//# sourceMappingURL=card.js.map
|
package/dist/card.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.js","sources":["../../src/card/Card.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eCardElement } from \"@m3e/web/card\";\r\nexport type { CardOrientation, CardVariant, M3eCardElement } from \"@m3e/web/card\";\r\n\r\n/**\r\n * React binding for the `m3e-card` Web Component from `@m3e/card`.\r\n *\r\n * This component renders the underlying `<m3e-card>` 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-card>` instance for imperative access.\r\n *\r\n * See the `m3e-card` documentation in `@m3e/card` for full details on behavior,\r\n * styling, accessibility, and supported events.\r\n */\r\nexport const M3eCard = createComponent({\r\n tagName: \"m3e-card\",\r\n elementClass: M3eCardElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\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,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;;;"}
|
package/dist/card.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{M3eCardElement as r}from"@m3e/web/card";const c=t({tagName:"m3e-card",elementClass:r,react:e,events:{onClick:"click"}});export{c as M3eCard};
|
|
7
|
+
//# sourceMappingURL=card.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.min.js","sources":["../../src/card/Card.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eCardElement } from \"@m3e/web/card\";\r\nexport type { CardOrientation, CardVariant, M3eCardElement } from \"@m3e/web/card\";\r\n\r\n/**\r\n * React binding for the `m3e-card` Web Component from `@m3e/card`.\r\n *\r\n * This component renders the underlying `<m3e-card>` 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-card>` instance for imperative access.\r\n *\r\n * See the `m3e-card` documentation in `@m3e/card` for full details on behavior,\r\n * styling, accessibility, and supported events.\r\n */\r\nexport const M3eCard = createComponent({\r\n tagName: \"m3e-card\",\r\n elementClass: M3eCardElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n"],"names":["M3eCard","createComponent","tagName","elementClass","M3eCardElement","react","React","events","onClick"],"mappings":";;;;;oHAmBO,MAAMA,EAAUC,EAAgB,CACrCC,QAAS,WACTC,aAAcC,EACdC,MAAOC,EACPC,OAAQ,CACNC,QAAS"}
|
package/dist/checkbox.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
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 { M3eCheckboxElement } from '@m3e/web/checkbox';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* React binding for the `m3e-checkbox` Web Component from `@m3e/checkbox`.
|
|
14
|
+
*
|
|
15
|
+
* This component renders the underlying `<m3e-checkbox>` 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-checkbox>` instance for imperative access.
|
|
21
|
+
*
|
|
22
|
+
* See the `m3e-checkbox` documentation in `@m3e/checkbox` for full details on behavior,
|
|
23
|
+
* styling, accessibility, and supported events.
|
|
24
|
+
*/
|
|
25
|
+
const M3eCheckbox = createComponent({
|
|
26
|
+
tagName: "m3e-checkbox",
|
|
27
|
+
elementClass: M3eCheckboxElement,
|
|
28
|
+
react: React,
|
|
29
|
+
events: {
|
|
30
|
+
onInput: "input",
|
|
31
|
+
onInvalid: "invalid",
|
|
32
|
+
onChange: "change",
|
|
33
|
+
onClick: "click",
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export { M3eCheckbox };
|
|
38
|
+
//# sourceMappingURL=checkbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.js","sources":["../../src/checkbox/Checkbox.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eCheckboxElement } from \"@m3e/web/checkbox\";\r\nexport type { M3eCheckboxElement } from \"@m3e/web/checkbox\";\r\n\r\n/**\r\n * React binding for the `m3e-checkbox` Web Component from `@m3e/checkbox`.\r\n *\r\n * This component renders the underlying `<m3e-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-checkbox>` instance for imperative access.\r\n *\r\n * See the `m3e-checkbox` documentation in `@m3e/checkbox` for full details on behavior,\r\n * styling, accessibility, and supported events.\r\n */\r\nexport const M3eCheckbox = createComponent({\r\n tagName: \"m3e-checkbox\",\r\n elementClass: M3eCheckboxElement,\r\n react: React,\r\n events: {\r\n onInput: \"input\",\r\n onInvalid: \"invalid\",\r\n onChange: \"change\",\r\n onClick: \"click\",\r\n },\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,WAAW,GAAG,eAAe,CAAC;AACzC,IAAA,OAAO,EAAE,cAAc;AACvB,IAAA,YAAY,EAAE,kBAAkB;AAChC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,SAAS,EAAE,SAAS;AACpB,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{M3eCheckboxElement as n}from"@m3e/web/checkbox";const o=t({tagName:"m3e-checkbox",elementClass:n,react:e,events:{onInput:"input",onInvalid:"invalid",onChange:"change",onClick:"click"}});export{o as M3eCheckbox};
|
|
7
|
+
//# sourceMappingURL=checkbox.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.min.js","sources":["../../src/checkbox/Checkbox.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eCheckboxElement } from \"@m3e/web/checkbox\";\r\nexport type { M3eCheckboxElement } from \"@m3e/web/checkbox\";\r\n\r\n/**\r\n * React binding for the `m3e-checkbox` Web Component from `@m3e/checkbox`.\r\n *\r\n * This component renders the underlying `<m3e-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-checkbox>` instance for imperative access.\r\n *\r\n * See the `m3e-checkbox` documentation in `@m3e/checkbox` for full details on behavior,\r\n * styling, accessibility, and supported events.\r\n */\r\nexport const M3eCheckbox = createComponent({\r\n tagName: \"m3e-checkbox\",\r\n elementClass: M3eCheckboxElement,\r\n react: React,\r\n events: {\r\n onInput: \"input\",\r\n onInvalid: \"invalid\",\r\n onChange: \"change\",\r\n onClick: \"click\",\r\n },\r\n});\r\n"],"names":["M3eCheckbox","createComponent","tagName","elementClass","M3eCheckboxElement","react","React","events","onInput","onInvalid","onChange","onClick"],"mappings":";;;;;4HAmBO,MAAMA,EAAcC,EAAgB,CACzCC,QAAS,eACTC,aAAcC,EACdC,MAAOC,EACPC,OAAQ,CACNC,QAAS,QACTC,UAAW,UACXC,SAAU,SACVC,QAAS"}
|
package/dist/chips.js
ADDED
|
@@ -0,0 +1,187 @@
|
|
|
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 { M3eAssistChipElement, M3eChipElement, M3eChipSetElement, M3eFilterChipElement, M3eFilterChipSetElement, M3eInputChipElement, M3eInputChipSetElement, M3eSuggestionChipElement } from '@m3e/web/chips';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* React binding for the `m3e-assist-chip` Web Component from `@m3e/chips`.
|
|
14
|
+
*
|
|
15
|
+
* This component renders the underlying `<m3e-assist-chip>` 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-assist-chip>` instance for imperative access.
|
|
21
|
+
*
|
|
22
|
+
* See the `m3e-assist-chip` documentation for full details on behavior, styling,
|
|
23
|
+
* accessibility, and supported events.
|
|
24
|
+
*/
|
|
25
|
+
const M3eAssistChip = createComponent({
|
|
26
|
+
tagName: "m3e-assist-chip",
|
|
27
|
+
elementClass: M3eAssistChipElement,
|
|
28
|
+
react: React,
|
|
29
|
+
events: {
|
|
30
|
+
onClick: "click",
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* React binding for the `m3e-chip` Web Component from `@m3e/chips`.
|
|
36
|
+
*
|
|
37
|
+
* This component renders the underlying `<m3e-chip>` 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-chip>` instance for imperative access.
|
|
43
|
+
*
|
|
44
|
+
* See the `m3e-chip` documentation for full details on behavior, styling,
|
|
45
|
+
* accessibility, and supported events.
|
|
46
|
+
*/
|
|
47
|
+
const M3eChip = createComponent({
|
|
48
|
+
tagName: "m3e-chip",
|
|
49
|
+
elementClass: M3eChipElement,
|
|
50
|
+
react: React,
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* React binding for the `m3e-chip-set` Web Component from `@m3e/chips`.
|
|
55
|
+
*
|
|
56
|
+
* This component renders the underlying `<m3e-chip-set>` element and exposes its
|
|
57
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
58
|
+
*
|
|
59
|
+
* Props map directly to element properties, and event handlers receive the
|
|
60
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
61
|
+
* underlying `<m3e-chip-set>` instance for imperative access.
|
|
62
|
+
*
|
|
63
|
+
* See the `m3e-chip-set` documentation for full details on behavior, styling,
|
|
64
|
+
* accessibility, and supported events.
|
|
65
|
+
*/
|
|
66
|
+
const M3eChipSet = createComponent({
|
|
67
|
+
tagName: "m3e-chip-set",
|
|
68
|
+
elementClass: M3eChipSetElement,
|
|
69
|
+
react: React,
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* React binding for the `m3e-filter-chip` Web Component from `@m3e/chips`.
|
|
74
|
+
*
|
|
75
|
+
* This component renders the underlying `<m3e-filter-chip>` element and exposes its
|
|
76
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
77
|
+
*
|
|
78
|
+
* Props map directly to element properties, and event handlers receive the
|
|
79
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
80
|
+
* underlying `<m3e-filter-chip>` instance for imperative access.
|
|
81
|
+
*
|
|
82
|
+
* See the `m3e-filter-chip` documentation for full details on behavior, styling,
|
|
83
|
+
* accessibility, and supported events.
|
|
84
|
+
*/
|
|
85
|
+
const M3eFilterChip = createComponent({
|
|
86
|
+
tagName: "m3e-filter-chip",
|
|
87
|
+
elementClass: M3eFilterChipElement,
|
|
88
|
+
react: React,
|
|
89
|
+
events: {
|
|
90
|
+
onInput: "input",
|
|
91
|
+
onChange: "change",
|
|
92
|
+
onClick: "click",
|
|
93
|
+
},
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* React binding for the `m3e-filter-chip-set` Web Component from `@m3e/chips`.
|
|
98
|
+
*
|
|
99
|
+
* This component renders the underlying `<m3e-filter-chip-set>` element and exposes its
|
|
100
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
101
|
+
*
|
|
102
|
+
* Props map directly to element properties, and event handlers receive the
|
|
103
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
104
|
+
* underlying `<m3e-filter-chip-set>` instance for imperative access.
|
|
105
|
+
*
|
|
106
|
+
* See the `m3e-filter-chip-set` documentation for full details on behavior, styling,
|
|
107
|
+
* accessibility, and supported events.
|
|
108
|
+
*/
|
|
109
|
+
const M3eFilterChipSet = createComponent({
|
|
110
|
+
tagName: "m3e-filter-chip-set",
|
|
111
|
+
elementClass: M3eFilterChipSetElement,
|
|
112
|
+
react: React,
|
|
113
|
+
events: {
|
|
114
|
+
onInput: "input",
|
|
115
|
+
onChange: "change",
|
|
116
|
+
},
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* React binding for the `m3e-input-chip` Web Component from `@m3e/chips`.
|
|
121
|
+
*
|
|
122
|
+
* This component renders the underlying `<m3e-input-chip>` element and exposes its
|
|
123
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
124
|
+
*
|
|
125
|
+
* Props map directly to element properties, and event handlers receive the
|
|
126
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
127
|
+
* underlying `<m3e-input-chip>` instance for imperative access.
|
|
128
|
+
*
|
|
129
|
+
* See the `m3e-input-chip` documentation for full details on behavior, styling,
|
|
130
|
+
* accessibility, and supported events.
|
|
131
|
+
*/
|
|
132
|
+
const M3eInputChip = createComponent({
|
|
133
|
+
tagName: "m3e-input-chip",
|
|
134
|
+
elementClass: M3eInputChipElement,
|
|
135
|
+
react: React,
|
|
136
|
+
events: {
|
|
137
|
+
onClick: "click",
|
|
138
|
+
onRemove: "remove",
|
|
139
|
+
},
|
|
140
|
+
});
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* React binding for the `m3e-input-chip-set` Web Component from `@m3e/chips`.
|
|
144
|
+
*
|
|
145
|
+
* This component renders the underlying `<m3e-input-chip-set>` element and exposes its
|
|
146
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
147
|
+
*
|
|
148
|
+
* Props map directly to element properties, and event handlers receive the
|
|
149
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
150
|
+
* underlying `<m3e-input-chip-set>` instance for imperative access.
|
|
151
|
+
*
|
|
152
|
+
* See the `m3e-input-chip-set` documentation for full details on behavior, styling,
|
|
153
|
+
* accessibility, and supported events.
|
|
154
|
+
*/
|
|
155
|
+
const M3eInputChipSet = createComponent({
|
|
156
|
+
tagName: "m3e-input-chip-set",
|
|
157
|
+
elementClass: M3eInputChipSetElement,
|
|
158
|
+
react: React,
|
|
159
|
+
events: {
|
|
160
|
+
onChange: "change",
|
|
161
|
+
},
|
|
162
|
+
});
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* React binding for the `m3e-suggestion-chip` Web Component from `@m3e/chips`.
|
|
166
|
+
*
|
|
167
|
+
* This component renders the underlying `<m3e-suggestion-chip>` element and exposes its
|
|
168
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
169
|
+
*
|
|
170
|
+
* Props map directly to element properties, and event handlers receive the
|
|
171
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
172
|
+
* underlying `<m3e-suggestion-chip>` instance for imperative access.
|
|
173
|
+
*
|
|
174
|
+
* See the `m3e-suggestion-chip` documentation for full details on behavior, styling,
|
|
175
|
+
* accessibility, and supported events.
|
|
176
|
+
*/
|
|
177
|
+
const M3eSuggestionChip = createComponent({
|
|
178
|
+
tagName: "m3e-suggestion-chip",
|
|
179
|
+
elementClass: M3eSuggestionChipElement,
|
|
180
|
+
react: React,
|
|
181
|
+
events: {
|
|
182
|
+
onClick: "click",
|
|
183
|
+
},
|
|
184
|
+
});
|
|
185
|
+
|
|
186
|
+
export { M3eAssistChip, M3eChip, M3eChipSet, M3eFilterChip, M3eFilterChipSet, M3eInputChip, M3eInputChipSet, M3eSuggestionChip };
|
|
187
|
+
//# sourceMappingURL=chips.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chips.js","sources":["../../src/chips/AssistChip.ts","../../src/chips/Chip.ts","../../src/chips/ChipSet.ts","../../src/chips/FilterChip.ts","../../src/chips/FilterChipSet.ts","../../src/chips/InputChip.ts","../../src/chips/InputChipSet.ts","../../src/chips/SuggestionChip.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eAssistChipElement } from \"@m3e/web/chips\";\r\nexport type { M3eAssistChipElement } from \"@m3e/web/chips\";\r\n\r\n/**\r\n * React binding for the `m3e-assist-chip` Web Component from `@m3e/chips`.\r\n *\r\n * This component renders the underlying `<m3e-assist-chip>` 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-assist-chip>` instance for imperative access.\r\n *\r\n * See the `m3e-assist-chip` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eAssistChip = createComponent({\r\n tagName: \"m3e-assist-chip\",\r\n elementClass: M3eAssistChipElement,\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 { M3eChipElement } from \"@m3e/web/chips\";\r\nexport type { ChipVariant, M3eChipElement } from \"@m3e/web/chips\";\r\n\r\n/**\r\n * React binding for the `m3e-chip` Web Component from `@m3e/chips`.\r\n *\r\n * This component renders the underlying `<m3e-chip>` 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-chip>` instance for imperative access.\r\n *\r\n * See the `m3e-chip` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eChip = createComponent({\r\n tagName: \"m3e-chip\",\r\n elementClass: M3eChipElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eChipSetElement } from \"@m3e/web/chips\";\r\nexport type { M3eChipSetElement } from \"@m3e/web/chips\";\r\n\r\n/**\r\n * React binding for the `m3e-chip-set` Web Component from `@m3e/chips`.\r\n *\r\n * This component renders the underlying `<m3e-chip-set>` 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-chip-set>` instance for imperative access.\r\n *\r\n * See the `m3e-chip-set` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eChipSet = createComponent({\r\n tagName: \"m3e-chip-set\",\r\n elementClass: M3eChipSetElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eFilterChipElement } from \"@m3e/web/chips\";\r\nexport type { M3eFilterChipElement } from \"@m3e/web/chips\";\r\n\r\n/**\r\n * React binding for the `m3e-filter-chip` Web Component from `@m3e/chips`.\r\n *\r\n * This component renders the underlying `<m3e-filter-chip>` 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-filter-chip>` instance for imperative access.\r\n *\r\n * See the `m3e-filter-chip` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eFilterChip = createComponent({\r\n tagName: \"m3e-filter-chip\",\r\n elementClass: M3eFilterChipElement,\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 { M3eFilterChipSetElement } from \"@m3e/web/chips\";\r\nexport type { M3eFilterChipSetElement } from \"@m3e/web/chips\";\r\n\r\n/**\r\n * React binding for the `m3e-filter-chip-set` Web Component from `@m3e/chips`.\r\n *\r\n * This component renders the underlying `<m3e-filter-chip-set>` 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-filter-chip-set>` instance for imperative access.\r\n *\r\n * See the `m3e-filter-chip-set` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eFilterChipSet = createComponent({\r\n tagName: \"m3e-filter-chip-set\",\r\n elementClass: M3eFilterChipSetElement,\r\n react: React,\r\n events: {\r\n onInput: \"input\",\r\n onChange: \"change\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eInputChipElement } from \"@m3e/web/chips\";\r\nexport type { M3eInputChipElement } from \"@m3e/web/chips\";\r\n\r\n/**\r\n * React binding for the `m3e-input-chip` Web Component from `@m3e/chips`.\r\n *\r\n * This component renders the underlying `<m3e-input-chip>` 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-input-chip>` instance for imperative access.\r\n *\r\n * See the `m3e-input-chip` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eInputChip = createComponent({\r\n tagName: \"m3e-input-chip\",\r\n elementClass: M3eInputChipElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n onRemove: \"remove\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eInputChipSetElement } from \"@m3e/web/chips\";\r\nexport type { M3eInputChipSetElement } from \"@m3e/web/chips\";\r\n\r\n/**\r\n * React binding for the `m3e-input-chip-set` Web Component from `@m3e/chips`.\r\n *\r\n * This component renders the underlying `<m3e-input-chip-set>` 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-input-chip-set>` instance for imperative access.\r\n *\r\n * See the `m3e-input-chip-set` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eInputChipSet = createComponent({\r\n tagName: \"m3e-input-chip-set\",\r\n elementClass: M3eInputChipSetElement,\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 { M3eSuggestionChipElement } from \"@m3e/web/chips\";\r\nexport type { M3eSuggestionChipElement } from \"@m3e/web/chips\";\r\n\r\n/**\r\n * React binding for the `m3e-suggestion-chip` Web Component from `@m3e/chips`.\r\n *\r\n * This component renders the underlying `<m3e-suggestion-chip>` 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-suggestion-chip>` instance for imperative access.\r\n *\r\n * See the `m3e-suggestion-chip` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eSuggestionChip = createComponent({\r\n tagName: \"m3e-suggestion-chip\",\r\n elementClass: M3eSuggestionChipElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\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;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;ACpBD;;;;;;;;;;;;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,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,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,qBAAqB;AAC9B,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;;ACrBD;;;;;;;;;;;;AAYG;AACI,MAAM,YAAY,GAAG,eAAe,CAAC;AAC1C,IAAA,OAAO,EAAE,gBAAgB;AACzB,IAAA,YAAY,EAAE,mBAAmB;AACjC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,QAAQ,EAAE,QAAQ;AACnB,KAAA;AACF,CAAA;;ACrBD;;;;;;;;;;;;AAYG;AACI,MAAM,eAAe,GAAG,eAAe,CAAC;AAC7C,IAAA,OAAO,EAAE,oBAAoB;AAC7B,IAAA,YAAY,EAAE,sBAAsB;AACpC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,QAAQ,EAAE,QAAQ;AACnB,KAAA;AACF,CAAA;;ACpBD;;;;;;;;;;;;AAYG;AACI,MAAM,iBAAiB,GAAG,eAAe,CAAC;AAC/C,IAAA,OAAO,EAAE,qBAAqB;AAC9B,IAAA,YAAY,EAAE,wBAAwB;AACtC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,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{M3eAssistChipElement as a,M3eChipElement as n,M3eChipSetElement as c,M3eFilterChipElement as m,M3eFilterChipSetElement as s,M3eInputChipElement as i,M3eInputChipSetElement as l,M3eSuggestionChipElement as o}from"@m3e/web/chips";const r=t({tagName:"m3e-assist-chip",elementClass:a,react:e,events:{onClick:"click"}}),p=t({tagName:"m3e-chip",elementClass:n,react:e}),g=t({tagName:"m3e-chip-set",elementClass:c,react:e}),h=t({tagName:"m3e-filter-chip",elementClass:m,react:e,events:{onInput:"input",onChange:"change",onClick:"click"}}),C=t({tagName:"m3e-filter-chip-set",elementClass:s,react:e,events:{onInput:"input",onChange:"change"}}),k=t({tagName:"m3e-input-chip",elementClass:i,react:e,events:{onClick:"click",onRemove:"remove"}}),u=t({tagName:"m3e-input-chip-set",elementClass:l,react:e,events:{onChange:"change"}}),v=t({tagName:"m3e-suggestion-chip",elementClass:o,react:e,events:{onClick:"click"}});export{r as M3eAssistChip,p as M3eChip,g as M3eChipSet,h as M3eFilterChip,C as M3eFilterChipSet,k as M3eInputChip,u as M3eInputChipSet,v as M3eSuggestionChip};
|
|
7
|
+
//# sourceMappingURL=chips.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chips.min.js","sources":["../../src/chips/AssistChip.ts","../../src/chips/Chip.ts","../../src/chips/ChipSet.ts","../../src/chips/FilterChip.ts","../../src/chips/FilterChipSet.ts","../../src/chips/InputChip.ts","../../src/chips/InputChipSet.ts","../../src/chips/SuggestionChip.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eAssistChipElement } from \"@m3e/web/chips\";\r\nexport type { M3eAssistChipElement } from \"@m3e/web/chips\";\r\n\r\n/**\r\n * React binding for the `m3e-assist-chip` Web Component from `@m3e/chips`.\r\n *\r\n * This component renders the underlying `<m3e-assist-chip>` 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-assist-chip>` instance for imperative access.\r\n *\r\n * See the `m3e-assist-chip` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eAssistChip = createComponent({\r\n tagName: \"m3e-assist-chip\",\r\n elementClass: M3eAssistChipElement,\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 { M3eChipElement } from \"@m3e/web/chips\";\r\nexport type { ChipVariant, M3eChipElement } from \"@m3e/web/chips\";\r\n\r\n/**\r\n * React binding for the `m3e-chip` Web Component from `@m3e/chips`.\r\n *\r\n * This component renders the underlying `<m3e-chip>` 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-chip>` instance for imperative access.\r\n *\r\n * See the `m3e-chip` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eChip = createComponent({\r\n tagName: \"m3e-chip\",\r\n elementClass: M3eChipElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eChipSetElement } from \"@m3e/web/chips\";\r\nexport type { M3eChipSetElement } from \"@m3e/web/chips\";\r\n\r\n/**\r\n * React binding for the `m3e-chip-set` Web Component from `@m3e/chips`.\r\n *\r\n * This component renders the underlying `<m3e-chip-set>` 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-chip-set>` instance for imperative access.\r\n *\r\n * See the `m3e-chip-set` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eChipSet = createComponent({\r\n tagName: \"m3e-chip-set\",\r\n elementClass: M3eChipSetElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eFilterChipElement } from \"@m3e/web/chips\";\r\nexport type { M3eFilterChipElement } from \"@m3e/web/chips\";\r\n\r\n/**\r\n * React binding for the `m3e-filter-chip` Web Component from `@m3e/chips`.\r\n *\r\n * This component renders the underlying `<m3e-filter-chip>` 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-filter-chip>` instance for imperative access.\r\n *\r\n * See the `m3e-filter-chip` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eFilterChip = createComponent({\r\n tagName: \"m3e-filter-chip\",\r\n elementClass: M3eFilterChipElement,\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 { M3eFilterChipSetElement } from \"@m3e/web/chips\";\r\nexport type { M3eFilterChipSetElement } from \"@m3e/web/chips\";\r\n\r\n/**\r\n * React binding for the `m3e-filter-chip-set` Web Component from `@m3e/chips`.\r\n *\r\n * This component renders the underlying `<m3e-filter-chip-set>` 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-filter-chip-set>` instance for imperative access.\r\n *\r\n * See the `m3e-filter-chip-set` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eFilterChipSet = createComponent({\r\n tagName: \"m3e-filter-chip-set\",\r\n elementClass: M3eFilterChipSetElement,\r\n react: React,\r\n events: {\r\n onInput: \"input\",\r\n onChange: \"change\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eInputChipElement } from \"@m3e/web/chips\";\r\nexport type { M3eInputChipElement } from \"@m3e/web/chips\";\r\n\r\n/**\r\n * React binding for the `m3e-input-chip` Web Component from `@m3e/chips`.\r\n *\r\n * This component renders the underlying `<m3e-input-chip>` 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-input-chip>` instance for imperative access.\r\n *\r\n * See the `m3e-input-chip` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eInputChip = createComponent({\r\n tagName: \"m3e-input-chip\",\r\n elementClass: M3eInputChipElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n onRemove: \"remove\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eInputChipSetElement } from \"@m3e/web/chips\";\r\nexport type { M3eInputChipSetElement } from \"@m3e/web/chips\";\r\n\r\n/**\r\n * React binding for the `m3e-input-chip-set` Web Component from `@m3e/chips`.\r\n *\r\n * This component renders the underlying `<m3e-input-chip-set>` 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-input-chip-set>` instance for imperative access.\r\n *\r\n * See the `m3e-input-chip-set` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eInputChipSet = createComponent({\r\n tagName: \"m3e-input-chip-set\",\r\n elementClass: M3eInputChipSetElement,\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 { M3eSuggestionChipElement } from \"@m3e/web/chips\";\r\nexport type { M3eSuggestionChipElement } from \"@m3e/web/chips\";\r\n\r\n/**\r\n * React binding for the `m3e-suggestion-chip` Web Component from `@m3e/chips`.\r\n *\r\n * This component renders the underlying `<m3e-suggestion-chip>` 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-suggestion-chip>` instance for imperative access.\r\n *\r\n * See the `m3e-suggestion-chip` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eSuggestionChip = createComponent({\r\n tagName: \"m3e-suggestion-chip\",\r\n elementClass: M3eSuggestionChipElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n"],"names":["M3eAssistChip","createComponent","tagName","elementClass","M3eAssistChipElement","react","React","events","onClick","M3eChip","M3eChipElement","M3eChipSet","M3eChipSetElement","M3eFilterChip","M3eFilterChipElement","onInput","onChange","M3eFilterChipSet","M3eFilterChipSetElement","M3eInputChip","M3eInputChipElement","onRemove","M3eInputChipSet","M3eInputChipSetElement","M3eSuggestionChip","M3eSuggestionChipElement"],"mappings":";;;;;gTAmBO,MAAMA,EAAgBC,EAAgB,CAC3CC,QAAS,kBACTC,aAAcC,EACdC,MAAOC,EACPC,OAAQ,CACNC,QAAS,WCLAC,EAAUR,EAAgB,CACrCC,QAAS,WACTC,aAAcO,EACdL,MAAOC,ICHIK,EAAaV,EAAgB,CACxCC,QAAS,eACTC,aAAcS,EACdP,MAAOC,ICHIO,EAAgBZ,EAAgB,CAC3CC,QAAS,kBACTC,aAAcW,EACdT,MAAOC,EACPC,OAAQ,CACNQ,QAAS,QACTC,SAAU,SACVR,QAAS,WCPAS,EAAmBhB,EAAgB,CAC9CC,QAAS,sBACTC,aAAce,EACdb,MAAOC,EACPC,OAAQ,CACNQ,QAAS,QACTC,SAAU,YCNDG,EAAelB,EAAgB,CAC1CC,QAAS,iBACTC,aAAciB,EACdf,MAAOC,EACPC,OAAQ,CACNC,QAAS,QACTa,SAAU,YCNDC,EAAkBrB,EAAgB,CAC7CC,QAAS,qBACTC,aAAcoB,EACdlB,MAAOC,EACPC,OAAQ,CACNS,SAAU,YCLDQ,EAAoBvB,EAAgB,CAC/CC,QAAS,sBACTC,aAAcsB,EACdpB,MAAOC,EACPC,OAAQ,CACNC,QAAS"}
|
package/dist/dialog.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 { M3eDialogElement, M3eDialogActionElement, M3eDialogTriggerElement } from '@m3e/web/dialog';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* React binding for the `m3e-dialog` Web Component from `@m3e/dialog`.
|
|
14
|
+
*
|
|
15
|
+
* This component renders the underlying `<m3e-dialog>` 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-dialog>` instance for imperative access.
|
|
21
|
+
*
|
|
22
|
+
* See the `m3e-dialog` documentation in `@m3e/dialog` for full details on behavior,
|
|
23
|
+
* styling, accessibility, and supported events.
|
|
24
|
+
*/
|
|
25
|
+
const M3eDialog = createComponent({
|
|
26
|
+
tagName: "m3e-dialog",
|
|
27
|
+
elementClass: M3eDialogElement,
|
|
28
|
+
react: React,
|
|
29
|
+
events: {
|
|
30
|
+
onOpening: "opening",
|
|
31
|
+
onOpened: "opened",
|
|
32
|
+
onClosing: "closing",
|
|
33
|
+
onClosed: "closed",
|
|
34
|
+
onCancel: "cancel",
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* React binding for the `m3e-dialog-action` Web Component from `@m3e/dialog`.
|
|
40
|
+
*
|
|
41
|
+
* This component renders the underlying `<m3e-dialog-action>` element and exposes its
|
|
42
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
43
|
+
*
|
|
44
|
+
* Props map directly to element properties, and event handlers receive the
|
|
45
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
46
|
+
* underlying `<m3e-dialog-action>` instance for imperative access.
|
|
47
|
+
*
|
|
48
|
+
* See the `m3e-dialog-action` documentation for full details on behavior, styling,
|
|
49
|
+
* accessibility, and supported events.
|
|
50
|
+
*/
|
|
51
|
+
const M3eDialogAction = createComponent({
|
|
52
|
+
tagName: "m3e-dialog-action",
|
|
53
|
+
elementClass: M3eDialogActionElement,
|
|
54
|
+
react: React,
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* React binding for the `m3e-dialog-trigger` Web Component from `@m3e/dialog`.
|
|
59
|
+
*
|
|
60
|
+
* This component renders the underlying `<m3e-dialog-trigger>` 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-dialog-trigger>` instance for imperative access.
|
|
66
|
+
*
|
|
67
|
+
* See the `m3e-dialog-trigger` documentation for full details on behavior, styling,
|
|
68
|
+
* accessibility, and supported events.
|
|
69
|
+
*/
|
|
70
|
+
const M3eDialogTrigger = createComponent({
|
|
71
|
+
tagName: "m3e-dialog-trigger",
|
|
72
|
+
elementClass: M3eDialogTriggerElement,
|
|
73
|
+
react: React,
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
export { M3eDialog, M3eDialogAction, M3eDialogTrigger };
|
|
77
|
+
//# sourceMappingURL=dialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.js","sources":["../../src/dialog/Dialog.ts","../../src/dialog/DialogAction.ts","../../src/dialog/DialogTrigger.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eDialogElement } from \"@m3e/web/dialog\";\r\nexport type { M3eDialogElement } from \"@m3e/web/dialog\";\r\n\r\n/**\r\n * React binding for the `m3e-dialog` Web Component from `@m3e/dialog`.\r\n *\r\n * This component renders the underlying `<m3e-dialog>` 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-dialog>` instance for imperative access.\r\n *\r\n * See the `m3e-dialog` documentation in `@m3e/dialog` for full details on behavior,\r\n * styling, accessibility, and supported events.\r\n */\r\nexport const M3eDialog = createComponent({\r\n tagName: \"m3e-dialog\",\r\n elementClass: M3eDialogElement,\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 onCancel: \"cancel\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eDialogActionElement } from \"@m3e/web/dialog\";\r\nexport type { M3eDialogActionElement } from \"@m3e/web/dialog\";\r\n\r\n/**\r\n * React binding for the `m3e-dialog-action` Web Component from `@m3e/dialog`.\r\n *\r\n * This component renders the underlying `<m3e-dialog-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-dialog-action>` instance for imperative access.\r\n *\r\n * See the `m3e-dialog-action` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eDialogAction = createComponent({\r\n tagName: \"m3e-dialog-action\",\r\n elementClass: M3eDialogActionElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eDialogTriggerElement } from \"@m3e/web/dialog\";\r\nexport type { M3eDialogTriggerElement } from \"@m3e/web/dialog\";\r\n\r\n/**\r\n * React binding for the `m3e-dialog-trigger` Web Component from `@m3e/dialog`.\r\n *\r\n * This component renders the underlying `<m3e-dialog-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-dialog-trigger>` instance for imperative access.\r\n *\r\n * See the `m3e-dialog-trigger` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eDialogTrigger = createComponent({\r\n tagName: \"m3e-dialog-trigger\",\r\n elementClass: M3eDialogTriggerElement,\r\n react: React,\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,SAAS,GAAG,eAAe,CAAC;AACvC,IAAA,OAAO,EAAE,YAAY;AACrB,IAAA,YAAY,EAAE,gBAAgB;AAC9B,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,QAAQ,EAAE,QAAQ;AACnB,KAAA;AACF,CAAA;;ACxBD;;;;;;;;;;;;AAYG;AACI,MAAM,eAAe,GAAG,eAAe,CAAC;AAC7C,IAAA,OAAO,EAAE,mBAAmB;AAC5B,IAAA,YAAY,EAAE,sBAAsB;AACpC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAC9C,IAAA,OAAO,EAAE,oBAAoB;AAC7B,IAAA,YAAY,EAAE,uBAAuB;AACrC,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 e from"react";import{createComponent as o}from"@lit/react";import{M3eDialogElement as n,M3eDialogActionElement as a,M3eDialogTriggerElement as t}from"@m3e/web/dialog";const l=o({tagName:"m3e-dialog",elementClass:n,react:e,events:{onOpening:"opening",onOpened:"opened",onClosing:"closing",onClosed:"closed",onCancel:"cancel"}}),m=o({tagName:"m3e-dialog-action",elementClass:a,react:e}),i=o({tagName:"m3e-dialog-trigger",elementClass:t,react:e});export{l as M3eDialog,m as M3eDialogAction,i as M3eDialogTrigger};
|
|
7
|
+
//# sourceMappingURL=dialog.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.min.js","sources":["../../src/dialog/Dialog.ts","../../src/dialog/DialogAction.ts","../../src/dialog/DialogTrigger.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eDialogElement } from \"@m3e/web/dialog\";\r\nexport type { M3eDialogElement } from \"@m3e/web/dialog\";\r\n\r\n/**\r\n * React binding for the `m3e-dialog` Web Component from `@m3e/dialog`.\r\n *\r\n * This component renders the underlying `<m3e-dialog>` 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-dialog>` instance for imperative access.\r\n *\r\n * See the `m3e-dialog` documentation in `@m3e/dialog` for full details on behavior,\r\n * styling, accessibility, and supported events.\r\n */\r\nexport const M3eDialog = createComponent({\r\n tagName: \"m3e-dialog\",\r\n elementClass: M3eDialogElement,\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 onCancel: \"cancel\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eDialogActionElement } from \"@m3e/web/dialog\";\r\nexport type { M3eDialogActionElement } from \"@m3e/web/dialog\";\r\n\r\n/**\r\n * React binding for the `m3e-dialog-action` Web Component from `@m3e/dialog`.\r\n *\r\n * This component renders the underlying `<m3e-dialog-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-dialog-action>` instance for imperative access.\r\n *\r\n * See the `m3e-dialog-action` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eDialogAction = createComponent({\r\n tagName: \"m3e-dialog-action\",\r\n elementClass: M3eDialogActionElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eDialogTriggerElement } from \"@m3e/web/dialog\";\r\nexport type { M3eDialogTriggerElement } from \"@m3e/web/dialog\";\r\n\r\n/**\r\n * React binding for the `m3e-dialog-trigger` Web Component from `@m3e/dialog`.\r\n *\r\n * This component renders the underlying `<m3e-dialog-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-dialog-trigger>` instance for imperative access.\r\n *\r\n * See the `m3e-dialog-trigger` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eDialogTrigger = createComponent({\r\n tagName: \"m3e-dialog-trigger\",\r\n elementClass: M3eDialogTriggerElement,\r\n react: React,\r\n});\r\n"],"names":["M3eDialog","createComponent","tagName","elementClass","M3eDialogElement","react","React","events","onOpening","onOpened","onClosing","onClosed","onCancel","M3eDialogAction","M3eDialogActionElement","M3eDialogTrigger","M3eDialogTriggerElement"],"mappings":";;;;;iLAmBO,MAAMA,EAAYC,EAAgB,CACvCC,QAAS,aACTC,aAAcC,EACdC,MAAOC,EACPC,OAAQ,CACNC,UAAW,UACXC,SAAU,SACVC,UAAW,UACXC,SAAU,SACVC,SAAU,YCTDC,EAAkBZ,EAAgB,CAC7CC,QAAS,oBACTC,aAAcW,EACdT,MAAOC,ICHIS,EAAmBd,EAAgB,CAC9CC,QAAS,qBACTC,aAAca,EACdX,MAAOC"}
|