@max-ts/components 0.2.4 → 0.3.1

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 (141) hide show
  1. package/lib/components/Accordion/styles.d.ts +2 -2
  2. package/lib/components/Accordion/styles.mjs +19 -10
  3. package/lib/components/ActionCell/MainAction/MainAction.d.ts +1 -4
  4. package/lib/components/ActionCell/MainAction/MainAction.mjs +110 -44
  5. package/lib/components/ActionCell/SecondaryAction/SecondaryActions.d.ts +0 -3
  6. package/lib/components/ActionCell/styles.mjs +12 -3
  7. package/lib/components/ActionGroup/ActionGroup.d.ts +23 -0
  8. package/lib/components/ActionGroup/ActionGroup.mjs +17 -0
  9. package/lib/components/ActionGroup/MainActions/MainActions.d.ts +65 -0
  10. package/lib/components/ActionGroup/MainActions/MainActions.mjs +129 -0
  11. package/lib/components/ActionGroup/MainActions/index.d.ts +1 -0
  12. package/lib/components/ActionGroup/MainActions/styles.d.ts +13 -0
  13. package/lib/components/ActionGroup/MainActions/styles.mjs +17 -0
  14. package/lib/components/ActionGroup/SecondaryActions/SecondaryActions.d.ts +21 -0
  15. package/lib/components/ActionGroup/SecondaryActions/SecondaryActions.mjs +97 -0
  16. package/lib/components/ActionGroup/SecondaryActions/index.d.ts +1 -0
  17. package/lib/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.d.ts +19 -0
  18. package/lib/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.mjs +103 -0
  19. package/lib/components/ActionGroup/SecondaryVisibleActions/index.d.ts +1 -0
  20. package/lib/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +9 -0
  21. package/lib/components/ActionGroup/index.d.ts +1 -0
  22. package/lib/components/ActionGroup/styles.d.ts +1 -0
  23. package/lib/components/ActionGroup/styles.mjs +17 -0
  24. package/lib/components/ActionGroup/useLogic/index.d.ts +1 -0
  25. package/lib/components/ActionGroup/useLogic/useLogic.d.ts +7 -0
  26. package/lib/components/ActionGroup/useLogic/useLogic.mjs +9 -0
  27. package/lib/components/Autocomplete/styles.mjs +13 -4
  28. package/lib/components/Badge/styles.d.ts +1 -1
  29. package/lib/components/BottomDrawer/styles.d.ts +3 -3
  30. package/lib/components/Breadcrumbs/index.d.ts +1 -0
  31. package/lib/components/Button/Button.mjs +17 -17
  32. package/lib/components/Button/constants.d.ts +1 -1
  33. package/lib/components/Button/constants.mjs +2 -2
  34. package/lib/components/Button/styles.d.ts +1 -1
  35. package/lib/components/ButtonBase/ButtonBase.d.ts +1 -0
  36. package/lib/components/ButtonBase/index.d.ts +1 -0
  37. package/lib/components/ButtonGroup/index.d.ts +1 -0
  38. package/lib/components/Card/index.d.ts +1 -0
  39. package/lib/components/CardActions/index.d.ts +1 -0
  40. package/lib/components/CardContent/index.d.ts +1 -0
  41. package/lib/components/CardHeader/index.d.ts +1 -0
  42. package/lib/components/CheckboxField/styles.mjs +13 -4
  43. package/lib/components/Chevron/styles.mjs +13 -4
  44. package/lib/components/ConfirmAction/styles.d.ts +2 -2
  45. package/lib/components/ConfirmAction/styles.mjs +15 -6
  46. package/lib/components/ConfirmDialog/styles.mjs +7 -2
  47. package/lib/components/ConfirmDialog/useLogic/useLogic.d.ts +1 -1
  48. package/lib/components/Container/styles.d.ts +1 -0
  49. package/lib/components/Container/styles.mjs +16 -13
  50. package/lib/components/ContentState/styles.mjs +11 -2
  51. package/lib/components/CopyTypography/styles.d.ts +2 -2
  52. package/lib/components/CopyTypography/styles.mjs +15 -6
  53. package/lib/components/DataGrid/Body/styles.mjs +11 -2
  54. package/lib/components/DataGrid/Cell/styles.mjs +15 -6
  55. package/lib/components/DataGrid/Head/styles.mjs +19 -10
  56. package/lib/components/DataGrid/HeadCell/styles.d.ts +2 -2
  57. package/lib/components/DataGrid/HeadCell/styles.mjs +16 -7
  58. package/lib/components/DataGrid/Row/styles.mjs +18 -9
  59. package/lib/components/DataGrid/styles.mjs +19 -10
  60. package/lib/components/DataGridActionCell/styles.mjs +12 -3
  61. package/lib/components/DataGridOld/Cell/styles.d.ts +1 -1
  62. package/lib/components/DataGridOld/HeadCell/styles.d.ts +1 -1
  63. package/lib/components/DataGridPagination/styles.d.ts +2 -2
  64. package/lib/components/DataGridPagination/styles.mjs +21 -12
  65. package/lib/components/Description/Name/styles.mjs +14 -5
  66. package/lib/components/Description/Value/styles.d.ts +10 -10
  67. package/lib/components/Description/Value/styles.mjs +81 -8
  68. package/lib/components/Description/Value/useLogic/useLogic.mjs +3 -3
  69. package/lib/components/Description/styles.mjs +11 -2
  70. package/lib/components/Description/useLogic/useLogic.d.ts +1 -1
  71. package/lib/components/DescriptionList/styles.mjs +18 -9
  72. package/lib/components/DescriptionTooltip/DescriptionTooltip.d.ts +9 -0
  73. package/lib/components/DescriptionTooltip/DescriptionTooltip.mjs +14 -0
  74. package/lib/components/DescriptionTooltip/index.d.ts +1 -0
  75. package/lib/components/DescriptionTooltip/styles.d.ts +4 -0
  76. package/lib/components/DescriptionTooltip/styles.mjs +26 -0
  77. package/lib/components/DialogContentText/styles.d.ts +1 -1
  78. package/lib/components/DialogHeader/styles.mjs +21 -12
  79. package/lib/components/Filename/styles.d.ts +2 -2
  80. package/lib/components/Filename/styles.mjs +15 -6
  81. package/lib/components/FormHelperText/FormHelperTextContent/styles.mjs +25 -16
  82. package/lib/components/FormLabel/styles.d.ts +1 -1
  83. package/lib/components/IconButton/styles.mjs +18 -13
  84. package/lib/components/Link/Link.d.ts +1 -1
  85. package/lib/components/Link/styles.d.ts +1 -1
  86. package/lib/components/ListItem/styles.d.ts +1 -1
  87. package/lib/components/MaskField/MaskField.d.ts +6 -0
  88. package/lib/components/MaskField/MaskField.mjs +10 -0
  89. package/lib/components/MaskField/index.d.ts +1 -0
  90. package/lib/components/MenuList/styles.d.ts +1 -1
  91. package/lib/components/NavMenu/Item/ItemButton/styles.d.ts +125 -125
  92. package/lib/components/OverflowTypography/styles.d.ts +4 -4
  93. package/lib/components/OverflowTypography/styles.mjs +14 -5
  94. package/lib/components/Placeholder/Image/styles.mjs +14 -5
  95. package/lib/components/Placeholder/styles.d.ts +4 -4
  96. package/lib/components/Placeholder/styles.mjs +30 -21
  97. package/lib/components/SearchField/styles.mjs +20 -11
  98. package/lib/components/Select/styles.d.ts +1 -1
  99. package/lib/components/Skeleton/styles.d.ts +1 -1
  100. package/lib/components/Skeleton/styles.mjs +7 -10
  101. package/lib/components/Slider/Slider.d.ts +2 -0
  102. package/lib/components/Slider/Slider.mjs +6 -0
  103. package/lib/components/Slider/index.d.ts +1 -0
  104. package/lib/components/Slider/styles.d.ts +1 -0
  105. package/lib/components/Slider/styles.mjs +39 -0
  106. package/lib/components/Tab/styles.d.ts +1 -1
  107. package/lib/components/Tabs/styles.mjs +14 -5
  108. package/lib/components/Tag/Tag.mjs +18 -15
  109. package/lib/components/Tag/styles.d.ts +1 -1
  110. package/lib/components/TagBadge/styles.mjs +11 -2
  111. package/lib/components/TagsList/Tag/styles.d.ts +1 -1
  112. package/lib/components/TagsList/Tag/styles.mjs +11 -2
  113. package/lib/components/TagsList/styles.mjs +11 -2
  114. package/lib/components/ThemeProvider/ThemeProvider.d.ts +11 -0
  115. package/lib/components/ThemeProvider/ThemeProvider.mjs +9 -0
  116. package/lib/components/ThemeProvider/index.d.ts +1 -0
  117. package/lib/components/index.d.ts +12 -0
  118. package/lib/components.css +1 -0
  119. package/lib/icons/index.d.ts +1 -0
  120. package/lib/index.mjs +221 -198
  121. 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
  122. 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
  123. 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
  124. 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
  125. 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
  126. 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
  127. 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
  128. package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.development.mjs +9 -9
  129. package/lib/theme/baseTheme/baseTheme.d.ts +1 -3
  130. package/lib/theme/baseTheme/baseTheme.mjs +21 -21
  131. package/lib/theme/components/MuiButton.mjs +5 -5
  132. package/lib/theme/components/MuiSwitch.mjs +1 -1
  133. package/lib/theme/components/components.d.ts +1 -19
  134. package/lib/theme/components/components.mjs +71 -108
  135. package/lib/theme/index.d.ts +1 -1
  136. package/lib/theme/palette/palette.mjs +20 -20
  137. package/lib/theme/typography.mjs +6 -2
  138. package/package.json +3 -1
  139. package/lib/theme/hooks/index.d.ts +0 -1
  140. package/lib/theme/hooks/useTheme/index.d.ts +0 -2
  141. package/lib/theme/hooks/useTheme/index.mjs +0 -5
