@kopexa/theme 17.22.7 → 17.22.9
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-3PCDCW7G.mjs → chunk-BWUVMOSV.mjs} +4 -4
- package/dist/{chunk-7Q2RNHL5.mjs → chunk-RGZCKQNI.mjs} +1 -1
- package/dist/chunk-WQLVUMHF.mjs +71 -0
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/button.mjs +2 -2
- package/dist/components/dropdown-menu.js +4 -4
- package/dist/components/dropdown-menu.mjs +1 -1
- package/dist/components/extension-table.d.mts +71 -0
- package/dist/components/extension-table.d.ts +71 -0
- package/dist/components/extension-table.js +96 -0
- package/dist/components/extension-table.mjs +8 -0
- package/dist/components/index.d.mts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +75 -4
- package/dist/components/index.mjs +84 -78
- package/dist/components/skeleton-avatar.mjs +3 -3
- package/dist/editor.css +152 -132
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +75 -4
- package/dist/index.mjs +85 -79
- package/package.json +2 -2
- package/dist/{chunk-T3C4PJPS.mjs → chunk-EWID76V7.mjs} +0 -0
- package/dist/{chunk-OTETLRUE.mjs → chunk-GNJCCXFJ.mjs} +3 -3
- package/dist/{chunk-D5FKEY7B.mjs → chunk-VPA2TZYQ.mjs} +3 -3
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
import "../chunk-
|
|
2
|
-
import {
|
|
3
|
-
tabs
|
|
4
|
-
} from "../chunk-I6M4S2KZ.mjs";
|
|
5
|
-
import {
|
|
6
|
-
textarea
|
|
7
|
-
} from "../chunk-ARLLAC5V.mjs";
|
|
8
|
-
import {
|
|
9
|
-
toc
|
|
10
|
-
} from "../chunk-ODC3GJTR.mjs";
|
|
1
|
+
import "../chunk-EWID76V7.mjs";
|
|
11
2
|
import {
|
|
12
3
|
toggleRow
|
|
13
4
|
} from "../chunk-F7MJHRZX.mjs";
|
|
@@ -20,15 +11,6 @@ import {
|
|
|
20
11
|
import {
|
|
21
12
|
variableNode
|
|
22
13
|
} from "../chunk-EKOZ2ZVU.mjs";
|
|
23
|
-
import {
|
|
24
|
-
slashDropdownMenu
|
|
25
|
-
} from "../chunk-U4BRPFG2.mjs";
|
|
26
|
-
import {
|
|
27
|
-
spinner
|
|
28
|
-
} from "../chunk-4UDOCFU5.mjs";
|
|
29
|
-
import {
|
|
30
|
-
splitPageLayout
|
|
31
|
-
} from "../chunk-B5JVXVSG.mjs";
|
|
32
14
|
import {
|
|
33
15
|
standardChip
|
|
34
16
|
} from "../chunk-XQZL7LCP.mjs";
|
|
@@ -45,14 +27,14 @@ import {
|
|
|
45
27
|
table
|
|
46
28
|
} from "../chunk-YC2FQDBV.mjs";
|
|
47
29
|
import {
|
|
48
|
-
|
|
49
|
-
} from "../chunk-
|
|
30
|
+
tabs
|
|
31
|
+
} from "../chunk-I6M4S2KZ.mjs";
|
|
50
32
|
import {
|
|
51
|
-
|
|
52
|
-
} from "../chunk-
|
|
33
|
+
textarea
|
|
34
|
+
} from "../chunk-ARLLAC5V.mjs";
|
|
53
35
|
import {
|
|
54
|
-
|
|
55
|
-
} from "../chunk-
|
|
36
|
+
toc
|
|
37
|
+
} from "../chunk-ODC3GJTR.mjs";
|
|
56
38
|
import {
|
|
57
39
|
select
|
|
58
40
|
} from "../chunk-KPVLNOO5.mjs";
|
|
@@ -66,19 +48,19 @@ import {
|
|
|
66
48
|
} from "../chunk-2Z4QAY6O.mjs";
|
|
67
49
|
import {
|
|
68
50
|
skeletonAvatar
|
|
69
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-RGZCKQNI.mjs";
|
|
70
52
|
import {
|
|
71
53
|
skeleton
|
|
72
54
|
} from "../chunk-VNQEJU4P.mjs";
|
|
73
55
|
import {
|
|
74
|
-
|
|
75
|
-
} from "../chunk-
|
|
56
|
+
slashDropdownMenu
|
|
57
|
+
} from "../chunk-U4BRPFG2.mjs";
|
|
76
58
|
import {
|
|
77
|
-
|
|
78
|
-
} from "../chunk-
|
|
59
|
+
spinner
|
|
60
|
+
} from "../chunk-4UDOCFU5.mjs";
|
|
79
61
|
import {
|
|
80
|
-
|
|
81
|
-
} from "../chunk-
|
|
62
|
+
splitPageLayout
|
|
63
|
+
} from "../chunk-B5JVXVSG.mjs";
|
|
82
64
|
import {
|
|
83
65
|
promptInput
|
|
84
66
|
} from "../chunk-UCVBVFHQ.mjs";
|
|
@@ -95,11 +77,14 @@ import {
|
|
|
95
77
|
riskIndicator
|
|
96
78
|
} from "../chunk-CZMZHA7U.mjs";
|
|
97
79
|
import {
|
|
98
|
-
|
|
99
|
-
} from "../chunk-
|
|
80
|
+
riskRating
|
|
81
|
+
} from "../chunk-CNYKIUVC.mjs";
|
|
100
82
|
import {
|
|
101
|
-
|
|
102
|
-
} from "../chunk-
|
|
83
|
+
scrollArea
|
|
84
|
+
} from "../chunk-SPQE7K66.mjs";
|
|
85
|
+
import {
|
|
86
|
+
sectionRow
|
|
87
|
+
} from "../chunk-CC225WUG.mjs";
|
|
103
88
|
import {
|
|
104
89
|
kbd
|
|
105
90
|
} from "../chunk-BETLBSSF.mjs";
|
|
@@ -116,14 +101,14 @@ import {
|
|
|
116
101
|
pageHeader
|
|
117
102
|
} from "../chunk-HAVJ6EQ6.mjs";
|
|
118
103
|
import {
|
|
119
|
-
|
|
120
|
-
} from "../chunk-
|
|
104
|
+
pageLayout
|
|
105
|
+
} from "../chunk-OULAICSC.mjs";
|
|
121
106
|
import {
|
|
122
|
-
|
|
123
|
-
} from "../chunk-
|
|
107
|
+
popover
|
|
108
|
+
} from "../chunk-TQVRNEIH.mjs";
|
|
124
109
|
import {
|
|
125
|
-
|
|
126
|
-
} from "../chunk-
|
|
110
|
+
previewCard
|
|
111
|
+
} from "../chunk-GWRIERN6.mjs";
|
|
127
112
|
import {
|
|
128
113
|
imageCrop
|
|
129
114
|
} from "../chunk-GMFZLUU4.mjs";
|
|
@@ -137,23 +122,21 @@ import {
|
|
|
137
122
|
inputGroup
|
|
138
123
|
} from "../chunk-HWEYNK3O.mjs";
|
|
139
124
|
import {
|
|
140
|
-
|
|
141
|
-
} from "../chunk-
|
|
142
|
-
import {
|
|
143
|
-
dialog
|
|
144
|
-
} from "../chunk-OJDCD74N.mjs";
|
|
145
|
-
import {
|
|
146
|
-
dropdownMenu
|
|
147
|
-
} from "../chunk-3PCDCW7G.mjs";
|
|
125
|
+
inputWrapper
|
|
126
|
+
} from "../chunk-VSVGOX3P.mjs";
|
|
148
127
|
import {
|
|
149
|
-
|
|
150
|
-
} from "../chunk-
|
|
128
|
+
integrationCard
|
|
129
|
+
} from "../chunk-QOW6FLZ6.mjs";
|
|
151
130
|
import {
|
|
152
131
|
editorBasic
|
|
153
132
|
} from "../chunk-LPNA4ATD.mjs";
|
|
154
133
|
import {
|
|
155
134
|
editorSpinner
|
|
156
135
|
} from "../chunk-TVC4THD6.mjs";
|
|
136
|
+
import {
|
|
137
|
+
extensionTableHandleMenuContent,
|
|
138
|
+
tableCellHandleMenu
|
|
139
|
+
} from "../chunk-WQLVUMHF.mjs";
|
|
157
140
|
import {
|
|
158
141
|
avatarUpload
|
|
159
142
|
} from "../chunk-QGL2OK4B.mjs";
|
|
@@ -161,17 +144,14 @@ import {
|
|
|
161
144
|
filter
|
|
162
145
|
} from "../chunk-GT463S76.mjs";
|
|
163
146
|
import {
|
|
164
|
-
|
|
165
|
-
} from "../chunk-
|
|
166
|
-
import {
|
|
167
|
-
combobox
|
|
168
|
-
} from "../chunk-3T7EOMXR.mjs";
|
|
147
|
+
frameworkRow
|
|
148
|
+
} from "../chunk-TPFAZH22.mjs";
|
|
169
149
|
import {
|
|
170
|
-
|
|
171
|
-
} from "../chunk-
|
|
150
|
+
heading
|
|
151
|
+
} from "../chunk-NWKBPO37.mjs";
|
|
172
152
|
import {
|
|
173
|
-
|
|
174
|
-
} from "../chunk-
|
|
153
|
+
hoverCard
|
|
154
|
+
} from "../chunk-UTCVHVWF.mjs";
|
|
175
155
|
import {
|
|
176
156
|
controlExtension
|
|
177
157
|
} from "../chunk-M4TXKRUU.mjs";
|
|
@@ -185,17 +165,17 @@ import {
|
|
|
185
165
|
dataTable
|
|
186
166
|
} from "../chunk-GNYTZGE5.mjs";
|
|
187
167
|
import {
|
|
188
|
-
|
|
189
|
-
} from "../chunk-
|
|
168
|
+
drawer
|
|
169
|
+
} from "../chunk-7V3NMVQH.mjs";
|
|
190
170
|
import {
|
|
191
|
-
|
|
192
|
-
} from "../chunk-
|
|
171
|
+
dialog
|
|
172
|
+
} from "../chunk-OJDCD74N.mjs";
|
|
193
173
|
import {
|
|
194
|
-
|
|
195
|
-
} from "../chunk-
|
|
174
|
+
dropdownMenu
|
|
175
|
+
} from "../chunk-BWUVMOSV.mjs";
|
|
196
176
|
import {
|
|
197
|
-
|
|
198
|
-
} from "../chunk-
|
|
177
|
+
editableText
|
|
178
|
+
} from "../chunk-GZJAA5RZ.mjs";
|
|
199
179
|
import {
|
|
200
180
|
card
|
|
201
181
|
} from "../chunk-5YHTCPJL.mjs";
|
|
@@ -209,14 +189,17 @@ import {
|
|
|
209
189
|
code
|
|
210
190
|
} from "../chunk-VQ2OAHGP.mjs";
|
|
211
191
|
import {
|
|
212
|
-
|
|
213
|
-
} from "../chunk-
|
|
192
|
+
colorHighlightButton
|
|
193
|
+
} from "../chunk-CPERWXKN.mjs";
|
|
214
194
|
import {
|
|
215
|
-
|
|
216
|
-
} from "../chunk-
|
|
195
|
+
combobox
|
|
196
|
+
} from "../chunk-3T7EOMXR.mjs";
|
|
217
197
|
import {
|
|
218
|
-
|
|
219
|
-
} from "../chunk-
|
|
198
|
+
command
|
|
199
|
+
} from "../chunk-YPHFKGNI.mjs";
|
|
200
|
+
import {
|
|
201
|
+
complianceBadge
|
|
202
|
+
} from "../chunk-RZ45NVOH.mjs";
|
|
220
203
|
import {
|
|
221
204
|
autocomplete
|
|
222
205
|
} from "../chunk-OHZBQRA4.mjs";
|
|
@@ -229,12 +212,33 @@ import {
|
|
|
229
212
|
} from "../chunk-XCLEKBCJ.mjs";
|
|
230
213
|
import {
|
|
231
214
|
avatar
|
|
232
|
-
} from "../chunk-
|
|
233
|
-
import "../chunk-7T563RF7.mjs";
|
|
234
|
-
import "../chunk-6IZPAS4O.mjs";
|
|
215
|
+
} from "../chunk-VPA2TZYQ.mjs";
|
|
235
216
|
import {
|
|
236
217
|
blankstate
|
|
237
218
|
} from "../chunk-DICHD74Q.mjs";
|
|
219
|
+
import {
|
|
220
|
+
breadcrumb
|
|
221
|
+
} from "../chunk-W6TZSSAU.mjs";
|
|
222
|
+
import {
|
|
223
|
+
button
|
|
224
|
+
} from "../chunk-GNJCCXFJ.mjs";
|
|
225
|
+
import {
|
|
226
|
+
calendar
|
|
227
|
+
} from "../chunk-JWF5ABNP.mjs";
|
|
228
|
+
import {
|
|
229
|
+
callout
|
|
230
|
+
} from "../chunk-A3F4CV54.mjs";
|
|
231
|
+
import "../chunk-6IZPAS4O.mjs";
|
|
232
|
+
import "../chunk-7T563RF7.mjs";
|
|
233
|
+
import {
|
|
234
|
+
accordion
|
|
235
|
+
} from "../chunk-AEWKHJEI.mjs";
|
|
236
|
+
import {
|
|
237
|
+
alertDialog
|
|
238
|
+
} from "../chunk-XGUDXC5P.mjs";
|
|
239
|
+
import {
|
|
240
|
+
auditInfo
|
|
241
|
+
} from "../chunk-CPAF7VNM.mjs";
|
|
238
242
|
export {
|
|
239
243
|
accordion,
|
|
240
244
|
alertDialog,
|
|
@@ -266,6 +270,7 @@ export {
|
|
|
266
270
|
editableText,
|
|
267
271
|
editorBasic,
|
|
268
272
|
editorSpinner,
|
|
273
|
+
extensionTableHandleMenuContent,
|
|
269
274
|
filter,
|
|
270
275
|
frameworkRow,
|
|
271
276
|
heading,
|
|
@@ -309,6 +314,7 @@ export {
|
|
|
309
314
|
switchVariants,
|
|
310
315
|
tabNav,
|
|
311
316
|
table,
|
|
317
|
+
tableCellHandleMenu,
|
|
312
318
|
tabs,
|
|
313
319
|
textarea,
|
|
314
320
|
toc,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
skeletonAvatar
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-7T563RF7.mjs";
|
|
3
|
+
} from "../chunk-RGZCKQNI.mjs";
|
|
4
|
+
import "../chunk-VPA2TZYQ.mjs";
|
|
6
5
|
import "../chunk-6IZPAS4O.mjs";
|
|
6
|
+
import "../chunk-7T563RF7.mjs";
|
|
7
7
|
export {
|
|
8
8
|
skeletonAvatar
|
|
9
9
|
};
|
package/dist/editor.css
CHANGED
|
@@ -585,156 +585,176 @@
|
|
|
585
585
|
/* =====================
|
|
586
586
|
TABLE
|
|
587
587
|
===================== */
|
|
588
|
-
.tiptap.ProseMirror {
|
|
589
|
-
.table-node-view {
|
|
590
|
-
position: relative;
|
|
591
|
-
width: fit-content;
|
|
592
|
-
max-width: 100%;
|
|
593
|
-
margin-top: 0.5rem;
|
|
594
|
-
margin-bottom: 1rem;
|
|
595
|
-
padding-top: 20px;
|
|
596
|
-
padding-left: 20px;
|
|
597
|
-
}
|
|
598
588
|
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
589
|
+
.ProseMirror .tableWrapper {
|
|
590
|
+
overflow-x: auto;
|
|
591
|
+
}
|
|
602
592
|
|
|
603
|
-
table {
|
|
604
|
-
border-collapse: collapse;
|
|
605
|
-
border-style: solid;
|
|
606
|
-
border-width: 1px;
|
|
607
|
-
border-color: var(--color-border);
|
|
608
|
-
width: 100%;
|
|
609
|
-
table-layout: fixed;
|
|
610
|
-
}
|
|
611
593
|
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
padding: 0.5rem;
|
|
619
|
-
text-align: left;
|
|
620
|
-
vertical-align: top;
|
|
621
|
-
box-sizing: border-box;
|
|
622
|
-
position: relative;
|
|
623
|
-
transition: background-color 0.3s ease;
|
|
594
|
+
.ProseMirror table {
|
|
595
|
+
border-collapse: collapse;
|
|
596
|
+
table-layout: fixed;
|
|
597
|
+
width: 100%;
|
|
598
|
+
overflow: hidden;
|
|
599
|
+
}
|
|
624
600
|
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
601
|
+
.ProseMirror td,
|
|
602
|
+
.ProseMirror th {
|
|
603
|
+
vertical-align: top;
|
|
604
|
+
box-sizing: border-box;
|
|
605
|
+
position: relative;
|
|
606
|
+
}
|
|
628
607
|
|
|
629
|
-
p {
|
|
630
|
-
margin: 0 !important;
|
|
631
608
|
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
609
|
+
.ProseMirror td:not([data-colwidth]):not(.column-resize-dragging),
|
|
610
|
+
.ProseMirror th:not([data-colwidth]):not(.column-resize-dragging) {
|
|
611
|
+
/* if there's no explicit width set and the column is not being resized, set a default width */
|
|
612
|
+
min-width: var(--default-cell-min-width);
|
|
613
|
+
}
|
|
636
614
|
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
615
|
+
.ProseMirror.resize-cursor {
|
|
616
|
+
cursor: ew-resize;
|
|
617
|
+
cursor: col-resize;
|
|
618
|
+
}
|
|
619
|
+
/* Give selected cells a blue overlay */
|
|
620
|
+
.ProseMirror .selectedCell:after {
|
|
621
|
+
z-index: 2;
|
|
622
|
+
position: absolute;
|
|
623
|
+
content: "";
|
|
624
|
+
left: 0;
|
|
625
|
+
right: 0;
|
|
626
|
+
top: 0;
|
|
627
|
+
bottom: 0;
|
|
628
|
+
background: rgba(40, 137, 207, 0.4);
|
|
629
|
+
pointer-events: none;
|
|
630
|
+
}
|
|
641
631
|
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
background-color: var(--color-muted);
|
|
646
|
-
}
|
|
632
|
+
:root {
|
|
633
|
+
--tt-table-cell-padding: 0.5rem;
|
|
634
|
+
--tt-table-margin-block: 1.25rem;
|
|
647
635
|
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
636
|
+
--tt-table-pad-block-start: 1rem; /* 8px */
|
|
637
|
+
--tt-table-pad-block-end: 1.5rem; /* 24px */
|
|
638
|
+
--tt-table-pad-inline-start: 1rem; /* 8px */
|
|
639
|
+
--tt-table-pad-inline-end: 1.5rem; /* 24px */
|
|
652
640
|
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
text-align: right;
|
|
656
|
-
}
|
|
641
|
+
--tt-table-column-resize-handle-bg: var(--color-primary-400);
|
|
642
|
+
}
|
|
657
643
|
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
right: 0;
|
|
662
|
-
top: 0;
|
|
663
|
-
width: 2px;
|
|
664
|
-
height: 100%;
|
|
665
|
-
z-index: 5;
|
|
666
|
-
pointer-events: none;
|
|
667
|
-
}
|
|
644
|
+
.tiptap [data-content-type="table"] {
|
|
645
|
+
margin-block: var(--tt-table-margin-block);
|
|
646
|
+
}
|
|
668
647
|
|
|
669
|
-
.selectedCell {
|
|
670
|
-
border-style: double;
|
|
671
|
-
border-color: var(--tt-selection-color-border);
|
|
672
|
-
background-color: var(--tt-selection-color);
|
|
673
|
-
}
|
|
674
648
|
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
649
|
+
.tiptap [data-content-type="table"] .tableWrapper {
|
|
650
|
+
padding-block-start: var(--tt-table-pad-block-start);
|
|
651
|
+
padding-inline-start: var(--tt-table-pad-inline-start);
|
|
652
|
+
padding-inline-end: var(--tt-table-pad-inline-end);
|
|
653
|
+
padding-block-end: var(--tt-table-pad-block-end);
|
|
654
|
+
margin-left: -1rem;
|
|
655
|
+
overflow-y: hidden;
|
|
656
|
+
position: relative;
|
|
657
|
+
width: 100%;
|
|
658
|
+
}
|
|
681
659
|
|
|
682
|
-
.table-node-view .table-controls .columns-control,
|
|
683
|
-
.table-node-view .table-controls .rows-control {
|
|
684
|
-
transition: opacity ease-in 100ms;
|
|
685
|
-
position: absolute;
|
|
686
|
-
z-index: 5;
|
|
687
|
-
display: flex;
|
|
688
|
-
justify-content: center;
|
|
689
|
-
align-items: center;
|
|
690
|
-
}
|
|
691
660
|
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
661
|
+
.tiptap table {
|
|
662
|
+
width: auto !important;
|
|
663
|
+
word-break: break-word;
|
|
664
|
+
}
|
|
696
665
|
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
}
|
|
666
|
+
.tiptap th,
|
|
667
|
+
.tiptap td {
|
|
668
|
+
border: 1px solid var(--color-border);
|
|
669
|
+
padding: var(--tt-table-cell-padding);
|
|
670
|
+
}
|
|
703
671
|
|
|
704
|
-
.table-node-view .table-controls .rows-control {
|
|
705
|
-
width: 20px;
|
|
706
|
-
left: 0;
|
|
707
|
-
top: 20px;
|
|
708
|
-
}
|
|
709
672
|
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
}
|
|
673
|
+
.tiptap table th {
|
|
674
|
+
background-color: var(--color-muted);
|
|
675
|
+
font-weight: 600;
|
|
676
|
+
text-align: left;
|
|
677
|
+
}
|
|
716
678
|
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
}
|
|
679
|
+
.ProseMirror .column-resize-handle {
|
|
680
|
+
position: absolute;
|
|
681
|
+
top: 0;
|
|
682
|
+
right: 0;
|
|
683
|
+
width: 2px;
|
|
684
|
+
margin-inline-start: -1px;
|
|
685
|
+
margin-top: -1px;
|
|
686
|
+
height: calc(100% + 2px);
|
|
687
|
+
background: var(--tt-table-column-resize-handle-bg);
|
|
688
|
+
cursor: col-resize;
|
|
689
|
+
transition: background 150ms 50ms;
|
|
690
|
+
z-index: 1;
|
|
691
|
+
pointer-events: auto;
|
|
692
|
+
}
|
|
732
693
|
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
694
|
+
/* ================================================================================================
|
|
695
|
+
* TABLE CELL ALIGNMENT STYLES
|
|
696
|
+
* ================================================================================================ */
|
|
697
|
+
|
|
698
|
+
.tiptap [data-content-type="table"] td[data-text-align="left"],
|
|
699
|
+
.tiptap [data-content-type="table"] th[data-text-align="left"] {
|
|
700
|
+
text-align: left;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.tiptap [data-content-type="table"] td[data-text-align="center"],
|
|
704
|
+
.tiptap [data-content-type="table"] th[data-text-align="center"] {
|
|
705
|
+
text-align: center;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
.tiptap [data-content-type="table"] td[data-text-align="right"],
|
|
709
|
+
.tiptap [data-content-type="table"] th[data-text-align="right"] {
|
|
710
|
+
text-align: right;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.tiptap [data-content-type="table"] td[data-text-align="justify"],
|
|
714
|
+
.tiptap [data-content-type="table"] th[data-text-align="justify"] {
|
|
715
|
+
text-align: justify;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.tiptap [data-content-type="table"] td[data-vertical-align="top"],
|
|
719
|
+
.tiptap [data-content-type="table"] th[data-vertical-align="top"] {
|
|
720
|
+
vertical-align: top;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.tiptap [data-content-type="table"] td[data-vertical-align="middle"],
|
|
724
|
+
.tiptap [data-content-type="table"] th[data-vertical-align="middle"] {
|
|
725
|
+
vertical-align: middle;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
.tiptap [data-content-type="table"] td[data-vertical-align="bottom"],
|
|
729
|
+
.tiptap [data-content-type="table"] th[data-vertical-align="bottom"] {
|
|
730
|
+
vertical-align: bottom;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
/* tiptap uses colwidth instead of data-colwidth, se we need to adjust this style from prosemirror-tables */
|
|
734
|
+
.ProseMirror td,
|
|
735
|
+
.ProseMirror th {
|
|
736
|
+
min-width: auto !important;
|
|
737
|
+
}
|
|
738
|
+
.ProseMirror td:not([colwidth]):not(.column-resize-dragging),
|
|
739
|
+
.ProseMirror th:not([colwidth]):not(.column-resize-dragging) {
|
|
740
|
+
/* if there's no explicit width set and the column is not being resized, set a default width */
|
|
741
|
+
min-width: var(--default-cell-min-width) !important;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
.tiptap-table-dropcursor {
|
|
745
|
+
position: absolute;
|
|
746
|
+
z-index: 20;
|
|
747
|
+
background-color: var(--tt-table-column-resize-handle-bg);
|
|
748
|
+
pointer-events: none;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.table-cell-dragging-source {
|
|
752
|
+
z-index: 2;
|
|
753
|
+
position: absolute;
|
|
754
|
+
content: "";
|
|
755
|
+
left: 0;
|
|
756
|
+
right: 0;
|
|
757
|
+
top: 0;
|
|
758
|
+
bottom: 0;
|
|
759
|
+
background: rgba(40, 137, 207, 0.4);
|
|
740
760
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -76,5 +76,6 @@ export { ToggleRowSlots, ToggleRowVariantProps, toggleRow } from './components/t
|
|
|
76
76
|
export { ToolbarVariantProps, toolbar } from './components/toolbar.mjs';
|
|
77
77
|
export { TooltipVariants, tooltip } from './components/tooltip.mjs';
|
|
78
78
|
export { VariableNodeVariants, variableNode } from './components/variable-node.mjs';
|
|
79
|
+
export { extensionTableHandleMenuContent, tableCellHandleMenu } from './components/extension-table.mjs';
|
|
79
80
|
export { SlotsToClasses } from './utils/types.mjs';
|
|
80
81
|
import 'tailwind-merge';
|
package/dist/index.d.ts
CHANGED
|
@@ -76,5 +76,6 @@ export { ToggleRowSlots, ToggleRowVariantProps, toggleRow } from './components/t
|
|
|
76
76
|
export { ToolbarVariantProps, toolbar } from './components/toolbar.js';
|
|
77
77
|
export { TooltipVariants, tooltip } from './components/tooltip.js';
|
|
78
78
|
export { VariableNodeVariants, variableNode } from './components/variable-node.js';
|
|
79
|
+
export { extensionTableHandleMenuContent, tableCellHandleMenu } from './components/extension-table.js';
|
|
79
80
|
export { SlotsToClasses } from './utils/types.js';
|
|
80
81
|
import 'tailwind-merge';
|