@rufous/ui 0.1.99 → 0.1.100

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.css CHANGED
@@ -13967,6 +13967,11 @@ svg.jodit-icon {
13967
13967
  flex: 1;
13968
13968
  min-height: 0;
13969
13969
  }
13970
+ .rf-rte-wrapper.rf-rte-resizable {
13971
+ resize: vertical;
13972
+ overflow: auto;
13973
+ min-height: 200px;
13974
+ }
13970
13975
  .rf-rte-wrapper:focus-within,
13971
13976
  .rf-rte-wrapper:has(.dropdown-menu),
13972
13977
  .rf-rte-wrapper:has(.ai-commands-panel),
@@ -13981,7 +13986,7 @@ svg.jodit-icon {
13981
13986
  left: 0;
13982
13987
  right: 0;
13983
13988
  bottom: 0;
13984
- z-index: 9999;
13989
+ z-index: 99999;
13985
13990
  border-radius: 0;
13986
13991
  margin: 0;
13987
13992
  max-width: none;
@@ -14679,7 +14684,7 @@ svg.jodit-icon {
14679
14684
  position: absolute;
14680
14685
  top: 100%;
14681
14686
  left: 0;
14682
- z-index: 100;
14687
+ z-index: 1000;
14683
14688
  background: #fff;
14684
14689
  border: 1px solid #e5e7eb;
14685
14690
  border-radius: 8px;
@@ -14765,7 +14770,7 @@ svg.jodit-icon {
14765
14770
  position: absolute;
14766
14771
  top: 100%;
14767
14772
  left: 0;
14768
- z-index: 100;
14773
+ z-index: 1000;
14769
14774
  background: #fff;
14770
14775
  border: 1px solid #e5e7eb;
14771
14776
  border-radius: 8px;
@@ -14825,7 +14830,7 @@ svg.jodit-icon {
14825
14830
  position: absolute;
14826
14831
  top: 100%;
14827
14832
  left: 0;
14828
- z-index: 100;
14833
+ z-index: 1000;
14829
14834
  background: #fef3c7;
14830
14835
  border: 1px solid #fbbf24;
14831
14836
  border-radius: 6px;
@@ -15253,7 +15258,7 @@ svg.jodit-icon {
15253
15258
  right: 0;
15254
15259
  bottom: 0;
15255
15260
  background: rgba(0, 0, 0, 0.4);
15256
- z-index: 10000;
15261
+ z-index: 99999;
15257
15262
  display: flex;
15258
15263
  align-items: center;
15259
15264
  justify-content: center;
@@ -15476,6 +15481,33 @@ svg.jodit-icon {
15476
15481
  .rf-rte-wrapper .translate-split-btn .translate-arrow-btn:hover {
15477
15482
  background: #e8eaed;
15478
15483
  }
15484
+ .rf-rte-wrapper .todo-split-btn {
15485
+ display: inline-flex;
15486
+ align-items: center;
15487
+ position: relative;
15488
+ border-radius: 4px;
15489
+ border: 1px solid transparent;
15490
+ }
15491
+ .rf-rte-wrapper .todo-split-btn:hover {
15492
+ border-color: #dadce0;
15493
+ }
15494
+ .rf-rte-wrapper .todo-split-btn > .toolbar-btn {
15495
+ border-radius: 4px 0 0 4px;
15496
+ }
15497
+ .rf-rte-wrapper .todo-split-btn > .toolbar-btn:hover {
15498
+ background: #f5d5d5;
15499
+ }
15500
+ .rf-rte-wrapper .todo-split-btn .dropdown {
15501
+ margin-left: -1px;
15502
+ }
15503
+ .rf-rte-wrapper .todo-split-btn .todo-arrow-btn {
15504
+ border-radius: 0 4px 4px 0;
15505
+ min-width: 18px;
15506
+ padding: 4px 2px;
15507
+ }
15508
+ .rf-rte-wrapper .todo-split-btn .todo-arrow-btn:hover {
15509
+ background: #e8eaed;
15510
+ }
15479
15511
  .rf-rte-wrapper .translate-icon-btn {
15480
15512
  display: flex;
15481
15513
  align-items: center;
@@ -15499,7 +15531,7 @@ svg.jodit-icon {
15499
15531
  border-radius: 4px;
15500
15532
  padding: 4px 10px;
15501
15533
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
15502
- z-index: 100;
15534
+ z-index: 1000;
15503
15535
  animation: toast-fade-in 0.2s ease;
15504
15536
  }
15505
15537
  .rf-rte-wrapper .translate-toast-popup.error {
@@ -15745,7 +15777,7 @@ svg.jodit-icon {
15745
15777
  right: 0;
15746
15778
  bottom: 0;
15747
15779
  background: rgba(0, 0, 0, 0.4);
15748
- z-index: 9999;
15780
+ z-index: 99998;
15749
15781
  display: flex;
15750
15782
  align-items: center;
15751
15783
  justify-content: center;
@@ -15941,7 +15973,7 @@ svg.jodit-icon {
15941
15973
  right: 0;
15942
15974
  bottom: 0;
15943
15975
  background: transparent;
15944
- z-index: 10000;
15976
+ z-index: 99999;
15945
15977
  }
15946
15978
  .link-modal {
15947
15979
  position: absolute;
package/dist/main.d.cts CHANGED
@@ -1695,14 +1695,18 @@ interface RufousTextEditorProps {
1695
1695
  name: string;
1696
1696
  avatar?: string;
1697
1697
  }>;
1698
+ height?: number | string;
1699
+ resizable?: boolean;
1698
1700
  className?: string;
1699
1701
  style?: React__default.CSSProperties;
1702
+ sx?: SxProp;
1700
1703
  }
1701
1704
  declare const RufousTextEditor: React__default.FC<RufousTextEditorProps>;
1702
1705
  interface RufousTextContentProps {
1703
1706
  content: string;
1704
1707
  className?: string;
1705
1708
  style?: React__default.CSSProperties;
1709
+ sx?: SxProp;
1706
1710
  }
1707
1711
  declare const RufousTextContent: React__default.FC<RufousTextContentProps>;
1708
1712
 
package/dist/main.d.ts CHANGED
@@ -1695,14 +1695,18 @@ interface RufousTextEditorProps {
1695
1695
  name: string;
1696
1696
  avatar?: string;
1697
1697
  }>;
1698
+ height?: number | string;
1699
+ resizable?: boolean;
1698
1700
  className?: string;
1699
1701
  style?: React__default.CSSProperties;
1702
+ sx?: SxProp;
1700
1703
  }
1701
1704
  declare const RufousTextEditor: React__default.FC<RufousTextEditorProps>;
1702
1705
  interface RufousTextContentProps {
1703
1706
  content: string;
1704
1707
  className?: string;
1705
1708
  style?: React__default.CSSProperties;
1709
+ sx?: SxProp;
1706
1710
  }
1707
1711
  declare const RufousTextContent: React__default.FC<RufousTextContentProps>;
1708
1712