@intlayer/design-system 9.0.0-canary.8 → 9.0.0-canary.9

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 (27) hide show
  1. package/dist/esm/api/index.mjs +2 -2
  2. package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs +1 -1
  3. package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs +2 -2
  4. package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +2 -2
  5. package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +1 -1
  6. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +6 -6
  7. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +1 -1
  8. package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +1 -1
  9. package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +2 -2
  10. package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs +1 -1
  11. package/dist/types/api/useIntlayerAPI.d.ts +1 -1
  12. package/dist/types/components/Badge/index.d.ts +1 -1
  13. package/dist/types/components/Breadcrumb/index.d.ts +1 -1
  14. package/dist/types/components/Button/Button.d.ts +3 -3
  15. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +2 -2
  16. package/dist/types/components/Command/index.d.ts +2 -2
  17. package/dist/types/components/Container/index.d.ts +3 -3
  18. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.d.ts +1 -1
  19. package/dist/types/components/Input/Checkbox.d.ts +3 -3
  20. package/dist/types/components/Input/Input.d.ts +1 -1
  21. package/dist/types/components/Input/Radio.d.ts +3 -3
  22. package/dist/types/components/Link/Link.d.ts +1 -1
  23. package/dist/types/components/SwitchSelector/SwitchSelector.d.ts +2 -2
  24. package/dist/types/components/SwitchSelector/VerticalSwitchSelector.d.ts +1 -1
  25. package/dist/types/components/TabSelector/TabSelector.d.ts +1 -1
  26. package/dist/types/components/Tag/index.d.ts +2 -2
  27. package/package.json +15 -15
@@ -2,10 +2,11 @@ import { useOAuth2 } from "./useAuth/useOAuth2.mjs";
2
2
  import { useSession } from "./useAuth/useSession.mjs";
3
3
  import { useAuth } from "./useAuth/useAuth.mjs";
4
4
  import { useAiAPI, useAssetAPI, useAuditAPI, useBitbucketAPI, useDictionaryAPI, useEditorAPI, useEnvironmentAPI, useGithubAPI, useGitlabAPI, useIntlayerAuth, useIntlayerOAuth, useIntlayerOAuthOptions, useNewsletterAPI, useOAuthAPI, useOrganizationAPI, useProjectAPI, useReviewerAPI, useSearchAPI, useShowcaseProjectAPI, useStripeAPI, useTagAPI, useTranslateAPI, useUserAPI } from "./useIntlayerAPI.mjs";
5
+ import { useAddPasskey, useAskResetPassword, useChangePassword, useDeletePasskey, useDeleteSSOProvider, useDisableTwoFactor, useEnableTwoFactor, useGetUserByAccount, useGetVerifyEmailStatus, useLinkSocial, useListAccounts, useListPasskeys, useListSSOProviders, useLogin, useLogout, useRegister, useRegisterSSO, useResetPassword, useSignInMagicLink, useSignInPasskey, useSignInSSO, useUnlinkAccount, useVerifyBackupCode, useVerifyEmail, useVerifyTotp } from "./hooks/auth.mjs";
6
+ import { useUser } from "./useUser/index.mjs";
5
7
  import { useAskDocQuestion, useAuditContentDeclaration, useAuditContentDeclarationField, useAuditContentDeclarationMetadata, useAuditTag, useAutocomplete, useChat, useCustomQuery, useGetAIStats, useTranslateJSONDeclaration } from "./hooks/ai.mjs";
6
8
  import { useDeleteAsset, useGetAssetById, useGetAssets, useUpdateAsset, useUploadAsset } from "./hooks/asset.mjs";
7
9
  import { useAuditScan, useGetRecursiveAuditStatus, useStartRecursiveAudit } from "./hooks/audit.mjs";
8
- import { useAddPasskey, useAskResetPassword, useChangePassword, useDeletePasskey, useDeleteSSOProvider, useDisableTwoFactor, useEnableTwoFactor, useGetUserByAccount, useGetVerifyEmailStatus, useLinkSocial, useListAccounts, useListPasskeys, useListSSOProviders, useLogin, useLogout, useRegister, useRegisterSSO, useResetPassword, useSignInMagicLink, useSignInPasskey, useSignInSSO, useUnlinkAccount, useVerifyBackupCode, useVerifyEmail, useVerifyTotp } from "./hooks/auth.mjs";
9
10
  import { useBitbucketAuth, useBitbucketCheckConfig, useBitbucketGetConfigFile, useBitbucketRepos } from "./hooks/bitbucket.mjs";
