@os-design/media 1.0.26 → 1.0.28
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/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { default as m } from
|
|
2
|
-
export { default as useIsMaxWidth } from
|
|
3
|
-
export { default as useIsMinWidth } from
|
|
4
|
-
export { default as useIsWidth } from
|
|
5
|
-
export * from
|
|
1
|
+
export { default as m } from "./media/index.js";
|
|
2
|
+
export { default as useIsMaxWidth } from "./useIsMaxWidth/index.js";
|
|
3
|
+
export { default as useIsMinWidth } from "./useIsMinWidth/index.js";
|
|
4
|
+
export { default as useIsWidth } from "./useIsWidth/index.js";
|
|
5
|
+
export * from "./media/index.js";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { useCallback } from 'react';
|
|
2
|
-
import { maxBreakpoints } from
|
|
3
|
-
import useIsWidth from
|
|
4
|
-
|
|
2
|
+
import { maxBreakpoints } from "../media/index.js";
|
|
3
|
+
import useIsWidth from "../useIsWidth/index.js";
|
|
5
4
|
/**
|
|
6
5
|
* Checks whether the width of the screen is less than or equal to
|
|
7
6
|
* the specified media breakpoint (for example, sm).
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { useCallback } from 'react';
|
|
2
|
-
import { minBreakpoints } from
|
|
3
|
-
import useIsWidth from
|
|
4
|
-
|
|
2
|
+
import { minBreakpoints } from "../media/index.js";
|
|
3
|
+
import useIsWidth from "../useIsWidth/index.js";
|
|
5
4
|
/**
|
|
6
5
|
* Checks whether the width of the screen is greater than or equal to
|
|
7
6
|
* the specified media breakpoint (for example, md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@os-design/media",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"repository": "git@gitlab.com:os-team/libs/os-design.git",
|
|
6
6
|
"type": "module",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": ">=18"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "53c233a23d50ce2f7d9bc3ae9c96d9142e14b7ac"
|
|
35
35
|
}
|