intlayer-editor 7.3.15 → 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.
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vue-M1-XqLgv.js","assets/css-BtVcDqlU.js","assets/javascript-DLs729Nk.js","assets/typescript-Cju7JbYj.js","assets/json-D07AUpjp.js","assets/html-derivative-Cswrtqyq.js","assets/html-BOjX3v2Q.js","assets/bundle-web-Dz2zav10.js","assets/index-BT3x4i8O.js","assets/index-B6iFg1jy.css"])))=>i.map(i=>d[i]);
2
- import { r as reactExports, j as jsxRuntimeExports, C as CodeDefault, _ as __vitePreload } from "./index-BT3x4i8O.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vue-M1-XqLgv.js","assets/css-BtVcDqlU.js","assets/javascript-DLs729Nk.js","assets/typescript-Cju7JbYj.js","assets/json-D07AUpjp.js","assets/html-derivative-Cswrtqyq.js","assets/html-BOjX3v2Q.js","assets/bundle-web-BBNmn0_H.js","assets/index-Br4JAuU5.js","assets/index-BzVHXaHc.css"])))=>i.map(i=>d[i]);
2
+ import { r as reactExports, j as jsxRuntimeExports, C as CodeDefault, _ as __vitePreload } from "./index-Br4JAuU5.js";
3
3
  const languageCache = /* @__PURE__ */ new Map();
4
4
  const themeCache = /* @__PURE__ */ new Map();
