@intlayer/design-system 9.0.0-canary.14 → 9.0.0-canary.15

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.
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import { useQuery } from "@tanstack/react-query";
4
3
  import { editor } from "@intlayer/config/built";
4
+ import { useQuery } from "@tanstack/react-query";
5
5
  import { getOAuthAPI } from "@intlayer/api";
6
6
  import { useConfiguration } from "@intlayer/editor-react";
7
7
  import { defu } from "defu";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
3
  import { getAuthAPI } from "../../libs/auth.mjs";
4
- import { useQuery, useQueryClient } from "@tanstack/react-query";
5
4
  import { editor } from "@intlayer/config/built";
5
+ import { useQuery, useQueryClient } from "@tanstack/react-query";
6
6
  import { useConfiguration } from "@intlayer/editor-react";
7
7
 
8
8
  //#region src/api/useAuth/useSession.ts
@@ -29,18 +29,18 @@ type UseIntlayerAuthProps = {
29
29
  };
30
30
  declare const useIntlayerOAuthOptions: (props?: UseIntlayerAuthProps) => {
31
31
  options: {
32
- mode?: RequestMode;
33
- signal?: AbortSignal | null;
32
+ headers: HeadersInit;
34
33
  cache?: RequestCache;
35
34
  credentials?: RequestCredentials;
36
- headers: HeadersInit;
37
35
  integrity?: string;
38
36
  keepalive?: boolean;
39
37
  method?: string;
38
+ mode?: RequestMode;
40
39
  priority?: RequestPriority;
41
40
  redirect?: RequestRedirect;
42
41
  referrer?: string;
43
42
  referrerPolicy?: ReferrerPolicy;
43
+ signal?: AbortSignal | null;
44
44
  window?: null;
45
45
  body?: Record<string, unknown>;
46
46
  params?: Record<string, string | string[] | undefined> | string[] | URLSearchParams;
@@ -24,7 +24,7 @@ type BadgeSize = 'sm' | 'md' | 'lg';
24
24
  */
25
25
  declare const badgeVariants: (props?: {
26
26
  color?: "error" | "text" | "custom" | "primary" | "secondary" | "neutral" | "light" | "dark" | "success";
27
- variant?: "none" | "default" | "outline" | "hoverable";
27
+ variant?: "default" | "none" | "outline" | "hoverable";
28
28
  size?: "sm" | "md" | "lg";
29
29
  } & _$class_variance_authority_types0.ClassProp) => string;
30
30
  /**
@@ -26,8 +26,8 @@ type ButtonTextAlign = 'left' | 'center' | 'right';
26
26
  declare const buttonVariants: (props?: {
27
27
  size?: "xs" | "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl" | "custom";
28
28
  color?: "error" | "text" | "custom" | "primary" | "secondary" | "neutral" | "card" | "light" | "dark" | "current" | "text-inverse" | "success";
29
- roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "full";
30
- variant?: "input" | "none" | "default" | "outline" | "link" | "invisible-link" | "hoverable" | "fade";
29
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "4xl" | "5xl" | "full";
30
+ variant?: "input" | "default" | "none" | "outline" | "link" | "invisible-link" | "hoverable" | "fade";
31
31
  textAlign?: "left" | "center" | "right";
32
32
  isFullWidth?: boolean;
33
33
  } & _$class_variance_authority_types0.ClassProp) => string;
@@ -6,7 +6,7 @@ import { VariantProps } from "class-variance-authority";
6
6
  declare const collapsibleTableVariants: (props?: {
7
7
  size?: "sm" | "md" | "lg" | "xl" | "full";
8
8
  variant?: "default" | "dark" | "ghost" | "outlined";
9
- spacing?: "none" | "auto" | "sm" | "md" | "lg";
9
+ spacing?: "auto" | "sm" | "md" | "lg" | "none";
10
10
  } & _$class_variance_authority_types0.ClassProp) => string;
11
11
  interface CollapsibleTableProps extends Omit<HTMLAttributes<HTMLElement>, 'title'>, VariantProps<typeof collapsibleTableVariants> {
12
12
  /** Table title displayed in the header */
@@ -28,7 +28,7 @@ declare const Command: {
28
28
  ref?: React.Ref<HTMLInputElement>;
29
29
  } & {
30
30
  asChild?: boolean;
31
- }, "key" | keyof _$react.InputHTMLAttributes<HTMLInputElement> | "asChild">, "type" | "value" | "onChange"> & {
31
+ }, "key" | "asChild" | keyof _$react.InputHTMLAttributes<HTMLInputElement>>, "type" | "value" | "onChange"> & {
32
32
  value?: string;
33
33
  onValueChange?: (search: string) => void;
34
34
  } & _$react.RefAttributes<HTMLInputElement>>;
@@ -8,14 +8,14 @@ import { VariantProps } from "class-variance-authority";
8
8
  * Provides flexible styling options for background, padding, borders, and layout
9
9
  */
10
10
  declare const containerVariants: (props?: {
11
- roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "full";
12
- transparency?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full";
13
- padding?: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
11
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "4xl" | "full";
12
+ transparency?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "full";
13
+ padding?: "sm" | "md" | "lg" | "xl" | "2xl" | "none";
14
14
  separator?: "both" | "without" | "x" | "y";
15
- border?: "none" | "with";
15
+ border?: "with" | "none";
16
16
  borderColor?: "error" | "text" | "primary" | "secondary" | "neutral" | "card" | "success" | "warning";
17
- background?: "none" | "with" | "hoverable";
18
- gap?: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
17
+ background?: "with" | "none" | "hoverable";
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 */
21
21
  type ContainerRoundedSize = 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
@@ -7,7 +7,7 @@ declare const checkboxVariants: (props?: {
7
7
  variant?: "default";
8
8
  size?: "xs" | "sm" | "md" | "lg";
9
9
  color?: "error" | "text" | "custom" | "primary" | "secondary" | "neutral" | "light" | "dark" | "text-inverse" | "success";
10
- validationStyleEnabled?: "enabled" | "disabled";
10
+ validationStyleEnabled?: "disabled" | "enabled";
11
11
  } & _$class_variance_authority_types0.ClassProp) => string;
12
12
  type CheckboxSize = 'xs' | 'sm' | 'md' | 'lg';
13
13
  type CheckboxColor = 'primary' | 'secondary' | 'neutral' | 'light' | 'text' | 'text-inverse' | 'dark' | 'error' | 'success' | 'custom';
@@ -6,7 +6,7 @@ import { VariantProps } from "class-variance-authority";
6
6
  declare const inputVariants: (props?: {
7
7
  variant?: "default" | "invisible";
8
8
  size?: "sm" | "md" | "lg";
9
- validationStyleEnabled?: "enabled" | "disabled";
9
+ validationStyleEnabled?: "disabled" | "enabled";
10
10
  } & _$class_variance_authority_types0.ClassProp) => string;
11
11
  type InputVariant = 'default' | 'invisible';
12
12
  type InputSize = 'md' | 'lg';
@@ -7,7 +7,7 @@ declare const radioVariants: (props?: {
7
7
  variant?: "default";
8
8
  size?: "xs" | "sm" | "md" | "lg";
9
9
  color?: "error" | "text" | "custom" | "primary" | "secondary" | "neutral" | "light" | "dark" | "text-inverse" | "success";
10
- validationStyleEnabled?: "enabled" | "disabled";
10
+ validationStyleEnabled?: "disabled" | "enabled";
11
11
  } & _$class_variance_authority_types0.ClassProp) => string;
12
12
  type RadioSize = 'xs' | 'sm' | 'md' | 'lg';
13
13
  type RadioColor = 'primary' | 'secondary' | 'neutral' | 'light' | 'text' | 'text-inverse' | 'dark' | 'error' | 'success' | 'custom';
@@ -14,7 +14,7 @@ type LinkSize = 'sm' | 'md' | 'lg' | 'xl' | 'custom';
14
14
  type LinkUnderlined = 'default' | 'true' | 'false';
15
15
  declare const linkVariants: (props?: {
16
16
  variant?: "default" | "invisible-link" | "hoverable" | "button" | "button-outlined";
17
- roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full";
17
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "full";
18
18
  color?: "error" | "text" | "custom" | "primary" | "secondary" | "neutral" | "light" | "dark" | "text-inverse" | "success";
19
19
  size?: "sm" | "md" | "lg" | "xl" | "custom";
20
20
  underlined?: boolean | "default";
@@ -146,11 +146,11 @@ type TagBorder = 'none' | 'with';
146
146
  */
147
147
  type TagBackground = 'none' | 'with';
148
148
  declare const containerVariants: (props?: {
149
- roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "full" | "xxl" | "xxxl";
149
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "none" | "full" | "xxl" | "xxxl";
150
150
  color?: "error" | "text" | "primary" | "neutral" | "success" | "warning" | "black" | "white";
151
151
  size?: "xs" | "sm" | "md" | "lg" | "xl";
152
- border?: "none" | "with";
153
- background?: "none" | "with";
152
+ border?: "with" | "none";
153
+ background?: "with" | "none";
154
154
  } & _$class_variance_authority_types0.ClassProp) => string;
155
155
  /**
156
156
  * Tag component for displaying labels, categories, status indicators, and badges
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/design-system",
3
- "version": "9.0.0-canary.14",
3
+ "version": "9.0.0-canary.15",
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,13 +442,13 @@
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.14",
446
- "@intlayer/config": "9.0.0-canary.14",
447
- "@intlayer/core": "9.0.0-canary.14",
448
- "@intlayer/dictionaries-entry": "9.0.0-canary.14",
449
- "@intlayer/editor-react": "9.0.0-canary.14",
450
- "@intlayer/engine": "9.0.0-canary.14",
451
- "@intlayer/types": "9.0.0-canary.14",
445
+ "@intlayer/api": "9.0.0-canary.15",
446
+ "@intlayer/config": "9.0.0-canary.15",
447
+ "@intlayer/core": "9.0.0-canary.15",
448
+ "@intlayer/dictionaries-entry": "9.0.0-canary.15",
449
+ "@intlayer/editor-react": "9.0.0-canary.15",
450
+ "@intlayer/engine": "9.0.0-canary.15",
451
+ "@intlayer/types": "9.0.0-canary.15",
452
452
  "@radix-ui/react-dialog": "1.1.18",
453
453
  "@radix-ui/react-select": "2.3.2",
454
454
  "@radix-ui/react-slot": "1.3.0",
@@ -481,7 +481,7 @@
481
481
  "defu": "6.1.7",
482
482
  "dompurify": "3.4.11",
483
483
  "isomorphic-dompurify": "3.18.0",
484
- "react-intlayer": "9.0.0-canary.14",
484
+ "react-intlayer": "9.0.0-canary.15",
485
485
  "react-moveable": "^0.56.0",
486
486
  "rollup-preserve-directives": "1.1.3",
487
487
  "tippy.js": "^6.3.7",
@@ -492,7 +492,7 @@
492
492
  "zod": "4.4.3"
493
493
  },
494
494
  "devDependencies": {
495
- "@intlayer/backend": "9.0.0-canary.14",
495
+ "@intlayer/backend": "9.0.0-canary.15",
496
496
  "@shikijs/transformers": "4.3.1",
497
497
  "@storybook/addon-a11y": "8.6.14",
498
498
  "@storybook/addon-essentials": "8.6.14",
@@ -522,33 +522,33 @@
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.14",
525
+ "intlayer": "9.0.0-canary.15",
526
526
  "rimraf": "6.1.3",
527
527
  "shiki": "4.3.1",
528
528
  "storybook": "8.6.17",
529
529
  "tsdown": "0.21.10",
530
530
  "typescript": "6.0.3",
531
531
  "vite": "8.1.3",
532
- "vite-intlayer": "9.0.0-canary.14",
532
+ "vite-intlayer": "9.0.0-canary.15",
533
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.14",
539
+ "@intlayer/backend": "9.0.0-canary.15",
540
540
  "@monaco-editor/react": "4.7.0",
541
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.14",
546
+ "intlayer": "9.0.0-canary.15",
547
547
  "lucide-react": "1.23.0",
548
548
  "react": ">=16.0.0",
549
549
  "react-dom": ">=16.0.0",
550
550
  "react-hook-form": "7.80.0",
551
- "react-intlayer": "9.0.0-canary.14",
551
+ "react-intlayer": "9.0.0-canary.15",
552
552
  "shiki": "4.3.1",
553
553
  "tailwindcss": "4.3.2"
554
554
  },