@anywayseo/tools 5.5.0 → 5.7.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.
Files changed (156) hide show
  1. package/dist/components/action-button/index.d.ts +5 -0
  2. package/dist/components/article-card/index.d.ts +7 -0
  3. package/dist/components/article-card-grid/index.d.ts +7 -0
  4. package/dist/components/article-info-card/index.d.ts +5 -0
  5. package/dist/components/base/article-meta/index.d.ts +7 -0
  6. package/dist/components/base/article-meta/item/index.d.ts +7 -0
  7. package/dist/components/base/copy-text/index.d.ts +6 -0
  8. package/dist/components/base/grid/index.d.ts +2 -4
  9. package/dist/components/base/h1/index.d.ts +4 -0
  10. package/dist/components/base/h2/index.d.ts +4 -0
  11. package/dist/components/base/h3/index.d.ts +4 -0
  12. package/dist/components/base/index.d.ts +11 -0
  13. package/dist/components/base/link/index.d.ts +5 -1
  14. package/dist/components/base/link/utils.d.ts +1 -0
  15. package/dist/components/base/ol/index.d.ts +4 -0
  16. package/dist/components/base/p/index.d.ts +4 -0
  17. package/dist/components/base/rating/index.d.ts +10 -0
  18. package/dist/components/base/ul/index.d.ts +4 -0
  19. package/dist/components/bonus-card-grid/index.d.ts +2 -4
  20. package/dist/components/casino-table/index.d.ts +8 -0
  21. package/dist/components/casino-table/row/casino-actions/index.d.ts +8 -0
  22. package/dist/components/casino-table/row/casino-bonus/index.d.ts +8 -0
  23. package/dist/components/casino-table/row/casino-info/index.d.ts +7 -0
  24. package/dist/components/casino-table/row/casino-info/item/index.d.ts +7 -0
  25. package/dist/components/casino-table/row/casino-info/utils.d.ts +2 -0
  26. package/dist/components/casino-table/row/casino-license/index.d.ts +5 -0
  27. package/dist/components/casino-table/row/casino-logo/index.d.ts +9 -0
  28. package/dist/components/casino-table/row/casino-name/index.d.ts +8 -0
  29. package/dist/components/casino-table/row/cell/index.d.ts +7 -0
  30. package/dist/components/casino-table/row/index.d.ts +7 -0
  31. package/dist/components/feature-card-grid/index.d.ts +2 -4
  32. package/dist/components/game-card-grid/index.d.ts +2 -4
  33. package/dist/components/game-demo/content/index.d.ts +1 -1
  34. package/dist/components/game-demo/index.d.ts +2 -2
  35. package/dist/components/game-demo/preview/alert/index.d.ts +3 -0
  36. package/dist/components/game-demo/preview/index.d.ts +2 -1
  37. package/dist/components/index.cjs +30 -9
  38. package/dist/components/index.d.ts +7 -3
  39. package/dist/components/index.mjs +44 -23
  40. package/dist/components/informer/index.d.ts +9 -0
  41. package/dist/components/informer/utils.d.ts +5 -0
  42. package/dist/components/{contact-form → pages/contacts/contact-form}/index.d.ts +1 -1
  43. package/dist/components/pages/contacts/index.d.ts +3 -0
  44. package/dist/components/pages/cookie-policy/index.d.ts +3 -0
  45. package/dist/components/pages/index.d.ts +5 -0
  46. package/dist/components/pages/privacy-policy/index.d.ts +6 -0
  47. package/dist/components/pages/terms-and-conditions/index.d.ts +6 -0
  48. package/dist/components/tip/index.d.ts +3 -0
  49. package/dist/hooks/index.cjs +2 -2
  50. package/dist/hooks/index.mjs +2 -2
  51. package/dist/i18n/index.cjs +10 -5
  52. package/dist/i18n/index.mjs +10 -5
  53. package/dist/i18n/resources/bg/index.d.ts +331 -0
  54. package/dist/i18n/resources/da/index.d.ts +331 -0
  55. package/dist/i18n/resources/de/index.d.ts +219 -0
  56. package/dist/i18n/resources/en/index.d.ts +219 -0
  57. package/dist/i18n/resources/fi/index.d.ts +331 -0
  58. package/dist/i18n/resources/fr/index.d.ts +219 -0
  59. package/dist/i18n/resources/it/index.d.ts +219 -0
  60. package/dist/i18n/resources/ka/index.d.ts +331 -0
  61. package/dist/i18n/resources/pt/index.d.ts +331 -0
  62. package/dist/i18n/resources/ru/index.d.ts +219 -0
  63. package/dist/index-B-k9oWE7.js +3552 -0
  64. package/dist/{index-D86anUPd.js → index-B71VkIfX.js} +426 -726
  65. package/dist/index-BEjKnOZA.mjs +28 -0
  66. package/dist/index-BTpEZIok.js +401 -0
  67. package/dist/index-BeJTy4iY.mjs +26 -0
  68. package/dist/index-BfITsKAr.js +25 -0
  69. package/dist/{index-BmaWfWLV.mjs → index-Bph7a3PR.mjs} +4 -0
  70. package/dist/{index-BCK4kr6V.mjs → index-C7z5qqm_.mjs} +3 -26
  71. package/dist/{index-tj12BA6U.mjs → index-CB0JfZMx.mjs} +1 -1
  72. package/dist/{index-cEaX-HbN.mjs → index-CEqTLcAR.mjs} +427 -727
  73. package/dist/index-CVN8I7r9.mjs +3553 -0
  74. package/dist/{index-CAfBnNV6.js → index-D15SAjJc.js} +1 -1
  75. package/dist/index-DDg_PkD2.js +27 -0
  76. package/dist/{index-BzbpMLDD.mjs → index-DHURrUMW.mjs} +1 -1
  77. package/dist/{index-At00w6EN.js → index-DgrIJs-a.js} +4 -0
  78. package/dist/index-FfZIjQy3.mjs +45 -0
  79. package/dist/index-Lln67Kfn.mjs +402 -0
  80. package/dist/{index-DZBLiQFh.js → index-QPgJfbrC.js} +52 -36
  81. package/dist/{index-BcFDxh8P.js → index-TxqSZvgf.js} +15 -27
  82. package/dist/{index-8_-KtKsW.mjs → index-ksqN4RPm.mjs} +50 -34
  83. package/dist/{index-WFgDSB1A.js → index-ma-iV7GU.js} +1 -1
  84. package/dist/{index-BICcOaT7.js → index-qR3kVjjs.js} +0 -23
  85. package/dist/index.cjs +73 -45
  86. package/dist/index.d.ts +1 -0
  87. package/dist/index.mjs +75 -47
  88. package/dist/{components/layout → layout}/footer/navigation/index.d.ts +1 -1
  89. package/dist/layout/header/locale-switcher/icons/brazil/index.d.ts +2 -0
  90. package/dist/layout/header/locale-switcher/icons/bulgaria/index.d.ts +2 -0
  91. package/dist/layout/header/locale-switcher/icons/denmark/index.d.ts +2 -0
  92. package/dist/layout/header/locale-switcher/icons/finland/index.d.ts +2 -0
  93. package/dist/layout/header/locale-switcher/icons/france/index.d.ts +2 -0
  94. package/dist/layout/header/locale-switcher/icons/georgia/index.d.ts +2 -0
  95. package/dist/layout/header/locale-switcher/icons/germany/index.d.ts +2 -0
  96. package/dist/layout/header/locale-switcher/icons/globe/index.d.ts +2 -0
  97. package/dist/layout/header/locale-switcher/icons/index.d.ts +10 -0
  98. package/dist/layout/header/locale-switcher/icons/italy/index.d.ts +2 -0
  99. package/dist/layout/header/locale-switcher/icons/russia/index.d.ts +2 -0
  100. package/dist/{components/layout → layout}/header/locale-switcher/index.d.ts +1 -1
  101. package/dist/{components/layout → layout}/header/locale-switcher/utils.d.ts +1 -1
  102. package/dist/{components/layout → layout}/header/navigation/desktop/index.d.ts +1 -1
  103. package/dist/{components/layout → layout}/header/navigation/desktop/nav-list/index.d.ts +1 -1
  104. package/dist/{components/layout → layout}/header/navigation/index.d.ts +1 -1
  105. package/dist/{components/layout → layout}/header/navigation/mobile/index.d.ts +1 -1
  106. package/dist/{components/layout → layout}/header/navigation/mobile/nav-list/index.d.ts +1 -1
  107. package/dist/{components/layout → layout}/header/navigation/nav-link/index.d.ts +1 -1
  108. package/dist/{components/layout → layout}/hero/index.d.ts +1 -1
  109. package/dist/layout/index.cjs +597 -0
  110. package/dist/layout/index.mjs +598 -0
  111. package/dist/providers/index.cjs +2 -2
  112. package/dist/providers/index.mjs +2 -2
  113. package/dist/providers/mdx-provider/types.d.ts +3 -1
  114. package/dist/providers/mdx-provider/utils.d.ts +1 -2
  115. package/dist/types/components/article-card/index.d.ts +9 -0
  116. package/dist/types/components/button/index.d.ts +1 -1
  117. package/dist/types/components/casino/index.d.ts +32 -0
  118. package/dist/types/components/casino-info/index.d.ts +12 -0
  119. package/dist/types/components/common/index.d.ts +1 -1
  120. package/dist/types/components/game-info/index.d.ts +4 -8
  121. package/dist/types/components/grid/index.d.ts +4 -0
  122. package/dist/types/components/index.d.ts +4 -0
  123. package/dist/types/components/informer/index.d.ts +5 -0
  124. package/dist/types/components/strapi-component/index.d.ts +1 -1
  125. package/dist/types/content/article/index.d.ts +12 -0
  126. package/dist/types/content/index.d.ts +1 -0
  127. package/dist/types/i18n/index.d.ts +2 -2
  128. package/dist/utils/index.cjs +15 -13
  129. package/dist/utils/index.mjs +10 -8
  130. package/dist/utils/navigation/index.d.ts +1 -0
  131. package/package.json +7 -1
  132. package/dist/components/layout/header/locale-switcher/icons/earth/index.d.ts +0 -2
  133. package/dist/components/layout/header/locale-switcher/icons/france/index.d.ts +0 -2
  134. package/dist/components/layout/header/locale-switcher/icons/germany/index.d.ts +0 -2
  135. package/dist/components/layout/header/locale-switcher/icons/globe/index.d.ts +0 -2
  136. package/dist/components/layout/header/locale-switcher/icons/index.d.ts +0 -6
  137. package/dist/components/layout/header/locale-switcher/icons/italy/index.d.ts +0 -2
  138. package/dist/components/layout/header/locale-switcher/icons/russia/index.d.ts +0 -2
  139. package/dist/index-Bts2DBYS.mjs +0 -637
  140. package/dist/index-CJVr79Z2.js +0 -636
  141. package/dist/index-C_FekfFC.mjs +0 -57
  142. /package/dist/components/{layout → base}/container/index.d.ts +0 -0
  143. /package/dist/components/{layout → base}/logo/index.d.ts +0 -0
  144. /package/dist/components/{not-found → pages/not-found}/index.d.ts +0 -0
  145. /package/dist/{components/layout → layout}/content/index.d.ts +0 -0
  146. /package/dist/{components/layout → layout}/footer/brand/index.d.ts +0 -0
  147. /package/dist/{components/layout → layout}/footer/copyright/index.d.ts +0 -0
  148. /package/dist/{components/layout → layout}/footer/disclaimer/index.d.ts +0 -0
  149. /package/dist/{components/layout → layout}/footer/extra/index.d.ts +0 -0
  150. /package/dist/{components/layout → layout}/footer/index.d.ts +0 -0
  151. /package/dist/{components/layout → layout}/header/brand/index.d.ts +0 -0
  152. /package/dist/{components/layout → layout}/header/index.d.ts +0 -0
  153. /package/dist/{components/layout → layout}/header/theme-toggler/index.d.ts +0 -0
  154. /package/dist/{components/layout → layout}/index.d.ts +0 -0
  155. /package/dist/{components/layout → layout}/main/index.d.ts +0 -0
  156. /package/dist/{components/layout → layout}/scroll-to-top/index.d.ts +0 -0
