@m3e/react 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (461) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +31 -0
  3. package/dist/all.js +1912 -0
  4. package/dist/all.js.map +1 -0
  5. package/dist/all.min.js +7 -0
  6. package/dist/all.min.js.map +1 -0
  7. package/dist/app-bar.js +32 -0
  8. package/dist/app-bar.js.map +1 -0
  9. package/dist/app-bar.min.js +7 -0
  10. package/dist/app-bar.min.js.map +1 -0
  11. package/dist/autocomplete.js +35 -0
  12. package/dist/autocomplete.js.map +1 -0
  13. package/dist/autocomplete.min.js +7 -0
  14. package/dist/autocomplete.min.js.map +1 -0
  15. package/dist/avatar.js +32 -0
  16. package/dist/avatar.js.map +1 -0
  17. package/dist/avatar.min.js +7 -0
  18. package/dist/avatar.min.js.map +1 -0
  19. package/dist/badge.js +32 -0
  20. package/dist/badge.js.map +1 -0
  21. package/dist/badge.min.js +7 -0
  22. package/dist/badge.min.js.map +1 -0
  23. package/dist/bottom-sheet.js +77 -0
  24. package/dist/bottom-sheet.js.map +1 -0
  25. package/dist/bottom-sheet.min.js +7 -0
  26. package/dist/bottom-sheet.min.js.map +1 -0
  27. package/dist/button-group.js +32 -0
  28. package/dist/button-group.js.map +1 -0
  29. package/dist/button-group.min.js +7 -0
  30. package/dist/button-group.min.js.map +1 -0
  31. package/dist/button.js +37 -0
  32. package/dist/button.js.map +1 -0
  33. package/dist/button.min.js +7 -0
  34. package/dist/button.min.js.map +1 -0
  35. package/dist/card.js +35 -0
  36. package/dist/card.js.map +1 -0
  37. package/dist/card.min.js +7 -0
  38. package/dist/card.min.js.map +1 -0
  39. package/dist/checkbox.js +38 -0
  40. package/dist/checkbox.js.map +1 -0
  41. package/dist/checkbox.min.js +7 -0
  42. package/dist/checkbox.min.js.map +1 -0
  43. package/dist/chips.js +187 -0
  44. package/dist/chips.js.map +1 -0
  45. package/dist/chips.min.js +7 -0
  46. package/dist/chips.min.js.map +1 -0
  47. package/dist/dialog.js +77 -0
  48. package/dist/dialog.js.map +1 -0
  49. package/dist/dialog.min.js +7 -0
  50. package/dist/dialog.min.js.map +1 -0
  51. package/dist/divider.js +32 -0
  52. package/dist/divider.js.map +1 -0
  53. package/dist/divider.min.js +7 -0
  54. package/dist/divider.min.js.map +1 -0
  55. package/dist/drawer-container.js +54 -0
  56. package/dist/drawer-container.js.map +1 -0
  57. package/dist/drawer-container.min.js +7 -0
  58. package/dist/drawer-container.min.js.map +1 -0
  59. package/dist/expansion-panel.js +57 -0
  60. package/dist/expansion-panel.js.map +1 -0
  61. package/dist/expansion-panel.min.js +7 -0
  62. package/dist/expansion-panel.min.js.map +1 -0
  63. package/dist/fab-menu.js +77 -0
  64. package/dist/fab-menu.js.map +1 -0
  65. package/dist/fab-menu.min.js +7 -0
  66. package/dist/fab-menu.min.js.map +1 -0
  67. package/dist/fab.js +35 -0
  68. package/dist/fab.js.map +1 -0
  69. package/dist/fab.min.js +7 -0
  70. package/dist/fab.min.js.map +1 -0
  71. package/dist/form-field.js +32 -0
  72. package/dist/form-field.js.map +1 -0
  73. package/dist/form-field.min.js +7 -0
  74. package/dist/form-field.min.js.map +1 -0
  75. package/dist/heading.js +32 -0
  76. package/dist/heading.js.map +1 -0
  77. package/dist/heading.min.js +7 -0
  78. package/dist/heading.min.js.map +1 -0
  79. package/dist/icon-button.js +37 -0
  80. package/dist/icon-button.js.map +1 -0
  81. package/dist/icon-button.min.js +7 -0
  82. package/dist/icon-button.min.js.map +1 -0
  83. package/dist/icon.js +32 -0
  84. package/dist/icon.js.map +1 -0
  85. package/dist/icon.min.js +7 -0
  86. package/dist/icon.min.js.map +1 -0
  87. package/dist/index.js +9 -0
  88. package/dist/index.js.map +1 -0
  89. package/dist/list.js +164 -0
  90. package/dist/list.js.map +1 -0
  91. package/dist/list.min.js +7 -0
  92. package/dist/list.min.js.map +1 -0
  93. package/dist/loading-indicator.js +32 -0
  94. package/dist/loading-indicator.js.map +1 -0
  95. package/dist/loading-indicator.min.js +7 -0
  96. package/dist/loading-indicator.min.js.map +1 -0
  97. package/dist/menu.js +140 -0
  98. package/dist/menu.js.map +1 -0
  99. package/dist/menu.min.js +7 -0
  100. package/dist/menu.min.js.map +1 -0
  101. package/dist/nav-bar.js +59 -0
  102. package/dist/nav-bar.js.map +1 -0
  103. package/dist/nav-bar.min.js +7 -0
  104. package/dist/nav-bar.min.js.map +1 -0
  105. package/dist/nav-menu.js +77 -0
  106. package/dist/nav-menu.js.map +1 -0
  107. package/dist/nav-menu.min.js +7 -0
  108. package/dist/nav-menu.min.js.map +1 -0
  109. package/dist/nav-rail.js +54 -0
  110. package/dist/nav-rail.js.map +1 -0
  111. package/dist/nav-rail.min.js +7 -0
  112. package/dist/nav-rail.min.js.map +1 -0
  113. package/dist/option.js +51 -0
  114. package/dist/option.js.map +1 -0
  115. package/dist/option.min.js +7 -0
  116. package/dist/option.min.js.map +1 -0
  117. package/dist/paginator.js +35 -0
  118. package/dist/paginator.js.map +1 -0
  119. package/dist/paginator.min.js +7 -0
  120. package/dist/paginator.min.js.map +1 -0
  121. package/dist/progress-indicator.js +51 -0
  122. package/dist/progress-indicator.js.map +1 -0
  123. package/dist/progress-indicator.min.js +7 -0
  124. package/dist/progress-indicator.min.js.map +1 -0
  125. package/dist/radio-group.js +59 -0
  126. package/dist/radio-group.js.map +1 -0
  127. package/dist/radio-group.min.js +7 -0
  128. package/dist/radio-group.min.js.map +1 -0
  129. package/dist/segmented-button.js +60 -0
  130. package/dist/segmented-button.js.map +1 -0
  131. package/dist/segmented-button.min.js +7 -0
  132. package/dist/segmented-button.min.js.map +1 -0
  133. package/dist/select.js +36 -0
  134. package/dist/select.js.map +1 -0
  135. package/dist/select.min.js +7 -0
  136. package/dist/select.min.js.map +1 -0
  137. package/dist/shape.js +32 -0
  138. package/dist/shape.js.map +1 -0
  139. package/dist/shape.min.js +7 -0
  140. package/dist/shape.min.js.map +1 -0
  141. package/dist/slide-group.js +32 -0
  142. package/dist/slide-group.js.map +1 -0
  143. package/dist/slide-group.min.js +7 -0
  144. package/dist/slide-group.min.js.map +1 -0
  145. package/dist/slider.js +56 -0
  146. package/dist/slider.js.map +1 -0
  147. package/dist/slider.min.js +7 -0
  148. package/dist/slider.min.js.map +1 -0
  149. package/dist/snackbar.js +9 -0
  150. package/dist/snackbar.js.map +1 -0
  151. package/dist/snackbar.min.js +7 -0
  152. package/dist/snackbar.min.js.map +1 -0
  153. package/dist/split-button.js +32 -0
  154. package/dist/split-button.js.map +1 -0
  155. package/dist/split-button.min.js +7 -0
  156. package/dist/split-button.min.js.map +1 -0
  157. package/dist/src/all.d.ts +46 -0
  158. package/dist/src/all.d.ts.map +1 -0
  159. package/dist/src/app-bar/AppBar.d.ts +17 -0
  160. package/dist/src/app-bar/AppBar.d.ts.map +1 -0
  161. package/dist/src/app-bar/index.d.ts +2 -0
  162. package/dist/src/app-bar/index.d.ts.map +1 -0
  163. package/dist/src/autocomplete/Autocomplete.d.ts +19 -0
  164. package/dist/src/autocomplete/Autocomplete.d.ts.map +1 -0
  165. package/dist/src/autocomplete/index.d.ts +2 -0
  166. package/dist/src/autocomplete/index.d.ts.map +1 -0
  167. package/dist/src/avatar/Avatar.d.ts +17 -0
  168. package/dist/src/avatar/Avatar.d.ts.map +1 -0
  169. package/dist/src/avatar/index.d.ts +2 -0
  170. package/dist/src/avatar/index.d.ts.map +1 -0
  171. package/dist/src/badge/Badge.d.ts +17 -0
  172. package/dist/src/badge/Badge.d.ts.map +1 -0
  173. package/dist/src/badge/index.d.ts +2 -0
  174. package/dist/src/badge/index.d.ts.map +1 -0
  175. package/dist/src/bottom-sheet/BottomSheet.d.ts +23 -0
  176. package/dist/src/bottom-sheet/BottomSheet.d.ts.map +1 -0
  177. package/dist/src/bottom-sheet/BottomSheetAction.d.ts +17 -0
  178. package/dist/src/bottom-sheet/BottomSheetAction.d.ts.map +1 -0
  179. package/dist/src/bottom-sheet/BottomSheetTrigger.d.ts +17 -0
  180. package/dist/src/bottom-sheet/BottomSheetTrigger.d.ts.map +1 -0
  181. package/dist/src/bottom-sheet/index.d.ts +4 -0
  182. package/dist/src/bottom-sheet/index.d.ts.map +1 -0
  183. package/dist/src/button/Button.d.ts +21 -0
  184. package/dist/src/button/Button.d.ts.map +1 -0
  185. package/dist/src/button/index.d.ts +2 -0
  186. package/dist/src/button/index.d.ts.map +1 -0
  187. package/dist/src/button-group/ButtonGroup.d.ts +17 -0
  188. package/dist/src/button-group/ButtonGroup.d.ts.map +1 -0
  189. package/dist/src/button-group/index.d.ts +2 -0
  190. package/dist/src/button-group/index.d.ts.map +1 -0
  191. package/dist/src/card/Card.d.ts +19 -0
  192. package/dist/src/card/Card.d.ts.map +1 -0
  193. package/dist/src/card/index.d.ts +2 -0
  194. package/dist/src/card/index.d.ts.map +1 -0
  195. package/dist/src/checkbox/Checkbox.d.ts +22 -0
  196. package/dist/src/checkbox/Checkbox.d.ts.map +1 -0
  197. package/dist/src/checkbox/index.d.ts +2 -0
  198. package/dist/src/checkbox/index.d.ts.map +1 -0
  199. package/dist/src/chips/AssistChip.d.ts +19 -0
  200. package/dist/src/chips/AssistChip.d.ts.map +1 -0
  201. package/dist/src/chips/Chip.d.ts +17 -0
  202. package/dist/src/chips/Chip.d.ts.map +1 -0
  203. package/dist/src/chips/ChipSet.d.ts +17 -0
  204. package/dist/src/chips/ChipSet.d.ts.map +1 -0
  205. package/dist/src/chips/FilterChip.d.ts +21 -0
  206. package/dist/src/chips/FilterChip.d.ts.map +1 -0
  207. package/dist/src/chips/FilterChipSet.d.ts +20 -0
  208. package/dist/src/chips/FilterChipSet.d.ts.map +1 -0
  209. package/dist/src/chips/InputChip.d.ts +20 -0
  210. package/dist/src/chips/InputChip.d.ts.map +1 -0
  211. package/dist/src/chips/InputChipSet.d.ts +19 -0
  212. package/dist/src/chips/InputChipSet.d.ts.map +1 -0
  213. package/dist/src/chips/SuggestionChip.d.ts +19 -0
  214. package/dist/src/chips/SuggestionChip.d.ts.map +1 -0
  215. package/dist/src/chips/index.d.ts +9 -0
  216. package/dist/src/chips/index.d.ts.map +1 -0
  217. package/dist/src/dialog/Dialog.d.ts +23 -0
  218. package/dist/src/dialog/Dialog.d.ts.map +1 -0
  219. package/dist/src/dialog/DialogAction.d.ts +17 -0
  220. package/dist/src/dialog/DialogAction.d.ts.map +1 -0
  221. package/dist/src/dialog/DialogTrigger.d.ts +17 -0
  222. package/dist/src/dialog/DialogTrigger.d.ts.map +1 -0
  223. package/dist/src/dialog/index.d.ts +4 -0
  224. package/dist/src/dialog/index.d.ts.map +1 -0
  225. package/dist/src/divider/Divider.d.ts +17 -0
  226. package/dist/src/divider/Divider.d.ts.map +1 -0
  227. package/dist/src/divider/index.d.ts +2 -0
  228. package/dist/src/divider/index.d.ts.map +1 -0
  229. package/dist/src/drawer-container/DrawerContainer.d.ts +19 -0
  230. package/dist/src/drawer-container/DrawerContainer.d.ts.map +1 -0
  231. package/dist/src/drawer-container/DrawerToggle.d.ts +17 -0
  232. package/dist/src/drawer-container/DrawerToggle.d.ts.map +1 -0
  233. package/dist/src/drawer-container/index.d.ts +3 -0
  234. package/dist/src/drawer-container/index.d.ts.map +1 -0
  235. package/dist/src/expansion-panel/Accordion.d.ts +17 -0
  236. package/dist/src/expansion-panel/Accordion.d.ts.map +1 -0
  237. package/dist/src/expansion-panel/ExpansionPanel.d.ts +22 -0
  238. package/dist/src/expansion-panel/ExpansionPanel.d.ts.map +1 -0
  239. package/dist/src/expansion-panel/index.d.ts +3 -0
  240. package/dist/src/expansion-panel/index.d.ts.map +1 -0
  241. package/dist/src/fab/Fab.d.ts +19 -0
  242. package/dist/src/fab/Fab.d.ts.map +1 -0
  243. package/dist/src/fab/index.d.ts +2 -0
  244. package/dist/src/fab/index.d.ts.map +1 -0
  245. package/dist/src/fab-menu/FabMenu.d.ts +20 -0
  246. package/dist/src/fab-menu/FabMenu.d.ts.map +1 -0
  247. package/dist/src/fab-menu/FabMenuItem.d.ts +19 -0
  248. package/dist/src/fab-menu/FabMenuItem.d.ts.map +1 -0
  249. package/dist/src/fab-menu/FabMenuTrigger.d.ts +17 -0
  250. package/dist/src/fab-menu/FabMenuTrigger.d.ts.map +1 -0
  251. package/dist/src/fab-menu/index.d.ts +4 -0
  252. package/dist/src/fab-menu/index.d.ts.map +1 -0
  253. package/dist/src/form-field/FormField.d.ts +17 -0
  254. package/dist/src/form-field/FormField.d.ts.map +1 -0
  255. package/dist/src/form-field/index.d.ts +2 -0
  256. package/dist/src/form-field/index.d.ts.map +1 -0
  257. package/dist/src/heading/Heading.d.ts +17 -0
  258. package/dist/src/heading/Heading.d.ts.map +1 -0
  259. package/dist/src/heading/index.d.ts +2 -0
  260. package/dist/src/heading/index.d.ts.map +1 -0
  261. package/dist/src/icon/Icon.d.ts +17 -0
  262. package/dist/src/icon/Icon.d.ts.map +1 -0
  263. package/dist/src/icon/index.d.ts +2 -0
  264. package/dist/src/icon/index.d.ts.map +1 -0
  265. package/dist/src/icon-button/IconButton.d.ts +21 -0
  266. package/dist/src/icon-button/IconButton.d.ts.map +1 -0
  267. package/dist/src/icon-button/index.d.ts +2 -0
  268. package/dist/src/icon-button/index.d.ts.map +1 -0
  269. package/dist/src/index.d.ts +1 -0
  270. package/dist/src/index.d.ts.map +1 -0
  271. package/dist/src/list/ActionList.d.ts +17 -0
  272. package/dist/src/list/ActionList.d.ts.map +1 -0
  273. package/dist/src/list/ExpandableListItem.d.ts +22 -0
  274. package/dist/src/list/ExpandableListItem.d.ts.map +1 -0
  275. package/dist/src/list/List.d.ts +17 -0
  276. package/dist/src/list/List.d.ts.map +1 -0
  277. package/dist/src/list/ListAction.d.ts +19 -0
  278. package/dist/src/list/ListAction.d.ts.map +1 -0
  279. package/dist/src/list/ListItem.d.ts +17 -0
  280. package/dist/src/list/ListItem.d.ts.map +1 -0
  281. package/dist/src/list/ListOption.d.ts +21 -0
  282. package/dist/src/list/ListOption.d.ts.map +1 -0
  283. package/dist/src/list/SelectionList.d.ts +20 -0
  284. package/dist/src/list/SelectionList.d.ts.map +1 -0
  285. package/dist/src/list/index.d.ts +8 -0
  286. package/dist/src/list/index.d.ts.map +1 -0
  287. package/dist/src/loading-indicator/LoadingIndicator.d.ts +17 -0
  288. package/dist/src/loading-indicator/LoadingIndicator.d.ts.map +1 -0
  289. package/dist/src/loading-indicator/index.d.ts +2 -0
  290. package/dist/src/loading-indicator/index.d.ts.map +1 -0
  291. package/dist/src/menu/Menu.d.ts +20 -0
  292. package/dist/src/menu/Menu.d.ts.map +1 -0
  293. package/dist/src/menu/MenuItem.d.ts +19 -0
  294. package/dist/src/menu/MenuItem.d.ts.map +1 -0
  295. package/dist/src/menu/MenuItemCheckbox.d.ts +19 -0
  296. package/dist/src/menu/MenuItemCheckbox.d.ts.map +1 -0
  297. package/dist/src/menu/MenuItemGroup.d.ts +17 -0
  298. package/dist/src/menu/MenuItemGroup.d.ts.map +1 -0
  299. package/dist/src/menu/MenuItemRadio.d.ts +19 -0
  300. package/dist/src/menu/MenuItemRadio.d.ts.map +1 -0
  301. package/dist/src/menu/MenuTrigger.d.ts +17 -0
  302. package/dist/src/menu/MenuTrigger.d.ts.map +1 -0
  303. package/dist/src/menu/index.d.ts +7 -0
  304. package/dist/src/menu/index.d.ts.map +1 -0
  305. package/dist/src/nav-bar/NavBar.d.ts +19 -0
  306. package/dist/src/nav-bar/NavBar.d.ts.map +1 -0
  307. package/dist/src/nav-bar/NavItem.d.ts +21 -0
  308. package/dist/src/nav-bar/NavItem.d.ts.map +1 -0
  309. package/dist/src/nav-bar/index.d.ts +3 -0
  310. package/dist/src/nav-bar/index.d.ts.map +1 -0
  311. package/dist/src/nav-menu/NavMenu.d.ts +17 -0
  312. package/dist/src/nav-menu/NavMenu.d.ts.map +1 -0
  313. package/dist/src/nav-menu/NavMenuItem.d.ts +23 -0
  314. package/dist/src/nav-menu/NavMenuItem.d.ts.map +1 -0
  315. package/dist/src/nav-menu/NavMenuItemGroup.d.ts +17 -0
  316. package/dist/src/nav-menu/NavMenuItemGroup.d.ts.map +1 -0
  317. package/dist/src/nav-menu/index.d.ts +4 -0
  318. package/dist/src/nav-menu/index.d.ts.map +1 -0
  319. package/dist/src/nav-rail/NavRail.d.ts +19 -0
  320. package/dist/src/nav-rail/NavRail.d.ts.map +1 -0
  321. package/dist/src/nav-rail/NavRailToggle.d.ts +17 -0
  322. package/dist/src/nav-rail/NavRailToggle.d.ts.map +1 -0
  323. package/dist/src/nav-rail/index.d.ts +3 -0
  324. package/dist/src/nav-rail/index.d.ts.map +1 -0
  325. package/dist/src/option/OptGroup.d.ts +17 -0
  326. package/dist/src/option/OptGroup.d.ts.map +1 -0
  327. package/dist/src/option/Option.d.ts +17 -0
  328. package/dist/src/option/Option.d.ts.map +1 -0
  329. package/dist/src/option/index.d.ts +3 -0
  330. package/dist/src/option/index.d.ts.map +1 -0
  331. package/dist/src/paginator/Paginator.d.ts +20 -0
  332. package/dist/src/paginator/Paginator.d.ts.map +1 -0
  333. package/dist/src/paginator/index.d.ts +2 -0
  334. package/dist/src/paginator/index.d.ts.map +1 -0
  335. package/dist/src/progress-indicator/CircularProgressIndicator.d.ts +17 -0
  336. package/dist/src/progress-indicator/CircularProgressIndicator.d.ts.map +1 -0
  337. package/dist/src/progress-indicator/LinearProgressIndicator.d.ts +17 -0
  338. package/dist/src/progress-indicator/LinearProgressIndicator.d.ts.map +1 -0
  339. package/dist/src/progress-indicator/index.d.ts +3 -0
  340. package/dist/src/progress-indicator/index.d.ts.map +1 -0
  341. package/dist/src/radio-group/Radio.d.ts +21 -0
  342. package/dist/src/radio-group/Radio.d.ts.map +1 -0
  343. package/dist/src/radio-group/RadioGroup.d.ts +19 -0
  344. package/dist/src/radio-group/RadioGroup.d.ts.map +1 -0
  345. package/dist/src/radio-group/index.d.ts +3 -0
  346. package/dist/src/radio-group/index.d.ts.map +1 -0
  347. package/dist/src/segmented-button/ButtonSegment.d.ts +21 -0
  348. package/dist/src/segmented-button/ButtonSegment.d.ts.map +1 -0
  349. package/dist/src/segmented-button/SegmentedButton.d.ts +20 -0
  350. package/dist/src/segmented-button/SegmentedButton.d.ts.map +1 -0
  351. package/dist/src/segmented-button/index.d.ts +3 -0
  352. package/dist/src/segmented-button/index.d.ts.map +1 -0
  353. package/dist/src/select/Select.d.ts +20 -0
  354. package/dist/src/select/Select.d.ts.map +1 -0
  355. package/dist/src/select/index.d.ts +2 -0
  356. package/dist/src/select/index.d.ts.map +1 -0
  357. package/dist/src/shape/Shape.d.ts +17 -0
  358. package/dist/src/shape/Shape.d.ts.map +1 -0
  359. package/dist/src/shape/index.d.ts +2 -0
  360. package/dist/src/shape/index.d.ts.map +1 -0
  361. package/dist/src/slide-group/SlideGroup.d.ts +17 -0
  362. package/dist/src/slide-group/SlideGroup.d.ts.map +1 -0
  363. package/dist/src/slide-group/index.d.ts +2 -0
  364. package/dist/src/slide-group/index.d.ts.map +1 -0
  365. package/dist/src/slider/Slider.d.ts +17 -0
  366. package/dist/src/slider/Slider.d.ts.map +1 -0
  367. package/dist/src/slider/SliderThumb.d.ts +21 -0
  368. package/dist/src/slider/SliderThumb.d.ts.map +1 -0
  369. package/dist/src/slider/index.d.ts +3 -0
  370. package/dist/src/slider/index.d.ts.map +1 -0
  371. package/dist/src/snackbar/Snackbar.d.ts +3 -0
  372. package/dist/src/snackbar/Snackbar.d.ts.map +1 -0
  373. package/dist/src/snackbar/index.d.ts +2 -0
  374. package/dist/src/snackbar/index.d.ts.map +1 -0
  375. package/dist/src/split-button/SplitButton.d.ts +17 -0
  376. package/dist/src/split-button/SplitButton.d.ts.map +1 -0
  377. package/dist/src/split-button/index.d.ts +2 -0
  378. package/dist/src/split-button/index.d.ts.map +1 -0
  379. package/dist/src/stepper/Step.d.ts +21 -0
  380. package/dist/src/stepper/Step.d.ts.map +1 -0
  381. package/dist/src/stepper/StepPanel.d.ts +17 -0
  382. package/dist/src/stepper/StepPanel.d.ts.map +1 -0
  383. package/dist/src/stepper/Stepper.d.ts +19 -0
  384. package/dist/src/stepper/Stepper.d.ts.map +1 -0
  385. package/dist/src/stepper/StepperNext.d.ts +17 -0
  386. package/dist/src/stepper/StepperNext.d.ts.map +1 -0
  387. package/dist/src/stepper/StepperPrevious.d.ts +17 -0
  388. package/dist/src/stepper/StepperPrevious.d.ts.map +1 -0
  389. package/dist/src/stepper/StepperReset.d.ts +17 -0
  390. package/dist/src/stepper/StepperReset.d.ts.map +1 -0
  391. package/dist/src/stepper/index.d.ts +7 -0
  392. package/dist/src/stepper/index.d.ts.map +1 -0
  393. package/dist/src/switch/Switch.d.ts +21 -0
  394. package/dist/src/switch/Switch.d.ts.map +1 -0
  395. package/dist/src/switch/index.d.ts +2 -0
  396. package/dist/src/switch/index.d.ts.map +1 -0
  397. package/dist/src/tabs/Tab.d.ts +21 -0
  398. package/dist/src/tabs/Tab.d.ts.map +1 -0
  399. package/dist/src/tabs/TabPanel.d.ts +17 -0
  400. package/dist/src/tabs/TabPanel.d.ts.map +1 -0
  401. package/dist/src/tabs/Tabs.d.ts +19 -0
  402. package/dist/src/tabs/Tabs.d.ts.map +1 -0
  403. package/dist/src/tabs/index.d.ts +4 -0
  404. package/dist/src/tabs/index.d.ts.map +1 -0
  405. package/dist/src/textarea-autosize/TextareaAutosize.d.ts +17 -0
  406. package/dist/src/textarea-autosize/TextareaAutosize.d.ts.map +1 -0
  407. package/dist/src/textarea-autosize/index.d.ts +2 -0
  408. package/dist/src/textarea-autosize/index.d.ts.map +1 -0
  409. package/dist/src/theme/Theme.d.ts +19 -0
  410. package/dist/src/theme/Theme.d.ts.map +1 -0
  411. package/dist/src/theme/index.d.ts +2 -0
  412. package/dist/src/theme/index.d.ts.map +1 -0
  413. package/dist/src/toc/Toc.d.ts +17 -0
  414. package/dist/src/toc/Toc.d.ts.map +1 -0
  415. package/dist/src/toc/index.d.ts +2 -0
  416. package/dist/src/toc/index.d.ts.map +1 -0
  417. package/dist/src/toolbar/Toolbar.d.ts +17 -0
  418. package/dist/src/toolbar/Toolbar.d.ts.map +1 -0
  419. package/dist/src/toolbar/index.d.ts +2 -0
  420. package/dist/src/toolbar/index.d.ts.map +1 -0
  421. package/dist/src/tooltip/RichTooltip.d.ts +20 -0
  422. package/dist/src/tooltip/RichTooltip.d.ts.map +1 -0
  423. package/dist/src/tooltip/RichTooltipAction.d.ts +17 -0
  424. package/dist/src/tooltip/RichTooltipAction.d.ts.map +1 -0
  425. package/dist/src/tooltip/Tooltip.d.ts +17 -0
  426. package/dist/src/tooltip/Tooltip.d.ts.map +1 -0
  427. package/dist/src/tooltip/index.d.ts +4 -0
  428. package/dist/src/tooltip/index.d.ts.map +1 -0
  429. package/dist/stepper.js +135 -0
  430. package/dist/stepper.js.map +1 -0
  431. package/dist/stepper.min.js +7 -0
  432. package/dist/stepper.min.js.map +1 -0
  433. package/dist/switch.js +37 -0
  434. package/dist/switch.js.map +1 -0
  435. package/dist/switch.min.js +7 -0
  436. package/dist/switch.min.js.map +1 -0
  437. package/dist/tabs.js +78 -0
  438. package/dist/tabs.js.map +1 -0
  439. package/dist/tabs.min.js +7 -0
  440. package/dist/tabs.min.js.map +1 -0
  441. package/dist/textarea-autosize.js +32 -0
  442. package/dist/textarea-autosize.js.map +1 -0
  443. package/dist/textarea-autosize.min.js +7 -0
  444. package/dist/textarea-autosize.min.js.map +1 -0
  445. package/dist/theme.js +35 -0
  446. package/dist/theme.js.map +1 -0
  447. package/dist/theme.min.js +7 -0
  448. package/dist/theme.min.js.map +1 -0
  449. package/dist/toc.js +32 -0
  450. package/dist/toc.js.map +1 -0
  451. package/dist/toc.min.js +7 -0
  452. package/dist/toc.min.js.map +1 -0
  453. package/dist/toolbar.js +32 -0
  454. package/dist/toolbar.js.map +1 -0
  455. package/dist/toolbar.min.js +7 -0
  456. package/dist/toolbar.min.js.map +1 -0
  457. package/dist/tooltip.js +74 -0
  458. package/dist/tooltip.js.map +1 -0
  459. package/dist/tooltip.min.js +7 -0
  460. package/dist/tooltip.min.js.map +1 -0
  461. package/package.json +215 -0
