@anywayseo/tools 1.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/LICENSE +21 -0
- package/README.md +62 -0
- package/dist/components/author/index.d.ts +8 -0
- package/dist/components/contact-form/index.d.ts +3 -0
- package/dist/components/expert/bio/index.d.ts +8 -0
- package/dist/components/expert/index.d.ts +8 -0
- package/dist/components/expert-tip/index.d.ts +9 -0
- package/dist/components/faq/index.d.ts +9 -0
- package/dist/components/features/index.d.ts +8 -0
- package/dist/components/game-demo/content/index.d.ts +10 -0
- package/dist/components/game-demo/index.d.ts +10 -0
- package/dist/components/game-demo/preview/index.d.ts +9 -0
- package/dist/components/game-info/index.d.ts +7 -0
- package/dist/components/game-info/item/index.d.ts +7 -0
- package/dist/components/game-info/utils.d.ts +2 -0
- package/dist/components/how-to/index.d.ts +8 -0
- package/dist/components/index.cjs +14 -0
- package/dist/components/index.d.ts +11 -0
- package/dist/components/index.mjs +14 -0
- package/dist/components/layout/content/index.d.ts +3 -0
- package/dist/components/layout/footer/brand/index.d.ts +6 -0
- package/dist/components/layout/footer/copyright/index.d.ts +3 -0
- package/dist/components/layout/footer/disclaimer/index.d.ts +3 -0
- package/dist/components/layout/footer/index.d.ts +3 -0
- package/dist/components/layout/footer/navigation/index.d.ts +3 -0
- package/dist/components/layout/header/index.d.ts +3 -0
- package/dist/components/layout/header/navbar/brand/index.d.ts +6 -0
- package/dist/components/layout/header/navbar/index.d.ts +6 -0
- package/dist/components/layout/header/navbar/navigation/desktop/index.d.ts +4 -0
- package/dist/components/layout/header/navbar/navigation/desktop/item/index.d.ts +5 -0
- package/dist/components/layout/header/navbar/navigation/index.d.ts +4 -0
- package/dist/components/layout/header/navbar/navigation/mobile/index.d.ts +4 -0
- package/dist/components/layout/header/navbar/navigation/mobile/item/index.d.ts +5 -0
- package/dist/components/layout/header/navbar/navigation/types.d.ts +4 -0
- package/dist/components/layout/header/navbar/theme-toggler/index.d.ts +3 -0
- package/dist/components/layout/hero/index.d.ts +9 -0
- package/dist/components/layout/index.d.ts +12 -0
- package/dist/components/layout/logo/index.d.ts +3 -0
- package/dist/components/layout/main/index.d.ts +3 -0
- package/dist/components/layout/scroll-to-top/index.d.ts +3 -0
- package/dist/components/pros-cons/card/index.d.ts +8 -0
- package/dist/components/pros-cons/card/utils.d.ts +6 -0
- package/dist/components/pros-cons/index.d.ts +8 -0
- package/dist/components/seo/index.d.ts +16 -0
- package/dist/hooks/index.cjs +4 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.mjs +4 -0
- package/dist/hooks/use-primary-colors/index.d.ts +6 -0
- package/dist/i18n/index.cjs +7 -0
- package/dist/i18n/index.d.ts +9 -0
- package/dist/i18n/index.mjs +7 -0
- package/dist/i18n/resources/en/index.d.ts +99 -0
- package/dist/i18n/resources/index.d.ts +8 -0
- package/dist/i18n/resources/it/index.d.ts +99 -0
- package/dist/index-BWuTDC6H.js +17 -0
- package/dist/index-Bh5idiRE.mjs +257 -0
- package/dist/index-Bs4zA1wD.mjs +17 -0
- package/dist/index-BtWxmLHW.mjs +80 -0
- package/dist/index-D96zh94V.js +16 -0
- package/dist/index-DB1dS9cp.js +256 -0
- package/dist/index-Dfw_EKZ6.mjs +767 -0
- package/dist/index-IpSV-c71.js +8 -0
- package/dist/index-JMmaWcmu.js +79 -0
- package/dist/index-NWY9BnRg.js +766 -0
- package/dist/index-wbMOJRW_.mjs +18 -0
- package/dist/index-xuSxvz5z.mjs +9 -0
- package/dist/index.cjs +36 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.mjs +36 -0
- package/dist/providers/index.cjs +7 -0
- package/dist/providers/index.d.ts +2 -0
- package/dist/providers/index.mjs +7 -0
- package/dist/providers/mdx-provider/index.d.ts +3 -0
- package/dist/providers/site-metadata-provider/index.d.ts +14 -0
- package/dist/style.css +15 -0
- package/dist/types/author/index.d.ts +17 -0
- package/dist/types/faq/index.d.ts +4 -0
- package/dist/types/feature/index.d.ts +4 -0
- package/dist/types/game-info/index.d.ts +63 -0
- package/dist/types/how-to/index.d.ts +5 -0
- package/dist/types/i18n/index.d.ts +2 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/navigation/index.d.ts +9 -0
- package/dist/types/pros-cons/index.d.ts +6 -0
- package/dist/types/site-metadata/index.d.ts +10 -0
- package/dist/utils/date/index.d.ts +9 -0
- package/dist/utils/index.cjs +11 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.mjs +11 -0
- package/dist/utils/numbers/index.d.ts +19 -0
- package/dist/utils/numbers/types.d.ts +1 -0
- package/dist/utils/url/index.d.ts +1 -0
- package/package.json +99 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Link, Text, UnorderedList, OrderedList, Heading } from "@chakra-ui/react";
|
|
3
|
+
import { MDXProvider } from "@mdx-js/react";
|
|
4
|
+
const components = {
|
|
5
|
+
h1: (props) => /* @__PURE__ */ jsx(Heading, { as: "h1", size: "xl", mb: 4, ...props }),
|
|
6
|
+
h2: (props) => /* @__PURE__ */ jsx(Heading, { as: "h2", size: "lg", mt: 6, mb: 4, ...props }),
|
|
7
|
+
h3: (props) => /* @__PURE__ */ jsx(Heading, { as: "h3", size: "md", mb: 4, ...props }),
|
|
8
|
+
ol: (props) => /* @__PURE__ */ jsx(OrderedList, { mb: 4, ...props }),
|
|
9
|
+
ul: (props) => /* @__PURE__ */ jsx(UnorderedList, { mb: 4, ...props }),
|
|
10
|
+
p: (props) => /* @__PURE__ */ jsx(Text, { mb: 4, ...props }),
|
|
11
|
+
a: (props) => /* @__PURE__ */ jsx(Link, { ...props, color: "brand.400" })
|
|
12
|
+
};
|
|
13
|
+
const MdxProvider = ({ children }) => {
|
|
14
|
+
return /* @__PURE__ */ jsx(MDXProvider, { components, children });
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
MdxProvider as M
|
|
18
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { useColorModeValue } from "@chakra-ui/react";
|
|
2
|
+
function usePrimaryColors() {
|
|
3
|
+
const color = useColorModeValue("white", "gray.800");
|
|
4
|
+
const bgColor = useColorModeValue("brand.500", "brand.200");
|
|
5
|
+
return { color, bgColor };
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
usePrimaryColors as u
|
|
9
|
+
};
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const index = require("./index-NWY9BnRg.js");
|
|
4
|
+
const index$1 = require("./index-IpSV-c71.js");
|
|
5
|
+
const i18n$1 = require("./index-DB1dS9cp.js");
|
|
6
|
+
const index$2 = require("./index-BWuTDC6H.js");
|
|
7
|
+
const index$3 = require("./index-D96zh94V.js");
|
|
8
|
+
const index$4 = require("./index-JMmaWcmu.js");
|
|
9
|
+
const i18n = require("i18next");
|
|
10
|
+
exports.Author = index.Author;
|
|
11
|
+
exports.ContactForm = index.ContactForm;
|
|
12
|
+
exports.ExpertTip = index.ExpertTip;
|
|
13
|
+
exports.Faq = index.Faq;
|
|
14
|
+
exports.Features = index.Features;
|
|
15
|
+
exports.GameDemo = index.GameDemo;
|
|
16
|
+
exports.GameInfo = index.GameInfo;
|
|
17
|
+
exports.HowTo = index.HowTo;
|
|
18
|
+
exports.Layout = index.Layout;
|
|
19
|
+
exports.ProsCons = index.ProsCons;
|
|
20
|
+
exports.Seo = index.Seo;
|
|
21
|
+
exports.usePrimaryColors = index$1.usePrimaryColors;
|
|
22
|
+
exports.GameCharacteristic = i18n$1.GameCharacteristic;
|
|
23
|
+
exports.GameVolatility = i18n$1.GameVolatility;
|
|
24
|
+
exports.resources = i18n$1.resources;
|
|
25
|
+
exports.MdxProvider = index$2.MdxProvider;
|
|
26
|
+
exports.SiteMetadataProvider = index$3.SiteMetadataProvider;
|
|
27
|
+
exports.useSiteMetadataContext = index$3.useSiteMetadataContext;
|
|
28
|
+
exports.formatDate = index$4.formatDate;
|
|
29
|
+
exports.formatNumber = index$4.formatNumber;
|
|
30
|
+
exports.getCurrentMonth = index$4.getCurrentMonth;
|
|
31
|
+
exports.getCurrentYear = index$4.getCurrentYear;
|
|
32
|
+
exports.getDomain = index$4.getDomain;
|
|
33
|
+
exports.parseNumber = index$4.parseNumber;
|
|
34
|
+
exports.round = index$4.round;
|
|
35
|
+
exports.toFixedTwo = index$4.toFixedTwo;
|
|
36
|
+
exports.i18n = i18n;
|
package/dist/index.d.ts
ADDED
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { A, C, E, F, a, G, b, H, L, P, S } from "./index-Dfw_EKZ6.mjs";
|
|
2
|
+
import { u } from "./index-xuSxvz5z.mjs";
|
|
3
|
+
import { a as a2, G as G2, r } from "./index-Bh5idiRE.mjs";
|
|
4
|
+
import { M } from "./index-wbMOJRW_.mjs";
|
|
5
|
+
import { S as S2, u as u2 } from "./index-Bs4zA1wD.mjs";
|
|
6
|
+
import { f, b as b2, a as a3, g, c, p, r as r2, t } from "./index-BtWxmLHW.mjs";
|
|
7
|
+
import { default as default2 } from "i18next";
|
|
8
|
+
export {
|
|
9
|
+
A as Author,
|
|
10
|
+
C as ContactForm,
|
|
11
|
+
E as ExpertTip,
|
|
12
|
+
F as Faq,
|
|
13
|
+
a as Features,
|
|
14
|
+
a2 as GameCharacteristic,
|
|
15
|
+
G as GameDemo,
|
|
16
|
+
b as GameInfo,
|
|
17
|
+
G2 as GameVolatility,
|
|
18
|
+
H as HowTo,
|
|
19
|
+
L as Layout,
|
|
20
|
+
M as MdxProvider,
|
|
21
|
+
P as ProsCons,
|
|
22
|
+
S as Seo,
|
|
23
|
+
S2 as SiteMetadataProvider,
|
|
24
|
+
f as formatDate,
|
|
25
|
+
b2 as formatNumber,
|
|
26
|
+
a3 as getCurrentMonth,
|
|
27
|
+
g as getCurrentYear,
|
|
28
|
+
c as getDomain,
|
|
29
|
+
default2 as i18n,
|
|
30
|
+
p as parseNumber,
|
|
31
|
+
r as resources,
|
|
32
|
+
r2 as round,
|
|
33
|
+
t as toFixedTwo,
|
|
34
|
+
u as usePrimaryColors,
|
|
35
|
+
u2 as useSiteMetadataContext
|
|
36
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const index = require("../index-BWuTDC6H.js");
|
|
4
|
+
const index$1 = require("../index-D96zh94V.js");
|
|
5
|
+
exports.MdxProvider = index.MdxProvider;
|
|
6
|
+
exports.SiteMetadataProvider = index$1.SiteMetadataProvider;
|
|
7
|
+
exports.useSiteMetadataContext = index$1.useSiteMetadataContext;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { ImageDataLike } from 'gatsby-plugin-image';
|
|
3
|
+
import { ISiteMetadata } from '../../types';
|
|
4
|
+
type ImageQueryData = ImageDataLike | null;
|
|
5
|
+
interface ISiteMetadataContext {
|
|
6
|
+
siteMetadata: ISiteMetadata;
|
|
7
|
+
logoImageData: ImageQueryData;
|
|
8
|
+
gamePreviewImageData: ImageQueryData;
|
|
9
|
+
expertImageData: ImageQueryData;
|
|
10
|
+
}
|
|
11
|
+
type SiteMetadataProviderProps = ISiteMetadataContext;
|
|
12
|
+
declare const SiteMetadataProvider: FC<PropsWithChildren<SiteMetadataProviderProps>>;
|
|
13
|
+
export default SiteMetadataProvider;
|
|
14
|
+
export declare function useSiteMetadataContext(): ISiteMetadataContext;
|
package/dist/style.css
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
._pulsing_u8aju_1 {
|
|
2
|
+
animation: _pulse_u8aju_1 2s infinite linear;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
@keyframes _pulse_u8aju_1 {
|
|
6
|
+
0% {
|
|
7
|
+
box-shadow: 0 0 0 0 var(--chakra-colors-brand-100);
|
|
8
|
+
}
|
|
9
|
+
50% {
|
|
10
|
+
box-shadow: 0 0 0 0.8rem rgba(0, 0, 0, 0);
|
|
11
|
+
}
|
|
12
|
+
100% {
|
|
13
|
+
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type SocialNetwork = 'fb' | 'tw';
|
|
2
|
+
type Phone = string;
|
|
3
|
+
interface ISocialNetwork {
|
|
4
|
+
type: SocialNetwork;
|
|
5
|
+
link: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IAuthor {
|
|
8
|
+
id: string;
|
|
9
|
+
firstName: string;
|
|
10
|
+
lastName: string;
|
|
11
|
+
jobTitle: string;
|
|
12
|
+
bio: string;
|
|
13
|
+
address?: string;
|
|
14
|
+
phone?: Phone;
|
|
15
|
+
socialNetworks?: ISocialNetwork[];
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
type GameType = string;
|
|
2
|
+
type GameTheme = string;
|
|
3
|
+
type GamePlatform = 'iOS' | 'Android' | 'Windows' | 'Web';
|
|
4
|
+
type GameLanguage = string;
|
|
5
|
+
type GameFeature = 'multipliers' | 'wild-symbol' | 'scatter-symbol' | 'tumble' | 'free spins';
|
|
6
|
+
export declare enum GameVolatility {
|
|
7
|
+
High = "HIGH",
|
|
8
|
+
Medium = "MEDIUM",
|
|
9
|
+
Low = "LOW"
|
|
10
|
+
}
|
|
11
|
+
export declare enum GameCharacteristic {
|
|
12
|
+
Name = "NAME",
|
|
13
|
+
Developer = "DEVELOPER",
|
|
14
|
+
ReleaseDate = "RELEASE_DATE",
|
|
15
|
+
Theme = "THEME",
|
|
16
|
+
Type = "TYPE",
|
|
17
|
+
Rtp = "RTP",
|
|
18
|
+
Volatility = "VOLATILITY",
|
|
19
|
+
ReelsNumber = "REELS_NUMBER",
|
|
20
|
+
PayLines = "PAY_LINES",
|
|
21
|
+
MinBet = "MIN_BET",
|
|
22
|
+
MaxBet = "MAX_BET",
|
|
23
|
+
MaxWin = "MAX_WIN",
|
|
24
|
+
Compatibility = "COMPATIBILITY",
|
|
25
|
+
HasDemo = "HAS_DEMO",
|
|
26
|
+
HasAutoplay = "HAS_AUTOPLAY",
|
|
27
|
+
HasFreeSpins = "HAS_FREE_SPINS",
|
|
28
|
+
HasFastSpin = "HAS_FAST_SPIN",
|
|
29
|
+
HasBonusPurchase = "HAS_BONUS_PURCHASE",
|
|
30
|
+
HasCollectionSymbols = "HAS_COLLECTION_SYMBOLS",
|
|
31
|
+
HasProgressiveJackpot = "HAS_PROGRESSIVE_JACKPOT",
|
|
32
|
+
BonusFeatures = "BONUS_FEATURES",
|
|
33
|
+
Languages = "LANGUAGES"
|
|
34
|
+
}
|
|
35
|
+
export interface IGameInfo {
|
|
36
|
+
general: Partial<{
|
|
37
|
+
[GameCharacteristic.Name]: string;
|
|
38
|
+
[GameCharacteristic.Developer]: string;
|
|
39
|
+
[GameCharacteristic.ReleaseDate]: string;
|
|
40
|
+
[GameCharacteristic.Theme]: GameTheme;
|
|
41
|
+
[GameCharacteristic.Type]: GameType;
|
|
42
|
+
[GameCharacteristic.Rtp]: number;
|
|
43
|
+
[GameCharacteristic.Volatility]: GameVolatility;
|
|
44
|
+
[GameCharacteristic.ReelsNumber]: number | string;
|
|
45
|
+
[GameCharacteristic.PayLines]: number | string;
|
|
46
|
+
[GameCharacteristic.MinBet]: number;
|
|
47
|
+
[GameCharacteristic.MaxBet]: number;
|
|
48
|
+
[GameCharacteristic.MaxWin]: number | string;
|
|
49
|
+
[GameCharacteristic.Compatibility]: GamePlatform[];
|
|
50
|
+
}>;
|
|
51
|
+
features: Partial<{
|
|
52
|
+
[GameCharacteristic.HasDemo]: boolean;
|
|
53
|
+
[GameCharacteristic.HasAutoplay]: boolean;
|
|
54
|
+
[GameCharacteristic.HasFreeSpins]: boolean;
|
|
55
|
+
[GameCharacteristic.HasFastSpin]: boolean;
|
|
56
|
+
[GameCharacteristic.HasBonusPurchase]: boolean;
|
|
57
|
+
[GameCharacteristic.HasCollectionSymbols]: boolean;
|
|
58
|
+
[GameCharacteristic.HasProgressiveJackpot]: boolean;
|
|
59
|
+
[GameCharacteristic.BonusFeatures]: GameFeature[] | string;
|
|
60
|
+
[GameCharacteristic.Languages]: GameLanguage[];
|
|
61
|
+
}>;
|
|
62
|
+
}
|
|
63
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Currency, LanguageCode } from '../i18n';
|
|
2
|
+
import { INavigationItem } from '../navigation';
|
|
3
|
+
export interface ISiteMetadata {
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
siteUrl: string;
|
|
7
|
+
lang: LanguageCode;
|
|
8
|
+
currency: Currency;
|
|
9
|
+
footerMenuLinks: INavigationItem[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare function getCurrentYear(): string;
|
|
2
|
+
export declare function getCurrentMonth(): string;
|
|
3
|
+
interface IFormatDateOptions {
|
|
4
|
+
value: string | number | Date;
|
|
5
|
+
locale?: string;
|
|
6
|
+
options?: Intl.DateTimeFormatOptions;
|
|
7
|
+
}
|
|
8
|
+
export declare function formatDate({ value, locale, options }: IFormatDateOptions): string;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const index = require("../index-JMmaWcmu.js");
|
|
4
|
+
exports.formatDate = index.formatDate;
|
|
5
|
+
exports.formatNumber = index.formatNumber;
|
|
6
|
+
exports.getCurrentMonth = index.getCurrentMonth;
|
|
7
|
+
exports.getCurrentYear = index.getCurrentYear;
|
|
8
|
+
exports.getDomain = index.getDomain;
|
|
9
|
+
exports.parseNumber = index.parseNumber;
|
|
10
|
+
exports.round = index.round;
|
|
11
|
+
exports.toFixedTwo = index.toFixedTwo;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Currency, LanguageCode } from '../../types';
|
|
2
|
+
import { PercentFormatType } from './types';
|
|
3
|
+
export declare function round(number: number, precision: number): number;
|
|
4
|
+
export declare function toFixedTwo(number: number): number;
|
|
5
|
+
type FormatNumberOptions = {
|
|
6
|
+
locale?: LanguageCode;
|
|
7
|
+
precision?: number;
|
|
8
|
+
hasTrailingZeros?: boolean;
|
|
9
|
+
hasSign?: boolean;
|
|
10
|
+
} & ({
|
|
11
|
+
percent?: PercentFormatType;
|
|
12
|
+
currency?: never;
|
|
13
|
+
} | {
|
|
14
|
+
percent?: never;
|
|
15
|
+
currency?: Currency;
|
|
16
|
+
});
|
|
17
|
+
export declare function formatNumber(number: number, options?: FormatNumberOptions): string;
|
|
18
|
+
export declare function parseNumber(value: string): number | null;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type PercentFormatType = 'real' | 'sign-only';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getDomain(url: string): string;
|
package/package.json
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@anywayseo/tools",
|
|
3
|
+
"description": "Shared UI Components and Modules",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"react",
|
|
7
|
+
"ui",
|
|
8
|
+
"gatsby"
|
|
9
|
+
],
|
|
10
|
+
"author": "zerg41",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"private": false,
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"README.md",
|
|
19
|
+
"LICENSE"
|
|
20
|
+
],
|
|
21
|
+
"main": "dist/index.cjs",
|
|
22
|
+
"module": "dist/index.mjs",
|
|
23
|
+
"types": "dist/index.d.ts",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"import": "./dist/index.mjs",
|
|
28
|
+
"require": "./dist/index.cjs",
|
|
29
|
+
"default": "./dist/index.cjs"
|
|
30
|
+
},
|
|
31
|
+
"./i18n": {
|
|
32
|
+
"types": "./dist/i18n/index.d.ts",
|
|
33
|
+
"import": "./dist/i18n/index.mjs",
|
|
34
|
+
"require": "./dist/i18n/index.cjs",
|
|
35
|
+
"default": "./dist/i18n/index.cjs"
|
|
36
|
+
},
|
|
37
|
+
"./hooks": {
|
|
38
|
+
"types": "./dist/hooks/index.d.ts",
|
|
39
|
+
"import": "./dist/hooks/index.mjs",
|
|
40
|
+
"require": "./dist/hooks/index.cjs",
|
|
41
|
+
"default": "./dist/hooks/index.cjs"
|
|
42
|
+
},
|
|
43
|
+
"./components": {
|
|
44
|
+
"types": "./dist/components/index.d.ts",
|
|
45
|
+
"import": "./dist/components/index.mjs",
|
|
46
|
+
"require": "./dist/components/index.cjs",
|
|
47
|
+
"default": "./dist/components/index.cjs"
|
|
48
|
+
},
|
|
49
|
+
"./providers": {
|
|
50
|
+
"types": "./dist/providers/index.d.ts",
|
|
51
|
+
"import": "./dist/providers/index.mjs",
|
|
52
|
+
"require": "./dist/providers/index.cjs",
|
|
53
|
+
"default": "./dist/providers/index.cjs"
|
|
54
|
+
},
|
|
55
|
+
"./utils": {
|
|
56
|
+
"types": "./dist/utils/index.d.ts",
|
|
57
|
+
"import": "./dist/utils/index.mjs",
|
|
58
|
+
"require": "./dist/utils/index.cjs",
|
|
59
|
+
"default": "./dist/utils/index.cjs"
|
|
60
|
+
},
|
|
61
|
+
"./types": {
|
|
62
|
+
"types": "./dist/types/index.d.ts",
|
|
63
|
+
"default": "./dist/types/index.d.ts"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"scripts": {
|
|
67
|
+
"build": "tsc -b && vite build",
|
|
68
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
69
|
+
"prepack": "npm run build"
|
|
70
|
+
},
|
|
71
|
+
"devDependencies": {
|
|
72
|
+
"@types/react": "18.3.12",
|
|
73
|
+
"@types/react-dom": "18.3.1",
|
|
74
|
+
"@typescript-eslint/eslint-plugin": "7.15.0",
|
|
75
|
+
"@typescript-eslint/parser": "7.15.0",
|
|
76
|
+
"@vitejs/plugin-react": "4.3.1",
|
|
77
|
+
"eslint": "8.57.0",
|
|
78
|
+
"eslint-plugin-react-hooks": "4.6.2",
|
|
79
|
+
"eslint-plugin-react-refresh": "0.4.7",
|
|
80
|
+
"sass": "1.80.7",
|
|
81
|
+
"typescript": "5.6.3",
|
|
82
|
+
"vite": "5.4.14",
|
|
83
|
+
"vite-plugin-dts": "4.5.0"
|
|
84
|
+
},
|
|
85
|
+
"peerDependencies": {
|
|
86
|
+
"@chakra-ui/icons": "^2.0.0",
|
|
87
|
+
"@chakra-ui/react": "^2.0.0",
|
|
88
|
+
"@emotion/react": "^11.0.0",
|
|
89
|
+
"@emotion/styled": "^11.0.0",
|
|
90
|
+
"@mdx-js/react": "^2.0.0",
|
|
91
|
+
"framer-motion": "^12.0.6",
|
|
92
|
+
"gatsby": "^5.0.0",
|
|
93
|
+
"gatsby-plugin-image": "^3.0.0",
|
|
94
|
+
"i18next": "^24.0.0",
|
|
95
|
+
"react": "^18.3.1",
|
|
96
|
+
"react-dom": "^18.3.1",
|
|
97
|
+
"react-i18next": "^15.0.0"
|
|
98
|
+
}
|
|
99
|
+
}
|