@anywayseo/tools 1.1.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/center/index.d.ts +6 -0
- package/dist/components/base/grid/index.d.ts +19 -0
- package/dist/components/base/grid/types.d.ts +3 -0
- package/dist/components/base/grid/utils.d.ts +2 -0
- package/dist/components/base/index.d.ts +3 -0
- package/dist/components/base/link-button/index.d.ts +7 -0
- package/dist/components/bonus-card/content/index.d.ts +7 -0
- package/dist/components/bonus-card/index.d.ts +7 -0
- package/dist/components/bonus-card/title/index.d.ts +7 -0
- package/dist/components/game-card/index.d.ts +7 -0
- package/dist/components/index.cjs +9 -1
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.mjs +12 -4
- package/dist/components/layout/container/index.d.ts +3 -0
- package/dist/components/layout/hero/index.d.ts +2 -0
- package/dist/components/list/index.d.ts +13 -0
- package/dist/components/table/index.d.ts +12 -0
- package/dist/components/tabs/index.d.ts +8 -0
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.mjs +1 -1
- package/dist/i18n/resources/de/index.d.ts +108 -0
- package/dist/i18n/resources/en/index.d.ts +9 -0
- package/dist/i18n/resources/it/index.d.ts +9 -0
- package/dist/index-B-5oUop6.js +47 -0
- package/dist/index-BUx1Bxrs.mjs +48 -0
- package/dist/{index-jhNgIknB.mjs → index-CJvs4SfG.mjs} +1 -1
- package/dist/{index-DB1dS9cp.js → index-DCIXk-YH.js} +140 -4
- package/dist/{index-Bv4g3xBH.mjs → index-DD5l7Azu.mjs} +191 -20
- package/dist/{index-C1AoeBP2.js → index-DLPk8AIs.js} +179 -8
- package/dist/{index-Bh5idiRE.mjs → index-DxLcykuT.mjs} +140 -4
- package/dist/{index-C68DPwvx.js → index-jvxaXXE3.js} +1 -1
- package/dist/index.cjs +14 -3
- package/dist/index.mjs +20 -9
- package/dist/types/components/bonus-card/index.d.ts +9 -0
- package/dist/types/components/common/index.d.ts +3 -0
- package/dist/types/components/game-card/index.d.ts +6 -0
- package/dist/types/components/index.d.ts +8 -0
- package/dist/types/components/tabs/index.d.ts +8 -0
- package/dist/types/i18n/index.d.ts +1 -1
- package/dist/types/index.d.ts +4 -7
- package/dist/types/models/bonus/index.d.ts +4 -0
- package/dist/types/models/game/index.d.ts +3 -0
- package/dist/types/models/index.d.ts +5 -0
- package/dist/types/models/link/index.d.ts +4 -0
- package/dist/types/theme/index.d.ts +27 -0
- package/dist/utils/index.cjs +4 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.mjs +4 -1
- package/dist/utils/theme/index.d.ts +3 -0
- package/package.json +2 -1
- /package/dist/types/{faq → components/faq}/index.d.ts +0 -0
- /package/dist/types/{game-info → components/game-info}/index.d.ts +0 -0
- /package/dist/types/{how-to → components/how-to}/index.d.ts +0 -0
- /package/dist/types/{pros-cons → components/pros-cons}/index.d.ts +0 -0
- /package/dist/types/{author → models/author}/index.d.ts +0 -0
- /package/dist/types/{feature → models/feature}/index.d.ts +0 -0
|
@@ -31,7 +31,125 @@ var GameCharacteristic = /* @__PURE__ */ ((GameCharacteristic2) => {
|
|
|
31
31
|
GameCharacteristic2["Languages"] = "LANGUAGES";
|
|
32
32
|
return GameCharacteristic2;
|
|
33
33
|
})(GameCharacteristic || {});
|
|
34
|
+
const pageNotFound$2 = {
|
|
35
|
+
seo: {
|
|
36
|
+
title: "Seite nicht gefunden | {{domain}}"
|
|
37
|
+
},
|
|
38
|
+
title: "404 — Seite nicht gefunden",
|
|
39
|
+
description: "Entschuldigung 😔, wir konnten nicht finden, wonach Sie gesucht haben.",
|
|
40
|
+
action: "Zur Startseite"
|
|
41
|
+
};
|
|
42
|
+
const footer$2 = {
|
|
43
|
+
copyright: "© {{year}} {{domain}}. Alle Rechte vorbehalten.",
|
|
44
|
+
disclaimer: {
|
|
45
|
+
title: "Spielen Sie verantwortungsbewusst: ",
|
|
46
|
+
description: "{{domain}} ist eine unabhängige Ressource und nicht mit den von uns beworbenen Seiten verbunden. Stellen Sie sicher, dass Sie über alle erforderlichen Zertifikate verfügen und die gesetzlichen Anforderungen erfüllt sind, bevor Sie mit dem Spielen beginnen. Der Hauptzweck von {{domain}} besteht darin, informative und unterhaltsame Inhalte bereitzustellen. Wenn Sie nach Links zu verwandten Ressourcen suchen, werden Sie zu den entsprechenden Plattformen weitergeleitet."
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const gameDemo$2 = {
|
|
50
|
+
warning: "Ihr Browser ist zu alt, um das iframe-Element anzuzeigen.",
|
|
51
|
+
action: {
|
|
52
|
+
playForFree: "Kostenlos spielen",
|
|
53
|
+
activateFullscreen: "Vollbildmodus aktivieren",
|
|
54
|
+
deactivateFullscreen: "Vollbildmodus deaktivieren"
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
const gameInfo$2 = {
|
|
58
|
+
title: "Spielinfo",
|
|
59
|
+
group: {
|
|
60
|
+
general: "Allgemeine Eigenschaften",
|
|
61
|
+
features: "Spielfunktionen"
|
|
62
|
+
},
|
|
63
|
+
feature: {
|
|
64
|
+
[GameCharacteristic.BonusFeatures]: "Bonusfunktionen",
|
|
65
|
+
[GameCharacteristic.Compatibility]: "Kompatibilität",
|
|
66
|
+
[GameCharacteristic.Developer]: "Entwickler",
|
|
67
|
+
[GameCharacteristic.HasAutoplay]: "Autoplay",
|
|
68
|
+
[GameCharacteristic.HasBonusPurchase]: "Bonus-Kauf",
|
|
69
|
+
[GameCharacteristic.HasCollectionSymbols]: "Sammelsymbole",
|
|
70
|
+
[GameCharacteristic.HasDemo]: "Demo-Version",
|
|
71
|
+
[GameCharacteristic.HasFastSpin]: "Schnelldrehung",
|
|
72
|
+
[GameCharacteristic.HasFreeSpins]: "Freispiele",
|
|
73
|
+
[GameCharacteristic.HasProgressiveJackpot]: "Progressiver Jackpot",
|
|
74
|
+
[GameCharacteristic.Languages]: "Sprachen",
|
|
75
|
+
[GameCharacteristic.MaxWin]: "Maximaler Gewinn",
|
|
76
|
+
[GameCharacteristic.MaxBet]: "Maximaler Einsatz",
|
|
77
|
+
[GameCharacteristic.MinBet]: "Minimaler Einsatz",
|
|
78
|
+
[GameCharacteristic.Name]: "Name",
|
|
79
|
+
[GameCharacteristic.PayLines]: "Anzahl der Gewinnlinien",
|
|
80
|
+
[GameCharacteristic.ReelsNumber]: "Anzahl der Walzen",
|
|
81
|
+
[GameCharacteristic.ReleaseDate]: "Veröffentlichungsdatum",
|
|
82
|
+
[GameCharacteristic.Rtp]: "RTP",
|
|
83
|
+
[GameCharacteristic.Theme]: "Thema",
|
|
84
|
+
[GameCharacteristic.Type]: "Typ",
|
|
85
|
+
[GameCharacteristic.Volatility]: "Volatilität"
|
|
86
|
+
},
|
|
87
|
+
value: {
|
|
88
|
+
boolean: {
|
|
89
|
+
true: "Ja",
|
|
90
|
+
false: "Nein"
|
|
91
|
+
},
|
|
92
|
+
volatility: {
|
|
93
|
+
[GameVolatility.High]: "Hoch",
|
|
94
|
+
[GameVolatility.Medium]: "Mittel",
|
|
95
|
+
[GameVolatility.Low]: "Niedrig"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
const prosCons$2 = {
|
|
100
|
+
advantages: "Vorteile",
|
|
101
|
+
disadvantages: "Nachteile"
|
|
102
|
+
};
|
|
103
|
+
const author$2 = {
|
|
104
|
+
title: "Veröffentlicht von",
|
|
105
|
+
action: {
|
|
106
|
+
expand: "Mehr anzeigen",
|
|
107
|
+
collapse: "Ausblenden"
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
const contactForm$2 = {
|
|
111
|
+
field: {
|
|
112
|
+
name: {
|
|
113
|
+
label: "Name",
|
|
114
|
+
placeholder: "Ihr Name"
|
|
115
|
+
},
|
|
116
|
+
email: {
|
|
117
|
+
label: "E-Mail",
|
|
118
|
+
placeholder: "Ihre E-Mail"
|
|
119
|
+
},
|
|
120
|
+
message: {
|
|
121
|
+
label: "Nachricht",
|
|
122
|
+
placeholder: "Ihre Nachricht"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
notification: {
|
|
126
|
+
title: "{{name}}, danke für Ihr Feedback!",
|
|
127
|
+
description: "Wir werden uns so bald wie möglich unter {{email}} bei Ihnen melden."
|
|
128
|
+
},
|
|
129
|
+
action: {
|
|
130
|
+
send: "Nachricht senden"
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
const bonusCard$2 = {
|
|
134
|
+
action: {
|
|
135
|
+
expand: "Mehr erfahren",
|
|
136
|
+
collapse: "Ausblenden"
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
const dictionary$2 = {
|
|
140
|
+
pageNotFound: pageNotFound$2,
|
|
141
|
+
footer: footer$2,
|
|
142
|
+
gameDemo: gameDemo$2,
|
|
143
|
+
gameInfo: gameInfo$2,
|
|
144
|
+
prosCons: prosCons$2,
|
|
145
|
+
author: author$2,
|
|
146
|
+
contactForm: contactForm$2,
|
|
147
|
+
bonusCard: bonusCard$2
|
|
148
|
+
};
|
|
34
149
|
const pageNotFound$1 = {
|
|
150
|
+
seo: {
|
|
151
|
+
title: "Page not found | {{domain}}"
|
|
152
|
+
},
|
|
35
153
|
title: "404 — Page not found",
|
|
36
154
|
description: "Sorry 😔, we couldn’t find what you were looking for.",
|
|
37
155
|
action: "Go Home"
|
|
@@ -127,6 +245,12 @@ const contactForm$1 = {
|
|
|
127
245
|
send: "Send Message"
|
|
128
246
|
}
|
|
129
247
|
};
|
|
248
|
+
const bonusCard$1 = {
|
|
249
|
+
action: {
|
|
250
|
+
expand: "Learn more",
|
|
251
|
+
collapse: "Hide"
|
|
252
|
+
}
|
|
253
|
+
};
|
|
130
254
|
const dictionary$1 = {
|
|
131
255
|
pageNotFound: pageNotFound$1,
|
|
132
256
|
footer: footer$1,
|
|
@@ -134,9 +258,13 @@ const dictionary$1 = {
|
|
|
134
258
|
gameInfo: gameInfo$1,
|
|
135
259
|
prosCons: prosCons$1,
|
|
136
260
|
author: author$1,
|
|
137
|
-
contactForm: contactForm$1
|
|
261
|
+
contactForm: contactForm$1,
|
|
262
|
+
bonusCard: bonusCard$1
|
|
138
263
|
};
|
|
139
264
|
const pageNotFound = {
|
|
265
|
+
seo: {
|
|
266
|
+
title: "Pagina non trovata | {{domain}}"
|
|
267
|
+
},
|
|
140
268
|
title: "404 — Pagina non trovata",
|
|
141
269
|
description: "Spiacenti 😔, non siamo riusciti a trovare quello che cercavi.",
|
|
142
270
|
action: "Ritorna alla pagina principale"
|
|
@@ -206,7 +334,7 @@ const author = {
|
|
|
206
334
|
title: "Informazioni sull'autore",
|
|
207
335
|
action: {
|
|
208
336
|
expand: "Mostra per intero",
|
|
209
|
-
collapse: "
|
|
337
|
+
collapse: "Nascondi"
|
|
210
338
|
}
|
|
211
339
|
};
|
|
212
340
|
const contactForm = {
|
|
@@ -232,6 +360,12 @@ const contactForm = {
|
|
|
232
360
|
send: "Invia Messaggio"
|
|
233
361
|
}
|
|
234
362
|
};
|
|
363
|
+
const bonusCard = {
|
|
364
|
+
action: {
|
|
365
|
+
expand: "Scopri di più",
|
|
366
|
+
collapse: "Nascondi"
|
|
367
|
+
}
|
|
368
|
+
};
|
|
235
369
|
const dictionary = {
|
|
236
370
|
pageNotFound,
|
|
237
371
|
footer,
|
|
@@ -239,11 +373,13 @@ const dictionary = {
|
|
|
239
373
|
gameInfo,
|
|
240
374
|
prosCons,
|
|
241
375
|
author,
|
|
242
|
-
contactForm
|
|
376
|
+
contactForm,
|
|
377
|
+
bonusCard
|
|
243
378
|
};
|
|
244
379
|
const resources = {
|
|
245
380
|
en: dictionary$1,
|
|
246
|
-
it: dictionary
|
|
381
|
+
it: dictionary,
|
|
382
|
+
de: dictionary$2
|
|
247
383
|
};
|
|
248
384
|
const DEFAULT_LANGUAGE = "en";
|
|
249
385
|
i18n.use(initReactI18next).init({
|
package/dist/index.cjs
CHANGED
|
@@ -1,23 +1,32 @@
|
|
|
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
|
-
const i18n$1 = require("./index-
|
|
5
|
+
const i18n$1 = require("./index-DCIXk-YH.js");
|
|
6
6
|
const index$2 = require("./index-BWuTDC6H.js");
|
|
7
7
|
const index$3 = require("./index-D96zh94V.js");
|
|
8
|
-
const index$4 = require("./index-
|
|
8
|
+
const index$4 = require("./index-jvxaXXE3.js");
|
|
9
|
+
const index$5 = require("./index-B-5oUop6.js");
|
|
9
10
|
const i18n = require("i18next");
|
|
10
11
|
exports.Author = index.Author;
|
|
12
|
+
exports.BonusCard = index.BonusCard;
|
|
13
|
+
exports.Center = index.Center;
|
|
11
14
|
exports.ContactForm = index.ContactForm;
|
|
12
15
|
exports.ExpertTip = index.ExpertTip;
|
|
13
16
|
exports.Faq = index.Faq;
|
|
14
17
|
exports.Features = index.Features;
|
|
18
|
+
exports.GameCard = index.GameCard;
|
|
15
19
|
exports.GameDemo = index.GameDemo;
|
|
16
20
|
exports.GameInfo = index.GameInfo;
|
|
21
|
+
exports.Grid = index.Grid;
|
|
17
22
|
exports.HowTo = index.HowTo;
|
|
18
23
|
exports.Layout = index.Layout;
|
|
24
|
+
exports.LinkButton = index.LinkButton;
|
|
25
|
+
exports.List = index.List;
|
|
19
26
|
exports.ProsCons = index.ProsCons;
|
|
20
27
|
exports.Seo = index.Seo;
|
|
28
|
+
exports.Table = index.Table;
|
|
29
|
+
exports.Tabs = index.Tabs;
|
|
21
30
|
exports.usePrimaryColors = index$1.usePrimaryColors;
|
|
22
31
|
exports.GameCharacteristic = i18n$1.GameCharacteristic;
|
|
23
32
|
exports.GameVolatility = i18n$1.GameVolatility;
|
|
@@ -34,4 +43,6 @@ exports.getDomain = index$4.getDomain;
|
|
|
34
43
|
exports.parseNumber = index$4.parseNumber;
|
|
35
44
|
exports.round = index$4.round;
|
|
36
45
|
exports.toFixedTwo = index$4.toFixedTwo;
|
|
46
|
+
exports.extractTheme = index$5.extractTheme;
|
|
47
|
+
exports.generateColorPalette = index$5.generateColorPalette;
|
|
37
48
|
exports.i18n = i18n;
|
package/dist/index.mjs
CHANGED
|
@@ -1,32 +1,43 @@
|
|
|
1
|
-
import { A, C, E, F, a, G, b, H, L, P, S } from "./index-
|
|
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
|
-
import { a as a2, G as G2, r } from "./index-
|
|
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, b as b2, c, a as a3, g, d, p, r as r2, t } 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-CJvs4SfG.mjs";
|
|
7
|
+
import { e as e2, g as g3 } from "./index-BUx1Bxrs.mjs";
|
|
7
8
|
import { default as default2 } from "i18next";
|
|
8
9
|
export {
|
|
9
10
|
A as Author,
|
|
11
|
+
B as BonusCard,
|
|
12
|
+
f as Center,
|
|
10
13
|
C as ContactForm,
|
|
11
14
|
E as ExpertTip,
|
|
12
15
|
F as Faq,
|
|
13
16
|
a as Features,
|
|
17
|
+
G as GameCard,
|
|
14
18
|
a2 as GameCharacteristic,
|
|
15
|
-
|
|
16
|
-
|
|
19
|
+
b as GameDemo,
|
|
20
|
+
c as GameInfo,
|
|
17
21
|
G2 as GameVolatility,
|
|
22
|
+
g as Grid,
|
|
18
23
|
H as HowTo,
|
|
19
24
|
L as Layout,
|
|
25
|
+
h as LinkButton,
|
|
26
|
+
d as List,
|
|
20
27
|
M as MdxProvider,
|
|
21
28
|
P as ProsCons,
|
|
22
29
|
S as Seo,
|
|
23
30
|
S2 as SiteMetadataProvider,
|
|
24
|
-
|
|
31
|
+
T as Table,
|
|
32
|
+
e as Tabs,
|
|
33
|
+
e2 as extractTheme,
|
|
34
|
+
f2 as formatDate,
|
|
25
35
|
b2 as formatNumber,
|
|
26
|
-
|
|
36
|
+
g3 as generateColorPalette,
|
|
37
|
+
c2 as getCurrencySymbol,
|
|
27
38
|
a3 as getCurrentMonth,
|
|
28
|
-
|
|
29
|
-
|
|
39
|
+
g2 as getCurrentYear,
|
|
40
|
+
d2 as getDomain,
|
|
30
41
|
default2 as i18n,
|
|
31
42
|
p as parseNumber,
|
|
32
43
|
r as resources,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { IBonus, ILink } from '../../models';
|
|
3
|
+
type TextContent = string | ReactElement;
|
|
4
|
+
export interface IBonusCard extends IBonus {
|
|
5
|
+
link: ILink;
|
|
6
|
+
content?: TextContent | TextContent[];
|
|
7
|
+
image?: string;
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type LanguageCode = 'en' | 'it';
|
|
1
|
+
export type LanguageCode = 'en' | 'it' | 'de';
|
|
2
2
|
export type Currency = 'USD' | 'EUR' | 'GBP';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
export * from './
|
|
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';
|
|
1
|
+
export * from './components';
|
|
8
2
|
export * from './i18n';
|
|
3
|
+
export * from './models';
|
|
4
|
+
export * from './navigation';
|
|
9
5
|
export * from './site-metadata';
|
|
6
|
+
export * from './theme';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ColorHues, ThemeConfig } from '@chakra-ui/react';
|
|
2
|
+
export type Theme = Exclude<ThemeConfig['initialColorMode'], undefined>;
|
|
3
|
+
export type ColorValue = Partial<ColorHues> | string;
|
|
4
|
+
interface IDefaultColors {
|
|
5
|
+
transparent?: ColorValue;
|
|
6
|
+
black?: ColorValue;
|
|
7
|
+
white?: ColorValue;
|
|
8
|
+
blackAlpha?: ColorValue;
|
|
9
|
+
whiteAlpha?: ColorValue;
|
|
10
|
+
gray?: ColorValue;
|
|
11
|
+
red?: ColorValue;
|
|
12
|
+
orange?: ColorValue;
|
|
13
|
+
yellow?: ColorValue;
|
|
14
|
+
green?: ColorValue;
|
|
15
|
+
teal?: ColorValue;
|
|
16
|
+
blue?: ColorValue;
|
|
17
|
+
cyan?: ColorValue;
|
|
18
|
+
purple?: ColorValue;
|
|
19
|
+
pink?: ColorValue;
|
|
20
|
+
}
|
|
21
|
+
interface ICustomColors {
|
|
22
|
+
brand?: ColorValue;
|
|
23
|
+
}
|
|
24
|
+
export interface IThemeColors extends IDefaultColors, ICustomColors {
|
|
25
|
+
}
|
|
26
|
+
export type ColorShadeMap = Record<keyof Omit<ColorHues, 500>, number>;
|
|
27
|
+
export {};
|
package/dist/utils/index.cjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../index-
|
|
3
|
+
const index = require("../index-jvxaXXE3.js");
|
|
4
|
+
const index$1 = require("../index-B-5oUop6.js");
|
|
4
5
|
exports.formatDate = index.formatDate;
|
|
5
6
|
exports.formatNumber = index.formatNumber;
|
|
6
7
|
exports.getCurrencySymbol = index.getCurrencySymbol;
|
|
@@ -10,3 +11,5 @@ exports.getDomain = index.getDomain;
|
|
|
10
11
|
exports.parseNumber = index.parseNumber;
|
|
11
12
|
exports.round = index.round;
|
|
12
13
|
exports.toFixedTwo = index.toFixedTwo;
|
|
14
|
+
exports.extractTheme = index$1.extractTheme;
|
|
15
|
+
exports.generateColorPalette = index$1.generateColorPalette;
|
package/dist/utils/index.d.ts
CHANGED
package/dist/utils/index.mjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { f, b, c, a, g, d, p, r, t } from "../index-
|
|
1
|
+
import { f, b, c, a, g, d, p, r, t } from "../index-CJvs4SfG.mjs";
|
|
2
|
+
import { e, g as g2 } from "../index-BUx1Bxrs.mjs";
|
|
2
3
|
export {
|
|
4
|
+
e as extractTheme,
|
|
3
5
|
f as formatDate,
|
|
4
6
|
b as formatNumber,
|
|
7
|
+
g2 as generateColorPalette,
|
|
5
8
|
c as getCurrencySymbol,
|
|
6
9
|
a as getCurrentMonth,
|
|
7
10
|
g as getCurrentYear,
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ColorShadeMap, ColorValue, Theme } from '../../types';
|
|
2
|
+
export declare function extractTheme(value: unknown, defaultTheme?: Theme): Theme;
|
|
3
|
+
export declare function generateColorPalette(value: unknown, defaultColor?: string, colorShadeMap?: ColorShadeMap): ColorValue;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anywayseo/tools",
|
|
3
3
|
"description": "Shared UI Components and Modules",
|
|
4
|
-
"version": "1.1
|
|
4
|
+
"version": "1.5.1",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
7
7
|
"ui",
|
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"@chakra-ui/icons": "^2.0.0",
|
|
88
88
|
"@chakra-ui/react": "^2.0.0",
|
|
89
|
+
"@ctrl/tinycolor": "^4.1.0",
|
|
89
90
|
"@emotion/react": "^11.0.0",
|
|
90
91
|
"@emotion/styled": "^11.0.0",
|
|
91
92
|
"@mdx-js/react": "^2.0.0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|