@intlayer/design-system 8.1.10 → 8.1.11

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 (39) hide show
  1. package/dist/esm/components/Input/Checkbox.mjs +1 -1
  2. package/dist/esm/components/Input/Checkbox.mjs.map +1 -1
  3. package/dist/types/components/Badge/index.d.ts +3 -3
  4. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +1 -1
  5. package/dist/types/components/Browser/Browser.content.d.ts +8 -8
  6. package/dist/types/components/Button/Button.d.ts +4 -4
  7. package/dist/types/components/Carousel/index.content.d.ts +3 -3
  8. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +1 -1
  9. package/dist/types/components/Container/index.d.ts +2 -2
  10. package/dist/types/components/CopyButton/CopyButton.content.d.ts +1 -1
  11. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +12 -12
  12. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +4 -4
  13. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +27 -27
  14. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +16 -16
  15. package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +12 -12
  16. package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +16 -16
  17. package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +4 -4
  18. package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +3 -3
  19. package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +2 -2
  20. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +15 -15
  21. package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +1 -1
  22. package/dist/types/components/IDE/code.content.d.ts +2 -2
  23. package/dist/types/components/IDE/copyCode.content.d.ts +2 -2
  24. package/dist/types/components/IDE/selectors.content.d.ts +6 -6
  25. package/dist/types/components/Input/Checkbox.d.ts +1 -1
  26. package/dist/types/components/Link/Link.d.ts +3 -3
  27. package/dist/types/components/Loader/index.content.d.ts +1 -1
  28. package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +8 -8
  29. package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +6 -6
  30. package/dist/types/components/Pagination/Pagination.d.ts +1 -1
  31. package/dist/types/components/Pagination/pagination.content.d.ts +5 -5
  32. package/dist/types/components/RightDrawer/rightDrawer.content.d.ts +2 -2
  33. package/dist/types/components/SwitchSelector/index.d.ts +2 -2
  34. package/dist/types/components/TabSelector/TabSelector.d.ts +1 -1
  35. package/dist/types/components/Table/table.content.d.ts +1 -1
  36. package/dist/types/components/Tag/index.d.ts +3 -3
  37. package/dist/types/components/Terminal/terminal.content.d.ts +2 -2
  38. package/dist/types/components/Toaster/Toast.d.ts +1 -1
  39. package/package.json +14 -14
