@anywayseo/tools 5.4.4 → 5.5.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.
- package/dist/components/index.cjs +2 -2
- package/dist/components/index.mjs +2 -2
- package/dist/{index-BHhn1SKu.mjs → index-8_-KtKsW.mjs} +1 -1
- package/dist/{index-BuxP2ZlR.js → index-BcFDxh8P.js} +1 -1
- package/dist/{index-C7Y6A1Y-.mjs → index-C_FekfFC.mjs} +1 -1
- package/dist/{index-B6kYIp5c.js → index-D86anUPd.js} +64 -19
- package/dist/{index-BLUHHmn6.js → index-DZBLiQFh.js} +1 -1
- package/dist/{index-BocEjctw.mjs → index-cEaX-HbN.mjs} +64 -19
- package/dist/index.cjs +3 -3
- package/dist/index.mjs +3 -3
- package/dist/providers/index.cjs +2 -2
- package/dist/providers/index.mjs +2 -2
- package/dist/types/components/game-card/index.d.ts +3 -3
- package/dist/types/components/strapi-component/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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-D86anUPd.js");
|
|
4
|
+
const index$1 = require("../index-DZBLiQFh.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, o, p, h, T, i, j } from "../index-
|
|
2
|
-
import { I, L as L2 } from "../index-
|
|
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 } from "../index-8_-KtKsW.mjs";
|
|
3
3
|
export {
|
|
4
4
|
k as Author,
|
|
5
5
|
A as AuthorCard,
|
|
@@ -19,7 +19,7 @@ function isStaticImage(image) {
|
|
|
19
19
|
return Boolean(typeof image.type === "function");
|
|
20
20
|
}
|
|
21
21
|
function isImageComponent(image) {
|
|
22
|
-
return Boolean(typeof image !== "string" && (isGatsbyImage(image)
|
|
22
|
+
return Boolean(typeof image !== "string" && ("image" in image.props ? isGatsbyImage(image) : isStaticImage(image)));
|
|
23
23
|
}
|
|
24
24
|
const Image = ({ src = "", mode = "default", hasZoom, ...plainImageProps }) => {
|
|
25
25
|
let image;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
3
|
const react$1 = require("@chakra-ui/react");
|
|
4
4
|
const react = require("@mdx-js/react");
|
|
5
|
-
const index = require("./index-
|
|
5
|
+
const index = require("./index-DZBLiQFh.js");
|
|
6
6
|
require("react");
|
|
7
7
|
require("react-i18next");
|
|
8
8
|
require("./index-C6MG_f24.js");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Text, UnorderedList, OrderedList, Heading, Link } from "@chakra-ui/react";
|
|
3
3
|
import { MDXProvider } from "@mdx-js/react";
|
|
4
|
-
import { I as Image, L as Link$1 } from "./index-
|
|
4
|
+
import { I as Image, L as Link$1 } from "./index-8_-KtKsW.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-i18next";
|
|
7
7
|
import "./index-BJRvnR8Q.mjs";
|
|
@@ -3,7 +3,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
3
3
|
const react = require("@chakra-ui/react");
|
|
4
4
|
const reactI18next = require("react-i18next");
|
|
5
5
|
require("react-medium-image-zoom");
|
|
6
|
-
const index = require("./index-
|
|
6
|
+
const index = require("./index-DZBLiQFh.js");
|
|
7
7
|
const react$1 = require("react");
|
|
8
8
|
const index$3 = require("./index-C6MG_f24.js");
|
|
9
9
|
const index$5 = require("./index-CJVr79Z2.js");
|
|
@@ -398,7 +398,7 @@ const FeatureCardGrid = ({
|
|
|
398
398
|
}
|
|
399
399
|
);
|
|
400
400
|
};
|
|
401
|
-
const GameCard = ({ name, description, image,
|
|
401
|
+
const GameCard = ({ name, description, image, url, height = "auto" }) => {
|
|
402
402
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
403
403
|
react.LinkBox,
|
|
404
404
|
{
|
|
@@ -406,7 +406,7 @@ const GameCard = ({ name, description, image, href, height = "auto" }) => {
|
|
|
406
406
|
rounded: "md",
|
|
407
407
|
borderWidth: 1,
|
|
408
408
|
transition: "transform 0.2s ease",
|
|
409
|
-
cursor:
|
|
409
|
+
cursor: url ? "pointer" : "default",
|
|
410
410
|
overflow: "hidden",
|
|
411
411
|
bg: "blackAlpha.200",
|
|
412
412
|
height,
|
|
@@ -414,7 +414,7 @@ const GameCard = ({ name, description, image, href, height = "auto" }) => {
|
|
|
414
414
|
children: [
|
|
415
415
|
/* @__PURE__ */ jsxRuntime.jsx(index.Image, { src: image, alt: name, mode: "thumbnail" }),
|
|
416
416
|
/* @__PURE__ */ jsxRuntime.jsxs(react.Box, { as: "section", rounded: "md", p: 4, children: [
|
|
417
|
-
/* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", children:
|
|
417
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", children: url ? /* @__PURE__ */ jsxRuntime.jsx(react.LinkOverlay, { href: url, target: "_blank", rel: "noopener noreferrer nofollow", children: name }) : name }),
|
|
418
418
|
!!description && /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontSize: "sm", color: "gray.600", children: description })
|
|
419
419
|
] })
|
|
420
420
|
]
|
|
@@ -1295,6 +1295,21 @@ const Table = ({
|
|
|
1295
1295
|
}
|
|
1296
1296
|
);
|
|
1297
1297
|
};
|
|
1298
|
+
const Tabs = ({ items, render, ...boxProps }) => {
|
|
1299
|
+
const { tabs, panels } = react$1.useMemo(() => {
|
|
1300
|
+
const tabs2 = [];
|
|
1301
|
+
const panels2 = [];
|
|
1302
|
+
items.forEach(({ content, ...tab }) => {
|
|
1303
|
+
tabs2.push(tab);
|
|
1304
|
+
panels2.push(content);
|
|
1305
|
+
});
|
|
1306
|
+
return { tabs: tabs2, panels: panels2 };
|
|
1307
|
+
}, []);
|
|
1308
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(react.Tabs, { overflow: "hidden", colorScheme: "brand", ...boxProps, children: [
|
|
1309
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.TabList, { overflow: "auto hidden", children: tabs.map(({ label, icon }, index2) => /* @__PURE__ */ jsxRuntime.jsx(react.Tab, { children: /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "h3", isTruncated: true, children: icon ? `${icon} ${label}` : label }) }, index2)) }),
|
|
1310
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.TabPanels, { children: panels.map((panel, index2) => /* @__PURE__ */ jsxRuntime.jsx(react.TabPanel, { children: render ? render(panel) : panel }, index2)) })
|
|
1311
|
+
] });
|
|
1312
|
+
};
|
|
1298
1313
|
const Tip = ({ tip, author = null, ...boxProps }) => {
|
|
1299
1314
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1300
1315
|
react.Card,
|
|
@@ -1344,6 +1359,51 @@ const StrapiComponent = ({ type, props, imageComponent }) => {
|
|
|
1344
1359
|
return /* @__PURE__ */ jsxRuntime.jsx(Faq, { items: props.items, mb: 4 });
|
|
1345
1360
|
case "STRAPI__COMPONENT_CONTENT_FEATURES":
|
|
1346
1361
|
return /* @__PURE__ */ jsxRuntime.jsx(FeatureCardGrid, { items: props.items, mb: 4 });
|
|
1362
|
+
case "STRAPI__COMPONENT_CONTENT_GAME_CARDS":
|
|
1363
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1364
|
+
GameCardGrid,
|
|
1365
|
+
{
|
|
1366
|
+
items: props.items.map((item) => ({
|
|
1367
|
+
...item,
|
|
1368
|
+
image: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1369
|
+
ExternalImage,
|
|
1370
|
+
{
|
|
1371
|
+
image: item.image,
|
|
1372
|
+
alt: item.name,
|
|
1373
|
+
component: imageComponent
|
|
1374
|
+
}
|
|
1375
|
+
)
|
|
1376
|
+
})),
|
|
1377
|
+
order: props.order ?? "default",
|
|
1378
|
+
randomSeed: props.randomSeed ?? 0,
|
|
1379
|
+
cardHeight: props.cardHeight ?? "full",
|
|
1380
|
+
mb: 4
|
|
1381
|
+
}
|
|
1382
|
+
);
|
|
1383
|
+
case "STRAPI__COMPONENT_CONTENT_GAME_CARD_TABS":
|
|
1384
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1385
|
+
Tabs,
|
|
1386
|
+
{
|
|
1387
|
+
items: props.items,
|
|
1388
|
+
render: (items) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1389
|
+
GameCardGrid,
|
|
1390
|
+
{
|
|
1391
|
+
items: items.map((item) => ({
|
|
1392
|
+
...item,
|
|
1393
|
+
image: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1394
|
+
ExternalImage,
|
|
1395
|
+
{
|
|
1396
|
+
image: item.image,
|
|
1397
|
+
alt: item.name,
|
|
1398
|
+
component: imageComponent
|
|
1399
|
+
}
|
|
1400
|
+
)
|
|
1401
|
+
}))
|
|
1402
|
+
}
|
|
1403
|
+
),
|
|
1404
|
+
mb: 4
|
|
1405
|
+
}
|
|
1406
|
+
);
|
|
1347
1407
|
case "STRAPI__COMPONENT_CONTENT_GAME_DEMO":
|
|
1348
1408
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1349
1409
|
GameDemo,
|
|
@@ -1439,21 +1499,6 @@ const StrapiContentRenderer = ({ content, imageComponent }) => {
|
|
|
1439
1499
|
}
|
|
1440
1500
|
return content.map(({ __typename: type, ...props }, index2) => /* @__PURE__ */ jsxRuntime.jsx(StrapiComponent, { type, props, imageComponent }, index2));
|
|
1441
1501
|
};
|
|
1442
|
-
const Tabs = ({ items, render, ...boxProps }) => {
|
|
1443
|
-
const { tabs, panels } = react$1.useMemo(() => {
|
|
1444
|
-
const tabs2 = [];
|
|
1445
|
-
const panels2 = [];
|
|
1446
|
-
items.forEach(({ content, ...tab }) => {
|
|
1447
|
-
tabs2.push(tab);
|
|
1448
|
-
panels2.push(content);
|
|
1449
|
-
});
|
|
1450
|
-
return { tabs: tabs2, panels: panels2 };
|
|
1451
|
-
}, []);
|
|
1452
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(react.Tabs, { overflow: "hidden", colorScheme: "brand", ...boxProps, children: [
|
|
1453
|
-
/* @__PURE__ */ jsxRuntime.jsx(react.TabList, { overflow: "auto hidden", children: tabs.map(({ label, icon }, index2) => /* @__PURE__ */ jsxRuntime.jsx(react.Tab, { children: /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "h3", isTruncated: true, children: icon ? `${icon} ${label}` : label }) }, index2)) }),
|
|
1454
|
-
/* @__PURE__ */ jsxRuntime.jsx(react.TabPanels, { children: panels.map((panel, index2) => /* @__PURE__ */ jsxRuntime.jsx(react.TabPanel, { children: render ? render(panel) : panel }, index2)) })
|
|
1455
|
-
] });
|
|
1456
|
-
};
|
|
1457
1502
|
exports.Author = Author;
|
|
1458
1503
|
exports.AuthorCard = AuthorCard;
|
|
1459
1504
|
exports.BonusCard = BonusCard;
|
|
@@ -20,7 +20,7 @@ function isStaticImage(image) {
|
|
|
20
20
|
return Boolean(typeof image.type === "function");
|
|
21
21
|
}
|
|
22
22
|
function isImageComponent(image) {
|
|
23
|
-
return Boolean(typeof image !== "string" && (isGatsbyImage(image)
|
|
23
|
+
return Boolean(typeof image !== "string" && ("image" in image.props ? isGatsbyImage(image) : isStaticImage(image)));
|
|
24
24
|
}
|
|
25
25
|
const Image = ({ src = "", mode = "default", hasZoom, ...plainImageProps }) => {
|
|
26
26
|
let image;
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { Link, Flex, Box, Collapse, Text, Button, Stack, Center as Center$1, SimpleGrid, 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
4
|
import "react-medium-image-zoom";
|
|
5
|
-
import { I as Image, a as useSiteContext, L as Link$1, u as usePageContext } from "./index-
|
|
5
|
+
import { I as Image, a as useSiteContext, L as Link$1, u as usePageContext } from "./index-8_-KtKsW.mjs";
|
|
6
6
|
import { useRef, useState, useLayoutEffect, Fragment as Fragment$1, useMemo, forwardRef, useEffect } from "react";
|
|
7
7
|
import { A as Animation } from "./index-BJRvnR8Q.mjs";
|
|
8
8
|
import { a as GameCharacteristic } from "./index-Bts2DBYS.mjs";
|
|
@@ -397,7 +397,7 @@ const FeatureCardGrid = ({
|
|
|
397
397
|
}
|
|
398
398
|
);
|
|
399
399
|
};
|
|
400
|
-
const GameCard = ({ name, description, image,
|
|
400
|
+
const GameCard = ({ name, description, image, url, height = "auto" }) => {
|
|
401
401
|
return /* @__PURE__ */ jsxs(
|
|
402
402
|
LinkBox,
|
|
403
403
|
{
|
|
@@ -405,7 +405,7 @@ const GameCard = ({ name, description, image, href, height = "auto" }) => {
|
|
|
405
405
|
rounded: "md",
|
|
406
406
|
borderWidth: 1,
|
|
407
407
|
transition: "transform 0.2s ease",
|
|
408
|
-
cursor:
|
|
408
|
+
cursor: url ? "pointer" : "default",
|
|
409
409
|
overflow: "hidden",
|
|
410
410
|
bg: "blackAlpha.200",
|
|
411
411
|
height,
|
|
@@ -413,7 +413,7 @@ const GameCard = ({ name, description, image, href, height = "auto" }) => {
|
|
|
413
413
|
children: [
|
|
414
414
|
/* @__PURE__ */ jsx(Image, { src: image, alt: name, mode: "thumbnail" }),
|
|
415
415
|
/* @__PURE__ */ jsxs(Box, { as: "section", rounded: "md", p: 4, children: [
|
|
416
|
-
/* @__PURE__ */ jsx(Text, { as: "span", children:
|
|
416
|
+
/* @__PURE__ */ jsx(Text, { as: "span", children: url ? /* @__PURE__ */ jsx(LinkOverlay, { href: url, target: "_blank", rel: "noopener noreferrer nofollow", children: name }) : name }),
|
|
417
417
|
!!description && /* @__PURE__ */ jsx(Text, { fontSize: "sm", color: "gray.600", children: description })
|
|
418
418
|
] })
|
|
419
419
|
]
|
|
@@ -1294,6 +1294,21 @@ const Table = ({
|
|
|
1294
1294
|
}
|
|
1295
1295
|
);
|
|
1296
1296
|
};
|
|
1297
|
+
const Tabs = ({ items, render, ...boxProps }) => {
|
|
1298
|
+
const { tabs, panels } = useMemo(() => {
|
|
1299
|
+
const tabs2 = [];
|
|
1300
|
+
const panels2 = [];
|
|
1301
|
+
items.forEach(({ content, ...tab }) => {
|
|
1302
|
+
tabs2.push(tab);
|
|
1303
|
+
panels2.push(content);
|
|
1304
|
+
});
|
|
1305
|
+
return { tabs: tabs2, panels: panels2 };
|
|
1306
|
+
}, []);
|
|
1307
|
+
return /* @__PURE__ */ jsxs(Tabs$1, { overflow: "hidden", colorScheme: "brand", ...boxProps, children: [
|
|
1308
|
+
/* @__PURE__ */ jsx(TabList, { overflow: "auto hidden", children: tabs.map(({ label, icon }, index) => /* @__PURE__ */ jsx(Tab, { children: /* @__PURE__ */ jsx(Text, { as: "h3", isTruncated: true, children: icon ? `${icon} ${label}` : label }) }, index)) }),
|
|
1309
|
+
/* @__PURE__ */ jsx(TabPanels, { children: panels.map((panel, index) => /* @__PURE__ */ jsx(TabPanel, { children: render ? render(panel) : panel }, index)) })
|
|
1310
|
+
] });
|
|
1311
|
+
};
|
|
1297
1312
|
const Tip = ({ tip, author = null, ...boxProps }) => {
|
|
1298
1313
|
return /* @__PURE__ */ jsxs(
|
|
1299
1314
|
Card,
|
|
@@ -1343,6 +1358,51 @@ const StrapiComponent = ({ type, props, imageComponent }) => {
|
|
|
1343
1358
|
return /* @__PURE__ */ jsx(Faq, { items: props.items, mb: 4 });
|
|
1344
1359
|
case "STRAPI__COMPONENT_CONTENT_FEATURES":
|
|
1345
1360
|
return /* @__PURE__ */ jsx(FeatureCardGrid, { items: props.items, mb: 4 });
|
|
1361
|
+
case "STRAPI__COMPONENT_CONTENT_GAME_CARDS":
|
|
1362
|
+
return /* @__PURE__ */ jsx(
|
|
1363
|
+
GameCardGrid,
|
|
1364
|
+
{
|
|
1365
|
+
items: props.items.map((item) => ({
|
|
1366
|
+
...item,
|
|
1367
|
+
image: /* @__PURE__ */ jsx(
|
|
1368
|
+
ExternalImage,
|
|
1369
|
+
{
|
|
1370
|
+
image: item.image,
|
|
1371
|
+
alt: item.name,
|
|
1372
|
+
component: imageComponent
|
|
1373
|
+
}
|
|
1374
|
+
)
|
|
1375
|
+
})),
|
|
1376
|
+
order: props.order ?? "default",
|
|
1377
|
+
randomSeed: props.randomSeed ?? 0,
|
|
1378
|
+
cardHeight: props.cardHeight ?? "full",
|
|
1379
|
+
mb: 4
|
|
1380
|
+
}
|
|
1381
|
+
);
|
|
1382
|
+
case "STRAPI__COMPONENT_CONTENT_GAME_CARD_TABS":
|
|
1383
|
+
return /* @__PURE__ */ jsx(
|
|
1384
|
+
Tabs,
|
|
1385
|
+
{
|
|
1386
|
+
items: props.items,
|
|
1387
|
+
render: (items) => /* @__PURE__ */ jsx(
|
|
1388
|
+
GameCardGrid,
|
|
1389
|
+
{
|
|
1390
|
+
items: items.map((item) => ({
|
|
1391
|
+
...item,
|
|
1392
|
+
image: /* @__PURE__ */ jsx(
|
|
1393
|
+
ExternalImage,
|
|
1394
|
+
{
|
|
1395
|
+
image: item.image,
|
|
1396
|
+
alt: item.name,
|
|
1397
|
+
component: imageComponent
|
|
1398
|
+
}
|
|
1399
|
+
)
|
|
1400
|
+
}))
|
|
1401
|
+
}
|
|
1402
|
+
),
|
|
1403
|
+
mb: 4
|
|
1404
|
+
}
|
|
1405
|
+
);
|
|
1346
1406
|
case "STRAPI__COMPONENT_CONTENT_GAME_DEMO":
|
|
1347
1407
|
return /* @__PURE__ */ jsx(
|
|
1348
1408
|
GameDemo,
|
|
@@ -1438,21 +1498,6 @@ const StrapiContentRenderer = ({ content, imageComponent }) => {
|
|
|
1438
1498
|
}
|
|
1439
1499
|
return content.map(({ __typename: type, ...props }, index) => /* @__PURE__ */ jsx(StrapiComponent, { type, props, imageComponent }, index));
|
|
1440
1500
|
};
|
|
1441
|
-
const Tabs = ({ items, render, ...boxProps }) => {
|
|
1442
|
-
const { tabs, panels } = useMemo(() => {
|
|
1443
|
-
const tabs2 = [];
|
|
1444
|
-
const panels2 = [];
|
|
1445
|
-
items.forEach(({ content, ...tab }) => {
|
|
1446
|
-
tabs2.push(tab);
|
|
1447
|
-
panels2.push(content);
|
|
1448
|
-
});
|
|
1449
|
-
return { tabs: tabs2, panels: panels2 };
|
|
1450
|
-
}, []);
|
|
1451
|
-
return /* @__PURE__ */ jsxs(Tabs$1, { overflow: "hidden", colorScheme: "brand", ...boxProps, children: [
|
|
1452
|
-
/* @__PURE__ */ jsx(TabList, { overflow: "auto hidden", children: tabs.map(({ label, icon }, index) => /* @__PURE__ */ jsx(Tab, { children: /* @__PURE__ */ jsx(Text, { as: "h3", isTruncated: true, children: icon ? `${icon} ${label}` : label }) }, index)) }),
|
|
1453
|
-
/* @__PURE__ */ jsx(TabPanels, { children: panels.map((panel, index) => /* @__PURE__ */ jsx(TabPanel, { children: render ? render(panel) : panel }, index)) })
|
|
1454
|
-
] });
|
|
1455
|
-
};
|
|
1456
1501
|
export {
|
|
1457
1502
|
AuthorCard as A,
|
|
1458
1503
|
BonusCard as B,
|
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-
|
|
4
|
-
const index$1 = require("./index-
|
|
3
|
+
const index = require("./index-D86anUPd.js");
|
|
4
|
+
const index$1 = require("./index-DZBLiQFh.js");
|
|
5
5
|
const index$2 = require("./index-WFgDSB1A.js");
|
|
6
6
|
const index$3 = require("./index-CAfBnNV6.js");
|
|
7
7
|
const i18n = require("./i18n/index.cjs");
|
|
8
|
-
const index$4 = require("./index-
|
|
8
|
+
const index$4 = require("./index-BcFDxh8P.js");
|
|
9
9
|
const index$5 = require("./index-CJVr79Z2.js");
|
|
10
10
|
const index$6 = require("./index-C6MG_f24.js");
|
|
11
11
|
const index$7 = require("./index-CYr1ct1t.js");
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
2
|
-
import { I, L as L2, P as P2, S as S2, u, a as a2 } from "./index-
|
|
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
3
|
import { u as u2 } from "./index-BzbpMLDD.mjs";
|
|
4
4
|
import { u as u3 } from "./index-tj12BA6U.mjs";
|
|
5
5
|
import { DEFAULT_LANGUAGE, resources } from "./i18n/index.mjs";
|
|
6
|
-
import { M } from "./index-
|
|
6
|
+
import { M } from "./index-C_FekfFC.mjs";
|
|
7
7
|
import { a as a3, G as G2 } from "./index-Bts2DBYS.mjs";
|
|
8
8
|
import { A as A2 } from "./index-BJRvnR8Q.mjs";
|
|
9
9
|
import { b as b2, c as c2, g as g2, a as a4 } from "./index-cQqALZIW.mjs";
|
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-BcFDxh8P.js");
|
|
4
|
+
const index$1 = require("../index-DZBLiQFh.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,8 +1,8 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
1
|
import { IGame } from '../../content';
|
|
3
2
|
import { ILink } from '../link';
|
|
3
|
+
import { ImageType } from '../image';
|
|
4
4
|
export interface IGameCard extends IGame {
|
|
5
|
-
|
|
6
|
-
image?:
|
|
5
|
+
url?: ILink['href'];
|
|
6
|
+
image?: ImageType;
|
|
7
7
|
}
|
|
8
8
|
export type GameCardHeight = 'full' | 'auto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type StrapiComponentType = 'STRAPI__COMPONENT_CONTENT_FAQ' | 'STRAPI__COMPONENT_CONTENT_FEATURES' | 'STRAPI__COMPONENT_CONTENT_GAME_DEMO' | 'STRAPI__COMPONENT_CONTENT_GAME_INFO' | 'STRAPI__COMPONENT_CONTENT_HOW_TO' | 'STRAPI__COMPONENT_CONTENT_LIST' | 'STRAPI__COMPONENT_CONTENT_MEDIA' | 'STRAPI__COMPONENT_CONTENT_PROS_CONS' | 'STRAPI__COMPONENT_CONTENT_RICH_TEXT' | 'STRAPI__COMPONENT_CONTENT_TABLE' | 'STRAPI__COMPONENT_CONTENT_TIP';
|
|
1
|
+
export type StrapiComponentType = 'STRAPI__COMPONENT_CONTENT_FAQ' | 'STRAPI__COMPONENT_CONTENT_FEATURES' | 'STRAPI__COMPONENT_CONTENT_GAME_CARDS' | 'STRAPI__COMPONENT_CONTENT_GAME_CARD_TABS' | 'STRAPI__COMPONENT_CONTENT_GAME_DEMO' | 'STRAPI__COMPONENT_CONTENT_GAME_INFO' | 'STRAPI__COMPONENT_CONTENT_HOW_TO' | 'STRAPI__COMPONENT_CONTENT_LIST' | 'STRAPI__COMPONENT_CONTENT_MEDIA' | 'STRAPI__COMPONENT_CONTENT_PROS_CONS' | 'STRAPI__COMPONENT_CONTENT_RICH_TEXT' | 'STRAPI__COMPONENT_CONTENT_TABLE' | 'STRAPI__COMPONENT_CONTENT_TIP';
|
|
2
2
|
export interface IStrapiComponentFragment {
|
|
3
3
|
__typename: StrapiComponentType;
|
|
4
4
|
[prop: string]: unknown;
|