@anywayseo/tools 5.6.0 → 5.7.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/dist/components/action-button/index.d.ts +5 -0
- package/dist/components/article-card/index.d.ts +7 -0
- package/dist/components/article-card-grid/index.d.ts +7 -0
- package/dist/components/article-info-card/index.d.ts +5 -0
- package/dist/components/base/article-meta/index.d.ts +7 -0
- package/dist/components/base/article-meta/item/index.d.ts +7 -0
- package/dist/components/base/copy-text/index.d.ts +6 -0
- package/dist/components/base/grid/index.d.ts +2 -4
- package/dist/components/base/index.d.ts +3 -0
- package/dist/components/base/rating/index.d.ts +10 -0
- package/dist/components/bonus-card-grid/index.d.ts +2 -4
- package/dist/components/casino-table/index.d.ts +8 -0
- package/dist/components/casino-table/row/casino-actions/index.d.ts +8 -0
- package/dist/components/casino-table/row/casino-bonus/index.d.ts +8 -0
- package/dist/components/casino-table/row/casino-info/index.d.ts +7 -0
- package/dist/components/casino-table/row/casino-info/item/index.d.ts +7 -0
- package/dist/components/casino-table/row/casino-info/utils.d.ts +2 -0
- package/dist/components/casino-table/row/casino-license/index.d.ts +5 -0
- package/dist/components/casino-table/row/casino-logo/index.d.ts +9 -0
- package/dist/components/casino-table/row/casino-name/index.d.ts +8 -0
- package/dist/components/casino-table/row/cell/index.d.ts +7 -0
- package/dist/components/casino-table/row/index.d.ts +7 -0
- package/dist/components/feature-card-grid/index.d.ts +2 -4
- package/dist/components/game-card-grid/index.d.ts +2 -4
- package/dist/components/game-demo/content/index.d.ts +1 -1
- package/dist/components/game-demo/index.d.ts +2 -2
- package/dist/components/game-demo/preview/alert/index.d.ts +3 -0
- package/dist/components/game-demo/preview/index.d.ts +2 -1
- package/dist/components/index.cjs +12 -3
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.mjs +32 -23
- package/dist/components/informer/index.d.ts +9 -0
- package/dist/components/informer/utils.d.ts +5 -0
- package/dist/components/tip/index.d.ts +3 -0
- package/dist/hooks/index.cjs +2 -2
- package/dist/hooks/index.mjs +2 -2
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.mjs +1 -1
- package/dist/i18n/resources/bg/index.d.ts +51 -0
- package/dist/i18n/resources/da/index.d.ts +51 -0
- package/dist/i18n/resources/de/index.d.ts +51 -0
- package/dist/i18n/resources/en/index.d.ts +51 -0
- package/dist/i18n/resources/fi/index.d.ts +51 -0
- package/dist/i18n/resources/fr/index.d.ts +51 -0
- package/dist/i18n/resources/it/index.d.ts +51 -0
- package/dist/i18n/resources/ka/index.d.ts +51 -0
- package/dist/i18n/resources/pt/index.d.ts +51 -0
- package/dist/i18n/resources/ru/index.d.ts +51 -0
- package/dist/{index-DMR4Ptkt.js → index-B-k9oWE7.js} +606 -10
- package/dist/{index-D4zJ5RBA.js → index-BFkFqBM7.js} +5 -4
- package/dist/index-BUz6iLeg.mjs +402 -0
- package/dist/index-BeJTy4iY.mjs +26 -0
- package/dist/index-BfITsKAr.js +25 -0
- package/dist/{index-Drz_7u2p.mjs → index-C7z5qqm_.mjs} +21 -23
- package/dist/{index-DYS7zQW4.mjs → index-CB0JfZMx.mjs} +1 -1
- package/dist/{index-CR5rM7at.js → index-CNyyTj_C.js} +37 -36
- package/dist/{index-CWMHJGbL.mjs → index-CVN8I7r9.mjs} +616 -20
- package/dist/index-CzAt2Bs2.js +401 -0
- package/dist/{index-5J1CqqcW.js → index-D15SAjJc.js} +1 -1
- package/dist/{index-BzbpMLDD.mjs → index-DHURrUMW.mjs} +1 -1
- package/dist/{index-JUwyHkmj.mjs → index-N0fjwTCB.mjs} +238 -69
- package/dist/{index-CyuHme_p.js → index-RL_4tl8T.js} +403 -234
- package/dist/{index-HLGPI9-S.mjs → index-ZivV_RbX.mjs} +30 -29
- package/dist/{index-WFgDSB1A.js → index-ma-iV7GU.js} +1 -1
- package/dist/{index-CkRY_NXp.js → index-qR3kVjjs.js} +20 -22
- package/dist/{index-C2T70CMa.mjs → index-s2a55HsU.mjs} +5 -4
- package/dist/index.cjs +24 -12
- package/dist/index.mjs +53 -41
- package/dist/layout/index.cjs +24 -13
- package/dist/layout/index.mjs +24 -13
- package/dist/providers/index.cjs +2 -2
- package/dist/providers/index.mjs +2 -2
- package/dist/types/components/article-card/index.d.ts +9 -0
- package/dist/types/components/button/index.d.ts +1 -1
- package/dist/types/components/casino/index.d.ts +32 -0
- package/dist/types/components/casino-info/index.d.ts +12 -0
- package/dist/types/components/common/index.d.ts +1 -1
- package/dist/types/components/game-info/index.d.ts +4 -8
- package/dist/types/components/grid/index.d.ts +4 -0
- package/dist/types/components/index.d.ts +4 -0
- package/dist/types/components/informer/index.d.ts +5 -0
- package/dist/types/components/strapi-component/index.d.ts +1 -1
- package/dist/types/content/article/index.d.ts +12 -0
- package/dist/types/content/index.d.ts +1 -0
- package/dist/types/i18n/index.d.ts +1 -1
- package/dist/utils/index.cjs +5 -5
- package/dist/utils/index.mjs +7 -7
- package/package.json +1 -1
- package/dist/index-B1PwYYQt.mjs +0 -24
- package/dist/index-B6wz_B9_.js +0 -145
- package/dist/index-C-ri0Fgy.js +0 -23
- package/dist/index-COv56GyV.mjs +0 -146
|
@@ -6,9 +6,36 @@ 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-
|
|
10
|
-
import
|
|
9
|
+
import "./index-CVN8I7r9.mjs";
|
|
10
|
+
import "@chakra-ui/icons";
|
|
11
|
+
import { u as useLocalization } from "./index-DHURrUMW.mjs";
|
|
11
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,32 +66,6 @@ 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;
|
|
67
|
-
}
|
|
68
69
|
function isExternalLink(path) {
|
|
69
70
|
return isAbsolutePath(path);
|
|
70
71
|
}
|
|
@@ -72,7 +73,7 @@ function normalizePath(path = "") {
|
|
|
72
73
|
return path.replace(/^\/+|\/+$/g, "").replace(/\/+/g, "/");
|
|
73
74
|
}
|
|
74
75
|
function getLocalizedPath(path, currentLocaleCode, defaultLocaleCode) {
|
|
75
|
-
const localePrefix = currentLocaleCode === defaultLocaleCode ? "/" : `/${currentLocaleCode}/`;
|
|
76
|
+
const localePrefix = currentLocaleCode === defaultLocaleCode ? "/" : `/${currentLocaleCode.toLowerCase()}/`;
|
|
76
77
|
if (path === "/") {
|
|
77
78
|
return localePrefix;
|
|
78
79
|
}
|
|
@@ -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,13 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const i18n = require("./i18n/index.cjs");
|
|
3
|
-
function
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
function getCurrentYear(locale = i18n.DEFAULT_LANGUAGE) {
|
|
4
|
+
const currentDate = /* @__PURE__ */ new Date();
|
|
5
|
+
const currentYear = new Intl.DateTimeFormat(locale, { year: "numeric" }).format(currentDate);
|
|
6
|
+
return currentYear;
|
|
7
|
+
}
|
|
8
|
+
function getCurrentMonth(locale = i18n.DEFAULT_LANGUAGE) {
|
|
9
|
+
const currentDate = /* @__PURE__ */ new Date();
|
|
10
|
+
const currentMonth = new Intl.DateTimeFormat(locale, { month: "long" }).format(currentDate);
|
|
11
|
+
return currentMonth;
|
|
12
|
+
}
|
|
13
|
+
function formatDate({ value, locale = i18n.DEFAULT_LANGUAGE, options }) {
|
|
14
|
+
const date = typeof value === "string" || typeof value === "number" ? new Date(value) : value;
|
|
15
|
+
if (isNaN(date.getTime())) {
|
|
16
|
+
throw new Error("Invalid date provided");
|
|
17
|
+
}
|
|
18
|
+
const formatter = new Intl.DateTimeFormat(locale, options);
|
|
19
|
+
return formatter.format(date);
|
|
11
20
|
}
|
|
12
21
|
const DEFAULT_PRECISION = 2;
|
|
13
22
|
function round(number, precision) {
|
|
@@ -46,20 +55,9 @@ function formatNumber(number, options) {
|
|
|
46
55
|
const formatter = new Intl.NumberFormat(locale, formatOptions);
|
|
47
56
|
return `${formatter.format(round(number, precision))}${postfix}`;
|
|
48
57
|
}
|
|
49
|
-
|
|
50
|
-
return Math.random() - 0.5;
|
|
51
|
-
}
|
|
52
|
-
function seededRandom(seed) {
|
|
53
|
-
return Math.abs(Math.sin(seed));
|
|
54
|
-
}
|
|
55
|
-
function getSeededRandomComparator(seed) {
|
|
56
|
-
const safeSeed = Math.abs(seed) % Number.MAX_SAFE_INTEGER;
|
|
57
|
-
let index = 0;
|
|
58
|
-
return () => seededRandom(safeSeed + index++) - 0.5;
|
|
59
|
-
}
|
|
58
|
+
exports.formatDate = formatDate;
|
|
60
59
|
exports.formatNumber = formatNumber;
|
|
61
|
-
exports.
|
|
62
|
-
exports.
|
|
63
|
-
exports.randomComparator = randomComparator;
|
|
60
|
+
exports.getCurrentMonth = getCurrentMonth;
|
|
61
|
+
exports.getCurrentYear = getCurrentYear;
|
|
64
62
|
exports.round = round;
|
|
65
63
|
exports.toFixedTwo = toFixedTwo;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { MDXProvider } from "@mdx-js/react";
|
|
3
|
+
import "react-i18next";
|
|
3
4
|
import "@chakra-ui/react";
|
|
4
|
-
import { I as Image, L as Link } from "./index-
|
|
5
|
+
import { I as Image, L as Link } from "./index-ZivV_RbX.mjs";
|
|
6
|
+
import "./index-BJRvnR8Q.mjs";
|
|
7
|
+
import "./index-CVN8I7r9.mjs";
|
|
5
8
|
import "react";
|
|
6
|
-
import "
|
|
9
|
+
import "@chakra-ui/icons";
|
|
7
10
|
import { P as Paragraph, U as Unordered, O as Ordered, b as Heading3, a as Heading2, H as Heading1 } from "./index-BEjKnOZA.mjs";
|
|
8
|
-
import "./index-BJRvnR8Q.mjs";
|
|
9
|
-
import "./index-CWMHJGbL.mjs";
|
|
10
11
|
function omitProps(props, omittedKeys) {
|
|
11
12
|
const result = { ...props };
|
|
12
13
|
omittedKeys.forEach((key) => {
|
package/dist/index.cjs
CHANGED
|
@@ -1,21 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index-
|
|
4
|
-
const index$1 = require("./index-
|
|
3
|
+
const index = require("./index-RL_4tl8T.js");
|
|
4
|
+
const index$1 = require("./index-CzAt2Bs2.js");
|
|
5
5
|
const index$2 = require("./index-DDg_PkD2.js");
|
|
6
|
-
const index$3 = require("./index-
|
|
7
|
-
const index$4 = require("./index-
|
|
8
|
-
const index$5 = require("./index-
|
|
6
|
+
const index$3 = require("./index-CNyyTj_C.js");
|
|
7
|
+
const index$4 = require("./index-ma-iV7GU.js");
|
|
8
|
+
const index$5 = require("./index-D15SAjJc.js");
|
|
9
9
|
const i18n = require("./i18n/index.cjs");
|
|
10
10
|
const layout = require("./layout/index.cjs");
|
|
11
|
-
const index$6 = require("./index-
|
|
12
|
-
const index$7 = require("./index-
|
|
11
|
+
const index$6 = require("./index-BFkFqBM7.js");
|
|
12
|
+
const index$7 = require("./index-B-k9oWE7.js");
|
|
13
13
|
const index$8 = require("./index-C6MG_f24.js");
|
|
14
14
|
const index$9 = require("./index-CYr1ct1t.js");
|
|
15
|
-
const index$a = require("./index-
|
|
16
|
-
const index$b = require("./index-
|
|
15
|
+
const index$a = require("./index-BfITsKAr.js");
|
|
16
|
+
const index$b = require("./index-qR3kVjjs.js");
|
|
17
17
|
const index$c = require("./index-DgrIJs-a.js");
|
|
18
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;
|
|
19
24
|
exports.Author = index.Author;
|
|
20
25
|
exports.AuthorCard = index.AuthorCard;
|
|
21
26
|
exports.BonusCard = index.BonusCard;
|
|
@@ -32,6 +37,7 @@ exports.GameDemo = index.GameDemo;
|
|
|
32
37
|
exports.GameInfo = index.GameInfo;
|
|
33
38
|
exports.Grid = index.Grid;
|
|
34
39
|
exports.HowTo = index.HowTo;
|
|
40
|
+
exports.Informer = index.Informer;
|
|
35
41
|
exports.List = index.List;
|
|
36
42
|
exports.NotFound = index.NotFound;
|
|
37
43
|
exports.PrivacyPolicy = index.PrivacyPolicy;
|
|
@@ -42,9 +48,12 @@ exports.Table = index.Table;
|
|
|
42
48
|
exports.Tabs = index.Tabs;
|
|
43
49
|
exports.TermsAndConditions = index.TermsAndConditions;
|
|
44
50
|
exports.Tip = index.Tip;
|
|
51
|
+
exports.CasinoTable = index$1.CasinoTable;
|
|
45
52
|
exports.Container = index$1.Container;
|
|
53
|
+
exports.CopyText = index$1.CopyText;
|
|
46
54
|
exports.LinkButton = index$1.LinkButton;
|
|
47
55
|
exports.Logo = index$1.Logo;
|
|
56
|
+
exports.Rating = index$1.Rating;
|
|
48
57
|
exports.SocialNetwork = index$1.SocialNetwork;
|
|
49
58
|
exports.SocialNetworks = index$1.SocialNetworks;
|
|
50
59
|
exports.H1 = index$2.Heading1;
|
|
@@ -65,22 +74,25 @@ exports.DEFAULT_LANGUAGE = i18n.DEFAULT_LANGUAGE;
|
|
|
65
74
|
exports.resources = i18n.resources;
|
|
66
75
|
exports.Layout = layout;
|
|
67
76
|
exports.MdxProvider = index$6.MdxProvider;
|
|
77
|
+
exports.CasinoCharacteristic = index$7.CasinoCharacteristic;
|
|
78
|
+
exports.CasinoTableColumn = index$7.CasinoTableColumn;
|
|
68
79
|
exports.GameCharacteristic = index$7.GameCharacteristic;
|
|
69
80
|
exports.GameVolatility = index$7.GameVolatility;
|
|
81
|
+
exports.InformerType = index$7.InformerType;
|
|
70
82
|
exports.Animation = index$8.Animation;
|
|
71
83
|
exports.getLocale = index$9.getLocale;
|
|
72
84
|
exports.getLocales = index$9.getLocales;
|
|
73
85
|
exports.getNavigation = index$9.getNavigation;
|
|
74
86
|
exports.getSiteName = index$9.getSiteName;
|
|
75
|
-
exports.formatNumber = index$a.formatNumber;
|
|
76
87
|
exports.getCurrencySymbol = index$a.getCurrencySymbol;
|
|
77
88
|
exports.getSeededRandomComparator = index$a.getSeededRandomComparator;
|
|
78
89
|
exports.randomComparator = index$a.randomComparator;
|
|
79
|
-
exports.round = index$a.round;
|
|
80
|
-
exports.toFixedTwo = index$a.toFixedTwo;
|
|
81
90
|
exports.formatDate = index$b.formatDate;
|
|
91
|
+
exports.formatNumber = index$b.formatNumber;
|
|
82
92
|
exports.getCurrentMonth = index$b.getCurrentMonth;
|
|
83
93
|
exports.getCurrentYear = index$b.getCurrentYear;
|
|
94
|
+
exports.round = index$b.round;
|
|
95
|
+
exports.toFixedTwo = index$b.toFixedTwo;
|
|
84
96
|
exports.buildPath = index$c.buildPath;
|
|
85
97
|
exports.isAbsolutePath = index$c.isAbsolutePath;
|
|
86
98
|
exports.isRelativePath = index$c.isRelativePath;
|
package/dist/index.mjs
CHANGED
|
@@ -1,86 +1,98 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as C2, L as L2,
|
|
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-N0fjwTCB.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-BUz6iLeg.mjs";
|
|
3
3
|
import { H as H2, a as a3, b as b3, O, P as P2, U } from "./index-BEjKnOZA.mjs";
|
|
4
|
-
import { I, L as L3, P as P3, S as S3, u, a as a4 } from "./index-
|
|
5
|
-
import { u as u2 } from "./index-
|
|
6
|
-
import { u as u3 } from "./index-
|
|
4
|
+
import { I as I2, L as L3, P as P3, S as S3, u, a as a4 } from "./index-ZivV_RbX.mjs";
|
|
5
|
+
import { u as u2 } from "./index-DHURrUMW.mjs";
|
|
6
|
+
import { u as u3 } from "./index-CB0JfZMx.mjs";
|
|
7
7
|
import { DEFAULT_LANGUAGE, resources } from "./i18n/index.mjs";
|
|
8
8
|
import { default as default2 } from "./layout/index.mjs";
|
|
9
|
-
import { M } from "./index-
|
|
10
|
-
import { a as a5, G as G2 } from "./index-
|
|
9
|
+
import { M } from "./index-s2a55HsU.mjs";
|
|
10
|
+
import { a as a5, C as C3, b as b4, G as G2, I as I3 } from "./index-CVN8I7r9.mjs";
|
|
11
11
|
import { A as A2 } from "./index-BJRvnR8Q.mjs";
|
|
12
|
-
import { b as
|
|
13
|
-
import {
|
|
14
|
-
import { f as
|
|
15
|
-
import { b as
|
|
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
16
|
import { D, L as L4 } from "./index-BRVKhbs6.mjs";
|
|
17
17
|
export {
|
|
18
|
+
A as ActionButton,
|
|
18
19
|
A2 as Animation,
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
a as ArticleCard,
|
|
21
|
+
b as ArticleCardGrid,
|
|
22
|
+
c as ArticleInfoCard,
|
|
23
|
+
n as ArticleMeta,
|
|
24
|
+
o as Author,
|
|
25
|
+
d as AuthorCard,
|
|
21
26
|
B as BonusCard,
|
|
22
|
-
|
|
27
|
+
e as BonusCardGrid,
|
|
28
|
+
a5 as CasinoCharacteristic,
|
|
29
|
+
C2 as CasinoTable,
|
|
30
|
+
C3 as CasinoTableColumn,
|
|
23
31
|
C as Center,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
32
|
+
r as Contacts,
|
|
33
|
+
a2 as Container,
|
|
34
|
+
q as CookiePolicy,
|
|
35
|
+
b2 as CopyText,
|
|
27
36
|
D as DARK_THEME_COLOR,
|
|
28
37
|
DEFAULT_LANGUAGE,
|
|
29
38
|
F as Faq,
|
|
30
|
-
|
|
31
|
-
|
|
39
|
+
f as FeatureCard,
|
|
40
|
+
g as FeatureCardGrid,
|
|
32
41
|
G as GameCard,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
42
|
+
h as GameCardGrid,
|
|
43
|
+
b4 as GameCharacteristic,
|
|
44
|
+
i as GameDemo,
|
|
45
|
+
j as GameInfo,
|
|
37
46
|
G2 as GameVolatility,
|
|
38
|
-
|
|
47
|
+
p as Grid,
|
|
39
48
|
H2 as H1,
|
|
40
49
|
a3 as H2,
|
|
41
50
|
b3 as H3,
|
|
42
51
|
H as HowTo,
|
|
43
|
-
|
|
52
|
+
I2 as Image,
|
|
53
|
+
I as Informer,
|
|
54
|
+
I3 as InformerType,
|
|
44
55
|
L4 as LIGHT_THEME_COLOR,
|
|
45
56
|
default2 as Layout,
|
|
46
57
|
L3 as Link,
|
|
47
58
|
L2 as LinkButton,
|
|
48
59
|
L as List,
|
|
49
|
-
|
|
60
|
+
c2 as Logo,
|
|
50
61
|
M as MdxProvider,
|
|
51
62
|
N as NotFound,
|
|
52
63
|
O as OL,
|
|
53
64
|
P2 as P,
|
|
54
65
|
P3 as PageProvider,
|
|
55
|
-
|
|
66
|
+
s as PrivacyPolicy,
|
|
56
67
|
P as ProsCons,
|
|
68
|
+
R as Rating,
|
|
57
69
|
S as Seo,
|
|
58
70
|
S3 as SiteProvider,
|
|
59
71
|
S2 as SocialNetwork,
|
|
60
|
-
|
|
61
|
-
|
|
72
|
+
d2 as SocialNetworks,
|
|
73
|
+
k as StrapiContentRenderer,
|
|
62
74
|
T as Table,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
75
|
+
l as Tabs,
|
|
76
|
+
t as TermsAndConditions,
|
|
77
|
+
m as Tip,
|
|
66
78
|
U as UL,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
79
|
+
b7 as buildPath,
|
|
80
|
+
f2 as formatDate,
|
|
81
|
+
b6 as formatNumber,
|
|
70
82
|
g3 as getCurrencySymbol,
|
|
71
83
|
a8 as getCurrentMonth,
|
|
72
84
|
g4 as getCurrentYear,
|
|
73
|
-
|
|
74
|
-
|
|
85
|
+
b5 as getLocale,
|
|
86
|
+
c3 as getLocales,
|
|
75
87
|
g2 as getNavigation,
|
|
76
|
-
|
|
88
|
+
a7 as getSeededRandomComparator,
|
|
77
89
|
a6 as getSiteName,
|
|
78
90
|
a9 as isAbsolutePath,
|
|
79
91
|
i2 as isRelativePath,
|
|
80
|
-
|
|
92
|
+
r2 as randomComparator,
|
|
81
93
|
resources,
|
|
82
|
-
|
|
83
|
-
|
|
94
|
+
r3 as round,
|
|
95
|
+
t2 as toFixedTwo,
|
|
84
96
|
u2 as useLocalization,
|
|
85
97
|
u as usePageContext,
|
|
86
98
|
u3 as usePrimaryColors,
|
package/dist/layout/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
3
|
const react = require("@chakra-ui/react");
|
|
4
|
-
require("react-medium-image-zoom");
|
|
5
|
-
const index$1 = require("../index-CR5rM7at.js");
|
|
6
|
-
const react$1 = require("react");
|
|
7
4
|
const reactI18next = require("react-i18next");
|
|
8
|
-
const index = require("../index-B6wz_B9_.js");
|
|
9
5
|
require("@mdx-js/react");
|
|
6
|
+
const index$1 = require("../index-CNyyTj_C.js");
|
|
10
7
|
require("../index-C6MG_f24.js");
|
|
11
|
-
require("../index-
|
|
8
|
+
require("../index-B-k9oWE7.js");
|
|
9
|
+
require("react-medium-image-zoom");
|
|
10
|
+
const react$1 = require("react");
|
|
11
|
+
const index = require("../index-CzAt2Bs2.js");
|
|
12
12
|
const icons = require("@chakra-ui/icons");
|
|
13
13
|
require("i18next");
|
|
14
14
|
require("react-markdown");
|
|
15
|
-
const index$2 = require("../index-
|
|
15
|
+
const index$2 = require("../index-qR3kVjjs.js");
|
|
16
16
|
const index$3 = require("../index-DgrIJs-a.js");
|
|
17
17
|
const Content = ({ children }) => {
|
|
18
18
|
return /* @__PURE__ */ jsxRuntime.jsx(react.Box, { as: "section", py: 4, children: /* @__PURE__ */ jsxRuntime.jsx(index.Container, { children }) });
|
|
@@ -284,8 +284,9 @@ function getMappedIcon(code) {
|
|
|
284
284
|
const LocaleSwitcher = ({ currentLocale, locales }) => {
|
|
285
285
|
const localeCode = currentLocale.code;
|
|
286
286
|
const localeIcon = getMappedIcon(localeCode);
|
|
287
|
+
const localeLabel = localeCode.split("-")[0].toUpperCase();
|
|
287
288
|
const localeMenuItems = react$1.useMemo(
|
|
288
|
-
() => locales.map((locale) => ({ ...locale, icon: getMappedIcon(locale.code) })),
|
|
289
|
+
() => locales.map((locale) => ({ ...locale, code: locale.code.toLowerCase(), icon: getMappedIcon(locale.code) })),
|
|
289
290
|
[locales]
|
|
290
291
|
);
|
|
291
292
|
return /* @__PURE__ */ jsxRuntime.jsxs(react.Menu, { placement: "bottom-end", children: [
|
|
@@ -294,16 +295,26 @@ const LocaleSwitcher = ({ currentLocale, locales }) => {
|
|
|
294
295
|
{
|
|
295
296
|
as: react.Button,
|
|
296
297
|
rightIcon: /* @__PURE__ */ jsxRuntime.jsx(icons.ChevronDownIcon, {}),
|
|
297
|
-
w: { base: 20, md:
|
|
298
|
-
px: { base: 1, md:
|
|
298
|
+
w: { base: 20, md: 24 },
|
|
299
|
+
px: { base: 1, md: 3 },
|
|
299
300
|
size: { base: "sm", md: "lg" },
|
|
300
301
|
children: /* @__PURE__ */ jsxRuntime.jsxs(react.HStack, { children: [
|
|
301
302
|
/* @__PURE__ */ jsxRuntime.jsx(react.Icon, { as: localeIcon }),
|
|
302
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { children:
|
|
303
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: localeLabel })
|
|
303
304
|
] })
|
|
304
305
|
}
|
|
305
306
|
),
|
|
306
|
-
/* @__PURE__ */ jsxRuntime.jsx(react.MenuList, { minW: "fit-content", children: localeMenuItems.map(({ code, name, icon }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
307
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.MenuList, { minW: "fit-content", children: localeMenuItems.map(({ code, name, icon }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
308
|
+
react.MenuItem,
|
|
309
|
+
{
|
|
310
|
+
as: index$1.Link,
|
|
311
|
+
to: `/${code}`,
|
|
312
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(react.Icon, { as: icon, w: 4, h: 4 }),
|
|
313
|
+
_hover: { textDecoration: "none" },
|
|
314
|
+
children: name
|
|
315
|
+
},
|
|
316
|
+
code
|
|
317
|
+
)) })
|
|
307
318
|
] });
|
|
308
319
|
};
|
|
309
320
|
const NavLink = react$1.forwardRef(({ slug, label }, ref) => {
|
|
@@ -348,7 +359,7 @@ const NavList$1 = ({ slug, label, children }) => {
|
|
|
348
359
|
boxShadow: "xl",
|
|
349
360
|
bg: background,
|
|
350
361
|
children: /* @__PURE__ */ jsxRuntime.jsx(react.List, { spacing: 2, p: 0, children: children == null ? void 0 : children.map((child, index2) => {
|
|
351
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react.ListItem, { rounded: "md", _hover: { bg: backgroundHover }, children: /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { as: index$1.Link, to: index$3.buildPath(child.slug, slug), p: 2, role: "group", children: [
|
|
362
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.ListItem, { rounded: "md", _hover: { bg: backgroundHover }, children: /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { as: index$1.Link, to: index$3.buildPath(child.slug, slug), p: 2, role: "group", _hover: { textDecoration: "none" }, children: [
|
|
352
363
|
/* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontWeight: 500, transition: "all .3s ease", _groupHover: { color: "brand.400" }, children: child.label }),
|
|
353
364
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
354
365
|
react.Flex,
|
|
@@ -412,7 +423,7 @@ const NavList = ({ slug, label, children, isExpanded, onExpand }) => {
|
|
|
412
423
|
borderLeft: 1,
|
|
413
424
|
borderStyle: "solid",
|
|
414
425
|
borderColor: react.useColorModeValue("gray.200", "gray.700"),
|
|
415
|
-
children: children == null ? void 0 : children.map((child, index2) => /* @__PURE__ */ jsxRuntime.jsx(react.Flex, { as: "li", role: "listitem", children: /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: index$1.Link, to: index$3.buildPath(child.slug, slug), p: 2, fontSize: "sm", children: child.label }) }, index2))
|
|
426
|
+
children: children == null ? void 0 : children.map((child, index2) => /* @__PURE__ */ jsxRuntime.jsx(react.Flex, { as: "li", role: "listitem", children: /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: index$1.Link, to: index$3.buildPath(child.slug, slug), p: 2, fontSize: "sm", _hover: { textDecoration: "none" }, children: child.label }) }, index2))
|
|
416
427
|
}
|
|
417
428
|
) })
|
|
418
429
|
] });
|
package/dist/layout/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { Box, Divider, AbsoluteCenter, useColorModeValue, Text, SimpleGrid, Flex, Menu, MenuButton, Button, HStack, Icon, MenuList, MenuItem, Popover, PopoverTrigger, PopoverContent, List, ListItem, Stack, Collapse, useDisclosure, IconButton, Heading } from "@chakra-ui/react";
|
|
3
|
-
import "react-medium-image-zoom";
|
|
4
|
-
import { L as Link, a as useSiteContext, u as usePageContext } from "../index-HLGPI9-S.mjs";
|
|
5
|
-
import { useMemo, forwardRef, useState, useEffect } from "react";
|
|
6
3
|
import { useTranslation } from "react-i18next";
|
|
7
|
-
import { C as Container, a as Logo, b as SocialNetworks, L as LinkButton } from "../index-COv56GyV.mjs";
|
|
8
4
|
import "@mdx-js/react";
|
|
5
|
+
import { L as Link, a as useSiteContext, u as usePageContext } from "../index-ZivV_RbX.mjs";
|
|
9
6
|
import "../index-BJRvnR8Q.mjs";
|
|
10
|
-
import "../index-
|
|
7
|
+
import "../index-CVN8I7r9.mjs";
|
|
8
|
+
import "react-medium-image-zoom";
|
|
9
|
+
import { useMemo, forwardRef, useState, useEffect } from "react";
|
|
10
|
+
import { a as Container, c as Logo, d as SocialNetworks, L as LinkButton } from "../index-BUz6iLeg.mjs";
|
|
11
11
|
import { ChevronDownIcon, ChevronRightIcon, CloseIcon, HamburgerIcon, ChevronUpIcon } from "@chakra-ui/icons";
|
|
12
12
|
import "i18next";
|
|
13
13
|
import "react-markdown";
|
|
14
|
-
import { g as getCurrentYear } from "../index-
|
|
14
|
+
import { g as getCurrentYear } from "../index-C7z5qqm_.mjs";
|
|
15
15
|
import { b as buildPath } from "../index-Bph7a3PR.mjs";
|
|
16
16
|
const Content = ({ children }) => {
|
|
17
17
|
return /* @__PURE__ */ jsx(Box, { as: "section", py: 4, children: /* @__PURE__ */ jsx(Container, { children }) });
|
|
@@ -283,8 +283,9 @@ function getMappedIcon(code) {
|
|
|
283
283
|
const LocaleSwitcher = ({ currentLocale, locales }) => {
|
|
284
284
|
const localeCode = currentLocale.code;
|
|
285
285
|
const localeIcon = getMappedIcon(localeCode);
|
|
286
|
+
const localeLabel = localeCode.split("-")[0].toUpperCase();
|
|
286
287
|
const localeMenuItems = useMemo(
|
|
287
|
-
() => locales.map((locale) => ({ ...locale, icon: getMappedIcon(locale.code) })),
|
|
288
|
+
() => locales.map((locale) => ({ ...locale, code: locale.code.toLowerCase(), icon: getMappedIcon(locale.code) })),
|
|
288
289
|
[locales]
|
|
289
290
|
);
|
|
290
291
|
return /* @__PURE__ */ jsxs(Menu, { placement: "bottom-end", children: [
|
|
@@ -293,16 +294,26 @@ const LocaleSwitcher = ({ currentLocale, locales }) => {
|
|
|
293
294
|
{
|
|
294
295
|
as: Button,
|
|
295
296
|
rightIcon: /* @__PURE__ */ jsx(ChevronDownIcon, {}),
|
|
296
|
-
w: { base: 20, md:
|
|
297
|
-
px: { base: 1, md:
|
|
297
|
+
w: { base: 20, md: 24 },
|
|
298
|
+
px: { base: 1, md: 3 },
|
|
298
299
|
size: { base: "sm", md: "lg" },
|
|
299
300
|
children: /* @__PURE__ */ jsxs(HStack, { children: [
|
|
300
301
|
/* @__PURE__ */ jsx(Icon, { as: localeIcon }),
|
|
301
|
-
/* @__PURE__ */ jsx("span", { children:
|
|
302
|
+
/* @__PURE__ */ jsx("span", { children: localeLabel })
|
|
302
303
|
] })
|
|
303
304
|
}
|
|
304
305
|
),
|
|
305
|
-
/* @__PURE__ */ jsx(MenuList, { minW: "fit-content", children: localeMenuItems.map(({ code, name, icon }) => /* @__PURE__ */ jsx(
|
|
306
|
+
/* @__PURE__ */ jsx(MenuList, { minW: "fit-content", children: localeMenuItems.map(({ code, name, icon }) => /* @__PURE__ */ jsx(
|
|
307
|
+
MenuItem,
|
|
308
|
+
{
|
|
309
|
+
as: Link,
|
|
310
|
+
to: `/${code}`,
|
|
311
|
+
icon: /* @__PURE__ */ jsx(Icon, { as: icon, w: 4, h: 4 }),
|
|
312
|
+
_hover: { textDecoration: "none" },
|
|
313
|
+
children: name
|
|
314
|
+
},
|
|
315
|
+
code
|
|
316
|
+
)) })
|
|
306
317
|
] });
|
|
307
318
|
};
|
|
308
319
|
const NavLink = forwardRef(({ slug, label }, ref) => {
|
|
@@ -347,7 +358,7 @@ const NavList$1 = ({ slug, label, children }) => {
|
|
|
347
358
|
boxShadow: "xl",
|
|
348
359
|
bg: background,
|
|
349
360
|
children: /* @__PURE__ */ jsx(List, { spacing: 2, p: 0, children: children == null ? void 0 : children.map((child, index) => {
|
|
350
|
-
return /* @__PURE__ */ jsx(ListItem, { rounded: "md", _hover: { bg: backgroundHover }, children: /* @__PURE__ */ jsxs(Flex, { as: Link, to: buildPath(child.slug, slug), p: 2, role: "group", children: [
|
|
361
|
+
return /* @__PURE__ */ jsx(ListItem, { rounded: "md", _hover: { bg: backgroundHover }, children: /* @__PURE__ */ jsxs(Flex, { as: Link, to: buildPath(child.slug, slug), p: 2, role: "group", _hover: { textDecoration: "none" }, children: [
|
|
351
362
|
/* @__PURE__ */ jsx(Text, { fontWeight: 500, transition: "all .3s ease", _groupHover: { color: "brand.400" }, children: child.label }),
|
|
352
363
|
/* @__PURE__ */ jsx(
|
|
353
364
|
Flex,
|
|
@@ -411,7 +422,7 @@ const NavList = ({ slug, label, children, isExpanded, onExpand }) => {
|
|
|
411
422
|
borderLeft: 1,
|
|
412
423
|
borderStyle: "solid",
|
|
413
424
|
borderColor: useColorModeValue("gray.200", "gray.700"),
|
|
414
|
-
children: children == null ? void 0 : children.map((child, index) => /* @__PURE__ */ jsx(Flex, { as: "li", role: "listitem", children: /* @__PURE__ */ jsx(Text, { as: Link, to: buildPath(child.slug, slug), p: 2, fontSize: "sm", children: child.label }) }, index))
|
|
425
|
+
children: children == null ? void 0 : children.map((child, index) => /* @__PURE__ */ jsx(Flex, { as: "li", role: "listitem", children: /* @__PURE__ */ jsx(Text, { as: Link, to: buildPath(child.slug, slug), p: 2, fontSize: "sm", _hover: { textDecoration: "none" }, children: child.label }) }, index))
|
|
415
426
|
}
|
|
416
427
|
) })
|
|
417
428
|
] });
|
package/dist/providers/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../index-
|
|
4
|
-
const index$1 = require("../index-
|
|
3
|
+
const index = require("../index-BFkFqBM7.js");
|
|
4
|
+
const index$1 = require("../index-CNyyTj_C.js");
|
|
5
5
|
exports.MdxProvider = index.MdxProvider;
|
|
6
6
|
exports.PageProvider = index$1.PageProvider;
|
|
7
7
|
exports.SiteProvider = index$1.SiteProvider;
|
package/dist/providers/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ButtonProps } from '@chakra-ui/react';
|
|
2
2
|
import { BaseSize, IAnimation } from '../common';
|
|
3
3
|
export type BaseButtonProps = Pick<ButtonProps, 'width' | 'textTransform' | 'textDecoration' | 'onClick'> & {
|
|
4
|
-
size?: 'xs' | BaseSize | 'auto';
|
|
4
|
+
size?: 'xs' | BaseSize | 'auto' | ButtonProps['size'];
|
|
5
5
|
animation?: IAnimation;
|
|
6
6
|
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ICasinoInfo, ImageType } from '..';
|
|
2
|
+
export interface IPaymentSystem {
|
|
3
|
+
name: string;
|
|
4
|
+
image: ImageType;
|
|
5
|
+
}
|
|
6
|
+
export interface ICasinoLicense {
|
|
7
|
+
name: string;
|
|
8
|
+
image: ImageType;
|
|
9
|
+
}
|
|
10
|
+
export interface ICasino {
|
|
11
|
+
id: string;
|
|
12
|
+
image?: ImageType;
|
|
13
|
+
casinoUrl?: string;
|
|
14
|
+
name: string;
|
|
15
|
+
rating: number;
|
|
16
|
+
bonus: string;
|
|
17
|
+
promoCode?: string;
|
|
18
|
+
license?: ICasinoLicense;
|
|
19
|
+
paymentSystems?: IPaymentSystem[];
|
|
20
|
+
info?: Partial<ICasinoInfo>;
|
|
21
|
+
referralUrl?: string;
|
|
22
|
+
reviewUrl?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare enum CasinoTableColumn {
|
|
25
|
+
ID = "ID",
|
|
26
|
+
Logo = "LOGO",
|
|
27
|
+
Name = "NAME",
|
|
28
|
+
License = "LICENSE",
|
|
29
|
+
Bonus = "BONUS",
|
|
30
|
+
Info = "INFO",
|
|
31
|
+
Actions = "ACTIONS"
|
|
32
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum CasinoCharacteristic {
|
|
2
|
+
Rtp = "RTP",
|
|
3
|
+
GamesCount = "GAMES_COUNT",
|
|
4
|
+
MidDeposit = "MIN_DEPOSIT",
|
|
5
|
+
PayoutSpeed = "PAYOUT_SPEED"
|
|
6
|
+
}
|
|
7
|
+
export interface ICasinoInfo {
|
|
8
|
+
[CasinoCharacteristic.Rtp]: number;
|
|
9
|
+
[CasinoCharacteristic.GamesCount]: number | string;
|
|
10
|
+
[CasinoCharacteristic.MidDeposit]: number | string;
|
|
11
|
+
[CasinoCharacteristic.PayoutSpeed]: string;
|
|
12
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Key, ReactElement } from 'react';
|
|
2
2
|
import { BoxProps, ColorProps } from '@chakra-ui/react';
|
|
3
|
-
export type KeyGetter<T> = (item: T) => Key;
|
|
3
|
+
export type KeyGetter<T> = (item: T, index: number) => Key;
|
|
4
4
|
export type RenderFunction<T> = (item: T) => ReactElement;
|
|
5
5
|
type BoxPaddingProps = Pick<BoxProps, 'p' | 'pt' | 'pr' | 'pb' | 'pl' | 'px' | 'py' | 'ps' | 'pe'>;
|
|
6
6
|
type BoxMarginProps = Pick<BoxProps, 'm' | 'mt' | 'mr' | 'mb' | 'ml' | 'mx' | 'my' | 'ms' | 'me'>;
|