@kopexa/tiptap 17.12.2 → 17.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -440,11 +440,11 @@ function useEditorEditable(editor) {
440
440
 
441
441
  // src/extensions/callout/callout-settings.tsx
442
442
  var import_button = require("@kopexa/button");
443
- var import_dialog = require("@kopexa/dialog");
444
443
  var import_icons = require("@kopexa/icons");
445
444
  var import_input = require("@kopexa/input");
446
445
  var import_label = require("@kopexa/label");
447
446
  var import_select = require("@kopexa/select");
447
+ var import_sight = require("@kopexa/sight");
448
448
  var import_react6 = require("react");
449
449
  var import_react_intl2 = require("react-intl");
450
450
 
@@ -576,9 +576,9 @@ function CalloutSettings({
576
576
  children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_icons.SettingsIcon, { className: "size-3.5" })
577
577
  }
578
578
  ),
579
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dialog.Dialog.Root, { open: isOpen, onOpenChange: setIsOpen, size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_dialog.Dialog.Content, { children: [
580
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dialog.Dialog.Header, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dialog.Dialog.Title, { children: intl.formatMessage(messages.settings) }) }),
581
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_dialog.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "space-y-4", children: [
579
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_sight.Dialog.Root, { open: isOpen, onOpenChange: setIsOpen, size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_sight.Dialog.Content, { children: [
580
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_sight.Dialog.Header, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_sight.Dialog.Title, { children: intl.formatMessage(messages.settings) }) }),
581
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_sight.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "space-y-4", children: [
582
582
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "space-y-1.5", children: [
583
583
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_label.Label, { className: "text-sm", children: intl.formatMessage(messages.variant) }),
584
584
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
@@ -607,7 +607,7 @@ function CalloutSettings({
607
607
  )
608
608
  ] })
609
609
  ] }) }),
610
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_dialog.Dialog.Footer, { children: [
610
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_sight.Dialog.Footer, { children: [
611
611
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_button.Button, { variant: "ghost", onClick: handleCancel, children: intl.formatMessage(messages.cancel) }),
612
612
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_button.Button, { onClick: handleSave, children: intl.formatMessage(messages.save) })
613
613
  ] })
@@ -1433,9 +1433,9 @@ var import_react21 = require("@tiptap/react");
1433
1433
 
1434
1434
  // src/extensions/math/math-block-view.tsx
1435
1435
  var import_button4 = require("@kopexa/button");
1436
- var import_dialog2 = require("@kopexa/dialog");
1437
1436
  var import_icons5 = require("@kopexa/icons");
1438
1437
  var import_label2 = require("@kopexa/label");
1438
+ var import_sight2 = require("@kopexa/sight");
1439
1439
  var import_react16 = require("@tiptap/react");
1440
1440
  var import_katex = __toESM(require("katex"));
1441
1441
  var import_katex_min = require("katex/dist/katex.min.css");
@@ -1594,9 +1594,9 @@ function MathBlockView({ editor, node, getPos }) {
1594
1594
  children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_icons5.EditIcon, { className: "size-3.5" })
1595
1595
  }
1596
1596
  ),
1597
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_dialog2.Dialog.Root, { open: isOpen, onOpenChange: setIsOpen, size: "md", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_dialog2.Dialog.Content, { children: [
1598
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_dialog2.Dialog.Header, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_dialog2.Dialog.Title, { children: intl.formatMessage(messages4.title) }) }),
1599
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_dialog2.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "space-y-4", children: [
1597
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_sight2.Dialog.Root, { open: isOpen, onOpenChange: setIsOpen, size: "md", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_sight2.Dialog.Content, { children: [
1598
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_sight2.Dialog.Header, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_sight2.Dialog.Title, { children: intl.formatMessage(messages4.title) }) }),
1599
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_sight2.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "space-y-4", children: [
1600
1600
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "space-y-1.5", children: [
1601
1601
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_label2.Label, { className: "text-sm", children: intl.formatMessage(messages4.latex_input) }),
1602
1602
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
@@ -1622,7 +1622,7 @@ function MathBlockView({ editor, node, getPos }) {
1622
1622
  ) : localLatex ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "text-muted-foreground text-sm", children: intl.formatMessage(messages4.invalid_latex) }) : /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "text-muted-foreground text-sm", children: intl.formatMessage(messages4.latex_placeholder) }) })
