@caspeco/casper-ui-library 12.0.0 → 12.1.1
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/README.md +5 -5
- package/dist/_virtual/builtin_esm-external-require-react.js +1 -1
- package/dist/components/accordion/accordion-item.js +1 -1
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/alert/alert.js +4 -4
- package/dist/components/alert/helper.d.ts +3 -3
- package/dist/components/alert/helper.d.ts.map +1 -1
- package/dist/components/alert/helper.js +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/badge/helper.d.ts +3 -3
- package/dist/components/badge/helper.d.ts.map +1 -1
- package/dist/components/badge/helper.js +1 -1
- package/dist/components/box/box.composition.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.js +4 -4
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/collapsible/collapsible.js +1 -1
- package/dist/components/combobox/combobox-button.js +1 -1
- package/dist/components/combobox/combobox-item.js +1 -1
- package/dist/components/combobox/combobox-menu.js +1 -1
- package/dist/components/combobox/combobox-recipe.js +1 -1
- package/dist/components/combobox/combobox.d.ts.map +1 -1
- package/dist/components/combobox/combobox.js +88 -93
- package/dist/components/date-picker/base-date-picker.d.ts.map +1 -1
- package/dist/components/date-picker/base-date-picker.js +3 -3
- package/dist/components/date-picker/date-picker-date-cell.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker-date-cell.js +1 -1
- package/dist/components/date-picker/date-picker-header.js +3 -3
- package/dist/components/date-picker/date-picker-week-cell.js +1 -1
- package/dist/components/divider/divider.d.ts.map +1 -1
- package/dist/components/divider/divider.js +1 -1
- package/dist/components/drawer/inline-drawer.js +1 -1
- package/dist/components/form-control/form-label.d.ts.map +1 -1
- package/dist/components/form-control/form-label.js +1 -1
- package/dist/components/heading/heading.d.ts.map +1 -1
- package/dist/components/heading/heading.js +2 -2
- package/dist/components/highlight/highlight.js +1 -1
- package/dist/components/icon/create-icon.d.ts +2 -2
- package/dist/components/icon/create-icon.d.ts.map +1 -1
- package/dist/components/icon/create-icon.js +1 -1
- package/dist/components/icon/icon.composition.d.ts.map +1 -1
- package/dist/components/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/icon-button/icon-button.js +1 -1
- package/dist/components/image-upload/image-cropper.js +1 -1
- package/dist/components/image-upload/image-upload-dropzone.js +3 -7
- package/dist/components/image-upload/image-upload-modal.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload-modal.js +3 -3
- package/dist/components/image-upload/image-upload.js +1 -1
- package/dist/components/input/helper.js +1 -1
- package/dist/components/input/input-recipe.js +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/list/list.d.ts.map +1 -1
- package/dist/components/list/list.js +1 -1
- package/dist/components/menu/menu-divider.js +1 -1
- package/dist/components/menu/menu-group.d.ts.map +1 -1
- package/dist/components/menu/menu-group.js +1 -2
- package/dist/components/menu/menu-item.d.ts.map +1 -1
- package/dist/components/menu/menu-item.js +1 -1
- package/dist/components/menu/menu-recipe.d.ts.map +1 -1
- package/dist/components/menu/menu-recipe.js +1 -1
- package/dist/components/message/message.js +1 -1
- package/dist/components/modal/modal-close-button.js +1 -1
- package/dist/components/modal/modal.composition.d.ts.map +1 -1
- package/dist/components/navigation-list/navigation-list-item.js +3 -3
- package/dist/components/paginator/paginator-recipe.d.ts.map +1 -1
- package/dist/components/paginator/paginator-recipe.js +3 -3
- package/dist/components/phone-input/country-selector.d.ts.map +1 -1
- package/dist/components/phone-input/country-selector.js +1 -1
- package/dist/components/quantity-button/quantity-button.composition.d.ts.map +1 -1
- package/dist/components/quantity-button/quantity-button.d.ts.map +1 -1
- package/dist/components/quantity-button/quantity-button.js +1 -1
- package/dist/components/radio/hover-styles.js +1 -1
- package/dist/components/radio/radio-group-recipe.js +1 -1
- package/dist/components/radio/radio.d.ts.map +1 -1
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio-card/hover-styles.js +1 -1
- package/dist/components/radio-card/radio-card-group.d.ts.map +1 -1
- package/dist/components/radio-card/radio-card-group.js +1 -1
- package/dist/components/radio-card/radio-card.js +3 -3
- package/dist/components/rich-text-editor/rich-text-editor-control.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor-control.js +3 -7
- package/dist/components/rich-text-editor/rich-text-editor-recipe.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor-recipe.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.js +1 -1
- package/dist/components/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/segmented-control/segmented-control.js +1 -1
- package/dist/components/select/select-recipe.js +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/components/skeleton/skeleton-text.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton-text.js +1 -1
- package/dist/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton.js +1 -1
- package/dist/components/spinner/spinner.d.ts.map +1 -1
- package/dist/components/spinner/spinner.js +1 -1
- package/dist/components/stepper/step-context.d.ts +4 -4
- package/dist/components/stepper/step-context.d.ts.map +1 -1
- package/dist/components/stepper/step.d.ts.map +1 -1
- package/dist/components/stepper/step.js +3 -3
- package/dist/components/stepper/stepper.js +1 -1
- package/dist/components/stepper/types.d.ts +4 -4
- package/dist/components/stepper/types.d.ts.map +1 -1
- package/dist/components/switch/hover-styles.js +1 -1
- package/dist/components/table/table-cell.js +1 -1
- package/dist/components/table/table-column-resize-handle.js +1 -1
- package/dist/components/table/table-content.d.ts.map +1 -1
- package/dist/components/table/table-content.js +1 -1
- package/dist/components/table/table-filter.js +1 -1
- package/dist/components/table/table-header-dropdown.d.ts.map +1 -1
- package/dist/components/table/table-header-dropdown.js +1 -1
- package/dist/components/table/table-header-row.js +3 -3
- package/dist/components/table/table-recipe.js +1 -1
- package/dist/components/table/table-row-drag-handle.js +1 -1
- package/dist/components/table/table-row-expand-toggle-button.js +1 -1
- package/dist/components/table/table-sorted-reorder-prompt.js +3 -3
- package/dist/components/table/table-toolbar-settings.d.ts.map +1 -1
- package/dist/components/table/table-toolbar-settings.js +1 -1
- package/dist/components/table/table-toolbar.d.ts.map +1 -1
- package/dist/components/table/table-toolbar.js +3 -3
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/components/table/table.js +1 -1
- package/dist/components/tabs/tab-with-image.js +1 -1
- package/dist/components/tabs/tabs-recipe.js +1 -1
- package/dist/components/tabs/types.d.ts +2 -2
- package/dist/components/tabs/types.d.ts.map +1 -1
- package/dist/components/tag/tag-recipe.js +5 -5
- package/dist/components/text/text.d.ts.map +1 -1
- package/dist/components/text/text.js +2 -2
- package/dist/components/textarea/textarea-recipe.js +1 -1
- package/dist/components/toaster/toast-store.d.ts +2 -2
- package/dist/components/toaster/toast-store.d.ts.map +1 -1
- package/dist/components/toaster/toaster.js +1 -1
- package/dist/components/toggle-button/use-button-children.js +1 -1
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/index.js +402 -402
- package/dist/node_modules/@dnd-kit/abstract/index.js +1 -1
- package/dist/node_modules/@dnd-kit/dom/index.js +11 -16
- package/dist/node_modules/@dnd-kit/dom/sortable.js +4 -4
- package/dist/node_modules/@dnd-kit/dom/utilities.js +2 -6
- package/dist/node_modules/@dnd-kit/react/hooks.js +2 -5
- package/dist/node_modules/@dnd-kit/react/sortable.js +4 -4
- package/dist/node_modules/@tanstack/table-core/build/lib/index.js +16 -30
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +9 -18
- package/dist/node_modules/@tiptap/core/dist/index.js +838 -790
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +14 -3
- package/dist/node_modules/@tiptap/extension-link/dist/index.js +114 -97
- package/dist/node_modules/@tiptap/extension-list/dist/index.js +133 -120
- package/dist/node_modules/@tiptap/extensions/dist/index.js +33 -33
- package/dist/node_modules/country-flag-icons/modules/react/3x2/index.js +1 -2
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +1 -1
- package/dist/node_modules/date-fns/getISOWeek.js +1 -1
- package/dist/node_modules/date-fns/getWeek.js +1 -1
- package/dist/node_modules/libphonenumber-js/es6-modern/metadata.js +1 -1
- package/dist/node_modules/prosemirror-commands/dist/index.js +1 -1
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js +2 -6
- package/dist/node_modules/prosemirror-history/dist/index.js +27 -22
- package/dist/node_modules/prosemirror-model/dist/index.js +32 -35
- package/dist/node_modules/prosemirror-view/dist/index.js +10 -11
- package/dist/packages/casper-ui-library/node_modules/@tiptap/react/dist/index.js +74 -57
- package/dist/theme/theme-casper-ui.d.ts.map +1 -1
- package/dist/theme/theme-casper-ui.js +1 -1
- package/dist/theme/theme-style-props.d.ts +25 -25
- package/dist/theme/theme-style-props.d.ts.map +1 -1
- package/dist/theme/theme-types.d.ts +46 -10
- package/dist/theme/theme-types.d.ts.map +1 -1
- package/dist/theme/theme-types.js +2 -2
- package/dist/theme/theme-types.spec.d.ts +2 -0
- package/dist/theme/theme-types.spec.d.ts.map +1 -0
- package/dist/theme/theme.d.ts.map +1 -1
- package/dist/theme/theme.js +1 -1
- package/package.json +13 -13
|
@@ -1,23 +1,41 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
2
|
+
import { Plugin as e, PluginKey as t } from "../../../../../../node_modules/prosemirror-state/dist/index.js";
|
|
3
|
+
import { require_shim as n } from "../../../../../../node_modules/use-sync-external-store/shim/index.js";
|
|
4
|
+
import { CommandManager as r, DECORATION_MANAGER_PLUGIN_KEY as i, DecorationManager as a, Editor as o, Extendable as s, Extension as ee, InputRule as te, MappablePosition as ne, Mark as re, Node as ie, NodePos as ae, PasteRule as oe, callOrReturn as se, canInsertNode as ce, combineTransactionSteps as le, commands as ue, createChainableState as de, createDocument as fe, createMappablePosition as pe, createNodeFromContent as me, createStyleTag as he, defaultBlockAt as ge, deleteProps as _e, elementFromString as ve, findChildrenInRange as ye, findDuplicates as be, findParentNode as xe, findParentNodeClosestToPos as Se, flattenExtensions as Ce, fromString as we, generateHTML as Te, generateJSON as Ee, getAttributes as De, getAttributesFromExtensions as c, getChangedRanges as l, getExtensionField as u, getHTMLFromFragment as d, getMarkAttributes as f, getMarkRange as p, getMarkType as m, getMarksBetween as h, getNodeAtPosition as g, getNodeAttributes as _, getNodeType as v, getPreviousBlockSibling as y, getRenderedAttributes as b, getSchema as x, getSchemaByResolvedExtensions as S, getSchemaTypeByName as C, getSchemaTypeNameByName as w, getSplittedAttributes as T, getText as E, getTextBetween as Oe, getTextContentFromNodes as ke, getTextSerializersFromSchema as Ae, getUpdatedPosition as je, injectExtensionAttributesToParseRule as Me, inputRulesPlugin as Ne, isActive as Pe, isAndroid as D, isAtEndOfNode as Fe, isAtStartOfNode as Ie, isEmptyObject as Le, isExtensionRulesEnabled as Re, isFunction as ze, isList as Be, isMacOS as Ve, isMarkActive as He, isNodeActive as Ue, isNodeEmpty as We, isNodeSelection as Ge, isNumber as Ke, isPlainObject as qe, isRegExp as O, isSafari as Je, isTextSelection as Ye, isiOS as k, markInputRule as Xe, markPasteRule as Ze, mergeAttributes as Qe, mergeDeep as $e, minMax as et, nodeInputRule as tt, objectIncludes as nt, parseIndentedBlocks as rt, pasteRulesPlugin as it, removeDuplicates as at, renderNestedMarkdownContent as ot, resolveExtensions as st, resolveFocusPosition as ct, selectionToInsertionEnd as lt, sortExtensions as ut, splitExtensions as dt, textblockTypeInputRule as ft, updateMarkViewAttributes as pt, wrappingInputRule as mt } from "../../../../../../node_modules/@tiptap/core/dist/index.js";
|
|
5
|
+
import { deepEqual as ht } from "../../../../../../node_modules/fast-equals/dist/es/index.js";
|
|
6
|
+
import { require_with_selector as gt } from "../../../../../../node_modules/use-sync-external-store/shim/with-selector.js";
|
|
7
|
+
import A, { createContext as j, forwardRef as _t, useContext as M, useDebugValue as N, useEffect as P, useLayoutEffect as vt, useMemo as F, useRef as yt, useState as I } from "react";
|
|
8
|
+
import { Fragment as L, jsx as R, jsxs as bt } from "react/jsx-runtime";
|
|
9
|
+
import xt from "react-dom";
|
|
9
10
|
//#region node_modules/@tiptap/react/dist/index.js
|
|
10
|
-
var
|
|
11
|
+
var z = n(), St = gt();
|
|
12
|
+
function Ct(e, t) {
|
|
13
|
+
if (e.isDestroyed || t.defaultPrevented || !t.cancelable || !e.isEditable || t.inputType !== "insertParagraph" && t.inputType !== "insertLineBreak" || !k() && !D()) return;
|
|
14
|
+
let n = e.view, r = n.root, i = (r.getSelection?.call(r) ?? n.dom.ownerDocument.getSelection())?.anchorNode, a = (i?.nodeType === 1 ? i : i?.parentElement)?.closest("[data-node-view-content-react]");
|
|
15
|
+
if (!a || !n.dom.contains(a)) return;
|
|
16
|
+
let o = n.input.lastKeyCode;
|
|
17
|
+
o === 13 && (n.input.lastKeyCode = null), n.domObserver.forceFlush(), n.domObserver.flush();
|
|
18
|
+
let s = new KeyboardEvent("keydown", {
|
|
19
|
+
key: "Enter",
|
|
20
|
+
code: "Enter",
|
|
21
|
+
keyCode: 13,
|
|
22
|
+
shiftKey: t.inputType === "insertLineBreak",
|
|
23
|
+
bubbles: !0,
|
|
24
|
+
cancelable: !0
|
|
25
|
+
});
|
|
26
|
+
n.someProp("handleKeyDown", (e) => e(n, s)) ? (t.preventDefault(), n.input.lastIOSEnter = 0, clearTimeout(n.input.lastIOSEnterFallbackTimeout)) : o === 13 && (n.input.lastKeyCode = o);
|
|
27
|
+
}
|
|
28
|
+
var B = new t("reactMobileEnter"), wt = (...e) => (t) => {
|
|
11
29
|
e.forEach((e) => {
|
|
12
30
|
typeof e == "function" ? e(t) : e && (e.current = t);
|
|
13
31
|
});
|
|
14
|
-
},
|
|
15
|
-
let t = (0,
|
|
16
|
-
return /* @__PURE__ */
|
|
32
|
+
}, Tt = ({ contentComponent: e }) => {
|
|
33
|
+
let t = (0, z.useSyncExternalStore)(e.subscribe, e.getSnapshot, e.getServerSnapshot);
|
|
34
|
+
return /* @__PURE__ */ R(L, { children: Object.values(t) });
|
|
17
35
|
};
|
|
18
36
|
function V() {
|
|
19
37
|
let e = /* @__PURE__ */ new Set(), t = {}, n = !1, r = () => {
|
|
20
|
-
n
|
|
38
|
+
!n && e.size && (n = !0, queueMicrotask(() => {
|
|
21
39
|
n = !1, e.forEach((e) => e());
|
|
22
40
|
}));
|
|
23
41
|
};
|
|
@@ -36,7 +54,7 @@ function V() {
|
|
|
36
54
|
setRenderer(e, n) {
|
|
37
55
|
t = {
|
|
38
56
|
...t,
|
|
39
|
-
[e]:
|
|
57
|
+
[e]: xt.createPortal(n.reactElement, n.element, e)
|
|
40
58
|
}, r();
|
|
41
59
|
},
|
|
42
60
|
removeRenderer(e) {
|
|
@@ -45,9 +63,9 @@ function V() {
|
|
|
45
63
|
}
|
|
46
64
|
};
|
|
47
65
|
}
|
|
48
|
-
var H = class extends
|
|
66
|
+
var H = class extends A.Component {
|
|
49
67
|
constructor(e) {
|
|
50
|
-
super(e), this.editorContentRef =
|
|
68
|
+
super(e), this.editorContentRef = A.createRef();
|
|
51
69
|
}
|
|
52
70
|
componentDidMount() {
|
|
53
71
|
this.init();
|
|
@@ -56,17 +74,20 @@ var H = class extends j.Component {
|
|
|
56
74
|
this.init();
|
|
57
75
|
}
|
|
58
76
|
init() {
|
|
59
|
-
let
|
|
60
|
-
if (
|
|
61
|
-
if (
|
|
62
|
-
let
|
|
63
|
-
|
|
77
|
+
let t = this.props.editor;
|
|
78
|
+
if (t && !t.isDestroyed && t.view.dom?.parentNode) {
|
|
79
|
+
if (t.contentComponent) return;
|
|
80
|
+
let n = this.editorContentRef.current;
|
|
81
|
+
n.append(...t.view.dom.parentNode.childNodes), t.setOptions({ element: n }), t.contentComponent = V(), t.createNodeViews(), t.registerPlugin(new e({
|
|
82
|
+
key: B,
|
|
83
|
+
props: { handleDOMEvents: { beforeinput: (e, n) => Ct(t, n) } }
|
|
84
|
+
})), t.isEditorContentInitialized = !0, this.forceUpdate();
|
|
64
85
|
}
|
|
65
86
|
}
|
|
66
87
|
componentWillUnmount() {
|
|
67
88
|
let e = this.props.editor;
|
|
68
89
|
if (e) {
|
|
69
|
-
e.isEditorContentInitialized = !1, e.isDestroyed || e.view.setProps({ nodeViews: {} }), e.contentComponent = null;
|
|
90
|
+
e.isEditorContentInitialized = !1, e.isDestroyed || (e.unregisterPlugin(B), e.view.setProps({ nodeViews: {} })), e.contentComponent = null;
|
|
70
91
|
try {
|
|
71
92
|
if (!e.view.dom?.parentNode) return;
|
|
72
93
|
let t = document.createElement("div");
|
|
@@ -76,19 +97,19 @@ var H = class extends j.Component {
|
|
|
76
97
|
}
|
|
77
98
|
render() {
|
|
78
99
|
let { editor: e, innerRef: t, ...n } = this.props;
|
|
79
|
-
return /* @__PURE__ */
|
|
80
|
-
ref:
|
|
100
|
+
return /* @__PURE__ */ bt(L, { children: [/* @__PURE__ */ R("div", {
|
|
101
|
+
ref: wt(t, this.editorContentRef),
|
|
81
102
|
...n
|
|
82
|
-
}), e?.contentComponent && /* @__PURE__ */
|
|
103
|
+
}), e?.contentComponent && /* @__PURE__ */ R(Tt, { contentComponent: e.contentComponent })] });
|
|
83
104
|
}
|
|
84
|
-
},
|
|
85
|
-
let n =
|
|
86
|
-
return
|
|
105
|
+
}, Et = _t((e, t) => {
|
|
106
|
+
let n = A.useMemo(() => Math.floor(Math.random() * 4294967295).toString(), [e.editor]);
|
|
107
|
+
return A.createElement(H, {
|
|
87
108
|
key: n,
|
|
88
109
|
innerRef: t,
|
|
89
110
|
...e
|
|
90
111
|
});
|
|
91
|
-
}), U =
|
|
112
|
+
}), U = A.memo(Et), Dt = typeof window < "u" ? vt : P, Ot = class {
|
|
92
113
|
constructor(e) {
|
|
93
114
|
this.transactionNumber = 0, this.lastTransactionNumber = 0, this.subscribers = /* @__PURE__ */ new Set(), this.editor = e, this.lastSnapshot = {
|
|
94
115
|
editor: e,
|
|
@@ -96,10 +117,10 @@ var H = class extends j.Component {
|
|
|
96
117
|
}, this.getSnapshot = this.getSnapshot.bind(this), this.getServerSnapshot = this.getServerSnapshot.bind(this), this.watch = this.watch.bind(this), this.subscribe = this.subscribe.bind(this);
|
|
97
118
|
}
|
|
98
119
|
getSnapshot() {
|
|
99
|
-
return this.transactionNumber === this.lastTransactionNumber
|
|
120
|
+
return this.transactionNumber === this.lastTransactionNumber || (this.lastTransactionNumber = this.transactionNumber, this.lastSnapshot = {
|
|
100
121
|
editor: this.editor,
|
|
101
122
|
transactionNumber: this.transactionNumber
|
|
102
|
-
}, this.lastSnapshot
|
|
123
|
+
}), this.lastSnapshot;
|
|
103
124
|
}
|
|
104
125
|
getServerSnapshot() {
|
|
105
126
|
return {
|
|
@@ -124,10 +145,10 @@ var H = class extends j.Component {
|
|
|
124
145
|
}
|
|
125
146
|
};
|
|
126
147
|
function W(e) {
|
|
127
|
-
let [t] =
|
|
128
|
-
return
|
|
148
|
+
let [t] = I(() => new Ot(e.editor)), n = (0, St.useSyncExternalStoreWithSelector)(t.subscribe, t.getSnapshot, t.getServerSnapshot, e.selector, e.equalityFn ?? ht);
|
|
149
|
+
return Dt(() => t.watch(e.editor), [e.editor, t]), N(n), n;
|
|
129
150
|
}
|
|
130
|
-
var G = process.env.NODE_ENV !== "production", K = typeof window > "u",
|
|
151
|
+
var G = process.env.NODE_ENV !== "production", K = typeof window > "u", kt = K || !!(typeof window < "u" && window.next), At = class e {
|
|
131
152
|
constructor(e) {
|
|
132
153
|
this.editor = null, this.subscriptions = /* @__PURE__ */ new Set(), this.isComponentMounted = !1, this.previousDeps = null, this.instanceId = "", this.options = e, this.subscriptions = /* @__PURE__ */ new Set(), this.setEditor(this.getInitialEditor()), this.scheduleDestroy(), this.getEditor = this.getEditor.bind(this), this.getServerSnapshot = this.getServerSnapshot.bind(this), this.subscribe = this.subscribe.bind(this), this.refreshEditorInstance = this.refreshEditorInstance.bind(this), this.scheduleDestroy = this.scheduleDestroy.bind(this), this.onRender = this.onRender.bind(this), this.createEditor = this.createEditor.bind(this);
|
|
133
154
|
}
|
|
@@ -136,7 +157,7 @@ var G = process.env.NODE_ENV !== "production", K = typeof window > "u", Tt = K |
|
|
|
136
157
|
}
|
|
137
158
|
getInitialEditor() {
|
|
138
159
|
let e = this.options.current.immediatelyRender, t = e ?? !0;
|
|
139
|
-
return K ? (t && G && console.warn("SSR detected. `immediatelyRender` has been set to false to avoid hydration mismatches"), t = !1) :
|
|
160
|
+
return K ? (t && G && console.warn("SSR detected. `immediatelyRender` has been set to false to avoid hydration mismatches"), t = !1) : kt && e === void 0 && (t = !1, G && console.warn("Next.js detected. `immediatelyRender` defaults to false to avoid hydration mismatches. Pass `immediatelyRender: true` explicitly if you are rendering the editor only on the client.")), t ? this.createEditor() : null;
|
|
140
161
|
}
|
|
141
162
|
createEditor() {
|
|
142
163
|
let e = {
|
|
@@ -198,7 +219,7 @@ var G = process.env.NODE_ENV !== "production", K = typeof window > "u", Tt = K |
|
|
|
198
219
|
return (t = this.options.current).onUnmount?.call(t, ...e);
|
|
199
220
|
}
|
|
200
221
|
};
|
|
201
|
-
return new
|
|
222
|
+
return new o(e);
|
|
202
223
|
}
|
|
203
224
|
getEditor() {
|
|
204
225
|
return this.editor;
|
|
@@ -247,33 +268,29 @@ var G = process.env.NODE_ENV !== "production", K = typeof window > "u", Tt = K |
|
|
|
247
268
|
scheduleDestroy() {
|
|
248
269
|
let e = this.instanceId, t = this.editor;
|
|
249
270
|
this.scheduledDestructionTimeout = setTimeout(() => {
|
|
250
|
-
|
|
251
|
-
t && t.setOptions(this.options.current);
|
|
252
|
-
return;
|
|
253
|
-
}
|
|
254
|
-
t && !t.isDestroyed && (t.destroy(), this.instanceId === e && this.setEditor(null));
|
|
271
|
+
this.isComponentMounted && this.instanceId === e ? t && t.setOptions(this.options.current) : t && !t.isDestroyed && (t.destroy(), this.instanceId === e && this.setEditor(null));
|
|
255
272
|
}, 1);
|
|
256
273
|
}
|
|
257
274
|
};
|
|
258
|
-
function
|
|
259
|
-
let n =
|
|
275
|
+
function jt(e = {}, t = []) {
|
|
276
|
+
let n = yt(e);
|
|
260
277
|
n.current = e;
|
|
261
|
-
let [r] =
|
|
262
|
-
return
|
|
278
|
+
let [r] = I(() => new At(n)), i = (0, z.useSyncExternalStore)(r.subscribe, r.getEditor, r.getServerSnapshot);
|
|
279
|
+
return N(i), P(r.onRender(t)), W({
|
|
263
280
|
editor: i,
|
|
264
281
|
selector: ({ transactionNumber: t }) => e.shouldRerenderOnTransaction === !1 || e.shouldRerenderOnTransaction === void 0 ? null : e.immediatelyRender && t === 0 ? 0 : t + 1
|
|
265
282
|
}), i;
|
|
266
283
|
}
|
|
267
|
-
var q =
|
|
284
|
+
var q = j({ editor: null });
|
|
268
285
|
q.Consumer;
|
|
269
|
-
var J =
|
|
286
|
+
var J = j({
|
|
270
287
|
onDragStart: () => {},
|
|
271
288
|
nodeViewContentChildren: void 0,
|
|
272
289
|
nodeViewContentRef: () => {}
|
|
273
|
-
}), Y = () =>
|
|
274
|
-
|
|
290
|
+
}), Y = () => M(J);
|
|
291
|
+
A.forwardRef((e, t) => {
|
|
275
292
|
let { onDragStart: n } = Y(), r = e.as || "div";
|
|
276
|
-
return /* @__PURE__ */
|
|
293
|
+
return /* @__PURE__ */ R(r, {
|
|
277
294
|
...e,
|
|
278
295
|
ref: t,
|
|
279
296
|
"data-node-view-wrapper": "",
|
|
@@ -283,19 +300,19 @@ j.forwardRef((e, t) => {
|
|
|
283
300
|
...e.style
|
|
284
301
|
}
|
|
285
302
|
});
|
|
286
|
-
}),
|
|
287
|
-
var X =
|
|
303
|
+
}), A.createContext({ markViewContentRef: () => {} });
|
|
304
|
+
var X = j({ get editor() {
|
|
288
305
|
throw Error("useTiptap must be used within a <Tiptap> provider");
|
|
289
306
|
} });
|
|
290
307
|
X.displayName = "TiptapContext";
|
|
291
|
-
var Z = () =>
|
|
308
|
+
var Z = () => M(X);
|
|
292
309
|
function Q({ children: e, ...t }) {
|
|
293
310
|
let n = "editor" in t ? t.editor : t.instance;
|
|
294
311
|
if (!n) throw Error("Tiptap: An editor instance is required. Pass a non-null `editor` prop.");
|
|
295
|
-
let r =
|
|
296
|
-
return /* @__PURE__ */
|
|
312
|
+
let r = F(() => ({ editor: n }), [n]), i = F(() => ({ editor: n }), [n]);
|
|
313
|
+
return /* @__PURE__ */ R(q.Provider, {
|
|
297
314
|
value: i,
|
|
298
|
-
children: /* @__PURE__ */
|
|
315
|
+
children: /* @__PURE__ */ R(X.Provider, {
|
|
299
316
|
value: r,
|
|
300
317
|
children: e
|
|
301
318
|
})
|
|
@@ -304,11 +321,11 @@ function Q({ children: e, ...t }) {
|
|
|
304
321
|
Q.displayName = "Tiptap";
|
|
305
322
|
function $({ ...e }) {
|
|
306
323
|
let { editor: t } = Z();
|
|
307
|
-
return /* @__PURE__ */
|
|
324
|
+
return /* @__PURE__ */ R(U, {
|
|
308
325
|
editor: t,
|
|
309
326
|
...e
|
|
310
327
|
});
|
|
311
328
|
}
|
|
312
329
|
$.displayName = "Tiptap.Content", Object.assign(Q, { Content: $ });
|
|
313
330
|
//#endregion
|
|
314
|
-
export {
|
|
331
|
+
export { r as CommandManager, i as DECORATION_MANAGER_PLUGIN_KEY, a as DecorationManager, o as Editor, U as EditorContent, q as EditorContext, s as Extendable, ee as Extension, te as InputRule, ne as MappablePosition, re as Mark, ie as Node, ae as NodePos, oe as PasteRule, H as PureEditorContent, J as ReactNodeViewContext, $ as TiptapContent, X as TiptapContext, Q as TiptapWrapper, se as callOrReturn, ce as canInsertNode, le as combineTransactionSteps, ue as commands, de as createChainableState, V as createContentComponent, fe as createDocument, pe as createMappablePosition, me as createNodeFromContent, he as createStyleTag, ge as defaultBlockAt, _e as deleteProps, ve as elementFromString, ye as findChildrenInRange, be as findDuplicates, xe as findParentNode, Se as findParentNodeClosestToPos, Ce as flattenExtensions, we as fromString, Te as generateHTML, Ee as generateJSON, De as getAttributes, c as getAttributesFromExtensions, l as getChangedRanges, u as getExtensionField, d as getHTMLFromFragment, f as getMarkAttributes, p as getMarkRange, m as getMarkType, h as getMarksBetween, g as getNodeAtPosition, _ as getNodeAttributes, v as getNodeType, y as getPreviousBlockSibling, b as getRenderedAttributes, x as getSchema, S as getSchemaByResolvedExtensions, C as getSchemaTypeByName, w as getSchemaTypeNameByName, T as getSplittedAttributes, E as getText, Oe as getTextBetween, ke as getTextContentFromNodes, Ae as getTextSerializersFromSchema, je as getUpdatedPosition, Me as injectExtensionAttributesToParseRule, Ne as inputRulesPlugin, Pe as isActive, D as isAndroid, Fe as isAtEndOfNode, Ie as isAtStartOfNode, Le as isEmptyObject, Re as isExtensionRulesEnabled, ze as isFunction, Be as isList, Ve as isMacOS, He as isMarkActive, Ue as isNodeActive, We as isNodeEmpty, Ge as isNodeSelection, Ke as isNumber, qe as isPlainObject, O as isRegExp, Je as isSafari, Ye as isTextSelection, k as isiOS, Xe as markInputRule, Ze as markPasteRule, Qe as mergeAttributes, $e as mergeDeep, et as minMax, tt as nodeInputRule, nt as objectIncludes, rt as parseIndentedBlocks, it as pasteRulesPlugin, at as removeDuplicates, ot as renderNestedMarkdownContent, st as resolveExtensions, ct as resolveFocusPosition, lt as selectionToInsertionEnd, ut as sortExtensions, dt as splitExtensions, ft as textblockTypeInputRule, pt as updateMarkViewAttributes, jt as useEditor, W as useEditorState, Y as useReactNodeView, Z as useTiptap, mt as wrappingInputRule };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-casper-ui.d.ts","sourceRoot":"","sources":["../../lib/theme/theme-casper-ui.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,
|
|
1
|
+
{"version":3,"file":"theme-casper-ui.d.ts","sourceRoot":"","sources":["../../lib/theme/theme-casper-ui.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAc,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAoaxF;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;CAKzB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BoxProps, ConditionalValue } from '@chakra-ui/react';
|
|
2
2
|
import { Property } from 'csstype';
|
|
3
|
-
import {
|
|
3
|
+
import { ThemeBorder, ThemeColor, ThemeFontSize, ThemeFont, ThemeRadius, ThemeShadow, ThemeSpace } from './theme-types.js';
|
|
4
4
|
/**
|
|
5
5
|
* FILE NOTE:
|
|
6
6
|
* !Beware of changing any properties here as they affect most components (if not all) in the Casper UI Library.
|
|
@@ -17,7 +17,7 @@ import { ThemeBorderVariable, ThemeColorVariable, ThemeFontSizeVariable, ThemeFo
|
|
|
17
17
|
* - @see Style Props in Chakra UI Docs: https://chakra-ui.com/docs/styling/overview#style-props
|
|
18
18
|
* - @see Discussion thread on custom theme types in Chakra (not supported): https://github.com/chakra-ui/chakra-ui/discussions/2441#discussioncomment-127950
|
|
19
19
|
*/
|
|
20
|
-
type Color = ConditionalValue<
|
|
20
|
+
type Color = ConditionalValue<ThemeColor | Property.Color | (string & {})> | undefined;
|
|
21
21
|
export type ColorProps = {
|
|
22
22
|
/** The CSS property `color` */
|
|
23
23
|
color?: Color;
|
|
@@ -32,11 +32,11 @@ export type ColorProps = {
|
|
|
32
32
|
};
|
|
33
33
|
export type ShadowProps = {
|
|
34
34
|
/** The CSS property `box-shadow` */
|
|
35
|
-
boxShadow?: ConditionalValue<
|
|
35
|
+
boxShadow?: ConditionalValue<ThemeShadow | Property.BoxShadow | (string & {})> | undefined;
|
|
36
36
|
/** The CSS property `box-shadow` */
|
|
37
|
-
shadow?: ConditionalValue<
|
|
37
|
+
shadow?: ConditionalValue<ThemeShadow | Property.BoxShadow | (string & {})> | undefined;
|
|
38
38
|
};
|
|
39
|
-
type Padding = ConditionalValue<
|
|
39
|
+
type Padding = ConditionalValue<ThemeSpace | Property.Padding | (string & {})> | undefined;
|
|
40
40
|
export type PaddingProps = {
|
|
41
41
|
/** The CSS property `padding` */
|
|
42
42
|
p?: Padding;
|
|
@@ -75,7 +75,7 @@ export type PaddingProps = {
|
|
|
75
75
|
/** The CSS property `padding-start` */
|
|
76
76
|
paddingStart?: Padding;
|
|
77
77
|
};
|
|
78
|
-
type Margin = ConditionalValue<
|
|
78
|
+
type Margin = ConditionalValue<ThemeSpace | Property.Margin | (string & {})> | undefined;
|
|
79
79
|
export type MarginProps = {
|
|
80
80
|
/** The CSS property `margin` */
|
|
81
81
|
m?: Margin;
|
|
@@ -116,21 +116,21 @@ export type MarginProps = {
|
|
|
116
116
|
};
|
|
117
117
|
type GridProps = {
|
|
118
118
|
/** The CSS property `row-gap` */
|
|
119
|
-
rowGap?: ConditionalValue<Property.RowGap<
|
|
119
|
+
rowGap?: ConditionalValue<Property.RowGap<ThemeSpace>> | undefined;
|
|
120
120
|
/** The CSS property `column-gap` */
|
|
121
|
-
columnGap?: ConditionalValue<Property.ColumnGap<
|
|
121
|
+
columnGap?: ConditionalValue<Property.ColumnGap<ThemeSpace>> | undefined;
|
|
122
122
|
};
|
|
123
123
|
export type TypographyProps = {
|
|
124
124
|
/** The CSS property `font-weight` */
|
|
125
125
|
fontWeight?: ConditionalValue<"bold" | "medium" | "normal" | (string & {})> | undefined;
|
|
126
126
|
/** The CSS property `font-family` */
|
|
127
|
-
fontFamily?: ConditionalValue<
|
|
127
|
+
fontFamily?: ConditionalValue<ThemeFont | (string & {})> | undefined;
|
|
128
128
|
/** The CSS property `font-family` */
|
|
129
|
-
fontSize?: ConditionalValue<
|
|
129
|
+
fontSize?: ConditionalValue<ThemeFontSize | "inherit" | "unset" | "initial" | (string & {})> | undefined;
|
|
130
130
|
};
|
|
131
131
|
export type LayoutProps = {
|
|
132
132
|
/** The CSS property `gap` */
|
|
133
|
-
gap?: ConditionalValue<Property.Gap<
|
|
133
|
+
gap?: ConditionalValue<Property.Gap<ThemeSpace>> | undefined;
|
|
134
134
|
/** The CSS property `width` */
|
|
135
135
|
width?: ConditionalValue<Property.Width | (string & {})> | undefined;
|
|
136
136
|
/** The CSS property `width` */
|
|
@@ -156,50 +156,50 @@ export type LayoutProps = {
|
|
|
156
156
|
/** The CSS property `max-height` */
|
|
157
157
|
maxHeight?: ConditionalValue<Property.MaxHeight | (string & {})> | undefined;
|
|
158
158
|
/** The CSS property `top` */
|
|
159
|
-
top?: ConditionalValue<
|
|
159
|
+
top?: ConditionalValue<ThemeSpace | Property.Top | (string & {})> | undefined;
|
|
160
160
|
/** The CSS property `right` */
|
|
161
|
-
right?: ConditionalValue<
|
|
161
|
+
right?: ConditionalValue<ThemeSpace | Property.Right | (string & {})> | undefined;
|
|
162
162
|
/** The CSS property `left` */
|
|
163
|
-
left?: ConditionalValue<
|
|
163
|
+
left?: ConditionalValue<ThemeSpace | Property.Left | (string & {})> | undefined;
|
|
164
164
|
/** The CSS property `right` */
|
|
165
|
-
bottom?: ConditionalValue<
|
|
165
|
+
bottom?: ConditionalValue<ThemeSpace | Property.Bottom | (string & {})> | undefined;
|
|
166
166
|
};
|
|
167
|
-
type Border = ConditionalValue<
|
|
168
|
-
type BorderColor = ConditionalValue<
|
|
169
|
-
type BorderRadius = ConditionalValue<
|
|
167
|
+
type Border = ConditionalValue<ThemeBorder | Property.Border | (string & {})> | undefined;
|
|
168
|
+
type BorderColor = ConditionalValue<ThemeColor | Property.BorderColor | (string & {})> | undefined;
|
|
169
|
+
type BorderRadius = ConditionalValue<ThemeRadius | Property.BorderRadius | (string & {})> | undefined;
|
|
170
170
|
export type BorderProps = {
|
|
171
171
|
/** The CSS property `border`.
|
|
172
|
-
* Note: Using the
|
|
172
|
+
* Note: Using the ThemeBorder will only provide a border width and style, not color.
|
|
173
173
|
* To define a border color, also supply a value to borderColor as well.
|
|
174
174
|
*/
|
|
175
175
|
border?: Border;
|
|
176
176
|
/** The CSS property `border-top`.
|
|
177
|
-
* Note: Using the
|
|
177
|
+
* Note: Using the ThemeBorder will only provide a border width and style, not color.
|
|
178
178
|
* To define a border color, also supply a value to borderColor as well.
|
|
179
179
|
*/
|
|
180
180
|
borderTop?: Border;
|
|
181
181
|
/** The CSS property `border-left`.
|
|
182
|
-
* Note: Using the
|
|
182
|
+
* Note: Using the ThemeBorder will only provide a border width and style, not color.
|
|
183
183
|
* To define a border color, also supply a value to borderColor as well.
|
|
184
184
|
*/
|
|
185
185
|
borderLeft?: Border;
|
|
186
186
|
/** The CSS property `border-right`.
|
|
187
|
-
* Note: Using the
|
|
187
|
+
* Note: Using the ThemeBorder will only provide a border width and style, not color.
|
|
188
188
|
* To define a border color, also supply a value to borderColor as well.
|
|
189
189
|
*/
|
|
190
190
|
borderRight?: Border;
|
|
191
191
|
/** The CSS property `border-bottom`.
|
|
192
|
-
* Note: Using the
|
|
192
|
+
* Note: Using the ThemeBorder will only provide a border width and style, not color.
|
|
193
193
|
* To define a border color, also supply a value to borderColor as well.
|
|
194
194
|
*/
|
|
195
195
|
borderBottom?: Border;
|
|
196
196
|
/** The CSS properties `border-top` + `border-bottom`.
|
|
197
|
-
* Note: Using the
|
|
197
|
+
* Note: Using the ThemeBorder will only provide a border width and style, not color.
|
|
198
198
|
* To define a border color, also supply a value to borderColor as well.
|
|
199
199
|
*/
|
|
200
200
|
borderY?: Border;
|
|
201
201
|
/** The CSS properties `border-left` + `border-right`.
|
|
202
|
-
* Note: Using the
|
|
202
|
+
* Note: Using the ThemeBorder will only provide a border width and style, not color.
|
|
203
203
|
* To define a border color, also supply a value to borderColor as well.
|
|
204
204
|
*/
|
|
205
205
|
borderX?: Border;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-style-props.d.ts","sourceRoot":"","sources":["../../lib/theme/theme-style-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,E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kBAAkB,GAClB,SAAS,GACT,gBAAgB,CAAC;AAEpB;;;GAGG;AACH,MAAM,WAAW,eAChB,SACC,oBAAoB,EACpB,UAAU,EACV,WAAW,EACX,YAAY,EACZ,SAAS,EACT,eAAe,EACf,WAAW,EACX,WAAW,EACX,WAAW;CAAG"}
|
|
@@ -198,7 +198,7 @@ export type GlobalStyles = Partial<Record<keyof HTMLElementTagNameMap | (string
|
|
|
198
198
|
*
|
|
199
199
|
* '-wlv' indicates 'white label value', meaning it can be/is white label-overridden.
|
|
200
200
|
*/
|
|
201
|
-
export declare enum
|
|
201
|
+
export declare enum ThemeColor {
|
|
202
202
|
Primary = "var(--theme-colors-primary-wlv)",
|
|
203
203
|
PrimaryHover = "var(--theme-colors-primary-hover-wlv)",
|
|
204
204
|
PrimaryActive = "var(--theme-colors-primary-active-wlv)",
|
|
@@ -308,9 +308,9 @@ export declare enum ThemeColorVariable {
|
|
|
308
308
|
}
|
|
309
309
|
/**
|
|
310
310
|
* String value of enum represents the css variable of the corresponding theme variable name.
|
|
311
|
-
* For ex
|
|
311
|
+
* For ex ThemeSpace.Small = 'var(--theme-spacing-small)'
|
|
312
312
|
*/
|
|
313
|
-
export declare enum
|
|
313
|
+
export declare enum ThemeSpace {
|
|
314
314
|
/** 0 */
|
|
315
315
|
None = "var(--theme-spacing-none)",
|
|
316
316
|
/** 0.25rem / 4px */
|
|
@@ -326,7 +326,7 @@ export declare enum ThemeSpaceVariable {
|
|
|
326
326
|
/** 5rem / 80px */
|
|
327
327
|
X2Large = "var(--theme-spacing-x2large)"
|
|
328
328
|
}
|
|
329
|
-
export declare enum
|
|
329
|
+
export declare enum ThemeBorder {
|
|
330
330
|
/** 'none' */
|
|
331
331
|
None = "var(--theme-borders-none)",
|
|
332
332
|
/** '0.0625rem solid' / '1px solid' */
|
|
@@ -340,7 +340,7 @@ export declare enum ThemeBorderVariable {
|
|
|
340
340
|
/** '0.5rem solid' / '8px solid', purposly same as large for now */
|
|
341
341
|
XLarge = "var(--theme-borders-xlarge)"
|
|
342
342
|
}
|
|
343
|
-
export declare enum
|
|
343
|
+
export declare enum ThemeRadius {
|
|
344
344
|
/** 0 */
|
|
345
345
|
None = "var(--theme-radii-none)",
|
|
346
346
|
/** 0.125rem / 2px */
|
|
@@ -354,12 +354,12 @@ export declare enum ThemeRadiusVariable {
|
|
|
354
354
|
/** 31.25rem / 500px */
|
|
355
355
|
XLarge = "var(--theme-radii-xlarge)"
|
|
356
356
|
}
|
|
357
|
-
export declare enum
|
|
357
|
+
export declare enum ThemeFont {
|
|
358
358
|
Header = "var(--theme-fonts-header-wlv)",
|
|
359
359
|
SubHeader = "var(--theme-fonts-subheader-wlv)",
|
|
360
360
|
Body = "var(--theme-fonts-body-wlv)"
|
|
361
361
|
}
|
|
362
|
-
export declare enum
|
|
362
|
+
export declare enum ThemeFontSize {
|
|
363
363
|
/** 0.75rem / 12px */
|
|
364
364
|
XSmall = "var(--theme-font-sizes-xsmall)",
|
|
365
365
|
/** 0.875rem / 14px */
|
|
@@ -381,14 +381,14 @@ export declare enum ThemeFontSizeVariable {
|
|
|
381
381
|
/** 5rem / 80px */
|
|
382
382
|
X6Large = "var(--theme-font-sizes-x6large)"
|
|
383
383
|
}
|
|
384
|
-
export declare enum
|
|
384
|
+
export declare enum ThemeShadow {
|
|
385
385
|
Small = "var(--theme-shadows-small)",
|
|
386
386
|
Medium = "var(--theme-shadows-medium)",
|
|
387
387
|
Large = "var(--theme-shadows-large)",
|
|
388
388
|
Header = "var(--theme-shadows-header)",
|
|
389
389
|
Footer = "var(--theme-shadows-footer)"
|
|
390
390
|
}
|
|
391
|
-
export declare enum
|
|
391
|
+
export declare enum ThemeBreakPoint {
|
|
392
392
|
/** 0em / 0px */
|
|
393
393
|
Base = "var(--theme-breakpoints-base)",
|
|
394
394
|
/** 30em / 480px */
|
|
@@ -402,7 +402,7 @@ export declare enum ThemeBreakPointVariable {
|
|
|
402
402
|
/** 96em / 1536px */
|
|
403
403
|
X2Large = "var(--theme-breakpoints-x2large)"
|
|
404
404
|
}
|
|
405
|
-
export declare enum
|
|
405
|
+
export declare enum ThemeIconSize {
|
|
406
406
|
/** 1rem / 16px */
|
|
407
407
|
XSmall = "var(--theme-sizes-icons-xsmall)",
|
|
408
408
|
/** 1.25rem / 20px */
|
|
@@ -418,4 +418,40 @@ export declare enum ThemeIconSizeVariable {
|
|
|
418
418
|
/** 3.5rem / 56px */
|
|
419
419
|
X3Large = "var(--theme-sizes-icons-x3large)"
|
|
420
420
|
}
|
|
421
|
+
/** @deprecated Renamed to `ThemeColor` @alias */
|
|
422
|
+
export declare const ThemeColorVariable: typeof ThemeColor;
|
|
423
|
+
/** @deprecated Renamed to `ThemeColor` @alias */
|
|
424
|
+
export type ThemeColorVariable = ThemeColor;
|
|
425
|
+
/** @deprecated Renamed to `ThemeSpace` @alias */
|
|
426
|
+
export declare const ThemeSpaceVariable: typeof ThemeSpace;
|
|
427
|
+
/** @deprecated Renamed to `ThemeSpace` @alias */
|
|
428
|
+
export type ThemeSpaceVariable = ThemeSpace;
|
|
429
|
+
/** @deprecated Renamed to `ThemeBorder` @alias */
|
|
430
|
+
export declare const ThemeBorderVariable: typeof ThemeBorder;
|
|
431
|
+
/** @deprecated Renamed to `ThemeBorder` @alias */
|
|
432
|
+
export type ThemeBorderVariable = ThemeBorder;
|
|
433
|
+
/** @deprecated Renamed to `ThemeRadius` @alias */
|
|
434
|
+
export declare const ThemeRadiusVariable: typeof ThemeRadius;
|
|
435
|
+
/** @deprecated Renamed to `ThemeRadius` @alias */
|
|
436
|
+
export type ThemeRadiusVariable = ThemeRadius;
|
|
437
|
+
/** @deprecated Renamed to `ThemeFont` @alias */
|
|
438
|
+
export declare const ThemeFontVariable: typeof ThemeFont;
|
|
439
|
+
/** @deprecated Renamed to `ThemeFont` @alias */
|
|
440
|
+
export type ThemeFontVariable = ThemeFont;
|
|
441
|
+
/** @deprecated Renamed to `ThemeFontSize` @alias */
|
|
442
|
+
export declare const ThemeFontSizeVariable: typeof ThemeFontSize;
|
|
443
|
+
/** @deprecated Renamed to `ThemeFontSize` @alias */
|
|
444
|
+
export type ThemeFontSizeVariable = ThemeFontSize;
|
|
445
|
+
/** @deprecated Renamed to `ThemeShadow` @alias */
|
|
446
|
+
export declare const ThemeShadowVariable: typeof ThemeShadow;
|
|
447
|
+
/** @deprecated Renamed to `ThemeShadow` @alias */
|
|
448
|
+
export type ThemeShadowVariable = ThemeShadow;
|
|
449
|
+
/** @deprecated Renamed to `ThemeBreakPoint` @alias */
|
|
450
|
+
export declare const ThemeBreakPointVariable: typeof ThemeBreakPoint;
|
|
451
|
+
/** @deprecated Renamed to `ThemeBreakPoint` @alias */
|
|
452
|
+
export type ThemeBreakPointVariable = ThemeBreakPoint;
|
|
453
|
+
/** @deprecated Renamed to `ThemeIconSize` @alias */
|
|
454
|
+
export declare const ThemeIconSizeVariable: typeof ThemeIconSize;
|
|
455
|
+
/** @deprecated Renamed to `ThemeIconSize` @alias */
|
|
456
|
+
export type ThemeIconSizeVariable = ThemeIconSize;
|
|
421
457
|
//# sourceMappingURL=theme-types.d.ts.map
|