@intlayer/design-system 7.5.2 → 7.5.4

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 (100) hide show
  1. package/dist/esm/components/Tab/Tab.mjs +1 -0
  2. package/dist/esm/components/Tab/Tab.mjs.map +1 -1
  3. package/dist/esm/components/TabSelector/TabSelector.mjs +2 -2
  4. package/dist/esm/components/TabSelector/TabSelector.mjs.map +1 -1
  5. package/dist/types/components/Badge/index.d.ts +2 -2
  6. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +3 -3
  7. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts.map +1 -1
  8. package/dist/types/components/Breadcrumb/index.d.ts +2 -2
  9. package/dist/types/components/Breadcrumb/index.d.ts.map +1 -1
  10. package/dist/types/components/Browser/Browser.content.d.ts +11 -11
  11. package/dist/types/components/Browser/Browser.content.d.ts.map +1 -1
  12. package/dist/types/components/Button/Button.d.ts +6 -6
  13. package/dist/types/components/Button/Button.d.ts.map +1 -1
  14. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +3 -3
  15. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts.map +1 -1
  16. package/dist/types/components/Container/index.d.ts +4 -4
  17. package/dist/types/components/Container/index.d.ts.map +1 -1
  18. package/dist/types/components/CopyButton/CopyButton.content.d.ts +3 -3
  19. package/dist/types/components/CopyButton/CopyButton.content.d.ts.map +1 -1
  20. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +25 -25
  21. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -9
  22. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -1
  23. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +33 -33
  24. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +25 -25
  25. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -1
  26. package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +25 -25
  27. package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +33 -33
  28. package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +9 -9
  29. package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +7 -7
  30. package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +5 -5
  31. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +31 -31
  32. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
  33. package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +3 -3
  34. package/dist/types/components/Form/FormItem.d.ts +2 -2
  35. package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
  36. package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts +2 -2
  37. package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts.map +1 -1
  38. package/dist/types/components/Form/elements/FormElement.d.ts +2 -2
  39. package/dist/types/components/Form/elements/MultiselectElement.d.ts +2 -2
  40. package/dist/types/components/Form/elements/OTPElement.d.ts +2 -2
  41. package/dist/types/components/Form/elements/SelectElement.d.ts +2 -2
  42. package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts +2 -2
  43. package/dist/types/components/IDE/CodeContext.d.ts +2 -2
  44. package/dist/types/components/IDE/code.content.d.ts +5 -5
  45. package/dist/types/components/IDE/code.content.d.ts.map +1 -1
  46. package/dist/types/components/IDE/copyCode.content.d.ts +5 -5
  47. package/dist/types/components/IDE/copyCode.content.d.ts.map +1 -1
  48. package/dist/types/components/IDE/selectors.content.d.ts +7 -7
  49. package/dist/types/components/Input/Checkbox.d.ts +4 -4
  50. package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
  51. package/dist/types/components/Input/Input.d.ts +3 -3
  52. package/dist/types/components/Input/Input.d.ts.map +1 -1
  53. package/dist/types/components/Input/OTPInput.d.ts +6 -6
  54. package/dist/types/components/Input/OTPInput.d.ts.map +1 -1
  55. package/dist/types/components/Input/SearchInput.d.ts +2 -2
  56. package/dist/types/components/Input/SearchInput.d.ts.map +1 -1
  57. package/dist/types/components/Link/Link.d.ts +6 -6
  58. package/dist/types/components/Loader/index.content.d.ts +3 -3
  59. package/dist/types/components/Loader/index.content.d.ts.map +1 -1
  60. package/dist/types/components/Loader/spinner.d.ts +2 -2
  61. package/dist/types/components/Loader/spinner.d.ts.map +1 -1
  62. package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -17
  63. package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -13
  64. package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -1
  65. package/dist/types/components/MaxWidthSmoother/index.d.ts +2 -2
  66. package/dist/types/components/MaxWidthSmoother/index.d.ts.map +1 -1
  67. package/dist/types/components/Navbar/Burger.d.ts +2 -2
  68. package/dist/types/components/Navbar/Burger.d.ts.map +1 -1
  69. package/dist/types/components/Navbar/DesktopNavbar.d.ts +2 -2
  70. package/dist/types/components/Navbar/DesktopNavbar.d.ts.map +1 -1
  71. package/dist/types/components/Navbar/MobileNavbar.d.ts +2 -2
  72. package/dist/types/components/Navbar/MobileNavbar.d.ts.map +1 -1
  73. package/dist/types/components/Navbar/index.d.ts +2 -2
  74. package/dist/types/components/Navbar/index.d.ts.map +1 -1
  75. package/dist/types/components/Pagination/Pagination.d.ts +2 -2
  76. package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
  77. package/dist/types/components/Pagination/pagination.content.d.ts +11 -11
  78. package/dist/types/components/RightDrawer/useRightDrawerStore.d.ts +2 -2
  79. package/dist/types/components/Select/Select.d.ts +3 -3
  80. package/dist/types/components/SocialNetworks/index.d.ts +2 -2
  81. package/dist/types/components/SocialNetworks/index.d.ts.map +1 -1
  82. package/dist/types/components/SwitchSelector/index.d.ts +6 -6
  83. package/dist/types/components/SwitchSelector/index.d.ts.map +1 -1
  84. package/dist/types/components/Tab/Tab.d.ts +5 -5
  85. package/dist/types/components/Tab/Tab.d.ts.map +1 -1
  86. package/dist/types/components/Tab/TabContext.d.ts +2 -2
  87. package/dist/types/components/TabSelector/TabSelector.d.ts +5 -5
  88. package/dist/types/components/TabSelector/TabSelector.d.ts.map +1 -1
  89. package/dist/types/components/Table/table.content.d.ts +3 -3
  90. package/dist/types/components/Table/table.content.d.ts.map +1 -1
  91. package/dist/types/components/Tag/index.d.ts +5 -5
  92. package/dist/types/components/Tag/index.d.ts.map +1 -1
  93. package/dist/types/components/Terminal/terminal.content.d.ts +5 -5
  94. package/dist/types/components/Terminal/terminal.content.d.ts.map +1 -1
  95. package/dist/types/components/Toaster/Toast.d.ts +3 -3
  96. package/dist/types/components/Toaster/Toast.d.ts.map +1 -1
  97. package/dist/types/components/Toaster/Toaster.d.ts +2 -2
  98. package/dist/types/components/Toaster/Toaster.d.ts.map +1 -1
  99. package/dist/types/hooks/useScrollBlockage/useScrollBlockageStore.d.ts +2 -2
  100. package/package.json +14 -14
@@ -96,6 +96,7 @@ const TabComponent = ({ defaultTab, group, variant, children, className, ...prop
96
96
  "aria-selected": isActive,
97
97
  "aria-controls": `tabpanel-${value}`,
98
98
  id: `tab-${value}`,
99
+ type: "button",
99
100
  children: label
100
101
  }, value);
