@meonode/mui 1.5.2 → 1.5.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 (231) hide show
  1. package/dist/cjs/core.cjs.map +1 -1
  2. package/dist/cjs/lib/mui.lab/TabList.cjs.map +1 -1
  3. package/dist/esm/core.js.map +1 -1
  4. package/dist/esm/lib/mui.lab/TabList.js.map +1 -1
  5. package/dist/types/core.d.ts +14 -17
  6. package/dist/types/core.d.ts.map +1 -1
  7. package/dist/types/lib/mui.core/Accordion.d.ts +3 -28
  8. package/dist/types/lib/mui.core/Accordion.d.ts.map +1 -1
  9. package/dist/types/lib/mui.core/AccordionSummary.d.ts +3 -28
  10. package/dist/types/lib/mui.core/AccordionSummary.d.ts.map +1 -1
  11. package/dist/types/lib/mui.core/AppBar.d.ts +3 -28
  12. package/dist/types/lib/mui.core/AppBar.d.ts.map +1 -1
  13. package/dist/types/lib/mui.core/Avatar.d.ts +3 -28
  14. package/dist/types/lib/mui.core/Avatar.d.ts.map +1 -1
  15. package/dist/types/lib/mui.core/Backdrop.d.ts +3 -28
  16. package/dist/types/lib/mui.core/Backdrop.d.ts.map +1 -1
  17. package/dist/types/lib/mui.core/Badge.d.ts +3 -28
  18. package/dist/types/lib/mui.core/Badge.d.ts.map +1 -1
  19. package/dist/types/lib/mui.core/BottomNavigation.d.ts +3 -28
  20. package/dist/types/lib/mui.core/BottomNavigation.d.ts.map +1 -1
  21. package/dist/types/lib/mui.core/BottomNavigationAction.d.ts +3 -28
  22. package/dist/types/lib/mui.core/BottomNavigationAction.d.ts.map +1 -1
  23. package/dist/types/lib/mui.core/Breadcrumbs.d.ts +3 -28
  24. package/dist/types/lib/mui.core/Breadcrumbs.d.ts.map +1 -1
  25. package/dist/types/lib/mui.core/Button.d.ts +3 -28
  26. package/dist/types/lib/mui.core/Button.d.ts.map +1 -1
  27. package/dist/types/lib/mui.core/ButtonBase.d.ts +3 -28
  28. package/dist/types/lib/mui.core/ButtonBase.d.ts.map +1 -1
  29. package/dist/types/lib/mui.core/ButtonGroup.d.ts +3 -28
  30. package/dist/types/lib/mui.core/ButtonGroup.d.ts.map +1 -1
  31. package/dist/types/lib/mui.core/Card.d.ts +3 -28
  32. package/dist/types/lib/mui.core/Card.d.ts.map +1 -1
  33. package/dist/types/lib/mui.core/CardActionArea.d.ts +3 -28
  34. package/dist/types/lib/mui.core/CardActionArea.d.ts.map +1 -1
  35. package/dist/types/lib/mui.core/CardContent.d.ts +3 -28
  36. package/dist/types/lib/mui.core/CardContent.d.ts.map +1 -1
  37. package/dist/types/lib/mui.core/CardHeader.d.ts +3 -28
  38. package/dist/types/lib/mui.core/CardHeader.d.ts.map +1 -1
  39. package/dist/types/lib/mui.core/CardMedia.d.ts +3 -28
  40. package/dist/types/lib/mui.core/CardMedia.d.ts.map +1 -1
  41. package/dist/types/lib/mui.core/Chip.d.ts +3 -28
  42. package/dist/types/lib/mui.core/Chip.d.ts.map +1 -1
  43. package/dist/types/lib/mui.core/Container.d.ts +3 -28
  44. package/dist/types/lib/mui.core/Container.d.ts.map +1 -1
  45. package/dist/types/lib/mui.core/DialogContentText.d.ts +3 -28
  46. package/dist/types/lib/mui.core/DialogContentText.d.ts.map +1 -1
  47. package/dist/types/lib/mui.core/DialogTitle.d.ts +3 -28
  48. package/dist/types/lib/mui.core/DialogTitle.d.ts.map +1 -1
  49. package/dist/types/lib/mui.core/Divider.d.ts +3 -28
  50. package/dist/types/lib/mui.core/Divider.d.ts.map +1 -1
  51. package/dist/types/lib/mui.core/Fab.d.ts +3 -28
  52. package/dist/types/lib/mui.core/Fab.d.ts.map +1 -1
  53. package/dist/types/lib/mui.core/FormControl.d.ts +3 -28
  54. package/dist/types/lib/mui.core/FormControl.d.ts.map +1 -1
  55. package/dist/types/lib/mui.core/FormHelperText.d.ts +3 -28
  56. package/dist/types/lib/mui.core/FormHelperText.d.ts.map +1 -1
  57. package/dist/types/lib/mui.core/FormLabel.d.ts +3 -28
  58. package/dist/types/lib/mui.core/FormLabel.d.ts.map +1 -1
  59. package/dist/types/lib/mui.core/Icon.d.ts +3 -28
  60. package/dist/types/lib/mui.core/Icon.d.ts.map +1 -1
  61. package/dist/types/lib/mui.core/IconButton.d.ts +3 -28
  62. package/dist/types/lib/mui.core/IconButton.d.ts.map +1 -1
  63. package/dist/types/lib/mui.core/ImageList.d.ts +3 -28
  64. package/dist/types/lib/mui.core/ImageList.d.ts.map +1 -1
  65. package/dist/types/lib/mui.core/ImageListItem.d.ts +3 -28
  66. package/dist/types/lib/mui.core/ImageListItem.d.ts.map +1 -1
  67. package/dist/types/lib/mui.core/InputAdornment.d.ts +3 -28
  68. package/dist/types/lib/mui.core/InputAdornment.d.ts.map +1 -1
  69. package/dist/types/lib/mui.core/InputLabel.d.ts +3 -28
  70. package/dist/types/lib/mui.core/InputLabel.d.ts.map +1 -1
  71. package/dist/types/lib/mui.core/Link.d.ts +3 -28
  72. package/dist/types/lib/mui.core/Link.d.ts.map +1 -1
  73. package/dist/types/lib/mui.core/List.d.ts +3 -28
  74. package/dist/types/lib/mui.core/List.d.ts.map +1 -1
  75. package/dist/types/lib/mui.core/ListItem.d.ts +3 -28
  76. package/dist/types/lib/mui.core/ListItem.d.ts.map +1 -1
  77. package/dist/types/lib/mui.core/ListItemButton.d.ts +3 -28
  78. package/dist/types/lib/mui.core/ListItemButton.d.ts.map +1 -1
  79. package/dist/types/lib/mui.core/ListItemSecondaryAction.d.ts +3 -28
  80. package/dist/types/lib/mui.core/ListItemSecondaryAction.d.ts.map +1 -1
  81. package/dist/types/lib/mui.core/ListSubheader.d.ts +3 -28
  82. package/dist/types/lib/mui.core/ListSubheader.d.ts.map +1 -1
  83. package/dist/types/lib/mui.core/MenuItem.d.ts +3 -28
  84. package/dist/types/lib/mui.core/MenuItem.d.ts.map +1 -1
  85. package/dist/types/lib/mui.core/MenuList.d.ts +3 -28
  86. package/dist/types/lib/mui.core/MenuList.d.ts.map +1 -1
  87. package/dist/types/lib/mui.core/Modal.d.ts +3 -28
  88. package/dist/types/lib/mui.core/Modal.d.ts.map +1 -1
  89. package/dist/types/lib/mui.core/PaginationItem.d.ts +3 -28
  90. package/dist/types/lib/mui.core/PaginationItem.d.ts.map +1 -1
  91. package/dist/types/lib/mui.core/Paper.d.ts +3 -28
  92. package/dist/types/lib/mui.core/Paper.d.ts.map +1 -1
  93. package/dist/types/lib/mui.core/Rating.d.ts +3 -28
  94. package/dist/types/lib/mui.core/Rating.d.ts.map +1 -1
  95. package/dist/types/lib/mui.core/ScopedCssBaseline.d.ts +3 -28
  96. package/dist/types/lib/mui.core/ScopedCssBaseline.d.ts.map +1 -1
  97. package/dist/types/lib/mui.core/Skeleton.d.ts +3 -28
  98. package/dist/types/lib/mui.core/Skeleton.d.ts.map +1 -1
  99. package/dist/types/lib/mui.core/Slider.d.ts +3 -28
  100. package/dist/types/lib/mui.core/Slider.d.ts.map +1 -1
  101. package/dist/types/lib/mui.core/Stack.d.ts +3 -28
  102. package/dist/types/lib/mui.core/Stack.d.ts.map +1 -1
  103. package/dist/types/lib/mui.core/Step.d.ts +3 -28
  104. package/dist/types/lib/mui.core/Step.d.ts.map +1 -1
  105. package/dist/types/lib/mui.core/StepButton.d.ts +3 -28
  106. package/dist/types/lib/mui.core/StepButton.d.ts.map +1 -1
  107. package/dist/types/lib/mui.core/Stepper.d.ts +3 -28
  108. package/dist/types/lib/mui.core/Stepper.d.ts.map +1 -1
  109. package/dist/types/lib/mui.core/SvgIcon.d.ts +3 -28
  110. package/dist/types/lib/mui.core/SvgIcon.d.ts.map +1 -1
  111. package/dist/types/lib/mui.core/Tab.d.ts +3 -28
  112. package/dist/types/lib/mui.core/Tab.d.ts.map +1 -1
  113. package/dist/types/lib/mui.core/Table.d.ts +3 -28
  114. package/dist/types/lib/mui.core/Table.d.ts.map +1 -1
  115. package/dist/types/lib/mui.core/TableBody.d.ts +3 -28
  116. package/dist/types/lib/mui.core/TableBody.d.ts.map +1 -1
  117. package/dist/types/lib/mui.core/TableContainer.d.ts +3 -28
  118. package/dist/types/lib/mui.core/TableContainer.d.ts.map +1 -1
  119. package/dist/types/lib/mui.core/TableFooter.d.ts +3 -28
  120. package/dist/types/lib/mui.core/TableFooter.d.ts.map +1 -1
  121. package/dist/types/lib/mui.core/TableHead.d.ts +3 -28
  122. package/dist/types/lib/mui.core/TableHead.d.ts.map +1 -1
  123. package/dist/types/lib/mui.core/TablePagination.d.ts +3 -28
  124. package/dist/types/lib/mui.core/TablePagination.d.ts.map +1 -1
  125. package/dist/types/lib/mui.core/TableRow.d.ts +3 -28
  126. package/dist/types/lib/mui.core/TableRow.d.ts.map +1 -1
  127. package/dist/types/lib/mui.core/TableSortLabel.d.ts +3 -28
  128. package/dist/types/lib/mui.core/TableSortLabel.d.ts.map +1 -1
  129. package/dist/types/lib/mui.core/Tabs.d.ts +3 -28
  130. package/dist/types/lib/mui.core/Tabs.d.ts.map +1 -1
  131. package/dist/types/lib/mui.core/ToggleButton.d.ts +3 -28
  132. package/dist/types/lib/mui.core/ToggleButton.d.ts.map +1 -1
  133. package/dist/types/lib/mui.core/Toolbar.d.ts +3 -28
  134. package/dist/types/lib/mui.core/Toolbar.d.ts.map +1 -1
  135. package/dist/types/lib/mui.core/Typography.d.ts +3 -28
  136. package/dist/types/lib/mui.core/Typography.d.ts.map +1 -1
  137. package/dist/types/lib/mui.lab/LoadingButton.d.ts +3 -28
  138. package/dist/types/lib/mui.lab/LoadingButton.d.ts.map +1 -1
  139. package/dist/types/lib/mui.lab/Masonry.d.ts +3 -28
  140. package/dist/types/lib/mui.lab/Masonry.d.ts.map +1 -1
  141. package/dist/types/lib/mui.lab/TabList.d.ts +3 -30
  142. package/dist/types/lib/mui.lab/TabList.d.ts.map +1 -1
  143. package/dist/types/lib/mui.x-charts/ChartsBrushOverlay.d.ts +3 -26
  144. package/dist/types/lib/mui.x-charts/ChartsBrushOverlay.d.ts.map +1 -1
  145. package/dist/types/lib/mui.x-charts/ChartsTooltipCell.d.ts +3 -3
  146. package/dist/types/lib/mui.x-charts/FocusedLineMark.d.ts +3 -26
  147. package/dist/types/lib/mui.x-charts/FocusedLineMark.d.ts.map +1 -1
  148. package/dist/types/lib/mui.x-charts/RadarMetricLabels.d.ts +3 -26
  149. package/dist/types/lib/mui.x-charts/RadarMetricLabels.d.ts.map +1 -1
  150. package/dist/types/lib/mui.x-charts-pro/ChartZoomSlider.d.ts +3 -26
  151. package/dist/types/lib/mui.x-charts-pro/ChartZoomSlider.d.ts.map +1 -1
  152. package/dist/types/lib/mui.x-charts-pro/ChartsBrushOverlay.d.ts +3 -26
  153. package/dist/types/lib/mui.x-charts-pro/ChartsBrushOverlay.d.ts.map +1 -1
  154. package/dist/types/lib/mui.x-charts-pro/ChartsTooltipCell.d.ts +3 -3
  155. package/dist/types/lib/mui.x-charts-pro/ChartsZoomSlider.d.ts +3 -26
  156. package/dist/types/lib/mui.x-charts-pro/ChartsZoomSlider.d.ts.map +1 -1
  157. package/dist/types/lib/mui.x-charts-pro/FocusedLineMark.d.ts +3 -26
  158. package/dist/types/lib/mui.x-charts-pro/FocusedLineMark.d.ts.map +1 -1
  159. package/dist/types/lib/mui.x-charts-pro/RadarMetricLabels.d.ts +3 -26
  160. package/dist/types/lib/mui.x-charts-pro/RadarMetricLabels.d.ts.map +1 -1
  161. package/dist/types/lib/mui.x-data-grid/GridFooterPlaceholder.d.ts +3 -26
  162. package/dist/types/lib/mui.x-data-grid/GridFooterPlaceholder.d.ts.map +1 -1
  163. package/dist/types/lib/mui.x-data-grid/GridHeader.d.ts +3 -26
  164. package/dist/types/lib/mui.x-data-grid/GridHeader.d.ts.map +1 -1
  165. package/dist/types/lib/mui.x-data-grid/GridPagination.d.ts +3 -26
  166. package/dist/types/lib/mui.x-data-grid/GridPagination.d.ts.map +1 -1
  167. package/dist/types/lib/mui.x-data-grid-premium/DataGrid.d.ts +3 -26
  168. package/dist/types/lib/mui.x-data-grid-premium/DataGrid.d.ts.map +1 -1
  169. package/dist/types/lib/mui.x-data-grid-premium/DataGridPro.d.ts +3 -26
  170. package/dist/types/lib/mui.x-data-grid-premium/DataGridPro.d.ts.map +1 -1
  171. package/dist/types/lib/mui.x-data-grid-premium/GridAiAssistantPanel.d.ts +3 -26
  172. package/dist/types/lib/mui.x-data-grid-premium/GridAiAssistantPanel.d.ts.map +1 -1
  173. package/dist/types/lib/mui.x-data-grid-premium/GridFooterPlaceholder.d.ts +3 -26
  174. package/dist/types/lib/mui.x-data-grid-premium/GridFooterPlaceholder.d.ts.map +1 -1
  175. package/dist/types/lib/mui.x-data-grid-premium/GridHeader.d.ts +3 -26
  176. package/dist/types/lib/mui.x-data-grid-premium/GridHeader.d.ts.map +1 -1
  177. package/dist/types/lib/mui.x-data-grid-premium/GridPagination.d.ts +3 -26
  178. package/dist/types/lib/mui.x-data-grid-premium/GridPagination.d.ts.map +1 -1
  179. package/dist/types/lib/mui.x-data-grid-premium/GridPivotPanel.d.ts +3 -26
  180. package/dist/types/lib/mui.x-data-grid-premium/GridPivotPanel.d.ts.map +1 -1
  181. package/dist/types/lib/mui.x-data-grid-pro/DataGrid.d.ts +3 -26
  182. package/dist/types/lib/mui.x-data-grid-pro/DataGrid.d.ts.map +1 -1
  183. package/dist/types/lib/mui.x-data-grid-pro/DataGridPremium.d.ts +3 -26
  184. package/dist/types/lib/mui.x-data-grid-pro/DataGridPremium.d.ts.map +1 -1
  185. package/dist/types/lib/mui.x-data-grid-pro/GridFooterPlaceholder.d.ts +3 -26
  186. package/dist/types/lib/mui.x-data-grid-pro/GridFooterPlaceholder.d.ts.map +1 -1
  187. package/dist/types/lib/mui.x-data-grid-pro/GridHeader.d.ts +3 -26
  188. package/dist/types/lib/mui.x-data-grid-pro/GridHeader.d.ts.map +1 -1
  189. package/dist/types/lib/mui.x-data-grid-pro/GridPagination.d.ts +3 -26
  190. package/dist/types/lib/mui.x-data-grid-pro/GridPagination.d.ts.map +1 -1
  191. package/dist/types/lib/mui.x-date-pickers/ArrowDropDownIcon.d.ts +3 -28
  192. package/dist/types/lib/mui.x-date-pickers/ArrowDropDownIcon.d.ts.map +1 -1
  193. package/dist/types/lib/mui.x-date-pickers/ArrowLeftIcon.d.ts +3 -28
  194. package/dist/types/lib/mui.x-date-pickers/ArrowLeftIcon.d.ts.map +1 -1
  195. package/dist/types/lib/mui.x-date-pickers/ArrowRightIcon.d.ts +3 -28
  196. package/dist/types/lib/mui.x-date-pickers/ArrowRightIcon.d.ts.map +1 -1
  197. package/dist/types/lib/mui.x-date-pickers/CalendarIcon.d.ts +3 -28
  198. package/dist/types/lib/mui.x-date-pickers/CalendarIcon.d.ts.map +1 -1
  199. package/dist/types/lib/mui.x-date-pickers/ClearIcon.d.ts +3 -28
  200. package/dist/types/lib/mui.x-date-pickers/ClearIcon.d.ts.map +1 -1
  201. package/dist/types/lib/mui.x-date-pickers/ClockIcon.d.ts +3 -28
  202. package/dist/types/lib/mui.x-date-pickers/ClockIcon.d.ts.map +1 -1
  203. package/dist/types/lib/mui.x-date-pickers/DateRangeIcon.d.ts +3 -28
  204. package/dist/types/lib/mui.x-date-pickers/DateRangeIcon.d.ts.map +1 -1
  205. package/dist/types/lib/mui.x-date-pickers/TimeIcon.d.ts +3 -28
  206. package/dist/types/lib/mui.x-date-pickers/TimeIcon.d.ts.map +1 -1
  207. package/dist/types/lib/mui.x-date-pickers-pro/ArrowDropDownIcon.d.ts +3 -28
  208. package/dist/types/lib/mui.x-date-pickers-pro/ArrowDropDownIcon.d.ts.map +1 -1
  209. package/dist/types/lib/mui.x-date-pickers-pro/ArrowLeftIcon.d.ts +3 -28
  210. package/dist/types/lib/mui.x-date-pickers-pro/ArrowLeftIcon.d.ts.map +1 -1
  211. package/dist/types/lib/mui.x-date-pickers-pro/ArrowRightIcon.d.ts +3 -28
  212. package/dist/types/lib/mui.x-date-pickers-pro/ArrowRightIcon.d.ts.map +1 -1
  213. package/dist/types/lib/mui.x-date-pickers-pro/CalendarIcon.d.ts +3 -28
  214. package/dist/types/lib/mui.x-date-pickers-pro/CalendarIcon.d.ts.map +1 -1
  215. package/dist/types/lib/mui.x-date-pickers-pro/ClearIcon.d.ts +3 -28
  216. package/dist/types/lib/mui.x-date-pickers-pro/ClearIcon.d.ts.map +1 -1
  217. package/dist/types/lib/mui.x-date-pickers-pro/ClockIcon.d.ts +3 -28
  218. package/dist/types/lib/mui.x-date-pickers-pro/ClockIcon.d.ts.map +1 -1
  219. package/dist/types/lib/mui.x-date-pickers-pro/DateRangeIcon.d.ts +3 -28
  220. package/dist/types/lib/mui.x-date-pickers-pro/DateRangeIcon.d.ts.map +1 -1
  221. package/dist/types/lib/mui.x-date-pickers-pro/TimeIcon.d.ts +3 -28
  222. package/dist/types/lib/mui.x-date-pickers-pro/TimeIcon.d.ts.map +1 -1
  223. package/dist/types/lib/mui.x-tree-view/TreeViewCollapseIcon.d.ts +3 -28
  224. package/dist/types/lib/mui.x-tree-view/TreeViewCollapseIcon.d.ts.map +1 -1
  225. package/dist/types/lib/mui.x-tree-view/TreeViewExpandIcon.d.ts +3 -28
  226. package/dist/types/lib/mui.x-tree-view/TreeViewExpandIcon.d.ts.map +1 -1
  227. package/dist/types/lib/mui.x-tree-view-pro/TreeViewCollapseIcon.d.ts +3 -28
  228. package/dist/types/lib/mui.x-tree-view-pro/TreeViewCollapseIcon.d.ts.map +1 -1
  229. package/dist/types/lib/mui.x-tree-view-pro/TreeViewExpandIcon.d.ts +3 -28
  230. package/dist/types/lib/mui.x-tree-view-pro/TreeViewExpandIcon.d.ts.map +1 -1
  231. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"core.cjs","sources":["../../src/core.ts"],"sourcesContent":["'use strict'\nimport type { ElementType } from 'react'\nimport type { DependencyList, HasRequiredProps, NodeElementType, NodeInstance, NodeProps, PolymorphicProps, PropsOf } from '@meonode/ui'\nimport { Node } from '@meonode/ui'\nimport type { BaseProps, OverridableComponent, OverridableTypeMap } from '@mui/material/OverridableComponent'\nimport { extendTheme } from '@mui/material/styles'\n\n// --- Theme detection --------------------------------------------\n\nlet memoizedReferenceThemeKeys: string[] | null = null\n\nfunction getReferenceThemeKeys(): string[] {\n if (memoizedReferenceThemeKeys === null) {\n const referenceTheme = extendTheme()\n memoizedReferenceThemeKeys = Object.keys(referenceTheme)\n }\n return memoizedReferenceThemeKeys\n}\n\nexport function isProbablyMuiTheme(obj: unknown): boolean {\n if (typeof obj !== 'object' || obj === null) return false\n const referenceThemeKeys = getReferenceThemeKeys()\n const objKeys = Object.keys(obj as object)\n const commonKeys = objKeys.filter(key => referenceThemeKeys.includes(key))\n const similarity = commonKeys.length / referenceThemeKeys.length\n // Must share at least 3 keys AND 25% similarity\n return commonKeys.length >= 3 && similarity >= 0.25\n}\n\n// --- Types ------------------------------------------------------\n\n/**\n * Public type alias for the factory returned by `createMuiNode`. Use this to annotate\n * exported wrappers so TypeScript can write the annotation verbatim into the emitted\n * `.d.ts` (avoiding TS4023 / TS2883 when MUI's inferred prop types live in non-portable\n * deep `*.mjs` paths). Routes OverridableComponents to the polymorphic factory and\n * everything else to the generic element factory.\n */\nexport type WrappedMui<E> =\n E extends OverridableComponent<infer TypeMap>\n ? OverridableTypeMap extends TypeMap\n ? E extends ElementType\n ? GenericNodeFactory<E>\n : never\n : MuiNodeFactory<object, TypeMap>\n : E extends ElementType\n ? GenericNodeFactory<E>\n : never\n\n/**\n * Props accepted by an OverridableComponent wrapper for a resolved root element.\n *\n * Built so the resolved element (`ComponentType`) — not the component's default\n * element — drives the DOM/event prop types. This is what gives correct event\n * inference (e.g. `onClick` typed for `<a>` when `component=\"a\"`). meonode's own\n * `NodeProps` extras (themed CSS props, `css`, `children` as `Children`, `props`\n * passthrough, `ref`/`key`) take precedence; MUI's component-specific props\n * (`variant`, `color`, etc. from the TypeMap) are layered in for any key meonode\n * does not already own.\n *\n * The Emotion-style `as` prop is explicitly forbidden here (`as?: never`).\n * OverridableComponents are polymorphic via MUI's own `component` prop, which\n * routes through MUI's styling/behavior; `@meonode/ui`'s `as` swaps the element\n * at the Emotion layer and would bypass MUI entirely. The `as?: never` overrides\n * the wrapper's permissive index signature so misuse is a type error (use\n * `component` instead). `as` remains available on the generic factory.\n * @template TypeMap The OverridableTypeMap of the MUI component.\n * @template ComponentType The resolved root element type.\n */\ntype MuiNodeProps<TypeMap extends OverridableTypeMap, ComponentType extends ElementType> = NodeProps<ComponentType> &\n Omit<BaseProps<TypeMap>, keyof NodeProps<ComponentType>> & { as?: never }\n\n/**\n * Factory for Material-UI OverridableComponents.\n *\n * Mirrors MUI's own `OverridableComponent` typing with two call signatures so the\n * root element is inferred from the `component` prop:\n * - When `component` is provided, `ComponentType` is inferred from it and the props\n * (including event handlers) are typed against that element.\n * - Otherwise the component's default element is used.\n * @template InitialProperties Initial/Extra props baked in when creating the factory.\n * @template TypeMap The OverridableTypeMap of the MUI component.\n * @template DefaultComponent The default underlying element of the MUI component.\n */\ntype MuiNodeFactory<\n InitialProperties,\n TypeMap extends OverridableTypeMap = OverridableTypeMap,\n DefaultComponent extends ElementType = TypeMap['defaultComponent'],\n> = {\n <ComponentType extends ElementType>(\n props: { component: ComponentType } & MuiNodeProps<TypeMap, ComponentType> & InitialProperties,\n deps?: DependencyList,\n ): NodeInstance<ComponentType>\n (props?: MuiNodeProps<TypeMap, DefaultComponent> & InitialProperties, deps?: DependencyList): NodeInstance<DefaultComponent>\n} & { element: ElementType }\n\n/**\n * Factory for generic React elements.\n *\n * Mirrors `@meonode/ui`'s own factory typing: an optional `As` generic adds\n * Emotion-style element polymorphism via the `as` prop (intrinsic tags only,\n * gated off for `NO_STYLE_TAGS`). When `as` is omitted, `As` defaults to\n * `Element` so this stays identical to the previous `MergedProps<Element, …>`\n * behavior. `NoInfer` on the return keeps `As` from being inferred via children.\n *\n * Note: this is the GENERIC path (plain elements / non-overridable components).\n * MUI OverridableComponents keep their own `component` prop (see\n * {@link MuiNodeFactory}); `as` would swap the whole element at the Emotion\n * layer and bypass MUI, so it is intentionally not offered there.\n * @template Element The React element type.\n */\ntype GenericNodeFactory<Element extends ElementType> =\n HasRequiredProps<PropsOf<Element>> extends true\n ? (<AdditionalProps, ExactProps extends object = object, As extends NodeElementType = Element>(\n props: PolymorphicProps<Element, As, AdditionalProps, ExactProps>,\n deps?: DependencyList,\n ) => NodeInstance<NoInfer<As>>) & {\n element: Element\n }\n : (<AdditionalProps, ExactProps extends object = object, As extends NodeElementType = Element>(\n props?: PolymorphicProps<Element, As, AdditionalProps, ExactProps>,\n deps?: DependencyList,\n ) => NodeInstance<NoInfer<As>>) & {\n element: Element\n }\n\n// --- Overloads --------------------------------------------------\n\n/**\n * Create node factory for a Material-UI OverridableComponent.\n */\nexport default function createMuiNode<\n InitialProperties extends Record<string, any>,\n TypeMap extends OverridableTypeMap,\n DefaultComponent extends ElementType = TypeMap['defaultComponent'],\n>(\n element: OverridableComponent<TypeMap>,\n initialProps?: Partial<MuiNodeProps<TypeMap, DefaultComponent>> & InitialProperties,\n): MuiNodeFactory<InitialProperties, TypeMap, DefaultComponent>\n\n/**\n * Create node factory for a generic React element.\n */\nexport default function createMuiNode<InitialProperties extends Record<string, any>, Element extends ElementType>(\n element: Element,\n initialProps?: Partial<NodeProps<Element>> & InitialProperties,\n): GenericNodeFactory<Element>\n\n// --- Implementation --------------------------------------------\n\nexport default function createMuiNode(element: any, initialProps: any = {}): any {\n const Instance = (props: any = {}, deps?: DependencyList) => {\n const merged = { ...initialProps, ...props }\n if (!isProbablyMuiTheme(merged?.theme)) {\n merged.nodetheme = merged.theme\n delete merged.theme\n }\n return Node(element, merged, deps)\n }\n\n Instance.element = element\n return Instance\n}\n\nexport { createMuiNode }\n"],"names":["extendTheme","Node"],"mappings":";;;;;;;AASA,IAAI,0BAAA,GAA8C,IAAA;AAElD,SAAS,qBAAA,GAAqB;AAC5B,EAAA,IAAI,+BAA+B,IAAA,EAAM;AACvC,IAAA,MAAM,iBAAiBA,kBAAA,EAAW;AAClC,IAAA,0BAAA,GAA6B,MAAA,CAAO,KAAK,cAAc,CAAA;AAAA,EACzD;AACA,EAAA,OAAO,0BAAA;AACT;AAEM,SAAU,mBAAmB,GAAA,EAAY;AAC7C,EAAA,IAAI,OAAO,GAAA,KAAQ,QAAA,IAAY,GAAA,KAAQ,IAAA;AAAM,IAAA,OAAO,KAAA;AACpD,EAAA,MAAM,qBAAqB,qBAAA,EAAqB;AAChD,EAAA,MAAM,OAAA,GAAU,MAAA,CAAO,IAAA,CAAK,GAAa,CAAA;AACzC,EAAA,MAAM,aAAa,OAAA,CAAQ,MAAA,CAAO,SAAO,kBAAA,CAAmB,QAAA,CAAS,GAAG,CAAC,CAAA;AACzE,EAAA,MAAM,UAAA,GAAa,UAAA,CAAW,MAAA,GAAS,kBAAA,CAAmB,MAAA;AAE1D,EAAA,OAAO,UAAA,CAAW,MAAA,IAAU,CAAA,IAAK,UAAA,IAAc,IAAA;AACjD;AA2HA,SAAwB,aAAA,CAAc,OAAA,EAAc,YAAA,GAAoB,EAAA,EAAE;AACxE,EAAA,MAAM,QAAA,GAAW,CAAC,KAAA,GAAa,IAAI,IAAA,KAAyB;AAC1D,IAAA,MAAM,MAAA,GAAS,EAAE,GAAG,YAAA,EAAc,GAAG,KAAA,EAAK;AAC1C,IAAA,IAAI,CAAC,kBAAA,CAAmB,MAAA,EAAQ,KAAK,CAAA,EAAG;AACtC,MAAA,MAAA,CAAO,YAAY,MAAA,CAAO,KAAA;AAC1B,MAAA,OAAO,MAAA,CAAO,KAAA;AAAA,IAChB;AACA,IAAA,OAAOC,OAAA,CAAK,OAAA,EAAS,MAAA,EAAQ,IAAI,CAAA;AAAA,EACnC,CAAA;AAEA,EAAA,QAAA,CAAS,OAAA,GAAU,OAAA;AACnB,EAAA,OAAO,QAAA;AACT;;;;;;"}
