@anywayseo/tools 2.6.0 → 3.0.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/author-card/index.d.ts +7 -0
- package/dist/components/{author → base/author}/index.d.ts +3 -3
- package/dist/components/base/index.d.ts +1 -1
- package/dist/components/index.cjs +4 -3
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.mjs +10 -9
- package/dist/components/not-found/index.d.ts +3 -0
- package/dist/components/seo/index.d.ts +7 -12
- package/dist/components/seo/types.d.ts +6 -0
- package/dist/components/seo/utils.d.ts +2 -0
- package/dist/components/{expert-tip → tip}/index.d.ts +4 -4
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.mjs +1 -1
- package/dist/{index-BqUBNm7v.mjs → index-25M8hPOF.mjs} +1 -6
- package/dist/{index-BEqFPNAt.js → index-Biz1dDqA.js} +12 -12
- package/dist/{index-D2APUOog.js → index-Cte2-g6s.js} +1 -6
- package/dist/{index-Ct1pg92K.mjs → index-DIxzgBCq.mjs} +113 -98
- package/dist/{index-F6_fGeRI.mjs → index-DoBCANwf.mjs} +12 -12
- package/dist/index-HmqLMmGf.js +1036 -0
- package/dist/index.cjs +6 -6
- package/dist/index.mjs +11 -11
- package/dist/providers/site-provider/index.d.ts +1 -2
- package/dist/types/components/how-to/index.d.ts +2 -2
- package/dist/types/components/image/index.d.ts +4 -0
- package/dist/types/content/author/index.d.ts +5 -4
- package/dist/types/content/index.d.ts +1 -0
- package/dist/types/content/seo/index.d.ts +4 -0
- package/dist/types/site/index.d.ts +8 -14
- package/dist/utils/index.cjs +1 -2
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.mjs +1 -2
- package/package.json +1 -1
- package/dist/components/base/expert/index.d.ts +0 -8
- package/dist/index-qgcoV14g.js +0 -1021
- package/dist/utils/url/index.d.ts +0 -1
- /package/dist/components/base/{expert → author}/bio/index.d.ts +0 -0
package/dist/index.cjs
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index-
|
|
3
|
+
const index = require("./index-HmqLMmGf.js");
|
|
4
4
|
const index$1 = require("./index-IpSV-c71.js");
|
|
5
|
-
const i18n$1 = require("./index-
|
|
5
|
+
const i18n$1 = require("./index-Biz1dDqA.js");
|
|
6
6
|
const index$2 = require("./index-m97PmVsd.js");
|
|
7
7
|
const index$3 = require("./index-BhsXlbd8.js");
|
|
8
|
-
const index$4 = require("./index-
|
|
8
|
+
const index$4 = require("./index-Cte2-g6s.js");
|
|
9
9
|
const index$5 = require("./index-B-5oUop6.js");
|
|
10
10
|
const i18n = require("i18next");
|
|
11
11
|
exports.Author = index.Author;
|
|
12
|
+
exports.AuthorCard = index.AuthorCard;
|
|
12
13
|
exports.BonusCard = index.BonusCard;
|
|
13
14
|
exports.Center = index.Center;
|
|
14
15
|
exports.ContactForm = index.ContactForm;
|
|
15
|
-
exports.Expert = index.Expert;
|
|
16
|
-
exports.ExpertTip = index.ExpertTip;
|
|
17
16
|
exports.Faq = index.Faq;
|
|
18
17
|
exports.FeatureCard = index.FeatureCard;
|
|
19
18
|
exports.Features = index.Features;
|
|
@@ -25,12 +24,14 @@ exports.HowTo = index.HowTo;
|
|
|
25
24
|
exports.Layout = index.Layout;
|
|
26
25
|
exports.LinkButton = index.LinkButton;
|
|
27
26
|
exports.List = index.List;
|
|
27
|
+
exports.NotFound = index.NotFound;
|
|
28
28
|
exports.ProsCons = index.ProsCons;
|
|
29
29
|
exports.PulseButton = index.PulseButton;
|
|
30
30
|
exports.RichTextRenderer = index.RichTextRenderer;
|
|
31
31
|
exports.Seo = index.Seo;
|
|
32
32
|
exports.Table = index.Table;
|
|
33
33
|
exports.Tabs = index.Tabs;
|
|
34
|
+
exports.Tip = index.Tip;
|
|
34
35
|
exports.usePrimaryColors = index$1.usePrimaryColors;
|
|
35
36
|
exports.GameCharacteristic = i18n$1.GameCharacteristic;
|
|
36
37
|
exports.GameVolatility = i18n$1.GameVolatility;
|
|
@@ -44,7 +45,6 @@ exports.formatNumber = index$4.formatNumber;
|
|
|
44
45
|
exports.getCurrencySymbol = index$4.getCurrencySymbol;
|
|
45
46
|
exports.getCurrentMonth = index$4.getCurrentMonth;
|
|
46
47
|
exports.getCurrentYear = index$4.getCurrentYear;
|
|
47
|
-
exports.getDomain = index$4.getDomain;
|
|
48
48
|
exports.parseNumber = index$4.parseNumber;
|
|
49
49
|
exports.round = index$4.round;
|
|
50
50
|
exports.toFixedTwo = index$4.toFixedTwo;
|
package/dist/index.mjs
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { A, B,
|
|
1
|
+
import { h, A, B, i, C, F, a, b, G, c, d, j, H, L, k, e, N, P, l, R, S, T, f, g } from "./index-DIxzgBCq.mjs";
|
|
2
2
|
import { u } from "./index-xuSxvz5z.mjs";
|
|
3
|
-
import { a as a2, G as G2, r } from "./index-
|
|
3
|
+
import { a as a2, G as G2, r } from "./index-DoBCANwf.mjs";
|
|
4
4
|
import { M } from "./index-C-e_0aJJ.mjs";
|
|
5
5
|
import { S as S2, u as u2 } from "./index-BNb-P8a6.mjs";
|
|
6
|
-
import { A as A2, f as f2, b as b2, c as c2, a as a3, g as g2,
|
|
6
|
+
import { A as A2, f as f2, b as b2, c as c2, a as a3, g as g2, p, r as r2, t } from "./index-25M8hPOF.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 {
|
|
10
10
|
A2 as Animation,
|
|
11
|
-
|
|
11
|
+
h as Author,
|
|
12
|
+
A as AuthorCard,
|
|
12
13
|
B as BonusCard,
|
|
13
|
-
|
|
14
|
+
i as Center,
|
|
14
15
|
C as ContactForm,
|
|
15
|
-
h as Expert,
|
|
16
|
-
E as ExpertTip,
|
|
17
16
|
F as Faq,
|
|
18
17
|
a as FeatureCard,
|
|
19
18
|
b as Features,
|
|
@@ -22,19 +21,21 @@ export {
|
|
|
22
21
|
c as GameDemo,
|
|
23
22
|
d as GameInfo,
|
|
24
23
|
G2 as GameVolatility,
|
|
25
|
-
|
|
24
|
+
j as Grid,
|
|
26
25
|
H as HowTo,
|
|
27
26
|
L as Layout,
|
|
28
|
-
|
|
27
|
+
k as LinkButton,
|
|
29
28
|
e as List,
|
|
30
29
|
M as MdxProvider,
|
|
30
|
+
N as NotFound,
|
|
31
31
|
P as ProsCons,
|
|
32
|
-
|
|
32
|
+
l as PulseButton,
|
|
33
33
|
R as RichTextRenderer,
|
|
34
34
|
S as Seo,
|
|
35
35
|
S2 as SiteProvider,
|
|
36
36
|
T as Table,
|
|
37
37
|
f as Tabs,
|
|
38
|
+
g as Tip,
|
|
38
39
|
e2 as extractTheme,
|
|
39
40
|
f2 as formatDate,
|
|
40
41
|
b2 as formatNumber,
|
|
@@ -42,7 +43,6 @@ export {
|
|
|
42
43
|
c2 as getCurrencySymbol,
|
|
43
44
|
a3 as getCurrentMonth,
|
|
44
45
|
g2 as getCurrentYear,
|
|
45
|
-
d2 as getDomain,
|
|
46
46
|
default2 as i18n,
|
|
47
47
|
p as parseNumber,
|
|
48
48
|
r as resources,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ISiteConfigs, ISiteMetadata } from '../../types';
|
|
3
3
|
interface ISiteContext {
|
|
4
4
|
metadata: ISiteMetadata;
|
|
5
5
|
configs?: ISiteConfigs;
|
|
6
|
-
assets?: ISiteAssets;
|
|
7
6
|
}
|
|
8
7
|
type SiteMetadataProviderProps = ISiteContext;
|
|
9
8
|
declare const SiteProvider: FC<PropsWithChildren<SiteMetadataProviderProps>>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Image } from '../../components';
|
|
1
2
|
type SocialNetwork = 'fb' | 'tw';
|
|
2
3
|
type Phone = string;
|
|
3
4
|
interface ISocialNetwork {
|
|
@@ -5,11 +6,11 @@ interface ISocialNetwork {
|
|
|
5
6
|
link: string;
|
|
6
7
|
}
|
|
7
8
|
export interface IAuthor {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
lastName: string;
|
|
11
|
-
jobTitle: string;
|
|
9
|
+
name: string;
|
|
10
|
+
role: string;
|
|
12
11
|
bio: string;
|
|
12
|
+
avatar: Image;
|
|
13
|
+
/** Planned */
|
|
13
14
|
address?: string;
|
|
14
15
|
phone?: Phone;
|
|
15
16
|
socialNetworks?: ISocialNetwork[];
|
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { INavItem } from '../components';
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { Image, INavItem } from '../components';
|
|
3
|
+
import { ISeo } from '../content';
|
|
3
4
|
import { Currency, LanguageCode } from '../i18n';
|
|
4
|
-
type ImageUrl = string;
|
|
5
|
-
type ImageComponent = ReactElement;
|
|
6
|
-
type Image = ImageUrl | ImageComponent;
|
|
7
|
-
export interface ISiteAssets {
|
|
8
|
-
images?: {
|
|
9
|
-
logo?: Image;
|
|
10
|
-
expert?: Image;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
5
|
interface ISiteHeaderConfig {
|
|
14
6
|
navigation?: INavItem[];
|
|
15
7
|
toolbar?: ReactNode;
|
|
@@ -24,10 +16,12 @@ export interface ISiteConfigs {
|
|
|
24
16
|
footer?: ISiteFooterConfig;
|
|
25
17
|
}
|
|
26
18
|
export interface ISiteMetadata {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
siteUrl: string;
|
|
19
|
+
name: string;
|
|
20
|
+
logo: Image;
|
|
30
21
|
lang: LanguageCode;
|
|
31
22
|
currency: Currency | Currency[];
|
|
23
|
+
seo: ISeo;
|
|
24
|
+
/** Planned */
|
|
25
|
+
favicon?: Image;
|
|
32
26
|
}
|
|
33
27
|
export {};
|
package/dist/utils/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-Cte2-g6s.js");
|
|
4
4
|
const index$1 = require("../index-B-5oUop6.js");
|
|
5
5
|
exports.Animation = index.Animation;
|
|
6
6
|
exports.formatDate = index.formatDate;
|
|
@@ -8,7 +8,6 @@ exports.formatNumber = index.formatNumber;
|
|
|
8
8
|
exports.getCurrencySymbol = index.getCurrencySymbol;
|
|
9
9
|
exports.getCurrentMonth = index.getCurrentMonth;
|
|
10
10
|
exports.getCurrentYear = index.getCurrentYear;
|
|
11
|
-
exports.getDomain = index.getDomain;
|
|
12
11
|
exports.parseNumber = index.parseNumber;
|
|
13
12
|
exports.round = index.round;
|
|
14
13
|
exports.toFixedTwo = index.toFixedTwo;
|
package/dist/utils/index.d.ts
CHANGED
package/dist/utils/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A, f, b, c, a, g,
|
|
1
|
+
import { A, f, b, c, a, g, p, r, t } from "../index-25M8hPOF.mjs";
|
|
2
2
|
import { e, g as g2 } from "../index-BUx1Bxrs.mjs";
|
|
3
3
|
export {
|
|
4
4
|
A as Animation,
|
|
@@ -9,7 +9,6 @@ export {
|
|
|
9
9
|
c as getCurrencySymbol,
|
|
10
10
|
a as getCurrentMonth,
|
|
11
11
|
g as getCurrentYear,
|
|
12
|
-
d as getDomain,
|
|
13
12
|
p as parseNumber,
|
|
14
13
|
r as round,
|
|
15
14
|
t as toFixedTwo
|
package/package.json
CHANGED