@intlayer/design-system 9.0.0-canary.12 → 9.0.0-canary.13

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 (42) hide show
  1. package/dist/esm/api/hooks/organization.mjs +26 -2
  2. package/dist/esm/api/hooks/organization.mjs.map +1 -1
  3. package/dist/esm/api/hooks/project.mjs +13 -1
  4. package/dist/esm/api/hooks/project.mjs.map +1 -1
  5. package/dist/esm/api/index.mjs +2 -2
  6. package/dist/esm/api/useAuth/useOAuth2.mjs +1 -1
  7. package/dist/esm/api/useAuth/useSession.mjs +1 -1
  8. package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs +1 -1
  9. package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs +2 -2
  10. package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +2 -2
  11. package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +1 -1
  12. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +6 -6
  13. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +1 -1
  14. package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +1 -1
  15. package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +2 -2
  16. package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs +1 -1
  17. package/dist/esm/routes.mjs +4 -1
  18. package/dist/esm/routes.mjs.map +1 -1
  19. package/dist/esm/structured-data/buildSoftwareApplicationJsonLd.mjs +23 -4
  20. package/dist/esm/structured-data/buildSoftwareApplicationJsonLd.mjs.map +1 -1
  21. package/dist/types/api/hooks/organization.d.ts.map +1 -1
  22. package/dist/types/api/hooks/project.d.ts.map +1 -1
  23. package/dist/types/api/useIntlayerAPI.d.ts +1 -1
  24. package/dist/types/components/Badge/index.d.ts +2 -2
  25. package/dist/types/components/Button/Button.d.ts +5 -5
  26. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +1 -1
  27. package/dist/types/components/Container/index.d.ts +5 -5
  28. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.d.ts +1 -1
  29. package/dist/types/components/Input/Checkbox.d.ts +1 -1
  30. package/dist/types/components/Input/Radio.d.ts +1 -1
  31. package/dist/types/components/Link/Link.d.ts +3 -3
  32. package/dist/types/components/Pagination/Pagination.d.ts +1 -1
  33. package/dist/types/components/SwitchSelector/SwitchSelector.d.ts +2 -2
  34. package/dist/types/components/SwitchSelector/VerticalSwitchSelector.d.ts +1 -1
  35. package/dist/types/components/TabSelector/TabSelector.d.ts +1 -1
  36. package/dist/types/components/Tag/index.d.ts +2 -2
  37. package/dist/types/components/Toaster/Toast.d.ts +1 -1
  38. package/dist/types/routes.d.ts +4 -1
  39. package/dist/types/routes.d.ts.map +1 -1
  40. package/dist/types/structured-data/buildSoftwareApplicationJsonLd.d.ts +24 -8
  41. package/dist/types/structured-data/buildSoftwareApplicationJsonLd.d.ts.map +1 -1
  42. package/package.json +49 -49
@@ -12,8 +12,12 @@ type BuildSoftwareApplicationJsonLdParams = {
12
12
  githubUrl?: string; /** Target operating systems (e.g. "Web, iOS, Android"). */
13
13
  operatingSystem?: string; /** `mainEntityOfPage` URL if different from `url`. */
14
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;
15
+ datePublished?: string; /** Offer price for the application. Defaults to `'0'` (free tier). */
16
+ offersPrice?: string; /** ISO 4217 currency code for {@link offersPrice}. Defaults to `'USD'`. */
17
+ offersPriceCurrency?: string; /** Aggregate rating value on a 1–5 scale (e.g. `'4.9'`). */
18
+ ratingValue?: string; /** Number of ratings backing {@link ratingValue}. */
19
+ ratingCount?: number; /** Number of written reviews. Defaults to {@link ratingCount}. */
20
+ reviewCount?: number;
17
21
  };