101
102
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"Tab.mjs","names":["contextValue: TabContextType","props","children"],"sources":["../../../../src/components/Tab/Tab.tsx"],"sourcesContent":["'use client';\n\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport {\n Children,\n createContext,\n type HTMLAttributes,\n isValidElement,\n type ReactElement,\n type ReactNode,\n useState,\n} from 'react';\nimport { useHorizontalSwipe } from '../../hooks';\nimport { cn } from '../../utils/cn';\nimport { TabSelector, TabSelectorColor } from '../TabSelector';\nimport { useTabContext } from './TabContext';\n\n// Context for managing tab state\ntype TabContextType = {\n activeTab: string;\n setActiveTab: (tab: string) => void;\n};\n\nconst TabContext = createContext<TabContextType | undefined>(undefined);\n\n// Tab container variants\nconst tabContainerVariant = cva(\n 'relative w-full rounded-lg border border-neutral/20 bg-background/2 shadow-[0_0_10px_-15px_rgba(0,0,0,0.3)] backdrop-blur',\n {\n variants: {\n variant: {\n default: '',\n bordered: 'border-2',\n ghost: 'border-0 bg-transparent shadow-none',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n);\n\nexport type TabProps = HTMLAttributes<HTMLDivElement> &\n VariantProps<typeof tabContainerVariant> & {\n defaultTab?: string;\n group?: string;\n children: ReactNode;\n };\n\nexport type TabItemProps = HTMLAttributes<HTMLDivElement> & {\n label: string;\n value: string;\n disabled?: boolean;\n children: ReactNode;\n};\n\n/**\n * TabItem component that represents a single tab\n * Must be used as a child of the Tab component\n */\nconst TabItem = ({ children, ...props }: TabItemProps) => (\n // This component is primarily used for its props by the parent Tab component\n // The actual rendering is handled by the Tab component\n <div {...props}>{children}</div>\n);\n\n// Add display name for better debugging\nTabItem.displayName = 'TabItem';\n\n/**\n * Tab container component that manages tab state and renders tab headers and content\n *\n * Example:\n * ```jsx\n * <Tab defaultTab=\"tab1\">\n * <Tab.Item label=\"First Tab\" value=\"tab1\">\n * Content for first tab\n * </Tab.Item>\n * <Tab.Item label=\"Second Tab\" value=\"tab2\">\n * Content for second tab\n * </Tab.Item>\n * </Tab>\n * ```\n */\nconst TabComponent = ({\n defaultTab,\n group,\n variant,\n children,\n className,\n ...props\n}: TabProps) => {\n // Extract TabItem children to get their props\n const tabItems = Children.toArray(children).filter((child) => {\n return isValidElement(child) && child.type === TabItem;\n }) as ReactElement<TabItemProps>[];\n\n const firstTabValue = tabItems[0]?.props?.value;\n const { tabsValues, setTabsValues } = useTabContext();\n const [activeTab, setActiveTab] = useState(defaultTab ?? firstTabValue ?? '');\n const hasGroup = group && typeof tabsValues === 'object';\n const currentTabValue =\n (hasGroup ? tabsValues?.[group] : activeTab) ?? defaultTab ?? firstTabValue;\n const activeTabIndex = tabItems.findIndex(\n (tab) => tab.props.value === currentTabValue\n );\n\n const tabsCount = tabItems.length;\n\n const { containerProps, dragDeltaPct, isDragging } = useHorizontalSwipe({\n itemIndex: activeTabIndex,\n itemCount: tabsCount,\n onSwipeLeft: () => {\n const targetIndex = Math.min(tabsCount - 1, activeTabIndex + 1);\n const nextValue = tabItems[targetIndex]?.props?.value;\n if (nextValue) handleSetActiveTab(nextValue);\n },\n onSwipeRight: () => {\n const targetIndex = Math.max(0, activeTabIndex - 1);\n const nextValue = tabItems[targetIndex]?.props?.value;\n if (nextValue) handleSetActiveTab(nextValue);\n },\n });\n\n const handleSetActiveTab = (tab: string) => {\n setActiveTab(tab);\n\n if (typeof setTabsValues === 'function') {\n setTabsValues((prev) => ({ ...prev, [group!]: tab }));\n }\n };\n\n const contextValue: TabContextType = {\n activeTab: activeTab ?? firstTabValue ?? '',\n setActiveTab: handleSetActiveTab,\n };\n\n return (\n <TabContext.Provider value={contextValue}>\n <div\n className={cn(tabContainerVariant({ variant }), className)}\n {...props}\n >\n {/* Tab Headers */}\n <div className=\"sticky top-36 z-10 flex gap-3 bg-background/70 p-3 backdrop-blur\">\n <TabSelector\n selectedChoice={currentTabValue}\n tabs={tabItems.map((child) => {\n const { label, value, disabled } = child.props;\n const isActive = currentTabValue === value;\n\n return (\n <button\n key={value}\n className={cn(\n 'cursor-pointer rounded-md px-4 py-1 font-medium text-sm transition-colors focus:outline-none',\n !isActive && 'text-neutral/70'\n )}\n data-active={isActive}\n disabled={disabled}\n onClick={() => !disabled && handleSetActiveTab(value)}\n role=\"tab\"\n aria-selected={isActive}\n aria-controls={`tabpanel-${value}`}\n id={`tab-${value}`}\n >\n {label}\n </button>\n );\n })}\n hoverable\n color={TabSelectorColor.TEXT}\n />\n </div>\n {/* Tab Content */}\n {/* Clipper: no overflow; uses clip-path */}\n <div\n className=\"relative w-full min-w-0 overflow-x-clip [-webkit-clip-path:inset(0)] [clip-path:inset(0)]\"\n {...containerProps}\n >\n {/* Track */}\n <div\n role=\"tablist\"\n aria-orientation=\"horizontal\"\n className={cn(\n 'grid w-full min-w-0',\n isDragging\n ? 'transition-none'\n : 'transition-transform duration-300 ease-in-out'\n )}\n style={{\n gridTemplateColumns: `repeat(${tabItems.length}, 100%)`,\n transform: `translateX(-${activeTabIndex * 100 - (isDragging ? dragDeltaPct : 0)}%)`,\n }}\n >\n {tabItems.map(({ props }, index) => {\n const { value, children } = props;\n const isActive = index === activeTabIndex;\n\n return (\n <div\n key={value}\n role=\"tabpanel\"\n aria-labelledby={`tab-${value}`}\n id={`tabpanel-${value}`}\n aria-hidden={!isActive}\n tabIndex={isActive ? 0 : -1}\n data-active={isActive}\n className={cn(\n 'w-full min-w-0 p-6 opacity-100 transition-opacity duration-300 ease-in-out',\n !isActive && 'pointer-events-none opacity-0' // prevent offscreen interaction\n )}\n >\n <div className=\"flex w-full min-w-0 flex-col items-stretch gap-6\">\n {children}\n </div>\n </div>\n );\n })}\n </div>\n </div>\n </div>\n </TabContext.Provider>\n );\n};\n\n// Create the compound component\nexport const Tab = Object.assign(TabComponent, {\n Item: TabItem,\n});\n\n// Add display name for better debugging\n"],"mappings":";;;;;;;;;;;AAuBA,MAAM,aAAa,cAA0C,OAAU;AAGvE,MAAM,sBAAsB,IAC1B,6HACA;CACE,UAAU,EACR,SAAS;EACP,SAAS;EACT,UAAU;EACV,OAAO;EACR,EACF;CACD,iBAAiB,EACf,SAAS,WACV;CACF,CACF;;;;;AAoBD,MAAM,WAAW,EAAE,UAAU,GAAG,YAG9B,oBAAC;CAAI,GAAI;CAAQ;EAAe;AAIlC,QAAQ,cAAc;;;;;;;;;;;;;;;;AAiBtB,MAAM,gBAAgB,EACpB,YACA,OACA,SACA,UACA,WACA,GAAG,YACW;CAEd,MAAM,WAAW,SAAS,QAAQ,SAA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V,eAAe,CAAC,YAAY,mBAAmB,MAAM;OACrD,MAAK;OACL,iBAAe;OACf,iBAAe,YAAY;OAC3B,IAAI,OAAO;iBAEV;SAbI,MAcE;OAEX;KACF;KACA,OAAO,iBAAiB;MACxB;KACE,EAGN,oBAAC;IACC,WAAU;IACV,GAAI;cAGJ,oBAAC;KACC,MAAK;KACL,oBAAiB;KACjB,WAAW,GACT,uBACA,aACI,oBACA,gDACL;KACD,OAAO;MACL,qBAAqB,UAAU,SAAS,OAAO;MAC/C,WAAW,eAAe,iBAAiB,OAAO,aAAa,eAAe,GAAG;MAClF;eAEA,SAAS,KAAK,EAAE,kBAAS,UAAU;MAClC,MAAM,EAAE,OAAO,yBAAaC;MAC5B,MAAM,WAAW,UAAU;AAE3B,aACE,oBAAC;OAEC,MAAK;OACL,mBAAiB,OAAO;OACxB,IAAI,YAAY;OAChB,eAAa,CAAC;OACd,UAAU,WAAW,IAAI;OACzB,eAAa;OACb,WAAW,GACT,8EACA,CAAC,YAAY,gCACd;iBAED,oBAAC;QAAI,WAAU;kBACZC;SACG;SAdD,MAeD;OAER;MACE;KACF;IACF;GACc;;AAK1B,MAAa,MAAM,OAAO,OAAO,cAAc,EAC7C,MAAM,SACP,CAAC"}
1
+ {"version":3,"file":"Tab.mjs","names":["contextValue: TabContextType","props","children"],"sources":["../../../../src/components/Tab/Tab.tsx"],"sourcesContent":["'use client';\n\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport {\n Children,\n createContext,\n type HTMLAttributes,\n isValidElement,\n type ReactElement,\n type ReactNode,\n useState,\n} from 'react';\nimport { useHorizontalSwipe } from '../../hooks';\nimport { cn } from '../../utils/cn';\nimport { TabSelector, TabSelectorColor } from '../TabSelector';\nimport { useTabContext } from './TabContext';\n\n// Context for managing tab state\ntype TabContextType = {\n activeTab: string;\n setActiveTab: (tab: string) => void;\n};\n\nconst TabContext = createContext<TabContextType | undefined>(undefined);\n\n// Tab container variants\nconst tabContainerVariant = cva(\n 'relative w-full rounded-lg border border-neutral/20 bg-background/2 shadow-[0_0_10px_-15px_rgba(0,0,0,0.3)] backdrop-blur',\n {\n variants: {\n variant: {\n default: '',\n bordered: 'border-2',\n ghost: 'border-0 bg-transparent shadow-none',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n);\n\nexport type TabProps = HTMLAttributes<HTMLDivElement> &\n VariantProps<typeof tabContainerVariant> & {\n defaultTab?: string;\n group?: string;\n children: ReactNode;\n };\n\nexport type TabItemProps = HTMLAttributes<HTMLDivElement> & {\n label: string;\n value: string;\n disabled?: boolean;\n children: ReactNode;\n};\n\n/**\n * TabItem component that represents a single tab\n * Must be used as a child of the Tab component\n */\nconst TabItem = ({ children, ...props }: TabItemProps) => (\n // This component is primarily used for its props by the parent Tab component\n // The actual rendering is handled by the Tab component\n <div {...props}>{children}</div>\n);\n\n// Add display name for better debugging\nTabItem.displayName = 'TabItem';\n\n/**\n * Tab container component that manages tab state and renders tab headers and content\n *\n * Example:\n * ```jsx\n * <Tab defaultTab=\"tab1\">\n * <Tab.Item label=\"First Tab\" value=\"tab1\">\n * Content for first tab\n * </Tab.Item>\n * <Tab.Item label=\"Second Tab\" value=\"tab2\">\n * Content for second tab\n * </Tab.Item>\n * </Tab>\n * ```\n */\nconst TabComponent = ({\n defaultTab,\n group,\n variant,\n children,\n className,\n ...props\n}: TabProps) => {\n // Extract TabItem children to get their props\n const tabItems = Children.toArray(children).filter((child) => {\n return isValidElement(child) && child.type === TabItem;\n }) as ReactElement<TabItemProps>[];\n\n const firstTabValue = tabItems[0]?.props?.value;\n const { tabsValues, setTabsValues } = useTabContext();\n const [activeTab, setActiveTab] = useState(defaultTab ?? firstTabValue ?? '');\n const hasGroup = group && typeof tabsValues === 'object';\n const currentTabValue =\n (hasGroup ? tabsValues?.[group] : activeTab) ?? defaultTab ?? firstTabValue;\n const activeTabIndex = tabItems.findIndex(\n (tab) => tab.props.value === currentTabValue\n );\n\n const tabsCount = tabItems.length;\n\n const { containerProps, dragDeltaPct, isDragging } = useHorizontalSwipe({\n itemIndex: activeTabIndex,\n itemCount: tabsCount,\n onSwipeLeft: () => {\n const targetIndex = Math.min(tabsCount - 1, activeTabIndex + 1);\n const nextValue = tabItems[targetIndex]?.props?.value;\n if (nextValue) handleSetActiveTab(nextValue);\n },\n onSwipeRight: () => {\n const targetIndex = Math.max(0, activeTabIndex - 1);\n const nextValue = tabItems[targetIndex]?.props?.value;\n if (nextValue) handleSetActiveTab(nextValue);\n },\n });\n\n const handleSetActiveTab = (tab: string) => {\n setActiveTab(tab);\n\n if (typeof setTabsValues === 'function') {\n setTabsValues((prev) => ({ ...prev, [group!]: tab }));\n }\n };\n\n const contextValue: TabContextType = {\n activeTab: activeTab ?? firstTabValue ?? '',\n setActiveTab: handleSetActiveTab,\n };\n\n return (\n <TabContext.Provider value={contextValue}>\n <div\n className={cn(tabContainerVariant({ variant }), className)}\n {...props}\n >\n {/* Tab Headers */}\n <div className=\"sticky top-36 z-10 flex gap-3 bg-background/70 p-3 backdrop-blur\">\n <TabSelector\n selectedChoice={currentTabValue}\n tabs={tabItems.map((child) => {\n const { label, value, disabled } = child.props;\n const isActive = currentTabValue === value;\n\n return (\n <button\n key={value}\n className={cn(\n 'cursor-pointer rounded-md px-4 py-1 font-medium text-sm transition-colors focus:outline-none',\n !isActive && 'text-neutral/70'\n )}\n data-active={isActive}\n disabled={disabled}\n onClick={() => !disabled && handleSetActiveTab(value)}\n role=\"tab\"\n aria-selected={isActive}\n aria-controls={`tabpanel-${value}`}\n id={`tab-${value}`}\n type=\"button\"\n >\n {label}\n </button>\n );\n })}\n hoverable\n color={TabSelectorColor.TEXT}\n />\n </div>\n {/* Tab Content */}\n {/* Clipper: no overflow; uses clip-path */}\n <div\n className=\"relative w-full min-w-0 overflow-x-clip [-webkit-clip-path:inset(0)] [clip-path:inset(0)]\"\n {...containerProps}\n >\n {/* Track */}\n <div\n role=\"tablist\"\n aria-orientation=\"horizontal\"\n className={cn(\n 'grid w-full min-w-0',\n isDragging\n ? 'transition-none'\n : 'transition-transform duration-300 ease-in-out'\n )}\n style={{\n gridTemplateColumns: `repeat(${tabItems.length}, 100%)`,\n transform: `translateX(-${activeTabIndex * 100 - (isDragging ? dragDeltaPct : 0)}%)`,\n }}\n >\n {tabItems.map(({ props }, index) => {\n const { value, children } = props;\n const isActive = index === activeTabIndex;\n\n return (\n <div\n key={value}\n role=\"tabpanel\"\n aria-labelledby={`tab-${value}`}\n id={`tabpanel-${value}`}\n aria-hidden={!isActive}\n tabIndex={isActive ? 0 : -1}\n data-active={isActive}\n className={cn(\n 'w-full min-w-0 p-6 opacity-100 transition-opacity duration-300 ease-in-out',\n !isActive && 'pointer-events-none opacity-0' // prevent offscreen interaction\n )}\n >\n <div className=\"flex w-full min-w-0 flex-col items-stretch gap-6\">\n {children}\n </div>\n </div>\n );\n })}\n </div>\n </div>\n </div>\n </TabContext.Provider>\n );\n};\n\n// Create the compound component\nexport const Tab = Object.assign(TabComponent, {\n Item: TabItem,\n});\n\n// Add display name for better debugging\n"],"mappings":";;;;;;;;;;;AAuBA,MAAM,aAAa,cAA0C,OAAU;AAGvE,MAAM,sBAAsB,IAC1B,6HACA;CACE,UAAU,EACR,SAAS;EACP,SAAS;EACT,UAAU;EACV,OAAO;EACR,EACF;CACD,iBAAiB,EACf,SAAS,WACV;CACF,CACF;;;;;AAoBD,MAAM,WAAW,EAAE,UAAU,GAAG,YAG9B,oBAAC;CAAI,GAAI;CAAQ;EAAe;AAIlC,QAAQ,cAAc;;;;;;;;;;;;;;;;AAiBtB,MAAM,gBAAgB,EACpB,YACA,OACA,SACA,UACA,WACA,GAAG,YACW;CAEd,MAAM,WAAW,SAAS,QAAQ,SAAS,CAAC,QAAQ,UAAU;AAC5D,SAAO,eAAe,MAAM,IAAI,MAAM,SAAS;GAC/C;CAEF,MAAM,gBAAgB,SAAS,IAAI,OAAO;CAC1C,MAAM,EAAE,YAAY,kBAAkB,eAAe;CACrD,MAAM,CAAC,WAAW,gBAAgB,SAAS,cAAc,iBAA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AI;cAGJ,oBAAC;KACC,MAAK;KACL,oBAAiB;KACjB,WAAW,GACT,uBACA,aACI,oBACA,gDACL;KACD,OAAO;MACL,qBAAqB,UAAU,SAAS,OAAO;MAC/C,WAAW,eAAe,iBAAiB,OAAO,aAAa,eAAe,GAAG;MAClF;eAEA,SAAS,KAAK,EAAE,kBAAS,UAAU;MAClC,MAAM,EAAE,OAAO,yBAAaC;MAC5B,MAAM,WAAW,UAAU;AAE3B,aACE,oBAAC;OAEC,MAAK;OACL,mBAAiB,OAAO;OACxB,IAAI,YAAY;OAChB,eAAa,CAAC;OACd,UAAU,WAAW,IAAI;OACzB,eAAa;OACb,WAAW,GACT,8EACA,CAAC,YAAY,gCACd;iBAED,oBAAC;QAAI,WAAU;kBACZC;SACG;SAdD,MAeD;OAER;MACE;KACF;IACF;GACc;;AAK1B,MAAa,MAAM,OAAO,OAAO,cAAc,EAC7C,MAAM,SACP,CAAC"}
@@ -17,7 +17,7 @@ let TabSelectorColor = /* @__PURE__ */ function(TabSelectorColor$1) {
17
17
  TabSelectorColor$1["TEXT"] = "text";
18
18
  return TabSelectorColor$1;
19
19
  }({});
