@intlayer/design-system 9.0.0-canary.16 → 9.0.0-canary.17

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,9 +1,9 @@
1
1
  'use client';
2
2
 
3
- import { editor } from "@intlayer/config/built";
4
3
  import { useQuery } from "@tanstack/react-query";
5
4
  import { getOAuthAPI } from "@intlayer/api";
6
5
  import { useConfiguration } from "@intlayer/editor-react";
6
+ import { editor } from "@intlayer/config/built";
7
7
  import { defu } from "defu";
8
8
 
9
9
  //#region src/api/useAuth/useOAuth2.ts
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
 
3
3
  import { getAuthAPI } from "../../libs/auth.mjs";
4
- import { editor } from "@intlayer/config/built";
5
4
  import { useQuery, useQueryClient } from "@tanstack/react-query";
6
5
  import { useConfiguration } from "@intlayer/editor-react";
6
+ import { editor } from "@intlayer/config/built";
7
7
 
8
8
  //#region src/api/useAuth/useSession.ts
9
9
  const useSession = (sessionProp, intlayerConfiguration) => {
@@ -30,7 +30,6 @@ type UseIntlayerAuthProps = {
30
30
  };
31
31
  declare const useIntlayerOAuthOptions: (props?: UseIntlayerAuthProps) => {
32
32
  options: {
33
- signal?: AbortSignal | null;
34
33
  cache?: RequestCache;
35
34
  credentials?: RequestCredentials;
36
35
  headers: HeadersInit;
@@ -42,6 +41,7 @@ declare const useIntlayerOAuthOptions: (props?: UseIntlayerAuthProps) => {
42
41
  redirect?: RequestRedirect;
43
42
  referrer?: string;
44
43
  referrerPolicy?: ReferrerPolicy;
44
+ signal?: AbortSignal | null;
45
45
  window?: null;
46
46
  body?: Record<string, unknown>;
47
47
  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" | "success" | "primary" | "secondary" | "text" | "custom" | "neutral" | "light" | "dark";
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
  /**
@@ -24,11 +24,11 @@ type ButtonTextAlign = 'left' | 'center' | 'right';
24
24
  * Enhanced button variants with improved accessibility and focus states
25
25
  */
26
26
  declare const buttonVariants: (props?: {
27
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "custom" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
27
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl" | "custom";
28
28
  color?: "error" | "success" | "primary" | "secondary" | "text" | "custom" | "neutral" | "card" | "light" | "dark" | "current" | "text-inverse";
29
29
  roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "4xl" | "5xl" | "full";
30
- variant?: "none" | "input" | "default" | "link" | "outline" | "invisible-link" | "hoverable" | "fade";
31
- textAlign?: "center" | "left" | "right";
30
+ variant?: "input" | "default" | "none" | "link" | "outline" | "invisible-link" | "hoverable" | "fade";
31
+ textAlign?: "left" | "center" | "right";
32
32
  isFullWidth?: boolean;
33
33
  } & _$class_variance_authority_types0.ClassProp) => string;
34
34
  /**
@@ -5,8 +5,8 @@ import { VariantProps } from "class-variance-authority";
5
5
  //#region src/components/CollapsibleTable/CollapsibleTable.d.ts
6
6
  declare const collapsibleTableVariants: (props?: {
7
7
  size?: "sm" | "md" | "lg" | "xl" | "full";
8
- variant?: "default" | "ghost" | "dark" | "outlined";
9
- spacing?: "sm" | "md" | "lg" | "none" | "auto";
8
+ variant?: "default" | "dark" | "ghost" | "outlined";
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 */
@@ -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";
15
+ border?: "with" | "none";
16
16
  borderColor?: "error" | "success" | "primary" | "secondary" | "text" | "neutral" | "card" | "warning";
17
- background?: "none" | "with" | "hoverable";
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 */
@@ -7,8 +7,8 @@ declare const useDictionarySchema: (projectId: string) => z.ZodObject<{
7
7
  key: z.ZodDefault<z.ZodString>;
8
8
  projectIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
9
9
  qualifierType: z.ZodDefault<z.ZodEnum<{
10
- none: "none";
11
10
  item: "item";
11
+ none: "none";
12
12
  variant: "variant";
13
13
  }>>;
14
14
  item: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
@@ -13,7 +13,7 @@ type LinkRoundedSize = 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'ful
13
13
  type LinkSize = 'sm' | 'md' | 'lg' | 'xl' | 'custom';
14
14
  type LinkUnderlined = 'default' | 'true' | 'false';
15
15
  declare const linkVariants: (props?: {
16
- variant?: "default" | "button" | "invisible-link" | "hoverable" | "button-outlined";
16
+ variant?: "default" | "invisible-link" | "hoverable" | "button" | "button-outlined";
17
17
  roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "full";
18
18
  color?: "error" | "success" | "primary" | "secondary" | "text" | "custom" | "neutral" | "light" | "dark" | "text-inverse";
19
19
  size?: "sm" | "md" | "lg" | "xl" | "custom";
@@ -149,8 +149,8 @@ declare const containerVariants: (props?: {
149
149
  roundedSize?: "sm" | "md" | "lg" | "xl" | "none" | "full" | "xxl" | "xxxl";
150
150
  color?: "error" | "success" | "primary" | "text" | "neutral" | "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
@@ -25,7 +25,7 @@ declare const ToastViewport: FC<ComponentProps<typeof ToastPrimitives.Viewport>>
25
25
  * ```
26
26
  */
27
27
  declare const toastVariants: (props?: {
28
- variant?: "error" | "default" | "success";
28
+ variant?: "default" | "error" | "success";
29
29
  } & _$class_variance_authority_types0.ClassProp) => string;
30
30
  /**
31
31
  * Toast Component
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/design-system",
3
- "version": "9.0.0-canary.16",
3
+ "version": "9.0.0-canary.17",
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.16",
446
- "@intlayer/config": "9.0.0-canary.16",
447
- "@intlayer/core": "9.0.0-canary.16",
448
- "@intlayer/dictionaries-entry": "9.0.0-canary.16",
449
- "@intlayer/editor-react": "9.0.0-canary.16",
450
- "@intlayer/engine": "9.0.0-canary.16",
451
- "@intlayer/types": "9.0.0-canary.16",
445
+ "@intlayer/api": "9.0.0-canary.17",
446
+ "@intlayer/config": "9.0.0-canary.17",
447
+ "@intlayer/core": "9.0.0-canary.17",
448
+ "@intlayer/dictionaries-entry": "9.0.0-canary.17",
449
+ "@intlayer/editor-react": "9.0.0-canary.17",
450
+ "@intlayer/engine": "9.0.0-canary.17",
451
+ "@intlayer/types": "9.0.0-canary.17",
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.16",
484
+ "react-intlayer": "9.0.0-canary.17",
485
485
  "rollup-preserve-directives": "1.1.3",
486
486
  "tiptap-extension-code-block-shiki": "^1.2.0",
487
487
  "tiptap-extension-global-drag-handle": "^0.1.18",
@@ -490,7 +490,7 @@
490
490
  "zod": "4.4.3"
491
491
  },
492
492
  "devDependencies": {
493
- "@intlayer/backend": "9.0.0-canary.16",
493
+ "@intlayer/backend": "9.0.0-canary.17",
494
494
  "@shikijs/transformers": "4.3.1",
495
495
  "@storybook/addon-a11y": "8.6.14",
496
496
  "@storybook/addon-essentials": "8.6.14",
@@ -520,33 +520,33 @@
520
520
  "@utils/ts-config": "1.0.4",
521
521
  "@utils/ts-config-types": "1.0.4",
522
522
  "fast-glob": "3.3.3",
523
- "intlayer": "9.0.0-canary.16",
523
+ "intlayer": "9.0.0-canary.17",
524
524
  "rimraf": "6.1.3",
525
525
  "shiki": "4.3.1",
526
526
  "storybook": "8.6.17",
527
527
  "tsdown": "0.21.10",
528
528
  "typescript": "6.0.3",
529
- "vite": "8.1.3",
530
- "vite-intlayer": "9.0.0-canary.16",
529
+ "vite": "8.1.4",
530
+ "vite-intlayer": "9.0.0-canary.17",
531
531
  "vite-plugin-dts": "5.0.3",
532
532
  "vitest": "4.1.10"
533
533
  },
534
534
  "peerDependencies": {
535
535
  "@better-fetch/fetch": "1.3.1",
536
536
  "@hookform/resolvers": "5.4.0",
537
- "@intlayer/backend": "9.0.0-canary.16",
537
+ "@intlayer/backend": "9.0.0-canary.17",
538
538
  "@monaco-editor/react": "4.7.0",
539
539
  "@shikijs/transformers": "4.3.1",
540
540
  "@tanstack/react-query": "5.101.2",
541
541
  "@tanstack/react-query-devtools": "5.101.2",
542
542
  "framer-motion": "12.42.2",
543
- "fuse.js": "7.4.2",
544
- "intlayer": "9.0.0-canary.16",
543
+ "fuse.js": "7.5.0",
544
+ "intlayer": "9.0.0-canary.17",
545
545
  "lucide-react": "1.24.0",
546
546
  "react": ">=16.0.0",
547
547
  "react-dom": ">=16.0.0",
548
548
  "react-hook-form": "7.81.0",
549
- "react-intlayer": "9.0.0-canary.16",
549
+ "react-intlayer": "9.0.0-canary.17",
550
550
  "shiki": "4.3.1",
551
551
  "tailwindcss": "4.3.2"
552
552
  },