@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.
- package/dist/cjs/core.cjs.map +1 -1
- package/dist/cjs/lib/mui.lab/TabList.cjs.map +1 -1
- package/dist/esm/core.js.map +1 -1
- package/dist/esm/lib/mui.lab/TabList.js.map +1 -1
- package/dist/types/core.d.ts +14 -17
- package/dist/types/core.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Accordion.d.ts +3 -28
- package/dist/types/lib/mui.core/Accordion.d.ts.map +1 -1
- package/dist/types/lib/mui.core/AccordionSummary.d.ts +3 -28
- package/dist/types/lib/mui.core/AccordionSummary.d.ts.map +1 -1
- package/dist/types/lib/mui.core/AppBar.d.ts +3 -28
- package/dist/types/lib/mui.core/AppBar.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Avatar.d.ts +3 -28
- package/dist/types/lib/mui.core/Avatar.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Backdrop.d.ts +3 -28
- package/dist/types/lib/mui.core/Backdrop.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Badge.d.ts +3 -28
- package/dist/types/lib/mui.core/Badge.d.ts.map +1 -1
- package/dist/types/lib/mui.core/BottomNavigation.d.ts +3 -28
- package/dist/types/lib/mui.core/BottomNavigation.d.ts.map +1 -1
- package/dist/types/lib/mui.core/BottomNavigationAction.d.ts +3 -28
- package/dist/types/lib/mui.core/BottomNavigationAction.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Breadcrumbs.d.ts +3 -28
- package/dist/types/lib/mui.core/Breadcrumbs.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Button.d.ts +3 -28
- package/dist/types/lib/mui.core/Button.d.ts.map +1 -1
- package/dist/types/lib/mui.core/ButtonBase.d.ts +3 -28
- package/dist/types/lib/mui.core/ButtonBase.d.ts.map +1 -1
- package/dist/types/lib/mui.core/ButtonGroup.d.ts +3 -28
- package/dist/types/lib/mui.core/ButtonGroup.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Card.d.ts +3 -28
- package/dist/types/lib/mui.core/Card.d.ts.map +1 -1
- package/dist/types/lib/mui.core/CardActionArea.d.ts +3 -28
- package/dist/types/lib/mui.core/CardActionArea.d.ts.map +1 -1
- package/dist/types/lib/mui.core/CardContent.d.ts +3 -28
- package/dist/types/lib/mui.core/CardContent.d.ts.map +1 -1
- package/dist/types/lib/mui.core/CardHeader.d.ts +3 -28
- package/dist/types/lib/mui.core/CardHeader.d.ts.map +1 -1
- package/dist/types/lib/mui.core/CardMedia.d.ts +3 -28
- package/dist/types/lib/mui.core/CardMedia.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Chip.d.ts +3 -28
- package/dist/types/lib/mui.core/Chip.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Container.d.ts +3 -28
- package/dist/types/lib/mui.core/Container.d.ts.map +1 -1
- package/dist/types/lib/mui.core/DialogContentText.d.ts +3 -28
- package/dist/types/lib/mui.core/DialogContentText.d.ts.map +1 -1
- package/dist/types/lib/mui.core/DialogTitle.d.ts +3 -28
- package/dist/types/lib/mui.core/DialogTitle.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Divider.d.ts +3 -28
- package/dist/types/lib/mui.core/Divider.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Fab.d.ts +3 -28
- package/dist/types/lib/mui.core/Fab.d.ts.map +1 -1
- package/dist/types/lib/mui.core/FormControl.d.ts +3 -28
- package/dist/types/lib/mui.core/FormControl.d.ts.map +1 -1
- package/dist/types/lib/mui.core/FormHelperText.d.ts +3 -28
- package/dist/types/lib/mui.core/FormHelperText.d.ts.map +1 -1
- package/dist/types/lib/mui.core/FormLabel.d.ts +3 -28
- package/dist/types/lib/mui.core/FormLabel.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Icon.d.ts +3 -28
- package/dist/types/lib/mui.core/Icon.d.ts.map +1 -1
- package/dist/types/lib/mui.core/IconButton.d.ts +3 -28
- package/dist/types/lib/mui.core/IconButton.d.ts.map +1 -1
- package/dist/types/lib/mui.core/ImageList.d.ts +3 -28
- package/dist/types/lib/mui.core/ImageList.d.ts.map +1 -1
- package/dist/types/lib/mui.core/ImageListItem.d.ts +3 -28
- package/dist/types/lib/mui.core/ImageListItem.d.ts.map +1 -1
- package/dist/types/lib/mui.core/InputAdornment.d.ts +3 -28
- package/dist/types/lib/mui.core/InputAdornment.d.ts.map +1 -1
- package/dist/types/lib/mui.core/InputLabel.d.ts +3 -28
- package/dist/types/lib/mui.core/InputLabel.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Link.d.ts +3 -28
- package/dist/types/lib/mui.core/Link.d.ts.map +1 -1
- package/dist/types/lib/mui.core/List.d.ts +3 -28
- package/dist/types/lib/mui.core/List.d.ts.map +1 -1
- package/dist/types/lib/mui.core/ListItem.d.ts +3 -28
- package/dist/types/lib/mui.core/ListItem.d.ts.map +1 -1
- package/dist/types/lib/mui.core/ListItemButton.d.ts +3 -28
- package/dist/types/lib/mui.core/ListItemButton.d.ts.map +1 -1
- package/dist/types/lib/mui.core/ListItemSecondaryAction.d.ts +3 -28
- package/dist/types/lib/mui.core/ListItemSecondaryAction.d.ts.map +1 -1
- package/dist/types/lib/mui.core/ListSubheader.d.ts +3 -28
- package/dist/types/lib/mui.core/ListSubheader.d.ts.map +1 -1
- package/dist/types/lib/mui.core/MenuItem.d.ts +3 -28
- package/dist/types/lib/mui.core/MenuItem.d.ts.map +1 -1
- package/dist/types/lib/mui.core/MenuList.d.ts +3 -28
- package/dist/types/lib/mui.core/MenuList.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Modal.d.ts +3 -28
- package/dist/types/lib/mui.core/Modal.d.ts.map +1 -1
- package/dist/types/lib/mui.core/PaginationItem.d.ts +3 -28
- package/dist/types/lib/mui.core/PaginationItem.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Paper.d.ts +3 -28
- package/dist/types/lib/mui.core/Paper.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Rating.d.ts +3 -28
- package/dist/types/lib/mui.core/Rating.d.ts.map +1 -1
- package/dist/types/lib/mui.core/ScopedCssBaseline.d.ts +3 -28
- package/dist/types/lib/mui.core/ScopedCssBaseline.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Skeleton.d.ts +3 -28
- package/dist/types/lib/mui.core/Skeleton.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Slider.d.ts +3 -28
- package/dist/types/lib/mui.core/Slider.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Stack.d.ts +3 -28
- package/dist/types/lib/mui.core/Stack.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Step.d.ts +3 -28
- package/dist/types/lib/mui.core/Step.d.ts.map +1 -1
- package/dist/types/lib/mui.core/StepButton.d.ts +3 -28
- package/dist/types/lib/mui.core/StepButton.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Stepper.d.ts +3 -28
- package/dist/types/lib/mui.core/Stepper.d.ts.map +1 -1
- package/dist/types/lib/mui.core/SvgIcon.d.ts +3 -28
- package/dist/types/lib/mui.core/SvgIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Tab.d.ts +3 -28
- package/dist/types/lib/mui.core/Tab.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Table.d.ts +3 -28
- package/dist/types/lib/mui.core/Table.d.ts.map +1 -1
- package/dist/types/lib/mui.core/TableBody.d.ts +3 -28
- package/dist/types/lib/mui.core/TableBody.d.ts.map +1 -1
- package/dist/types/lib/mui.core/TableContainer.d.ts +3 -28
- package/dist/types/lib/mui.core/TableContainer.d.ts.map +1 -1
- package/dist/types/lib/mui.core/TableFooter.d.ts +3 -28
- package/dist/types/lib/mui.core/TableFooter.d.ts.map +1 -1
- package/dist/types/lib/mui.core/TableHead.d.ts +3 -28
- package/dist/types/lib/mui.core/TableHead.d.ts.map +1 -1
- package/dist/types/lib/mui.core/TablePagination.d.ts +3 -28
- package/dist/types/lib/mui.core/TablePagination.d.ts.map +1 -1
- package/dist/types/lib/mui.core/TableRow.d.ts +3 -28
- package/dist/types/lib/mui.core/TableRow.d.ts.map +1 -1
- package/dist/types/lib/mui.core/TableSortLabel.d.ts +3 -28
- package/dist/types/lib/mui.core/TableSortLabel.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Tabs.d.ts +3 -28
- package/dist/types/lib/mui.core/Tabs.d.ts.map +1 -1
- package/dist/types/lib/mui.core/ToggleButton.d.ts +3 -28
- package/dist/types/lib/mui.core/ToggleButton.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Toolbar.d.ts +3 -28
- package/dist/types/lib/mui.core/Toolbar.d.ts.map +1 -1
- package/dist/types/lib/mui.core/Typography.d.ts +3 -28
- package/dist/types/lib/mui.core/Typography.d.ts.map +1 -1
- package/dist/types/lib/mui.lab/LoadingButton.d.ts +3 -28
- package/dist/types/lib/mui.lab/LoadingButton.d.ts.map +1 -1
- package/dist/types/lib/mui.lab/Masonry.d.ts +3 -28
- package/dist/types/lib/mui.lab/Masonry.d.ts.map +1 -1
- package/dist/types/lib/mui.lab/TabList.d.ts +3 -30
- package/dist/types/lib/mui.lab/TabList.d.ts.map +1 -1
- package/dist/types/lib/mui.x-charts/ChartsBrushOverlay.d.ts +3 -26
- package/dist/types/lib/mui.x-charts/ChartsBrushOverlay.d.ts.map +1 -1
- package/dist/types/lib/mui.x-charts/ChartsTooltipCell.d.ts +3 -3
- package/dist/types/lib/mui.x-charts/FocusedLineMark.d.ts +3 -26
- package/dist/types/lib/mui.x-charts/FocusedLineMark.d.ts.map +1 -1
- package/dist/types/lib/mui.x-charts/RadarMetricLabels.d.ts +3 -26
- package/dist/types/lib/mui.x-charts/RadarMetricLabels.d.ts.map +1 -1
- package/dist/types/lib/mui.x-charts-pro/ChartZoomSlider.d.ts +3 -26
- package/dist/types/lib/mui.x-charts-pro/ChartZoomSlider.d.ts.map +1 -1
- package/dist/types/lib/mui.x-charts-pro/ChartsBrushOverlay.d.ts +3 -26
- package/dist/types/lib/mui.x-charts-pro/ChartsBrushOverlay.d.ts.map +1 -1
- package/dist/types/lib/mui.x-charts-pro/ChartsTooltipCell.d.ts +3 -3
- package/dist/types/lib/mui.x-charts-pro/ChartsZoomSlider.d.ts +3 -26
- package/dist/types/lib/mui.x-charts-pro/ChartsZoomSlider.d.ts.map +1 -1
- package/dist/types/lib/mui.x-charts-pro/FocusedLineMark.d.ts +3 -26
- package/dist/types/lib/mui.x-charts-pro/FocusedLineMark.d.ts.map +1 -1
- package/dist/types/lib/mui.x-charts-pro/RadarMetricLabels.d.ts +3 -26
- package/dist/types/lib/mui.x-charts-pro/RadarMetricLabels.d.ts.map +1 -1
- package/dist/types/lib/mui.x-data-grid/GridFooterPlaceholder.d.ts +3 -26
- package/dist/types/lib/mui.x-data-grid/GridFooterPlaceholder.d.ts.map +1 -1
- package/dist/types/lib/mui.x-data-grid/GridHeader.d.ts +3 -26
- package/dist/types/lib/mui.x-data-grid/GridHeader.d.ts.map +1 -1
- package/dist/types/lib/mui.x-data-grid/GridPagination.d.ts +3 -26
- package/dist/types/lib/mui.x-data-grid/GridPagination.d.ts.map +1 -1
- package/dist/types/lib/mui.x-data-grid-premium/DataGrid.d.ts +3 -26
- package/dist/types/lib/mui.x-data-grid-premium/DataGrid.d.ts.map +1 -1
- package/dist/types/lib/mui.x-data-grid-premium/DataGridPro.d.ts +3 -26
- package/dist/types/lib/mui.x-data-grid-premium/DataGridPro.d.ts.map +1 -1
- package/dist/types/lib/mui.x-data-grid-premium/GridAiAssistantPanel.d.ts +3 -26
- package/dist/types/lib/mui.x-data-grid-premium/GridAiAssistantPanel.d.ts.map +1 -1
- package/dist/types/lib/mui.x-data-grid-premium/GridFooterPlaceholder.d.ts +3 -26
- package/dist/types/lib/mui.x-data-grid-premium/GridFooterPlaceholder.d.ts.map +1 -1
- package/dist/types/lib/mui.x-data-grid-premium/GridHeader.d.ts +3 -26
- package/dist/types/lib/mui.x-data-grid-premium/GridHeader.d.ts.map +1 -1
- package/dist/types/lib/mui.x-data-grid-premium/GridPagination.d.ts +3 -26
- package/dist/types/lib/mui.x-data-grid-premium/GridPagination.d.ts.map +1 -1
- package/dist/types/lib/mui.x-data-grid-premium/GridPivotPanel.d.ts +3 -26
- package/dist/types/lib/mui.x-data-grid-premium/GridPivotPanel.d.ts.map +1 -1
- package/dist/types/lib/mui.x-data-grid-pro/DataGrid.d.ts +3 -26
- package/dist/types/lib/mui.x-data-grid-pro/DataGrid.d.ts.map +1 -1
- package/dist/types/lib/mui.x-data-grid-pro/DataGridPremium.d.ts +3 -26
- package/dist/types/lib/mui.x-data-grid-pro/DataGridPremium.d.ts.map +1 -1
- package/dist/types/lib/mui.x-data-grid-pro/GridFooterPlaceholder.d.ts +3 -26
- package/dist/types/lib/mui.x-data-grid-pro/GridFooterPlaceholder.d.ts.map +1 -1
- package/dist/types/lib/mui.x-data-grid-pro/GridHeader.d.ts +3 -26
- package/dist/types/lib/mui.x-data-grid-pro/GridHeader.d.ts.map +1 -1
- package/dist/types/lib/mui.x-data-grid-pro/GridPagination.d.ts +3 -26
- package/dist/types/lib/mui.x-data-grid-pro/GridPagination.d.ts.map +1 -1
- package/dist/types/lib/mui.x-date-pickers/ArrowDropDownIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-date-pickers/ArrowDropDownIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-date-pickers/ArrowLeftIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-date-pickers/ArrowLeftIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-date-pickers/ArrowRightIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-date-pickers/ArrowRightIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-date-pickers/CalendarIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-date-pickers/CalendarIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-date-pickers/ClearIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-date-pickers/ClearIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-date-pickers/ClockIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-date-pickers/ClockIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-date-pickers/DateRangeIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-date-pickers/DateRangeIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-date-pickers/TimeIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-date-pickers/TimeIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-date-pickers-pro/ArrowDropDownIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-date-pickers-pro/ArrowDropDownIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-date-pickers-pro/ArrowLeftIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-date-pickers-pro/ArrowLeftIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-date-pickers-pro/ArrowRightIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-date-pickers-pro/ArrowRightIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-date-pickers-pro/CalendarIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-date-pickers-pro/CalendarIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-date-pickers-pro/ClearIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-date-pickers-pro/ClearIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-date-pickers-pro/ClockIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-date-pickers-pro/ClockIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-date-pickers-pro/DateRangeIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-date-pickers-pro/DateRangeIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-date-pickers-pro/TimeIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-date-pickers-pro/TimeIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-tree-view/TreeViewCollapseIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-tree-view/TreeViewCollapseIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-tree-view/TreeViewExpandIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-tree-view/TreeViewExpandIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-tree-view-pro/TreeViewCollapseIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-tree-view-pro/TreeViewCollapseIcon.d.ts.map +1 -1
- package/dist/types/lib/mui.x-tree-view-pro/TreeViewExpandIcon.d.ts +3 -28
- package/dist/types/lib/mui.x-tree-view-pro/TreeViewExpandIcon.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/cjs/core.cjs.map
CHANGED
|
@@ -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`)
|
|
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,
|
|
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;;;;"}
|
package/dist/esm/core.js.map
CHANGED
|
@@ -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`)
|
|
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,
|
|
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;;;;"}
|
package/dist/types/core.d.ts
CHANGED
|
@@ -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`)
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
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
|
|
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
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
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
|
};
|
package/dist/types/core.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/core.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,eAAe,EAAE,YAAY,EAAE,SAAS,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAExI,OAAO,KAAK,EAAE,SAAS,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAA;AAe7G,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAQxD;AAID;;;;;;GAMG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,IACtB,CAAC,SAAS,oBAAoB,CAAC,MAAM,OAAO,CAAC,GACzC,kBAAkB,SAAS,OAAO,GAChC,CAAC,SAAS,WAAW,GACnB,kBAAkB,CAAC,CAAC,CAAC,GACrB,KAAK,GACP,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,GACjC,CAAC,SAAS,WAAW,GACnB,kBAAkB,CAAC,CAAC,CAAC,GACrB,KAAK,CAAA;AAEb;;;;;;;;;;;;;;;;;;;GAmBG;AACH,KAAK,YAAY,CAAC,OAAO,SAAS,kBAAkB,EAAE,aAAa,SAAS,WAAW,IAAI,SAAS,CAAC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/core.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,eAAe,EAAE,YAAY,EAAE,SAAS,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAExI,OAAO,KAAK,EAAE,SAAS,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAA;AAe7G,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAQxD;AAID;;;;;;GAMG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,IACtB,CAAC,SAAS,oBAAoB,CAAC,MAAM,OAAO,CAAC,GACzC,kBAAkB,SAAS,OAAO,GAChC,CAAC,SAAS,WAAW,GACnB,kBAAkB,CAAC,CAAC,CAAC,GACrB,KAAK,GACP,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,GACjC,CAAC,SAAS,WAAW,GACnB,kBAAkB,CAAC,CAAC,CAAC,GACrB,KAAK,CAAA;AAEb;;;;;;;;;;;;;;;;;;;GAmBG;AACH,KAAK,YAAY,CAAC,OAAO,SAAS,kBAAkB,EAAE,aAAa,SAAS,WAAW,IAAI,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,MAAM,SAAS,CAAC,OAAO,CAAC,CAAC,GACjJ,SAAS,CAAC,OAAO,CAAC,GAAG;IAAE,EAAE,CAAC,EAAE,KAAK,CAAA;CAAE,CAAA;AAErC;;;;;;;;;;;GAWG;AACH,KAAK,cAAc,CACjB,iBAAiB,EACjB,OAAO,SAAS,kBAAkB,GAAG,kBAAkB,EACvD,gBAAgB,SAAS,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC,IAChE;IACF,CAAC,aAAa,SAAS,WAAW,GAAG,gBAAgB,EACnD,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,EAAE,aAAa,CAAC,GAAG,iBAAiB,EAChE,IAAI,CAAC,EAAE,cAAc,GACpB,YAAY,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAA;CACxC,GAAG;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,CAAA;AAE5B;;;;;;;;;;;;;;GAcG;AACH,KAAK,kBAAkB,CAAC,OAAO,SAAS,WAAW,IACjD,gBAAgB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,SAAS,IAAI,GAC3C,CAAC,CAAC,eAAe,EAAE,UAAU,SAAS,MAAM,GAAG,MAAM,EAAE,EAAE,SAAS,eAAe,GAAG,OAAO,EACzF,KAAK,EAAE,gBAAgB,CAAC,OAAO,EAAE,EAAE,EAAE,eAAe,EAAE,UAAU,CAAC,EACjE,IAAI,CAAC,EAAE,cAAc,KAClB,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG;IAChC,OAAO,EAAE,OAAO,CAAA;CACjB,GACD,CAAC,CAAC,eAAe,EAAE,UAAU,SAAS,MAAM,GAAG,MAAM,EAAE,EAAE,SAAS,eAAe,GAAG,OAAO,EACzF,KAAK,CAAC,EAAE,gBAAgB,CAAC,OAAO,EAAE,EAAE,EAAE,eAAe,EAAE,UAAU,CAAC,EAClE,IAAI,CAAC,EAAE,cAAc,KAClB,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG;IAChC,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAIP;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CACnC,iBAAiB,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC7C,OAAO,SAAS,kBAAkB,EAClC,gBAAgB,SAAS,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC,EAElE,OAAO,EAAE,oBAAoB,CAAC,OAAO,CAAC,EACtC,YAAY,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAC,GAAG,iBAAiB,GAClF,cAAc,CAAC,iBAAiB,EAAE,OAAO,EAAE,gBAAgB,CAAC,CAAA;AAE/D;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,iBAAiB,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,SAAS,WAAW,EAC9G,OAAO,EAAE,OAAO,EAChB,YAAY,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,GAAG,iBAAiB,GAC7D,kBAAkB,CAAC,OAAO,CAAC,CAAA;AAkB9B,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1,31 +1,6 @@
|
|
|
1
|
-
declare const Accordion: {
|
|
2
|
-
|
|
3
|
-
|
|
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
|
|
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
|
-
|
|
3
|
-
|
|
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
|
|
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
|
-
|
|
3
|
-
|
|
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
|
|
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
|
-
|
|
3
|
-
|
|
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
|
|
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
|
-
|
|
3
|
-
|
|
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
|
|
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
|
-
|
|
3
|
-
|
|
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
|
|
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"}
|