@@ -1,13 +1,14 @@
1
1
  "use strict";
2
2
  const jsxRuntime = require("react/jsx-runtime");
3
- const react$1 = require("@chakra-ui/react");
4
3
  const react = require("@mdx-js/react");
5
- const index = require("./index-DZBLiQFh.js");
6
- require("react");
7
4
  require("react-i18next");
5
+ require("@chakra-ui/react");
6
+ const index$1 = require("./index-QPgJfbrC.js");
8
7
  require("./index-C6MG_f24.js");
9
- require("./index-CJVr79Z2.js");
10
- const index$1 = require("./index-At00w6EN.js");
8
+ require("./index-B-k9oWE7.js");
9
+ require("react");
10
+ require("@chakra-ui/icons");
11
+ const index = require("./index-DDg_PkD2.js");
11
12
  function omitProps(props, omittedKeys) {
12
13
  const result = { ...props };
13
14
  omittedKeys.forEach((key) => {
@@ -21,32 +22,19 @@ function preprocessProps(callback) {
21
22
  const omittedKeys = ["node"];
22
23
  return (props) => callback(omitProps(props, omittedKeys));
23
24
  }
24
- function renderLink({
25
- href,
26
- ...props
27
- }) {
28
- return index$1.isRelativePath(href) ? /* @__PURE__ */ jsxRuntime.jsx(react$1.Link, { as: index.Link, to: href, color: "brand.400", ...props }) : /* @__PURE__ */ jsxRuntime.jsx(
29
- react$1.Link,
30
- {
31
- href,
32
- target: "_blank",
33
- rel: "noopener noreferrer",
34
- referrerPolicy: "no-referrer",
35
- color: "brand.400",
36
- ...props
37
- }
38
- );
25
+ function renderLink({ href, ...props }) {
26
+ return /* @__PURE__ */ jsxRuntime.jsx(index$1.Link, { to: href, color: "brand.400", ...props });
39
27
  }
40
28
  function renderImage(props) {
41
- return /* @__PURE__ */ jsxRuntime.jsx(index.Image, { ...props, mt: 4, mb: 4, hasZoom: true });
29
+ return /* @__PURE__ */ jsxRuntime.jsx(index$1.Image, { ...props, mt: 4, mb: 4, hasZoom: true });
42
30
  }
43
31
  const components = {
44
- h1: preprocessProps((props) => /* @__PURE__ */ jsxRuntime.jsx(react$1.Heading, { as: "h1", size: "xl", mb: 4, ...props })),
45
- h2: preprocessProps((props) => /* @__PURE__ */ jsxRuntime.jsx(react$1.Heading, { as: "h2", size: "lg", mt: 6, mb: 4, ...props })),
46
- h3: preprocessProps((props) => /* @__PURE__ */ jsxRuntime.jsx(react$1.Heading, { as: "h3", size: "md", mt: 4, mb: 4, ...props })),
47
- ol: preprocessProps((props) => /* @__PURE__ */ jsxRuntime.jsx(react$1.OrderedList, { mb: 4, ...props })),
48
- ul: preprocessProps((props) => /* @__PURE__ */ jsxRuntime.jsx(react$1.UnorderedList, { mb: 4, ...props })),
49
- p: preprocessProps((props) => /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { mb: 4, ...props })),
32
+ h1: preprocessProps((props) => /* @__PURE__ */ jsxRuntime.jsx(index.Heading1, { ...props })),
33
+ h2: preprocessProps((props) => /* @__PURE__ */ jsxRuntime.jsx(index.Heading2, { ...props })),
34
+ h3: preprocessProps((props) => /* @__PURE__ */ jsxRuntime.jsx(index.Heading3, { ...props })),
35
+ ol: preprocessProps((props) => /* @__PURE__ */ jsxRuntime.jsx(index.Ordered, { ...props })),
36
+ ul: preprocessProps((props) => /* @__PURE__ */ jsxRuntime.jsx(index.Unordered, { ...props })),
37
+ p: preprocessProps((props) => /* @__PURE__ */ jsxRuntime.jsx(index.Paragraph, { ...props })),
50
38
  a: preprocessProps((props) => renderLink(props)),
51
39
  img: preprocessProps((props) => renderImage(props))
52
40
  };
@@ -1,14 +1,41 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { Image as Image$1, Box } from "@chakra-ui/react";
2
+ import { Image as Image$1, Box, Link as Link$1 } from "@chakra-ui/react";
3
3
  import Zoom from "react-medium-image-zoom";
4
4
  import { createContext, useContext, useMemo, forwardRef } from "react";
5
- import { Link as Link$1 } from "gatsby";
5
+ import { Link as Link$2 } from "gatsby";
6
6
  import "@mdx-js/react";
7
7
  import "react-i18next";
8
8
  import "./index-BJRvnR8Q.mjs";
9
- import "./index-Bts2DBYS.mjs";
10
- import { u as useLocalization } from "./index-BzbpMLDD.mjs";
11
- import { i as isRelativePath } from "./index-BmaWfWLV.mjs";
9
+ import "./index-CVN8I7r9.mjs";
10
+ import "@chakra-ui/icons";
11
+ import { u as useLocalization } from "./index-DHURrUMW.mjs";
12
+ import { a as isAbsolutePath, i as isRelativePath } from "./index-Bph7a3PR.mjs";
13
+ const SiteContext = createContext(null);
14
+ const SiteProvider = ({ children, ...context }) => {
15
+ const value = useMemo(() => context, []);
16
+ return /* @__PURE__ */ jsx(SiteContext.Provider, { value, children });
17
+ };
18
+ function useSiteContext() {
19
+ const context = useContext(SiteContext);
20
+ if (!context) {
21
+ throw new Error("useSiteContext must be used within SiteProvider");
22
+ }
23
+ return context;
24
+ }
25
+ const PageContext = createContext(null);
26
+ const PageProvider = ({ children, location }) => {
27
+ const { localization } = useSiteContext();
28
+ const { currentLocale } = useLocalization({ location, ...localization });
29
+ const value = useMemo(() => ({ currentLocale }), [currentLocale]);
30
+ return /* @__PURE__ */ jsx(PageContext.Provider, { value, children });
31
+ };
32
+ function usePageContext() {
33
+ const context = useContext(PageContext);
34
+ if (!context) {
35
+ throw new Error("usePageContext must be used within PageProvider");
36
+ }
37
+ return context;
38
+ }
12
39
  function isImageUrl(image) {
13
40
  return Boolean(typeof image === "string" && image.trim() !== "");
14
41
  }
@@ -39,31 +66,8 @@ const Image = ({ src = "", mode = "default", hasZoom, ...plainImageProps }) => {
39
66
  }
40
67
  return hasZoom ? /* @__PURE__ */ jsx(Zoom, { wrapElement: "span", zoomMargin: 40, children: image }) : image;
41
68
  };
42
- const SiteContext = createContext(null);
43
- const SiteProvider = ({ children, ...context }) => {
44
- const value = useMemo(() => context, []);
45
- return /* @__PURE__ */ jsx(SiteContext.Provider, { value, children });
46
- };
47
- function useSiteContext() {
48
- const context = useContext(SiteContext);
49
- if (!context) {
50
- throw new Error("useSiteContext must be used within SiteProvider");
51
- }
52
- return context;
53
- }
54
- const PageContext = createContext(null);
55
- const PageProvider = ({ children, location }) => {
56
- const { localization } = useSiteContext();
57
- const { currentLocale } = useLocalization({ location, ...localization });
58
- const value = useMemo(() => ({ currentLocale }), [currentLocale]);
59
- return /* @__PURE__ */ jsx(PageContext.Provider, { value, children });
60
- };
61
- function usePageContext() {
62
- const context = useContext(PageContext);
63
- if (!context) {
64
- throw new Error("usePageContext must be used within PageProvider");
65
- }
66
- return context;
69
+ function isExternalLink(path) {
70
+ return isAbsolutePath(path);
67
71
  }
68
72
  function normalizePath(path = "") {
69
73
  return path.replace(/^\/+|\/+$/g, "").replace(/\/+/g, "/");
@@ -79,12 +83,24 @@ function getLocalizedPath(path, currentLocaleCode, defaultLocaleCode) {
79
83
  }
80
84
  return `${localePrefix}${normalizePath(path)}`;
81
85
  }
82
- const Link = forwardRef(({ to, ...props }, ref) => {
86
+ const Link = forwardRef(({ to = "", isRedirectLink, ...props }, ref) => {
83
87
  const { localization } = useSiteContext();
84
88
  const { currentLocale } = usePageContext();
85
- const defaultLocale = localization.defaultLocale;
86
- const path = getLocalizedPath(to, currentLocale.code, defaultLocale.code);
87
- return /* @__PURE__ */ jsx(Link$1, { ref, to: path, ...props });
89
+ if (isExternalLink(to)) {
90
+ return /* @__PURE__ */ jsx(
91
+ Link$1,
92
+ {
93
+ ref,
94
+ href: isRedirectLink ? `/follow?to=${to}` : to,
95
+ target: "_blank",
96
+ rel: "noopener noreferrer nofollow",
97
+ referrerPolicy: "no-referrer",
98
+ ...props
99
+ }
100
+ );
101
+ }
102
+ const path = getLocalizedPath(to, currentLocale.code, localization.defaultLocale.code);
103
+ return /* @__PURE__ */ jsx(Link$1, { ref, as: Link$2, to: path, ...props });
88
104
  });
89
105
  export {
90
106
  Image as I,
@@ -8,7 +8,7 @@ function useLocalization({ location, defaultLocale, locales }) {
8
8
  react.useEffect(() => {
9
9
  const cleanPath = path.replace(/^\/+|\/+$/g, "");
10
10
  const maybeLocaleCode = cleanPath.split("/")[0];
11
- const maybeLocale = locales.find(({ code }) => code === maybeLocaleCode);
11
+ const maybeLocale = locales.find(({ code }) => code.toLowerCase() === maybeLocaleCode.toLowerCase());
12
12
  const locale = maybeLocale ? maybeLocale : defaultLocale;
13
13
  if (locale.code !== currentLocale.code) {
14
14
  setCurrentLocale(locale);
@@ -1,14 +1,5 @@
1
1
  "use strict";
2
2
  const i18n = require("./i18n/index.cjs");
3
- function getCurrencySymbol(currencyCode, locale = i18n.DEFAULT_LANGUAGE) {
4
- const symbol = 0 .toLocaleString(locale, {
5
- style: "currency",
6
- currency: currencyCode,
7
- minimumFractionDigits: 0,
8
- maximumFractionDigits: 0
9
- }).replace(/\d/g, "").trim();
10
- return symbol;
11
- }
12
3
  function getCurrentYear(locale = i18n.DEFAULT_LANGUAGE) {
13
4
  const currentDate = /* @__PURE__ */ new Date();
14
5
  const currentYear = new Intl.DateTimeFormat(locale, { year: "numeric" }).format(currentDate);
@@ -64,23 +55,9 @@ function formatNumber(number, options) {
64
55
  const formatter = new Intl.NumberFormat(locale, formatOptions);
65
56
  return `${formatter.format(round(number, precision))}${postfix}`;
66
57
  }
67
- function randomComparator() {
68
- return Math.random() - 0.5;
69
- }
70
- function seededRandom(seed) {
71
- return Math.abs(Math.sin(seed));
72
- }
73
- function getSeededRandomComparator(seed) {
74
- const safeSeed = Math.abs(seed) % Number.MAX_SAFE_INTEGER;
75
- let index = 0;
76
- return () => seededRandom(safeSeed + index++) - 0.5;
77
- }
78
58
  exports.formatDate = formatDate;
79
59
  exports.formatNumber = formatNumber;
80
- exports.getCurrencySymbol = getCurrencySymbol;
81
60
  exports.getCurrentMonth = getCurrentMonth;
82
61
  exports.getCurrentYear = getCurrentYear;
83
- exports.getSeededRandomComparator = getSeededRandomComparator;
84
- exports.randomComparator = randomComparator;
85
62
  exports.round = round;
86
63
  exports.toFixedTwo = toFixedTwo;
package/dist/index.cjs CHANGED
@@ -1,23 +1,33 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index-D86anUPd.js");
4
- const index$1 = require("./index-DZBLiQFh.js");
5
- const index$2 = require("./index-WFgDSB1A.js");
6
- const index$3 = require("./index-CAfBnNV6.js");
3
+ const index = require("./index-B71VkIfX.js");
4
+ const index$1 = require("./index-BTpEZIok.js");
5
+ const index$2 = require("./index-DDg_PkD2.js");
6
+ const index$3 = require("./index-QPgJfbrC.js");
7
+ const index$4 = require("./index-ma-iV7GU.js");
8
+ const index$5 = require("./index-D15SAjJc.js");
7
9
  const i18n = require("./i18n/index.cjs");
8
- const index$4 = require("./index-BcFDxh8P.js");
9
- const index$5 = require("./index-CJVr79Z2.js");
10
- const index$6 = require("./index-C6MG_f24.js");
11
- const index$7 = require("./index-CYr1ct1t.js");
12
- const index$8 = require("./index-BICcOaT7.js");
13
- const index$9 = require("./index-At00w6EN.js");
14
- const index$a = require("./index-CbuiYkSg.js");
10
+ const layout = require("./layout/index.cjs");
11
+ const index$6 = require("./index-TxqSZvgf.js");
12
+ const index$7 = require("./index-B-k9oWE7.js");
13
+ const index$8 = require("./index-C6MG_f24.js");
14
+ const index$9 = require("./index-CYr1ct1t.js");
15
+ const index$a = require("./index-BfITsKAr.js");
16
+ const index$b = require("./index-qR3kVjjs.js");
17
+ const index$c = require("./index-DgrIJs-a.js");
18
+ const index$d = require("./index-CbuiYkSg.js");
19
+ exports.ActionButton = index.ActionButton;
20
+ exports.ArticleCard = index.ArticleCard;
21
+ exports.ArticleCardGrid = index.ArticleCardGrid;
22
+ exports.ArticleInfoCard = index.ArticleInfoCard;
23
+ exports.ArticleMeta = index.ArticleMeta;
15
24
  exports.Author = index.Author;
16
25
  exports.AuthorCard = index.AuthorCard;
17
26
  exports.BonusCard = index.BonusCard;
18
27
  exports.BonusCardGrid = index.BonusCardGrid;
19
28
  exports.Center = index.Center;
20
- exports.ContactForm = index.ContactForm;
29
+ exports.Contacts = index.Contacts;
30
+ exports.CookiePolicy = index.CookiePolicy;
21
31
  exports.Faq = index.Faq;
22
32
  exports.FeatureCard = index.FeatureCard;
23
33
  exports.FeatureCardGrid = index.FeatureCardGrid;
@@ -27,46 +37,64 @@ exports.GameDemo = index.GameDemo;
27
37
  exports.GameInfo = index.GameInfo;
28
38
  exports.Grid = index.Grid;
29
39
  exports.HowTo = index.HowTo;
30
- exports.Layout = index.Layout;
31
- exports.LinkButton = index.LinkButton;
40
+ exports.Informer = index.Informer;
32
41
  exports.List = index.List;
33
42
  exports.NotFound = index.NotFound;
43
+ exports.PrivacyPolicy = index.PrivacyPolicy;
34
44
  exports.ProsCons = index.ProsCons;
35
45
  exports.Seo = index.Seo;
36
- exports.SocialNetwork = index.SocialNetwork;
37
- exports.SocialNetworks = index.SocialNetworks;
38
46
  exports.StrapiContentRenderer = index.StrapiContentRenderer;
39
47
  exports.Table = index.Table;
40
48
  exports.Tabs = index.Tabs;
49
+ exports.TermsAndConditions = index.TermsAndConditions;
41
50
  exports.Tip = index.Tip;
42
- exports.Image = index$1.Image;
43
- exports.Link = index$1.Link;
44
- exports.PageProvider = index$1.PageProvider;
45
- exports.SiteProvider = index$1.SiteProvider;
46
- exports.usePageContext = index$1.usePageContext;
47
- exports.useSiteContext = index$1.useSiteContext;
48
- exports.useLocalization = index$2.useLocalization;
49
- exports.usePrimaryColors = index$3.usePrimaryColors;
51
+ exports.CasinoTable = index$1.CasinoTable;
52
+ exports.Container = index$1.Container;
53
+ exports.CopyText = index$1.CopyText;
54
+ exports.LinkButton = index$1.LinkButton;
55
+ exports.Logo = index$1.Logo;
56
+ exports.Rating = index$1.Rating;
57
+ exports.SocialNetwork = index$1.SocialNetwork;
58
+ exports.SocialNetworks = index$1.SocialNetworks;
59
+ exports.H1 = index$2.Heading1;
60
+ exports.H2 = index$2.Heading2;
61
+ exports.H3 = index$2.Heading3;
62
+ exports.OL = index$2.Ordered;
63
+ exports.P = index$2.Paragraph;
64
+ exports.UL = index$2.Unordered;
65
+ exports.Image = index$3.Image;
66
+ exports.Link = index$3.Link;
67
+ exports.PageProvider = index$3.PageProvider;
68
+ exports.SiteProvider = index$3.SiteProvider;
69
+ exports.usePageContext = index$3.usePageContext;
70
+ exports.useSiteContext = index$3.useSiteContext;
71
+ exports.useLocalization = index$4.useLocalization;
72
+ exports.usePrimaryColors = index$5.usePrimaryColors;
50
73
  exports.DEFAULT_LANGUAGE = i18n.DEFAULT_LANGUAGE;
51
74
  exports.resources = i18n.resources;
52
- exports.MdxProvider = index$4.MdxProvider;
53
- exports.GameCharacteristic = index$5.GameCharacteristic;
54
- exports.GameVolatility = index$5.GameVolatility;
55
- exports.Animation = index$6.Animation;
56
- exports.getLocale = index$7.getLocale;
57
- exports.getLocales = index$7.getLocales;
58
- exports.getNavigation = index$7.getNavigation;
59
- exports.getSiteName = index$7.getSiteName;
60
- exports.formatDate = index$8.formatDate;
61
- exports.formatNumber = index$8.formatNumber;
62
- exports.getCurrencySymbol = index$8.getCurrencySymbol;
63
- exports.getCurrentMonth = index$8.getCurrentMonth;
64
- exports.getCurrentYear = index$8.getCurrentYear;
65
- exports.getSeededRandomComparator = index$8.getSeededRandomComparator;
66
- exports.randomComparator = index$8.randomComparator;
67
- exports.round = index$8.round;
68
- exports.toFixedTwo = index$8.toFixedTwo;
69
- exports.buildPath = index$9.buildPath;
70
- exports.isRelativePath = index$9.isRelativePath;
71
- exports.DARK_THEME_COLOR = index$a.DARK_THEME_COLOR;
72
- exports.LIGHT_THEME_COLOR = index$a.LIGHT_THEME_COLOR;
75
+ exports.Layout = layout;
76
+ exports.MdxProvider = index$6.MdxProvider;
77
+ exports.CasinoCharacteristic = index$7.CasinoCharacteristic;
78
+ exports.CasinoTableColumn = index$7.CasinoTableColumn;
79
+ exports.GameCharacteristic = index$7.GameCharacteristic;
80
+ exports.GameVolatility = index$7.GameVolatility;
81
+ exports.InformerType = index$7.InformerType;
82
+ exports.Animation = index$8.Animation;
83
+ exports.getLocale = index$9.getLocale;
84
+ exports.getLocales = index$9.getLocales;
85
+ exports.getNavigation = index$9.getNavigation;
86
+ exports.getSiteName = index$9.getSiteName;
87
+ exports.getCurrencySymbol = index$a.getCurrencySymbol;
88
+ exports.getSeededRandomComparator = index$a.getSeededRandomComparator;
89
+ exports.randomComparator = index$a.randomComparator;
90
+ exports.formatDate = index$b.formatDate;
91
+ exports.formatNumber = index$b.formatNumber;
92
+ exports.getCurrentMonth = index$b.getCurrentMonth;
93
+ exports.getCurrentYear = index$b.getCurrentYear;
94
+ exports.round = index$b.round;
95
+ exports.toFixedTwo = index$b.toFixedTwo;
96
+ exports.buildPath = index$c.buildPath;
97
+ exports.isAbsolutePath = index$c.isAbsolutePath;
98
+ exports.isRelativePath = index$c.isRelativePath;
99
+ exports.DARK_THEME_COLOR = index$d.DARK_THEME_COLOR;
100
+ exports.LIGHT_THEME_COLOR = index$d.LIGHT_THEME_COLOR;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from './components';
2
2
  export * from './hooks';
3
3
  export * from './i18n';
4
+ export { default as Layout } from './layout';
4
5
  export * from './providers';
5
6
  export * from './types';
6
7
  export * from './utils';
package/dist/index.mjs CHANGED
@@ -1,72 +1,100 @@
1
- import { k, A, B, a, l, C, F, b, c, G, d, e, f, m, H, L, n, g, N, P, S, o, p, h, T, i, j } from "./index-cEaX-HbN.mjs";
2
- import { I, L as L2, P as P2, S as S2, u, a as a2 } from "./index-8_-KtKsW.mjs";
3
- import { u as u2 } from "./index-BzbpMLDD.mjs";
4
- import { u as u3 } from "./index-tj12BA6U.mjs";
1
+ import { A, a, b, c, n, o, d, B, e, C, r, q, F, f, g, G, h, i, j, p, H, I, L, N, s, P, S, k, T, l, t, m } from "./index-CEqTLcAR.mjs";
2
+ import { C as C2, a as a2, b as b2, L as L2, c as c2, R, S as S2, d as d2 } from "./index-Lln67Kfn.mjs";
3
+ import { H as H2, a as a3, b as b3, O, P as P2, U } from "./index-BEjKnOZA.mjs";
4
+ import { I as I2, L as L3, P as P3, S as S3, u, a as a4 } from "./index-ksqN4RPm.mjs";
5
+ import { u as u2 } from "./index-DHURrUMW.mjs";
6
+ import { u as u3 } from "./index-CB0JfZMx.mjs";
5
7
  import { DEFAULT_LANGUAGE, resources } from "./i18n/index.mjs";
6
- import { M } from "./index-C_FekfFC.mjs";
7
- import { a as a3, G as G2 } from "./index-Bts2DBYS.mjs";
8
+ import { default as default2 } from "./layout/index.mjs";
9
+ import { M } from "./index-FfZIjQy3.mjs";
10
+ import { a as a5, C as C3, b as b4, G as G2, I as I3 } from "./index-CVN8I7r9.mjs";
8
11
  import { A as A2 } from "./index-BJRvnR8Q.mjs";
9
- import { b as b2, c as c2, g as g2, a as a4 } from "./index-cQqALZIW.mjs";
10
- import { f as f2, c as c3, g as g3, b as b3, a as a5, e as e2, d as d2, r, t } from "./index-BCK4kr6V.mjs";
11
- import { b as b4, i as i2 } from "./index-BmaWfWLV.mjs";
12
- import { D, L as L3 } from "./index-BRVKhbs6.mjs";
12
+ import { b as b5, c as c3, g as g2, a as a6 } from "./index-cQqALZIW.mjs";
13
+ import { g as g3, a as a7, r as r2 } from "./index-BeJTy4iY.mjs";
14
+ import { f as f2, b as b6, a as a8, g as g4, r as r3, t as t2 } from "./index-C7z5qqm_.mjs";
15
+ import { b as b7, a as a9, i as i2 } from "./index-Bph7a3PR.mjs";
16
+ import { D, L as L4 } from "./index-BRVKhbs6.mjs";
13
17
  export {
18
+ A as ActionButton,
14
19
  A2 as Animation,
15
- k as Author,
16
- A as AuthorCard,
20
+ a as ArticleCard,
21
+ b as ArticleCardGrid,
22
+ c as ArticleInfoCard,
23
+ n as ArticleMeta,
24
+ o as Author,
25
+ d as AuthorCard,
17
26
  B as BonusCard,
18
- a as BonusCardGrid,
19
- l as Center,
20
- C as ContactForm,
27
+ e as BonusCardGrid,
28
+ a5 as CasinoCharacteristic,
29
+ C2 as CasinoTable,
30
+ C3 as CasinoTableColumn,
31
+ C as Center,
32
+ r as Contacts,
33
+ a2 as Container,
34
+ q as CookiePolicy,
35
+ b2 as CopyText,
21
36
  D as DARK_THEME_COLOR,
22
37
  DEFAULT_LANGUAGE,
23
38
  F as Faq,
24
- b as FeatureCard,
25
- c as FeatureCardGrid,
39
+ f as FeatureCard,
40
+ g as FeatureCardGrid,
26
41
  G as GameCard,
27
- d as GameCardGrid,
28
- a3 as GameCharacteristic,
29
- e as GameDemo,
30
- f as GameInfo,
42
+ h as GameCardGrid,
43
+ b4 as GameCharacteristic,
44
+ i as GameDemo,
45
+ j as GameInfo,
31
46
  G2 as GameVolatility,
32
- m as Grid,
47
+ p as Grid,
48
+ H2 as H1,
49
+ a3 as H2,
50
+ b3 as H3,
33
51
  H as HowTo,
34
- I as Image,
35
- L3 as LIGHT_THEME_COLOR,
36
- L as Layout,
37
- L2 as Link,
38
- n as LinkButton,
39
- g as List,
52
+ I2 as Image,
53
+ I as Informer,
54
+ I3 as InformerType,
55
+ L4 as LIGHT_THEME_COLOR,
56
+ default2 as Layout,
57
+ L3 as Link,
58
+ L2 as LinkButton,
59
+ L as List,
60
+ c2 as Logo,
40
61
  M as MdxProvider,
41
62
  N as NotFound,
42
- P2 as PageProvider,
63
+ O as OL,
64
+ P2 as P,
65
+ P3 as PageProvider,
66
+ s as PrivacyPolicy,
43
67
  P as ProsCons,
68
+ R as Rating,
44
69
  S as Seo,
45
- S2 as SiteProvider,
46
- o as SocialNetwork,
47
- p as SocialNetworks,
48
- h as StrapiContentRenderer,
70
+ S3 as SiteProvider,
71
+ S2 as SocialNetwork,
72
+ d2 as SocialNetworks,
73
+ k as StrapiContentRenderer,
49
74
  T as Table,
50
- i as Tabs,
51
- j as Tip,
52
- b4 as buildPath,
75
+ l as Tabs,
76
+ t as TermsAndConditions,
77
+ m as Tip,
78
+ U as UL,
79
+ b7 as buildPath,
53
80
  f2 as formatDate,
54
- c3 as formatNumber,
81
+ b6 as formatNumber,
55
82
  g3 as getCurrencySymbol,
56
- b3 as getCurrentMonth,
57
- a5 as getCurrentYear,
58
- b2 as getLocale,
59
- c2 as getLocales,
83
+ a8 as getCurrentMonth,
84
+ g4 as getCurrentYear,
85
+ b5 as getLocale,
86
+ c3 as getLocales,
60
87
  g2 as getNavigation,
61
- e2 as getSeededRandomComparator,
62
- a4 as getSiteName,
88
+ a7 as getSeededRandomComparator,
89
+ a6 as getSiteName,
90
+ a9 as isAbsolutePath,
63
91
  i2 as isRelativePath,
64
- d2 as randomComparator,
92
+ r2 as randomComparator,
65
93
  resources,
66
- r as round,
67
- t as toFixedTwo,
94
+ r3 as round,
95
+ t2 as toFixedTwo,
68
96
  u2 as useLocalization,
69
97
  u as usePageContext,
70
98
  u3 as usePrimaryColors,
71
- a2 as useSiteContext
99
+ a4 as useSiteContext
72
100
  };
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { INavItem } from '../../../../types';
2
+ import { INavItem } from '../../../types';
3
3
  type NavigationProps = {
4
4
  menu: INavItem[];
5
5
  };
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../../../../../types';
2
+ export declare const BrazilIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../../../../../types';
2
+ export declare const BulgariaIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../../../../../types';
2
+ export declare const DenmarkIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../../../../../types';
2
+ export declare const FinlandIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../../../../../types';
2
+ export declare const FranceIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../../../../../types';
2
+ export declare const GeorgiaIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../../../../../types';
2
+ export declare const GermanyIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../../../../../types';
2
+ export declare const GlobeIcon: IconComponent;
@@ -0,0 +1,10 @@
1
+ export { BrazilIcon } from './brazil';
2
+ export { BulgariaIcon } from './bulgaria';
3
+ export { DenmarkIcon } from './denmark';
4
+ export { FinlandIcon } from './finland';
5
+ export { FranceIcon } from './france';
6
+ export { GeorgiaIcon } from './georgia';
7
+ export { GermanyIcon } from './germany';
8
+ export { GlobeIcon } from './globe';
9
+ export { ItalyIcon } from './italy';
10
+ export { RussiaIcon } from './russia';
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../../../../../types';
2
+ export declare const ItalyIcon: IconComponent;
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../../../../../types';
2
+ export declare const RussiaIcon: IconComponent;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { ILocale } from '../../../../types';
2
+ import { ILocale } from '../../../types';
3
3
  type LocaleSwitcherProps = {
4
4
  currentLocale: ILocale;
5
5
  locales: ILocale[];
@@ -1,2 +1,2 @@
1
- import { IconComponent, ILocale } from '../../../../types';
1
+ import { IconComponent, ILocale } from '../../../types';
2
2
  export declare function getMappedIcon(code: ILocale['code']): IconComponent;
@@ -1,4 +1,4 @@
1
1
  import { FC } from 'react';
2
- import { NavigationProps } from '../../../../../types';
2
+ import { NavigationProps } from '../../../../types';
3
3
  declare const DesktopNavigation: FC<NavigationProps>;
4
4
  export default DesktopNavigation;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { INavItem } from '../../../../../../types';
2
+ import { INavItem } from '../../../../../types';
3
3
  type NavListProps = INavItem;
4
4
  declare const NavList: FC<NavListProps>;
5
5
  export default NavList;
@@ -1,4 +1,4 @@
1
1
  import { FC } from 'react';
2
- import { NavigationProps } from '../../../../types';
2
+ import { NavigationProps } from '../../../types';
3
3
  declare const Navigation: FC<NavigationProps>;
4
4
  export default Navigation;
@@ -1,4 +1,4 @@
1
1
  import { FC } from 'react';
2
- import { NavigationProps } from '../../../../../types';
2
+ import { NavigationProps } from '../../../../types';
3
3
  declare const MobileNavigation: FC<NavigationProps>;
4
4
  export default MobileNavigation;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { INavItem } from '../../../../../../types';
2
+ import { INavItem } from '../../../../../types';
3
3
  type NavListProps = INavItem & {
4
4
  isExpanded: boolean;
5
5
  onExpand: VoidFunction;
@@ -1,4 +1,4 @@
1
- import { INavItem } from '../../../../../types';
1
+ import { INavItem } from '../../../../types';
2
2
  type NavLinkProps = Omit<INavItem, 'children'>;
3
3
  declare const NavLink: import('react').ForwardRefExoticComponent<NavLinkProps & import('react').RefAttributes<HTMLAnchorElement>>;
4
4
  export default NavLink;