@kopexa/theme 17.9.0 → 17.11.0
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/{chunk-W7RJG22S.mjs → chunk-B5JVXVSG.mjs} +4 -9
- package/dist/{chunk-3CZOBPDH.mjs → chunk-CVGMGJPW.mjs} +2 -2
- package/dist/{chunk-NNKYGAZC.mjs → chunk-LIKA7I7Y.mjs} +1 -1
- package/dist/chunk-ODC3GJTR.mjs +61 -0
- package/dist/chunk-Q72M565Q.mjs +143 -0
- package/dist/chunk-VO435JJ5.mjs +62 -0
- package/dist/components/editor-basic.d.mts +42 -6
- package/dist/components/editor-basic.d.ts +42 -6
- package/dist/components/editor-basic.js +83 -3
- package/dist/components/editor-basic.mjs +1 -1
- package/dist/components/image-placeholder.d.mts +139 -0
- package/dist/components/image-placeholder.d.ts +139 -0
- package/dist/components/image-placeholder.js +86 -0
- package/dist/components/image-placeholder.mjs +6 -0
- package/dist/components/index.d.mts +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +283 -87
- package/dist/components/index.mjs +24 -16
- package/dist/components/sidebar.js +2 -2
- package/dist/components/sidebar.mjs +1 -1
- package/dist/components/slash-dropdown-menu.js +1 -1
- package/dist/components/slash-dropdown-menu.mjs +1 -1
- package/dist/components/split-page-layout.d.mts +6 -0
- package/dist/components/split-page-layout.d.ts +6 -0
- package/dist/components/split-page-layout.js +4 -9
- package/dist/components/split-page-layout.mjs +1 -1
- package/dist/components/toc.d.mts +95 -0
- package/dist/components/toc.d.ts +95 -0
- package/dist/components/toc.js +85 -0
- package/dist/components/toc.mjs +6 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +283 -87
- package/dist/index.mjs +24 -16
- package/package.json +5 -4
- package/dist/chunk-XOL7P7NP.mjs +0 -63
- /package/dist/{chunk-6K5IB5IR.mjs → chunk-6RCNFPIU.mjs} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import "./chunk-XSN6P5JL.mjs";
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-6RCNFPIU.mjs";
|
|
3
|
+
import {
|
|
4
|
+
switchVariants
|
|
5
|
+
} from "./chunk-WQ446TVH.mjs";
|
|
3
6
|
import {
|
|
4
7
|
tabNav
|
|
5
8
|
} from "./chunk-ZLM6Z3W2.mjs";
|
|
@@ -12,12 +15,20 @@ import {
|
|
|
12
15
|
import {
|
|
13
16
|
textarea
|
|
14
17
|
} from "./chunk-ARLLAC5V.mjs";
|
|
18
|
+
import {
|
|
19
|
+
toc
|
|
20
|
+
} from "./chunk-ODC3GJTR.mjs";
|
|
15
21
|
import {
|
|
16
22
|
toolbar
|
|
17
23
|
} from "./chunk-2NA54PNL.mjs";
|
|
18
24
|
import {
|
|
19
25
|
tooltip
|
|
20
26
|
} from "./chunk-OLYO7UPH.mjs";
|
|
27
|
+
import {
|
|
28
|
+
sidebar,
|
|
29
|
+
sidebarMenuAction,
|
|
30
|
+
sidebarMenuButton
|
|
31
|
+
} from "./chunk-CVGMGJPW.mjs";
|
|
21
32
|
import {
|
|
22
33
|
skeletonAvatar
|
|
23
34
|
} from "./chunk-7Q2RNHL5.mjs";
|
|
@@ -26,13 +37,13 @@ import {
|
|
|
26
37
|
} from "./chunk-VNQEJU4P.mjs";
|
|
27
38
|
import {
|
|
28
39
|
slashDropdownMenu
|
|
29
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-LIKA7I7Y.mjs";
|
|
30
41
|
import {
|
|
31
42
|
spinner
|
|
32
43
|
} from "./chunk-4UDOCFU5.mjs";
|
|
33
44
|
import {
|
|
34
45
|
splitPageLayout
|
|
35
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-B5JVXVSG.mjs";
|
|
36
47
|
import {
|
|
37
48
|
standardChip
|
|
38
49
|
} from "./chunk-XQZL7LCP.mjs";
|
|
@@ -40,8 +51,8 @@ import {
|
|
|
40
51
|
stat
|
|
41
52
|
} from "./chunk-RTWYV4TJ.mjs";
|
|
42
53
|
import {
|
|
43
|
-
|
|
44
|
-
} from "./chunk-
|
|
54
|
+
resizable
|
|
55
|
+
} from "./chunk-RV656WRF.mjs";
|
|
45
56
|
import {
|
|
46
57
|
riskBadge
|
|
47
58
|
} from "./chunk-V2J5XG34.mjs";
|
|
@@ -64,10 +75,8 @@ import {
|
|
|
64
75
|
separator
|
|
65
76
|
} from "./chunk-LM7MKBHT.mjs";
|
|
66
77
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
sidebarMenuButton
|
|
70
|
-
} from "./chunk-3CZOBPDH.mjs";
|
|
78
|
+
kbd
|
|
79
|
+
} from "./chunk-BETLBSSF.mjs";
|
|
71
80
|
import {
|
|
72
81
|
label
|
|
73
82
|
} from "./chunk-LMCM4CW2.mjs";
|
|
@@ -89,12 +98,12 @@ import {
|
|
|
89
98
|
import {
|
|
90
99
|
relatedControlChip
|
|
91
100
|
} from "./chunk-NIEFB74U.mjs";
|
|
92
|
-
import {
|
|
93
|
-
resizable
|
|
94
|
-
} from "./chunk-RV656WRF.mjs";
|
|
95
101
|
import {
|
|
96
102
|
imageCrop
|
|
97
103
|
} from "./chunk-GMFZLUU4.mjs";
|
|
104
|
+
import {
|
|
105
|
+
imagePlaceholder
|
|
106
|
+
} from "./chunk-VO435JJ5.mjs";
|
|
98
107
|
import {
|
|
99
108
|
impactCard
|
|
100
109
|
} from "./chunk-EJSDSK3G.mjs";
|
|
@@ -107,15 +116,12 @@ import {
|
|
|
107
116
|
import {
|
|
108
117
|
integrationCard
|
|
109
118
|
} from "./chunk-QOW6FLZ6.mjs";
|
|
110
|
-
import {
|
|
111
|
-
kbd
|
|
112
|
-
} from "./chunk-BETLBSSF.mjs";
|
|
113
119
|
import {
|
|
114
120
|
dropdownMenu
|
|
115
121
|
} from "./chunk-3PCDCW7G.mjs";
|
|
116
122
|
import {
|
|
117
123
|
editorBasic
|
|
118
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-Q72M565Q.mjs";
|
|
119
125
|
import {
|
|
120
126
|
editorSpinner
|
|
121
127
|
} from "./chunk-TVC4THD6.mjs";
|
|
@@ -242,6 +248,7 @@ export {
|
|
|
242
248
|
heading,
|
|
243
249
|
hoverCard,
|
|
244
250
|
imageCrop,
|
|
251
|
+
imagePlaceholder,
|
|
245
252
|
impactCard,
|
|
246
253
|
input,
|
|
247
254
|
inputGroup,
|
|
@@ -279,6 +286,7 @@ export {
|
|
|
279
286
|
table,
|
|
280
287
|
tabs,
|
|
281
288
|
textarea,
|
|
289
|
+
toc,
|
|
282
290
|
toolbar,
|
|
283
291
|
tooltip
|
|
284
292
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/theme",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.11.0",
|
|
4
4
|
"description": "The default theme for Kopexa components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"theme",
|
|
@@ -55,8 +55,9 @@
|
|
|
55
55
|
"url": "https://github.com/kopexa-grc/sight/issues"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@tiptap/extension-drag-handle": "^3.
|
|
59
|
-
"@tiptap/extension-drag-handle-react": "^3.
|
|
58
|
+
"@tiptap/extension-drag-handle": "^3.17.0",
|
|
59
|
+
"@tiptap/extension-drag-handle-react": "^3.17.0",
|
|
60
|
+
"@tiptap/extension-node-range": "^3.17.0",
|
|
60
61
|
"clsx": "^2.1.1",
|
|
61
62
|
"color": "^5.0.3",
|
|
62
63
|
"color2k": "^2.0.3",
|
|
@@ -65,7 +66,7 @@
|
|
|
65
66
|
"tailwind-merge": "3.4.0",
|
|
66
67
|
"tailwind-variants": "^3.2.2",
|
|
67
68
|
"tw-animate-css": "^1.4.0",
|
|
68
|
-
"@kopexa/shared-utils": "17.0.
|
|
69
|
+
"@kopexa/shared-utils": "17.0.19"
|
|
69
70
|
},
|
|
70
71
|
"peerDependencies": {
|
|
71
72
|
"tailwindcss": ">=4.0.0"
|
package/dist/chunk-XOL7P7NP.mjs
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
// src/components/editor-basic.ts
|
|
2
|
-
import { tv } from "tailwind-variants";
|
|
3
|
-
var editorBasic = tv({
|
|
4
|
-
slots: {
|
|
5
|
-
root: [
|
|
6
|
-
"grid grid-rows-[auto,minmax(0,1fr)]",
|
|
7
|
-
"h-full min-h-0 w-full min-w-0",
|
|
8
|
-
"content-start isolate"
|
|
9
|
-
],
|
|
10
|
-
toolbarContainer: [
|
|
11
|
-
"row-start-1 row-end-2",
|
|
12
|
-
"flex items-center gap-0.5",
|
|
13
|
-
"sticky top-0 z-10"
|
|
14
|
-
],
|
|
15
|
-
toolbar: "w-full",
|
|
16
|
-
wrapper: [
|
|
17
|
-
"row-start-2 row-end-3",
|
|
18
|
-
"min-h-0 min-w-0",
|
|
19
|
-
"overflow-y-auto"
|
|
20
|
-
// "h-[calc(100%-var(--spacing-editor-toolbar))]",
|
|
21
|
-
],
|
|
22
|
-
content: [
|
|
23
|
-
"w-full min-w-0",
|
|
24
|
-
"h-auto min-h-0",
|
|
25
|
-
"[&_.tiptap.ProseMirror]:py-4",
|
|
26
|
-
"[&_.tiptap.ProseMirror]:px-6",
|
|
27
|
-
"[&_.tiptap.ProseMirror]:min-h-0"
|
|
28
|
-
],
|
|
29
|
-
toolbarGroup: "flex items-center gap-0.5"
|
|
30
|
-
},
|
|
31
|
-
variants: {
|
|
32
|
-
variant: {
|
|
33
|
-
// rounded toolbar, muted background
|
|
34
|
-
default: {
|
|
35
|
-
wrapper: ["border rounded-md"],
|
|
36
|
-
toolbarContainer: "rounded-md mb-2",
|
|
37
|
-
content: ""
|
|
38
|
-
},
|
|
39
|
-
// document style, eg. document editor, fullpage etc pp
|
|
40
|
-
document: {
|
|
41
|
-
wrapper: "size-full overflow-auto",
|
|
42
|
-
content: "size-full"
|
|
43
|
-
},
|
|
44
|
-
comment: {
|
|
45
|
-
root: "",
|
|
46
|
-
wrapper: [
|
|
47
|
-
"border rounded-md",
|
|
48
|
-
"max-h-[351lh]",
|
|
49
|
-
"max-h-[calc(35lh-var(--spacing-editor-toolbar,theme(space.10)))]"
|
|
50
|
-
],
|
|
51
|
-
toolbarContainer: "rounded-md mb-2",
|
|
52
|
-
content: ""
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
defaultVariants: {
|
|
57
|
-
variant: "default"
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
export {
|
|
62
|
-
editorBasic
|
|
63
|
-
};
|
|
File without changes
|