@m4l/graphics 2.0.0 → 2.0.1
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/components/GlobalStyle/{index.b7393a44.js → index-DHBkshRk.js} +8 -0
- package/contexts/FormatterContext/{index.92336f4c.js → index-BHG3bJJo.js} +2 -2
- package/contexts/HostThemeContext/{index.89c85eb6.js → index-C5Z07fH1.js} +1 -1
- package/contexts/LocalesContext/{index.53f0b702.js → index--VwMF60R.js} +1 -1
- package/contexts/{index.43eb2431.js → index-BB_hmi4E.js} +9 -5
- package/hooks/{index.a56c80bc.js → index-c14LV1FI.js} +5 -7
- package/hooks/useFormatter/index-DfdAcbzw.js +10 -0
- package/hooks/useIsMobile/{index.a6493a85.js → index-Bro0dV28.js} +1 -1
- package/hooks/useLocales/index-mTHn9nqY.js +10 -0
- package/hooks/useResponsive/{index.24a3087b.js → index-DOGfC2H7.js} +3 -4
- package/index.js +38 -50
- package/{node_modules.f4ae204b.js → node_modules-BHhXVwYT.js} +1603 -1592
- package/package.json +1 -1
- package/vite-env.d.ts +1 -1
- package/hooks/useFormatter/index.57ac8cca.js +0 -11
- package/hooks/useLocales/index.d5a80aff.js +0 -11
- /package/{commonjs.e3daa2e5.js → commonjs-BCz0-aDl.js} +0 -0
- /package/components/{index.d8d41b1b.js → index-l0sNRNKZ.js} +0 -0
- /package/hooks/useFirstRender/{index.1e9b02fb.js → index-B-Q0TTn0.js} +0 -0
- /package/utils/{index.6909c662.js → index-DZG6QXjf.js} +0 -0
package/package.json
CHANGED
package/vite-env.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
1
|
+
/// <reference types="vite/client" />
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { useContext as r } from "react";
|
|
2
|
-
import { F as e } from "../../contexts/FormatterContext/index.92336f4c.js";
|
|
3
|
-
const m = () => {
|
|
4
|
-
const t = r(e);
|
|
5
|
-
if (!t)
|
|
6
|
-
throw new Error("useFormatter context must be use inside FormatterProvider");
|
|
7
|
-
return t;
|
|
8
|
-
};
|
|
9
|
-
export {
|
|
10
|
-
m as u
|
|
11
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { useContext as o } from "react";
|
|
2
|
-
import { L as t } from "../../contexts/LocalesContext/index.53f0b702.js";
|
|
3
|
-
const n = () => {
|
|
4
|
-
const e = o(t);
|
|
5
|
-
if (!e)
|
|
6
|
-
throw new Error("useLocales context must be use inside LocalesProvider");
|
|
7
|
-
return e;
|
|
8
|
-
};
|
|
9
|
-
export {
|
|
10
|
-
n as u
|
|
11
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|