@@ -1,2 +1,2 @@
1
- import{cn as e}from"../../utils/cn.mjs";import{cva as t}from"class-variance-authority";import{jsx as n,jsxs as r}from"react/jsx-runtime";const i=t([`appearance-none`,`relative cursor-pointer border-2`,`focus:outline-0`,`checked:border-current checked:bg-current checked:hover:bg-current/80`,`ring-current/20 ring-offset-current`,`hover:bg-current/20`,`disabled:opacity-50`,`ring-0 transition-all duration-300 ease-in-out hover:ring-4 focus-visible:ring-6`,`checked:before:absolute checked:before:inset-0 checked:before:content-['✓']`,`checked:before:flex checked:before:items-center checked:before:justify-center`,`checked:before:text-text-opposite/80`,`rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`,`after:absolute after:-inset-2 after:content-['']`].join(` `),{variants:{variant:{default:``},size:{xs:`size-3 rounded-sm`,sm:`size-4 rounded-md`,md:`size-5 rounded-lg`,lg:`size-6 rounded-xl`},color:{primary:`accent-primary`,secondary:`accent-secondary`,destructive:`accent-destructive`,neutral:`accent-neutral`,light:`accent-light`,text:`accent-text`,dark:`accent-dark`,error:`accent-error`,success:`accent-success`,custom:`accent-custom`},validationStyleEnabled:{disabled:``,enabled:`valid:border-success invalid:border-error`}},defaultVariants:{variant:`default`,color:`primary`,validationStyleEnabled:`disabled`,size:`md`}});let a=function(e){return e.XS=`xs`,e.SM=`sm`,e.MD=`md`,e.LG=`lg`,e}({}),o=function(e){return e.PRIMARY=`primary`,e.SECONDARY=`secondary`,e.DESTRUCTIVE=`destructive`,e.NEUTRAL=`neutral`,e.LIGHT=`light`,e.TEXT=`text`,e.DARK=`dark`,e.ERROR=`error`,e.SUCCESS=`success`,e.CUSTOM=`custom`,e}({});const s=({validationStyleEnabled:t=!1,label:r,size:a,color:o,name:s,variant:c,className:l,labelClassName:u,...d})=>n(`input`,{type:`checkbox`,className:e(i({variant:c,size:a,color:o,validationStyleEnabled:t?`enabled`:`disabled`}),l),...d}),c=t=>{let{label:i,name:a,id:o}=t;return i?r(`label`,{htmlFor:o??a,className:e(`flex w-full cursor-pointer items-center gap-x-4 font-medium text-sm`,t.labelClassName),children:[n(s,{id:o??a,...t}),i]}):n(s,{id:o??a,...t})};export{c as Checkbox,o as CheckboxColor,a as CheckboxSize,i as checkboxVariants};
1
+ import{cn as e}from"../../utils/cn.mjs";import{cva as t}from"class-variance-authority";import{jsx as n,jsxs as r}from"react/jsx-runtime";const i=t([`appearance-none`,`relative cursor-pointer border-2`,`focus:outline-0`,`checked:border-current checked:bg-current checked:hover:bg-current/80`,`ring-current/20 ring-offset-current`,`hover:bg-current/20`,`disabled:opacity-50`,`ring-0 transition-all duration-300 ease-in-out hover:ring-4 focus-visible:ring-6`,`checked:before:absolute checked:before:inset-0 checked:before:content-['✓']`,`checked:before:flex checked:before:items-center checked:before:justify-center`,`checked:before:text-text-opposite/80`,`rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`,`after:absolute after:-inset-2 after:content-['']`].join(` `),{variants:{variant:{default:``},size:{xs:`size-3 rounded-sm`,sm:`size-4 rounded-md`,md:`size-5 rounded-lg`,lg:`size-6 rounded-xl`},color:{primary:`accent-primary`,secondary:`accent-secondary`,destructive:`accent-destructive`,neutral:`accent-neutral`,light:`accent-light`,text:`accent-text`,dark:`accent-dark`,error:`accent-error`,success:`accent-success`,custom:`accent-custom`},validationStyleEnabled:{disabled:``,enabled:`valid:border-success invalid:border-error`}},defaultVariants:{variant:`default`,color:`primary`,validationStyleEnabled:`disabled`,size:`md`}});let a=function(e){return e.XS=`xs`,e.SM=`sm`,e.MD=`md`,e.LG=`lg`,e}({}),o=function(e){return e.PRIMARY=`primary`,e.SECONDARY=`secondary`,e.DESTRUCTIVE=`destructive`,e.NEUTRAL=`neutral`,e.LIGHT=`light`,e.TEXT=`text`,e.DARK=`dark`,e.ERROR=`error`,e.SUCCESS=`success`,e.CUSTOM=`custom`,e}({});const s=({validationStyleEnabled:t=!1,label:r,size:a,color:o,name:s,variant:c,className:l,labelClassName:u,...d})=>n(`input`,{type:`checkbox`,className:e(i({variant:c,size:a,color:o,validationStyleEnabled:t?`enabled`:`disabled`}),l),...d}),c=t=>{let{label:i,name:a,id:o}=t;return i?r(`label`,{htmlFor:o??a,className:e(`flex w-full cursor-pointer items-center gap-x-4 font-medium text-sm`,t.size===`xs`&&`text-xs`,t.labelClassName),children:[n(s,{id:o??a,...t}),i]}):n(s,{id:o??a,...t})};export{c as Checkbox,o as CheckboxColor,a as CheckboxSize,i as checkboxVariants};
2
2
  //# sourceMappingURL=Checkbox.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.mjs","names":[],"sources":["../../../../src/components/Input/Checkbox.tsx"],"sourcesContent":["import { cn } from '@utils/cn';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport type {\n DetailedHTMLProps,\n FC,\n InputHTMLAttributes,\n ReactNode,\n} from 'react';\n\nexport const checkboxVariants = cva(\n [\n 'appearance-none',\n 'relative cursor-pointer border-2',\n 'focus:outline-0',\n 'checked:border-current checked:bg-current checked:hover:bg-current/80',\n 'ring-current/20 ring-offset-current',\n 'hover:bg-current/20',\n 'disabled:opacity-50',\n\n // Ring + animation\n 'ring-0 transition-all duration-300 ease-in-out hover:ring-4 focus-visible:ring-6',\n\n // centered custom checkmark with text-opposite color\n \"checked:before:absolute checked:before:inset-0 checked:before:content-['✓']\",\n 'checked:before:flex checked:before:items-center checked:before:justify-center',\n 'checked:before:text-text-opposite/80',\n\n // Corner shape\n 'rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl',\n\n \"after:absolute after:-inset-2 after:content-['']\",\n ].join(' '),\n {\n variants: {\n variant: {\n default: '',\n },\n size: {\n xs: 'size-3 rounded-sm',\n sm: 'size-4 rounded-md',\n md: 'size-5 rounded-lg',\n lg: 'size-6 rounded-xl',\n },\n color: {\n primary: 'accent-primary',\n secondary: 'accent-secondary',\n destructive: 'accent-destructive',\n neutral: 'accent-neutral',\n light: 'accent-light',\n text: 'accent-text',\n dark: 'accent-dark',\n error: 'accent-error',\n success: 'accent-success',\n custom: 'accent-custom',\n },\n validationStyleEnabled: {\n disabled: '',\n enabled: 'valid:border-success invalid:border-error',\n },\n },\n defaultVariants: {\n variant: 'default',\n color: 'primary',\n validationStyleEnabled: 'disabled',\n size: 'md',\n },\n }\n);\n\nexport enum CheckboxSize {\n XS = 'xs',\n SM = 'sm',\n MD = 'md',\n LG = 'lg',\n}\n\nexport enum CheckboxColor {\n PRIMARY = 'primary',\n SECONDARY = 'secondary',\n DESTRUCTIVE = 'destructive',\n NEUTRAL = 'neutral',\n LIGHT = 'light',\n TEXT = 'text',\n DARK = 'dark',\n ERROR = 'error',\n SUCCESS = 'success',\n CUSTOM = 'custom',\n}\n\nexport type CheckboxProps = Omit<\n DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>,\n 'size'\n> & {\n name: string;\n validationStyleEnabled?: boolean;\n label?: ReactNode;\n} & Omit<\n VariantProps<typeof checkboxVariants>,\n 'validationStyleEnabled' | 'size' | 'color'\n > & {\n size?: CheckboxSize | `${CheckboxSize}`;\n color?: CheckboxColor | `${CheckboxColor}`;\n labelClassName?: string;\n };\n\nconst Input: FC<CheckboxProps> = ({\n validationStyleEnabled = false,\n label,\n size,\n color,\n name,\n variant,\n className,\n labelClassName,\n ...props\n}) => (\n <input\n type=\"checkbox\"\n className={cn(\n checkboxVariants({\n variant,\n size,\n color,\n validationStyleEnabled: validationStyleEnabled ? 'enabled' : 'disabled',\n }),\n className\n )}\n {...props}\n />\n);\n\nexport const Checkbox: FC<CheckboxProps> = (props) => {\n const { label, name, id } = props;\n\n return label ? (\n <label\n htmlFor={id ?? name}\n className={cn(\n 'flex w-full cursor-pointer items-center gap-x-4 font-medium text-sm',\n props.labelClassName\n )}\n >\n <Input id={id ?? name} {...props} />\n {label}\n </label>\n ) : (\n <Input id={id ?? name} {...props} />\n );\n};\n"],"mappings":"yIASA,MAAa,EAAmB,EAC9B,CACE,kBACA,mCACA,kBACA,wEACA,sCACA,sBACA,sBAGA,mFAGA,8EACA,gFACA,uCAGA,kFAEA,mDACD,CAAC,KAAK,IAAI,CACX,CACE,SAAU,CACR,QAAS,CACP,QAAS,GACV,CACD,KAAM,CACJ,GAAI,oBACJ,GAAI,oBACJ,GAAI,oBACJ,GAAI,oBACL,CACD,MAAO,CACL,QAAS,iBACT,UAAW,mBACX,YAAa,qBACb,QAAS,iBACT,MAAO,eACP,KAAM,cACN,KAAM,cACN,MAAO,eACP,QAAS,iBACT,OAAQ,gBACT,CACD,uBAAwB,CACtB,SAAU,GACV,QAAS,4CACV,CACF,CACD,gBAAiB,CACf,QAAS,UACT,MAAO,UACP,uBAAwB,WACxB,KAAM,KACP,CACF,CACF,CAED,IAAY,EAAA,SAAA,EAAL,OACL,GAAA,GAAA,KACA,EAAA,GAAA,KACA,EAAA,GAAA,KACA,EAAA,GAAA,YAGU,EAAA,SAAA,EAAL,OACL,GAAA,QAAA,UACA,EAAA,UAAA,YACA,EAAA,YAAA,cACA,EAAA,QAAA,UACA,EAAA,MAAA,QACA,EAAA,KAAA,OACA,EAAA,KAAA,OACA,EAAA,MAAA,QACA,EAAA,QAAA,UACA,EAAA,OAAA,gBAmBF,MAAM,GAA4B,CAChC,yBAAyB,GACzB,QACA,OACA,QACA,OACA,UACA,YACA,iBACA,GAAG,KAEH,EAAC,QAAA,CACC,KAAK,WACL,UAAW,EACT,EAAiB,CACf,UACA,OACA,QACA,uBAAwB,EAAyB,UAAY,WAC9D,CAAC,CACF,EACD,CACD,GAAI,GACJ,CAGS,EAA+B,GAAU,CACpD,GAAM,CAAE,QAAO,OAAM,MAAO,EAE5B,OAAO,EACL,EAAC,QAAA,CACC,QAAS,GAAM,EACf,UAAW,EACT,sEACA,EAAM,eACP,WAED,EAAC,EAAA,CAAM,GAAI,GAAM,EAAM,GAAI,GAAS,CACnC,EAAA,EACK,CAER,EAAC,EAAA,CAAM,GAAI,GAAM,EAAM,GAAI,GAAS"}
