@max-ts/components 0.2.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_virtual/_commonjsHelpers.mjs +6 -0
- package/lib/_virtual/index.mjs +5 -0
- package/lib/_virtual/index2.mjs +4 -0
- package/lib/_virtual/index3.mjs +4 -0
- package/lib/_virtual/index4.mjs +7 -0
- package/lib/_virtual/index5.mjs +4 -0
- package/lib/_virtual/react-is.development.mjs +4 -0
- package/lib/_virtual/react-is.development2.mjs +4 -0
- package/lib/_virtual/react-is.production.min.mjs +4 -0
- package/lib/_virtual/react-is.production.mjs +4 -0
- package/lib/components/Accordion/styles.d.ts +2 -2
- package/lib/components/Accordion/styles.mjs +21 -11
- package/lib/components/ActionCell/MainAction/MainAction.d.ts +1 -4
- package/lib/components/ActionCell/MainAction/MainAction.mjs +110 -44
- package/lib/components/ActionCell/SecondaryAction/SecondaryActions.d.ts +0 -3
- package/lib/components/ActionCell/styles.mjs +13 -3
- package/lib/components/ActionGroup/ActionGroup.d.ts +23 -0
- package/lib/components/ActionGroup/ActionGroup.mjs +17 -0
- package/lib/components/ActionGroup/MainActions/MainActions.d.ts +65 -0
- package/lib/components/ActionGroup/MainActions/MainActions.mjs +129 -0
- package/lib/components/ActionGroup/MainActions/index.d.ts +1 -0
- package/lib/components/ActionGroup/MainActions/styles.d.ts +13 -0
- package/lib/components/ActionGroup/MainActions/styles.mjs +18 -0
- package/lib/components/ActionGroup/SecondaryActions/SecondaryActions.d.ts +21 -0
- package/lib/components/ActionGroup/SecondaryActions/SecondaryActions.mjs +97 -0
- package/lib/components/ActionGroup/SecondaryActions/index.d.ts +1 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.d.ts +19 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.mjs +103 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/index.d.ts +1 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +9 -0
- package/lib/components/ActionGroup/index.d.ts +1 -0
- package/lib/components/ActionGroup/styles.d.ts +1 -0
- package/lib/components/ActionGroup/styles.mjs +18 -0
- package/lib/components/ActionGroup/useLogic/useLogic.d.ts +7 -0
- package/lib/components/ActionGroup/useLogic/useLogic.mjs +9 -0
- package/lib/components/Autocomplete/styles.mjs +13 -3
- package/lib/components/Badge/styles.d.ts +1 -1
- package/lib/components/BottomDrawer/styles.d.ts +3 -3
- package/lib/components/Breadcrumbs/index.d.ts +1 -0
- package/lib/components/Button/Button.mjs +17 -17
- package/lib/components/Button/constants.d.ts +1 -1
- package/lib/components/Button/constants.mjs +2 -2
- package/lib/components/Button/styles.d.ts +1 -1
- package/lib/components/ButtonBase/ButtonBase.d.ts +1 -0
- package/lib/components/ButtonBase/index.d.ts +1 -0
- package/lib/components/ButtonGroup/index.d.ts +1 -0
- package/lib/components/Card/index.d.ts +1 -0
- package/lib/components/CardActions/index.d.ts +1 -0
- package/lib/components/CardContent/index.d.ts +1 -0
- package/lib/components/CardHeader/index.d.ts +1 -0
- package/lib/components/CheckboxField/styles.mjs +15 -5
- package/lib/components/Chevron/styles.mjs +14 -4
- package/lib/components/ConfirmAction/styles.d.ts +2 -2
- package/lib/components/ConfirmAction/styles.mjs +17 -7
- package/lib/components/ConfirmDialog/styles.mjs +10 -4
- package/lib/components/ConfirmDialog/useLogic/useLogic.d.ts +1 -1
- package/lib/components/Container/styles.d.ts +1 -0
- package/lib/components/Container/styles.mjs +16 -13
- package/lib/components/ContentState/styles.mjs +13 -3
- package/lib/components/CopyTypography/styles.d.ts +2 -2
- package/lib/components/CopyTypography/styles.mjs +16 -6
- package/lib/components/DataGrid/Body/Body.d.ts +1 -29
- package/lib/components/DataGrid/Body/Body.mjs +26 -29
- package/lib/components/DataGrid/Body/styles.mjs +15 -5
- package/lib/components/DataGrid/Cell/styles.mjs +15 -5
- package/lib/components/DataGrid/DataGrid.d.ts +0 -53
- package/lib/components/DataGrid/DataGrid.mjs +49 -71
- package/lib/components/DataGrid/Head/styles.mjs +20 -10
- package/lib/components/DataGrid/HeadCell/HeadCell.mjs +21 -20
- package/lib/components/DataGrid/HeadCell/styles.d.ts +2 -2
- package/lib/components/DataGrid/HeadCell/styles.mjs +19 -8
- package/lib/components/DataGrid/Row/Row.d.ts +1 -38
- package/lib/components/DataGrid/Row/Row.mjs +55 -147
- package/lib/components/DataGrid/Row/constants.d.ts +0 -1
- package/lib/components/DataGrid/Row/constants.mjs +2 -3
- package/lib/components/DataGrid/Row/index.d.ts +0 -1
- package/lib/components/DataGrid/Row/styles.d.ts +0 -22
- package/lib/components/DataGrid/Row/styles.mjs +21 -78
- package/lib/components/DataGrid/Row/useLogic/useLogic.d.ts +2 -10
- package/lib/components/DataGrid/Row/useLogic/useLogic.mjs +36 -67
- package/lib/components/DataGrid/constants.d.ts +0 -3
- package/lib/components/DataGrid/constants.mjs +3 -6
- package/lib/components/DataGrid/enums.d.ts +0 -4
- package/lib/components/DataGrid/enums.mjs +2 -3
- package/lib/components/DataGrid/faker.d.ts +1 -1
- package/lib/components/DataGrid/styles.mjs +20 -10
- package/lib/components/DataGrid/types.d.ts +2 -7
- package/lib/components/DataGrid/useLogic/useLogic.d.ts +1 -6
- package/lib/components/DataGrid/useLogic/useLogic.mjs +31 -36
- package/lib/components/DataGridActionCell/styles.mjs +13 -3
- package/lib/components/DataGridActionCell/useLogic/useLogic.mjs +13 -42
- package/lib/components/DataGridOld/Cell/styles.d.ts +1 -1
- package/lib/components/DataGridOld/HeadCell/styles.d.ts +1 -1
- package/lib/components/DataGridPagination/DataGridPagination.mjs +9 -9
- package/lib/components/DataGridPagination/faker.d.ts +1 -1
- package/lib/components/DataGridPagination/styles.d.ts +2 -2
- package/lib/components/DataGridPagination/styles.mjs +22 -12
- package/lib/components/Description/Name/styles.mjs +15 -5
- package/lib/components/Description/Value/styles.d.ts +10 -10
- package/lib/components/Description/Value/styles.mjs +83 -9
- package/lib/components/Description/Value/useLogic/useLogic.mjs +3 -3
- package/lib/components/Description/styles.mjs +13 -3
- package/lib/components/Description/useLogic/useLogic.d.ts +1 -1
- package/lib/components/DescriptionList/styles.mjs +20 -10
- package/lib/components/DescriptionTooltip/DescriptionTooltip.d.ts +9 -0
- package/lib/components/DescriptionTooltip/DescriptionTooltip.mjs +14 -0
- package/lib/components/DescriptionTooltip/index.d.ts +1 -0
- package/lib/components/DescriptionTooltip/styles.d.ts +4 -0
- package/lib/components/DescriptionTooltip/styles.mjs +27 -0
- package/lib/components/DialogContentText/styles.d.ts +1 -1
- package/lib/components/DialogHeader/styles.mjs +22 -12
- package/lib/components/Filename/styles.d.ts +2 -2
- package/lib/components/Filename/styles.mjs +16 -6
- package/lib/components/FormHelperText/FormHelperTextContent/styles.mjs +26 -16
- package/lib/components/FormLabel/styles.d.ts +1 -1
- package/lib/components/IconButton/styles.mjs +20 -14
- package/lib/components/Link/Link.d.ts +1 -1
- package/lib/components/Link/styles.d.ts +1 -1
- package/lib/components/ListItem/styles.d.ts +1 -1
- package/lib/components/MaskField/MaskField.d.ts +6 -0
- package/lib/components/MaskField/MaskField.mjs +10 -0
- package/lib/components/MaskField/index.d.ts +1 -0
- package/lib/components/MenuList/styles.d.ts +1 -1
- package/lib/components/NavMenu/Item/ItemButton/styles.d.ts +125 -125
- package/lib/components/OverflowTypography/styles.d.ts +4 -4
- package/lib/components/OverflowTypography/styles.mjs +16 -6
- package/lib/components/Placeholder/Image/styles.mjs +14 -4
- package/lib/components/Placeholder/styles.d.ts +4 -4
- package/lib/components/Placeholder/styles.mjs +31 -21
- package/lib/components/SearchField/styles.mjs +22 -12
- package/lib/components/Select/styles.d.ts +1 -1
- package/lib/components/Skeleton/styles.d.ts +1 -1
- package/lib/components/Skeleton/styles.mjs +7 -10
- package/lib/components/Slider/Slider.d.ts +2 -0
- package/lib/components/Slider/Slider.mjs +6 -0
- package/lib/components/Slider/index.d.ts +1 -0
- package/lib/components/Slider/styles.d.ts +1 -0
- package/lib/components/Slider/styles.mjs +40 -0
- package/lib/components/Tab/styles.d.ts +1 -1
- package/lib/components/Tabs/styles.mjs +16 -6
- package/lib/components/Tag/Tag.mjs +27 -23
- package/lib/components/Tag/styles.d.ts +1 -1
- package/lib/components/TagBadge/styles.mjs +14 -4
- package/lib/components/TagsList/Tag/styles.d.ts +1 -1
- package/lib/components/TagsList/Tag/styles.mjs +14 -4
- package/lib/components/TagsList/styles.mjs +13 -3
- package/lib/components/TextField/TextField.d.ts +1 -1
- package/lib/components/TextField/TextField.mjs +1 -1
- package/lib/components/ThemeProvider/ThemeProvider.d.ts +11 -0
- package/lib/components/ThemeProvider/ThemeProvider.mjs +9 -0
- package/lib/components/ThemeProvider/index.d.ts +1 -0
- package/lib/components/index.d.ts +12 -0
- package/lib/components.css +1 -0
- package/lib/icons/index.d.ts +1 -0
- package/lib/index.mjs +225 -208
- package/lib/node_modules/.pnpm/@emotion_hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.mjs +22 -0
- package/lib/node_modules/.pnpm/@emotion_memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.mjs +9 -0
- package/lib/node_modules/.pnpm/@emotion_serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.esm.mjs +120 -0
- package/lib/node_modules/.pnpm/@emotion_unitless@0.10.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.mjs +53 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/colors/blue.mjs +10 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/colors/common.mjs +7 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/colors/green.mjs +11 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/colors/grey.mjs +19 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/colors/lightBlue.mjs +10 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/colors/orange.mjs +10 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/colors/purple.mjs +11 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/colors/red.mjs +10 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createColorScheme.mjs +44 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createGetSelector.mjs +41 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createMixins.mjs +19 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createPalette.mjs +261 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createTheme.mjs +60 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createThemeNoVars.mjs +75 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createThemeWithVars.mjs +161 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createTransitions.mjs +66 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createTypography.mjs +80 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/defaultTheme.mjs +5 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/excludeVariablesFromRoot.mjs +4 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/getOverlayAlpha.mjs +7 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/identifier.mjs +4 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/rootShouldForwardProp.mjs +5 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/shadows.mjs +7 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/shouldSkipGeneratingVar.mjs +7 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/slotShouldForwardProp.mjs +6 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/stringifyTheme.mjs +29 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/styled.mjs +13 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/useTheme.mjs +11 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/zIndex.mjs +13 -0
- package/lib/node_modules/.pnpm/@mui_styled-engine@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emo_6faee6770fc007ef214af3c8aa5695a8/node_modules/@mui/styled-engine/index.mjs +33 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/borders/borders.mjs +45 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/breakpoints/breakpoints.mjs +67 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/colorManipulator/colorManipulator.mjs +145 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/compose/compose.mjs +10 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.mjs +62 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/createStyled/createStyled.mjs +153 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/createTheme/applyStyles.mjs +15 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/createTheme/createSpacing.mjs +15 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/createTheme/createTheme.mjs +44 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/createTheme/shape.mjs +6 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.mjs +49 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/cssGrid/cssGrid.mjs +78 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/cssVars/cssVarsParser.mjs +41 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.mjs +8 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/cssVars/prepareCssVars.mjs +117 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.mjs +10 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/memoize/memoize.mjs +7 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/merge/merge.mjs +10 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/palette/palette.mjs +26 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/preprocessStyles.mjs +17 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/responsivePropType/responsivePropType.mjs +5 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/sizing/sizing.mjs +63 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/spacing/spacing.mjs +84 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/style/style.mjs +43 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.mjs +296 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.mjs +92 -0
- package/lib/node_modules/.pnpm/@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.mjs +17 -0
- package/lib/node_modules/.pnpm/@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/capitalize/capitalize.mjs +9 -0
- package/lib/node_modules/.pnpm/@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/clamp/clamp.mjs +6 -0
- package/lib/node_modules/.pnpm/@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/deepmerge/deepmerge.mjs +31 -0
- package/lib/node_modules/.pnpm/@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.mjs +7 -0
- package/lib/node_modules/.pnpm/@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.mjs +23 -0
- package/lib/node_modules/.pnpm/@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.mjs +28 -0
- package/lib/node_modules/.pnpm/@react-input_core@2.0.2_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/core/module/Input.mjs +55 -0
- package/lib/node_modules/.pnpm/@react-input_core@2.0.2_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/core/module/SyntheticChangeError.mjs +11 -0
- package/lib/node_modules/.pnpm/@react-input_core@2.0.2_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/core/module/createProxy.mjs +8 -0
- package/lib/node_modules/.pnpm/@react-input_core@2.0.2_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/core/module/helpers-C8k3UfPS.mjs +129 -0
- package/lib/node_modules/.pnpm/@react-input_mask@2.0.4_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/mask/module/Mask.mjs +90 -0
- package/lib/node_modules/.pnpm/@react-input_mask@2.0.4_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/mask/module/helpers-BtaZ0NTN.mjs +226 -0
- package/lib/node_modules/.pnpm/@react-input_mask@2.0.4_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/mask/module/useMask.mjs +12 -0
- package/lib/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.mjs +54 -0
- package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.mjs +54 -0
- package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.mjs +52 -0
- package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.mjs +329 -0
- package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.mjs +17 -0
- package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +10 -0
- package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.mjs +7 -0
- package/lib/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.mjs +95 -0
- package/lib/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.mjs +78 -0
- package/lib/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.mjs +10 -0
- package/lib/node_modules/.pnpm/react-is@19.0.0/node_modules/react-is/cjs/react-is.development.mjs +76 -0
- package/lib/node_modules/.pnpm/react-is@19.0.0/node_modules/react-is/cjs/react-is.production.mjs +76 -0
- package/lib/node_modules/.pnpm/react-is@19.0.0/node_modules/react-is/index.mjs +10 -0
- package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.development.mjs +18 -18
- package/lib/theme/baseTheme/baseTheme.d.ts +1 -3
- package/lib/theme/baseTheme/baseTheme.mjs +21 -21
- package/lib/theme/components/MuiButton.mjs +5 -5
- package/lib/theme/components/MuiSwitch.mjs +1 -1
- package/lib/theme/components/components.d.ts +1 -19
- package/lib/theme/components/components.mjs +71 -108
- package/lib/theme/index.d.ts +1 -1
- package/lib/theme/palette/palette.mjs +20 -20
- package/lib/theme/typography.mjs +6 -2
- package/package.json +3 -1
- package/lib/components/DataGrid/DataGridContext/DataGridContext.d.ts +0 -7
- package/lib/components/DataGrid/DataGridContext/DataGridContext.mjs +0 -12
- package/lib/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.d.ts +0 -6
- package/lib/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.mjs +0 -41
- package/lib/components/DataGrid/DataGridContext/DataGridProvider/index.d.ts +0 -1
- package/lib/components/DataGrid/DataGridContext/index.d.ts +0 -2
- package/lib/components/DataGrid/Row/NestedChildren/NestedChildren.d.ts +0 -55
- package/lib/components/DataGrid/Row/NestedChildren/NestedChildren.mjs +0 -72
- package/lib/components/DataGrid/Row/NestedChildren/index.d.ts +0 -1
- package/lib/components/DataGrid/Row/NestedChildren/styles.d.ts +0 -20
- package/lib/components/DataGrid/Row/NestedChildren/styles.mjs +0 -68
- package/lib/components/DataGrid/Row/NestedChildren/useLogic/useLogic.d.ts +0 -18
- package/lib/components/DataGrid/Row/NestedChildren/useLogic/useLogic.mjs +0 -27
- package/lib/components/DataGrid/Row/RowContext/RowContext.d.ts +0 -7
- package/lib/components/DataGrid/Row/RowContext/RowContext.mjs +0 -11
- package/lib/components/DataGrid/Row/RowContext/RowProvider/RowProvider.d.ts +0 -6
- package/lib/components/DataGrid/Row/RowContext/RowProvider/RowProvider.mjs +0 -25
- package/lib/components/DataGrid/Row/RowContext/RowProvider/index.d.ts +0 -1
- package/lib/components/DataGrid/Row/RowContext/index.d.ts +0 -2
- package/lib/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.d.ts +0 -4
- package/lib/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.mjs +0 -8
- package/lib/components/DataGrid/Row/useLogic/utils/getColumnsMap/index.d.ts +0 -1
- package/lib/components/DataGrid/Row/useLogic/utils/index.d.ts +0 -2
- package/lib/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/index.d.ts +0 -1
- package/lib/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.d.ts +0 -2
- package/lib/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.mjs +0 -14
- package/lib/theme/hooks/index.d.ts +0 -1
- package/lib/theme/hooks/useTheme/index.d.ts +0 -2
- package/lib/theme/hooks/useTheme/index.mjs +0 -5
- /package/lib/components/{DataGrid/Row/NestedChildren → ActionGroup}/useLogic/index.d.ts +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
var o = {
|
|
2
|
+
animationIterationCount: 1,
|
|
3
|
+
aspectRatio: 1,
|
|
4
|
+
borderImageOutset: 1,
|
|
5
|
+
borderImageSlice: 1,
|
|
6
|
+
borderImageWidth: 1,
|
|
7
|
+
boxFlex: 1,
|
|
8
|
+
boxFlexGroup: 1,
|
|
9
|
+
boxOrdinalGroup: 1,
|
|
10
|
+
columnCount: 1,
|
|
11
|
+
columns: 1,
|
|
12
|
+
flex: 1,
|
|
13
|
+
flexGrow: 1,
|
|
14
|
+
flexPositive: 1,
|
|
15
|
+
flexShrink: 1,
|
|
16
|
+
flexNegative: 1,
|
|
17
|
+
flexOrder: 1,
|
|
18
|
+
gridRow: 1,
|
|
19
|
+
gridRowEnd: 1,
|
|
20
|
+
gridRowSpan: 1,
|
|
21
|
+
gridRowStart: 1,
|
|
22
|
+
gridColumn: 1,
|
|
23
|
+
gridColumnEnd: 1,
|
|
24
|
+
gridColumnSpan: 1,
|
|
25
|
+
gridColumnStart: 1,
|
|
26
|
+
msGridRow: 1,
|
|
27
|
+
msGridRowSpan: 1,
|
|
28
|
+
msGridColumn: 1,
|
|
29
|
+
msGridColumnSpan: 1,
|
|
30
|
+
fontWeight: 1,
|
|
31
|
+
lineHeight: 1,
|
|
32
|
+
opacity: 1,
|
|
33
|
+
order: 1,
|
|
34
|
+
orphans: 1,
|
|
35
|
+
scale: 1,
|
|
36
|
+
tabSize: 1,
|
|
37
|
+
widows: 1,
|
|
38
|
+
zIndex: 1,
|
|
39
|
+
zoom: 1,
|
|
40
|
+
WebkitLineClamp: 1,
|
|
41
|
+
// SVG-related properties
|
|
42
|
+
fillOpacity: 1,
|
|
43
|
+
floodOpacity: 1,
|
|
44
|
+
stopOpacity: 1,
|
|
45
|
+
strokeDasharray: 1,
|
|
46
|
+
strokeDashoffset: 1,
|
|
47
|
+
strokeMiterlimit: 1,
|
|
48
|
+
strokeOpacity: 1,
|
|
49
|
+
strokeWidth: 1
|
|
50
|
+
};
|
|
51
|
+
export {
|
|
52
|
+
o as default
|
|
53
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
50: "#fafafa",
|
|
3
|
+
100: "#f5f5f5",
|
|
4
|
+
200: "#eeeeee",
|
|
5
|
+
300: "#e0e0e0",
|
|
6
|
+
400: "#bdbdbd",
|
|
7
|
+
500: "#9e9e9e",
|
|
8
|
+
600: "#757575",
|
|
9
|
+
700: "#616161",
|
|
10
|
+
800: "#424242",
|
|
11
|
+
900: "#212121",
|
|
12
|
+
A100: "#f5f5f5",
|
|
13
|
+
A200: "#eeeeee",
|
|
14
|
+
A400: "#bdbdbd",
|
|
15
|
+
A700: "#616161"
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
e as default
|
|
19
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import l from "./createPalette.mjs";
|
|
2
|
+
import c from "./getOverlayAlpha.mjs";
|
|
3
|
+
const i = [...Array(25)].map((r, t) => {
|
|
4
|
+
if (t === 0)
|
|
5
|
+
return "none";
|
|
6
|
+
const e = c(t);
|
|
7
|
+
return `linear-gradient(rgba(255 255 255 / ${e}), rgba(255 255 255 / ${e}))`;
|
|
8
|
+
});
|
|
9
|
+
function p(r) {
|
|
10
|
+
return {
|
|
11
|
+
inputPlaceholder: r === "dark" ? 0.5 : 0.42,
|
|
12
|
+
inputUnderline: r === "dark" ? 0.7 : 0.42,
|
|
13
|
+
switchTrackDisabled: r === "dark" ? 0.2 : 0.12,
|
|
14
|
+
switchTrack: r === "dark" ? 0.3 : 0.38
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function s(r) {
|
|
18
|
+
return r === "dark" ? i : [];
|
|
19
|
+
}
|
|
20
|
+
function y(r) {
|
|
21
|
+
const {
|
|
22
|
+
palette: t = {
|
|
23
|
+
mode: "light"
|
|
24
|
+
},
|
|
25
|
+
// need to cast to avoid module augmentation test
|
|
26
|
+
opacity: e,
|
|
27
|
+
overlays: n,
|
|
28
|
+
...o
|
|
29
|
+
} = r, a = l(t);
|
|
30
|
+
return {
|
|
31
|
+
palette: a,
|
|
32
|
+
opacity: {
|
|
33
|
+
...p(a.mode),
|
|
34
|
+
...e
|
|
35
|
+
},
|
|
36
|
+
overlays: n || s(a.mode),
|
|
37
|
+
...o
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export {
|
|
41
|
+
y as default,
|
|
42
|
+
p as getOpacity,
|
|
43
|
+
s as getOverlays
|
|
44
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import n from "./excludeVariablesFromRoot.mjs";
|
|
2
|
+
const s = (f) => (r, a) => {
|
|
3
|
+
const t = f.rootSelector || ":root", i = f.colorSchemeSelector;
|
|
4
|
+
let e = i;
|
|
5
|
+
if (i === "class" && (e = ".%s"), i === "data" && (e = "[data-%s]"), i?.startsWith("data-") && !i.includes("%s") && (e = `[${i}="%s"]`), f.defaultColorScheme === r) {
|
|
6
|
+
if (r === "dark") {
|
|
7
|
+
const d = {};
|
|
8
|
+
return n(f.cssVarPrefix).forEach((l) => {
|
|
9
|
+
d[l] = a[l], delete a[l];
|
|
10
|
+
}), e === "media" ? {
|
|
11
|
+
[t]: a,
|
|
12
|
+
"@media (prefers-color-scheme: dark)": {
|
|
13
|
+
[t]: d
|
|
14
|
+
}
|
|
15
|
+
} : e ? {
|
|
16
|
+
[e.replace("%s", r)]: d,
|
|
17
|
+
[`${t}, ${e.replace("%s", r)}`]: a
|
|
18
|
+
} : {
|
|
19
|
+
[t]: {
|
|
20
|
+
...a,
|
|
21
|
+
...d
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
if (e && e !== "media")
|
|
26
|
+
return `${t}, ${e.replace("%s", String(r))}`;
|
|
27
|
+
} else if (r) {
|
|
28
|
+
if (e === "media")
|
|
29
|
+
return {
|
|
30
|
+
[`@media (prefers-color-scheme: ${String(r)})`]: {
|
|
31
|
+
[t]: a
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
if (e)
|
|
35
|
+
return e.replace("%s", String(r));
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
s as default
|
|
41
|
+
};
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import l from "../colors/common.mjs";
|
|
2
|
+
import I from "../colors/grey.mjs";
|
|
3
|
+
import s from "../colors/purple.mjs";
|
|
4
|
+
import c from "../colors/red.mjs";
|
|
5
|
+
import f from "../colors/orange.mjs";
|
|
6
|
+
import d from "../colors/blue.mjs";
|
|
7
|
+
import g from "../colors/lightBlue.mjs";
|
|
8
|
+
import m from "../colors/green.mjs";
|
|
9
|
+
import P from "../../../../../@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/deepmerge/deepmerge.mjs";
|
|
10
|
+
import { getContrastRatio as k, lighten as S, darken as U } from "../../../../../@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/colorManipulator/colorManipulator.mjs";
|
|
11
|
+
import v from "../../../../../@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.mjs";
|
|
12
|
+
function D() {
|
|
13
|
+
return {
|
|
14
|
+
// The colors used to style the text.
|
|
15
|
+
text: {
|
|
16
|
+
// The most important text.
|
|
17
|
+
primary: "rgba(0, 0, 0, 0.87)",
|
|
18
|
+
// Secondary text.
|
|
19
|
+
secondary: "rgba(0, 0, 0, 0.6)",
|
|
20
|
+
// Disabled text have even lower visual prominence.
|
|
21
|
+
disabled: "rgba(0, 0, 0, 0.38)"
|
|
22
|
+
},
|
|
23
|
+
// The color used to divide different elements.
|
|
24
|
+
divider: "rgba(0, 0, 0, 0.12)",
|
|
25
|
+
// The background colors used to style the surfaces.
|
|
26
|
+
// Consistency between these values is important.
|
|
27
|
+
background: {
|
|
28
|
+
paper: l.white,
|
|
29
|
+
default: l.white
|
|
30
|
+
},
|
|
31
|
+
// The colors used to style the action elements.
|
|
32
|
+
action: {
|
|
33
|
+
// The color of an active action like an icon button.
|
|
34
|
+
active: "rgba(0, 0, 0, 0.54)",
|
|
35
|
+
// The color of an hovered action.
|
|
36
|
+
hover: "rgba(0, 0, 0, 0.04)",
|
|
37
|
+
hoverOpacity: 0.04,
|
|
38
|
+
// The color of a selected action.
|
|
39
|
+
selected: "rgba(0, 0, 0, 0.08)",
|
|
40
|
+
selectedOpacity: 0.08,
|
|
41
|
+
// The color of a disabled action.
|
|
42
|
+
disabled: "rgba(0, 0, 0, 0.26)",
|
|
43
|
+
// The background color of a disabled action.
|
|
44
|
+
disabledBackground: "rgba(0, 0, 0, 0.12)",
|
|
45
|
+
disabledOpacity: 0.38,
|
|
46
|
+
focus: "rgba(0, 0, 0, 0.12)",
|
|
47
|
+
focusOpacity: 0.12,
|
|
48
|
+
activatedOpacity: 0.12
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
const V = D();
|
|
53
|
+
function E() {
|
|
54
|
+
return {
|
|
55
|
+
text: {
|
|
56
|
+
primary: l.white,
|
|
57
|
+
secondary: "rgba(255, 255, 255, 0.7)",
|
|
58
|
+
disabled: "rgba(255, 255, 255, 0.5)",
|
|
59
|
+
icon: "rgba(255, 255, 255, 0.5)"
|
|
60
|
+
},
|
|
61
|
+
divider: "rgba(255, 255, 255, 0.12)",
|
|
62
|
+
background: {
|
|
63
|
+
paper: "#121212",
|
|
64
|
+
default: "#121212"
|
|
65
|
+
},
|
|
66
|
+
action: {
|
|
67
|
+
active: l.white,
|
|
68
|
+
hover: "rgba(255, 255, 255, 0.08)",
|
|
69
|
+
hoverOpacity: 0.08,
|
|
70
|
+
selected: "rgba(255, 255, 255, 0.16)",
|
|
71
|
+
selectedOpacity: 0.16,
|
|
72
|
+
disabled: "rgba(255, 255, 255, 0.3)",
|
|
73
|
+
disabledBackground: "rgba(255, 255, 255, 0.12)",
|
|
74
|
+
disabledOpacity: 0.38,
|
|
75
|
+
focus: "rgba(255, 255, 255, 0.12)",
|
|
76
|
+
focusOpacity: 0.12,
|
|
77
|
+
activatedOpacity: 0.24
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
const w = E();
|
|
82
|
+
function O(r, e, u, i) {
|
|
83
|
+
const h = i.light || i, y = i.dark || i * 1.5;
|
|
84
|
+
r[e] || (r.hasOwnProperty(u) ? r[e] = r[u] : e === "light" ? r.light = S(r.main, h) : e === "dark" && (r.dark = U(r.main, y)));
|
|
85
|
+
}
|
|
86
|
+
function _(r = "light") {
|
|
87
|
+
return r === "dark" ? {
|
|
88
|
+
main: d[200],
|
|
89
|
+
light: d[50],
|
|
90
|
+
dark: d[400]
|
|
91
|
+
} : {
|
|
92
|
+
main: d[700],
|
|
93
|
+
light: d[400],
|
|
94
|
+
dark: d[800]
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
function B(r = "light") {
|
|
98
|
+
return r === "dark" ? {
|
|
99
|
+
main: s[200],
|
|
100
|
+
light: s[50],
|
|
101
|
+
dark: s[400]
|
|
102
|
+
} : {
|
|
103
|
+
main: s[500],
|
|
104
|
+
light: s[300],
|
|
105
|
+
dark: s[700]
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
function L(r = "light") {
|
|
109
|
+
return r === "dark" ? {
|
|
110
|
+
main: c[500],
|
|
111
|
+
light: c[300],
|
|
112
|
+
dark: c[700]
|
|
113
|
+
} : {
|
|
114
|
+
main: c[700],
|
|
115
|
+
light: c[400],
|
|
116
|
+
dark: c[800]
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
function R(r = "light") {
|
|
120
|
+
return r === "dark" ? {
|
|
121
|
+
main: g[400],
|
|
122
|
+
light: g[300],
|
|
123
|
+
dark: g[700]
|
|
124
|
+
} : {
|
|
125
|
+
main: g[700],
|
|
126
|
+
light: g[500],
|
|
127
|
+
dark: g[900]
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
function W(r = "light") {
|
|
131
|
+
return r === "dark" ? {
|
|
132
|
+
main: m[400],
|
|
133
|
+
light: m[300],
|
|
134
|
+
dark: m[700]
|
|
135
|
+
} : {
|
|
136
|
+
main: m[800],
|
|
137
|
+
light: m[500],
|
|
138
|
+
dark: m[900]
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
function j(r = "light") {
|
|
142
|
+
return r === "dark" ? {
|
|
143
|
+
main: f[400],
|
|
144
|
+
light: f[300],
|
|
145
|
+
dark: f[700]
|
|
146
|
+
} : {
|
|
147
|
+
main: "#ed6c02",
|
|
148
|
+
// closest to orange[800] that pass 3:1.
|
|
149
|
+
light: f[500],
|
|
150
|
+
dark: f[900]
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
function tr(r) {
|
|
154
|
+
const {
|
|
155
|
+
mode: e = "light",
|
|
156
|
+
contrastThreshold: u = 3,
|
|
157
|
+
tonalOffset: i = 0.2,
|
|
158
|
+
...h
|
|
159
|
+
} = r, y = r.primary || _(e), T = r.secondary || B(e), $ = r.error || L(e), x = r.info || R(e), N = r.success || W(e), C = r.warning || j(e);
|
|
160
|
+
function b(t) {
|
|
161
|
+
const a = k(t, w.text.primary) >= u ? w.text.primary : V.text.primary;
|
|
162
|
+
if (process.env.NODE_ENV !== "production") {
|
|
163
|
+
const n = k(t, a);
|
|
164
|
+
n < 3 && console.error([`MUI: The contrast ratio of ${n}:1 for ${a} on ${t}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
165
|
+
`));
|
|
166
|
+
}
|
|
167
|
+
return a;
|
|
168
|
+
}
|
|
169
|
+
const o = ({
|
|
170
|
+
color: t,
|
|
171
|
+
name: a,
|
|
172
|
+
mainShade: n = 500,
|
|
173
|
+
lightShade: M = 300,
|
|
174
|
+
darkShade: A = 700
|
|
175
|
+
}) => {
|
|
176
|
+
if (t = {
|
|
177
|
+
...t
|
|
178
|
+
}, !t.main && t[n] && (t.main = t[n]), !t.hasOwnProperty("main"))
|
|
179
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${a ? ` (${a})` : ""} provided to augmentColor(color) is invalid.
|
|
180
|
+
The color object needs to have a \`main\` property or a \`${n}\` property.` : v(11, a ? ` (${a})` : "", n));
|
|
181
|
+
if (typeof t.main != "string")
|
|
182
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${a ? ` (${a})` : ""} provided to augmentColor(color) is invalid.
|
|
183
|
+
\`color.main\` should be a string, but \`${JSON.stringify(t.main)}\` was provided instead.
|
|
184
|
+
|
|
185
|
+
Did you intend to use one of the following approaches?
|
|
186
|
+
|
|
187
|
+
import { green } from "@mui/material/colors";
|
|
188
|
+
|
|
189
|
+
const theme1 = createTheme({ palette: {
|
|
190
|
+
primary: green,
|
|
191
|
+
} });
|
|
192
|
+
|
|
193
|
+
const theme2 = createTheme({ palette: {
|
|
194
|
+
primary: { main: green[500] },
|
|
195
|
+
} });` : v(12, a ? ` (${a})` : "", JSON.stringify(t.main)));
|
|
196
|
+
return O(t, "light", M, i), O(t, "dark", A, i), t.contrastText || (t.contrastText = b(t.main)), t;
|
|
197
|
+
};
|
|
198
|
+
let p;
|
|
199
|
+
return e === "light" ? p = D() : e === "dark" && (p = E()), process.env.NODE_ENV !== "production" && (p || console.error(`MUI: The palette mode \`${e}\` is not supported.`)), P({
|
|
200
|
+
// A collection of common colors.
|
|
201
|
+
common: {
|
|
202
|
+
...l
|
|
203
|
+
},
|
|
204
|
+
// prevent mutable object.
|
|
205
|
+
// The palette mode, can be light or dark.
|
|
206
|
+
mode: e,
|
|
207
|
+
// The colors used to represent primary interface elements for a user.
|
|
208
|
+
primary: o({
|
|
209
|
+
color: y,
|
|
210
|
+
name: "primary"
|
|
211
|
+
}),
|
|
212
|
+
// The colors used to represent secondary interface elements for a user.
|
|
213
|
+
secondary: o({
|
|
214
|
+
color: T,
|
|
215
|
+
name: "secondary",
|
|
216
|
+
mainShade: "A400",
|
|
217
|
+
lightShade: "A200",
|
|
218
|
+
darkShade: "A700"
|
|
219
|
+
}),
|
|
220
|
+
// The colors used to represent interface elements that the user should be made aware of.
|
|
221
|
+
error: o({
|
|
222
|
+
color: $,
|
|
223
|
+
name: "error"
|
|
224
|
+
}),
|
|
225
|
+
// The colors used to represent potentially dangerous actions or important messages.
|
|
226
|
+
warning: o({
|
|
227
|
+
color: C,
|
|
228
|
+
name: "warning"
|
|
229
|
+
}),
|
|
230
|
+
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
231
|
+
info: o({
|
|
232
|
+
color: x,
|
|
233
|
+
name: "info"
|
|
234
|
+
}),
|
|
235
|
+
// The colors used to indicate the successful completion of an action that user triggered.
|
|
236
|
+
success: o({
|
|
237
|
+
color: N,
|
|
238
|
+
name: "success"
|
|
239
|
+
}),
|
|
240
|
+
// The grey colors.
|
|
241
|
+
grey: I,
|
|
242
|
+
// Used by `getContrastText()` to maximize the contrast between
|
|
243
|
+
// the background and the text.
|
|
244
|
+
contrastThreshold: u,
|
|
245
|
+
// Takes a background color and returns the text color that maximizes the contrast.
|
|
246
|
+
getContrastText: b,
|
|
247
|
+
// Generate a rich color object.
|
|
248
|
+
augmentColor: o,
|
|
249
|
+
// Used by the functions below to shift a color's luminance by approximately
|
|
250
|
+
// two indexes within its tonal palette.
|
|
251
|
+
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
252
|
+
tonalOffset: i,
|
|
253
|
+
// The light and dark mode object.
|
|
254
|
+
...p
|
|
255
|
+
}, h);
|
|
256
|
+
}
|
|
257
|
+
export {
|
|
258
|
+
w as dark,
|
|
259
|
+
tr as default,
|
|
260
|
+
V as light
|
|
261
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import s from "./createPalette.mjs";
|
|
2
|
+
import p from "./createThemeWithVars.mjs";
|
|
3
|
+
import m from "./createThemeNoVars.mjs";
|
|
4
|
+
function d(a, o, t) {
|
|
5
|
+
a.colorSchemes && t && (a.colorSchemes[o] = {
|
|
6
|
+
...t !== !0 && t,
|
|
7
|
+
palette: s({
|
|
8
|
+
...t === !0 ? {} : t.palette,
|
|
9
|
+
mode: o
|
|
10
|
+
})
|
|
11
|
+
// cast type to skip module augmentation test
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function C(a = {}, ...o) {
|
|
15
|
+
const {
|
|
16
|
+
palette: t,
|
|
17
|
+
cssVariables: i = !1,
|
|
18
|
+
colorSchemes: f = t ? void 0 : {
|
|
19
|
+
light: !0
|
|
20
|
+
},
|
|
21
|
+
defaultColorScheme: n = t?.mode,
|
|
22
|
+
...u
|
|
23
|
+
} = a, r = n || "light", h = f?.[r], e = {
|
|
24
|
+
...f,
|
|
25
|
+
...t ? {
|
|
26
|
+
[r]: {
|
|
27
|
+
...typeof h != "boolean" && h,
|
|
28
|
+
palette: t
|
|
29
|
+
}
|
|
30
|
+
} : void 0
|
|
31
|
+
};
|
|
32
|
+
if (i === !1) {
|
|
33
|
+
if (!("colorSchemes" in a))
|
|
34
|
+
return m(a, ...o);
|
|
35
|
+
let c = t;
|
|
36
|
+
"palette" in a || e[r] && (e[r] !== !0 ? c = e[r].palette : r === "dark" && (c = {
|
|
37
|
+
mode: "dark"
|
|
38
|
+
}));
|
|
39
|
+
const l = m({
|
|
40
|
+
...a,
|
|
41
|
+
palette: c
|
|
42
|
+
}, ...o);
|
|
43
|
+
return l.defaultColorScheme = r, l.colorSchemes = e, l.palette.mode === "light" && (l.colorSchemes.light = {
|
|
44
|
+
...e.light !== !0 && e.light,
|
|
45
|
+
palette: l.palette
|
|
46
|
+
}, d(l, "dark", e.dark)), l.palette.mode === "dark" && (l.colorSchemes.dark = {
|
|
47
|
+
...e.dark !== !0 && e.dark,
|
|
48
|
+
palette: l.palette
|
|
49
|
+
}, d(l, "light", e.light)), l;
|
|
50
|
+
}
|
|
51
|
+
return !t && !("light" in e) && r === "light" && (e.light = !0), p({
|
|
52
|
+
...u,
|
|
53
|
+
colorSchemes: e,
|
|
54
|
+
defaultColorScheme: r,
|
|
55
|
+
...typeof i != "boolean" && i
|
|
56
|
+
}, ...o);
|
|
57
|
+
}
|
|
58
|
+
export {
|
|
59
|
+
C as default
|
|
60
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import x from "./createMixins.mjs";
|
|
2
|
+
import v from "./createPalette.mjs";
|
|
3
|
+
import I from "./createTypography.mjs";
|
|
4
|
+
import b from "./shadows.mjs";
|
|
5
|
+
import E from "./createTransitions.mjs";
|
|
6
|
+
import N from "./zIndex.mjs";
|
|
7
|
+
import { stringifyTheme as O } from "./stringifyTheme.mjs";
|
|
8
|
+
import S from "../../../../../@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.mjs";
|
|
9
|
+
import k from "../../../../../@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/createTheme/createTheme.mjs";
|
|
10
|
+
import a from "../../../../../@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/deepmerge/deepmerge.mjs";
|
|
11
|
+
import C from "../../../../../@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.mjs";
|
|
12
|
+
import T from "../../../../../@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.mjs";
|
|
13
|
+
import M from "../../../../../@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.mjs";
|
|
14
|
+
function B(n = {}, ...l) {
|
|
15
|
+
const {
|
|
16
|
+
breakpoints: _,
|
|
17
|
+
mixins: h = {},
|
|
18
|
+
spacing: V,
|
|
19
|
+
palette: d = {},
|
|
20
|
+
transitions: y = {},
|
|
21
|
+
typography: g = {},
|
|
22
|
+
shape: w,
|
|
23
|
+
...p
|
|
24
|
+
} = n;
|
|
25
|
+
if (n.vars)
|
|
26
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : S(20));
|
|
27
|
+
const c = v(d), m = k(n);
|
|
28
|
+
let e = a(m, {
|
|
29
|
+
mixins: x(m.breakpoints, h),
|
|
30
|
+
palette: c,
|
|
31
|
+
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
32
|
+
shadows: b.slice(),
|
|
33
|
+
typography: I(c, g),
|
|
34
|
+
transitions: E(y),
|
|
35
|
+
zIndex: {
|
|
36
|
+
...N
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
if (e = a(e, p), e = l.reduce((o, r) => a(o, r), e), process.env.NODE_ENV !== "production") {
|
|
40
|
+
const o = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], r = (t, i) => {
|
|
41
|
+
let s;
|
|
42
|
+
for (s in t) {
|
|
43
|
+
const u = t[s];
|
|
44
|
+
if (o.includes(s) && Object.keys(u).length > 0) {
|
|
45
|
+
if (process.env.NODE_ENV !== "production") {
|
|
46
|
+
const f = M("", s);
|
|
47
|
+
console.error([`MUI: The \`${i}\` component increases the CSS specificity of the \`${s}\` internal state.`, "You can not override it like this: ", JSON.stringify(t, null, 2), "", `Instead, you need to use the '&.${f}' syntax:`, JSON.stringify({
|
|
48
|
+
root: {
|
|
49
|
+
[`&.${f}`]: u
|
|
50
|
+
}
|
|
51
|
+
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
52
|
+
`));
|
|
53
|
+
}
|
|
54
|
+
t[s] = {};
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
Object.keys(e.components).forEach((t) => {
|
|
59
|
+
const i = e.components[t].styleOverrides;
|
|
60
|
+
i && t.startsWith("Mui") && r(i, t);
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
return e.unstable_sxConfig = {
|
|
64
|
+
...C,
|
|
65
|
+
...p?.unstable_sxConfig
|
|
66
|
+
}, e.unstable_sx = function(r) {
|
|
67
|
+
return T({
|
|
68
|
+
sx: r,
|
|
69
|
+
theme: this
|
|
70
|
+
});
|
|
71
|
+
}, e.toRuntimeSource = O, e;
|
|
72
|
+
}
|
|
73
|
+
export {
|
|
74
|
+
B as default
|
|
75
|
+
};
|