@intlayer/design-system 7.4.0 → 7.5.0-canary.0

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 (92) hide show
  1. package/dist/esm/components/Avatar/index.mjs +17 -11
  2. package/dist/esm/components/Avatar/index.mjs.map +1 -1
  3. package/dist/esm/components/Button/Button.mjs +9 -8
  4. package/dist/esm/components/Button/Button.mjs.map +1 -1
  5. package/dist/esm/components/IDE/CodeBlockClient.mjs +1 -1
  6. package/dist/esm/components/IDE/CodeBlockClient.mjs.map +1 -1
  7. package/dist/esm/components/IDE/CodeBlockShiki.mjs +1 -0
  8. package/dist/esm/components/IDE/CodeBlockShiki.mjs.map +1 -1
  9. package/dist/esm/components/Link/Link.mjs +130 -95
  10. package/dist/esm/components/Link/Link.mjs.map +1 -1
  11. package/dist/esm/components/Link/index.mjs +2 -2
  12. package/dist/esm/components/index.mjs +2 -2
  13. package/dist/types/components/Avatar/index.d.ts.map +1 -1
  14. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +3 -3
  15. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts.map +1 -1
  16. package/dist/types/components/Browser/Browser.content.d.ts +5 -5
  17. package/dist/types/components/Button/Button.d.ts +1 -1
  18. package/dist/types/components/Button/Button.d.ts.map +1 -1
  19. package/dist/types/components/Container/index.d.ts +3 -3
  20. package/dist/types/components/Container/index.d.ts.map +1 -1
  21. package/dist/types/components/CopyButton/CopyButton.content.d.ts +3 -3
  22. package/dist/types/components/CopyButton/CopyButton.content.d.ts.map +1 -1
  23. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +25 -25
  24. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -9
  25. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -1
  26. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +33 -33
  27. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +25 -25
  28. package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +25 -25
  29. package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +33 -33
  30. package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +9 -9
  31. package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +7 -7
  32. package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +5 -5
  33. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +31 -31
  34. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
  35. package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +3 -3
  36. package/dist/types/components/Form/FormBase.d.ts +2 -2
  37. package/dist/types/components/Form/FormBase.d.ts.map +1 -1
  38. package/dist/types/components/Form/FormField.d.ts +2 -2
  39. package/dist/types/components/Form/FormField.d.ts.map +1 -1
  40. package/dist/types/components/Form/FormItem.d.ts +2 -2
  41. package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
  42. package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts +2 -2
  43. package/dist/types/components/Form/elements/FormElement.d.ts +2 -2
  44. package/dist/types/components/Form/elements/OTPElement.d.ts +2 -2
  45. package/dist/types/components/Form/elements/SelectElement.d.ts +2 -2
  46. package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts +2 -2
  47. package/dist/types/components/IDE/CodeBlockShiki.d.ts.map +1 -1
  48. package/dist/types/components/IDE/CodeContext.d.ts +2 -2
  49. package/dist/types/components/IDE/code.content.d.ts +5 -5
  50. package/dist/types/components/IDE/code.content.d.ts.map +1 -1
  51. package/dist/types/components/IDE/copyCode.content.d.ts +5 -5
  52. package/dist/types/components/IDE/copyCode.content.d.ts.map +1 -1
  53. package/dist/types/components/Input/Checkbox.d.ts +2 -2
  54. package/dist/types/components/Input/Input.d.ts +2 -2
  55. package/dist/types/components/Input/OTPInput.d.ts +6 -6
  56. package/dist/types/components/Input/OTPInput.d.ts.map +1 -1
  57. package/dist/types/components/Input/SearchInput.d.ts +2 -2
  58. package/dist/types/components/Input/SearchInput.d.ts.map +1 -1
  59. package/dist/types/components/Link/Link.d.ts +23 -86
  60. package/dist/types/components/Link/Link.d.ts.map +1 -1
  61. package/dist/types/components/Link/index.d.ts +2 -2
  62. package/dist/types/components/Loader/index.content.d.ts +3 -3
  63. package/dist/types/components/Loader/spinner.d.ts +2 -2
  64. package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -17
  65. package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -13
  66. package/dist/types/components/MaxWidthSmoother/index.d.ts +2 -2
  67. package/dist/types/components/MaxWidthSmoother/index.d.ts.map +1 -1
  68. package/dist/types/components/Navbar/Burger.d.ts +2 -2
  69. package/dist/types/components/Navbar/Burger.d.ts.map +1 -1
  70. package/dist/types/components/Navbar/DesktopNavbar.d.ts +2 -2
  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.content.d.ts +11 -11
  77. package/dist/types/components/Popover/static.d.ts +3 -3
  78. package/dist/types/components/Select/Select.d.ts +3 -3
  79. package/dist/types/components/SocialNetworks/index.d.ts +2 -2
  80. package/dist/types/components/SwitchSelector/index.d.ts +2 -2
  81. package/dist/types/components/Tab/Tab.d.ts +3 -3
  82. package/dist/types/components/TabSelector/TabSelector.d.ts +4 -4
  83. package/dist/types/components/TabSelector/TabSelector.d.ts.map +1 -1
  84. package/dist/types/components/Table/table.content.d.ts +3 -3
  85. package/dist/types/components/Table/table.content.d.ts.map +1 -1
  86. package/dist/types/components/Tag/index.d.ts +4 -4
  87. package/dist/types/components/Toaster/Toast.d.ts +2 -2
  88. package/dist/types/components/Toaster/Toaster.d.ts +2 -2
  89. package/dist/types/components/Toaster/Toaster.d.ts.map +1 -1
  90. package/dist/types/components/index.d.ts +2 -2
  91. package/dist/types/hooks/useDevice.d.ts.map +1 -1
  92. package/package.json +14 -14