package/dist/list.js ADDED
@@ -0,0 +1,164 @@
1
+ "use client";
2
+ /**
3
+ * @license MIT
4
+ * Copyright (c) 2025 matraic
5
+ * See LICENSE file in the project root for full license text.
6
+ */
7
+
8
+ import React from 'react';
9
+ import { createComponent } from '@lit/react';
10
+ import { M3eActionListElement, M3eExpandableListItemElement, M3eListElement, M3eListActionElement, M3eListItemElement, M3eListOptionElement, M3eSelectionListElement } from '@m3e/web/list';
11
+
12
+ /**
13
+ * React binding for the `m3e-action-list` Web Component from `@m3e/list`.
14
+ *
15
+ * This component renders the underlying `<m3e-action-list>` element and exposes its
16
+ * properties, attributes, and events through an idiomatic React interface.
17
+ *
18
+ * Props map directly to element properties, and event handlers receive the
19
+ * native DOM events dispatched by the component. Refs are forwarded to the
20
+ * underlying `<m3e-action-list>` instance for imperative access.
21
+ *
22
+ * See the `m3e-action-list` documentation for full details on behavior, styling,
23
+ * accessibility, and supported events.
24
+ */
25
+ const M3eActionList = createComponent({
26
+ tagName: "m3e-action-list",
27
+ elementClass: M3eActionListElement,
28
+ react: React,
29
+ });
30
+
31
+ /**
32
+ * React binding for the `m3e-expandable-list-item` Web Component from `@m3e/list`.
33
+ *
34
+ * This component renders the underlying `<m3e-expandable-list-item>` element and exposes its
35
+ * properties, attributes, and events through an idiomatic React interface.
36
+ *
37
+ * Props map directly to element properties, and event handlers receive the
38
+ * native DOM events dispatched by the component. Refs are forwarded to the
39
+ * underlying `<m3e-expandable-list-item>` instance for imperative access.
40
+ *
41
+ * See the `m3e-expandable-list-item` documentation for full details on behavior, styling,
42
+ * accessibility, and supported events.
43
+ */
44
+ const M3eExpandableListItem = createComponent({
45
+ tagName: "m3e-expandable-list-item",
46
+ elementClass: M3eExpandableListItemElement,
47
+ react: React,
48
+ events: {
49
+ onOpening: "opening",
50
+ onOpened: "opened",
51
+ onClosing: "closing",
52
+ onClosed: "closed",
53
+ },
54
+ });
55
+
56
+ /**
57
+ * React binding for the `m3e-list` Web Component from `@m3e/list`.
58
+ *
59
+ * This component renders the underlying `<m3e-list>` element and exposes its
60
+ * properties, attributes, and events through an idiomatic React interface.
61
+ *
62
+ * Props map directly to element properties, and event handlers receive the
63
+ * native DOM events dispatched by the component. Refs are forwarded to the
64
+ * underlying `<m3e-list>` instance for imperative access.
65
+ *
66
+ * See the `m3e-list` documentation for full details on behavior, styling,
67
+ * accessibility, and supported events.
68
+ */
69
+ const M3eList = createComponent({
70
+ tagName: "m3e-list",
71
+ elementClass: M3eListElement,
72
+ react: React,
73
+ });
74
+
75
+ /**
76
+ * React binding for the `m3e-list-action` Web Component from `@m3e/list`.
77
+ *
78
+ * This component renders the underlying `<m3e-list-action>` element and exposes its
79
+ * properties, attributes, and events through an idiomatic React interface.
80
+ *
81
+ * Props map directly to element properties, and event handlers receive the
82
+ * native DOM events dispatched by the component. Refs are forwarded to the
83
+ * underlying `<m3e-list-action>` instance for imperative access.
84
+ *
85
+ * See the `m3e-list-action` documentation for full details on behavior, styling,
86
+ * accessibility, and supported events.
87
+ */
88
+ const M3eListAction = createComponent({
89
+ tagName: "m3e-list-action",
90
+ elementClass: M3eListActionElement,
91
+ react: React,
92
+ events: {
93
+ onClick: "click",
94
+ },
95
+ });
96
+
97
+ /**
98
+ * React binding for the `m3e-list-item` Web Component from `@m3e/list`.
99
+ *
100
+ * This component renders the underlying `<m3e-list-item>` element and exposes its
101
+ * properties, attributes, and events through an idiomatic React interface.
102
+ *
103
+ * Props map directly to element properties, and event handlers receive the
104
+ * native DOM events dispatched by the component. Refs are forwarded to the
105
+ * underlying `<m3e-list-item>` instance for imperative access.
106
+ *
107
+ * See the `m3e-list-item` documentation for full details on behavior, styling,
108
+ * accessibility, and supported events.
109
+ */
110
+ const M3eListItem = createComponent({
111
+ tagName: "m3e-list-item",
112
+ elementClass: M3eListItemElement,
113
+ react: React,
114
+ });
115
+
116
+ /**
117
+ * React binding for the `m3e-list-option` Web Component from `@m3e/list`.
118
+ *
119
+ * This component renders the underlying `<m3e-list-option>` element and exposes its
120
+ * properties, attributes, and events through an idiomatic React interface.
121
+ *
122
+ * Props map directly to element properties, and event handlers receive the
123
+ * native DOM events dispatched by the component. Refs are forwarded to the
124
+ * underlying `<m3e-list-option>` instance for imperative access.
125
+ *
126
+ * See the `m3e-list-option` documentation for full details on behavior, styling,
127
+ * accessibility, and supported events.
128
+ */
129
+ const M3eListOption = createComponent({
130
+ tagName: "m3e-list-option",
131
+ elementClass: M3eListOptionElement,
132
+ react: React,
133
+ events: {
134
+ onInput: "input",
135
+ onChange: "change",
136
+ onClick: "click",
137
+ },
138
+ });
139
+
140
+ /**
141
+ * React binding for the `m3e-selection-list` Web Component from `@m3e/list`.
142
+ *
143
+ * This component renders the underlying `<m3e-selection-list>` element and exposes its
144
+ * properties, attributes, and events through an idiomatic React interface.
145
+ *
146
+ * Props map directly to element properties, and event handlers receive the
147
+ * native DOM events dispatched by the component. Refs are forwarded to the
148
+ * underlying `<m3e-selection-list>` instance for imperative access.
149
+ *
150
+ * See the `m3e-selection-list` documentation for full details on behavior, styling,
151
+ * accessibility, and supported events.
152
+ */
153
+ const M3eSelectionList = createComponent({
154
+ tagName: "m3e-selection-list",
155
+ elementClass: M3eSelectionListElement,
156
+ react: React,
157
+ events: {
158
+ onInput: "input",
159
+ onChange: "change",
160
+ },
161
+ });
162
+
163
+ export { M3eActionList, M3eExpandableListItem, M3eList, M3eListAction, M3eListItem, M3eListOption, M3eSelectionList };
164
+ //# sourceMappingURL=list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.js","sources":["../../src/list/ActionList.ts","../../src/list/ExpandableListItem.ts","../../src/list/List.ts","../../src/list/ListAction.ts","../../src/list/ListItem.ts","../../src/list/ListOption.ts","../../src/list/SelectionList.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eActionListElement } from \"@m3e/web/list\";\r\nexport type { M3eActionListElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-action-list` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-action-list>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-action-list>` instance for imperative access.\r\n *\r\n * See the `m3e-action-list` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eActionList = createComponent({\r\n tagName: \"m3e-action-list\",\r\n elementClass: M3eActionListElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eExpandableListItemElement } from \"@m3e/web/list\";\r\nexport type { M3eExpandableListItemElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-expandable-list-item` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-expandable-list-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-expandable-list-item>` instance for imperative access.\r\n *\r\n * See the `m3e-expandable-list-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eExpandableListItem = createComponent({\r\n tagName: \"m3e-expandable-list-item\",\r\n elementClass: M3eExpandableListItemElement,\r\n react: React,\r\n events: {\r\n onOpening: \"opening\",\r\n onOpened: \"opened\",\r\n onClosing: \"closing\",\r\n onClosed: \"closed\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eListElement } from \"@m3e/web/list\";\r\nexport type { ListVariant, M3eListElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-list` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-list>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-list>` instance for imperative access.\r\n *\r\n * See the `m3e-list` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eList = createComponent({\r\n tagName: \"m3e-list\",\r\n elementClass: M3eListElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eListActionElement } from \"@m3e/web/list\";\r\nexport type { M3eListActionElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-list-action` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-list-action>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-list-action>` instance for imperative access.\r\n *\r\n * See the `m3e-list-action` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eListAction = createComponent({\r\n tagName: \"m3e-list-action\",\r\n elementClass: M3eListActionElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eListItemElement } from \"@m3e/web/list\";\r\nexport type { M3eListItemElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-list-item` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-list-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-list-item>` instance for imperative access.\r\n *\r\n * See the `m3e-list-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eListItem = createComponent({\r\n tagName: \"m3e-list-item\",\r\n elementClass: M3eListItemElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eListOptionElement } from \"@m3e/web/list\";\r\nexport type { M3eListOptionElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-list-option` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-list-option>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-list-option>` instance for imperative access.\r\n *\r\n * See the `m3e-list-option` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eListOption = createComponent({\r\n tagName: \"m3e-list-option\",\r\n elementClass: M3eListOptionElement,\r\n react: React,\r\n events: {\r\n onInput: \"input\",\r\n onChange: \"change\",\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eSelectionListElement } from \"@m3e/web/list\";\r\nexport type { M3eSelectionListElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-selection-list` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-selection-list>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-selection-list>` instance for imperative access.\r\n *\r\n * See the `m3e-selection-list` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eSelectionList = createComponent({\r\n tagName: \"m3e-selection-list\",\r\n elementClass: M3eSelectionListElement,\r\n react: React,\r\n events: {\r\n onInput: \"input\",\r\n onChange: \"change\",\r\n },\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,aAAa,GAAG,eAAe,CAAC;AAC3C,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,YAAY,EAAE,oBAAoB;AAClC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAM,qBAAqB,GAAG,eAAe,CAAC;AACnD,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,YAAY,EAAE,4BAA4B;AAC1C,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,SAAS,EAAE,SAAS;AACpB,QAAA,QAAQ,EAAE,QAAQ;AAClB,QAAA,SAAS,EAAE,SAAS;AACpB,QAAA,QAAQ,EAAE,QAAQ;AACnB,KAAA;AACF,CAAA;;ACvBD;;;;;;;;;;;;AAYG;AACI,MAAM,OAAO,GAAG,eAAe,CAAC;AACrC,IAAA,OAAO,EAAE,UAAU;AACnB,IAAA,YAAY,EAAE,cAAc;AAC5B,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAM,aAAa,GAAG,eAAe,CAAC;AAC3C,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,YAAY,EAAE,oBAAoB;AAClC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;ACpBD;;;;;;;;;;;;AAYG;AACI,MAAM,WAAW,GAAG,eAAe,CAAC;AACzC,IAAA,OAAO,EAAE,eAAe;AACxB,IAAA,YAAY,EAAE,kBAAkB;AAChC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAM,aAAa,GAAG,eAAe,CAAC;AAC3C,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,YAAY,EAAE,oBAAoB;AAClC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,QAAQ,EAAE,QAAQ;AAClB,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;ACtBD;;;;;;;;;;;;AAYG;AACI,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAC9C,IAAA,OAAO,EAAE,oBAAoB;AAC7B,IAAA,YAAY,EAAE,uBAAuB;AACrC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,QAAQ,EAAE,QAAQ;AACnB,KAAA;AACF,CAAA;;;;"}
@@ -0,0 +1,7 @@
1
+ "use client";
2
+ /**
3
+ * @license MIT
4
+ * Copyright (c) 2025 matraic
5
+ * See LICENSE file in the project root for full license text.
6
+ */import e from"react";import{createComponent as t}from"@lit/react";import{M3eActionListElement as n,M3eExpandableListItemElement as a,M3eListElement as l,M3eListActionElement as s,M3eListItemElement as m,M3eListOptionElement as i,M3eSelectionListElement as o}from"@m3e/web/list";const c=t({tagName:"m3e-action-list",elementClass:n,react:e}),r=t({tagName:"m3e-expandable-list-item",elementClass:a,react:e,events:{onOpening:"opening",onOpened:"opened",onClosing:"closing",onClosed:"closed"}}),g=t({tagName:"m3e-list",elementClass:l,react:e}),p=t({tagName:"m3e-list-action",elementClass:s,react:e,events:{onClick:"click"}}),C=t({tagName:"m3e-list-item",elementClass:m,react:e}),N=t({tagName:"m3e-list-option",elementClass:i,react:e,events:{onInput:"input",onChange:"change",onClick:"click"}}),d=t({tagName:"m3e-selection-list",elementClass:o,react:e,events:{onInput:"input",onChange:"change"}});export{c as M3eActionList,r as M3eExpandableListItem,g as M3eList,p as M3eListAction,C as M3eListItem,N as M3eListOption,d as M3eSelectionList};
7
+ //# sourceMappingURL=list.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.min.js","sources":["../../src/list/ActionList.ts","../../src/list/ExpandableListItem.ts","../../src/list/List.ts","../../src/list/ListAction.ts","../../src/list/ListItem.ts","../../src/list/ListOption.ts","../../src/list/SelectionList.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eActionListElement } from \"@m3e/web/list\";\r\nexport type { M3eActionListElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-action-list` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-action-list>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-action-list>` instance for imperative access.\r\n *\r\n * See the `m3e-action-list` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eActionList = createComponent({\r\n tagName: \"m3e-action-list\",\r\n elementClass: M3eActionListElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eExpandableListItemElement } from \"@m3e/web/list\";\r\nexport type { M3eExpandableListItemElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-expandable-list-item` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-expandable-list-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-expandable-list-item>` instance for imperative access.\r\n *\r\n * See the `m3e-expandable-list-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eExpandableListItem = createComponent({\r\n tagName: \"m3e-expandable-list-item\",\r\n elementClass: M3eExpandableListItemElement,\r\n react: React,\r\n events: {\r\n onOpening: \"opening\",\r\n onOpened: \"opened\",\r\n onClosing: \"closing\",\r\n onClosed: \"closed\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eListElement } from \"@m3e/web/list\";\r\nexport type { ListVariant, M3eListElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-list` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-list>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-list>` instance for imperative access.\r\n *\r\n * See the `m3e-list` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eList = createComponent({\r\n tagName: \"m3e-list\",\r\n elementClass: M3eListElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eListActionElement } from \"@m3e/web/list\";\r\nexport type { M3eListActionElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-list-action` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-list-action>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-list-action>` instance for imperative access.\r\n *\r\n * See the `m3e-list-action` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eListAction = createComponent({\r\n tagName: \"m3e-list-action\",\r\n elementClass: M3eListActionElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eListItemElement } from \"@m3e/web/list\";\r\nexport type { M3eListItemElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-list-item` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-list-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-list-item>` instance for imperative access.\r\n *\r\n * See the `m3e-list-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eListItem = createComponent({\r\n tagName: \"m3e-list-item\",\r\n elementClass: M3eListItemElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eListOptionElement } from \"@m3e/web/list\";\r\nexport type { M3eListOptionElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-list-option` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-list-option>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-list-option>` instance for imperative access.\r\n *\r\n * See the `m3e-list-option` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eListOption = createComponent({\r\n tagName: \"m3e-list-option\",\r\n elementClass: M3eListOptionElement,\r\n react: React,\r\n events: {\r\n onInput: \"input\",\r\n onChange: \"change\",\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eSelectionListElement } from \"@m3e/web/list\";\r\nexport type { M3eSelectionListElement } from \"@m3e/web/list\";\r\n\r\n/**\r\n * React binding for the `m3e-selection-list` Web Component from `@m3e/list`.\r\n *\r\n * This component renders the underlying `<m3e-selection-list>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-selection-list>` instance for imperative access.\r\n *\r\n * See the `m3e-selection-list` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eSelectionList = createComponent({\r\n tagName: \"m3e-selection-list\",\r\n elementClass: M3eSelectionListElement,\r\n react: React,\r\n events: {\r\n onInput: \"input\",\r\n onChange: \"change\",\r\n },\r\n});\r\n"],"names":["M3eActionList","createComponent","tagName","elementClass","M3eActionListElement","react","React","M3eExpandableListItem","M3eExpandableListItemElement","events","onOpening","onOpened","onClosing","onClosed","M3eList","M3eListElement","M3eListAction","M3eListActionElement","onClick","M3eListItem","M3eListItemElement","M3eListOption","M3eListOptionElement","onInput","onChange","M3eSelectionList","M3eSelectionListElement"],"mappings":";;;;;yRAmBO,MAAMA,EAAgBC,EAAgB,CAC3CC,QAAS,kBACTC,aAAcC,EACdC,MAAOC,ICHIC,EAAwBN,EAAgB,CACnDC,QAAS,2BACTC,aAAcK,EACdH,MAAOC,EACPG,OAAQ,CACNC,UAAW,UACXC,SAAU,SACVC,UAAW,UACXC,SAAU,YCRDC,EAAUb,EAAgB,CACrCC,QAAS,WACTC,aAAcY,EACdV,MAAOC,ICHIU,EAAgBf,EAAgB,CAC3CC,QAAS,kBACTC,aAAcc,EACdZ,MAAOC,EACPG,OAAQ,CACNS,QAAS,WCLAC,EAAclB,EAAgB,CACzCC,QAAS,gBACTC,aAAciB,EACdf,MAAOC,ICHIe,EAAgBpB,EAAgB,CAC3CC,QAAS,kBACTC,aAAcmB,EACdjB,MAAOC,EACPG,OAAQ,CACNc,QAAS,QACTC,SAAU,SACVN,QAAS,WCPAO,EAAmBxB,EAAgB,CAC9CC,QAAS,qBACTC,aAAcuB,EACdrB,MAAOC,EACPG,OAAQ,CACNc,QAAS,QACTC,SAAU"}
@@ -0,0 +1,32 @@
1
+ "use client";
2
+ /**
3
+ * @license MIT
4
+ * Copyright (c) 2025 matraic
5
+ * See LICENSE file in the project root for full license text.
6
+ */
7
+
8
+ import React from 'react';
9
+ import { createComponent } from '@lit/react';
10
+ import { M3eLoadingIndicatorElement } from '@m3e/web/loading-indicator';
11
+
12
+ /**
13
+ * React binding for the `m3e-loading-indicator` Web Component from `@m3e/loading-indicator`.
14
+ *
15
+ * This component renders the underlying `<m3e-loading-indicator>` element and exposes its
16
+ * properties, attributes, and events through an idiomatic React interface.
17
+ *
18
+ * Props map directly to element properties, and event handlers receive the
19
+ * native DOM events dispatched by the component. Refs are forwarded to the
20
+ * underlying `<m3e-loading-indicator>` instance for imperative access.
21
+ *
22
+ * See the `m3e-loading-indicator` documentation for full details on behavior, styling,
23
+ * accessibility, and supported events.
24
+ */
25
+ const M3eLoadingIndicator = createComponent({
26
+ tagName: "m3e-loading-indicator",
27
+ elementClass: M3eLoadingIndicatorElement,
28
+ react: React,
29
+ });
30
+
31
+ export { M3eLoadingIndicator };
32
+ //# sourceMappingURL=loading-indicator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loading-indicator.js","sources":["../../src/loading-indicator/LoadingIndicator.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eLoadingIndicatorElement } from \"@m3e/web/loading-indicator\";\r\nexport type { LoadingIndicatorVariant, M3eLoadingIndicatorElement } from \"@m3e/web/loading-indicator\";\r\n\r\n/**\r\n * React binding for the `m3e-loading-indicator` Web Component from `@m3e/loading-indicator`.\r\n *\r\n * This component renders the underlying `<m3e-loading-indicator>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-loading-indicator>` instance for imperative access.\r\n *\r\n * See the `m3e-loading-indicator` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eLoadingIndicator = createComponent({\r\n tagName: \"m3e-loading-indicator\",\r\n elementClass: M3eLoadingIndicatorElement,\r\n react: React,\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,mBAAmB,GAAG,eAAe,CAAC;AACjD,IAAA,OAAO,EAAE,uBAAuB;AAChC,IAAA,YAAY,EAAE,0BAA0B;AACxC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;;;"}
@@ -0,0 +1,7 @@
1
+ "use client";
2
+ /**
3
+ * @license MIT
4
+ * Copyright (c) 2025 matraic
5
+ * See LICENSE file in the project root for full license text.
6
+ */import t from"react";import{createComponent as e}from"@lit/react";import{M3eLoadingIndicatorElement as o}from"@m3e/web/loading-indicator";const r=e({tagName:"m3e-loading-indicator",elementClass:o,react:t});export{r as M3eLoadingIndicator};
7
+ //# sourceMappingURL=loading-indicator.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loading-indicator.min.js","sources":["../../src/loading-indicator/LoadingIndicator.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eLoadingIndicatorElement } from \"@m3e/web/loading-indicator\";\r\nexport type { LoadingIndicatorVariant, M3eLoadingIndicatorElement } from \"@m3e/web/loading-indicator\";\r\n\r\n/**\r\n * React binding for the `m3e-loading-indicator` Web Component from `@m3e/loading-indicator`.\r\n *\r\n * This component renders the underlying `<m3e-loading-indicator>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-loading-indicator>` instance for imperative access.\r\n *\r\n * See the `m3e-loading-indicator` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eLoadingIndicator = createComponent({\r\n tagName: \"m3e-loading-indicator\",\r\n elementClass: M3eLoadingIndicatorElement,\r\n react: React,\r\n});\r\n"],"names":["M3eLoadingIndicator","createComponent","tagName","elementClass","M3eLoadingIndicatorElement","react","React"],"mappings":";;;;;6IAmBO,MAAMA,EAAsBC,EAAgB,CACjDC,QAAS,wBACTC,aAAcC,EACdC,MAAOC"}
package/dist/menu.js ADDED
@@ -0,0 +1,140 @@
1
+ "use client";
2
+ /**
3
+ * @license MIT
4
+ * Copyright (c) 2025 matraic
5
+ * See LICENSE file in the project root for full license text.
6
+ */
7
+
8
+ import React from 'react';
9
+ import { createComponent } from '@lit/react';
10
+ import { M3eMenuElement, M3eMenuItemElement, M3eMenuItemCheckboxElement, M3eMenuItemGroupElement, M3eMenuItemRadioElement, M3eMenuTriggerElement } from '@m3e/web/menu';
11
+
12
+ /**
13
+ * React binding for the `m3e-menu` Web Component from `@m3e/menu`.
14
+ *
15
+ * This component renders the underlying `<m3e-menu>` element and exposes its
16
+ * properties, attributes, and events through an idiomatic React interface.
17
+ *
18
+ * Props map directly to element properties, and event handlers receive the
19
+ * native DOM events dispatched by the component. Refs are forwarded to the
20
+ * underlying `<m3e-menu>` instance for imperative access.
21
+ *
22
+ * See the `m3e-menu` documentation for full details on behavior, styling,
23
+ * accessibility, and supported events.
24
+ */
25
+ const M3eMenu = createComponent({
26
+ tagName: "m3e-menu",
27
+ elementClass: M3eMenuElement,
28
+ react: React,
29
+ events: {
30
+ onBeforeToggle: "beforetoggle",
31
+ onToggle: "toggle",
32
+ },
33
+ });
34
+
35
+ /**
36
+ * React binding for the `m3e-menu-item` Web Component from `@m3e/menu`.
37
+ *
38
+ * This component renders the underlying `<m3e-menu-item>` element and exposes its
39
+ * properties, attributes, and events through an idiomatic React interface.
40
+ *
41
+ * Props map directly to element properties, and event handlers receive the
42
+ * native DOM events dispatched by the component. Refs are forwarded to the
43
+ * underlying `<m3e-menu-item>` instance for imperative access.
44
+ *
45
+ * See the `m3e-menu-item` documentation for full details on behavior, styling,
46
+ * accessibility, and supported events.
47
+ */
48
+ const M3eMenuItem = createComponent({
49
+ tagName: "m3e-menu-item",
50
+ elementClass: M3eMenuItemElement,
51
+ react: React,
52
+ events: {
53
+ onClick: "click",
54
+ },
55
+ });
56
+
57
+ /**
58
+ * React binding for the `m3e-menu-item-checkbox` Web Component from `@m3e/menu`.
59
+ *
60
+ * This component renders the underlying `<m3e-menu-item-checkbox>` element and exposes its
61
+ * properties, attributes, and events through an idiomatic React interface.
62
+ *
63
+ * Props map directly to element properties, and event handlers receive the
64
+ * native DOM events dispatched by the component. Refs are forwarded to the
65
+ * underlying `<m3e-menu-item-checkbox>` instance for imperative access.
66
+ *
67
+ * See the `m3e-menu-item-checkbox` documentation for full details on behavior, styling,
68
+ * accessibility, and supported events.
69
+ */
70
+ const M3eMenuItemCheckbox = createComponent({
71
+ tagName: "m3e-menu-item-checkbox",
72
+ elementClass: M3eMenuItemCheckboxElement,
73
+ react: React,
74
+ events: {
75
+ onClick: "click",
76
+ },
77
+ });
78
+
79
+ /**
80
+ * React binding for the `m3e-menu-item-group` Web Component from `@m3e/menu`.
81
+ *
82
+ * This component renders the underlying `<m3e-menu-item-group>` element and exposes its
83
+ * properties, attributes, and events through an idiomatic React interface.
84
+ *
85
+ * Props map directly to element properties, and event handlers receive the
86
+ * native DOM events dispatched by the component. Refs are forwarded to the
87
+ * underlying `<m3e-menu-item-group>` instance for imperative access.
88
+ *
89
+ * See the `m3e-menu-item-group` documentation for full details on behavior, styling,
90
+ * accessibility, and supported events.
91
+ */
92
+ const M3eMenuItemGroup = createComponent({
93
+ tagName: "m3e-menu-item-group",
94
+ elementClass: M3eMenuItemGroupElement,
95
+ react: React,
96
+ });
97
+
98
+ /**
99
+ * React binding for the `m3e-menu-item-radio` Web Component from `@m3e/menu`.
100
+ *
101
+ * This component renders the underlying `<m3e-menu-item-radio>` element and exposes its
102
+ * properties, attributes, and events through an idiomatic React interface.
103
+ *
104
+ * Props map directly to element properties, and event handlers receive the
105
+ * native DOM events dispatched by the component. Refs are forwarded to the
106
+ * underlying `<m3e-menu-item-radio>` instance for imperative access.
107
+ *
108
+ * See the `m3e-menu-item-radio` documentation for full details on behavior, styling,
109
+ * accessibility, and supported events.
110
+ */
111
+ const M3eMenuItemRadio = createComponent({
112
+ tagName: "m3e-menu-item-radio",
113
+ elementClass: M3eMenuItemRadioElement,
114
+ react: React,
115
+ events: {
116
+ onClick: "click",
117
+ },
118
+ });
119
+
120
+ /**
121
+ * React binding for the `m3e-menu-trigger` Web Component from `@m3e/menu`.
122
+ *
123
+ * This component renders the underlying `<m3e-menu-trigger>` element and exposes its
124
+ * properties, attributes, and events through an idiomatic React interface.
125
+ *
126
+ * Props map directly to element properties, and event handlers receive the
127
+ * native DOM events dispatched by the component. Refs are forwarded to the
128
+ * underlying `<m3e-menu-trigger>` instance for imperative access.
129
+ *
130
+ * See the `m3e-menu-trigger` documentation for full details on behavior, styling,
131
+ * accessibility, and supported events.
132
+ */
133
+ const M3eMenuTrigger = createComponent({
134
+ tagName: "m3e-menu-trigger",
135
+ elementClass: M3eMenuTriggerElement,
136
+ react: React,
137
+ });
138
+
139
+ export { M3eMenu, M3eMenuItem, M3eMenuItemCheckbox, M3eMenuItemGroup, M3eMenuItemRadio, M3eMenuTrigger };
140
+ //# sourceMappingURL=menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu.js","sources":["../../src/menu/Menu.ts","../../src/menu/MenuItem.ts","../../src/menu/MenuItemCheckbox.ts","../../src/menu/MenuItemGroup.ts","../../src/menu/MenuItemRadio.ts","../../src/menu/MenuTrigger.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuElement } from \"@m3e/web/menu\";\r\nexport type { MenuPositionX, MenuPositionY, MenuVariant, M3eMenuElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu>` instance for imperative access.\r\n *\r\n * See the `m3e-menu` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenu = createComponent({\r\n tagName: \"m3e-menu\",\r\n elementClass: M3eMenuElement,\r\n react: React,\r\n events: {\r\n onBeforeToggle: \"beforetoggle\",\r\n onToggle: \"toggle\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuItemElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuItemElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-item` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-item>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuItem = createComponent({\r\n tagName: \"m3e-menu-item\",\r\n elementClass: M3eMenuItemElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuItemCheckboxElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuItemCheckboxElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-item-checkbox` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-item-checkbox>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-item-checkbox>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-item-checkbox` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuItemCheckbox = createComponent({\r\n tagName: \"m3e-menu-item-checkbox\",\r\n elementClass: M3eMenuItemCheckboxElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuItemGroupElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuItemGroupElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-item-group` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-item-group>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-item-group>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-item-group` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuItemGroup = createComponent({\r\n tagName: \"m3e-menu-item-group\",\r\n elementClass: M3eMenuItemGroupElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuItemRadioElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuItemRadioElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-item-radio` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-item-radio>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-item-radio>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-item-radio` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuItemRadio = createComponent({\r\n tagName: \"m3e-menu-item-radio\",\r\n elementClass: M3eMenuItemRadioElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuTriggerElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuTriggerElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-trigger` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-trigger>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-trigger>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-trigger` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuTrigger = createComponent({\r\n tagName: \"m3e-menu-trigger\",\r\n elementClass: M3eMenuTriggerElement,\r\n react: React,\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,OAAO,GAAG,eAAe,CAAC;AACrC,IAAA,OAAO,EAAE,UAAU;AACnB,IAAA,YAAY,EAAE,cAAc;AAC5B,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,cAAc,EAAE,cAAc;AAC9B,QAAA,QAAQ,EAAE,QAAQ;AACnB,KAAA;AACF,CAAA;;ACrBD;;;;;;;;;;;;AAYG;AACI,MAAM,WAAW,GAAG,eAAe,CAAC;AACzC,IAAA,OAAO,EAAE,eAAe;AACxB,IAAA,YAAY,EAAE,kBAAkB;AAChC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;ACpBD;;;;;;;;;;;;AAYG;AACI,MAAM,mBAAmB,GAAG,eAAe,CAAC;AACjD,IAAA,OAAO,EAAE,wBAAwB;AACjC,IAAA,YAAY,EAAE,0BAA0B;AACxC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;ACpBD;;;;;;;;;;;;AAYG;AACI,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAC9C,IAAA,OAAO,EAAE,qBAAqB;AAC9B,IAAA,YAAY,EAAE,uBAAuB;AACrC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAC9C,IAAA,OAAO,EAAE,qBAAqB;AAC9B,IAAA,YAAY,EAAE,uBAAuB;AACrC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;ACpBD;;;;;;;;;;;;AAYG;AACI,MAAM,cAAc,GAAG,eAAe,CAAC;AAC5C,IAAA,OAAO,EAAE,kBAAkB;AAC3B,IAAA,YAAY,EAAE,qBAAqB;AACnC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;;;"}
@@ -0,0 +1,7 @@
1
+ "use client";
2
+ /**
3
+ * @license MIT
4
+ * Copyright (c) 2025 matraic
5
+ * See LICENSE file in the project root for full license text.
6
+ */import e from"react";import{createComponent as t}from"@lit/react";import{M3eMenuElement as m,M3eMenuItemElement as a,M3eMenuItemCheckboxElement as l,M3eMenuItemGroupElement as n,M3eMenuItemRadioElement as o,M3eMenuTriggerElement as c}from"@m3e/web/menu";const r=t({tagName:"m3e-menu",elementClass:m,react:e,events:{onBeforeToggle:"beforetoggle",onToggle:"toggle"}}),s=t({tagName:"m3e-menu-item",elementClass:a,react:e,events:{onClick:"click"}}),g=t({tagName:"m3e-menu-item-checkbox",elementClass:l,react:e,events:{onClick:"click"}}),i=t({tagName:"m3e-menu-item-group",elementClass:n,react:e}),u=t({tagName:"m3e-menu-item-radio",elementClass:o,react:e,events:{onClick:"click"}}),C=t({tagName:"m3e-menu-trigger",elementClass:c,react:e});export{r as M3eMenu,s as M3eMenuItem,g as M3eMenuItemCheckbox,i as M3eMenuItemGroup,u as M3eMenuItemRadio,C as M3eMenuTrigger};
7
+ //# sourceMappingURL=menu.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu.min.js","sources":["../../src/menu/Menu.ts","../../src/menu/MenuItem.ts","../../src/menu/MenuItemCheckbox.ts","../../src/menu/MenuItemGroup.ts","../../src/menu/MenuItemRadio.ts","../../src/menu/MenuTrigger.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuElement } from \"@m3e/web/menu\";\r\nexport type { MenuPositionX, MenuPositionY, MenuVariant, M3eMenuElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu>` instance for imperative access.\r\n *\r\n * See the `m3e-menu` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenu = createComponent({\r\n tagName: \"m3e-menu\",\r\n elementClass: M3eMenuElement,\r\n react: React,\r\n events: {\r\n onBeforeToggle: \"beforetoggle\",\r\n onToggle: \"toggle\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuItemElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuItemElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-item` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-item>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuItem = createComponent({\r\n tagName: \"m3e-menu-item\",\r\n elementClass: M3eMenuItemElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuItemCheckboxElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuItemCheckboxElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-item-checkbox` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-item-checkbox>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-item-checkbox>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-item-checkbox` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuItemCheckbox = createComponent({\r\n tagName: \"m3e-menu-item-checkbox\",\r\n elementClass: M3eMenuItemCheckboxElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuItemGroupElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuItemGroupElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-item-group` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-item-group>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-item-group>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-item-group` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuItemGroup = createComponent({\r\n tagName: \"m3e-menu-item-group\",\r\n elementClass: M3eMenuItemGroupElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuItemRadioElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuItemRadioElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-item-radio` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-item-radio>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-item-radio>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-item-radio` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuItemRadio = createComponent({\r\n tagName: \"m3e-menu-item-radio\",\r\n elementClass: M3eMenuItemRadioElement,\r\n react: React,\r\n events: {\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eMenuTriggerElement } from \"@m3e/web/menu\";\r\nexport type { M3eMenuTriggerElement } from \"@m3e/web/menu\";\r\n\r\n/**\r\n * React binding for the `m3e-menu-trigger` Web Component from `@m3e/menu`.\r\n *\r\n * This component renders the underlying `<m3e-menu-trigger>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-menu-trigger>` instance for imperative access.\r\n *\r\n * See the `m3e-menu-trigger` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eMenuTrigger = createComponent({\r\n tagName: \"m3e-menu-trigger\",\r\n elementClass: M3eMenuTriggerElement,\r\n react: React,\r\n});\r\n"],"names":["M3eMenu","createComponent","tagName","elementClass","M3eMenuElement","react","React","events","onBeforeToggle","onToggle","M3eMenuItem","M3eMenuItemElement","onClick","M3eMenuItemCheckbox","M3eMenuItemCheckboxElement","M3eMenuItemGroup","M3eMenuItemGroupElement","M3eMenuItemRadio","M3eMenuItemRadioElement","M3eMenuTrigger","M3eMenuTriggerElement"],"mappings":";;;;;iQAmBO,MAAMA,EAAUC,EAAgB,CACrCC,QAAS,WACTC,aAAcC,EACdC,MAAOC,EACPC,OAAQ,CACNC,eAAgB,eAChBC,SAAU,YCNDC,EAAcT,EAAgB,CACzCC,QAAS,gBACTC,aAAcQ,EACdN,MAAOC,EACPC,OAAQ,CACNK,QAAS,WCLAC,EAAsBZ,EAAgB,CACjDC,QAAS,yBACTC,aAAcW,EACdT,MAAOC,EACPC,OAAQ,CACNK,QAAS,WCLAG,EAAmBd,EAAgB,CAC9CC,QAAS,sBACTC,aAAca,EACdX,MAAOC,ICHIW,EAAmBhB,EAAgB,CAC9CC,QAAS,sBACTC,aAAce,EACdb,MAAOC,EACPC,OAAQ,CACNK,QAAS,WCLAO,EAAiBlB,EAAgB,CAC5CC,QAAS,mBACTC,aAAciB,EACdf,MAAOC"}
@@ -0,0 +1,59 @@
1
+ "use client";
2
+ /**
3
+ * @license MIT
4
+ * Copyright (c) 2025 matraic
5
+ * See LICENSE file in the project root for full license text.
6
+ */
7
+
8
+ import React from 'react';
9
+ import { createComponent } from '@lit/react';
10
+ import { M3eNavBarElement, M3eNavItemElement } from '@m3e/web/nav-bar';
11
+
12
+ /**
13
+ * React binding for the `m3e-nav-bar` Web Component from `@m3e/nav-bar`.
14
+ *
15
+ * This component renders the underlying `<m3e-nav-bar>` element and exposes its
16
+ * properties, attributes, and events through an idiomatic React interface.
17
+ *
18
+ * Props map directly to element properties, and event handlers receive the
19
+ * native DOM events dispatched by the component. Refs are forwarded to the
20
+ * underlying `<m3e-nav-bar>` instance for imperative access.
21
+ *
22
+ * See the `m3e-nav-bar` documentation for full details on behavior, styling,
23
+ * accessibility, and supported events.
24
+ */
25
+ const M3eNavBar = createComponent({
26
+ tagName: "m3e-nav-bar",
27
+ elementClass: M3eNavBarElement,
28
+ react: React,
29
+ events: {
30
+ onChange: "change",
31
+ },
32
+ });
33
+
34
+ /**
35
+ * React binding for the `m3e-nav-item` Web Component from `@m3e/nav-bar`.
36
+ *
37
+ * This component renders the underlying `<m3e-nav-item>` element and exposes its
38
+ * properties, attributes, and events through an idiomatic React interface.
39
+ *
40
+ * Props map directly to element properties, and event handlers receive the
41
+ * native DOM events dispatched by the component. Refs are forwarded to the
42
+ * underlying `<m3e-nav-item>` instance for imperative access.
43
+ *
44
+ * See the `m3e-nav-item` documentation for full details on behavior, styling,
45
+ * accessibility, and supported events.
46
+ */
47
+ const M3eNavItem = createComponent({
48
+ tagName: "m3e-nav-item",
49
+ elementClass: M3eNavItemElement,
50
+ react: React,
51
+ events: {
52
+ onInput: "input",
53
+ onChange: "change",
54
+ onClick: "click",
55
+ },
56
+ });
57
+
58
+ export { M3eNavBar, M3eNavItem };
59
+ //# sourceMappingURL=nav-bar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-bar.js","sources":["../../src/nav-bar/NavBar.ts","../../src/nav-bar/NavItem.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eNavBarElement } from \"@m3e/web/nav-bar\";\r\nexport type { NavBarMode, NavItemOrientation, M3eNavBarElement } from \"@m3e/web/nav-bar\";\r\n\r\n/**\r\n * React binding for the `m3e-nav-bar` Web Component from `@m3e/nav-bar`.\r\n *\r\n * This component renders the underlying `<m3e-nav-bar>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-nav-bar>` instance for imperative access.\r\n *\r\n * See the `m3e-nav-bar` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eNavBar = createComponent({\r\n tagName: \"m3e-nav-bar\",\r\n elementClass: M3eNavBarElement,\r\n react: React,\r\n events: {\r\n onChange: \"change\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eNavItemElement } from \"@m3e/web/nav-bar\";\r\nexport type { M3eNavItemElement } from \"@m3e/web/nav-bar\";\r\n\r\n/**\r\n * React binding for the `m3e-nav-item` Web Component from `@m3e/nav-bar`.\r\n *\r\n * This component renders the underlying `<m3e-nav-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-nav-item>` instance for imperative access.\r\n *\r\n * See the `m3e-nav-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eNavItem = createComponent({\r\n tagName: \"m3e-nav-item\",\r\n elementClass: M3eNavItemElement,\r\n react: React,\r\n events: {\r\n onInput: \"input\",\r\n onChange: \"change\",\r\n onClick: \"click\",\r\n },\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,SAAS,GAAG,eAAe,CAAC;AACvC,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,YAAY,EAAE,gBAAgB;AAC9B,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,QAAQ,EAAE,QAAQ;AACnB,KAAA;AACF,CAAA;;ACpBD;;;;;;;;;;;;AAYG;AACI,MAAM,UAAU,GAAG,eAAe,CAAC;AACxC,IAAA,OAAO,EAAE,cAAc;AACvB,IAAA,YAAY,EAAE,iBAAiB;AAC/B,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,QAAQ,EAAE,QAAQ;AAClB,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;;;"}
@@ -0,0 +1,7 @@
1
+ "use client";
2
+ /**
3
+ * @license MIT
4
+ * Copyright (c) 2025 matraic
5
+ * See LICENSE file in the project root for full license text.
6
+ */import e from"react";import{createComponent as t}from"@lit/react";import{M3eNavBarElement as a,M3eNavItemElement as n}from"@m3e/web/nav-bar";const m=t({tagName:"m3e-nav-bar",elementClass:a,react:e,events:{onChange:"change"}}),r=t({tagName:"m3e-nav-item",elementClass:n,react:e,events:{onInput:"input",onChange:"change",onClick:"click"}});export{m as M3eNavBar,r as M3eNavItem};
7
+ //# sourceMappingURL=nav-bar.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-bar.min.js","sources":["../../src/nav-bar/NavBar.ts","../../src/nav-bar/NavItem.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eNavBarElement } from \"@m3e/web/nav-bar\";\r\nexport type { NavBarMode, NavItemOrientation, M3eNavBarElement } from \"@m3e/web/nav-bar\";\r\n\r\n/**\r\n * React binding for the `m3e-nav-bar` Web Component from `@m3e/nav-bar`.\r\n *\r\n * This component renders the underlying `<m3e-nav-bar>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-nav-bar>` instance for imperative access.\r\n *\r\n * See the `m3e-nav-bar` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eNavBar = createComponent({\r\n tagName: \"m3e-nav-bar\",\r\n elementClass: M3eNavBarElement,\r\n react: React,\r\n events: {\r\n onChange: \"change\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eNavItemElement } from \"@m3e/web/nav-bar\";\r\nexport type { M3eNavItemElement } from \"@m3e/web/nav-bar\";\r\n\r\n/**\r\n * React binding for the `m3e-nav-item` Web Component from `@m3e/nav-bar`.\r\n *\r\n * This component renders the underlying `<m3e-nav-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-nav-item>` instance for imperative access.\r\n *\r\n * See the `m3e-nav-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eNavItem = createComponent({\r\n tagName: \"m3e-nav-item\",\r\n elementClass: M3eNavItemElement,\r\n react: React,\r\n events: {\r\n onInput: \"input\",\r\n onChange: \"change\",\r\n onClick: \"click\",\r\n },\r\n});\r\n"],"names":["M3eNavBar","createComponent","tagName","elementClass","M3eNavBarElement","react","React","events","onChange","M3eNavItem","M3eNavItemElement","onInput","onClick"],"mappings":";;;;;gJAmBO,MAAMA,EAAYC,EAAgB,CACvCC,QAAS,cACTC,aAAcC,EACdC,MAAOC,EACPC,OAAQ,CACNC,SAAU,YCLDC,EAAaR,EAAgB,CACxCC,QAAS,eACTC,aAAcO,EACdL,MAAOC,EACPC,OAAQ,CACNI,QAAS,QACTH,SAAU,SACVI,QAAS"}
@@ -0,0 +1,77 @@
1
+ "use client";
2
+ /**
3
+ * @license MIT
4
+ * Copyright (c) 2025 matraic
5
+ * See LICENSE file in the project root for full license text.
6
+ */
7
+
8
+ import React from 'react';
9
+ import { createComponent } from '@lit/react';
10
+ import { M3eNavMenuElement, M3eNavMenuItemElement, M3eNavMenuItemGroupElement } from '@m3e/web/nav-menu';
11
+
12
+ /**
13
+ * React binding for the `m3e-nav-menu` Web Component from `@m3e/nav-menu`.
14
+ *
15
+ * This component renders the underlying `<m3e-nav-menu>` element and exposes its
16
+ * properties, attributes, and events through an idiomatic React interface.
17
+ *
18
+ * Props map directly to element properties, and event handlers receive the
19
+ * native DOM events dispatched by the component. Refs are forwarded to the
20
+ * underlying `<m3e-nav-menu>` instance for imperative access.
21
+ *
22
+ * See the `m3e-nav-menu` documentation for full details on behavior, styling,
23
+ * accessibility, and supported events.
24
+ */
25
+ const M3eNavMenu = createComponent({
26
+ tagName: "m3e-nav-menu",
27
+ elementClass: M3eNavMenuElement,
28
+ react: React,
29
+ });
30
+
31
+ /**
32
+ * React binding for the `m3e-nav-menu-item` Web Component from `@m3e/nav-menu`.
33
+ *
34
+ * This component renders the underlying `<m3e-nav-menu-item>` element and exposes its
35
+ * properties, attributes, and events through an idiomatic React interface.
36
+ *
37
+ * Props map directly to element properties, and event handlers receive the
38
+ * native DOM events dispatched by the component. Refs are forwarded to the
39
+ * underlying `<m3e-nav-menu-item>` instance for imperative access.
40
+ *
41
+ * See the `m3e-nav-menu-item` documentation for full details on behavior, styling,
42
+ * accessibility, and supported events.
43
+ */
44
+ const M3eNavMenuItem = createComponent({
45
+ tagName: "m3e-nav-menu-item",
46
+ elementClass: M3eNavMenuItemElement,
47
+ react: React,
48
+ events: {
49
+ onOpening: "opening",
50
+ onOpened: "opened",
51
+ onClosing: "closing",
52
+ onClosed: "closed",
53
+ onClick: "click",
54
+ },
55
+ });
56
+
57
+ /**
58
+ * React binding for the `m3e-nav-menu-item-group` Web Component from `@m3e/nav-menu`.
59
+ *
60
+ * This component renders the underlying `<m3e-nav-menu-item-group>` element and exposes its
61
+ * properties, attributes, and events through an idiomatic React interface.
62
+ *
63
+ * Props map directly to element properties, and event handlers receive the
64
+ * native DOM events dispatched by the component. Refs are forwarded to the
65
+ * underlying `<m3e-nav-menu-item-group>` instance for imperative access.
66
+ *
67
+ * See the `m3e-nav-menu-item-group` documentation for full details on behavior, styling,
68
+ * accessibility, and supported events.
69
+ */
70
+ const M3eNavMenuItemGroup = createComponent({
71
+ tagName: "m3e-nav-menu-item-group",
72
+ elementClass: M3eNavMenuItemGroupElement,
73
+ react: React,
74
+ });
75
+
76
+ export { M3eNavMenu, M3eNavMenuItem, M3eNavMenuItemGroup };
77
+ //# sourceMappingURL=nav-menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-menu.js","sources":["../../src/nav-menu/NavMenu.ts","../../src/nav-menu/NavMenuItem.ts","../../src/nav-menu/NavMenuItemGroup.ts"],"sourcesContent":["import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eNavMenuElement } from \"@m3e/web/nav-menu\";\r\nexport type { M3eNavMenuElement } from \"@m3e/web/nav-menu\";\r\n\r\n/**\r\n * React binding for the `m3e-nav-menu` Web Component from `@m3e/nav-menu`.\r\n *\r\n * This component renders the underlying `<m3e-nav-menu>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-nav-menu>` instance for imperative access.\r\n *\r\n * See the `m3e-nav-menu` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eNavMenu = createComponent({\r\n tagName: \"m3e-nav-menu\",\r\n elementClass: M3eNavMenuElement,\r\n react: React,\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eNavMenuItemElement } from \"@m3e/web/nav-menu\";\r\nexport type { M3eNavMenuItemElement } from \"@m3e/web/nav-menu\";\r\n\r\n/**\r\n * React binding for the `m3e-nav-menu-item` Web Component from `@m3e/nav-menu`.\r\n *\r\n * This component renders the underlying `<m3e-nav-menu-item>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-nav-menu-item>` instance for imperative access.\r\n *\r\n * See the `m3e-nav-menu-item` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eNavMenuItem = createComponent({\r\n tagName: \"m3e-nav-menu-item\",\r\n elementClass: M3eNavMenuItemElement,\r\n react: React,\r\n events: {\r\n onOpening: \"opening\",\r\n onOpened: \"opened\",\r\n onClosing: \"closing\",\r\n onClosed: \"closed\",\r\n onClick: \"click\",\r\n },\r\n});\r\n","import React from \"react\";\r\nimport { createComponent } from \"@lit/react\";\r\n\r\nimport { M3eNavMenuItemGroupElement } from \"@m3e/web/nav-menu\";\r\nexport type { M3eNavMenuItemGroupElement } from \"@m3e/web/nav-menu\";\r\n\r\n/**\r\n * React binding for the `m3e-nav-menu-item-group` Web Component from `@m3e/nav-menu`.\r\n *\r\n * This component renders the underlying `<m3e-nav-menu-item-group>` element and exposes its\r\n * properties, attributes, and events through an idiomatic React interface.\r\n *\r\n * Props map directly to element properties, and event handlers receive the\r\n * native DOM events dispatched by the component. Refs are forwarded to the\r\n * underlying `<m3e-nav-menu-item-group>` instance for imperative access.\r\n *\r\n * See the `m3e-nav-menu-item-group` documentation for full details on behavior, styling,\r\n * accessibility, and supported events.\r\n */\r\nexport const M3eNavMenuItemGroup = createComponent({\r\n tagName: \"m3e-nav-menu-item-group\",\r\n elementClass: M3eNavMenuItemGroupElement,\r\n react: React,\r\n});\r\n"],"names":[],"mappings":";;;;;;;;;;;AAMA;;;;;;;;;;;;AAYG;AACI,MAAM,UAAU,GAAG,eAAe,CAAC;AACxC,IAAA,OAAO,EAAE,cAAc;AACvB,IAAA,YAAY,EAAE,iBAAiB;AAC/B,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;ACjBD;;;;;;;;;;;;AAYG;AACI,MAAM,cAAc,GAAG,eAAe,CAAC;AAC5C,IAAA,OAAO,EAAE,mBAAmB;AAC5B,IAAA,YAAY,EAAE,qBAAqB;AACnC,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,MAAM,EAAE;AACN,QAAA,SAAS,EAAE,SAAS;AACpB,QAAA,QAAQ,EAAE,QAAQ;AAClB,QAAA,SAAS,EAAE,SAAS;AACpB,QAAA,QAAQ,EAAE,QAAQ;AAClB,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACF,CAAA;;ACxBD;;;;;;;;;;;;AAYG;AACI,MAAM,mBAAmB,GAAG,eAAe,CAAC;AACjD,IAAA,OAAO,EAAE,yBAAyB;AAClC,IAAA,YAAY,EAAE,0BAA0B;AACxC,IAAA,KAAK,EAAE,KAAK;AACb,CAAA;;;;"}