20
- const tabSelectorVariant = cva("relative flex size-full flex-row items-center gap-2", {
20
+ const tabSelectorVariant = cva("relative z-0 flex size-full flex-row items-center gap-2", {
21
21
  variants: { color: {
22
22
  primary: "border-primary text-primary",
23
23
  secondary: "border-secondary text-secondary",
@@ -29,7 +29,7 @@ const tabSelectorVariant = cva("relative flex size-full flex-row items-center ga
29
29
  } },
30
30
  defaultVariants: { color: "primary" }
31
31
  });
32
- const indicatorVariant = cva("absolute z-[-1] rounded-lg duration-300 ease-in-out motion-reduce:transition-none", {
32
+ const indicatorVariant = cva("-z-1 absolute rounded-lg duration-300 ease-in-out motion-reduce:transition-none", {
33
33
  variants: {
34
34
  color: {
35
35
  primary: "bg-primary/10 aria-selected:text-text",
@@ -1 +1 @@
1
- {"version":3,"file":"TabSelector.mjs","names":[],"sources":["../../../../src/components/TabSelector/TabSelector.tsx"],"sourcesContent":["'use client';\n\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport {\n cloneElement,\n type HTMLAttributes,\n type MouseEvent,\n type ReactElement,\n useEffect,\n useRef,\n} from 'react';\nimport {\n type ItemSelectorOrientation,\n useItemSelector,\n} from '../../hooks/useItemSelector';\nimport { cn } from '../../utils/cn';\n\nexport enum TabSelectorColor {\n PRIMARY = 'primary',\n SECONDARY = 'secondary',\n DESTRUCTIVE = 'destructive',\n NEUTRAL = 'neutral',\n LIGHT = 'light',\n DARK = 'dark',\n TEXT = 'text',\n}\n\nconst tabSelectorVariant = cva(\n 'relative flex size-full flex-row items-center gap-2',\n {\n variants: {\n color: {\n primary: 'border-primary text-primary',\n secondary: 'border-secondary text-secondary',\n destructive: 'border-destructive bg-destructive text-destructive',\n neutral: 'border-neutral text-neutral',\n light: 'border-white text-white',\n dark: 'border-neutral-800 text-neutral-800',\n text: 'border-text text-text',\n },\n },\n defaultVariants: {\n color: 'primary',\n },\n }\n);\n\nconst indicatorVariant = cva(\n 'absolute z-[-1] rounded-lg duration-300 ease-in-out motion-reduce:transition-none',\n {\n variants: {\n color: {\n primary: 'bg-primary/10 aria-selected:text-text',\n secondary: 'bg-secondary/10 aria-selected:text-text',\n destructive: 'bg-destructive/10 aria-selected:text-text',\n neutral: 'bg-neutral/10 aria-selected:text-white/10',\n light: 'bg-white/10 aria-selected:text-black',\n dark: 'bg-neutral-800/10 aria-selected:text-white',\n text: 'bg-text/10 aria-selected:text-text-opposite',\n },\n orientation: {\n horizontal: 'top-0 h-full w-auto transition-[left,width]',\n vertical: 'left-0 h-auto w-full transition-[top,height]',\n },\n },\n defaultVariants: {\n orientation: 'horizontal',\n },\n }\n);\n\nexport type TabSelectorItemProps = HTMLAttributes<HTMLElement> & {\n key: string | number;\n};\n\nexport type TabSelectorProps<T extends TabSelectorItemProps> = {\n tabs: ReactElement<T>[];\n selectedChoice: T['key'];\n onTabClick?: (choice: T['key']) => void;\n hoverable?: boolean;\n orientation?: ItemSelectorOrientation;\n} & HTMLAttributes<HTMLElement> &\n Omit<VariantProps<typeof tabSelectorVariant>, 'color'> & {\n color?: TabSelectorColor | `${TabSelectorColor}`;\n };\n\n/**\n *\n * Component that allows the user to select one of the provided choices.\n *\n * Example:\n * ```jsx\n * <TabSelector\n * selectedChoice=\"option1\"\n * onTabClick={(choice) => console.log(choice)}\n * hoverable={true}\n * >\n * <Button key=\"option1\"/>\n * <Button key=\"option2\"/>\n * <Button key=\"option3\"/>\n * </TabSelector>\n * ```\n */\nexport const TabSelector = <T extends TabSelectorItemProps>({\n tabs,\n selectedChoice,\n onTabClick,\n color = TabSelectorColor.PRIMARY,\n hoverable = false,\n orientation = 'horizontal',\n className,\n}: TabSelectorProps<T>) => {\n const optionsRefs = useRef<HTMLElement[]>([]);\n const indicatorRef = useRef<HTMLDivElement | null>(null);\n const { choiceIndicatorPosition, calculatePosition } = useItemSelector(\n optionsRefs,\n { isHoverable: hoverable, orientation }\n );\n\n useEffect(() => {\n calculatePosition();\n }, [selectedChoice, tabs]);\n\n return (\n <div\n className={cn(\n tabSelectorVariant({\n color,\n }),\n className\n )}\n aria-orientation={orientation}\n aria-multiselectable=\"false\"\n role=\"tablist\"\n >\n {tabs.map((Tab, index) => {\n const key = Tab.key!;\n\n const isSelected = selectedChoice === key;\n\n return cloneElement(Tab, {\n key: key ?? index,\n role: 'tab',\n onClick: (e: MouseEvent<HTMLElement>) => {\n Tab.props?.onClick?.(e);\n onTabClick?.(key);\n },\n 'aria-selected': isSelected,\n 'data-active': isSelected as unknown as string,\n tabIndex: isSelected ? 0 : -1,\n ref: (el: HTMLElement) => {\n optionsRefs.current[index] = el!;\n },\n } as unknown as T);\n })}\n {choiceIndicatorPosition && (\n <div\n className={cn(\n indicatorVariant({\n color,\n orientation,\n })\n )}\n style={choiceIndicatorPosition}\n ref={indicatorRef}\n key={`${selectedChoice}${JSON.stringify(tabs.map((tab) => tab.key))}`}\n />\n )}\n </div>\n );\n};\n"],"mappings":";;;;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ACC,WAAW,GACT,iBAAiB;IACf;IACA;IACD,CAAC,CACH;GACD,OAAO;GACP,KAAK;KACA,GAAG,iBAAiB,KAAK,UAAU,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,GACnE;GAEA"}
1
+ {"version":3,"file":"TabSelector.mjs","names":[],"sources":["../../../../src/components/TabSelector/TabSelector.tsx"],"sourcesContent":["'use client';\n\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport {\n cloneElement,\n type HTMLAttributes,\n type MouseEvent,\n type ReactElement,\n useEffect,\n useRef,\n} from 'react';\nimport {\n type ItemSelectorOrientation,\n useItemSelector,\n} from '../../hooks/useItemSelector';\nimport { cn } from '../../utils/cn';\n\nexport enum TabSelectorColor {\n PRIMARY = 'primary',\n SECONDARY = 'secondary',\n DESTRUCTIVE = 'destructive',\n NEUTRAL = 'neutral',\n LIGHT = 'light',\n DARK = 'dark',\n TEXT = 'text',\n}\n\nconst tabSelectorVariant = cva(\n 'relative z-0 flex size-full flex-row items-center gap-2',\n {\n variants: {\n color: {\n primary: 'border-primary text-primary',\n secondary: 'border-secondary text-secondary',\n destructive: 'border-destructive bg-destructive text-destructive',\n neutral: 'border-neutral text-neutral',\n light: 'border-white text-white',\n dark: 'border-neutral-800 text-neutral-800',\n text: 'border-text text-text',\n },\n },\n defaultVariants: {\n color: 'primary',\n },\n }\n);\n\nconst indicatorVariant = cva(\n '-z-1 absolute rounded-lg duration-300 ease-in-out motion-reduce:transition-none',\n {\n variants: {\n color: {\n primary: 'bg-primary/10 aria-selected:text-text',\n secondary: 'bg-secondary/10 aria-selected:text-text',\n destructive: 'bg-destructive/10 aria-selected:text-text',\n neutral: 'bg-neutral/10 aria-selected:text-white/10',\n light: 'bg-white/10 aria-selected:text-black',\n dark: 'bg-neutral-800/10 aria-selected:text-white',\n text: 'bg-text/10 aria-selected:text-text-opposite',\n },\n orientation: {\n horizontal: 'top-0 h-full w-auto transition-[left,width]',\n vertical: 'left-0 h-auto w-full transition-[top,height]',\n },\n },\n defaultVariants: {\n orientation: 'horizontal',\n },\n }\n);\n\nexport type TabSelectorItemProps = HTMLAttributes<HTMLElement> & {\n key: string | number;\n};\n\nexport type TabSelectorProps<T extends TabSelectorItemProps> = {\n tabs: ReactElement<T>[];\n selectedChoice: T['key'];\n onTabClick?: (choice: T['key']) => void;\n hoverable?: boolean;\n orientation?: ItemSelectorOrientation;\n} & HTMLAttributes<HTMLElement> &\n Omit<VariantProps<typeof tabSelectorVariant>, 'color'> & {\n color?: TabSelectorColor | `${TabSelectorColor}`;\n };\n\n/**\n *\n * Component that allows the user to select one of the provided choices.\n *\n * Example:\n * ```jsx\n * <TabSelector\n * selectedChoice=\"option1\"\n * onTabClick={(choice) => console.log(choice)}\n * hoverable={true}\n * >\n * <Button key=\"option1\"/>\n * <Button key=\"option2\"/>\n * <Button key=\"option3\"/>\n * </TabSelector>\n * ```\n */\nexport const TabSelector = <T extends TabSelectorItemProps>({\n tabs,\n selectedChoice,\n onTabClick,\n color = TabSelectorColor.PRIMARY,\n hoverable = false,\n orientation = 'horizontal',\n className,\n}: TabSelectorProps<T>) => {\n const optionsRefs = useRef<HTMLElement[]>([]);\n const indicatorRef = useRef<HTMLDivElement | null>(null);\n const { choiceIndicatorPosition, calculatePosition } = useItemSelector(\n optionsRefs,\n { isHoverable: hoverable, orientation }\n );\n\n useEffect(() => {\n calculatePosition();\n }, [selectedChoice, tabs]);\n\n return (\n <div\n className={cn(\n tabSelectorVariant({\n color,\n }),\n className\n )}\n aria-orientation={orientation}\n aria-multiselectable=\"false\"\n role=\"tablist\"\n >\n {tabs.map((Tab, index) => {\n const key = Tab.key!;\n\n const isSelected = selectedChoice === key;\n\n return cloneElement(Tab, {\n key: key ?? index,\n role: 'tab',\n onClick: (e: MouseEvent<HTMLElement>) => {\n Tab.props?.onClick?.(e);\n onTabClick?.(key);\n },\n 'aria-selected': isSelected,\n 'data-active': isSelected as unknown as string,\n tabIndex: isSelected ? 0 : -1,\n ref: (el: HTMLElement) => {\n optionsRefs.current[index] = el!;\n },\n } as unknown as T);\n })}\n {choiceIndicatorPosition && (\n <div\n className={cn(\n indicatorVariant({\n color,\n orientation,\n })\n )}\n style={choiceIndicatorPosition}\n ref={indicatorRef}\n key={`${selectedChoice}${JSON.stringify(tabs.map((tab) => tab.key))}`}\n />\n )}\n </div>\n );\n};\n"],"mappings":";;;;;;;;;AAiBA,IAAY,gEAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGF,MAAM,qBAAqB,IACzB,2DACA;CACE,UAAU,EACR,OAAO;EACL,SAAS;EACT,WAAW;EACX,aAAa;EACb,SAAS;EACT,OAAO;EACP,MAAM;EACN,MAAM;EACP,EACF;CACD,iBAAiB,EACf,OAAO,WACR;CACF,CACF;AAED,MAAM,mBAAmB,IACvB,mFACA;CACE,UAAU;EACR,OAAO;GACL,SAAS;GACT,WAAW;GACX,aAAa;GACb,SAAS;GACT,OAAO;GACP,MAAM;GACN,MAAM;GACP;EACD,aAAa;GACX,YAAY;GACZ,UAAU;GACX;EACF;CACD,iBAAiB,EACf,aAAa,cACd;CACF,CACF;;;;;;;;;;;;;;;;;;AAkCD,MAAa,eAA+C,EAC1D,MACA,gBACA,YACA,QAAQ,iBAAiB,SACzB,YAAY,OACZ,cAAc,cACd,gBACyB;CACzB,MAAM,cAAc,OAAsB,EAAE,CAAC;CAC7C,MAAM,eAAe,OAA8B,KAAK;CACxD,MAAM,EAAE,yBAAyB,sBAAsB,gBACrD,aACA;EAAE,aAAa;EAAW;EAAa,CACxC;AAED,iBAAgB;AACd,qBAAmB;IAClB,CAAC,gBAAgB,KAAK,CAAC;AAE1B,QACE,qBAAC;EACC,WAAW,GACT,mBAAmB,EACjB,OACD,CAAC,EACF,UACD;EACD,oBAAkB;EAClB,wBAAqB;EACrB,MAAK;aAEJ,KAAK,KAAK,KAAK,UAAU;GACxB,MAAM,MAAM,IAAI;GAEhB,MAAM,aAAa,mBAAmB;AAEtC,UAAO,aAAa,KAAK;IACvB,KAAK,OAAO;IACZ,MAAM;IACN,UAAU,MAA+B;AACvC,SAAI,OAAO,UAAU,EAAE;AACvB,kBAAa,IAAI;;IAEnB,iBAAiB;IACjB,eAAe;IACf,UAAU,aAAa,IAAI;IAC3B,MAAM,OAAoB;AACxB,iBAAY,QAAQ,SAAS;;IAEhC,CAAiB;IAClB,EACD,2BACC,oBAAC;GACC,WAAW,GACT,iBAAiB;IACf;IACA;IACD,CAAC,CACH;GACD,OAAO;GACP,KAAK;KACA,GAAG,iBAAiB,KAAK,UAAU,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,GACnE;GAEA"}
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from "react";
2
- import * as class_variance_authority_types1 from "class-variance-authority/types";
2
+ import * as class_variance_authority_types14 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
 
5
5
  //#region src/components/Badge/index.d.ts
@@ -47,7 +47,7 @@ declare const badgeVariants: (props?: {
47
47
  color?: BadgeColor;
48
48
  variant?: BadgeVariant;
49
49
  size?: BadgeSize;
50
- } & class_variance_authority_types1.ClassProp) => string;
50
+ } & class_variance_authority_types14.ClassProp) => string;
51
51
  /**
52
52
  * Badge component props interface
53
53
  * @description Comprehensive props for the Badge component with accessibility and interactive features
@@ -1,10 +1,10 @@
1
- import * as _intlayer_types0 from "@intlayer/types";
1
+ import * as _intlayer_types400 from "@intlayer/types";
2
2
 
3
3
  //#region src/components/Breadcrumb/breadcrumb.content.d.ts
4
4
  declare const breadCrumbContent: {
5
5
  key: string;
6
6
  content: {
7
- linkLabel: _intlayer_types0.TypedNodeModel<_intlayer_types0.NodeType.Translation, {
7
+ linkLabel: _intlayer_types400.TypedNodeModel<_intlayer_types400.NodeType.Translation, {
8
8
  en: string;
9
9
  fr: string;
10
10
  es: string;
@@ -23,7 +23,7 @@ declare const breadCrumbContent: {
23
23
  id: string;
24
24
  vi: string;
25
25
  }, {
26
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
26
+ nodeType: _intlayer_types400.NodeType.Translation | "translation";
27
27
  } & {
28
28
  translation: {
29
29
  en: string;
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumb.content.d.ts","names":[],"sources":["../../../../src/components/Breadcrumb/breadcrumb.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,SAAA,iCA2BS,wCAAA"}
1
+ {"version":3,"file":"breadcrumb.content.d.ts","names":[],"sources":["../../../../src/components/Breadcrumb/breadcrumb.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,SAAA,mCA2BS,0CAAA"}
@@ -1,7 +1,7 @@
1
1
  import { LinkColor } from "../Link/Link.js";
2
2
  import "../Link/index.js";
3
3
  import { FC, HTMLAttributes, ReactNode } from "react";
4
- import * as class_variance_authority_types0 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types13 from "class-variance-authority/types";
5
5
  import { VariantProps } from "class-variance-authority";
6
6
  import { LocalesValues } from "@intlayer/types";
7
7
 
@@ -12,7 +12,7 @@ import { LocalesValues } from "@intlayer/types";
12
12
  declare const breadcrumbVariants: (props?: {
13
13
  size?: "small" | "medium" | "large";
14
14
  spacing?: "compact" | "normal" | "loose";
15
- } & class_variance_authority_types0.ClassProp) => string;
15
+ } & class_variance_authority_types13.ClassProp) => string;
16
16
  /**
17
17
  * Detailed breadcrumb link configuration with optional href or onClick
18
18
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Breadcrumb/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;cAoDM,0BAgKgC;EAhKhC,IAAA,CAAA,EAAA,OAAA,GAAA,QAiBJ,GAAA,OAAA;EA2HG,OAAA,CAAA,EAAA,SAAA,GAAA,QAAsB,GAAA,OAAA;AAoB3B,CAAA,GA/IE,+BAAA,CAAA,SA+IoC,EAAsB,GAAA,MAAA;AAE5D;;;KAtBK,sBAAA,GA+BoB;EAId;;;EAyBP,IAAA,CAAA,EAAA,MAAA;EACa;;;EA4BJ,IAAA,EAAA,MAAA;;;;;;;;;;;KArED,cAAA,YAA0B;KAE1B,eAAA;;;;SAIH;;;;;UAKC,eAAe;;;;WAId;;;;;;;;;;cAUG;;;;;;;;;;;;;;;IAeV,oBAAoB,sBACtB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BJ,YAAY,GAAG"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Breadcrumb/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;cAoDM,0BAgKgC;EAhKhC,IAAA,CAAA,EAAA,OAAA,GAAA,QAiBJ,GAAA,OAAA;EA2HG,OAAA,CAAA,EAAA,SAAA,GAAA,QAAsB,GAAA,OAAA;AAoB3B,CAAA,GA/IE,gCAAA,CAAA,SA+IoC,EAAA,GAAsB,MAAA;AAE5D;;;KAtBK,sBAAA,GA+BoB;EAId;;;EAyBP,IAAA,CAAA,EAAA,MAAA;EACa;;;EA4BJ,IAAA,EAAA,MAAA;;;;;;;;;;;KArED,cAAA,YAA0B;KAE1B,eAAA;;;;SAIH;;;;;UAKC,eAAe;;;;WAId;;;;;;;;;;cAUG;;;;;;;;;;;;;;;IAeV,oBAAoB,sBACtB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BJ,YAAY,GAAG"}
@@ -1,10 +1,10 @@
1
- import * as _intlayer_types5 from "@intlayer/types";
1
+ import * as _intlayer_types319 from "@intlayer/types";
2
2
 
3
3
  //#region src/components/Browser/Browser.content.d.ts
4
4
  declare const browserContent: {
5
5
  key: string;
6
6
  content: {
7
- ariaLabel: _intlayer_types5.TypedNodeModel<_intlayer_types5.NodeType.Translation, {
7
+ ariaLabel: _intlayer_types319.TypedNodeModel<_intlayer_types319.NodeType.Translation, {
8
8
  en: string;
9
9
  'en-GB': string;
10
10
  fr: string;
@@ -23,7 +23,7 @@ declare const browserContent: {
23
23
  id: string;
24
24
  vi: string;
25
25
  }, {
26
- nodeType: _intlayer_types5.NodeType.Translation | "translation";
26
+ nodeType: _intlayer_types319.NodeType.Translation | "translation";
27
27
  } & {
28
28
  translation: {
29
29
  en: string;
@@ -45,7 +45,7 @@ declare const browserContent: {
45
45
  vi: string;
46
46
  };
47
47
  }>;
48
- urlLabel: _intlayer_types5.TypedNodeModel<_intlayer_types5.NodeType.Translation, {
48
+ urlLabel: _intlayer_types319.TypedNodeModel<_intlayer_types319.NodeType.Translation, {
49
49
  en: string;
50
50
  'en-GB': string;
51
51
  fr: string;
@@ -64,7 +64,7 @@ declare const browserContent: {
64
64
  id: string;
65
65
  vi: string;
66
66
  }, {
67
- nodeType: _intlayer_types5.NodeType.Translation | "translation";
67
+ nodeType: _intlayer_types319.NodeType.Translation | "translation";
68
68
  } & {
69
69
  translation: {
70
70
  en: string;
@@ -87,7 +87,7 @@ declare const browserContent: {
87
87
  };
88
88
  }>;
89
89
  urlPlaceholder: string;
90
- errorMessage: _intlayer_types5.TypedNodeModel<_intlayer_types5.NodeType.Translation, {
90
+ errorMessage: _intlayer_types319.TypedNodeModel<_intlayer_types319.NodeType.Translation, {
91
91
  en: string;
92
92
  'en-GB': string;
93
93
  fr: string;
@@ -106,7 +106,7 @@ declare const browserContent: {
106
106
  id: string;
107
107
  vi: string;
108
108
  }, {
109
- nodeType: _intlayer_types5.NodeType.Translation | "translation";
109
+ nodeType: _intlayer_types319.NodeType.Translation | "translation";
110
110
  } & {
111
111
  translation: {
112
112
  en: string;
@@ -128,7 +128,7 @@ declare const browserContent: {
128
128
  vi: string;
129
129
  };
130
130
  }>;
131
- reloadButtonTitle: _intlayer_types5.TypedNodeModel<_intlayer_types5.NodeType.Translation, {
131
+ reloadButtonTitle: _intlayer_types319.TypedNodeModel<_intlayer_types319.NodeType.Translation, {
132
132
  en: string;
133
133
  'en-GB': string;
134
134
  fr: string;
@@ -147,7 +147,7 @@ declare const browserContent: {
147
147
  id: string;
148
148
  vi: string;
149
149
  }, {
150
- nodeType: _intlayer_types5.NodeType.Translation | "translation";
150
+ nodeType: _intlayer_types319.NodeType.Translation | "translation";
151
151
  } & {
152
152
  translation: {
153
153
  en: string;
@@ -169,7 +169,7 @@ declare const browserContent: {
169
169
  vi: string;
170
170
  };
171
171
  }>;
172
- iframeTitle: _intlayer_types5.TypedNodeModel<_intlayer_types5.NodeType.Translation, {
172
+ iframeTitle: _intlayer_types319.TypedNodeModel<_intlayer_types319.NodeType.Translation, {
173
173
  en: string;
174
174
  'en-GB': string;
175
175
  fr: string;
@@ -188,7 +188,7 @@ declare const browserContent: {
188
188
  id: string;
189
189
  vi: string;
190
190
  }, {
191
- nodeType: _intlayer_types5.NodeType.Translation | "translation";
191
+ nodeType: _intlayer_types319.NodeType.Translation | "translation";
192
192
  } & {
193
193
  translation: {
194
194
  en: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Browser.content.d.ts","names":[],"sources":["../../../../src/components/Browser/Browser.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,SAAA,iCAwGS,wCAAA"}
1
+ {"version":3,"file":"Browser.content.d.ts","names":[],"sources":["../../../../src/components/Browser/Browser.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,SAAA,mCAwGS,0CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { ButtonHTMLAttributes, DetailedHTMLProps, FC } from "react";
2
- import * as class_variance_authority_types2 from "class-variance-authority/types";
2
+ import * as class_variance_authority_types12 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import { LucideIcon } from "lucide-react";
5
5
 
@@ -60,13 +60,13 @@ declare enum ButtonTextAlign {
60
60
  * Enhanced button variants with improved accessibility and focus states
61
61
  */
62
62
  declare const buttonVariants: (props?: {
63
- size?: "lg" | "md" | "sm" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
64
- color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "card" | "light" | "dark" | "current" | "text-inverse" | "error" | "success" | "custom";
65
- roundedSize?: "lg" | "none" | "md" | "sm" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "full";
66
- variant?: "none" | "default" | "outline" | "link" | "invisible-link" | "hoverable" | "fade" | "input";
63
+ size?: "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
64
+ color?: "text" | "error" | "custom" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text-inverse" | "success" | "card" | "current";
65
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "full" | "4xl" | "5xl";
66
+ variant?: "default" | "none" | "input" | "invisible-link" | "hoverable" | "link" | "outline" | "fade";
67
67
  textAlign?: "left" | "center" | "right";
68
68
  isFullWidth?: boolean;
69
- } & class_variance_authority_types2.ClassProp) => string;
69
+ } & class_variance_authority_types12.ClassProp) => string;
70
70
  /**
71
71
  * Enhanced Button component props with comprehensive type safety and accessibility features
72
72
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","names":[],"sources":["../../../../src/components/Button/Button.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAUY,aAAA,UAAA;EAgCA,EAAA,GAAA,IAAA;EAcA,EAAA,GAAA,IAAA;EAmBA,EAAA,GAAA,IAAA;EASC,EAAA,GAAA,IAAA;EAgJD,OAAA,GAAA,SAAW;EACA,OAAA,GAAA,SAAA;EAArB,OAAA,GAAA,SAAA;EACA,OAAA,GAAA,SAAA;;;;;AAYc,aAxMJ,aAAA;EA6MI,OAAA,GAAA,SAAA;EAAK,IAAA,GAAA,MAAA;EAAU,OAAA,GAAA,SAAA;EA8FlB,IAAA,GAAA,MAkHZ;;;;;;;;;aA/YW,WAAA;;;;;;;;;;;;;;;;;;aAmBA,eAAA;;;;;;;;cASC;;;;;;;IA2IZ,+BAAA,CAAA;;;;KAKW,WAAA,GAAc,kBACxB,qBAAqB,oBACrB,qBAEA,oBAAoB;;;;;;;;;SAUX,KAAK;;;;cAKA,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8FR,QAAQ,GAAG"}
1
+ {"version":3,"file":"Button.d.ts","names":[],"sources":["../../../../src/components/Button/Button.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAUY,aAAA,UAAA;EAgCA,EAAA,GAAA,IAAA;EAcA,EAAA,GAAA,IAAA;EAmBA,EAAA,GAAA,IAAA;EASC,EAAA,GAAA,IAAA;EAgJD,OAAA,GAAA,SAAW;EACA,OAAA,GAAA,SAAA;EAArB,OAAA,GAAA,SAAA;EACA,OAAA,GAAA,SAAA;;;;;AAYc,aAxMJ,aAAA;EA6MI,OAAA,GAAA,SAAA;EAAK,IAAA,GAAA,MAAA;EAAU,OAAA,GAAA,SAAA;EA8FlB,IAAA,GAAA,MAkHZ;;;;;;;;;aA/YW,WAAA;;;;;;;;;;;;;;;;;;aAmBA,eAAA;;;;;;;;cASC;;;;;;;IA2IZ,gCAAA,CAAA;;;;KAKW,WAAA,GAAc,kBACxB,qBAAqB,oBACrB,qBAEA,oBAAoB;;;;;;;;;SAUX,KAAK;;;;cAKA,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8FR,QAAQ,GAAG"}
@@ -1,13 +1,13 @@
1
1
  import { FC, HTMLAttributes, ReactNode } from "react";
2
- import * as class_variance_authority_types3 from "class-variance-authority/types";
2
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
 
5
5
  //#region src/components/CollapsibleTable/CollapsibleTable.d.ts
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";
10
- } & class_variance_authority_types3.ClassProp) => string;
9
+ spacing?: "sm" | "md" | "lg" | "none" | "auto";
10
+ } & class_variance_authority_types0.ClassProp) => string;
11
11
  interface CollapsibleTableProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'>, VariantProps<typeof collapsibleTableVariants> {
12
12
  /** Table title displayed in the header */
13
13
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"CollapsibleTable.d.ts","names":[],"sources":["../../../../src/components/CollapsibleTable/CollapsibleTable.tsx"],"sourcesContent":[],"mappings":";;;;;cASM,gCA8EJ;;;EA9EI,OAAA,CAAA,EAAA,MAAA,GAAA,IAAA,GAAA,IA+BL,GAAA,IAAA,GAAA,MAAA;AA8CD,CAAA,GA9CC,+BAAA,CAAA,SA+CC,EAAA,GAAA,MAAA;AAA4B,UADb,qBAAA,SACP,IAAoB,CAAf,cAAe,CAAA,cAAA,CAAA,EAAA,OAAA,CAAA,EAC1B,YAD0B,CAAA,OACN,wBADM,CAAA,CAAA;EAAf;EACS,KAAA,EAAA,MAAA;EAIhB;EAsBO,IAAA,EAtBP,MAsBO,CAAA,MAAA,EAAA,OAAA,CAAA,EAAA;EAUW;EAA4B,SAAA,CAAA,EAAA,MAAA;EAFlC;EAnCV,eAAA,CAAA,EAAA,MAAA;EACN;EAAY,gBAAA,CAAA,EAAA,MAAA;EAoIH;;;;;;;;;;;;;;;eA1GE;;;;;;;;oBAQK,qCAEM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgGzC,kBAAkB,GAAG"}
1
+ {"version":3,"file":"CollapsibleTable.d.ts","names":[],"sources":["../../../../src/components/CollapsibleTable/CollapsibleTable.tsx"],"sourcesContent":[],"mappings":";;;;;cASM,gCA8EJ;;;EA9EI,OAAA,CAAA,EAAA,IAAA,GAAA,IAAA,GAAA,IA+BL,GAAA,MAAA,GAAA,MAAA;AA8CD,CAAA,GA9CC,+BAAA,CAAA,SA+CC,EAAA,GAAA,MAAA;AAA4B,UADb,qBAAA,SACP,IAAoB,CAAf,cAAe,CAAA,cAAA,CAAA,EAAA,OAAA,CAAA,EAC1B,YAD0B,CAAA,OACN,wBADM,CAAA,CAAA;EAAf;EACS,KAAA,EAAA,MAAA;EAIhB;EAsBO,IAAA,EAtBP,MAsBO,CAAA,MAAA,EAAA,OAAA,CAAA,EAAA;EAUW;EAA4B,SAAA,CAAA,EAAA,MAAA;EAFlC;EAnCV,eAAA,CAAA,EAAA,MAAA;EACN;EAAY,gBAAA,CAAA,EAAA,MAAA;EAoIH;;;;;;;;;;;;;;;eA1GE;;;;;;;;oBAQK,qCAEM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgGzC,kBAAkB,GAAG"}
@@ -9,14 +9,14 @@ import { VariantProps } from "class-variance-authority";
9
9
  * Provides flexible styling options for background, padding, borders, and layout
10
10
  */
11
11
  declare const containerVariants: (props?: {
12
- roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "full";
13
- transparency?: "none" | "sm" | "md" | "lg" | "xl" | "full";
14
- padding?: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
12
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "full" | "none" | "3xl" | "4xl";
13
+ transparency?: "sm" | "md" | "lg" | "xl" | "full" | "none";
14
+ padding?: "sm" | "md" | "lg" | "xl" | "2xl" | "none";
15
15
  separator?: "without" | "x" | "y" | "both";
16
16
  border?: "none" | "with";
17
17
  borderColor?: "primary" | "secondary" | "neutral" | "text" | "error" | "warning" | "success";
18
18
  background?: "none" | "with" | "hoverable";
19
- gap?: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
19
+ gap?: "sm" | "md" | "lg" | "xl" | "2xl" | "none";
20
20
  } & class_variance_authority_types0.ClassProp) => string;
21
21
  /** Available rounded corner sizes for the container */
22
22
  declare enum ContainerRoundedSize {
@@ -1 +1 @@
1
-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;;;;aAWA,mBAAA;;;;;;aAOA,YAAA;;;;;;;;;KAUA,cAAA,GAAiB,kBAC3B,KAAK,oBAAoB,iCAEzB,kBAAkB,eAAe,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkCvC,WAAW,GAAG"}
@@ -1,10 +1,10 @@
1
- import * as _intlayer_types2 from "@intlayer/types";
1
+ import * as _intlayer_types334 from "@intlayer/types";
2
2
 
3
3
  //#region src/components/CopyButton/CopyButton.content.d.ts
4
4
  declare const copyContentContent: {
5
5
  key: string;
6
6
  content: {
7
- label: _intlayer_types2.TypedNodeModel<_intlayer_types2.NodeType.Translation, {
7
+ label: _intlayer_types334.TypedNodeModel<_intlayer_types334.NodeType.Translation, {
8
8
  en: string;
9
9
  fr: string;
10
10
  es: string;
@@ -23,7 +23,7 @@ declare const copyContentContent: {
23
23
  id: string;
24
24
  vi: string;
25
25
  }, {
26
- nodeType: _intlayer_types2.NodeType.Translation | "translation";
26
+ nodeType: _intlayer_types334.NodeType.Translation | "translation";
27
27
  } & {
28
28
  translation: {
29
29
  en: string;
@@ -1 +1 @@
1
- {"version":3,"file":"CopyButton.content.d.ts","names":[],"sources":["../../../../src/components/CopyButton/CopyButton.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,KAAA,iCA2BS,wCAAA"}
1
+ {"version":3,"file":"CopyButton.content.d.ts","names":[],"sources":["../../../../src/components/CopyButton/CopyButton.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,KAAA,mCA2BS,0CAAA"}
@@ -1,11 +1,11 @@
1
- import * as _intlayer_types262 from "@intlayer/types";
1
+ import * as _intlayer_types43 from "@intlayer/types";
2
2
 
3
3
  //#region src/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts
4
4
  declare const dictionaryFormContent: {
5
5
  key: string;
6
6
  content: {
7
7
  keyInput: {
8
- label: _intlayer_types262.TypedNodeModel<_intlayer_types262.NodeType.Translation, {
8
+ label: _intlayer_types43.TypedNodeModel<_intlayer_types43.NodeType.Translation, {
9
9
  en: string;
10
10
  'en-GB': string;
11
11
  fr: string;
@@ -24,7 +24,7 @@ declare const dictionaryFormContent: {
24
24
  id: string;
25
25
  vi: string;
26
26
  }, {
27
- nodeType: _intlayer_types262.NodeType.Translation | "translation";
27
+ nodeType: _intlayer_types43.NodeType.Translation | "translation";
28
28
  } & {
29
29
  translation: {
30
30
  en: string;
@@ -46,7 +46,7 @@ declare const dictionaryFormContent: {
46
46
  vi: string;
47
47
  };
48
48
  }>;
49
- placeholder: _intlayer_types262.TypedNodeModel<_intlayer_types262.NodeType.Translation, {
49
+ placeholder: _intlayer_types43.TypedNodeModel<_intlayer_types43.NodeType.Translation, {
50
50
  en: string;
51
51
  'en-GB': string;
52
52
  fr: string;
@@ -65,7 +65,7 @@ declare const dictionaryFormContent: {
65
65
  id: string;
66
66
  vi: string;
67
67
  }, {
68
- nodeType: _intlayer_types262.NodeType.Translation | "translation";
68
+ nodeType: _intlayer_types43.NodeType.Translation | "translation";
69
69
  } & {
70
70
  translation: {
71
71
  en: string;
@@ -89,7 +89,7 @@ declare const dictionaryFormContent: {
89
89
  }>;
90
90
  };
91
91
  projectInput: {
92
- label: _intlayer_types262.TypedNodeModel<_intlayer_types262.NodeType.Translation, {
92
+ label: _intlayer_types43.TypedNodeModel<_intlayer_types43.NodeType.Translation, {
93
93
  en: string;
94
94
  'en-GB': string;
95
95
  fr: string;
@@ -108,7 +108,7 @@ declare const dictionaryFormContent: {
108
108
  id: string;
109
109
  vi: string;
110
110
  }, {
111
- nodeType: _intlayer_types262.NodeType.Translation | "translation";
111
+ nodeType: _intlayer_types43.NodeType.Translation | "translation";
112
112
  } & {
113
113
  translation: {
114
114
  en: string;
@@ -130,7 +130,7 @@ declare const dictionaryFormContent: {
130
130
  vi: string;
131
131
  };
132
132
  }>;
133
- placeholder: _intlayer_types262.TypedNodeModel<_intlayer_types262.NodeType.Translation, {
133
+ placeholder: _intlayer_types43.TypedNodeModel<_intlayer_types43.NodeType.Translation, {
134
134
  en: string;
135
135
  'en-GB': string;
136
136
  fr: string;
@@ -149,7 +149,7 @@ declare const dictionaryFormContent: {
149
149
  id: string;
150
150
  vi: string;
151
151
  }, {
152
- nodeType: _intlayer_types262.NodeType.Translation | "translation";
152
+ nodeType: _intlayer_types43.NodeType.Translation | "translation";
153
153
  } & {
154
154
  translation: {
155
155
  en: string;
@@ -173,7 +173,7 @@ declare const dictionaryFormContent: {
173
173
  }>;
174
174
  };
175
175
  noDictionaryView: {
176
- title: _intlayer_types262.TypedNodeModel<_intlayer_types262.NodeType.Translation, {
176
+ title: _intlayer_types43.TypedNodeModel<_intlayer_types43.NodeType.Translation, {
177
177
  en: string;
178
178
  'en-GB': string;
179
179
  fr: string;
@@ -192,7 +192,7 @@ declare const dictionaryFormContent: {
192
192
  id: string;
193
193
  vi: string;
194
194
  }, {
195
- nodeType: _intlayer_types262.NodeType.Translation | "translation";
195
+ nodeType: _intlayer_types43.NodeType.Translation | "translation";
196
196
  } & {
197
197
  translation: {
198
198
  en: string;
@@ -214,7 +214,7 @@ declare const dictionaryFormContent: {
214
214
  vi: string;
215
215
  };
216
216
  }>;
217
- description: _intlayer_types262.TypedNodeModel<_intlayer_types262.NodeType.Translation, {
217
+ description: _intlayer_types43.TypedNodeModel<_intlayer_types43.NodeType.Translation, {
218
218
  en: string;
219
219
  'en-GB': string;
220
220
  fr: string;
@@ -233,7 +233,7 @@ declare const dictionaryFormContent: {
233
233
  id: string;
234
234
  vi: string;
235
235
  }, {
236
- nodeType: _intlayer_types262.NodeType.Translation | "translation";
236
+ nodeType: _intlayer_types43.NodeType.Translation | "translation";
237
237
  } & {
238
238
  translation: {
239
239
  en: string;
@@ -256,7 +256,7 @@ declare const dictionaryFormContent: {
256
256
  };
257
257
  }>;
258
258
  };
259
- createDictionaryTitle: _intlayer_types262.TypedNodeModel<_intlayer_types262.NodeType.Translation, {
259
+ createDictionaryTitle: _intlayer_types43.TypedNodeModel<_intlayer_types43.NodeType.Translation, {
260
260
  en: string;
261
261
  'en-GB': string;
262
262
  fr: string;
@@ -275,7 +275,7 @@ declare const dictionaryFormContent: {
275
275
  id: string;
276
276
  vi: string;
277
277
  }, {
278
- nodeType: _intlayer_types262.NodeType.Translation | "translation";
278
+ nodeType: _intlayer_types43.NodeType.Translation | "translation";
279
279
  } & {
280
280
  translation: {
281
281
  en: string;
@@ -297,7 +297,7 @@ declare const dictionaryFormContent: {
297
297
  vi: string;
298
298
  };
299
299
  }>;
300
- createDictionaryDescription: _intlayer_types262.TypedNodeModel<_intlayer_types262.NodeType.Translation, {
300
+ createDictionaryDescription: _intlayer_types43.TypedNodeModel<_intlayer_types43.NodeType.Translation, {
301
301
  en: string;
302
302
  'en-GB': string;
303
303
  fr: string;
@@ -316,7 +316,7 @@ declare const dictionaryFormContent: {
316
316
  id: string;
317
317
  vi: string;
318
318
  }, {
319
- nodeType: _intlayer_types262.NodeType.Translation | "translation";
319
+ nodeType: _intlayer_types43.NodeType.Translation | "translation";
320
320
  } & {
321
321
  translation: {
322
322
  en: string;
@@ -339,7 +339,7 @@ declare const dictionaryFormContent: {
339
339
  };
340
340
  }>;
341
341
  createDictionaryButton: {
342
- text: _intlayer_types262.TypedNodeModel<_intlayer_types262.NodeType.Translation, {
342
+ text: _intlayer_types43.TypedNodeModel<_intlayer_types43.NodeType.Translation, {
343
343
  en: string;
344
344
  'en-GB': string;
345
345
  fr: string;
@@ -358,7 +358,7 @@ declare const dictionaryFormContent: {
358
358
  id: string;
359
359
  vi: string;
360
360
  }, {
361
- nodeType: _intlayer_types262.NodeType.Translation | "translation";
361
+ nodeType: _intlayer_types43.NodeType.Translation | "translation";
362
362
  } & {
363
363
  translation: {
364
364
  en: string;
@@ -380,7 +380,7 @@ declare const dictionaryFormContent: {
380
380
  vi: string;
381
381
  };
382
382
  }>;
383
- ariaLabel: _intlayer_types262.TypedNodeModel<_intlayer_types262.NodeType.Translation, {
383
+ ariaLabel: _intlayer_types43.TypedNodeModel<_intlayer_types43.NodeType.Translation, {
384
384
  en: string;
385
385
  'en-GB': string;
386
386
  fr: string;
@@ -399,7 +399,7 @@ declare const dictionaryFormContent: {
399
399
  id: string;
400
400
  vi: string;
401
401
  }, {
402
- nodeType: _intlayer_types262.NodeType.Translation | "translation";
402
+ nodeType: _intlayer_types43.NodeType.Translation | "translation";
403
403
  } & {
404
404
  translation: {
405
405
  en: string;
@@ -423,7 +423,7 @@ declare const dictionaryFormContent: {
423
423
  }>;
424
424
  };
425
425
  editButton: {
426
- text: _intlayer_types262.TypedNodeModel<_intlayer_types262.NodeType.Translation, {
426
+ text: _intlayer_types43.TypedNodeModel<_intlayer_types43.NodeType.Translation, {
427
427
  en: string;
428
428
  'en-GB': string;
429
429
  fr: string;
@@ -442,7 +442,7 @@ declare const dictionaryFormContent: {
442
442
  id: string;
443
443
  vi: string;
444
444
  }, {
445
- nodeType: _intlayer_types262.NodeType.Translation | "translation";
445
+ nodeType: _intlayer_types43.NodeType.Translation | "translation";
446
446
  } & {
447
447
  translation: {
448
448
  en: string;
@@ -464,7 +464,7 @@ declare const dictionaryFormContent: {
464
464
  vi: string;
465
465
  };
466
466
  }>;
467
- ariaLabel: _intlayer_types262.TypedNodeModel<_intlayer_types262.NodeType.Translation, {
467
+ ariaLabel: _intlayer_types43.TypedNodeModel<_intlayer_types43.NodeType.Translation, {
468
468
  en: string;
469
469
  'en-GB': string;
470
470
  fr: string;
@@ -483,7 +483,7 @@ declare const dictionaryFormContent: {
483
483
  id: string;
484
484
  vi: string;
485
485
  }, {
486
- nodeType: _intlayer_types262.NodeType.Translation | "translation";
486
+ nodeType: _intlayer_types43.NodeType.Translation | "translation";
487
487
  } & {
488
488
  translation: {
489
489
  en: string;