@m3e/react 2.12.1 → 2.13.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.
@@ -0,0 +1,77 @@
1
+ /**
2
+ * @license MIT
3
+ * Copyright (c) 2025–2026 matraic
4
+ * See LICENSE file in the project root for full license text.
5
+ */
6
+ import React from 'react';
7
+ import { createComponent } from '@lit/react';
8
+ import { M3eCarouselElement, M3eCarouselGridElement, M3eCarouselItemElement } from '@m3e/web/carousel';
9
+
10
+ /**
11
+ * React binding for the `m3e-carousel` Web Component from `@m3e/web/carousel`.
12
+ *
13
+ * This component renders the underlying `<m3e-carousel>` element and exposes its
14
+ * properties, attributes, and events through an idiomatic React interface.
15
+ *
16
+ * Props map directly to element properties, and event handlers receive the
17
+ * native DOM events dispatched by the component. Refs are forwarded to the
18
+ * underlying `<m3e-carousel>` instance for imperative access.
19
+ *
20
+ * See the `m3e-carousel` documentation for full details on behavior, styling,
21
+ * accessibility, and supported events.
22
+ */
23
+ const M3eCarousel = createComponent({
24
+ tagName: "m3e-carousel",
25
+ elementClass: M3eCarouselElement,
26
+ react: React,
27
+ events: {
28
+ onChange: "change"
29
+ }
30
+ });
31
+
32
+ /**
33
+ * React binding for the `m3e-carousel-grid` Web Component from `@m3e/web/carousel`.
34
+ *
35
+ * This component renders the underlying `<m3e-carousel-grid>` element and exposes its
36
+ * properties, attributes, and events through an idiomatic React interface.
37
+ *
38
+ * Props map directly to element properties, and event handlers receive the
39
+ * native DOM events dispatched by the component. Refs are forwarded to the
40
+ * underlying `<m3e-carousel-grid>` instance for imperative access.
41
+ *
42
+ * See the `m3e-carousel-grid` documentation for full details on behavior, styling,
43
+ * accessibility, and supported events.
44
+ */
45
+ const M3eCarouselGrid = createComponent({
46
+ tagName: "m3e-carousel-grid",
47
+ elementClass: M3eCarouselGridElement,
48
+ react: React,
49
+ events: {
50
+ onChange: "change"
51
+ }
52
+ });
53
+
54
+ /**
55
+ * React binding for the `m3e-carousel-item` Web Component from `@m3e/web/carousel`.
56
+ *
57
+ * This component renders the underlying `<m3e-carousel-item>` element and exposes its
58
+ * properties, attributes, and events through an idiomatic React interface.
59
+ *
60
+ * Props map directly to element properties, and event handlers receive the
61
+ * native DOM events dispatched by the component. Refs are forwarded to the
62
+ * underlying `<m3e-carousel-item>` instance for imperative access.
63
+ *
64
+ * See the `m3e-carousel-item` documentation for full details on behavior, styling,
65
+ * accessibility, and supported events.
66
+ */
67
+ const M3eCarouselItem = createComponent({
68
+ tagName: "m3e-carousel-item",
69
+ elementClass: M3eCarouselItemElement,
70
+ react: React,
71
+ events: {
72
+ onClick: "click"
73
+ }
74
+ });
75
+
76
+ export { M3eCarousel, M3eCarouselGrid, M3eCarouselItem };
77
+ //# sourceMappingURL=carousel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel.js","sources":["../../src/carousel/Carousel.ts","../../src/carousel/CarouselGrid.ts","../../src/carousel/CarouselItem.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent, EventName } from \"@lit/react\";\r\n\r\nimport { M3eCarouselElement, CarouselChangeDetail } from \"@m3e/web/carousel\";\r\nexport type { M3eCarouselElement, CarouselChangeDetail, CarouselVariant } from \"@m3e/web/carousel\";\r\n\r\n/**\r\n * React binding for the `m3e-carousel` Web Component from `@m3e/web/carousel`.\r\n *\r\n * This component renders the underlying `<m3e-carousel>` 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-carousel>` instance for imperative access.\r\n *\r\n * See the `m3e-carousel` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eCarousel = createComponent({\r\n tagName: \"m3e-carousel\",\r\n elementClass: M3eCarouselElement,\r\n react: React,\r\n events: {\r\n onChange: \"change\" as EventName<CustomEvent<CarouselChangeDetail>>,\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent, EventName } from \"@lit/react\";\r\n\r\nimport { M3eCarouselGridElement, CarouselChangeDetail } from \"@m3e/web/carousel\";\r\nexport type { M3eCarouselGridElement } from \"@m3e/web/carousel\";\r\n\r\n/**\r\n * React binding for the `m3e-carousel-grid` Web Component from `@m3e/web/carousel`.\r\n *\r\n * This component renders the underlying `<m3e-carousel-grid>` 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-carousel-grid>` instance for imperative access.\r\n *\r\n * See the `m3e-carousel-grid` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eCarouselGrid = createComponent({\r\n tagName: \"m3e-carousel-grid\",\r\n elementClass: M3eCarouselGridElement,\r\n react: React,\r\n events: {\r\n onChange: \"change\" as EventName<CustomEvent<CarouselChangeDetail>>,\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eCarouselItemElement } from \"@m3e/web/carousel\";\r\nexport type { M3eCarouselItemElement } from \"@m3e/web/carousel\";\r\n\r\n/**\r\n * React binding for the `m3e-carousel-item` Web Component from `@m3e/web/carousel`.\r\n *\r\n * This component renders the underlying `<m3e-carousel-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-carousel-item>` instance for imperative access.\r\n *\r\n * See the `m3e-carousel-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eCarouselItem = createComponent({\r\n tagName: \"m3e-carousel-item\",\r\n elementClass: M3eCarouselItemElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n"],"names":["M3eCarousel","createComponent","tagName","elementClass","M3eCarouselElement","react","React","events","onChange","M3eCarouselGrid","M3eCarouselGridElement","M3eCarouselItem","M3eCarouselItemElement","onClick"],"mappings":";;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAMA,WAAW,GAAGC,eAAe,CAAC;AACzCC,EAAAA,OAAO,EAAE,cAAc;AACvBC,EAAAA,YAAY,EAAEC,kBAAkB;AAChCC,EAAAA,KAAK,EAAEC,KAAK;AACZC,EAAAA,MAAM,EAAE;AACNC,IAAAA,QAAQ,EAAE;AACX;AACF,CAAA;;ACpBD;;;;;;;;;;;;AAYG;AACI,MAAMC,eAAe,GAAGR,eAAe,CAAC;AAC7CC,EAAAA,OAAO,EAAE,mBAAmB;AAC5BC,EAAAA,YAAY,EAAEO,sBAAsB;AACpCL,EAAAA,KAAK,EAAEC,KAAK;AACZC,EAAAA,MAAM,EAAE;AACNC,IAAAA,QAAQ,EAAE;AACX;AACF,CAAA;;ACpBD;;;;;;;;;;;;AAYG;AACI,MAAMG,eAAe,GAAGV,eAAe,CAAC;AAC7CC,EAAAA,OAAO,EAAE,mBAAmB;AAC5BC,EAAAA,YAAY,EAAES,sBAAsB;AACpCP,EAAAA,KAAK,EAAEC,KAAK;AACZC,EAAAA,MAAM,EAAE;AACNM,IAAAA,OAAO,EAAE;AACV;AACF,CAAA;;;;"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license MIT
3
+ * Copyright (c) 2025–2026 matraic
4
+ * See LICENSE file in the project root for full license text.
5
+ */
6
+ import e from"react";import{createComponent as a}from"@lit/react";import{M3eCarouselElement as t,M3eCarouselGridElement as m,M3eCarouselItemElement as r}from"@m3e/web/carousel";const c=a({tagName:"m3e-carousel",elementClass:t,react:e,events:{onChange:"change"}}),o=a({tagName:"m3e-carousel-grid",elementClass:m,react:e,events:{onChange:"change"}}),n=a({tagName:"m3e-carousel-item",elementClass:r,react:e,events:{onClick:"click"}});export{c as M3eCarousel,o as M3eCarouselGrid,n as M3eCarouselItem};
7
+ //# sourceMappingURL=carousel.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carousel.min.js","sources":["../../src/carousel/Carousel.ts","../../src/carousel/CarouselGrid.ts","../../src/carousel/CarouselItem.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent, EventName } from \"@lit/react\";\r\n\r\nimport { M3eCarouselElement, CarouselChangeDetail } from \"@m3e/web/carousel\";\r\nexport type { M3eCarouselElement, CarouselChangeDetail, CarouselVariant } from \"@m3e/web/carousel\";\r\n\r\n/**\r\n * React binding for the `m3e-carousel` Web Component from `@m3e/web/carousel`.\r\n *\r\n * This component renders the underlying `<m3e-carousel>` 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-carousel>` instance for imperative access.\r\n *\r\n * See the `m3e-carousel` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eCarousel = createComponent({\r\n tagName: \"m3e-carousel\",\r\n elementClass: M3eCarouselElement,\r\n react: React,\r\n events: {\r\n onChange: \"change\" as EventName<CustomEvent<CarouselChangeDetail>>,\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent, EventName } from \"@lit/react\";\r\n\r\nimport { M3eCarouselGridElement, CarouselChangeDetail } from \"@m3e/web/carousel\";\r\nexport type { M3eCarouselGridElement } from \"@m3e/web/carousel\";\r\n\r\n/**\r\n * React binding for the `m3e-carousel-grid` Web Component from `@m3e/web/carousel`.\r\n *\r\n * This component renders the underlying `<m3e-carousel-grid>` 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-carousel-grid>` instance for imperative access.\r\n *\r\n * See the `m3e-carousel-grid` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eCarouselGrid = createComponent({\r\n tagName: \"m3e-carousel-grid\",\r\n elementClass: M3eCarouselGridElement,\r\n react: React,\r\n events: {\r\n onChange: \"change\" as EventName<CustomEvent<CarouselChangeDetail>>,\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eCarouselItemElement } from \"@m3e/web/carousel\";\r\nexport type { M3eCarouselItemElement } from \"@m3e/web/carousel\";\r\n\r\n/**\r\n * React binding for the `m3e-carousel-item` Web Component from `@m3e/web/carousel`.\r\n *\r\n * This component renders the underlying `<m3e-carousel-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-carousel-item>` instance for imperative access.\r\n *\r\n * See the `m3e-carousel-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eCarouselItem = createComponent({\r\n tagName: \"m3e-carousel-item\",\r\n elementClass: M3eCarouselItemElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n"],"names":["M3eCarousel","createComponent","tagName","elementClass","M3eCarouselElement","react","React","events","onChange","M3eCarouselGrid","M3eCarouselGridElement","M3eCarouselItem","M3eCarouselItemElement","onClick"],"mappings":";;;;;iLAmBO,MAAMA,EAAcC,EAAgB,CACzCC,QAAS,eACTC,aAAcC,EACdC,MAAOC,EACPC,OAAQ,CACNC,SAAU,YCLDC,EAAkBR,EAAgB,CAC7CC,QAAS,oBACTC,aAAcO,EACdL,MAAOC,EACPC,OAAQ,CACNC,SAAU,YCLDG,EAAkBV,EAAgB,CAC7CC,QAAS,oBACTC,aAAcS,EACdP,MAAOC,EACPC,OAAQ,CACNM,QAAS"}
package/dist/src/all.d.ts CHANGED
@@ -9,6 +9,7 @@ export * from "./button-group";
9
9
  export * from "./calendar";