1
+ {"version":3,"file":"Checkbox.mjs","names":[],"sources":["../../../../src/components/Input/Checkbox.tsx"],"sourcesContent":["import { cn } from '@utils/cn';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport type {\n DetailedHTMLProps,\n FC,\n InputHTMLAttributes,\n ReactNode,\n} from 'react';\n\nexport const checkboxVariants = cva(\n [\n 'appearance-none',\n 'relative cursor-pointer border-2',\n 'focus:outline-0',\n 'checked:border-current checked:bg-current checked:hover:bg-current/80',\n 'ring-current/20 ring-offset-current',\n 'hover:bg-current/20',\n 'disabled:opacity-50',\n\n // Ring + animation\n 'ring-0 transition-all duration-300 ease-in-out hover:ring-4 focus-visible:ring-6',\n\n // centered custom checkmark with text-opposite color\n \"checked:before:absolute checked:before:inset-0 checked:before:content-['✓']\",\n 'checked:before:flex checked:before:items-center checked:before:justify-center',\n 'checked:before:text-text-opposite/80',\n\n // Corner shape\n 'rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl',\n\n \"after:absolute after:-inset-2 after:content-['']\",\n ].join(' '),\n {\n variants: {\n variant: {\n default: '',\n },\n size: {\n xs: 'size-3 rounded-sm',\n sm: 'size-4 rounded-md',\n md: 'size-5 rounded-lg',\n lg: 'size-6 rounded-xl',\n },\n color: {\n primary: 'accent-primary',\n secondary: 'accent-secondary',\n destructive: 'accent-destructive',\n neutral: 'accent-neutral',\n light: 'accent-light',\n text: 'accent-text',\n dark: 'accent-dark',\n error: 'accent-error',\n success: 'accent-success',\n custom: 'accent-custom',\n },\n validationStyleEnabled: {\n disabled: '',\n enabled: 'valid:border-success invalid:border-error',\n },\n },\n defaultVariants: {\n variant: 'default',\n color: 'primary',\n validationStyleEnabled: 'disabled',\n size: 'md',\n },\n }\n);\n\nexport enum CheckboxSize {\n XS = 'xs',\n SM = 'sm',\n MD = 'md',\n LG = 'lg',\n}\n\nexport enum CheckboxColor {\n PRIMARY = 'primary',\n SECONDARY = 'secondary',\n DESTRUCTIVE = 'destructive',\n NEUTRAL = 'neutral',\n LIGHT = 'light',\n TEXT = 'text',\n DARK = 'dark',\n ERROR = 'error',\n SUCCESS = 'success',\n CUSTOM = 'custom',\n}\n\nexport type CheckboxProps = Omit<\n DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>,\n 'size'\n> & {\n name: string;\n validationStyleEnabled?: boolean;\n label?: ReactNode;\n} & Omit<\n VariantProps<typeof checkboxVariants>,\n 'validationStyleEnabled' | 'size' | 'color'\n > & {\n size?: CheckboxSize | `${CheckboxSize}`;\n color?: CheckboxColor | `${CheckboxColor}`;\n labelClassName?: string;\n };\n\nconst Input: FC<CheckboxProps> = ({\n validationStyleEnabled = false,\n label,\n size,\n color,\n name,\n variant,\n className,\n labelClassName,\n ...props\n}) => (\n <input\n type=\"checkbox\"\n className={cn(\n checkboxVariants({\n variant,\n size,\n color,\n validationStyleEnabled: validationStyleEnabled ? 'enabled' : 'disabled',\n }),\n className\n )}\n {...props}\n />\n);\n\nexport const Checkbox: FC<CheckboxProps> = (props) => {\n const { label, name, id } = props;\n\n return label ? (\n <label\n htmlFor={id ?? name}\n className={cn(\n 'flex w-full cursor-pointer items-center gap-x-4 font-medium text-sm',\n props.size === 'xs' && 'text-xs',\n props.labelClassName\n )}\n >\n <Input id={id ?? name} {...props} />\n {label}\n </label>\n ) : (\n <Input id={id ?? name} {...props} />\n );\n};\n"],"mappings":"yIASA,MAAa,EAAmB,EAC9B,CACE,kBACA,mCACA,kBACA,wEACA,sCACA,sBACA,sBAGA,mFAGA,8EACA,gFACA,uCAGA,kFAEA,mDACD,CAAC,KAAK,IAAI,CACX,CACE,SAAU,CACR,QAAS,CACP,QAAS,GACV,CACD,KAAM,CACJ,GAAI,oBACJ,GAAI,oBACJ,GAAI,oBACJ,GAAI,oBACL,CACD,MAAO,CACL,QAAS,iBACT,UAAW,mBACX,YAAa,qBACb,QAAS,iBACT,MAAO,eACP,KAAM,cACN,KAAM,cACN,MAAO,eACP,QAAS,iBACT,OAAQ,gBACT,CACD,uBAAwB,CACtB,SAAU,GACV,QAAS,4CACV,CACF,CACD,gBAAiB,CACf,QAAS,UACT,MAAO,UACP,uBAAwB,WACxB,KAAM,KACP,CACF,CACF,CAED,IAAY,EAAA,SAAA,EAAL,OACL,GAAA,GAAA,KACA,EAAA,GAAA,KACA,EAAA,GAAA,KACA,EAAA,GAAA,YAGU,EAAA,SAAA,EAAL,OACL,GAAA,QAAA,UACA,EAAA,UAAA,YACA,EAAA,YAAA,cACA,EAAA,QAAA,UACA,EAAA,MAAA,QACA,EAAA,KAAA,OACA,EAAA,KAAA,OACA,EAAA,MAAA,QACA,EAAA,QAAA,UACA,EAAA,OAAA,gBAmBF,MAAM,GAA4B,CAChC,yBAAyB,GACzB,QACA,OACA,QACA,OACA,UACA,YACA,iBACA,GAAG,KAEH,EAAC,QAAA,CACC,KAAK,WACL,UAAW,EACT,EAAiB,CACf,UACA,OACA,QACA,uBAAwB,EAAyB,UAAY,WAC9D,CAAC,CACF,EACD,CACD,GAAI,GACJ,CAGS,EAA+B,GAAU,CACpD,GAAM,CAAE,QAAO,OAAM,MAAO,EAE5B,OAAO,EACL,EAAC,QAAA,CACC,QAAS,GAAM,EACf,UAAW,EACT,sEACA,EAAM,OAAS,MAAQ,UACvB,EAAM,eACP,WAED,EAAC,EAAA,CAAM,GAAI,GAAM,EAAM,GAAI,GAAS,CACnC,EAAA,EACK,CAER,EAAC,EAAA,CAAM,GAAI,GAAM,EAAM,GAAI,GAAS"}
@@ -43,9 +43,9 @@ declare enum BadgeSize {
43
43
  * @description Defines the styling variants for different badge combinations
44
44
  */
45
45
  declare const badgeVariants: (props?: {
46
- color?: "primary" | "secondary" | "destructive" | "success" | "error" | "neutral" | "light" | "dark" | "text" | "custom";
47
- variant?: "default" | "none" | "outline" | "hoverable";
48
- size?: "sm" | "md" | "lg";
46
+ color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "success" | "error" | "custom";
47
+ variant?: "none" | "default" | "outline" | "hoverable";
48
+ size?: "lg" | "md" | "sm";
49
49
  } & class_variance_authority_types0.ClassProp) => string;
50
50
  /**
51
51
  * Badge component props interface
@@ -24,7 +24,7 @@ declare const breadCrumbContent: {
24
24
  vi: string;
25
25
  uk: string;
26
26
  }, {
27
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
27
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
28
28
  } & {
29
29
  translation: {
30
30
  en: string;
@@ -24,7 +24,7 @@ declare const browserContent: {
24
24
  vi: string;
25
25
  uk: string;
26
26
  }, {
27
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
27
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
28
28
  } & {
29
29
  translation: {
30
30
  en: string;
@@ -67,7 +67,7 @@ declare const browserContent: {
67
67
  vi: string;
68
68
  uk: string;
69
69
  }, {
70
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
70
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
71
71
  } & {
72
72
  translation: {
73
73
  en: string;
@@ -111,7 +111,7 @@ declare const browserContent: {
111
111
  vi: string;
112
112
  uk: string;
113
113
  }, {
114
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
114
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
115
115
  } & {
116
116
  translation: {
117
117
  en: string;
@@ -154,7 +154,7 @@ declare const browserContent: {
154
154
  vi: string;
155
155
  uk: string;
156
156
  }, {
157
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
157
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
158
158
  } & {
159
159
  translation: {
160
160
  en: string;
@@ -197,7 +197,7 @@ declare const browserContent: {
197
197
  vi: string;
198
198
  uk: string;
199
199
  }, {
200
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
200
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
201
201
  } & {
202
202
  translation: {
203
203
  en: string;
@@ -240,7 +240,7 @@ declare const browserContent: {
240
240
  vi: string;
241
241
  uk: string;
242
242
  }, {
243
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
243
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
244
244
  } & {
245
245
  translation: {
246
246
  en: string;
@@ -283,7 +283,7 @@ declare const browserContent: {
283
283
  vi: string;
284
284
  uk: string;
285
285
  }, {
286
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
286
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
287
287
  } & {
288
288
  translation: {
289
289
  en: string;
@@ -326,7 +326,7 @@ declare const browserContent: {
326
326
  vi: string;
327
327
  uk: string;
328
328
  }, {
329
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
329
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
330
330
  } & {
331
331
  translation: {
332
332
  en: string;
@@ -60,10 +60,10 @@ declare enum ButtonTextAlign {
60
60
  * Enhanced button variants with improved accessibility and focus states
61
61
  */
62
62
  declare const buttonVariants: (props?: {
63
- size?: "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
64
- color?: "primary" | "secondary" | "destructive" | "success" | "error" | "neutral" | "light" | "dark" | "text" | "custom" | "card" | "current" | "text-inverse";
65
- roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "full";
66
- variant?: "input" | "default" | "none" | "outline" | "hoverable" | "link" | "invisible-link" | "fade";
63
+ size?: "lg" | "md" | "sm" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
64
+ color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "success" | "error" | "custom" | "card" | "current" | "text-inverse";
65
+ roundedSize?: "lg" | "none" | "md" | "sm" | "xl" | "2xl" | "3xl" | "full" | "4xl" | "5xl";
66
+ variant?: "none" | "default" | "input" | "outline" | "hoverable" | "link" | "invisible-link" | "fade";
67
67
  textAlign?: "left" | "center" | "right";
68
68
  isFullWidth?: boolean;
69
69
  } & class_variance_authority_types0.ClassProp) => string;
@@ -25,7 +25,7 @@ declare const carouselContent: {
25
25
  vi: string;
26
26
  zh: string;
27
27
  }, {
28
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
28
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
29
29
  } & {
30
30
  translation: {
31
31
  ar: string;
@@ -68,7 +68,7 @@ declare const carouselContent: {
68
68
  vi: string;
69
69
  uk: string;
70
70
  }, {
71
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
71
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
72
72
  } & {
73
73
  translation: {
74
74
  en: string;
@@ -111,7 +111,7 @@ declare const carouselContent: {
111
111
  vi: string;
112
112
  uk: string;
113
113
  }, {
114
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
114
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
115
115
  } & {
116
116
  translation: {
117
117
  en: 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" | "sm" | "md" | "lg" | "auto";
9
+ spacing?: "sm" | "md" | "lg" | "none" | "auto";
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 */
@@ -9,11 +9,11 @@ import { VariantProps } from "class-variance-authority";
9
9
  */
10
10
  declare const containerVariants: (props?: {
11
11
  roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "full";
12
- transparency?: "none" | "sm" | "md" | "lg" | "xs" | "xl" | "full";
12
+ transparency?: "none" | "sm" | "md" | "lg" | "xl" | "full" | "xs";
13
13
  padding?: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
14
14
  separator?: "without" | "x" | "y" | "both";
15
15
  border?: "with" | "none";
16
- borderColor?: "error" | "primary" | "secondary" | "success" | "neutral" | "text" | "card" | "warning";
16
+ borderColor?: "primary" | "secondary" | "neutral" | "card" | "text" | "error" | "warning" | "success";
17
17
  background?: "with" | "none" | "hoverable";
18
18
  gap?: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
19
19
  } & class_variance_authority_types0.ClassProp) => string;
@@ -24,7 +24,7 @@ declare const copyContentContent: {
24
24
  vi: string;
25
25
  uk: string;
26
26
  }, {
27
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
27
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
28
28
  } & {
29
29
  translation: {
30
30
  en: string;
@@ -25,7 +25,7 @@ declare const dictionaryFormContent: {
25
25
  vi: string;
26
26
  uk: string;
27
27
  }, {
28
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
28
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
29
29
  } & {
30
30
  translation: {
31
31
  en: string;
@@ -68,7 +68,7 @@ declare const dictionaryFormContent: {
68
68
  vi: string;
69
69
  uk: string;
70
70
  }, {
71
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
71
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
72
72
  } & {
73
73
  translation: {
74
74
  en: string;
@@ -113,7 +113,7 @@ declare const dictionaryFormContent: {
113
113
  vi: string;
114
114
  uk: string;
115
115
  }, {
116
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
116
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
117
117
  } & {
118
118
  translation: {
119
119
  en: string;
@@ -156,7 +156,7 @@ declare const dictionaryFormContent: {
156
156
  vi: string;
157
157
  uk: string;
158
158
  }, {
159
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
159
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
160
160
  } & {
161
161
  translation: {
162
162
  en: string;
@@ -201,7 +201,7 @@ declare const dictionaryFormContent: {
201
201
  vi: string;
202
202
  uk: string;
203
203
  }, {
204
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
204
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
205
205
  } & {
206
206
  translation: {
207
207
  en: string;
@@ -244,7 +244,7 @@ declare const dictionaryFormContent: {
244
244
  vi: string;
245
245
  uk: string;
246
246
  }, {
247
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
247
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
248
248
  } & {
249
249
  translation: {
250
250
  en: string;
@@ -288,7 +288,7 @@ declare const dictionaryFormContent: {
288
288
  vi: string;
289
289
  uk: string;
290
290
  }, {
291
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
291
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
292
292
  } & {
293
293
  translation: {
294
294
  en: string;
@@ -331,7 +331,7 @@ declare const dictionaryFormContent: {
331
331
  vi: string;
332
332
  uk: string;
333
333
  }, {
334
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
334
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
335
335
  } & {
336
336
  translation: {
337
337
  en: string;
@@ -375,7 +375,7 @@ declare const dictionaryFormContent: {
375
375
  vi: string;
376
376
  uk: string;
377
377
  }, {
378
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
378
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
379
379
  } & {
380
380
  translation: {
381
381
  en: string;
@@ -418,7 +418,7 @@ declare const dictionaryFormContent: {
418
418
  vi: string;
419
419
  uk: string;
420
420
  }, {
421
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
421
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
422
422
  } & {
423
423
  translation: {
424
424
  en: string;
@@ -463,7 +463,7 @@ declare const dictionaryFormContent: {
463
463
  vi: string;
464
464
  uk: string;
465
465
  }, {
466
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
466
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
467
467
  } & {
468
468
  translation: {
469
469
  en: string;
@@ -506,7 +506,7 @@ declare const dictionaryFormContent: {
506
506
  vi: string;
507
507
  uk: string;
508
508
  }, {
509
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
509
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
510
510
  } & {
511
511
  translation: {
512
512
  en: string;
@@ -24,7 +24,7 @@ declare const dictionaryFormSchemaContent: {
24
24
  vi: string;
25
25
  uk: string;
26
26
  }, {
27
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
27
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
28
28
  } & {
29
29
  translation: {
30
30
  en: string;
@@ -67,7 +67,7 @@ declare const dictionaryFormSchemaContent: {
67
67
  vi: string;
68
68
  uk: string;
69
69
  }, {
70
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
70
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
71
71
  } & {
72
72
  translation: {
73
73
  en: string;
@@ -110,7 +110,7 @@ declare const dictionaryFormSchemaContent: {
110
110
  vi: string;
111
111
  uk: string;
112
112
  }, {
113
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
113
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
114
114
  } & {
115
115
  translation: {
116
116
  en: string;
@@ -153,7 +153,7 @@ declare const dictionaryFormSchemaContent: {
153
153
  vi: string;
154
154
  uk: string;
155
155
  }, {
156
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
156
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
157
157
  } & {
158
158
  translation: {
159
159
  en: string;
@@ -25,7 +25,7 @@ declare const dictionaryDetailsContent: {
25
25
  vi: string;
26
26
  uk: string;
27
27
  }, {
28
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
28
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
29
29
  } & {
30
30
  translation: {
31
31
  en: string;
@@ -68,7 +68,7 @@ declare const dictionaryDetailsContent: {
68
68
  vi: string;
69
69
  uk: string;
70
70
  }, {
71
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
71
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
72
72
  } & {
73
73
  translation: {
74
74
  en: string;
@@ -111,7 +111,7 @@ declare const dictionaryDetailsContent: {
111
111
  vi: string;
112
112
  uk: string;
113
113
  }, {
114
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
114
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
115
115
  } & {
116
116
  translation: {
117
117
  en: string;
@@ -156,7 +156,7 @@ declare const dictionaryDetailsContent: {
156
156
  vi: string;
157
157
  uk: string;
158
158
  }, {
159
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
159
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
160
160
  } & {
161
161
  translation: {
162
162
  en: string;
@@ -199,7 +199,7 @@ declare const dictionaryDetailsContent: {
199
199
  vi: string;
200
200
  uk: string;
201
201
  }, {
202
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
202
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
203
203
  } & {
204
204
  translation: {
205
205
  en: string;
@@ -242,7 +242,7 @@ declare const dictionaryDetailsContent: {
242
242
  vi: string;
243
243
  uk: string;
244
244
  }, {
245
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
245
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
246
246
  } & {
247
247
  translation: {
248
248
  en: string;
@@ -287,7 +287,7 @@ declare const dictionaryDetailsContent: {
287
287
  vi: string;
288
288
  uk: string;
289
289
  }, {
290
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
290
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
291
291
  } & {
292
292
  translation: {
293
293
  en: string;
@@ -330,7 +330,7 @@ declare const dictionaryDetailsContent: {
330
330
  vi: string;
331
331
  uk: string;
332
332
  }, {
333
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
333
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
334
334
  } & {
335
335
  translation: {
336
336
  en: string;
@@ -373,7 +373,7 @@ declare const dictionaryDetailsContent: {
373
373
  vi: string;
374
374
  uk: string;
375
375
  }, {
376
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
376
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
377
377
  } & {
378
378
  translation: {
379
379
  en: string;
@@ -418,7 +418,7 @@ declare const dictionaryDetailsContent: {
418
418
  vi: string;
419
419
  uk: string;
420
420
  }, {
421
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
421
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
422
422
  } & {
423
423
  translation: {
424
424
  en: string;
@@ -461,7 +461,7 @@ declare const dictionaryDetailsContent: {
461
461
  vi: string;
462
462
  uk: string;
463
463
  }, {
464
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
464
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
465
465
  } & {
466
466
  translation: {
467
467
  en: string;
@@ -504,7 +504,7 @@ declare const dictionaryDetailsContent: {
504
504
  vi: string;
505
505
  uk: string;
506
506
  }, {
507
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
507
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
508
508
  } & {
509
509
  translation: {
510
510
  en: string;
@@ -549,7 +549,7 @@ declare const dictionaryDetailsContent: {
549
549
  vi: string;
550
550
  uk: string;
551
551
  }, {
552
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
552
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
553
553
  } & {
554
554
  translation: {
555
555
  en: string;
@@ -592,7 +592,7 @@ declare const dictionaryDetailsContent: {
592
592
  vi: string;
593
593
  uk: string;
594
594
  }, {
595
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
595
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
596
596
  } & {
597
597
  translation: {
598
598
  en: string;
@@ -635,7 +635,7 @@ declare const dictionaryDetailsContent: {
635
635
  vi: string;
636
636
  uk: string;
637
637
  }, {
638
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
638
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
639
639
  } & {
640
640
  translation: {
641
641
  en: string;
@@ -680,7 +680,7 @@ declare const dictionaryDetailsContent: {
680
680
  vi: string;
681
681
  uk: string;
682
682
  }, {
683
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
683
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
684
684
  } & {
685
685
  translation: {
686
686
  en: string;
@@ -723,7 +723,7 @@ declare const dictionaryDetailsContent: {
723
723
  vi: string;
724
724
  uk: string;
725
725
  }, {
726
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
726
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
727
727
  } & {
728
728
  translation: {
729
729
  en: string;
@@ -766,7 +766,7 @@ declare const dictionaryDetailsContent: {
766
766
  vi: string;
767
767
  uk: string;
768
768
  }, {
769
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
769
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
770
770
  } & {
771
771
  translation: {
772
772
  en: string;
@@ -809,7 +809,7 @@ declare const dictionaryDetailsContent: {
809
809
  vi: string;
810
810
  uk: string;
811
811
  }, {
812
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
812
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
813
813
  } & {
814
814
  translation: {
815
815
  en: string;
@@ -854,7 +854,7 @@ declare const dictionaryDetailsContent: {
854
854
  vi: string;
855
855
  uk: string;
856
856
  }, {
857
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
857
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
858
858
  } & {
859
859
  translation: {
860
860
  en: string;
@@ -897,7 +897,7 @@ declare const dictionaryDetailsContent: {
897
897
  vi: string;
898
898
  uk: string;
899
899
  }, {
900
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
900
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
901
901
  } & {
902
902
  translation: {
903
903
  en: string;
@@ -940,7 +940,7 @@ declare const dictionaryDetailsContent: {
940
940
  vi: string;
941
941
  uk: string;
942
942
  }, {
943
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
943
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
944
944
  } & {
945
945
  translation: {
946
946
  en: string;
@@ -983,7 +983,7 @@ declare const dictionaryDetailsContent: {
983
983
  vi: string;
984
984
  uk: string;
985
985
  }, {
986
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
986
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
987
987
  } & {
988
988
  translation: {
989
989
  en: string;
@@ -1029,7 +1029,7 @@ declare const dictionaryDetailsContent: {
1029
1029
  vi: string;
1030
1030
  uk: string;
1031
1031
  }, {
1032
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
1032
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
1033
1033
  } & {
1034
1034
  translation: {
1035
1035
  en: string;
@@ -1072,7 +1072,7 @@ declare const dictionaryDetailsContent: {
1072
1072
  vi: string;
1073
1073
  uk: string;
1074
1074
  }, {
1075
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
1075
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
1076
1076
  } & {
1077
1077
  translation: {
1078
1078
  en: string;
@@ -1115,7 +1115,7 @@ declare const dictionaryDetailsContent: {
1115
1115
  vi: string;
1116
1116
  uk: string;
1117
1117
  }, {
1118
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
1118
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
1119
1119
  } & {
1120
1120
  translation: {
1121
1121
  en: string;
@@ -1160,7 +1160,7 @@ declare const dictionaryDetailsContent: {
1160
1160
  vi: string;
1161
1161
  uk: string;
1162
1162
  }, {
1163
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
1163
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
1164
1164
  } & {
1165
1165
  translation: {
1166
1166
  en: string;