@os-design/media 1.0.27 → 1.0.29

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.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { default as m } from './media';
2
- export { default as useIsMaxWidth } from './useIsMaxWidth';
3
- export { default as useIsMinWidth } from './useIsMinWidth';
4
- export { default as useIsWidth } from './useIsWidth';
5
- export * from './media';
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';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,CAAC,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AAErD,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,CAAC,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAE9D,cAAc,kBAAkB,CAAC"}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
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
+ 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,4 +1,4 @@
1
- import { type MaxBreakpoints } from '../media';
1
+ import { type MaxBreakpoints } from '../media/index.js';
2
2
  /**
3
3
  * Checks whether the width of the screen is less than or equal to
4
4
  * the specified media breakpoint (for example, sm).
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/useIsMaxWidth/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/D;;;GAGG;AACH,QAAA,MAAM,aAAa,eAAgB,MAAM,cAAc,KAAG,OAMzD,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/useIsMaxWidth/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxE;;;GAGG;AACH,QAAA,MAAM,aAAa,eAAgB,MAAM,cAAc,KAAG,OAMzD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { useCallback } from 'react';
2
- import { maxBreakpoints } from "../media/index.js";
3
- import useIsWidth from "../useIsWidth/index.js";
2
+ import { maxBreakpoints } from '../media/index.js';
3
+ import useIsWidth from '../useIsWidth/index.js';
4
+
4
5
  /**
5
6
  * Checks whether the width of the screen is less than or equal to
6
7
  * the specified media breakpoint (for example, sm).
@@ -1,4 +1,4 @@
1
- import { type MinBreakpoints } from '../media';
1
+ import { type MinBreakpoints } from '../media/index.js';
2
2
  /**
3
3
  * Checks whether the width of the screen is greater than or equal to
4
4
  * the specified media breakpoint (for example, md).
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/useIsMinWidth/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAkB,MAAM,UAAU,CAAC;AAG/D;;;GAGG;AACH,QAAA,MAAM,aAAa,eAAgB,MAAM,cAAc,KAAG,OAMzD,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/useIsMinWidth/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAkB,MAAM,mBAAmB,CAAC;AAGxE;;;GAGG;AACH,QAAA,MAAM,aAAa,eAAgB,MAAM,cAAc,KAAG,OAMzD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { useCallback } from 'react';
2
- import { minBreakpoints } from "../media/index.js";
3
- import useIsWidth from "../useIsWidth/index.js";
2
+ import { minBreakpoints } from '../media/index.js';
3
+ import useIsWidth from '../useIsWidth/index.js';
4
+
4
5
  /**
5
6
  * Checks whether the width of the screen is greater than or equal to
6
7
  * 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.27",
3
+ "version": "1.0.29",
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": "211f9e5f1ecca50454cc7415359de5a4d950c7b1"
34
+ "gitHead": "73037c89a49a62e8efd6fc87b80052988b0aa199"
35
35
  }
package/src/index.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { default as m } from './media';
2
- export { default as useIsMaxWidth } from './useIsMaxWidth';
3
- export { default as useIsMinWidth } from './useIsMinWidth';
4
- export { default as useIsWidth } from './useIsWidth';
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
5
 
6
- export * from './media';
6
+ export * from './media/index.js';
@@ -1,6 +1,6 @@
1
1
  import { useCallback } from 'react';
2
- import { maxBreakpoints, type MaxBreakpoints } from '../media';
3
- import useIsWidth from '../useIsWidth';
2
+ import { maxBreakpoints, type MaxBreakpoints } from '../media/index.js';
3
+ import useIsWidth from '../useIsWidth/index.js';
4
4
 
5
5
  /**
6
6
  * Checks whether the width of the screen is less than or equal to
@@ -1,6 +1,6 @@
1
1
  import { useCallback } from 'react';
2
- import { type MinBreakpoints, minBreakpoints } from '../media';
3
- import useIsWidth from '../useIsWidth';
2
+ import { type MinBreakpoints, minBreakpoints } from '../media/index.js';
3
+ import useIsWidth from '../useIsWidth/index.js';
4
4
 
5
5
  /**
6
6
  * Checks whether the width of the screen is greater than or equal to