@kopexa/theme 17.24.5 → 17.25.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-LPNA4ATD.mjs → chunk-D6QIZF4L.mjs} +10 -4
- package/dist/components/editor-basic.js +10 -4
- package/dist/components/editor-basic.mjs +1 -1
- package/dist/components/index.js +10 -4
- package/dist/components/index.mjs +1 -1
- package/dist/editor.css +2 -2
- package/dist/index.js +10 -4
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
|
@@ -53,18 +53,24 @@ var editorBasic = tv({
|
|
|
53
53
|
document: {
|
|
54
54
|
root: "h-full min-h-0 flex flex-col overflow-hidden",
|
|
55
55
|
toolbarContainer: ["shrink-0", "border-b bg-background", "px-4"],
|
|
56
|
-
wrapper: [
|
|
56
|
+
wrapper: [
|
|
57
|
+
"flex-1 min-h-0 overflow-auto",
|
|
58
|
+
"bg-muted/30",
|
|
59
|
+
"flex flex-col"
|
|
60
|
+
],
|
|
57
61
|
content: [
|
|
58
62
|
// Centered paper effect
|
|
59
63
|
"mx-auto",
|
|
60
64
|
"w-full max-w-[816px]",
|
|
61
|
-
"min-h-full",
|
|
65
|
+
"min-h-full flex-1",
|
|
62
66
|
"bg-background",
|
|
63
67
|
"shadow-lg",
|
|
64
|
-
// ProseMirror styling
|
|
68
|
+
// ProseMirror styling - fill container height
|
|
65
69
|
"[&_.tiptap.ProseMirror]:py-16",
|
|
66
70
|
"[&_.tiptap.ProseMirror]:px-16",
|
|
67
|
-
"[&_.tiptap.ProseMirror]:min-h-full"
|
|
71
|
+
"[&_.tiptap.ProseMirror]:min-h-full",
|
|
72
|
+
"[&_.tiptap.ProseMirror]:flex-1",
|
|
73
|
+
"[&>.tiptap]:flex [&>.tiptap]:flex-col [&>.tiptap]:flex-1"
|
|
68
74
|
]
|
|
69
75
|
},
|
|
70
76
|
comment: {
|
|
@@ -77,18 +77,24 @@ var editorBasic = (0, import_tailwind_variants.tv)({
|
|
|
77
77
|
document: {
|
|
78
78
|
root: "h-full min-h-0 flex flex-col overflow-hidden",
|
|
79
79
|
toolbarContainer: ["shrink-0", "border-b bg-background", "px-4"],
|
|
80
|
-
wrapper: [
|
|
80
|
+
wrapper: [
|
|
81
|
+
"flex-1 min-h-0 overflow-auto",
|
|
82
|
+
"bg-muted/30",
|
|
83
|
+
"flex flex-col"
|
|
84
|
+
],
|
|
81
85
|
content: [
|
|
82
86
|
// Centered paper effect
|
|
83
87
|
"mx-auto",
|
|
84
88
|
"w-full max-w-[816px]",
|
|
85
|
-
"min-h-full",
|
|
89
|
+
"min-h-full flex-1",
|
|
86
90
|
"bg-background",
|
|
87
91
|
"shadow-lg",
|
|
88
|
-
// ProseMirror styling
|
|
92
|
+
// ProseMirror styling - fill container height
|
|
89
93
|
"[&_.tiptap.ProseMirror]:py-16",
|
|
90
94
|
"[&_.tiptap.ProseMirror]:px-16",
|
|
91
|
-
"[&_.tiptap.ProseMirror]:min-h-full"
|
|
95
|
+
"[&_.tiptap.ProseMirror]:min-h-full",
|
|
96
|
+
"[&_.tiptap.ProseMirror]:flex-1",
|
|
97
|
+
"[&>.tiptap]:flex [&>.tiptap]:flex-col [&>.tiptap]:flex-1"
|
|
92
98
|
]
|
|
93
99
|
},
|
|
94
100
|
comment: {
|
package/dist/components/index.js
CHANGED
|
@@ -2569,18 +2569,24 @@ var editorBasic = (0, import_tailwind_variants29.tv)({
|
|
|
2569
2569
|
document: {
|
|
2570
2570
|
root: "h-full min-h-0 flex flex-col overflow-hidden",
|
|
2571
2571
|
toolbarContainer: ["shrink-0", "border-b bg-background", "px-4"],
|
|
2572
|
-
wrapper: [
|
|
2572
|
+
wrapper: [
|
|
2573
|
+
"flex-1 min-h-0 overflow-auto",
|
|
2574
|
+
"bg-muted/30",
|
|
2575
|
+
"flex flex-col"
|
|
2576
|
+
],
|
|
2573
2577
|
content: [
|
|
2574
2578
|
// Centered paper effect
|
|
2575
2579
|
"mx-auto",
|
|
2576
2580
|
"w-full max-w-[816px]",
|
|
2577
|
-
"min-h-full",
|
|
2581
|
+
"min-h-full flex-1",
|
|
2578
2582
|
"bg-background",
|
|
2579
2583
|
"shadow-lg",
|
|
2580
|
-
// ProseMirror styling
|
|
2584
|
+
// ProseMirror styling - fill container height
|
|
2581
2585
|
"[&_.tiptap.ProseMirror]:py-16",
|
|
2582
2586
|
"[&_.tiptap.ProseMirror]:px-16",
|
|
2583
|
-
"[&_.tiptap.ProseMirror]:min-h-full"
|
|
2587
|
+
"[&_.tiptap.ProseMirror]:min-h-full",
|
|
2588
|
+
"[&_.tiptap.ProseMirror]:flex-1",
|
|
2589
|
+
"[&>.tiptap]:flex [&>.tiptap]:flex-col [&>.tiptap]:flex-1"
|
|
2584
2590
|
]
|
|
2585
2591
|
},
|
|
2586
2592
|
comment: {
|
package/dist/editor.css
CHANGED
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
.is-empty.with-slash[data-placeholder]:has(
|
|
128
128
|
> .ProseMirror-trailingBreak:only-child
|
|
129
129
|
)::before {
|
|
130
|
-
content:
|
|
130
|
+
content: attr(data-placeholder);
|
|
131
131
|
font-style: italic;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
PLACEHOLDER
|
|
376
376
|
===================== */
|
|
377
377
|
.is-empty[data-placeholder]:has(> .ProseMirror-trailingBreak:only-child)::before {
|
|
378
|
-
content:
|
|
378
|
+
content: attr(data-placeholder);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
381
|
.is-empty[data-placeholder]:has(> .ProseMirror-trailingBreak:only-child):before {
|
package/dist/index.js
CHANGED
|
@@ -2569,18 +2569,24 @@ var editorBasic = (0, import_tailwind_variants29.tv)({
|
|
|
2569
2569
|
document: {
|
|
2570
2570
|
root: "h-full min-h-0 flex flex-col overflow-hidden",
|
|
2571
2571
|
toolbarContainer: ["shrink-0", "border-b bg-background", "px-4"],
|
|
2572
|
-
wrapper: [
|
|
2572
|
+
wrapper: [
|
|
2573
|
+
"flex-1 min-h-0 overflow-auto",
|
|
2574
|
+
"bg-muted/30",
|
|
2575
|
+
"flex flex-col"
|
|
2576
|
+
],
|
|
2573
2577
|
content: [
|
|
2574
2578
|
// Centered paper effect
|
|
2575
2579
|
"mx-auto",
|
|
2576
2580
|
"w-full max-w-[816px]",
|
|
2577
|
-
"min-h-full",
|
|
2581
|
+
"min-h-full flex-1",
|
|
2578
2582
|
"bg-background",
|
|
2579
2583
|
"shadow-lg",
|
|
2580
|
-
// ProseMirror styling
|
|
2584
|
+
// ProseMirror styling - fill container height
|
|
2581
2585
|
"[&_.tiptap.ProseMirror]:py-16",
|
|
2582
2586
|
"[&_.tiptap.ProseMirror]:px-16",
|
|
2583
|
-
"[&_.tiptap.ProseMirror]:min-h-full"
|
|
2587
|
+
"[&_.tiptap.ProseMirror]:min-h-full",
|
|
2588
|
+
"[&_.tiptap.ProseMirror]:flex-1",
|
|
2589
|
+
"[&>.tiptap]:flex [&>.tiptap]:flex-col [&>.tiptap]:flex-1"
|
|
2584
2590
|
]
|
|
2585
2591
|
},
|
|
2586
2592
|
comment: {
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/theme",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.25.0",
|
|
4
4
|
"description": "The default theme for Kopexa components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"theme",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"tailwind-merge": "^3.5.0",
|
|
67
67
|
"tailwind-variants": "^3.2.2",
|
|
68
68
|
"tw-animate-css": "^1.4.0",
|
|
69
|
-
"@kopexa/shared-utils": "17.0.
|
|
69
|
+
"@kopexa/shared-utils": "17.0.59"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"tailwindcss": ">=4.0.0"
|