@@ -1 +1 @@
1
- {"version":3,"file":"Link.mjs","names":["Link: FC<LinkProps>"],"sources":["../../../../src/components/Link/Link.tsx"],"sourcesContent":["import { getLocalizedUrl } from '@intlayer/core';\nimport type { LocalesValues } from '@intlayer/types';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { ExternalLink, MoveRight } from 'lucide-react';\nimport type { AnchorHTMLAttributes, DetailedHTMLProps, FC } from 'react';\nimport { cn } from '../../utils/cn';\n\n/**\n * Visual style variants for Link component\n *\n * @enum {string}\n */\nexport enum LinkVariant {\n /** Default underlined link with hover effects */\n DEFAULT = 'default',\n /** Link without visible underline or hover effects */\n INVISIBLE_LINK = 'invisible-link',\n /** Button-styled link with solid background */\n BUTTON = 'button',\n /** Button-styled link with outlined border */\n BUTTON_OUTLINED = 'button-outlined',\n /** Link with subtle hover background effect */\n HOVERABLE = 'hoverable',\n}\n\n/**\n * Color theme variants for Link component\n *\n * @enum {string}\n */\nexport enum LinkColor {\n /** Primary brand color */\n PRIMARY = 'primary',\n /** Secondary brand color */\n SECONDARY = 'secondary',\n /** Destructive/danger color for critical actions */\n DESTRUCTIVE = 'destructive',\n /** Neutral/muted color for less prominent links */\n NEUTRAL = 'neutral',\n /** Light color for dark backgrounds */\n LIGHT = 'light',\n /** Dark color for light backgrounds */\n DARK = 'dark',\n /** Default text color */\n TEXT = 'text',\n /** Inverse text color for opposite backgrounds */\n TEXT_INVERSE = 'text-inverse',\n /** Error/red color for error states */\n ERROR = 'error',\n /** Success/green color for positive actions */\n SUCCESS = 'success',\n /** Custom color - no default styling applied */\n CUSTOM = 'custom',\n}\n\n/**\n * Underline style options for Link component\n *\n * @enum {string}\n */\nexport enum LinkUnderlined {\n /** Default underline behavior based on variant */\n DEFAULT = 'default',\n /** Always show underline */\n TRUE = 'true',\n /** Never show underline */\n FALSE = 'false',\n}\n\n/**\n * Class variance authority configuration for Link component styling\n * Defines the visual appearance based on variant, color, and underline options\n */\nexport const linkVariants = cva(\n 'gap-3 transition focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50',\n {\n variants: {\n variant: {\n [`${LinkVariant.DEFAULT}`]:\n 'h-auto justify-start border-inherit bg-current/0 px-1 underline-offset-4 hover:bg-current/0 hover:underline',\n [`${LinkVariant.INVISIBLE_LINK}`]:\n 'h-auto justify-start border-inherit bg-current/0 px-1 underline-offset-4 hover:bg-current/0',\n [`${LinkVariant.BUTTON}`]:\n 'flex min-h-8 items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-current px-6 font-medium text-sm transition *:text-text-opposite focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 max-md:py-2',\n [`${LinkVariant.BUTTON_OUTLINED}`]:\n 'flex min-h-8 items-center justify-center gap-2 whitespace-nowrap rounded-lg border-[1.5px] px-6 font-medium text-sm transition hover:bg-current/30 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 max-md:py-2',\n [`${LinkVariant.HOVERABLE}`]:\n 'block rounded-lg border-none bg-current/0 transition hover:bg-current/20 aria-[current]:bg-current/5',\n },\n color: {\n [`${LinkColor.PRIMARY}`]: 'text-primary',\n [`${LinkColor.SECONDARY}`]: 'text-secondary',\n [`${LinkColor.DESTRUCTIVE}`]: 'text-destructive',\n [`${LinkColor.NEUTRAL}`]: 'text-neutral',\n [`${LinkColor.LIGHT}`]: 'text-white',\n [`${LinkColor.DARK}`]: 'text-neutral-800',\n [`${LinkColor.TEXT}`]: 'text-text',\n [`${LinkColor.TEXT_INVERSE}`]: 'text-text-opposite',\n [`${LinkColor.ERROR}`]: 'text-error',\n [`${LinkColor.SUCCESS}`]: 'text-success',\n [`${LinkColor.CUSTOM}`]: '',\n },\n underlined: {\n [LinkUnderlined.DEFAULT]: '',\n [LinkUnderlined.TRUE]: 'underline',\n [LinkUnderlined.FALSE]: 'no-underline',\n },\n },\n\n defaultVariants: {\n variant: LinkVariant.DEFAULT,\n color: LinkColor.PRIMARY,\n underlined: LinkUnderlined.DEFAULT,\n },\n }\n);\n\n/**\n * Props interface for the Link component\n *\n * @interface LinkProps\n * @extends {DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>}\n * @extends {VariantProps<typeof linkVariants>}\n */\nexport type LinkProps = DetailedHTMLProps<\n AnchorHTMLAttributes<HTMLAnchorElement>,\n HTMLAnchorElement\n> &\n VariantProps<typeof linkVariants> & {\n /**\n * Accessible label for screen readers (required)\n * Provides context about what the link does or where it leads\n * @example \"Navigate to home page\"\n */\n label: string;\n\n /**\n * Whether this link opens in a new tab/window\n * When true, adds target=\"_blank\" and security attributes\n * Auto-detected for URLs starting with http/https when undefined\n * @default undefined (auto-detect based on href)\n */\n isExternalLink?: boolean;\n\n /**\n * If a link is a page section as '#id'\n * @default false\n */\n isPageSection?: boolean;\n\n /**\n * Whether this link represents the current page/active state\n * Adds aria-current=\"page\" for accessibility\n * @default false\n */\n isActive?: boolean;\n\n /**\n * Locale for internationalized URLs\n * When provided, URLs are automatically localized using Intlayer\n * @example 'fr', 'es', 'en'\n */\n locale?: LocalesValues;\n };\n\n/**\n * Utility function to determine if a link should be treated as external\n *\n * @param props - Link component props containing href and isExternalLink\n * @returns {boolean} True if the link should open externally\n *\n * @example\n * ```tsx\n * checkIsExternalLink({ href: 'https://example.com' }) // true\n * checkIsExternalLink({ href: '/internal-page' }) // false\n * checkIsExternalLink({ href: '/page', isExternalLink: true }) // true\n * ```\n */\nexport const checkIsExternalLink = ({\n href,\n isExternalLink: isExternalLinkProp,\n}: LinkProps): boolean => {\n const isValidHref = typeof href === 'string' && href.trim() !== '';\n const isExternalLink =\n isExternalLinkProp === true ||\n (typeof isExternalLinkProp === 'undefined' &&\n isValidHref &&\n /^https?:\\/\\//.test(href));\n\n return isExternalLink;\n};\n\n/**\n * Link Component\n *\n * A versatile link component that handles both internal and external navigation\n * with comprehensive internationalization support and multiple visual variants.\n *\n * ## Key Features\n * - **Multiple Variants**: Default, invisible, button, outlined button, and hoverable styles\n * - **Color Themes**: Comprehensive color palette for different contexts and meanings\n * - **External Link Detection**: Automatic detection and handling of external URLs\n * - **Internationalization**: Built-in support for localized URLs via Intlayer\n * - **Security**: Automatic security attributes for external links (noopener, noreferrer)\n * - **Accessibility**: Full ARIA support with proper labels and current page indication\n * - **Visual Feedback**: Hover effects, underline options, and active states\n *\n * ## Use Cases\n * - Navigation within applications (internal links)\n * - External links to other websites with security measures\n * - Button-styled links for call-to-action scenarios\n * - Subtle hoverable links for navigation menus\n * - Multi-language website navigation with automatic URL localization\n *\n * ## Security Features\n * External links automatically receive security attributes:\n * - `rel=\"noopener noreferrer nofollow\"` - Prevents security vulnerabilities\n * - `target=\"_blank\"` - Opens in new tab/window\n * - External link icon indication for user clarity\n *\n * ## Internationalization\n * When used with Intlayer, the component automatically:\n * - Localizes internal URLs based on the current or specified locale\n * - Sets appropriate `hrefLang` attributes for SEO\n * - Maintains proper URL structure for multi-language sites\n *\n * @component\n * @example\n * ```tsx\n * // Basic internal link\n * <Link href=\"/about\" label=\"Go to about page\">\n * About Us\n * </Link>\n *\n * // External link with auto-detection\n * <Link href=\"https://example.com\" label=\"Visit external site\">\n * External Site\n * </Link>\n *\n * // Button-styled link\n * <Link\n * href=\"/signup\"\n * variant={LinkVariant.BUTTON}\n * color={LinkColor.PRIMARY}\n * label=\"Sign up for account\"\n * >\n * Get Started\n * </Link>\n *\n * // Localized link\n * <Link\n * href=\"/products\"\n * locale=\"fr\"\n * label=\"Voir les produits\"\n * >\n * Produits\n * </Link>\n *\n * // Active navigation link\n * <Link\n * href=\"/dashboard\"\n * isActive={true}\n * variant={LinkVariant.HOVERABLE}\n * label=\"Current page: Dashboard\"\n * >\n * Dashboard\n * </Link>\n * ```\n *\n * @param props - Link component props\n * @param props.children - Content to display inside the link\n * @param props.href - URL or path to navigate to\n * @param props.label - Accessible label describing the link's purpose\n * @param props.variant - Visual style variant\n * @param props.color - Color theme for the link\n * @param props.underlined - Underline visibility option\n * @param props.isExternalLink - Override external link detection\n * @param props.isActive - Whether this link represents the current page\n * @param props.locale - Locale for URL internationalization\n * @param props.className - Additional CSS classes\n * @returns Accessible and internationalized link component\n */\nexport const Link: FC<LinkProps> = (props) => {\n const {\n variant = LinkVariant.DEFAULT,\n color = LinkColor.PRIMARY,\n children,\n label,\n className,\n isActive,\n underlined,\n locale,\n isExternalLink: isExternalLinkProp,\n isPageSection: isPageSectionProp,\n href: hrefProp,\n ...otherProps\n } = props;\n\n const isExternalLink = isExternalLinkProp ?? checkIsExternalLink(props);\n const isPageSection = isPageSectionProp ?? hrefProp?.startsWith('#') ?? false;\n\n const isChildrenString = typeof children === 'string';\n\n const rel = isExternalLink ? 'noopener noreferrer nofollow' : undefined;\n\n const target = isExternalLink ? '_blank' : '_self';\n\n const href =\n locale && hrefProp && !isExternalLink && !isPageSection\n ? getLocalizedUrl(hrefProp, locale)\n : hrefProp;\n\n return (\n <a\n href={href}\n aria-label={label}\n rel={rel}\n target={target}\n aria-current={isActive ? 'page' : undefined}\n className={cn(\n linkVariants({\n variant,\n color,\n underlined,\n className,\n })\n )}\n {...otherProps}\n >\n {variant === 'button' ? <span>{children}</span> : children}\n {isExternalLink && isChildrenString && (\n <ExternalLink className=\"ml-2 inline-block size-4\" />\n )}\n {isPageSection && <MoveRight className=\"ml-2 inline-block size-4\" />}\n </a>\n );\n};\n"],"mappings":";;;;;;;;;;;;AAYA,IAAY,sDAAL;;AAEL;;AAEA;;AAEA;;AAEA;;AAEA;;;;;;;;AAQF,IAAY,kDAAL;;AAEL;;AAEA;;AAEA;;AA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AM;CACvE,MAAM,gBAAgB,qBAAqB,UAAU,WAAW,IAAI,IAAI;CAExE,MAAM,mBAAmB,OAAO,aAAa;CAE7C,MAAM,MAAM,iBAAiB,iCAAiC;CAE9D,MAAM,SAAS,iBAAiB,WAAW;AAO3C,QACE,qBAAC;EACC,MANF,UAAU,YAAY,CAAC,kBAAkB,CAAC,gBACtC,gBAAgB,UAAU,OAAO,GACjC;EAKF,cAAY;EACP;EACG;EACR,gBAAc,WAAW,SAAS;EAClC,WAAW,GACT,aAAa;GACX;GACA;GACA;GACA;GACD,CAAC,CACH;EACD,GAAI;;GAEH,YAAY,WAAW,oBAAC,UAAM,WAAgB,GAAG;GACjD,kBAAkB,oBACjB,oBAAC,gBAAa,WAAU,6BAA6B;GAEtD,iBAAiB,oBAAC,aAAU,WAAU,6BAA6B;;GAClE"}
1
+ {"version":3,"file":"Link.mjs","names":["Link: FC<LinkProps>"],"sources":["../../../../src/components/Link/Link.tsx"],"sourcesContent":["import { getLocalizedUrl } from '@intlayer/core';\nimport type { LocalesValues } from '@intlayer/types';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { ExternalLink, MoveRight } from 'lucide-react';\nimport type { AnchorHTMLAttributes, DetailedHTMLProps, FC } from 'react';\nimport { cn } from '../../utils/cn';\n\n/**\n * Visual style variants for Link component\n *\n * @enum {string}\n */\nexport enum LinkVariant {\n /** Default underlined link with hover effects */\n DEFAULT = 'default',\n /** Link without visible underline or hover effects */\n INVISIBLE_LINK = 'invisible-link',\n /** Button-styled link with solid background */\n BUTTON = 'button',\n /** Button-styled link with outlined border */\n BUTTON_OUTLINED = 'button-outlined',\n /** Link with subtle hover background effect */\n HOVERABLE = 'hoverable',\n}\n\n/**\n * Color theme variants for Link component\n *\n * @enum {string}\n */\nexport enum LinkColor {\n /** Primary brand color */\n PRIMARY = 'primary',\n /** Secondary brand color */\n SECONDARY = 'secondary',\n /** Destructive/danger color for critical actions */\n DESTRUCTIVE = 'destructive',\n /** Neutral/muted color for less prominent links */\n NEUTRAL = 'neutral',\n /** Light color for dark backgrounds */\n LIGHT = 'light',\n /** Dark color for light backgrounds */\n DARK = 'dark',\n /** Default text color */\n TEXT = 'text',\n /** Inverse text color for opposite backgrounds */\n TEXT_INVERSE = 'text-inverse',\n /** Error/red color for error states */\n ERROR = 'error',\n /** Success/green color for positive actions */\n SUCCESS = 'success',\n /** Custom color - no default styling applied */\n CUSTOM = 'custom',\n}\n\n/** Available rounded corner sizes for the container */\nexport enum LinkRoundedSize {\n NONE = 'none',\n SM = 'sm',\n MD = 'md',\n LG = 'lg',\n XL = 'xl',\n TWO_XL = '2xl',\n THREE_XL = '3xl',\n FULL = 'full',\n}\n\nexport enum LinkSize {\n SM = 'sm',\n MD = 'md',\n LG = 'lg',\n XL = 'xl',\n CUSTOM = 'custom',\n}\n\n/**\n * Underline style options for Link component\n *\n * @enum {string}\n */\nexport enum LinkUnderlined {\n /** Default underline behavior based on variant */\n DEFAULT = 'default',\n /** Always show underline */\n TRUE = 'true',\n /** Never show underline */\n FALSE = 'false',\n}\n\n/**\n * Class variance authority configuration for Link component styling\n * Defines the visual appearance based on variant, color, and underline options\n */\nexport const linkVariants = cva(\n 'gap-3 transition-all duration-300 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50',\n {\n variants: {\n variant: {\n [`${LinkVariant.DEFAULT}`]:\n 'h-auto justify-start border-inherit bg-current/0 px-1 underline-offset-4 hover:bg-current/0 hover:underline',\n [`${LinkVariant.INVISIBLE_LINK}`]:\n 'h-auto justify-start border-inherit bg-current/0 px-1 underline-offset-4 hover:bg-current/0',\n\n [`${LinkVariant.BUTTON}`]:\n 'relative flex cursor-pointer flex-row items-center justify-center gap-2 rounded-full bg-current text-center font-medium text-text ring-0 *:text-text-opposite hover:bg-current/90 hover:ring-6 aria-selected:ring-6',\n\n [`${LinkVariant.BUTTON_OUTLINED}`]:\n 'relative flex cursor-pointer flex-row items-center justify-center gap-2 rounded-full border-[1.5px] border-current text-center font-medium text-text ring-0 *:text-text hover:bg-current/20 hover:ring-6 aria-selected:ring-6',\n\n [`${LinkVariant.HOVERABLE}`]:\n 'block rounded-lg border-none bg-current/0 hover:bg-current/10 aria-[current]:bg-current/5',\n },\n roundedSize: {\n [`${LinkRoundedSize.NONE}`]: 'rounded-none',\n [`${LinkRoundedSize.SM}`]:\n 'rounded-lg [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-xl',\n [`${LinkRoundedSize.MD}`]:\n 'rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl',\n [`${LinkRoundedSize.LG}`]:\n 'rounded-2xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-3xl',\n [`${LinkRoundedSize.XL}`]:\n 'rounded-3xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-4xl',\n [`${LinkRoundedSize.TWO_XL}`]:\n 'rounded-4xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[2.5rem]',\n [`${LinkRoundedSize.THREE_XL}`]:\n 'rounded-[2.5rem] [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[3rem]',\n [`${LinkRoundedSize.FULL}`]: 'rounded-full',\n },\n color: {\n [`${LinkColor.PRIMARY}`]: 'text-primary',\n [`${LinkColor.SECONDARY}`]: 'text-secondary',\n [`${LinkColor.DESTRUCTIVE}`]: 'text-destructive',\n [`${LinkColor.NEUTRAL}`]: 'text-neutral',\n [`${LinkColor.LIGHT}`]: 'text-white',\n [`${LinkColor.DARK}`]: 'text-neutral-800',\n [`${LinkColor.TEXT}`]: 'text-text',\n [`${LinkColor.TEXT_INVERSE}`]: 'text-text-opposite',\n [`${LinkColor.ERROR}`]: 'text-error',\n [`${LinkColor.SUCCESS}`]: 'text-success',\n [`${LinkColor.CUSTOM}`]: '',\n },\n size: {\n [`${LinkSize.SM}`]: 'text-sm',\n [`${LinkSize.MD}`]: 'text-base',\n [`${LinkSize.LG}`]: 'text-lg',\n [`${LinkSize.XL}`]: 'text-xl',\n [`${LinkSize.CUSTOM}`]: '',\n },\n underlined: {\n [LinkUnderlined.DEFAULT]: '',\n [LinkUnderlined.TRUE]: 'underline',\n [LinkUnderlined.FALSE]: 'no-underline',\n },\n },\n // Compound variants handle height and padding\n compoundVariants: [\n // Min height and padding for button variants\n {\n variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],\n size: LinkSize.SM,\n class: 'min-h-7 px-3 max-md:py-1',\n },\n {\n variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],\n size: LinkSize.MD,\n class: 'min-h-8 px-6 max-md:py-2',\n },\n {\n variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],\n size: LinkSize.LG,\n class: 'min-h-10 px-8 max-md:py-3',\n },\n {\n variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],\n size: LinkSize.XL,\n class: 'min-h-11 px-10 max-md:py-4',\n },\n // Ring color variants for button (Chrome bug fix: ring-current/20 doesn't work properly)\n {\n variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],\n color: LinkColor.PRIMARY,\n class: 'ring-primary/20',\n },\n {\n variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],\n color: LinkColor.SECONDARY,\n class: 'ring-secondary/20',\n },\n {\n variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],\n color: LinkColor.DESTRUCTIVE,\n class: 'ring-destructive/20',\n },\n {\n variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],\n color: LinkColor.NEUTRAL,\n class: 'ring-neutral/20',\n },\n {\n variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],\n color: LinkColor.LIGHT,\n class: 'ring-white/20',\n },\n {\n variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],\n color: LinkColor.DARK,\n class: 'ring-neutral-800/20',\n },\n {\n variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],\n color: LinkColor.TEXT,\n class: 'ring-text/20',\n },\n {\n variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],\n color: LinkColor.TEXT_INVERSE,\n class: 'ring-text-opposite/20',\n },\n {\n variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],\n color: LinkColor.ERROR,\n class: 'ring-error/20',\n },\n {\n variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],\n color: LinkColor.SUCCESS,\n class: 'ring-success/20',\n },\n ],\n\n defaultVariants: {\n variant: LinkVariant.DEFAULT,\n color: LinkColor.PRIMARY,\n roundedSize: LinkRoundedSize.MD,\n underlined: LinkUnderlined.DEFAULT,\n size: LinkSize.MD,\n },\n }\n);\n\n/**\n * Props interface for the Link component\n *\n * @interface LinkProps\n * @extends {DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>}\n * @extends {VariantProps<typeof linkVariants>}\n */\nexport type LinkProps = DetailedHTMLProps<\n AnchorHTMLAttributes<HTMLAnchorElement>,\n HTMLAnchorElement\n> &\n VariantProps<typeof linkVariants> & {\n /**\n * Accessible label for screen readers (required)\n * Provides context about what the link does or where it leads\n * @example \"Navigate to home page\"\n */\n label: string;\n\n /**\n * Whether this link opens in a new tab/window\n * When true, adds target=\"_blank\" and security attributes\n * Auto-detected for URLs starting with http/https when undefined\n * @default undefined (auto-detect based on href)\n */\n isExternalLink?: boolean;\n\n /**\n * If a link is a page section as '#id'\n * @default false\n */\n isPageSection?: boolean;\n\n /**\n * Whether this link represents the current page/active state\n * Adds aria-current=\"page\" for accessibility\n * @default false\n */\n isActive?: boolean;\n\n /**\n * Locale for internationalized URLs\n * When provided, URLs are automatically localized using Intlayer\n * @example 'fr', 'es', 'en'\n */\n locale?: LocalesValues;\n };\n\n/**\n * Utility function to determine if a link should be treated as external\n *\n * @param props - Link component props containing href and isExternalLink\n * @returns {boolean} True if the link should open externally\n *\n * @example\n * ```tsx\n * checkIsExternalLink({ href: '[https://example.com](https://example.com)' }) // true\n * checkIsExternalLink({ href: '/internal-page' }) // false\n * checkIsExternalLink({ href: '/page', isExternalLink: true }) // true\n * ```\n */\nexport const checkIsExternalLink = ({\n href,\n isExternalLink: isExternalLinkProp,\n}: LinkProps): boolean => {\n const isValidHref = typeof href === 'string' && href.trim() !== '';\n const isExternalLink =\n isExternalLinkProp === true ||\n (typeof isExternalLinkProp === 'undefined' &&\n isValidHref &&\n /^https?:\\/\\//.test(href));\n\n return isExternalLink;\n};\n\n/**\n * Link Component\n *\n * A versatile link component that handles both internal and external navigation\n * with comprehensive internationalization support and multiple visual variants.\n * ...\n */\nexport const Link: FC<LinkProps> = (props) => {\n const {\n variant = LinkVariant.DEFAULT,\n color = LinkColor.PRIMARY,\n roundedSize,\n children,\n label,\n className,\n isActive,\n underlined,\n locale,\n size,\n isExternalLink: isExternalLinkProp,\n isPageSection: isPageSectionProp,\n href: hrefProp,\n ...otherProps\n } = props;\n\n const isExternalLink = isExternalLinkProp ?? checkIsExternalLink(props);\n const isPageSection = isPageSectionProp ?? hrefProp?.startsWith('#') ?? false;\n\n const isChildrenString = typeof children === 'string';\n\n const rel = isExternalLink ? 'noopener noreferrer nofollow' : undefined;\n\n const target = isExternalLink ? '_blank' : '_self';\n\n const href =\n locale && hrefProp && !isExternalLink && !isPageSection\n ? getLocalizedUrl(hrefProp, locale)\n : hrefProp;\n\n const isButton = variant === 'button' || variant === 'button-outlined';\n\n return (\n <a\n href={href}\n aria-label={label}\n rel={rel}\n target={target}\n aria-current={isActive ? 'page' : undefined}\n className={cn(\n linkVariants({\n variant,\n color,\n roundedSize,\n underlined,\n size,\n className: isButton ? undefined : className,\n })\n )}\n {...otherProps}\n >\n {isButton ? <span className={className}>{children}</span> : children}\n\n {isExternalLink && isChildrenString && (\n <ExternalLink className=\"ml-2 inline-block size-4\" />\n )}\n {isPageSection && <MoveRight className=\"ml-2 inline-block size-4\" />}\n </a>\n );\n};\n"],"mappings":";;;;;;;;;;;;AAYA,IAAY,sDAAL;;AAEL;;AAEA;;AAEA;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B,YAAY,eAAe;EAC3B,MAAM,SAAS;EAChB;CACF,CACF;;;;;;;;;;;;;;AA+DD,MAAa,uBAAuB,EAClC,MACA,gBAAgB,yBACQ;CACxB,MAAM,cAAc,OAAO,SAAS,YAAY,KAAK,MAAM,KAAK;AAOhE,QALE,uBAAuB,QACtB,OAAO,uBAAuB,eAC7B,eACA,eAAe,KAAK,KAAK;;;;;;;;;AAY/B,MAAaA,QAAuB,UAAU;CAC5C,MAAM,EACJ,UAAU,YAAY,SACtB,QAAQ,UAAU,SAClB,aACA,UACA,OACA,WACA,UACA,YACA,QACA,MACA,gBAAgB,oBAChB,eAAe,mBACf,MAAM,UACN,GAAG,eACD;CAEJ,MAAM,iBAAiB,sBAAsB,oBAAoB,MAAM;CACvE,MAAM,gBAAgB,qBAAqB,UAAU,WAAW,IAAI,IAAI;CAExE,MAAM,mBAAmB,OAAO,aAAa;CAE7C,MAAM,MAAM,iBAAiB,iCAAiC;CAE9D,MAAM,SAAS,iBAAiB,WAAW;CAE3C,MAAM,OACJ,UAAU,YAAY,CAAC,kBAAkB,CAAC,gBACtC,gBAAgB,UAAU,OAAO,GACjC;CAEN,MAAM,WAAW,YAAY,YAAY,YAAY;AAErD,QACE,qBAAC;EACO;EACN,cAAY;EACP;EACG;EACR,gBAAc,WAAW,SAAS;EAClC,WAAW,GACT,aAAa;GACX;GACA;GACA;GACA;GACA;GACA,WAAW,WAAW,SAAY;GACnC,CAAC,CACH;EACD,GAAI;;GAEH,WAAW,oBAAC;IAAgB;IAAY;KAAgB,GAAG;GAE3D,kBAAkB,oBACjB,oBAAC,gBAAa,WAAU,6BAA6B;GAEtD,iBAAiB,oBAAC,aAAU,WAAU,6BAA6B;;GAClE"}
@@ -1,3 +1,3 @@
1
- import { Link, LinkColor, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants } from "./Link.mjs";
1
+ import { Link, LinkColor, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants } from "./Link.mjs";
2
2
 