5
5
  const loadLanguage = async (lang) => {
@@ -60,7 +60,7 @@ const loadTheme = async (themeName) => {
60
60
  const highlightCode = async (code, lang, isDarkMode) => {
61
61
  const themeName = isDarkMode ? "github-dark" : "github-light";
62
62
  const [{ codeToHtml }, languageModule, themeModule] = await Promise.all([
63
- __vitePreload(() => import("./bundle-web-Dz2zav10.js"), true ? __vite__mapDeps([7,8,9]) : void 0),
63
+ __vitePreload(() => import("./bundle-web-BBNmn0_H.js"), true ? __vite__mapDeps([7,8,9]) : void 0),
64
64
  loadLanguage(lang),
65
65
  loadTheme(themeName)
66
66
  ]);
@@ -89,6 +89,7 @@ const CodeBlockShiki = ({ children, lang, isDarkMode }) => {
89
89
  isDarkMode
90
90
  ]);
91
91
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
92
+ className: "min-w-0 max-w-full overflow-auto bg-transparent [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden [&_pre::-webkit-scrollbar]:hidden [&_pre]:[-ms-overflow-style:none] [&_pre]:[scrollbar-width:none]",
92
93
  style: {
93
94
  backgroundColor: "transparent",
94
95
  minWidth: 0,
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/angular-html-ChYFFmg7.js","assets/html-BOjX3v2Q.js","assets/javascript-DLs729Nk.js","assets/css-BtVcDqlU.js","assets/angular-ts-CpuGw9DZ.js","assets/scss-Dq-LbI_c.js","assets/astro-B0lt4qz0.js","assets/json-D07AUpjp.js","assets/typescript-Cju7JbYj.js","assets/postcss-kj1IbjVd.js","assets/tsx-B9RA6cgQ.js","assets/blade-DtOFwYfC.js","assets/html-derivative-Cswrtqyq.js","assets/xml-BMzZeaqs.js","assets/java-BfXh-0uJ.js","assets/sql-DzUuSofg.js","assets/coffee-DJkIX6_2.js","assets/cpp-zh2ePAE_.js","assets/regexp-BxWeO75u.js","assets/glsl-CGsiYPcu.js","assets/c-C4VtT7JA.js","assets/graphql-oNSp8dGZ.js","assets/jsx-BPmvoin2.js","assets/haml-BJ44RGT2.js","assets/handlebars-DTnHNTeU.js","assets/yaml-B_vW5iTY.js","assets/http-B1QlEqj7.js","assets/bash-Bz2gZrDc.js","assets/hurl-Br_hZn4E.js","assets/csv-Ba84L8e5.js","assets/jinja-BAZ4h1JD.js","assets/jison-Bwp1bXaL.js","assets/julia-D0f5tMoo.js","assets/python-CrdIx4PZ.js","assets/r-oprfD2-9.js","assets/marko-rwefYVra.js","assets/less-BAzLMJNR.js","assets/mdc-ucHOH9Vl.js","assets/markdown-F_EULe_G.js","assets/php-CI-6KGJr.js","assets/pug-C-LeC0-n.js","assets/svelte-CYSO_rLN.js","assets/ts-tags-DCkNjov3.js","assets/vue-M1-XqLgv.js","assets/vue-html-BzXE5pTE.js","assets/vue-vine-BT_ihGGO.js","assets/stylus-DXFa_2Jl.js"])))=>i.map(i=>d[i]);
2
- import { _ as __vitePreload } from "./index-BT3x4i8O.js";
2
+ import { _ as __vitePreload } from "./index-Br4JAuU5.js";
3
3
  let ShikiError$2 = class ShikiError extends Error {
4
4
  constructor(message) {
5
5
  super(message);
@@ -14773,8 +14773,13 @@ const getPathWithoutLocale = (inputUrl, locales = configuration?.internationaliz
14773
14773
  return url.toString().replace("http://example.com", "");
14774
14774
  };
14775
14775
  const getPrefix = (locale, options = {}) => {
14776
- const { defaultLocale = configuration?.internationalization?.defaultLocale, mode = configuration?.routing?.mode } = options;
14777
- if (!locale) return {
14776
+ const { defaultLocale, mode, locales } = {
14777
+ defaultLocale: configuration?.internationalization?.defaultLocale ?? defaultValues_exports.Internationalization.DEFAULT_LOCALE,
14778
+ mode: configuration?.routing?.mode ?? defaultValues_exports.Routing.ROUTING_MODE,
14779
+ locales: configuration?.internationalization?.locales ?? defaultValues_exports.Internationalization.LOCALES,
14780
+ ...options
14781
+ };
14782
+ if (!locale || !locales.includes(locale)) return {
14778
14783
  prefix: "",
14779
14784
  localePrefix: void 0
14780
14785
  };
@@ -14788,7 +14793,12 @@ const getPrefix = (locale, options = {}) => {
14788
14793
  };
14789
14794
  };
14790
14795
  const getLocalizedUrl = (url, currentLocale, options = {}) => {
14791
- const { locales = configuration?.internationalization?.locales ?? defaultValues_exports.Internationalization.LOCALES, defaultLocale = configuration?.internationalization?.defaultLocale ?? defaultValues_exports.Internationalization.DEFAULT_LOCALE, mode = configuration?.routing?.mode ?? defaultValues_exports.Routing.ROUTING_MODE } = options;
14796
+ const { defaultLocale, mode, locales } = {
14797
+ defaultLocale: configuration?.internationalization?.defaultLocale ?? defaultValues_exports.Internationalization.DEFAULT_LOCALE,
14798
+ mode: configuration?.routing?.mode ?? defaultValues_exports.Routing.ROUTING_MODE,
14799
+ locales: configuration?.internationalization?.locales ?? defaultValues_exports.Internationalization.LOCALES,
14800
+ ...options
14801
+ };
14792
14802
  const urlWithoutLocale = getPathWithoutLocale(url, locales);
14793
14803
  if (mode === "no-prefix") return urlWithoutLocale;
14794
14804
  const isAbsoluteUrl = checkIsURLAbsolute(urlWithoutLocale);
@@ -14804,7 +14814,8 @@ const getLocalizedUrl = (url, currentLocale, options = {}) => {
14804
14814
  }
14805
14815
  const { prefix } = getPrefix(currentLocale, {
14806
14816
  defaultLocale,
14807
- mode
14817
+ mode,
14818
+ locales
14808
14819
  });
14809
14820
  let localizedPath = `/${prefix}${parsedUrl.pathname}`;
14810
14821
  localizedPath = localizedPath.replaceAll(/\/+/g, "/");
@@ -21104,13 +21115,13 @@ const buttonVariants = cva("relative inline-flex cursor-pointer items-center jus
21104
21115
  [`${ButtonColor.PRIMARY}`]: "hover-primary-500/20 text-primary ring-primary-500/20 *:text-text-light",
21105
21116
  [`${ButtonColor.SECONDARY}`]: "hover-secondary-500/20 text-secondary ring-secondary-500/20 *:text-text-light",
21106
21117
  [`${ButtonColor.DESTRUCTIVE}`]: "hover-destructive-500/20 text-destructive ring-destructive-500/20 *:text-text-light",
21107
- [`${ButtonColor.NEUTRAL}`]: "hover-neutral-500/20 text-neutral ring-neutral-500/20 *:text-text-light",
21118
+ [`${ButtonColor.NEUTRAL}`]: "text-neutral ring-neutral-500/20 *:text-text-light",
21108
21119
  [`${ButtonColor.CARD}`]: "hover-card-500/20 text-card ring-card-500/20 *:text-text-light",
21109
21120
  [`${ButtonColor.LIGHT}`]: "hover-white-500/20 text-white ring-white/20 *:text-text-light",
21110
- [`${ButtonColor.DARK}`]: "hover-neutral-500/20 text-neutral-800 ring-neutral-800/50 *:text-text-light",
21111
- [`${ButtonColor.TEXT}`]: "hover-neutral-500/20 text-text ring-neutral-500/20 *:text-text-opposite",
21121
+ [`${ButtonColor.DARK}`]: "text-neutral-800 ring-neutral-800/50 *:text-text-light",
21122
+ [`${ButtonColor.TEXT}`]: "text-text ring-neutral-500/20 *:text-text-opposite",
21112
21123
  [`${ButtonColor.CURRENT}`]: "hover-current-500/20 text-current ring-current/20 *:text-text-light",
21113
- [`${ButtonColor.TEXT_INVERSE}`]: "hover-neutral-500/20 text-text-opposite ring-neutral-500/20 *:text-text",
21124
+ [`${ButtonColor.TEXT_INVERSE}`]: "text-text-opposite ring-neutral-500/20 *:text-text",
21114
21125
  [`${ButtonColor.ERROR}`]: "hover-error-500/20 text-error ring-error/20 *:text-text-light",
21115
21126
  [`${ButtonColor.SUCCESS}`]: "hover-success-500/20 text-success ring-success/20 *:text-text-light",
21116
21127
  [`${ButtonColor.CUSTOM}`]: ""
@@ -21120,7 +21131,8 @@ const buttonVariants = cva("relative inline-flex cursor-pointer items-center jus
21120
21131
  [`${ContainerRoundedSize.SM}`]: "rounded-lg [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-xl",
21121
21132
  [`${ContainerRoundedSize.MD}`]: "rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl",
21122
21133
  [`${ContainerRoundedSize.LG}`]: "rounded-2xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-3xl",
21123
- [`${ContainerRoundedSize.XL}`]: "rounded-3xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-4xl"
21134
+ [`${ContainerRoundedSize.XL}`]: "rounded-3xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-4xl",
21135
+ [`${ContainerRoundedSize.FULL}`]: "rounded-full"
21124
21136
  },
21125
21137
  variant: {
21126
21138
  [`${ButtonVariant.DEFAULT}`]: [
@@ -21131,15 +21143,15 @@ const buttonVariants = cva("relative inline-flex cursor-pointer items-center jus
21131
21143
  ],
21132
21144
  [`${ButtonVariant.OUTLINE}`]: [
21133
21145
  "rounded-2xl border-[1.5px] border-current bg-current/0 *:text-current!",
21134
- "hover:bg-current/10",
21146
+ "hover:bg-current/20",
21135
21147
  "hover:ring-6",
21136
21148
  "aria-selected:ring-6"
21137
21149
  ],
21138
21150
  [`${ButtonVariant.NONE}`]: "border-none bg-current/0 text-inherit hover:bg-current/0",
21139
21151
  [`${ButtonVariant.LINK}`]: "h-auto justify-start border-inherit bg-transparent px-1 underline-offset-4 *:text-current! hover:bg-transparent hover:underline",
21140
21152
  [`${ButtonVariant.INVISIBLE_LINK}`]: "h-auto justify-start border-inherit bg-transparent px-1 underline-offset-4 *:text-current! hover:bg-transparent",
21141
- [`${ButtonVariant.HOVERABLE}`]: "rounded-lg border-none bg-current/0 transition *:text-current! hover:bg-current/10 aria-[current]:bg-current/5",
21142
- [`${ButtonVariant.FADE}`]: "rounded-lg border-none bg-current/10 transition *:text-current! hover:bg-current/20 aria-[current]:bg-current/5",
21153
+ [`${ButtonVariant.HOVERABLE}`]: "rounded-lg border-none bg-current/0 transition *:text-current! hover:bg-current/20 aria-[current]:bg-current/5",
21154
+ [`${ButtonVariant.FADE}`]: "rounded-lg border-none bg-current/20 transition *:text-current! hover:bg-current/20 aria-[current]:bg-current/5",
21143
21155
  [`${ButtonVariant.INPUT}`]: [
21144
21156
  "text-text",
21145
21157
  "w-full select-text resize-none rounded-2xl text-base shadow-none outline-none supports-[corner-shape:squircle]:rounded-4xl",
@@ -21675,20 +21687,49 @@ let LinkColor = /* @__PURE__ */ (function(LinkColor$1) {
21675
21687
  LinkColor$1["CUSTOM"] = "custom";
21676
21688
  return LinkColor$1;
21677
21689
  })({});
21690
+ let LinkRoundedSize = /* @__PURE__ */ (function(LinkRoundedSize$1) {
21691
+ LinkRoundedSize$1["NONE"] = "none";
21692
+ LinkRoundedSize$1["SM"] = "sm";
21693
+ LinkRoundedSize$1["MD"] = "md";
21694
+ LinkRoundedSize$1["LG"] = "lg";
21695
+ LinkRoundedSize$1["XL"] = "xl";
21696
+ LinkRoundedSize$1["TWO_XL"] = "2xl";
21697
+ LinkRoundedSize$1["THREE_XL"] = "3xl";
21698
+ LinkRoundedSize$1["FULL"] = "full";
21699
+ return LinkRoundedSize$1;
21700
+ })({});
21701
+ let LinkSize = /* @__PURE__ */ (function(LinkSize$1) {
21702
+ LinkSize$1["SM"] = "sm";
21703
+ LinkSize$1["MD"] = "md";
21704
+ LinkSize$1["LG"] = "lg";
21705
+ LinkSize$1["XL"] = "xl";
21706
+ LinkSize$1["CUSTOM"] = "custom";
21707
+ return LinkSize$1;
21708
+ })({});
21678
21709
  let LinkUnderlined = /* @__PURE__ */ (function(LinkUnderlined$1) {
21679
21710
  LinkUnderlined$1["DEFAULT"] = "default";
21680
21711
  LinkUnderlined$1["TRUE"] = "true";
21681
21712
  LinkUnderlined$1["FALSE"] = "false";
21682
21713
  return LinkUnderlined$1;
21683
21714
  })({});
21684
- const linkVariants = cva("gap-3 transition focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50", {
21715
+ const linkVariants = cva("gap-3 transition-all duration-300 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50", {
21685
21716
  variants: {
21686
21717
  variant: {
21687
21718
  [`${LinkVariant.DEFAULT}`]: "h-auto justify-start border-inherit bg-current/0 px-1 underline-offset-4 hover:bg-current/0 hover:underline",
21688
21719
  [`${LinkVariant.INVISIBLE_LINK}`]: "h-auto justify-start border-inherit bg-current/0 px-1 underline-offset-4 hover:bg-current/0",
21689
- [`${LinkVariant.BUTTON}`]: "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",
21690
- [`${LinkVariant.BUTTON_OUTLINED}`]: "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",
21691
- [`${LinkVariant.HOVERABLE}`]: "block rounded-lg border-none bg-current/0 transition hover:bg-current/20 aria-[current]:bg-current/5"
21720
+ [`${LinkVariant.BUTTON}`]: "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",
21721
+ [`${LinkVariant.BUTTON_OUTLINED}`]: "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",
21722
+ [`${LinkVariant.HOVERABLE}`]: "block rounded-lg border-none bg-current/0 hover:bg-current/10 aria-[current]:bg-current/5"
21723
+ },
21724
+ roundedSize: {
21725
+ [`${LinkRoundedSize.NONE}`]: "rounded-none",
21726
+ [`${LinkRoundedSize.SM}`]: "rounded-lg [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-xl",
21727
+ [`${LinkRoundedSize.MD}`]: "rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl",
21728
+ [`${LinkRoundedSize.LG}`]: "rounded-2xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-3xl",
21729
+ [`${LinkRoundedSize.XL}`]: "rounded-3xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-4xl",
21730
+ [`${LinkRoundedSize.TWO_XL}`]: "rounded-4xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[2.5rem]",
21731
+ [`${LinkRoundedSize.THREE_XL}`]: "rounded-[2.5rem] [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[3rem]",
21732
+ [`${LinkRoundedSize.FULL}`]: "rounded-full"
21692
21733
  },
21693
21734
  color: {
21694
21735
  [`${LinkColor.PRIMARY}`]: "text-primary",
@@ -21703,16 +21744,97 @@ const linkVariants = cva("gap-3 transition focus-visible:outline-hidden disabled
21703
21744
  [`${LinkColor.SUCCESS}`]: "text-success",
21704
21745
  [`${LinkColor.CUSTOM}`]: ""
21705
21746
  },
21747
+ size: {
21748
+ [`${LinkSize.SM}`]: "text-sm",
21749
+ [`${LinkSize.MD}`]: "text-base",
21750
+ [`${LinkSize.LG}`]: "text-lg",
21751
+ [`${LinkSize.XL}`]: "text-xl",
21752
+ [`${LinkSize.CUSTOM}`]: ""
21753
+ },
21706
21754
  underlined: {
21707
21755
  [LinkUnderlined.DEFAULT]: "",
21708
21756
  [LinkUnderlined.TRUE]: "underline",
21709
21757
  [LinkUnderlined.FALSE]: "no-underline"
21710
21758
  }
21711
21759
  },
21760
+ compoundVariants: [
21761
+ {
21762
+ variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],
21763
+ size: LinkSize.SM,
21764
+ class: "min-h-7 px-3 max-md:py-1"
21765
+ },
21766
+ {
21767
+ variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],
21768
+ size: LinkSize.MD,
21769
+ class: "min-h-8 px-6 max-md:py-2"
21770
+ },
21771
+ {
21772
+ variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],
21773
+ size: LinkSize.LG,
21774
+ class: "min-h-10 px-8 max-md:py-3"
21775
+ },
21776
+ {
21777
+ variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],
21778
+ size: LinkSize.XL,
21779
+ class: "min-h-11 px-10 max-md:py-4"
21780
+ },
21781
+ {
21782
+ variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],
21783
+ color: LinkColor.PRIMARY,
21784
+ class: "ring-primary/20"
21785
+ },
21786
+ {
21787
+ variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],
21788
+ color: LinkColor.SECONDARY,
21789
+ class: "ring-secondary/20"
21790
+ },
21791
+ {
21792
+ variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],
21793
+ color: LinkColor.DESTRUCTIVE,
21794
+ class: "ring-destructive/20"
21795
+ },
21796
+ {
21797
+ variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],
21798
+ color: LinkColor.NEUTRAL,
21799
+ class: "ring-neutral/20"
21800
+ },
21801
+ {
21802
+ variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],
21803
+ color: LinkColor.LIGHT,
21804
+ class: "ring-white/20"
21805
+ },
21806
+ {
21807
+ variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],
21808
+ color: LinkColor.DARK,
21809
+ class: "ring-neutral-800/20"
21810
+ },
21811
+ {
21812
+ variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],
21813
+ color: LinkColor.TEXT,
21814
+ class: "ring-text/20"
21815
+ },
21816
+ {
21817
+ variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],
21818
+ color: LinkColor.TEXT_INVERSE,
21819
+ class: "ring-text-opposite/20"
21820
+ },
21821
+ {
21822
+ variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],
21823
+ color: LinkColor.ERROR,
21824
+ class: "ring-error/20"
21825
+ },
21826
+ {
21827
+ variant: [LinkVariant.BUTTON, LinkVariant.BUTTON_OUTLINED],
21828
+ color: LinkColor.SUCCESS,
21829
+ class: "ring-success/20"
21830
+ }
21831
+ ],
21712
21832
  defaultVariants: {
21713
21833
  variant: LinkVariant.DEFAULT,
21714
21834
  color: LinkColor.PRIMARY,
21715
- underlined: LinkUnderlined.DEFAULT
21835
+ roundedSize: LinkRoundedSize.MD,
21836
+ underlined: LinkUnderlined.DEFAULT,
21837
+ size: LinkSize.MD
21716
21838
  }
21717
21839
  });
21718
21840
  const checkIsExternalLink = ({ href, isExternalLink: isExternalLinkProp }) => {
@@ -21720,14 +21842,16 @@ const checkIsExternalLink = ({ href, isExternalLink: isExternalLinkProp }) => {
21720
21842
  return isExternalLinkProp === true || typeof isExternalLinkProp === "undefined" && isValidHref && /^https?:\/\//.test(href);
21721
21843
  };
21722
21844
  const Link = (props) => {
21723
- const { variant = LinkVariant.DEFAULT, color: color2 = LinkColor.PRIMARY, children, label, className, isActive, underlined, locale, isExternalLink: isExternalLinkProp, isPageSection: isPageSectionProp, href: hrefProp, ...otherProps } = props;
21845
+ const { variant = LinkVariant.DEFAULT, color: color2 = LinkColor.PRIMARY, roundedSize, children, label, className, isActive, underlined, locale, size: size2, isExternalLink: isExternalLinkProp, isPageSection: isPageSectionProp, href: hrefProp, ...otherProps } = props;
21724
21846
  const isExternalLink = isExternalLinkProp ?? checkIsExternalLink(props);
21725
21847
  const isPageSection = isPageSectionProp ?? hrefProp?.startsWith("#") ?? false;
21726
21848
  const isChildrenString = typeof children === "string";
21727
21849
  const rel = isExternalLink ? "noopener noreferrer nofollow" : void 0;
21728
21850
  const target = isExternalLink ? "_blank" : "_self";
21851
+ const href = locale && hrefProp && !isExternalLink && !isPageSection ? getLocalizedUrl(hrefProp, locale) : hrefProp;
21852
+ const isButton = variant === "button" || variant === "button-outlined";
21729
21853
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("a", {
21730
- href: locale && hrefProp && !isExternalLink && !isPageSection ? getLocalizedUrl(hrefProp, locale) : hrefProp,
21854
+ href,
21731
21855
  "aria-label": label,
21732
21856
  rel,
21733
21857
  target,
@@ -21735,12 +21859,17 @@ const Link = (props) => {
21735
21859
  className: cn$2(linkVariants({
21736
21860
  variant,
21737
21861
  color: color2,
21862
+ roundedSize,
21738
21863
  underlined,
21739
- className
21864
+ size: size2,
21865
+ className: isButton ? void 0 : className
21740
21866
  })),
21741
21867
  ...otherProps,
21742
21868
  children: [
21743
- variant === "button" ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children }) : children,
21869
+ isButton ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
21870
+ className,
21871
+ children
21872
+ }) : children,
21744
21873
  isExternalLink && isChildrenString && /* @__PURE__ */ jsxRuntimeExports.jsx(ExternalLink, { className: "ml-2 inline-block size-4" }),
21745
21874
  isPageSection && /* @__PURE__ */ jsxRuntimeExports.jsx(MoveRight, { className: "ml-2 inline-block size-4" })
21746
21875
  ]
@@ -49869,14 +49998,14 @@ const ExpandCollapse = ({
49869
49998
  const CodeDefault = ({ children }) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
49870
49999
  className: "min-w-0 max-w-full overflow-x-auto",
49871
50000
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", {
49872
- className: "min-w-0 max-w-full overflow-x-auto",
50001
+ className: "min-w-0 max-w-full overflow-x-auto [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
49873
50002
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("code", { children: children.split("\n").map((line, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
49874
50003
  className: "line block w-full",
49875
50004
  children: line
49876
50005
  }, `line-${index2}-${line.slice(0, 10)}`)) })
49877
50006
  })
49878
50007
  });
