@rufous/ui 0.2.66 → 0.2.68
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/main.cjs +387 -166
- package/dist/main.css +88 -13
- package/dist/main.js +363 -142
- package/package.json +1 -1
package/dist/main.css
CHANGED
|
@@ -75,6 +75,13 @@
|
|
|
75
75
|
z-index: 2000;
|
|
76
76
|
backdrop-filter: blur(2px);
|
|
77
77
|
}
|
|
78
|
+
.MuiPopover-root,
|
|
79
|
+
.MuiMenu-root,
|
|
80
|
+
.MuiAutocomplete-popper,
|
|
81
|
+
.MuiTooltip-popper,
|
|
82
|
+
.MuiModal-root:not(.dialog-overlay) {
|
|
83
|
+
z-index: 2100 !important;
|
|
84
|
+
}
|
|
78
85
|
.dialog-container {
|
|
79
86
|
background: var(--surface-color);
|
|
80
87
|
color: var(--text-color);
|
|
@@ -2235,12 +2242,9 @@ pre {
|
|
|
2235
2242
|
flex-shrink: 0;
|
|
2236
2243
|
}
|
|
2237
2244
|
.rf-autocomplete__popup {
|
|
2238
|
-
position:
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
right: 0;
|
|
2242
|
-
z-index: 1400;
|
|
2243
|
-
background: #ffffff;
|
|
2245
|
+
position: fixed;
|
|
2246
|
+
z-index: 2100;
|
|
2247
|
+
background: var(--surface-color, #ffffff);
|
|
2244
2248
|
border-radius: 8px;
|
|
2245
2249
|
box-shadow:
|
|
2246
2250
|
0 4px 6px rgba(0, 0, 0, 0.06),
|
|
@@ -2489,11 +2493,8 @@ pre {
|
|
|
2489
2493
|
margin-top: 17px;
|
|
2490
2494
|
}
|
|
2491
2495
|
.rf-select__popup {
|
|
2492
|
-
position:
|
|
2493
|
-
|
|
2494
|
-
left: 0;
|
|
2495
|
-
right: 0;
|
|
2496
|
-
z-index: 1400;
|
|
2496
|
+
position: fixed;
|
|
2497
|
+
z-index: 2100;
|
|
2497
2498
|
background: var(--surface-color, #ffffff);
|
|
2498
2499
|
border-radius: 8px;
|
|
2499
2500
|
box-shadow:
|
|
@@ -7585,7 +7586,6 @@ pre {
|
|
|
7585
7586
|
}
|
|
7586
7587
|
.rf-rte-wrapper .tiptap table {
|
|
7587
7588
|
border-collapse: collapse;
|
|
7588
|
-
width: 100%;
|
|
7589
7589
|
margin: 0.8em 0;
|
|
7590
7590
|
overflow: hidden;
|
|
7591
7591
|
border-radius: 4px;
|
|
@@ -7597,6 +7597,7 @@ pre {
|
|
|
7597
7597
|
min-width: 80px;
|
|
7598
7598
|
vertical-align: top;
|
|
7599
7599
|
position: relative;
|
|
7600
|
+
box-sizing: border-box;
|
|
7600
7601
|
}
|
|
7601
7602
|
.rf-rte-wrapper .tiptap table th {
|
|
7602
7603
|
background: #f3f4f6;
|
|
@@ -7607,13 +7608,87 @@ pre {
|
|
|
7607
7608
|
.rf-rte-wrapper .tiptap table th.selectedCell {
|
|
7608
7609
|
background: #eef2ff;
|
|
7609
7610
|
}
|
|
7611
|
+
.rf-rte-wrapper .tiptap table .selectedCell::after {
|
|
7612
|
+
z-index: 2;
|
|
7613
|
+
position: absolute;
|
|
7614
|
+
content: "";
|
|
7615
|
+
left: 0;
|
|
7616
|
+
right: 0;
|
|
7617
|
+
top: 0;
|
|
7618
|
+
bottom: 0;
|
|
7619
|
+
background: rgba(200, 200, 255, 0.4);
|
|
7620
|
+
pointer-events: none;
|
|
7621
|
+
}
|
|
7610
7622
|
.rf-rte-wrapper .tiptap .tableWrapper {
|
|
7611
7623
|
overflow-x: auto;
|
|
7612
7624
|
margin: 0.8em 0;
|
|
7613
7625
|
}
|
|
7614
|
-
.rf-rte-wrapper .tiptap .resize-
|
|
7626
|
+
.rf-rte-wrapper .tiptap .column-resize-handle {
|
|
7627
|
+
position: absolute;
|
|
7628
|
+
right: -2px;
|
|
7629
|
+
top: 0;
|
|
7630
|
+
bottom: 0;
|
|
7631
|
+
width: 4px;
|
|
7632
|
+
z-index: 20;
|
|
7633
|
+
background-color: #adf;
|
|
7634
|
+
pointer-events: none;
|
|
7635
|
+
}
|
|
7636
|
+
.rf-rte-wrapper .tiptap.resize-cursor {
|
|
7637
|
+
cursor: ew-resize;
|
|
7615
7638
|
cursor: col-resize;
|
|
7616
7639
|
}
|
|
7640
|
+
.rf-table-toolbar {
|
|
7641
|
+
position: absolute;
|
|
7642
|
+
z-index: 100;
|
|
7643
|
+
display: flex;
|
|
7644
|
+
align-items: center;
|
|
7645
|
+
gap: 2px;
|
|
7646
|
+
padding: 4px 6px;
|
|
7647
|
+
background: #fff;
|
|
7648
|
+
border: 1px solid #d1d5db;
|
|
7649
|
+
border-radius: 6px;
|
|
7650
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
|
|
7651
|
+
pointer-events: auto;
|
|
7652
|
+
}
|
|
7653
|
+
.rf-table-toolbar-btn {
|
|
7654
|
+
display: flex;
|
|
7655
|
+
align-items: center;
|
|
7656
|
+
justify-content: center;
|
|
7657
|
+
width: 28px;
|
|
7658
|
+
height: 28px;
|
|
7659
|
+
padding: 0;
|
|
7660
|
+
border: none;
|
|
7661
|
+
border-radius: 4px;
|
|
7662
|
+
background: transparent;
|
|
7663
|
+
color: #374151;
|
|
7664
|
+
cursor: pointer;
|
|
7665
|
+
transition: background 0.15s, color 0.15s;
|
|
7666
|
+
}
|
|
7667
|
+
.rf-table-toolbar-btn:hover {
|
|
7668
|
+
background: #f3f4f6;
|
|
7669
|
+
}
|
|
7670
|
+
.rf-table-toolbar-btn:disabled {
|
|
7671
|
+
opacity: 0.35;
|
|
7672
|
+
cursor: default;
|
|
7673
|
+
}
|
|
7674
|
+
.rf-table-toolbar-btn:disabled:hover {
|
|
7675
|
+
background: transparent;
|
|
7676
|
+
}
|
|
7677
|
+
.rf-table-toolbar-btn.active {
|
|
7678
|
+
background: #eef2ff;
|
|
7679
|
+
color: #4f46e5;
|
|
7680
|
+
}
|
|
7681
|
+
.rf-table-toolbar-btn-danger:hover {
|
|
7682
|
+
background: #fef2f2;
|
|
7683
|
+
color: #dc2626;
|
|
7684
|
+
}
|
|
7685
|
+
.rf-table-toolbar-sep {
|
|
7686
|
+
display: inline-block;
|
|
7687
|
+
width: 1px;
|
|
7688
|
+
height: 18px;
|
|
7689
|
+
background: #d1d5db;
|
|
7690
|
+
margin: 0 3px;
|
|
7691
|
+
}
|
|
7617
7692
|
.rf-rte-wrapper .tiptap div[data-youtube-video] {
|
|
7618
7693
|
margin: 0.8em 0;
|
|
7619
7694
|
}
|