@anywayseo/tools 5.0.0 → 5.1.0

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,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../index-3nQCWHPU.js");
4
- const index$1 = require("../index-D1bJmcpz.js");
3
+ const index = require("../index-D0yXUsJz.js");
4
+ const index$1 = require("../index-B9GEoC68.js");
5
5
  exports.Author = index.Author;
6
6
  exports.AuthorCard = index.AuthorCard;
7
7
  exports.BonusCard = index.BonusCard;
@@ -1,5 +1,5 @@
1
- import { k, A, B, a, l, C, F, b, c, G, d, e, f, m, H, L, n, g, N, P, S, h, T, i, j } from "../index-X2ihbchG.mjs";
2
- import { L as L2 } from "../index-DnvTeCy9.mjs";
1
+ import { k, A, B, a, l, C, F, b, c, G, d, e, f, m, H, L, n, g, N, P, S, h, T, i, j } from "../index-BCuXOiT9.mjs";
2
+ import { L as L2 } from "../index-tJcccH0B.mjs";
3
3
  export {
4
4
  k as Author,
5
5
  A as AuthorCard,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../index-DqGO34ef.js");
3
+ const index = require("../index-WFgDSB1A.js");
4
4
  const index$1 = require("../index-BnmGE5_x.js");
5
5
  exports.useLocalization = index.useLocalization;
6
6
  exports.usePrimaryColors = index$1.usePrimaryColors;
@@ -1,4 +1,4 @@
1
- import { u } from "../index-Cc85xj4h.mjs";
1
+ import { u } from "../index-BzbpMLDD.mjs";
2
2
  import { u as u2 } from "../index-QazOxABc.mjs";
3
3
  export {
4
4
  u as useLocalization,
@@ -1,6 +1,9 @@
1
1
  import { ILocale, ISiteLocalization } from '../../types';
2
+ interface IUseLocalizationParams extends ISiteLocalization {
3
+ location: Location;
4
+ }
2
5
  interface IUseLocalizationReturn {
3
6
  currentLocale: ILocale;
4
7
  }
5
- declare function useLocalization({ defaultLocale, locales }: ISiteLocalization): IUseLocalizationReturn;
8
+ declare function useLocalization({ location, defaultLocale, locales }: IUseLocalizationParams): IUseLocalizationReturn;
6
9
  export default useLocalization;
@@ -7,14 +7,11 @@ require("@mdx-js/react");
7
7
  require("react-i18next");
8
8
  require("./index-C6MG_f24.js");
9
9
  require("./index-BHfpWNqh.js");
10
- const index = require("./index-DqGO34ef.js");
10
+ const index = require("./index-WFgDSB1A.js");
11
11
  const index$1 = require("./index-At00w6EN.js");
12
12
  const SiteContext = react.createContext(null);
13
13
  const SiteProvider = ({ children, ...context }) => {
14
- const { currentLocale } = index.useLocalization(context.localization);
15
- const value = react.useMemo(() => {
16
- return { ...context, localization: { ...context.localization, currentLocale } };
17
- }, [currentLocale]);
14
+ const value = react.useMemo(() => context, []);
18
15
  return /* @__PURE__ */ jsxRuntime.jsx(SiteContext.Provider, { value, children });
19
16
  };
20
17
  function useSiteContext() {
@@ -24,6 +21,20 @@ function useSiteContext() {
24
21
  }
25
22
  return context;
26
23
  }
24
+ const PageContext = react.createContext(null);
25
+ const PageProvider = ({ children, location }) => {
26
+ const { localization } = useSiteContext();
27
+ const { currentLocale } = index.useLocalization({ location, ...localization });
28
+ const value = react.useMemo(() => ({ currentLocale }), [currentLocale]);
29
+ return /* @__PURE__ */ jsxRuntime.jsx(PageContext.Provider, { value, children });
30
+ };
31
+ function usePageContext() {
32
+ const context = react.useContext(PageContext);
33
+ if (!context) {
34
+ throw new Error("usePageContext must be used within PageProvider");
35
+ }
36
+ return context;
37
+ }
27
38
  function normalizePath(path = "") {
28
39
  return path.replace(/^\/+|\/+$/g, "").replace(/\/+/g, "/");
29
40
  }
@@ -40,10 +51,13 @@ function getLocalizedPath(path, currentLocaleCode, defaultLocaleCode) {
40
51
  }
41
52
  const Link = react.forwardRef(({ to, ...props }, ref) => {
42
53
  const { localization } = useSiteContext();
43
- const { currentLocale, defaultLocale } = localization;
54
+ const { currentLocale } = usePageContext();
55
+ const defaultLocale = localization.defaultLocale;
44
56
  const path = getLocalizedPath(to, currentLocale.code, defaultLocale.code);
45
57
  return /* @__PURE__ */ jsxRuntime.jsx(gatsby.Link, { ref, to: path, ...props });
46
58
  });
47
59
  exports.Link = Link;
60
+ exports.PageProvider = PageProvider;
48
61
  exports.SiteProvider = SiteProvider;
62
+ exports.usePageContext = usePageContext;
49
63
  exports.useSiteContext = useSiteContext;
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { Box, Collapse, Text, Button, Flex, Stack, Image, Center as Center$1, SimpleGrid, Link as Link$1, Card, CardHeader, Heading, CardBody, Popover, PopoverTrigger, Portal, PopoverContent, PopoverBody, CardFooter, useToast, useColorModeValue, VStack, FormControl, FormLabel, InputGroup, InputLeftElement, Input, Textarea, Accordion, AccordionItem, AccordionButton, AccordionIcon, AccordionPanel, LinkBox, LinkOverlay, IconButton, AbsoluteCenter, Spinner, useDisclosure, Divider, Circle, Container as Container$1, Menu, MenuButton, HStack, Icon, MenuList, MenuItem, List as List$1, ListItem, ListIcon, TableContainer, Table as Table$1, Thead, Tr, Th, Tbody, Td, TableCaption, Tabs as Tabs$1, TabList, Tab, TabPanels, TabPanel } from "@chakra-ui/react";
3
3
  import { useTranslation } from "react-i18next";
4
- import { u as useSiteContext, L as Link } from "./index-DnvTeCy9.mjs";
4
+ import { a as useSiteContext, L as Link, u as usePageContext } from "./index-tJcccH0B.mjs";
5
5
  import { useRef, useState, useLayoutEffect, Fragment as Fragment$1, useMemo, forwardRef, useEffect } from "react";
6
6
  import { A as Animation } from "./index-BJRvnR8Q.mjs";
7
7
  import { a as GameCharacteristic } from "./index-CACDltm3.mjs";
@@ -554,7 +554,8 @@ function getGameInfoItemValue(key, value, locale, currency) {
554
554
  const GameInfo = ({ info }) => {
555
555
  const { t: t2 } = useTranslation("gameInfo");
556
556
  const { localization } = useSiteContext();
557
- const locale = localization.currentLocale.code;
557
+ const { currentLocale } = usePageContext();
558
+ const locale = currentLocale.code;
558
559
  const currency = localization.currency;
559
560
  return /* @__PURE__ */ jsx(
560
561
  Box,
@@ -658,8 +659,8 @@ const Navigation$1 = ({ menu }) => {
658
659
  };
659
660
  const Footer = () => {
660
661
  var _a, _b;
661
- const { navigation, localization, config } = useSiteContext();
662
- const currentLocale = localization.currentLocale;
662
+ const { navigation, config } = useSiteContext();
663
+ const { currentLocale } = usePageContext();
663
664
  const menu = navigation.footer[currentLocale.code] ?? [];
664
665
  const extra = (_a = config == null ? void 0 : config.footer) == null ? void 0 : _a.extra;
665
666
  const showDisclaimer = ((_b = config == null ? void 0 : config.footer) == null ? void 0 : _b.showDisclaimer) ?? true;
@@ -946,8 +947,8 @@ const Navigation = ({ menu }) => {
946
947
  const Header = () => {
947
948
  var _a;
948
949
  const { navigation, localization, config } = useSiteContext();
950
+ const { currentLocale } = usePageContext();
949
951
  const locales = localization.locales;
950
- const currentLocale = localization.currentLocale;
951
952
  const menu = navigation.header[currentLocale.code] ?? [];
952
953
  const toolbar = (_a = config == null ? void 0 : config.header) == null ? void 0 : _a.toolbar;
953
954
  const isMultiLanguage = locales.length > 1;
@@ -4,7 +4,7 @@ const react$1 = require("@chakra-ui/react");
4
4
  const react = require("@mdx-js/react");
5
5
  require("react");
6
6
  require("react-i18next");
7
- const index$1 = require("./index-D1bJmcpz.js");
7
+ const index$1 = require("./index-B9GEoC68.js");
8
8
  require("./index-C6MG_f24.js");
9
9
  require("./index-BHfpWNqh.js");
10
10
  const index = require("./index-At00w6EN.js");
@@ -1,14 +1,10 @@
1
1
  import { useState, useEffect } from "react";
2
2
  import { useTranslation } from "react-i18next";
3
- function useLocalization({ defaultLocale, locales }) {
4
- var _a;
3
+ function useLocalization({ location, defaultLocale, locales }) {
5
4
  const [currentLocale, setCurrentLocale] = useState(defaultLocale);
6
5
  const { i18n } = useTranslation();
7
- const path = ((_a = window == null ? void 0 : window.location) == null ? void 0 : _a.pathname) ?? "";
6
+ const path = location.pathname;
8
7
  useEffect(() => {
9
- if (typeof window === "undefined") {
10
- return;
11
- }
12
8
  const cleanPath = path.replace(/^\/+|\/+$/g, "");
13
9
  const maybeLocaleCode = cleanPath.split("/")[0];
14
10
  const maybeLocale = locales.find(({ code }) => code === maybeLocaleCode);
@@ -3,7 +3,7 @@ import { Text, UnorderedList, OrderedList, Heading, Link } from "@chakra-ui/reac
3
3
  import { MDXProvider } from "@mdx-js/react";
4
4
  import "react";
5
5
  import "react-i18next";
6
- import { L as Link$1 } from "./index-DnvTeCy9.mjs";
6
+ import { L as Link$1 } from "./index-tJcccH0B.mjs";
7
7
  import "./index-BJRvnR8Q.mjs";
8
8
  import "./index-CACDltm3.mjs";
9
9
  import { i as isRelativePath } from "./index-BmaWfWLV.mjs";
@@ -2,7 +2,7 @@
2
2
  const jsxRuntime = require("react/jsx-runtime");
3
3
  const react$1 = require("@chakra-ui/react");
4
4
  const reactI18next = require("react-i18next");
5
- const index = require("./index-D1bJmcpz.js");
5
+ const index = require("./index-B9GEoC68.js");
6
6
  const react = require("react");
7
7
  const index$3 = require("./index-C6MG_f24.js");
8
8
  const index$5 = require("./index-BHfpWNqh.js");
@@ -555,7 +555,8 @@ function getGameInfoItemValue(key, value, locale, currency) {
555
555
  const GameInfo = ({ info }) => {
556
556
  const { t } = reactI18next.useTranslation("gameInfo");
557
557
  const { localization } = index.useSiteContext();
558
- const locale = localization.currentLocale.code;
558
+ const { currentLocale } = index.usePageContext();
559
+ const locale = currentLocale.code;
559
560
  const currency = localization.currency;
560
561
  return /* @__PURE__ */ jsxRuntime.jsx(
561
562
  react$1.Box,
@@ -659,8 +660,8 @@ const Navigation$1 = ({ menu }) => {
659
660
  };
660
661
  const Footer = () => {
661
662
  var _a, _b;
662
- const { navigation, localization, config } = index.useSiteContext();
663
- const currentLocale = localization.currentLocale;
663
+ const { navigation, config } = index.useSiteContext();
664
+ const { currentLocale } = index.usePageContext();
664
665
  const menu = navigation.footer[currentLocale.code] ?? [];
665
666
  const extra = (_a = config == null ? void 0 : config.footer) == null ? void 0 : _a.extra;
666
667
  const showDisclaimer = ((_b = config == null ? void 0 : config.footer) == null ? void 0 : _b.showDisclaimer) ?? true;
@@ -947,8 +948,8 @@ const Navigation = ({ menu }) => {
947
948
  const Header = () => {
948
949
  var _a;
949
950
  const { navigation, localization, config } = index.useSiteContext();
951
+ const { currentLocale } = index.usePageContext();
950
952
  const locales = localization.locales;
951
- const currentLocale = localization.currentLocale;
952
953
  const menu = navigation.header[currentLocale.code] ?? [];
953
954
  const toolbar = (_a = config == null ? void 0 : config.header) == null ? void 0 : _a.toolbar;
954
955
  const isMultiLanguage = locales.length > 1;
@@ -1,15 +1,11 @@
1
1
  "use strict";
2
2
  const react = require("react");
3
3
  const reactI18next = require("react-i18next");
4
- function useLocalization({ defaultLocale, locales }) {
5
- var _a;
4
+ function useLocalization({ location, defaultLocale, locales }) {
6
5
  const [currentLocale, setCurrentLocale] = react.useState(defaultLocale);
7
6
  const { i18n } = reactI18next.useTranslation();
8
- const path = ((_a = window == null ? void 0 : window.location) == null ? void 0 : _a.pathname) ?? "";
7
+ const path = location.pathname;
9
8
  react.useEffect(() => {
10
- if (typeof window === "undefined") {
11
- return;
12
- }
13
9
  const cleanPath = path.replace(/^\/+|\/+$/g, "");
14
10
  const maybeLocaleCode = cleanPath.split("/")[0];
15
11
  const maybeLocale = locales.find(({ code }) => code === maybeLocaleCode);
@@ -6,14 +6,11 @@ import "@mdx-js/react";
6
6
  import "react-i18next";
7
7
  import "./index-BJRvnR8Q.mjs";
8
8
  import "./index-CACDltm3.mjs";
9
- import { u as useLocalization } from "./index-Cc85xj4h.mjs";
9
+ import { u as useLocalization } from "./index-BzbpMLDD.mjs";
10
10
  import { i as isRelativePath } from "./index-BmaWfWLV.mjs";
11
11
  const SiteContext = createContext(null);
12
12
  const SiteProvider = ({ children, ...context }) => {
13
- const { currentLocale } = useLocalization(context.localization);
14
- const value = useMemo(() => {
15
- return { ...context, localization: { ...context.localization, currentLocale } };
16
- }, [currentLocale]);
13
+ const value = useMemo(() => context, []);
17
14
  return /* @__PURE__ */ jsx(SiteContext.Provider, { value, children });
18
15
  };
19
16
  function useSiteContext() {
@@ -23,6 +20,20 @@ function useSiteContext() {
23
20
  }
24
21
  return context;
25
22
  }
23
+ const PageContext = createContext(null);
24
+ const PageProvider = ({ children, location }) => {
25
+ const { localization } = useSiteContext();
26
+ const { currentLocale } = useLocalization({ location, ...localization });
27
+ const value = useMemo(() => ({ currentLocale }), [currentLocale]);
28
+ return /* @__PURE__ */ jsx(PageContext.Provider, { value, children });
29
+ };
30
+ function usePageContext() {
31
+ const context = useContext(PageContext);
32
+ if (!context) {
33
+ throw new Error("usePageContext must be used within PageProvider");
34
+ }
35
+ return context;
36
+ }
26
37
  function normalizePath(path = "") {
27
38
  return path.replace(/^\/+|\/+$/g, "").replace(/\/+/g, "/");
28
39
  }
@@ -39,12 +50,15 @@ function getLocalizedPath(path, currentLocaleCode, defaultLocaleCode) {
39
50
  }
40
51
  const Link = forwardRef(({ to, ...props }, ref) => {
41
52
  const { localization } = useSiteContext();
42
- const { currentLocale, defaultLocale } = localization;
53
+ const { currentLocale } = usePageContext();
54
+ const defaultLocale = localization.defaultLocale;
43
55
  const path = getLocalizedPath(to, currentLocale.code, defaultLocale.code);
44
56
  return /* @__PURE__ */ jsx(Link$1, { ref, to: path, ...props });
45
57
  });
46
58
  export {
47
59
  Link as L,
60
+ PageProvider as P,
48
61
  SiteProvider as S,
49
- useSiteContext as u
62
+ useSiteContext as a,
63
+ usePageContext as u
50
64
  };
package/dist/index.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index-3nQCWHPU.js");
4
- const index$1 = require("./index-D1bJmcpz.js");
5
- const index$2 = require("./index-DqGO34ef.js");
3
+ const index = require("./index-D0yXUsJz.js");
4
+ const index$1 = require("./index-B9GEoC68.js");
5
+ const index$2 = require("./index-WFgDSB1A.js");
6
6
  const index$3 = require("./index-BnmGE5_x.js");
7
7
  const i18n = require("./i18n/index.cjs");
8
- const index$4 = require("./index-Dur8aLpm.js");
8
+ const index$4 = require("./index-BIdYBT1G.js");
9
9
  const index$5 = require("./index-BHfpWNqh.js");
10
10
  const index$6 = require("./index-C6MG_f24.js");
11
11
  const index$7 = require("./index-CYr1ct1t.js");
@@ -38,7 +38,9 @@ exports.Table = index.Table;
38
38
  exports.Tabs = index.Tabs;
39
39
  exports.Tip = index.Tip;
40
40
  exports.Link = index$1.Link;
41
+ exports.PageProvider = index$1.PageProvider;
41
42
  exports.SiteProvider = index$1.SiteProvider;
43
+ exports.usePageContext = index$1.usePageContext;
42
44
  exports.useSiteContext = index$1.useSiteContext;
43
45
  exports.useLocalization = index$2.useLocalization;
44
46
  exports.usePrimaryColors = index$3.usePrimaryColors;
package/dist/index.mjs CHANGED
@@ -1,13 +1,13 @@
1
- import { k, A, B, a, l, C, F, b, c, G, d, e, f, m, H, L, n, g, N, P, S, h, T, i, j } from "./index-X2ihbchG.mjs";
2
- import { L as L2, S as S2, u } from "./index-DnvTeCy9.mjs";
3
- import { u as u2 } from "./index-Cc85xj4h.mjs";
1
+ import { k, A, B, a, l, C, F, b, c, G, d, e, f, m, H, L, n, g, N, P, S, h, T, i, j } from "./index-BCuXOiT9.mjs";
2
+ import { L as L2, P as P2, S as S2, u, a as a2 } from "./index-tJcccH0B.mjs";
3
+ import { u as u2 } from "./index-BzbpMLDD.mjs";
4
4
  import { u as u3 } from "./index-QazOxABc.mjs";
5
5
  import { DEFAULT_LANGUAGE, resources } from "./i18n/index.mjs";
6
- import { M } from "./index-DVAydNYV.mjs";
7
- import { a as a2, G as G2 } from "./index-CACDltm3.mjs";
6
+ import { M } from "./index-CrmmG8yy.mjs";
7
+ import { a as a3, G as G2 } from "./index-CACDltm3.mjs";
8
8
  import { A as A2 } from "./index-BJRvnR8Q.mjs";
9
- import { b as b2, c as c2, g as g2, a as a3 } from "./index-cQqALZIW.mjs";
10
- import { f as f2, b as b3, c as c3, a as a4, g as g3, e as e2, p, d as d2, r, t } from "./index-Bu4S7kG8.mjs";
9
+ import { b as b2, c as c2, g as g2, a as a4 } from "./index-cQqALZIW.mjs";
10
+ import { f as f2, b as b3, c as c3, a as a5, g as g3, e as e2, p, d as d2, r, t } from "./index-Bu4S7kG8.mjs";
11
11
  import { b as b4, i as i2 } from "./index-BmaWfWLV.mjs";
12
12
  import { D, L as L3 } from "./index-BRVKhbs6.mjs";
13
13
  export {
@@ -25,7 +25,7 @@ export {
25
25
  c as FeatureCardGrid,
26
26
  G as GameCard,
27
27
  d as GameCardGrid,
28
- a2 as GameCharacteristic,
28
+ a3 as GameCharacteristic,
29
29
  e as GameDemo,
30
30
  f as GameInfo,
31
31
  G2 as GameVolatility,
@@ -38,6 +38,7 @@ export {
38
38
  g as List,
39
39
  M as MdxProvider,
40
40
  N as NotFound,
41
+ P2 as PageProvider,
41
42
  P as ProsCons,
42
43
  S as Seo,
43
44
  S2 as SiteProvider,
@@ -49,13 +50,13 @@ export {
49
50
  f2 as formatDate,
50
51
  b3 as formatNumber,
51
52
  c3 as getCurrencySymbol,
52
- a4 as getCurrentMonth,
53
+ a5 as getCurrentMonth,
53
54
  g3 as getCurrentYear,
54
55
  b2 as getLocale,
55
56
  c2 as getLocales,
56
57
  g2 as getNavigation,
57
58
  e2 as getSeededRandomComparator,
58
- a3 as getSiteName,
59
+ a4 as getSiteName,
59
60
  i2 as isRelativePath,
60
61
  p as parseNumber,
61
62
  d2 as randomComparator,
@@ -63,6 +64,7 @@ export {
63
64
  r as round,
64
65
  t as toFixedTwo,
65
66
  u2 as useLocalization,
67
+ u as usePageContext,
66
68
  u3 as usePrimaryColors,
67
- u as useSiteContext
69
+ a2 as useSiteContext
68
70
  };
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../index-Dur8aLpm.js");
4
- const index$1 = require("../index-D1bJmcpz.js");
3
+ const index = require("../index-BIdYBT1G.js");
4
+ const index$1 = require("../index-B9GEoC68.js");
5
5
  exports.MdxProvider = index.MdxProvider;
6
+ exports.PageProvider = index$1.PageProvider;
6
7
  exports.SiteProvider = index$1.SiteProvider;
8
+ exports.usePageContext = index$1.usePageContext;
7
9
  exports.useSiteContext = index$1.useSiteContext;
@@ -1,2 +1,3 @@
1
1
  export { default as MdxProvider } from './mdx-provider';
2
+ export { default as PageProvider, usePageContext } from './page-provider';
2
3
  export { default as SiteProvider, useSiteContext } from './site-provider';
@@ -1,7 +1,9 @@
1
- import { M } from "../index-DVAydNYV.mjs";
2
- import { S, u } from "../index-DnvTeCy9.mjs";
1
+ import { M } from "../index-CrmmG8yy.mjs";
2
+ import { P, S, u, a } from "../index-tJcccH0B.mjs";
3
3
  export {
4
4
  M as MdxProvider,
5
+ P as PageProvider,
5
6
  S as SiteProvider,
6
- u as useSiteContext
7
+ u as usePageContext,
8
+ a as useSiteContext
7
9
  };
@@ -0,0 +1,11 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ import { ILocale } from '../../types';
3
+ interface IPageContextInput {
4
+ location: Location;
5
+ }
6
+ interface IPageContext {
7
+ currentLocale: ILocale;
8
+ }
9
+ declare const PageProvider: FC<PropsWithChildren<IPageContextInput>>;
10
+ export default PageProvider;
11
+ export declare function usePageContext(): IPageContext;
@@ -1,16 +1,11 @@
1
1
  import { FC, PropsWithChildren } from 'react';
2
- import { ILocale, ISiteConfig, ISiteLocalization, ISiteMetadata, ISiteNavigation } from '../../types';
3
- interface ISiteContextInput {
2
+ import { ISiteConfig, ISiteLocalization, ISiteMetadata, ISiteNavigation } from '../../types';
3
+ interface ISiteContext {
4
4
  metadata: ISiteMetadata;
5
5
  navigation: ISiteNavigation;
6
6
  localization: ISiteLocalization;
7
7
  config: ISiteConfig;
8
8
  }
9
- interface ISiteContext extends ISiteContextInput {
10
- localization: ISiteLocalization & {
11
- currentLocale: ILocale;
12
- };
13
- }
14
- declare const SiteProvider: FC<PropsWithChildren<ISiteContextInput>>;
9
+ declare const SiteProvider: FC<PropsWithChildren<ISiteContext>>;
15
10
  export default SiteProvider;
16
11
  export declare function useSiteContext(): ISiteContext;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@anywayseo/tools",
3
3
  "description": "Shared UI Components and Modules",
4
- "version": "5.0.0",
4
+ "version": "5.1.0",
5
5
  "keywords": [
6
6
  "react",
7
7
  "ui",