@m3e/react 2.1.1 → 2.1.3

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.
Files changed (99) hide show
  1. package/dist/all.js +487 -488
  2. package/dist/all.js.map +1 -1
  3. package/dist/app-bar.js +3 -4
  4. package/dist/app-bar.js.map +1 -1
  5. package/dist/autocomplete.js +7 -8
  6. package/dist/autocomplete.js.map +1 -1
  7. package/dist/avatar.js +3 -4
  8. package/dist/avatar.js.map +1 -1
  9. package/dist/badge.js +3 -4
  10. package/dist/badge.js.map +1 -1
  11. package/dist/bottom-sheet.js +16 -17
  12. package/dist/bottom-sheet.js.map +1 -1
  13. package/dist/button-group.js +3 -4
  14. package/dist/button-group.js.map +1 -1
  15. package/dist/button.js +8 -9
  16. package/dist/button.js.map +1 -1
  17. package/dist/card.js +6 -7
  18. package/dist/card.js.map +1 -1
  19. package/dist/checkbox.js +9 -10
  20. package/dist/checkbox.js.map +1 -1
  21. package/dist/chips.js +46 -47
  22. package/dist/chips.js.map +1 -1
  23. package/dist/core.js +39 -40
  24. package/dist/core.js.map +1 -1
  25. package/dist/dialog.js +16 -17
  26. package/dist/dialog.js.map +1 -1
  27. package/dist/divider.js +3 -4
  28. package/dist/divider.js.map +1 -1
  29. package/dist/drawer-container.js +9 -10
  30. package/dist/drawer-container.js.map +1 -1
  31. package/dist/expansion-panel.js +12 -13
  32. package/dist/expansion-panel.js.map +1 -1
  33. package/dist/fab-menu.js +16 -17
  34. package/dist/fab-menu.js.map +1 -1
  35. package/dist/fab.js +6 -7
  36. package/dist/fab.js.map +1 -1
  37. package/dist/form-field.js +3 -4
  38. package/dist/form-field.js.map +1 -1
  39. package/dist/heading.js +3 -4
  40. package/dist/heading.js.map +1 -1
  41. package/dist/icon-button.js +8 -9
  42. package/dist/icon-button.js.map +1 -1
  43. package/dist/icon.js +3 -4
  44. package/dist/icon.js.map +1 -1
  45. package/dist/index.js +0 -1
  46. package/dist/index.js.map +1 -1
  47. package/dist/index.min.js +7 -0
  48. package/dist/index.min.js.map +1 -0
  49. package/dist/list.js +39 -40
  50. package/dist/list.js.map +1 -1
  51. package/dist/loading-indicator.js +3 -4
  52. package/dist/loading-indicator.js.map +1 -1
  53. package/dist/menu.js +31 -32
  54. package/dist/menu.js.map +1 -1
  55. package/dist/nav-bar.js +14 -15
  56. package/dist/nav-bar.js.map +1 -1
  57. package/dist/nav-menu.js +16 -17
  58. package/dist/nav-menu.js.map +1 -1
  59. package/dist/nav-rail.js +9 -10
  60. package/dist/nav-rail.js.map +1 -1
  61. package/dist/option.js +6 -7
  62. package/dist/option.js.map +1 -1
  63. package/dist/paginator.js +6 -7
  64. package/dist/paginator.js.map +1 -1
  65. package/dist/progress-indicator.js +6 -7
  66. package/dist/progress-indicator.js.map +1 -1
  67. package/dist/radio-group.js +14 -15
  68. package/dist/radio-group.js.map +1 -1
  69. package/dist/segmented-button.js +15 -16
  70. package/dist/segmented-button.js.map +1 -1
  71. package/dist/select.js +7 -8
  72. package/dist/select.js.map +1 -1
  73. package/dist/shape.js +3 -4
  74. package/dist/shape.js.map +1 -1
  75. package/dist/slide-group.js +3 -4
  76. package/dist/slide-group.js.map +1 -1
  77. package/dist/slider.js +11 -12
  78. package/dist/slider.js.map +1 -1
  79. package/dist/snackbar.js +0 -1
  80. package/dist/snackbar.js.map +1 -1
  81. package/dist/split-button.js +3 -4
  82. package/dist/split-button.js.map +1 -1
  83. package/dist/stepper.js +26 -27
  84. package/dist/stepper.js.map +1 -1
  85. package/dist/switch.js +8 -9
  86. package/dist/switch.js.map +1 -1
  87. package/dist/tabs.js +17 -18
  88. package/dist/tabs.js.map +1 -1
  89. package/dist/textarea-autosize.js +3 -4
  90. package/dist/textarea-autosize.js.map +1 -1
  91. package/dist/theme.js +6 -7
  92. package/dist/theme.js.map +1 -1
  93. package/dist/toc.js +3 -4
  94. package/dist/toc.js.map +1 -1
  95. package/dist/toolbar.js +3 -4
  96. package/dist/toolbar.js.map +1 -1
  97. package/dist/tooltip.js +13 -14
  98. package/dist/tooltip.js.map +1 -1
  99. package/package.json +2 -2
@@ -3,7 +3,6 @@
3
3
  * Copyright (c) 2025 matraic
4
4
  * See LICENSE file in the project root for full license text.
5
5
  */
6
-
7
6
  import React from 'react';
8
7
  import { createComponent } from '@lit/react';
9
8
  import { M3eSplitButtonElement } from '@m3e/web/split-button';
@@ -22,9 +21,9 @@ import { M3eSplitButtonElement } from '@m3e/web/split-button';
22
21
  * accessibility, and supported events.
23
22
  */
24
23
  const M3eSplitButton = createComponent({
25
- tagName: "m3e-split-button",
26
- elementClass: M3eSplitButtonElement,
27
- react: React,
24
+ tagName: "m3e-split-button",
25
+ elementClass: M3eSplitButtonElement,
26
+ react: React
28
27
  });
29
28
 
30
29
  export { M3eSplitButton };
