@max-ts/components 0.2.3 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/lib/_virtual/_commonjsHelpers.mjs +6 -0
  2. package/lib/_virtual/index.mjs +5 -0
  3. package/lib/_virtual/index2.mjs +4 -0
  4. package/lib/_virtual/index3.mjs +4 -0
  5. package/lib/_virtual/index4.mjs +7 -0
  6. package/lib/_virtual/index5.mjs +4 -0
  7. package/lib/_virtual/react-is.development.mjs +4 -0
  8. package/lib/_virtual/react-is.development2.mjs +4 -0
  9. package/lib/_virtual/react-is.production.min.mjs +4 -0
  10. package/lib/_virtual/react-is.production.mjs +4 -0
  11. package/lib/components/Accordion/styles.d.ts +2 -2
  12. package/lib/components/Accordion/styles.mjs +21 -11
  13. package/lib/components/ActionCell/MainAction/MainAction.d.ts +1 -4
  14. package/lib/components/ActionCell/MainAction/MainAction.mjs +110 -44
  15. package/lib/components/ActionCell/SecondaryAction/SecondaryActions.d.ts +0 -3
  16. package/lib/components/ActionCell/styles.mjs +13 -3
  17. package/lib/components/ActionGroup/ActionGroup.d.ts +23 -0
  18. package/lib/components/ActionGroup/ActionGroup.mjs +17 -0
  19. package/lib/components/ActionGroup/MainActions/MainActions.d.ts +65 -0
  20. package/lib/components/ActionGroup/MainActions/MainActions.mjs +129 -0
  21. package/lib/components/ActionGroup/MainActions/index.d.ts +1 -0
  22. package/lib/components/ActionGroup/MainActions/styles.d.ts +13 -0
  23. package/lib/components/ActionGroup/MainActions/styles.mjs +18 -0
  24. package/lib/components/ActionGroup/SecondaryActions/SecondaryActions.d.ts +21 -0
  25. package/lib/components/ActionGroup/SecondaryActions/SecondaryActions.mjs +97 -0
  26. package/lib/components/ActionGroup/SecondaryActions/index.d.ts +1 -0
  27. package/lib/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.d.ts +19 -0
  28. package/lib/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.mjs +103 -0
  29. package/lib/components/ActionGroup/SecondaryVisibleActions/index.d.ts +1 -0
  30. package/lib/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +9 -0
  31. package/lib/components/ActionGroup/index.d.ts +1 -0
  32. package/lib/components/ActionGroup/styles.d.ts +1 -0
  33. package/lib/components/ActionGroup/styles.mjs +18 -0
  34. package/lib/components/ActionGroup/useLogic/useLogic.d.ts +7 -0
  35. package/lib/components/ActionGroup/useLogic/useLogic.mjs +9 -0
  36. package/lib/components/Autocomplete/styles.mjs +13 -3
  37. package/lib/components/Badge/styles.d.ts +1 -1
  38. package/lib/components/BottomDrawer/styles.d.ts +3 -3
  39. package/lib/components/Breadcrumbs/index.d.ts +1 -0
  40. package/lib/components/Button/Button.mjs +17 -17
  41. package/lib/components/Button/constants.d.ts +1 -1
  42. package/lib/components/Button/constants.mjs +2 -2
  43. package/lib/components/Button/styles.d.ts +1 -1
  44. package/lib/components/ButtonBase/ButtonBase.d.ts +1 -0
  45. package/lib/components/ButtonBase/index.d.ts +1 -0
  46. package/lib/components/ButtonGroup/index.d.ts +1 -0
  47. package/lib/components/Card/index.d.ts +1 -0
  48. package/lib/components/CardActions/index.d.ts +1 -0
  49. package/lib/components/CardContent/index.d.ts +1 -0
  50. package/lib/components/CardHeader/index.d.ts +1 -0
  51. package/lib/components/CheckboxField/styles.mjs +15 -5
  52. package/lib/components/Chevron/styles.mjs +14 -4
  53. package/lib/components/ConfirmAction/styles.d.ts +2 -2
  54. package/lib/components/ConfirmAction/styles.mjs +17 -7
  55. package/lib/components/ConfirmDialog/styles.mjs +10 -4
  56. package/lib/components/ConfirmDialog/useLogic/useLogic.d.ts +1 -1
  57. package/lib/components/Container/styles.d.ts +1 -0
  58. package/lib/components/Container/styles.mjs +16 -13
  59. package/lib/components/ContentState/styles.mjs +13 -3
  60. package/lib/components/CopyTypography/styles.d.ts +2 -2
  61. package/lib/components/CopyTypography/styles.mjs +16 -6
  62. package/lib/components/DataGrid/Body/Body.d.ts +1 -29
  63. package/lib/components/DataGrid/Body/Body.mjs +26 -29
  64. package/lib/components/DataGrid/Body/styles.mjs +15 -5
  65. package/lib/components/DataGrid/Cell/styles.mjs +15 -5
  66. package/lib/components/DataGrid/DataGrid.d.ts +0 -53
  67. package/lib/components/DataGrid/DataGrid.mjs +49 -71
  68. package/lib/components/DataGrid/Head/styles.mjs +20 -10
  69. package/lib/components/DataGrid/HeadCell/HeadCell.mjs +21 -20
  70. package/lib/components/DataGrid/HeadCell/styles.d.ts +2 -2
  71. package/lib/components/DataGrid/HeadCell/styles.mjs +19 -8
  72. package/lib/components/DataGrid/Row/Row.d.ts +1 -38
  73. package/lib/components/DataGrid/Row/Row.mjs +55 -147
  74. package/lib/components/DataGrid/Row/constants.d.ts +0 -1
  75. package/lib/components/DataGrid/Row/constants.mjs +2 -3
  76. package/lib/components/DataGrid/Row/index.d.ts +0 -1
  77. package/lib/components/DataGrid/Row/styles.d.ts +0 -22
  78. package/lib/components/DataGrid/Row/styles.mjs +21 -78
  79. package/lib/components/DataGrid/Row/useLogic/useLogic.d.ts +2 -10
  80. package/lib/components/DataGrid/Row/useLogic/useLogic.mjs +36 -67
  81. package/lib/components/DataGrid/constants.d.ts +0 -3
  82. package/lib/components/DataGrid/constants.mjs +3 -6
  83. package/lib/components/DataGrid/enums.d.ts +0 -4
  84. package/lib/components/DataGrid/enums.mjs +2 -3
  85. package/lib/components/DataGrid/faker.d.ts +1 -1
  86. package/lib/components/DataGrid/styles.mjs +20 -10
  87. package/lib/components/DataGrid/types.d.ts +2 -7
  88. package/lib/components/DataGrid/useLogic/useLogic.d.ts +1 -6
  89. package/lib/components/DataGrid/useLogic/useLogic.mjs +31 -36
  90. package/lib/components/DataGridActionCell/styles.mjs +13 -3
  91. package/lib/components/DataGridActionCell/useLogic/useLogic.mjs +13 -42
  92. package/lib/components/DataGridOld/Cell/styles.d.ts +1 -1
  93. package/lib/components/DataGridOld/HeadCell/styles.d.ts +1 -1
  94. package/lib/components/DataGridPagination/DataGridPagination.mjs +9 -9
  95. package/lib/components/DataGridPagination/faker.d.ts +1 -1
  96. package/lib/components/DataGridPagination/styles.d.ts +2 -2
  97. package/lib/components/DataGridPagination/styles.mjs +22 -12
  98. package/lib/components/Description/Name/styles.mjs +15 -5
  99. package/lib/components/Description/Value/styles.d.ts +10 -10
  100. package/lib/components/Description/Value/styles.mjs +83 -9
  101. package/lib/components/Description/Value/useLogic/useLogic.mjs +3 -3
  102. package/lib/components/Description/styles.mjs +13 -3
  103. package/lib/components/Description/useLogic/useLogic.d.ts +1 -1
  104. package/lib/components/DescriptionList/styles.mjs +20 -10
  105. package/lib/components/DescriptionTooltip/DescriptionTooltip.d.ts +9 -0
  106. package/lib/components/DescriptionTooltip/DescriptionTooltip.mjs +14 -0
  107. package/lib/components/DescriptionTooltip/index.d.ts +1 -0
  108. package/lib/components/DescriptionTooltip/styles.d.ts +4 -0
  109. package/lib/components/DescriptionTooltip/styles.mjs +27 -0
  110. package/lib/components/DialogContentText/styles.d.ts +1 -1
  111. package/lib/components/DialogHeader/styles.mjs +22 -12
  112. package/lib/components/Filename/styles.d.ts +2 -2
  113. package/lib/components/Filename/styles.mjs +16 -6
  114. package/lib/components/FormHelperText/FormHelperTextContent/styles.mjs +26 -16
  115. package/lib/components/FormLabel/styles.d.ts +1 -1
  116. package/lib/components/IconButton/styles.mjs +20 -14
  117. package/lib/components/Link/Link.d.ts +1 -1
  118. package/lib/components/Link/styles.d.ts +1 -1
  119. package/lib/components/ListItem/styles.d.ts +1 -1
  120. package/lib/components/MaskField/MaskField.d.ts +6 -0
  121. package/lib/components/MaskField/MaskField.mjs +10 -0
  122. package/lib/components/MaskField/index.d.ts +1 -0
  123. package/lib/components/MenuList/styles.d.ts +1 -1
  124. package/lib/components/NavMenu/Item/ItemButton/styles.d.ts +125 -125
  125. package/lib/components/OverflowTypography/styles.d.ts +4 -4
  126. package/lib/components/OverflowTypography/styles.mjs +16 -6
  127. package/lib/components/Placeholder/Image/styles.mjs +14 -4
  128. package/lib/components/Placeholder/styles.d.ts +4 -4
  129. package/lib/components/Placeholder/styles.mjs +31 -21
  130. package/lib/components/SearchField/styles.mjs +22 -12
  131. package/lib/components/Select/styles.d.ts +1 -1
  132. package/lib/components/Skeleton/styles.d.ts +1 -1
  133. package/lib/components/Skeleton/styles.mjs +7 -10
  134. package/lib/components/Slider/Slider.d.ts +2 -0
  135. package/lib/components/Slider/Slider.mjs +6 -0
  136. package/lib/components/Slider/index.d.ts +1 -0
  137. package/lib/components/Slider/styles.d.ts +1 -0
  138. package/lib/components/Slider/styles.mjs +40 -0
  139. package/lib/components/Tab/styles.d.ts +1 -1
  140. package/lib/components/Tabs/styles.mjs +16 -6
  141. package/lib/components/Tag/Tag.mjs +27 -23
  142. package/lib/components/Tag/styles.d.ts +1 -1
  143. package/lib/components/TagBadge/styles.mjs +14 -4
  144. package/lib/components/TagsList/Tag/styles.d.ts +1 -1
  145. package/lib/components/TagsList/Tag/styles.mjs +14 -4
  146. package/lib/components/TagsList/styles.mjs +13 -3
  147. package/lib/components/TextField/TextField.d.ts +1 -1
  148. package/lib/components/TextField/TextField.mjs +1 -1
  149. package/lib/components/ThemeProvider/ThemeProvider.d.ts +11 -0
  150. package/lib/components/ThemeProvider/ThemeProvider.mjs +9 -0
  151. package/lib/components/ThemeProvider/index.d.ts +1 -0
  152. package/lib/components/index.d.ts +12 -0
  153. package/lib/components.css +1 -0
  154. package/lib/icons/index.d.ts +1 -0
  155. package/lib/index.mjs +225 -208
  156. package/lib/node_modules/.pnpm/@emotion_hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.mjs +22 -0
  157. package/lib/node_modules/.pnpm/@emotion_memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.mjs +9 -0
  158. package/lib/node_modules/.pnpm/@emotion_serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.esm.mjs +120 -0
  159. package/lib/node_modules/.pnpm/@emotion_unitless@0.10.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.mjs +53 -0
  160. 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
  161. 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
  162. 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
  163. 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
  164. 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
  165. 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
  166. 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
  167. 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
  168. 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
  169. 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
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. 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
  176. 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
  177. 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
  178. 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
  179. 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
  180. 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
  181. 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
  182. 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
  183. 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
  184. 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
  185. 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
  186. 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
  187. 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
  188. 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
  189. 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
  190. 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
  191. 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
  192. 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
  193. 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
  194. 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
  195. 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
  196. 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
  197. 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
  198. 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
  199. 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
  200. 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
  201. 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
  202. 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
  203. 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
  204. 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
  205. 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
  206. 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
  207. 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
  208. 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
  209. 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
  210. 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
  211. 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
  212. 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
  213. 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
  214. 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
  215. 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
  216. 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
  217. 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
  218. 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
  219. 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
  220. 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
  221. 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
  222. 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
  223. 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
  224. 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
  225. 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
  226. 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
  227. 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
  228. 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
  229. 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
  230. package/lib/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.mjs +54 -0
  231. package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.mjs +54 -0
  232. package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.mjs +52 -0
  233. package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.mjs +329 -0
  234. package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.mjs +17 -0
  235. package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +10 -0
  236. package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.mjs +7 -0
  237. package/lib/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.mjs +95 -0
  238. package/lib/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.mjs +78 -0
  239. package/lib/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.mjs +10 -0
  240. package/lib/node_modules/.pnpm/react-is@19.0.0/node_modules/react-is/cjs/react-is.development.mjs +76 -0
  241. package/lib/node_modules/.pnpm/react-is@19.0.0/node_modules/react-is/cjs/react-is.production.mjs +76 -0
  242. package/lib/node_modules/.pnpm/react-is@19.0.0/node_modules/react-is/index.mjs +10 -0
  243. package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.development.mjs +18 -18
  244. package/lib/theme/baseTheme/baseTheme.d.ts +1 -3
  245. package/lib/theme/baseTheme/baseTheme.mjs +21 -21
  246. package/lib/theme/components/MuiButton.mjs +5 -5
  247. package/lib/theme/components/MuiSwitch.mjs +1 -1
  248. package/lib/theme/components/components.d.ts +1 -19
  249. package/lib/theme/components/components.mjs +71 -108
  250. package/lib/theme/index.d.ts +1 -1
  251. package/lib/theme/palette/palette.mjs +20 -20
  252. package/lib/theme/typography.mjs +6 -2
  253. package/package.json +3 -1
  254. package/lib/components/DataGrid/DataGridContext/DataGridContext.d.ts +0 -7
  255. package/lib/components/DataGrid/DataGridContext/DataGridContext.mjs +0 -12
  256. package/lib/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.d.ts +0 -6
  257. package/lib/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.mjs +0 -41
  258. package/lib/components/DataGrid/DataGridContext/DataGridProvider/index.d.ts +0 -1
  259. package/lib/components/DataGrid/DataGridContext/index.d.ts +0 -2
  260. package/lib/components/DataGrid/Row/NestedChildren/NestedChildren.d.ts +0 -55
  261. package/lib/components/DataGrid/Row/NestedChildren/NestedChildren.mjs +0 -72
  262. package/lib/components/DataGrid/Row/NestedChildren/index.d.ts +0 -1
  263. package/lib/components/DataGrid/Row/NestedChildren/styles.d.ts +0 -20
  264. package/lib/components/DataGrid/Row/NestedChildren/styles.mjs +0 -68
  265. package/lib/components/DataGrid/Row/NestedChildren/useLogic/useLogic.d.ts +0 -18
  266. package/lib/components/DataGrid/Row/NestedChildren/useLogic/useLogic.mjs +0 -27
  267. package/lib/components/DataGrid/Row/RowContext/RowContext.d.ts +0 -7
  268. package/lib/components/DataGrid/Row/RowContext/RowContext.mjs +0 -11
  269. package/lib/components/DataGrid/Row/RowContext/RowProvider/RowProvider.d.ts +0 -6
  270. package/lib/components/DataGrid/Row/RowContext/RowProvider/RowProvider.mjs +0 -25
  271. package/lib/components/DataGrid/Row/RowContext/RowProvider/index.d.ts +0 -1
  272. package/lib/components/DataGrid/Row/RowContext/index.d.ts +0 -2
  273. package/lib/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.d.ts +0 -4
  274. package/lib/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.mjs +0 -8
  275. package/lib/components/DataGrid/Row/useLogic/utils/getColumnsMap/index.d.ts +0 -1
  276. package/lib/components/DataGrid/Row/useLogic/utils/index.d.ts +0 -2
  277. package/lib/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/index.d.ts +0 -1
  278. package/lib/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.d.ts +0 -2
  279. package/lib/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.mjs +0 -14
  280. package/lib/theme/hooks/index.d.ts +0 -1
  281. package/lib/theme/hooks/useTheme/index.d.ts +0 -2
  282. package/lib/theme/hooks/useTheme/index.mjs +0 -5
  283. /package/lib/components/{DataGrid/Row/NestedChildren → ActionGroup}/useLogic/index.d.ts +0 -0