49879
- const CodeBlockShiki = reactExports.lazy(() => __vitePreload(() => import("./CodeBlockShiki-DsKDsxzD.js"), true ? [] : void 0).then((mod) => ({ default: mod.CodeBlockShiki })));
50008
+ const CodeBlockShiki = reactExports.lazy(() => __vitePreload(() => import("./CodeBlockShiki-75Nt4Gwt.js"), true ? [] : void 0).then((mod) => ({ default: mod.CodeBlockShiki })));
49880
50009
  const CodeBlock = ({ className, onChange, isEditable, children, lang, isDarkMode, ...props }) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
49881
50010
  className: cn$2("flex w-full min-w-0 max-w-full overflow-x-auto", className),
49882
50011
  ...props,
@@ -2138,6 +2138,14 @@
2138
2138
  border-radius: var(--radius-3xl);
2139
2139
  }
2140
2140
 
2141
+ .rounded-4xl {
2142
+ border-radius: var(--radius-4xl);
2143
+ }
2144
+
2145
+ .rounded-\[2\.5rem\] {
2146
+ border-radius: 2.5rem;
2147
+ }
2148
+
2141
2149
  .rounded-full {
2142
2150
  border-radius: 3.40282e38px;
2143
2151
  }
@@ -2691,13 +2699,13 @@
2691
2699
  }
