@cgi-learning-hub/ui 1.14.0-dev.1786115279 → 1.14.0-dev.1788349164
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.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{src-Cthoqhel.js → src-jE7nLe9k.js} +2378 -3342
- package/dist/tiptap/index.cjs.js +28 -17
- package/dist/tiptap/index.es.js +17 -17
- package/dist/tiptap/styles.css +12 -64
- package/package.json +8 -8
package/dist/tiptap/index.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_src = require("../src-
|
|
2
|
+
const require_src = require("../src-BXHOgzdu.cjs");
|
|
3
3
|
let react = require("react");
|
|
4
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
5
|
let _mui_material_styles = require("@mui/material/styles");
|
|
@@ -8,17 +8,28 @@ let _tiptap_pm_state = require("@tiptap/pm/state");
|
|
|
8
8
|
let _tiptap_react = require("@tiptap/react");
|
|
9
9
|
require("@tiptap/pm/tables");
|
|
10
10
|
let _mui_material_ToggleButton = require("@mui/material/ToggleButton");
|
|
11
|
+
_mui_material_ToggleButton = require_src.__toESM(_mui_material_ToggleButton, 1);
|
|
11
12
|
let _mui_material_Tooltip = require("@mui/material/Tooltip");
|
|
13
|
+
_mui_material_Tooltip = require_src.__toESM(_mui_material_Tooltip, 1);
|
|
12
14
|
let _mui_material_Badge = require("@mui/material/Badge");
|
|
15
|
+
_mui_material_Badge = require_src.__toESM(_mui_material_Badge, 1);
|
|
13
16
|
let _mui_material_SvgIcon = require("@mui/material/SvgIcon");
|
|
14
17
|
let _mui_material_MenuItem = require("@mui/material/MenuItem");
|
|
18
|
+
_mui_material_MenuItem = require_src.__toESM(_mui_material_MenuItem, 1);
|
|
15
19
|
let _mui_material_Typography = require("@mui/material/Typography");
|
|
20
|
+
_mui_material_Typography = require_src.__toESM(_mui_material_Typography, 1);
|
|
16
21
|
let _mui_material_Menu = require("@mui/material/Menu");
|
|
22
|
+
_mui_material_Menu = require_src.__toESM(_mui_material_Menu, 1);
|
|
17
23
|
let _mui_material_IconButton = require("@mui/material/IconButton");
|
|
24
|
+
_mui_material_IconButton = require_src.__toESM(_mui_material_IconButton, 1);
|
|
18
25
|
let _mui_material_Stack = require("@mui/material/Stack");
|
|
26
|
+
_mui_material_Stack = require_src.__toESM(_mui_material_Stack, 1);
|
|
19
27
|
let _mui_material_InputBase = require("@mui/material/InputBase");
|
|
28
|
+
_mui_material_InputBase = require_src.__toESM(_mui_material_InputBase, 1);
|
|
20
29
|
let _mui_material_Divider = require("@mui/material/Divider");
|
|
30
|
+
_mui_material_Divider = require_src.__toESM(_mui_material_Divider, 1);
|
|
21
31
|
let _mui_material_Popover = require("@mui/material/Popover");
|
|
32
|
+
_mui_material_Popover = require_src.__toESM(_mui_material_Popover, 1);
|
|
22
33
|
//#region src/tiptap/components/icons/text-snippet-icon.tsx
|
|
23
34
|
var TextSnippetIcon = (0, _mui_material_utils.createSvgIcon)(/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M14.17,5L19,9.83V19H5V5L14.17,5L14.17,5 M14.17,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V9.83 c0-0.53-0.21-1.04-0.59-1.41l-4.83-4.83C15.21,3.21,14.7,3,14.17,3L14.17,3z M7,15h10v2H7V15z M7,11h10v2H7V11z M7,7h7v2H7V7z" }), "TextSnippet");
|
|
24
35
|
//#endregion
|
|
@@ -799,7 +810,7 @@ var CodeBlockButton = (0, react.forwardRef)(({ editor: providedEditor, text, hid
|
|
|
799
810
|
});
|
|
800
811
|
CodeBlockButton.displayName = "CodeBlockButton";
|
|
801
812
|
//#endregion
|
|
802
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
813
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/ExpandMoreRounded.mjs
|
|
803
814
|
var ExpandMoreRounded_default = (0, _mui_material_SvgIcon.createSvgIcon)(/*#__PURE__*/ (0, react_jsx_runtime.jsx)("path", { d: "M15.88 9.29 12 13.17 8.12 9.29a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41-.39-.38-1.03-.39-1.42 0" }), "ExpandMoreRounded");
|
|
804
815
|
//#endregion
|
|
805
816
|
//#region src/tiptap/components/icons/heading-five-icon.tsx
|
|
@@ -1294,13 +1305,13 @@ var HeadingMenu = (0, react.forwardRef)(({ editor: providedEditor, levels = [
|
|
|
1294
1305
|
});
|
|
1295
1306
|
HeadingMenu.displayName = "HeadingMenu";
|
|
1296
1307
|
//#endregion
|
|
1297
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1308
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/KeyboardReturnRounded.mjs
|
|
1298
1309
|
var KeyboardReturnRounded_default = (0, _mui_material_SvgIcon.createSvgIcon)(/*#__PURE__*/ (0, react_jsx_runtime.jsx)("path", { d: "M19 8v3H5.83l2.88-2.88c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0L2.71 11.3c-.39.39-.39 1.02 0 1.41L7.3 17.3c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L5.83 13H20c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1s-1 .45-1 1" }), "KeyboardReturnRounded");
|
|
1299
1310
|
//#endregion
|
|
1300
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1311
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/LinkRounded.mjs
|
|
1301
1312
|
var LinkRounded_default = (0, _mui_material_SvgIcon.createSvgIcon)(/*#__PURE__*/ (0, react_jsx_runtime.jsx)("path", { d: "M17 7h-3c-.55 0-1 .45-1 1s.45 1 1 1h3c1.65 0 3 1.35 3 3s-1.35 3-3 3h-3c-.55 0-1 .45-1 1s.45 1 1 1h3c2.76 0 5-2.24 5-5s-2.24-5-5-5m-9 5c0 .55.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1H9c-.55 0-1 .45-1 1m2 3H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h3c.55 0 1-.45 1-1s-.45-1-1-1H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h3c.55 0 1-.45 1-1s-.45-1-1-1" }), "LinkRounded");
|
|
1302
1313
|
//#endregion
|
|
1303
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1314
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/OpenInNewRounded.mjs
|
|
1304
1315
|
var OpenInNewRounded_default = (0, _mui_material_SvgIcon.createSvgIcon)(/*#__PURE__*/ (0, react_jsx_runtime.jsx)("path", { d: "M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5c-1.11 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55-.45 1-1 1M14 4c0 .55.45 1 1 1h2.59l-9.13 9.13c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1h-5c-.55 0-1 .45-1 1" }), "OpenInNewRounded");
|
|
1305
1316
|
//#endregion
|
|
1306
1317
|
//#region src/tiptap/components/ui/link-popover/use-link-popover.ts
|
|
@@ -1930,22 +1941,22 @@ var ListButton = (0, react.forwardRef)(({ editor: providedEditor, type, text, hi
|
|
|
1930
1941
|
});
|
|
1931
1942
|
ListButton.displayName = "ListButton";
|
|
1932
1943
|
//#endregion
|
|
1933
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1944
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/CodeRounded.mjs
|
|
1934
1945
|
var CodeRounded_default = (0, _mui_material_SvgIcon.createSvgIcon)(/*#__PURE__*/ (0, react_jsx_runtime.jsx)("path", { d: "M8.7 15.9 4.8 12l3.9-3.9c.39-.39.39-1.01 0-1.4a.984.984 0 0 0-1.4 0l-4.59 4.59c-.39.39-.39 1.02 0 1.41l4.59 4.6c.39.39 1.01.39 1.4 0s.39-1.01 0-1.4m6.6 0 3.9-3.9-3.9-3.9a.984.984 0 0 1 0-1.4c.39-.39 1.01-.39 1.4 0l4.59 4.59c.39.39.39 1.02 0 1.41l-4.59 4.6c-.39.39-1.01.39-1.4 0a.984.984 0 0 1 0-1.4" }), "CodeRounded");
|
|
1935
1946
|
//#endregion
|
|
1936
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1947
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/FormatBoldRounded.mjs
|
|
1937
1948
|
var FormatBoldRounded_default = (0, _mui_material_SvgIcon.createSvgIcon)(/*#__PURE__*/ (0, react_jsx_runtime.jsx)("path", { d: "M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H8c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h5.78c2.07 0 3.96-1.69 3.97-3.77.01-1.53-.85-2.84-2.15-3.44M10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5" }), "FormatBoldRounded");
|
|
1938
1949
|
//#endregion
|
|
1939
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1950
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/FormatItalicRounded.mjs
|
|
1940
1951
|
var FormatItalicRounded_default = (0, _mui_material_SvgIcon.createSvgIcon)(/*#__PURE__*/ (0, react_jsx_runtime.jsx)("path", { d: "M10 5.5c0 .83.67 1.5 1.5 1.5h.71l-3.42 8H7.5c-.83 0-1.5.67-1.5 1.5S6.67 18 7.5 18h5c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5h-.71l3.42-8h1.29c.83 0 1.5-.67 1.5-1.5S17.33 4 16.5 4h-5c-.83 0-1.5.67-1.5 1.5" }), "FormatItalicRounded");
|
|
1941
1952
|
//#endregion
|
|
1942
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1953
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/FormatUnderlinedRounded.mjs
|
|
1943
1954
|
var FormatUnderlinedRounded_default = (0, _mui_material_SvgIcon.createSvgIcon)(/*#__PURE__*/ (0, react_jsx_runtime.jsx)("path", { d: "M12.79 16.95c3.03-.39 5.21-3.11 5.21-6.16V4.25C18 3.56 17.44 3 16.75 3s-1.25.56-1.25 1.25v6.65c0 1.67-1.13 3.19-2.77 3.52-2.25.47-4.23-1.25-4.23-3.42V4.25C8.5 3.56 7.94 3 7.25 3S6 3.56 6 4.25V11c0 3.57 3.13 6.42 6.79 5.95M5 20c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1" }), "FormatUnderlinedRounded");
|
|
1944
1955
|
//#endregion
|
|
1945
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1956
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/StrikethroughSRounded.mjs
|
|
1946
1957
|
var StrikethroughSRounded_default = (0, _mui_material_SvgIcon.createSvgIcon)(/*#__PURE__*/ (0, react_jsx_runtime.jsx)("path", { d: "M14.59 7.52c0-.31-.05-.59-.15-.85-.09-.27-.24-.49-.44-.68s-.45-.33-.75-.44c-.3-.1-.66-.16-1.06-.16-.39 0-.74.04-1.03.13s-.53.21-.72.36c-.19.16-.34.34-.44.55q-.15.315-.15.66c0 .48.25.88.74 1.21.38.25.77.48 1.41.7H7.39c-.05-.08-.11-.17-.15-.25-.26-.48-.39-1.03-.39-1.67 0-.61.13-1.16.4-1.67q.39-.75 1.11-1.29c.48-.35 1.05-.63 1.7-.83.66-.19 1.39-.29 2.18-.29.81 0 1.54.11 2.21.34.66.22 1.23.54 1.69.94.47.4.83.88 1.08 1.43s.38 1.15.38 1.81zM20 10H4c-.55 0-1 .45-1 1s.45 1 1 1h8.62c.18.07.4.14.55.2q.555.255.87.51c.315.255.35.36.43.57.07.2.11.43.11.69 0 .23-.05.45-.14.66-.09.2-.23.38-.42.53s-.42.26-.71.35c-.29.08-.63.13-1.01.13-.43 0-.83-.04-1.18-.13s-.66-.23-.91-.42-.45-.44-.59-.75-.25-.76-.25-1.21H6.4c0 .55.08 1.13.24 1.58s.37.85.65 1.21c.28.35.6.66.98.92.37.26.78.48 1.22.65q.66.255 1.38.39c.48.08.96.13 1.44.13.8 0 1.53-.09 2.18-.28s1.21-.45 1.67-.79.82-.77 1.07-1.27.38-1.07.38-1.71c0-.6-.1-1.14-.31-1.61-.05-.11-.11-.23-.17-.33H20c.55 0 1-.45 1-1V11c0-.55-.45-1-1-1" }), "StrikethroughSRounded");
|
|
1947
1958
|
//#endregion
|
|
1948
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1959
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/SubscriptRounded.mjs
|
|
1949
1960
|
var SubscriptRounded_default = (0, _mui_material_SvgIcon.createSvgIcon)(/*#__PURE__*/ (0, react_jsx_runtime.jsx)("path", { d: "M10.52 10.73 7.3 5.72C6.82 4.97 7.35 4 8.23 4c.39 0 .74.2.95.53l2.76 4.46h.12l2.74-4.45c.21-.34.57-.54.96-.54.88 0 1.42.98.94 1.72l-3.23 5 3.55 5.55c.48.75-.06 1.73-.94 1.73-.38 0-.74-.2-.95-.52l-3.07-4.89h-.12l-3.07 4.89c-.2.32-.56.52-.95.52-.88 0-1.42-.97-.94-1.72zM23 19.5c0-.28-.22-.5-.5-.5H20v-1h2c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1h-2.5c-.28 0-.5.22-.5.5s.22.5.5.5H22v1h-2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h2.5c.28 0 .5-.22.5-.5" }), "SubscriptRounded");
|
|
1950
1961
|
//#endregion
|
|
1951
1962
|
//#region src/tiptap/components/ui/mark-button/use-mark.ts
|
|
@@ -2149,16 +2160,16 @@ var MarkButton = (0, react.forwardRef)(({ editor: providedEditor, type, text, hi
|
|
|
2149
2160
|
});
|
|
2150
2161
|
MarkButton.displayName = "MarkButton";
|
|
2151
2162
|
//#endregion
|
|
2152
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
2163
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/FormatAlignCenterRounded.mjs
|
|
2153
2164
|
var FormatAlignCenterRounded_default = (0, _mui_material_SvgIcon.createSvgIcon)(/*#__PURE__*/ (0, react_jsx_runtime.jsx)("path", { d: "M7 16c0 .55.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1m-3 5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-8h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m3-5c0 .55.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1M3 4c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1" }), "FormatAlignCenterRounded");
|
|
2154
2165
|
//#endregion
|
|
2155
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
2166
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/FormatAlignJustifyRounded.mjs
|
|
2156
2167
|
var FormatAlignJustifyRounded_default = (0, _mui_material_SvgIcon.createSvgIcon)(/*#__PURE__*/ (0, react_jsx_runtime.jsx)("path", { d: "M4 21h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-4h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-4h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-4h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1M3 4c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1" }), "FormatAlignJustifyRounded");
|
|
2157
2168
|
//#endregion
|
|
2158
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
2169
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/FormatAlignLeftRounded.mjs
|
|
2159
2170
|
var FormatAlignLeftRounded_default = (0, _mui_material_SvgIcon.createSvgIcon)(/*#__PURE__*/ (0, react_jsx_runtime.jsx)("path", { d: "M14 15H4c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1m0-8H4c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1M4 13h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0 8h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1M3 4c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1" }), "FormatAlignLeftRounded");
|
|
2160
2171
|
//#endregion
|
|
2161
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
2172
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/FormatAlignRightRounded.mjs
|
|
2162
2173
|
var FormatAlignRightRounded_default = (0, _mui_material_SvgIcon.createSvgIcon)(/*#__PURE__*/ (0, react_jsx_runtime.jsx)("path", { d: "M4 21h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m6-4h10c.55 0 1-.45 1-1s-.45-1-1-1H10c-.55 0-1 .45-1 1s.45 1 1 1m-6-4h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m6-4h10c.55 0 1-.45 1-1s-.45-1-1-1H10c-.55 0-1 .45-1 1s.45 1 1 1M3 4c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1" }), "FormatAlignRightRounded");
|
|
2163
2174
|
//#endregion
|
|
2164
2175
|
//#region src/tiptap/components/ui/text-align-button/use-text-align.ts
|
|
@@ -2362,10 +2373,10 @@ var TextAlignButton = (0, react.forwardRef)(({ editor: providedEditor, align, te
|
|
|
2362
2373
|
});
|
|
2363
2374
|
TextAlignButton.displayName = "TextAlignButton";
|
|
2364
2375
|
//#endregion
|
|
2365
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
2376
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/RedoRounded.mjs
|
|
2366
2377
|
var RedoRounded_default = (0, _mui_material_SvgIcon.createSvgIcon)(/*#__PURE__*/ (0, react_jsx_runtime.jsx)("path", { d: "M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.16 0-7.74 2.42-9.44 5.93-.32.67.04 1.47.75 1.71.59.2 1.23-.08 1.5-.64 1.3-2.66 4.03-4.5 7.19-4.5 1.95 0 3.73.72 5.12 1.88l-1.91 1.91c-.63.63-.19 1.71.7 1.71H21c.55 0 1-.45 1-1V9.41c0-.89-1.08-1.34-1.71-.71z" }), "RedoRounded");
|
|
2367
2378
|
//#endregion
|
|
2368
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
2379
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/UndoRounded.mjs
|
|
2369
2380
|
var UndoRounded_default = (0, _mui_material_SvgIcon.createSvgIcon)(/*#__PURE__*/ (0, react_jsx_runtime.jsx)("path", { d: "M12.5 8c-2.65 0-5.05.99-6.9 2.6L3.71 8.71C3.08 8.08 2 8.52 2 9.41V15c0 .55.45 1 1 1h5.59c.89 0 1.34-1.08.71-1.71l-1.91-1.91c1.39-1.16 3.16-1.88 5.12-1.88 3.16 0 5.89 1.84 7.19 4.5.27.56.91.84 1.5.64.71-.23 1.07-1.04.75-1.72C20.23 10.42 16.65 8 12.5 8" }), "UndoRounded");
|
|
2370
2381
|
//#endregion
|
|
2371
2382
|
//#region src/tiptap/components/ui/undo-redo-button/use-undo-redo.ts
|
package/dist/tiptap/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as IconButton, It as Tooltip, Lt as Typography, Nt as ToggleButton, W as InputBase, Zt as DeleteRounded_default, et as Menu, hn as clsx, j as Divider, ln as SvgIcon_default, mt as Stack, ot as Popover, tt as MenuItem, u as Badge } from "../src-
|
|
1
|
+
import { H as IconButton, It as Tooltip, Lt as Typography, Nt as ToggleButton, W as InputBase, Zt as DeleteRounded_default, et as Menu, hn as clsx, j as Divider, ln as SvgIcon_default, mt as Stack, ot as Popover, tt as MenuItem, u as Badge } from "../src-jE7nLe9k.js";
|
|
2
2
|
import { Fragment, forwardRef, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
3
3
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
@@ -786,7 +786,7 @@ var CodeBlockButton = forwardRef(({ editor: providedEditor, text, hideWhenUnavai
|
|
|
786
786
|
});
|
|
787
787
|
CodeBlockButton.displayName = "CodeBlockButton";
|
|
788
788
|
//#endregion
|
|
789
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
789
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/ExpandMoreRounded.mjs
|
|
790
790
|
var ExpandMoreRounded_default = SvgIcon_default(/*#__PURE__*/ jsx("path", { d: "M15.88 9.29 12 13.17 8.12 9.29a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41-.39-.38-1.03-.39-1.42 0" }), "ExpandMoreRounded");
|
|
791
791
|
//#endregion
|
|
792
792
|
//#region src/tiptap/components/icons/heading-five-icon.tsx
|
|
@@ -1281,13 +1281,13 @@ var HeadingMenu = forwardRef(({ editor: providedEditor, levels = [
|
|
|
1281
1281
|
});
|
|
1282
1282
|
HeadingMenu.displayName = "HeadingMenu";
|
|
1283
1283
|
//#endregion
|
|
1284
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1284
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/KeyboardReturnRounded.mjs
|
|
1285
1285
|
var KeyboardReturnRounded_default = SvgIcon_default(/*#__PURE__*/ jsx("path", { d: "M19 8v3H5.83l2.88-2.88c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0L2.71 11.3c-.39.39-.39 1.02 0 1.41L7.3 17.3c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L5.83 13H20c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1s-1 .45-1 1" }), "KeyboardReturnRounded");
|
|
1286
1286
|
//#endregion
|
|
1287
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1287
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/LinkRounded.mjs
|
|
1288
1288
|
var LinkRounded_default = SvgIcon_default(/*#__PURE__*/ jsx("path", { d: "M17 7h-3c-.55 0-1 .45-1 1s.45 1 1 1h3c1.65 0 3 1.35 3 3s-1.35 3-3 3h-3c-.55 0-1 .45-1 1s.45 1 1 1h3c2.76 0 5-2.24 5-5s-2.24-5-5-5m-9 5c0 .55.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1H9c-.55 0-1 .45-1 1m2 3H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h3c.55 0 1-.45 1-1s-.45-1-1-1H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h3c.55 0 1-.45 1-1s-.45-1-1-1" }), "LinkRounded");
|
|
1289
1289
|
//#endregion
|
|
1290
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1290
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/OpenInNewRounded.mjs
|
|
1291
1291
|
var OpenInNewRounded_default = SvgIcon_default(/*#__PURE__*/ jsx("path", { d: "M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5c-1.11 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55-.45 1-1 1M14 4c0 .55.45 1 1 1h2.59l-9.13 9.13c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1h-5c-.55 0-1 .45-1 1" }), "OpenInNewRounded");
|
|
1292
1292
|
//#endregion
|
|
1293
1293
|
//#region src/tiptap/components/ui/link-popover/use-link-popover.ts
|
|
@@ -1917,22 +1917,22 @@ var ListButton = forwardRef(({ editor: providedEditor, type, text, hideWhenUnava
|
|
|
1917
1917
|
});
|
|
1918
1918
|
ListButton.displayName = "ListButton";
|
|
1919
1919
|
//#endregion
|
|
1920
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1920
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/CodeRounded.mjs
|
|
1921
1921
|
var CodeRounded_default = SvgIcon_default(/*#__PURE__*/ jsx("path", { d: "M8.7 15.9 4.8 12l3.9-3.9c.39-.39.39-1.01 0-1.4a.984.984 0 0 0-1.4 0l-4.59 4.59c-.39.39-.39 1.02 0 1.41l4.59 4.6c.39.39 1.01.39 1.4 0s.39-1.01 0-1.4m6.6 0 3.9-3.9-3.9-3.9a.984.984 0 0 1 0-1.4c.39-.39 1.01-.39 1.4 0l4.59 4.59c.39.39.39 1.02 0 1.41l-4.59 4.6c-.39.39-1.01.39-1.4 0a.984.984 0 0 1 0-1.4" }), "CodeRounded");
|
|
1922
1922
|
//#endregion
|
|
1923
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1923
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/FormatBoldRounded.mjs
|
|
1924
1924
|
var FormatBoldRounded_default = SvgIcon_default(/*#__PURE__*/ jsx("path", { d: "M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H8c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h5.78c2.07 0 3.96-1.69 3.97-3.77.01-1.53-.85-2.84-2.15-3.44M10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5" }), "FormatBoldRounded");
|
|
1925
1925
|
//#endregion
|
|
1926
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1926
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/FormatItalicRounded.mjs
|
|
1927
1927
|
var FormatItalicRounded_default = SvgIcon_default(/*#__PURE__*/ jsx("path", { d: "M10 5.5c0 .83.67 1.5 1.5 1.5h.71l-3.42 8H7.5c-.83 0-1.5.67-1.5 1.5S6.67 18 7.5 18h5c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5h-.71l3.42-8h1.29c.83 0 1.5-.67 1.5-1.5S17.33 4 16.5 4h-5c-.83 0-1.5.67-1.5 1.5" }), "FormatItalicRounded");
|
|
1928
1928
|
//#endregion
|
|
1929
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1929
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/FormatUnderlinedRounded.mjs
|
|
1930
1930
|
var FormatUnderlinedRounded_default = SvgIcon_default(/*#__PURE__*/ jsx("path", { d: "M12.79 16.95c3.03-.39 5.21-3.11 5.21-6.16V4.25C18 3.56 17.44 3 16.75 3s-1.25.56-1.25 1.25v6.65c0 1.67-1.13 3.19-2.77 3.52-2.25.47-4.23-1.25-4.23-3.42V4.25C8.5 3.56 7.94 3 7.25 3S6 3.56 6 4.25V11c0 3.57 3.13 6.42 6.79 5.95M5 20c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1" }), "FormatUnderlinedRounded");
|
|
1931
1931
|
//#endregion
|
|
1932
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1932
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/StrikethroughSRounded.mjs
|
|
1933
1933
|
var StrikethroughSRounded_default = SvgIcon_default(/*#__PURE__*/ jsx("path", { d: "M14.59 7.52c0-.31-.05-.59-.15-.85-.09-.27-.24-.49-.44-.68s-.45-.33-.75-.44c-.3-.1-.66-.16-1.06-.16-.39 0-.74.04-1.03.13s-.53.21-.72.36c-.19.16-.34.34-.44.55q-.15.315-.15.66c0 .48.25.88.74 1.21.38.25.77.48 1.41.7H7.39c-.05-.08-.11-.17-.15-.25-.26-.48-.39-1.03-.39-1.67 0-.61.13-1.16.4-1.67q.39-.75 1.11-1.29c.48-.35 1.05-.63 1.7-.83.66-.19 1.39-.29 2.18-.29.81 0 1.54.11 2.21.34.66.22 1.23.54 1.69.94.47.4.83.88 1.08 1.43s.38 1.15.38 1.81zM20 10H4c-.55 0-1 .45-1 1s.45 1 1 1h8.62c.18.07.4.14.55.2q.555.255.87.51c.315.255.35.36.43.57.07.2.11.43.11.69 0 .23-.05.45-.14.66-.09.2-.23.38-.42.53s-.42.26-.71.35c-.29.08-.63.13-1.01.13-.43 0-.83-.04-1.18-.13s-.66-.23-.91-.42-.45-.44-.59-.75-.25-.76-.25-1.21H6.4c0 .55.08 1.13.24 1.58s.37.85.65 1.21c.28.35.6.66.98.92.37.26.78.48 1.22.65q.66.255 1.38.39c.48.08.96.13 1.44.13.8 0 1.53-.09 2.18-.28s1.21-.45 1.67-.79.82-.77 1.07-1.27.38-1.07.38-1.71c0-.6-.1-1.14-.31-1.61-.05-.11-.11-.23-.17-.33H20c.55 0 1-.45 1-1V11c0-.55-.45-1-1-1" }), "StrikethroughSRounded");
|
|
1934
1934
|
//#endregion
|
|
1935
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
1935
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/SubscriptRounded.mjs
|
|
1936
1936
|
var SubscriptRounded_default = SvgIcon_default(/*#__PURE__*/ jsx("path", { d: "M10.52 10.73 7.3 5.72C6.82 4.97 7.35 4 8.23 4c.39 0 .74.2.95.53l2.76 4.46h.12l2.74-4.45c.21-.34.57-.54.96-.54.88 0 1.42.98.94 1.72l-3.23 5 3.55 5.55c.48.75-.06 1.73-.94 1.73-.38 0-.74-.2-.95-.52l-3.07-4.89h-.12l-3.07 4.89c-.2.32-.56.52-.95.52-.88 0-1.42-.97-.94-1.72zM23 19.5c0-.28-.22-.5-.5-.5H20v-1h2c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1h-2.5c-.28 0-.5.22-.5.5s.22.5.5.5H22v1h-2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h2.5c.28 0 .5-.22.5-.5" }), "SubscriptRounded");
|
|
1937
1937
|
//#endregion
|
|
1938
1938
|
//#region src/tiptap/components/ui/mark-button/use-mark.ts
|
|
@@ -2136,16 +2136,16 @@ var MarkButton = forwardRef(({ editor: providedEditor, type, text, hideWhenUnava
|
|
|
2136
2136
|
});
|
|
2137
2137
|
MarkButton.displayName = "MarkButton";
|
|
2138
2138
|
//#endregion
|
|
2139
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
2139
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/FormatAlignCenterRounded.mjs
|
|
2140
2140
|
var FormatAlignCenterRounded_default = SvgIcon_default(/*#__PURE__*/ jsx("path", { d: "M7 16c0 .55.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1m-3 5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-8h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m3-5c0 .55.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1M3 4c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1" }), "FormatAlignCenterRounded");
|
|
2141
2141
|
//#endregion
|
|
2142
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
2142
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/FormatAlignJustifyRounded.mjs
|
|
2143
2143
|
var FormatAlignJustifyRounded_default = SvgIcon_default(/*#__PURE__*/ jsx("path", { d: "M4 21h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-4h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-4h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-4h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1M3 4c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1" }), "FormatAlignJustifyRounded");
|
|
2144
2144
|
//#endregion
|
|
2145
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
2145
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/FormatAlignLeftRounded.mjs
|
|
2146
2146
|
var FormatAlignLeftRounded_default = SvgIcon_default(/*#__PURE__*/ jsx("path", { d: "M14 15H4c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1m0-8H4c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1M4 13h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0 8h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1M3 4c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1" }), "FormatAlignLeftRounded");
|
|
2147
2147
|
//#endregion
|
|
2148
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
2148
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/FormatAlignRightRounded.mjs
|
|
2149
2149
|
var FormatAlignRightRounded_default = SvgIcon_default(/*#__PURE__*/ jsx("path", { d: "M4 21h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m6-4h10c.55 0 1-.45 1-1s-.45-1-1-1H10c-.55 0-1 .45-1 1s.45 1 1 1m-6-4h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m6-4h10c.55 0 1-.45 1-1s-.45-1-1-1H10c-.55 0-1 .45-1 1s.45 1 1 1M3 4c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1" }), "FormatAlignRightRounded");
|
|
2150
2150
|
//#endregion
|
|
2151
2151
|
//#region src/tiptap/components/ui/text-align-button/use-text-align.ts
|
|
@@ -2349,10 +2349,10 @@ var TextAlignButton = forwardRef(({ editor: providedEditor, align, text, hideWhe
|
|
|
2349
2349
|
});
|
|
2350
2350
|
TextAlignButton.displayName = "TextAlignButton";
|
|
2351
2351
|
//#endregion
|
|
2352
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
2352
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/RedoRounded.mjs
|
|
2353
2353
|
var RedoRounded_default = SvgIcon_default(/*#__PURE__*/ jsx("path", { d: "M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.16 0-7.74 2.42-9.44 5.93-.32.67.04 1.47.75 1.71.59.2 1.23-.08 1.5-.64 1.3-2.66 4.03-4.5 7.19-4.5 1.95 0 3.73.72 5.12 1.88l-1.91 1.91c-.63.63-.19 1.71.7 1.71H21c.55 0 1-.45 1-1V9.41c0-.89-1.08-1.34-1.71-.71z" }), "RedoRounded");
|
|
2354
2354
|
//#endregion
|
|
2355
|
-
//#region ../../node_modules/.pnpm/@mui+icons-material@9.
|
|
2355
|
+
//#region ../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.2._02cb1dd638d2ccdea7d16c50ea4ea174/node_modules/@mui/icons-material/UndoRounded.mjs
|
|
2356
2356
|
var UndoRounded_default = SvgIcon_default(/*#__PURE__*/ jsx("path", { d: "M12.5 8c-2.65 0-5.05.99-6.9 2.6L3.71 8.71C3.08 8.08 2 8.52 2 9.41V15c0 .55.45 1 1 1h5.59c.89 0 1.34-1.08.71-1.71l-1.91-1.91c1.39-1.16 3.16-1.88 5.12-1.88 3.16 0 5.89 1.84 7.19 4.5.27.56.91.84 1.5.64.71-.23 1.07-1.04.75-1.72C20.23 10.42 16.65 8 12.5 8" }), "UndoRounded");
|
|
2357
2357
|
//#endregion
|
|
2358
2358
|
//#region src/tiptap/components/ui/undo-redo-button/use-undo-redo.ts
|
package/dist/tiptap/styles.css
CHANGED
|
@@ -139,58 +139,6 @@
|
|
|
139
139
|
--tt-gray-dark-700: rgba(192, 192, 195, 1);
|
|
140
140
|
--tt-gray-dark-800: rgba(224, 224, 225, 1);
|
|
141
141
|
--tt-gray-dark-900: rgba(245, 245, 245, 1);
|
|
142
|
-
/* Brand colors */
|
|
143
|
-
--tt-brand-color-50: rgba(239, 238, 255, 1);
|
|
144
|
-
--tt-brand-color-100: rgba(222, 219, 255, 1);
|
|
145
|
-
--tt-brand-color-200: rgba(195, 189, 255, 1);
|
|
146
|
-
--tt-brand-color-300: rgba(157, 138, 255, 1);
|
|
147
|
-
--tt-brand-color-400: rgba(122, 82, 255, 1);
|
|
148
|
-
--tt-brand-color-500: rgba(98, 41, 255, 1);
|
|
149
|
-
--tt-brand-color-600: rgba(84, 0, 229, 1);
|
|
150
|
-
--tt-brand-color-700: rgba(75, 0, 204, 1);
|
|
151
|
-
--tt-brand-color-800: rgba(56, 0, 153, 1);
|
|
152
|
-
--tt-brand-color-900: rgba(43, 25, 102, 1);
|
|
153
|
-
--tt-brand-color-950: hsla(257, 100%, 9%, 1);
|
|
154
|
-
/* Green */
|
|
155
|
-
--tt-color-green-inc-5: hsla(129, 100%, 97%, 1);
|
|
156
|
-
--tt-color-green-inc-4: hsla(129, 100%, 92%, 1);
|
|
157
|
-
--tt-color-green-inc-3: hsla(131, 100%, 86%, 1);
|
|
158
|
-
--tt-color-green-inc-2: hsla(133, 98%, 78%, 1);
|
|
159
|
-
--tt-color-green-inc-1: hsla(137, 99%, 70%, 1);
|
|
160
|
-
--tt-color-green-base: hsla(147, 99%, 50%, 1);
|
|
161
|
-
--tt-color-green-dec-1: hsla(147, 97%, 41%, 1);
|
|
162
|
-
--tt-color-green-dec-2: hsla(146, 98%, 32%, 1);
|
|
163
|
-
--tt-color-green-dec-3: hsla(146, 100%, 24%, 1);
|
|
164
|
-
--tt-color-green-dec-4: hsla(144, 100%, 16%, 1);
|
|
165
|
-
--tt-color-green-dec-5: hsla(140, 100%, 9%, 1);
|
|
166
|
-
/* Yellow */
|
|
167
|
-
--tt-color-yellow-inc-5: hsla(50, 100%, 97%, 1);
|
|
168
|
-
--tt-color-yellow-inc-4: hsla(50, 100%, 91%, 1);
|
|
169
|
-
--tt-color-yellow-inc-3: hsla(50, 100%, 84%, 1);
|
|
170
|
-
--tt-color-yellow-inc-2: hsla(50, 100%, 77%, 1);
|
|
171
|
-
--tt-color-yellow-inc-1: hsla(50, 100%, 68%, 1);
|
|
172
|
-
--tt-color-yellow-base: hsla(52, 100%, 50%, 1);
|
|
173
|
-
--tt-color-yellow-dec-1: hsla(52, 100%, 41%, 1);
|
|
174
|
-
--tt-color-yellow-dec-2: hsla(52, 100%, 32%, 1);
|
|
175
|
-
--tt-color-yellow-dec-3: hsla(52, 100%, 24%, 1);
|
|
176
|
-
--tt-color-yellow-dec-4: hsla(51, 100%, 16%, 1);
|
|
177
|
-
--tt-color-yellow-dec-5: hsla(50, 100%, 9%, 1);
|
|
178
|
-
/* Red */
|
|
179
|
-
--tt-color-red-inc-5: hsla(11, 100%, 96%, 1);
|
|
180
|
-
--tt-color-red-inc-4: hsla(11, 100%, 88%, 1);
|
|
181
|
-
--tt-color-red-inc-3: hsla(10, 100%, 80%, 1);
|
|
182
|
-
--tt-color-red-inc-2: hsla(9, 100%, 73%, 1);
|
|
183
|
-
--tt-color-red-inc-1: hsla(7, 100%, 64%, 1);
|
|
184
|
-
--tt-color-red-base: hsla(7, 100%, 54%, 1);
|
|
185
|
-
--tt-color-red-dec-1: hsla(7, 100%, 41%, 1);
|
|
186
|
-
--tt-color-red-dec-2: hsla(5, 100%, 32%, 1);
|
|
187
|
-
--tt-color-red-dec-3: hsla(4, 100%, 24%, 1);
|
|
188
|
-
--tt-color-red-dec-4: hsla(3, 100%, 16%, 1);
|
|
189
|
-
--tt-color-red-dec-5: hsla(1, 100%, 9%, 1);
|
|
190
|
-
/* Basic colors */
|
|
191
|
-
--white: rgba(255, 255, 255, 1);
|
|
192
|
-
--black: rgba(14, 14, 17, 1);
|
|
193
|
-
--transparent: rgba(255, 255, 255, 0);
|
|
194
142
|
/******************
|
|
195
143
|
Shadow variables
|
|
196
144
|
******************/
|
|
@@ -240,14 +188,14 @@
|
|
|
240
188
|
Global colors
|
|
241
189
|
**************************************************/
|
|
242
190
|
/* Global colors - Light mode */
|
|
243
|
-
--tt-bg-color: var(--
|
|
191
|
+
--tt-bg-color: var(--theme-palette-background-default);
|
|
244
192
|
--tt-border-color: var(--tt-gray-light-a-200);
|
|
245
193
|
--tt-border-color-tint: var(--tt-gray-light-a-100);
|
|
246
|
-
--tt-sidebar-bg-color: var(--
|
|
194
|
+
--tt-sidebar-bg-color: var(--theme-palette-grey-100);
|
|
247
195
|
--tt-scrollbar-color: var(--tt-gray-light-a-200);
|
|
248
|
-
--tt-cursor-color: var(--
|
|
249
|
-
--tt-selection-color:
|
|
250
|
-
--tt-card-bg-color: var(--
|
|
196
|
+
--tt-cursor-color: var(--theme-palette-primary-main);
|
|
197
|
+
--tt-selection-color: color-mix(in srgb, var(--theme-palette-primary-light) 30%, transparent);
|
|
198
|
+
--tt-card-bg-color: var(--theme-palette-background-paper);
|
|
251
199
|
--tt-card-border-color: var(--tt-gray-light-a-100);
|
|
252
200
|
}
|
|
253
201
|
|
|
@@ -496,16 +444,16 @@
|
|
|
496
444
|
}
|
|
497
445
|
|
|
498
446
|
.tiptap.ProseMirror {
|
|
499
|
-
--tt-collaboration-carets-label: var(--
|
|
500
|
-
--link-text-color: var(--
|
|
447
|
+
--tt-collaboration-carets-label: var(--theme-palette-grey-900);
|
|
448
|
+
--link-text-color: var(--theme-palette-primary-main);
|
|
501
449
|
--placeholder-color: var(--tt-gray-light-a-400);
|
|
502
|
-
--tiptap-ai-insertion-color: var(--
|
|
450
|
+
--tiptap-ai-insertion-color: var(--theme-palette-primary-dark);
|
|
503
451
|
}
|
|
504
452
|
.dark .tiptap.ProseMirror {
|
|
505
453
|
--tt-collaboration-carets-label: var(--tt-gray-dark-100);
|
|
506
|
-
--link-text-color: var(--
|
|
454
|
+
--link-text-color: var(--theme-palette-primary-light);
|
|
507
455
|
--placeholder-color: var(--tt-gray-dark-a-400);
|
|
508
|
-
--tiptap-ai-insertion-color: var(--
|
|
456
|
+
--tiptap-ai-insertion-color: var(--theme-palette-primary-light);
|
|
509
457
|
}
|
|
510
458
|
|
|
511
459
|
/* Ensure each top-level node has relative positioning
|
|
@@ -618,7 +566,7 @@
|
|
|
618
566
|
===================== */
|
|
619
567
|
.tiptap.ProseMirror [data-type=mention] {
|
|
620
568
|
display: inline-block;
|
|
621
|
-
color: var(--
|
|
569
|
+
color: var(--theme-palette-primary-main);
|
|
622
570
|
}
|
|
623
571
|
|
|
624
572
|
/* =====================
|
|
@@ -652,7 +600,7 @@
|
|
|
652
600
|
===================== */
|
|
653
601
|
.prosemirror-dropcursor-block,
|
|
654
602
|
.prosemirror-dropcursor-inline {
|
|
655
|
-
background: var(--
|
|
603
|
+
background: var(--theme-palette-primary-light) !important;
|
|
656
604
|
border-radius: 0.25rem;
|
|
657
605
|
margin-left: -1px;
|
|
658
606
|
margin-right: -1px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cgi-learning-hub/ui",
|
|
3
|
-
"version": "1.14.0-dev.
|
|
3
|
+
"version": "1.14.0-dev.1788349164",
|
|
4
4
|
"description": "React component library for Hub's design system, built on Material UI with custom and extended components.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cgi-learning-hub",
|
|
@@ -40,16 +40,16 @@
|
|
|
40
40
|
],
|
|
41
41
|
"sideEffects": false,
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@mui/icons-material": "9.
|
|
44
|
-
"@mui/lab": "9.0.0-beta.
|
|
43
|
+
"@mui/icons-material": "9.4.0",
|
|
44
|
+
"@mui/lab": "9.0.0-beta.9",
|
|
45
45
|
"@mui/system": "^9",
|
|
46
|
-
"@mui/x-date-pickers": "9.
|
|
47
|
-
"@mui/x-tree-view": "9.
|
|
46
|
+
"@mui/x-date-pickers": "9.12.0",
|
|
47
|
+
"@mui/x-tree-view": "9.12.0",
|
|
48
48
|
"@uiw/color-convert": "2.10.3",
|
|
49
49
|
"@uiw/react-color-circle": "2.10.3",
|
|
50
50
|
"clsx": "2.1.1",
|
|
51
|
-
"dayjs": "1.11.
|
|
52
|
-
"react-dropzone": "
|
|
51
|
+
"dayjs": "1.11.23",
|
|
52
|
+
"react-dropzone": "20.1.1"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@emotion/react": "^11",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@types/react": "^19",
|
|
75
75
|
"@types/react-dom": "^19",
|
|
76
76
|
"class-variance-authority": "^0",
|
|
77
|
-
"sass-embedded": "^1
|
|
77
|
+
"sass-embedded": "^1"
|
|
78
78
|
},
|
|
79
79
|
"scripts": {
|
|
80
80
|
"build:js": "vite build",
|