@@ -0,0 +1 @@
1
+ export * from 'lucide-react';
package/lib/index.mjs CHANGED
@@ -1,207 +1,230 @@
1
1
  import { Accordion as t } from "./components/Accordion/Accordion.mjs";
2
2
  import { ActionCell as m } from "./components/ActionCell/ActionCell.mjs";
3
- import { AsyncAutocomplete as f } from "./components/AsyncAutocomplete/AsyncAutocomplete.mjs";
4
- import { Autocomplete as i } from "./components/Autocomplete/Autocomplete.mjs";
5
- import { Badge as l } from "./components/Badge/Badge.mjs";
3
+ import { ActionGroup as f } from "./components/ActionGroup/ActionGroup.mjs";
4
+ import { AsyncAutocomplete as i } from "./components/AsyncAutocomplete/AsyncAutocomplete.mjs";
5
+ import { Autocomplete as s } from "./components/Autocomplete/Autocomplete.mjs";
6
+ import { Badge as d } from "./components/Badge/Badge.mjs";
6
7
  import { BottomDrawer as T } from "./components/BottomDrawer/BottomDrawer.mjs";
7
- import { Button as u } from "./components/Button/Button.mjs";
8
- import { ButtonColors as g, ButtonSizes as c, ButtonStates as D, ButtonVariants as A } from "./components/Button/enums.mjs";
9
- import { LOADING_BUTTON_CLASSNAME as S } from "./components/Button/constants.mjs";
10
- import { Checkbox as B } from "./components/Checkbox/Checkbox.mjs";
11
- import { CheckboxField as h } from "./components/CheckboxField/CheckboxField.mjs";
12
- import { Chevron as P } from "./components/Chevron/Chevron.mjs";
13
- import { CircularProgress as R } from "./components/CircularProgress/CircularProgress.mjs";
14
- import { Collapse as E } from "./components/Collapse/Collapse.mjs";
15
- import { ConfigContext as G, ConfigProvider as M } from "./components/ConfigProvider/ConfigProvider.mjs";
16
- import { ConfirmAction as b } from "./components/ConfirmAction/ConfirmAction.mjs";
17
- import { ConfirmDialog as H } from "./components/ConfirmDialog/ConfirmDialog.mjs";
18
- import { Container as k } from "./components/Container/Container.mjs";
19
- import { ContentState as Y } from "./components/ContentState/ContentState.mjs";
20
- import { CopyTypography as z } from "./components/CopyTypography/CopyTypography.mjs";
21
- import { DataGrid as q } from "./components/DataGrid/DataGrid.mjs";
22
- import { Head as K } from "./components/DataGrid/Head/Head.mjs";
23
- import { Row as X } from "./components/DataGrid/Row/Row.mjs";
24
- import { MIN_DISPLAY_ROWS_BY_DEFAULT as $, MIN_ROW_HEIGHT as oo, ROOT_ACTION_CELL_WIDTH as ro } from "./components/DataGrid/constants.mjs";
25
- import { SortStates as to } from "./components/DataGrid/enums.mjs";
26
- import { DataGridActionCell as mo } from "./components/DataGridActionCell/DataGridActionCell.mjs";
27
- import { DataGridPagination as fo } from "./components/DataGridPagination/DataGridPagination.mjs";
28
- import { Description as io } from "./components/Description/Description.mjs";
29
- import { DEFAULT_SEPARATOR as lo, DEFAULT_SYMBOL as so, DESCRIPTION_ROOT_CLASSNAME as To } from "./components/Description/constants.mjs";
30
- import { DescriptionList as Co } from "./components/DescriptionList/DescriptionList.mjs";
31
- import { Dialog as co } from "./components/Dialog/Dialog.mjs";
32
- import { DialogActions as Ao } from "./components/DialogActions/DialogActions.mjs";
33
- import { DialogContent as So } from "./components/DialogContent/DialogContent.mjs";
34
- import { DialogContentText as Bo } from "./components/DialogContentText/DialogContentText.mjs";
35
- import { DialogHeader as ho } from "./components/DialogHeader/DialogHeader.mjs";
36
- import { DialogTitle as Po } from "./components/DialogTitle/DialogTitle.mjs";
37
- import { Divider as Ro } from "./components/Divider/Divider.mjs";
38
- import { DropdownButton as Eo } from "./components/DropdownButton/DropdownButton.mjs";
39
- import { ErrorBoundary as Go } from "./components/ErrorBoundary/ErrorBoundary.mjs";
40
- import { Filename as vo } from "./components/Filename/Filename.mjs";
41
- import { FormControl as wo } from "./components/FormControl/FormControl.mjs";
42
- import { FormControlLabel as Uo } from "./components/FormControlLabel/FormControlLabel.mjs";
43
- import { FormHelperText as Wo } from "./components/FormHelperText/FormHelperText.mjs";
44
- import { FormHelperTextContent as Vo } from "./components/FormHelperText/FormHelperTextContent/FormHelperTextContent.mjs";
45
- import { FormLabel as jo } from "./components/FormLabel/FormLabel.mjs";
46
- import { GuidTypography as Jo } from "./components/GuidTypography/GuidTypography.mjs";
47
- import { IconButton as Qo } from "./components/IconButton/IconButton.mjs";
48
- import { IconDropdownButton as Zo } from "./components/IconDropdownButton/IconDropdownButton.mjs";
49
- import { InternalErrorPlaceholder as or } from "./components/InternalErrorPlaceholder/InternalErrorPlaceholder.mjs";
50
- import { Link as er } from "./components/Link/Link.mjs";
51
- import { List as pr } from "./components/List/List.mjs";
52
- import { ListItem as xr } from "./components/ListItem/ListItem.mjs";
53
- import { ListItemButton as ar } from "./components/ListItemButton/ListItemButton.mjs";
54
- import { ListItemIcon as nr } from "./components/ListItemIcon/ListItemIcon.mjs";
55
- import { ListItemText as sr } from "./components/ListItemText/ListItemText.mjs";
56
- import { ListSubheader as dr } from "./components/ListSubheader/ListSubheader.mjs";
57
- import { Menu as Cr } from "./components/Menu/Menu.mjs";
58
- import { MenuItem as cr } from "./components/MenuItem/MenuItem.mjs";
59
- import { MenuList as Ar } from "./components/MenuList/MenuList.mjs";
60
- import { NavMenu as Sr } from "./components/NavMenu/NavMenu.mjs";
61
- import { OutdatedReleasePlaceholder as Br } from "./components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.mjs";
62
- import { DEFAULT_ROWS_COUNT as hr, OverflowTypography as Or } from "./components/OverflowTypography/OverflowTypography.mjs";
63
- import { Pagination as Fr } from "./components/Pagination/Pagination.mjs";
64
- import { Paper as yr } from "./components/Paper/Paper.mjs";
65
- import { Image as Nr, setDefaultImageStyles as Gr } from "./components/Placeholder/Image/Image.mjs";
66
- import { Placeholder as vr } from "./components/Placeholder/Placeholder.mjs";
67
- import { Popover as wr } from "./components/Popover/Popover.mjs";
68
- import { ProgressBar as Ur } from "./components/ProgressBar/ProgressBar.mjs";
69
- import { Radio as Wr } from "./components/Radio/Radio.mjs";
70
- import { RadioField as Vr } from "./components/RadioField/RadioField.mjs";
71
- import { RadioGroup as jr } from "./components/RadioGroup/RadioGroup.mjs";
72
- import { RadioGroupContext as Jr } from "./components/RadioGroup/RadioGroupContext/RadioGroupContext.mjs";
8
+ import { Breadcrumbs as c, ButtonBase as g, ButtonGroup as A, Card as D, CardActions as L, CardContent as S, CardHeader as B, buttonClasses as I, cardActionsClasses as h, cardClasses as P, cardContentClasses as _, cardHeaderClasses as F, styled as O, useTheme as R } from "@mui/material";
9
+ import { Button as E } from "./components/Button/Button.mjs";
10
+ import { ButtonColors as M, ButtonSizes as N, ButtonStates as b, ButtonVariants as v } from "./components/Button/enums.mjs";
11
+ import { LOADING_BUTTON_CLASSNAME as w } from "./components/Button/constants.mjs";
12
+ import { Checkbox as k } from "./components/Checkbox/Checkbox.mjs";
13
+ import { CheckboxField as Y } from "./components/CheckboxField/CheckboxField.mjs";
14
+ import { Chevron as z } from "./components/Chevron/Chevron.mjs";
15
+ import { CircularProgress as q } from "./components/CircularProgress/CircularProgress.mjs";
16
+ import { Collapse as K } from "./components/Collapse/Collapse.mjs";
17
+ import { ConfigContext as X, ConfigProvider as Z } from "./components/ConfigProvider/ConfigProvider.mjs";
18
+ import { ConfirmAction as oo } from "./components/ConfirmAction/ConfirmAction.mjs";
19
+ import { ConfirmDialog as eo } from "./components/ConfirmDialog/ConfirmDialog.mjs";
20
+ import { Container as po } from "./components/Container/Container.mjs";
21
+ import { ContentState as xo } from "./components/ContentState/ContentState.mjs";
22
+ import { CopyTypography as ao } from "./components/CopyTypography/CopyTypography.mjs";
23
+ import { DataGrid as no } from "./components/DataGrid/DataGrid.mjs";
24
+ import { Head as lo } from "./components/DataGrid/Head/Head.mjs";
25
+ import { Row as To } from "./components/DataGrid/Row/Row.mjs";
26
+ import { MIN_DISPLAY_ROWS_BY_DEFAULT as co, MIN_ROW_HEIGHT as go, ROOT_ACTION_CELL_WIDTH as Ao } from "./components/DataGrid/constants.mjs";
27
+ import { SortStates as Lo } from "./components/DataGrid/enums.mjs";
28
+ import { DataGridActionCell as Bo } from "./components/DataGridActionCell/DataGridActionCell.mjs";
29
+ import { DataGridPagination as ho } from "./components/DataGridPagination/DataGridPagination.mjs";
30
+ import { Description as _o } from "./components/Description/Description.mjs";
31
+ import { DEFAULT_SEPARATOR as Oo, DEFAULT_SYMBOL as Ro, DESCRIPTION_ROOT_CLASSNAME as yo } from "./components/Description/constants.mjs";
32
+ import { DescriptionList as Go } from "./components/DescriptionList/DescriptionList.mjs";
33
+ import { DescriptionTooltip as No } from "./components/DescriptionTooltip/DescriptionTooltip.mjs";
34
+ import { Dialog as vo } from "./components/Dialog/Dialog.mjs";
35
+ import { DialogActions as wo } from "./components/DialogActions/DialogActions.mjs";
36
+ import { DialogContent as ko } from "./components/DialogContent/DialogContent.mjs";
37
+ import { DialogContentText as Yo } from "./components/DialogContentText/DialogContentText.mjs";
38
+ import { DialogHeader as zo } from "./components/DialogHeader/DialogHeader.mjs";
39
+ import { DialogTitle as qo } from "./components/DialogTitle/DialogTitle.mjs";
40
+ import { Divider as Ko } from "./components/Divider/Divider.mjs";
41
+ import { DropdownButton as Xo } from "./components/DropdownButton/DropdownButton.mjs";
42
+ import { ErrorBoundary as $o } from "./components/ErrorBoundary/ErrorBoundary.mjs";
43
+ import { Filename as rr } from "./components/Filename/Filename.mjs";
44
+ import { FormControl as tr } from "./components/FormControl/FormControl.mjs";
45
+ import { FormControlLabel as mr } from "./components/FormControlLabel/FormControlLabel.mjs";
46
+ import { FormHelperText as fr } from "./components/FormHelperText/FormHelperText.mjs";
47
+ import { FormHelperTextContent as ir } from "./components/FormHelperText/FormHelperTextContent/FormHelperTextContent.mjs";
48
+ import { FormLabel as sr } from "./components/FormLabel/FormLabel.mjs";
49
+ import { GuidTypography as dr } from "./components/GuidTypography/GuidTypography.mjs";
50
+ import { IconButton as Tr } from "./components/IconButton/IconButton.mjs";
51
+ import { IconDropdownButton as cr } from "./components/IconDropdownButton/IconDropdownButton.mjs";
52
+ import { InternalErrorPlaceholder as Ar } from "./components/InternalErrorPlaceholder/InternalErrorPlaceholder.mjs";
53
+ import { Link as Lr } from "./components/Link/Link.mjs";
54
+ import { List as Br } from "./components/List/List.mjs";
55
+ import { ListItem as hr } from "./components/ListItem/ListItem.mjs";
56
+ import { ListItemButton as _r } from "./components/ListItemButton/ListItemButton.mjs";
57
+ import { ListItemIcon as Or } from "./components/ListItemIcon/ListItemIcon.mjs";
58
+ import { ListItemText as yr } from "./components/ListItemText/ListItemText.mjs";
59
+ import { ListSubheader as Gr } from "./components/ListSubheader/ListSubheader.mjs";
60
+ import { MaskField as Nr } from "./components/MaskField/MaskField.mjs";
61
+ import { Menu as vr } from "./components/Menu/Menu.mjs";
62
+ import { MenuItem as wr } from "./components/MenuItem/MenuItem.mjs";
63
+ import { MenuList as kr } from "./components/MenuList/MenuList.mjs";
64
+ import { NavMenu as Yr } from "./components/NavMenu/NavMenu.mjs";
65
+ import { OutdatedReleasePlaceholder as zr } from "./components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.mjs";
66
+ import { DEFAULT_ROWS_COUNT as qr, OverflowTypography as Jr } from "./components/OverflowTypography/OverflowTypography.mjs";
67
+ import { Pagination as Qr } from "./components/Pagination/Pagination.mjs";
68
+ import { Paper as Zr } from "./components/Paper/Paper.mjs";
69
+ import { Image as oe, setDefaultImageStyles as re } from "./components/Placeholder/Image/Image.mjs";
70
+ import { Placeholder as te } from "./components/Placeholder/Placeholder.mjs";
71
+ import { Popover as me } from "./components/Popover/Popover.mjs";
72
+ import { ProgressBar as fe } from "./components/ProgressBar/ProgressBar.mjs";
73
+ import { Radio as ie } from "./components/Radio/Radio.mjs";
74
+ import { RadioField as se } from "./components/RadioField/RadioField.mjs";
75
+ import { RadioGroup as de } from "./components/RadioGroup/RadioGroup.mjs";
76
+ import { RadioGroupContext as Te } from "./components/RadioGroup/RadioGroupContext/RadioGroupContext.mjs";
73
77
  import "./_virtual/jsx-runtime.mjs";
