arxatec-ui 0.1.21 → 0.1.23
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/components/rich_text_editor/extensions/block_drag_handle/index.d.ts +5 -0
- package/dist/components/rich_text_editor/extensions/image_placeholder/components/index.d.ts +1 -0
- package/dist/components/rich_text_editor/extensions/image_placeholder/components/node_view/index.d.ts +2 -0
- package/dist/components/rich_text_editor/extensions/image_placeholder/index.d.ts +0 -3
- package/dist/components/rich_text_editor/extensions/index.d.ts +2 -0
- package/dist/components/rich_text_editor/extensions/table_side_controls/index.d.ts +2 -0
- package/dist/components/rich_text_editor/extensions/table_side_controls/table_cell_menu.d.ts +9 -0
- package/dist/components/rich_text_editor/toolbars/editor_toolbar/index.d.ts +2 -1
- package/dist/components/rich_text_editor/toolbars/formatting_styles_popover/index.d.ts +1 -0
- package/dist/components/rich_text_editor/toolbars/index.d.ts +1 -0
- package/dist/hooks/use_image_upload/index.d.ts +3 -2
- package/dist/index.js +3425 -2879
- package/dist/index.js.map +1 -1
- package/dist/styles.css +356 -78
- package/package.json +9 -2
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap");
|
|
2
2
|
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap");
|
|
3
|
+
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap");
|
|
3
4
|
@import "tailwindcss";
|
|
4
5
|
@source ".";
|
|
5
6
|
@import "tw-animate-css";
|
|
@@ -10,6 +11,7 @@
|
|
|
10
11
|
@theme inline {
|
|
11
12
|
--font-serif: "Cormorant Garamond", serif;
|
|
12
13
|
--font-sans: "Source Sans 3", sans-serif;
|
|
14
|
+
--font-mono: "JetBrains Mono", monospace;
|
|
13
15
|
--radius-sm: calc(var(--radius) - 4px);
|
|
14
16
|
--radius-md: calc(var(--radius) - 2px);
|
|
15
17
|
--radius-lg: var(--radius);
|
|
@@ -61,10 +63,14 @@
|
|
|
61
63
|
/* Status colors card */
|
|
62
64
|
--color-status-card-background-error: var(--status-card-background-error);
|
|
63
65
|
--color-status-card-foreground-error: var(--status-card-foreground-error);
|
|
64
|
-
--color-status-card-background-icon-error: var(
|
|
66
|
+
--color-status-card-background-icon-error: var(
|
|
67
|
+
--status-card-background-icon-error
|
|
68
|
+
);
|
|
65
69
|
--color-status-card-background-empty: var(--status-card-background-empty);
|
|
66
70
|
--color-status-card-foreground-empty: var(--status-card-foreground-empty);
|
|
67
|
-
--color-status-card-background-icon-empty: var(
|
|
71
|
+
--color-status-card-background-icon-empty: var(
|
|
72
|
+
--status-card-background-icon-empty
|
|
73
|
+
);
|
|
68
74
|
|
|
69
75
|
/* Calendar colors */
|
|
70
76
|
--color-calendar-color-gray: var(--calendar-color-gray);
|
|
@@ -78,7 +84,6 @@
|
|
|
78
84
|
--color-calendar-color-green: var(--calendar-color-green);
|
|
79
85
|
--color-calendar-color-lime: var(--calendar-color-lime);
|
|
80
86
|
|
|
81
|
-
|
|
82
87
|
/* Case urgency colors*/
|
|
83
88
|
--color-case-urgency-high-background: var(--case-urgency-high-background);
|
|
84
89
|
--color-case-urgency-high-foreground: var(--case-urgency-high-foreground);
|
|
@@ -86,24 +91,48 @@
|
|
|
86
91
|
--color-case-urgency-medium-foreground: var(--case-urgency-medium-foreground);
|
|
87
92
|
--color-case-urgency-low-background: var(--case-urgency-low-background);
|
|
88
93
|
--color-case-urgency-low-foreground: var(--case-urgency-low-foreground);
|
|
89
|
-
--color-case-urgency-critical-background: var(
|
|
90
|
-
|
|
94
|
+
--color-case-urgency-critical-background: var(
|
|
95
|
+
--case-urgency-critical-background
|
|
96
|
+
);
|
|
97
|
+
--color-case-urgency-critical-foreground: var(
|
|
98
|
+
--case-urgency-critical-foreground
|
|
99
|
+
);
|
|
91
100
|
|
|
92
101
|
/* Case status colors */
|
|
93
102
|
--color-case-status-open-background: var(--case-status-open-background);
|
|
94
103
|
--color-case-status-open-foreground: var(--case-status-open-foreground);
|
|
95
|
-
--color-case-status-in-progress-background: var(
|
|
96
|
-
|
|
104
|
+
--color-case-status-in-progress-background: var(
|
|
105
|
+
--case-status-in-progress-background
|
|
106
|
+
);
|
|
107
|
+
--color-case-status-in-progress-foreground: var(
|
|
108
|
+
--case-status-in-progress-foreground
|
|
109
|
+
);
|
|
97
110
|
--color-case-status-closed-background: var(--case-status-closed-background);
|
|
98
111
|
--color-case-status-closed-foreground: var(--case-status-closed-foreground);
|
|
99
|
-
--color-case-status-archived-background: var(
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
--color-case-status-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
--color-case-status-
|
|
106
|
-
|
|
112
|
+
--color-case-status-archived-background: var(
|
|
113
|
+
--case-status-archived-background
|
|
114
|
+
);
|
|
115
|
+
--color-case-status-archived-foreground: var(
|
|
116
|
+
--case-status-archived-foreground
|
|
117
|
+
);
|
|
118
|
+
--color-case-status-under-negotiation-background: var(
|
|
119
|
+
--case-status-under-negotiation-background
|
|
120
|
+
);
|
|
121
|
+
--color-case-status-under-negotiation-foreground: var(
|
|
122
|
+
--case-status-under-negotiation-foreground
|
|
123
|
+
);
|
|
124
|
+
--color-case-status-waiting-for-customer-background: var(
|
|
125
|
+
--case-status-waiting-for-customer-background
|
|
126
|
+
);
|
|
127
|
+
--color-case-status-waiting-for-customer-foreground: var(
|
|
128
|
+
--case-status-waiting-for-customer-foreground
|
|
129
|
+
);
|
|
130
|
+
--color-case-status-awaiting-trial-background: var(
|
|
131
|
+
--case-status-awaiting-trial-background
|
|
132
|
+
);
|
|
133
|
+
--color-case-status-awaiting-trial-foreground: var(
|
|
134
|
+
--case-status-awaiting-trial-foreground
|
|
135
|
+
);
|
|
107
136
|
--color-case-status-waiting-background: var(--case-status-waiting-background);
|
|
108
137
|
--color-case-status-waiting-foreground: var(--case-status-waiting-foreground);
|
|
109
138
|
|
|
@@ -123,8 +152,12 @@
|
|
|
123
152
|
/* Finances type colors */
|
|
124
153
|
--color-finance-type-income-background: var(--finance-type-income-background);
|
|
125
154
|
--color-finance-type-income-foreground: var(--finance-type-income-foreground);
|
|
126
|
-
--color-finance-type-expense-background: var(
|
|
127
|
-
|
|
155
|
+
--color-finance-type-expense-background: var(
|
|
156
|
+
--finance-type-expense-background
|
|
157
|
+
);
|
|
158
|
+
--color-finance-type-expense-foreground: var(
|
|
159
|
+
--finance-type-expense-foreground
|
|
160
|
+
);
|
|
128
161
|
|
|
129
162
|
/* Task tag colors */
|
|
130
163
|
|
|
@@ -161,14 +194,22 @@
|
|
|
161
194
|
--color-task-priority-foreground-low: var(--task-priority-foreground-low);
|
|
162
195
|
--color-task-priority-background-low: var(--task-priority-background-low);
|
|
163
196
|
|
|
164
|
-
--color-task-priority-foreground-medium: var(
|
|
165
|
-
|
|
197
|
+
--color-task-priority-foreground-medium: var(
|
|
198
|
+
--task-priority-foreground-medium
|
|
199
|
+
);
|
|
200
|
+
--color-task-priority-background-medium: var(
|
|
201
|
+
--task-priority-background-medium
|
|
202
|
+
);
|
|
166
203
|
|
|
167
204
|
--color-task-priority-foreground-high: var(--task-priority-foreground-high);
|
|
168
205
|
--color-task-priority-background-high: var(--task-priority-background-high);
|
|
169
206
|
|
|
170
|
-
--color-task-priority-foreground-critical: var(
|
|
171
|
-
|
|
207
|
+
--color-task-priority-foreground-critical: var(
|
|
208
|
+
--task-priority-foreground-critical
|
|
209
|
+
);
|
|
210
|
+
--color-task-priority-background-critical: var(
|
|
211
|
+
--task-priority-background-critical
|
|
212
|
+
);
|
|
172
213
|
}
|
|
173
214
|
|
|
174
215
|
:root {
|
|
@@ -188,8 +229,8 @@
|
|
|
188
229
|
--accent: oklch(0.97 0 0);
|
|
189
230
|
--accent-foreground: oklch(0.205 0 0);
|
|
190
231
|
--destructive: oklch(0.577 0.245 27.325);
|
|
191
|
-
--border: oklch(0.
|
|
192
|
-
--input: oklch(0.
|
|
232
|
+
--border: oklch(0.962 0 0);
|
|
233
|
+
--input: oklch(0.952 0 0);
|
|
193
234
|
--ring: oklch(0.708 0 0);
|
|
194
235
|
--chart-1: oklch(0.646 0.222 41.116);
|
|
195
236
|
--chart-2: oklch(0.6 0.118 184.704);
|
|
@@ -202,7 +243,7 @@
|
|
|
202
243
|
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
203
244
|
--sidebar-accent: oklch(0.97 0 0);
|
|
204
245
|
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
205
|
-
--sidebar-border: oklch(0.
|
|
246
|
+
--sidebar-border: oklch(0.962 0 0);
|
|
206
247
|
--sidebar-ring: oklch(0.708 0 0);
|
|
207
248
|
|
|
208
249
|
/* Status colors for toast an messages*/
|
|
@@ -228,7 +269,7 @@
|
|
|
228
269
|
/* Calendar colors */
|
|
229
270
|
--calendar-color-gray: oklch(55.6% 0 0);
|
|
230
271
|
--calendar-color-red: oklch(57.7% 0.245 27.325);
|
|
231
|
-
--calendar-color-yellow: oklch(76.9% 0.188 70.08)
|
|
272
|
+
--calendar-color-yellow: oklch(76.9% 0.188 70.08);
|
|
232
273
|
--calendar-color-orange: oklch(70.5% 0.213 47.604);
|
|
233
274
|
--calendar-color-purple: oklch(55.8% 0.288 302.321);
|
|
234
275
|
--calendar-color-blue: oklch(62.3% 0.214 259.815);
|
|
@@ -263,7 +304,7 @@
|
|
|
263
304
|
--case-status-awaiting-trial-background: oklch(91% 0.01 260);
|
|
264
305
|
--case-status-awaiting-trial-foreground: oklch(29% 0.01 260);
|
|
265
306
|
--case-status-waiting-background: oklch(86% 0.01 260);
|
|
266
|
-
--case-status-waiting-foreground: oklch(33% 0.01 260);
|
|
307
|
+
--case-status-waiting-foreground: oklch(33% 0.01 260);
|
|
267
308
|
|
|
268
309
|
/* Documents selector colors */
|
|
269
310
|
--selector-rectangle: oklch(90.1% 0.058 230.902);
|
|
@@ -272,11 +313,11 @@
|
|
|
272
313
|
|
|
273
314
|
/* License status colors */
|
|
274
315
|
--license-valid-foreground: oklch(0.205 0 0);
|
|
275
|
-
--license-valid-background:oklch(0.97 0 0);
|
|
316
|
+
--license-valid-background: oklch(0.97 0 0);
|
|
276
317
|
--license-invalid-foreground: oklch(64.5% 0.246 16.439);
|
|
277
318
|
--license-invalid-background: oklch(94.1% 0.03 12.58);
|
|
278
319
|
--license-no-config-foreground: oklch(68.5% 0.169 237.323);
|
|
279
|
-
--license-no-config-background:oklch(95.1% 0.026 236.824);
|
|
320
|
+
--license-no-config-background: oklch(95.1% 0.026 236.824);
|
|
280
321
|
|
|
281
322
|
/* Finances type colors */
|
|
282
323
|
--finance-type-income-background: oklch(96.2% 0.044 156.743);
|
|
@@ -318,15 +359,19 @@
|
|
|
318
359
|
--editor-spacing-8: 2rem;
|
|
319
360
|
--editor-spacing-12: 3rem;
|
|
320
361
|
--editor-spacing-16: 4rem;
|
|
321
|
-
--editor-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
|
322
|
-
|
|
362
|
+
--editor-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
|
363
|
+
Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
364
|
+
--editor-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
365
|
+
monospace;
|
|
323
366
|
--editor-font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
|
|
324
367
|
--editor-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
325
368
|
--editor-transition-normal: 200ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
326
369
|
--editor-transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
327
370
|
--editor-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
328
|
-
--editor-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
329
|
-
|
|
371
|
+
--editor-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
372
|
+
0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
373
|
+
--editor-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
|
|
374
|
+
0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
330
375
|
|
|
331
376
|
/* Task tag colors */
|
|
332
377
|
--task-tag-foreground-gray: oklch(32% 0.018 260);
|
|
@@ -373,36 +418,36 @@
|
|
|
373
418
|
}
|
|
374
419
|
|
|
375
420
|
.dark {
|
|
376
|
-
--background: oklch(0.
|
|
421
|
+
--background: oklch(0.116 0 0);
|
|
377
422
|
--foreground: oklch(0.985 0 0);
|
|
378
|
-
--card: oklch(0.
|
|
423
|
+
--card: oklch(0.164 0 0);
|
|
379
424
|
--card-foreground: oklch(0.985 0 0);
|
|
380
|
-
--popover: oklch(0.
|
|
425
|
+
--popover: oklch(0.164 0 0);
|
|
381
426
|
--popover-foreground: oklch(0.985 0 0);
|
|
382
427
|
--primary: oklch(0.922 0 0);
|
|
383
|
-
--primary-foreground: oklch(0.
|
|
384
|
-
--secondary: oklch(0.
|
|
428
|
+
--primary-foreground: oklch(0.164 0 0);
|
|
429
|
+
--secondary: oklch(0.215 0 0);
|
|
385
430
|
--secondary-foreground: oklch(0.708 0 0);
|
|
386
|
-
--muted: oklch(0.
|
|
431
|
+
--muted: oklch(0.215 0 0);
|
|
387
432
|
--muted-foreground: oklch(0.708 0 0);
|
|
388
|
-
--accent: oklch(0.
|
|
433
|
+
--accent: oklch(0.215 0 0);
|
|
389
434
|
--accent-foreground: oklch(0.985 0 0);
|
|
390
435
|
--destructive: oklch(0.704 0.191 22.216);
|
|
391
|
-
--border: oklch(1 0 0 /
|
|
392
|
-
--input: oklch(1 0 0 /
|
|
436
|
+
--border: oklch(1 0 0 / 2.4%);
|
|
437
|
+
--input: oklch(1 0 0 / 12%);
|
|
393
438
|
--ring: oklch(0.556 0 0);
|
|
394
439
|
--chart-1: oklch(0.488 0.243 264.376);
|
|
395
440
|
--chart-2: oklch(0.696 0.17 162.48);
|
|
396
441
|
--chart-3: oklch(0.769 0.188 70.08);
|
|
397
442
|
--chart-4: oklch(0.627 0.265 303.9);
|
|
398
443
|
--chart-5: oklch(0.645 0.246 16.439);
|
|
399
|
-
--sidebar: oklch(0.
|
|
444
|
+
--sidebar: oklch(0.164 0 0);
|
|
400
445
|
--sidebar-foreground: oklch(0.985 0 0);
|
|
401
446
|
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
402
447
|
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
403
|
-
--sidebar-accent: oklch(0.
|
|
448
|
+
--sidebar-accent: oklch(0.215 0 0);
|
|
404
449
|
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
405
|
-
--sidebar-border: oklch(1 0 0 /
|
|
450
|
+
--sidebar-border: oklch(1 0 0 / 2.4%);
|
|
406
451
|
--sidebar-ring: oklch(0.556 0 0);
|
|
407
452
|
|
|
408
453
|
/* Status colors for toast and messages */
|
|
@@ -414,21 +459,21 @@
|
|
|
414
459
|
--status-foreground-warning: oklch(79.5% 0.184 86.047);
|
|
415
460
|
--status-background-info: oklch(29.3% 0.066 243.157);
|
|
416
461
|
--status-foreground-info: oklch(68.5% 0.169 237.323);
|
|
417
|
-
--status-background-loading:
|
|
462
|
+
--status-background-loading: oklch(0.215 0 0);
|
|
418
463
|
--status-foreground-loading: oklch(0.985 0 0);
|
|
419
464
|
|
|
420
465
|
/* Status colors for card */
|
|
421
|
-
--status-card-background-error:
|
|
466
|
+
--status-card-background-error: oklch(27.1% 0.105 12.094);
|
|
422
467
|
--status-card-foreground-error: oklch(64.5% 0.246 16.439);
|
|
423
|
-
--status-card-background-icon-error:oklch(33.1% 0.105 12.094);
|
|
424
|
-
--status-card-background-empty: oklch(0.
|
|
468
|
+
--status-card-background-icon-error: oklch(33.1% 0.105 12.094);
|
|
469
|
+
--status-card-background-empty: oklch(0.215 0 0);
|
|
425
470
|
--status-card-foreground-empty: oklch(0.985 0 0);
|
|
426
|
-
--status-card-background-icon-empty: oklch(0.
|
|
471
|
+
--status-card-background-icon-empty: oklch(0.256 0 0);
|
|
427
472
|
|
|
428
473
|
/* Calendar colors */
|
|
429
474
|
--calendar-color-gray: oklch(55.6% 0 0);
|
|
430
475
|
--calendar-color-red: oklch(25.8% 0.092 26.042);
|
|
431
|
-
--calendar-color-yellow: oklch(42.1% 0.095 57.708)
|
|
476
|
+
--calendar-color-yellow: oklch(42.1% 0.095 57.708);
|
|
432
477
|
--calendar-color-orange: oklch(47% 0.157 37.304);
|
|
433
478
|
--calendar-color-purple: oklch(38.1% 0.176 304.987);
|
|
434
479
|
--calendar-color-blue: oklch(37.9% 0.146 265.522);
|
|
@@ -472,7 +517,7 @@
|
|
|
472
517
|
|
|
473
518
|
/* License status colors */
|
|
474
519
|
--license-valid-foreground: oklch(0.708 0 0);
|
|
475
|
-
--license-valid-background: oklch(0.
|
|
520
|
+
--license-valid-background: oklch(0.215 0 0);
|
|
476
521
|
--license-invalid-foreground: oklch(64.5% 0.246 16.439);
|
|
477
522
|
--license-invalid-background: oklch(27.1% 0.105 12.094);
|
|
478
523
|
--license-no-config-background: oklch(29.3% 0.066 243.157);
|
|
@@ -495,21 +540,21 @@
|
|
|
495
540
|
--editor-text-purple: hsl(269 97% 85%);
|
|
496
541
|
--editor-text-pink: hsl(336 80% 58%);
|
|
497
542
|
--editor-text-red: hsl(0 84% 60%);
|
|
498
|
-
--editor-bg-default: hsl(240 10% 3.
|
|
499
|
-
--editor-bg-subtle: hsl(240 3.7%
|
|
500
|
-
--editor-bg-muted: hsl(240 5%
|
|
501
|
-
--editor-highlight-default: hsl(240 3.7%
|
|
502
|
-
--editor-highlight-gray: hsl(240 5%
|
|
503
|
-
--editor-highlight-brown: hsl(43 96%
|
|
504
|
-
--editor-highlight-orange: hsl(33 100%
|
|
505
|
-
--editor-highlight-yellow: hsl(54 100%
|
|
506
|
-
--editor-highlight-green: hsl(142 71%
|
|
507
|
-
--editor-highlight-blue: hsl(217 91%
|
|
508
|
-
--editor-highlight-purple: hsl(269 97%
|
|
509
|
-
--editor-highlight-pink: hsl(336 80%
|
|
510
|
-
--editor-highlight-red: hsl(0 84%
|
|
511
|
-
--editor-border-default: hsl(240 5%
|
|
512
|
-
--editor-border-strong: hsl(240 5%
|
|
543
|
+
--editor-bg-default: hsl(240 10% 3.1%);
|
|
544
|
+
--editor-bg-subtle: hsl(240 3.7% 12.7%);
|
|
545
|
+
--editor-bg-muted: hsl(240 5% 20.8%);
|
|
546
|
+
--editor-highlight-default: hsl(240 3.7% 12.7%);
|
|
547
|
+
--editor-highlight-gray: hsl(240 5% 20.8%);
|
|
548
|
+
--editor-highlight-brown: hsl(43 96% 8%);
|
|
549
|
+
--editor-highlight-orange: hsl(33 100% 8%);
|
|
550
|
+
--editor-highlight-yellow: hsl(54 100% 8%);
|
|
551
|
+
--editor-highlight-green: hsl(142 71% 8%);
|
|
552
|
+
--editor-highlight-blue: hsl(217 91% 8%);
|
|
553
|
+
--editor-highlight-purple: hsl(269 97% 8%);
|
|
554
|
+
--editor-highlight-pink: hsl(336 80% 8%);
|
|
555
|
+
--editor-highlight-red: hsl(0 84% 8%);
|
|
556
|
+
--editor-border-default: hsl(240 5% 20.8%);
|
|
557
|
+
--editor-border-strong: hsl(240 5% 51.9%);
|
|
513
558
|
|
|
514
559
|
/* Task colors */
|
|
515
560
|
--task-tag-foreground-gray: oklch(92% 0.01 260);
|
|
@@ -600,20 +645,21 @@
|
|
|
600
645
|
text-decoration: underline;
|
|
601
646
|
}
|
|
602
647
|
|
|
603
|
-
.prose [style*="text-align: center"],
|
|
648
|
+
.prose [style*="text-align: center"],
|
|
604
649
|
.prose .text-center {
|
|
605
650
|
text-align: center !important;
|
|
606
651
|
}
|
|
607
|
-
.prose [style*="text-align: right"],
|
|
652
|
+
.prose [style*="text-align: right"],
|
|
608
653
|
.prose .text-right {
|
|
609
654
|
text-align: right !important;
|
|
610
655
|
}
|
|
611
|
-
.prose [style*="text-align: justify"],
|
|
656
|
+
.prose [style*="text-align: justify"],
|
|
612
657
|
.prose .text-justify {
|
|
613
658
|
text-align: justify !important;
|
|
614
659
|
}
|
|
615
660
|
|
|
616
|
-
.prose ul,
|
|
661
|
+
.prose ul,
|
|
662
|
+
.prose ol {
|
|
617
663
|
padding-left: 1.5rem !important;
|
|
618
664
|
margin-top: 1rem !important;
|
|
619
665
|
margin-bottom: 1rem !important;
|
|
@@ -681,6 +727,8 @@
|
|
|
681
727
|
.prose .tableWrapper {
|
|
682
728
|
margin: 1.5rem 0;
|
|
683
729
|
overflow-x: auto;
|
|
730
|
+
border: 1px solid color-mix(in srgb, var(--color-border), transparent 55%);
|
|
731
|
+
border-radius: 8px;
|
|
684
732
|
}
|
|
685
733
|
|
|
686
734
|
.prose.resize-cursor {
|
|
@@ -712,6 +760,27 @@
|
|
|
712
760
|
box-shadow: none;
|
|
713
761
|
}
|
|
714
762
|
|
|
763
|
+
/* Resaltado al arrastrar / seleccionar nodo de bloque (drag handle) */
|
|
764
|
+
.ProseMirror-selectednode,
|
|
765
|
+
.ProseMirror-selectednoderange {
|
|
766
|
+
position: relative;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
.ProseMirror-selectednode::before,
|
|
770
|
+
.ProseMirror-selectednoderange::before {
|
|
771
|
+
content: "";
|
|
772
|
+
position: absolute;
|
|
773
|
+
inset: -2px -4px;
|
|
774
|
+
border-radius: 6px;
|
|
775
|
+
background-color: color-mix(
|
|
776
|
+
in srgb,
|
|
777
|
+
var(--editor-highlight-blue),
|
|
778
|
+
transparent 60%
|
|
779
|
+
);
|
|
780
|
+
pointer-events: none;
|
|
781
|
+
z-index: 0;
|
|
782
|
+
}
|
|
783
|
+
|
|
715
784
|
.ProseMirror .selection,
|
|
716
785
|
.ProseMirror *::selection {
|
|
717
786
|
background-color: var(--editor-highlight-blue);
|
|
@@ -797,6 +866,12 @@
|
|
|
797
866
|
border: 1px solid var(--editor-border-default);
|
|
798
867
|
}
|
|
799
868
|
|
|
869
|
+
/* @tailwindcss/typography decora `code` dentro de .prose con backticks en ::before/::after */
|
|
870
|
+
.prose .ProseMirror code::before,
|
|
871
|
+
.prose .ProseMirror code::after {
|
|
872
|
+
content: none;
|
|
873
|
+
}
|
|
874
|
+
|
|
800
875
|
.ProseMirror pre {
|
|
801
876
|
margin: var(--editor-spacing-6) 0;
|
|
802
877
|
padding: var(--editor-spacing-4);
|
|
@@ -860,6 +935,23 @@
|
|
|
860
935
|
list-style-type: lower-roman;
|
|
861
936
|
}
|
|
862
937
|
|
|
938
|
+
.ProseMirror .tableWrapper {
|
|
939
|
+
position: relative;
|
|
940
|
+
margin: var(--editor-spacing-6) 0;
|
|
941
|
+
max-width: 100%;
|
|
942
|
+
overflow-x: auto;
|
|
943
|
+
overflow-y: visible;
|
|
944
|
+
border: 1px solid
|
|
945
|
+
color-mix(in srgb, var(--editor-border-default), transparent 50%);
|
|
946
|
+
border-radius: 8px;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
.ProseMirror .tableWrapper > table {
|
|
950
|
+
margin: 0;
|
|
951
|
+
border: none;
|
|
952
|
+
border-radius: 0;
|
|
953
|
+
}
|
|
954
|
+
|
|
863
955
|
.ProseMirror table {
|
|
864
956
|
width: 100%;
|
|
865
957
|
border-collapse: separate;
|
|
@@ -870,28 +962,213 @@
|
|
|
870
962
|
overflow: hidden;
|
|
871
963
|
}
|
|
872
964
|
|
|
873
|
-
.ProseMirror th
|
|
874
|
-
background-color: var(--editor-bg-subtle);
|
|
875
|
-
font-weight: 600;
|
|
876
|
-
text-align: left;
|
|
877
|
-
padding: var(--editor-spacing-3) var(--editor-spacing-4);
|
|
878
|
-
border-bottom: 2px solid var(--editor-border-default);
|
|
879
|
-
}
|
|
880
|
-
|
|
965
|
+
.ProseMirror th,
|
|
881
966
|
.ProseMirror td {
|
|
967
|
+
font-weight: 400;
|
|
968
|
+
text-align: left;
|
|
882
969
|
padding: var(--editor-spacing-3) var(--editor-spacing-4);
|
|
883
970
|
border-bottom: 1px solid var(--editor-border-default);
|
|
884
971
|
transition: background-color var(--editor-transition-fast);
|
|
885
972
|
}
|
|
886
973
|
|
|
974
|
+
.ProseMirror tr:last-child th,
|
|
887
975
|
.ProseMirror tr:last-child td {
|
|
888
976
|
border-bottom: none;
|
|
889
977
|
}
|
|
890
978
|
|
|
979
|
+
.ProseMirror tr:hover th,
|
|
891
980
|
.ProseMirror tr:hover td {
|
|
892
981
|
background-color: var(--editor-bg-subtle);
|
|
893
982
|
}
|
|
894
983
|
|
|
984
|
+
.ProseMirror th.table-side-controls-selected-cell,
|
|
985
|
+
.ProseMirror td.table-side-controls-selected-cell {
|
|
986
|
+
border-color: var(--editor-text-blue) !important;
|
|
987
|
+
box-shadow: inset 0 0 0 1px var(--editor-text-blue);
|
|
988
|
+
outline: 1px solid var(--editor-text-blue);
|
|
989
|
+
outline-offset: -1px;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
.ProseMirror th.selectedCell::after,
|
|
993
|
+
.ProseMirror td.selectedCell::after {
|
|
994
|
+
background: transparent !important;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.table-side-controls-cell-action {
|
|
998
|
+
position: fixed;
|
|
999
|
+
z-index: 21;
|
|
1000
|
+
width: 12px;
|
|
1001
|
+
height: 18px;
|
|
1002
|
+
border: 1px solid var(--editor-text-blue);
|
|
1003
|
+
border-radius: 999px;
|
|
1004
|
+
background: var(--editor-text-blue);
|
|
1005
|
+
color: var(--editor-bg-default);
|
|
1006
|
+
display: flex;
|
|
1007
|
+
align-items: center;
|
|
1008
|
+
justify-content: center;
|
|
1009
|
+
cursor: pointer;
|
|
1010
|
+
font-size: 10px;
|
|
1011
|
+
font-weight: 700;
|
|
1012
|
+
line-height: 1;
|
|
1013
|
+
opacity: 0;
|
|
1014
|
+
transform: translateY(-50%);
|
|
1015
|
+
animation: table-side-controls-cell-action-appear 120ms ease-out forwards;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
.table-side-controls-cell-action:hover {
|
|
1019
|
+
background: var(--editor-text-blue);
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
.table-side-controls-multi-cell-selection {
|
|
1023
|
+
position: fixed;
|
|
1024
|
+
z-index: 21;
|
|
1025
|
+
border: 1px solid var(--editor-text-blue);
|
|
1026
|
+
pointer-events: none;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
.table-cell-menu {
|
|
1030
|
+
position: fixed;
|
|
1031
|
+
z-index: 30;
|
|
1032
|
+
width: 1px;
|
|
1033
|
+
height: 1px;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
.table-cell-menu-main {
|
|
1037
|
+
width: 190px;
|
|
1038
|
+
padding: 4px;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
.table-cell-menu-panel {
|
|
1042
|
+
width: 222px;
|
|
1043
|
+
max-height: min(620px, calc(100vh - 24px));
|
|
1044
|
+
padding: 4px;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
.table-cell-menu-item,
|
|
1048
|
+
.table-cell-menu-color-item {
|
|
1049
|
+
width: 100%;
|
|
1050
|
+
min-height: 28px;
|
|
1051
|
+
cursor: pointer;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
.table-cell-menu-icon {
|
|
1055
|
+
width: 16px;
|
|
1056
|
+
height: 16px;
|
|
1057
|
+
flex: 0 0 auto;
|
|
1058
|
+
color: var(--editor-text-gray);
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
.table-cell-menu-title {
|
|
1062
|
+
padding: 6px 8px 4px;
|
|
1063
|
+
color: var(--editor-text-gray);
|
|
1064
|
+
font-size: 12px;
|
|
1065
|
+
font-weight: 600;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
.table-cell-menu-list {
|
|
1069
|
+
display: flex;
|
|
1070
|
+
flex-direction: column;
|
|
1071
|
+
gap: 1px;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
.table-cell-menu-color-swatch {
|
|
1075
|
+
width: 26px;
|
|
1076
|
+
height: 26px;
|
|
1077
|
+
border: 1px solid var(--editor-border-default);
|
|
1078
|
+
border-radius: 6px;
|
|
1079
|
+
display: inline-flex;
|
|
1080
|
+
align-items: center;
|
|
1081
|
+
justify-content: center;
|
|
1082
|
+
flex: 0 0 auto;
|
|
1083
|
+
font-weight: 700;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
.table-side-controls-add-column {
|
|
1087
|
+
position: fixed;
|
|
1088
|
+
z-index: 20;
|
|
1089
|
+
width: 22px;
|
|
1090
|
+
min-height: 26px;
|
|
1091
|
+
border: 1px solid var(--editor-border-default);
|
|
1092
|
+
border-radius: 6px;
|
|
1093
|
+
background: var(--editor-bg-default);
|
|
1094
|
+
color: var(--editor-text-default);
|
|
1095
|
+
display: flex;
|
|
1096
|
+
align-items: center;
|
|
1097
|
+
justify-content: center;
|
|
1098
|
+
cursor: pointer;
|
|
1099
|
+
font-size: 15px;
|
|
1100
|
+
line-height: 1;
|
|
1101
|
+
box-shadow: var(--editor-shadow-sm);
|
|
1102
|
+
opacity: 0;
|
|
1103
|
+
animation: table-side-controls-appear 140ms ease-out forwards;
|
|
1104
|
+
transition: background-color var(--editor-transition-fast),
|
|
1105
|
+
color var(--editor-transition-fast),
|
|
1106
|
+
box-shadow var(--editor-transition-fast);
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
.table-side-controls-add-column:hover {
|
|
1110
|
+
background: var(--editor-bg-subtle);
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
.table-side-controls-add-row {
|
|
1114
|
+
position: fixed;
|
|
1115
|
+
z-index: 20;
|
|
1116
|
+
height: 26px;
|
|
1117
|
+
border: 1px solid var(--editor-border-default);
|
|
1118
|
+
border-radius: 6px;
|
|
1119
|
+
background: var(--editor-bg-default);
|
|
1120
|
+
color: var(--editor-text-default);
|
|
1121
|
+
display: flex;
|
|
1122
|
+
align-items: center;
|
|
1123
|
+
justify-content: center;
|
|
1124
|
+
cursor: pointer;
|
|
1125
|
+
font-size: 15px;
|
|
1126
|
+
line-height: 1;
|
|
1127
|
+
box-shadow: var(--editor-shadow-sm);
|
|
1128
|
+
opacity: 0;
|
|
1129
|
+
animation: table-side-controls-appear-row 140ms ease-out forwards;
|
|
1130
|
+
transition: background-color var(--editor-transition-fast),
|
|
1131
|
+
color var(--editor-transition-fast),
|
|
1132
|
+
box-shadow var(--editor-transition-fast);
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
.table-side-controls-add-row:hover {
|
|
1136
|
+
background: var(--editor-bg-subtle);
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
@keyframes table-side-controls-appear {
|
|
1140
|
+
from {
|
|
1141
|
+
opacity: 0;
|
|
1142
|
+
transform: translateX(-4px);
|
|
1143
|
+
}
|
|
1144
|
+
to {
|
|
1145
|
+
opacity: 1;
|
|
1146
|
+
transform: translateX(0);
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
@keyframes table-side-controls-appear-row {
|
|
1151
|
+
from {
|
|
1152
|
+
opacity: 0;
|
|
1153
|
+
transform: translateY(-4px);
|
|
1154
|
+
}
|
|
1155
|
+
to {
|
|
1156
|
+
opacity: 1;
|
|
1157
|
+
transform: translateY(0);
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
@keyframes table-side-controls-cell-action-appear {
|
|
1162
|
+
from {
|
|
1163
|
+
opacity: 0;
|
|
1164
|
+
transform: translate(-2px, -50%);
|
|
1165
|
+
}
|
|
1166
|
+
to {
|
|
1167
|
+
opacity: 1;
|
|
1168
|
+
transform: translate(0, -50%);
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
|
|
895
1172
|
.ProseMirror img {
|
|
896
1173
|
max-width: 100%;
|
|
897
1174
|
height: auto;
|
|
@@ -1036,5 +1313,6 @@
|
|
|
1036
1313
|
height: 0;
|
|
1037
1314
|
pointer-events: none;
|
|
1038
1315
|
}
|
|
1316
|
+
|
|
1039
1317
|
._wrapper_ctoxj_2 .ProseMirror{max-width:none;min-height:0;font-size:.875rem;line-height:1rem;font-family:var(--font-sans);background:0 0;outline:none;margin:0;padding:.375rem .75rem}._wrapper_ctoxj_2{min-height:2.5rem}._wrapper_ctoxj_2 .ProseMirror p,._wrapper_ctoxj_2 .ProseMirror li,._wrapper_ctoxj_2 .ProseMirror blockquote,._wrapper_ctoxj_2 .ProseMirror code,._wrapper_ctoxj_2 .ProseMirror strong,._wrapper_ctoxj_2 .ProseMirror em,._wrapper_ctoxj_2 .ProseMirror u{margin:.5rem 0;font-size:.9rem;line-height:1rem}._wrapper_ctoxj_2 .ProseMirror h1{margin:.375rem 0 .25rem;font-size:1.125rem;font-weight:600;line-height:1.35}._wrapper_ctoxj_2 .ProseMirror h2{margin:.375rem 0 .25rem;font-size:1.05rem;font-weight:600;line-height:1.35}._wrapper_ctoxj_2 .ProseMirror h3{margin:.35rem 0 .2rem;font-size:.95rem;font-weight:600;line-height:1.3}._wrapper_ctoxj_2 .ProseMirror h4{margin:.3rem 0 .15rem;font-size:.875rem;font-weight:600;line-height:1.3}._wrapper_ctoxj_2 .ProseMirror h5,._wrapper_ctoxj_2 .ProseMirror h6{margin:.25rem 0;font-size:.875rem;font-weight:600;line-height:1.25}._wrapper_ctoxj_2 .ProseMirror p{margin:.125rem 0}._wrapper_ctoxj_2 .ProseMirror ul,._wrapper_ctoxj_2 .ProseMirror ol{margin:.25rem 0;padding-left:1.25rem}._wrapper_ctoxj_2 .ProseMirror li{margin:0}._wrapper_ctoxj_2 .ProseMirror blockquote{border-left-width:2px;margin:.25rem 0;padding-left:.75rem}._wrapper_ctoxj_2 .ProseMirror code{font-size:.8125rem}._wrapper_ctoxj_2 .ProseMirror .is-description-editor-empty:before{content:attr(data-placeholder);float:left;pointer-events:none;height:0;color:var(--color-muted-foreground);font-size:.9rem}
|
|
1040
1318
|
/*$vite$:1*/
|