@intlayer/design-system 8.12.4 → 9.0.0-canary.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/esm/api/hooks/project.mjs +12 -1
- package/dist/esm/api/hooks/project.mjs.map +1 -1
- package/dist/esm/api/index.mjs +2 -2
- package/dist/esm/components/Avatar/index.mjs +1 -1
- package/dist/esm/components/Avatar/index.mjs.map +1 -1
- package/dist/esm/components/Breadcrumb/index.mjs +10 -7
- package/dist/esm/components/Breadcrumb/index.mjs.map +1 -1
- package/dist/esm/components/Button/Button.mjs +4 -2
- package/dist/esm/components/Button/Button.mjs.map +1 -1
- package/dist/esm/components/Carousel/index.mjs +1 -1
- package/dist/esm/components/Carousel/index.mjs.map +1 -1
- package/dist/esm/components/Container/index.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
- package/dist/esm/components/DropDown/index.mjs.map +1 -1
- package/dist/esm/components/ExpandCollapse/ExpandCollapse.mjs +1 -1
- package/dist/esm/components/ExpandCollapse/ExpandCollapse.mjs.map +1 -1
- package/dist/esm/components/Headers/index.mjs +6 -6
- package/dist/esm/components/Headers/index.mjs.map +1 -1
- package/dist/esm/components/HeightResizer/index.mjs +1 -1
- package/dist/esm/components/HeightResizer/index.mjs.map +1 -1
- package/dist/esm/components/Input/Input.mjs.map +1 -1
- package/dist/esm/components/KeyboardShortcut/KeyboardShortcut.mjs.map +1 -1
- package/dist/esm/components/Link/Link.mjs +1 -1
- package/dist/esm/components/Link/Link.mjs.map +1 -1
- package/dist/esm/components/MarkDownRender/MarkDownRender.mjs +1 -1
- package/dist/esm/components/MarkDownRender/MarkDownRender.mjs.map +1 -1
- package/dist/esm/components/Modal/Modal.mjs.map +1 -1
- package/dist/esm/components/Navbar/Burger.mjs +1 -1
- package/dist/esm/components/Navbar/Burger.mjs.map +1 -1
- package/dist/esm/components/Navbar/MobileNavbar.mjs +1 -1
- package/dist/esm/components/Navbar/MobileNavbar.mjs.map +1 -1
- package/dist/esm/components/Pagination/Pagination.mjs.map +1 -1
- package/dist/esm/components/Popover/static.mjs +1 -1
- package/dist/esm/components/Popover/static.mjs.map +1 -1
- package/dist/esm/components/RightDrawer/RightDrawer.mjs +1 -1
- package/dist/esm/components/RightDrawer/RightDrawer.mjs.map +1 -1
- package/dist/esm/components/Select/Select.mjs.map +1 -1
- package/dist/esm/components/Steps/index.mjs +2 -2
- package/dist/esm/components/Steps/index.mjs.map +1 -1
- package/dist/esm/components/SwitchSelector/SwitchSelector.mjs +1 -1
- package/dist/esm/components/SwitchSelector/SwitchSelector.mjs.map +1 -1
- package/dist/esm/components/SwitchSelector/VerticalSwitchSelector.mjs.map +1 -1
- package/dist/esm/components/TabSelector/TabSelector.mjs.map +1 -1
- package/dist/esm/components/Tag/index.mjs.map +1 -1
- package/dist/esm/components/TextArea/AutoSizeTextArea.mjs +1 -1
- package/dist/esm/components/TextArea/AutoSizeTextArea.mjs.map +1 -1
- package/dist/esm/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs +1 -1
- package/dist/esm/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs.map +1 -1
- package/dist/esm/components/Toaster/Toast.mjs +1 -1
- package/dist/esm/components/Toaster/Toast.mjs.map +1 -1
- package/dist/esm/routes.mjs +4 -4
- package/dist/esm/routes.mjs.map +1 -1
- package/dist/esm/structured-data/buildAuthorJsonLd.mjs +15 -0
- package/dist/esm/structured-data/buildAuthorJsonLd.mjs.map +1 -0
- package/dist/esm/structured-data/buildBreadcrumbsJsonLd.mjs +21 -0
- package/dist/esm/structured-data/buildBreadcrumbsJsonLd.mjs.map +1 -0
- package/dist/esm/structured-data/buildCreativeWorkJsonLd.mjs +45 -0
- package/dist/esm/structured-data/buildCreativeWorkJsonLd.mjs.map +1 -0
- package/dist/esm/structured-data/buildFAQPageJsonLd.mjs +23 -0
- package/dist/esm/structured-data/buildFAQPageJsonLd.mjs.map +1 -0
- package/dist/esm/structured-data/buildOrganizationJsonLd.mjs +32 -0
- package/dist/esm/structured-data/buildOrganizationJsonLd.mjs.map +1 -0
- package/dist/esm/structured-data/buildProductJsonLd.mjs +24 -0
- package/dist/esm/structured-data/buildProductJsonLd.mjs.map +1 -0
- package/dist/esm/structured-data/buildSoftwareApplicationJsonLd.mjs +54 -0
- package/dist/esm/structured-data/buildSoftwareApplicationJsonLd.mjs.map +1 -0
- package/dist/esm/structured-data/buildWebsiteJsonLd.mjs +30 -0
- package/dist/esm/structured-data/buildWebsiteJsonLd.mjs.map +1 -0
- package/dist/esm/structured-data/index.mjs +10 -0
- package/dist/types/api/hooks/project.d.ts +2 -1
- package/dist/types/api/hooks/project.d.ts.map +1 -1
- package/dist/types/api/index.d.ts +2 -2
- package/dist/types/api/useIntlayerAPI.d.ts +1 -0
- package/dist/types/api/useIntlayerAPI.d.ts.map +1 -1
- package/dist/types/components/Badge/index.d.ts +2 -2
- package/dist/types/components/Breadcrumb/index.d.ts +2 -2
- package/dist/types/components/Breadcrumb/index.d.ts.map +1 -1
- package/dist/types/components/Button/Button.d.ts +6 -6
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +2 -2
- package/dist/types/components/Command/index.d.ts +2 -2
- package/dist/types/components/Container/index.d.ts +3 -3
- package/dist/types/components/Container/index.d.ts.map +1 -1
- package/dist/types/components/DropDown/index.d.ts.map +1 -1
- package/dist/types/components/Headers/index.d.ts.map +1 -1
- package/dist/types/components/Input/Checkbox.d.ts +2 -2
- package/dist/types/components/Input/Input.d.ts.map +1 -1
- package/dist/types/components/Input/Radio.d.ts +2 -2
- package/dist/types/components/Link/Link.d.ts +2 -2
- package/dist/types/components/Modal/Modal.d.ts.map +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/Select/Select.d.ts.map +1 -1
- package/dist/types/components/SwitchSelector/SwitchSelector.d.ts +1 -1
- package/dist/types/components/SwitchSelector/VerticalSwitchSelector.d.ts.map +1 -1
- package/dist/types/components/Tag/index.d.ts +2 -2
- package/dist/types/components/Tag/index.d.ts.map +1 -1
- package/dist/types/components/TextArea/AutoSizeTextArea.d.ts +1 -1
- package/dist/types/components/Toaster/Toast.d.ts +1 -1
- package/dist/types/routes.d.ts +6 -6
- package/dist/types/structured-data/buildAuthorJsonLd.d.ts +25 -0
- package/dist/types/structured-data/buildAuthorJsonLd.d.ts.map +1 -0
- package/dist/types/structured-data/buildBreadcrumbsJsonLd.d.ts +36 -0
- package/dist/types/structured-data/buildBreadcrumbsJsonLd.d.ts.map +1 -0
- package/dist/types/structured-data/buildCreativeWorkJsonLd.d.ts +80 -0
- package/dist/types/structured-data/buildCreativeWorkJsonLd.d.ts.map +1 -0
- package/dist/types/structured-data/buildFAQPageJsonLd.d.ts +32 -0
- package/dist/types/structured-data/buildFAQPageJsonLd.d.ts.map +1 -0
- package/dist/types/structured-data/buildOrganizationJsonLd.d.ts +47 -0
- package/dist/types/structured-data/buildOrganizationJsonLd.d.ts.map +1 -0
- package/dist/types/structured-data/buildProductJsonLd.d.ts +44 -0
- package/dist/types/structured-data/buildProductJsonLd.d.ts.map +1 -0
- package/dist/types/structured-data/buildSoftwareApplicationJsonLd.d.ts +83 -0
- package/dist/types/structured-data/buildSoftwareApplicationJsonLd.d.ts.map +1 -0
- package/dist/types/structured-data/buildWebsiteJsonLd.d.ts +43 -0
- package/dist/types/structured-data/buildWebsiteJsonLd.d.ts.map +1 -0
- package/dist/types/structured-data/index.d.ts +9 -0
- package/package.json +25 -20
- package/tailwind.css +11 -3
package/dist/types/routes.d.ts
CHANGED
|
@@ -137,8 +137,8 @@ declare const Website_Benchmark_NextJS_Path: "/doc/benchmark/nextjs";
|
|
|
137
137
|
declare const Website_Benchmark_Tanstack_Path: "/doc/benchmark/tanstack";
|
|
138
138
|
declare const Website_Doc_MCP_Path: "/doc/mcp-server";
|
|
139
139
|
declare const Website_Blog_Root_Path: "/blog";
|
|
140
|
-
declare const Website_Blog_Path: "/blog
|
|
141
|
-
declare const Website_Blog_Search_Path: "/blog
|
|
140
|
+
declare const Website_Blog_Path: "/blog";
|
|
141
|
+
declare const Website_Blog_Search_Path: "/blog";
|
|
142
142
|
declare const Website_Blog_What_is_i18n_Path: "/blog/what-is-internationalization";
|
|
143
143
|
declare const Website_FrequentQuestions_Path: "/frequent-questions";
|
|
144
144
|
declare const Website_PrivacyPolicy_Path: "/privacy-notice";
|
|
@@ -198,8 +198,8 @@ declare const Website_Doc_CLI_Translate: "https://intlayer.org/doc/concept/cli/d
|
|
|
198
198
|
declare const Website_Doc_CLI_Review: "https://intlayer.org/doc/concept/cli/doc-review";
|
|
199
199
|
declare const Website_Doc_MCP: "https://intlayer.org/doc/mcp-server";
|
|
200
200
|
declare const Website_Blog_Root: "https://intlayer.org/blog";
|
|
201
|
-
declare const Website_Blog: "https://intlayer.org/blog
|
|
202
|
-
declare const Website_Blog_Search: "https://intlayer.org/blog
|
|
201
|
+
declare const Website_Blog: "https://intlayer.org/blog";
|
|
202
|
+
declare const Website_Blog_Search: "https://intlayer.org/blog";
|
|
203
203
|
declare const Website_Blog_What_is_i18n: "https://intlayer.org/blog/what-is-internationalization";
|
|
204
204
|
declare const Website_FrequentQuestions: "https://intlayer.org/frequent-questions";
|
|
205
205
|
declare const Website_PrivacyPolicy: "https://intlayer.org/privacy-notice";
|
|
@@ -246,8 +246,8 @@ declare const Doc_CLI_Translate_Path: "/concept/cli/doc-translate";
|
|
|
246
246
|
declare const Doc_CLI_Review_Path: "/concept/cli/doc-review";
|
|
247
247
|
declare const Doc_MCP_Path: "/mcp-server";
|
|
248
248
|
declare const Doc_Blog_Root_Path: "/blog";
|
|
249
|
-
declare const Doc_Blog_Path: "/blog
|
|
250
|
-
declare const Doc_Blog_Search_Path: "/blog
|
|
249
|
+
declare const Doc_Blog_Path: "/blog";
|
|
250
|
+
declare const Doc_Blog_Search_Path: "/blog";
|
|
251
251
|
declare const Doc_Blog_What_is_i18n_Path: "/blog/what-is-internationalization";
|
|
252
252
|
declare const Doc_FrequentQuestions_Path: "/frequent-questions";
|
|
253
253
|
declare const Doc_PrivacyPolicy_Path: "/privacy-notice";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
//#region src/structured-data/buildAuthorJsonLd.d.ts
|
|
2
|
+
/** @module buildAuthorJsonLd */
|
|
3
|
+
type SchemaOrgPersonNode = {
|
|
4
|
+
'@type': 'Person';
|
|
5
|
+
'@id'?: string;
|
|
6
|
+
name: string;
|
|
7
|
+
url?: string;
|
|
8
|
+
jobTitle?: string;
|
|
9
|
+
image?: string;
|
|
10
|
+
sameAs?: string[];
|
|
11
|
+
knowsAbout?: string[];
|
|
12
|
+
};
|
|
13
|
+
declare const buildAuthorJsonLd: (profile?: any, fallbackName?: string, fallbackUrl?: string) => {
|
|
14
|
+
'@type': "Person";
|
|
15
|
+
'@id': any;
|
|
16
|
+
name: any;
|
|
17
|
+
url: any;
|
|
18
|
+
jobTitle: any;
|
|
19
|
+
image: any;
|
|
20
|
+
sameAs: any;
|
|
21
|
+
knowsAbout: any;
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
24
|
+
export { SchemaOrgPersonNode, buildAuthorJsonLd };
|
|
25
|
+
//# sourceMappingURL=buildAuthorJsonLd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildAuthorJsonLd.d.ts","names":[],"sources":["../../../src/structured-data/buildAuthorJsonLd.ts"],"mappings":";;KAEY,mBAAA;EACV,OAAA;EACA,KAAA;EACA,IAAA;EACA,GAAA;EACA,QAAA;EACA,KAAA;EACA,MAAA;EACA,UAAA;AAAA;AAAA,cAGW,iBAAA,GACX,OAAA,QACA,YAAA,WACA,WAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/structured-data/buildBreadcrumbsJsonLd.d.ts
|
|
2
|
+
/** @module buildBreadcrumbsJsonLd */
|
|
3
|
+
type BreadcrumbItem = {
|
|
4
|
+
name: string;
|
|
5
|
+
url: string;
|
|
6
|
+
};
|
|
7
|
+
type BuildBreadcrumbsJsonLdParams = {
|
|
8
|
+
breadcrumbs: BreadcrumbItem[];
|
|
9
|
+
/**
|
|
10
|
+
* Domain used to prefix relative URLs (e.g. "www.intlayer.org").
|
|
11
|
+
* Required when any breadcrumb URL is relative.
|
|
12
|
+
*/
|
|
13
|
+
domain?: string;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Builds a Schema.org BreadcrumbList JSON-LD object.
|
|
17
|
+
*
|
|
18
|
+
* @param params - Breadcrumb items and optional domain for relative URL resolution.
|
|
19
|
+
* @returns A JSON-LD BreadcrumbList object ready for serialization.
|
|
20
|
+
*/
|
|
21
|
+
declare const buildBreadcrumbsJsonLd: ({
|
|
22
|
+
breadcrumbs,
|
|
23
|
+
domain
|
|
24
|
+
}: BuildBreadcrumbsJsonLdParams) => {
|
|
25
|
+
'@context': "https://schema.org";
|
|
26
|
+
'@type': "BreadcrumbList";
|
|
27
|
+
itemListElement: {
|
|
28
|
+
'@type': "ListItem";
|
|
29
|
+
position: number;
|
|
30
|
+
name: string;
|
|
31
|
+
item: string;
|
|
32
|
+
}[];
|
|
33
|
+
};
|
|
34
|
+
//#endregion
|
|
35
|
+
export { BreadcrumbItem, BuildBreadcrumbsJsonLdParams, buildBreadcrumbsJsonLd };
|
|
36
|
+
//# sourceMappingURL=buildBreadcrumbsJsonLd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildBreadcrumbsJsonLd.d.ts","names":[],"sources":["../../../src/structured-data/buildBreadcrumbsJsonLd.ts"],"mappings":";;KAEY,cAAA;EACV,IAAA;EACA,GAAA;AAAA;AAAA,KAGU,4BAAA;EACV,WAAA,EAAa,cAAA;EADyB;;;;EAMtC,MAAA;AAAA;;;AASF;;;;cAAa,sBAAA;EAA0B,WAAA;EAAA;AAAA,GAGpC,4BAAA"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
//#region src/structured-data/buildCreativeWorkJsonLd.d.ts
|
|
2
|
+
/** @module buildCreativeWorkJsonLd */
|
|
3
|
+
type CreativeWorkType = 'CreativeWork' | 'TechArticle' | 'Article' | 'BlogPosting' | 'WebPage';
|
|
4
|
+
/** Minimal Schema.org Person node accepted as author / creator. */
|
|
5
|
+
type SchemaOrgPersonNode = {
|
|
6
|
+
'@type': 'Person';
|
|
7
|
+
'@id'?: string;
|
|
8
|
+
name: string;
|
|
9
|
+
url?: string;
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
};
|
|
12
|
+
type BuildCreativeWorkJsonLdParams = {
|
|
13
|
+
type?: CreativeWorkType;
|
|
14
|
+
name: string;
|
|
15
|
+
description: string; /** Full text / markdown body of the document. */
|
|
16
|
+
content: string;
|
|
17
|
+
keywords: string;
|
|
18
|
+
datePublished?: Date;
|
|
19
|
+
dateModified?: Date;
|
|
20
|
+
url?: string; /** Pre-resolved Schema.org Person node (output of `buildAuthorJsonLd`). */
|
|
21
|
+
author?: SchemaOrgPersonNode; /** Version string from the document revision history. */
|
|
22
|
+
version?: string; /** Schema.org Audience `audienceType` value. */
|
|
23
|
+
audienceType: string; /** Publisher organization name (defaults to "Intlayer"). */
|
|
24
|
+
publisherName?: string; /** Absolute URL of the publisher logo. */
|
|
25
|
+
publisherLogoUrl?: string; /** Absolute URL of the OG image. */
|
|
26
|
+
ogImageUrl?: string;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Builds a Schema.org CreativeWork (or subtype) JSON-LD object.
|
|
30
|
+
*
|
|
31
|
+
* @param params - Document / article metadata.
|
|
32
|
+
* @returns A JSON-LD CreativeWork object ready for serialization.
|
|
33
|
+
*/
|
|
34
|
+
declare const buildCreativeWorkJsonLd: ({
|
|
35
|
+
type,
|
|
36
|
+
name,
|
|
37
|
+
description,
|
|
38
|
+
content,
|
|
39
|
+
keywords,
|
|
40
|
+
datePublished,
|
|
41
|
+
dateModified,
|
|
42
|
+
url,
|
|
43
|
+
author,
|
|
44
|
+
version,
|
|
45
|
+
audienceType,
|
|
46
|
+
publisherName,
|
|
47
|
+
publisherLogoUrl,
|
|
48
|
+
ogImageUrl
|
|
49
|
+
}: BuildCreativeWorkJsonLdParams) => {
|
|
50
|
+
text: string;
|
|
51
|
+
description: string;
|
|
52
|
+
url: string;
|
|
53
|
+
datePublished: string;
|
|
54
|
+
dateModified: string;
|
|
55
|
+
version: string;
|
|
56
|
+
keywords: string;
|
|
57
|
+
license: string;
|
|
58
|
+
audience: {
|
|
59
|
+
'@type': "Audience";
|
|
60
|
+
audienceType: string;
|
|
61
|
+
};
|
|
62
|
+
image?: string;
|
|
63
|
+
name: string;
|
|
64
|
+
headline: string;
|
|
65
|
+
publisher?: {
|
|
66
|
+
'@type': "Organization";
|
|
67
|
+
name: string;
|
|
68
|
+
logo: {
|
|
69
|
+
'@type': "ImageObject";
|
|
70
|
+
url: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
'@context': "https://schema.org";
|
|
74
|
+
'@type': CreativeWorkType;
|
|
75
|
+
author: SchemaOrgPersonNode;
|
|
76
|
+
creator: SchemaOrgPersonNode;
|
|
77
|
+
};
|
|
78
|
+
//#endregion
|
|
79
|
+
export { BuildCreativeWorkJsonLdParams, CreativeWorkType, SchemaOrgPersonNode, buildCreativeWorkJsonLd };
|
|
80
|
+
//# sourceMappingURL=buildCreativeWorkJsonLd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildCreativeWorkJsonLd.d.ts","names":[],"sources":["../../../src/structured-data/buildCreativeWorkJsonLd.ts"],"mappings":";;KAUY,gBAAA;;KAQA,mBAAA;EACV,OAAA;EACA,KAAA;EACA,IAAA;EACA,GAAA;EAAA,CACC,GAAA;AAAA;AAAA,KAGS,6BAAA;EACV,IAAA,GAAO,gBAAA;EACP,IAAA;EACA,WAAA,UANC;EAQD,OAAA;EACA,QAAA;EACA,aAAA,GAAgB,IAAA;EAChB,YAAA,GAAe,IAAA;EACf,GAAA,WARO;EAUP,MAAA,GAAS,mBAAA,EAHM;EAKf,OAAA,WAF4B;EAI5B,YAAA,UAdA;EAgBA,aAAA,WAfA;EAiBA,gBAAA,WAdA;EAgBA,UAAA;AAAA;;;;;;;cASW,uBAAA;EAA2B,IAAA;EAAA,IAAA;EAAA,WAAA;EAAA,OAAA;EAAA,QAAA;EAAA,aAAA;EAAA,YAAA;EAAA,GAAA;EAAA,MAAA;EAAA,OAAA;EAAA,YAAA;EAAA,aAAA;EAAA,gBAAA;EAAA;AAAA,GAerC,6BAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//#region src/structured-data/buildFAQPageJsonLd.d.ts
|
|
2
|
+
/** @module buildFAQPageJsonLd */
|
|
3
|
+
type FAQItem = {
|
|
4
|
+
question: string;
|
|
5
|
+
answer: string;
|
|
6
|
+
};
|
|
7
|
+
type BuildFAQPageJsonLdParams = {
|
|
8
|
+
faqs: FAQItem[];
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Builds a Schema.org FAQPage JSON-LD object.
|
|
12
|
+
*
|
|
13
|
+
* @param params - List of FAQ question/answer pairs.
|
|
14
|
+
* @returns A JSON-LD FAQPage object ready for serialization.
|
|
15
|
+
*/
|
|
16
|
+
declare const buildFAQPageJsonLd: ({
|
|
17
|
+
faqs
|
|
18
|
+
}: BuildFAQPageJsonLdParams) => {
|
|
19
|
+
'@context': "https://schema.org";
|
|
20
|
+
'@type': "FAQPage";
|
|
21
|
+
mainEntity: {
|
|
22
|
+
'@type': "Question";
|
|
23
|
+
name: string;
|
|
24
|
+
acceptedAnswer: {
|
|
25
|
+
'@type': "Answer";
|
|
26
|
+
text: string;
|
|
27
|
+
};
|
|
28
|
+
}[];
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
export { BuildFAQPageJsonLdParams, FAQItem, buildFAQPageJsonLd };
|
|
32
|
+
//# sourceMappingURL=buildFAQPageJsonLd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildFAQPageJsonLd.d.ts","names":[],"sources":["../../../src/structured-data/buildFAQPageJsonLd.ts"],"mappings":";;KAEY,OAAA;EACV,QAAA;EACA,MAAA;AAAA;AAAA,KAGU,wBAAA;EACV,IAAA,EAAM,OAAA;AAAA;;;;AASR;;;cAAa,kBAAA;EAAsB;AAAA,GAAU,wBAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
//#region src/structured-data/buildOrganizationJsonLd.d.ts
|
|
2
|
+
/** @module buildOrganizationJsonLd */
|
|
3
|
+
type BuildOrganizationJsonLdParams = {
|
|
4
|
+
/** Canonical URL of the organization (e.g. "https://intlayer.org"). */url: string; /** Absolute URL of the organization logo image. */
|
|
5
|
+
logoUrl: string; /** Short tagline / slogan. */
|
|
6
|
+
slogan: string; /** Topics the organization is expert in. */
|
|
7
|
+
knowsAbout: string[]; /** Equivalent pages (GitHub, Twitter…). */
|
|
8
|
+
sameAs: string[]; /** BCP 47 locale codes the support team speaks. */
|
|
9
|
+
availableLanguages: string[];
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Builds a Schema.org Organization JSON-LD object.
|
|
13
|
+
*
|
|
14
|
+
* @param params - Organization metadata.
|
|
15
|
+
* @returns A JSON-LD Organization object ready for serialization.
|
|
16
|
+
*/
|
|
17
|
+
declare const buildOrganizationJsonLd: ({
|
|
18
|
+
url,
|
|
19
|
+
logoUrl,
|
|
20
|
+
slogan,
|
|
21
|
+
knowsAbout,
|
|
22
|
+
sameAs,
|
|
23
|
+
availableLanguages
|
|
24
|
+
}: BuildOrganizationJsonLdParams) => {
|
|
25
|
+
'@context': "https://schema.org";
|
|
26
|
+
'@type': "Organization";
|
|
27
|
+
name: string;
|
|
28
|
+
url: string;
|
|
29
|
+
logo: {
|
|
30
|
+
'@type': "ImageObject";
|
|
31
|
+
url: string;
|
|
32
|
+
};
|
|
33
|
+
foundingDate: string;
|
|
34
|
+
slogan: string;
|
|
35
|
+
knowsAbout: string[];
|
|
36
|
+
sameAs: string[];
|
|
37
|
+
contactPoint: {
|
|
38
|
+
'@type': "ContactPoint";
|
|
39
|
+
email: string;
|
|
40
|
+
contactType: string;
|
|
41
|
+
url: string;
|
|
42
|
+
availableLanguage: string[];
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
//#endregion
|
|
46
|
+
export { BuildOrganizationJsonLdParams, buildOrganizationJsonLd };
|
|
47
|
+
//# sourceMappingURL=buildOrganizationJsonLd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildOrganizationJsonLd.d.ts","names":[],"sources":["../../../src/structured-data/buildOrganizationJsonLd.ts"],"mappings":";;KAEY,6BAAA;EAA6B,uEAEvC,GAAA,UAFuC;EAIvC,OAAA;EAEA,MAAA,UAEA;EAAA,UAAA,YAIA;EAFA,MAAA,YAEkB;EAAlB,kBAAA;AAAA;;;;;;;cASW,uBAAA;EAA2B,GAAA;EAAA,OAAA;EAAA,MAAA;EAAA,UAAA;EAAA,MAAA;EAAA;AAAA,GAOrC,6BAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
//#region src/structured-data/buildProductJsonLd.d.ts
|
|
2
|
+
/** @module buildProductJsonLd */
|
|
3
|
+
/** Minimal Schema.org Offer node. */
|
|
4
|
+
type SchemaOrgOffer = {
|
|
5
|
+
'@type': 'Offer';
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
};
|
|
8
|
+
type BuildProductJsonLdParams = {
|
|
9
|
+
/** Canonical URL of the product page. */url: string; /** Product display name. */
|
|
10
|
+
name: string;
|
|
11
|
+
description: string; /** Absolute URL of the product image. */
|
|
12
|
+
imageUrl: string; /** Brand name (defaults to "Intlayer"). */
|
|
13
|
+
brandName?: string; /** Pre-formatted Schema.org Offer nodes. */
|
|
14
|
+
offers?: SchemaOrgOffer[];
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Builds a Schema.org Product JSON-LD object.
|
|
18
|
+
*
|
|
19
|
+
* @param params - Product metadata.
|
|
20
|
+
* @returns A JSON-LD Product object ready for serialization.
|
|
21
|
+
*/
|
|
22
|
+
declare const buildProductJsonLd: ({
|
|
23
|
+
url,
|
|
24
|
+
name,
|
|
25
|
+
description,
|
|
26
|
+
imageUrl,
|
|
27
|
+
brandName,
|
|
28
|
+
offers
|
|
29
|
+
}: BuildProductJsonLdParams) => {
|
|
30
|
+
'@context': "https://schema.org";
|
|
31
|
+
'@type': "Product";
|
|
32
|
+
url: string;
|
|
33
|
+
name: string;
|
|
34
|
+
description: string;
|
|
35
|
+
image: string;
|
|
36
|
+
brand: {
|
|
37
|
+
'@type': "Brand";
|
|
38
|
+
name: string;
|
|
39
|
+
};
|
|
40
|
+
offers: SchemaOrgOffer[];
|
|
41
|
+
};
|
|
42
|
+
//#endregion
|
|
43
|
+
export { BuildProductJsonLdParams, SchemaOrgOffer, buildProductJsonLd };
|
|
44
|
+
//# sourceMappingURL=buildProductJsonLd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildProductJsonLd.d.ts","names":[],"sources":["../../../src/structured-data/buildProductJsonLd.ts"],"mappings":";;AAGA;AAAA,KAAY,cAAA;EACV,OAAA;EAAA,CACC,GAAA;AAAA;AAAA,KAGS,wBAAA;EAAwB,yCAElC,GAAA,UASuB;EAPvB,IAAA;EACA,WAAA;EAEA,QAAA,UAEA;EAAA,SAAA,WAES;EAAT,MAAA,GAAS,cAAA;AAAA;AASX;;;;;;AAAA,cAAa,kBAAA;EAAsB,GAAA;EAAA,IAAA;EAAA,WAAA;EAAA,QAAA;EAAA,SAAA;EAAA;AAAA,GAOhC,wBAAA"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
//#region src/structured-data/buildSoftwareApplicationJsonLd.d.ts
|
|
2
|
+
/** @module buildSoftwareApplicationJsonLd */
|
|
3
|
+
type BuildSoftwareApplicationJsonLdParams = {
|
|
4
|
+
/** Display name of the application. */name: string; /** Canonical URL of the application page. */
|
|
5
|
+
url: string;
|
|
6
|
+
description: string;
|
|
7
|
+
softwareVersion: string;
|
|
8
|
+
keywords: string[]; /** Schema.org Audience `audienceType` value. */
|
|
9
|
+
audienceType: string; /** Absolute URL of the organization / author page. */
|
|
10
|
+
authorUrl?: string; /** Absolute URL of the organization logo. */
|
|
11
|
+
logoUrl?: string; /** GitHub (or other VCS) URL listed in `sameAs`. */
|
|
12
|
+
githubUrl?: string; /** Target operating systems (e.g. "Web, iOS, Android"). */
|
|
13
|
+
operatingSystem?: string; /** `mainEntityOfPage` URL if different from `url`. */
|
|
14
|
+
mainEntityUrl?: string; /** ISO 8601 publish date string (YYYY-MM-DD). */
|
|
15
|
+
datePublished?: string; /** When provided, a free-tier Offer node is added. */
|
|
16
|
+
offersPrice?: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Builds a Schema.org SoftwareApplication JSON-LD object.
|
|
20
|
+
*
|
|
21
|
+
* @param params - Software application metadata.
|
|
22
|
+
* @returns A JSON-LD SoftwareApplication object ready for serialization.
|
|
23
|
+
*/
|
|
24
|
+
declare const buildSoftwareApplicationJsonLd: ({
|
|
25
|
+
name,
|
|
26
|
+
url,
|
|
27
|
+
description,
|
|
28
|
+
softwareVersion,
|
|
29
|
+
keywords,
|
|
30
|
+
audienceType,
|
|
31
|
+
authorUrl,
|
|
32
|
+
logoUrl,
|
|
33
|
+
githubUrl,
|
|
34
|
+
operatingSystem,
|
|
35
|
+
mainEntityUrl,
|
|
36
|
+
datePublished,
|
|
37
|
+
offersPrice
|
|
38
|
+
}: BuildSoftwareApplicationJsonLdParams) => {
|
|
39
|
+
offers?: {
|
|
40
|
+
'@type': "Offer";
|
|
41
|
+
price: string;
|
|
42
|
+
priceCurrency: string;
|
|
43
|
+
};
|
|
44
|
+
'@context': "https://schema.org";
|
|
45
|
+
'@type': "SoftwareApplication";
|
|
46
|
+
name: string;
|
|
47
|
+
url: string;
|
|
48
|
+
description: string;
|
|
49
|
+
softwareVersion: string;
|
|
50
|
+
license: string;
|
|
51
|
+
author: {
|
|
52
|
+
'@type': "Organization";
|
|
53
|
+
name: string;
|
|
54
|
+
url: string;
|
|
55
|
+
logo: string;
|
|
56
|
+
sameAs: string[];
|
|
57
|
+
};
|
|
58
|
+
publisher: {
|
|
59
|
+
'@type': "Organization";
|
|
60
|
+
name: string;
|
|
61
|
+
url: string;
|
|
62
|
+
logo: string;
|
|
63
|
+
};
|
|
64
|
+
keywords: string[];
|
|
65
|
+
creator: {
|
|
66
|
+
'@type': "Person";
|
|
67
|
+
name: string;
|
|
68
|
+
url: string;
|
|
69
|
+
};
|
|
70
|
+
applicationCategory: string;
|
|
71
|
+
applicationSubCategory: string;
|
|
72
|
+
image: string;
|
|
73
|
+
operatingSystem: string;
|
|
74
|
+
datePublished: string;
|
|
75
|
+
audience: {
|
|
76
|
+
'@type': "Audience";
|
|
77
|
+
audienceType: string;
|
|
78
|
+
};
|
|
79
|
+
mainEntityOfPage: string;
|
|
80
|
+
};
|
|
81
|
+
//#endregion
|
|
82
|
+
export { BuildSoftwareApplicationJsonLdParams, buildSoftwareApplicationJsonLd };
|
|
83
|
+
//# sourceMappingURL=buildSoftwareApplicationJsonLd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildSoftwareApplicationJsonLd.d.ts","names":[],"sources":["../../../src/structured-data/buildSoftwareApplicationJsonLd.ts"],"mappings":";;KAEY,oCAAA;EAAoC,uCAE9C,IAAA,UAF8C;EAI9C,GAAA;EACA,WAAA;EACA,eAAA;EACA,QAAA;EAEA,YAAA,UAEA;EAAA,SAAA,WAIA;EAFA,OAAA,WAMA;EAJA,SAAA,WAQA;EANA,eAAA,WAMW;EAJX,aAAA,WA4EA;EA1EA,aAAA,WAW6C;EAT7C,WAAA;AAAA;;;;;;;cASW,8BAAA;EAAkC,IAAA;EAAA,GAAA;EAAA,WAAA;EAAA,eAAA;EAAA,QAAA;EAAA,YAAA;EAAA,SAAA;EAAA,OAAA;EAAA,SAAA;EAAA,eAAA;EAAA,aAAA;EAAA,aAAA;EAAA;AAAA,GAc5C,oCAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
//#region src/structured-data/buildWebsiteJsonLd.d.ts
|
|
2
|
+
/** @module buildWebsiteJsonLd */
|
|
3
|
+
type BuildWebsiteJsonLdParams = {
|
|
4
|
+
/** Canonical home URL of the website (e.g. "https://intlayer.org"). */url: string; /** URL template for the site-wide SearchAction. */
|
|
5
|
+
searchUrl: string; /** BCP 47 locale codes the site is available in. */
|
|
6
|
+
locales: string[]; /** Site-level keywords. */
|
|
7
|
+
keywords: string[]; /** URL of the RSS feed. When provided, a `subjectOf` DataFeed node is added. */
|
|
8
|
+
rssUrl?: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Builds a Schema.org WebSite JSON-LD object.
|
|
12
|
+
*
|
|
13
|
+
* @param params - Website metadata.
|
|
14
|
+
* @returns A JSON-LD WebSite object ready for serialization.
|
|
15
|
+
*/
|
|
16
|
+
declare const buildWebsiteJsonLd: ({
|
|
17
|
+
url,
|
|
18
|
+
searchUrl,
|
|
19
|
+
locales,
|
|
20
|
+
keywords,
|
|
21
|
+
rssUrl
|
|
22
|
+
}: BuildWebsiteJsonLdParams) => {
|
|
23
|
+
subjectOf?: {
|
|
24
|
+
'@type': "DataFeed";
|
|
25
|
+
name: string;
|
|
26
|
+
url: string;
|
|
27
|
+
encodingFormat: string;
|
|
28
|
+
};
|
|
29
|
+
'@context': "https://schema.org";
|
|
30
|
+
'@type': "WebSite";
|
|
31
|
+
url: string;
|
|
32
|
+
name: string;
|
|
33
|
+
potentialAction: {
|
|
34
|
+
'@type': "SearchAction";
|
|
35
|
+
target: string;
|
|
36
|
+
'query-input': string;
|
|
37
|
+
};
|
|
38
|
+
inLanguage: string[];
|
|
39
|
+
keywords: string[];
|
|
40
|
+
};
|
|
41
|
+
//#endregion
|
|
42
|
+
export { BuildWebsiteJsonLdParams, buildWebsiteJsonLd };
|
|
43
|
+
//# sourceMappingURL=buildWebsiteJsonLd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildWebsiteJsonLd.d.ts","names":[],"sources":["../../../src/structured-data/buildWebsiteJsonLd.ts"],"mappings":";;KAEY,wBAAA;EAAwB,uEAElC,GAAA,UAFkC;EAIlC,SAAA;EAEA,OAAA,YAEA;EAAA,QAAA,YAEM;EAAN,MAAA;AAAA;;;;;;;cASW,kBAAA;EAAsB,GAAA;EAAA,SAAA;EAAA,OAAA;EAAA,QAAA;EAAA;AAAA,GAMhC,wBAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { buildAuthorJsonLd } from "./buildAuthorJsonLd.js";
|
|
2
|
+
import { BreadcrumbItem, BuildBreadcrumbsJsonLdParams, buildBreadcrumbsJsonLd } from "./buildBreadcrumbsJsonLd.js";
|
|
3
|
+
import { BuildCreativeWorkJsonLdParams, CreativeWorkType, SchemaOrgPersonNode, buildCreativeWorkJsonLd } from "./buildCreativeWorkJsonLd.js";
|
|
4
|
+
import { BuildFAQPageJsonLdParams, FAQItem, buildFAQPageJsonLd } from "./buildFAQPageJsonLd.js";
|
|
5
|
+
import { BuildOrganizationJsonLdParams, buildOrganizationJsonLd } from "./buildOrganizationJsonLd.js";
|
|
6
|
+
import { BuildProductJsonLdParams, SchemaOrgOffer, buildProductJsonLd } from "./buildProductJsonLd.js";
|
|
7
|
+
import { BuildSoftwareApplicationJsonLdParams, buildSoftwareApplicationJsonLd } from "./buildSoftwareApplicationJsonLd.js";
|
|
8
|
+
import { BuildWebsiteJsonLdParams, buildWebsiteJsonLd } from "./buildWebsiteJsonLd.js";
|
|
9
|
+
export { type BreadcrumbItem, type BuildBreadcrumbsJsonLdParams, type BuildCreativeWorkJsonLdParams, type BuildFAQPageJsonLdParams, type BuildOrganizationJsonLdParams, type BuildProductJsonLdParams, type BuildSoftwareApplicationJsonLdParams, type BuildWebsiteJsonLdParams, type CreativeWorkType, type FAQItem, type SchemaOrgOffer, type SchemaOrgPersonNode, buildAuthorJsonLd, buildBreadcrumbsJsonLd, buildCreativeWorkJsonLd, buildFAQPageJsonLd, buildOrganizationJsonLd, buildProductJsonLd, buildSoftwareApplicationJsonLd, buildWebsiteJsonLd };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/design-system",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0-canary.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Intlayer design system, including UI components used in the Intlayer editor, website, and visual editor/CMS.",
|
|
6
6
|
"keywords": [
|
|
@@ -68,6 +68,11 @@
|
|
|
68
68
|
"import": "./dist/esm/routes.mjs",
|
|
69
69
|
"default": "./dist/esm/routes.mjs"
|
|
70
70
|
},
|
|
71
|
+
"./structured-data": {
|
|
72
|
+
"types": "./dist/types/structured-data/index.d.ts",
|
|
73
|
+
"import": "./dist/esm/structured-data/index.mjs",
|
|
74
|
+
"default": "./dist/esm/structured-data/index.mjs"
|
|
75
|
+
},
|
|
71
76
|
"./tailwind-config": {
|
|
72
77
|
"types": "./dist/types/tailwind.config.d.ts",
|
|
73
78
|
"import": "./dist/esm/tailwind.config.mjs",
|
|
@@ -428,14 +433,14 @@
|
|
|
428
433
|
"typecheck_": "tsc --noEmit --project tsconfig.types.json"
|
|
429
434
|
},
|
|
430
435
|
"dependencies": {
|
|
431
|
-
"@better-auth/passkey": "1.6.
|
|
432
|
-
"@better-auth/sso": "1.6.
|
|
433
|
-
"@intlayer/api": "
|
|
434
|
-
"@intlayer/config": "
|
|
435
|
-
"@intlayer/core": "
|
|
436
|
-
"@intlayer/dictionaries-entry": "
|
|
437
|
-
"@intlayer/editor-react": "
|
|
438
|
-
"@intlayer/types": "
|
|
436
|
+
"@better-auth/passkey": "1.6.16",
|
|
437
|
+
"@better-auth/sso": "1.6.16",
|
|
438
|
+
"@intlayer/api": "9.0.0-canary.0",
|
|
439
|
+
"@intlayer/config": "9.0.0-canary.0",
|
|
440
|
+
"@intlayer/core": "9.0.0-canary.0",
|
|
441
|
+
"@intlayer/dictionaries-entry": "9.0.0-canary.0",
|
|
442
|
+
"@intlayer/editor-react": "9.0.0-canary.0",
|
|
443
|
+
"@intlayer/types": "9.0.0-canary.0",
|
|
439
444
|
"@radix-ui/react-dialog": "1.1.16",
|
|
440
445
|
"@radix-ui/react-select": "2.3.0",
|
|
441
446
|
"@radix-ui/react-slot": "1.2.5",
|
|
@@ -444,18 +449,18 @@
|
|
|
444
449
|
"@tanstack/query-async-storage-persister": "5.101.0",
|
|
445
450
|
"@tanstack/react-query-persist-client": "5.101.0",
|
|
446
451
|
"@tanstack/react-virtual": "3.14.2",
|
|
447
|
-
"better-auth": "1.6.
|
|
452
|
+
"better-auth": "1.6.16",
|
|
448
453
|
"class-variance-authority": "0.7.1",
|
|
449
454
|
"cmdk": "1.1.1",
|
|
450
455
|
"defu": "6.1.7",
|
|
451
456
|
"dompurify": "3.4.8",
|
|
452
457
|
"isomorphic-dompurify": "3.16.0",
|
|
453
|
-
"react-intlayer": "
|
|
458
|
+
"react-intlayer": "9.0.0-canary.0",
|
|
454
459
|
"rollup-preserve-directives": "1.1.3",
|
|
455
460
|
"zod": "4.4.3"
|
|
456
461
|
},
|
|
457
462
|
"devDependencies": {
|
|
458
|
-
"@intlayer/backend": "
|
|
463
|
+
"@intlayer/backend": "9.0.0-canary.0",
|
|
459
464
|
"@shikijs/transformers": "4.2.0",
|
|
460
465
|
"@storybook/addon-a11y": "8.6.14",
|
|
461
466
|
"@storybook/addon-essentials": "8.6.14",
|
|
@@ -479,14 +484,14 @@
|
|
|
479
484
|
"@testing-library/user-event": "14.6.1",
|
|
480
485
|
"@types/dompurify": "3.2.0",
|
|
481
486
|
"@types/espree": "11.1.0",
|
|
482
|
-
"@types/node": "25.9.
|
|
487
|
+
"@types/node": "25.9.3",
|
|
483
488
|
"@types/react": "19.2.17",
|
|
484
489
|
"@types/react-dom": "19.2.3",
|
|
485
490
|
"@utils/ts-config": "1.0.4",
|
|
486
491
|
"@utils/ts-config-types": "1.0.4",
|
|
487
492
|
"clsx": "2.1.1",
|
|
488
493
|
"fast-glob": "3.3.3",
|
|
489
|
-
"intlayer": "
|
|
494
|
+
"intlayer": "9.0.0-canary.0",
|
|
490
495
|
"rimraf": "6.1.3",
|
|
491
496
|
"shiki": "4.2.0",
|
|
492
497
|
"storybook": "8.6.17",
|
|
@@ -494,26 +499,26 @@
|
|
|
494
499
|
"tsdown": "0.21.10",
|
|
495
500
|
"typescript": "6.0.3",
|
|
496
501
|
"vite": "8.0.16",
|
|
497
|
-
"vite-intlayer": "
|
|
502
|
+
"vite-intlayer": "9.0.0-canary.0",
|
|
498
503
|
"vite-plugin-dts": "5.0.2",
|
|
499
504
|
"vitest": "4.1.8"
|
|
500
505
|
},
|
|
501
506
|
"peerDependencies": {
|
|
502
|
-
"@better-fetch/fetch": "1.
|
|
507
|
+
"@better-fetch/fetch": "1.2.2",
|
|
503
508
|
"@hookform/resolvers": "5.4.0",
|
|
504
|
-
"@intlayer/backend": "
|
|
509
|
+
"@intlayer/backend": "9.0.0-canary.0",
|
|
505
510
|
"@monaco-editor/react": "4.7.0",
|
|
506
511
|
"@shikijs/transformers": "4.2.0",
|
|
507
512
|
"@tanstack/react-query": "5.101.0",
|
|
508
513
|
"@tanstack/react-query-devtools": "5.101.0",
|
|
509
514
|
"framer-motion": "12.40.0",
|
|
510
515
|
"fuse.js": "7.4.2",
|
|
511
|
-
"intlayer": "
|
|
516
|
+
"intlayer": "9.0.0-canary.0",
|
|
512
517
|
"lucide-react": "1.17.0",
|
|
513
518
|
"react": ">=16.0.0",
|
|
514
519
|
"react-dom": ">=16.0.0",
|
|
515
|
-
"react-hook-form": "7.
|
|
516
|
-
"react-intlayer": "
|
|
520
|
+
"react-hook-form": "7.78.0",
|
|
521
|
+
"react-intlayer": "9.0.0-canary.0",
|
|
517
522
|
"shiki": "4.2.0",
|
|
518
523
|
"tailwindcss": "4.3.0"
|
|
519
524
|
},
|
package/tailwind.css
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
@import "tailwindcss";
|
|
2
2
|
|
|
3
|
+
@font-face {
|
|
4
|
+
font-family: "Geist";
|
|
5
|
+
font-style: normal;
|
|
6
|
+
font-weight: 100 900;
|
|
7
|
+
font-display: swap;
|
|
8
|
+
src: url("/Geist-VariableFont_wght.ttf") format("truetype");
|
|
9
|
+
}
|
|
10
|
+
|
|
3
11
|
@theme {
|
|
4
|
-
--font-sans: "Inter", sans-serif;
|
|
12
|
+
--font-sans: "Geist", "Inter", sans-serif;
|
|
5
13
|
|
|
6
14
|
--color-background: rgba(255, 255, 255);
|
|
7
15
|
--color-background-opposite: rgba(18, 18, 18);
|
|
@@ -120,7 +128,7 @@
|
|
|
120
128
|
|
|
121
129
|
:root,
|
|
122
130
|
[data-theme="light"] {
|
|
123
|
-
--font-sans: "Inter", sans-serif;
|
|
131
|
+
--font-sans: "Geist", "Inter", sans-serif;
|
|
124
132
|
|
|
125
133
|
--color-background: rgba(255, 255, 255);
|
|
126
134
|
--color-background-opposite: rgba(18, 18, 18);
|
|
@@ -177,7 +185,7 @@
|
|
|
177
185
|
}
|
|
178
186
|
|
|
179
187
|
[data-theme="dark"] {
|
|
180
|
-
--font-sans: "Inter", sans-serif;
|
|
188
|
+
--font-sans: "Geist", "Inter", sans-serif;
|
|
181
189
|
|
|
182
190
|
--color-background: rgba(23, 23, 23);
|
|
183
191
|
--color-background-opposite: rgba(255, 255, 255);
|