2692
2700
  }
2693
2701
 
2694
- .bg-current\/10 {
2702
+ .bg-current\/20 {
2695
2703
  background-color: currentColor;
2696
2704
  }
2697
2705
 
2698
2706
  @supports (color: color-mix(in lab, red, red)) {
2699
- .bg-current\/10 {
2700
- background-color: color-mix(in oklab, currentcolor 10%, transparent);
2707
+ .bg-current\/20 {
2708
+ background-color: color-mix(in oklab, currentcolor 20%, transparent);
2701
2709
  }
2702
2710
  }
2703
2711
 
@@ -4482,6 +4490,16 @@
4482
4490
  }
4483
4491
  }
4484
4492
 
4493
+ .ring-destructive\/20 {
4494
+ --tw-ring-color: #fb7d3c33;
4495
+ }
4496
+
4497
+ @supports (color: color-mix(in lab, red, red)) {
4498
+ .ring-destructive\/20 {
4499
+ --tw-ring-color: color-mix(in oklab, var(--color-destructive) 20%, transparent);
4500
+ }
4501
+ }
4502
+
4485
4503
  .ring-error\/20 {
4486
4504
  --tw-ring-color: #b5180d33;
4487
4505
  }
@@ -4510,6 +4528,16 @@
4510
4528
  }