1
+ {"version":3,"file":"core.cjs","sources":["../../src/core.ts"],"sourcesContent":["'use strict'\nimport type { ElementType } from 'react'\nimport type { DependencyList, HasRequiredProps, NodeElementType, NodeInstance, NodeProps, PolymorphicProps, PropsOf } from '@meonode/ui'\nimport { Node } from '@meonode/ui'\nimport type { BaseProps, OverridableComponent, OverridableTypeMap } from '@mui/material/OverridableComponent'\nimport { extendTheme } from '@mui/material/styles'\n\n// --- Theme detection --------------------------------------------\n\nlet memoizedReferenceThemeKeys: string[] | null = null\n\nfunction getReferenceThemeKeys(): string[] {\n if (memoizedReferenceThemeKeys === null) {\n const referenceTheme = extendTheme()\n memoizedReferenceThemeKeys = Object.keys(referenceTheme)\n }\n return memoizedReferenceThemeKeys\n}\n\nexport function isProbablyMuiTheme(obj: unknown): boolean {\n if (typeof obj !== 'object' || obj === null) return false\n const referenceThemeKeys = getReferenceThemeKeys()\n const objKeys = Object.keys(obj as object)\n const commonKeys = objKeys.filter(key => referenceThemeKeys.includes(key))\n const similarity = commonKeys.length / referenceThemeKeys.length\n // Must share at least 3 keys AND 25% similarity\n return commonKeys.length >= 3 && similarity >= 0.25\n}\n\n// --- Types ------------------------------------------------------\n\n/**\n * Public type alias for the factory returned by `createMuiNode`. Use this to annotate\n * exported wrappers so TypeScript can write the annotation verbatim into the emitted\n * `.d.ts` (avoiding TS4023 / TS2883 when MUI's inferred prop types live in non-portable\n * deep `*.mjs` paths). Routes OverridableComponents to the polymorphic factory and\n * everything else to the generic element factory.\n */\nexport type WrappedMui<E> =\n E extends OverridableComponent<infer TypeMap>\n ? OverridableTypeMap extends TypeMap\n ? E extends ElementType\n ? GenericNodeFactory<E>\n : never\n : MuiNodeFactory<object, TypeMap>\n : E extends ElementType\n ? GenericNodeFactory<E>\n : never\n\n/**\n * Props accepted by an OverridableComponent wrapper for a resolved root element.\n *\n * Built so the resolved element (`ComponentType`) drives DOM/event prop types when\n * forwarding to the root (e.g. `onClick` typed for `<a>` when `component=\"a\"`).\n * MUI component props from `BaseProps` take precedence over overlapping root\n * element props (e.g. Accordion `onChange` vs div `onChange`). meonode-only\n * extras (`css`, themed CSS props, `children` as `Children`, `props` passthrough,\n * `ref`/`key`, `disableEmotion`) remain from `NodeProps` when absent in\n * `BaseProps`.\n *\n * The Emotion-style `as` prop is explicitly forbidden here (`as?: never`).\n * OverridableComponents are polymorphic via MUI's own `component` prop, which\n * routes through MUI's styling/behavior; `@meonode/ui`'s `as` swaps the element\n * at the Emotion layer and would bypass MUI entirely. The `as?: never` overrides\n * the wrapper's permissive index signature so misuse is a type error (use\n * `component` instead). `as` remains available on the generic factory.\n * @template TypeMap The OverridableTypeMap of the MUI component.\n * @template ComponentType The resolved root element type.\n */\ntype MuiNodeProps<TypeMap extends OverridableTypeMap, ComponentType extends ElementType> = Omit<NodeProps<ComponentType>, keyof BaseProps<TypeMap>> &\n BaseProps<TypeMap> & { as?: never }\n\n/**\n * Factory for Material-UI OverridableComponents.\n *\n * Single generic signature (MUI-style): `ComponentType` defaults to the component's\n * default element and is inferred from the optional `component` prop when present.\n * This keeps `component` optional on the default call while still narrowing DOM/event\n * props when it is set — without a separate overload that incorrectly surfaces\n * \"Property 'component' is missing\" when overload resolution fails elsewhere.\n * @template InitialProperties Initial/Extra props baked in when creating the factory.\n * @template TypeMap The OverridableTypeMap of the MUI component.\n * @template DefaultComponent The default underlying element of the MUI component.\n */\ntype MuiNodeFactory<\n InitialProperties,\n TypeMap extends OverridableTypeMap = OverridableTypeMap,\n DefaultComponent extends ElementType = TypeMap['defaultComponent'],\n> = {\n <ComponentType extends ElementType = DefaultComponent>(\n props?: MuiNodeProps<TypeMap, ComponentType> & InitialProperties,\n deps?: DependencyList,\n ): NodeInstance<NoInfer<ComponentType>>\n} & { element: ElementType }\n\n/**\n * Factory for generic React elements.\n *\n * Mirrors `@meonode/ui`'s own factory typing: an optional `As` generic adds\n * Emotion-style element polymorphism via the `as` prop (intrinsic tags only,\n * gated off for `NO_STYLE_TAGS`). When `as` is omitted, `As` defaults to\n * `Element` so this stays identical to the previous `MergedProps<Element, …>`\n * behavior. `NoInfer` on the return keeps `As` from being inferred via children.\n *\n * Note: this is the GENERIC path (plain elements / non-overridable components).\n * MUI OverridableComponents keep their own `component` prop (see\n * {@link MuiNodeFactory}); `as` would swap the whole element at the Emotion\n * layer and bypass MUI, so it is intentionally not offered there.\n * @template Element The React element type.\n */\ntype GenericNodeFactory<Element extends ElementType> =\n HasRequiredProps<PropsOf<Element>> extends true\n ? (<AdditionalProps, ExactProps extends object = object, As extends NodeElementType = Element>(\n props: PolymorphicProps<Element, As, AdditionalProps, ExactProps>,\n deps?: DependencyList,\n ) => NodeInstance<NoInfer<As>>) & {\n element: Element\n }\n : (<AdditionalProps, ExactProps extends object = object, As extends NodeElementType = Element>(\n props?: PolymorphicProps<Element, As, AdditionalProps, ExactProps>,\n deps?: DependencyList,\n ) => NodeInstance<NoInfer<As>>) & {\n element: Element\n }\n\n// --- Overloads --------------------------------------------------\n\n/**\n * Create node factory for a Material-UI OverridableComponent.\n */\nexport default function createMuiNode<\n InitialProperties extends Record<string, any>,\n TypeMap extends OverridableTypeMap,\n DefaultComponent extends ElementType = TypeMap['defaultComponent'],\n>(\n element: OverridableComponent<TypeMap>,\n initialProps?: Partial<MuiNodeProps<TypeMap, DefaultComponent>> & InitialProperties,\n): MuiNodeFactory<InitialProperties, TypeMap, DefaultComponent>\n\n/**\n * Create node factory for a generic React element.\n */\nexport default function createMuiNode<InitialProperties extends Record<string, any>, Element extends ElementType>(\n element: Element,\n initialProps?: Partial<NodeProps<Element>> & InitialProperties,\n): GenericNodeFactory<Element>\n\n// --- Implementation --------------------------------------------\n\nexport default function createMuiNode(element: any, initialProps: any = {}): any {\n const Instance = (props: any = {}, deps?: DependencyList) => {\n const merged = { ...initialProps, ...props }\n if (!isProbablyMuiTheme(merged?.theme)) {\n merged.nodetheme = merged.theme\n delete merged.theme\n }\n return Node(element, merged, deps)\n }\n\n Instance.element = element\n return Instance\n}\n\nexport { createMuiNode }\n"],"names":["extendTheme","Node"],"mappings":";;;;;;;AASA,IAAI,0BAAA,GAA8C,IAAA;AAElD,SAAS,qBAAA,GAAqB;AAC5B,EAAA,IAAI,+BAA+B,IAAA,EAAM;AACvC,IAAA,MAAM,iBAAiBA,kBAAA,EAAW;AAClC,IAAA,0BAAA,GAA6B,MAAA,CAAO,KAAK,cAAc,CAAA;AAAA,EACzD;AACA,EAAA,OAAO,0BAAA;AACT;AAEM,SAAU,mBAAmB,GAAA,EAAY;AAC7C,EAAA,IAAI,OAAO,GAAA,KAAQ,QAAA,IAAY,GAAA,KAAQ,IAAA;AAAM,IAAA,OAAO,KAAA;AACpD,EAAA,MAAM,qBAAqB,qBAAA,EAAqB;AAChD,EAAA,MAAM,OAAA,GAAU,MAAA,CAAO,IAAA,CAAK,GAAa,CAAA;AACzC,EAAA,MAAM,aAAa,OAAA,CAAQ,MAAA,CAAO,SAAO,kBAAA,CAAmB,QAAA,CAAS,GAAG,CAAC,CAAA;AACzE,EAAA,MAAM,UAAA,GAAa,UAAA,CAAW,MAAA,GAAS,kBAAA,CAAmB,MAAA;AAE1D,EAAA,OAAO,UAAA,CAAW,MAAA,IAAU,CAAA,IAAK,UAAA,IAAc,IAAA;AACjD;AA0HA,SAAwB,aAAA,CAAc,OAAA,EAAc,YAAA,GAAoB,EAAA,EAAE;AACxE,EAAA,MAAM,QAAA,GAAW,CAAC,KAAA,GAAa,IAAI,IAAA,KAAyB;AAC1D,IAAA,MAAM,MAAA,GAAS,EAAE,GAAG,YAAA,EAAc,GAAG,KAAA,EAAK;AAC1C,IAAA,IAAI,CAAC,kBAAA,CAAmB,MAAA,EAAQ,KAAK,CAAA,EAAG;AACtC,MAAA,MAAA,CAAO,YAAY,MAAA,CAAO,KAAA;AAC1B,MAAA,OAAO,MAAA,CAAO,KAAA;AAAA,IAChB;AACA,IAAA,OAAOC,OAAA,CAAK,OAAA,EAAS,MAAA,EAAQ,IAAI,CAAA;AAAA,EACnC,CAAA;AAEA,EAAA,QAAA,CAAS,OAAA,GAAU,OAAA;AACnB,EAAA,OAAO,QAAA;AACT;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"TabList.cjs","sources":["../../../../src/lib/mui.lab/TabList.ts"],"sourcesContent":["import { createMuiNode } from '@src/core.js'\nimport { TabList as MuiTabList } from '@mui/lab'\n\nconst TabList = createMuiNode(MuiTabList)\nexport default TabList\n"],"names":["createMuiNode","MuiTabList"],"mappings":";;;;;;;AAGA,MAAM,OAAA,GAAUA,mBAAcC,WAAU;;;;"}
1
+ {"version":3,"file":"TabList.cjs","sources":["../../../../src/lib/mui.lab/TabList.ts"],"sourcesContent":["import { createMuiNode, type WrappedMui } from '@src/core.js'\nimport { TabList as MuiTabList } from '@mui/lab'\n\nconst TabList: WrappedMui<typeof MuiTabList> = createMuiNode(MuiTabList)\nexport default TabList\n"],"names":["createMuiNode","MuiTabList"],"mappings":";;;;;;;AAGA,MAAM,OAAA,GAAyCA,mBAAcC,WAAU;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"core.js","sources":["../../src/core.ts"],"sourcesContent":["'use strict'\nimport type { ElementType } from 'react'\nimport type { DependencyList, HasRequiredProps, NodeElementType, NodeInstance, NodeProps, PolymorphicProps, PropsOf } from '@meonode/ui'\nimport { Node } from '@meonode/ui'\nimport type { BaseProps, OverridableComponent, OverridableTypeMap } from '@mui/material/OverridableComponent'\nimport { extendTheme } from '@mui/material/styles'\n\n// --- Theme detection --------------------------------------------\n\nlet memoizedReferenceThemeKeys: string[] | null = null\n\nfunction getReferenceThemeKeys(): string[] {\n if (memoizedReferenceThemeKeys === null) {\n const referenceTheme = extendTheme()\n memoizedReferenceThemeKeys = Object.keys(referenceTheme)\n }\n return memoizedReferenceThemeKeys\n}\n\nexport function isProbablyMuiTheme(obj: unknown): boolean {\n if (typeof obj !== 'object' || obj === null) return false\n const referenceThemeKeys = getReferenceThemeKeys()\n const objKeys = Object.keys(obj as object)\n const commonKeys = objKeys.filter(key => referenceThemeKeys.includes(key))\n const similarity = commonKeys.length / referenceThemeKeys.length\n // Must share at least 3 keys AND 25% similarity\n return commonKeys.length >= 3 && similarity >= 0.25\n}\n\n// --- Types ------------------------------------------------------\n\n/**\n * Public type alias for the factory returned by `createMuiNode`. Use this to annotate\n * exported wrappers so TypeScript can write the annotation verbatim into the emitted\n * `.d.ts` (avoiding TS4023 / TS2883 when MUI's inferred prop types live in non-portable\n * deep `*.mjs` paths). Routes OverridableComponents to the polymorphic factory and\n * everything else to the generic element factory.\n */\nexport type WrappedMui<E> =\n E extends OverridableComponent<infer TypeMap>\n ? OverridableTypeMap extends TypeMap\n ? E extends ElementType\n ? GenericNodeFactory<E>\n : never\n : MuiNodeFactory<object, TypeMap>\n : E extends ElementType\n ? GenericNodeFactory<E>\n : never\n\n/**\n * Props accepted by an OverridableComponent wrapper for a resolved root element.\n *\n * Built so the resolved element (`ComponentType`) — not the component's default\n * element — drives the DOM/event prop types. This is what gives correct event\n * inference (e.g. `onClick` typed for `<a>` when `component=\"a\"`). meonode's own\n * `NodeProps` extras (themed CSS props, `css`, `children` as `Children`, `props`\n * passthrough, `ref`/`key`) take precedence; MUI's component-specific props\n * (`variant`, `color`, etc. from the TypeMap) are layered in for any key meonode\n * does not already own.\n *\n * The Emotion-style `as` prop is explicitly forbidden here (`as?: never`).\n * OverridableComponents are polymorphic via MUI's own `component` prop, which\n * routes through MUI's styling/behavior; `@meonode/ui`'s `as` swaps the element\n * at the Emotion layer and would bypass MUI entirely. The `as?: never` overrides\n * the wrapper's permissive index signature so misuse is a type error (use\n * `component` instead). `as` remains available on the generic factory.\n * @template TypeMap The OverridableTypeMap of the MUI component.\n * @template ComponentType The resolved root element type.\n */\ntype MuiNodeProps<TypeMap extends OverridableTypeMap, ComponentType extends ElementType> = NodeProps<ComponentType> &\n Omit<BaseProps<TypeMap>, keyof NodeProps<ComponentType>> & { as?: never }\n\n/**\n * Factory for Material-UI OverridableComponents.\n *\n * Mirrors MUI's own `OverridableComponent` typing with two call signatures so the\n * root element is inferred from the `component` prop:\n * - When `component` is provided, `ComponentType` is inferred from it and the props\n * (including event handlers) are typed against that element.\n * - Otherwise the component's default element is used.\n * @template InitialProperties Initial/Extra props baked in when creating the factory.\n * @template TypeMap The OverridableTypeMap of the MUI component.\n * @template DefaultComponent The default underlying element of the MUI component.\n */\ntype MuiNodeFactory<\n InitialProperties,\n TypeMap extends OverridableTypeMap = OverridableTypeMap,\n DefaultComponent extends ElementType = TypeMap['defaultComponent'],\n> = {\n <ComponentType extends ElementType>(\n props: { component: ComponentType } & MuiNodeProps<TypeMap, ComponentType> & InitialProperties,\n deps?: DependencyList,\n ): NodeInstance<ComponentType>\n (props?: MuiNodeProps<TypeMap, DefaultComponent> & InitialProperties, deps?: DependencyList): NodeInstance<DefaultComponent>\n} & { element: ElementType }\n\n/**\n * Factory for generic React elements.\n *\n * Mirrors `@meonode/ui`'s own factory typing: an optional `As` generic adds\n * Emotion-style element polymorphism via the `as` prop (intrinsic tags only,\n * gated off for `NO_STYLE_TAGS`). When `as` is omitted, `As` defaults to\n * `Element` so this stays identical to the previous `MergedProps<Element, …>`\n * behavior. `NoInfer` on the return keeps `As` from being inferred via children.\n *\n * Note: this is the GENERIC path (plain elements / non-overridable components).\n * MUI OverridableComponents keep their own `component` prop (see\n * {@link MuiNodeFactory}); `as` would swap the whole element at the Emotion\n * layer and bypass MUI, so it is intentionally not offered there.\n * @template Element The React element type.\n */\ntype GenericNodeFactory<Element extends ElementType> =\n HasRequiredProps<PropsOf<Element>> extends true\n ? (<AdditionalProps, ExactProps extends object = object, As extends NodeElementType = Element>(\n props: PolymorphicProps<Element, As, AdditionalProps, ExactProps>,\n deps?: DependencyList,\n ) => NodeInstance<NoInfer<As>>) & {\n element: Element\n }\n : (<AdditionalProps, ExactProps extends object = object, As extends NodeElementType = Element>(\n props?: PolymorphicProps<Element, As, AdditionalProps, ExactProps>,\n deps?: DependencyList,\n ) => NodeInstance<NoInfer<As>>) & {\n element: Element\n }\n\n// --- Overloads --------------------------------------------------\n\n/**\n * Create node factory for a Material-UI OverridableComponent.\n */\nexport default function createMuiNode<\n InitialProperties extends Record<string, any>,\n TypeMap extends OverridableTypeMap,\n DefaultComponent extends ElementType = TypeMap['defaultComponent'],\n>(\n element: OverridableComponent<TypeMap>,\n initialProps?: Partial<MuiNodeProps<TypeMap, DefaultComponent>> & InitialProperties,\n): MuiNodeFactory<InitialProperties, TypeMap, DefaultComponent>\n\n/**\n * Create node factory for a generic React element.\n */\nexport default function createMuiNode<InitialProperties extends Record<string, any>, Element extends ElementType>(\n element: Element,\n initialProps?: Partial<NodeProps<Element>> & InitialProperties,\n): GenericNodeFactory<Element>\n\n// --- Implementation --------------------------------------------\n\nexport default function createMuiNode(element: any, initialProps: any = {}): any {\n const Instance = (props: any = {}, deps?: DependencyList) => {\n const merged = { ...initialProps, ...props }\n if (!isProbablyMuiTheme(merged?.theme)) {\n merged.nodetheme = merged.theme\n delete merged.theme\n }\n return Node(element, merged, deps)\n }\n\n Instance.element = element\n return Instance\n}\n\nexport { createMuiNode }\n"],"names":[],"mappings":";;;AASA,IAAI,0BAAA,GAA8C,IAAA;AAElD,SAAS,qBAAA,GAAqB;AAC5B,EAAA,IAAI,+BAA+B,IAAA,EAAM;AACvC,IAAA,MAAM,iBAAiB,WAAA,EAAW;AAClC,IAAA,0BAAA,GAA6B,MAAA,CAAO,KAAK,cAAc,CAAA;AAAA,EACzD;AACA,EAAA,OAAO,0BAAA;AACT;AAEM,SAAU,mBAAmB,GAAA,EAAY;AAC7C,EAAA,IAAI,OAAO,GAAA,KAAQ,QAAA,IAAY,GAAA,KAAQ,IAAA;AAAM,IAAA,OAAO,KAAA;AACpD,EAAA,MAAM,qBAAqB,qBAAA,EAAqB;AAChD,EAAA,MAAM,OAAA,GAAU,MAAA,CAAO,IAAA,CAAK,GAAa,CAAA;AACzC,EAAA,MAAM,aAAa,OAAA,CAAQ,MAAA,CAAO,SAAO,kBAAA,CAAmB,QAAA,CAAS,GAAG,CAAC,CAAA;AACzE,EAAA,MAAM,UAAA,GAAa,UAAA,CAAW,MAAA,GAAS,kBAAA,CAAmB,MAAA;AAE1D,EAAA,OAAO,UAAA,CAAW,MAAA,IAAU,CAAA,IAAK,UAAA,IAAc,IAAA;AACjD;AA2HA,SAAwB,aAAA,CAAc,OAAA,EAAc,YAAA,GAAoB,EAAA,EAAE;AACxE,EAAA,MAAM,QAAA,GAAW,CAAC,KAAA,GAAa,IAAI,IAAA,KAAyB;AAC1D,IAAA,MAAM,MAAA,GAAS,EAAE,GAAG,YAAA,EAAc,GAAG,KAAA,EAAK;AAC1C,IAAA,IAAI,CAAC,kBAAA,CAAmB,MAAA,EAAQ,KAAK,CAAA,EAAG;AACtC,MAAA,MAAA,CAAO,YAAY,MAAA,CAAO,KAAA;AAC1B,MAAA,OAAO,MAAA,CAAO,KAAA;AAAA,IAChB;AACA,IAAA,OAAO,IAAA,CAAK,OAAA,EAAS,MAAA,EAAQ,IAAI,CAAA;AAAA,EACnC,CAAA;AAEA,EAAA,QAAA,CAAS,OAAA,GAAU,OAAA;AACnB,EAAA,OAAO,QAAA;AACT;;;;"}
1
+ {"version":3,"file":"core.js","sources":["../../src/core.ts"],"sourcesContent":["'use strict'\nimport type { ElementType } from 'react'\nimport type { DependencyList, HasRequiredProps, NodeElementType, NodeInstance, NodeProps, PolymorphicProps, PropsOf } from '@meonode/ui'\nimport { Node } from '@meonode/ui'\nimport type { BaseProps, OverridableComponent, OverridableTypeMap } from '@mui/material/OverridableComponent'\nimport { extendTheme } from '@mui/material/styles'\n\n// --- Theme detection --------------------------------------------\n\nlet memoizedReferenceThemeKeys: string[] | null = null\n\nfunction getReferenceThemeKeys(): string[] {\n if (memoizedReferenceThemeKeys === null) {\n const referenceTheme = extendTheme()\n memoizedReferenceThemeKeys = Object.keys(referenceTheme)\n }\n return memoizedReferenceThemeKeys\n}\n\nexport function isProbablyMuiTheme(obj: unknown): boolean {\n if (typeof obj !== 'object' || obj === null) return false\n const referenceThemeKeys = getReferenceThemeKeys()\n const objKeys = Object.keys(obj as object)\n const commonKeys = objKeys.filter(key => referenceThemeKeys.includes(key))\n const similarity = commonKeys.length / referenceThemeKeys.length\n // Must share at least 3 keys AND 25% similarity\n return commonKeys.length >= 3 && similarity >= 0.25\n}\n\n// --- Types ------------------------------------------------------\n\n/**\n * Public type alias for the factory returned by `createMuiNode`. Use this to annotate\n * exported wrappers so TypeScript can write the annotation verbatim into the emitted\n * `.d.ts` (avoiding TS4023 / TS2883 when MUI's inferred prop types live in non-portable\n * deep `*.mjs` paths). Routes OverridableComponents to the polymorphic factory and\n * everything else to the generic element factory.\n */\nexport type WrappedMui<E> =\n E extends OverridableComponent<infer TypeMap>\n ? OverridableTypeMap extends TypeMap\n ? E extends ElementType\n ? GenericNodeFactory<E>\n : never\n : MuiNodeFactory<object, TypeMap>\n : E extends ElementType\n ? GenericNodeFactory<E>\n : never\n\n/**\n * Props accepted by an OverridableComponent wrapper for a resolved root element.\n *\n * Built so the resolved element (`ComponentType`) drives DOM/event prop types when\n * forwarding to the root (e.g. `onClick` typed for `<a>` when `component=\"a\"`).\n * MUI component props from `BaseProps` take precedence over overlapping root\n * element props (e.g. Accordion `onChange` vs div `onChange`). meonode-only\n * extras (`css`, themed CSS props, `children` as `Children`, `props` passthrough,\n * `ref`/`key`, `disableEmotion`) remain from `NodeProps` when absent in\n * `BaseProps`.\n *\n * The Emotion-style `as` prop is explicitly forbidden here (`as?: never`).\n * OverridableComponents are polymorphic via MUI's own `component` prop, which\n * routes through MUI's styling/behavior; `@meonode/ui`'s `as` swaps the element\n * at the Emotion layer and would bypass MUI entirely. The `as?: never` overrides\n * the wrapper's permissive index signature so misuse is a type error (use\n * `component` instead). `as` remains available on the generic factory.\n * @template TypeMap The OverridableTypeMap of the MUI component.\n * @template ComponentType The resolved root element type.\n */\ntype MuiNodeProps<TypeMap extends OverridableTypeMap, ComponentType extends ElementType> = Omit<NodeProps<ComponentType>, keyof BaseProps<TypeMap>> &\n BaseProps<TypeMap> & { as?: never }\n\n/**\n * Factory for Material-UI OverridableComponents.\n *\n * Single generic signature (MUI-style): `ComponentType` defaults to the component's\n * default element and is inferred from the optional `component` prop when present.\n * This keeps `component` optional on the default call while still narrowing DOM/event\n * props when it is set — without a separate overload that incorrectly surfaces\n * \"Property 'component' is missing\" when overload resolution fails elsewhere.\n * @template InitialProperties Initial/Extra props baked in when creating the factory.\n * @template TypeMap The OverridableTypeMap of the MUI component.\n * @template DefaultComponent The default underlying element of the MUI component.\n */\ntype MuiNodeFactory<\n InitialProperties,\n TypeMap extends OverridableTypeMap = OverridableTypeMap,\n DefaultComponent extends ElementType = TypeMap['defaultComponent'],\n> = {\n <ComponentType extends ElementType = DefaultComponent>(\n props?: MuiNodeProps<TypeMap, ComponentType> & InitialProperties,\n deps?: DependencyList,\n ): NodeInstance<NoInfer<ComponentType>>\n} & { element: ElementType }\n\n/**\n * Factory for generic React elements.\n *\n * Mirrors `@meonode/ui`'s own factory typing: an optional `As` generic adds\n * Emotion-style element polymorphism via the `as` prop (intrinsic tags only,\n * gated off for `NO_STYLE_TAGS`). When `as` is omitted, `As` defaults to\n * `Element` so this stays identical to the previous `MergedProps<Element, …>`\n * behavior. `NoInfer` on the return keeps `As` from being inferred via children.\n *\n * Note: this is the GENERIC path (plain elements / non-overridable components).\n * MUI OverridableComponents keep their own `component` prop (see\n * {@link MuiNodeFactory}); `as` would swap the whole element at the Emotion\n * layer and bypass MUI, so it is intentionally not offered there.\n * @template Element The React element type.\n */\ntype GenericNodeFactory<Element extends ElementType> =\n HasRequiredProps<PropsOf<Element>> extends true\n ? (<AdditionalProps, ExactProps extends object = object, As extends NodeElementType = Element>(\n props: PolymorphicProps<Element, As, AdditionalProps, ExactProps>,\n deps?: DependencyList,\n ) => NodeInstance<NoInfer<As>>) & {\n element: Element\n }\n : (<AdditionalProps, ExactProps extends object = object, As extends NodeElementType = Element>(\n props?: PolymorphicProps<Element, As, AdditionalProps, ExactProps>,\n deps?: DependencyList,\n ) => NodeInstance<NoInfer<As>>) & {\n element: Element\n }\n\n// --- Overloads --------------------------------------------------\n\n/**\n * Create node factory for a Material-UI OverridableComponent.\n */\nexport default function createMuiNode<\n InitialProperties extends Record<string, any>,\n TypeMap extends OverridableTypeMap,\n DefaultComponent extends ElementType = TypeMap['defaultComponent'],\n>(\n element: OverridableComponent<TypeMap>,\n initialProps?: Partial<MuiNodeProps<TypeMap, DefaultComponent>> & InitialProperties,\n): MuiNodeFactory<InitialProperties, TypeMap, DefaultComponent>\n\n/**\n * Create node factory for a generic React element.\n */\nexport default function createMuiNode<InitialProperties extends Record<string, any>, Element extends ElementType>(\n element: Element,\n initialProps?: Partial<NodeProps<Element>> & InitialProperties,\n): GenericNodeFactory<Element>\n\n// --- Implementation --------------------------------------------\n\nexport default function createMuiNode(element: any, initialProps: any = {}): any {\n const Instance = (props: any = {}, deps?: DependencyList) => {\n const merged = { ...initialProps, ...props }\n if (!isProbablyMuiTheme(merged?.theme)) {\n merged.nodetheme = merged.theme\n delete merged.theme\n }\n return Node(element, merged, deps)\n }\n\n Instance.element = element\n return Instance\n}\n\nexport { createMuiNode }\n"],"names":[],"mappings":";;;AASA,IAAI,0BAAA,GAA8C,IAAA;AAElD,SAAS,qBAAA,GAAqB;AAC5B,EAAA,IAAI,+BAA+B,IAAA,EAAM;AACvC,IAAA,MAAM,iBAAiB,WAAA,EAAW;AAClC,IAAA,0BAAA,GAA6B,MAAA,CAAO,KAAK,cAAc,CAAA;AAAA,EACzD;AACA,EAAA,OAAO,0BAAA;AACT;AAEM,SAAU,mBAAmB,GAAA,EAAY;AAC7C,EAAA,IAAI,OAAO,GAAA,KAAQ,QAAA,IAAY,GAAA,KAAQ,IAAA;AAAM,IAAA,OAAO,KAAA;AACpD,EAAA,MAAM,qBAAqB,qBAAA,EAAqB;AAChD,EAAA,MAAM,OAAA,GAAU,MAAA,CAAO,IAAA,CAAK,GAAa,CAAA;AACzC,EAAA,MAAM,aAAa,OAAA,CAAQ,MAAA,CAAO,SAAO,kBAAA,CAAmB,QAAA,CAAS,GAAG,CAAC,CAAA;AACzE,EAAA,MAAM,UAAA,GAAa,UAAA,CAAW,MAAA,GAAS,kBAAA,CAAmB,MAAA;AAE1D,EAAA,OAAO,UAAA,CAAW,MAAA,IAAU,CAAA,IAAK,UAAA,IAAc,IAAA;AACjD;AA0HA,SAAwB,aAAA,CAAc,OAAA,EAAc,YAAA,GAAoB,EAAA,EAAE;AACxE,EAAA,MAAM,QAAA,GAAW,CAAC,KAAA,GAAa,IAAI,IAAA,KAAyB;AAC1D,IAAA,MAAM,MAAA,GAAS,EAAE,GAAG,YAAA,EAAc,GAAG,KAAA,EAAK;AAC1C,IAAA,IAAI,CAAC,kBAAA,CAAmB,MAAA,EAAQ,KAAK,CAAA,EAAG;AACtC,MAAA,MAAA,CAAO,YAAY,MAAA,CAAO,KAAA;AAC1B,MAAA,OAAO,MAAA,CAAO,KAAA;AAAA,IAChB;AACA,IAAA,OAAO,IAAA,CAAK,OAAA,EAAS,MAAA,EAAQ,IAAI,CAAA;AAAA,EACnC,CAAA;AAEA,EAAA,QAAA,CAAS,OAAA,GAAU,OAAA;AACnB,EAAA,OAAO,QAAA;AACT;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"TabList.js","sources":["../../../../src/lib/mui.lab/TabList.ts"],"sourcesContent":["import { createMuiNode } from '@src/core.js'\nimport { TabList as MuiTabList } from '@mui/lab'\n\nconst TabList = createMuiNode(MuiTabList)\nexport default TabList\n"],"names":["MuiTabList"],"mappings":";;;AAGA,MAAM,OAAA,GAAU,cAAcA,SAAU;;;;"}
1
+ {"version":3,"file":"TabList.js","sources":["../../../../src/lib/mui.lab/TabList.ts"],"sourcesContent":["import { createMuiNode, type WrappedMui } from '@src/core.js'\nimport { TabList as MuiTabList } from '@mui/lab'\n\nconst TabList: WrappedMui<typeof MuiTabList> = createMuiNode(MuiTabList)\nexport default TabList\n"],"names":["MuiTabList"],"mappings":";;;AAGA,MAAM,OAAA,GAAyC,cAAcA,SAAU;;;;"}
@@ -13,13 +13,13 @@ export type WrappedMui<E> = E extends OverridableComponent<infer TypeMap> ? Over
13
13
  /**
14
14
  * Props accepted by an OverridableComponent wrapper for a resolved root element.
15
15
  *
16
- * Built so the resolved element (`ComponentType`) not the component's default
17
- * element drives the DOM/event prop types. This is what gives correct event
18
- * inference (e.g. `onClick` typed for `<a>` when `component="a"`). meonode's own
19
- * `NodeProps` extras (themed CSS props, `css`, `children` as `Children`, `props`
20
- * passthrough, `ref`/`key`) take precedence; MUI's component-specific props
21
- * (`variant`, `color`, etc. from the TypeMap) are layered in for any key meonode
22
- * does not already own.
16
+ * Built so the resolved element (`ComponentType`) drives DOM/event prop types when
17
+ * forwarding to the root (e.g. `onClick` typed for `<a>` when `component="a"`).
18
+ * MUI component props from `BaseProps` take precedence over overlapping root
19
+ * element props (e.g. Accordion `onChange` vs div `onChange`). meonode-only
20
+ * extras (`css`, themed CSS props, `children` as `Children`, `props` passthrough,
21
+ * `ref`/`key`, `disableEmotion`) remain from `NodeProps` when absent in
22
+ * `BaseProps`.
23
23
  *
24
24
  * The Emotion-style `as` prop is explicitly forbidden here (`as?: never`).
25
25
  * OverridableComponents are polymorphic via MUI's own `component` prop, which
@@ -30,26 +30,23 @@ export type WrappedMui<E> = E extends OverridableComponent<infer TypeMap> ? Over
30
30
  * @template TypeMap The OverridableTypeMap of the MUI component.
31
31
  * @template ComponentType The resolved root element type.
32
32
  */
33
- type MuiNodeProps<TypeMap extends OverridableTypeMap, ComponentType extends ElementType> = NodeProps<ComponentType> & Omit<BaseProps<TypeMap>, keyof NodeProps<ComponentType>> & {
33
+ type MuiNodeProps<TypeMap extends OverridableTypeMap, ComponentType extends ElementType> = Omit<NodeProps<ComponentType>, keyof BaseProps<TypeMap>> & BaseProps<TypeMap> & {
34
34
  as?: never;
35
35
  };
36
36
  /**
37
37
  * Factory for Material-UI OverridableComponents.
38
38
  *
39
- * Mirrors MUI's own `OverridableComponent` typing with two call signatures so the
40
- * root element is inferred from the `component` prop:
41
- * - When `component` is provided, `ComponentType` is inferred from it and the props
42
- * (including event handlers) are typed against that element.
43
- * - Otherwise the component's default element is used.
39
+ * Single generic signature (MUI-style): `ComponentType` defaults to the component's
40
+ * default element and is inferred from the optional `component` prop when present.
41
+ * This keeps `component` optional on the default call while still narrowing DOM/event
42
+ * props when it is set — without a separate overload that incorrectly surfaces
43
+ * "Property 'component' is missing" when overload resolution fails elsewhere.
44
44
  * @template InitialProperties Initial/Extra props baked in when creating the factory.
45
45
  * @template TypeMap The OverridableTypeMap of the MUI component.
46
46
  * @template DefaultComponent The default underlying element of the MUI component.
47
47
  */
48
48
  type MuiNodeFactory<InitialProperties, TypeMap extends OverridableTypeMap = OverridableTypeMap, DefaultComponent extends ElementType = TypeMap['defaultComponent']> = {
49
- <ComponentType extends ElementType>(props: {
50
- component: ComponentType;
51
- } & MuiNodeProps<TypeMap, ComponentType> & InitialProperties, deps?: DependencyList): NodeInstance<ComponentType>;
52
- (props?: MuiNodeProps<TypeMap, DefaultComponent> & InitialProperties, deps?: DependencyList): NodeInstance<DefaultComponent>;
49
+ <ComponentType extends ElementType = DefaultComponent>(props?: MuiNodeProps<TypeMap, ComponentType> & InitialProperties, deps?: DependencyList): NodeInstance<NoInfer<ComponentType>>;
53
50
  } & {
54
51
  element: ElementType;
55
52
  };
@@ -1 +1 @@
1
- {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/core.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/core.ts"],"names":[],"mappings":"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"}
@@ -1,31 +1,6 @@
1
- declare const Accordion: {
2
- <ComponentType extends import("react").ElementType>(props: {
3
- component: ComponentType;
4
- } & Omit<import("@meonode/ui").PropsOf<ComponentType>, keyof import("react").CSSProperties | "children" | "props" | "key"> & import("react").Attributes & import("react").RefAttributes<unknown> & (import("@meonode/ui").HasCSSCompatibleStyleProp<import("@meonode/ui").PropsOf<ComponentType>> extends true ? import("@meonode/ui").ThemedCSSProperties : object) & (import("@meonode/ui").HasNoStyleProp<ComponentType> extends false ? Partial<{
5
- css: import("@meonode/ui").CssProp;
6
- }> : object) & Partial<{
7
- disableEmotion: boolean;
8
- props: Partial<Omit<import("@meonode/ui").PropsOf<ComponentType>, "children"> & {
9
- children?: never;
10
- }>;
11
- children: import("@meonode/ui").Children;
12
- }> & Omit<import("@mui/material/OverridableComponent").BaseProps<import("@mui/material").AccordionTypeMap<{}, "div">>, "children" | "props" | "disableEmotion" | keyof import("react").RefAttributes<unknown> | Exclude<keyof import("@meonode/ui").PropsOf<ComponentType>, keyof import("react").CSSProperties | "children" | "props" | "key"> | keyof (import("@meonode/ui").HasCSSCompatibleStyleProp<import("@meonode/ui").PropsOf<ComponentType>> extends true ? import("@meonode/ui").ThemedCSSProperties : object) | keyof (import("@meonode/ui").HasNoStyleProp<ComponentType> extends false ? Partial<{
13
- css: import("@meonode/ui").CssProp;
14
- }> : object)> & {
15
- as?: never;
16
- } & Record<string, any>, deps?: import("@meonode/ui").DependencyList): import("@meonode/ui").NodeInstance<ComponentType>;
17
- (props?: (Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").CSSProperties | "children" | "props" | "key"> & import("react").Attributes & import("react").RefAttributes<unknown> & import("@meonode/ui").ThemedCSSProperties & Partial<{
18
- css: import("@meonode/ui").CssProp;
19
- }> & Partial<{
20
- disableEmotion: boolean;
21
- props: Partial<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children"> & {
22
- children?: never;
23
- }>;
24
- children: import("@meonode/ui").Children;
25
- }> & Omit<import("@mui/material/OverridableComponent").BaseProps<import("@mui/material").AccordionTypeMap<{}, "div">>, "slot" | "style" | "title" | keyof import("react").CSSProperties | "children" | "props" | "css" | "disableEmotion" | keyof import("react").RefAttributes<unknown> | "className" | "hidden" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture"> & {
26
- as?: never;
27
- } & Record<string, any>) | undefined, deps?: import("@meonode/ui").DependencyList): import("@meonode/ui").NodeInstance<"div">;
28
- } & {
1
+ declare const Accordion: (<ComponentType extends import("react").ElementType = "div">(props?: (Omit<import("@meonode/ui").NodeProps<ComponentType>, "style" | "children" | "className" | "classes" | "expanded" | "square" | "disabled" | "onChange" | "elevation" | "sx" | "variant" | "slots" | "slotProps" | "disableGutters" | "defaultExpanded"> & import("@mui/material").AccordionOwnProps & import("@mui/material").AccordionSlotsAndSlotProps & Omit<import("@mui/material").PaperOwnProps, "classes" | "onChange"> & import("@mui/material/OverridableComponent").CommonProps & {
2
+ as?: never;
3
+ } & Record<string, any>) | undefined, deps?: import("@meonode/ui").DependencyList) => import("@meonode/ui").NodeInstance<NoInfer<ComponentType>>) & {
29
4
  element: import("react").ElementType;
30
5
  };
31
6
  export default Accordion;
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../src/lib/mui.core/Accordion.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA8B,CAAA;AAC7C,eAAe,SAAS,CAAA"}
1
+ {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../src/lib/mui.core/Accordion.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,SAAS;;;;CAA8B,CAAA;AAC7C,eAAe,SAAS,CAAA"}
@@ -1,31 +1,6 @@
1
- declare const AccordionSummary: {
2
- <ComponentType extends import("react").ElementType>(props: {
3
- component: ComponentType;
4
- } & Omit<import("@meonode/ui").PropsOf<ComponentType>, keyof import("react").CSSProperties | "children" | "props" | "key"> & import("react").Attributes & import("react").RefAttributes<unknown> & (import("@meonode/ui").HasCSSCompatibleStyleProp<import("@meonode/ui").PropsOf<ComponentType>> extends true ? import("@meonode/ui").ThemedCSSProperties : object) & (import("@meonode/ui").HasNoStyleProp<ComponentType> extends false ? Partial<{
5
- css: import("@meonode/ui").CssProp;
6
- }> : object) & Partial<{
7
- disableEmotion: boolean;
8
- props: Partial<Omit<import("@meonode/ui").PropsOf<ComponentType>, "children"> & {
9
- children?: never;
10
- }>;
11
- children: import("@meonode/ui").Children;
12
- }> & Omit<import("@mui/material/OverridableComponent").BaseProps<import("@mui/material").ExtendButtonBaseTypeMap<import("@mui/material").AccordionSummaryTypeMap<{}, "div">>>, "children" | "props" | "disableEmotion" | keyof import("react").RefAttributes<unknown> | Exclude<keyof import("@meonode/ui").PropsOf<ComponentType>, keyof import("react").CSSProperties | "children" | "props" | "key"> | keyof (import("@meonode/ui").HasCSSCompatibleStyleProp<import("@meonode/ui").PropsOf<ComponentType>> extends true ? import("@meonode/ui").ThemedCSSProperties : object) | keyof (import("@meonode/ui").HasNoStyleProp<ComponentType> extends false ? Partial<{
13
- css: import("@meonode/ui").CssProp;
14
- }> : object)> & {
15
- as?: never;
16
- } & Record<string, any>, deps?: import("@meonode/ui").DependencyList): import("@meonode/ui").NodeInstance<ComponentType>;
17
- (props?: (Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").CSSProperties | "children" | "props" | "key"> & import("react").Attributes & import("react").RefAttributes<unknown> & import("@meonode/ui").ThemedCSSProperties & Partial<{
18
- css: import("@meonode/ui").CssProp;
19
- }> & Partial<{
20
- disableEmotion: boolean;
21
- props: Partial<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children"> & {
22
- children?: never;
23
- }>;
24
- children: import("@meonode/ui").Children;
25
- }> & Omit<import("@mui/material/OverridableComponent").BaseProps<import("@mui/material").ExtendButtonBaseTypeMap<import("@mui/material").AccordionSummaryTypeMap<{}, "div">>>, "slot" | "style" | "title" | keyof import("react").CSSProperties | "children" | "props" | "css" | "disableEmotion" | keyof import("react").RefAttributes<unknown> | "className" | "hidden" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture"> & {
26
- as?: never;
27
- } & Record<string, any>) | undefined, deps?: import("@meonode/ui").DependencyList): import("@meonode/ui").NodeInstance<"div">;
28
- } & {
1
+ declare const AccordionSummary: (<ComponentType extends import("react").ElementType = "div">(props?: (Omit<import("@meonode/ui").NodeProps<ComponentType>, "style" | "children" | "className" | "classes" | "disabled" | "sx" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "nativeButton" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "type" | "expandIcon" | "slots" | "slotProps"> & import("@mui/material").AccordionSummaryOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, keyof import("@mui/material").AccordionSummaryOwnProps> & Omit<import("@mui/material").ButtonBaseOwnProps, "children" | "disabled" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "nativeButton" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "type" | keyof import("@mui/material").AccordionSummaryOwnProps> & import("@mui/material/OverridableComponent").CommonProps & {
2
+ as?: never;
3
+ } & Record<string, any>) | undefined, deps?: import("@meonode/ui").DependencyList) => import("@meonode/ui").NodeInstance<NoInfer<ComponentType>>) & {
29
4
  element: import("react").ElementType;
30
5
  };
31
6
  export default AccordionSummary;
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionSummary.d.ts","sourceRoot":"","sources":["../../../../src/lib/mui.core/AccordionSummary.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAA;AAC3D,eAAe,gBAAgB,CAAA"}
1
+ {"version":3,"file":"AccordionSummary.d.ts","sourceRoot":"","sources":["../../../../src/lib/mui.core/AccordionSummary.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,gBAAgB;;;;CAAqC,CAAA;AAC3D,eAAe,gBAAgB,CAAA"}
@@ -1,31 +1,6 @@
1
- declare const AppBar: {
2
- <ComponentType extends import("react").ElementType>(props: {
3
- component: ComponentType;
4
- } & Omit<import("@meonode/ui").PropsOf<ComponentType>, keyof import("react").CSSProperties | "children" | "props" | "key"> & import("react").Attributes & import("react").RefAttributes<unknown> & (import("@meonode/ui").HasCSSCompatibleStyleProp<import("@meonode/ui").PropsOf<ComponentType>> extends true ? import("@meonode/ui").ThemedCSSProperties : object) & (import("@meonode/ui").HasNoStyleProp<ComponentType> extends false ? Partial<{
5
- css: import("@meonode/ui").CssProp;
6
- }> : object) & Partial<{
7
- disableEmotion: boolean;
8
- props: Partial<Omit<import("@meonode/ui").PropsOf<ComponentType>, "children"> & {
9
- children?: never;
10
- }>;
11
- children: import("@meonode/ui").Children;
12
- }> & Omit<import("@mui/material/OverridableComponent").BaseProps<import("@mui/material").AppBarTypeMap<{}, "header">>, "children" | "props" | "disableEmotion" | keyof import("react").RefAttributes<unknown> | Exclude<keyof import("@meonode/ui").PropsOf<ComponentType>, keyof import("react").CSSProperties | "children" | "props" | "key"> | keyof (import("@meonode/ui").HasCSSCompatibleStyleProp<import("@meonode/ui").PropsOf<ComponentType>> extends true ? import("@meonode/ui").ThemedCSSProperties : object) | keyof (import("@meonode/ui").HasNoStyleProp<ComponentType> extends false ? Partial<{
13
- css: import("@meonode/ui").CssProp;
14
- }> : object)> & {
15
- as?: never;
16
- } & Record<string, any>, deps?: import("@meonode/ui").DependencyList): import("@meonode/ui").NodeInstance<ComponentType>;
17
- (props?: (Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, keyof import("react").CSSProperties | "children" | "props" | "key"> & import("react").Attributes & import("react").RefAttributes<unknown> & import("@meonode/ui").ThemedCSSProperties & Partial<{
18
- css: import("@meonode/ui").CssProp;
19
- }> & Partial<{
20
- disableEmotion: boolean;
21
- props: Partial<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "children"> & {
22
- children?: never;
23
- }>;
24
- children: import("@meonode/ui").Children;
25
- }> & Omit<import("@mui/material/OverridableComponent").BaseProps<import("@mui/material").AppBarTypeMap<{}, "header">>, "slot" | "style" | "title" | keyof import("react").CSSProperties | "children" | "props" | "css" | "disableEmotion" | keyof import("react").RefAttributes<unknown> | "className" | "hidden" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture"> & {
26
- as?: never;
27
- } & Record<string, any>) | undefined, deps?: import("@meonode/ui").DependencyList): import("@meonode/ui").NodeInstance<"header">;
28
- } & {
1
+ declare const AppBar: (<ComponentType extends import("react").ElementType = "header">(props?: (Omit<import("@meonode/ui").NodeProps<ComponentType>, "style" | "color" | "position" | "children" | "className" | "classes" | "square" | "elevation" | "sx" | "variant" | "enableColorOnDark"> & import("@mui/material").AppBarOwnProps & Omit<import("@mui/material").PaperOwnProps, "color" | "position" | "classes" | "square" | "elevation"> & import("@mui/material/OverridableComponent").CommonProps & {
2
+ as?: never;
3
+ } & Record<string, any>) | undefined, deps?: import("@meonode/ui").DependencyList) => import("@meonode/ui").NodeInstance<NoInfer<ComponentType>>) & {
29
4
  element: import("react").ElementType;
30
5
  };
31
6
  export default AppBar;
@@ -1 +1 @@
1
- {"version":3,"file":"AppBar.d.ts","sourceRoot":"","sources":["../../../../src/lib/mui.core/AppBar.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2B,CAAA;AACvC,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"AppBar.d.ts","sourceRoot":"","sources":["../../../../src/lib/mui.core/AppBar.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM;;;;CAA2B,CAAA;AACvC,eAAe,MAAM,CAAA"}
@@ -1,31 +1,6 @@
1
- declare const Avatar: {
2
- <ComponentType extends import("react").ElementType>(props: {
3
- component: ComponentType;
4
- } & Omit<import("@meonode/ui").PropsOf<ComponentType>, keyof import("react").CSSProperties | "children" | "props" | "key"> & import("react").Attributes & import("react").RefAttributes<unknown> & (import("@meonode/ui").HasCSSCompatibleStyleProp<import("@meonode/ui").PropsOf<ComponentType>> extends true ? import("@meonode/ui").ThemedCSSProperties : object) & (import("@meonode/ui").HasNoStyleProp<ComponentType> extends false ? Partial<{
5
- css: import("@meonode/ui").CssProp;
6
- }> : object) & Partial<{
7
- disableEmotion: boolean;
8
- props: Partial<Omit<import("@meonode/ui").PropsOf<ComponentType>, "children"> & {
9
- children?: never;
10
- }>;
11
- children: import("@meonode/ui").Children;
12
- }> & Omit<import("@mui/material/OverridableComponent").BaseProps<import("@mui/material").AvatarTypeMap<{}, "div">>, "children" | "props" | "disableEmotion" | keyof import("react").RefAttributes<unknown> | Exclude<keyof import("@meonode/ui").PropsOf<ComponentType>, keyof import("react").CSSProperties | "children" | "props" | "key"> | keyof (import("@meonode/ui").HasCSSCompatibleStyleProp<import("@meonode/ui").PropsOf<ComponentType>> extends true ? import("@meonode/ui").ThemedCSSProperties : object) | keyof (import("@meonode/ui").HasNoStyleProp<ComponentType> extends false ? Partial<{
13
- css: import("@meonode/ui").CssProp;
14
- }> : object)> & {
15
- as?: never;
16
- } & Record<string, any>, deps?: import("@meonode/ui").DependencyList): import("@meonode/ui").NodeInstance<ComponentType>;
17
- (props?: (Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").CSSProperties | "children" | "props" | "key"> & import("react").Attributes & import("react").RefAttributes<unknown> & import("@meonode/ui").ThemedCSSProperties & Partial<{
18
- css: import("@meonode/ui").CssProp;
19
- }> & Partial<{
20
- disableEmotion: boolean;
21
- props: Partial<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children"> & {
22
- children?: never;
23
- }>;
24
- children: import("@meonode/ui").Children;
25
- }> & Omit<import("@mui/material/OverridableComponent").BaseProps<import("@mui/material").AvatarTypeMap<{}, "div">>, "slot" | "style" | "title" | keyof import("react").CSSProperties | "children" | "props" | "css" | "disableEmotion" | keyof import("react").RefAttributes<unknown> | "className" | "hidden" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture"> & {
26
- as?: never;
27
- } & Record<string, any>) | undefined, deps?: import("@meonode/ui").DependencyList): import("@meonode/ui").NodeInstance<"div">;
28
- } & {
1
+ declare const Avatar: (<ComponentType extends import("react").ElementType = "div">(props?: (Omit<import("@meonode/ui").NodeProps<ComponentType>, "style" | "children" | "className" | "classes" | "sx" | "variant" | "slots" | "slotProps" | "alt" | "src" | "sizes" | "srcSet"> & import("@mui/material").AvatarOwnProps & import("@mui/material").AvatarSlotsAndSlotProps & import("@mui/material/OverridableComponent").CommonProps & {
2
+ as?: never;
3
+ } & Record<string, any>) | undefined, deps?: import("@meonode/ui").DependencyList) => import("@meonode/ui").NodeInstance<NoInfer<ComponentType>>) & {
29
4
  element: import("react").ElementType;
30
5
  };
31
6
  export default Avatar;
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/lib/mui.core/Avatar.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2B,CAAA;AACvC,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/lib/mui.core/Avatar.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM;;;;CAA2B,CAAA;AACvC,eAAe,MAAM,CAAA"}
@@ -1,31 +1,6 @@
1
- declare const Backdrop: {
2
- <ComponentType extends import("react").ElementType>(props: {
3
- component: ComponentType;
4
- } & Omit<import("@meonode/ui").PropsOf<ComponentType>, keyof import("react").CSSProperties | "children" | "props" | "key"> & import("react").Attributes & import("react").RefAttributes<unknown> & (import("@meonode/ui").HasCSSCompatibleStyleProp<import("@meonode/ui").PropsOf<ComponentType>> extends true ? import("@meonode/ui").ThemedCSSProperties : object) & (import("@meonode/ui").HasNoStyleProp<ComponentType> extends false ? Partial<{
5
- css: import("@meonode/ui").CssProp;
6
- }> : object) & Partial<{
7
- disableEmotion: boolean;
8
- props: Partial<Omit<import("@meonode/ui").PropsOf<ComponentType>, "children"> & {
9
- children?: never;
10
- }>;
11
- children: import("@meonode/ui").Children;
12
- }> & Omit<import("@mui/material/OverridableComponent").BaseProps<import("@mui/material").BackdropTypeMap<{}, "div">>, "children" | "props" | "disableEmotion" | keyof import("react").RefAttributes<unknown> | Exclude<keyof import("@meonode/ui").PropsOf<ComponentType>, keyof import("react").CSSProperties | "children" | "props" | "key"> | keyof (import("@meonode/ui").HasCSSCompatibleStyleProp<import("@meonode/ui").PropsOf<ComponentType>> extends true ? import("@meonode/ui").ThemedCSSProperties : object) | keyof (import("@meonode/ui").HasNoStyleProp<ComponentType> extends false ? Partial<{
13
- css: import("@meonode/ui").CssProp;
14
- }> : object)> & {
15
- as?: never;
16
- } & Record<string, any>, deps?: import("@meonode/ui").DependencyList): import("@meonode/ui").NodeInstance<ComponentType>;
17
- (props?: (Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").CSSProperties | "children" | "props" | "key"> & import("react").Attributes & import("react").RefAttributes<unknown> & import("@meonode/ui").ThemedCSSProperties & Partial<{
18
- css: import("@meonode/ui").CssProp;
19
- }> & Partial<{
20
- disableEmotion: boolean;
21
- props: Partial<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children"> & {
22
- children?: never;
23
- }>;
24
- children: import("@meonode/ui").Children;
25
- }> & Omit<import("@mui/material/OverridableComponent").BaseProps<import("@mui/material").BackdropTypeMap<{}, "div">>, "slot" | "style" | "title" | keyof import("react").CSSProperties | "children" | "props" | "css" | "disableEmotion" | keyof import("react").RefAttributes<unknown> | "className" | "hidden" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture"> & {
26
- as?: never;
27
- } & Record<string, any>) | undefined, deps?: import("@meonode/ui").DependencyList): import("@meonode/ui").NodeInstance<"div">;
28
- } & {
1
+ declare const Backdrop: (<ComponentType extends import("react").ElementType = "div">(props?: (Omit<import("@meonode/ui").NodeProps<ComponentType>, "slot" | "style" | "title" | "color" | "content" | "transitionDuration" | "translate" | "children" | "className" | "classes" | "ref" | "exit" | "hidden" | "open" | "onChange" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "slots" | "slotProps" | "enter" | "in" | "mountOnEnter" | "unmountOnExit" | "timeout" | "easing" | "addEndListener" | "disablePrefersReducedMotion" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "appear" | "invisible"> & import("@mui/material").BackdropOwnProps & import("@mui/material/OverridableComponent").CommonProps & {
2
+ as?: never;
3
+ } & Record<string, any>) | undefined, deps?: import("@meonode/ui").DependencyList) => import("@meonode/ui").NodeInstance<NoInfer<ComponentType>>) & {
29
4
  element: import("react").ElementType;
30
5
  };
31
6
  export default Backdrop;
@@ -1 +1 @@
1
- {"version":3,"file":"Backdrop.d.ts","sourceRoot":"","sources":["../../../../src/lib/mui.core/Backdrop.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6B,CAAA;AAC3C,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"Backdrop.d.ts","sourceRoot":"","sources":["../../../../src/lib/mui.core/Backdrop.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,QAAQ;;;;CAA6B,CAAA;AAC3C,eAAe,QAAQ,CAAA"}
@@ -1,31 +1,6 @@
1
- declare const Badge: {
2
- <ComponentType extends import("react").ElementType>(props: {
3
- component: ComponentType;
4
- } & Omit<import("@meonode/ui").PropsOf<ComponentType>, keyof import("react").CSSProperties | "children" | "props" | "key"> & import("react").Attributes & import("react").RefAttributes<unknown> & (import("@meonode/ui").HasCSSCompatibleStyleProp<import("@meonode/ui").PropsOf<ComponentType>> extends true ? import("@meonode/ui").ThemedCSSProperties : object) & (import("@meonode/ui").HasNoStyleProp<ComponentType> extends false ? Partial<{
5
- css: import("@meonode/ui").CssProp;
6
- }> : object) & Partial<{
7
- disableEmotion: boolean;
8
- props: Partial<Omit<import("@meonode/ui").PropsOf<ComponentType>, "children"> & {
9
- children?: never;
10
- }>;
11
- children: import("@meonode/ui").Children;
12
- }> & Omit<import("@mui/material/OverridableComponent").BaseProps<import("@mui/material").BadgeTypeMap<"span", {}>>, "children" | "props" | "disableEmotion" | keyof import("react").RefAttributes<unknown> | Exclude<keyof import("@meonode/ui").PropsOf<ComponentType>, keyof import("react").CSSProperties | "children" | "props" | "key"> | keyof (import("@meonode/ui").HasCSSCompatibleStyleProp<import("@meonode/ui").PropsOf<ComponentType>> extends true ? import("@meonode/ui").ThemedCSSProperties : object) | keyof (import("@meonode/ui").HasNoStyleProp<ComponentType> extends false ? Partial<{
13
- css: import("@meonode/ui").CssProp;
14
- }> : object)> & {
15
- as?: never;
16
- } & Record<string, any>, deps?: import("@meonode/ui").DependencyList): import("@meonode/ui").NodeInstance<ComponentType>;
17
- (props?: (Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("react").CSSProperties | "children" | "props" | "key"> & import("react").Attributes & import("react").RefAttributes<unknown> & import("@meonode/ui").ThemedCSSProperties & Partial<{
18
- css: import("@meonode/ui").CssProp;
19
- }> & Partial<{
20
- disableEmotion: boolean;
21
- props: Partial<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "children"> & {
22
- children?: never;
23
- }>;
24
- children: import("@meonode/ui").Children;
25
- }> & Omit<import("@mui/material/OverridableComponent").BaseProps<import("@mui/material").BadgeTypeMap<"span", {}>>, "slot" | "style" | "title" | keyof import("react").CSSProperties | "children" | "props" | "css" | "disableEmotion" | keyof import("react").RefAttributes<unknown> | "className" | "hidden" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture"> & {
26
- as?: never;
27
- } & Record<string, any>) | undefined, deps?: import("@meonode/ui").DependencyList): import("@meonode/ui").NodeInstance<"span">;
28
- } & {
1
+ declare const Badge: (<ComponentType extends import("react").ElementType = "span">(props?: (Omit<import("@meonode/ui").NodeProps<ComponentType>, "style" | "color" | "children" | "className" | "classes" | "sx" | "variant" | "slots" | "slotProps" | "max" | "anchorOrigin" | "invisible" | "badgeContent" | "overlap" | "showZero"> & import("@mui/material").BadgeOwnProps & import("@mui/material/OverridableComponent").CommonProps & {
2
+ as?: never;
3
+ } & Record<string, any>) | undefined, deps?: import("@meonode/ui").DependencyList) => import("@meonode/ui").NodeInstance<NoInfer<ComponentType>>) & {
29
4
  element: import("react").ElementType;
30
5
  };
31
6
  export default Badge;
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/lib/mui.core/Badge.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0B,CAAA;AACrC,eAAe,KAAK,CAAA"}
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/lib/mui.core/Badge.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,KAAK;;;;CAA0B,CAAA;AACrC,eAAe,KAAK,CAAA"}