@jbpark/live-editor 2.0.4 → 2.1.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/{ast-BhbOxomw.js → ast-CAhr9WXv.js} +78 -20
- package/dist/ast-CAhr9WXv.js.map +1 -0
- package/dist/{boundary-DOBK2HnX.js → boundary-DQiKrXhI.js} +2 -2
- package/dist/{boundary-DOBK2HnX.js.map → boundary-DQiKrXhI.js.map} +1 -1
- package/dist/{context-DOMX_RsU.js → context-CJ0_ptf4.js} +3 -3
- package/dist/{context-DOMX_RsU.js.map → context-CJ0_ptf4.js.map} +1 -1
- package/dist/core-D5Hn-6ow.js +123 -0
- package/dist/core-D5Hn-6ow.js.map +1 -0
- package/dist/dnd/index.d.ts +1 -1
- package/dist/dnd/index.js +1 -1
- package/dist/{dnd-E8LbmRfE.js → dnd-C1YGcp4k.js} +138 -86
- package/dist/dnd-C1YGcp4k.js.map +1 -0
- package/dist/{document-Ddw-tfnt.js → document-CgUTKVQo.js} +11 -9
- package/dist/document-CgUTKVQo.js.map +1 -0
- package/dist/editor/index.js +2 -2
- package/dist/{editor-ka05eWyz.js → editor-Ds-mUYs_.js} +3 -3
- package/dist/{editor-ka05eWyz.js.map → editor-Ds-mUYs_.js.map} +1 -1
- package/dist/error/index.js +2 -2
- package/dist/{error-fzPGTaFe.js → error-B5MciRP7.js} +2 -2
- package/dist/{error-fzPGTaFe.js.map → error-B5MciRP7.js.map} +1 -1
- package/dist/{index-2CUWhF-T.d.ts → index-9bvWkK07.d.ts} +2 -2
- package/dist/{index-FKgYmeNR.d.ts → index-GuEiafMN.d.ts} +29 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/preview/index.js +1 -1
- package/dist/{preview-EsfzEjis.js → preview-DtBbnlwy.js} +4 -4
- package/dist/{preview-EsfzEjis.js.map → preview-DtBbnlwy.js.map} +1 -1
- package/dist/provider/index.js +1 -1
- package/dist/style.css +448 -60
- package/dist/{use-dynamic-tailwind-CRMGuKnH.js → use-dynamic-tailwind-cdaivJXJ.js} +2 -2
- package/dist/{use-dynamic-tailwind-CRMGuKnH.js.map → use-dynamic-tailwind-cdaivJXJ.js.map} +1 -1
- package/dist/utils/ast/index.d.ts +2 -2
- package/dist/utils/ast/index.js +2 -2
- package/dist/utils/index.js +2 -2
- package/dist/{utils-B6zpA7mT.js → utils-DbfbS1yV.js} +2 -2
- package/dist/{utils-B6zpA7mT.js.map → utils-DbfbS1yV.js.map} +1 -1
- package/package.json +20 -9
- package/dist/ast-BhbOxomw.js.map +0 -1
- package/dist/core-D-ZvVhdn.js +0 -11195
- package/dist/core-D-ZvVhdn.js.map +0 -1
- package/dist/dnd-E8LbmRfE.js.map +0 -1
- package/dist/document-Ddw-tfnt.js.map +0 -1
package/dist/style.css
CHANGED
|
@@ -520,12 +520,16 @@
|
|
|
520
520
|
--font-mono: var(--font-geist-mono);
|
|
521
521
|
--color-red-400: oklch(70.4% .191 22.216);
|
|
522
522
|
--color-yellow-400: oklch(85.2% .199 91.936);
|
|
523
|
-
--color-yellow-500: oklch(79.5% .184 86.047);
|
|
524
|
-
--color-yellow-600: oklch(68.1% .162 75.834);
|
|
525
523
|
--color-green-400: oklch(79.2% .209 151.711);
|
|
526
|
-
--color-green-500: oklch(72.3% .219 149.579);
|
|
527
|
-
--color-green-600: oklch(62.7% .194 149.214);
|
|
528
524
|
--color-blue-400: oklch(70.7% .165 254.624);
|
|
525
|
+
--color-blue-600: oklch(54.6% .245 262.881);
|
|
526
|
+
--color-gray-100: oklch(96.7% .003 264.542);
|
|
527
|
+
--color-gray-200: oklch(92.8% .006 264.531);
|
|
528
|
+
--color-gray-300: oklch(87.2% .01 258.338);
|
|
529
|
+
--color-gray-400: oklch(70.7% .022 261.325);
|
|
530
|
+
--color-gray-600: oklch(44.6% .03 256.802);
|
|
531
|
+
--color-gray-800: oklch(27.8% .033 256.848);
|
|
532
|
+
--color-gray-900: oklch(21% .034 264.665);
|
|
529
533
|
--color-black: #000;
|
|
530
534
|
--color-white: #fff;
|
|
531
535
|
--spacing: .25rem;
|
|
@@ -689,6 +693,103 @@
|
|
|
689
693
|
--btn-bg: #f59e0b;
|
|
690
694
|
}
|
|
691
695
|
|
|
696
|
+
[data-slot="badge"][data-color] {
|
|
697
|
+
--tag-fg: var(--tag-bg);
|
|
698
|
+
--tag-tint: var(--tag-bg);
|
|
699
|
+
|
|
700
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
701
|
+
--tag-tint: color-mix(in oklab, var(--tag-bg), transparent 90%);
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
[data-slot="badge"][data-color="default"] {
|
|
706
|
+
--tag-bg: var(--border);
|
|
707
|
+
--tag-tint: var(--muted);
|
|
708
|
+
--tag-fg: var(--muted-foreground);
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
[data-slot="badge"][data-color="default"][data-variant="outlined"] {
|
|
712
|
+
--tag-fg: var(--foreground);
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
[data-slot="badge"][data-color="primary"] {
|
|
716
|
+
--tag-bg: var(--primary);
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
[data-slot="badge"][data-color="danger"] {
|
|
720
|
+
--tag-bg: var(--destructive);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
[data-slot="badge"][data-color="success"] {
|
|
724
|
+
--tag-bg: oklch(72.3% .219 149.579);
|
|
725
|
+
--tag-fg: oklch(62.7% .194 149.214);
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
[data-slot="badge"][data-color="warning"] {
|
|
729
|
+
--tag-bg: oklch(79.5% .184 86.047);
|
|
730
|
+
--tag-fg: oklch(68.1% .162 75.834);
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
:is(.dark, [data-theme="dark"]) [data-slot="badge"][data-color="success"] {
|
|
734
|
+
--tag-fg: oklch(79.2% .209 151.711);
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
:is(.dark, [data-theme="dark"]) [data-slot="badge"][data-color="warning"] {
|
|
738
|
+
--tag-fg: oklch(85.2% .199 91.936);
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
[data-slot="badge"][data-color="blue"] {
|
|
742
|
+
--tag-bg: #3b82f6;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
[data-slot="badge"][data-color="purple"] {
|
|
746
|
+
--tag-bg: #a855f7;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
[data-slot="badge"][data-color="cyan"] {
|
|
750
|
+
--tag-bg: #06b6d4;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
[data-slot="badge"][data-color="green"] {
|
|
754
|
+
--tag-bg: #22c55e;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
[data-slot="badge"][data-color="magenta"] {
|
|
758
|
+
--tag-bg: #d946ef;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
[data-slot="badge"][data-color="pink"] {
|
|
762
|
+
--tag-bg: #ec4899;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
[data-slot="badge"][data-color="red"] {
|
|
766
|
+
--tag-bg: #ef4444;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
[data-slot="badge"][data-color="orange"] {
|
|
770
|
+
--tag-bg: #f97316;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
[data-slot="badge"][data-color="yellow"] {
|
|
774
|
+
--tag-bg: #eab308;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
[data-slot="badge"][data-color="volcano"] {
|
|
778
|
+
--tag-bg: #ea580c;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
[data-slot="badge"][data-color="geekblue"] {
|
|
782
|
+
--tag-bg: #6366f1;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
[data-slot="badge"][data-color="lime"] {
|
|
786
|
+
--tag-bg: #84cc16;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
[data-slot="badge"][data-color="gold"] {
|
|
790
|
+
--tag-bg: #f59e0b;
|
|
791
|
+
}
|
|
792
|
+
|
|
692
793
|
[data-slot="col"] {
|
|
693
794
|
flex-basis: calc(var(--col-span-xs) / 24 * 100%);
|
|
694
795
|
max-width: calc(var(--col-span-xs) / 24 * 100%);
|
|
@@ -1220,6 +1321,10 @@
|
|
|
1220
1321
|
min-height: calc(var(--spacing) * 16);
|
|
1221
1322
|
}
|
|
1222
1323
|
|
|
1324
|
+
.min-h-20 {
|
|
1325
|
+
min-height: calc(var(--spacing) * 20);
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1223
1328
|
.min-h-screen {
|
|
1224
1329
|
min-height: 100vh;
|
|
1225
1330
|
}
|
|
@@ -1252,10 +1357,18 @@
|
|
|
1252
1357
|
width: calc(var(--spacing) * 15);
|
|
1253
1358
|
}
|
|
1254
1359
|
|
|
1360
|
+
.w-20 {
|
|
1361
|
+
width: calc(var(--spacing) * 20);
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1255
1364
|
.w-25 {
|
|
1256
1365
|
width: calc(var(--spacing) * 25);
|
|
1257
1366
|
}
|
|
1258
1367
|
|
|
1368
|
+
.w-28 {
|
|
1369
|
+
width: calc(var(--spacing) * 28);
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1259
1372
|
.w-48 {
|
|
1260
1373
|
width: calc(var(--spacing) * 48);
|
|
1261
1374
|
}
|
|
@@ -1516,6 +1629,10 @@
|
|
|
1516
1629
|
cursor: pointer;
|
|
1517
1630
|
}
|
|
1518
1631
|
|
|
1632
|
+
.touch-none {
|
|
1633
|
+
touch-action: none;
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1519
1636
|
.resize {
|
|
1520
1637
|
resize: both;
|
|
1521
1638
|
}
|
|
@@ -1837,6 +1954,10 @@
|
|
|
1837
1954
|
border-color: var(--btn-border);
|
|
1838
1955
|
}
|
|
1839
1956
|
|
|
1957
|
+
.border-\(--tag-bg\) {
|
|
1958
|
+
border-color: var(--tag-bg);
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1840
1961
|
.border-\[color-mix\(in_oklch\,var\(--btn-border\)\,transparent_50\%\)\] {
|
|
1841
1962
|
border-color: var(--btn-border);
|
|
1842
1963
|
|
|
@@ -1861,12 +1982,8 @@
|
|
|
1861
1982
|
border-color: currentColor;
|
|
1862
1983
|
}
|
|
1863
1984
|
|
|
1864
|
-
.border-
|
|
1865
|
-
border-color: var(--
|
|
1866
|
-
}
|
|
1867
|
-
|
|
1868
|
-
.border-green-500 {
|
|
1869
|
-
border-color: var(--color-green-500);
|
|
1985
|
+
.border-gray-200 {
|
|
1986
|
+
border-color: var(--color-gray-200);
|
|
1870
1987
|
}
|
|
1871
1988
|
|
|
1872
1989
|
.border-input {
|
|
@@ -1881,14 +1998,14 @@
|
|
|
1881
1998
|
border-color: #0000;
|
|
1882
1999
|
}
|
|
1883
2000
|
|
|
1884
|
-
.border-yellow-500 {
|
|
1885
|
-
border-color: var(--color-yellow-500);
|
|
1886
|
-
}
|
|
1887
|
-
|
|
1888
2001
|
.bg-\(--btn-bg\) {
|
|
1889
2002
|
background-color: var(--btn-bg);
|
|
1890
2003
|
}
|
|
1891
2004
|
|
|
2005
|
+
.bg-\(--tag-tint\) {
|
|
2006
|
+
background-color: var(--tag-tint);
|
|
2007
|
+
}
|
|
2008
|
+
|
|
1892
2009
|
.bg-accent {
|
|
1893
2010
|
background-color: var(--accent);
|
|
1894
2011
|
}
|
|
@@ -1933,26 +2050,14 @@
|
|
|
1933
2050
|
background-color: var(--destructive);
|
|
1934
2051
|
}
|
|
1935
2052
|
|
|
1936
|
-
.bg-destructive\/10 {
|
|
1937
|
-
background-color: var(--destructive);
|
|
1938
|
-
|
|
1939
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1940
|
-
background-color: color-mix(in oklab, var(--destructive) 10%, transparent);
|
|
1941
|
-
}
|
|
1942
|
-
}
|
|
1943
|
-
|
|
1944
|
-
.bg-green-500\/10 {
|
|
1945
|
-
background-color: #00c7581a;
|
|
1946
|
-
|
|
1947
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1948
|
-
background-color: color-mix(in oklab, var(--color-green-500) 10%, transparent);
|
|
1949
|
-
}
|
|
1950
|
-
}
|
|
1951
|
-
|
|
1952
2053
|
.bg-inherit {
|
|
1953
2054
|
background-color: inherit;
|
|
1954
2055
|
}
|
|
1955
2056
|
|
|
2057
|
+
.bg-input {
|
|
2058
|
+
background-color: var(--input);
|
|
2059
|
+
}
|
|
2060
|
+
|
|
1956
2061
|
.bg-muted {
|
|
1957
2062
|
background-color: var(--muted);
|
|
1958
2063
|
}
|
|
@@ -1965,14 +2070,6 @@
|
|
|
1965
2070
|
background-color: var(--primary);
|
|
1966
2071
|
}
|
|
1967
2072
|
|
|
1968
|
-
.bg-primary\/10 {
|
|
1969
|
-
background-color: var(--primary);
|
|
1970
|
-
|
|
1971
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1972
|
-
background-color: color-mix(in oklab, var(--primary) 10%, transparent);
|
|
1973
|
-
}
|
|
1974
|
-
}
|
|
1975
|
-
|
|
1976
2073
|
.bg-primary\/20 {
|
|
1977
2074
|
background-color: var(--primary);
|
|
1978
2075
|
|
|
@@ -1989,12 +2086,8 @@
|
|
|
1989
2086
|
background-color: #0000;
|
|
1990
2087
|
}
|
|
1991
2088
|
|
|
1992
|
-
.bg-
|
|
1993
|
-
background-color:
|
|
1994
|
-
|
|
1995
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1996
|
-
background-color: color-mix(in oklab, var(--color-yellow-500) 10%, transparent);
|
|
1997
|
-
}
|
|
2089
|
+
.bg-white {
|
|
2090
|
+
background-color: var(--color-white);
|
|
1998
2091
|
}
|
|
1999
2092
|
|
|
2000
2093
|
.fill-primary {
|
|
@@ -2269,6 +2362,10 @@
|
|
|
2269
2362
|
color: var(--btn-fg);
|
|
2270
2363
|
}
|
|
2271
2364
|
|
|
2365
|
+
.text-\(--tag-fg\) {
|
|
2366
|
+
color: var(--tag-fg);
|
|
2367
|
+
}
|
|
2368
|
+
|
|
2272
2369
|
.text-accent-foreground {
|
|
2273
2370
|
color: var(--accent-foreground);
|
|
2274
2371
|
}
|
|
@@ -2293,12 +2390,12 @@
|
|
|
2293
2390
|
color: var(--foreground);
|
|
2294
2391
|
}
|
|
2295
2392
|
|
|
2296
|
-
.text-
|
|
2297
|
-
color: var(--color-
|
|
2393
|
+
.text-gray-800 {
|
|
2394
|
+
color: var(--color-gray-800);
|
|
2298
2395
|
}
|
|
2299
2396
|
|
|
2300
|
-
.text-green-
|
|
2301
|
-
color: var(--color-green-
|
|
2397
|
+
.text-green-400 {
|
|
2398
|
+
color: var(--color-green-400);
|
|
2302
2399
|
}
|
|
2303
2400
|
|
|
2304
2401
|
.text-muted-foreground {
|
|
@@ -2333,14 +2430,14 @@
|
|
|
2333
2430
|
color: var(--color-yellow-400);
|
|
2334
2431
|
}
|
|
2335
2432
|
|
|
2336
|
-
.text-yellow-600 {
|
|
2337
|
-
color: var(--color-yellow-600);
|
|
2338
|
-
}
|
|
2339
|
-
|
|
2340
2433
|
.lowercase {
|
|
2341
2434
|
text-transform: lowercase;
|
|
2342
2435
|
}
|
|
2343
2436
|
|
|
2437
|
+
.italic {
|
|
2438
|
+
font-style: italic;
|
|
2439
|
+
}
|
|
2440
|
+
|
|
2344
2441
|
.underline {
|
|
2345
2442
|
text-decoration-line: underline;
|
|
2346
2443
|
}
|
|
@@ -2408,6 +2505,14 @@
|
|
|
2408
2505
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2409
2506
|
}
|
|
2410
2507
|
|
|
2508
|
+
.ring-ring\/50 {
|
|
2509
|
+
--tw-ring-color: var(--ring);
|
|
2510
|
+
|
|
2511
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2512
|
+
--tw-ring-color: color-mix(in oklab, var(--ring) 50%, transparent);
|
|
2513
|
+
}
|
|
2514
|
+
}
|
|
2515
|
+
|
|
2411
2516
|
.ring-offset-background {
|
|
2412
2517
|
--tw-ring-offset-color: var(--background);
|
|
2413
2518
|
}
|
|
@@ -2427,6 +2532,11 @@
|
|
|
2427
2532
|
outline-width: 1px;
|
|
2428
2533
|
}
|
|
2429
2534
|
|
|
2535
|
+
.blur {
|
|
2536
|
+
--tw-blur: blur(8px);
|
|
2537
|
+
filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
|
|
2538
|
+
}
|
|
2539
|
+
|
|
2430
2540
|
.filter {
|
|
2431
2541
|
filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
|
|
2432
2542
|
}
|
|
@@ -3035,6 +3145,11 @@
|
|
|
3035
3145
|
.hover\:opacity-100:hover {
|
|
3036
3146
|
opacity: 1;
|
|
3037
3147
|
}
|
|
3148
|
+
|
|
3149
|
+
.hover\:ring-4:hover {
|
|
3150
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
3151
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3152
|
+
}
|
|
3038
3153
|
}
|
|
3039
3154
|
|
|
3040
3155
|
.focus\:bg-accent:focus {
|
|
@@ -3078,6 +3193,11 @@
|
|
|
3078
3193
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3079
3194
|
}
|
|
3080
3195
|
|
|
3196
|
+
.focus-visible\:ring-4:focus-visible {
|
|
3197
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
3198
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3199
|
+
}
|
|
3200
|
+
|
|
3081
3201
|
.focus-visible\:ring-\[3px\]:focus-visible {
|
|
3082
3202
|
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
3083
3203
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -3275,6 +3395,10 @@
|
|
|
3275
3395
|
pointer-events: none;
|
|
3276
3396
|
}
|
|
3277
3397
|
|
|
3398
|
+
.data-\[disabled\]\:cursor-not-allowed[data-disabled] {
|
|
3399
|
+
cursor: not-allowed;
|
|
3400
|
+
}
|
|
3401
|
+
|
|
3278
3402
|
.data-\[disabled\]\:opacity-50[data-disabled] {
|
|
3279
3403
|
opacity: .5;
|
|
3280
3404
|
}
|
|
@@ -3287,6 +3411,14 @@
|
|
|
3287
3411
|
color: var(--destructive);
|
|
3288
3412
|
}
|
|
3289
3413
|
|
|
3414
|
+
.data-\[orientation\=horizontal\]\:h-1\.5[data-orientation="horizontal"] {
|
|
3415
|
+
height: calc(var(--spacing) * 1.5);
|
|
3416
|
+
}
|
|
3417
|
+
|
|
3418
|
+
.data-\[orientation\=horizontal\]\:h-full[data-orientation="horizontal"] {
|
|
3419
|
+
height: 100%;
|
|
3420
|
+
}
|
|
3421
|
+
|
|
3290
3422
|
.data-\[orientation\=horizontal\]\:h-px[data-orientation="horizontal"] {
|
|
3291
3423
|
height: 1px;
|
|
3292
3424
|
}
|
|
@@ -3299,10 +3431,30 @@
|
|
|
3299
3431
|
height: 100%;
|
|
3300
3432
|
}
|
|
3301
3433
|
|
|
3434
|
+
.data-\[orientation\=vertical\]\:min-h-44[data-orientation="vertical"] {
|
|
3435
|
+
min-height: calc(var(--spacing) * 44);
|
|
3436
|
+
}
|
|
3437
|
+
|
|
3438
|
+
.data-\[orientation\=vertical\]\:w-1\.5[data-orientation="vertical"] {
|
|
3439
|
+
width: calc(var(--spacing) * 1.5);
|
|
3440
|
+
}
|
|
3441
|
+
|
|
3442
|
+
.data-\[orientation\=vertical\]\:w-auto[data-orientation="vertical"] {
|
|
3443
|
+
width: auto;
|
|
3444
|
+
}
|
|
3445
|
+
|
|
3446
|
+
.data-\[orientation\=vertical\]\:w-full[data-orientation="vertical"] {
|
|
3447
|
+
width: 100%;
|
|
3448
|
+
}
|
|
3449
|
+
|
|
3302
3450
|
.data-\[orientation\=vertical\]\:w-px[data-orientation="vertical"] {
|
|
3303
3451
|
width: 1px;
|
|
3304
3452
|
}
|
|
3305
3453
|
|
|
3454
|
+
.data-\[orientation\=vertical\]\:flex-col[data-orientation="vertical"] {
|
|
3455
|
+
flex-direction: column;
|
|
3456
|
+
}
|
|
3457
|
+
|
|
3306
3458
|
.data-\[placeholder\]\:text-muted-foreground[data-placeholder] {
|
|
3307
3459
|
color: var(--muted-foreground);
|
|
3308
3460
|
}
|
|
@@ -3719,14 +3871,6 @@
|
|
|
3719
3871
|
}
|
|
3720
3872
|
}
|
|
3721
3873
|
|
|
3722
|
-
.dark\:text-green-400:is(.dark *, [data-theme="dark"] *) {
|
|
3723
|
-
color: var(--color-green-400);
|
|
3724
|
-
}
|
|
3725
|
-
|
|
3726
|
-
.dark\:text-yellow-400:is(.dark *, [data-theme="dark"] *) {
|
|
3727
|
-
color: var(--color-yellow-400);
|
|
3728
|
-
}
|
|
3729
|
-
|
|
3730
3874
|
@media (hover: hover) {
|
|
3731
3875
|
.dark\:hover\:bg-accent\/50:is(.dark *, [data-theme="dark"] *):hover {
|
|
3732
3876
|
background-color: var(--accent);
|
|
@@ -3793,6 +3937,250 @@
|
|
|
3793
3937
|
}
|
|
3794
3938
|
}
|
|
3795
3939
|
|
|
3940
|
+
.\[\&_\.tiptap\]\:outline-none .tiptap {
|
|
3941
|
+
--tw-outline-style: none;
|
|
3942
|
+
outline-style: none;
|
|
3943
|
+
}
|
|
3944
|
+
|
|
3945
|
+
.\[\&_\.tiptap_a\]\:text-blue-600 .tiptap a {
|
|
3946
|
+
color: var(--color-blue-600);
|
|
3947
|
+
}
|
|
3948
|
+
|
|
3949
|
+
.\[\&_\.tiptap_a\]\:underline .tiptap a {
|
|
3950
|
+
text-decoration-line: underline;
|
|
3951
|
+
}
|
|
3952
|
+
|
|
3953
|
+
.\[\&_\.tiptap_a\]\:underline-offset-2 .tiptap a {
|
|
3954
|
+
text-underline-offset: 2px;
|
|
3955
|
+
}
|
|
3956
|
+
|
|
3957
|
+
.\[\&_\.tiptap_blockquote\]\:my-2 .tiptap blockquote {
|
|
3958
|
+
margin-block: calc(var(--spacing) * 2);
|
|
3959
|
+
}
|
|
3960
|
+
|
|
3961
|
+
.\[\&_\.tiptap_blockquote\]\:border-l-2 .tiptap blockquote {
|
|
3962
|
+
border-left-style: var(--tw-border-style);
|
|
3963
|
+
border-left-width: 2px;
|
|
3964
|
+
}
|
|
3965
|
+
|
|
3966
|
+
.\[\&_\.tiptap_blockquote\]\:border-gray-300 .tiptap blockquote {
|
|
3967
|
+
border-color: var(--color-gray-300);
|
|
3968
|
+
}
|
|
3969
|
+
|
|
3970
|
+
.\[\&_\.tiptap_blockquote\]\:pl-3 .tiptap blockquote {
|
|
3971
|
+
padding-left: calc(var(--spacing) * 3);
|
|
3972
|
+
}
|
|
3973
|
+
|
|
3974
|
+
.\[\&_\.tiptap_blockquote\]\:text-gray-600 .tiptap blockquote {
|
|
3975
|
+
color: var(--color-gray-600);
|
|
3976
|
+
}
|
|
3977
|
+
|
|
3978
|
+
.\[\&_\.tiptap_blockquote\]\:italic .tiptap blockquote {
|
|
3979
|
+
font-style: italic;
|
|
3980
|
+
}
|
|
3981
|
+
|
|
3982
|
+
.\[\&_\.tiptap_code\]\:rounded .tiptap code {
|
|
3983
|
+
border-radius: .25rem;
|
|
3984
|
+
}
|
|
3985
|
+
|
|
3986
|
+
.\[\&_\.tiptap_code\]\:bg-gray-100 .tiptap code {
|
|
3987
|
+
background-color: var(--color-gray-100);
|
|
3988
|
+
}
|
|
3989
|
+
|
|
3990
|
+
.\[\&_\.tiptap_code\]\:px-1 .tiptap code {
|
|
3991
|
+
padding-inline: var(--spacing);
|
|
3992
|
+
}
|
|
3993
|
+
|
|
3994
|
+
.\[\&_\.tiptap_code\]\:py-0\.5 .tiptap code {
|
|
3995
|
+
padding-block: calc(var(--spacing) * .5);
|
|
3996
|
+
}
|
|
3997
|
+
|
|
3998
|
+
.\[\&_\.tiptap_code\]\:font-mono .tiptap code {
|
|
3999
|
+
font-family: var(--font-geist-mono);
|
|
4000
|
+
}
|
|
4001
|
+
|
|
4002
|
+
.\[\&_\.tiptap_code\]\:text-\[0\.85em\] .tiptap code {
|
|
4003
|
+
font-size: .85em;
|
|
4004
|
+
}
|
|
4005
|
+
|
|
4006
|
+
.\[\&_\.tiptap_h1\]\:mt-6 .tiptap h1 {
|
|
4007
|
+
margin-top: calc(var(--spacing) * 6);
|
|
4008
|
+
}
|
|
4009
|
+
|
|
4010
|
+
.\[\&_\.tiptap_h1\]\:mb-2 .tiptap h1 {
|
|
4011
|
+
margin-bottom: calc(var(--spacing) * 2);
|
|
4012
|
+
}
|
|
4013
|
+
|
|
4014
|
+
.\[\&_\.tiptap_h1\]\:text-2xl .tiptap h1 {
|
|
4015
|
+
font-size: var(--text-2xl);
|
|
4016
|
+
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
4017
|
+
}
|
|
4018
|
+
|
|
4019
|
+
.\[\&_\.tiptap_h1\]\:font-bold .tiptap h1 {
|
|
4020
|
+
--tw-font-weight: var(--font-weight-bold);
|
|
4021
|
+
font-weight: var(--font-weight-bold);
|
|
4022
|
+
}
|
|
4023
|
+
|
|
4024
|
+
.\[\&_\.tiptap_h2\]\:mt-5 .tiptap h2 {
|
|
4025
|
+
margin-top: calc(var(--spacing) * 5);
|
|
4026
|
+
}
|
|
4027
|
+
|
|
4028
|
+
.\[\&_\.tiptap_h2\]\:mb-2 .tiptap h2 {
|
|
4029
|
+
margin-bottom: calc(var(--spacing) * 2);
|
|
4030
|
+
}
|
|
4031
|
+
|
|
4032
|
+
.\[\&_\.tiptap_h2\]\:text-xl .tiptap h2 {
|
|
4033
|
+
font-size: var(--text-xl);
|
|
4034
|
+
line-height: var(--tw-leading, var(--text-xl--line-height));
|
|
4035
|
+
}
|
|
4036
|
+
|
|
4037
|
+
.\[\&_\.tiptap_h2\]\:font-bold .tiptap h2 {
|
|
4038
|
+
--tw-font-weight: var(--font-weight-bold);
|
|
4039
|
+
font-weight: var(--font-weight-bold);
|
|
4040
|
+
}
|
|
4041
|
+
|
|
4042
|
+
.\[\&_\.tiptap_h3\]\:mt-4 .tiptap h3 {
|
|
4043
|
+
margin-top: calc(var(--spacing) * 4);
|
|
4044
|
+
}
|
|
4045
|
+
|
|
4046
|
+
.\[\&_\.tiptap_h3\]\:mb-2 .tiptap h3 {
|
|
4047
|
+
margin-bottom: calc(var(--spacing) * 2);
|
|
4048
|
+
}
|
|
4049
|
+
|
|
4050
|
+
.\[\&_\.tiptap_h3\]\:text-lg .tiptap h3 {
|
|
4051
|
+
font-size: var(--text-lg);
|
|
4052
|
+
line-height: var(--tw-leading, var(--text-lg--line-height));
|
|
4053
|
+
}
|
|
4054
|
+
|
|
4055
|
+
.\[\&_\.tiptap_h3\]\:font-semibold .tiptap h3 {
|
|
4056
|
+
--tw-font-weight: var(--font-weight-semibold);
|
|
4057
|
+
font-weight: var(--font-weight-semibold);
|
|
4058
|
+
}
|
|
4059
|
+
|
|
4060
|
+
.\[\&_\.tiptap_h4\]\:mt-3 .tiptap h4 {
|
|
4061
|
+
margin-top: calc(var(--spacing) * 3);
|
|
4062
|
+
}
|
|
4063
|
+
|
|
4064
|
+
.\[\&_\.tiptap_h4\]\:mb-1 .tiptap h4 {
|
|
4065
|
+
margin-bottom: var(--spacing);
|
|
4066
|
+
}
|
|
4067
|
+
|
|
4068
|
+
.\[\&_\.tiptap_h4\]\:text-base .tiptap h4 {
|
|
4069
|
+
font-size: var(--text-base);
|
|
4070
|
+
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
4071
|
+
}
|
|
4072
|
+
|
|
4073
|
+
.\[\&_\.tiptap_h4\]\:font-semibold .tiptap h4 {
|
|
4074
|
+
--tw-font-weight: var(--font-weight-semibold);
|
|
4075
|
+
font-weight: var(--font-weight-semibold);
|
|
4076
|
+
}
|
|
4077
|
+
|
|
4078
|
+
.\[\&_\.tiptap_hr\]\:my-4 .tiptap hr {
|
|
4079
|
+
margin-block: calc(var(--spacing) * 4);
|
|
4080
|
+
}
|
|
4081
|
+
|
|
4082
|
+
.\[\&_\.tiptap_hr\]\:border-gray-200 .tiptap hr {
|
|
4083
|
+
border-color: var(--color-gray-200);
|
|
4084
|
+
}
|
|
4085
|
+
|
|
4086
|
+
.\[\&_\.tiptap_li\]\:my-1 .tiptap li {
|
|
4087
|
+
margin-block: var(--spacing);
|
|
4088
|
+
}
|
|
4089
|
+
|
|
4090
|
+
.\[\&_\.tiptap_ol\]\:my-2 .tiptap ol {
|
|
4091
|
+
margin-block: calc(var(--spacing) * 2);
|
|
4092
|
+
}
|
|
4093
|
+
|
|
4094
|
+
.\[\&_\.tiptap_ol\]\:list-decimal .tiptap ol {
|
|
4095
|
+
list-style-type: decimal;
|
|
4096
|
+
}
|
|
4097
|
+
|
|
4098
|
+
.\[\&_\.tiptap_ol\]\:pl-5 .tiptap ol {
|
|
4099
|
+
padding-left: calc(var(--spacing) * 5);
|
|
4100
|
+
}
|
|
4101
|
+
|
|
4102
|
+
.\[\&_\.tiptap_p\.is-editor-empty\:first-child\:\:before\]\:pointer-events-none .tiptap p.is-editor-empty:first-child:before {
|
|
4103
|
+
pointer-events: none;
|
|
4104
|
+
}
|
|
4105
|
+
|
|
4106
|
+
.\[\&_\.tiptap_p\.is-editor-empty\:first-child\:\:before\]\:float-left .tiptap p.is-editor-empty:first-child:before {
|
|
4107
|
+
float: left;
|
|
4108
|
+
}
|
|
4109
|
+
|
|
4110
|
+
.\[\&_\.tiptap_p\.is-editor-empty\:first-child\:\:before\]\:h-0 .tiptap p.is-editor-empty:first-child:before {
|
|
4111
|
+
height: 0;
|
|
4112
|
+
}
|
|
4113
|
+
|
|
4114
|
+
.\[\&_\.tiptap_p\.is-editor-empty\:first-child\:\:before\]\:text-gray-400 .tiptap p.is-editor-empty:first-child:before {
|
|
4115
|
+
color: var(--color-gray-400);
|
|
4116
|
+
}
|
|
4117
|
+
|
|
4118
|
+
.\[\&_\.tiptap_p\.is-editor-empty\:first-child\:\:before\]\:content-\[attr\(data-placeholder\)\] .tiptap p.is-editor-empty:first-child:before {
|
|
4119
|
+
--tw-content: attr(data-placeholder);
|
|
4120
|
+
content: var(--tw-content);
|
|
4121
|
+
}
|
|
4122
|
+
|
|
4123
|
+
.\[\&_\.tiptap_pre\]\:my-2 .tiptap pre {
|
|
4124
|
+
margin-block: calc(var(--spacing) * 2);
|
|
4125
|
+
}
|
|
4126
|
+
|
|
4127
|
+
.\[\&_\.tiptap_pre\]\:overflow-x-auto .tiptap pre {
|
|
4128
|
+
overflow-x: auto;
|
|
4129
|
+
}
|
|
4130
|
+
|
|
4131
|
+
.\[\&_\.tiptap_pre\]\:rounded .tiptap pre {
|
|
4132
|
+
border-radius: .25rem;
|
|
4133
|
+
}
|
|
4134
|
+
|
|
4135
|
+
.\[\&_\.tiptap_pre\]\:bg-gray-900 .tiptap pre {
|
|
4136
|
+
background-color: var(--color-gray-900);
|
|
4137
|
+
}
|
|
4138
|
+
|
|
4139
|
+
.\[\&_\.tiptap_pre\]\:p-3 .tiptap pre {
|
|
4140
|
+
padding: calc(var(--spacing) * 3);
|
|
4141
|
+
}
|
|
4142
|
+
|
|
4143
|
+
.\[\&_\.tiptap_pre\]\:font-mono .tiptap pre {
|
|
4144
|
+
font-family: var(--font-geist-mono);
|
|
4145
|
+
}
|
|
4146
|
+
|
|
4147
|
+
.\[\&_\.tiptap_pre\]\:text-sm .tiptap pre {
|
|
4148
|
+
font-size: var(--text-sm);
|
|
4149
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
4150
|
+
}
|
|
4151
|
+
|
|
4152
|
+
.\[\&_\.tiptap_pre\]\:text-gray-100 .tiptap pre {
|
|
4153
|
+
color: var(--color-gray-100);
|
|
4154
|
+
}
|
|
4155
|
+
|
|
4156
|
+
.\[\&_\.tiptap_pre_code\]\:bg-transparent .tiptap pre code {
|
|
4157
|
+
background-color: #0000;
|
|
4158
|
+
}
|
|
4159
|
+
|
|
4160
|
+
.\[\&_\.tiptap_pre_code\]\:p-0 .tiptap pre code {
|
|
4161
|
+
padding: 0;
|
|
4162
|
+
}
|
|
4163
|
+
|
|
4164
|
+
.\[\&_\.tiptap_pre_code\]\:text-inherit .tiptap pre code {
|
|
4165
|
+
color: inherit;
|
|
4166
|
+
}
|
|
4167
|
+
|
|
4168
|
+
.\[\&_\.tiptap_ul\]\:my-2 .tiptap ul {
|
|
4169
|
+
margin-block: calc(var(--spacing) * 2);
|
|
4170
|
+
}
|
|
4171
|
+
|
|
4172
|
+
.\[\&_\.tiptap_ul\]\:list-disc .tiptap ul {
|
|
4173
|
+
list-style-type: disc;
|
|
4174
|
+
}
|
|
4175
|
+
|
|
4176
|
+
.\[\&_\.tiptap_ul\]\:pl-5 .tiptap ul {
|
|
4177
|
+
padding-left: calc(var(--spacing) * 5);
|
|
4178
|
+
}
|
|
4179
|
+
|
|
4180
|
+
.\[\&_\.tiptap\>\*\:first-child\]\:mt-0 .tiptap > :first-child {
|
|
4181
|
+
margin-top: 0;
|
|
4182
|
+
}
|
|
4183
|
+
|
|
3796
4184
|
.\[\&_svg\]\:pointer-events-none svg {
|
|
3797
4185
|
pointer-events: none;
|
|
3798
4186
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as compile, l as getCachedScriptBlob, t as baseModules } from "./utils-
|
|
1
|
+
import { i as compile, l as getCachedScriptBlob, t as baseModules } from "./utils-DbfbS1yV.js";
|
|
2
2
|
import { t as generateTailwindCSSFromDOM } from "./tailwind-CbjdLyVX.js";
|
|
3
3
|
import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -456,4 +456,4 @@ const useDynamicTailwind = (code, enabled) => {
|
|
|
456
456
|
//#endregion
|
|
457
457
|
export { useCompiledModule as n, Frame as r, useDynamicTailwind as t };
|
|
458
458
|
|
|
459
|
-
//# sourceMappingURL=use-dynamic-tailwind-
|
|
459
|
+
//# sourceMappingURL=use-dynamic-tailwind-cdaivJXJ.js.map
|