4511
4529
  }
4512
4530
 
4531
+ .ring-neutral-800\/20 {
4532
+ --tw-ring-color: #45454533;
4533
+ }
4534
+
4535
+ @supports (color: color-mix(in lab, red, red)) {
4536
+ .ring-neutral-800\/20 {
4537
+ --tw-ring-color: color-mix(in oklab, var(--color-neutral-800) 20%, transparent);
4538
+ }
4539
+ }
4540
+
4513
4541
  .ring-neutral-800\/50 {
4514
4542
  --tw-ring-color: #45454580;
4515
4543
  }
@@ -4520,6 +4548,16 @@
4520
4548
  }
4521
4549
  }
4522
4550
 
4551
+ .ring-neutral\/20 {
4552
+ --tw-ring-color: #5d5d5d33;
4553
+ }
4554
+
4555
+ @supports (color: color-mix(in lab, red, red)) {
4556
+ .ring-neutral\/20 {
4557
+ --tw-ring-color: color-mix(in oklab, var(--color-neutral) 20%, transparent);
4558
+ }
4559
+ }
4560
+
4523
4561
  .ring-primary-500\/20 {
4524
4562
  --tw-ring-color: #b6d33933;
4525
4563
  }
@@ -4530,6 +4568,16 @@
4530
4568
  }
