@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.
Files changed (93) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +62 -0
  3. package/dist/components/author/index.d.ts +8 -0
  4. package/dist/components/contact-form/index.d.ts +3 -0
  5. package/dist/components/expert/bio/index.d.ts +8 -0
  6. package/dist/components/expert/index.d.ts +8 -0
  7. package/dist/components/expert-tip/index.d.ts +9 -0
  8. package/dist/components/faq/index.d.ts +9 -0
  9. package/dist/components/features/index.d.ts +8 -0
  10. package/dist/components/game-demo/content/index.d.ts +10 -0
  11. package/dist/components/game-demo/index.d.ts +10 -0
  12. package/dist/components/game-demo/preview/index.d.ts +9 -0
  13. package/dist/components/game-info/index.d.ts +7 -0
  14. package/dist/components/game-info/item/index.d.ts +7 -0
  15. package/dist/components/game-info/utils.d.ts +2 -0
  16. package/dist/components/how-to/index.d.ts +8 -0
  17. package/dist/components/index.cjs +14 -0
  18. package/dist/components/index.d.ts +11 -0
  19. package/dist/components/index.mjs +14 -0
  20. package/dist/components/layout/content/index.d.ts +3 -0
  21. package/dist/components/layout/footer/brand/index.d.ts +6 -0
  22. package/dist/components/layout/footer/copyright/index.d.ts +3 -0
  23. package/dist/components/layout/footer/disclaimer/index.d.ts +3 -0
  24. package/dist/components/layout/footer/index.d.ts +3 -0
  25. package/dist/components/layout/footer/navigation/index.d.ts +3 -0
  26. package/dist/components/layout/header/index.d.ts +3 -0
  27. package/dist/components/layout/header/navbar/brand/index.d.ts +6 -0
  28. package/dist/components/layout/header/navbar/index.d.ts +6 -0
  29. package/dist/components/layout/header/navbar/navigation/desktop/index.d.ts +4 -0
  30. package/dist/components/layout/header/navbar/navigation/desktop/item/index.d.ts +5 -0
  31. package/dist/components/layout/header/navbar/navigation/index.d.ts +4 -0
  32. package/dist/components/layout/header/navbar/navigation/mobile/index.d.ts +4 -0
  33. package/dist/components/layout/header/navbar/navigation/mobile/item/index.d.ts +5 -0
  34. package/dist/components/layout/header/navbar/navigation/types.d.ts +4 -0
  35. package/dist/components/layout/header/navbar/theme-toggler/index.d.ts +3 -0
  36. package/dist/components/layout/hero/index.d.ts +9 -0
  37. package/dist/components/layout/index.d.ts +12 -0
  38. package/dist/components/layout/logo/index.d.ts +3 -0
  39. package/dist/components/layout/main/index.d.ts +3 -0
  40. package/dist/components/layout/scroll-to-top/index.d.ts +3 -0
  41. package/dist/components/pros-cons/card/index.d.ts +8 -0
  42. package/dist/components/pros-cons/card/utils.d.ts +6 -0
  43. package/dist/components/pros-cons/index.d.ts +8 -0
  44. package/dist/components/seo/index.d.ts +16 -0
  45. package/dist/hooks/index.cjs +4 -0
  46. package/dist/hooks/index.d.ts +1 -0
  47. package/dist/hooks/index.mjs +4 -0
  48. package/dist/hooks/use-primary-colors/index.d.ts +6 -0
  49. package/dist/i18n/index.cjs +7 -0
  50. package/dist/i18n/index.d.ts +9 -0
  51. package/dist/i18n/index.mjs +7 -0
  52. package/dist/i18n/resources/en/index.d.ts +99 -0
  53. package/dist/i18n/resources/index.d.ts +8 -0
  54. package/dist/i18n/resources/it/index.d.ts +99 -0
  55. package/dist/index-BWuTDC6H.js +17 -0
  56. package/dist/index-Bh5idiRE.mjs +257 -0
  57. package/dist/index-Bs4zA1wD.mjs +17 -0
  58. package/dist/index-BtWxmLHW.mjs +80 -0
  59. package/dist/index-D96zh94V.js +16 -0
  60. package/dist/index-DB1dS9cp.js +256 -0
  61. package/dist/index-Dfw_EKZ6.mjs +767 -0
  62. package/dist/index-IpSV-c71.js +8 -0
  63. package/dist/index-JMmaWcmu.js +79 -0
  64. package/dist/index-NWY9BnRg.js +766 -0
  65. package/dist/index-wbMOJRW_.mjs +18 -0
  66. package/dist/index-xuSxvz5z.mjs +9 -0
  67. package/dist/index.cjs +36 -0
  68. package/dist/index.d.ts +6 -0
  69. package/dist/index.mjs +36 -0
  70. package/dist/providers/index.cjs +7 -0
  71. package/dist/providers/index.d.ts +2 -0
  72. package/dist/providers/index.mjs +7 -0
  73. package/dist/providers/mdx-provider/index.d.ts +3 -0
  74. package/dist/providers/site-metadata-provider/index.d.ts +14 -0
  75. package/dist/style.css +15 -0
  76. package/dist/types/author/index.d.ts +17 -0
  77. package/dist/types/faq/index.d.ts +4 -0
  78. package/dist/types/feature/index.d.ts +4 -0
  79. package/dist/types/game-info/index.d.ts +63 -0
  80. package/dist/types/how-to/index.d.ts +5 -0
  81. package/dist/types/i18n/index.d.ts +2 -0
  82. package/dist/types/index.d.ts +9 -0
  83. package/dist/types/navigation/index.d.ts +9 -0
  84. package/dist/types/pros-cons/index.d.ts +6 -0
  85. package/dist/types/site-metadata/index.d.ts +10 -0
  86. package/dist/utils/date/index.d.ts +9 -0
  87. package/dist/utils/index.cjs +11 -0
  88. package/dist/utils/index.d.ts +3 -0
  89. package/dist/utils/index.mjs +11 -0
  90. package/dist/utils/numbers/index.d.ts +19 -0
  91. package/dist/utils/numbers/types.d.ts +1 -0
  92. package/dist/utils/url/index.d.ts +1 -0
  93. 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;