@@ -1,20 +1,30 @@
1
- import { styled as t } from "@mui/material";
2
- import { ROOT_ACTION_CELL_WIDTH as r } from "../constants.mjs";
3
- const d = t("header", {
4
- shouldForwardProp: (e) => !["$gridColumns"].includes(e.toString())
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 { ROOT_ACTION_CELL_WIDTH as o } from "../constants.mjs";
12
+ import r 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 = r("header", {
14
+ shouldForwardProp: (t) => !["$gridColumns"].includes(t.toString())
5
15
  })`
6
16
  display: grid;
7
- grid-template-columns: ${({ $gridColumns: e }) => e};
17
+ grid-template-columns: ${({ $gridColumns: t }) => t};
8
18
 
9
- border-bottom: 2px solid ${({ theme: e }) => e.palette.divider};
10
- `, l = t("div")`
19
+ border-bottom: 2px solid ${({ theme: t }) => t.palette.divider};
20
+ `, C = r("div")`
11
21
  display: flex;
12
22
  align-items: center;
13
23
  justify-content: center;
14
24
 
15
- width: ${r}px;
25
+ width: ${o}px;
16
26
  `;
17
27
  export {
18
- l as CheckboxCell,
19
- d as Wrapper
28
+ C as CheckboxCell,
29
+ x as Wrapper
20
30
  };
@@ -1,32 +1,33 @@
1
1
  import { j as r } from "../../../_virtual/jsx-runtime.mjs";
2
2
  import { useMemo as f } from "react";
3
- import { SortStates as i } from "../enums.mjs";
4
- import { ChevronsUpDown as a, ChevronDown as u, ChevronUp as d } from "lucide-react";
5
- import { Wrapper as x, StyledTypography as j } from "./styles.mjs";
6
- import { useLogic as h } from "./useLogic/useLogic.mjs";
7
- const b = (e) => {
8
- const { wrapperProps: l } = h(e), { startAdornment: s, field: n, isSortable: o, align: p, label: m, sorting: t } = e, c = f(() => {
3
+ import { SortStates as n } from "../enums.mjs";
4
+ import { SvgIcon as a } from "@mui/material";
5
+ import { ArrowDownUp as l, ArrowDownWideNarrow as u, ArrowDownNarrowWide as x } from "lucide-react";
6
+ import { Wrapper as j, StyledTypography as w } from "./styles.mjs";
7
+ import { useLogic as S } from "./useLogic/useLogic.mjs";
8
+ const I = (e) => {
9
+ const { wrapperProps: m } = S(e), { startAdornment: i, field: s, isSortable: o, align: p, label: c, sorting: t } = e, d = f(() => {
9
10
  if (!o)
10
11
  return null;
11
- if (t?.fieldId !== n)
12
- return /* @__PURE__ */ r.jsx(a, {});
12
+ if (t?.fieldId !== s)
13
+ return /* @__PURE__ */ r.jsx(l, {});
13
14
  switch (t?.sort) {
14
- case i.ASC:
15
- return /* @__PURE__ */ r.jsx(d, { color: "primary" });
16
- case i.DESC:
17
- return /* @__PURE__ */ r.jsx(u, { color: "primary" });
15
+ case n.ASC:
16
+ return /* @__PURE__ */ r.jsx(a, { color: "primary", children: /* @__PURE__ */ r.jsx(x, {}) });
17
+ case n.DESC:
18
+ return /* @__PURE__ */ r.jsx(a, { color: "primary", children: /* @__PURE__ */ r.jsx(u, {}) });
18
19
  default:
19
- return /* @__PURE__ */ r.jsx(a, {});
20
+ return /* @__PURE__ */ r.jsx(l, {});
20
21
  }
21
- }, [t, o, n]);
22
- return /* @__PURE__ */ r.jsxs(x, { $align: p, $isSortable: o, ...l, children: [
23
- s && s,
24
- /* @__PURE__ */ r.jsxs(j, { variant: "caption", children: [
25
- m,
26
- c
22
+ }, [t, o, s]);
23
+ return /* @__PURE__ */ r.jsxs(j, { $align: p, $isSortable: o, ...m, children: [
24
+ i && i,
25
+ /* @__PURE__ */ r.jsxs(w, { variant: "caption", children: [
26
+ c,
27
+ d
27
28
  ] })
28
29
  ] });
29
30
  };
30
31
  export {
31
- b as HeadCell
32
+ I as HeadCell
32
33
  };
@@ -6,8 +6,8 @@ type HeadCellProps = {
6
6
  };
7
7
  export declare const Wrapper: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & HeadCellProps, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
8
  export declare const StyledTypography: import('@emotion/styled').StyledComponent<{
9
- ref?: import('react').Ref<HTMLSpanElement> | undefined;
10
9
  children?: import('react').ReactNode;
10
+ ref?: import('react').Ref<HTMLSpanElement> | undefined;
11
11
  align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
12
12
  gutterBottom?: boolean | undefined;
13
13
  noWrap?: boolean | undefined;
@@ -16,7 +16,7 @@ export declare const StyledTypography: import('@emotion/styled').StyledComponent
16
16
  color?: import('../../Typography').TypographyColor;
17
17
  variant?: import('../../Typography').TypographyVariant;
18
18
  colorIntensity?: import('../../Typography').Intensity;
19
- component?: "symbol" | "object" | "style" | "clipPath" | "filter" | "mask" | "path" | import('react').ComponentType<any> | "map" | "search" | "big" | "link" | "small" | "sub" | "sup" | "marker" | "svg" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "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" | "main" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "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" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view";
19
+ 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>;
20
20
  isUpperCase?: boolean;
21
21
  } & import('react').HTMLAttributes<HTMLParagraphElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
22
22
  export {};
@@ -1,7 +1,17 @@
1
- import { styled as i } from "@mui/material";
2
- import { Typography as e } from "../../Typography/Typography.mjs";
3
- import { alignToJustifyContent as o } from "../utils/alignToJustifyContent/alignToJustifyContent.mjs";
4
- const a = i("div", {
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 o } from "../../Typography/Typography.mjs";
12
+ import { alignToJustifyContent as p } from "../utils/alignToJustifyContent/alignToJustifyContent.mjs";
13
+ 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";
14
+ const u = i("div", {
5
15
  shouldForwardProp: (t) => !["$align", "$isSortable", "$hasStartAdornment"].includes(t.toString())
6
16
  })`
7
17
  cursor: ${({ $isSortable: t }) => t ? "pointer" : "initial"};
@@ -9,15 +19,16 @@ const a = i("div", {
9
19
 
10
20
  display: flex;
11
21
  align-items: center;
12
- justify-content: ${({ $align: t }) => o(t)};
22
+ justify-content: ${({ $align: t }) => p(t)};
13
23
 
14
24
  height: 40px;
15
25
  padding: ${({ theme: t, $hasStartAdornment: r }) => r ? t.spacing(1, 2, 1, 0) : t.spacing(1, 2)};
16
26
 
17
27
  color: ${({ theme: t }) => t.palette.grey[700]};
18
- `, l = i(e)`
28
+ `, x = i(o)`
19
29
  display: flex;
20
30
  align-items: center;
31
+ gap: ${({ theme: t }) => t.spacing(1)};
21
32
 
22
33
  > svg {
23
34
  width: 16px;
@@ -25,6 +36,6 @@ const a = i("div", {
25
36
  }
26
37
  `;
27
38
  export {
28
- l as StyledTypography,
29
- a as Wrapper
39
+ x as StyledTypography,
40
+ u as Wrapper
30
41
  };
@@ -1,5 +1,4 @@
1
1
  import { ChangeEvent, ReactNode } from 'react';
2
- import { Variant } from '../enums';
3
2
  import { CellValue, DataGridColumns, DataGridRowOptions } from '../types';
4
3
  export type RowProps<TData extends Record<string, CellValue>> = {
5
4
  /**
@@ -18,50 +17,14 @@ export type RowProps<TData extends Record<string, CellValue>> = {
18
17
  * Конфигурация колонок для таблицы
19
18
  */
20
19
  columns: DataGridColumns<TData>[];
21
- /**
22
- * Вариант отображения вложенных элементов
23
- */
24
- variant: `${Variant}`;
25
20
  /**
26
21
  * Конфигурация ширины колонок
27
22
  */
28
23
  gridColumns: string;
29
- /**
30
- * Уровень вложенности в дереве
31
- */
32
- level: number;
33
- /**
34
- * Вложенные элементы
35
- */
36
- nestedChildren: Array<TData & {
37
- options?: DataGridRowOptions<TData>;
38
- }>;
39
24
  /**
40
25
  * Идентификатор активного элемента массива rows. Выделяет активную строку в таблице
41
26
  */
42
27
  activeRowId?: string;
43
- /**
44
- * Если true, то дерево будет раскрыто по умолчанию
45
- */
46
- isInitialExpanded: boolean;
47
- /**
48
- * Уровень раскрытия дерева по умолчанию, при isInitialExpanded=true
49
- */
50
- expandedLevel: number;
51
- /**
52
- * Количество отображаемых по умолчанию дочерних элементов
53
- */
54
- initialVisibleChildrenCount: number;
55
- /**
56
- * Номер колонки, в которой будет расположена кнопка "Показать все"
57
- * Работает только для `variant="subrows"`
58
- */
59
- moreButtonColumnPosition: number;
60
- /**
61
- * Если false, кнопка разворачивания элементов не показывается
62
- * Работает только для `variant="subrows"`
63
- */
64
- isVisibleCollapseButton: boolean;
65
28
  /**
66
29
  * Если true, то будет отображаться чекбокс для выбора элемента
67
30
  */
@@ -78,7 +41,7 @@ export type RowProps<TData extends Record<string, CellValue>> = {
78
41
  /**
79
42
  * Дополнительные настройки строки
80
43
  */
81
- options?: DataGridRowOptions<TData>;
44
+ options?: DataGridRowOptions;
82
45
  /**
83
46
  * Обработчик выбора строки
84
47
  */
@@ -1,159 +1,67 @@
1
- import { j as e } from "../../../_virtual/jsx-runtime.mjs";
2
- import { useCallback as I } from "react";
3
- import { Checkbox as J } from "../../Checkbox/Checkbox.mjs";
4
- import { Tooltip as K } from "../../Tooltip/Tooltip.mjs";
5
- import { NestedChildren as M } from "./NestedChildren/NestedChildren.mjs";
6
- import { DISABLE_ROW_ATTR as Q } from "./constants.mjs";
7
- import { CellStyled as U, Wrapper as X, ContentWrapper as Y, CollapseCell as Z, CollapseButton as ee, ChevronIcon as oe, CheckboxCell as le } from "./styles.mjs";
8
- import { useLogic as re } from "./useLogic/useLogic.mjs";
9
- import { checkIsDisabled as se } from "./utils/checkIsDisabled/checkIsDisabled.mjs";
10
- const te = (p) => {
11
- const {
12
- isOpen: u,
13
- isShowConnector: h,
14
- childrenColumns: x,
15
- rowId: S,
16
- handleToggle: P,
17
- checkboxProps: B,
18
- rowProps: A,
19
- tooltipProps: D,
20
- nestedChildrenProps: y,
21
- disabled: r,
22
- isRenderCollapseButton: b
23
- } = re(p), {
24
- className: L,
25
- row: T,
26
- options: E,
27
- variant: n,
28
- isSelectable: s,
29
- gridColumns: o,
30
- isInitialExpanded: j,
31
- expandedLevel: w,
32
- level: t,
33
- nestedChildren: N,
34
- initialVisibleChildrenCount: i,
35
- moreButtonColumnPosition: c,
36
- isVisibleCollapseButton: V,
37
- columns: a,
38
- emptyCellValue: W,
39
- selectedRows: f,
40
- activeRowId: v,
41
- keyId: d,
42
- onSelectRow: R,
43
- onRowClick: $,
1
+ import { j as o } from "../../../_virtual/jsx-runtime.mjs";
2
+ import { useCallback as D } from "react";
3
+ import { Checkbox as P } from "../../Checkbox/Checkbox.mjs";
4
+ import { Tooltip as S } from "../../Tooltip/Tooltip.mjs";
5
+ import { Cell as v } from "../Cell/Cell.mjs";
6
+ import { DISABLE_ROW_ATTR as A } from "./constants.mjs";
7
+ import { Wrapper as $, ContentWrapper as y, CheckboxCell as L } from "./styles.mjs";
8
+ import { useLogic as T } from "./useLogic/useLogic.mjs";
9
+ import { checkIsDisabled as W } from "./utils/checkIsDisabled/checkIsDisabled.mjs";
10
+ const Q = (s) => {
11
+ const { rowId: m, checkboxProps: a, rowProps: p, tooltipProps: d, disabled: r } = T(s), {
12
+ className: u,
13
+ row: C,
14
+ options: f,
15
+ isSelectable: i,
16
+ gridColumns: n,
17
+ columns: e,
18
+ emptyCellValue: b,
19
+ selectedRows: B,
20
+ activeRowId: E,
21
+ keyId: N,
22
+ onSelectRow: _,
23
+ onRowClick: F,
44
24
  // В этот rest-оператор попадают специфичные пропсы (атрибуты) virtuoso
45
25
  // Необходимы для NewDataGridInfinite
46
- ...F
47
- } = p, { isDisabledLastCell: O = !0, isNotSelectable: g } = E || {}, _ = () => !b && (!s || g) ? null : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
48
- b && /* @__PURE__ */ e.jsx(Z, { children: /* @__PURE__ */ e.jsx(ee, { variant: "text", onClick: P, children: /* @__PURE__ */ e.jsx(oe, { $isActive: u }) }) }),
49
- s && !g && /* @__PURE__ */ e.jsx(
50
- le,
51
- {
52
- inert: r ? !0 : void 0,
53
- onClick: (l) => l.stopPropagation(),
54
- children: /* @__PURE__ */ e.jsx(J, { ...B })
55
- }
56
- )
57
- ] }), q = I(() => {
58
- const l = O ? void 0 : [a.length - 1];
59
- return a?.map((C, m) => {
60
- const G = `${S}-${m}`, H = se(
26
+ ...x
27
+ } = s, { isDisabledLastCell: w = !0, isNotSelectable: c } = f || {}, h = () => !i || c ? null : i && !c && /* @__PURE__ */ o.jsx(
28
+ L,
29
+ {
30
+ inert: r ? !0 : void 0,
31
+ onClick: (t) => t.stopPropagation(),
32
+ children: /* @__PURE__ */ o.jsx(P, { ...a })
33
+ }
34
+ ), j = D(() => {
35
+ const t = w ? void 0 : [e.length - 1];
36
+ return e?.map((k, l) => {
37
+ const R = `${m}-${l}`, I = W(
61
38
  r,
62
- l,
63
- m
64
- ), k = !m;
65
- return /* @__PURE__ */ e.jsx(
66
- U,
39
+ t,
40
+ l
41
+ ), g = !l;
42
+ return /* @__PURE__ */ o.jsx(
43
+ v,
67
44
  {
68
- $level: k ? t : 0,
69
- row: T,
70
- cell: C,
71
- emptyCellValue: W,
72
- startAdornment: k && _(),
73
- isDisabled: H
45
+ row: C,
46
+ cell: k,
47
+ emptyCellValue: b,
48
+ startAdornment: g && h(),
49
+ isDisabled: I
74
50
  },
75
- G
51
+ R
76
52
  );
77
53
  });
78
- }, [u, a, r]), z = I(
79
- ({
80
- key: l,
81
- ...C
82
- }) => /* @__PURE__ */ e.jsx(
83
- te,
84
- {
85
- keyId: d,
86
- ...C,
87
- variant: n,
88
- isSelectable: s,
89
- selectedRows: f,
90
- gridColumns: o,
91
- isInitialExpanded: j,
92
- expandedLevel: w,
93
- initialVisibleChildrenCount: i,
94
- moreButtonColumnPosition: c,
95
- isVisibleCollapseButton: V,
96
- activeRowId: v,
97
- columns: x,
98
- onSelectRow: R,
99
- onRowClick: $
100
- },
101
- l
102
- ),
103
- [
104
- d,
105
- n,
106
- s,
107
- f,
108
- o,
109
- j,
110
- w,
111
- i,
112
- c,
113
- v,
114
- x,
115
- R,
116
- $
117
- ]
118
- );
119
- return /* @__PURE__ */ e.jsxs(
120
- X,
54
+ }, [e, r]);
55
+ return /* @__PURE__ */ o.jsx($, { $gridColumns: n, className: u, ...x, children: /* @__PURE__ */ o.jsx(S, { followCursor: !0, arrow: !1, ...d, children: /* @__PURE__ */ o.jsx(
56
+ y,
121
57
  {
122
- $level: t,
123
- $isShowConnector: h,
124
- $gridColumns: o,
125
- className: L,
126
- ...F,
127
- children: [
128
- /* @__PURE__ */ e.jsx(K, { followCursor: !0, arrow: !1, ...D, children: /* @__PURE__ */ e.jsx(
129
- Y,
130
- {
131
- $level: t,
132
- $isShowConnector: h,
133
- $gridColumns: o,
134
- [Q]: r,
135
- ...A,
136
- children: q()
137
- }
138
- ) }),
139
- /* @__PURE__ */ e.jsx(
140
- M,
141
- {
142
- ...y,
143
- data: N,
144
- keyId: d,
145
- level: t,
146
- variant: n,
147
- gridColumns: o,
148
- initialVisibleChildrenCount: i,
149
- moreButtonColumnPosition: c,
150
- renderRow: z
151
- }
152
- )
153
- ]
58
+ $gridColumns: n,
59
+ [A]: r,
60
+ ...p,
61
+ children: j()
154
62
  }
155
- );
63
+ ) }) });
156
64
  };
157
65
  export {
158
- te as Row
66
+ Q as Row
159
67
  };
@@ -1,2 +1 @@
1
1
  export declare const DISABLE_ROW_ATTR = "data-row-disable";
2
- export declare const HIDDEN_CHILDREN_ROW_CLASSNAME = "astral-ui_datagrid_row_hidden";
@@ -1,5 +1,4 @@
1
- const _ = "data-row-disable", a = "astral-ui_datagrid_row_hidden";
1
+ const a = "data-row-disable";
2
2
  export {
3
- _ as DISABLE_ROW_ATTR,
4
- a as HIDDEN_CHILDREN_ROW_CLASSNAME
3
+ a as DISABLE_ROW_ATTR
5
4
  };
@@ -1,2 +1 @@
1
1
  export * from './Row';
2
- export * from './RowContext';
@@ -1,31 +1,9 @@
1
1
  export declare const Wrapper: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
2
- $isShowConnector: boolean;
3
2
  $gridColumns: string;
4
- $level: number;
5
3
  }, import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
6
4
  export declare const ContentWrapper: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
7
- $isShowConnector: boolean;
8
5
  $isHovered?: boolean;
9
6
  $isSelected?: boolean;
10
7
  $gridColumns: string;
11
- $level: number;
12
8
  }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
13
- export declare const CellStyled: import('@emotion/styled').StyledComponent<import('../Cell').CellProps<Record<string, unknown>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
14
- $level: number;
15
- }, {}, {}>;
16
9
  export declare const CheckboxCell: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
17
- export declare const CollapseCell: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
18
- export declare const CollapseButton: import('@emotion/styled').StyledComponent<Omit<import('../../types').WithoutEmotionSpecific<import('@mui/material').ButtonProps<import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>>>, "color" | "variant"> & {
19
- variant?: `${import('../..').ButtonVariants}`;
20
- loading?: boolean;
21
- loadingIndicator?: import('react').ReactNode;
22
- loadingPosition?: "start" | "end" | "center";
23
- color?: `${import('../..').ButtonColors}`;
24
- component?: import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
25
- selected?: boolean;
26
- } & {
27
- loading?: boolean;
28
- } & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
29
- export declare const ChevronIcon: import('@emotion/styled').StyledComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
30
- $isActive?: boolean;
31
- }, {}, {}>;
@@ -1,102 +1,45 @@
1
- import { ChevronRight as i } from "lucide-react";
2
- import { IconButton as a } from "../../IconButton/IconButton.mjs";
3
- import { Cell as s } from "../Cell/Cell.mjs";
4
- import { ROOT_ACTION_CELL_WIDTH as r, TREE_LINE_WIDTH as n } from "../constants.mjs";
5
- import { styled as o } from "@mui/material";
6
- import { HIDDEN_CHILDREN_ROW_CLASSNAME as l } from "./constants.mjs";
7
- const m = o("li")`
1
+ import { ROOT_ACTION_CELL_WIDTH as e } from "../constants.mjs";
2
+ import "@mui/material";
3
+ import "remeda";
4
+ import "../../../_virtual/jsx-runtime.mjs";
5
+ import "clsx";
6
+ import "../../Button/styles.mjs";
7
+ import "react";
8
+ /* empty css */
9
+ /* empty css */
10
+ /* empty css */
11
+ /* empty css */
12
+ import o 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 b = o("li")`
8
14
  position: relative;
9
-
10
15
  &:not(:last-of-type)::before,
11
- &.${l}::before {
12
- content: '';
13
-
14
- position: absolute;
15
- z-index: 1;
16
- top: 0;
17
- transform: ${({ $level: t }) => `translateX(calc(${r}px * ${t} - ${n}px))`};
18
-
19
- display: ${({ $isShowConnector: t }) => t ? "block" : "none"};
20
-
21
- width: 0;
22
- height: 100%;
23
-
24
- border-left: 1px solid ${({ theme: t }) => t.palette.grey[400]};
25
- }
26
- `, u = o("div")`
16
+ `, v = o("div")`
27
17
  position: relative;
28
18
 
29
19
  display: grid;
30
20
  grid-template-columns: ${({ $gridColumns: t }) => t};
31
21
 
32
- background-color: ${({ theme: t, $isSelected: e }) => e ? t.palette.primary[100] : "transparent"};
22
+ background-color: ${({ theme: t, $isSelected: r }) => r ? t.palette.primary[100] : "transparent"};
33
23
 
34
24
  transition: ${({ theme: t }) => t.transitions.create(["background-color"], {
35
25
  duration: t.transitions.duration.short
36
26
  })};
37
27
 
38
- &::before {
39
- content: '';
40
-
41
- position: absolute;
42
- top: 0;
43
- transform: ${({ $level: t }) => `translateX(calc(${r}px * ${t} - ${n}px))`};
44
-
45
- display: ${({ $isShowConnector: t }) => t ? "block" : "none"};
46
-
47
- width: ${n}px;
48
- height: 50%;
49
-
50
- border-bottom: 1px solid ${({ theme: t }) => t.palette.grey[400]};
51
- border-left: 1px solid ${({ theme: t }) => t.palette.grey[400]};
52
- border-radius: 0 0 0 ${({ theme: t }) => t.shape.small};
53
- }
54
-
55
28
  &:hover {
56
29
  cursor: ${({ $isHovered: t }) => t ? "pointer" : "default"};
57
30
 
58
- background-color: ${({ theme: t, $isHovered: e }) => e ? t.palette.background.elementHover : "transparent"};
31
+ background-color: ${({ theme: t, $isHovered: r }) => r ? t.palette.background.elementHover : "transparent"};
59
32
  }
60
- `, h = o(s)`
61
- margin-left: ${({ $level: t }) => `${t * r}px`};
62
- `, b = o("div")`
33
+ `, y = o("div")`
63
34
  display: flex;
64
35
  align-items: center;
65
36
  align-self: center;
66
37
  justify-content: center;
67
38
 
68
- width: ${r}px;
69
- `, x = o("div")`
70
- display: flex;
71
- align-items: center;
72
- justify-content: center;
73
-
74
- width: ${r}px;
75
- `, y = o(a)`
76
- width: 24px;
77
- height: 24px;
78
-
79
- color: inherit;
80
-
81
- &:hover {
82
- background-color: ${({ theme: t }) => t.palette.grey[300]};
83
- }
84
- `, C = o(i, {
85
- shouldForwardProp: (t) => t !== "$isActive"
86
- })`
87
- transform: rotateZ(${({ $isActive: t }) => t ? 90 : 0}deg);
88
-
89
- transition: ${({ theme: t }) => t.transitions.create("transform", {
90
- easing: t.transitions.easing.sharp,
91
- duration: t.transitions.duration.short
92
- })};
39
+ width: ${e}px;
93
40
  `;
94
41
  export {
95
- h as CellStyled,
96
- b as CheckboxCell,
97
- C as ChevronIcon,
98
- y as CollapseButton,
99
- x as CollapseCell,
100
- u as ContentWrapper,
101
- m as Wrapper
42
+ y as CheckboxCell,
43
+ v as ContentWrapper,
44
+ b as Wrapper
102
45
  };