4531
4569
  }
4532
4570
 
4571
+ .ring-primary\/20 {
4572
+ --tw-ring-color: #cbeb4033;
4573
+ }
4574
+
4575
+ @supports (color: color-mix(in lab, red, red)) {
4576
+ .ring-primary\/20 {
4577
+ --tw-ring-color: color-mix(in oklab, var(--color-primary) 20%, transparent);
4578
+ }
4579
+ }
4580
+
4533
4581
  .ring-secondary-500\/20 {
4534
4582
  --tw-ring-color: #eca80633;
4535
4583
  }
@@ -4540,6 +4588,16 @@
4540
4588
  }
4541
4589
  }
4542
4590
 
4591
+ .ring-secondary\/20 {
4592
+ --tw-ring-color: #ffe66d33;
4593
+ }
4594
+
4595
+ @supports (color: color-mix(in lab, red, red)) {
4596
+ .ring-secondary\/20 {
4597
+ --tw-ring-color: color-mix(in oklab, var(--color-secondary) 20%, transparent);
4598
+ }
4599
+ }
4600
+
4543
4601
  .ring-success\/20 {
4544
4602
  --tw-ring-color: #0c63;
4545
4603
  }
@@ -4550,6 +4608,16 @@
4550
4608
  }
4551
4609
  }