@@ -0,0 +1,6 @@
1
+ export * from './components';
2
+ export * from './hooks';
3
+ export * from './i18n';
4
+ export * from './providers';
5
+ export * from './types';
6
+ export * from './utils';
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,2 @@
1
+ export { default as MdxProvider } from './mdx-provider';
2
+ export { default as SiteMetadataProvider, useSiteMetadataContext } from './site-metadata-provider';
@@ -0,0 +1,7 @@
1
+ import { M } from "../index-wbMOJRW_.mjs";
2
+ import { S, u } from "../index-Bs4zA1wD.mjs";
3
+ export {
4
+ M as MdxProvider,
5
+ S as SiteMetadataProvider,
6
+ u as useSiteMetadataContext
7
+ };
@@ -0,0 +1,3 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ declare const MdxProvider: FC<PropsWithChildren>;
3
+ export default MdxProvider;
@@ -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,4 @@
1
+ export interface IFaqItem {
2
+ question: string;
3
+ answer: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ export interface IFeature {
2
+ title: string;
3
+ description: string;
4
+ }
@@ -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,5 @@
1
+ export interface IHowToStep {
2
+ title: string;
3
+ description?: string;
4
+ image?: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ export type LanguageCode = 'en' | 'it';
2
+ export type Currency = 'USD' | 'EUR';
@@ -0,0 +1,9 @@
1
+ export * from './author';
2
+ export * from './faq';
3
+ export * from './navigation';
4
+ export * from './pros-cons';
5
+ export * from './how-to';
6
+ export * from './feature';
7
+ export * from './game-info';
8
+ export * from './i18n';
9
+ export * from './site-metadata';
@@ -0,0 +1,9 @@
1
+ interface ISubNavigationItem extends Omit<INavigationItem, 'children'> {
2
+ subtitle?: string;
3
+ }
4
+ export interface INavigationItem {
5
+ url: string;
6
+ title: string;
7
+ children?: ISubNavigationItem[];
8
+ }
9
+ export {};
@@ -0,0 +1,6 @@
1
+ export type ProsConsItemType = 'pros' | 'cons';
2
+ export interface IProsConsItem {
3
+ title: string;
4
+ description?: string;
5
+ }
6
+ export type ProsConsItems = Record<ProsConsItemType, IProsConsItem[]>;
@@ -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,3 @@
1
+ export * from './date';
2
+ export * from './numbers';
3
+ export * from './url';
@@ -0,0 +1,11 @@
1
+ import { f, b, a, g, c, p, r, t } from "../index-BtWxmLHW.mjs";
2
+ export {
3
+ f as formatDate,
4
+ b as formatNumber,
5
+ a as getCurrentMonth,
6
+ g as getCurrentYear,
7
+ c as getDomain,
8
+ p as parseNumber,
9
+ r as round,
10
+ t as toFixedTwo
11
+ };
@@ -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
+ }