1623
1623
  ] })
1624
1624
  ] }) }),
1625
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_dialog2.Dialog.Footer, { children: [
1625
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_sight2.Dialog.Footer, { children: [
1626
1626
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_button4.Button, { variant: "ghost", onClick: handleCancel, children: intl.formatMessage(messages4.cancel) }),
1627
1627
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_button4.Button, { onClick: handleSave, disabled: !!error && !!localLatex, children: intl.formatMessage(messages4.save) })
1628
1628
  ] })
@@ -1638,8 +1638,8 @@ var import_react20 = require("@tiptap/react");
1638
1638
 
1639
1639
  // src/extensions/math/inline-math-view.tsx
1640
1640
  var import_button5 = require("@kopexa/button");
1641
- var import_dialog3 = require("@kopexa/dialog");
1642
1641
  var import_label3 = require("@kopexa/label");
1642
+ var import_sight3 = require("@kopexa/sight");
1643
1643
  var import_react18 = require("@tiptap/react");
1644
1644
  var import_katex2 = __toESM(require("katex"));
1645
1645
  var import_katex_min2 = require("katex/dist/katex.min.css");
@@ -1731,9 +1731,9 @@ function InlineMathView({ editor, node, getPos }) {
1731
1731
  ) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-destructive text-xs", children: latex })
1732
1732
  }
1733
1733
  ),
1734
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_dialog3.Dialog.Root, { open: isOpen, onOpenChange: setIsOpen, size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_dialog3.Dialog.Content, { children: [
1735
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_dialog3.Dialog.Header, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_dialog3.Dialog.Title, { children: intl.formatMessage(messages4.title) }) }),
1736
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_dialog3.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "space-y-4", children: [
1734
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_sight3.Dialog.Root, { open: isOpen, onOpenChange: setIsOpen, size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_sight3.Dialog.Content, { children: [
1735
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_sight3.Dialog.Header, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_sight3.Dialog.Title, { children: intl.formatMessage(messages4.title) }) }),
1736
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_sight3.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "space-y-4", children: [
1737
1737
  /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "space-y-1.5", children: [
1738
1738
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_label3.Label, { className: "text-sm", children: intl.formatMessage(messages4.latex_input) }),
1739
1739
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
@@ -1759,7 +1759,7 @@ function InlineMathView({ editor, node, getPos }) {
1759
1759
  ) : localLatex ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-muted-foreground text-sm", children: intl.formatMessage(messages4.invalid_latex) }) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-muted-foreground text-sm", children: "$...$" }) })
1760
1760
  ] })
1761
1761
  ] }) }),
1762
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_dialog3.Dialog.Footer, { children: [
1762
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_sight3.Dialog.Footer, { children: [
1763
1763
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_button5.Button, { variant: "ghost", onClick: handleCancel, children: intl.formatMessage(messages4.cancel) }),
1764
1764
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_button5.Button, { onClick: handleSave, disabled: !!error && !!localLatex, children: intl.formatMessage(messages4.save) })
1765
1765
  ] })
@@ -2004,10 +2004,10 @@ var messages5 = (0, import_react_intl10.defineMessages)({
2004
2004
 
2005
2005
  // src/extensions/toc/toc-settings.tsx
2006
2006
  var import_button6 = require("@kopexa/button");
2007
- var import_dialog4 = require("@kopexa/dialog");
2008
2007
  var import_icons6 = require("@kopexa/icons");
2009
2008
  var import_label4 = require("@kopexa/label");
2010
2009
  var import_select2 = require("@kopexa/select");
2010
+ var import_sight4 = require("@kopexa/sight");
2011
2011
  var import_switch = require("@kopexa/switch");
2012
2012
  var import_react22 = require("react");
2013
2013
  var import_react_intl11 = require("react-intl");
@@ -2086,9 +2086,9 @@ function TocSettings({ editor, attrs, getPos }) {
2086
2086
  children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_icons6.SettingsIcon, { className: "size-3.5" })
2087
2087
  }
2088
2088
  ),
