@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.
- package/dist/hooks/useResponsive.d.ts +2 -0
- package/dist/rabex-ui.cjs.development.js +8 -0
- package/dist/rabex-ui.cjs.development.js.map +1 -1
- package/dist/rabex-ui.cjs.production.min.js +1 -1
- package/dist/rabex-ui.cjs.production.min.js.map +1 -1
- package/dist/rabex-ui.esm.js +8 -0
- package/dist/rabex-ui.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/rabex-ui.esm.js
CHANGED
@@ -647,6 +647,12 @@ function useResponsive() {
|
|
647
647
|
var isXL = useMediaQuery(function (theme) {
|
648
648
|
return "(min-width:" + theme.breakpoints.values.xl + "px)";
|
649
649
|
});
|
650
|
+
var isXXL = useMediaQuery(function (theme) {
|
651
|
+
return "(min-width:" + theme.breakpoints.values.xxl + "px)";
|
652
|
+
});
|
653
|
+
var isXXXL = useMediaQuery(function (theme) {
|
654
|
+
return "(min-width:" + theme.breakpoints.values.xxxl + "px)";
|
655
|
+
});
|
650
656
|
function matches(props) {
|
651
657
|
var result = _handleDefaultValue(props);
|
652
658
|
if (_hasValue(props.xs) && isXS) result = props.xs;
|
@@ -654,6 +660,8 @@ function useResponsive() {
|
|
654
660
|
if (_hasValue(props.md) && isMD) result = props.md;
|
655
661
|
if (_hasValue(props.lg) && isLG) result = props.lg;
|
656
662
|
if (_hasValue(props.xl) && isXL) result = props.xl;
|
663
|
+
if (_hasValue(props.xxl) && isXXL) result = props.xxl;
|
664
|
+
if (_hasValue(props.xxxl) && isXXXL) result = props.xxxl;
|
657
665
|
return result;
|
658
666
|
}
|
659
667
|
return {
|