18
22
  /**
19
23
  * Builds a Schema.org SoftwareApplication JSON-LD object.
@@ -34,13 +38,12 @@ declare const buildSoftwareApplicationJsonLd: ({
34
38
  operatingSystem,
35
39
  mainEntityUrl,
36
40
  datePublished,
37
- offersPrice
41
+ offersPrice,
42
+ offersPriceCurrency,
43
+ ratingValue,
44
+ ratingCount,
45
+ reviewCount
38
46
  }: BuildSoftwareApplicationJsonLdParams) => {
39
- offers?: {
40
- '@type': "Offer";
41
- price: string;
42
- priceCurrency: string;
43
- };
44
47
  '@context': "https://schema.org";
45
48
  '@type': "SoftwareApplication";
46
49
  name: string;
@@ -77,6 +80,19 @@ declare const buildSoftwareApplicationJsonLd: ({
77
80
  audienceType: string;
78
81
  };
79
82
  mainEntityOfPage: string;
83
+ offers: {
84
+ '@type': "Offer";
85
+ price: string;
86
+ priceCurrency: string;
87
+ };
88
+ aggregateRating: {
89
+ '@type': "AggregateRating";
90
+ ratingValue: string;
91
+ ratingCount: number;
92
+ reviewCount: number;
93
+ bestRating: number;
94
+ worstRating: number;
95
+ };
80
96
  };
81
97
  //#endregion
82
98
  export { BuildSoftwareApplicationJsonLdParams, buildSoftwareApplicationJsonLd };
@@ -1 +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"}
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,WAUA;EARA,aAAA,WAYA;EAVA,aAAA,WAUW;EARX,WAAA,WAoGA;EAlGA,mBAAA,WA2B6C;EAzB7C,WAAA,WAyB6C;EAvB7C,WAAA,WAuB6C;EArB7C,WAAA;AAAA;;;;;;;cAqBW,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,WAAA;EAAA,mBAAA;EAAA,WAAA;EAAA,WAAA;EAAA;AAAA,GAkB5C,oCAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/design-system",
3
- "version": "9.0.0-canary.12",
3
+ "version": "9.0.0-canary.13",
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": [
@@ -442,58 +442,58 @@
442
442
  "dependencies": {
443
443
  "@better-auth/passkey": "1.6.23",
444
444
  "@better-auth/sso": "1.6.23",
445
- "@intlayer/api": "9.0.0-canary.12",
446
- "@intlayer/config": "9.0.0-canary.12",
447
- "@intlayer/core": "9.0.0-canary.12",
448
- "@intlayer/dictionaries-entry": "9.0.0-canary.12",
449
- "@intlayer/editor-react": "9.0.0-canary.12",
450
- "@intlayer/engine": "9.0.0-canary.12",
451
- "@intlayer/types": "9.0.0-canary.12",
452
- "@radix-ui/react-dialog": "1.1.17",
453
- "@radix-ui/react-select": "2.3.1",
445
+ "@intlayer/api": "9.0.0-canary.13",
446
+ "@intlayer/config": "9.0.0-canary.13",
447
+ "@intlayer/core": "9.0.0-canary.13",
448
+ "@intlayer/dictionaries-entry": "9.0.0-canary.13",
449
+ "@intlayer/editor-react": "9.0.0-canary.13",
450
+ "@intlayer/engine": "9.0.0-canary.13",
451
+ "@intlayer/types": "9.0.0-canary.13",
452
+ "@radix-ui/react-dialog": "1.1.18",
453
+ "@radix-ui/react-select": "2.3.2",
454
454
  "@radix-ui/react-slot": "1.3.0",
455
- "@radix-ui/react-toast": "1.2.17",
455
+ "@radix-ui/react-toast": "1.2.18",
456
456
  "@tailwindcss/aspect-ratio": "0.4.2",
457
- "@tanstack/query-async-storage-persister": "5.101.0",
458
- "@tanstack/react-query-persist-client": "5.101.0",
457
+ "@tanstack/query-async-storage-persister": "5.101.2",
458
+ "@tanstack/react-query-persist-client": "5.101.2",
459
459
  "@tanstack/react-virtual": "3.14.5",
460
- "@tiptap/core": "3.26.1",
461
- "@tiptap/extension-character-count": "3.26.1",
462
- "@tiptap/extension-color": "3.26.1",
463
- "@tiptap/extension-highlight": "3.26.1",
464
- "@tiptap/extension-horizontal-rule": "3.26.1",
465
- "@tiptap/extension-image": "3.26.1",
466
- "@tiptap/extension-link": "3.26.1",
467
- "@tiptap/extension-placeholder": "3.26.1",
468
- "@tiptap/extension-task-item": "3.26.1",
469
- "@tiptap/extension-task-list": "3.26.1",
470
- "@tiptap/extension-text-style": "3.26.1",
471
- "@tiptap/extension-underline": "3.26.1",
472
- "@tiptap/extension-youtube": "3.26.1",
473
- "@tiptap/pm": "3.26.1",
474
- "@tiptap/react": "3.26.1",
475
- "@tiptap/starter-kit": "3.26.1",
476
- "@tiptap/suggestion": "3.26.1",
460
+ "@tiptap/core": "3.27.1",
461
+ "@tiptap/extension-character-count": "3.27.1",
462
+ "@tiptap/extension-color": "3.27.1",
463
+ "@tiptap/extension-highlight": "3.27.1",
464
+ "@tiptap/extension-horizontal-rule": "3.27.1",
465
+ "@tiptap/extension-image": "3.27.1",
466
+ "@tiptap/extension-link": "3.27.1",
467
+ "@tiptap/extension-placeholder": "3.27.1",
468
+ "@tiptap/extension-task-item": "3.27.1",
469
+ "@tiptap/extension-task-list": "3.27.1",
470
+ "@tiptap/extension-text-style": "3.27.1",
471
+ "@tiptap/extension-underline": "3.27.1",
472
+ "@tiptap/extension-youtube": "3.27.1",
473
+ "@tiptap/pm": "3.27.1",
474
+ "@tiptap/react": "3.27.1",
475
+ "@tiptap/starter-kit": "3.27.1",
476
+ "@tiptap/suggestion": "3.27.1",
477
477
  "better-auth": "1.6.23",
478
478
  "class-variance-authority": "0.7.1",
479
479
  "cmdk": "1.1.1",
480
480
  "cnfast": "^0.0.8",
481
481
  "defu": "6.1.7",
482
- "dompurify": "3.4.10",
483
- "isomorphic-dompurify": "3.17.0",
484
- "react-intlayer": "9.0.0-canary.12",
482
+ "dompurify": "3.4.11",
483
+ "isomorphic-dompurify": "3.18.0",
484
+ "react-intlayer": "9.0.0-canary.13",
485
485
  "react-moveable": "^0.56.0",
486
486
  "rollup-preserve-directives": "1.1.3",
487
487
  "tippy.js": "^6.3.7",
488
488
  "tiptap-extension-code-block-shiki": "^1.2.0",
489
- "tiptap-extension-global-drag-handle": "^0.1.16",
489
+ "tiptap-extension-global-drag-handle": "^0.1.18",
490
490
  "tiptap-markdown": "^0.9.0",
491
491
  "tunnel-rat": "^0.1.2",
492
492
  "zod": "4.4.3"
493
493
  },
494
494
  "devDependencies": {
495
- "@intlayer/backend": "9.0.0-canary.12",
496
- "@shikijs/transformers": "4.2.0",
495
+ "@intlayer/backend": "9.0.0-canary.13",
496
+ "@shikijs/transformers": "4.3.1",
497
497
  "@storybook/addon-a11y": "8.6.14",
498
498
  "@storybook/addon-essentials": "8.6.14",
499
499
  "@storybook/addon-interactions": "8.6.14",
@@ -509,7 +509,7 @@
509
509
  "@storybook/theming": "8.6.14",
510
510
  "@svgr/core": "8.1.0",
511
511
  "@svgr/rollup": "8.1.0",
512
- "@tailwindcss/cli": "4.3.1",
512
+ "@tailwindcss/cli": "4.3.2",
513
513
  "@tailwindcss/vite": "4.3.2",
514
514
  "@testing-library/jest-dom": "6.9.1",
515
515
  "@testing-library/react": "16.3.2",
@@ -522,35 +522,35 @@
522
522
  "@utils/ts-config": "1.0.4",
523
523
  "@utils/ts-config-types": "1.0.4",
524
524
  "fast-glob": "3.3.3",
525
- "intlayer": "9.0.0-canary.12",
525
+ "intlayer": "9.0.0-canary.13",
526
526
  "rimraf": "6.1.3",
527
- "shiki": "4.2.0",
527
+ "shiki": "4.3.1",
528
528
  "storybook": "8.6.17",
529
529
  "tsdown": "0.21.10",
530
530
  "typescript": "6.0.3",
531
- "vite": "8.1.2",
532
- "vite-intlayer": "9.0.0-canary.12",
533
- "vite-plugin-dts": "5.0.2",
531
+ "vite": "8.1.3",
532
+ "vite-intlayer": "9.0.0-canary.13",
533
+ "vite-plugin-dts": "5.0.3",
534
534
  "vitest": "4.1.9"
535
535
  },
536
536
  "peerDependencies": {
537
537
  "@better-fetch/fetch": "1.3.1",
538
538
  "@hookform/resolvers": "5.4.0",
539
- "@intlayer/backend": "9.0.0-canary.12",
539
+ "@intlayer/backend": "9.0.0-canary.13",
540
540
  "@monaco-editor/react": "4.7.0",
541
- "@shikijs/transformers": "4.2.0",
541
+ "@shikijs/transformers": "4.3.1",
542
542
  "@tanstack/react-query": "5.101.2",
543
543
  "@tanstack/react-query-devtools": "5.101.2",
544
544
  "framer-motion": "12.42.2",
545
545
  "fuse.js": "7.4.2",
546
- "intlayer": "9.0.0-canary.12",
546
+ "intlayer": "9.0.0-canary.13",
547
547
  "lucide-react": "1.23.0",
548
548
  "react": ">=16.0.0",
549
549
  "react-dom": ">=16.0.0",
550
- "react-hook-form": "7.79.0",
551
- "react-intlayer": "9.0.0-canary.12",
552
- "shiki": "4.2.0",
553
- "tailwindcss": "4.3.1"
550
+ "react-hook-form": "7.80.0",
551
+ "react-intlayer": "9.0.0-canary.13",
552
+ "shiki": "4.3.1",
553
+ "tailwindcss": "4.3.2"
554
554
  },
555
555
  "peerDependenciesMeta": {
556
556
  "@intlayer/backend": {