2089
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_dialog4.Dialog.Root, { open: isOpen, onOpenChange: setIsOpen, size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_dialog4.Dialog.Content, { children: [
2090
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_dialog4.Dialog.Header, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_dialog4.Dialog.Title, { children: intl.formatMessage(messages5.settings) }) }),
2091
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_dialog4.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "space-y-4", children: [
2089
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_sight4.Dialog.Root, { open: isOpen, onOpenChange: setIsOpen, size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_sight4.Dialog.Content, { children: [
2090
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_sight4.Dialog.Header, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_sight4.Dialog.Title, { children: intl.formatMessage(messages5.settings) }) }),
2091
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_sight4.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "space-y-4", children: [
2092
2092
  /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "grid grid-cols-2 gap-3", children: [
2093
2093
  /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "space-y-1.5", children: [
2094
2094
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_label4.Label, { className: "text-sm", children: intl.formatMessage(messages5.min_level) }),
@@ -2171,7 +2171,7 @@ function TocSettings({ editor, attrs, getPos }) {
2171
2171
  )
2172
2172
  ] })
2173
2173
  ] }) }),
2174
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_dialog4.Dialog.Footer, { children: [
2174
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_sight4.Dialog.Footer, { children: [
2175
2175
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_button6.Button, { variant: "ghost", onClick: handleCancel, children: intl.formatMessage(messages5.cancel) }),
2176
2176
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_button6.Button, { onClick: handleSave, children: intl.formatMessage(messages5.save) })
2177
2177
  ] })
@@ -2581,9 +2581,9 @@ function formatVariableName(name) {
2581
2581
 
2582
2582
  // src/extensions/variable/variable-filler-dialog.tsx
2583
2583
  var import_button7 = require("@kopexa/button");
2584
- var import_dialog5 = require("@kopexa/dialog");
2585
2584
  var import_input2 = require("@kopexa/input");
2586
2585
  var import_label5 = require("@kopexa/label");
2586
+ var import_sight5 = require("@kopexa/sight");
2587
2587
  var React2 = __toESM(require("react"));
2588
2588
  var import_react_intl14 = require("react-intl");
2589
2589
 
@@ -2708,12 +2708,12 @@ function VariableFillerDialog({
2708
2708
  return (_a = localValues[v.name]) == null ? void 0 : _a.trim();
2709
2709
  }).length;
2710
2710
  }, [variables, localValues]);
2711
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_dialog5.Dialog.Root, { open, onOpenChange, size: "md", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_dialog5.Dialog.Content, { children: [
2712
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_dialog5.Dialog.Header, { children: [
2713
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_dialog5.Dialog.Title, { children: title || intl.formatMessage(messages6.filler_title) }),
2714
- description && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_dialog5.Dialog.Description, { children: description })
2711
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_sight5.Dialog.Root, { open, onOpenChange, size: "md", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_sight5.Dialog.Content, { children: [
2712
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_sight5.Dialog.Header, { children: [
2713
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_sight5.Dialog.Title, { children: title || intl.formatMessage(messages6.filler_title) }),
2714
+ description && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_sight5.Dialog.Description, { children: description })
2715
2715
  ] }),
2716
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_dialog5.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "space-y-6", children: Object.entries(groupedVariables).map(([category, vars]) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { children: [
2716
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_sight5.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "space-y-6", children: Object.entries(groupedVariables).map(([category, vars]) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { children: [
2717
2717
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h4", { className: "text-sm font-semibold text-muted-foreground uppercase tracking-wide mb-3", children: category }),
2718
2718
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "space-y-3", children: vars.map((v) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "space-y-1.5", children: [
2719
2719
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_label5.Label, { htmlFor: `var-${v.name}`, className: "text-sm", children: [
@@ -2731,7 +2731,7 @@ function VariableFillerDialog({
2731
2731
  )
2732
2732
  ] }, v.name)) })
2733
2733
  ] }, category)) }) }),
