@dooherceg/tiptap-controlled-editor-with-table 0.0.9 → 0.0.11
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/Combination-CO0ZtURs.js +1333 -0
- package/dist/assets/{components/tiptap-ui-primitive/badge/badge-colors.css → badge.css} +1 -1
- package/dist/assets/{components/tiptap-ui-primitive/button/button-colors.css → button.css} +1 -1
- package/dist/assets/simple-editor.css +1 -0
- package/dist/components/tiptap-node/horizontal-rule-node/horizontal-rule-node-extension.js +58 -6
- package/dist/components/tiptap-node/image-upload-node/image-upload-node.js +4 -5
- package/dist/components/tiptap-templates/simple/simple-editor.d.ts +3 -1
- package/dist/components/tiptap-templates/simple/simple-editor.js +1970 -201
- package/dist/components/tiptap-templates/simple/theme-toggle.js +7 -7
- package/dist/components/tiptap-ui/blockquote-button/blockquote-button.js +10 -10
- package/dist/components/tiptap-ui/color-highlight-button/color-highlight-button.js +5 -6
- package/dist/components/tiptap-ui/color-highlight-button/use-color-highlight.js +1 -1
- package/dist/components/tiptap-ui/color-highlight-popover/color-highlight-popover.js +16 -16
- package/dist/components/tiptap-ui/heading-button/heading-button.js +9 -9
- package/dist/components/tiptap-ui/heading-dropdown-menu/heading-dropdown-menu.js +37 -29
- package/dist/components/tiptap-ui/heading-dropdown-menu/use-heading-dropdown-menu.js +14 -13
- package/dist/components/tiptap-ui/image-upload-button/use-image-upload.js +16 -16
- package/dist/components/tiptap-ui/insert-table-button/insert-table-button.js +9 -9
- package/dist/components/tiptap-ui/link-popover/link-popover.js +13 -13
- package/dist/components/tiptap-ui/list-button/list-button.js +7 -7
- package/dist/components/tiptap-ui/list-dropdown-menu/list-dropdown-menu.js +24 -20
- package/dist/components/tiptap-ui/list-dropdown-menu/use-list-dropdown-menu.js +6 -5
- package/dist/components/tiptap-ui/table-actions-toolbar/table-actions-toolbar.js +28 -28
- package/dist/components/tiptap-ui-primitive/badge/badge.js +16 -19
- package/dist/components/tiptap-ui-primitive/button/button.js +19 -22
- package/dist/components/tiptap-ui-primitive/card/card.js +12 -13
- package/dist/components/tiptap-ui-primitive/dropdown-menu/dropdown-menu.js +1012 -39
- package/dist/components/tiptap-ui-primitive/input/input.js +6 -7
- package/dist/components/tiptap-ui-primitive/popover/popover.js +233 -24
- package/dist/components/tiptap-ui-primitive/separator/separator.js +8 -9
- package/dist/components/tiptap-ui-primitive/toolbar/toolbar.js +7 -8
- package/dist/components/tiptap-ui-primitive/tooltip/tooltip.js +1330 -84
- package/dist/floating-ui.react-dom-DgOuULHo.js +1334 -0
- package/dist/hooks/use-throttled-callback.js +108 -13
- package/dist/{node_modules/react-hotkeys-hook/packages/react-hotkeys-hook/dist/index.js → index-Bqw9S4qP.js} +55 -57
- package/package.json +1 -1
- package/dist/_virtual/_commonjsHelpers.js +0 -8
- package/dist/_virtual/index.js +0 -7
- package/dist/assets/components/tiptap-node/blockquote-node/blockquote-node.css +0 -1
- package/dist/assets/components/tiptap-node/code-block-node/code-block-node.css +0 -1
- package/dist/assets/components/tiptap-node/heading-node/heading-node.css +0 -1
- package/dist/assets/components/tiptap-node/horizontal-rule-node/horizontal-rule-node.css +0 -1
- package/dist/assets/components/tiptap-node/image-node/image-node.css +0 -1
- package/dist/assets/components/tiptap-node/list-node/list-node.css +0 -1
- package/dist/assets/components/tiptap-node/paragraph-node/paragraph-node.css +0 -1
- package/dist/assets/components/tiptap-templates/simple/simple-editor.css +0 -1
- package/dist/assets/components/tiptap-ui-primitive/badge/badge-group.css +0 -1
- package/dist/assets/components/tiptap-ui-primitive/badge/badge.css +0 -1
- package/dist/assets/components/tiptap-ui-primitive/button/button-group.css +0 -1
- package/dist/assets/components/tiptap-ui-primitive/button/button.css +0 -1
- package/dist/assets/styles/_keyframe-animations.css +0 -1
- package/dist/assets/styles/_variables.css +0 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -527
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -402
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -932
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -185
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -208
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -136
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -130
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -9
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -24
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +0 -48
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -29
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -53
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +0 -10
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -127
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +0 -221
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -17
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -136
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -13
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +0 -636
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +0 -239
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -219
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -15
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -70
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -36
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -183
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -10
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -52
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -14
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -6
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -27
- package/dist/node_modules/@tiptap/extension-highlight/dist/index.js +0 -84
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -57
- package/dist/node_modules/@tiptap/extension-image/dist/index.js +0 -128
- package/dist/node_modules/@tiptap/extension-list/dist/index.js +0 -713
- package/dist/node_modules/@tiptap/extension-subscript/dist/index.js +0 -40
- package/dist/node_modules/@tiptap/extension-superscript/dist/index.js +0 -40
- package/dist/node_modules/@tiptap/extension-table/dist/index.js +0 -380
- package/dist/node_modules/@tiptap/extension-text-align/dist/index.js +0 -46
- package/dist/node_modules/@tiptap/extension-typography/dist/index.js +0 -125
- package/dist/node_modules/@tiptap/extensions/dist/index.js +0 -288
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -52
- package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -7
- package/dist/node_modules/lodash.throttle/index.js +0 -95
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -112
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -31
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -16
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -68
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -71
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -7
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -25
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -11
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -15
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -30
- package/dist/node_modules/tabbable/dist/index.esm.js +0 -197
- package/dist/node_modules/tslib/tslib.es6.js +0 -27
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -6
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -26
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -25
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -18
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -67
- /package/dist/assets/{components/tiptap-ui-primitive/card/card.css → card.css} +0 -0
- /package/dist/assets/{components/tiptap-ui/color-highlight-button/color-highlight-button.css → color-highlight-button.css} +0 -0
- /package/dist/assets/{components/tiptap-ui-primitive/dropdown-menu/dropdown-menu.css → dropdown-menu.css} +0 -0
- /package/dist/assets/{components/tiptap-node/image-upload-node/image-upload-node.css → image-upload-node.css} +0 -0
- /package/dist/assets/{components/tiptap-ui-primitive/input/input.css → input.css} +0 -0
- /package/dist/assets/{components/tiptap-ui-primitive/popover/popover.css → popover.css} +0 -0
- /package/dist/assets/{components/tiptap-ui-primitive/separator/separator.css → separator.css} +0 -0
- /package/dist/assets/{components/tiptap-ui-primitive/toolbar/toolbar.css → toolbar.css} +0 -0
- /package/dist/assets/{components/tiptap-ui-primitive/tooltip/tooltip.css → tooltip.css} +0 -0
|
@@ -1,20 +1,115 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { useMemo as V } from "react";
|
|
2
|
+
import { useUnmount as Y } from "./use-unmount.js";
|
|
3
|
+
var T = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4
|
+
function Z(o) {
|
|
5
|
+
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
6
|
+
}
|
|
7
|
+
var S, W;
|
|
8
|
+
function ee() {
|
|
9
|
+
if (W) return S;
|
|
10
|
+
W = 1;
|
|
11
|
+
var o = "Expected a function", g = NaN, j = "[object Symbol]", v = /^\s+|\s+$/g, b = /^[-+]0x[0-9a-f]+$/i, F = /^0b[01]+$/i, N = /^0o[0-7]+$/i, R = parseInt, $ = typeof T == "object" && T && T.Object === Object && T, w = typeof self == "object" && self && self.Object === Object && self, A = $ || w || Function("return this")(), B = Object.prototype, P = B.toString, q = Math.max, D = Math.min, O = function() {
|
|
12
|
+
return A.Date.now();
|
|
13
|
+
};
|
|
14
|
+
function G(e, n, r) {
|
|
15
|
+
var a, f, h, c, i, l, s = 0, _ = !1, d = !1, I = !0;
|
|
16
|
+
if (typeof e != "function")
|
|
17
|
+
throw new TypeError(o);
|
|
18
|
+
n = k(n) || 0, y(r) && (_ = !!r.leading, d = "maxWait" in r, h = d ? q(k(r.maxWait) || 0, n) : h, I = "trailing" in r ? !!r.trailing : I);
|
|
19
|
+
function x(t) {
|
|
20
|
+
var u = a, m = f;
|
|
21
|
+
return a = f = void 0, s = t, c = e.apply(m, u), c;
|
|
22
|
+
}
|
|
23
|
+
function z(t) {
|
|
24
|
+
return s = t, i = setTimeout(p, n), _ ? x(t) : c;
|
|
25
|
+
}
|
|
26
|
+
function J(t) {
|
|
27
|
+
var u = t - l, m = t - s, M = n - u;
|
|
28
|
+
return d ? D(M, h - m) : M;
|
|
29
|
+
}
|
|
30
|
+
function L(t) {
|
|
31
|
+
var u = t - l, m = t - s;
|
|
32
|
+
return l === void 0 || u >= n || u < 0 || d && m >= h;
|
|
33
|
+
}
|
|
34
|
+
function p() {
|
|
35
|
+
var t = O();
|
|
36
|
+
if (L(t))
|
|
37
|
+
return C(t);
|
|
38
|
+
i = setTimeout(p, J(t));
|
|
39
|
+
}
|
|
40
|
+
function C(t) {
|
|
41
|
+
return i = void 0, I && a ? x(t) : (a = f = void 0, c);
|
|
42
|
+
}
|
|
43
|
+
function K() {
|
|
44
|
+
i !== void 0 && clearTimeout(i), s = 0, a = l = f = i = void 0;
|
|
45
|
+
}
|
|
46
|
+
function Q() {
|
|
47
|
+
return i === void 0 ? c : C(O());
|
|
48
|
+
}
|
|
49
|
+
function E() {
|
|
50
|
+
var t = O(), u = L(t);
|
|
51
|
+
if (a = arguments, f = this, l = t, u) {
|
|
52
|
+
if (i === void 0)
|
|
53
|
+
return z(l);
|
|
54
|
+
if (d)
|
|
55
|
+
return i = setTimeout(p, n), x(l);
|
|
56
|
+
}
|
|
57
|
+
return i === void 0 && (i = setTimeout(p, n)), c;
|
|
58
|
+
}
|
|
59
|
+
return E.cancel = K, E.flush = Q, E;
|
|
60
|
+
}
|
|
61
|
+
function U(e, n, r) {
|
|
62
|
+
var a = !0, f = !0;
|
|
63
|
+
if (typeof e != "function")
|
|
64
|
+
throw new TypeError(o);
|
|
65
|
+
return y(r) && (a = "leading" in r ? !!r.leading : a, f = "trailing" in r ? !!r.trailing : f), G(e, n, {
|
|
66
|
+
leading: a,
|
|
67
|
+
maxWait: n,
|
|
68
|
+
trailing: f
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
function y(e) {
|
|
72
|
+
var n = typeof e;
|
|
73
|
+
return !!e && (n == "object" || n == "function");
|
|
74
|
+
}
|
|
75
|
+
function H(e) {
|
|
76
|
+
return !!e && typeof e == "object";
|
|
77
|
+
}
|
|
78
|
+
function X(e) {
|
|
79
|
+
return typeof e == "symbol" || H(e) && P.call(e) == j;
|
|
80
|
+
}
|
|
81
|
+
function k(e) {
|
|
82
|
+
if (typeof e == "number")
|
|
83
|
+
return e;
|
|
84
|
+
if (X(e))
|
|
85
|
+
return g;
|
|
86
|
+
if (y(e)) {
|
|
87
|
+
var n = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
88
|
+
e = y(n) ? n + "" : n;
|
|
89
|
+
}
|
|
90
|
+
if (typeof e != "string")
|
|
91
|
+
return e === 0 ? e : +e;
|
|
92
|
+
e = e.replace(v, "");
|
|
93
|
+
var r = F.test(e);
|
|
94
|
+
return r || N.test(e) ? R(e.slice(2), r ? 2 : 8) : b.test(e) ? g : +e;
|
|
95
|
+
}
|
|
96
|
+
return S = U, S;
|
|
97
|
+
}
|
|
98
|
+
var te = ee();
|
|
99
|
+
const ne = /* @__PURE__ */ Z(te), re = {
|
|
5
100
|
leading: !1,
|
|
6
101
|
trailing: !0
|
|
7
102
|
};
|
|
8
|
-
function
|
|
9
|
-
const
|
|
10
|
-
() =>
|
|
11
|
-
|
|
103
|
+
function ae(o, g = 250, j = [], v = re) {
|
|
104
|
+
const b = V(
|
|
105
|
+
() => ne(o, g, v),
|
|
106
|
+
j
|
|
12
107
|
);
|
|
13
|
-
return
|
|
14
|
-
|
|
15
|
-
}),
|
|
108
|
+
return Y(() => {
|
|
109
|
+
b.cancel();
|
|
110
|
+
}), b;
|
|
16
111
|
}
|
|
17
112
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
113
|
+
ae as default,
|
|
114
|
+
ae as useThrottledCallback
|
|
20
115
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useRef as b, useCallback as W, useContext as
|
|
1
|
+
import { useRef as b, useCallback as W, useContext as P, useLayoutEffect as F, useEffect as G, createContext as j } from "react";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
|
-
const
|
|
3
|
+
const N = ["shift", "alt", "meta", "mod", "ctrl", "control"], Q = {
|
|
4
4
|
esc: "escape",
|
|
5
5
|
return: "enter",
|
|
6
6
|
left: "arrowleft",
|
|
@@ -18,18 +18,18 @@ const j = ["shift", "alt", "meta", "mod", "ctrl", "control"], Q = {
|
|
|
18
18
|
ControlLeft: "ctrl",
|
|
19
19
|
ControlRight: "ctrl"
|
|
20
20
|
};
|
|
21
|
-
function
|
|
21
|
+
function v(e) {
|
|
22
22
|
return (Q[e.trim()] || e.trim()).toLowerCase().replace(/key|digit|numpad/, "");
|
|
23
23
|
}
|
|
24
|
-
function
|
|
25
|
-
return
|
|
24
|
+
function T(e) {
|
|
25
|
+
return N.includes(e);
|
|
26
26
|
}
|
|
27
27
|
function C(e, t = ",") {
|
|
28
28
|
return e.toLowerCase().split(t);
|
|
29
29
|
}
|
|
30
|
-
function S(e, t = "+", n = ">", a = !1,
|
|
31
|
-
let i = [],
|
|
32
|
-
e = e.trim(), e.includes(n) ? (
|
|
30
|
+
function S(e, t = "+", n = ">", a = !1, c) {
|
|
31
|
+
let i = [], s = !1;
|
|
32
|
+
e = e.trim(), e.includes(n) ? (s = !0, i = e.toLocaleLowerCase().split(n).map((d) => v(d))) : i = e.toLocaleLowerCase().split(t).map((d) => v(d));
|
|
33
33
|
const w = {
|
|
34
34
|
alt: i.includes("alt"),
|
|
35
35
|
ctrl: i.includes("ctrl") || i.includes("control"),
|
|
@@ -37,19 +37,19 @@ function S(e, t = "+", n = ">", a = !1, s) {
|
|
|
37
37
|
meta: i.includes("meta"),
|
|
38
38
|
mod: i.includes("mod"),
|
|
39
39
|
useKey: a
|
|
40
|
-
}, u = i.filter((d) => !
|
|
40
|
+
}, u = i.filter((d) => !N.includes(d));
|
|
41
41
|
return {
|
|
42
42
|
...w,
|
|
43
43
|
keys: u,
|
|
44
|
-
description:
|
|
45
|
-
isSequence:
|
|
44
|
+
description: c,
|
|
45
|
+
isSequence: s,
|
|
46
46
|
hotkey: e
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
typeof document < "u" && (document.addEventListener("keydown", (e) => {
|
|
50
|
-
e.code !== void 0 &&
|
|
50
|
+
e.code !== void 0 && D([v(e.code)]);
|
|
51
51
|
}), document.addEventListener("keyup", (e) => {
|
|
52
|
-
e.code !== void 0 &&
|
|
52
|
+
e.code !== void 0 && H([v(e.code)]);
|
|
53
53
|
})), typeof window < "u" && (window.addEventListener("blur", () => {
|
|
54
54
|
h.clear();
|
|
55
55
|
}), window.addEventListener("contextmenu", () => {
|
|
@@ -64,11 +64,11 @@ function A(e) {
|
|
|
64
64
|
function U(e, t = ",") {
|
|
65
65
|
return (A(e) ? e : e.split(t)).every((n) => h.has(n.trim().toLowerCase()));
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function D(e) {
|
|
68
68
|
const t = Array.isArray(e) ? e : [e];
|
|
69
|
-
h.has("meta") && h.forEach((n) => !
|
|
69
|
+
h.has("meta") && h.forEach((n) => !T(n) && h.delete(n.toLowerCase())), t.forEach((n) => h.add(n.toLowerCase()));
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function H(e) {
|
|
72
72
|
const t = Array.isArray(e) ? e : [e];
|
|
73
73
|
e === "meta" ? h.clear() : t.forEach((n) => h.delete(n.toLowerCase()));
|
|
74
74
|
}
|
|
@@ -97,8 +97,8 @@ function Z(e) {
|
|
|
97
97
|
}
|
|
98
98
|
function M(e, t = !1) {
|
|
99
99
|
const { target: n, composed: a } = e;
|
|
100
|
-
let
|
|
101
|
-
return _(n) && a ? (
|
|
100
|
+
let c, i;
|
|
101
|
+
return _(n) && a ? (c = e.composedPath()[0] && e.composedPath()[0].tagName, i = e.composedPath()[0] && e.composedPath()[0].role) : (c = n && n.tagName, i = n && n.role), A(t) ? !!(c && t && t.some((s) => s.toLowerCase() === c.toLowerCase() || s === i)) : !!(c && t && t);
|
|
102
102
|
}
|
|
103
103
|
function _(e) {
|
|
104
104
|
return !!e.tagName && !e.tagName.startsWith("-") && e.tagName.includes("-");
|
|
@@ -109,27 +109,27 @@ function z(e, t) {
|
|
|
109
109
|
), !0) : t ? e.some((n) => t.includes(n)) || e.includes("*") : !0;
|
|
110
110
|
}
|
|
111
111
|
const J = (e, t, n = !1) => {
|
|
112
|
-
const { alt: a, meta:
|
|
112
|
+
const { alt: a, meta: c, mod: i, shift: s, ctrl: w, keys: u, useKey: d } = t, { code: k, key: o, ctrlKey: L, metaKey: g, shiftKey: p, altKey: y } = e, l = v(k);
|
|
113
113
|
if (d && u?.length === 1 && u.includes(o))
|
|
114
114
|
return !0;
|
|
115
115
|
if (!u?.includes(l) && !["ctrl", "control", "unknown", "meta", "alt", "shift", "os"].includes(l))
|
|
116
116
|
return !1;
|
|
117
117
|
if (!n) {
|
|
118
|
-
if (a !==
|
|
118
|
+
if (a !== y && l !== "alt" || s !== p && l !== "shift")
|
|
119
119
|
return !1;
|
|
120
120
|
if (i) {
|
|
121
|
-
if (!
|
|
121
|
+
if (!g && !L)
|
|
122
122
|
return !1;
|
|
123
|
-
} else if (
|
|
123
|
+
} else if (c !== g && l !== "meta" && l !== "os" || w !== L && l !== "ctrl" && l !== "control")
|
|
124
124
|
return !1;
|
|
125
125
|
}
|
|
126
126
|
return u && u.length === 1 && u.includes(l) ? !0 : u ? U(u) : !u;
|
|
127
|
-
}, B =
|
|
127
|
+
}, B = j(void 0), ee = () => P(B);
|
|
128
128
|
function $(e, t) {
|
|
129
129
|
return e && t && typeof e == "object" && typeof t == "object" ? Object.keys(e).length === Object.keys(t).length && // @ts-expect-error TS7053
|
|
130
130
|
Object.keys(e).reduce((n, a) => n && $(e[a], t[a]), !0) : e === t;
|
|
131
131
|
}
|
|
132
|
-
const te =
|
|
132
|
+
const te = j({
|
|
133
133
|
hotkeys: [],
|
|
134
134
|
activeScopes: [],
|
|
135
135
|
// This array has to be empty instead of containing '*' as default, to check if the provider is set or not
|
|
@@ -139,28 +139,28 @@ const te = H({
|
|
|
139
139
|
},
|
|
140
140
|
disableScope: () => {
|
|
141
141
|
}
|
|
142
|
-
}), ne = () =>
|
|
142
|
+
}), ne = () => P(te);
|
|
143
143
|
function oe(e) {
|
|
144
144
|
const t = b(void 0);
|
|
145
145
|
return $(t.current, e) || (t.current = e), t.current;
|
|
146
146
|
}
|
|
147
|
-
const
|
|
147
|
+
const R = (e) => {
|
|
148
148
|
e.stopPropagation(), e.preventDefault(), e.stopImmediatePropagation();
|
|
149
149
|
}, re = typeof window < "u" ? F : G;
|
|
150
|
-
function
|
|
151
|
-
const
|
|
152
|
-
u ?
|
|
153
|
-
const o = oe(
|
|
150
|
+
function se(e, t, n, a) {
|
|
151
|
+
const c = b(null), i = b(!1), s = Array.isArray(n) ? Array.isArray(a) ? void 0 : a : n, w = A(e) ? e.join(s?.delimiter) : e, u = Array.isArray(n) ? n : Array.isArray(a) ? a : void 0, d = W(t, u ?? []), k = b(d);
|
|
152
|
+
u ? k.current = d : k.current = t;
|
|
153
|
+
const o = oe(s), { activeScopes: L } = ne(), g = ee();
|
|
154
154
|
return re(() => {
|
|
155
155
|
if (o?.enabled === !1 || !z(L, o?.scopes))
|
|
156
156
|
return;
|
|
157
|
-
let
|
|
157
|
+
let p = [], y;
|
|
158
158
|
const l = (r, q = !1) => {
|
|
159
159
|
if (!(Z(r) && !M(r, o?.enableOnFormTags))) {
|
|
160
|
-
if (
|
|
161
|
-
const m =
|
|
162
|
-
if ((m instanceof Document || m instanceof ShadowRoot) && m.activeElement !==
|
|
163
|
-
|
|
160
|
+
if (c.current !== null) {
|
|
161
|
+
const m = c.current.getRootNode();
|
|
162
|
+
if ((m instanceof Document || m instanceof ShadowRoot) && m.activeElement !== c.current && !c.current.contains(m.activeElement)) {
|
|
163
|
+
R(r);
|
|
164
164
|
return;
|
|
165
165
|
}
|
|
166
166
|
}
|
|
@@ -179,37 +179,37 @@ function ce(e, t, n, a) {
|
|
|
179
179
|
o?.description
|
|
180
180
|
);
|
|
181
181
|
if (f.isSequence) {
|
|
182
|
-
|
|
183
|
-
|
|
182
|
+
y = setTimeout(() => {
|
|
183
|
+
p = [];
|
|
184
184
|
}, o?.sequenceTimeoutMs ?? 1e3);
|
|
185
|
-
const K = f.useKey ? r.key :
|
|
186
|
-
if (
|
|
185
|
+
const K = f.useKey ? r.key : v(r.code);
|
|
186
|
+
if (T(K.toLowerCase()))
|
|
187
187
|
return;
|
|
188
|
-
|
|
189
|
-
const I = f.keys?.[
|
|
188
|
+
p.push(K);
|
|
189
|
+
const I = f.keys?.[p.length - 1];
|
|
190
190
|
if (K !== I) {
|
|
191
|
-
|
|
191
|
+
p = [], y && clearTimeout(y);
|
|
192
192
|
return;
|
|
193
193
|
}
|
|
194
|
-
|
|
194
|
+
p.length === f.keys?.length && (k.current(r, f), y && clearTimeout(y), p = []);
|
|
195
195
|
} else if (J(r, f, o?.ignoreModifiers) || f.keys?.includes("*")) {
|
|
196
196
|
if (o?.ignoreEventWhen?.(r) || q && i.current)
|
|
197
197
|
return;
|
|
198
198
|
if (V(r, f, o?.preventDefault), !X(r, f, o?.enabled)) {
|
|
199
|
-
|
|
199
|
+
R(r);
|
|
200
200
|
return;
|
|
201
201
|
}
|
|
202
|
-
|
|
202
|
+
k.current(r, f), q || (i.current = !0);
|
|
203
203
|
}
|
|
204
204
|
});
|
|
205
205
|
}
|
|
206
206
|
}, O = (r) => {
|
|
207
|
-
r.code !== void 0 && (
|
|
207
|
+
r.code !== void 0 && (D(v(r.code)), (o?.keydown === void 0 && o?.keyup !== !0 || o?.keydown) && l(r));
|
|
208
208
|
}, x = (r) => {
|
|
209
|
-
r.code !== void 0 && (
|
|
210
|
-
}, E =
|
|
211
|
-
return E.addEventListener("keyup", x,
|
|
212
|
-
(r) =>
|
|
209
|
+
r.code !== void 0 && (H(v(r.code)), i.current = !1, o?.keyup && l(r, !0));
|
|
210
|
+
}, E = c.current || s?.document || document;
|
|
211
|
+
return E.addEventListener("keyup", x, s?.eventListenerOptions), E.addEventListener("keydown", O, s?.eventListenerOptions), g && C(w, o?.delimiter).forEach(
|
|
212
|
+
(r) => g.addHotkey(
|
|
213
213
|
S(
|
|
214
214
|
r,
|
|
215
215
|
o?.splitKey,
|
|
@@ -219,8 +219,8 @@ function ce(e, t, n, a) {
|
|
|
219
219
|
)
|
|
220
220
|
)
|
|
221
221
|
), () => {
|
|
222
|
-
E.removeEventListener("keyup", x,
|
|
223
|
-
(r) =>
|
|
222
|
+
E.removeEventListener("keyup", x, s?.eventListenerOptions), E.removeEventListener("keydown", O, s?.eventListenerOptions), g && C(w, o?.delimiter).forEach(
|
|
223
|
+
(r) => g.removeHotkey(
|
|
224
224
|
S(
|
|
225
225
|
r,
|
|
226
226
|
o?.splitKey,
|
|
@@ -229,12 +229,10 @@ function ce(e, t, n, a) {
|
|
|
229
229
|
o?.description
|
|
230
230
|
)
|
|
231
231
|
)
|
|
232
|
-
),
|
|
232
|
+
), p = [], y && clearTimeout(y);
|
|
233
233
|
};
|
|
234
|
-
}, [w, o, L]),
|
|
234
|
+
}, [w, o, L]), c;
|
|
235
235
|
}
|
|
236
236
|
export {
|
|
237
|
-
|
|
238
|
-
ce as useHotkeys,
|
|
239
|
-
ne as useHotkeysContext
|
|
237
|
+
se as f
|
|
240
238
|
};
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2
|
-
function l(e) {
|
|
3
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4
|
-
}
|
|
5
|
-
export {
|
|
6
|
-
o as commonjsGlobal,
|
|
7
|
-
l as getDefaultExportFromCjs
|
|
8
|
-
};
|
package/dist/_virtual/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.tiptap.ProseMirror{--blockquote-bg-color: var(--tt-gray-light-900)}.dark .tiptap.ProseMirror{--blockquote-bg-color: var(--tt-gray-dark-900)}.tiptap.ProseMirror blockquote{position:relative;padding-left:1em;padding-top:.375em;padding-bottom:.375em;margin:1.5rem 0}.tiptap.ProseMirror blockquote p{margin-top:0}.tiptap.ProseMirror blockquote:before,.tiptap.ProseMirror blockquote.is-empty:before{position:absolute;bottom:0;left:0;top:0;height:100%;width:.25em;background-color:var(--blockquote-bg-color);content:"";border-radius:0}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.tiptap.ProseMirror{--tt-inline-code-bg-color: var(--tt-gray-light-a-100);--tt-inline-code-text-color: var(--tt-gray-light-a-700);--tt-inline-code-border-color: var(--tt-gray-light-a-200);--tt-codeblock-bg: var(--tt-gray-light-a-50);--tt-codeblock-text: var(--tt-gray-light-a-800);--tt-codeblock-border: var(--tt-gray-light-a-200)}.dark .tiptap.ProseMirror{--tt-inline-code-bg-color: var(--tt-gray-dark-a-100);--tt-inline-code-text-color: var(--tt-gray-dark-a-700);--tt-inline-code-border-color: var(--tt-gray-dark-a-200);--tt-codeblock-bg: var(--tt-gray-dark-a-50);--tt-codeblock-text: var(--tt-gray-dark-a-800);--tt-codeblock-border: var(--tt-gray-dark-a-200)}.tiptap.ProseMirror code{background-color:var(--tt-inline-code-bg-color);color:var(--tt-inline-code-text-color);border:1px solid var(--tt-inline-code-border-color);font-family:JetBrains Mono NL,monospace;font-size:.875em;line-height:1.4;border-radius:6px/.375rem;padding:.1em .2em}.tiptap.ProseMirror pre{background-color:var(--tt-codeblock-bg);color:var(--tt-codeblock-text);border:1px solid var(--tt-codeblock-border);margin-top:1.5em;margin-bottom:1.5em;padding:1em;font-size:1rem;border-radius:6px/.375rem}.tiptap.ProseMirror pre code{background-color:transparent;border:none;border-radius:0;-webkit-text-fill-color:inherit;color:inherit}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.tiptap.ProseMirror h1,.tiptap.ProseMirror h2,.tiptap.ProseMirror h3,.tiptap.ProseMirror h4{position:relative;color:inherit;font-style:inherit}.tiptap.ProseMirror h1:first-child,.tiptap.ProseMirror h1:first-of-type,.tiptap.ProseMirror h2:first-child,.tiptap.ProseMirror h2:first-of-type,.tiptap.ProseMirror h3:first-child,.tiptap.ProseMirror h3:first-of-type,.tiptap.ProseMirror h4:first-child,.tiptap.ProseMirror h4:first-of-type{margin-top:0}.tiptap.ProseMirror h1{font-size:1.5em;font-weight:700;margin-top:3em}.tiptap.ProseMirror h2{font-size:1.25em;font-weight:700;margin-top:2.5em}.tiptap.ProseMirror h3{font-size:1.125em;font-weight:600;margin-top:2em}.tiptap.ProseMirror h4{font-size:1em;font-weight:600;margin-top:2em}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.tiptap.ProseMirror{--horizontal-rule-color: var(--tt-gray-light-a-200)}.dark .tiptap.ProseMirror{--horizontal-rule-color: var(--tt-gray-dark-a-200)}.tiptap.ProseMirror hr{border:none;height:1px;background-color:var(--horizontal-rule-color)}.tiptap.ProseMirror [data-type=horizontalRule]{margin-top:2.25em;margin-bottom:2.25em;padding-top:.75rem;padding-bottom:.75rem}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.tiptap.ProseMirror img{max-width:100%;height:auto;display:block}.tiptap.ProseMirror>img:not([data-type=emoji] img){margin:2rem 0;outline:.125rem solid transparent;border-radius:var(--tt-radius-xs, .25rem)}.tiptap.ProseMirror img:not([data-type=emoji] img).ProseMirror-selectednode{outline-color:var(--tt-brand-color-500)}.tiptap.ProseMirror .tiptap-thread:has(>img){margin:2rem 0}.tiptap.ProseMirror .tiptap-thread:has(>img) img{outline:.125rem solid transparent;border-radius:var(--tt-radius-xs, .25rem)}.tiptap.ProseMirror .tiptap-thread img{margin:0}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.tiptap.ProseMirror{--tt-checklist-bg-color: var(--tt-gray-light-a-100);--tt-checklist-bg-active-color: var(--tt-gray-light-a-900);--tt-checklist-border-color: var(--tt-gray-light-a-200);--tt-checklist-border-active-color: var(--tt-gray-light-a-900);--tt-checklist-check-icon-color: var(--white);--tt-checklist-text-active: var(--tt-gray-light-a-500)}.dark .tiptap.ProseMirror{--tt-checklist-bg-color: var(--tt-gray-dark-a-100);--tt-checklist-bg-active-color: var(--tt-gray-dark-a-900);--tt-checklist-border-color: var(--tt-gray-dark-a-200);--tt-checklist-border-active-color: var(--tt-gray-dark-a-900);--tt-checklist-check-icon-color: var(--black);--tt-checklist-text-active: var(--tt-gray-dark-a-500)}.tiptap.ProseMirror ol,.tiptap.ProseMirror ul{margin-top:1.5em;margin-bottom:1.5em;padding-left:1.5em}.tiptap.ProseMirror ol:first-child,.tiptap.ProseMirror ul:first-child{margin-top:0}.tiptap.ProseMirror ol:last-child,.tiptap.ProseMirror ul:last-child{margin-bottom:0}.tiptap.ProseMirror ol ol,.tiptap.ProseMirror ol ul,.tiptap.ProseMirror ul ol,.tiptap.ProseMirror ul ul{margin-top:0;margin-bottom:0}.tiptap.ProseMirror li p{margin-top:0;line-height:1.6}.tiptap.ProseMirror ol{list-style:decimal}.tiptap.ProseMirror ol ol{list-style:lower-alpha}.tiptap.ProseMirror ol ol ol{list-style:lower-roman}.tiptap.ProseMirror ul:not([data-type=taskList]){list-style:disc}.tiptap.ProseMirror ul:not([data-type=taskList]) ul{list-style:circle}.tiptap.ProseMirror ul:not([data-type=taskList]) ul ul{list-style:square}.tiptap.ProseMirror ul[data-type=taskList]{padding-left:.25em}.tiptap.ProseMirror ul[data-type=taskList] li{display:flex;flex-direction:row;align-items:flex-start}.tiptap.ProseMirror ul[data-type=taskList] li:not(:has(>p:first-child)){list-style-type:none}.tiptap.ProseMirror ul[data-type=taskList] li[data-checked=true]>div>p{opacity:.5;text-decoration:line-through}.tiptap.ProseMirror ul[data-type=taskList] li[data-checked=true]>div>p span{text-decoration:line-through}.tiptap.ProseMirror ul[data-type=taskList] li label{position:relative;padding-top:.375rem;padding-right:.5rem}.tiptap.ProseMirror ul[data-type=taskList] li label input[type=checkbox]{position:absolute;opacity:0;width:0;height:0}.tiptap.ProseMirror ul[data-type=taskList] li label span{display:block;width:1em;height:1em;border:1px solid var(--tt-checklist-border-color);border-radius:var(--tt-radius-xs, .25rem);position:relative;cursor:pointer;background-color:var(--tt-checklist-bg-color);transition:background-color 80ms ease-out,border-color 80ms ease-out}.tiptap.ProseMirror ul[data-type=taskList] li label span:before{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:.75em;height:.75em;background-color:var(--tt-checklist-check-icon-color);opacity:0;-webkit-mask:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.4142%204.58579C22.1953%205.36683%2022.1953%206.63317%2021.4142%207.41421L10.4142%2018.4142C9.63317%2019.1953%208.36684%2019.1953%207.58579%2018.4142L2.58579%2013.4142C1.80474%2012.6332%201.80474%2011.3668%202.58579%2010.5858C3.36683%209.80474%204.63317%209.80474%205.41421%2010.5858L9%2014.1716L18.5858%204.58579C19.3668%203.80474%2020.6332%203.80474%2021.4142%204.58579Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E) center/contain no-repeat;mask:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.4142%204.58579C22.1953%205.36683%2022.1953%206.63317%2021.4142%207.41421L10.4142%2018.4142C9.63317%2019.1953%208.36684%2019.1953%207.58579%2018.4142L2.58579%2013.4142C1.80474%2012.6332%201.80474%2011.3668%202.58579%2010.5858C3.36683%209.80474%204.63317%209.80474%205.41421%2010.5858L9%2014.1716L18.5858%204.58579C19.3668%203.80474%2020.6332%203.80474%2021.4142%204.58579Z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E) center/contain no-repeat}.tiptap.ProseMirror ul[data-type=taskList] li label input[type=checkbox]:checked+span{background:var(--tt-checklist-bg-active-color);border-color:var(--tt-checklist-border-active-color)}.tiptap.ProseMirror ul[data-type=taskList] li label input[type=checkbox]:checked+span:before{opacity:1}.tiptap.ProseMirror ul[data-type=taskList] li div{flex:1 1 0%;min-width:0}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@charset "UTF-8";.tiptap.ProseMirror{--tt-collaboration-carets-label: var(--tt-gray-light-900);--link-text-color: var(--tt-brand-color-500);--thread-text: var(--tt-gray-light-900);--placeholder-color: var(--tt-gray-light-a-400);--thread-bg-color: var(--tt-color-yellow-inc-2);--tiptap-ai-insertion-color: var(--tt-brand-color-600)}.dark .tiptap.ProseMirror{--tt-collaboration-carets-label: var(--tt-gray-dark-100);--link-text-color: var(--tt-brand-color-400);--thread-text: var(--tt-gray-dark-900);--placeholder-color: var(--tt-gray-dark-a-400);--thread-bg-color: var(--tt-color-yellow-dec-2);--tiptap-ai-insertion-color: var(--tt-brand-color-400)}.tiptap.ProseMirror>*{position:relative}.tiptap.ProseMirror{white-space:pre-wrap;outline:none;caret-color:var(--tt-cursor-color)}.tiptap.ProseMirror p:not(:first-child):not(td p):not(th p){font-size:1rem;line-height:1.6;font-weight:400;margin-top:20px}.tiptap.ProseMirror:not(.readonly):not(.ProseMirror-hideselection) ::selection{background-color:var(--tt-selection-color)}.tiptap.ProseMirror:not(.readonly):not(.ProseMirror-hideselection) .selection::selection{background:transparent}.tiptap.ProseMirror .selection{display:inline;background-color:var(--tt-selection-color)}.tiptap.ProseMirror .ProseMirror-selectednode:not(img):not(pre):not(.react-renderer){border-radius:var(--tt-radius-md);background-color:var(--tt-selection-color)}.tiptap.ProseMirror .ProseMirror-hideselection{caret-color:transparent}.tiptap.ProseMirror.resize-cursor{cursor:ew-resize;cursor:col-resize}.tiptap.ProseMirror a span{text-decoration:underline}.tiptap.ProseMirror s span{text-decoration:line-through}.tiptap.ProseMirror u span{text-decoration:underline}.tiptap.ProseMirror .tiptap-ai-insertion{color:var(--tiptap-ai-insertion-color)}.tiptap.ProseMirror .collaboration-carets__caret{border-right:1px solid transparent;border-left:1px solid transparent;pointer-events:none;margin-left:-1px;margin-right:-1px;position:relative;word-break:normal}.tiptap.ProseMirror .collaboration-carets__label{color:var(--tt-collaboration-carets-label);border-radius:.25rem;border-bottom-left-radius:0;font-size:.75rem;font-weight:600;left:-1px;line-height:1;padding:.125rem .375rem;position:absolute;top:-1.3em;-webkit-user-select:none;user-select:none;white-space:nowrap}.tiptap.ProseMirror [data-type=emoji] img{display:inline-block;width:1.25em;height:1.25em;cursor:text}.tiptap.ProseMirror a{color:var(--link-text-color);text-decoration:underline}.tiptap.ProseMirror [data-type=mention]{display:inline-block;color:var(--tt-brand-color-500)}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--inline{transition:color .2s ease-in-out,background-color .2s ease-in-out;color:var(--thread-text);border-bottom:2px dashed var(--tt-color-yellow-base);font-weight:600}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--inline.tiptap-thread--selected,.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--inline.tiptap-thread--hovered{background-color:var(--thread-bg-color);border-bottom-color:transparent}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--block:has(img){outline:.125rem solid var(--tt-color-yellow-base);border-radius:var(--tt-radius-xs, .25rem);overflow:hidden;width:fit-content}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--block:has(img).tiptap-thread--selected{outline-width:.25rem;outline-color:var(--tt-color-yellow-base)}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--block:has(img).tiptap-thread--hovered{outline-width:.25rem}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--block:not(:has(img)){border-radius:.25rem;border-bottom:.125rem dashed var(--tt-color-yellow-base);border-top:.125rem dashed var(--tt-color-yellow-base);outline:.25rem solid transparent}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--block:not(:has(img)).tiptap-thread--hovered,.tiptap.ProseMirror .tiptap-thread.tiptap-thread--unresolved.tiptap-thread--block:not(:has(img)).tiptap-thread--selected{background-color:var(--tt-color-yellow-base);outline-color:var(--tt-color-yellow-base)}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--resolved.tiptap-thread--inline.tiptap-thread--selected{background-color:var(--tt-color-yellow-base);border-color:transparent;opacity:.5}.tiptap.ProseMirror .tiptap-thread.tiptap-thread--block:has(.react-renderer){margin-top:3rem;margin-bottom:3rem}.is-empty:not(.with-slash)[data-placeholder]:has(>.ProseMirror-trailingBreak:only-child):before{content:attr(data-placeholder)}.is-empty.with-slash[data-placeholder]:has(>.ProseMirror-trailingBreak:only-child):before{content:"Write, type '/' for commands…";font-style:italic}.is-empty[data-placeholder]:has(>.ProseMirror-trailingBreak:only-child):before{pointer-events:none;height:0;position:absolute;width:100%;text-align:inherit;left:0;right:0}.is-empty[data-placeholder]:has(>.ProseMirror-trailingBreak):before{color:var(--placeholder-color)}.prosemirror-dropcursor-block,.prosemirror-dropcursor-inline{background:var(--tt-brand-color-400)!important;border-radius:.25rem;margin-left:-1px;margin-right:-1px;width:100%;height:.188rem;cursor:grabbing}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";body{--tt-toolbar-height: 44px;--tt-theme-text: var(--tt-gray-light-900)}.dark body{--tt-theme-text: var(--tt-gray-dark-900)}::-webkit-scrollbar{width:.25rem}*{scrollbar-width:thin;scrollbar-color:var(--tt-scrollbar-color) transparent}::-webkit-scrollbar-thumb{background-color:var(--tt-scrollbar-color);border-radius:9999px}::-webkit-scrollbar-track{background:transparent}.tiptap.ProseMirror{font-family:DM Sans,sans-serif}.simple-editor-wrapper{width:100%;height:100%;overflow:hidden;display:flex;flex-direction:column}.simple-editor-content{width:100%;height:100%;display:flex;flex-direction:column;flex:1;overflow:auto}.simple-editor-content .tiptap.ProseMirror.simple-editor{flex:1;padding:.5rem 1rem}@media screen and (max-width:480px){.simple-editor-content .tiptap.ProseMirror.simple-editor{padding:1rem 1.5rem 30vh}}table{border-collapse:collapse;margin:0;overflow:hidden;table-layout:fixed;width:100%}table td,table th{border:1px solid var(--table-border-color);box-sizing:border-box;min-width:1em;padding:6px 8px;position:relative;vertical-align:top}table td>*,table th>*{margin-bottom:0}table th{background:var(--th-bg-color);color:var(--th-text-color);border:1px solid var(--table-border-color);font-weight:700;text-align:left;position:relative;overflow:visible}table td{background:var(--td-bg-color);color:var(--tt-color-text-gray)}table .selectedCell:after{background:var(--gray-2);content:"";inset:0;pointer-events:none;position:absolute;z-index:2}table .column-resize-handle{background-color:var(--purple);bottom:-2px;pointer-events:none;position:absolute;right:-2px;top:0;width:4px}.tiptap table{border-collapse:collapse;overflow:hidden;table-layout:fixed;margin:28px 0}.tiptap table :first-child{margin-top:0}.tiptap table td,.tiptap table th{border:1px solid var(--tt-table-border-color);box-sizing:border-box;min-width:1em;padding:6px 8px;position:relative;vertical-align:top}.tiptap table td>*,.tiptap table th>*{margin-bottom:0}.tiptap table th{background-color:var(--tt-table-header-bg-color);font-weight:700;text-align:left;color:var(--tt-table-header-text-color);border-color:var(--tt-table-header-border-color)}.tiptap table .selectedCell:after{background:var(--tt-brand-color-a-500);content:"";inset:0;pointer-events:none;position:absolute;z-index:2}.tiptap table .column-resize-handle{background-color:purple;bottom:-2px;pointer-events:none;position:absolute;right:-2px;top:0;width:4px;z-index:99}.tiptap.resize-cursor{cursor:ew-resize;cursor:col-resize}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.tiptap-badge-group{align-items:center;display:flex;flex-wrap:wrap;gap:.25rem}.tiptap-badge-group [data-orientation=vertical]{flex-direction:column}.tiptap-badge-group [data-orientation=horizontal]{flex-direction:row}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.tiptap-badge{font-size:.625rem;font-weight:700;font-feature-settings:"salt" on,"cv01" on;line-height:1.15;height:1.25rem;min-width:1.25rem;padding:.25rem;display:flex;align-items:center;justify-content:center;border:solid 1px;border-radius:var(--tt-radius-sm, .375rem);transition-property:background,color,opacity;transition-duration:var(--tt-transition-duration-default);transition-timing-function:var(--tt-transition-easing-default)}.tiptap-badge[data-size=large]{font-size:.75rem;height:1.5rem;min-width:1.5rem;padding:.375rem;border-radius:var(--tt-radius-md, .375rem)}.tiptap-badge[data-size=small]{height:1rem;min-width:1rem;padding:.125rem;border-radius:var(--tt-radius-xs, .25rem)}.tiptap-badge .tiptap-badge-text{padding:0 .125rem;flex-grow:1;text-align:left}.tiptap-badge[data-text-trim=on] .tiptap-badge-text{text-overflow:ellipsis;overflow:hidden}.tiptap-badge .tiptap-badge-icon{pointer-events:none;flex-shrink:0;width:.625rem;height:.625rem}.tiptap-badge[data-size=large] .tiptap-badge-icon{width:.75rem;height:.75rem}.tiptap-badge{background-color:var(--tt-badge-bg-color);border-color:var(--tt-badge-border-color);color:var(--tt-badge-text-color)}.tiptap-badge .tiptap-badge-icon{color:var(--tt-badge-icon-color)}.tiptap-badge[data-appearance=emphasized]{background-color:var(--tt-badge-bg-color-emphasized);border-color:var(--tt-badge-border-color-emphasized);color:var(--tt-badge-text-color-emphasized)}.tiptap-badge[data-appearance=emphasized] .tiptap-badge-icon{color:var(--tt-badge-icon-color-emphasized)}.tiptap-badge[data-appearance=subdued]{background-color:var(--tt-badge-bg-color-subdued);border-color:var(--tt-badge-border-color-subdued);color:var(--tt-badge-text-color-subdued)}.tiptap-badge[data-appearance=subdued] .tiptap-badge-icon{color:var(--tt-badge-icon-color-subdued)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.tiptap-button-group{position:relative;display:flex;vertical-align:middle}.tiptap-button-group[data-orientation=vertical]{flex-direction:column;align-items:flex-start;justify-content:center;min-width:max-content}.tiptap-button-group[data-orientation=vertical]>.tiptap-button{width:100%}.tiptap-button-group[data-orientation=horizontal]{gap:.125rem;flex-direction:row;align-items:center}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.tiptap-button{font-size:.875rem;font-weight:500;font-feature-settings:"salt" on,"cv01" on;line-height:1.15;height:2rem;min-width:2rem;border:none;padding:.5rem;gap:.25rem;display:flex;align-items:center;justify-content:center;border-radius:var(--tt-radius-lg, .75rem);transition-property:background,color,opacity;transition-duration:var(--tt-transition-duration-default);transition-timing-function:var(--tt-transition-easing-default)}.tiptap-button:focus-visible{outline:none}.tiptap-button[data-highlighted=true],.tiptap-button[data-focus-visible=true]{background-color:var(--tt-button-hover-bg-color);color:var(--tt-button-hover-text-color)}.tiptap-button[data-weight=small]{width:1.5rem;min-width:1.5rem;padding-right:0;padding-left:0}.tiptap-button[data-size=large]{font-size:.9375rem;height:2.375rem;min-width:2.375rem;padding:.625rem}.tiptap-button[data-size=small]{font-size:.75rem;line-height:1.2;height:1.5rem;min-width:1.5rem;padding:.3125rem;border-radius:var(--tt-radius-md, .5rem)}.tiptap-button .tiptap-button-text{padding:0 .125rem;flex-grow:1;text-align:left;line-height:1.5rem}.tiptap-button[data-text-trim=on] .tiptap-button-text{text-overflow:ellipsis;overflow:hidden}.tiptap-button .tiptap-button-icon,.tiptap-button .tiptap-button-icon-sub,.tiptap-button .tiptap-button-dropdown-arrows,.tiptap-button .tiptap-button-dropdown-small{flex-shrink:0}.tiptap-button .tiptap-button-icon{width:1rem;height:1rem}.tiptap-button[data-size=large] .tiptap-button-icon{width:1.125rem;height:1.125rem}.tiptap-button[data-size=small] .tiptap-button-icon{width:.875rem;height:.875rem}.tiptap-button .tiptap-button-icon-sub{width:1rem;height:1rem}.tiptap-button[data-size=large] .tiptap-button-icon-sub{width:1.125rem;height:1.125rem}.tiptap-button[data-size=small] .tiptap-button-icon-sub{width:.875rem;height:.875rem}.tiptap-button .tiptap-button-dropdown-arrows{width:.75rem;height:.75rem}.tiptap-button[data-size=large] .tiptap-button-dropdown-arrows{width:.875rem;height:.875rem}.tiptap-button[data-size=small] .tiptap-button-dropdown-arrows,.tiptap-button .tiptap-button-dropdown-small{width:.625rem;height:.625rem}.tiptap-button[data-size=large] .tiptap-button-dropdown-small{width:.75rem;height:.75rem}.tiptap-button[data-size=small] .tiptap-button-dropdown-small{width:.5rem;height:.5rem}.tiptap-button:has(>svg):not(:has(>:not(svg))){gap:.125rem}.tiptap-button:has(>svg):not(:has(>:not(svg)))[data-size=large],.tiptap-button:has(>svg):not(:has(>:not(svg)))[data-size=small]{gap:.125rem}.tiptap-button:has(>svg:nth-of-type(2)):has(>.tiptap-button-dropdown-small):not(:has(>svg:nth-of-type(3))):not(:has(>.tiptap-button-text)){gap:0;padding-right:.25rem}.tiptap-button:has(>svg:nth-of-type(2)):has(>.tiptap-button-dropdown-small):not(:has(>svg:nth-of-type(3))):not(:has(>.tiptap-button-text))[data-size=large]{padding-right:.375rem}.tiptap-button:has(>svg:nth-of-type(2)):has(>.tiptap-button-dropdown-small):not(:has(>svg:nth-of-type(3))):not(:has(>.tiptap-button-text))[data-size=small]{padding-right:.25rem}.tiptap-button .tiptap-button-emoji{width:1rem;display:flex;justify-content:center}.tiptap-button[data-size=large] .tiptap-button-emoji{width:1.125rem}.tiptap-button[data-size=small] .tiptap-button-emoji{width:.875rem}.tiptap-button{background-color:var(--tt-button-default-bg-color);color:var(--tt-button-default-text-color);cursor:pointer}.tiptap-button .tiptap-button-icon{color:var(--tt-button-default-icon-color)}.tiptap-button .tiptap-button-icon-sub{color:var(--tt-button-default-icon-sub-color)}.tiptap-button .tiptap-button-dropdown-arrows,.tiptap-button .tiptap-button-dropdown-small{color:var(--tt-button-default-dropdown-arrows-color)}.tiptap-button:hover:not([data-active-item=true]):not([disabled]),.tiptap-button[data-active-item=true]:not([disabled]),.tiptap-button[data-highlighted]:not([disabled]):not([data-highlighted=false]){background-color:var(--tt-button-hover-bg-color);color:var(--tt-button-hover-text-color)}.tiptap-button:hover:not([data-active-item=true]):not([disabled]) .tiptap-button-icon,.tiptap-button[data-active-item=true]:not([disabled]) .tiptap-button-icon,.tiptap-button[data-highlighted]:not([disabled]):not([data-highlighted=false]) .tiptap-button-icon{color:var(--tt-button-hover-icon-color)}.tiptap-button:hover:not([data-active-item=true]):not([disabled]) .tiptap-button-icon-sub,.tiptap-button[data-active-item=true]:not([disabled]) .tiptap-button-icon-sub,.tiptap-button[data-highlighted]:not([disabled]):not([data-highlighted=false]) .tiptap-button-icon-sub{color:var(--tt-button-hover-icon-sub-color)}.tiptap-button:hover:not([data-active-item=true]):not([disabled]) .tiptap-button-dropdown-arrows,.tiptap-button:hover:not([data-active-item=true]):not([disabled]) .tiptap-button-dropdown-small,.tiptap-button[data-active-item=true]:not([disabled]) .tiptap-button-dropdown-arrows,.tiptap-button[data-active-item=true]:not([disabled]) .tiptap-button-dropdown-small,.tiptap-button[data-highlighted]:not([disabled]):not([data-highlighted=false]) .tiptap-button-dropdown-arrows,.tiptap-button[data-highlighted]:not([disabled]):not([data-highlighted=false]) .tiptap-button-dropdown-small{color:var(--tt-button-hover-dropdown-arrows-color)}.tiptap-button[data-active-state=on]:not([disabled]),.tiptap-button[data-state=open]:not([disabled]){background-color:var(--tt-button-active-bg-color);color:var(--tt-button-active-text-color)}.tiptap-button[data-active-state=on]:not([disabled]) .tiptap-button-icon,.tiptap-button[data-state=open]:not([disabled]) .tiptap-button-icon{color:var(--tt-button-active-icon-color)}.tiptap-button[data-active-state=on]:not([disabled]) .tiptap-button-icon-sub,.tiptap-button[data-state=open]:not([disabled]) .tiptap-button-icon-sub{color:var(--tt-button-active-icon-sub-color)}.tiptap-button[data-active-state=on]:not([disabled]) .tiptap-button-dropdown-arrows,.tiptap-button[data-active-state=on]:not([disabled]) .tiptap-button-dropdown-small,.tiptap-button[data-state=open]:not([disabled]) .tiptap-button-dropdown-arrows,.tiptap-button[data-state=open]:not([disabled]) .tiptap-button-dropdown-small{color:var(--tt-button-active-dropdown-arrows-color)}.tiptap-button[data-active-state=on]:not([disabled]):hover,.tiptap-button[data-state=open]:not([disabled]):hover{background-color:var(--tt-button-active-hover-bg-color)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=emphasized],.tiptap-button[data-state=open]:not([disabled])[data-appearance=emphasized]{background-color:var(--tt-button-active-bg-color-emphasized);color:var(--tt-button-active-text-color-emphasized)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=emphasized] .tiptap-button-icon,.tiptap-button[data-state=open]:not([disabled])[data-appearance=emphasized] .tiptap-button-icon{color:var(--tt-button-active-icon-color-emphasized)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=emphasized] .tiptap-button-icon-sub,.tiptap-button[data-state=open]:not([disabled])[data-appearance=emphasized] .tiptap-button-icon-sub{color:var(--tt-button-active-icon-sub-color-emphasized)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=emphasized] .tiptap-button-dropdown-arrows,.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=emphasized] .tiptap-button-dropdown-small,.tiptap-button[data-state=open]:not([disabled])[data-appearance=emphasized] .tiptap-button-dropdown-arrows,.tiptap-button[data-state=open]:not([disabled])[data-appearance=emphasized] .tiptap-button-dropdown-small{color:var(--tt-button-active-dropdown-arrows-color-emphasized)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=emphasized]:hover,.tiptap-button[data-state=open]:not([disabled])[data-appearance=emphasized]:hover{background-color:var(--tt-button-active-hover-bg-color-emphasized)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=subdued],.tiptap-button[data-state=open]:not([disabled])[data-appearance=subdued]{background-color:var(--tt-button-active-bg-color-subdued);color:var(--tt-button-active-text-color-subdued)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=subdued] .tiptap-button-icon,.tiptap-button[data-state=open]:not([disabled])[data-appearance=subdued] .tiptap-button-icon{color:var(--tt-button-active-icon-color-subdued)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=subdued] .tiptap-button-icon-sub,.tiptap-button[data-state=open]:not([disabled])[data-appearance=subdued] .tiptap-button-icon-sub{color:var(--tt-button-active-icon-sub-color-subdued)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=subdued] .tiptap-button-dropdown-arrows,.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=subdued] .tiptap-button-dropdown-small,.tiptap-button[data-state=open]:not([disabled])[data-appearance=subdued] .tiptap-button-dropdown-arrows,.tiptap-button[data-state=open]:not([disabled])[data-appearance=subdued] .tiptap-button-dropdown-small{color:var(--tt-button-active-dropdown-arrows-color-subdued)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=subdued]:hover,.tiptap-button[data-state=open]:not([disabled])[data-appearance=subdued]:hover{background-color:var(--tt-button-active-hover-bg-color-subdued)}.tiptap-button[data-active-state=on]:not([disabled])[data-appearance=subdued]:hover .tiptap-button-icon,.tiptap-button[data-state=open]:not([disabled])[data-appearance=subdued]:hover .tiptap-button-icon{color:var(--tt-button-active-icon-color-subdued)}.tiptap-button:disabled{background-color:var(--tt-button-disabled-bg-color);color:var(--tt-button-disabled-text-color)}.tiptap-button:disabled .tiptap-button-icon{color:var(--tt-button-disabled-icon-color)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes zoomIn{0%{transform:scale(.95)}to{transform:scale(1)}}@keyframes zoomOut{0%{transform:scale(1)}to{transform:scale(.95)}}@keyframes zoom{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes slideFromTop{0%{transform:translateY(-.5rem)}to{transform:translateY(0)}}@keyframes slideFromRight{0%{transform:translate(.5rem)}to{transform:translate(0)}}@keyframes slideFromLeft{0%{transform:translate(-.5rem)}to{transform:translate(0)}}@keyframes slideFromBottom{0%{transform:translateY(.5rem)}to{transform:translateY(0)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{overflow-wrap:break-word;text-size-adjust:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--tt-gray-light-a-50: rgba(56, 56, 56, .04);--tt-gray-light-a-100: rgba(15, 22, 36, .05);--tt-gray-light-a-200: rgba(37, 39, 45, .1);--tt-gray-light-a-300: rgba(47, 50, 55, .2);--tt-gray-light-a-400: rgba(40, 44, 51, .42);--tt-gray-light-a-500: rgba(52, 55, 60, .64);--tt-gray-light-a-600: rgba(36, 39, 46, .78);--tt-gray-light-a-700: rgba(35, 37, 42, .87);--tt-gray-light-a-800: rgba(30, 32, 36, .95);--tt-gray-light-a-900: rgba(29, 30, 32, .98);--tt-gray-light-50: rgba(250, 250, 250, 1);--tt-gray-light-100: rgba(244, 244, 245, 1);--tt-gray-light-200: rgba(234, 234, 235, 1);--tt-gray-light-300: rgba(213, 214, 215, 1);--tt-gray-light-400: rgba(166, 167, 171, 1);--tt-gray-light-500: rgba(125, 127, 130, 1);--tt-gray-light-600: rgba(83, 86, 90, 1);--tt-gray-light-700: rgba(64, 65, 69, 1);--tt-gray-light-800: rgba(44, 45, 48, 1);--tt-gray-light-900: rgba(34, 35, 37, 1);--tt-gray-dark-a-50: rgba(232, 232, 253, .05);--tt-gray-dark-a-100: rgba(231, 231, 243, .07);--tt-gray-dark-a-200: rgba(238, 238, 246, .11);--tt-gray-dark-a-300: rgba(239, 239, 245, .22);--tt-gray-dark-a-400: rgba(244, 244, 255, .37);--tt-gray-dark-a-500: rgba(236, 238, 253, .5);--tt-gray-dark-a-600: rgba(247, 247, 253, .64);--tt-gray-dark-a-700: rgba(251, 251, 254, .75);--tt-gray-dark-a-800: rgba(253, 253, 253, .88);--tt-gray-dark-a-900: rgba(255, 255, 255, .96);--tt-gray-dark-50: rgba(25, 25, 26, 1);--tt-gray-dark-100: rgba(32, 32, 34, 1);--tt-gray-dark-200: rgba(45, 45, 47, 1);--tt-gray-dark-300: rgba(70, 70, 73, 1);--tt-gray-dark-400: rgba(99, 99, 105, 1);--tt-gray-dark-500: rgba(124, 124, 131, 1);--tt-gray-dark-600: rgba(163, 163, 168, 1);--tt-gray-dark-700: rgba(192, 192, 195, 1);--tt-gray-dark-800: rgba(224, 224, 225, 1);--tt-gray-dark-900: rgba(245, 245, 245, 1);--tt-brand-color-50: rgba(239, 238, 255, 1);--tt-brand-color-100: rgba(222, 219, 255, 1);--tt-brand-color-200: rgba(195, 189, 255, 1);--tt-brand-color-300: rgba(157, 138, 255, 1);--tt-brand-color-400: rgba(122, 82, 255, 1);--tt-brand-color-500: rgba(98, 41, 255, 1);--tt-brand-color-600: rgba(84, 0, 229, 1);--tt-brand-color-700: rgba(75, 0, 204, 1);--tt-brand-color-800: rgba(56, 0, 153, 1);--tt-brand-color-900: rgba(43, 25, 102, 1);--tt-brand-color-950: hsla(257, 100%, 9%, 1);--tt-brand-color-a-50: rgba(98, 41, 255, .04);--tt-brand-color-a-100: rgba(98, 41, 255, .06);--tt-brand-color-a-200: rgba(98, 41, 255, .11);--tt-brand-color-a-300: rgba(98, 41, 255, .22);--tt-brand-color-a-400: rgba(98, 41, 255, .37);--tt-brand-color-a-500: rgba(98, 41, 255, .5);--tt-brand-color-a-600: rgba(98, 41, 255, .64);--tt-brand-color-a-700: rgba(98, 41, 255, .75);--tt-brand-color-a-800: rgba(98, 41, 255, .88);--tt-brand-color-a-900: rgba(98, 41, 255, .96);--tt-color-green-inc-5: hsla(129, 100%, 97%, 1);--tt-color-green-inc-4: hsla(129, 100%, 92%, 1);--tt-color-green-inc-3: hsla(131, 100%, 86%, 1);--tt-color-green-inc-2: hsla(133, 98%, 78%, 1);--tt-color-green-inc-1: hsla(137, 99%, 70%, 1);--tt-color-green-base: hsla(147, 99%, 50%, 1);--tt-color-green-dec-1: hsla(147, 97%, 41%, 1);--tt-color-green-dec-2: hsla(146, 98%, 32%, 1);--tt-color-green-dec-3: hsla(146, 100%, 24%, 1);--tt-color-green-dec-4: hsla(144, 100%, 16%, 1);--tt-color-green-dec-5: hsla(140, 100%, 9%, 1);--tt-color-yellow-inc-5: hsla(50, 100%, 97%, 1);--tt-color-yellow-inc-4: hsla(50, 100%, 91%, 1);--tt-color-yellow-inc-3: hsla(50, 100%, 84%, 1);--tt-color-yellow-inc-2: hsla(50, 100%, 77%, 1);--tt-color-yellow-inc-1: hsla(50, 100%, 68%, 1);--tt-color-yellow-base: hsla(52, 100%, 50%, 1);--tt-color-yellow-dec-1: hsla(52, 100%, 41%, 1);--tt-color-yellow-dec-2: hsla(52, 100%, 32%, 1);--tt-color-yellow-dec-3: hsla(52, 100%, 24%, 1);--tt-color-yellow-dec-4: hsla(51, 100%, 16%, 1);--tt-color-yellow-dec-5: hsla(50, 100%, 9%, 1);--tt-color-red-inc-5: hsla(11, 100%, 96%, 1);--tt-color-red-inc-4: hsla(11, 100%, 88%, 1);--tt-color-red-inc-3: hsla(10, 100%, 80%, 1);--tt-color-red-inc-2: hsla(9, 100%, 73%, 1);--tt-color-red-inc-1: hsla(7, 100%, 64%, 1);--tt-color-red-base: hsla(7, 100%, 54%, 1);--tt-color-red-dec-1: hsla(7, 100%, 41%, 1);--tt-color-red-dec-2: hsla(5, 100%, 32%, 1);--tt-color-red-dec-3: hsla(4, 100%, 24%, 1);--tt-color-red-dec-4: hsla(3, 100%, 16%, 1);--tt-color-red-dec-5: hsla(1, 100%, 9%, 1);--white: rgba(255, 255, 255, 1);--black: rgba(14, 14, 17, 1);--transparent: rgba(255, 255, 255, 0);--tt-shadow-elevated-md: 0px 16px 48px 0px rgba(17, 24, 39, .04), 0px 12px 24px 0px rgba(17, 24, 39, .04), 0px 6px 8px 0px rgba(17, 24, 39, .02), 0px 2px 3px 0px rgba(17, 24, 39, .02);--tt-radius-xxs: .125rem;--tt-radius-xs: .25rem;--tt-radius-sm: .375rem;--tt-radius-md: .5rem;--tt-radius-lg: .75rem;--tt-radius-xl: 1rem;--tt-transition-duration-short: .1s;--tt-transition-duration-default: .2s;--tt-transition-duration-long: .64s;--tt-transition-easing-default: cubic-bezier(.46, .03, .52, .96);--tt-transition-easing-cubic: cubic-bezier(.65, .05, .36, 1);--tt-transition-easing-quart: cubic-bezier(.77, 0, .18, 1);--tt-transition-easing-circ: cubic-bezier(.79, .14, .15, .86);--tt-transition-easing-back: cubic-bezier(.68, -.55, .27, 1.55);--tt-accent-contrast: 8%;--tt-destructive-contrast: 8%;--tt-foreground-contrast: 8%}:root,:root *,:root :before,:root :after{box-sizing:border-box;transition:none var(--tt-transition-duration-default) var(--tt-transition-easing-default)}:root{--tt-bg-color: var(--white);--tt-border-color: var(--tt-gray-light-a-200);--tt-border-color-tint: var(--tt-gray-light-a-100);--tt-sidebar-bg-color: var(--tt-gray-light-100);--tt-scrollbar-color: var(--tt-gray-light-a-200);--tt-cursor-color: var(--tt-brand-color-500);--tt-selection-color: rgba(157, 138, 255, .2);--tt-card-bg-color: var(--white);--tt-card-border-color: var(--tt-gray-light-a-100);--tt-table-border-color: var(--tt-gray-light-900);--tt-table-header-bg-color: var(--tt-gray-light-200);--tt-table-header-text-color: var(--black);--tt-table-header-border-color: var(--tt-gray-light-900)}.dark{--tt-bg-color: var(--black);--tt-border-color: var(--tt-gray-dark-a-200);--tt-border-color-tint: var(--tt-gray-dark-a-100);--tt-sidebar-bg-color: var(--tt-gray-dark-100);--tt-scrollbar-color: var(--tt-gray-dark-a-200);--tt-cursor-color: var(--tt-brand-color-400);--tt-selection-color: rgba(122, 82, 255, .2);--tt-card-bg-color: var(--tt-gray-dark-50);--tt-card-border-color: var(--tt-gray-dark-a-50);--tt-shadow-elevated-md: 0px 16px 48px 0px rgba(0, 0, 0, .5), 0px 12px 24px 0px rgba(0, 0, 0, .24), 0px 6px 8px 0px rgba(0, 0, 0, .22), 0px 2px 3px 0px rgba(0, 0, 0, .12);--tt-table-border-color: var(--white);--tt-table-header-bg-color: var(--tt-gray-dark-700);--tt-table-header-text-color: var(--black);--tt-table-header-border-color: var(--white)}:root{--tt-color-text-gray: hsl(45, 2%, 46%);--tt-color-text-brown: hsl(19, 31%, 47%);--tt-color-text-orange: hsl(30, 89%, 45%);--tt-color-text-yellow: hsl(38, 62%, 49%);--tt-color-text-green: hsl(148, 32%, 39%);--tt-color-text-blue: hsl(202, 54%, 43%);--tt-color-text-purple: hsl(274, 32%, 54%);--tt-color-text-pink: hsl(328, 49%, 53%);--tt-color-text-red: hsl(2, 62%, 55%);--tt-color-text-gray-contrast: hsla(39, 26%, 26%, .15);--tt-color-text-brown-contrast: hsla(18, 43%, 69%, .35);--tt-color-text-orange-contrast: hsla(24, 73%, 55%, .27);--tt-color-text-yellow-contrast: hsla(44, 82%, 59%, .39);--tt-color-text-green-contrast: hsla(126, 29%, 60%, .27);--tt-color-text-blue-contrast: hsla(202, 54%, 59%, .27);--tt-color-text-purple-contrast: hsla(274, 37%, 64%, .27);--tt-color-text-pink-contrast: hsla(331, 60%, 71%, .27);--tt-color-text-red-contrast: hsla(8, 79%, 79%, .4)}.dark{--tt-color-text-gray: hsl(0, 0%, 61%);--tt-color-text-brown: hsl(18, 35%, 58%);--tt-color-text-orange: hsl(25, 53%, 53%);--tt-color-text-yellow: hsl(36, 54%, 55%);--tt-color-text-green: hsl(145, 32%, 47%);--tt-color-text-blue: hsl(202, 64%, 52%);--tt-color-text-purple: hsl(270, 55%, 62%);--tt-color-text-pink: hsl(329, 57%, 58%);--tt-color-text-red: hsl(1, 69%, 60%);--tt-color-text-gray-contrast: hsla(0, 0%, 100%, .09);--tt-color-text-brown-contrast: hsla(17, 45%, 50%, .25);--tt-color-text-orange-contrast: hsla(27, 82%, 53%, .2);--tt-color-text-yellow-contrast: hsla(35, 49%, 47%, .2);--tt-color-text-green-contrast: hsla(151, 55%, 39%, .2);--tt-color-text-blue-contrast: hsla(202, 54%, 43%, .2);--tt-color-text-purple-contrast: hsla(271, 56%, 60%, .18);--tt-color-text-pink-contrast: hsla(331, 67%, 58%, .22);--tt-color-text-red-contrast: hsla(0, 67%, 60%, .25)}:root{--tt-color-highlight-yellow: #fef9c3;--tt-color-highlight-green: #dcfce7;--tt-color-highlight-blue: #e0f2fe;--tt-color-highlight-purple: #f3e8ff;--tt-color-highlight-red: #ffe4e6;--tt-color-highlight-gray: rgb(248, 248, 247);--tt-color-highlight-brown: rgb(244, 238, 238);--tt-color-highlight-orange: rgb(251, 236, 221);--tt-color-highlight-pink: rgb(252, 241, 246);--tt-color-highlight-yellow-contrast: #fbe604;--tt-color-highlight-green-contrast: #c7fad8;--tt-color-highlight-blue-contrast: #ceeafd;--tt-color-highlight-purple-contrast: #e4ccff;--tt-color-highlight-red-contrast: #ffccd0;--tt-color-highlight-gray-contrast: rgba(84, 72, 49, .15);--tt-color-highlight-brown-contrast: rgba(210, 162, 141, .35);--tt-color-highlight-orange-contrast: rgba(224, 124, 57, .27);--tt-color-highlight-pink-contrast: rgba(225, 136, 179, .27)}.dark{--tt-color-highlight-yellow: #6b6524;--tt-color-highlight-green: #509568;--tt-color-highlight-blue: #6e92aa;--tt-color-highlight-purple: #583e74;--tt-color-highlight-red: #743e42;--tt-color-highlight-gray: rgb(47, 47, 47);--tt-color-highlight-brown: rgb(74, 50, 40);--tt-color-highlight-orange: rgb(92, 59, 35);--tt-color-highlight-pink: rgb(78, 44, 60);--tt-color-highlight-yellow-contrast: #58531e;--tt-color-highlight-green-contrast: #47855d;--tt-color-highlight-blue-contrast: #5e86a1;--tt-color-highlight-purple-contrast: #4c3564;--tt-color-highlight-red-contrast: #643539;--tt-color-highlight-gray-contrast: rgba(255, 255, 255, .094);--tt-color-highlight-brown-contrast: rgba(184, 101, 69, .25);--tt-color-highlight-orange-contrast: rgba(233, 126, 37, .2);--tt-color-highlight-pink-contrast: rgba(220, 76, 145, .22)}
|