@max-ts/components 0.2.4 → 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/index.d.ts +1 -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/styles.mjs +15 -5
- package/lib/components/DataGrid/Cell/styles.mjs +15 -5
- package/lib/components/DataGrid/Head/styles.mjs +20 -10
- package/lib/components/DataGrid/HeadCell/styles.d.ts +2 -2
- package/lib/components/DataGrid/HeadCell/styles.mjs +18 -8
- package/lib/components/DataGrid/Row/styles.mjs +19 -9
- package/lib/components/DataGrid/styles.mjs +20 -10
- package/lib/components/DataGridActionCell/styles.mjs +13 -3
- package/lib/components/DataGridOld/Cell/styles.d.ts +1 -1
- package/lib/components/DataGridOld/HeadCell/styles.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/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 -200
- 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/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
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { unstable_createGetCssVar as R, createSpacing as U } from "@mui/system";
|
|
2
|
+
import W from "./createThemeNoVars.mjs";
|
|
3
|
+
import j, { getOverlays as z, getOpacity as q } from "./createColorScheme.mjs";
|
|
4
|
+
import J from "./shouldSkipGeneratingVar.mjs";
|
|
5
|
+
import K from "./createGetSelector.mjs";
|
|
6
|
+
import { stringifyTheme as Q } from "./stringifyTheme.mjs";
|
|
7
|
+
import X from "../../../../../@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.mjs";
|
|
8
|
+
import Y 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/cssVars/prepareTypographyVars.mjs";
|
|
9
|
+
import { private_safeDarken as n, private_safeLighten as o, private_safeEmphasize as A, private_safeAlpha as w, private_safeColorChannel as b, hslToRgb as Z } 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";
|
|
10
|
+
import ee 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 re 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/cssVars/prepareCssVars.mjs";
|
|
12
|
+
import { createGetColorSchemeSelector as te } 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/cssVars/getColorSchemeSelector.mjs";
|
|
13
|
+
import ae 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";
|
|
14
|
+
import ne 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";
|
|
15
|
+
import { createUnarySpacing as oe } 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/spacing/spacing.mjs";
|
|
16
|
+
function ie(a, i) {
|
|
17
|
+
i.forEach((c) => {
|
|
18
|
+
a[c] || (a[c] = {});
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
function r(a, i, c) {
|
|
22
|
+
!a[i] && c && (a[i] = c);
|
|
23
|
+
}
|
|
24
|
+
function y(a) {
|
|
25
|
+
return typeof a != "string" || !a.startsWith("hsl") ? a : Z(a);
|
|
26
|
+
}
|
|
27
|
+
function p(a, i) {
|
|
28
|
+
`${i}Channel` in a || (a[`${i}Channel`] = b(y(a[i]), `MUI: Can't create \`palette.${i}Channel\` because \`palette.${i}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
29
|
+
To suppress this warning, you need to explicitly provide the \`palette.${i}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
|
|
30
|
+
}
|
|
31
|
+
function le(a) {
|
|
32
|
+
return typeof a == "number" ? `${a}px` : typeof a == "string" || typeof a == "function" || Array.isArray(a) ? a : "8px";
|
|
33
|
+
}
|
|
34
|
+
const d = (a) => {
|
|
35
|
+
try {
|
|
36
|
+
return a();
|
|
37
|
+
} catch {
|
|
38
|
+
}
|
|
39
|
+
}, se = (a = "mui") => R(a);
|
|
40
|
+
function v(a, i, c, C) {
|
|
41
|
+
if (!i)
|
|
42
|
+
return;
|
|
43
|
+
i = i === !0 ? {} : i;
|
|
44
|
+
const u = C === "dark" ? "dark" : "light";
|
|
45
|
+
if (!c) {
|
|
46
|
+
a[C] = j({
|
|
47
|
+
...i,
|
|
48
|
+
palette: {
|
|
49
|
+
mode: u,
|
|
50
|
+
...i?.palette
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
const {
|
|
56
|
+
palette: S,
|
|
57
|
+
...k
|
|
58
|
+
} = W({
|
|
59
|
+
...c,
|
|
60
|
+
palette: {
|
|
61
|
+
mode: u,
|
|
62
|
+
...i?.palette
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
return a[C] = {
|
|
66
|
+
...i,
|
|
67
|
+
palette: S,
|
|
68
|
+
opacity: {
|
|
69
|
+
...q(u),
|
|
70
|
+
...i?.opacity
|
|
71
|
+
},
|
|
72
|
+
overlays: i?.overlays || z(u)
|
|
73
|
+
}, k;
|
|
74
|
+
}
|
|
75
|
+
function we(a = {}, ...i) {
|
|
76
|
+
const {
|
|
77
|
+
colorSchemes: c = {
|
|
78
|
+
light: !0
|
|
79
|
+
},
|
|
80
|
+
defaultColorScheme: C,
|
|
81
|
+
disableCssColorScheme: u = !1,
|
|
82
|
+
cssVarPrefix: S = "mui",
|
|
83
|
+
shouldSkipGeneratingVar: k = J,
|
|
84
|
+
colorSchemeSelector: F = c.light && c.dark ? "media" : void 0,
|
|
85
|
+
rootSelector: P = ":root",
|
|
86
|
+
...B
|
|
87
|
+
} = a, D = Object.keys(c)[0], f = C || (c.light && D !== "light" ? "light" : D), I = se(S), {
|
|
88
|
+
[f]: _,
|
|
89
|
+
light: V,
|
|
90
|
+
dark: L,
|
|
91
|
+
...$
|
|
92
|
+
} = c, h = {
|
|
93
|
+
...$
|
|
94
|
+
};
|
|
95
|
+
let T = _;
|
|
96
|
+
if ((f === "dark" && !("dark" in c) || f === "light" && !("light" in c)) && (T = !0), !T)
|
|
97
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${f}\` option is either missing or invalid.` : X(21, f));
|
|
98
|
+
const x = v(h, T, B, f);
|
|
99
|
+
V && !h.light && v(h, V, void 0, "light"), L && !h.dark && v(h, L, void 0, "dark");
|
|
100
|
+
let l = {
|
|
101
|
+
defaultColorScheme: f,
|
|
102
|
+
...x,
|
|
103
|
+
cssVarPrefix: S,
|
|
104
|
+
colorSchemeSelector: F,
|
|
105
|
+
rootSelector: P,
|
|
106
|
+
getCssVar: I,
|
|
107
|
+
colorSchemes: h,
|
|
108
|
+
font: {
|
|
109
|
+
...Y(x.typography),
|
|
110
|
+
...x.font
|
|
111
|
+
},
|
|
112
|
+
spacing: le(B.spacing)
|
|
113
|
+
};
|
|
114
|
+
Object.keys(l.colorSchemes).forEach((m) => {
|
|
115
|
+
const e = l.colorSchemes[m].palette, t = (s) => {
|
|
116
|
+
const g = s.split("-"), M = g[1], N = g[2];
|
|
117
|
+
return I(s, e[M][N]);
|
|
118
|
+
};
|
|
119
|
+
if (e.mode === "light" && (r(e.common, "background", "#fff"), r(e.common, "onBackground", "#000")), e.mode === "dark" && (r(e.common, "background", "#000"), r(e.common, "onBackground", "#fff")), ie(e, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), e.mode === "light") {
|
|
120
|
+
r(e.Alert, "errorColor", n(e.error.light, 0.6)), r(e.Alert, "infoColor", n(e.info.light, 0.6)), r(e.Alert, "successColor", n(e.success.light, 0.6)), r(e.Alert, "warningColor", n(e.warning.light, 0.6)), r(e.Alert, "errorFilledBg", t("palette-error-main")), r(e.Alert, "infoFilledBg", t("palette-info-main")), r(e.Alert, "successFilledBg", t("palette-success-main")), r(e.Alert, "warningFilledBg", t("palette-warning-main")), r(e.Alert, "errorFilledColor", d(() => e.getContrastText(e.error.main))), r(e.Alert, "infoFilledColor", d(() => e.getContrastText(e.info.main))), r(e.Alert, "successFilledColor", d(() => e.getContrastText(e.success.main))), r(e.Alert, "warningFilledColor", d(() => e.getContrastText(e.warning.main))), r(e.Alert, "errorStandardBg", o(e.error.light, 0.9)), r(e.Alert, "infoStandardBg", o(e.info.light, 0.9)), r(e.Alert, "successStandardBg", o(e.success.light, 0.9)), r(e.Alert, "warningStandardBg", o(e.warning.light, 0.9)), r(e.Alert, "errorIconColor", t("palette-error-main")), r(e.Alert, "infoIconColor", t("palette-info-main")), r(e.Alert, "successIconColor", t("palette-success-main")), r(e.Alert, "warningIconColor", t("palette-warning-main")), r(e.AppBar, "defaultBg", t("palette-grey-100")), r(e.Avatar, "defaultBg", t("palette-grey-400")), r(e.Button, "inheritContainedBg", t("palette-grey-300")), r(e.Button, "inheritContainedHoverBg", t("palette-grey-A100")), r(e.Chip, "defaultBorder", t("palette-grey-400")), r(e.Chip, "defaultAvatarColor", t("palette-grey-700")), r(e.Chip, "defaultIconColor", t("palette-grey-700")), r(e.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), r(e.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), r(e.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), r(e.LinearProgress, "primaryBg", o(e.primary.main, 0.62)), r(e.LinearProgress, "secondaryBg", o(e.secondary.main, 0.62)), r(e.LinearProgress, "errorBg", o(e.error.main, 0.62)), r(e.LinearProgress, "infoBg", o(e.info.main, 0.62)), r(e.LinearProgress, "successBg", o(e.success.main, 0.62)), r(e.LinearProgress, "warningBg", o(e.warning.main, 0.62)), r(e.Skeleton, "bg", `rgba(${t("palette-text-primaryChannel")} / 0.11)`), r(e.Slider, "primaryTrack", o(e.primary.main, 0.62)), r(e.Slider, "secondaryTrack", o(e.secondary.main, 0.62)), r(e.Slider, "errorTrack", o(e.error.main, 0.62)), r(e.Slider, "infoTrack", o(e.info.main, 0.62)), r(e.Slider, "successTrack", o(e.success.main, 0.62)), r(e.Slider, "warningTrack", o(e.warning.main, 0.62));
|
|
121
|
+
const s = A(e.background.default, 0.8);
|
|
122
|
+
r(e.SnackbarContent, "bg", s), r(e.SnackbarContent, "color", d(() => e.getContrastText(s))), r(e.SpeedDialAction, "fabHoverBg", A(e.background.paper, 0.15)), r(e.StepConnector, "border", t("palette-grey-400")), r(e.StepContent, "border", t("palette-grey-400")), r(e.Switch, "defaultColor", t("palette-common-white")), r(e.Switch, "defaultDisabledColor", t("palette-grey-100")), r(e.Switch, "primaryDisabledColor", o(e.primary.main, 0.62)), r(e.Switch, "secondaryDisabledColor", o(e.secondary.main, 0.62)), r(e.Switch, "errorDisabledColor", o(e.error.main, 0.62)), r(e.Switch, "infoDisabledColor", o(e.info.main, 0.62)), r(e.Switch, "successDisabledColor", o(e.success.main, 0.62)), r(e.Switch, "warningDisabledColor", o(e.warning.main, 0.62)), r(e.TableCell, "border", o(w(e.divider, 1), 0.88)), r(e.Tooltip, "bg", w(e.grey[700], 0.92));
|
|
123
|
+
}
|
|
124
|
+
if (e.mode === "dark") {
|
|
125
|
+
r(e.Alert, "errorColor", o(e.error.light, 0.6)), r(e.Alert, "infoColor", o(e.info.light, 0.6)), r(e.Alert, "successColor", o(e.success.light, 0.6)), r(e.Alert, "warningColor", o(e.warning.light, 0.6)), r(e.Alert, "errorFilledBg", t("palette-error-dark")), r(e.Alert, "infoFilledBg", t("palette-info-dark")), r(e.Alert, "successFilledBg", t("palette-success-dark")), r(e.Alert, "warningFilledBg", t("palette-warning-dark")), r(e.Alert, "errorFilledColor", d(() => e.getContrastText(e.error.dark))), r(e.Alert, "infoFilledColor", d(() => e.getContrastText(e.info.dark))), r(e.Alert, "successFilledColor", d(() => e.getContrastText(e.success.dark))), r(e.Alert, "warningFilledColor", d(() => e.getContrastText(e.warning.dark))), r(e.Alert, "errorStandardBg", n(e.error.light, 0.9)), r(e.Alert, "infoStandardBg", n(e.info.light, 0.9)), r(e.Alert, "successStandardBg", n(e.success.light, 0.9)), r(e.Alert, "warningStandardBg", n(e.warning.light, 0.9)), r(e.Alert, "errorIconColor", t("palette-error-main")), r(e.Alert, "infoIconColor", t("palette-info-main")), r(e.Alert, "successIconColor", t("palette-success-main")), r(e.Alert, "warningIconColor", t("palette-warning-main")), r(e.AppBar, "defaultBg", t("palette-grey-900")), r(e.AppBar, "darkBg", t("palette-background-paper")), r(e.AppBar, "darkColor", t("palette-text-primary")), r(e.Avatar, "defaultBg", t("palette-grey-600")), r(e.Button, "inheritContainedBg", t("palette-grey-800")), r(e.Button, "inheritContainedHoverBg", t("palette-grey-700")), r(e.Chip, "defaultBorder", t("palette-grey-700")), r(e.Chip, "defaultAvatarColor", t("palette-grey-300")), r(e.Chip, "defaultIconColor", t("palette-grey-300")), r(e.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), r(e.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), r(e.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), r(e.LinearProgress, "primaryBg", n(e.primary.main, 0.5)), r(e.LinearProgress, "secondaryBg", n(e.secondary.main, 0.5)), r(e.LinearProgress, "errorBg", n(e.error.main, 0.5)), r(e.LinearProgress, "infoBg", n(e.info.main, 0.5)), r(e.LinearProgress, "successBg", n(e.success.main, 0.5)), r(e.LinearProgress, "warningBg", n(e.warning.main, 0.5)), r(e.Skeleton, "bg", `rgba(${t("palette-text-primaryChannel")} / 0.13)`), r(e.Slider, "primaryTrack", n(e.primary.main, 0.5)), r(e.Slider, "secondaryTrack", n(e.secondary.main, 0.5)), r(e.Slider, "errorTrack", n(e.error.main, 0.5)), r(e.Slider, "infoTrack", n(e.info.main, 0.5)), r(e.Slider, "successTrack", n(e.success.main, 0.5)), r(e.Slider, "warningTrack", n(e.warning.main, 0.5));
|
|
126
|
+
const s = A(e.background.default, 0.98);
|
|
127
|
+
r(e.SnackbarContent, "bg", s), r(e.SnackbarContent, "color", d(() => e.getContrastText(s))), r(e.SpeedDialAction, "fabHoverBg", A(e.background.paper, 0.15)), r(e.StepConnector, "border", t("palette-grey-600")), r(e.StepContent, "border", t("palette-grey-600")), r(e.Switch, "defaultColor", t("palette-grey-300")), r(e.Switch, "defaultDisabledColor", t("palette-grey-600")), r(e.Switch, "primaryDisabledColor", n(e.primary.main, 0.55)), r(e.Switch, "secondaryDisabledColor", n(e.secondary.main, 0.55)), r(e.Switch, "errorDisabledColor", n(e.error.main, 0.55)), r(e.Switch, "infoDisabledColor", n(e.info.main, 0.55)), r(e.Switch, "successDisabledColor", n(e.success.main, 0.55)), r(e.Switch, "warningDisabledColor", n(e.warning.main, 0.55)), r(e.TableCell, "border", n(w(e.divider, 1), 0.68)), r(e.Tooltip, "bg", w(e.grey[700], 0.92));
|
|
128
|
+
}
|
|
129
|
+
p(e.background, "default"), p(e.background, "paper"), p(e.common, "background"), p(e.common, "onBackground"), p(e, "divider"), Object.keys(e).forEach((s) => {
|
|
130
|
+
const g = e[s];
|
|
131
|
+
s !== "tonalOffset" && g && typeof g == "object" && (g.main && r(e[s], "mainChannel", b(y(g.main))), g.light && r(e[s], "lightChannel", b(y(g.light))), g.dark && r(e[s], "darkChannel", b(y(g.dark))), g.contrastText && r(e[s], "contrastTextChannel", b(y(g.contrastText))), s === "text" && (p(e[s], "primary"), p(e[s], "secondary")), s === "action" && (g.active && p(e[s], "active"), g.selected && p(e[s], "selected")));
|
|
132
|
+
});
|
|
133
|
+
}), l = i.reduce((m, e) => ee(m, e), l);
|
|
134
|
+
const E = {
|
|
135
|
+
prefix: S,
|
|
136
|
+
disableCssColorScheme: u,
|
|
137
|
+
shouldSkipGeneratingVar: k,
|
|
138
|
+
getSelector: K(l)
|
|
139
|
+
}, {
|
|
140
|
+
vars: G,
|
|
141
|
+
generateThemeVars: O,
|
|
142
|
+
generateStyleSheets: H
|
|
143
|
+
} = re(l, E);
|
|
144
|
+
return l.vars = G, Object.entries(l.colorSchemes[l.defaultColorScheme]).forEach(([m, e]) => {
|
|
145
|
+
l[m] = e;
|
|
146
|
+
}), l.generateThemeVars = O, l.generateStyleSheets = H, l.generateSpacing = function() {
|
|
147
|
+
return U(B.spacing, oe(this));
|
|
148
|
+
}, l.getColorSchemeSelector = te(F), l.spacing = l.generateSpacing(), l.shouldSkipGeneratingVar = k, l.unstable_sxConfig = {
|
|
149
|
+
...ae,
|
|
150
|
+
...B?.unstable_sxConfig
|
|
151
|
+
}, l.unstable_sx = function(e) {
|
|
152
|
+
return ne({
|
|
153
|
+
sx: e,
|
|
154
|
+
theme: this
|
|
155
|
+
});
|
|
156
|
+
}, l.toRuntimeSource = Q, l;
|
|
157
|
+
}
|
|
158
|
+
export {
|
|
159
|
+
se as createGetCssVar,
|
|
160
|
+
we as default
|
|
161
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
const d = {
|
|
2
|
+
// This is the most common easing curve.
|
|
3
|
+
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
4
|
+
// Objects enter the screen at full velocity from off-screen and
|
|
5
|
+
// slowly decelerate to a resting point.
|
|
6
|
+
easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
|
|
7
|
+
// Objects leave the screen at full velocity. They do not decelerate when off-screen.
|
|
8
|
+
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
9
|
+
// The sharp curve is used by objects that may return to the screen at any time.
|
|
10
|
+
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
11
|
+
}, f = {
|
|
12
|
+
shortest: 150,
|
|
13
|
+
shorter: 200,
|
|
14
|
+
short: 250,
|
|
15
|
+
// most basic recommended timing
|
|
16
|
+
standard: 300,
|
|
17
|
+
// this is to be used in complex animations
|
|
18
|
+
complex: 375,
|
|
19
|
+
// recommended when something is entering screen
|
|
20
|
+
enteringScreen: 225,
|
|
21
|
+
// recommended when something is leaving screen
|
|
22
|
+
leavingScreen: 195
|
|
23
|
+
};
|
|
24
|
+
function m(e) {
|
|
25
|
+
return `${Math.round(e)}ms`;
|
|
26
|
+
}
|
|
27
|
+
function l(e) {
|
|
28
|
+
if (!e)
|
|
29
|
+
return 0;
|
|
30
|
+
const n = e / 36;
|
|
31
|
+
return Math.min(Math.round((4 + 15 * n ** 0.25 + n / 5) * 10), 3e3);
|
|
32
|
+
}
|
|
33
|
+
function p(e) {
|
|
34
|
+
const n = {
|
|
35
|
+
...d,
|
|
36
|
+
...e.easing
|
|
37
|
+
}, i = {
|
|
38
|
+
...f,
|
|
39
|
+
...e.duration
|
|
40
|
+
};
|
|
41
|
+
return {
|
|
42
|
+
getAutoHeightDuration: l,
|
|
43
|
+
create: (o = ["all"], u = {}) => {
|
|
44
|
+
const {
|
|
45
|
+
duration: r = i.standard,
|
|
46
|
+
easing: c = n.easeInOut,
|
|
47
|
+
delay: a = 0,
|
|
48
|
+
...g
|
|
49
|
+
} = u;
|
|
50
|
+
if (process.env.NODE_ENV !== "production") {
|
|
51
|
+
const t = (s) => typeof s == "string", b = (s) => !Number.isNaN(parseFloat(s));
|
|
52
|
+
!t(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !b(r) && !t(r) && console.error(`MUI: Argument "duration" must be a number or a string but found ${r}.`), t(c) || console.error('MUI: Argument "easing" must be a string.'), !b(a) && !t(a) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof u != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
53
|
+
`)), Object.keys(g).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(g).join(",")}].`);
|
|
54
|
+
}
|
|
55
|
+
return (Array.isArray(o) ? o : [o]).map((t) => `${t} ${typeof r == "string" ? r : m(r)} ${c} ${typeof a == "string" ? a : m(a)}`).join(",");
|
|
56
|
+
},
|
|
57
|
+
...e,
|
|
58
|
+
easing: n,
|
|
59
|
+
duration: i
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
export {
|
|
63
|
+
p as default,
|
|
64
|
+
f as duration,
|
|
65
|
+
d as easing
|
|
66
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import R from "../../../../../@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/deepmerge/deepmerge.mjs";
|
|
2
|
+
function T(n) {
|
|
3
|
+
return Math.round(n * 1e5) / 1e5;
|
|
4
|
+
}
|
|
5
|
+
const h = {
|
|
6
|
+
textTransform: "uppercase"
|
|
7
|
+
}, m = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
8
|
+
function v(n, i) {
|
|
9
|
+
const {
|
|
10
|
+
fontFamily: r = m,
|
|
11
|
+
// The default font size of the Material Specification.
|
|
12
|
+
fontSize: a = 14,
|
|
13
|
+
// px
|
|
14
|
+
fontWeightLight: f = 300,
|
|
15
|
+
fontWeightRegular: t = 400,
|
|
16
|
+
fontWeightMedium: o = 500,
|
|
17
|
+
fontWeightBold: p = 700,
|
|
18
|
+
// Tell MUI what's the font-size on the html element.
|
|
19
|
+
// 16px is the default font-size used by browsers.
|
|
20
|
+
htmlFontSize: l = 16,
|
|
21
|
+
// Apply the CSS properties to all the variants.
|
|
22
|
+
allVariants: b,
|
|
23
|
+
pxToRem: d,
|
|
24
|
+
...g
|
|
25
|
+
} = typeof i == "function" ? i(n) : i;
|
|
26
|
+
process.env.NODE_ENV !== "production" && (typeof a != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof l != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
27
|
+
const S = a / 14, c = d || ((s) => `${s / l * S}rem`), e = (s, u, F, x, z) => ({
|
|
28
|
+
fontFamily: r,
|
|
29
|
+
fontWeight: s,
|
|
30
|
+
fontSize: c(u),
|
|
31
|
+
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
32
|
+
lineHeight: F,
|
|
33
|
+
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
34
|
+
// across font-families can cause issues with the kerning.
|
|
35
|
+
...r === m ? {
|
|
36
|
+
letterSpacing: `${T(x / u)}em`
|
|
37
|
+
} : {},
|
|
38
|
+
...z,
|
|
39
|
+
...b
|
|
40
|
+
}), y = {
|
|
41
|
+
h1: e(f, 96, 1.167, -1.5),
|
|
42
|
+
h2: e(f, 60, 1.2, -0.5),
|
|
43
|
+
h3: e(t, 48, 1.167, 0),
|
|
44
|
+
h4: e(t, 34, 1.235, 0.25),
|
|
45
|
+
h5: e(t, 24, 1.334, 0),
|
|
46
|
+
h6: e(o, 20, 1.6, 0.15),
|
|
47
|
+
subtitle1: e(t, 16, 1.75, 0.15),
|
|
48
|
+
subtitle2: e(o, 14, 1.57, 0.1),
|
|
49
|
+
body1: e(t, 16, 1.5, 0.15),
|
|
50
|
+
body2: e(t, 14, 1.43, 0.15),
|
|
51
|
+
button: e(o, 14, 1.75, 0.4, h),
|
|
52
|
+
caption: e(t, 12, 1.66, 0.4),
|
|
53
|
+
overline: e(t, 12, 2.66, 1, h),
|
|
54
|
+
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
55
|
+
inherit: {
|
|
56
|
+
fontFamily: "inherit",
|
|
57
|
+
fontWeight: "inherit",
|
|
58
|
+
fontSize: "inherit",
|
|
59
|
+
lineHeight: "inherit",
|
|
60
|
+
letterSpacing: "inherit"
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
return R({
|
|
64
|
+
htmlFontSize: l,
|
|
65
|
+
pxToRem: c,
|
|
66
|
+
fontFamily: r,
|
|
67
|
+
fontSize: a,
|
|
68
|
+
fontWeightLight: f,
|
|
69
|
+
fontWeightRegular: t,
|
|
70
|
+
fontWeightMedium: o,
|
|
71
|
+
fontWeightBold: p,
|
|
72
|
+
...y
|
|
73
|
+
}, g, {
|
|
74
|
+
clone: !1
|
|
75
|
+
// No need to clone deep
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
export {
|
|
79
|
+
v as default
|
|
80
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
function a(...o) {
|
|
2
|
+
return [`${o[0]}px ${o[1]}px ${o[2]}px ${o[3]}px rgba(0,0,0,${0.2})`, `${o[4]}px ${o[5]}px ${o[6]}px ${o[7]}px rgba(0,0,0,${0.14})`, `${o[8]}px ${o[9]}px ${o[10]}px ${o[11]}px rgba(0,0,0,${0.12})`].join(",");
|
|
3
|
+
}
|
|
4
|
+
const t = ["none", a(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), a(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), a(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), a(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), a(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), a(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), a(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), a(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), a(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), a(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), a(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), a(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), a(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), a(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), a(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), a(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), a(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), a(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), a(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), a(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), a(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), a(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), a(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), a(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
|
|
5
|
+
export {
|
|
6
|
+
t as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
function o(t) {
|
|
2
|
+
return !!t[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!t[0].match(/sxConfig$/) || // ends with sxConfig
|
|
3
|
+
t[0] === "palette" && !!t[1]?.match(/(mode|contrastThreshold|tonalOffset)/);
|
|
4
|
+
}
|
|
5
|
+
export {
|
|
6
|
+
o as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { isPlainObject as f } from "../../../../../@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/deepmerge/deepmerge.mjs";
|
|
2
|
+
function m(e) {
|
|
3
|
+
return f(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
4
|
+
}
|
|
5
|
+
function p(e = {}) {
|
|
6
|
+
const s = {
|
|
7
|
+
...e
|
|
8
|
+
};
|
|
9
|
+
function a(t) {
|
|
10
|
+
const o = Object.entries(t);
|
|
11
|
+
for (let r = 0; r < o.length; r++) {
|
|
12
|
+
const [i, n] = o[r];
|
|
13
|
+
!m(n) || i.startsWith("unstable_") ? delete t[i] : f(n) && (t[i] = {
|
|
14
|
+
...n
|
|
15
|
+
}, a(t[i]));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return a(s), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
19
|
+
|
|
20
|
+
const theme = ${JSON.stringify(s, null, 2)};
|
|
21
|
+
|
|
22
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
23
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
24
|
+
|
|
25
|
+
export default theme;`;
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
p as stringifyTheme
|
|
29
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import o from "./defaultTheme.mjs";
|
|
2
|
+
import r from "./identifier.mjs";
|
|
3
|
+
import t from "./rootShouldForwardProp.mjs";
|
|
4
|
+
import e 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/createStyled/createStyled.mjs";
|
|
5
|
+
const a = e({
|
|
6
|
+
themeId: r,
|
|
7
|
+
defaultTheme: o,
|
|
8
|
+
rootShouldForwardProp: t
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
a as default,
|
|
12
|
+
t as rootShouldForwardProp
|
|
13
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
import { useTheme as m } from "@mui/system";
|
|
3
|
+
import r from "./defaultTheme.mjs";
|
|
4
|
+
import t from "./identifier.mjs";
|
|
5
|
+
function a() {
|
|
6
|
+
const e = m(r);
|
|
7
|
+
return process.env.NODE_ENV !== "production" && o.useDebugValue(e), e[t] || e;
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
a as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import l from "@emotion/styled";
|
|
2
|
+
import { serializeStyles as m } from "../../../../@emotion_serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.esm.mjs";
|
|
3
|
+
import { ThemeContext as _, css as S, keyframes as h } from "@emotion/react";
|
|
4
|
+
/**
|
|
5
|
+
* @mui/styled-engine v6.4.3
|
|
6
|
+
*
|
|
7
|
+
* @license MIT
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/
|
|
11
|
+
function a(e, t) {
|
|
12
|
+
const r = l(e, t);
|
|
13
|
+
return process.env.NODE_ENV !== "production" ? (...o) => {
|
|
14
|
+
const s = typeof e == "string" ? `"${e}"` : "component";
|
|
15
|
+
return o.length === 0 ? console.error([`MUI: Seems like you called \`styled(${s})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
16
|
+
`)) : o.some((i) => i === void 0) && console.error(`MUI: the styled(${s})(...args) API requires all its args to be defined.`), r(...o);
|
|
17
|
+
} : r;
|
|
18
|
+
}
|
|
19
|
+
function c(e, t) {
|
|
20
|
+
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
|
|
21
|
+
}
|
|
22
|
+
const n = [];
|
|
23
|
+
function f(e) {
|
|
24
|
+
return n[0] = e, m(n);
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
_ as ThemeContext,
|
|
28
|
+
S as css,
|
|
29
|
+
a as default,
|
|
30
|
+
c as internal_mutateStyles,
|
|
31
|
+
f as internal_serializeStyles,
|
|
32
|
+
h as keyframes
|
|
33
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { createUnaryUnit as i, getValue as b } from "../spacing/spacing.mjs";
|
|
2
|
+
import l from "../responsivePropType/responsivePropType.mjs";
|
|
3
|
+
import u from "../compose/compose.mjs";
|
|
4
|
+
import c from "../style/style.mjs";
|
|
5
|
+
import { handleBreakpoints as m } from "../breakpoints/breakpoints.mjs";
|
|
6
|
+
function e(r) {
|
|
7
|
+
return typeof r != "number" ? r : `${r}px solid`;
|
|
8
|
+
}
|
|
9
|
+
function o(r, t) {
|
|
10
|
+
return c({
|
|
11
|
+
prop: r,
|
|
12
|
+
themeKey: "borders",
|
|
13
|
+
transform: t
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
const f = o("border", e), a = o("borderTop", e), p = o("borderRight", e), R = o("borderBottom", e), C = o("borderLeft", e), h = o("borderColor"), y = o("borderTopColor"), T = o("borderRightColor"), B = o("borderBottomColor"), g = o("borderLeftColor"), L = o("outline", e), P = o("outlineColor"), d = (r) => {
|
|
17
|
+
if (r.borderRadius !== void 0 && r.borderRadius !== null) {
|
|
18
|
+
const t = i(r.theme, "shape.borderRadius", 4, "borderRadius"), n = (s) => ({
|
|
19
|
+
borderRadius: b(t, s)
|
|
20
|
+
});
|
|
21
|
+
return m(r, r.borderRadius, n);
|
|
22
|
+
}
|
|
23
|
+
return null;
|
|
24
|
+
};
|
|
25
|
+
d.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
26
|
+
borderRadius: l
|
|
27
|
+
} : {};
|
|
28
|
+
d.filterProps = ["borderRadius"];
|
|
29
|
+
u(f, a, p, R, C, h, y, T, B, g, d, L, P);
|
|
30
|
+
export {
|
|
31
|
+
f as border,
|
|
32
|
+
R as borderBottom,
|
|
33
|
+
B as borderBottomColor,
|
|
34
|
+
h as borderColor,
|
|
35
|
+
C as borderLeft,
|
|
36
|
+
g as borderLeftColor,
|
|
37
|
+
d as borderRadius,
|
|
38
|
+
p as borderRight,
|
|
39
|
+
T as borderRightColor,
|
|
40
|
+
a as borderTop,
|
|
41
|
+
y as borderTopColor,
|
|
42
|
+
e as borderTransform,
|
|
43
|
+
L as outline,
|
|
44
|
+
P as outlineColor
|
|
45
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { isCqShorthand as m, getContainerQuery as y } from "../cssContainerQueries/cssContainerQueries.mjs";
|
|
2
|
+
const c = {
|
|
3
|
+
xs: 0,
|
|
4
|
+
// phone
|
|
5
|
+
sm: 600,
|
|
6
|
+
// tablet
|
|
7
|
+
md: 900,
|
|
8
|
+
// small laptop
|
|
9
|
+
lg: 1200,
|
|
10
|
+
// desktop
|
|
11
|
+
xl: 1536
|
|
12
|
+
// large screen
|
|
13
|
+
}, f = {
|
|
14
|
+
// Sorted ASC by size. That's important.
|
|
15
|
+
// It can't be configured as it's used statically for propTypes.
|
|
16
|
+
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
17
|
+
up: (n) => `@media (min-width:${c[n]}px)`
|
|
18
|
+
}, h = {
|
|
19
|
+
containerQueries: (n) => ({
|
|
20
|
+
up: (e) => {
|
|
21
|
+
let t = typeof e == "number" ? e : c[e] || e;
|
|
22
|
+
return typeof t == "number" && (t = `${t}px`), n ? `@container ${n} (min-width:${t})` : `@container (min-width:${t})`;
|
|
23
|
+
}
|
|
24
|
+
})
|
|
25
|
+
};
|
|
26
|
+
function B(n, e, t) {
|
|
27
|
+
const i = n.theme || {};
|
|
28
|
+
if (Array.isArray(e)) {
|
|
29
|
+
const u = i.breakpoints || f;
|
|
30
|
+
return e.reduce((o, s, r) => (o[u.up(u.keys[r])] = t(e[r]), o), {});
|
|
31
|
+
}
|
|
32
|
+
if (typeof e == "object") {
|
|
33
|
+
const u = i.breakpoints || f;
|
|
34
|
+
return Object.keys(e).reduce((o, s) => {
|
|
35
|
+
if (m(u.keys, s)) {
|
|
36
|
+
const r = y(i.containerQueries ? i : h, s);
|
|
37
|
+
r && (o[r] = t(e[s], s));
|
|
38
|
+
} else if (Object.keys(u.values || c).includes(s)) {
|
|
39
|
+
const r = u.up(s);
|
|
40
|
+
o[r] = t(e[s], s);
|
|
41
|
+
} else {
|
|
42
|
+
const r = s;
|
|
43
|
+
o[r] = e[r];
|
|
44
|
+
}
|
|
45
|
+
return o;
|
|
46
|
+
}, {});
|
|
47
|
+
}
|
|
48
|
+
return t(e);
|
|
49
|
+
}
|
|
50
|
+
function O(n = {}) {
|
|
51
|
+
return n.keys?.reduce((t, i) => {
|
|
52
|
+
const d = n.up(i);
|
|
53
|
+
return t[d] = {}, t;
|
|
54
|
+
}, {}) || {};
|
|
55
|
+
}
|
|
56
|
+
function x(n, e) {
|
|
57
|
+
return n.reduce((t, i) => {
|
|
58
|
+
const d = t[i];
|
|
59
|
+
return (!d || Object.keys(d).length === 0) && delete t[i], t;
|
|
60
|
+
}, e);
|
|
61
|
+
}
|
|
62
|
+
export {
|
|
63
|
+
O as createEmptyBreakpointObject,
|
|
64
|
+
B as handleBreakpoints,
|
|
65
|
+
x as removeUnusedBreakpoints,
|
|
66
|
+
c as values
|
|
67
|
+
};
|