@rabex-kit/rabex-ui 0.1.18 → 0.1.20

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.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AutocompleteProps as MuiAutocompleteProps } from '@mui/material';
3
2
  export declare type AutocompleteProps<T> = MuiAutocompleteProps<T, boolean | undefined, boolean | undefined, boolean | undefined>;
4
3
  /**
@@ -7,7 +6,7 @@ export declare type AutocompleteProps<T> = MuiAutocompleteProps<T, boolean | und
7
6
  * you can see Autocomplete Documentation api that I mentioned below [here](https://mui.com/material-ui/react-autocomplete/)
8
7
  *
9
8
  * ```typescript
10
- * import { Autocomplete } from '@rabex-kit/core';
9
+ * import { Autocomplete } from '@rabex-kit/rabex-ui';
11
10
  * ```
12
11
  *
13
12
  *
@@ -13,7 +13,7 @@ export declare type LoadingButtonProps = Omit<MuiLoadingButtonProps, 'size' | 'c
13
13
  * You can read Material-UI LoadingButton Documentation [here](https://mui.com/material-ui/api/loading-button/).
14
14
  *
15
15
  * ```typescript
16
- * import { LoadingButton } from '@rabex-kit/core';
16
+ * import { LoadingButton } from '@rabex-kit/rabex-ui';
17
17
  * ```
18
18
  *
19
19
  *
@@ -3,7 +3,8 @@ import { TextFieldProps as MuiTextFieldProps } from '@mui/material';
3
3
  import { TypographyProps } from '../Typography';
4
4
  export declare type TextFieldProps = MuiTextFieldProps & {
5
5
  success?: boolean;
6
- size?: 'medium' | 'small';
6
+ size?: 'sm' | 'md' | 'lg' | 'xl' | 'small' | 'medium';
7
+ fill?: boolean;
7
8
  helperText?: string | ReactNode;
8
9
  titleProps?: TypographyProps;
9
10
  helperTextIcon?: ReactNode;
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -1,4 +1,14 @@
1
1
  import { Theme } from '@mui/material';
2
+ declare module '@mui/material/TextField' {
3
+ interface TextFieldPropsSizeOverrides {
4
+ small: true;
5
+ medium: true;
6
+ sm: true;
7
+ md: true;
8
+ lg: true;
9
+ xl: true;
10
+ }
11
+ }
2
12
  declare const _default: {
3
13
  components: {
4
14
  defaultProps?: Partial<import("@mui/material").FilledTextFieldProps> | Partial<import("@mui/material").StandardTextFieldProps> | Partial<import("@mui/material").OutlinedTextFieldProps> | undefined;
@@ -10,7 +10,7 @@ export declare type UploadButtonProps = Omit<RabexButtonProps, 'inputProps'> & {
10
10
  * You can read Material-UI Button Documentation [here](https://mui.com/material-ui/api/Button/).
11
11
  *
12
12
  * ```typescript
13
- * import { UploadButton } from '@rabex-kit/core';
13
+ * import { UploadButton } from '@rabex-kit/rabex-ui';
14
14
  * ```
15
15
  *
16
16
  *
@@ -12,7 +12,6 @@ var MuiAccordionSummary = _interopDefault(require('@mui/material/AccordionSummar
12
12
  var MuiAlert = _interopDefault(require('@mui/material/Alert/Alert.js'));
13
13
  var Stack$1 = _interopDefault(require('@mui/material/Stack/Stack.js'));
14
14
  var MuiTypography = _interopDefault(require('@mui/material/Typography/Typography.js'));
15
- var useTheme = _interopDefault(require('@mui/material/styles/useTheme.js'));
16
15
  var useMediaQuery = _interopDefault(require('@mui/material/useMediaQuery/useMediaQuery.js'));
17
16
  var useScrollTrigger_js = _interopDefault(require('@mui/material/useScrollTrigger/useScrollTrigger.js'));
18
17
  var _replace = _interopDefault(require('lodash/replace'));
@@ -20,7 +19,7 @@ var _includes = _interopDefault(require('lodash/includes'));
20
19
  var bigDecimal = _interopDefault(require('js-big-decimal'));
21
20
  var _filter = _interopDefault(require('lodash/filter'));
22
21
  var _isUndefined = _interopDefault(require('lodash/isUndefined'));
23
- var useTheme$1 = _interopDefault(require('@mui/material/styles/useTheme'));
22
+ var useTheme = _interopDefault(require('@mui/material/styles/useTheme'));
24
23
  var MuiAlertTitle = _interopDefault(require('@mui/material/AlertTitle/AlertTitle.js'));
25
24
  var MuiAvatar = _interopDefault(require('@mui/material/Avatar/Avatar.js'));
26
25
  var Box$1 = _interopDefault(require('@mui/material/Box/Box.js'));
@@ -41,6 +40,7 @@ var MuiFormLabel = _interopDefault(require('@mui/material/FormLabel/FormLabel.js
41
40
  var MuiGrid = _interopDefault(require('@mui/material/Unstable_Grid2'));
42
41
  var MuiIconButton = _interopDefault(require('@mui/material/IconButton/IconButton.js'));
43
42
  var MuiInput = _interopDefault(require('@mui/material/Input/Input.js'));
43
+ var useTheme$1 = _interopDefault(require('@mui/material/styles/useTheme.js'));
44
44
  var MuiInputAdornment = _interopDefault(require('@mui/material/InputAdornment/InputAdornment.js'));
45
45
  var MuiInputLabel = _interopDefault(require('@mui/material/InputLabel/InputLabel.js'));
46
46
  var MuiLinearProgress = _interopDefault(require('@mui/material/LinearProgress/LinearProgress.js'));
@@ -265,7 +265,7 @@ var AlertAction = function AlertAction(_ref) {
265
265
  })));
266
266
  };
267
267
 
268
- var _excluded$1 = ["weight", "sx", "color"];
268
+ var _excluded$1 = ["weight", "sx"];
269
269
  var fontWeight = {
270
270
  bold: '700',
271
271
  semiBold: '600',
@@ -290,15 +290,12 @@ var fontWeight = {
290
290
  var Typography = function Typography(_ref) {
291
291
  var weight = _ref.weight,
292
292
  sx = _ref.sx,
293
- color = _ref.color,
294
293
  props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
295
- var _useTheme = useTheme(),
296
- palette = _useTheme.palette;
294
+ // const { palette } = useTheme();
297
295
  return React__default.createElement(MuiTypography, Object.assign({
298
296
  sx: _extends({}, sx, {
299
297
  fontWeight: weight ? fontWeight[weight] : 'regular'
300
- }),
301
- color: color || palette.textColor[900]
298
+ })
302
299
  }, props));
303
300
  };
304
301
  Typography.defaultProps = {
@@ -1291,7 +1288,7 @@ var MuiInputStyled = /*#__PURE__*/styled(MuiInput, {
1291
1288
  var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
1292
1289
  var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
1293
1290
  //
1294
- var _useTheme = useTheme(),
1291
+ var _useTheme = useTheme$1(),
1295
1292
  mode = _useTheme.palette.mode;
1296
1293
  var _ref2 = props || {},
1297
1294
  title = _ref2.title,
@@ -1576,7 +1573,7 @@ var ListSubHeader = function ListSubHeader(props) {
1576
1573
  * You can read Material-UI LoadingButton Documentation [here](https://mui.com/material-ui/api/loading-button/).
1577
1574
  *
1578
1575
  * ```typescript
1579
- * import { LoadingButton } from '@rabex-kit/core';
1576
+ * import { LoadingButton } from '@rabex-kit/rabex-ui';
1580
1577
  * ```
1581
1578
  *
1582
1579
  *
@@ -3814,16 +3811,15 @@ var components$3 = {
3814
3811
  transition: 'all 0.2s',
3815
3812
  padding: spacing(2.5, 3),
3816
3813
  border: isLight ? "1px solid " + palette.base[300] : "1px solid " + palette.secondary.A100,
3817
- backgroundColor: isLight
3814
+ backgroundColor: isLight ?
3818
3815
  // ? palette.grayBackground.A20
3819
- ? 'transparent' : palette.secondary.A100,
3816
+ 'transparent' : palette.secondary.A100,
3820
3817
  '&:hover': {
3821
- border: isLight
3822
- // ? `1px solid ${palette.textColor.A20}`
3823
- ? "1px solid " + palette.base[600] : "1px solid " + palette.base.A60,
3824
- backgroundColor: isLight
3818
+ border: isLight ? // ? `1px solid ${palette.textColor.A20}`
3819
+ "1px solid " + palette.base[600] : "1px solid " + palette.base.A60,
3820
+ backgroundColor: isLight ?
3825
3821
  // ? palette.grayBackground.A20
3826
- ? 'transparent' : palette.base.A60
3822
+ 'transparent' : palette.base.A60
3827
3823
  },
3828
3824
  '&.Mui-focused': {
3829
3825
  border: isLight ? "1.5px solid " + palette.primary[500] : "1px solid " + palette.primary.A80
@@ -3833,12 +3829,12 @@ var components$3 = {
3833
3829
  backgroundColor: isLight ? palette.base.A0 : colorManipulator_js.alpha(palette.error.A100 || '', 0.1)
3834
3830
  },
3835
3831
  '&.Mui-disabled': {
3836
- borderColor: isLight
3832
+ borderColor: isLight ?
3837
3833
  // ? palette.grayBackground.A40
3838
- ? palette.base[300] : palette.secondary.A100,
3839
- backgroundColor: isLight
3834
+ palette.base[300] : palette.secondary.A100,
3835
+ backgroundColor: isLight ?
3840
3836
  // ? palette.grayBackground.A10
3841
- ? 'transparent' : palette.secondary.A100
3837
+ 'transparent' : palette.secondary.A100
3842
3838
  }
3843
3839
  };
3844
3840
  },
@@ -3856,7 +3852,8 @@ var components$3 = {
3856
3852
  '&::.placeholder': {
3857
3853
  opacity: 1,
3858
3854
  color: isLight ? palette.textColor.A40 : palette.textColor.A30
3859
- }
3855
+ },
3856
+ '&:-webkit-autofill': {}
3860
3857
  };
3861
3858
  }
3862
3859
  },
@@ -3868,6 +3865,7 @@ var components$3 = {
3868
3865
  var theme = _ref3.theme;
3869
3866
  return {
3870
3867
  fontSize: '14px',
3868
+ lineHeight: '24px',
3871
3869
  padding: theme.spacing(1, 3)
3872
3870
  };
3873
3871
  }
@@ -3879,6 +3877,7 @@ var components$3 = {
3879
3877
  var theme = _ref4.theme;
3880
3878
  return {
3881
3879
  fontSize: '14px',
3880
+ lineHeight: '24px',
3882
3881
  padding: theme.spacing(2, 3)
3883
3882
  };
3884
3883
  }
@@ -3890,6 +3889,7 @@ var components$3 = {
3890
3889
  var theme = _ref5.theme;
3891
3890
  return {
3892
3891
  fontSize: '14px',
3892
+ lineHeight: '24px',
3893
3893
  padding: theme.spacing(3)
3894
3894
  };
3895
3895
  }
@@ -3901,6 +3901,7 @@ var components$3 = {
3901
3901
  var theme = _ref6.theme;
3902
3902
  return {
3903
3903
  fontSize: '16px',
3904
+ lineHeight: '24px',
3904
3905
  padding: theme.spacing(3)
3905
3906
  };
3906
3907
  }
@@ -3910,33 +3911,30 @@ var components$3 = {
3910
3911
  },
3911
3912
  style: function style(_ref7) {
3912
3913
  var theme = _ref7.theme;
3913
- if (theme.palette.mode === 'light') {
3914
- var isLight = theme.palette.mode === 'light';
3915
- return {
3916
- // border: `1px solid ${theme.palette.base[600]}`,
3917
- border: 'transparent',
3918
- background: theme.palette.base[200],
3919
- '&.Mui-disabled': {
3920
- background: isLight ? theme.palette.base[100] : theme.palette.secondary.A100
3921
- },
3922
- '&:hover': {
3923
- border: isLight
3924
- // ? `1px solid ${palette.textColor.A20}`
3925
- ? "1px solid " + theme.palette.base[600] : "1px solid " + theme.palette.base.A60,
3926
- backgroundColor: isLight
3927
- // ? palette.grayBackground.A20
3928
- ? theme.palette.base[200] : theme.palette.base.A60
3929
- },
3930
- '&.Mui-focused': {
3931
- border: isLight ? "1.5px solid " + theme.palette.primary[500] : "1px solid " + theme.palette.primary.A80,
3932
- backgroundColor: isLight ? theme.palette.base[200] : theme.palette.base.A60
3933
- },
3934
- '&.Mui-error': {
3935
- border: isLight ? "1.5px solid " + theme.palette.error[400] : "1px solid " + theme.palette.error.A60,
3936
- backgroundColor: isLight ? theme.palette.base[200] : colorManipulator_js.alpha(theme.palette.error.A100 || '', 0.1)
3937
- }
3938
- };
3939
- } else return {};
3914
+ var isLight = theme.palette.mode === 'light';
3915
+ return {
3916
+ // border: `1px solid ${theme.palette.base[600]}`,
3917
+ border: 'transparent',
3918
+ background: theme.palette.base[200],
3919
+ '&.Mui-disabled': {
3920
+ background: isLight ? theme.palette.base[100] : theme.palette.secondary.A100
3921
+ },
3922
+ '&:hover': {
3923
+ border: isLight ? // ? `1px solid ${palette.textColor.A20}`
3924
+ "1px solid " + theme.palette.base[600] : "1px solid " + theme.palette.base.A60,
3925
+ backgroundColor: isLight ?
3926
+ // ? palette.grayBackground.A20
3927
+ theme.palette.base[200] : theme.palette.base.A60
3928
+ },
3929
+ '&.Mui-focused': {
3930
+ border: isLight ? "1.5px solid " + theme.palette.primary[500] : "1px solid " + theme.palette.primary.A80,
3931
+ backgroundColor: isLight ? theme.palette.base[200] : theme.palette.base.A60
3932
+ },
3933
+ '&.Mui-error': {
3934
+ border: isLight ? "1.5px solid " + theme.palette.error[400] : "1px solid " + theme.palette.error.A60,
3935
+ backgroundColor: isLight ? theme.palette.base[200] : colorManipulator_js.alpha(theme.palette.error.A100 || '', 0.1)
3936
+ }
3937
+ };
3940
3938
  }
3941
3939
  }, {
3942
3940
  props: {
@@ -4513,13 +4511,18 @@ var components$6 = {
4513
4511
  root: function root(_ref) {
4514
4512
  var _ref$theme = _ref.theme,
4515
4513
  palette = _ref$theme.palette,
4516
- spacing = _ref$theme.spacing;
4514
+ spacing = _ref$theme.spacing,
4515
+ _ref$ownerState = _ref.ownerState,
4516
+ size = _ref$ownerState.size,
4517
+ fill = _ref$ownerState.fill,
4518
+ success = _ref$ownerState.success;
4519
+ console.log(size, fill, success);
4517
4520
  var isLight = palette.mode === 'light';
4518
4521
  return {
4519
4522
  '& > div.MuiInputBase-root > fieldset': {
4520
4523
  border: 0
4521
4524
  },
4522
- '& > div.MuiInputBase-root': {
4525
+ '& > div.MuiInputBase-root': _extends({
4523
4526
  borderRadius: '8px',
4524
4527
  gap: spacing(1),
4525
4528
  transition: 'all 0.2s',
@@ -4541,8 +4544,46 @@ var components$6 = {
4541
4544
  '&.Mui-disabled': {
4542
4545
  borderColor: isLight ? palette.grayBackground.A40 : palette.secondary.A100,
4543
4546
  backgroundColor: isLight ? palette.grayBackground.A10 : palette.secondary.A100
4547
+ },
4548
+ '&:-webkit-autofill': {}
4549
+ }, size === 'sm' && {
4550
+ fontSize: '14px',
4551
+ lineHeight: '24px',
4552
+ padding: spacing(1, 3)
4553
+ }, size === 'md' && {
4554
+ fontSize: '14px',
4555
+ lineHeight: '24px',
4556
+ padding: spacing(2, 3)
4557
+ }, size === 'lg' && {
4558
+ fontSize: '14px',
4559
+ lineHeight: '24px',
4560
+ padding: spacing(3)
4561
+ }, size === 'xl' && {
4562
+ fontSize: '16px',
4563
+ lineHeight: '24px',
4564
+ padding: spacing(3)
4565
+ }, fill === true && {
4566
+ border: 'transparent',
4567
+ background: isLight ? palette.base[200] : undefined,
4568
+ '&.Mui-disabled': {
4569
+ background: isLight ? palette.base[100] : palette.secondary.A100
4570
+ },
4571
+ '&:hover': {
4572
+ border: isLight ? "1px solid " + palette.base[600] : "1px solid " + palette.base.A60,
4573
+ backgroundColor: isLight ? palette.base[200] : palette.base.A60
4574
+ },
4575
+ '&.Mui-focused': {
4576
+ border: isLight ? "1.5px solid " + palette.primary[500] : "1px solid " + palette.primary.A80,
4577
+ backgroundColor: isLight ? palette.base[200] : palette.base.A60
4578
+ },
4579
+ '&.Mui-error': {
4580
+ border: isLight ? "1.5px solid " + palette.error[400] : "1px solid " + palette.error.A60,
4581
+ backgroundColor: isLight ? palette.base[200] : colorManipulator_js.alpha(palette.error.A100 || '', 0.1)
4544
4582
  }
4545
- },
4583
+ }, success === true && {
4584
+ border: isLight ? "1px solid " + palette.success.A100 : "1px solid " + palette.success.A40,
4585
+ backgroundColor: isLight ? palette.base.A0 : colorManipulator_js.alpha(palette.success.A100, 0.1)
4586
+ }),
4546
4587
  '& > div.MuiInputBase-root > input.MuiInputBase-input': {
4547
4588
  color: isLight ? palette.textColor.A80 : palette.textColor.A0,
4548
4589
  padding: spacing(0),
@@ -4555,7 +4596,54 @@ var components$6 = {
4555
4596
  }
4556
4597
  };
4557
4598
  }
4558
- }
4599
+ },
4600
+ variants: [{
4601
+ props: {
4602
+ fill: true
4603
+ },
4604
+ style: function style(_ref2) {
4605
+ var theme = _ref2.theme;
4606
+ var isLight = theme.palette.mode === 'light';
4607
+ return {
4608
+ '& .MuiInputBase-root': {
4609
+ // border: `1px solid ${theme.palette.base[600]}`,
4610
+ border: 'transparent',
4611
+ background: theme.palette.base[200],
4612
+ '&.Mui-disabled': {
4613
+ background: isLight ? theme.palette.base[100] : theme.palette.secondary.A100
4614
+ },
4615
+ '&:hover': {
4616
+ border: isLight ? // ? `1px solid ${palette.textColor.A20}`
4617
+ "1px solid " + theme.palette.base[600] : "1px solid " + theme.palette.base.A60,
4618
+ backgroundColor: isLight ?
4619
+ // ? palette.grayBackground.A20
4620
+ theme.palette.base[200] : theme.palette.base.A60
4621
+ },
4622
+ '&.Mui-focused': {
4623
+ border: isLight ? "1.5px solid " + theme.palette.primary[500] : "1px solid " + theme.palette.primary.A80,
4624
+ backgroundColor: isLight ? theme.palette.base[200] : theme.palette.base.A60
4625
+ },
4626
+ '&.Mui-error': {
4627
+ border: isLight ? "1.5px solid " + theme.palette.error[400] : "1px solid " + theme.palette.error.A60,
4628
+ backgroundColor: isLight ? theme.palette.base[200] : colorManipulator_js.alpha(theme.palette.error.A100 || '', 0.1)
4629
+ }
4630
+ }
4631
+ };
4632
+ }
4633
+ }, {
4634
+ props: {
4635
+ success: true
4636
+ },
4637
+ style: function style(_ref3) {
4638
+ var palette = _ref3.theme.palette;
4639
+ return {
4640
+ '& .MuiInputBase-root': {
4641
+ border: palette.mode === 'light' ? "1px solid " + palette.success.A100 : "1px solid " + palette.success.A40,
4642
+ backgroundColor: palette.mode === 'light' ? palette.base.A0 : colorManipulator_js.alpha(palette.success.A100, 0.1)
4643
+ }
4644
+ };
4645
+ }
4646
+ }]
4559
4647
  };
4560
4648
  var RabexTextField = {
4561
4649
  components: components$6
@@ -4778,7 +4866,7 @@ Tooltip.defaultProps = {
4778
4866
  * you can see Autocomplete Documentation api that I mentioned below [here](https://mui.com/material-ui/react-autocomplete/)
4779
4867
  *
4780
4868
  * ```typescript
4781
- * import { Autocomplete } from '@rabex-kit/core';
4869
+ * import { Autocomplete } from '@rabex-kit/rabex-ui';
4782
4870
  * ```
4783
4871
  *
4784
4872
  *
@@ -4996,7 +5084,7 @@ var FormikSelect = function FormikSelect(_ref) {
4996
5084
  }, text));
4997
5085
  };
4998
5086
 
4999
- var _excluded$i = ["title", "helperTextEndAdornment", "helperTextEndAdornmentProps", "titleProps", "helperText", "helperTextIcon", "helperTextProps", "value", "onChange", "valueFormat", "valueFormatOption"];
5087
+ var _excluded$i = ["title", "helperTextEndAdornment", "helperTextEndAdornmentProps", "titleProps", "helperText", "helperTextIcon", "helperTextProps", "value", "onChange", "valueFormat", "valueFormatOption", "fill", "success"];
5000
5088
  function _handleHelperColor$1(props, key) {
5001
5089
  var _props$key;
5002
5090
  if (props.error) return 'error.A100';
@@ -5009,7 +5097,7 @@ function _handleHelperColor$1(props, key) {
5009
5097
  * you can see TextField Documentation api that I mentioned below [here](https://mui.com/material-ui/api/text-field/)
5010
5098
  *
5011
5099
  * ```typescript
5012
- * import { TextField } from '@rabex-kit/core';
5100
+ * import { TextField } from '@rabex-kit/rabex-ui';
5013
5101
  * ```
5014
5102
  *
5015
5103
  *
@@ -5019,7 +5107,7 @@ function _handleHelperColor$1(props, key) {
5019
5107
  var MuiTextFieldStyled = /*#__PURE__*/styled(MuiTextField, {
5020
5108
  name: 'MuiTextField',
5021
5109
  shouldForwardProp: function shouldForwardProp(prop) {
5022
- return !['titleProps', 'helperText', 'helperTextIcon', 'helperTextProps', 'helperTextEndAdornment', 'helperTextEndAdornmentProps', 'success', 'valueFormat', 'valueFormatOption'].includes(prop);
5110
+ return !['titleProps', 'helperText', 'helperTextIcon', 'helperTextProps', 'helperTextEndAdornment', 'helperTextEndAdornmentProps', 'success', 'valueFormat', 'valueFormatOption', 'fill'].includes(prop);
5023
5111
  }
5024
5112
  })(function () {
5025
5113
  return {};
@@ -5059,7 +5147,7 @@ var TextField = function TextField(props) {
5059
5147
  };
5060
5148
  return React__default.createElement(Stack, {
5061
5149
  flexDirection: "column",
5062
- gap: 2,
5150
+ gap: props.size === 'sm' ? 1 : 2,
5063
5151
  flexGrow: 1
5064
5152
  }, title && React__default.createElement(Typography, Object.assign({}, titleProps), title), React__default.createElement(MuiTextFieldStyled, Object.assign({}, other, {
5065
5153
  value: valueFormat ? _valueFormatHandler(value) : value,
@@ -5085,7 +5173,8 @@ var TextField = function TextField(props) {
5085
5173
  };
5086
5174
  TextField.defaultProps = {
5087
5175
  success: false,
5088
- size: 'medium',
5176
+ fill: false,
5177
+ size: 'md',
5089
5178
  titleProps: {
5090
5179
  variant: 'body2',
5091
5180
  weight: 'bold',
@@ -5623,7 +5712,7 @@ var _excluded$l = ["inputProps", "children"];
5623
5712
  * You can read Material-UI Button Documentation [here](https://mui.com/material-ui/api/Button/).
5624
5713
  *
5625
5714
  * ```typescript
5626
- * import { UploadButton } from '@rabex-kit/core';
5715
+ * import { UploadButton } from '@rabex-kit/rabex-ui';
5627
5716
  * ```
5628
5717
  *
5629
5718
  *
@@ -5785,7 +5874,7 @@ SegmentedControlTab.defaultProps = {};
5785
5874
 
5786
5875
  exports.useMediaQuery = useMediaQuery;
5787
5876
  exports.useScrollTrigger = useScrollTrigger_js;
5788
- exports.useTheme = useTheme$1;
5877
+ exports.useTheme = useTheme;
5789
5878
  exports.styled = styled;
5790
5879
  exports.CssBaseline = CssBaseline_js;
5791
5880
  exports.ThemeProvider = ThemeProvider_js;