@anywayseo/tools 1.5.4 → 2.1.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/README.md +69 -62
- package/dist/components/base/center/index.d.ts +1 -3
- package/dist/components/{expert → base/expert}/bio/index.d.ts +1 -1
- package/dist/components/{expert → base/expert}/index.d.ts +1 -1
- package/dist/components/base/grid/index.d.ts +3 -11
- package/dist/components/base/index.d.ts +2 -0
- package/dist/components/base/link-button/index.d.ts +2 -2
- package/dist/components/base/pulse-button/index.d.ts +8 -0
- package/dist/components/bonus-card/index.d.ts +1 -3
- package/dist/components/contact-form/index.d.ts +3 -1
- package/dist/components/expert-tip/index.d.ts +2 -3
- package/dist/components/faq/index.d.ts +2 -4
- package/dist/components/feature-card/index.d.ts +5 -0
- package/dist/components/features/index.d.ts +2 -3
- package/dist/components/game-card/index.d.ts +1 -3
- package/dist/components/game-demo/index.d.ts +3 -4
- package/dist/components/game-demo/preview/index.d.ts +3 -3
- package/dist/components/how-to/index.d.ts +2 -3
- package/dist/components/index.cjs +4 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.mjs +12 -9
- package/dist/components/layout/footer/navigation/index.d.ts +5 -1
- package/dist/components/layout/header/{navbar/navigation → navigation}/desktop/item/index.d.ts +1 -1
- package/dist/components/layout/header/{navbar/navigation → navigation}/mobile/item/index.d.ts +1 -1
- package/dist/components/layout/header/{navbar/navigation → navigation}/types.d.ts +1 -1
- package/dist/components/list/index.d.ts +1 -2
- package/dist/components/pros-cons/index.d.ts +2 -3
- package/dist/components/table/index.d.ts +0 -1
- package/dist/components/tabs/index.d.ts +1 -2
- package/dist/index-BNb-P8a6.mjs +17 -0
- package/dist/index-BhsXlbd8.js +16 -0
- package/dist/{index-jvxaXXE3.js → index-BrTxsE2A.js} +18 -0
- package/dist/{index-C95D6IAi.mjs → index-CHSIkTv7.mjs} +138 -140
- package/dist/index-CnohyDGd.js +965 -0
- package/dist/{index-CJvs4SfG.mjs → index-j8Vo42fz.mjs} +18 -0
- package/dist/index.cjs +9 -5
- package/dist/index.mjs +17 -13
- package/dist/providers/index.cjs +3 -3
- package/dist/providers/index.d.ts +1 -1
- package/dist/providers/index.mjs +3 -3
- package/dist/providers/site-provider/index.d.ts +11 -0
- package/dist/types/components/image/index.d.ts +2 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/site/index.d.ts +32 -0
- package/dist/utils/animation/index.d.ts +8 -0
- package/dist/utils/index.cjs +2 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.mjs +2 -1
- package/package.json +104 -105
- package/dist/components/layout/header/navbar/index.d.ts +0 -6
- package/dist/index-BbMf3hdf.js +0 -967
- package/dist/index-Bs4zA1wD.mjs +0 -17
- package/dist/index-D96zh94V.js +0 -16
- package/dist/providers/site-metadata-provider/index.d.ts +0 -14
- package/dist/types/site-metadata/index.d.ts +0 -10
- /package/dist/components/layout/header/{navbar/brand → brand}/index.d.ts +0 -0
- /package/dist/components/layout/header/{navbar/navigation → navigation}/desktop/index.d.ts +0 -0
- /package/dist/components/layout/header/{navbar/navigation → navigation}/index.d.ts +0 -0
- /package/dist/components/layout/header/{navbar/navigation → navigation}/mobile/index.d.ts +0 -0
- /package/dist/components/layout/header/{navbar/theme-toggler → theme-toggler}/index.d.ts +0 -0
|
@@ -1,5 +1,22 @@
|
|
|
1
|
+
import { keyframes } from "@emotion/react";
|
|
1
2
|
import "./index-DxLcykuT.mjs";
|
|
2
3
|
import i18n from "i18next";
|
|
4
|
+
const pulse = keyframes`
|
|
5
|
+
0% {
|
|
6
|
+
box-shadow: 0 0 0 0 var(--chakra-colors-brand-100);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
50% {
|
|
10
|
+
box-shadow: 0 0 0 0.8rem rgba(0, 0, 0, 0);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
100% {
|
|
14
|
+
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
|
|
15
|
+
}
|
|
16
|
+
`;
|
|
17
|
+
const Animation = {
|
|
18
|
+
pulse
|
|
19
|
+
};
|
|
3
20
|
function getCurrentYear() {
|
|
4
21
|
const locale = i18n.language;
|
|
5
22
|
const currentDate = /* @__PURE__ */ new Date();
|
|
@@ -78,6 +95,7 @@ function getDomain(url) {
|
|
|
78
95
|
return url.replace(protocolRegex, "");
|
|
79
96
|
}
|
|
80
97
|
export {
|
|
98
|
+
Animation as A,
|
|
81
99
|
getCurrentMonth as a,
|
|
82
100
|
formatNumber as b,
|
|
83
101
|
getCurrencySymbol as c,
|
package/dist/index.cjs
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index-
|
|
3
|
+
const index = require("./index-CnohyDGd.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");
|
|
7
|
-
const index$3 = require("./index-
|
|
8
|
-
const index$4 = require("./index-
|
|
7
|
+
const index$3 = require("./index-BhsXlbd8.js");
|
|
8
|
+
const index$4 = require("./index-BrTxsE2A.js");
|
|
9
9
|
const index$5 = require("./index-B-5oUop6.js");
|
|
10
10
|
const i18n = require("i18next");
|
|
11
11
|
exports.Author = index.Author;
|
|
12
12
|
exports.BonusCard = index.BonusCard;
|
|
13
13
|
exports.Center = index.Center;
|
|
14
14
|
exports.ContactForm = index.ContactForm;
|
|
15
|
+
exports.Expert = index.Expert;
|
|
15
16
|
exports.ExpertTip = index.ExpertTip;
|
|
16
17
|
exports.Faq = index.Faq;
|
|
18
|
+
exports.FeatureCard = index.FeatureCard;
|
|
17
19
|
exports.Features = index.Features;
|
|
18
20
|
exports.GameCard = index.GameCard;
|
|
19
21
|
exports.GameDemo = index.GameDemo;
|
|
@@ -24,6 +26,7 @@ exports.Layout = index.Layout;
|
|
|
24
26
|
exports.LinkButton = index.LinkButton;
|
|
25
27
|
exports.List = index.List;
|
|
26
28
|
exports.ProsCons = index.ProsCons;
|
|
29
|
+
exports.PulseButton = index.PulseButton;
|
|
27
30
|
exports.Seo = index.Seo;
|
|
28
31
|
exports.Table = index.Table;
|
|
29
32
|
exports.Tabs = index.Tabs;
|
|
@@ -32,8 +35,9 @@ exports.GameCharacteristic = i18n$1.GameCharacteristic;
|
|
|
32
35
|
exports.GameVolatility = i18n$1.GameVolatility;
|
|
33
36
|
exports.resources = i18n$1.resources;
|
|
34
37
|
exports.MdxProvider = index$2.MdxProvider;
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
38
|
+
exports.SiteProvider = index$3.SiteProvider;
|
|
39
|
+
exports.useSiteContext = index$3.useSiteContext;
|
|
40
|
+
exports.Animation = index$4.Animation;
|
|
37
41
|
exports.formatDate = index$4.formatDate;
|
|
38
42
|
exports.formatNumber = index$4.formatNumber;
|
|
39
43
|
exports.getCurrencySymbol = index$4.getCurrencySymbol;
|
package/dist/index.mjs
CHANGED
|
@@ -1,35 +1,39 @@
|
|
|
1
|
-
import { A, B,
|
|
1
|
+
import { A, B, g, C, h, E, F, a, b, G, c, d, i, H, L, j, e, P, k, S, T, f } from "./index-CHSIkTv7.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
|
-
import { S as S2, u as u2 } from "./index-
|
|
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-
|
|
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, d as d2, p, r as r2, t } from "./index-j8Vo42fz.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
|
+
A2 as Animation,
|
|
10
11
|
A as Author,
|
|
11
12
|
B as BonusCard,
|
|
12
|
-
|
|
13
|
+
g as Center,
|
|
13
14
|
C as ContactForm,
|
|
15
|
+
h as Expert,
|
|
14
16
|
E as ExpertTip,
|
|
15
17
|
F as Faq,
|
|
16
|
-
a as
|
|
18
|
+
a as FeatureCard,
|
|
19
|
+
b as Features,
|
|
17
20
|
G as GameCard,
|
|
18
21
|
a2 as GameCharacteristic,
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
c as GameDemo,
|
|
23
|
+
d as GameInfo,
|
|
21
24
|
G2 as GameVolatility,
|
|
22
|
-
|
|
25
|
+
i as Grid,
|
|
23
26
|
H as HowTo,
|
|
24
27
|
L as Layout,
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
j as LinkButton,
|
|
29
|
+
e as List,
|
|
27
30
|
M as MdxProvider,
|
|
28
31
|
P as ProsCons,
|
|
32
|
+
k as PulseButton,
|
|
29
33
|
S as Seo,
|
|
30
|
-
S2 as
|
|
34
|
+
S2 as SiteProvider,
|
|
31
35
|
T as Table,
|
|
32
|
-
|
|
36
|
+
f as Tabs,
|
|
33
37
|
e2 as extractTheme,
|
|
34
38
|
f2 as formatDate,
|
|
35
39
|
b2 as formatNumber,
|
|
@@ -44,5 +48,5 @@ export {
|
|
|
44
48
|
r2 as round,
|
|
45
49
|
t as toFixedTwo,
|
|
46
50
|
u as usePrimaryColors,
|
|
47
|
-
u2 as
|
|
51
|
+
u2 as useSiteContext
|
|
48
52
|
};
|
package/dist/providers/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const index = require("../index-BWuTDC6H.js");
|
|
4
|
-
const index$1 = require("../index-
|
|
4
|
+
const index$1 = require("../index-BhsXlbd8.js");
|
|
5
5
|
exports.MdxProvider = index.MdxProvider;
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.SiteProvider = index$1.SiteProvider;
|
|
7
|
+
exports.useSiteContext = index$1.useSiteContext;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as MdxProvider } from './mdx-provider';
|
|
2
|
-
export { default as
|
|
2
|
+
export { default as SiteProvider, useSiteContext } from './site-provider';
|
package/dist/providers/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { M } from "../index-wbMOJRW_.mjs";
|
|
2
|
-
import { S, u } from "../index-
|
|
2
|
+
import { S, u } from "../index-BNb-P8a6.mjs";
|
|
3
3
|
export {
|
|
4
4
|
M as MdxProvider,
|
|
5
|
-
S as
|
|
6
|
-
u as
|
|
5
|
+
S as SiteProvider,
|
|
6
|
+
u as useSiteContext
|
|
7
7
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { ISiteAssets, ISiteConfigs, ISiteMetadata } from '../../types';
|
|
3
|
+
interface ISiteContext {
|
|
4
|
+
metadata: ISiteMetadata;
|
|
5
|
+
configs?: ISiteConfigs;
|
|
6
|
+
assets?: ISiteAssets;
|
|
7
|
+
}
|
|
8
|
+
type SiteMetadataProviderProps = ISiteContext;
|
|
9
|
+
declare const SiteProvider: FC<PropsWithChildren<SiteMetadataProviderProps>>;
|
|
10
|
+
export default SiteProvider;
|
|
11
|
+
export declare function useSiteContext(): ISiteContext;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { Currency, LanguageCode } from '../i18n';
|
|
3
|
+
import { INavigationItem } from '../navigation';
|
|
4
|
+
type ImageUrl = string;
|
|
5
|
+
type ImageComponent = ReactElement;
|
|
6
|
+
type Image = ImageUrl | ImageComponent;
|
|
7
|
+
export interface ISiteAssets {
|
|
8
|
+
images?: {
|
|
9
|
+
logo?: Image;
|
|
10
|
+
gamePreview?: Image;
|
|
11
|
+
expert?: Image;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
interface ISiteHeaderConfig {
|
|
15
|
+
navigation?: INavigationItem[];
|
|
16
|
+
toolbar?: ReactNode;
|
|
17
|
+
}
|
|
18
|
+
interface ISiteFooterConfig {
|
|
19
|
+
navigation?: INavigationItem[];
|
|
20
|
+
}
|
|
21
|
+
export interface ISiteConfigs {
|
|
22
|
+
header?: ISiteHeaderConfig;
|
|
23
|
+
footer?: ISiteFooterConfig;
|
|
24
|
+
}
|
|
25
|
+
export interface ISiteMetadata {
|
|
26
|
+
title: string;
|
|
27
|
+
description: string;
|
|
28
|
+
siteUrl: string;
|
|
29
|
+
lang: LanguageCode;
|
|
30
|
+
currency: Currency | Currency[];
|
|
31
|
+
}
|
|
32
|
+
export {};
|
package/dist/utils/index.cjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../index-
|
|
3
|
+
const index = require("../index-BrTxsE2A.js");
|
|
4
4
|
const index$1 = require("../index-B-5oUop6.js");
|
|
5
|
+
exports.Animation = index.Animation;
|
|
5
6
|
exports.formatDate = index.formatDate;
|
|
6
7
|
exports.formatNumber = index.formatNumber;
|
|
7
8
|
exports.getCurrencySymbol = index.getCurrencySymbol;
|
package/dist/utils/index.d.ts
CHANGED
package/dist/utils/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { f, b, c, a, g, d, p, r, t } from "../index-
|
|
1
|
+
import { A, f, b, c, a, g, d, p, r, t } from "../index-j8Vo42fz.mjs";
|
|
2
2
|
import { e, g as g2 } from "../index-BUx1Bxrs.mjs";
|
|
3
3
|
export {
|
|
4
|
+
A as Animation,
|
|
4
5
|
e as extractTheme,
|
|
5
6
|
f as formatDate,
|
|
6
7
|
b as formatNumber,
|
package/package.json
CHANGED
|
@@ -1,105 +1,104 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@anywayseo/tools",
|
|
3
|
-
"description": "Shared UI Components and Modules",
|
|
4
|
-
"version": "1.
|
|
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
|
-
"start": "npm
|
|
68
|
-
"build": "tsc -b && vite build",
|
|
69
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
70
|
-
"prepack": "npm run build",
|
|
71
|
-
"bump:patch": "npm version patch",
|
|
72
|
-
"bump:minor": "npm version minor",
|
|
73
|
-
"bump:major": "npm version major",
|
|
74
|
-
"postversion": "git push --follow-tags && npm publish"
|
|
75
|
-
},
|
|
76
|
-
"devDependencies": {
|
|
77
|
-
"@types/react": "18.3.12",
|
|
78
|
-
"@types/react-dom": "18.3.1",
|
|
79
|
-
"@typescript-eslint/eslint-plugin": "7.15.0",
|
|
80
|
-
"@typescript-eslint/parser": "7.15.0",
|
|
81
|
-
"@vitejs/plugin-react": "4.3.1",
|
|
82
|
-
"eslint": "8.57.0",
|
|
83
|
-
"eslint-plugin-react-hooks": "4.6.2",
|
|
84
|
-
"eslint-plugin-react-refresh": "0.4.7",
|
|
85
|
-
"sass": "1.80.7",
|
|
86
|
-
"typescript": "5.6.3",
|
|
87
|
-
"vite": "5.4.14",
|
|
88
|
-
"vite-plugin-dts": "4.5.0"
|
|
89
|
-
},
|
|
90
|
-
"peerDependencies": {
|
|
91
|
-
"@chakra-ui/icons": "^2.0.0",
|
|
92
|
-
"@chakra-ui/react": "^2.0.0",
|
|
93
|
-
"@ctrl/tinycolor": "^4.1.0",
|
|
94
|
-
"@emotion/react": "^11.0.0",
|
|
95
|
-
"@emotion/styled": "^11.0.0",
|
|
96
|
-
"@mdx-js/react": "^2.0.0",
|
|
97
|
-
"framer-motion": "^12.0.6",
|
|
98
|
-
"gatsby": "^5.0.0",
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"react": "^18.3.1",
|
|
102
|
-
"react-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@anywayseo/tools",
|
|
3
|
+
"description": "Shared UI Components and Modules",
|
|
4
|
+
"version": "2.1.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
|
+
"start": "npm run start --prefix stand",
|
|
68
|
+
"build": "tsc -b && vite build",
|
|
69
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
70
|
+
"prepack": "npm run build",
|
|
71
|
+
"bump:patch": "npm version patch",
|
|
72
|
+
"bump:minor": "npm version minor",
|
|
73
|
+
"bump:major": "npm version major",
|
|
74
|
+
"postversion": "git push --follow-tags && npm publish"
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@types/react": "18.3.12",
|
|
78
|
+
"@types/react-dom": "18.3.1",
|
|
79
|
+
"@typescript-eslint/eslint-plugin": "7.15.0",
|
|
80
|
+
"@typescript-eslint/parser": "7.15.0",
|
|
81
|
+
"@vitejs/plugin-react": "4.3.1",
|
|
82
|
+
"eslint": "8.57.0",
|
|
83
|
+
"eslint-plugin-react-hooks": "4.6.2",
|
|
84
|
+
"eslint-plugin-react-refresh": "0.4.7",
|
|
85
|
+
"sass": "1.80.7",
|
|
86
|
+
"typescript": "5.6.3",
|
|
87
|
+
"vite": "5.4.14",
|
|
88
|
+
"vite-plugin-dts": "4.5.0"
|
|
89
|
+
},
|
|
90
|
+
"peerDependencies": {
|
|
91
|
+
"@chakra-ui/icons": "^2.0.0",
|
|
92
|
+
"@chakra-ui/react": "^2.0.0",
|
|
93
|
+
"@ctrl/tinycolor": "^4.1.0",
|
|
94
|
+
"@emotion/react": "^11.0.0",
|
|
95
|
+
"@emotion/styled": "^11.0.0",
|
|
96
|
+
"@mdx-js/react": "^2.0.0",
|
|
97
|
+
"framer-motion": "^12.0.6",
|
|
98
|
+
"gatsby": "^5.0.0",
|
|
99
|
+
"i18next": "^24.0.0",
|
|
100
|
+
"react": "^18.3.1",
|
|
101
|
+
"react-dom": "^18.3.1",
|
|
102
|
+
"react-i18next": "^15.0.0"
|
|
103
|
+
}
|
|
104
|
+
}
|