@univerjs/sheets-hyper-link-ui 1.0.0-beta.0 → 1.0.0-beta.2

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 (83) hide show
  1. package/lib/cjs/index.js +7 -7
  2. package/lib/cjs/locale/ar-SA.js +0 -1
  3. package/lib/cjs/locale/ca-ES.js +0 -1
  4. package/lib/cjs/locale/de-DE.js +0 -1
  5. package/lib/cjs/locale/en-US.js +0 -1
  6. package/lib/cjs/locale/es-ES.js +0 -1
  7. package/lib/cjs/locale/fa-IR.js +0 -1
  8. package/lib/cjs/locale/fr-FR.js +0 -1
  9. package/lib/cjs/locale/id-ID.js +0 -1
  10. package/lib/cjs/locale/it-IT.js +0 -1
  11. package/lib/cjs/locale/ja-JP.js +0 -1
  12. package/lib/cjs/locale/ko-KR.js +0 -1
  13. package/lib/cjs/locale/pl-PL.js +0 -1
  14. package/lib/cjs/locale/pt-BR.js +0 -1
  15. package/lib/cjs/locale/ru-RU.js +0 -1
  16. package/lib/cjs/locale/sk-SK.js +0 -1
  17. package/lib/cjs/locale/vi-VN.js +0 -1
  18. package/lib/cjs/locale/zh-CN.js +0 -1
  19. package/lib/cjs/locale/zh-HK.js +0 -1
  20. package/lib/cjs/locale/zh-TW.js +0 -1
  21. package/lib/es/index.js +7 -7
  22. package/lib/es/locale/ar-SA.js +0 -1
  23. package/lib/es/locale/ca-ES.js +0 -1
  24. package/lib/es/locale/de-DE.js +0 -1
  25. package/lib/es/locale/en-US.js +0 -1
  26. package/lib/es/locale/es-ES.js +0 -1
  27. package/lib/es/locale/fa-IR.js +0 -1
  28. package/lib/es/locale/fr-FR.js +0 -1
  29. package/lib/es/locale/id-ID.js +0 -1
  30. package/lib/es/locale/it-IT.js +0 -1
  31. package/lib/es/locale/ja-JP.js +0 -1
  32. package/lib/es/locale/ko-KR.js +0 -1
  33. package/lib/es/locale/pl-PL.js +0 -1
  34. package/lib/es/locale/pt-BR.js +0 -1
  35. package/lib/es/locale/ru-RU.js +0 -1
  36. package/lib/es/locale/sk-SK.js +0 -1
  37. package/lib/es/locale/vi-VN.js +0 -1
  38. package/lib/es/locale/zh-CN.js +0 -1
  39. package/lib/es/locale/zh-HK.js +0 -1
  40. package/lib/es/locale/zh-TW.js +0 -1
  41. package/lib/index.css +4 -4
  42. package/lib/index.js +7 -7
  43. package/lib/locale/ar-SA.js +0 -1
  44. package/lib/locale/ca-ES.js +0 -1
  45. package/lib/locale/de-DE.js +0 -1
  46. package/lib/locale/en-US.js +0 -1
  47. package/lib/locale/es-ES.js +0 -1
  48. package/lib/locale/fa-IR.js +0 -1
  49. package/lib/locale/fr-FR.js +0 -1
  50. package/lib/locale/id-ID.js +0 -1
  51. package/lib/locale/it-IT.js +0 -1
  52. package/lib/locale/ja-JP.js +0 -1
  53. package/lib/locale/ko-KR.js +0 -1
  54. package/lib/locale/pl-PL.js +0 -1
  55. package/lib/locale/pt-BR.js +0 -1
  56. package/lib/locale/ru-RU.js +0 -1
  57. package/lib/locale/sk-SK.js +0 -1
  58. package/lib/locale/vi-VN.js +0 -1
  59. package/lib/locale/zh-CN.js +0 -1
  60. package/lib/locale/zh-HK.js +0 -1
  61. package/lib/locale/zh-TW.js +0 -1
  62. package/lib/types/locale/en-US.d.ts +0 -1
  63. package/lib/umd/index.js +1 -1
  64. package/lib/umd/locale/ar-SA.js +1 -1
  65. package/lib/umd/locale/ca-ES.js +1 -1
  66. package/lib/umd/locale/de-DE.js +1 -1
  67. package/lib/umd/locale/en-US.js +1 -1
  68. package/lib/umd/locale/es-ES.js +1 -1
  69. package/lib/umd/locale/fa-IR.js +1 -1
  70. package/lib/umd/locale/fr-FR.js +1 -1
  71. package/lib/umd/locale/id-ID.js +1 -1
  72. package/lib/umd/locale/it-IT.js +1 -1
  73. package/lib/umd/locale/ja-JP.js +1 -1
  74. package/lib/umd/locale/ko-KR.js +1 -1
  75. package/lib/umd/locale/pl-PL.js +1 -1
  76. package/lib/umd/locale/pt-BR.js +1 -1
  77. package/lib/umd/locale/ru-RU.js +1 -1
  78. package/lib/umd/locale/sk-SK.js +1 -1
  79. package/lib/umd/locale/vi-VN.js +1 -1
  80. package/lib/umd/locale/zh-CN.js +1 -1
  81. package/lib/umd/locale/zh-HK.js +1 -1
  82. package/lib/umd/locale/zh-TW.js +1 -1
  83. package/package.json +15 -15