4552
4610
 
4611
+ .ring-text-opposite\/20 {
4612
+ --tw-ring-color: #fff3;
4613
+ }
4614
+
4615
+ @supports (color: color-mix(in lab, red, red)) {
4616
+ .ring-text-opposite\/20 {
4617
+ --tw-ring-color: color-mix(in oklab, var(--color-text-opposite) 20%, transparent);
4618
+ }
4619
+ }
4620
+
4553
4621
  .ring-text\/20 {
4554
4622
  --tw-ring-color: #12121233;
4555
4623
  }
@@ -4757,6 +4825,10 @@
4757
4825
  user-select: text;
4758
4826
  }
4759
4827
 
4828
+ .\[-ms-overflow-style\:none\] {
4829
+ -ms-overflow-style: none;
4830
+ }
4831
+
4760
4832
  .\[-webkit-clip-path\:inset\(0\)\] {
4761
4833
  -webkit-clip-path: inset(0);
4762
4834
  }
@@ -5348,16 +5420,6 @@
5348
5420
  }
5349
5421
  }
5350
5422
 
5351
- .hover\:bg-current\/30:hover {
5352
- background-color: currentColor;
5353
- }
5354
-
5355
- @supports (color: color-mix(in lab, red, red)) {
5356
- .hover\:bg-current\/30:hover {
5357
- background-color: color-mix(in oklab, currentcolor 30%, transparent);
5358
- }
5359
- }
5360
-
5361
5423
  .hover\:bg-current\/90:hover {
5362
5424
  background-color: currentColor;
5363
5425
  }
@@ -5858,18 +5920,6 @@
5858
5920
  --tw-ring-offset-color: var(--color-white);
5859
5921
  }
5860
5922
 
5861
- .focus-visible\:outline-hidden:focus-visible {
5862
- --tw-outline-style: none;
5863
- outline-style: none;
5864
- }
5865
-
5866
- @media (forced-colors: active) {
5867
- .focus-visible\:outline-hidden:focus-visible {
5868
- outline-offset: 2px;
5869
- outline: 2px solid #0000;
5870
- }
5871
- }
5872
-
5873
5923
  .focus-visible\:outline-none:focus-visible {
5874
5924
  --tw-outline-style: none;
5875
5925
  outline-style: none;
@@ -6063,6 +6113,14 @@
6063
6113
  border-radius: var(--radius-4xl);
6064
6114
  }
6065
6115
 
