@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,7 @@
|
|
|
1
|
+
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.mjs";
|
|
2
|
+
import { __require as o } from "../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.mjs";
|
|
3
|
+
var p = /* @__PURE__ */ o();
|
|
4
|
+
const s = /* @__PURE__ */ r(p);
|
|
5
|
+
export {
|
|
6
|
+
s as default
|
|
7
|
+
};
|
|
@@ -5,8 +5,8 @@ export declare const ContentWrapper: import('@emotion/styled').StyledComponent<i
|
|
|
5
5
|
withStartAdorment: boolean;
|
|
6
6
|
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
7
|
export declare const Summary: import('@emotion/styled').StyledComponent<{
|
|
8
|
-
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
9
8
|
children?: import('react').ReactNode;
|
|
9
|
+
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
10
10
|
align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
|
|
11
11
|
gutterBottom?: boolean | undefined;
|
|
12
12
|
noWrap?: boolean | undefined;
|
|
@@ -15,7 +15,7 @@ export declare const Summary: import('@emotion/styled').StyledComponent<{
|
|
|
15
15
|
color?: import('../Typography').TypographyColor;
|
|
16
16
|
variant?: import('../Typography').TypographyVariant;
|
|
17
17
|
colorIntensity?: import('../Typography').Intensity;
|
|
18
|
-
component?: "symbol" | "object" | "
|
|
18
|
+
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "mask" | "marker" | "style" | "div" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | import('react').ComponentType<any>;
|
|
19
19
|
isUpperCase?: boolean;
|
|
20
20
|
} & import('react').HTMLAttributes<HTMLParagraphElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
21
21
|
export declare const ChevronWrapper: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,25 +1,35 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import "@mui/material";
|
|
2
|
+
import "remeda";
|
|
3
|
+
import "../../_virtual/jsx-runtime.mjs";
|
|
4
|
+
import "clsx";
|
|
5
|
+
import "../Button/styles.mjs";
|
|
6
|
+
import "react";
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
import { Typography as i } from "../Typography/Typography.mjs";
|
|
12
|
+
import p from "../../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
|
+
const x = p("header")`
|
|
4
14
|
cursor: pointer;
|
|
5
15
|
|
|
6
16
|
display: grid;
|
|
7
17
|
grid-column-gap: ${({ theme: r }) => r.spacing(2)};
|
|
8
18
|
grid-template-columns: ${({ withStartAdornment: r }) => r ? "24px 1fr 24px" : " 1fr 24px"};
|
|
9
|
-
`,
|
|
10
|
-
margin-left: ${({ theme: r, withStartAdorment:
|
|
19
|
+
`, y = p("div")`
|
|
20
|
+
margin-left: ${({ theme: r, withStartAdorment: o }) => r.spacing(o ? 8 : 0)};
|
|
11
21
|
padding-top: ${({ theme: r }) => r.spacing(2)};
|
|
12
|
-
`,
|
|
22
|
+
`, u = p(i)`
|
|
13
23
|
align-self: center;
|
|
14
|
-
`,
|
|
24
|
+
`, v = p("div")`
|
|
15
25
|
overflow: hidden;
|
|
16
26
|
|
|
17
27
|
width: 24px;
|
|
18
28
|
height: 24px;
|
|
19
29
|
`;
|
|
20
30
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
31
|
+
v as ChevronWrapper,
|
|
32
|
+
y as ContentWrapper,
|
|
33
|
+
x as Header,
|
|
34
|
+
u as Summary
|
|
25
35
|
};
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { TooltipProps } from '
|
|
1
|
+
import { TooltipProps } from '../..';
|
|
2
2
|
import { ActionCellHandler, MainActionKind } from '../types';
|
|
3
3
|
type MainActionProps<T> = {
|
|
4
4
|
action: MainActionKind<T>;
|
|
5
5
|
onActionClick: ActionCellHandler<T>;
|
|
6
6
|
tooltipPlacement: TooltipProps['placement'];
|
|
7
|
-
/**
|
|
8
|
-
* Если true, action не доступен
|
|
9
|
-
*/
|
|
10
7
|
isDisabled?: boolean;
|
|
11
8
|
};
|
|
12
9
|
export declare const MainAction: <T>({ action, onActionClick, tooltipPlacement, isDisabled, }: MainActionProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,78 +1,144 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as t } from "../../../_virtual/jsx-runtime.mjs";
|
|
2
2
|
import { createElement as w } from "react";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
import "../../Accordion/Accordion.mjs";
|
|
4
|
+
import "lucide-react";
|
|
5
|
+
import { IconDropdownButton as B } from "../../IconDropdownButton/IconDropdownButton.mjs";
|
|
6
|
+
import { MenuItem as I } from "../../MenuItem/MenuItem.mjs";
|
|
7
|
+
import "../styles.mjs";
|
|
8
|
+
import "../../ActionGroup/MainActions/styles.mjs";
|
|
9
|
+
import "../../ActionGroup/styles.mjs";
|
|
10
|
+
import "@mui/material";
|
|
11
|
+
import "../../Checkbox/Checkbox.mjs";
|
|
12
|
+
import { Tooltip as s } from "../../Tooltip/Tooltip.mjs";
|
|
13
|
+
import "../../Typography/styles.mjs";
|
|
14
|
+
import "../../OverflowTypography/styles.mjs";
|
|
15
|
+
import "react-use";
|
|
16
|
+
import "../../Tag/Tag.mjs";
|
|
17
|
+
import "../../FormHelperText/FormHelperTextContent/styles.mjs";
|
|
18
|
+
import "../../Autocomplete/styles.mjs";
|
|
19
|
+
import "../../Badge/styles.mjs";
|
|
20
|
+
import { IconButton as g } from "../../IconButton/IconButton.mjs";
|
|
21
|
+
import "../../BottomDrawer/styles.mjs";
|
|
22
|
+
import "clsx";
|
|
23
|
+
import "../../Button/styles.mjs";
|
|
24
|
+
import "../../CheckboxField/styles.mjs";
|
|
25
|
+
import "../../Chevron/styles.mjs";
|
|
26
|
+
import "../../ConfigProvider/ConfigProvider.mjs";
|
|
27
|
+
import "../../ConfirmAction/styles.mjs";
|
|
28
|
+
import "../../Dialog/styles.mjs";
|
|
29
|
+
import "../../DialogActions/styles.mjs";
|
|
30
|
+
import "../../DialogContent/styles.mjs";
|
|
31
|
+
import "../../DialogContentText/styles.mjs";
|
|
32
|
+
import "../../ConfirmDialog/styles.mjs";
|
|
33
|
+
import "../../Container/styles.mjs";
|
|
34
|
+
import "../../ErrorBoundary/ErrorBoundary.mjs";
|
|
35
|
+
import "../../Placeholder/Image/Image.mjs";
|
|
36
|
+
import "../../Placeholder/styles.mjs";
|
|
37
|
+
import "../../ContentState/styles.mjs";
|
|
38
|
+
import "../../CopyTypography/styles.mjs";
|
|
39
|
+
import "../../DataGrid/Cell/styles.mjs";
|
|
40
|
+
import "../../DataGrid/Row/styles.mjs";
|
|
41
|
+
import "../../DataGrid/Body/styles.mjs";
|
|
42
|
+
import "../../DataGrid/HeadCell/styles.mjs";
|
|
43
|
+
import "../../DataGrid/Head/styles.mjs";
|
|
44
|
+
import "../../DataGrid/Loader/styles.mjs";
|
|
45
|
+
import "../../DataGrid/styles.mjs";
|
|
46
|
+
import "remeda";
|
|
47
|
+
import "../../DataGridActionCell/styles.mjs";
|
|
48
|
+
import "../../TagsList/Tag/styles.mjs";
|
|
49
|
+
import "../../TagsList/styles.mjs";
|
|
50
|
+
import "../../Select/styles.mjs";
|
|
51
|
+
import "../../DataGridPagination/styles.mjs";
|
|
52
|
+
import "../../Description/Description.mjs";
|
|
53
|
+
import "../../DescriptionList/styles.mjs";
|
|
54
|
+
import "../../DescriptionTooltip/styles.mjs";
|
|
55
|
+
import "../../DialogHeader/styles.mjs";
|
|
56
|
+
import "../../MenuList/styles.mjs";
|
|
57
|
+
import "../../Filename/Filename.mjs";
|
|
58
|
+
import "../../FormControlLabel/styles.mjs";
|
|
59
|
+
import "../../FormLabel/styles.mjs";
|
|
60
|
+
import "../../Link/Link.mjs";
|
|
61
|
+
import "../../ListItem/styles.mjs";
|
|
62
|
+
import "../../ListItemIcon/ListItemIcon.mjs";
|
|
63
|
+
import "../../NavMenu/Item/ItemButton/styles.mjs";
|
|
64
|
+
import "../../Radio/styles.mjs";
|
|
65
|
+
import "../../RadioField/styles.mjs";
|
|
66
|
+
import "../../RadioGroup/RadioGroupContext/RadioGroupContext.mjs";
|
|
67
|
+
import "../../SearchField/SearchField.mjs";
|
|
68
|
+
import "../../Skeleton/styles.mjs";
|
|
69
|
+
import "../../Slider/styles.mjs";
|
|
70
|
+
import "../../Switch/Switch.mjs";
|
|
71
|
+
import "../../Tab/styles.mjs";
|
|
72
|
+
import "../../Tabs/styles.mjs";
|
|
73
|
+
import "../../TagBadge/styles.mjs";
|
|
74
|
+
const Yo = ({
|
|
75
|
+
action: i,
|
|
76
|
+
onActionClick: m,
|
|
77
|
+
tooltipPlacement: r,
|
|
78
|
+
isDisabled: o
|
|
12
79
|
}) => {
|
|
13
|
-
if ("actions" in
|
|
14
|
-
const { icon: j, disabled:
|
|
15
|
-
return /* @__PURE__ */
|
|
16
|
-
|
|
80
|
+
if ("actions" in i) {
|
|
81
|
+
const { icon: j, disabled: e, disabledReason: b, name: a, actions: k } = i;
|
|
82
|
+
return /* @__PURE__ */ t.jsx(
|
|
83
|
+
s,
|
|
17
84
|
{
|
|
18
|
-
title: b ||
|
|
19
|
-
placement:
|
|
20
|
-
withoutContainer: !(
|
|
21
|
-
children: /* @__PURE__ */
|
|
22
|
-
|
|
85
|
+
title: b || a,
|
|
86
|
+
placement: r,
|
|
87
|
+
withoutContainer: !(o || e),
|
|
88
|
+
children: /* @__PURE__ */ t.jsx(
|
|
89
|
+
B,
|
|
23
90
|
{
|
|
24
91
|
icon: j,
|
|
25
92
|
variant: "text",
|
|
26
|
-
disabled:
|
|
93
|
+
disabled: o || e,
|
|
27
94
|
children: k.map(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
g,
|
|
95
|
+
({ name: c, onClick: C, ...R }) => /* @__PURE__ */ w(
|
|
96
|
+
I,
|
|
31
97
|
{
|
|
32
98
|
...R,
|
|
33
|
-
key:
|
|
34
|
-
tooltipPlacement:
|
|
35
|
-
onClick:
|
|
99
|
+
key: c,
|
|
100
|
+
tooltipPlacement: r,
|
|
101
|
+
onClick: m(C)
|
|
36
102
|
},
|
|
37
|
-
|
|
103
|
+
c
|
|
38
104
|
)
|
|
39
105
|
)
|
|
40
106
|
}
|
|
41
107
|
)
|
|
42
108
|
},
|
|
43
|
-
|
|
109
|
+
a
|
|
44
110
|
);
|
|
45
111
|
}
|
|
46
112
|
const {
|
|
47
|
-
onClick:
|
|
48
|
-
name:
|
|
49
|
-
icon:
|
|
113
|
+
onClick: d,
|
|
114
|
+
name: p,
|
|
115
|
+
icon: l,
|
|
50
116
|
disabledReason: x,
|
|
51
|
-
disabled:
|
|
117
|
+
disabled: n,
|
|
52
118
|
loading: u,
|
|
53
119
|
isBlockingOperation: v,
|
|
54
120
|
...f
|
|
55
|
-
} =
|
|
56
|
-
return /* @__PURE__ */
|
|
57
|
-
|
|
121
|
+
} = i, h = !u && (x || p);
|
|
122
|
+
return /* @__PURE__ */ t.jsx(
|
|
123
|
+
s,
|
|
58
124
|
{
|
|
59
125
|
title: h,
|
|
60
|
-
placement:
|
|
61
|
-
withoutContainer: !(
|
|
62
|
-
children: /* @__PURE__ */
|
|
63
|
-
|
|
126
|
+
placement: r,
|
|
127
|
+
withoutContainer: !(o || n),
|
|
128
|
+
children: /* @__PURE__ */ t.jsx(
|
|
129
|
+
g,
|
|
64
130
|
{
|
|
65
|
-
disabled:
|
|
131
|
+
disabled: o || n,
|
|
66
132
|
...f,
|
|
67
133
|
variant: "text",
|
|
68
|
-
onClick:
|
|
69
|
-
children:
|
|
134
|
+
onClick: m(d),
|
|
135
|
+
children: l
|
|
70
136
|
}
|
|
71
137
|
)
|
|
72
138
|
},
|
|
73
|
-
|
|
139
|
+
p
|
|
74
140
|
);
|
|
75
141
|
};
|
|
76
142
|
export {
|
|
77
|
-
|
|
143
|
+
Yo as MainAction
|
|
78
144
|
};
|
|
@@ -4,9 +4,6 @@ type SecondaryActionsProps<T> = {
|
|
|
4
4
|
actions: SecondaryActionKind<T>[];
|
|
5
5
|
onActionClick: ActionCellHandler<T>;
|
|
6
6
|
tooltipPlacement: TooltipProps['placement'];
|
|
7
|
-
/**
|
|
8
|
-
* Если true, action не доступен
|
|
9
|
-
*/
|
|
10
7
|
isDisabled?: boolean;
|
|
11
8
|
};
|
|
12
9
|
export declare const SecondaryActions: <T>({ actions, onActionClick, tooltipPlacement, isDisabled, }: SecondaryActionsProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import "@mui/material";
|
|
2
|
+
import "remeda";
|
|
3
|
+
import "../../_virtual/jsx-runtime.mjs";
|
|
4
|
+
import "clsx";
|
|
5
|
+
import "../Button/styles.mjs";
|
|
6
|
+
import "react";
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
import i from "../../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";
|
|
12
|
+
const c = i("div")`
|
|
3
13
|
display: inline-flex;
|
|
4
14
|
align-items: center;
|
|
5
15
|
`;
|
|
6
16
|
export {
|
|
7
|
-
|
|
17
|
+
c as Wrapper
|
|
8
18
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { MainAction } from './MainActions';
|
|
3
|
+
import { SecondaryAction } from './SecondaryActions';
|
|
4
|
+
import { SecondaryVisibleAction } from './SecondaryVisibleActions';
|
|
5
|
+
export type ActionGroupProps<TMainActionComponent extends ElementType = ElementType, TSecondaryActionComponent extends ElementType = ElementType> = {
|
|
6
|
+
/**
|
|
7
|
+
* Основные действия
|
|
8
|
+
*/
|
|
9
|
+
main?: MainAction<TMainActionComponent>[];
|
|
10
|
+
/**
|
|
11
|
+
* Второстепенные действия, спрятанные за троеточием
|
|
12
|
+
*/
|
|
13
|
+
secondary?: SecondaryAction<TSecondaryActionComponent>[];
|
|
14
|
+
/**
|
|
15
|
+
* Видимые второстепенные действия
|
|
16
|
+
*/
|
|
17
|
+
secondaryVisible?: SecondaryVisibleAction[];
|
|
18
|
+
/**
|
|
19
|
+
* Название класса, применяется к корневому компоненту
|
|
20
|
+
*/
|
|
21
|
+
className?: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const ActionGroup: <TMainActionComponent extends ElementType = ElementType, TSecondaryActionComponent extends ElementType = ElementType>(props: ActionGroupProps<TMainActionComponent, TSecondaryActionComponent>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { j as o } from "../../_virtual/jsx-runtime.mjs";
|
|
2
|
+
import { MainActions as a } from "./MainActions/MainActions.mjs";
|
|
3
|
+
import { SecondaryActions as e } from "./SecondaryActions/SecondaryActions.mjs";
|
|
4
|
+
import { SecondaryVisibleActions as m } from "./SecondaryVisibleActions/SecondaryVisibleActions.mjs";
|
|
5
|
+
import { Wrapper as d } from "./styles.mjs";
|
|
6
|
+
import { useLogic as p } from "./useLogic/useLogic.mjs";
|
|
7
|
+
const u = (i) => {
|
|
8
|
+
const { disabledAction: s } = p(i), { main: r, secondary: t, secondaryVisible: n, className: c } = i;
|
|
9
|
+
return /* @__PURE__ */ o.jsxs(d, { className: c, children: [
|
|
10
|
+
t && /* @__PURE__ */ o.jsx(e, { isDisabled: s, actions: t }),
|
|
11
|
+
n && /* @__PURE__ */ o.jsx(m, { actions: n }),
|
|
12
|
+
r && /* @__PURE__ */ o.jsx(a, { isDisabled: s, actions: r })
|
|
13
|
+
] });
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
u as ActionGroup
|
|
17
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { ButtonProps, DropdownButtonProps, MenuItemProps } from '../..';
|
|
3
|
+
type NestedAction = MenuItemProps & {
|
|
4
|
+
/** Название действия */
|
|
5
|
+
text: string;
|
|
6
|
+
};
|
|
7
|
+
type SingleAction<TMainActionComponent extends ElementType> = Omit<ButtonProps<TMainActionComponent>, 'children' | 'component'> & {
|
|
8
|
+
/**
|
|
9
|
+
* Флаг показа выпадающего списка при клике
|
|
10
|
+
*/
|
|
11
|
+
isNested?: false;
|
|
12
|
+
/**
|
|
13
|
+
* Название действия
|
|
14
|
+
*/
|
|
15
|
+
text: string;
|
|
16
|
+
/**
|
|
17
|
+
* Текст тултипа при заблокированном состоянии кнопки
|
|
18
|
+
*/
|
|
19
|
+
disabledReason?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Текст тултипа при наведении на кнопку
|
|
22
|
+
*/
|
|
23
|
+
note?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Если true, блокирует взаимодействие с actions
|
|
26
|
+
*/
|
|
27
|
+
isBlockingOperation?: boolean;
|
|
28
|
+
};
|
|
29
|
+
type MultipleAction<TMainActionComponent extends ElementType> = Omit<DropdownButtonProps<TMainActionComponent>, 'children' | 'name' | 'component'> & {
|
|
30
|
+
/**
|
|
31
|
+
* Флаг показа выпадающего списка при клике
|
|
32
|
+
*/
|
|
33
|
+
isNested: true;
|
|
34
|
+
/**
|
|
35
|
+
* Список действий для выпадающего списка
|
|
36
|
+
*/
|
|
37
|
+
actions: NestedAction[];
|
|
38
|
+
/**
|
|
39
|
+
* Название действия
|
|
40
|
+
*/
|
|
41
|
+
text: string;
|
|
42
|
+
/**
|
|
43
|
+
* Если true, блокирует взаимодействие с actions
|
|
44
|
+
*/
|
|
45
|
+
isBlockingOperation?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Текст тултипа при заблокированном состоянии кнопки
|
|
48
|
+
*/
|
|
49
|
+
disabledReason?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Текст тултипа при наведении на кнопку
|
|
52
|
+
*/
|
|
53
|
+
note?: string;
|
|
54
|
+
};
|
|
55
|
+
/** Модель основного экшена */
|
|
56
|
+
export type MainAction<TMainActionComponent extends ElementType> = SingleAction<TMainActionComponent> | MultipleAction<TMainActionComponent>;
|
|
57
|
+
export type MainActionsProps<TMainActionComponent extends ElementType> = {
|
|
58
|
+
actions: MainAction<TMainActionComponent>[];
|
|
59
|
+
/**
|
|
60
|
+
* Если true, основные действия будут заблокированы
|
|
61
|
+
*/
|
|
62
|
+
isDisabled?: boolean;
|
|
63
|
+
};
|
|
64
|
+
export declare const MainActions: <TMainActionComponent extends ElementType = ElementType>({ actions, isDisabled, }: MainActionsProps<TMainActionComponent>) => import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
export {};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { j as t } from "../../../_virtual/jsx-runtime.mjs";
|
|
2
|
+
import "../../Accordion/Accordion.mjs";
|
|
3
|
+
import "react";
|
|
4
|
+
import "lucide-react";
|
|
5
|
+
import "../../IconDropdownButton/IconDropdownButton.mjs";
|
|
6
|
+
import { MenuItem as f } from "../../MenuItem/MenuItem.mjs";
|
|
7
|
+
import "../../ActionCell/styles.mjs";
|
|
8
|
+
import { StyledDropdownButton as B, StyledButton as O } from "./styles.mjs";
|
|
9
|
+
import "../styles.mjs";
|
|
10
|
+
import "@mui/material";
|
|
11
|
+
import "../../Checkbox/Checkbox.mjs";
|
|
12
|
+
import { Tooltip as s } from "../../Tooltip/Tooltip.mjs";
|
|
13
|
+
import "../../Typography/styles.mjs";
|
|
14
|
+
import "../../OverflowTypography/styles.mjs";
|
|
15
|
+
import "react-use";
|
|
16
|
+
import "../../Tag/Tag.mjs";
|
|
17
|
+
import "../../FormHelperText/FormHelperTextContent/styles.mjs";
|
|
18
|
+
import "../../Autocomplete/styles.mjs";
|
|
19
|
+
import "../../Badge/styles.mjs";
|
|
20
|
+
import "clsx";
|
|
21
|
+
import "../../Button/styles.mjs";
|
|
22
|
+
import "../../IconButton/styles.mjs";
|
|
23
|
+
import "../../BottomDrawer/styles.mjs";
|
|
24
|
+
import "../../CheckboxField/styles.mjs";
|
|
25
|
+
import "../../Chevron/styles.mjs";
|
|
26
|
+
import "../../ConfigProvider/ConfigProvider.mjs";
|
|
27
|
+
import "../../ConfirmAction/styles.mjs";
|
|
28
|
+
import "../../Dialog/styles.mjs";
|
|
29
|
+
import "../../DialogActions/styles.mjs";
|
|
30
|
+
import "../../DialogContent/styles.mjs";
|
|
31
|
+
import "../../DialogContentText/styles.mjs";
|
|
32
|
+
import "../../ConfirmDialog/styles.mjs";
|
|
33
|
+
import "../../Container/styles.mjs";
|
|
34
|
+
import "../../ErrorBoundary/ErrorBoundary.mjs";
|
|
35
|
+
import "../../Placeholder/Image/Image.mjs";
|
|
36
|
+
import "../../Placeholder/styles.mjs";
|
|
37
|
+
import "../../ContentState/styles.mjs";
|
|
38
|
+
import "../../CopyTypography/styles.mjs";
|
|
39
|
+
import "../../DataGrid/Cell/styles.mjs";
|
|
40
|
+
import "../../DataGrid/Row/styles.mjs";
|
|
41
|
+
import "../../DataGrid/Body/styles.mjs";
|
|
42
|
+
import "../../DataGrid/HeadCell/styles.mjs";
|
|
43
|
+
import "../../DataGrid/Head/styles.mjs";
|
|
44
|
+
import "../../DataGrid/Loader/styles.mjs";
|
|
45
|
+
import "../../DataGrid/styles.mjs";
|
|
46
|
+
import "remeda";
|
|
47
|
+
import "../../DataGridActionCell/styles.mjs";
|
|
48
|
+
import "../../TagsList/Tag/styles.mjs";
|
|
49
|
+
import "../../TagsList/styles.mjs";
|
|
50
|
+
import "../../Select/styles.mjs";
|
|
51
|
+
import "../../DataGridPagination/styles.mjs";
|
|
52
|
+
import "../../Description/Description.mjs";
|
|
53
|
+
import "../../DescriptionList/styles.mjs";
|
|
54
|
+
import "../../DescriptionTooltip/styles.mjs";
|
|
55
|
+
import "../../DialogHeader/styles.mjs";
|
|
56
|
+
import "../../MenuList/styles.mjs";
|
|
57
|
+
import "../../Filename/Filename.mjs";
|
|
58
|
+
import "../../FormControlLabel/styles.mjs";
|
|
59
|
+
import "../../FormLabel/styles.mjs";
|
|
60
|
+
import "../../Link/Link.mjs";
|
|
61
|
+
import "../../ListItem/styles.mjs";
|
|
62
|
+
import "../../ListItemIcon/ListItemIcon.mjs";
|
|
63
|
+
import "../../NavMenu/Item/ItemButton/styles.mjs";
|
|
64
|
+
import "../../Radio/styles.mjs";
|
|
65
|
+
import "../../RadioField/styles.mjs";
|
|
66
|
+
import "../../RadioGroup/RadioGroupContext/RadioGroupContext.mjs";
|
|
67
|
+
import "../../SearchField/SearchField.mjs";
|
|
68
|
+
import "../../Skeleton/styles.mjs";
|
|
69
|
+
import "../../Slider/styles.mjs";
|
|
70
|
+
import "../../Switch/Switch.mjs";
|
|
71
|
+
import "../../Tab/styles.mjs";
|
|
72
|
+
import "../../Tabs/styles.mjs";
|
|
73
|
+
import "../../TagBadge/styles.mjs";
|
|
74
|
+
const Qt = ({
|
|
75
|
+
actions: d,
|
|
76
|
+
isDisabled: o
|
|
77
|
+
}) => /* @__PURE__ */ t.jsx(t.Fragment, { children: d.map((i) => {
|
|
78
|
+
if (Object.prototype.hasOwnProperty.call(i, "isNested")) {
|
|
79
|
+
const {
|
|
80
|
+
text: e,
|
|
81
|
+
isNested: w,
|
|
82
|
+
actions: x,
|
|
83
|
+
disabled: p,
|
|
84
|
+
disabledReason: u,
|
|
85
|
+
note: h,
|
|
86
|
+
isBlockingOperation: y,
|
|
87
|
+
...j
|
|
88
|
+
} = i;
|
|
89
|
+
return /* @__PURE__ */ t.jsx(
|
|
90
|
+
s,
|
|
91
|
+
{
|
|
92
|
+
title: p ? u : h,
|
|
93
|
+
withoutContainer: !(o || p),
|
|
94
|
+
children: /* @__PURE__ */ t.jsx(
|
|
95
|
+
B,
|
|
96
|
+
{
|
|
97
|
+
...j,
|
|
98
|
+
disabled: o || p,
|
|
99
|
+
name: e,
|
|
100
|
+
children: x.map(
|
|
101
|
+
({ text: n, ...b }) => /* @__PURE__ */ t.jsx(f, { ...b, children: n }, n)
|
|
102
|
+
)
|
|
103
|
+
}
|
|
104
|
+
)
|
|
105
|
+
},
|
|
106
|
+
e
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
const {
|
|
110
|
+
text: m,
|
|
111
|
+
disabled: r,
|
|
112
|
+
disabledReason: a,
|
|
113
|
+
note: l,
|
|
114
|
+
isBlockingOperation: g,
|
|
115
|
+
...c
|
|
116
|
+
} = i;
|
|
117
|
+
return /* @__PURE__ */ t.jsx(
|
|
118
|
+
s,
|
|
119
|
+
{
|
|
120
|
+
title: r ? a : l,
|
|
121
|
+
withoutContainer: !(o || r),
|
|
122
|
+
children: /* @__PURE__ */ t.jsx(O, { ...c, disabled: o || r, children: m })
|
|
123
|
+
},
|
|
124
|
+
m
|
|
125
|
+
);
|
|
126
|
+
}) });
|
|
127
|
+
export {
|
|
128
|
+
Qt as MainActions
|
|
129
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MainActions';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const StyledButton: import('@emotion/styled').StyledComponent<Omit<import('../../types').WithoutEmotionSpecific<import('@mui/material').ButtonProps<import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>>>, "color" | "variant"> & {
|
|
2
|
+
variant?: `${import('../../Button').ButtonVariants}`;
|
|
3
|
+
loading?: boolean;
|
|
4
|
+
loadingIndicator?: import('react').ReactNode;
|
|
5
|
+
loadingPosition?: "start" | "end" | "center";
|
|
6
|
+
color?: `${import('../../Button').ButtonColors}`;
|
|
7
|
+
component?: import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
8
|
+
selected?: boolean;
|
|
9
|
+
} & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
10
|
+
export declare const StyledDropdownButton: import('@emotion/styled').StyledComponent<Omit<import('../../Button').ButtonProps<import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>>, "onClick" | "endIcon" | "selected"> & {
|
|
11
|
+
name: string;
|
|
12
|
+
popoverProps?: Omit<import('@mui/material').PopoverProps, "open">;
|
|
13
|
+
} & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|