@anywayseo/tools 1.5.0 → 1.5.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/base/index.d.ts +1 -1
- package/dist/components/index.cjs +2 -2
- package/dist/components/index.mjs +3 -3
- package/dist/{index-CD5ZU1Gw.mjs → index-DD5l7Azu.mjs} +9 -4
- package/dist/{index-CB4bJU2N.js → index-DLPk8AIs.js} +7 -2
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../index-
|
|
3
|
+
const index = require("../index-DLPk8AIs.js");
|
|
4
4
|
exports.Author = index.Author;
|
|
5
5
|
exports.BonusCard = index.BonusCard;
|
|
6
6
|
exports.Center = index.Center;
|
|
@@ -11,7 +11,7 @@ exports.Features = index.Features;
|
|
|
11
11
|
exports.GameCard = index.GameCard;
|
|
12
12
|
exports.GameDemo = index.GameDemo;
|
|
13
13
|
exports.GameInfo = index.GameInfo;
|
|
14
|
-
exports.Grid = index.
|
|
14
|
+
exports.Grid = index.Grid;
|
|
15
15
|
exports.HowTo = index.HowTo;
|
|
16
16
|
exports.Layout = index.Layout;
|
|
17
17
|
exports.LinkButton = index.LinkButton;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A, B, f, C, E, F, a, G, b, c,
|
|
1
|
+
import { A, B, f, C, E, F, a, G, b, c, g, H, L, h, d, P, S, T, e } from "../index-DD5l7Azu.mjs";
|
|
2
2
|
export {
|
|
3
3
|
A as Author,
|
|
4
4
|
B as BonusCard,
|
|
@@ -10,10 +10,10 @@ export {
|
|
|
10
10
|
G as GameCard,
|
|
11
11
|
b as GameDemo,
|
|
12
12
|
c as GameInfo,
|
|
13
|
-
|
|
13
|
+
g as Grid,
|
|
14
14
|
H as HowTo,
|
|
15
15
|
L as Layout,
|
|
16
|
-
|
|
16
|
+
h as LinkButton,
|
|
17
17
|
d as List,
|
|
18
18
|
P as ProsCons,
|
|
19
19
|
S as Seo,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Box, Collapse, Text, Button, Flex, Stack, Card, CardHeader, Heading, CardBody, Center as Center$1, Link, Popover, PopoverTrigger, PopoverContent, PopoverBody, CardFooter, useToast, useColorModeValue, VStack, FormControl, FormLabel, InputGroup, InputLeftElement, Input, Textarea, Accordion, AccordionItem, AccordionButton, AccordionIcon, AccordionPanel,
|
|
2
|
+
import { Box, Collapse, Text, Button, Flex, Stack, Card, CardHeader, Heading, CardBody, Center as Center$1, SimpleGrid, Link, Popover, PopoverTrigger, PopoverContent, PopoverBody, CardFooter, useToast, useColorModeValue, VStack, FormControl, FormLabel, InputGroup, InputLeftElement, Input, Textarea, Accordion, AccordionItem, AccordionButton, AccordionIcon, AccordionPanel, LinkBox, Image, LinkOverlay, IconButton, AbsoluteCenter, Spinner, useDisclosure, Divider, Circle, Container as Container$1, Icon, useBreakpointValue, 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 { EmailIcon, StarIcon, CloseIcon, ExternalLinkIcon, ChevronRightIcon, ChevronDownIcon, HamburgerIcon, ChevronUpIcon, WarningIcon, CheckCircleIcon } from "@chakra-ui/icons";
|
|
5
5
|
import { getImage, GatsbyImage } from "gatsby-plugin-image";
|
|
@@ -81,6 +81,10 @@ const Author = ({ author, ...cardProps }) => {
|
|
|
81
81
|
const Center = ({ children, className }) => {
|
|
82
82
|
return /* @__PURE__ */ jsx(Center$1, { className, children });
|
|
83
83
|
};
|
|
84
|
+
const defaultColumns = { base: 1, sm: 2, md: 3, lg: 4, xl: 5 };
|
|
85
|
+
const Grid = ({ items, columns = defaultColumns, gap, render, getKey, className }) => {
|
|
86
|
+
return /* @__PURE__ */ jsx(SimpleGrid, { as: "ul", columns, spacing: gap, p: 0, m: 0, listStyleType: "none", className, children: items.map((item, index) => /* @__PURE__ */ jsx(Box, { as: "li", children: render(item) }, getKey ? getKey(item) : index)) });
|
|
87
|
+
};
|
|
84
88
|
const LinkButton = ({ label, url, width = "auto" }) => {
|
|
85
89
|
return /* @__PURE__ */ jsx(
|
|
86
90
|
Button,
|
|
@@ -791,10 +795,10 @@ const Layout = ({ children }) => {
|
|
|
791
795
|
] });
|
|
792
796
|
};
|
|
793
797
|
const List = ({ items, bullet = "—", render, className }) => {
|
|
794
|
-
return /* @__PURE__ */ jsx(List$1, { as: "ul", pl: 0, ml: 2, mb: 4, className, children: items.map((item) => /* @__PURE__ */ jsxs(ListItem, { as: "li", display: "flex", gap: 1, children: [
|
|
798
|
+
return /* @__PURE__ */ jsx(List$1, { as: "ul", pl: 0, ml: 2, mb: 4, className, children: items.map((item, index) => /* @__PURE__ */ jsxs(ListItem, { as: "li", display: "flex", gap: 1, children: [
|
|
795
799
|
/* @__PURE__ */ jsx(Box, { children: bullet }),
|
|
796
800
|
render ? render(item) : item
|
|
797
|
-
] })) });
|
|
801
|
+
] }, index)) });
|
|
798
802
|
};
|
|
799
803
|
const TitleMap = {
|
|
800
804
|
pros: "advantages",
|
|
@@ -945,5 +949,6 @@ export {
|
|
|
945
949
|
List as d,
|
|
946
950
|
Tabs as e,
|
|
947
951
|
Center as f,
|
|
948
|
-
|
|
952
|
+
Grid as g,
|
|
953
|
+
LinkButton as h
|
|
949
954
|
};
|
|
@@ -82,6 +82,10 @@ const Author = ({ author, ...cardProps }) => {
|
|
|
82
82
|
const Center = ({ children, className }) => {
|
|
83
83
|
return /* @__PURE__ */ jsxRuntime.jsx(react$1.Center, { className, children });
|
|
84
84
|
};
|
|
85
|
+
const defaultColumns = { base: 1, sm: 2, md: 3, lg: 4, xl: 5 };
|
|
86
|
+
const Grid = ({ items, columns = defaultColumns, gap, render, getKey, className }) => {
|
|
87
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react$1.SimpleGrid, { as: "ul", columns, spacing: gap, p: 0, m: 0, listStyleType: "none", className, children: items.map((item, index2) => /* @__PURE__ */ jsxRuntime.jsx(react$1.Box, { as: "li", children: render(item) }, getKey ? getKey(item) : index2)) });
|
|
88
|
+
};
|
|
85
89
|
const LinkButton = ({ label, url, width = "auto" }) => {
|
|
86
90
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
87
91
|
react$1.Button,
|
|
@@ -792,10 +796,10 @@ const Layout = ({ children }) => {
|
|
|
792
796
|
] });
|
|
793
797
|
};
|
|
794
798
|
const List = ({ items, bullet = "—", render, className }) => {
|
|
795
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react$1.List, { as: "ul", pl: 0, ml: 2, mb: 4, className, children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(react$1.ListItem, { as: "li", display: "flex", gap: 1, children: [
|
|
799
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react$1.List, { as: "ul", pl: 0, ml: 2, mb: 4, className, children: items.map((item, index2) => /* @__PURE__ */ jsxRuntime.jsxs(react$1.ListItem, { as: "li", display: "flex", gap: 1, children: [
|
|
796
800
|
/* @__PURE__ */ jsxRuntime.jsx(react$1.Box, { children: bullet }),
|
|
797
801
|
render ? render(item) : item
|
|
798
|
-
] })) });
|
|
802
|
+
] }, index2)) });
|
|
799
803
|
};
|
|
800
804
|
const TitleMap = {
|
|
801
805
|
pros: "advantages",
|
|
@@ -938,6 +942,7 @@ exports.Features = Features;
|
|
|
938
942
|
exports.GameCard = GameCard;
|
|
939
943
|
exports.GameDemo = GameDemo;
|
|
940
944
|
exports.GameInfo = GameInfo;
|
|
945
|
+
exports.Grid = Grid;
|
|
941
946
|
exports.HowTo = HowTo;
|
|
942
947
|
exports.Layout = Layout;
|
|
943
948
|
exports.LinkButton = LinkButton;
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index-
|
|
3
|
+
const index = require("./index-DLPk8AIs.js");
|
|
4
4
|
const index$1 = require("./index-IpSV-c71.js");
|
|
5
5
|
const i18n$1 = require("./index-DCIXk-YH.js");
|
|
6
6
|
const index$2 = require("./index-BWuTDC6H.js");
|
|
@@ -18,7 +18,7 @@ exports.Features = index.Features;
|
|
|
18
18
|
exports.GameCard = index.GameCard;
|
|
19
19
|
exports.GameDemo = index.GameDemo;
|
|
20
20
|
exports.GameInfo = index.GameInfo;
|
|
21
|
-
exports.Grid = index.
|
|
21
|
+
exports.Grid = index.Grid;
|
|
22
22
|
exports.HowTo = index.HowTo;
|
|
23
23
|
exports.Layout = index.Layout;
|
|
24
24
|
exports.LinkButton = index.LinkButton;
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A, B, f, C, E, F, a, G, b, c,
|
|
1
|
+
import { A, B, f, C, E, F, a, G, b, c, g, H, L, h, d, P, S, T, e } from "./index-DD5l7Azu.mjs";
|
|
2
2
|
import { u } from "./index-xuSxvz5z.mjs";
|
|
3
3
|
import { a as a2, G as G2, r } from "./index-DxLcykuT.mjs";
|
|
4
4
|
import { M } from "./index-wbMOJRW_.mjs";
|
|
5
5
|
import { S as S2, u as u2 } from "./index-Bs4zA1wD.mjs";
|
|
6
|
-
import { f as
|
|
6
|
+
import { f as f2, b as b2, c as c2, a as a3, g as g2, d as d2, p, r as r2, t } from "./index-CJvs4SfG.mjs";
|
|
7
7
|
import { e as e2, g as g3 } from "./index-BUx1Bxrs.mjs";
|
|
8
8
|
import { default as default2 } from "i18next";
|
|
9
9
|
export {
|
|
@@ -19,10 +19,10 @@ export {
|
|
|
19
19
|
b as GameDemo,
|
|
20
20
|
c as GameInfo,
|
|
21
21
|
G2 as GameVolatility,
|
|
22
|
-
|
|
22
|
+
g as Grid,
|
|
23
23
|
H as HowTo,
|
|
24
24
|
L as Layout,
|
|
25
|
-
|
|
25
|
+
h as LinkButton,
|
|
26
26
|
d as List,
|
|
27
27
|
M as MdxProvider,
|
|
28
28
|
P as ProsCons,
|
|
@@ -31,7 +31,7 @@ export {
|
|
|
31
31
|
T as Table,
|
|
32
32
|
e as Tabs,
|
|
33
33
|
e2 as extractTheme,
|
|
34
|
-
|
|
34
|
+
f2 as formatDate,
|
|
35
35
|
b2 as formatNumber,
|
|
36
36
|
g3 as generateColorPalette,
|
|
37
37
|
c2 as getCurrencySymbol,
|