74
- import { RadioGroupField as Qr } from "./components/RadioGroupField/RadioGroupField.mjs";
75
- import { SearchField as Zr } from "./components/SearchField/SearchField.mjs";
76
- import { Select as oe } from "./components/Select/Select.mjs";
77
- import { Skeleton as ee } from "./components/Skeleton/Skeleton.mjs";
78
- import { Switch as pe } from "./components/Switch/Switch.mjs";
79
- import { Tab as xe } from "./components/Tab/Tab.mjs";
80
- import { Tabs as ae } from "./components/Tabs/Tabs.mjs";
81
- import { Tag as ne } from "./components/Tag/Tag.mjs";
82
- import { TagBadge as se } from "./components/TagBadge/TagBadge.mjs";
83
- import { TagsList as de } from "./components/TagsList/TagsList.mjs";
84
- import { TextArea as Ce } from "./components/TextArea/TextArea.mjs";
85
- import { TextField as ce } from "./components/TextField/TextField.mjs";
86
- import { Tooltip as Ae } from "./components/Tooltip/Tooltip.mjs";
87
- import { Typography as Se } from "./components/Typography/Typography.mjs";
88
- import { createTheme as Be } from "./theme/baseTheme/baseTheme.mjs";
89
- import { componentsColors as he } from "./theme/palette/componentsColors/componentsColors.mjs";
90
- import { getPalette as Pe } from "./theme/palette/palette.mjs";
91
- import { SPACING as Re } from "./theme/constants.mjs";
92
- import { elevation as Ee } from "./theme/elevation.mjs";
93
- import { shape as Ge } from "./theme/shape.mjs";
94
- import { useTheme as ve } from "./theme/hooks/useTheme/index.mjs";
95
- import { useViewportType as we } from "./hooks/useViewportType/useViewportType.mjs";
96
- import { useMenu as Ue } from "./hooks/useMenu/useMenu.mjs";
97
- import { usePopover as We } from "./hooks/usePopover/usePopover.mjs";
98
- import { useToggle as Ve } from "./hooks/useToggle/useToggle.mjs";
78
+ import { RadioGroupField as ce } from "./components/RadioGroupField/RadioGroupField.mjs";
79
+ import { SearchField as Ae } from "./components/SearchField/SearchField.mjs";
80
+ import { Select as Le } from "./components/Select/Select.mjs";
81
+ import { Skeleton as Be } from "./components/Skeleton/Skeleton.mjs";
82
+ import { Slider as he } from "./components/Slider/Slider.mjs";
83
+ import { Switch as _e } from "./components/Switch/Switch.mjs";
84
+ import { Tab as Oe } from "./components/Tab/Tab.mjs";
85
+ import { Tabs as ye } from "./components/Tabs/Tabs.mjs";
86
+ import { Tag as Ge } from "./components/Tag/Tag.mjs";
87
+ import { TagBadge as Ne } from "./components/TagBadge/TagBadge.mjs";
88
+ import { TagsList as ve } from "./components/TagsList/TagsList.mjs";
89
+ import { TextArea as we } from "./components/TextArea/TextArea.mjs";
90
+ import { TextField as ke } from "./components/TextField/TextField.mjs";
91
+ import { ThemeProvider as Ye } from "./components/ThemeProvider/ThemeProvider.mjs";
92
+ import { Tooltip as ze } from "./components/Tooltip/Tooltip.mjs";
93
+ import { Typography as qe } from "./components/Typography/Typography.mjs";
94
+ import { createTheme as Ke } from "./theme/baseTheme/baseTheme.mjs";
95
+ import { componentsColors as Xe } from "./theme/palette/componentsColors/componentsColors.mjs";
96
+ import { getPalette as $e } from "./theme/palette/palette.mjs";
97
+ import { SPACING as rt } from "./theme/constants.mjs";
98
+ import { elevation as tt } from "./theme/elevation.mjs";
99
+ import { shape as mt } from "./theme/shape.mjs";
100
+ import { useViewportType as ft } from "./hooks/useViewportType/useViewportType.mjs";
101
+ import { useMenu as it } from "./hooks/useMenu/useMenu.mjs";
102
+ import { usePopover as st } from "./hooks/usePopover/usePopover.mjs";
103
+ import { useToggle as dt } from "./hooks/useToggle/useToggle.mjs";
99
104
  export {
100
105
  t as Accordion,
101
106
  m as ActionCell,
102
- f as AsyncAutocomplete,
103
- i as Autocomplete,
104
- l as Badge,
107
+ f as ActionGroup,
108
+ i as AsyncAutocomplete,
109
+ s as Autocomplete,
110
+ d as Badge,
105
111
  T as BottomDrawer,
106
- u as Button,
107
- g as ButtonColors,
108
- c as ButtonSizes,
109
- D as ButtonStates,
110
- A as ButtonVariants,
111
- B as Checkbox,
112
- h as CheckboxField,
113
- P as Chevron,
114
- R as CircularProgress,
115
- E as Collapse,
116
- G as ConfigContext,
117
- M as ConfigProvider,
118
- b as ConfirmAction,
119
- H as ConfirmDialog,
120
- k as Container,
121
- Y as ContentState,
122
- z as CopyTypography,
123
- hr as DEFAULT_ROWS_COUNT,
124
- lo as DEFAULT_SEPARATOR,
125
- so as DEFAULT_SYMBOL,
126
- To as DESCRIPTION_ROOT_CLASSNAME,
127
- q as DataGrid,
128
- mo as DataGridActionCell,
129
- fo as DataGridPagination,
130
- io as Description,
131
- Co as DescriptionList,
132
- co as Dialog,
133
- Ao as DialogActions,
134
- So as DialogContent,
135
- Bo as DialogContentText,
136
- ho as DialogHeader,
137
- Po as DialogTitle,
138
- Ro as Divider,
139
- Eo as DropdownButton,
140
- Go as ErrorBoundary,
141
- vo as Filename,
142
- wo as FormControl,
143
- Uo as FormControlLabel,
144
- Wo as FormHelperText,
145
- Vo as FormHelperTextContent,
146
- jo as FormLabel,
147
- Jo as GuidTypography,
148
- K as Head,
149
- Qo as IconButton,
150
- Zo as IconDropdownButton,
151
- Nr as Image,
152
- or as InternalErrorPlaceholder,
153
- S as LOADING_BUTTON_CLASSNAME,
154
- er as Link,
155
- pr as List,
156
- xr as ListItem,
157
- ar as ListItemButton,
158
- nr as ListItemIcon,
159
- sr as ListItemText,
160
- dr as ListSubheader,
161
- $ as MIN_DISPLAY_ROWS_BY_DEFAULT,
162
- oo as MIN_ROW_HEIGHT,
163
- Cr as Menu,
164
- cr as MenuItem,
165
- Ar as MenuList,
166
- Sr as NavMenu,
167
- Br as OutdatedReleasePlaceholder,
168
- Or as OverflowTypography,
169
- Fr as Pagination,
170
- yr as Paper,
171
- vr as Placeholder,
172
- wr as Popover,
173
- Ur as ProgressBar,
174
- ro as ROOT_ACTION_CELL_WIDTH,
175
- Wr as Radio,
176
- Vr as RadioField,
177
- jr as RadioGroup,
178
- Jr as RadioGroupContext,
179
- Qr as RadioGroupField,
180
- X as Row,
181
- Re as SPACING,
182
- Zr as SearchField,
183
- oe as Select,
184
- ee as Skeleton,
185
- to as SortStates,
186
- pe as Switch,
187
- xe as Tab,
188
- ae as Tabs,
189
- ne as Tag,
190
- se as TagBadge,
191
- de as TagsList,
192
- Ce as TextArea,
193
- ce as TextField,
194
- Ae as Tooltip,
195
- Se as Typography,
196
- he as componentsColors,
197
- Be as createTheme,
198
- Ee as elevation,
199
- Pe as getPalette,
200
- Gr as setDefaultImageStyles,
201
- Ge as shape,
202
- Ue as useMenu,
203
- We as usePopover,
204
- ve as useTheme,
205
- Ve as useToggle,
206
- we as useViewportType
112
+ c as Breadcrumbs,
113
+ E as Button,
114
+ g as ButtonBase,
115
+ M as ButtonColors,
116
+ A as ButtonGroup,
117
+ N as ButtonSizes,
118
+ b as ButtonStates,
119
+ v as ButtonVariants,
120
+ D as Card,
121
+ L as CardActions,
122
+ S as CardContent,
123
+ B as CardHeader,
124
+ k as Checkbox,
125
+ Y as CheckboxField,
126
+ z as Chevron,
127
+ q as CircularProgress,
128
+ K as Collapse,
129
+ X as ConfigContext,
130
+ Z as ConfigProvider,
131
+ oo as ConfirmAction,
132
+ eo as ConfirmDialog,
133
+ po as Container,
134
+ xo as ContentState,
135
+ ao as CopyTypography,
136
+ qr as DEFAULT_ROWS_COUNT,
137
+ Oo as DEFAULT_SEPARATOR,
138
+ Ro as DEFAULT_SYMBOL,
139
+ yo as DESCRIPTION_ROOT_CLASSNAME,
140
+ no as DataGrid,
141
+ Bo as DataGridActionCell,
142
+ ho as DataGridPagination,
143
+ _o as Description,
144
+ Go as DescriptionList,
145
+ No as DescriptionTooltip,
146
+ vo as Dialog,
147
+ wo as DialogActions,
148
+ ko as DialogContent,
149
+ Yo as DialogContentText,
150
+ zo as DialogHeader,
151
+ qo as DialogTitle,
152
+ Ko as Divider,
153
+ Xo as DropdownButton,
154
+ $o as ErrorBoundary,
155
+ rr as Filename,
156
+ tr as FormControl,
157
+ mr as FormControlLabel,
158
+ fr as FormHelperText,
159
+ ir as FormHelperTextContent,
160
+ sr as FormLabel,
161
+ dr as GuidTypography,
162
+ lo as Head,
163
+ Tr as IconButton,
164
+ cr as IconDropdownButton,
165
+ oe as Image,
166
+ Ar as InternalErrorPlaceholder,
167
+ w as LOADING_BUTTON_CLASSNAME,
168
+ Lr as Link,
169
+ Br as List,
170
+ hr as ListItem,
171
+ _r as ListItemButton,
172
+ Or as ListItemIcon,
173
+ yr as ListItemText,
174
+ Gr as ListSubheader,
175
+ co as MIN_DISPLAY_ROWS_BY_DEFAULT,
176
+ go as MIN_ROW_HEIGHT,
177
+ Nr as MaskField,
178
+ vr as Menu,
179
+ wr as MenuItem,
180
+ kr as MenuList,
181
+ Yr as NavMenu,
182
+ zr as OutdatedReleasePlaceholder,
183
+ Jr as OverflowTypography,
184
+ Qr as Pagination,
185
+ Zr as Paper,
186
+ te as Placeholder,
187
+ me as Popover,
188
+ fe as ProgressBar,
189
+ Ao as ROOT_ACTION_CELL_WIDTH,
190
+ ie as Radio,
191
+ se as RadioField,
192
+ de as RadioGroup,
193
+ Te as RadioGroupContext,
194
+ ce as RadioGroupField,
195
+ To as Row,
196
+ rt as SPACING,
197
+ Ae as SearchField,
198
+ Le as Select,
199
+ Be as Skeleton,
200
+ he as Slider,
201
+ Lo as SortStates,
202
+ _e as Switch,
203
+ Oe as Tab,
204
+ ye as Tabs,
205
+ Ge as Tag,
206
+ Ne as TagBadge,
207
+ ve as TagsList,
208
+ we as TextArea,
209
+ ke as TextField,
210
+ Ye as ThemeProvider,
211
+ ze as Tooltip,
212
+ qe as Typography,
213
+ I as buttonClasses,
214
+ h as cardActionsClasses,
215
+ P as cardClasses,
216
+ _ as cardContentClasses,
217
+ F as cardHeaderClasses,
218
+ Xe as componentsColors,
219
+ Ke as createTheme,
220
+ tt as elevation,
221
+ $e as getPalette,
222
+ re as setDefaultImageStyles,
223
+ mt as shape,
224
+ O as styled,
225
+ it as useMenu,
226
+ st as usePopover,
227
+ R as useTheme,
228
+ dt as useToggle,
229
+ ft as useViewportType
207
230
  };