10
10
  export * from "./callout";
11
11
  export * from "./card";
12
+ export * from "./carousel";
12
13
  export * from "./checkbox";
13
14
  export * from "./chips";
14
15
  export * from "./content-pane";
@@ -1 +1 @@
1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C;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { EventName } from "@lit/react";
2
+ import { M3eCarouselElement, CarouselChangeDetail } from "@m3e/web/carousel";
3
+ export type { M3eCarouselElement, CarouselChangeDetail, CarouselVariant } from "@m3e/web/carousel";
4
+ /**
5
+ * React binding for the `m3e-carousel` Web Component from `@m3e/web/carousel`.
6
+ *
7
+ * This component renders the underlying `<m3e-carousel>` element and exposes its
8
+ * properties, attributes, and events through an idiomatic React interface.
9
+ *
10
+ * Props map directly to element properties, and event handlers receive the
11
+ * native DOM events dispatched by the component. Refs are forwarded to the
12
+ * underlying `<m3e-carousel>` instance for imperative access.
13
+ *
14
+ * See the `m3e-carousel` documentation for full details on behavior, styling,
15
+ * accessibility, and supported events.
16
+ */
17
+ export declare const M3eCarousel: import("@lit/react").ReactWebComponent<M3eCarouselElement, {
18
+ onChange: EventName<CustomEvent<CarouselChangeDetail>>;
19
+ }>;
20
+ //# sourceMappingURL=Carousel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../src/carousel/Carousel.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,SAAS,EAAE,MAAM,YAAY,CAAC;AAExD,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC7E,YAAY,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEnG;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,WAAW;cAKE,SAAS,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;EAEpE,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { EventName } from "@lit/react";
2
+ import { M3eCarouselGridElement, CarouselChangeDetail } from "@m3e/web/carousel";
3
+ export type { M3eCarouselGridElement } from "@m3e/web/carousel";
4
+ /**
5
+ * React binding for the `m3e-carousel-grid` Web Component from `@m3e/web/carousel`.
6
+ *
7
+ * This component renders the underlying `<m3e-carousel-grid>` element and exposes its
8
+ * properties, attributes, and events through an idiomatic React interface.
9
+ *
10
+ * Props map directly to element properties, and event handlers receive the
11
+ * native DOM events dispatched by the component. Refs are forwarded to the
12
+ * underlying `<m3e-carousel-grid>` instance for imperative access.
13
+ *
14
+ * See the `m3e-carousel-grid` documentation for full details on behavior, styling,
15
+ * accessibility, and supported events.
16
+ */
17
+ export declare const M3eCarouselGrid: import("@lit/react").ReactWebComponent<M3eCarouselGridElement, {
18
+ onChange: EventName<CustomEvent<CarouselChangeDetail>>;
19
+ }>;
20
+ //# sourceMappingURL=CarouselGrid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CarouselGrid.d.ts","sourceRoot":"","sources":["../../../src/carousel/CarouselGrid.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,SAAS,EAAE,MAAM,YAAY,CAAC;AAExD,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACjF,YAAY,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEhE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe;cAKF,SAAS,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;EAEpE,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { M3eCarouselItemElement } from "@m3e/web/carousel";
2
+ export type { M3eCarouselItemElement } from "@m3e/web/carousel";
3
+ /**
4
+ * React binding for the `m3e-carousel-item` Web Component from `@m3e/web/carousel`.
5
+ *
6
+ * This component renders the underlying `<m3e-carousel-item>` element and exposes its
7
+ * properties, attributes, and events through an idiomatic React interface.
8
+ *
9
+ * Props map directly to element properties, and event handlers receive the
10
+ * native DOM events dispatched by the component. Refs are forwarded to the
11
+ * underlying `<m3e-carousel-item>` instance for imperative access.
12
+ *
13
+ * See the `m3e-carousel-item` documentation for full details on behavior, styling,
14
+ * accessibility, and supported events.
15
+ */
16
+ export declare const M3eCarouselItem: import("@lit/react").ReactWebComponent<M3eCarouselItemElement, {
17
+ onClick: string;
18
+ }>;
19
+ //# sourceMappingURL=CarouselItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CarouselItem.d.ts","sourceRoot":"","sources":["../../../src/carousel/CarouselItem.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,YAAY,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEhE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe;;EAO1B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./Carousel";
2
+ export * from "./CarouselGrid";
3
+ export * from "./CarouselItem";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/carousel/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m3e/react",
3
- "version": "2.12.1",
3
+ "version": "2.13.0",
4
4
  "description": "React bindings for M3E Web Components",
5
5
  "author": "matraic <matraic@yahoo.com>",
6
6
  "license": "MIT",
@@ -59,6 +59,10 @@
59
59
  "types": "./dist/src/card/index.d.ts",
60
60
  "default": "./dist/card.js"
61
61
  },
62
+ "./carousel": {
63
+ "types": "./dist/src/carousel/index.d.ts",
64
+ "default": "./dist/carousel.js"
65
+ },
62
66
  "./checkbox": {
63
67
  "types": "./dist/src/checkbox/index.d.ts",
64
68
  "default": "./dist/checkbox.js"
@@ -264,7 +268,7 @@
264
268
  },
265
269
  "peerDependencies": {
266
270
  "@lit/react": "^1.0.8",
267
- "@m3e/web": "^2.12.1",
271
+ "@m3e/web": "^2.13.0",
268
272
  "lit": "^3.3.0",
269
273
  "react": ">=18"
270
274
  }