10
11
  import { useAddDictionary, useDeleteDictionary, useGetDictionaries, useGetDictionariesKeys, useGetDictionary, useInfiniteGetDictionaries, usePushDictionaries, useUpdateDictionary } from "./hooks/dictionary.mjs";
11
12
  import { useGetDiscussions, useGetDiscussionsData } from "./hooks/discussions.mjs";
@@ -23,6 +24,5 @@ import { useAcceptAffiliateInvitation, useCancelSubscription, useCreatePortalSes
23
24
  import { useAddTag, useDeleteTag, useGetTags, useUpdateTag } from "./hooks/tag.mjs";
24
25
  import { useFillAllTranslations, usePauseTranslationJob, useResumeTranslationJob, useStopTranslationJob } from "./hooks/translate.mjs";
25
26
  import { useCreateUser, useDeleteUser, useGetUserById, useGetUsers, useUpdateUser, useUploadUserAvatar } from "./hooks/user.mjs";
26
- import { useUser } from "./useUser/index.mjs";
27
27
 
28
28
  export { useAcceptAffiliateInvitation, useAddDictionary, useAddEnvironment, useAddNewAccessKey, useAddOrganization, useAddOrganizationMember, useAddPasskey, useAddProject, useAddTag, useAiAPI, useAskDocQuestion, useAskResetPassword, useAssetAPI, useAuditAPI, useAuditContentDeclaration, useAuditContentDeclarationField, useAuditContentDeclarationMetadata, useAuditScan, useAuditTag, useAuth, useAutocomplete, useBitbucketAPI, useBitbucketAuth, useBitbucketCheckConfig, useBitbucketGetConfigFile, useBitbucketRepos, useCancelSubscription, useChangePassword, useChat, useContactReviewer, useCreateMission, useCreatePortalSession, useCreatePromoCode, useCreateUser, useCustomQuery, useDeleteAccessKey, useDeleteAsset, useDeleteDictionary, useDeleteEnvironment, useDeleteOrganization, useDeleteOrganizationById, useDeletePasskey, useDeleteProject, useDeleteProjectById, useDeletePromoCode, useDeleteReviewerProfile, useDeleteSSOProvider, useDeleteShowcaseProject, useDeleteTag, useDeleteUser, useDictionaryAPI, useDisableTwoFactor, useEditorAPI, useEnableTwoFactor, useEnvironmentAPI, useEstimateMission, useFillAllTranslations, useGetAIStats, useGetAdminReviewers, useGetAffiliate, useGetAffiliateAccountSession, useGetAffiliateById, useGetAffiliateInvitation, useGetAffiliateInvitations, useGetAffiliateOnboardingLink, useGetAffiliatePromoCode, useGetAffiliateStats, useGetAffiliates, useGetAssetById, useGetAssets, useGetCIConfig, useGetChatHistory, useGetDictionaries, useGetDictionariesKeys, useGetDictionary, useGetDiscussions, useGetDiscussionsData, useGetEditorDictionaries, useGetInvoices, useGetMissionById, useGetMyMissions, useGetMyReviewerProfile, useGetNewsletterStatus, useGetOrganizations, useGetOtherShowcaseProjects, useGetPaymentMethod, useGetPricing, useGetProjectInsights, useGetProjects, useGetPromoCodeById, useGetPromoCodes, useGetRecursiveAuditStatus, useGetReviewerById, useGetReviewerMarketplace, useGetReviewerPriceDistribution, useGetReviewerReviews, useGetShowcaseProjectById, useGetShowcaseProjects, useGetSubscription, useGetTags, useGetUserByAccount, useGetUserById, useGetUsers, useGetVerifyEmailStatus, useGithubAPI, useGithubAuth, useGithubCheckConfig, useGithubGetAuthUrl, useGithubGetConfigFile, useGithubRepos, useGithubToken, useGitlabAPI, useGitlabAuth, useGitlabCheckConfig, useGitlabGetConfigFile, useGitlabProjects, useGrantAffiliateAccess, useInfiniteGetDictionaries, useIntlayerAuth, useIntlayerOAuth, useIntlayerOAuthOptions, useLinkSocial, useListAccounts, useListPasskeys, useListSSOProviders, useLogin, useLogout, useMigrateEnvironment, useNewsletterAPI, useOAuth2, useOAuthAPI, useOrganizationAPI, usePauseTranslationJob, useProjectAPI, usePushCIConfig, usePushDictionaries, usePushProjectConfiguration, useRefreshAccessKey, useRegister, useRegisterAsReviewer, useRegisterSSO, useResetPassword, useResetToProductionEnvironment, useResumeTranslationJob, useReviewerAPI, useSearchAPI, useSearchDoc, useSelectEnvironment, useSelectOrganization, useSelectProject, useSendAffiliateInvitation, useSendReviewerMessage, useSession, useShowcaseProjectAPI, useSignInMagicLink, useSignInPasskey, useSignInSSO, useStartRecursiveAudit, useStopTranslationJob, useStripeAPI, useSubmitReview, useSubmitShowcaseProject, useSubscribeToNewsletter, useTagAPI, useToggleShowcaseDownvote, useToggleShowcaseUpvote, useTranslateAPI, useTranslateJSONDeclaration, useTriggerBuild, useTriggerWebhook, useUnlinkAccount, useUnselectOrganization, useUnselectProject, useUnsubscribeFromNewsletter, useUpdateAffiliateStatus, useUpdateAsset, useUpdateDictionary, useUpdateEnvironment, useUpdateMemberAccess, useUpdateMissionStatus, useUpdateOrganization, useUpdateOrganizationMembers, useUpdateOrganizationMembersById, useUpdateProject, useUpdateProjectMembers, useUpdatePromoCode, useUpdateReviewerProfile, useUpdateShowcaseProject, useUpdateTag, useUpdateUser, useUploadAsset, useUploadReviewerCoverPicture, useUploadReviewerMainPicture, useUploadUserAvatar, useUser, useUserAPI, useValidateReviewerProfile, useVerifyBackupCode, useVerifyEmail, useVerifyTotp, useWriteDictionary };
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import { useUser } from "../../api/useUser/index.mjs";
4
3
  import { Button } from "../Button/Button.mjs";
4
+ import { useUser } from "../../api/useUser/index.mjs";
5
5
  import { AutoCompleteTextarea } from "../TextArea/AutocompleteTextArea.mjs";
6
6
  import { useEffect, useState } from "react";
7
7
  import { Check, X } from "lucide-react";
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import { useGetDictionaries } from "../../api/hooks/dictionary.mjs";
4
3
  import { Container } from "../Container/index.mjs";
4
+ import { useGetDictionaries } from "../../api/hooks/dictionary.mjs";
5
5
  import { LocaleSwitcherContent } from "../LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs";
6
6
  import { Pagination } from "../Pagination/Pagination.mjs";
7
7
  import { TextEditorContainer } from "./ContentEditorView/TextEditor.mjs";
@@ -10,8 +10,8 @@ import { KeyPathBreadcrumb } from "./KeyPathBreadcrumb.mjs";
10
10
  import { NavigationViewNode } from "./NavigationView/NavigationViewNode.mjs";
11
11
  import { useCallback, useDeferredValue, useEffect, useMemo, useState, useTransition } from "react";
12
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
- import { useEditedContent, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
14
13
  import { useIntlayer } from "react-intlayer";
14
+ import { useEditedContent, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
15
15
  import { getContentNodeByKeyPath } from "@intlayer/core/dictionaryManipulator";
16
16
 
17
17
  //#region src/components/DictionaryFieldEditor/ContentEditor.tsx
@@ -1,6 +1,5 @@
1
1
  'use client';
2
2
 
3
- import { useAuditContentDeclarationField } from "../../../api/hooks/ai.mjs";
4
3
  import { Loader } from "../../Loader/index.mjs";
5
4
  import { Button } from "../../Button/Button.mjs";
6
5
  import { Accordion } from "../../Accordion/Accordion.mjs";
@@ -8,6 +7,7 @@ import { Container } from "../../Container/index.mjs";
8
7
  import { ContentEditorInput as ContentEditorInput$1 } from "../../ContentEditor/ContentEditorInput.mjs";
9
8
  import { ContentEditorTextArea as ContentEditorTextArea$1 } from "../../ContentEditor/ContentEditorTextArea.mjs";
10
9
  import { SwitchSelector } from "../../SwitchSelector/SwitchSelector.mjs";
10
+ import { useAuditContentDeclarationField } from "../../../api/hooks/ai.mjs";
11
11
  import { useLocaleSwitcherContent } from "../../LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.mjs";
12
12
  import { renameKey } from "./object.mjs";
13
13
  import { Label } from "../../Label/index.mjs";
@@ -16,9 +16,9 @@ import { SafeHtmlRenderer } from "./SafeHtmlRenderer.mjs";
16
16
  import { Fragment, Suspense, lazy, memo, useState } from "react";
17
17
  import { Plus, Trash, WandSparkles } from "lucide-react";
18
18
  import { jsx, jsxs } from "react/jsx-runtime";
19
- import { useConfiguration, useEditedContent } from "@intlayer/editor-react";
20
19
  import { useIntlayer, useLocale } from "react-intlayer";
21
20
  import { getLocaleName } from "@intlayer/core/localization";
21
+ import { useConfiguration, useEditedContent } from "@intlayer/editor-react";
22
22
  import { getEmptyNode, getNodeType } from "@intlayer/core/dictionaryManipulator";
23
23
  import * as NodeTypes from "@intlayer/types/nodeType";
24
24
  import { camelCaseToSentence } from "@intlayer/config/client";
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
 
3
+ import { Button } from "../../Button/Button.mjs";
3
4
  import { useSession } from "../../../api/useAuth/useSession.mjs";
4
5
  import { useAddDictionary } from "../../../api/hooks/dictionary.mjs";
5
6
  import { useGetProjects } from "../../../api/hooks/project.mjs";
6
- import { Button } from "../../Button/Button.mjs";
7
7
  import { MultiSelect } from "../../Select/Multiselect.mjs";
8
8
  import { Select } from "../../Select/Select.mjs";
9
9
  import { InputElement } from "../../Form/elements/InputElement.mjs";
@@ -1,16 +1,16 @@
1
1
  'use client';
2
2
 
3
3
  import { cn } from "../../../utils/cn.mjs";
4
- import { useSession } from "../../../api/useAuth/useSession.mjs";
5
- import { useAuditContentDeclarationMetadata } from "../../../api/hooks/ai.mjs";
6
- import { useGetDictionaries } from "../../../api/hooks/dictionary.mjs";
7
- import { useGetProjects } from "../../../api/hooks/project.mjs";
8
- import { useGetTags } from "../../../api/hooks/tag.mjs";
9
4
  import { Loader } from "../../Loader/index.mjs";
10
5
  import { Button } from "../../Button/Button.mjs";
11
6
  import { Container } from "../../Container/index.mjs";
12
7
  import { Checkbox } from "../../Input/Checkbox.mjs";
13
8
  import { Input } from "../../Input/Input.mjs";
9
+ import { useSession } from "../../../api/useAuth/useSession.mjs";
10
+ import { useAuditContentDeclarationMetadata } from "../../../api/hooks/ai.mjs";
11
+ import { useGetDictionaries } from "../../../api/hooks/dictionary.mjs";
12
+ import { useGetProjects } from "../../../api/hooks/project.mjs";
13
+ import { useGetTags } from "../../../api/hooks/tag.mjs";
14
14
  import { MultiSelect } from "../../Select/Multiselect.mjs";
15
15
  import { Select } from "../../Select/Select.mjs";
16
16
  import { Pagination } from "../../Pagination/Pagination.mjs";
@@ -30,8 +30,8 @@ import { useDictionaryDetailsSchema } from "./useDictionaryDetailsSchema.mjs";
30
30
  import { useEffect, useMemo, useState } from "react";
31
31
  import { WandSparkles } from "lucide-react";
32
32
  import { jsx, jsxs } from "react/jsx-runtime";
33
- import { useEditedContent } from "@intlayer/editor-react";
34
33
  import { useIntlayer } from "react-intlayer";
34
+ import { useEditedContent } from "@intlayer/editor-react";
35
35
  import { useWatch } from "react-hook-form";
36
36
  import { AnimatePresence, motion } from "framer-motion";
37
37
 
@@ -13,8 +13,8 @@ import { StructureEditor } from "./StructureEditor.mjs";
13
13
  import { useEffect, useState } from "react";
14
14
  import { ArrowLeft } from "lucide-react";
15
15
  import { jsx, jsxs } from "react/jsx-runtime";
16
- import { useConfiguration, useDictionariesRecordActions, useFocusUnmergedDictionary } from "@intlayer/editor-react";
17
16
  import { useIntlayer } from "react-intlayer";
17
+ import { useConfiguration, useDictionariesRecordActions, useFocusUnmergedDictionary } from "@intlayer/editor-react";
18
18
 
19
19
  //#region src/components/DictionaryFieldEditor/DictionaryFieldEditor.tsx
20
20
  const DictionaryFieldEditor = ({ dictionary, onClickDictionaryList, isDarkMode, mode, onDelete, onSave, showReturnButton = true, rightContent }) => {
@@ -5,8 +5,8 @@ import { getIsEditableSection } from "../getIsEditableSection.mjs";
5
5
  import { useState } from "react";
6
6
  import { ChevronRight, Plus } from "lucide-react";
7
7
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
8
- import { useEditedContentActions, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
9
8
  import { useIntlayer } from "react-intlayer";
9
+ import { useEditedContentActions, useEditorLocale, useFocusUnmergedDictionary } from "@intlayer/editor-react";
10
10
  import { getContentNodeByKeyPath, getEmptyNode, getNodeType } from "@intlayer/core/dictionaryManipulator";
11
11
  import * as NodeTypes from "@intlayer/types/nodeType";
12
12
  import { isSameKeyPath } from "@intlayer/core/utils";
@@ -1,17 +1,17 @@
1
1
  'use client';
2
2
 
3
3
  import { cn } from "../../../utils/cn.mjs";
4
+ import { Button } from "../../Button/Button.mjs";
4
5
  import { useSession } from "../../../api/useAuth/useSession.mjs";
5
6
  import { useAuth } from "../../../api/useAuth/useAuth.mjs";
6
7
  import { useDeleteDictionary, usePushDictionaries } from "../../../api/hooks/dictionary.mjs";
7
8
  import { useWriteDictionary } from "../../../api/hooks/editor.mjs";
8
- import { Button } from "../../Button/Button.mjs";
9
9
  import { Modal } from "../../Modal/Modal.mjs";
10
10
  import { useState } from "react";
11
11
  import { ArrowUpFromLine, Download, RotateCcw, Save, Trash } from "lucide-react";
12
12
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
13
- import { useDictionariesRecordActions, useEditedContent } from "@intlayer/editor-react";
14
13
  import { useIntlayer } from "react-intlayer";
14
+ import { useDictionariesRecordActions, useEditedContent } from "@intlayer/editor-react";
15
15
 
16
16
  //#region src/components/DictionaryFieldEditor/SaveForm/SaveForm.tsx
17
17
  const SaveForm = ({ dictionary, mode, className, onDelete, onSave, ...props }) => {
@@ -6,8 +6,8 @@ import { EditableFieldInput } from "../../EditableField/EditableFieldInput.mjs";
6
6
  import { NodeTypeSelector } from "../NodeTypeSelector.mjs";
7
7
  import { Plus, Trash } from "lucide-react";
8
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
- import { useConfiguration, useEditedContentActions, useFocusUnmergedDictionary } from "@intlayer/editor-react";
10
9
  import { useIntlayer } from "react-intlayer";
10
+ import { useConfiguration, useEditedContentActions, useFocusUnmergedDictionary } from "@intlayer/editor-react";
11
11
  import { getDefaultNode, getNodeChildren, getNodeType } from "@intlayer/core/dictionaryManipulator";
12
12
  import * as NodeTypes from "@intlayer/types/nodeType";
13
13
  import { isSameKeyPath } from "@intlayer/core/utils";
@@ -11,7 +11,6 @@ type UseIntlayerAuthProps = {
11
11
  };
12
12
  declare const useIntlayerOAuthOptions: (props?: UseIntlayerAuthProps) => {
13
13
  options: {
14
- signal?: AbortSignal | null;
15
14
  cache?: RequestCache;
16
15
  credentials?: RequestCredentials;
17
16
  headers: HeadersInit;
@@ -23,6 +22,7 @@ declare const useIntlayerOAuthOptions: (props?: UseIntlayerAuthProps) => {
23
22
  redirect?: RequestRedirect;
24
23
  referrer?: string;
25
24
  referrerPolicy?: ReferrerPolicy;
25
+ signal?: AbortSignal | null;
26
26
  window?: null;
27
27
  body?: Record<string, unknown>;
28
28
  params?: Record<string, string | string[] | undefined> | string[] | URLSearchParams;
@@ -23,7 +23,7 @@ type BadgeSize = 'sm' | 'md' | 'lg';
23
23
  * @description Defines the styling variants for different badge combinations
24
24
  */
25
25
  declare const badgeVariants: (props?: {
26
- color?: "text" | "primary" | "secondary" | "neutral" | "error" | "success" | "light" | "dark" | "custom";
26
+ color?: "error" | "text" | "custom" | "primary" | "secondary" | "neutral" | "light" | "dark" | "success";
27
27
  variant?: "default" | "none" | "outline" | "hoverable";
28
28
  size?: "sm" | "md" | "lg";
29
29
  } & _$class_variance_authority_types0.ClassProp) => string;
@@ -9,7 +9,7 @@ import { LocalesValues } from "@intlayer/types/module_augmentation";
9
9
  * Breadcrumb variant styles using class-variance-authority
10
10
  */
11
11
  declare const breadcrumbVariants: (props?: {
12
- size?: "sm" | "md" | "lg" | "xs" | "xl";
12
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
13
13
  spacing?: "compact" | "normal" | "loose";
14
14
  } & _$class_variance_authority_types0.ClassProp) => string;
15
15
  /**
@@ -24,10 +24,10 @@ 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?: "sm" | "md" | "lg" | "xs" | "xl" | "custom" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
28
- color?: "text" | "primary" | "secondary" | "neutral" | "error" | "success" | "light" | "text-inverse" | "dark" | "custom" | "card" | "current";
27
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl" | "custom";
28
+ color?: "error" | "text" | "custom" | "primary" | "secondary" | "neutral" | "card" | "light" | "dark" | "current" | "text-inverse" | "success";
29
29
  roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "4xl" | "5xl" | "full";
30
- variant?: "default" | "input" | "link" | "none" | "outline" | "invisible-link" | "hoverable" | "fade";
30
+ variant?: "input" | "default" | "link" | "none" | "outline" | "invisible-link" | "hoverable" | "fade";
31
31
  textAlign?: "center" | "left" | "right";
32
32
  isFullWidth?: boolean;
33
33
  } & _$class_variance_authority_types0.ClassProp) => string;
@@ -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" | "auto" | "none";
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 */
@@ -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" | keyof _$react.InputHTMLAttributes<HTMLInputElement> | "asChild">, "type" | "onChange" | "value"> & {
32
32
  value?: string;
33
33
  onValueChange?: (search: string) => void;
34
34
  } & _$react.RefAttributes<HTMLInputElement>>;
@@ -72,7 +72,7 @@ declare const Command: {
72
72
  ref?: React.Ref<HTMLDivElement>;
73
73
  } & {
74
74
  asChild?: boolean;
75
- }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "disabled" | "onSelect"> & {
75
+ }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
76
76
  disabled?: boolean;
77
77
  onSelect?: (value: string) => void;
78
78
  value?: string;
@@ -9,11 +9,11 @@ import { VariantProps } from "class-variance-authority";
9
9
  */
10
10
  declare const containerVariants: (props?: {
11
11
  roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "4xl" | "full";
12
- transparency?: "sm" | "md" | "lg" | "xs" | "xl" | "none" | "full";
12
+ transparency?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "full";
13
13
  padding?: "sm" | "md" | "lg" | "xl" | "2xl" | "none";
14
- separator?: "both" | "without" | "x" | "y";
14
+ separator?: "without" | "both" | "x" | "y";
15
15
  border?: "with" | "none";
16
- borderColor?: "text" | "primary" | "secondary" | "neutral" | "error" | "success" | "card" | "warning";
16
+ borderColor?: "error" | "text" | "primary" | "secondary" | "neutral" | "card" | "success" | "warning";
17
17
  background?: "with" | "none" | "hoverable";
18
18
  gap?: "sm" | "md" | "lg" | "xl" | "2xl" | "none";
19
19
  } & _$class_variance_authority_types0.ClassProp) => string;
@@ -7,9 +7,9 @@ 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
- variant: "variant";
11
10
  item: "item";
12
11
  none: "none";
12
+ variant: "variant";
13
13
  }>>;
14
14
  item: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
15
15
  variant: z.ZodOptional<z.ZodString>;
@@ -5,9 +5,9 @@ import { VariantProps } from "class-variance-authority";
5
5
  //#region src/components/Input/Checkbox.d.ts
6
6
  declare const checkboxVariants: (props?: {
7
7
  variant?: "default";
8
- size?: "sm" | "md" | "lg" | "xs";
9
- color?: "text" | "primary" | "secondary" | "neutral" | "error" | "success" | "light" | "text-inverse" | "dark" | "custom";
10
- validationStyleEnabled?: "enabled" | "disabled";
8
+ size?: "xs" | "sm" | "md" | "lg";
9
+ color?: "error" | "text" | "custom" | "primary" | "secondary" | "neutral" | "light" | "dark" | "text-inverse" | "success";
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';
@@ -5,9 +5,9 @@ import { VariantProps } from "class-variance-authority";
5
5
  //#region src/components/Input/Radio.d.ts
6
6
  declare const radioVariants: (props?: {
7
7
  variant?: "default";
8
- size?: "sm" | "md" | "lg" | "xs";
9
- color?: "text" | "primary" | "secondary" | "neutral" | "error" | "success" | "light" | "text-inverse" | "dark" | "custom";
10
- validationStyleEnabled?: "enabled" | "disabled";
8
+ size?: "xs" | "sm" | "md" | "lg";
9
+ color?: "error" | "text" | "custom" | "primary" | "secondary" | "neutral" | "light" | "dark" | "text-inverse" | "success";
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';
@@ -15,7 +15,7 @@ type LinkUnderlined = 'default' | 'true' | 'false';
15
15
  declare const linkVariants: (props?: {
16
16
  variant?: "default" | "button" | "invisible-link" | "hoverable" | "button-outlined";
17
17
  roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "full";
18
- color?: "text" | "primary" | "secondary" | "neutral" | "error" | "success" | "light" | "text-inverse" | "dark" | "custom";
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";
21
21
  } & _$class_variance_authority_types0.ClassProp) => string;
@@ -29,10 +29,10 @@ declare const switchSelectorVariant: (props?: {
29
29
  disabled?: boolean;
30
30
  } & _$class_variance_authority_types0.ClassProp) => string;
31
31
  declare const choiceVariant: (props?: {
32
- size?: "sm" | "md" | "lg" | "xs";
32
+ size?: "xs" | "sm" | "md" | "lg";
33
33
  } & _$class_variance_authority_types0.ClassProp) => string;
34
34
  declare const indicatorVariant: (props?: {
35
- color?: "text" | "primary" | "secondary" | "neutral" | "error" | "light" | "dark";
35
+ color?: "error" | "text" | "primary" | "secondary" | "neutral" | "light" | "dark";
36
36
  } & _$class_variance_authority_types0.ClassProp) => string;
37
37
  /**
38
38
  * Component that allows the user to select one of the provided choices.
@@ -5,7 +5,7 @@ import { VariantProps } from "class-variance-authority";
5
5
 
6
6
  //#region src/components/SwitchSelector/VerticalSwitchSelector.d.ts
7
7
  declare const verticalSwitchSelectorVariant: (props?: {
8
- color?: "text" | "primary" | "secondary" | "neutral" | "error" | "light" | "dark";
8
+ color?: "error" | "text" | "primary" | "secondary" | "neutral" | "light" | "dark";
9
9
  disabled?: boolean;
10
10
  } & _$class_variance_authority_types0.ClassProp) => string;
11
11
  declare const verticalChoiceVariant: (props?: {
@@ -7,7 +7,7 @@ import { ItemSelectorOrientation } from "@hooks/useItemSelector";
7
7
  //#region src/components/TabSelector/TabSelector.d.ts
8
8
  type TabSelectorColor = 'primary' | 'secondary' | 'error' | 'neutral' | 'light' | 'dark' | 'text';
9
9
  declare const tabSelectorVariant: (props?: {
10
- color?: "text" | "primary" | "secondary" | "neutral" | "error" | "light" | "dark";
10
+ color?: "error" | "text" | "primary" | "secondary" | "neutral" | "light" | "dark";
11
11
  } & _$class_variance_authority_types0.ClassProp) => string;
12
12
  type TabSelectorItemProps = HTMLAttributes<HTMLElement> & {
13
13
  key: string | number;
@@ -147,8 +147,8 @@ type TagBorder = 'none' | 'with';
147
147
  type TagBackground = 'none' | 'with';
148
148
  declare const containerVariants: (props?: {
149
149
  roundedSize?: "sm" | "md" | "lg" | "xl" | "none" | "full" | "xxl" | "xxxl";
150
- color?: "text" | "primary" | "neutral" | "error" | "success" | "warning" | "black" | "white";
151
- size?: "sm" | "md" | "lg" | "xs" | "xl";
150
+ color?: "error" | "text" | "primary" | "neutral" | "success" | "warning" | "black" | "white";
151
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
152
152
  border?: "with" | "none";
153
153
  background?: "with" | "none";
154
154
  } & _$class_variance_authority_types0.ClassProp) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/design-system",
3
- "version": "9.0.0-canary.8",
3
+ "version": "9.0.0-canary.9",
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.20",
444
444
  "@better-auth/sso": "1.6.20",
445
- "@intlayer/api": "9.0.0-canary.8",
446
- "@intlayer/chokidar": "9.0.0-canary.8",
447
- "@intlayer/config": "9.0.0-canary.8",
448
- "@intlayer/core": "9.0.0-canary.8",
449
- "@intlayer/dictionaries-entry": "9.0.0-canary.8",
450
- "@intlayer/editor-react": "9.0.0-canary.8",
451
- "@intlayer/types": "9.0.0-canary.8",
445
+ "@intlayer/api": "9.0.0-canary.9",
446
+ "@intlayer/chokidar": "9.0.0-canary.9",
447
+ "@intlayer/config": "9.0.0-canary.9",
448
+ "@intlayer/core": "9.0.0-canary.9",
449
+ "@intlayer/dictionaries-entry": "9.0.0-canary.9",
450
+ "@intlayer/editor-react": "9.0.0-canary.9",
451
+ "@intlayer/types": "9.0.0-canary.9",
452
452
  "@radix-ui/react-dialog": "1.1.17",
453
453
  "@radix-ui/react-select": "2.3.1",
454
454
  "@radix-ui/react-slot": "1.3.0",
@@ -481,7 +481,7 @@
481
481
  "defu": "6.1.7",
482
482
  "dompurify": "3.4.10",
483
483
  "isomorphic-dompurify": "3.17.0",
484
- "react-intlayer": "9.0.0-canary.8",
484
+ "react-intlayer": "9.0.0-canary.9",
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.8",
495
+ "@intlayer/backend": "9.0.0-canary.9",
496
496
  "@shikijs/transformers": "4.2.0",
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.8",
525
+ "intlayer": "9.0.0-canary.9",
526
526
  "rimraf": "6.1.3",
527
527
  "shiki": "4.2.0",
528
528
  "storybook": "8.6.17",
529
529
  "tsdown": "0.21.10",
530
530
  "typescript": "6.0.3",
531
531
  "vite": "8.1.0",
532
- "vite-intlayer": "9.0.0-canary.8",
532
+ "vite-intlayer": "9.0.0-canary.9",
533
533
  "vite-plugin-dts": "5.0.2",
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.8",
539
+ "@intlayer/backend": "9.0.0-canary.9",
540
540
  "@monaco-editor/react": "4.7.0",
541
541
  "@shikijs/transformers": "4.2.0",
542
542
  "@tanstack/react-query": "5.101.1",
543
543
  "@tanstack/react-query-devtools": "5.101.1",
544
544
  "framer-motion": "12.41.0",
545
545
  "fuse.js": "7.4.2",
546
- "intlayer": "9.0.0-canary.8",
546
+ "intlayer": "9.0.0-canary.9",
547
547
  "lucide-react": "1.21.0",
548
548
  "react": ">=16.0.0",
549
549
  "react-dom": ">=16.0.0",
550
550
  "react-hook-form": "7.79.0",
551
- "react-intlayer": "9.0.0-canary.8",
551
+ "react-intlayer": "9.0.0-canary.9",
552
552
  "shiki": "4.2.0",
553
553
  "tailwindcss": "4.3.1"
554
554
  },