@@ -0,0 +1,55 @@
1
+ import { a as q, b as A, c as _, d as G } from "./helpers-C8k3UfPS.mjs";
2
+ import E from "./SyntheticChangeError.mjs";
3
+ var D, J = ["options"], m = ["text", "email", "tel", "search", "url"], K = q(function x(g) {
4
+ var M = g.init, N = g.tracking;
5
+ A(this, x);
6
+ var p = /* @__PURE__ */ new WeakMap();
7
+ this.register = function(e) {
8
+ var l;
9
+ if (m.includes(e.type)) {
10
+ var w = (l = e._wrapperState) !== null && l !== void 0 ? l : {}, b = w.initialValue, R = b === void 0 ? "" : b, S = w.controlled, W = S !== void 0 && S, y = M({ initialValue: e.value || R, controlled: W }), I = y.value, O = y.options, r = { value: I, options: O, fallbackOptions: O }, o = { id: -1, cachedId: -1 }, t = { value: "", selectionStart: 0, selectionEnd: 0 }, h = Object.getOwnPropertyDescriptor("_valueTracker" in e ? e : HTMLInputElement.prototype, "value");
11
+ Object.defineProperty(e, "value", _(_({}, h), {}, { set: function(i) {
12
+ var n;
13
+ t.value = i, h == null || (n = h.set) === null || n === void 0 || n.call(e, i);
14
+ } })), e.value = I;
15
+ var f = function() {
16
+ var i = function() {
17
+ var n, s;
18
+ t.selectionStart = (n = e.selectionStart) !== null && n !== void 0 ? n : 0, t.selectionEnd = (s = e.selectionEnd) !== null && s !== void 0 ? s : 0, o.id = window.setTimeout(i);
19
+ };
20
+ o.id = window.setTimeout(i);
21
+ }, k = function() {
22
+ window.clearTimeout(o.id), o.id = -1, o.cachedId = -1;
23
+ }, L = function(i) {
24
+ try {
25
+ var n, s;
26
+ if (o.cachedId === o.id) throw new E("The input selection has not been updated.");
27
+ o.cachedId = o.id;
28
+ var v = e.value, a = e.selectionStart, T = e.selectionEnd;
29
+ if (a === null || T === null) throw new E("The selection attributes have not been initialized.");
30
+ var c, u = t.value;
31
+ if (i.inputType === void 0 && (t.selectionStart = 0, t.selectionEnd = u.length), a > t.selectionStart ? c = "insert" : a <= t.selectionStart && a < t.selectionEnd ? c = "deleteBackward" : a === t.selectionEnd && v.length < u.length && (c = "deleteForward"), c === void 0 || (c === "deleteBackward" || c === "deleteForward") && v.length > u.length) throw new E("Input type detection error.");
32
+ var V = "", j = t.selectionStart, B = t.selectionEnd;
33
+ if (c === "insert") V = v.slice(t.selectionStart, a);
34
+ else {
35
+ var z = u.length - v.length;
36
+ j = a, B = a + z;
37
+ }
38
+ r.value !== u ? r.options = r.fallbackOptions : r.fallbackOptions = r.options;
39
+ var C = r.options, F = N({ inputType: c, previousValue: u, previousOptions: C, value: v, addedValue: V, changeStart: j, changeEnd: B, selectionStart: a, selectionEnd: T }), H = F.options, d = G(F, J);
40
+ e.value = d.value, e.setSelectionRange(d.selectionStart, d.selectionEnd), r.value = d.value, r.options = H, t.selectionStart = d.selectionStart, t.selectionEnd = d.selectionEnd, (n = e._valueTracker) === null || n === void 0 || (s = n.setValue) === null || s === void 0 || s.call(n, u);
41
+ } catch (P) {
42
+ if (e.value = t.value, e.setSelectionRange(t.selectionStart, t.selectionEnd), i.preventDefault(), i.stopPropagation(), P.name !== "SyntheticChangeError") throw P;
43
+ }
44
+ };
45
+ document.activeElement === e && f(), e.addEventListener("focus", f), e.addEventListener("blur", k), e.addEventListener("input", L), p.set(e, { onFocus: f, onBlur: k, onInput: L });
46
+ } else process.env.NODE_ENV !== "production" && console.warn("Warn: The input element type does not match one of the types: ".concat(m.join(", "), "."));
47
+ }, this.unregister = function(e) {
48
+ var l = p.get(e);
49
+ l !== void 0 && (e.removeEventListener("focus", l.onFocus), e.removeEventListener("blur", l.onBlur), e.removeEventListener("input", l.onInput), p.delete(e));
50
+ };
51
+ });
52
+ D = K, Object.defineProperty(D.prototype, Symbol.toStringTag, { writable: !1, enumerable: !1, configurable: !0, value: "Input" });
53
+ export {
54
+ K as default
55
+ };
@@ -0,0 +1,11 @@
1
+ import { a as e, e as s, f as o, b as i, g as u } from "./helpers-C8k3UfPS.mjs";
2
+ var h = function(t) {
3
+ function r(n) {
4
+ var a;
5
+ return i(this, r), (a = u(this, r, [n])).name = "SyntheticChangeError", a;
6
+ }
7
+ return s(r, t), e(r);
8
+ }(o(Error));
9
+ export {
10
+ h as default
11
+ };
@@ -0,0 +1,8 @@
1
+ function c(r, n) {
2
+ return new Proxy(r, { set: function(u, t, e) {
3
+ return t === "current" && (e !== r.current && (r.current !== null && n.unregister(r.current), e !== null && n.register(e)), u[t] = e, !0);
4
+ } });
5
+ }
6
+ export {
7
+ c as default
8
+ };