@rabex-kit/rabex-ui 0.1.55 → 0.1.56

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.
@@ -5,5 +5,7 @@ export default function useResponsive(): {
5
5
  md?: any;
6
6
  lg?: any;
7
7
  xl?: any;
8
+ xxl?: any;
9
+ xxxl?: any;
8
10
  }) => any;
9
11
  };
@@ -652,6 +652,12 @@ function useResponsive() {
652
652
  var isXL = useMediaQuery(function (theme) {
653
653
  return "(min-width:" + theme.breakpoints.values.xl + "px)";
654
654
  });
655
+ var isXXL = useMediaQuery(function (theme) {
656
+ return "(min-width:" + theme.breakpoints.values.xxl + "px)";
657
+ });
658
+ var isXXXL = useMediaQuery(function (theme) {
659
+ return "(min-width:" + theme.breakpoints.values.xxxl + "px)";
660
+ });
655
661
  function matches(props) {
656
662
  var result = _handleDefaultValue(props);
657
663
  if (_hasValue(props.xs) && isXS) result = props.xs;
@@ -659,6 +665,8 @@ function useResponsive() {
659
665
  if (_hasValue(props.md) && isMD) result = props.md;
660
666
  if (_hasValue(props.lg) && isLG) result = props.lg;
661
667
  if (_hasValue(props.xl) && isXL) result = props.xl;
668
+ if (_hasValue(props.xxl) && isXXL) result = props.xxl;
669
+ if (_hasValue(props.xxxl) && isXXXL) result = props.xxxl;
662
670
  return result;
663
671
  }
664
672
  return {