6116
+ .supports-\[corner-shape\:squircle\]\:rounded-\[2\.5rem\] {
6117
+ border-radius: 2.5rem;
6118
+ }
6119
+
6120
+ .supports-\[corner-shape\:squircle\]\:rounded-\[3rem\] {
6121
+ border-radius: 3rem;
6122
+ }
6123
+
6066
6124
  .supports-\[corner-shape\:squircle\]\:rounded-full {
6067
6125
  border-radius: 3.40282e38px;
6068
6126
  }
@@ -6560,6 +6618,18 @@
6560
6618
  height: calc(var(--spacing) * 5);
6561
6619
  }
6562
6620
 
6621
+ .\[\&_pre\]\:\[-ms-overflow-style\:none\] pre {
6622
+ -ms-overflow-style: none;
6623
+ }
6624
+
6625
+ .\[\&_pre\]\:\[scrollbar-width\:none\] pre {
6626
+ scrollbar-width: none;
6627
+ }
6628
+
6629
+ .\[\&_pre\:\:-webkit-scrollbar\]\:hidden pre::-webkit-scrollbar {
6630
+ display: none;
6631
+ }
6632
+
6563
6633
  .\[\&\+div\]\:text-xs + div {
6564
6634
  font-size: var(--text-xs);
6565
6635
  line-height: var(--tw-leading, var(--text-xs--line-height));
@@ -5,8 +5,8 @@
5
5
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Intlayer Editor</title>
8
- <script type="module" crossorigin src="/assets/index-BT3x4i8O.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-B6iFg1jy.css">
8
+ <script type="module" crossorigin src="/assets/index-Br4JAuU5.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/assets/index-BzVHXaHc.css">
10
10
  </head>
11
11
  <body>
12
12
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intlayer-editor",
3
- "version": "7.3.15",
3
+ "version": "7.5.0-canary.0",
4
4
  "private": false,
5
5
  "description": "Integrate the Intlayer visual editor into your Intlayer projects, enabling CMS-like content management with multilingual support.",
6
6
  "keywords": [
@@ -85,21 +85,21 @@
85
85
  "typecheck": "tsc --project ./server/tsconfig.types.json --noEmit"
86
86
  },
87
87
  "dependencies": {
88
- "@intlayer/chokidar": "7.3.15",
89
- "@intlayer/config": "7.3.15",
90
- "@intlayer/unmerged-dictionaries-entry": "7.3.15",
88
+ "@intlayer/chokidar": "7.5.0-canary.0",
89
+ "@intlayer/config": "7.5.0-canary.0",
90
+ "@intlayer/unmerged-dictionaries-entry": "7.5.0-canary.0",
91
91
  "compression": "1.8.1",
92
92
  "cookie-parser": "1.4.7",
93
93
  "cors": "2.8.5",
94
94
  "express": "5.1.0",
95
- "express-intlayer": "7.3.15",
95
+ "express-intlayer": "7.5.0-canary.0",
96
96
  "helmet": "8.1.0",
97
97
  "mime": "4.1.0"
98
98
  },
99
99
  "devDependencies": {
100
- "@intlayer/design-system": "7.3.15",
101
- "@intlayer/editor-react": "7.3.15",
102
- "@intlayer/types": "7.3.15",
100
+ "@intlayer/design-system": "7.5.0-canary.0",
101
+ "@intlayer/editor-react": "7.5.0-canary.0",
102
+ "@intlayer/types": "7.5.0-canary.0",
103
103
  "@tailwindcss/vite": "4.1.16",
104
104
  "@tanstack/react-query": "5.90.12",
105
105
  "@types/compression": "1.8.1",
@@ -117,18 +117,18 @@
117
117
  "framer-motion": "12.23.25",
118
118
  "fuse.js": "7.1.0",
119
119
  "globals": "16.5.0",
120
- "intlayer": "7.3.15",
120
+ "intlayer": "7.5.0-canary.0",
121
121
  "lucide-react": "0.555.0",
122
122
  "react": "19.2.1",
123
123
  "react-dom": "19.2.1",
124
- "react-intlayer": "7.3.15",
124
+ "react-intlayer": "7.5.0-canary.0",
125
125
  "react-router-dom": "7.9.5",
126
126
  "tailwind-merge": "3.4.0",
127
127
  "tailwindcss": "4.1.17",
128
128
  "tsdown": "0.16.8",
129
129
  "typescript": "5.9.3",
130
130
  "vite": "7.2.7",
131
- "vite-intlayer": "7.3.15",
131
+ "vite-intlayer": "7.5.0-canary.0",
132
132
  "vitest": "4.0.15"
133
133
  },
134
134
  "engines": {