@rabex-kit/rabex-ui 0.1.56 → 0.2.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.
@@ -664,8 +664,20 @@ function useResponsive() {
664
664
  if (_hasValue(props.xxxl) && isXXXL) result = props.xxxl;
665
665
  return result;
666
666
  }
667
+ // Determine current breakpoint from media queries
668
+ var getCurrentBreakpoint = function getCurrentBreakpoint() {
669
+ if (isXXXL) return 'xxxl';
670
+ if (isXXL) return 'xxl';
671
+ if (isXL) return 'xl';
672
+ if (isLG) return 'lg';
673
+ if (isMD) return 'md';
674
+ if (isSM) return 'sm';
675
+ return 'xs';
676
+ };
677
+ var currentBreakpoint = getCurrentBreakpoint();
667
678
  return {
668
- matches: matches
679
+ matches: matches,
680
+ currentBreakpoint: currentBreakpoint
669
681
  };
670
682
  }
671
683
 
@@ -4801,6 +4813,19 @@ var RabexContainer = {
4801
4813
  root: {
4802
4814
  '&.MuiContainer-root': {
4803
4815
  padding: 0
4816
+ },
4817
+ // These styles will apply to all containers
4818
+ '@media (min-width: 1200px)': {
4819
+ maxWidth: '928px'
4820
+ },
4821
+ '@media (min-width: 1440px)': {
4822
+ maxWidth: '1168px'
4823
+ },
4824
+ '@media (min-width: 1536px)': {
4825
+ maxWidth: '1264px'
4826
+ },
4827
+ '@media (min-width: 1920px)': {
4828
+ maxWidth: '1376px'
4804
4829
  }
4805
4830
  }
4806
4831
  }
@@ -5077,7 +5102,7 @@ var Collapse = function Collapse(_ref) {
5077
5102
  * You can read Material-UI Container Documentation [here](https://mui.com/material-ui/api/Container/).
5078
5103
  *
5079
5104
  * ```typescript
5080
- * import { Container } from '@rabex-kit/core';
5105
+ * import { Container } from '@rabex-kit/rabex-ui';
5081
5106
  * ```
5082
5107
  *
5083
5108
  *