package/lib/cjs/index.js CHANGED
@@ -622,7 +622,7 @@ const CellLinkEdit = () => {
622
622
  };
623
623
  if (!editing) return null;
624
624
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
625
- className: (0, _univerjs_design.clsx)("univer-box-border univer-w-[296px] univer-rounded-xl univer-bg-white univer-p-4 univer-shadow-md dark:!univer-bg-gray-900", _univerjs_design.borderClassName),
625
+ className: (0, _univerjs_design.clsx)("univer-box-border univer-w-[296px] univer-rounded-xl univer-bg-gray-0 univer-p-4 univer-shadow-md dark:!univer-bg-gray-900", _univerjs_design.borderClassName),
626
626
  children: [
627
627
  showLabel ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.FormLayout, {
628
628
  label: localeService.t("sheets-hyper-link-ui.form.label"),
@@ -797,7 +797,7 @@ const CellLinkPopupPure = (props) => {
797
797
  const linkObj = parserHyperLinkService.parseHyperLink(customRange.properties.url ?? "");
798
798
  const isError = linkObj.type === _univerjs_sheets_hyper_link.SheetHyperLinkType.INVALID;
799
799
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
800
- className: (0, _univerjs_design.clsx)("univer-mb-1 univer-flex univer-max-w-80 univer-flex-row univer-items-center univer-justify-between univer-gap-2 univer-overflow-hidden univer-rounded-lg univer-bg-white univer-p-2 univer-shadow-md dark:!univer-bg-gray-900", _univerjs_design.borderClassName),
800
+ className: (0, _univerjs_design.clsx)("univer-mb-1 univer-flex univer-max-w-80 univer-flex-row univer-items-center univer-justify-between univer-gap-2 univer-overflow-hidden univer-rounded-lg univer-bg-gray-0 univer-p-2 univer-shadow-md dark:!univer-bg-gray-900", _univerjs_design.borderClassName),
801
801
  onClick: () => popupService.hideCurrentPopup(),
802
802
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
803
803
  className: (0, _univerjs_design.clsx)("univer-flex univer-h-6 univer-flex-1 univer-cursor-pointer univer-flex-row univer-items-center univer-gap-1 univer-truncate univer-text-sm univer-leading-5 univer-text-primary-600", { "univer-text-red-500": isError }),
@@ -806,7 +806,7 @@ const CellLinkPopupPure = (props) => {
806
806
  resolverService.navigate(linkObj);
807
807
  },
808
808
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
809
- className: "univer-flex univer-size-5 univer-flex-none univer-items-center univer-justify-center univer-text-base univer-text-gray-900 dark:!univer-text-white",
809
+ className: "univer-flex univer-size-5 univer-flex-none univer-items-center univer-justify-center univer-text-base univer-text-gray-900 dark:!univer-text-gray-0",
810
810
  children: iconsMap[linkObj.type]
811
811
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Tooltip, {
812
812
  showIfEllipsis: true,
@@ -836,7 +836,7 @@ const CellLinkPopupPure = (props) => {
836
836
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Tooltip, {
837
837
  placement: "bottom",
838
838
  title: localeService.t("sheets-hyper-link-ui.popup.copy"),
839
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.CopyIcon, { className: "dark:!univer-text-white" })
839
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.CopyIcon, { className: "dark:!univer-text-gray-0" })
840
840
  })
841
841
  }), editPermission && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