@@ -1 +1 @@
1
- {"version":3,"file":"split-button.js","sources":["../../src/split-button/SplitButton.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eSplitButtonElement } from \"@m3e/web/split-button\";\r\nexport type { M3eSplitButtonElement, SplitButtonVariant } from \"@m3e/web/split-button\";\r\n\r\n/**\r\n * React binding for the `m3e-split-button` Web Component from `@m3e/web/split-button`.\r\n *\r\n * This component renders the underlying `<m3e-split-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-split-button>` instance for imperative access.\r\n *\r\n * See the `m3e-split-button` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eSplitButton = createComponent({\r\n tagName: \"m3e-split-button\",\r\n elementClass: M3eSplitButtonElement,\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;;;;"}
1
+ {"version":3,"file":"split-button.js","sources":["../../src/split-button/SplitButton.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eSplitButtonElement } from \"@m3e/web/split-button\";\r\nexport type { M3eSplitButtonElement, SplitButtonVariant } from \"@m3e/web/split-button\";\r\n\r\n/**\r\n * React binding for the `m3e-split-button` Web Component from `@m3e/web/split-button`.\r\n *\r\n * This component renders the underlying `<m3e-split-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-split-button>` instance for imperative access.\r\n *\r\n * See the `m3e-split-button` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eSplitButton = createComponent({\r\n tagName: \"m3e-split-button\",\r\n elementClass: M3eSplitButtonElement,\r\n react: React,\r\n});\r\n"],"names":["M3eSplitButton","createComponent","tagName","elementClass","M3eSplitButtonElement","react","React"],"mappings":";;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAMA,cAAc,GAAGC,eAAe,CAAC;AAC5CC,EAAAA,OAAO,EAAE,kBAAkB;AAC3BC,EAAAA,YAAY,EAAEC,qBAAqB;AACnCC,EAAAA,KAAK,EAAEC;AACR,CAAA;;;;"}
package/dist/stepper.js CHANGED
@@ -3,7 +3,6 @@
3
3
  * Copyright (c) 2025 matraic
4
4
  * See LICENSE file in the project root for full license text.
5
5
  */
6
-
7
6
  import React from 'react';
8
7
  import { createComponent } from '@lit/react';
9
8
  import { M3eStepElement, M3eStepPanelElement, M3eStepperElement, M3eStepperNextElement, M3eStepperPreviousElement, M3eStepperResetElement } from '@m3e/web/stepper';
@@ -22,14 +21,14 @@ import { M3eStepElement, M3eStepPanelElement, M3eStepperElement, M3eStepperNextE
22
21
  * accessibility, and supported events.
23
22
  */
24
23
  const M3eStep = createComponent({
25
- tagName: "m3e-step",
26
- elementClass: M3eStepElement,
27
- react: React,
28
- events: {
29
- onInput: "input",
30
- onChange: "change",
31
- onClick: "click",
32
- },
24
+ tagName: "m3e-step",
25
+ elementClass: M3eStepElement,
26
+ react: React,
27
+ events: {
28
+ onInput: "input",
29
+ onChange: "change",
30
+ onClick: "click"
31
+ }
33
32
  });
34
33
 
35
34
  /**
@@ -46,9 +45,9 @@ const M3eStep = createComponent({
46
45
  * accessibility, and supported events.
47
46
  */
48
47
  const M3eStepPanel = createComponent({
49
- tagName: "m3e-step-panel",
50
- elementClass: M3eStepPanelElement,
51
- react: React,
48
+ tagName: "m3e-step-panel",
49
+ elementClass: M3eStepPanelElement,
50
+ react: React
52
51
  });
53
52
 
54
53
  /**
@@ -65,12 +64,12 @@ const M3eStepPanel = createComponent({
65
64
  * accessibility, and supported events.
66
65
  */
67
66
  const M3eStepper = createComponent({
68
- tagName: "m3e-stepper",
69
- elementClass: M3eStepperElement,
70
- react: React,
71
- events: {
72
- onChange: "change",
73
- },
67
+ tagName: "m3e-stepper",
68
+ elementClass: M3eStepperElement,
69
+ react: React,
70
+ events: {
71
+ onChange: "change"
72
+ }
74
73
  });
75
74
 
76
75
  /**
@@ -87,9 +86,9 @@ const M3eStepper = createComponent({
87
86
  * accessibility, and supported events.
88
87
  */
89
88
  const M3eStepperNext = createComponent({
90
- tagName: "m3e-stepper-next",
91
- elementClass: M3eStepperNextElement,
92
- react: React,
89
+ tagName: "m3e-stepper-next",
90
+ elementClass: M3eStepperNextElement,
91
+ react: React
93
92
  });
94
93
 
95
94
  /**
@@ -106,9 +105,9 @@ const M3eStepperNext = createComponent({
106
105
  * accessibility, and supported events.
107
106
  */
108
107
  const M3eStepperPrevious = createComponent({
109
- tagName: "m3e-stepper-previous",
110
- elementClass: M3eStepperPreviousElement,
111
- react: React,
108
+ tagName: "m3e-stepper-previous",
109
+ elementClass: M3eStepperPreviousElement,
110
+ react: React
112
111
  });
113
112
 
114
113
  /**
@@ -125,9 +124,9 @@ const M3eStepperPrevious = createComponent({
125
124
  * accessibility, and supported events.
126
125
  */
127
126
  const M3eStepperReset = createComponent({
128
- tagName: "m3e-stepper-reset",
129
- elementClass: M3eStepperResetElement,
130
- react: React,
127
+ tagName: "m3e-stepper-reset",
128
+ elementClass: M3eStepperResetElement,
129
+ react: React
131
130
  });
132
131
 
133
132
  export { M3eStep, M3eStepPanel, M3eStepper, M3eStepperNext, M3eStepperPrevious, M3eStepperReset };
@@ -1 +1 @@
1
- {"version":3,"file":"stepper.js","sources":["../../src/stepper/Step.ts","../../src/stepper/StepPanel.ts","../../src/stepper/Stepper.ts","../../src/stepper/StepperNext.ts","../../src/stepper/StepperPrevious.ts","../../src/stepper/StepperReset.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eStepElement } from \"@m3e/web/stepper\";\r\nexport type { M3eStepElement } from \"@m3e/web/stepper\";\r\n\r\n/**\r\n * React binding for the `m3e-step` Web Component from `@m3e/web/stepper`.\r\n *\r\n * This component renders the underlying `<m3e-step>` 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-step>` instance for imperative access.\r\n *\r\n * See the `m3e-step` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eStep = createComponent({\r\n tagName: \"m3e-step\",\r\n elementClass: M3eStepElement,\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 { M3eStepPanelElement } from \"@m3e/web/stepper\";\r\nexport type { M3eStepPanelElement } from \"@m3e/web/stepper\";\r\n\r\n/**\r\n * React binding for the `m3e-step-panel` Web Component from `@m3e/web/stepper`.\r\n *\r\n * This component renders the underlying `<m3e-step-panel>` 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-step-panel>` instance for imperative access.\r\n *\r\n * See the `m3e-step-panel` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eStepPanel = createComponent({\r\n tagName: \"m3e-step-panel\",\r\n elementClass: M3eStepPanelElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eStepperElement } from \"@m3e/web/stepper\";\r\nexport type { M3eStepperElement, StepperOrientation, StepLabelPosition, StepHeaderPosition } from \"@m3e/web/stepper\";\r\n\r\n/**\r\n * React binding for the `m3e-stepper` Web Component from `@m3e/web/stepper`.\r\n *\r\n * This component renders the underlying `<m3e-stepper>` 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-stepper>` instance for imperative access.\r\n *\r\n * See the `m3e-stepper` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eStepper = createComponent({\r\n tagName: \"m3e-stepper\",\r\n elementClass: M3eStepperElement,\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 { M3eStepperNextElement } from \"@m3e/web/stepper\";\r\nexport type { M3eStepperNextElement } from \"@m3e/web/stepper\";\r\n\r\n/**\r\n * React binding for the `m3e-stepper-next` Web Component from `@m3e/web/stepper`.\r\n *\r\n * This component renders the underlying `<m3e-stepper-next>` 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-stepper-next>` instance for imperative access.\r\n *\r\n * See the `m3e-stepper-next` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eStepperNext = createComponent({\r\n tagName: \"m3e-stepper-next\",\r\n elementClass: M3eStepperNextElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eStepperPreviousElement } from \"@m3e/web/stepper\";\r\nexport type { M3eStepperPreviousElement } from \"@m3e/web/stepper\";\r\n\r\n/**\r\n * React binding for the `m3e-stepper-previous` Web Component from `@m3e/web/stepper`.\r\n *\r\n * This component renders the underlying `<m3e-stepper-previous>` 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-stepper-previous>` instance for imperative access.\r\n *\r\n * See the `m3e-stepper-previous` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eStepperPrevious = createComponent({\r\n tagName: \"m3e-stepper-previous\",\r\n elementClass: M3eStepperPreviousElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eStepperResetElement } from \"@m3e/web/stepper\";\r\nexport type { M3eStepperResetElement } from \"@m3e/web/stepper\";\r\n\r\n/**\r\n * React binding for the `m3e-stepper-reset` Web Component from `@m3e/web/stepper`.\r\n *\r\n * This component renders the underlying `<m3e-stepper-reset>` 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-stepper-reset>` instance for imperative access.\r\n *\r\n * See the `m3e-stepper-reset` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eStepperReset = createComponent({\r\n tagName: \"m3e-stepper-reset\",\r\n elementClass: M3eStepperResetElement,\r\n react: React,\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,OAAO,GAAG,eAAe,CAAC;AACrC,IAAA,OAAO,EAAE,UAAU;AACnB,IAAA,YAAY,EAAE,cAAc;AAC5B,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,QAAQ,EAAE,QAAQ;AAClB,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;ACtBD;;;;;;;;;;;;AAYG;AACI,MAAM,YAAY,GAAG,eAAe,CAAC;AAC1C,IAAA,OAAO,EAAE,gBAAgB;AACzB,IAAA,YAAY,EAAE,mBAAmB;AACjC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAM,UAAU,GAAG,eAAe,CAAC;AACxC,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,YAAY,EAAE,iBAAiB;AAC/B,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,QAAQ,EAAE,QAAQ;AACnB,KAAA;AACF,CAAA;;ACpBD;;;;;;;;;;;;AAYG;AACI,MAAM,cAAc,GAAG,eAAe,CAAC;AAC5C,IAAA,OAAO,EAAE,kBAAkB;AAC3B,IAAA,YAAY,EAAE,qBAAqB;AACnC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAM,kBAAkB,GAAG,eAAe,CAAC;AAChD,IAAA,OAAO,EAAE,sBAAsB;AAC/B,IAAA,YAAY,EAAE,yBAAyB;AACvC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAM,eAAe,GAAG,eAAe,CAAC;AAC7C,IAAA,OAAO,EAAE,mBAAmB;AAC5B,IAAA,YAAY,EAAE,sBAAsB;AACpC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;;;"}
1
+ {"version":3,"file":"stepper.js","sources":["../../src/stepper/Step.ts","../../src/stepper/StepPanel.ts","../../src/stepper/Stepper.ts","../../src/stepper/StepperNext.ts","../../src/stepper/StepperPrevious.ts","../../src/stepper/StepperReset.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eStepElement } from \"@m3e/web/stepper\";\r\nexport type { M3eStepElement } from \"@m3e/web/stepper\";\r\n\r\n/**\r\n * React binding for the `m3e-step` Web Component from `@m3e/web/stepper`.\r\n *\r\n * This component renders the underlying `<m3e-step>` 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-step>` instance for imperative access.\r\n *\r\n * See the `m3e-step` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eStep = createComponent({\r\n tagName: \"m3e-step\",\r\n elementClass: M3eStepElement,\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 { M3eStepPanelElement } from \"@m3e/web/stepper\";\r\nexport type { M3eStepPanelElement } from \"@m3e/web/stepper\";\r\n\r\n/**\r\n * React binding for the `m3e-step-panel` Web Component from `@m3e/web/stepper`.\r\n *\r\n * This component renders the underlying `<m3e-step-panel>` 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-step-panel>` instance for imperative access.\r\n *\r\n * See the `m3e-step-panel` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eStepPanel = createComponent({\r\n tagName: \"m3e-step-panel\",\r\n elementClass: M3eStepPanelElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eStepperElement } from \"@m3e/web/stepper\";\r\nexport type { M3eStepperElement, StepperOrientation, StepLabelPosition, StepHeaderPosition } from \"@m3e/web/stepper\";\r\n\r\n/**\r\n * React binding for the `m3e-stepper` Web Component from `@m3e/web/stepper`.\r\n *\r\n * This component renders the underlying `<m3e-stepper>` 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-stepper>` instance for imperative access.\r\n *\r\n * See the `m3e-stepper` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eStepper = createComponent({\r\n tagName: \"m3e-stepper\",\r\n elementClass: M3eStepperElement,\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 { M3eStepperNextElement } from \"@m3e/web/stepper\";\r\nexport type { M3eStepperNextElement } from \"@m3e/web/stepper\";\r\n\r\n/**\r\n * React binding for the `m3e-stepper-next` Web Component from `@m3e/web/stepper`.\r\n *\r\n * This component renders the underlying `<m3e-stepper-next>` 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-stepper-next>` instance for imperative access.\r\n *\r\n * See the `m3e-stepper-next` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eStepperNext = createComponent({\r\n tagName: \"m3e-stepper-next\",\r\n elementClass: M3eStepperNextElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eStepperPreviousElement } from \"@m3e/web/stepper\";\r\nexport type { M3eStepperPreviousElement } from \"@m3e/web/stepper\";\r\n\r\n/**\r\n * React binding for the `m3e-stepper-previous` Web Component from `@m3e/web/stepper`.\r\n *\r\n * This component renders the underlying `<m3e-stepper-previous>` 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-stepper-previous>` instance for imperative access.\r\n *\r\n * See the `m3e-stepper-previous` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eStepperPrevious = createComponent({\r\n tagName: \"m3e-stepper-previous\",\r\n elementClass: M3eStepperPreviousElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eStepperResetElement } from \"@m3e/web/stepper\";\r\nexport type { M3eStepperResetElement } from \"@m3e/web/stepper\";\r\n\r\n/**\r\n * React binding for the `m3e-stepper-reset` Web Component from `@m3e/web/stepper`.\r\n *\r\n * This component renders the underlying `<m3e-stepper-reset>` 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-stepper-reset>` instance for imperative access.\r\n *\r\n * See the `m3e-stepper-reset` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eStepperReset = createComponent({\r\n tagName: \"m3e-stepper-reset\",\r\n elementClass: M3eStepperResetElement,\r\n react: React,\r\n});\r\n"],"names":["M3eStep","createComponent","tagName","elementClass","M3eStepElement","react","React","events","onInput","onChange","onClick","M3eStepPanel","M3eStepPanelElement","M3eStepper","M3eStepperElement","M3eStepperNext","M3eStepperNextElement","M3eStepperPrevious","M3eStepperPreviousElement","M3eStepperReset","M3eStepperResetElement"],"mappings":";;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAMA,OAAO,GAAGC,eAAe,CAAC;AACrCC,EAAAA,OAAO,EAAE,UAAU;AACnBC,EAAAA,YAAY,EAAEC,cAAc;AAC5BC,EAAAA,KAAK,EAAEC,KAAK;AACZC,EAAAA,MAAM,EAAE;AACNC,IAAAA,OAAO,EAAE,OAAO;AAChBC,IAAAA,QAAQ,EAAE,QAAQ;AAClBC,IAAAA,OAAO,EAAE;AACV;AACF,CAAA;;ACtBD;;;;;;;;;;;;AAYG;AACI,MAAMC,YAAY,GAAGV,eAAe,CAAC;AAC1CC,EAAAA,OAAO,EAAE,gBAAgB;AACzBC,EAAAA,YAAY,EAAES,mBAAmB;AACjCP,EAAAA,KAAK,EAAEC;AACR,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAMO,UAAU,GAAGZ,eAAe,CAAC;AACxCC,EAAAA,OAAO,EAAE,aAAa;AACtBC,EAAAA,YAAY,EAAEW,iBAAiB;AAC/BT,EAAAA,KAAK,EAAEC,KAAK;AACZC,EAAAA,MAAM,EAAE;AACNE,IAAAA,QAAQ,EAAE;AACX;AACF,CAAA;;ACpBD;;;;;;;;;;;;AAYG;AACI,MAAMM,cAAc,GAAGd,eAAe,CAAC;AAC5CC,EAAAA,OAAO,EAAE,kBAAkB;AAC3BC,EAAAA,YAAY,EAAEa,qBAAqB;AACnCX,EAAAA,KAAK,EAAEC;AACR,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAMW,kBAAkB,GAAGhB,eAAe,CAAC;AAChDC,EAAAA,OAAO,EAAE,sBAAsB;AAC/BC,EAAAA,YAAY,EAAEe,yBAAyB;AACvCb,EAAAA,KAAK,EAAEC;AACR,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAMa,eAAe,GAAGlB,eAAe,CAAC;AAC7CC,EAAAA,OAAO,EAAE,mBAAmB;AAC5BC,EAAAA,YAAY,EAAEiB,sBAAsB;AACpCf,EAAAA,KAAK,EAAEC;AACR,CAAA;;;;"}
package/dist/switch.js CHANGED
@@ -3,7 +3,6 @@
3
3
  * Copyright (c) 2025 matraic
4
4
  * See LICENSE file in the project root for full license text.
5
5
  */
6
-
7
6
  import React from 'react';
8
7
  import { createComponent } from '@lit/react';
9
8
  import { M3eSwitchElement } from '@m3e/web/switch';
@@ -22,14 +21,14 @@ import { M3eSwitchElement } from '@m3e/web/switch';
22
21
  * accessibility, and supported events.
23
22
  */
24
23
  const M3eSwitch = createComponent({
25
- tagName: "m3e-switch",
26
- elementClass: M3eSwitchElement,
27
- react: React,
28
- events: {
29
- onInput: "input",
30
- onChange: "change",
31
- onClick: "click",
32
- },
24
+ tagName: "m3e-switch",
25
+ elementClass: M3eSwitchElement,
26
+ react: React,
27
+ events: {
28
+ onInput: "input",
29
+ onChange: "change",
30
+ onClick: "click"
31
+ }
33
32
  });
34
33
 
35
34
  export { M3eSwitch };
@@ -1 +1 @@
1
- {"version":3,"file":"switch.js","sources":["../../src/switch/Switch.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eSwitchElement } from \"@m3e/web/switch\";\r\nexport type { M3eSwitchElement, SwitchIcons } from \"@m3e/web/switch\";\r\n\r\n/**\r\n * React binding for the `m3e-switch` Web Component from `@m3e/web/switch`.\r\n *\r\n * This component renders the underlying `<m3e-switch>` 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-switch>` instance for imperative access.\r\n *\r\n * See the `m3e-switch` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eSwitch = createComponent({\r\n tagName: \"m3e-switch\",\r\n elementClass: M3eSwitchElement,\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;;;;"}
1
+ {"version":3,"file":"switch.js","sources":["../../src/switch/Switch.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eSwitchElement } from \"@m3e/web/switch\";\r\nexport type { M3eSwitchElement, SwitchIcons } from \"@m3e/web/switch\";\r\n\r\n/**\r\n * React binding for the `m3e-switch` Web Component from `@m3e/web/switch`.\r\n *\r\n * This component renders the underlying `<m3e-switch>` 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-switch>` instance for imperative access.\r\n *\r\n * See the `m3e-switch` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eSwitch = createComponent({\r\n tagName: \"m3e-switch\",\r\n elementClass: M3eSwitchElement,\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":["M3eSwitch","createComponent","tagName","elementClass","M3eSwitchElement","react","React","events","onInput","onChange","onClick"],"mappings":";;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAMA,SAAS,GAAGC,eAAe,CAAC;AACvCC,EAAAA,OAAO,EAAE,YAAY;AACrBC,EAAAA,YAAY,EAAEC,gBAAgB;AAC9BC,EAAAA,KAAK,EAAEC,KAAK;AACZC,EAAAA,MAAM,EAAE;AACNC,IAAAA,OAAO,EAAE,OAAO;AAChBC,IAAAA,QAAQ,EAAE,QAAQ;AAClBC,IAAAA,OAAO,EAAE;AACV;AACF,CAAA;;;;"}
package/dist/tabs.js CHANGED
@@ -3,7 +3,6 @@
3
3
  * Copyright (c) 2025 matraic
4
4
  * See LICENSE file in the project root for full license text.
5
5
  */
6
-
7
6
  import React from 'react';
8
7
  import { createComponent } from '@lit/react';
9
8
  import { M3eTabElement, M3eTabPanelElement, M3eTabsElement } from '@m3e/web/tabs';
@@ -22,14 +21,14 @@ import { M3eTabElement, M3eTabPanelElement, M3eTabsElement } from '@m3e/web/tabs
22
21
  * accessibility, and supported events.
23
22
  */
24
23
  const M3eTab = createComponent({
25
- tagName: "m3e-tab",
26
- elementClass: M3eTabElement,
27
- react: React,
28
- events: {
29
- onInput: "input",
30
- onChange: "change",
31
- onClick: "click",
32
- },
24
+ tagName: "m3e-tab",
25
+ elementClass: M3eTabElement,
26
+ react: React,
27
+ events: {
28
+ onInput: "input",
29
+ onChange: "change",
30
+ onClick: "click"
31
+ }
33
32
  });
34
33
 
35
34
  /**
@@ -46,9 +45,9 @@ const M3eTab = createComponent({
46
45
  * accessibility, and supported events.
47
46
  */
48
47
  const M3eTabPanel = createComponent({
49
- tagName: "m3e-tab-panel",
50
- elementClass: M3eTabPanelElement,
51
- react: React,
48
+ tagName: "m3e-tab-panel",
49
+ elementClass: M3eTabPanelElement,
50
+ react: React
52
51
  });
53
52
 
54
53
  /**
@@ -65,12 +64,12 @@ const M3eTabPanel = createComponent({
65
64
  * accessibility, and supported events.
66
65
  */
67
66
  const M3eTabs = createComponent({
68
- tagName: "m3e-tabs",
69
- elementClass: M3eTabsElement,
70
- react: React,
71
- events: {
72
- onChange: "change",
73
- },
67
+ tagName: "m3e-tabs",
68
+ elementClass: M3eTabsElement,
69
+ react: React,
70
+ events: {
71
+ onChange: "change"
72
+ }
74
73
  });
75
74
 
76
75
  export { M3eTab, M3eTabPanel, M3eTabs };
package/dist/tabs.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.js","sources":["../../src/tabs/Tab.ts","../../src/tabs/TabPanel.ts","../../src/tabs/Tabs.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eTabElement } from \"@m3e/web/tabs\";\r\nexport type { M3eTabElement } from \"@m3e/web/tabs\";\r\n\r\n/**\r\n * React binding for the `m3e-tab` Web Component from `@m3e/web/tabs`.\r\n *\r\n * This component renders the underlying `<m3e-tab>` 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-tab>` instance for imperative access.\r\n *\r\n * See the `m3e-tab` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eTab = createComponent({\r\n tagName: \"m3e-tab\",\r\n elementClass: M3eTabElement,\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 { M3eTabPanelElement } from \"@m3e/web/tabs\";\r\nexport type { M3eTabPanelElement } from \"@m3e/web/tabs\";\r\n\r\n/**\r\n * React binding for the `m3e-tab-panel` Web Component from `@m3e/web/tabs`.\r\n *\r\n * This component renders the underlying `<m3e-tab-panel>` 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-tab-panel>` instance for imperative access.\r\n *\r\n * See the `m3e-tab-panel` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eTabPanel = createComponent({\r\n tagName: \"m3e-tab-panel\",\r\n elementClass: M3eTabPanelElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eTabsElement } from \"@m3e/web/tabs\";\r\nexport type { M3eTabsElement, TabVariant, TabHeaderPosition } from \"@m3e/web/tabs\";\r\n\r\n/**\r\n * React binding for the `m3e-tabs` Web Component from `@m3e/web/tabs`.\r\n *\r\n * This component renders the underlying `<m3e-tabs>` 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-tabs>` instance for imperative access.\r\n *\r\n * See the `m3e-tabs` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eTabs = createComponent({\r\n tagName: \"m3e-tabs\",\r\n elementClass: M3eTabsElement,\r\n react: React,\r\n events: {\r\n onChange: \"change\",\r\n },\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,MAAM,GAAG,eAAe,CAAC;AACpC,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,YAAY,EAAE,aAAa;AAC3B,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,WAAW,GAAG,eAAe,CAAC;AACzC,IAAA,OAAO,EAAE,eAAe;AACxB,IAAA,YAAY,EAAE,kBAAkB;AAChC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAM,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,QAAQ,EAAE,QAAQ;AACnB,KAAA;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"tabs.js","sources":["../../src/tabs/Tab.ts","../../src/tabs/TabPanel.ts","../../src/tabs/Tabs.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eTabElement } from \"@m3e/web/tabs\";\r\nexport type { M3eTabElement } from \"@m3e/web/tabs\";\r\n\r\n/**\r\n * React binding for the `m3e-tab` Web Component from `@m3e/web/tabs`.\r\n *\r\n * This component renders the underlying `<m3e-tab>` 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-tab>` instance for imperative access.\r\n *\r\n * See the `m3e-tab` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eTab = createComponent({\r\n tagName: \"m3e-tab\",\r\n elementClass: M3eTabElement,\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 { M3eTabPanelElement } from \"@m3e/web/tabs\";\r\nexport type { M3eTabPanelElement } from \"@m3e/web/tabs\";\r\n\r\n/**\r\n * React binding for the `m3e-tab-panel` Web Component from `@m3e/web/tabs`.\r\n *\r\n * This component renders the underlying `<m3e-tab-panel>` 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-tab-panel>` instance for imperative access.\r\n *\r\n * See the `m3e-tab-panel` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eTabPanel = createComponent({\r\n tagName: \"m3e-tab-panel\",\r\n elementClass: M3eTabPanelElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eTabsElement } from \"@m3e/web/tabs\";\r\nexport type { M3eTabsElement, TabVariant, TabHeaderPosition } from \"@m3e/web/tabs\";\r\n\r\n/**\r\n * React binding for the `m3e-tabs` Web Component from `@m3e/web/tabs`.\r\n *\r\n * This component renders the underlying `<m3e-tabs>` 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-tabs>` instance for imperative access.\r\n *\r\n * See the `m3e-tabs` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eTabs = createComponent({\r\n tagName: \"m3e-tabs\",\r\n elementClass: M3eTabsElement,\r\n react: React,\r\n events: {\r\n onChange: \"change\",\r\n },\r\n});\r\n"],"names":["M3eTab","createComponent","tagName","elementClass","M3eTabElement","react","React","events","onInput","onChange","onClick","M3eTabPanel","M3eTabPanelElement","M3eTabs","M3eTabsElement"],"mappings":";;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAMA,MAAM,GAAGC,eAAe,CAAC;AACpCC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,YAAY,EAAEC,aAAa;AAC3BC,EAAAA,KAAK,EAAEC,KAAK;AACZC,EAAAA,MAAM,EAAE;AACNC,IAAAA,OAAO,EAAE,OAAO;AAChBC,IAAAA,QAAQ,EAAE,QAAQ;AAClBC,IAAAA,OAAO,EAAE;AACV;AACF,CAAA;;ACtBD;;;;;;;;;;;;AAYG;AACI,MAAMC,WAAW,GAAGV,eAAe,CAAC;AACzCC,EAAAA,OAAO,EAAE,eAAe;AACxBC,EAAAA,YAAY,EAAES,kBAAkB;AAChCP,EAAAA,KAAK,EAAEC;AACR,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAMO,OAAO,GAAGZ,eAAe,CAAC;AACrCC,EAAAA,OAAO,EAAE,UAAU;AACnBC,EAAAA,YAAY,EAAEW,cAAc;AAC5BT,EAAAA,KAAK,EAAEC,KAAK;AACZC,EAAAA,MAAM,EAAE;AACNE,IAAAA,QAAQ,EAAE;AACX;AACF,CAAA;;;;"}
@@ -3,7 +3,6 @@
3
3
  * Copyright (c) 2025 matraic
4
4
  * See LICENSE file in the project root for full license text.
5
5
  */
6
-
7
6
  import React from 'react';
8
7
  import { createComponent } from '@lit/react';
9
8
  import { M3eTextareaAutosizeElement } from '@m3e/web/textarea-autosize';
@@ -22,9 +21,9 @@ import { M3eTextareaAutosizeElement } from '@m3e/web/textarea-autosize';
22
21
  * accessibility, and supported events.
23
22
  */
24
23
  const M3eTextareaAutosize = createComponent({
25
- tagName: "m3e-textarea-autosize",
26
- elementClass: M3eTextareaAutosizeElement,
27
- react: React,
24
+ tagName: "m3e-textarea-autosize",
25
+ elementClass: M3eTextareaAutosizeElement,
26
+ react: React
28
27
  });
29
28
 
30
29
  export { M3eTextareaAutosize };
@@ -1 +1 @@
1
- {"version":3,"file":"textarea-autosize.js","sources":["../../src/textarea-autosize/TextareaAutosize.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eTextareaAutosizeElement } from \"@m3e/web/textarea-autosize\";\r\nexport type { M3eTextareaAutosizeElement } from \"@m3e/web/textarea-autosize\";\r\n\r\n/**\r\n * React binding for the `m3e-textarea-autosize` Web Component from `@m3e/web/textarea-autosize`.\r\n *\r\n * This component renders the underlying `<m3e-textarea-autosize>` 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-textarea-autosize>` instance for imperative access.\r\n *\r\n * See the `m3e-textarea-autosize` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eTextareaAutosize = createComponent({\r\n tagName: \"m3e-textarea-autosize\",\r\n elementClass: M3eTextareaAutosizeElement,\r\n react: React,\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,mBAAmB,GAAG,eAAe,CAAC;AACjD,IAAA,OAAO,EAAE,uBAAuB;AAChC,IAAA,YAAY,EAAE,0BAA0B;AACxC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;;;"}
1
+ {"version":3,"file":"textarea-autosize.js","sources":["../../src/textarea-autosize/TextareaAutosize.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eTextareaAutosizeElement } from \"@m3e/web/textarea-autosize\";\r\nexport type { M3eTextareaAutosizeElement } from \"@m3e/web/textarea-autosize\";\r\n\r\n/**\r\n * React binding for the `m3e-textarea-autosize` Web Component from `@m3e/web/textarea-autosize`.\r\n *\r\n * This component renders the underlying `<m3e-textarea-autosize>` 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-textarea-autosize>` instance for imperative access.\r\n *\r\n * See the `m3e-textarea-autosize` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eTextareaAutosize = createComponent({\r\n tagName: \"m3e-textarea-autosize\",\r\n elementClass: M3eTextareaAutosizeElement,\r\n react: React,\r\n});\r\n"],"names":["M3eTextareaAutosize","createComponent","tagName","elementClass","M3eTextareaAutosizeElement","react","React"],"mappings":";;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAMA,mBAAmB,GAAGC,eAAe,CAAC;AACjDC,EAAAA,OAAO,EAAE,uBAAuB;AAChCC,EAAAA,YAAY,EAAEC,0BAA0B;AACxCC,EAAAA,KAAK,EAAEC;AACR,CAAA;;;;"}
package/dist/theme.js CHANGED
@@ -3,7 +3,6 @@
3
3
  * Copyright (c) 2025 matraic
4
4
  * See LICENSE file in the project root for full license text.
5
5
  */
6
-
7
6
  import React from 'react';
8
7
  import { createComponent } from '@lit/react';
9
8
  import { M3eThemeElement } from '@m3e/web/theme';
@@ -22,12 +21,12 @@ import { M3eThemeElement } from '@m3e/web/theme';
22
21
  * accessibility, and supported events.
23
22
  */
24
23
  const M3eTheme = createComponent({
25
- tagName: "m3e-theme",
26
- elementClass: M3eThemeElement,
27
- react: React,
28
- events: {
29
- onChange: "change",
30
- },
24
+ tagName: "m3e-theme",
25
+ elementClass: M3eThemeElement,
26
+ react: React,
27
+ events: {
28
+ onChange: "change"
29
+ }
31
30
  });
32
31
 
33
32
  export { M3eTheme };
package/dist/theme.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"theme.js","sources":["../../src/theme/Theme.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eThemeElement } from \"@m3e/web/theme\";\r\nexport type { ColorScheme, ContrastLevel, MotionScheme, M3eThemeElement } from \"@m3e/web/theme\";\r\n\r\n/**\r\n * React binding for the `m3e-theme` Web Component from `@m3e/web/theme`.\r\n *\r\n * This component renders the underlying `<m3e-theme>` 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-theme>` instance for imperative access.\r\n *\r\n * See the `m3e-theme` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eTheme = createComponent({\r\n tagName: \"m3e-theme\",\r\n elementClass: M3eThemeElement,\r\n react: React,\r\n events: {\r\n onChange: \"change\",\r\n },\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,QAAQ,GAAG,eAAe,CAAC;AACtC,IAAA,OAAO,EAAE,WAAW;AACpB,IAAA,YAAY,EAAE,eAAe;AAC7B,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,QAAQ,EAAE,QAAQ;AACnB,KAAA;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"theme.js","sources":["../../src/theme/Theme.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eThemeElement } from \"@m3e/web/theme\";\r\nexport type { ColorScheme, ContrastLevel, MotionScheme, M3eThemeElement } from \"@m3e/web/theme\";\r\n\r\n/**\r\n * React binding for the `m3e-theme` Web Component from `@m3e/web/theme`.\r\n *\r\n * This component renders the underlying `<m3e-theme>` 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-theme>` instance for imperative access.\r\n *\r\n * See the `m3e-theme` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eTheme = createComponent({\r\n tagName: \"m3e-theme\",\r\n elementClass: M3eThemeElement,\r\n react: React,\r\n events: {\r\n onChange: \"change\",\r\n },\r\n});\r\n"],"names":["M3eTheme","createComponent","tagName","elementClass","M3eThemeElement","react","React","events","onChange"],"mappings":";;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAMA,QAAQ,GAAGC,eAAe,CAAC;AACtCC,EAAAA,OAAO,EAAE,WAAW;AACpBC,EAAAA,YAAY,EAAEC,eAAe;AAC7BC,EAAAA,KAAK,EAAEC,KAAK;AACZC,EAAAA,MAAM,EAAE;AACNC,IAAAA,QAAQ,EAAE;AACX;AACF,CAAA;;;;"}
package/dist/toc.js CHANGED
@@ -3,7 +3,6 @@
3
3
  * Copyright (c) 2025 matraic
