@fileverse-dev/fortune-react 1.0.2-mod-55-safe-patch-1 → 1.0.2-mod-58

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.
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const ResetColumnWidth: React.FC<{}>;
@@ -1,8 +1,10 @@
1
1
  import React from "react";
2
2
  import "./index.css";
3
- export declare const getIcon: (title: string) => "AlignLeft" | "AlignCenter" | "AlignRight" | "ArrowUpFromLine" | "AlignVerticalMiddle" | "ArrowDownToLine" | "TextOverflow" | "WrapText" | "TextClip" | "";
3
+ export declare const getLucideIcon: (title: string) => "Undo" | "Redo" | "Bold" | "Italic" | "Strikethrough" | "Underline" | "AlignLeft" | "AlignCenter" | "AlignRight" | "ArrowUpFromLine" | "AlignVerticalMiddle" | "ArrowDownToLine" | "TextOverflow" | "WrapText" | "TextClip" | "Baseline" | "PaintBucket" | "Border" | "MergeHorizontal" | "JapaneseYen" | "Percent" | "DecimalsArrowLeft" | "DecimalsArrowRight" | "PaintbrushVertical" | "Filter" | "Link" | "MessageSquarePlus" | "Image" | "Sigma" | "ShieldCheck" | "Search" | "DuneChart" | "Ellipsis" | "";
4
4
  declare const Toolbar: React.FC<{
5
5
  setMoreItems: React.Dispatch<React.SetStateAction<React.ReactNode>>;
6
6
  moreItemsOpen: boolean;
7
+ onMoreToolbarItemsClose?: () => void;
8
+ moreToolbarItems?: React.ReactNode;
7
9
  }>;
8
10
  export default Toolbar;
package/dist/index.css CHANGED
@@ -2250,11 +2250,12 @@ input[type="number"].condition-rules-project-input {
2250
2250
  flex-direction: row;
2251
2251
  /* background: #fafafc; */
2252
2252
  position: relative;
2253
- padding: 10px 0px 8px 15px;
2253
+ padding: 4px 8px;
2254
2254
  border-bottom: 1px solid #d4d4d4;
2255
2255
  white-space: nowrap;
2256
2256
  align-items: center;
2257
2257
  gap: 4px;
2258
+ justify-content: space-between;
2258
2259
  }
2259
2260
 
2260
2261
  .fortune-toolbar-divider {
@@ -2313,8 +2314,11 @@ input[type="number"].condition-rules-project-input {
2313
2314
  align-items: center;
2314
2315
  }
2315
2316
 
2316
- .fortune-toolbar-button:hover,
2317
- .fortune-toolbar-combo:hover {
2317
+ .fortune-toolbar-combo-button.show-arrow {
2318
+ border-radius: 4px 0px 0px 4px;
2319
+ }
2320
+
2321
+ .fortune-toolbar-button:hover {
2318
2322
  background-color: #f2f4f5;
2319
2323
  cursor: pointer;
2320
2324
  }
@@ -2322,6 +2326,8 @@ input[type="number"].condition-rules-project-input {
2322
2326
  .fortune-toolbar-combo-arrow:hover {
2323
2327
  background-color: #f2f4f5;
2324
2328
  cursor: pointer;
2329
+ height: 30px;
2330
+ border-radius: 0px 4px 4px 0px;
2325
2331
  }
2326
2332
 
2327
2333
  .fortune-toolbar-button:active,
@@ -2452,8 +2458,8 @@ input[type="number"].condition-rules-project-input {
2452
2458
  flex-direction: row;
2453
2459
  align-items: center;
2454
2460
  align-self: flex-end;
2455
- margin-right: 40px;
2456
2461
  top: 40px;
2462
+ right: 0px;
2457
2463
  max-width: 348px;
2458
2464
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
2459
2465
  background: white;
@@ -2641,6 +2647,7 @@ input[type="number"].condition-rules-project-input {
2641
2647
  flex-direction: row;
2642
2648
  align-items: center;
2643
2649
  gap: 4px;
2650
+ position: relative;
2644
2651
  }
2645
2652
 
2646
2653
  .fortune-toolbar-right {
@@ -2250,11 +2250,12 @@ input[type="number"].condition-rules-project-input {
2250
2250
  flex-direction: row;
2251
2251
  /* background: #fafafc; */
2252
2252
  position: relative;
2253
- padding: 10px 0px 8px 15px;
2253
+ padding: 4px 8px;
2254
2254
  border-bottom: 1px solid #d4d4d4;
2255
2255
  white-space: nowrap;
2256
2256
  align-items: center;
2257
2257
  gap: 4px;
2258
+ justify-content: space-between;
2258
2259
  }
2259
2260
 
2260
2261
  .fortune-toolbar-divider {
@@ -2313,8 +2314,11 @@ input[type="number"].condition-rules-project-input {
2313
2314
  align-items: center;
2314
2315
  }
2315
2316
 
2316
- .fortune-toolbar-button:hover,
2317
- .fortune-toolbar-combo:hover {
2317
+ .fortune-toolbar-combo-button.show-arrow {
2318
+ border-radius: 4px 0px 0px 4px;
2319
+ }
2320
+
2321
+ .fortune-toolbar-button:hover {
2318
2322
  background-color: #f2f4f5;
2319
2323
  cursor: pointer;
2320
2324
  }
@@ -2322,6 +2326,8 @@ input[type="number"].condition-rules-project-input {
2322
2326
  .fortune-toolbar-combo-arrow:hover {
2323
2327
  background-color: #f2f4f5;
2324
2328
  cursor: pointer;
2329
+ height: 30px;
2330
+ border-radius: 0px 4px 4px 0px;
2325
2331
  }
2326
2332
 
2327
2333
  .fortune-toolbar-button:active,
@@ -2452,8 +2458,8 @@ input[type="number"].condition-rules-project-input {
2452
2458
  flex-direction: row;
2453
2459
  align-items: center;
2454
2460
  align-self: flex-end;
2455
- margin-right: 40px;
2456
2461
  top: 40px;
2462
+ right: 0px;
2457
2463
  max-width: 348px;
2458
2464
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
2459
2465
  background: white;
@@ -2641,6 +2647,7 @@ input[type="number"].condition-rules-project-input {
2641
2647
  flex-direction: row;
2642
2648
  align-items: center;
2643
2649
  gap: 4px;
2650
+ position: relative;
2644
2651
  }
2645
2652
 
2646
2653
  .fortune-toolbar-right {