842
842
  "data-u-comp": "cell-link-popup-edit",
@@ -854,7 +854,7 @@ const CellLinkPopupPure = (props) => {
854
854
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Tooltip, {
855
855
  placement: "bottom",
856
856
  title: localeService.t("sheets-hyper-link-ui.popup.edit"),
857
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.WriteIcon, { className: "dark:!univer-text-white" })
857
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.WriteIcon, { className: "dark:!univer-text-gray-0" })
858
858
  })
859
859
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
860
860
  "data-u-comp": "cell-link-popup-remove",
@@ -873,7 +873,7 @@ const CellLinkPopupPure = (props) => {
873
873
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Tooltip, {
874
874
  placement: "bottom",
875
875
  title: localeService.t("sheets-hyper-link-ui.popup.cancel"),
876
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.UnlinkIcon, { className: "dark:!univer-text-white" })
876
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.UnlinkIcon, { className: "dark:!univer-text-gray-0" })
877
877
  })
878
878
  })] })]
879
879
  })]
@@ -1539,7 +1539,7 @@ const menuSchema = {
1539
1539
  //#endregion
1540
1540
  //#region package.json
1541
1541
  var name = "@univerjs/sheets-hyper-link-ui";
1542
- var version = "1.0.0-beta.0";
1542
+ var version = "1.0.0-beta.2";
1543
1543
 
1544
1544
  //#endregion
1545
1545
  //#region src/controllers/auto-fill.controller.ts
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/ar-SA.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "تحرير الارتباط",
6
5
  addTitle: "إدراج ارتباط تشعبي",
7
6
  label: "التسمية",
8
7
  type: "النوع",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/ca-ES.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "Edita l'enllaç",
6
5
  addTitle: "Insereix enllaç",
7
6
  label: "Etiqueta",
8
7
  type: "Tipus",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/de-DE.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "Link bearbeiten",
6
5
  addTitle: "Link einfügen",
7
6
  label: "Beschriftung",
8
7
  type: "Typ",
@@ -17,7 +17,6 @@
17
17
  */
18
18
  const locale = { "sheets-hyper-link-ui": {
19
19
  form: {
20
- editTitle: "Edit Link",
21
20
  addTitle: "Insert Link",
22
21
  label: "Label",
23
22
  type: "Type",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/es-ES.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "Editar enlace",
6
5
  addTitle: "Insertar enlace",
7
6
  label: "Etiqueta",
8
7
  type: "Tipo",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/fa-IR.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "ویرایش لینک",
6
5
  addTitle: "درج لینک",
7
6
  label: "برچسب",
8
7
  type: "نوع",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/fr-FR.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "Modifier le lien",
6
5
  addTitle: "Insérer un lien",
7
6
  label: "Titre",
8
7
  type: "Type",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/id-ID.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "Edit Tautan",
6
5
  addTitle: "Sisipkan Tautan",
7
6
  label: "Label",
8
7
  type: "Tipe",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/it-IT.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "Modifica collegamento",
6
5
  addTitle: "Inserisci collegamento",
7
6
  label: "Etichetta",
8
7
  type: "Tipo",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/ja-JP.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "リンクの編集",
6
5
  addTitle: "リンクの挿入",
7
6
  label: "表示文字列",
8
7
  type: "種類",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/ko-KR.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "링크 편집",
6
5
  addTitle: "링크 삽입",
7
6
  label: "표시 텍스트",
8
7
  type: "유형",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/pl-PL.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "Edytuj łącze",
6
5
  addTitle: "Wstaw łącze",
7
6
  label: "Etykieta",
8
7
  type: "Typ",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/pt-BR.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "Editar Link",
6
5
  addTitle: "Inserir Link",
7
6
  label: "Rótulo",
8
7
  type: "Tipo",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/ru-RU.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "Редактировать ссылку",
6
5
  addTitle: "Вставить ссылку",
7
6
  label: "Метка",
8
7
  type: "Тип",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/sk-SK.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "Upraviť odkaz",
6
5
  addTitle: "Vložiť odkaz",
7
6
  label: "Popisok",
8
7
  type: "Typ",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/vi-VN.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "Chỉnh sửa liên kết",
6
5
  addTitle: "Chèn liên kết",
7
6
  label: "Văn bản",
8
7
  labelPlaceholder: "Nhập văn bản",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/zh-CN.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "编辑链接",
6
5
  addTitle: "插入链接",
7
6
  label: "文本",
8
7
  labelPlaceholder: "输入文本",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/zh-HK.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "編輯連結",
6
5
  addTitle: "插入連結",
7
6
  label: "文字",
8
7
  labelPlaceholder: "輸入文字",
@@ -2,7 +2,6 @@
2
2
  //#region src/locale/zh-TW.ts
3
3
  const locale = { "sheets-hyper-link-ui": {
4
4
  form: {
5
- editTitle: "編輯連結",
6
5
  addTitle: "插入連結",
7
6
  label: "文字",
8
7
  labelPlaceholder: "輸入文字",
package/lib/es/index.js CHANGED
@@ -621,7 +621,7 @@ const CellLinkEdit = () => {
621
621
  };
622
622
  if (!editing) return null;
623
623
  return /* @__PURE__ */ jsxs("div", {
624
- className: clsx("univer-box-border univer-w-[296px] univer-rounded-xl univer-bg-white univer-p-4 univer-shadow-md dark:!univer-bg-gray-900", borderClassName),
624
+ className: clsx("univer-box-border univer-w-[296px] univer-rounded-xl univer-bg-gray-0 univer-p-4 univer-shadow-md dark:!univer-bg-gray-900", borderClassName),
625
625
  children: [
626
626
  showLabel ? /* @__PURE__ */ jsx(FormLayout, {
627
627
  label: localeService.t("sheets-hyper-link-ui.form.label"),
@@ -796,7 +796,7 @@ const CellLinkPopupPure = (props) => {
796
796
  const linkObj = parserHyperLinkService.parseHyperLink(customRange.properties.url ?? "");
797
797
  const isError = linkObj.type === SheetHyperLinkType.INVALID;
798
798
  return /* @__PURE__ */ jsxs("div", {
799
- className: clsx("univer-mb-1 univer-flex univer-max-w-80 univer-flex-row univer-items-center univer-justify-between univer-gap-2 univer-overflow-hidden univer-rounded-lg univer-bg-white univer-p-2 univer-shadow-md dark:!univer-bg-gray-900", borderClassName),
799
+ className: clsx("univer-mb-1 univer-flex univer-max-w-80 univer-flex-row univer-items-center univer-justify-between univer-gap-2 univer-overflow-hidden univer-rounded-lg univer-bg-gray-0 univer-p-2 univer-shadow-md dark:!univer-bg-gray-900", borderClassName),
800
800
  onClick: () => popupService.hideCurrentPopup(),
801
801
  children: [/* @__PURE__ */ jsxs("div", {
802
802
  className: clsx("univer-flex univer-h-6 univer-flex-1 univer-cursor-pointer univer-flex-row univer-items-center univer-gap-1 univer-truncate univer-text-sm univer-leading-5 univer-text-primary-600", { "univer-text-red-500": isError }),
@@ -805,7 +805,7 @@ const CellLinkPopupPure = (props) => {
805
805
  resolverService.navigate(linkObj);
806
806
  },
807
807
  children: [/* @__PURE__ */ jsx("div", {
808
- className: "univer-flex univer-size-5 univer-flex-none univer-items-center univer-justify-center univer-text-base univer-text-gray-900 dark:!univer-text-white",
808
+ className: "univer-flex univer-size-5 univer-flex-none univer-items-center univer-justify-center univer-text-base univer-text-gray-900 dark:!univer-text-gray-0",
809
809
  children: iconsMap[linkObj.type]
810
810
  }), /* @__PURE__ */ jsx(Tooltip, {
811
811
  showIfEllipsis: true,
@@ -835,7 +835,7 @@ const CellLinkPopupPure = (props) => {
835
835
  children: /* @__PURE__ */ jsx(Tooltip, {
836
836
  placement: "bottom",
837
837
  title: localeService.t("sheets-hyper-link-ui.popup.copy"),
838
- children: /* @__PURE__ */ jsx(CopyIcon, { className: "dark:!univer-text-white" })
838
+ children: /* @__PURE__ */ jsx(CopyIcon, { className: "dark:!univer-text-gray-0" })
839
839
  })
840
840
  }), editPermission && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("div", {
841
841
  "data-u-comp": "cell-link-popup-edit",
@@ -853,7 +853,7 @@ const CellLinkPopupPure = (props) => {
853
853
  children: /* @__PURE__ */ jsx(Tooltip, {
854
854
  placement: "bottom",
855
855
  title: localeService.t("sheets-hyper-link-ui.popup.edit"),
856
- children: /* @__PURE__ */ jsx(WriteIcon, { className: "dark:!univer-text-white" })
856
+ children: /* @__PURE__ */ jsx(WriteIcon, { className: "dark:!univer-text-gray-0" })
857
857
  })
858
858
  }), /* @__PURE__ */ jsx("div", {
859
859
  "data-u-comp": "cell-link-popup-remove",
@@ -872,7 +872,7 @@ const CellLinkPopupPure = (props) => {
872
872
  children: /* @__PURE__ */ jsx(Tooltip, {
873
873
  placement: "bottom",
874
874
  title: localeService.t("sheets-hyper-link-ui.popup.cancel"),
875
- children: /* @__PURE__ */ jsx(UnlinkIcon, { className: "dark:!univer-text-white" })
875
+ children: /* @__PURE__ */ jsx(UnlinkIcon, { className: "dark:!univer-text-gray-0" })
876
876
  })
877
877
  })] })]
878
878
  })]
@@ -1538,7 +1538,7 @@ const menuSchema = {
1538
1538
  //#endregion
1539
1539
  //#region package.json
1540
1540
  var name = "@univerjs/sheets-hyper-link-ui";
1541
- var version = "1.0.0-beta.0";
1541
+ var version = "1.0.0-beta.2";
1542
1542
 
1543
1543
  //#endregion
1544
1544
  //#region src/controllers/auto-fill.controller.ts
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/ar-SA.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "تحرير الارتباط",
5
4
  addTitle: "إدراج ارتباط تشعبي",
6
5
  label: "التسمية",
7
6
  type: "النوع",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/ca-ES.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Edita l'enllaç",
5
4
  addTitle: "Insereix enllaç",
6
5
  label: "Etiqueta",
7
6
  type: "Tipus",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/de-DE.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Link bearbeiten",
5
4
  addTitle: "Link einfügen",
6
5
  label: "Beschriftung",
7
6
  type: "Typ",
@@ -16,7 +16,6 @@
16
16
  */
17
17
  const locale = { "sheets-hyper-link-ui": {
18
18
  form: {
19
- editTitle: "Edit Link",
20
19
  addTitle: "Insert Link",
21
20
  label: "Label",
22
21
  type: "Type",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/es-ES.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Editar enlace",
5
4
  addTitle: "Insertar enlace",
6
5
  label: "Etiqueta",
7
6
  type: "Tipo",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/fa-IR.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "ویرایش لینک",
5
4
  addTitle: "درج لینک",
6
5
  label: "برچسب",
7
6
  type: "نوع",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/fr-FR.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Modifier le lien",
5
4
  addTitle: "Insérer un lien",
6
5
  label: "Titre",
7
6
  type: "Type",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/id-ID.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Edit Tautan",
5
4
  addTitle: "Sisipkan Tautan",
6
5
  label: "Label",
7
6
  type: "Tipe",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/it-IT.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Modifica collegamento",
5
4
  addTitle: "Inserisci collegamento",
6
5
  label: "Etichetta",
7
6
  type: "Tipo",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/ja-JP.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "リンクの編集",
5
4
  addTitle: "リンクの挿入",
6
5
  label: "表示文字列",
7
6
  type: "種類",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/ko-KR.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "링크 편집",
5
4
  addTitle: "링크 삽입",
6
5
  label: "표시 텍스트",
7
6
  type: "유형",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/pl-PL.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Edytuj łącze",
5
4
  addTitle: "Wstaw łącze",
6
5
  label: "Etykieta",
7
6
  type: "Typ",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/pt-BR.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Editar Link",
5
4
  addTitle: "Inserir Link",
6
5
  label: "Rótulo",
7
6
  type: "Tipo",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/ru-RU.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Редактировать ссылку",
5
4
  addTitle: "Вставить ссылку",
6
5
  label: "Метка",
7
6
  type: "Тип",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/sk-SK.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Upraviť odkaz",
5
4
  addTitle: "Vložiť odkaz",
6
5
  label: "Popisok",
7
6
  type: "Typ",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/vi-VN.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Chỉnh sửa liên kết",
5
4
  addTitle: "Chèn liên kết",
6
5
  label: "Văn bản",
7
6
  labelPlaceholder: "Nhập văn bản",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/zh-CN.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "编辑链接",
5
4
  addTitle: "插入链接",
6
5
  label: "文本",
7
6
  labelPlaceholder: "输入文本",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/zh-HK.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "編輯連結",
5
4
  addTitle: "插入連結",
6
5
  label: "文字",
7
6
  labelPlaceholder: "輸入文字",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/zh-TW.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "編輯連結",
5
4
  addTitle: "插入連結",
6
5
  label: "文字",
7
6
  labelPlaceholder: "輸入文字",
package/lib/index.css CHANGED
@@ -98,8 +98,8 @@
98
98
  border-radius: .75rem;
99
99
  }
100
100
 
101
- .univer-bg-white {
102
- background-color: var(--univer-white);
101
+ .univer-bg-gray-0 {
102
+ background-color: var(--univer-gray-0);
103
103
  }
104
104
 
105
105
  .univer-p-2 {
@@ -155,8 +155,8 @@
155
155
  background-color: var(--univer-gray-900) !important;
156
156
  }
157
157
 
158
- .dark\:\!univer-text-white:where(.univer-dark, .univer-dark *) {
159
- color: var(--univer-white) !important;
158
+ .dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
159
+ color: var(--univer-gray-0) !important;
160
160
  }
161
161
 
162
162
  .dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
package/lib/index.js CHANGED
@@ -621,7 +621,7 @@ const CellLinkEdit = () => {
621
621
  };
622
622
  if (!editing) return null;
623
623
  return /* @__PURE__ */ jsxs("div", {
624
- className: clsx("univer-box-border univer-w-[296px] univer-rounded-xl univer-bg-white univer-p-4 univer-shadow-md dark:!univer-bg-gray-900", borderClassName),
624
+ className: clsx("univer-box-border univer-w-[296px] univer-rounded-xl univer-bg-gray-0 univer-p-4 univer-shadow-md dark:!univer-bg-gray-900", borderClassName),
625
625
  children: [
626
626
  showLabel ? /* @__PURE__ */ jsx(FormLayout, {
627
627
  label: localeService.t("sheets-hyper-link-ui.form.label"),
@@ -796,7 +796,7 @@ const CellLinkPopupPure = (props) => {
796
796
  const linkObj = parserHyperLinkService.parseHyperLink(customRange.properties.url ?? "");
797
797
  const isError = linkObj.type === SheetHyperLinkType.INVALID;
798
798
  return /* @__PURE__ */ jsxs("div", {
799
- className: clsx("univer-mb-1 univer-flex univer-max-w-80 univer-flex-row univer-items-center univer-justify-between univer-gap-2 univer-overflow-hidden univer-rounded-lg univer-bg-white univer-p-2 univer-shadow-md dark:!univer-bg-gray-900", borderClassName),
799
+ className: clsx("univer-mb-1 univer-flex univer-max-w-80 univer-flex-row univer-items-center univer-justify-between univer-gap-2 univer-overflow-hidden univer-rounded-lg univer-bg-gray-0 univer-p-2 univer-shadow-md dark:!univer-bg-gray-900", borderClassName),
800
800
  onClick: () => popupService.hideCurrentPopup(),
801
801
  children: [/* @__PURE__ */ jsxs("div", {
802
802
  className: clsx("univer-flex univer-h-6 univer-flex-1 univer-cursor-pointer univer-flex-row univer-items-center univer-gap-1 univer-truncate univer-text-sm univer-leading-5 univer-text-primary-600", { "univer-text-red-500": isError }),
@@ -805,7 +805,7 @@ const CellLinkPopupPure = (props) => {
805
805
  resolverService.navigate(linkObj);
806
806
  },
807
807
  children: [/* @__PURE__ */ jsx("div", {
808
- className: "univer-flex univer-size-5 univer-flex-none univer-items-center univer-justify-center univer-text-base univer-text-gray-900 dark:!univer-text-white",
808
+ className: "univer-flex univer-size-5 univer-flex-none univer-items-center univer-justify-center univer-text-base univer-text-gray-900 dark:!univer-text-gray-0",
809
809
  children: iconsMap[linkObj.type]
810
810
  }), /* @__PURE__ */ jsx(Tooltip, {
811
811
  showIfEllipsis: true,
@@ -835,7 +835,7 @@ const CellLinkPopupPure = (props) => {
835
835
  children: /* @__PURE__ */ jsx(Tooltip, {
836
836
  placement: "bottom",
837
837
  title: localeService.t("sheets-hyper-link-ui.popup.copy"),
838
- children: /* @__PURE__ */ jsx(CopyIcon, { className: "dark:!univer-text-white" })
838
+ children: /* @__PURE__ */ jsx(CopyIcon, { className: "dark:!univer-text-gray-0" })
839
839
  })
840
840
  }), editPermission && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("div", {
841
841
  "data-u-comp": "cell-link-popup-edit",
@@ -853,7 +853,7 @@ const CellLinkPopupPure = (props) => {
853
853
  children: /* @__PURE__ */ jsx(Tooltip, {
854
854
  placement: "bottom",
855
855
  title: localeService.t("sheets-hyper-link-ui.popup.edit"),
856
- children: /* @__PURE__ */ jsx(WriteIcon, { className: "dark:!univer-text-white" })
856
+ children: /* @__PURE__ */ jsx(WriteIcon, { className: "dark:!univer-text-gray-0" })
857
857
  })
858
858
  }), /* @__PURE__ */ jsx("div", {
859
859
  "data-u-comp": "cell-link-popup-remove",
@@ -872,7 +872,7 @@ const CellLinkPopupPure = (props) => {
872
872
  children: /* @__PURE__ */ jsx(Tooltip, {
873
873
  placement: "bottom",
874
874
  title: localeService.t("sheets-hyper-link-ui.popup.cancel"),
875
- children: /* @__PURE__ */ jsx(UnlinkIcon, { className: "dark:!univer-text-white" })
875
+ children: /* @__PURE__ */ jsx(UnlinkIcon, { className: "dark:!univer-text-gray-0" })
876
876
  })
877
877
  })] })]
878
878
  })]
@@ -1538,7 +1538,7 @@ const menuSchema = {
1538
1538
  //#endregion
1539
1539
  //#region package.json
1540
1540
  var name = "@univerjs/sheets-hyper-link-ui";
1541
- var version = "1.0.0-beta.0";
1541
+ var version = "1.0.0-beta.2";
1542
1542
 
1543
1543
  //#endregion
1544
1544
  //#region src/controllers/auto-fill.controller.ts
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/ar-SA.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "تحرير الارتباط",
5
4
  addTitle: "إدراج ارتباط تشعبي",
6
5
  label: "التسمية",
7
6
  type: "النوع",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/ca-ES.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Edita l'enllaç",
5
4
  addTitle: "Insereix enllaç",
6
5
  label: "Etiqueta",
7
6
  type: "Tipus",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/de-DE.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Link bearbeiten",
5
4
  addTitle: "Link einfügen",
6
5
  label: "Beschriftung",
7
6
  type: "Typ",
@@ -16,7 +16,6 @@
16
16
  */
17
17
  const locale = { "sheets-hyper-link-ui": {
18
18
  form: {
19
- editTitle: "Edit Link",
20
19
  addTitle: "Insert Link",
21
20
  label: "Label",
22
21
  type: "Type",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/es-ES.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Editar enlace",
5
4
  addTitle: "Insertar enlace",
6
5
  label: "Etiqueta",
7
6
  type: "Tipo",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/fa-IR.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "ویرایش لینک",
5
4
  addTitle: "درج لینک",
6
5
  label: "برچسب",
7
6
  type: "نوع",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/fr-FR.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Modifier le lien",
5
4
  addTitle: "Insérer un lien",
6
5
  label: "Titre",
7
6
  type: "Type",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/id-ID.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Edit Tautan",
5
4
  addTitle: "Sisipkan Tautan",
6
5
  label: "Label",
7
6
  type: "Tipe",
@@ -1,7 +1,6 @@
1
1
  //#region src/locale/it-IT.ts
2
2
  const locale = { "sheets-hyper-link-ui": {
3
3
  form: {
4
- editTitle: "Modifica collegamento",
5
4
  addTitle: "Inserisci collegamento",
6
5
  label: "Etichetta",
7
6
  type: "Tipo",