4
4
  * See LICENSE file in the project root for full license text.
5
5
  */
6
-
7
6
  import React from 'react';
8
7
  import { createComponent } from '@lit/react';
9
8
  import { M3eTocElement } from '@m3e/web/toc';
@@ -22,9 +21,9 @@ import { M3eTocElement } from '@m3e/web/toc';
22
21
  * accessibility, and supported events.
23
22
  */
24
23
  const M3eToc = createComponent({
25
- tagName: "m3e-toc",
26
- elementClass: M3eTocElement,
27
- react: React,
24
+ tagName: "m3e-toc",
25
+ elementClass: M3eTocElement,
26
+ react: React
28
27
  });
29
28
 
30
29
  export { M3eToc };
package/dist/toc.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"toc.js","sources":["../../src/toc/Toc.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eTocElement } from \"@m3e/web/toc\";\r\nexport type { M3eTocElement } from \"@m3e/web/toc\";\r\n\r\n/**\r\n * React binding for the `m3e-toc` Web Component from `@m3e/web/toc`.\r\n *\r\n * This component renders the underlying `<m3e-toc>` 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-toc>` instance for imperative access.\r\n *\r\n * See the `m3e-toc` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eToc = createComponent({\r\n tagName: \"m3e-toc\",\r\n elementClass: M3eTocElement,\r\n react: React,\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,MAAM,GAAG,eAAe,CAAC;AACpC,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,YAAY,EAAE,aAAa;AAC3B,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;;;"}
1
+ {"version":3,"file":"toc.js","sources":["../../src/toc/Toc.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eTocElement } from \"@m3e/web/toc\";\r\nexport type { M3eTocElement } from \"@m3e/web/toc\";\r\n\r\n/**\r\n * React binding for the `m3e-toc` Web Component from `@m3e/web/toc`.\r\n *\r\n * This component renders the underlying `<m3e-toc>` 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-toc>` instance for imperative access.\r\n *\r\n * See the `m3e-toc` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eToc = createComponent({\r\n tagName: \"m3e-toc\",\r\n elementClass: M3eTocElement,\r\n react: React,\r\n});\r\n"],"names":["M3eToc","createComponent","tagName","elementClass","M3eTocElement","react","React"],"mappings":";;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAMA,MAAM,GAAGC,eAAe,CAAC;AACpCC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,YAAY,EAAEC,aAAa;AAC3BC,EAAAA,KAAK,EAAEC;AACR,CAAA;;;;"}
package/dist/toolbar.js CHANGED
@@ -3,7 +3,6 @@
3
3
  * Copyright (c) 2025 matraic
