react-responsive-tools 2.3.9 → 2.3.11

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.
@@ -1,6 +1,6 @@
1
1
  import { useMediaQuery } from 'react-responsive';
2
- import useVariant from './useVariant';
3
- import getBreakpoint from "../functions/getBreakpoint";
2
+ import useVariant from './useVariant.js';
3
+ import getBreakpoint from "../functions/getBreakpoint.js";
4
4
  export default function useBreakpoint(b, variant = 'MtF') {
5
5
  const _bp = typeof b === 'number' ? b + 'px' : getBreakpoint(b);
6
6
  const v = useVariant(variant);
@@ -1,6 +1,6 @@
1
1
  import { useMediaQuery } from 'react-responsive';
2
- import useVariant from './useVariant';
3
- import { getVBreakpoint } from "functions/getBreakpoint";
2
+ import useVariant from './useVariant.js';
3
+ import { getVBreakpoint } from "functions/getBreakpoint.js";
4
4
  export default function useVBreakpoint(b, variant = 'MtF') {
5
5
  const _bp = typeof b === 'number' ? b + 'px' : getVBreakpoint(b);
6
6
  const v = useVariant(variant);
package/dist/index.d.ts CHANGED
@@ -3,4 +3,4 @@ import { TBreakpoints, TVerticalBreakpoints } from 'interfaces/TBreakpoints';
3
3
  export * from './hooks/useBreakpoint.js';
4
4
  export * from './hooks/useVBreakpoint.js';
5
5
  export type { TBreakpoints, TBreakpoint, TVerticalBreakpoint, TVerticalBreakpoints, };
6
- export * from './components/horizontal.jsx';
6
+ export * from './components/horizontal.js';
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  export * from './hooks/useBreakpoint.js';
2
2
  export * from './hooks/useVBreakpoint.js';
3
- export * from './components/horizontal.jsx';
3
+ export * from './components/horizontal.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-responsive-tools",
3
- "version": "2.3.9",
3
+ "version": "2.3.11",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",