3
- export { Link, LinkColor, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants };
3
+ export { Link, LinkColor, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants };
@@ -5,7 +5,7 @@ import { MaxHeightSmoother } from "./MaxHeightSmoother/index.mjs";
5
5
  import { Accordion } from "./Accordion/Accordion.mjs";
6
6
  import { Avatar, getCapitals } from "./Avatar/index.mjs";
7
7
  import { Badge, BadgeColor, BadgeSize, BadgeVariant, badgeVariants } from "./Badge/index.mjs";
8
- import { Link, LinkColor, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants } from "./Link/Link.mjs";
8
+ import { Link, LinkColor, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants } from "./Link/Link.mjs";
9
9
  import { Breadcrumb } from "./Breadcrumb/index.mjs";
10
10
  import { Browser } from "./Browser/Browser.mjs";
11
11
  import { ClickOutsideDiv } from "./ClickOutsideDiv/index.mjs";
@@ -93,4 +93,4 @@ import { Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastT
93
93
  import { reducer, toast, useToast } from "./Toaster/useToast.mjs";
94
94
  import { Toaster } from "./Toaster/Toaster.mjs";
95
95
 
96
- export { Accordion, AutoCompleteTextarea, AutoSizedTextArea, Avatar, Badge, BadgeColor, BadgeSize, BadgeVariant, Breadcrumb, Browser, Button, ButtonColor, ButtonSize, ButtonTextAlign, ButtonVariant, Checkbox, CheckboxColor, CheckboxSize, ClickOutsideDiv, Code, CodeBlock, CodeDefault, CollapsibleTable, Command, CommandRoot, Container, ContainerBackground, ContainerBorderColor, ContainerGap, ContainerPadding, ContainerRoundedSize, ContainerSeparator, ContainerTransparency, ContentSelector, CopyButton, CopyToClipboard, DesktopThemeSwitcher, Detail, DictionaryCreationForm, DictionaryEditor, DictionaryFieldEditor, DiscordLogo, DotPattern, DropDown, DropDownAlign, EditableFieldInput, EditableFieldTextArea, ExpandCollapse, FacebookLogo, FileList, Flag, Footer, Form, GridPattern, H1, H2, H3, H4, H5, H6, HeightResizer, HideShow, IDE, InformationTag, Input, InputIndicator, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputPassword, InputSize, InputVariant, InstagramLogo, KeyboardScreenAdapter, Label, Link, LinkColor, LinkUnderlined, LinkVariant, LinkedInLogo, Loader, LocaleSwitcher, LocaleSwitcherContent, LocaleSwitcherContentProvider, Logo, LogoTextOnly, LogoWithText, LogoWithTextBelow, MarkdownRenderer, MaxHeightSmoother, MaxWidthSmoother, MobileThemeSwitcher, Modal, ModalSize, Modes, MultiSelect, Navbar, NumberItemsSelector, OTPInput, OTPInputContext, Pagination, PaginationSize, PaginationVariant, Popover, PopoverStatic, PopoverXAlign, PopoverYAlign, PressableSpan, ProductHuntLogo, RightDrawer, SearchInput, Select, SelectContent, SelectContentPosition, SelectLabel, SelectSeparator, ShowingResultsNumberItems, SocialNetworks, Spotlight, SwitchSelector, SwitchSelectorColor, SwitchSelectorSize, Tab, TabSelector, TabSelectorColor, Table, Tag, TagBackground, TagBorder, TagColor, TagRoundedSize, TagSize, Terminal, TextArea, TiktokLogo, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, VersionSwitcher, VersionSwitcherProvider, WithResizer, XLogo, YoutubeLogo, badgeVariants, buttonVariants, checkIsExternalLink, checkboxVariants, containerVariants, getCapitals, inputSlotVariants, inputVariants, linkVariants, paginationVariants, reducer, toast, useCopyToClipboard, useDebounce, useForm, useFormField, useLocaleSwitcherContent, usePasswordManagerBadge, usePrevious, useRightDrawerStore, useToast, useVersionSwitcher };
96
+ export { Accordion, AutoCompleteTextarea, AutoSizedTextArea, Avatar, Badge, BadgeColor, BadgeSize, BadgeVariant, Breadcrumb, Browser, Button, ButtonColor, ButtonSize, ButtonTextAlign, ButtonVariant, Checkbox, CheckboxColor, CheckboxSize, ClickOutsideDiv, Code, CodeBlock, CodeDefault, CollapsibleTable, Command, CommandRoot, Container, ContainerBackground, ContainerBorderColor, ContainerGap, ContainerPadding, ContainerRoundedSize, ContainerSeparator, ContainerTransparency, ContentSelector, CopyButton, CopyToClipboard, DesktopThemeSwitcher, Detail, DictionaryCreationForm, DictionaryEditor, DictionaryFieldEditor, DiscordLogo, DotPattern, DropDown, DropDownAlign, EditableFieldInput, EditableFieldTextArea, ExpandCollapse, FacebookLogo, FileList, Flag, Footer, Form, GridPattern, H1, H2, H3, H4, H5, H6, HeightResizer, HideShow, IDE, InformationTag, Input, InputIndicator, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputPassword, InputSize, InputVariant, InstagramLogo, KeyboardScreenAdapter, Label, Link, LinkColor, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, LinkedInLogo, Loader, LocaleSwitcher, LocaleSwitcherContent, LocaleSwitcherContentProvider, Logo, LogoTextOnly, LogoWithText, LogoWithTextBelow, MarkdownRenderer, MaxHeightSmoother, MaxWidthSmoother, MobileThemeSwitcher, Modal, ModalSize, Modes, MultiSelect, Navbar, NumberItemsSelector, OTPInput, OTPInputContext, Pagination, PaginationSize, PaginationVariant, Popover, PopoverStatic, PopoverXAlign, PopoverYAlign, PressableSpan, ProductHuntLogo, RightDrawer, SearchInput, Select, SelectContent, SelectContentPosition, SelectLabel, SelectSeparator, ShowingResultsNumberItems, SocialNetworks, Spotlight, SwitchSelector, SwitchSelectorColor, SwitchSelectorSize, Tab, TabSelector, TabSelectorColor, Table, Tag, TagBackground, TagBorder, TagColor, TagRoundedSize, TagSize, Terminal, TextArea, TiktokLogo, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, VersionSwitcher, VersionSwitcherProvider, WithResizer, XLogo, YoutubeLogo, badgeVariants, buttonVariants, checkIsExternalLink, checkboxVariants, containerVariants, getCapitals, inputSlotVariants, inputVariants, linkVariants, paginationVariants, reducer, toast, useCopyToClipboard, useDebounce, useForm, useFormField, useLocaleSwitcherContent, usePasswordManagerBadge, usePrevious, useRightDrawerStore, useToast, useVersionSwitcher };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Avatar/index.tsx"],"sourcesContent":[],"mappings":";;;;;;AASA;AAA0C,UAAzB,WAAA,SAAoB,IAAK,CAAA,cAAA,CAAA,QAAA,CAAA,EAAA,SAAA,CAAA,CAAA;EAYL;EAAjB,GAAM,CAAA,EAAA,MAAA;EAZW;EAAI,QAAA,CAAA,EAAA,MAAA;EAmC5B;EAqEA,SAuIZ,CAAA,EAAA,OAAA;;;;;;oBAnOmB,KAAA,CAAM,WAAW;;;;;;;;;;;;cAuBxB;;;;;;;;;;;;;;;;;;;;;;;cAqEA,QAAQ,GAAG"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Avatar/index.tsx"],"sourcesContent":[],"mappings":";;;;;;AASA;AAA0C,UAAzB,WAAA,SAAoB,IAAK,CAAA,cAAA,CAAA,QAAA,CAAA,EAAA,SAAA,CAAA,CAAA;EAYL;EAAjB,GAAM,CAAA,EAAA,MAAA;EAZW;EAAI,QAAA,CAAA,EAAA,MAAA;EAgD5B;EAqEA,SAoHZ,CAAA,EAAA,OAAA;;;;;;oBA7NmB,KAAA,CAAM,WAAW;;;;;;;;;;;;cAoCxB;;;;;;;;;;;;;;;;;;;;;;;cAqEA,QAAQ,GAAG"}
@@ -1,10 +1,10 @@
1
- import * as _intlayer_types65 from "@intlayer/types";
1
+ import * as _intlayer_types385 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_types65.TypedNodeModel<_intlayer_types65.NodeType.Translation, {
7
+ linkLabel: _intlayer_types385.TypedNodeModel<_intlayer_types385.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_types65.NodeType.Translation | "translation";
26
+ nodeType: "translation" | _intlayer_types385.NodeType.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,kCA2BS,yCAAA"}
1
+ {"version":3,"file":"breadcrumb.content.d.ts","names":[],"sources":["../../../../src/components/Breadcrumb/breadcrumb.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,SAAA,mCA2BS,0CAAA"}
@@ -23,7 +23,7 @@ declare const browserContent: {
23
23
  id: string;
24
24
  vi: string;
25
25
  }, {
26
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
26
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
27
27
  } & {
28
28
  translation: {
29
29
  en: string;
@@ -64,7 +64,7 @@ declare const browserContent: {
64
64
  id: string;
65
65
  vi: string;
66
66
  }, {
67
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
67
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
68
68
  } & {
69
69
  translation: {
70
70
  en: string;
@@ -106,7 +106,7 @@ declare const browserContent: {
106
106
  id: string;
107
107
  vi: string;
108
108
  }, {
109
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
109
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
110
110
  } & {
111
111
  translation: {
112
112
  en: string;
@@ -147,7 +147,7 @@ declare const browserContent: {
147
147
  id: string;
148
148
  vi: string;
149
149
  }, {
150
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
150
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
151
151
  } & {
152
152
  translation: {
153
153
  en: string;
@@ -188,7 +188,7 @@ declare const browserContent: {
188
188
  id: string;
189
189
  vi: string;
190
190
  }, {
191
- nodeType: _intlayer_types0.NodeType.Translation | "translation";
191
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
192
192
  } & {
193
193
  translation: {
194
194
  en: string;
@@ -62,7 +62,7 @@ declare enum ButtonTextAlign {
62
62
  declare const buttonVariants: (props?: {
63
63
  size?: "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
64
64
  color?: "primary" | "secondary" | "destructive" | "neutral" | "card" | "light" | "dark" | "text" | "current" | "text-inverse" | "error" | "success" | "custom";
65
- roundedSize?: "sm" | "md" | "lg" | "xl" | "none";
65
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "none" | "full";
66
66
  variant?: "none" | "default" | "outline" | "link" | "invisible-link" | "hoverable" | "fade" | "input";
67
67
  textAlign?: "left" | "center" | "right";
68
68
  isFullWidth?: boolean;
@@ -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;EA4ID,OAAA,GAAA,SAAW;EACA,OAAA,GAAA,SAAA;EAArB,OAAA,GAAA,SAAA;EACA,OAAA,GAAA,SAAA;;;;;AAYc,aApMJ,aAAA;EAyMI,OAAA,GAAA,SAAA;EAAK,IAAA,GAAA,MAAA;EAAU,OAAA,GAAA,SAAA;EA8FlB,IAAA,GAAA,MAkHZ;;;;;;;;;aA3YW,WAAA;;;;;;;;;;;;;;;;;;aAmBA,eAAA;;;;;;;;cASC;;;;;;;IAuIZ,+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;EA6ID,OAAA,GAAA,SAAW;EACA,OAAA,GAAA,SAAA;EAArB,OAAA,GAAA,SAAA;EACA,OAAA,GAAA,SAAA;;;;;AAYc,aArMJ,aAAA;EA0MI,OAAA,GAAA,SAAA;EAAK,IAAA,GAAA,MAAA;EAAU,OAAA,GAAA,SAAA;EA8FlB,IAAA,GAAA,MAkHZ;;;;;;;;;aA5YW,WAAA;;;;;;;;;;;;;;;;;;aAmBA,eAAA;;;;;;;;cASC;;;;;;;IAwIZ,+BAAA,CAAA;;;;KAKW,WAAA,GAAc,kBACxB,qBAAqB,oBACrB,qBAEA,oBAAoB;;;;;;;;;SAUX,KAAK;;;;cAKA,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8FR,QAAQ,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?: "sm" | "md" | "lg" | "xl" | "none" | "full" | "2xl" | "3xl";
12
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "full" | "3xl";
13
13
  transparency?: "sm" | "md" | "lg" | "xl" | "none" | "full";
14
- padding?: "sm" | "md" | "lg" | "xl" | "none" | "2xl";
14
+ padding?: "sm" | "md" | "lg" | "xl" | "2xl" | "none";
15
15
  separator?: "without" | "x" | "y" | "both";
16
16
  border?: "with" | "none";
17
17
  borderColor?: "primary" | "secondary" | "neutral" | "text" | "error" | "success" | "warning";
18
18
  background?: "with" | "none" | "hoverable";
19
- gap?: "sm" | "md" | "lg" | "xl" | "none" | "2xl";
19
+ gap?: "sm" | "md" | "lg" | "xl" | "2xl" | "none";
20
20
  } & class_variance_authority_types3.ClassProp) => string;
21
21
  /** Available rounded corner sizes for the container */
22
22
  declare enum ContainerRoundedSize {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Container/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAaA;AA4EY,cA5EC,iBA4EmB,EAAA,CAAA,KAoEzB,CApEyB,EAAA;EAYpB,WAAA,CAAA,EAAA,IAAA,GAAA,IAAqB,GAAA,IAAA,GAAA,IAAA,GAAA,MAAA,GAAA,MAAA,GAAA,KAAA,GAAA,KAAA;EAUrB,YAAA,CAAA,EAAA,IAAgB,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,MAAA,GAAA,MAAA;EAShB,OAAA,CAAA,EAAA,IAAA,GAAA,IAAkB,GAAA,IAAA,GAAA,IAAA,GAAA,MAAA,GAAA,KAAA;EAQlB,SAAA,CAAA,EAAA,SAAA,GAAoB,GAAA,GAAA,GAAA,GAAA,MAAA;EAWpB,MAAA,CAAA,EAAA,MAAA,GAAA,MAAmB;EAOnB,WAAA,CAAA,EAAA,SAAY,GAAA,WAAA,GAAA,SAAA,GAAA,MAAA,GAAA,OAAA,GAAA,SAAA,GAAA,SAAA;EAUZ,UAAA,CAAA,EAAA,MAAc,GAAA,MAAA,GAAA,WAAA;EACC,GAAA,CAAA,EAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,MAAA,GAAA,KAAA;CAApB,GAvEL,+BAAA,CAAA,SAuEK,EAAA,GAAA,MAAA;;AADsB,aAnEjB,oBAAA;EAsEuB,IAAA,GAAA,MAAA;EAAf,EAAA,GAAA,IAAA;EAAgC,EAAA,GAAA,IAAA;EAAlD,EAAA,GAAA,IAAA;EAAiB,EAAA,GAAA,IAAA;EAkCN,MAAA,GAAA,K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,IAAA;EAAlD,EAAA,GAAA,IAAA;EAAiB,EAAA,GAAA,IAAA;EAkCN,MAAA,GAAA,KAgCZ;;;;;aA5HW,qBAAA;;;;;;;;;aAUA,gBAAA;;;;;;;;aASA,kBAAA;;;;;;;aAQA,oBAAA;;;;;;;;;;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_types271 from "@intlayer/types";
1
+ import * as _intlayer_types26 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_types271.TypedNodeModel<_intlayer_types271.NodeType.Translation, {
7
+ label: _intlayer_types26.TypedNodeModel<_intlayer_types26.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_types271.NodeType.Translation | "translation";
26
+ nodeType: "translation" | _intlayer_types26.NodeType.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,mCA2BS,0CAAA"}
1
+ {"version":3,"file":"CopyButton.content.d.ts","names":[],"sources":["../../../../src/components/CopyButton/CopyButton.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,KAAA,kCA2BS,yCAAA"}
@@ -1,11 +1,11 @@
1
- import * as _intlayer_types73 from "@intlayer/types";
1
+ import * as _intlayer_types248 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_types73.TypedNodeModel<_intlayer_types73.NodeType.Translation, {
8
+ label: _intlayer_types248.TypedNodeModel<_intlayer_types248.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_types73.NodeType.Translation | "translation";
27
+ nodeType: "translation" | _intlayer_types248.NodeType.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_types73.TypedNodeModel<_intlayer_types73.NodeType.Translation, {
49
+ placeholder: _intlayer_types248.TypedNodeModel<_intlayer_types248.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_types73.NodeType.Translation | "translation";
68
+ nodeType: "translation" | _intlayer_types248.NodeType.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_types73.TypedNodeModel<_intlayer_types73.NodeType.Translation, {
92
+ label: _intlayer_types248.TypedNodeModel<_intlayer_types248.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_types73.NodeType.Translation | "translation";
111
+ nodeType: "translation" | _intlayer_types248.NodeType.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_types73.TypedNodeModel<_intlayer_types73.NodeType.Translation, {
133
+ placeholder: _intlayer_types248.TypedNodeModel<_intlayer_types248.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_types73.NodeType.Translation | "translation";
152
+ nodeType: "translation" | _intlayer_types248.NodeType.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_types73.TypedNodeModel<_intlayer_types73.NodeType.Translation, {
176
+ title: _intlayer_types248.TypedNodeModel<_intlayer_types248.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_types73.NodeType.Translation | "translation";
195
+ nodeType: "translation" | _intlayer_types248.NodeType.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_types73.TypedNodeModel<_intlayer_types73.NodeType.Translation, {
217
+ description: _intlayer_types248.TypedNodeModel<_intlayer_types248.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_types73.NodeType.Translation | "translation";
236
+ nodeType: "translation" | _intlayer_types248.NodeType.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_types73.TypedNodeModel<_intlayer_types73.NodeType.Translation, {
259
+ createDictionaryTitle: _intlayer_types248.TypedNodeModel<_intlayer_types248.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_types73.NodeType.Translation | "translation";
278
+ nodeType: "translation" | _intlayer_types248.NodeType.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_types73.TypedNodeModel<_intlayer_types73.NodeType.Translation, {
300
+ createDictionaryDescription: _intlayer_types248.TypedNodeModel<_intlayer_types248.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_types73.NodeType.Translation | "translation";
319
+ nodeType: "translation" | _intlayer_types248.NodeType.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_types73.TypedNodeModel<_intlayer_types73.NodeType.Translation, {
342
+ text: _intlayer_types248.TypedNodeModel<_intlayer_types248.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_types73.NodeType.Translation | "translation";
361
+ nodeType: "translation" | _intlayer_types248.NodeType.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_types73.TypedNodeModel<_intlayer_types73.NodeType.Translation, {
383
+ ariaLabel: _intlayer_types248.TypedNodeModel<_intlayer_types248.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_types73.NodeType.Translation | "translation";
402
+ nodeType: "translation" | _intlayer_types248.NodeType.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_types73.TypedNodeModel<_intlayer_types73.NodeType.Translation, {
426
+ text: _intlayer_types248.TypedNodeModel<_intlayer_types248.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_types73.NodeType.Translation | "translation";
445
+ nodeType: "translation" | _intlayer_types248.NodeType.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_types73.TypedNodeModel<_intlayer_types73.NodeType.Translation, {
467
+ ariaLabel: _intlayer_types248.TypedNodeModel<_intlayer_types248.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_types73.NodeType.Translation | "translation";
486
+ nodeType: "translation" | _intlayer_types248.NodeType.Translation;
487
487
  } & {
488
488
  translation: {
489
489
  en: string;
@@ -1,10 +1,10 @@
1
- import * as _intlayer_types109 from "@intlayer/types";
1
+ import * as _intlayer_types47 from "@intlayer/types";
2
2
 
3
3
  //#region src/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts
4
4
  declare const dictionaryFormSchemaContent: {
5
5
  key: string;
6
6
  content: {
7
- requiredErrorName: _intlayer_types109.TypedNodeModel<_intlayer_types109.NodeType.Translation, {
7
+ requiredErrorName: _intlayer_types47.TypedNodeModel<_intlayer_types47.NodeType.Translation, {
8
8
  en: string;
9
9
  'en-GB': string;
10
10
  fr: string;
@@ -23,7 +23,7 @@ declare const dictionaryFormSchemaContent: {
23
23
  id: string;
24
24
  vi: string;
25
25
  }, {
26
- nodeType: _intlayer_types109.NodeType.Translation | "translation";
26
+ nodeType: "translation" | _intlayer_types47.NodeType.Translation;
27
27
  } & {
28
28
  translation: {
29
29
  en: string;
@@ -45,7 +45,7 @@ declare const dictionaryFormSchemaContent: {
45
45
  vi: string;
46
46
  };
47
47
  }>;
48
- invalidTypeErrorName: _intlayer_types109.TypedNodeModel<_intlayer_types109.NodeType.Translation, {
48
+ invalidTypeErrorName: _intlayer_types47.TypedNodeModel<_intlayer_types47.NodeType.Translation, {
49
49
  en: string;
50
50
  'en-GB': string;
51
51
  fr: string;
@@ -64,7 +64,7 @@ declare const dictionaryFormSchemaContent: {
64
64
  id: string;
65
65
  vi: string;
66
66
  }, {
67
- nodeType: _intlayer_types109.NodeType.Translation | "translation";
67
+ nodeType: "translation" | _intlayer_types47.NodeType.Translation;
68
68
  } & {
69
69
  translation: {
70
70
  en: string;
@@ -86,7 +86,7 @@ declare const dictionaryFormSchemaContent: {
86
86
  vi: string;
87
87
  };
88
88
  }>;
89
- requiredErrorProjectId: _intlayer_types109.TypedNodeModel<_intlayer_types109.NodeType.Translation, {
89
+ requiredErrorProjectId: _intlayer_types47.TypedNodeModel<_intlayer_types47.NodeType.Translation, {
90
90
  en: string;
91
91
  'en-GB': string;
92
92
  fr: string;
@@ -105,7 +105,7 @@ declare const dictionaryFormSchemaContent: {
105
105
  id: string;
106
106
  vi: string;
107
107
  }, {
108
- nodeType: _intlayer_types109.NodeType.Translation | "translation";
108
+ nodeType: "translation" | _intlayer_types47.NodeType.Translation;
109
109
  } & {
110
110
  translation: {
111
111
  en: string;
@@ -127,7 +127,7 @@ declare const dictionaryFormSchemaContent: {
127
127
  vi: string;
128
128
  };
129
129
  }>;
130
- invalidTypeErrorProjectId: _intlayer_types109.TypedNodeModel<_intlayer_types109.NodeType.Translation, {
130
+ invalidTypeErrorProjectId: _intlayer_types47.TypedNodeModel<_intlayer_types47.NodeType.Translation, {
131
131
  en: string;
132
132
  'en-GB': string;
133
133
  fr: string;
@@ -146,7 +146,7 @@ declare const dictionaryFormSchemaContent: {
146
146
  id: string;
147
147
  vi: string;
148
148
  }, {
149
- nodeType: _intlayer_types109.NodeType.Translation | "translation";
149
+ nodeType: "translation" | _intlayer_types47.NodeType.Translation;
150
150
  } & {
151
151
  translation: {
152
152
  en: string;
@@ -1 +1 @@
1
- {"version":3,"file":"useDictionaryFormSchema.content.d.ts","names":[],"sources":["../../../../../src/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,iBAAA,mCAuFS,0CAAA"}
1
+ {"version":3,"file":"useDictionaryFormSchema.content.d.ts","names":[],"sources":["../../../../../src/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,iBAAA,kCAuFS,yCAAA"}