@frontify/fondue 12.0.6 → 12.0.8

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,15 +1,15 @@
1
1
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
2
2
  import { useLinkOpenButtonState as s } from "@udecode/plate-link";
3
- import { getUrlFromLinkOrLegacyLink as d } from "../../utils/getUrl.es.js";
4
- import l from "../../../../../../foundation/Icon/Generated/IconPen16.es.js";
5
- import m from "../../../../../../foundation/Icon/Generated/IconTrashBin16.es.js";
6
- import { LINK_PLUGIN as p } from "../../id.es.js";
3
+ import d from "../../../../../../foundation/Icon/Generated/IconPen16.es.js";
4
+ import l from "../../../../../../foundation/Icon/Generated/IconTrashBin16.es.js";
5
+ import { LINK_PLUGIN as m } from "../../id.es.js";
6
+ import { getUrlFromLinkOrLegacyLink as p } from "../../utils/getUrl.es.js";
7
7
  import { FloatingModalWrapper as c } from "../../../../components/FloatingModal/FloatingModal.es.js";
8
8
  import { useRichTextEditorContext as w } from "../../../../context/RichTextEditorContext.es.js";
9
9
  const I = ({ editButtonProps: o, unlinkButtonProps: r }) => {
10
- const { element: e } = s(), { styles: i } = w(), a = e ? d(e) : "";
10
+ const { element: e } = s(), { styles: i } = w(), a = e ? p(e) : "";
11
11
  return /* @__PURE__ */ t(c, { "data-test-id": "floating-link-edit", padding: "16px", minWidth: "400px", children: /* @__PURE__ */ n("span", { "data-test-id": "preview-link-flyout", className: "tw-flex tw-justify-between", children: [
12
- /* @__PURE__ */ t("span", { style: i[p], className: "tw-pointer-events-none", children: a }),
12
+ /* @__PURE__ */ t("span", { style: i[m], className: "tw-pointer-events-none", children: a }),
13
13
  /* @__PURE__ */ n("span", { className: "tw-flex tw-gap-2", children: [
14
14
  /* @__PURE__ */ t(
15
15
  "button",
@@ -18,7 +18,7 @@ const I = ({ editButtonProps: o, unlinkButtonProps: r }) => {
18
18
  "data-test-id": "edit-link-button",
19
19
  className: "tw-transition tw-cursor-pointer tw-rounded hover:tw-bg-black-10 tw-p-1",
20
20
  ...o,
21
- children: /* @__PURE__ */ t(l, {})
21
+ children: /* @__PURE__ */ t(d, {})
22
22
  }
23
23
  ),
24
24
  /* @__PURE__ */ t(
@@ -28,7 +28,7 @@ const I = ({ editButtonProps: o, unlinkButtonProps: r }) => {
28
28
  "data-test-id": "remove-link-button",
29
29
  className: "tw-transition tw-cursor-pointer tw-rounded hover:tw-bg-black-10 tw-p-1",
30
30
  ...r,
31
- children: /* @__PURE__ */ t(m, {})
31
+ children: /* @__PURE__ */ t(l, {})
32
32
  }
33
33
  )
34
34
  ] })
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 19 Apr 2024 12:25:22 GMT
3
+ * Generated on Tue, 23 Apr 2024 14:18:46 GMT
4
4
  */
5
5
 
6
6
  const plugin = require('tailwindcss/plugin')
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@frontify/fondue",
3
3
  "type": "module",
4
- "version": "12.0.6",
4
+ "version": "12.0.8",
5
5
  "description": "Design system of Frontify",
6
6
  "author": "Frontify Developers <developers@frontify.com>",
7
7
  "homepage": "https://github.com/Frontify/fondue",
@@ -160,7 +160,7 @@
160
160
  "unist-util-visit": "^5.0.0",
161
161
  "xstate": "4.38.3",
162
162
  "@frontify/fondue-charts": "^1.8.3",
163
- "@frontify/fondue-components": "^1.2.0",
163
+ "@frontify/fondue-components": "^1.2.2",
164
164
  "@frontify/fondue-icons": "^0.2.1",
165
165
  "@frontify/fondue-tokens": "^3.5.0"
166
166
  },