4
4
  * See LICENSE file in the project root for full license text.
5
5
  */
6
-
7
6
  import React from 'react';
8
7
  import { createComponent } from '@lit/react';
9
8
  import { M3eToolbarElement } from '@m3e/web/toolbar';
@@ -22,9 +21,9 @@ import { M3eToolbarElement } from '@m3e/web/toolbar';
22
21
  * accessibility, and supported events.
23
22
  */
24
23
  const M3eToolbar = createComponent({
25
- tagName: "m3e-toolbar",
26
- elementClass: M3eToolbarElement,
27
- react: React,
24
+ tagName: "m3e-toolbar",
25
+ elementClass: M3eToolbarElement,
26
+ react: React
28
27
  });
29
28
 
30
29
  export { M3eToolbar };
@@ -1 +1 @@
1
- {"version":3,"file":"toolbar.js","sources":["../../src/toolbar/Toolbar.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eToolbarElement } from \"@m3e/web/toolbar\";\r\nexport type { M3eToolbarElement, ToolbarVariant, ToolbarShape } from \"@m3e/web/toolbar\";\r\n\r\n/**\r\n * React binding for the `m3e-toolbar` Web Component from `@m3e/web/toolbar`.\r\n *\r\n * This component renders the underlying `<m3e-toolbar>` 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-toolbar>` instance for imperative access.\r\n *\r\n * See the `m3e-toolbar` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eToolbar = createComponent({\r\n tagName: \"m3e-toolbar\",\r\n elementClass: M3eToolbarElement,\r\n react: React,\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,UAAU,GAAG,eAAe,CAAC;AACxC,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,YAAY,EAAE,iBAAiB;AAC/B,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;;;"}
1
+ {"version":3,"file":"toolbar.js","sources":["../../src/toolbar/Toolbar.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eToolbarElement } from \"@m3e/web/toolbar\";\r\nexport type { M3eToolbarElement, ToolbarVariant, ToolbarShape } from \"@m3e/web/toolbar\";\r\n\r\n/**\r\n * React binding for the `m3e-toolbar` Web Component from `@m3e/web/toolbar`.\r\n *\r\n * This component renders the underlying `<m3e-toolbar>` 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-toolbar>` instance for imperative access.\r\n *\r\n * See the `m3e-toolbar` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eToolbar = createComponent({\r\n tagName: \"m3e-toolbar\",\r\n elementClass: M3eToolbarElement,\r\n react: React,\r\n});\r\n"],"names":["M3eToolbar","createComponent","tagName","elementClass","M3eToolbarElement","react","React"],"mappings":";;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAMA,UAAU,GAAGC,eAAe,CAAC;AACxCC,EAAAA,OAAO,EAAE,aAAa;AACtBC,EAAAA,YAAY,EAAEC,iBAAiB;AAC/BC,EAAAA,KAAK,EAAEC;AACR,CAAA;;;;"}
package/dist/tooltip.js CHANGED
@@ -3,7 +3,6 @@
3
3
  * Copyright (c) 2025 matraic
4
4
  * See LICENSE file in the project root for full license text.
5
5
  */
6
-
7
6
  import React from 'react';
8
7
  import { createComponent } from '@lit/react';
9
8
  import { M3eRichTooltipElement, M3eRichTooltipActionElement, M3eTooltipElement } from '@m3e/web/tooltip';
@@ -22,13 +21,13 @@ import { M3eRichTooltipElement, M3eRichTooltipActionElement, M3eTooltipElement }
22
21
  * accessibility, and supported events.
23
22
  */
24
23
  const M3eRichTooltip = createComponent({
25
- tagName: "m3e-rich-tooltip",
26
- elementClass: M3eRichTooltipElement,
27
- react: React,
28
- events: {
29
- onBeforeToggle: "beforetoggle",
30
- onToggle: "toggle",
31
- },
24
+ tagName: "m3e-rich-tooltip",
25
+ elementClass: M3eRichTooltipElement,
26
+ react: React,
27
+ events: {
28
+ onBeforeToggle: "beforetoggle",
29
+ onToggle: "toggle"
30
+ }
32
31
  });
33
32
 
34
33
  /**
@@ -45,9 +44,9 @@ const M3eRichTooltip = createComponent({
45
44
  * accessibility, and supported events.
46
45
  */
47
46
  const M3eRichTooltipAction = createComponent({
48
- tagName: "m3e-rich-tooltip-action",
49
- elementClass: M3eRichTooltipActionElement,
50
- react: React,
47
+ tagName: "m3e-rich-tooltip-action",
48
+ elementClass: M3eRichTooltipActionElement,
49
+ react: React
51
50
  });
52
51
 
53
52
  /**
@@ -64,9 +63,9 @@ const M3eRichTooltipAction = createComponent({
64
63
  * accessibility, and supported events.
65
64
  */
66
65
  const M3eTooltip = createComponent({
67
- tagName: "m3e-tooltip",
68
- elementClass: M3eTooltipElement,
69
- react: React,
66
+ tagName: "m3e-tooltip",
67
+ elementClass: M3eTooltipElement,
68
+ react: React
70
69
  });
71
70
 
72
71
  export { M3eRichTooltip, M3eRichTooltipAction, M3eTooltip };
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.js","sources":["../../src/tooltip/RichTooltip.ts","../../src/tooltip/RichTooltipAction.ts","../../src/tooltip/Tooltip.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eRichTooltipElement } from \"@m3e/web/tooltip\";\r\nexport type { M3eRichTooltipElement, RichTooltipPosition } from \"@m3e/web/tooltip\";\r\n\r\n/**\r\n * React binding for the `m3e-rich-tooltip` Web Component from `@m3e/web/tooltip`.\r\n *\r\n * This component renders the underlying `<m3e-rich-tooltip>` 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-rich-tooltip>` instance for imperative access.\r\n *\r\n * See the `m3e-rich-tooltip` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eRichTooltip = createComponent({\r\n tagName: \"m3e-rich-tooltip\",\r\n elementClass: M3eRichTooltipElement,\r\n react: React,\r\n events: {\r\n onBeforeToggle: \"beforetoggle\",\r\n onToggle: \"toggle\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eRichTooltipActionElement } from \"@m3e/web/tooltip\";\r\nexport type { M3eRichTooltipActionElement } from \"@m3e/web/tooltip\";\r\n\r\n/**\r\n * React binding for the `m3e-rich-tooltip-action` Web Component from `@m3e/web/tooltip`.\r\n *\r\n * This component renders the underlying `<m3e-rich-tooltip-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-rich-tooltip-action>` instance for imperative access.\r\n *\r\n * See the `m3e-rich-tooltip-action` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eRichTooltipAction = createComponent({\r\n tagName: \"m3e-rich-tooltip-action\",\r\n elementClass: M3eRichTooltipActionElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eTooltipElement } from \"@m3e/web/tooltip\";\r\nexport type { M3eTooltipElement, TooltipPosition, TooltipTouchGestures } from \"@m3e/web/tooltip\";\r\n\r\n/**\r\n * React binding for the `m3e-tooltip` Web Component from `@m3e/web/tooltip`.\r\n *\r\n * This component renders the underlying `<m3e-tooltip>` 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-tooltip>` instance for imperative access.\r\n *\r\n * See the `m3e-tooltip` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eTooltip = createComponent({\r\n tagName: \"m3e-tooltip\",\r\n elementClass: M3eTooltipElement,\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;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,cAAc,EAAE,cAAc;AAC9B,QAAA,QAAQ,EAAE,QAAQ;AACnB,KAAA;AACF,CAAA;;ACrBD;;;;;;;;;;;;AAYG;AACI,MAAM,oBAAoB,GAAG,eAAe,CAAC;AAClD,IAAA,OAAO,EAAE,yBAAyB;AAClC,IAAA,YAAY,EAAE,2BAA2B;AACzC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAM,UAAU,GAAG,eAAe,CAAC;AACxC,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,YAAY,EAAE,iBAAiB;AAC/B,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;;;"}
1
+ {"version":3,"file":"tooltip.js","sources":["../../src/tooltip/RichTooltip.ts","../../src/tooltip/RichTooltipAction.ts","../../src/tooltip/Tooltip.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eRichTooltipElement } from \"@m3e/web/tooltip\";\r\nexport type { M3eRichTooltipElement, RichTooltipPosition } from \"@m3e/web/tooltip\";\r\n\r\n/**\r\n * React binding for the `m3e-rich-tooltip` Web Component from `@m3e/web/tooltip`.\r\n *\r\n * This component renders the underlying `<m3e-rich-tooltip>` 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-rich-tooltip>` instance for imperative access.\r\n *\r\n * See the `m3e-rich-tooltip` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eRichTooltip = createComponent({\r\n tagName: \"m3e-rich-tooltip\",\r\n elementClass: M3eRichTooltipElement,\r\n react: React,\r\n events: {\r\n onBeforeToggle: \"beforetoggle\",\r\n onToggle: \"toggle\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eRichTooltipActionElement } from \"@m3e/web/tooltip\";\r\nexport type { M3eRichTooltipActionElement } from \"@m3e/web/tooltip\";\r\n\r\n/**\r\n * React binding for the `m3e-rich-tooltip-action` Web Component from `@m3e/web/tooltip`.\r\n *\r\n * This component renders the underlying `<m3e-rich-tooltip-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-rich-tooltip-action>` instance for imperative access.\r\n *\r\n * See the `m3e-rich-tooltip-action` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eRichTooltipAction = createComponent({\r\n tagName: \"m3e-rich-tooltip-action\",\r\n elementClass: M3eRichTooltipActionElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eTooltipElement } from \"@m3e/web/tooltip\";\r\nexport type { M3eTooltipElement, TooltipPosition, TooltipTouchGestures } from \"@m3e/web/tooltip\";\r\n\r\n/**\r\n * React binding for the `m3e-tooltip` Web Component from `@m3e/web/tooltip`.\r\n *\r\n * This component renders the underlying `<m3e-tooltip>` 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-tooltip>` instance for imperative access.\r\n *\r\n * See the `m3e-tooltip` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eTooltip = createComponent({\r\n tagName: \"m3e-tooltip\",\r\n elementClass: M3eTooltipElement,\r\n react: React,\r\n});\r\n"],"names":["M3eRichTooltip","createComponent","tagName","elementClass","M3eRichTooltipElement","react","React","events","onBeforeToggle","onToggle","M3eRichTooltipAction","M3eRichTooltipActionElement","M3eTooltip","M3eTooltipElement"],"mappings":";;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAMA,cAAc,GAAGC,eAAe,CAAC;AAC5CC,EAAAA,OAAO,EAAE,kBAAkB;AAC3BC,EAAAA,YAAY,EAAEC,qBAAqB;AACnCC,EAAAA,KAAK,EAAEC,KAAK;AACZC,EAAAA,MAAM,EAAE;AACNC,IAAAA,cAAc,EAAE,cAAc;AAC9BC,IAAAA,QAAQ,EAAE;AACX;AACF,CAAA;;ACrBD;;;;;;;;;;;;AAYG;AACI,MAAMC,oBAAoB,GAAGT,eAAe,CAAC;AAClDC,EAAAA,OAAO,EAAE,yBAAyB;AAClCC,EAAAA,YAAY,EAAEQ,2BAA2B;AACzCN,EAAAA,KAAK,EAAEC;AACR,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAMM,UAAU,GAAGX,eAAe,CAAC;AACxCC,EAAAA,OAAO,EAAE,aAAa;AACtBC,EAAAA,YAAY,EAAEU,iBAAiB;AAC/BR,EAAAA,KAAK,EAAEC;AACR,CAAA;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m3e/react",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "description": "React bindings for M3E Web Components",
5
5
  "author": "matraic <matraic@yahoo.com>",
6
6
  "license": "MIT",
@@ -212,7 +212,7 @@
212
212
  },
213
213
  "peerDependencies": {
214
214
  "@lit/react": "^1.0.8",
215
- "@m3e/web": "^2.1.1",
215
+ "@m3e/web": "^2.1.3",
216
216
  "lit": "^3.3.0",
217
217
  "react": ">=18"
218
218
  }