@m3e/react 2.4.0 → 2.5.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/README.md +1 -1
- package/dist/all.js +63 -1
- package/dist/all.js.map +1 -1
- package/dist/all.min.js +1 -1
- package/dist/all.min.js.map +1 -1
- package/dist/breadcrumb.js +52 -0
- package/dist/breadcrumb.js.map +1 -0
- package/dist/breadcrumb.min.js +7 -0
- package/dist/breadcrumb.min.js.map +1 -0
- package/dist/content-pane.js +30 -0
- package/dist/content-pane.js.map +1 -0
- package/dist/content-pane.min.js +7 -0
- package/dist/content-pane.min.js.map +1 -0
- package/dist/src/all.d.ts +2 -0
- package/dist/src/all.d.ts.map +1 -1
- package/dist/src/breadcrumb/Breadcrumb.d.ts +17 -0
- package/dist/src/breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/src/breadcrumb/BreadcrumbItem.d.ts +19 -0
- package/dist/src/breadcrumb/BreadcrumbItem.d.ts.map +1 -0
- package/dist/src/breadcrumb/index.d.ts +3 -0
- package/dist/src/breadcrumb/index.d.ts.map +1 -0
- package/dist/src/content-pane/ContentPane.d.ts +17 -0
- package/dist/src/content-pane/ContentPane.d.ts.map +1 -0
- package/dist/src/content-pane/index.d.ts +2 -0
- package/dist/src/content-pane/index.d.ts.map +1 -0
- package/package.json +10 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @m3e/react
|
|
2
2
|
|
|
3
|
-
The `@m3e/react` package provides idiomatic, typed React bindings for
|
|
3
|
+
The `@m3e/react` package provides idiomatic, typed React bindings for the [`@m3e/web`](https://github.com/matraic/m3e/tree/main/packages/web) component suite, exposing its properties, attributes, and native DOM events through a familiar React interface with full ref forwarding and client‑only compatibility.
|
|
4
4
|
|
|
5
5
|
> **Note:** The React bindings are client‑only. In Next.js, you **must** use them inside a `"use client"` boundary.
|
|
6
6
|
|
package/dist/all.js
CHANGED
|
@@ -10,12 +10,14 @@ import { M3eAutocompleteElement } from '@m3e/web/autocomplete';
|
|
|
10
10
|
import { M3eAvatarElement } from '@m3e/web/avatar';
|
|
11
11
|
import { M3eBadgeElement } from '@m3e/web/badge';
|
|
12
12
|
import { M3eBottomSheetElement, M3eBottomSheetActionElement, M3eBottomSheetTriggerElement } from '@m3e/web/bottom-sheet';
|
|
13
|
+
import { M3eBreadcrumbElement, M3eBreadcrumbItemElement } from '@m3e/web/breadcrumb';
|
|
13
14
|
import { M3eButtonElement } from '@m3e/web/button';
|
|
14
15
|
import { M3eButtonGroupElement } from '@m3e/web/button-group';
|
|
15
16
|
import { M3eCalendarElement } from '@m3e/web/calendar';
|
|
16
17
|
import { M3eCardElement } from '@m3e/web/card';
|
|
17
18
|
import { M3eCheckboxElement } from '@m3e/web/checkbox';
|
|
18
19
|
import { M3eAssistChipElement, M3eChipElement, M3eChipSetElement, M3eFilterChipElement, M3eFilterChipSetElement, M3eInputChipElement, M3eInputChipSetElement, M3eSuggestionChipElement } from '@m3e/web/chips';
|
|
20
|
+
import { M3eContentPaneElement } from '@m3e/web/content-pane';
|
|
19
21
|
import { M3eCollapsibleElement, M3eElevationElement, M3eFocusRingElement, M3ePseudoCheckboxElement, M3ePseudoRadioElement, M3eRippleElement, M3eScrollContainerElement, M3eSlideElement, M3eStateLayerElement, M3eTextHighlightElement, M3eTextOverflowElement } from '@m3e/web/core';
|
|
20
22
|
import { M3eDatepickerElement, M3eDatepickerToggleElement } from '@m3e/web/datepicker';
|
|
21
23
|
import { M3eDialogElement, M3eDialogActionElement, M3eDialogTriggerElement } from '@m3e/web/dialog';
|
|
@@ -203,6 +205,47 @@ const M3eBottomSheetTrigger = createComponent({
|
|
|
203
205
|
react: React
|
|
204
206
|
});
|
|
205
207
|
|
|
208
|
+
/**
|
|
209
|
+
* React binding for the `m3e-breadcrumb` Web Component from `@m3e/web/breadcrumb`.
|
|
210
|
+
*
|
|
211
|
+
* This component renders the underlying `<m3e-breadcrumb>` element and exposes its
|
|
212
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
213
|
+
*
|
|
214
|
+
* Props map directly to element properties, and event handlers receive the
|
|
215
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
216
|
+
* underlying `<m3e-breadcrumb>` instance for imperative access.
|
|
217
|
+
*
|
|
218
|
+
* See the `m3e-breadcrumb` documentation for full details on behavior,
|
|
219
|
+
* styling, accessibility, and supported events.
|
|
220
|
+
*/
|
|
221
|
+
const M3eBreadcrumb = createComponent({
|
|
222
|
+
tagName: "m3e-breadcrumb",
|
|
223
|
+
elementClass: M3eBreadcrumbElement,
|
|
224
|
+
react: React
|
|
225
|
+
});
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* React binding for the `m3e-breadcrumb-item` Web Component from `@m3e/web/breadcrumb`.
|
|
229
|
+
*
|
|
230
|
+
* This component renders the underlying `<m3e-breadcrumb-item>` element and exposes its
|
|
231
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
232
|
+
*
|
|
233
|
+
* Props map directly to element properties, and event handlers receive the
|
|
234
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
235
|
+
* underlying `<m3e-breadcrumb-item>` instance for imperative access.
|
|
236
|
+
*
|
|
237
|
+
* See the `m3e-breadcrumb-item` documentation for full details on behavior,
|
|
238
|
+
* styling, accessibility, and supported events.
|
|
239
|
+
*/
|
|
240
|
+
const M3eBreadcrumbItem = createComponent({
|
|
241
|
+
tagName: "m3e-breadcrumb-item",
|
|
242
|
+
elementClass: M3eBreadcrumbItemElement,
|
|
243
|
+
react: React,
|
|
244
|
+
events: {
|
|
245
|
+
onClick: "click"
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
|
|
206
249
|
/**
|
|
207
250
|
* React binding for the `m3e-button` Web Component from `@m3e/web/button`.
|
|
208
251
|
*
|
|
@@ -489,6 +532,25 @@ const M3eSuggestionChip = createComponent({
|
|
|
489
532
|
}
|
|
490
533
|
});
|
|
491
534
|
|
|
535
|
+
/**
|
|
536
|
+
* React binding for the `m3e-content-pane` Web Component from `@m3e/web/content-pane`.
|
|
537
|
+
*
|
|
538
|
+
* This component renders the underlying `<m3e-content-pane>` element and exposes its
|
|
539
|
+
* properties, attributes, and events through an idiomatic React interface.
|
|
540
|
+
*
|
|
541
|
+
* Props map directly to element properties, and event handlers receive the
|
|
542
|
+
* native DOM events dispatched by the component. Refs are forwarded to the
|
|
543
|
+
* underlying `<m3e-content-pane>` instance for imperative access.
|
|
544
|
+
*
|
|
545
|
+
* See the `m3e-content-pane` documentation for full details on behavior,
|
|
546
|
+
* styling, accessibility, and supported events.
|
|
547
|
+
*/
|
|
548
|
+
const M3eContentPane = createComponent({
|
|
549
|
+
tagName: "m3e-content-pane",
|
|
550
|
+
elementClass: M3eContentPaneElement,
|
|
551
|
+
react: React
|
|
552
|
+
});
|
|
553
|
+
|
|
492
554
|
/**
|
|
493
555
|
* React binding for the `m3e-collapsible` Web Component from `@m3e/web/web/core`.
|
|
494
556
|
*
|
|
@@ -2330,5 +2392,5 @@ const M3eTreeItem = createComponent({
|
|
|
2330
2392
|
}
|
|
2331
2393
|
});
|
|
2332
2394
|
|
|
2333
|
-
export { M3eAccordion, M3eActionList, M3eAppBar, M3eAssistChip, M3eAutocomplete, M3eAvatar, M3eBadge, M3eBottomSheet, M3eBottomSheetAction, M3eBottomSheetTrigger, M3eButton, M3eButtonGroup, M3eButtonSegment, M3eCalendar, M3eCard, M3eCheckbox, M3eChip, M3eChipSet, M3eCircularProgressIndicator, M3eCollapsible, M3eDatepicker, M3eDatepickerToggle, M3eDialog, M3eDialogAction, M3eDialogTrigger, M3eDivider, M3eDrawerContainer, M3eDrawerToggle, M3eElevation, M3eExpandableListItem, M3eExpansionPanel, M3eFab, M3eFabMenu, M3eFabMenuItem, M3eFabMenuTrigger, M3eFilterChip, M3eFilterChipSet, M3eFocusRing, M3eFormField, M3eHeading, M3eIcon, M3eIconButton, M3eInputChip, M3eInputChipSet, M3eLinearProgressIndicator, M3eList, M3eListAction, M3eListItem, M3eListOption, M3eLoadingIndicator, M3eMenu, M3eMenuItem, M3eMenuItemCheckbox, M3eMenuItemGroup, M3eMenuItemRadio, M3eMenuTrigger, M3eNavBar, M3eNavItem, M3eNavMenu, M3eNavMenuItem, M3eNavMenuItemGroup, M3eNavRail, M3eNavRailToggle, M3eOptGroup, M3eOption, M3ePaginator, M3ePseudoCheckbox, M3ePseudoRadio, M3eRadio, M3eRadioGroup, M3eRichTooltip, M3eRichTooltipAction, M3eRipple, M3eScrollContainer, M3eSearchBar, M3eSearchView, M3eSegmentedButton, M3eSelect, M3eSelectionList, M3eShape, M3eSkeleton, M3eSlide, M3eSlideGroup, M3eSlider, M3eSliderThumb, M3eSplitButton, M3eSplitPane, M3eStateLayer, M3eStep, M3eStepPanel, M3eStepper, M3eStepperNext, M3eStepperPrevious, M3eStepperReset, M3eSuggestionChip, M3eSwitch, M3eTab, M3eTabPanel, M3eTabs, M3eTextHighlight, M3eTextOverflow, M3eTextareaAutosize, M3eTheme, M3eToc, M3eToolbar, M3eTooltip, M3eTree, M3eTreeItem };
|
|
2395
|
+
export { M3eAccordion, M3eActionList, M3eAppBar, M3eAssistChip, M3eAutocomplete, M3eAvatar, M3eBadge, M3eBottomSheet, M3eBottomSheetAction, M3eBottomSheetTrigger, M3eBreadcrumb, M3eBreadcrumbItem, M3eButton, M3eButtonGroup, M3eButtonSegment, M3eCalendar, M3eCard, M3eCheckbox, M3eChip, M3eChipSet, M3eCircularProgressIndicator, M3eCollapsible, M3eContentPane, M3eDatepicker, M3eDatepickerToggle, M3eDialog, M3eDialogAction, M3eDialogTrigger, M3eDivider, M3eDrawerContainer, M3eDrawerToggle, M3eElevation, M3eExpandableListItem, M3eExpansionPanel, M3eFab, M3eFabMenu, M3eFabMenuItem, M3eFabMenuTrigger, M3eFilterChip, M3eFilterChipSet, M3eFocusRing, M3eFormField, M3eHeading, M3eIcon, M3eIconButton, M3eInputChip, M3eInputChipSet, M3eLinearProgressIndicator, M3eList, M3eListAction, M3eListItem, M3eListOption, M3eLoadingIndicator, M3eMenu, M3eMenuItem, M3eMenuItemCheckbox, M3eMenuItemGroup, M3eMenuItemRadio, M3eMenuTrigger, M3eNavBar, M3eNavItem, M3eNavMenu, M3eNavMenuItem, M3eNavMenuItemGroup, M3eNavRail, M3eNavRailToggle, M3eOptGroup, M3eOption, M3ePaginator, M3ePseudoCheckbox, M3ePseudoRadio, M3eRadio, M3eRadioGroup, M3eRichTooltip, M3eRichTooltipAction, M3eRipple, M3eScrollContainer, M3eSearchBar, M3eSearchView, M3eSegmentedButton, M3eSelect, M3eSelectionList, M3eShape, M3eSkeleton, M3eSlide, M3eSlideGroup, M3eSlider, M3eSliderThumb, M3eSplitButton, M3eSplitPane, M3eStateLayer, M3eStep, M3eStepPanel, M3eStepper, M3eStepperNext, M3eStepperPrevious, M3eStepperReset, M3eSuggestionChip, M3eSwitch, M3eTab, M3eTabPanel, M3eTabs, M3eTextHighlight, M3eTextOverflow, M3eTextareaAutosize, M3eTheme, M3eToc, M3eToolbar, M3eTooltip, M3eTree, M3eTreeItem };
|
|
2334
2396
|
//# sourceMappingURL=all.js.map
|