2734
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_dialog5.Dialog.Footer, { className: "flex items-center justify-between", children: [
2734
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_sight5.Dialog.Footer, { className: "flex items-center justify-between", children: [
2735
2735
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("span", { className: "text-sm text-muted-foreground", children: [
2736
2736
  filledCount,
2737
2737
  " / ",
package/dist/index.mjs CHANGED
@@ -399,11 +399,11 @@ function useEditorEditable(editor) {
399
399
 
400
400
  // src/extensions/callout/callout-settings.tsx
401
401
  import { Button, IconButton } from "@kopexa/button";
402
- import { Dialog } from "@kopexa/dialog";
403
402
  import { SettingsIcon } from "@kopexa/icons";
404
403
  import { Input } from "@kopexa/input";
405
404
  import { Label } from "@kopexa/label";
406
405
  import { Select } from "@kopexa/select";
406
+ import { Dialog } from "@kopexa/sight";
407
407
  import { useCallback as useCallback4, useEffect as useEffect3, useState as useState3 } from "react";
408
408
  import { useIntl } from "react-intl";
409
409
 
@@ -1401,9 +1401,9 @@ import { ReactNodeViewRenderer as ReactNodeViewRenderer5 } from "@tiptap/react";
1401
1401
 
1402
1402
  // src/extensions/math/math-block-view.tsx
1403
1403
  import { Button as Button2, IconButton as IconButton4 } from "@kopexa/button";
1404
- import { Dialog as Dialog2 } from "@kopexa/dialog";
1405
1404
  import { EditIcon } from "@kopexa/icons";
1406
1405
  import { Label as Label2 } from "@kopexa/label";
1406
+ import { Dialog as Dialog2 } from "@kopexa/sight";
1407
1407
  import { NodeViewWrapper as NodeViewWrapper4 } from "@tiptap/react";
1408
1408
  import katex from "katex";
1409
1409
  import "katex/dist/katex.min.css";
@@ -1606,8 +1606,8 @@ import { ReactNodeViewRenderer as ReactNodeViewRenderer4 } from "@tiptap/react";
1606
1606
 
1607
1607
  // src/extensions/math/inline-math-view.tsx
1608
1608
  import { Button as Button3 } from "@kopexa/button";
1609
- import { Dialog as Dialog3 } from "@kopexa/dialog";
1610
1609
  import { Label as Label3 } from "@kopexa/label";
1610
+ import { Dialog as Dialog3 } from "@kopexa/sight";
1611
1611
  import { NodeViewWrapper as NodeViewWrapper5 } from "@tiptap/react";
1612
1612
  import katex2 from "katex";
1613
1613
  import "katex/dist/katex.min.css";
@@ -1972,10 +1972,10 @@ var messages5 = defineMessages5({
1972
1972
 
1973
1973
  // src/extensions/toc/toc-settings.tsx
1974
1974
  import { Button as Button4, IconButton as IconButton5 } from "@kopexa/button";
1975
- import { Dialog as Dialog4 } from "@kopexa/dialog";
1976
1975
  import { SettingsIcon as SettingsIcon2 } from "@kopexa/icons";
1977
1976
  import { Label as Label4 } from "@kopexa/label";
1978
1977
  import { Select as Select2 } from "@kopexa/select";
1978
+ import { Dialog as Dialog4 } from "@kopexa/sight";
1979
1979
  import { Switch } from "@kopexa/switch";
1980
1980
  import { useCallback as useCallback9, useEffect as useEffect7, useState as useState8 } from "react";
1981
1981
  import { useIntl as useIntl6 } from "react-intl";
@@ -2549,9 +2549,9 @@ function formatVariableName(name) {
2549
2549
 
2550
2550
  // src/extensions/variable/variable-filler-dialog.tsx
2551
2551
  import { Button as Button5 } from "@kopexa/button";
2552
- import { Dialog as Dialog5 } from "@kopexa/dialog";
2553
2552
  import { Input as Input2 } from "@kopexa/input";
2554
2553
  import { Label as Label5 } from "@kopexa/label";
2554
+ import { Dialog as Dialog5 } from "@kopexa/sight";
2555
2555
  import * as React2 from "react";
2556
2556
  import { useIntl as useIntl8 } from "react-intl";
2557
2557
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kopexa/tiptap",
3
- "version": "17.12.2",
3
+ "version": "17.12.4",
4
4
  "description": "our tiptap components",
5
5
  "keywords": [
6
6
  "tiptap"
@@ -30,36 +30,36 @@
30
30
  "react": ">=19.0.0-rc.0",
31
31
  "react-dom": ">=19.0.0-rc.0",
32
32
  "yjs": "^13.6.0",
33
- "@kopexa/theme": "17.26.7"
33
+ "@kopexa/theme": "17.26.9"
34
34
  },
35
35
  "dependencies": {
36
36
  "@floating-ui/dom": "^1.7.6",
37
37
  "@floating-ui/react": "^0.27.19",
38
- "@tiptap/core": "^3.20.4",
39
- "@tiptap/extension-collaboration": "^3.20.4",
40
- "@tiptap/extension-collaboration-caret": "^3.20.4",
41
- "@tiptap/extension-file-handler": "^3.20.4",
42
- "@tiptap/extension-highlight": "^3.20.4",
43
- "@tiptap/extension-image": "^3.20.4",
44
- "@tiptap/extension-invisible-characters": "^3.20.4",
45
- "@tiptap/extension-link": "^3.20.4",
46
- "@tiptap/extension-list": "^3.20.0",
47
- "@tiptap/extension-mathematics": "^3.20.0",
48
- "@tiptap/extension-subscript": "^3.20.4",
49
- "@tiptap/extension-superscript": "^3.20.0",
50
- "@tiptap/extension-table-of-contents": "^3.20.0",
51
- "@tiptap/extension-task-item": "^3.20.4",
52
- "@tiptap/extension-task-list": "^3.20.4",
53
- "@tiptap/extension-text-align": "^3.20.4",
54
- "@tiptap/extension-text-style": "^3.20.4",
55
- "@tiptap/extension-typography": "^3.20.4",
56
- "@tiptap/extension-unique-id": "^3.20.0",
57
- "@tiptap/extensions": "^3.20.4",
58
- "@tiptap/html": "^3.20.0",
59
- "@tiptap/pm": "^3.20.4",
60
- "@tiptap/react": "^3.20.4",
61
- "@tiptap/starter-kit": "^3.20.4",
62
- "@tiptap/suggestion": "^3.20.4",
38
+ "@tiptap/core": "^3.22.0",
39
+ "@tiptap/extension-collaboration": "^3.22.0",
40
+ "@tiptap/extension-collaboration-caret": "^3.22.0",
41
+ "@tiptap/extension-file-handler": "^3.22.0",
42
+ "@tiptap/extension-highlight": "^3.22.0",
43
+ "@tiptap/extension-image": "^3.22.0",
44
+ "@tiptap/extension-invisible-characters": "^3.22.0",
45
+ "@tiptap/extension-link": "^3.22.0",
46
+ "@tiptap/extension-list": "^3.22.0",
47
+ "@tiptap/extension-mathematics": "^3.22.0",
48
+ "@tiptap/extension-subscript": "^3.22.0",
49
+ "@tiptap/extension-superscript": "^3.22.0",
50
+ "@tiptap/extension-table-of-contents": "^3.22.0",
51
+ "@tiptap/extension-task-item": "^3.22.0",
52
+ "@tiptap/extension-task-list": "^3.22.0",
53
+ "@tiptap/extension-text-align": "^3.22.0",
54
+ "@tiptap/extension-text-style": "^3.22.0",
55
+ "@tiptap/extension-typography": "^3.22.0",
56
+ "@tiptap/extension-unique-id": "^3.22.0",
57
+ "@tiptap/extensions": "^3.22.0",
58
+ "@tiptap/html": "^3.22.0",
59
+ "@tiptap/pm": "^3.22.0",
60
+ "@tiptap/react": "^3.22.0",
61
+ "@tiptap/starter-kit": "^3.22.0",
62
+ "@tiptap/suggestion": "^3.22.0",
63
63
  "dompurify": "^3.3.2",
64
64
  "katex": "^0.16.40",
65
65
  "jsx-dom-cjs": "^8.1.6",
@@ -67,29 +67,29 @@
67
67
  "react-hotkeys-hook": "^5.2.4",
68
68
  "react-intl": "^7.1.14",
69
69
  "y-indexeddb": "^9.0.12",
70
- "@kopexa/callout": "17.0.70",
71
- "@kopexa/dialog": "17.2.35",
72
- "@kopexa/editor-utils": "17.2.11",
73
- "@kopexa/extension-code": "17.0.70",
74
- "@kopexa/extension-pages": "17.1.1",
75
- "@kopexa/dropdown-menu": "17.0.70",
76
- "@kopexa/chip": "17.1.67",
77
- "@kopexa/extension-controlref": "17.1.52",
78
- "@kopexa/icons": "17.9.3",
79
- "@kopexa/label": "17.0.70",
80
- "@kopexa/popover": "17.2.35",
81
- "@kopexa/input": "17.0.70",
82
- "@kopexa/react-utils": "17.1.12",
83
- "@kopexa/select": "17.2.35",
84
- "@kopexa/switch": "17.2.35",
85
- "@kopexa/separator": "17.0.70",
86
- "@kopexa/tabs": "17.0.70",
87
- "@kopexa/shared-utils": "17.0.70",
88
- "@kopexa/toolbar": "17.2.35",
89
- "@kopexa/use-composed-ref": "17.0.70",
90
- "@kopexa/button": "17.0.70",
91
- "@kopexa/use-is-mobile": "17.0.70",
92
- "@kopexa/extension-table": "17.1.22"
70
+ "@kopexa/button": "17.0.72",
71
+ "@kopexa/callout": "17.0.72",
72
+ "@kopexa/chip": "17.1.69",
73
+ "@kopexa/dropdown-menu": "17.0.72",
74
+ "@kopexa/sight": "17.13.0",
75
+ "@kopexa/editor-utils": "17.2.13",
76
+ "@kopexa/extension-code": "17.0.72",
77
+ "@kopexa/extension-controlref": "17.1.54",
78
+ "@kopexa/extension-pages": "17.1.3",
79
+ "@kopexa/extension-table": "17.1.24",
80
+ "@kopexa/input": "17.0.72",
81
+ "@kopexa/icons": "17.10.1",
82
+ "@kopexa/popover": "17.2.37",
83
+ "@kopexa/select": "17.2.37",
84
+ "@kopexa/label": "17.0.72",
85
+ "@kopexa/switch": "17.2.37",
86
+ "@kopexa/react-utils": "17.1.14",
87
+ "@kopexa/separator": "17.0.72",
88
+ "@kopexa/shared-utils": "17.0.72",
89
+ "@kopexa/toolbar": "17.2.37",
90
+ "@kopexa/tabs": "17.0.72",
91
+ "@kopexa/use-is-mobile": "17.0.72",
92
+ "@kopexa/use-composed-ref": "17.0.72"
93
93
  },
94
94
  "clean-package": "../../../clean-package.config.json",
95
95
  "module": "dist/index.mjs",