@intlayer/design-system 8.7.0 → 8.7.1-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.
@@ -3,13 +3,13 @@ import { Accordion } from "../../Accordion/Accordion.mjs";
3
3
  import { getIsEditableSection } from "../getIsEditableSection.mjs";
4
4
  import { ChevronRight, Plus } from "lucide-react";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
- import { internationalization } from "@intlayer/config/built";
7
6
  import { useIntlayer } from "react-intlayer";
8
7
  import { useEditedContentActions, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
9
8
  import { getContentNodeByKeyPath, getEmptyNode, getNodeType } from "@intlayer/core/dictionaryManipulator";
10
9
  import * as NodeTypes from "@intlayer/types/nodeType";
11
10
  import { isSameKeyPath } from "@intlayer/core/utils";
12
11
  import { camelCaseToSentence } from "@intlayer/config/client";
12
+ import { internationalization } from "@intlayer/config/built";
13
13
 
14
14
  //#region src/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.tsx
15
15
  const traceKeys = [
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
 
3
3
  import { useQuery } from "@tanstack/react-query";
4
- import configuration from "@intlayer/config/built";
5
4
  import { useConfiguration } from "@intlayer/editor-react";
6
5
  import { getOAuthAPI } from "@intlayer/api";
6
+ import configuration from "@intlayer/config/built";
7
7
 
8
8
  //#region src/hooks/useAuth/useOAuth2.ts
9
9
  const useOAuth2 = (intlayerConfiguration) => {
@@ -3,8 +3,8 @@
3
3
  import { getAuthAPI } from "../../libs/auth.mjs";
4
4
  import { useQueryClient } from "../reactQuery.mjs";
5
5
  import { useQuery } from "@tanstack/react-query";
6
- import configuration from "@intlayer/config/built";
7
6
  import { useConfiguration } from "@intlayer/editor-react";
7
+ import configuration from "@intlayer/config/built";
8
8
 
9
9
  //#region src/hooks/useAuth/useSession.ts
10
10
  const useSession = (sessionProp, intlayerConfiguration) => {
@@ -1,6 +1,6 @@
1
+ import configuration from "@intlayer/config/built";
1
2
  import { passkeyClient } from "@better-auth/passkey/client";
2
3
  import { ssoClient } from "@better-auth/sso/client";
3
- import configuration from "@intlayer/config/built";
4
4
  import { BACKEND_URL } from "@intlayer/config/defaultValues";
5
5
  import { createAuthClient } from "better-auth/client";
6
6
  import { magicLinkClient, twoFactorClient } from "better-auth/client/plugins";
@@ -63,7 +63,7 @@ declare const buttonVariants: (props?: {
63
63
  size?: "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
64
64
  color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "card" | "light" | "dark" | "current" | "text-inverse" | "error" | "success" | "custom";
65
65
  roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "4xl" | "5xl" | "full";
66
- variant?: "none" | "default" | "input" | "outline" | "link" | "invisible-link" | "hoverable" | "fade";
66
+ variant?: "input" | "none" | "default" | "outline" | "link" | "invisible-link" | "hoverable" | "fade";
67
67
  textAlign?: "left" | "center" | "right";
68
68
  isFullWidth?: boolean;
69
69
  } & _$class_variance_authority_types0.ClassProp) => string;
@@ -29,7 +29,7 @@ declare const Command: {
29
29
  ref?: React.Ref<HTMLInputElement>;
30
30
  } & {
31
31
  asChild?: boolean;
32
- }, "key" | keyof _$react.InputHTMLAttributes<HTMLInputElement> | "asChild">, "onChange" | "type" | "value"> & {
32
+ }, "key" | keyof _$react.InputHTMLAttributes<HTMLInputElement> | "asChild">, "type" | "value" | "onChange"> & {
33
33
  value?: string;
34
34
  onValueChange?: (search: string) => void;
35
35
  } & _$react.RefAttributes<HTMLInputElement>>;
@@ -73,7 +73,7 @@ declare const Command: {
73
73
  ref?: React.Ref<HTMLDivElement>;
74
74
  } & {
75
75
  asChild?: boolean;
76
- }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
76
+ }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "disabled" | "value" | "onSelect"> & {
77
77
  disabled?: boolean;
78
78
  onSelect?: (value: string) => void;
79
79
  value?: string;
@@ -12,9 +12,9 @@ declare const containerVariants: (props?: {
12
12
  transparency?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "full";
13
13
  padding?: "sm" | "md" | "lg" | "xl" | "2xl" | "none";
14
14
  separator?: "both" | "without" | "x" | "y";
15
- border?: "none" | "with";
16
- borderColor?: "text" | "error" | "success" | "primary" | "secondary" | "neutral" | "card" | "warning";
17
- background?: "none" | "hoverable" | "with";
15
+ border?: "with" | "none";
16
+ borderColor?: "error" | "success" | "text" | "primary" | "secondary" | "neutral" | "card" | "warning";
17
+ background?: "with" | "none" | "hoverable";
18
18
  gap?: "sm" | "md" | "lg" | "xl" | "2xl" | "none";
19
19
  } & _$class_variance_authority_types0.ClassProp) => string;
20
20
  /** Available rounded corner sizes for the container */
@@ -6,7 +6,7 @@ import { VariantProps } from "class-variance-authority";
6
6
  declare const checkboxVariants: (props?: {
7
7
  variant?: "default";
8
8
  size?: "xs" | "sm" | "md" | "lg";
9
- color?: "text" | "error" | "success" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "custom";
9
+ color?: "error" | "success" | "text" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "custom";
10
10
  validationStyleEnabled?: "enabled" | "disabled";
11
11
  } & _$class_variance_authority_types0.ClassProp) => string;
12
12
  declare enum CheckboxSize {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/design-system",
3
- "version": "8.7.0",
3
+ "version": "8.7.1-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": [
@@ -421,12 +421,12 @@
421
421
  "dependencies": {
422
422
  "@better-auth/passkey": "1.6.2",
423
423
  "@better-auth/sso": "1.6.2",
424
- "@intlayer/api": "8.7.0",
425
- "@intlayer/config": "8.7.0",
426
- "@intlayer/core": "8.7.0",
427
- "@intlayer/dictionaries-entry": "8.7.0",
428
- "@intlayer/editor-react": "8.7.0",
429
- "@intlayer/types": "8.7.0",
424
+ "@intlayer/api": "8.7.1-canary-0",
425
+ "@intlayer/config": "8.7.1-canary-0",
426
+ "@intlayer/core": "8.7.1-canary-0",
427
+ "@intlayer/dictionaries-entry": "8.7.1-canary-0",
428
+ "@intlayer/editor-react": "8.7.1-canary-0",
429
+ "@intlayer/types": "8.7.1-canary-0",
430
430
  "@radix-ui/react-dialog": "1.1.15",
431
431
  "@radix-ui/react-select": "2.2.6",
432
432
  "@radix-ui/react-slot": "1.2.4",
@@ -435,12 +435,12 @@
435
435
  "better-auth": "1.6.2",
436
436
  "class-variance-authority": "0.7.1",
437
437
  "cmdk": "1.1.1",
438
- "react-intlayer": "8.7.0",
438
+ "react-intlayer": "8.7.1-canary-0",
439
439
  "rollup-preserve-directives": "1.1.3",
440
440
  "zod": "4.3.6"
441
441
  },
442
442
  "devDependencies": {
443
- "@intlayer/backend": "8.7.0",
443
+ "@intlayer/backend": "8.7.1-canary-0",
444
444
  "@shikijs/transformers": "4.0.2",
445
445
  "@storybook/addon-a11y": "8.6.14",
446
446
  "@storybook/addon-essentials": "8.6.14",
@@ -470,7 +470,7 @@
470
470
  "@utils/ts-config-types": "1.0.4",
471
471
  "clsx": "2.1.1",
472
472
  "fast-glob": "3.3.3",
473
- "intlayer": "8.7.0",
473
+ "intlayer": "8.7.1-canary-0",
474
474
  "rimraf": "6.1.3",
475
475
  "shiki": "4.0.2",
476
476
  "storybook": "8.6.17",
@@ -478,26 +478,26 @@
478
478
  "tsdown": "0.21.7",
479
479
  "typescript": "6.0.2",
480
480
  "vite": "8.0.8",
481
- "vite-intlayer": "8.7.0",
481
+ "vite-intlayer": "8.7.1-canary-0",
482
482
  "vite-plugin-dts": "4.5.4",
483
483
  "vitest": "4.1.4"
484
484
  },
485
485
  "peerDependencies": {
486
486
  "@better-fetch/fetch": "1.1.21",
487
487
  "@hookform/resolvers": "5.2.2",
488
- "@intlayer/backend": "8.7.0",
488
+ "@intlayer/backend": "8.7.1-canary-0",
489
489
  "@monaco-editor/react": "4.7.0",
490
490
  "@shikijs/transformers": "4.0.2",
491
491
  "@tanstack/react-query": "5.97.0",
492
492
  "@tanstack/react-query-devtools": "5.97.0",
493
493
  "framer-motion": "12.38.0",
494
494
  "fuse.js": "7.3.0",
495
- "intlayer": "8.7.0",
495
+ "intlayer": "8.7.1-canary-0",
496
496
  "lucide-react": "1.8.0",
497
497
  "react": ">=16.0.0",
498
498
  "react-dom": ">=16.0.0",
499
499
  "react-hook-form": "7.72.1",
500
- "react-intlayer": "8.7.0",
500
+ "react-intlayer": "8.7.1-canary-0",
501
501
  "shiki": "4.0.2",
502
502
  "tailwindcss": "4.2.1"
503
503
  },