@fileverse-dev/fortune-react 1.2.64-patch-5 → 1.2.64-patch-7

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,103 @@
1
+ .toolbar-container {
2
+ width: 100%;
3
+ max-width: 896px;
4
+ background-color: white;
5
+ border-radius: 4px;
6
+ border: 1px solid hsl(var(--color-border-default, #E8EBEC));
7
+ overflow: hidden;
8
+ }
9
+
10
+ .toolbar-header {
11
+ background-color: #dcfce7;
12
+ padding: 4px 16px;
13
+ border-radius: var(--border-radius-sm, 4px) var(--border-radius-sm, 4px) var(--border-radius-none, 0) var(--border-radius-none, 0);
14
+ border-bottom: 1px solid hsl(var(--color-border-default, #E8EBEC));
15
+ background: hsl(var(--color-bg-success-light, #DDFBDF));
16
+ }
17
+
18
+ .toolbar-title {
19
+ color: hsl(var(--color-text-success, #177E23));
20
+ font-family: "Helvetica Neue";
21
+ font-size: 14px;
22
+ font-style: normal;
23
+ font-weight: 400;
24
+ line-height: 20px;
25
+ }
26
+
27
+ .toolbar-content {
28
+ padding: 4px;
29
+ display: flex;
30
+ gap: 16px;
31
+ align-items: center;
32
+ }
33
+
34
+ .toolbar-button {
35
+ width: 48px;
36
+ height: 48px;
37
+ display: flex;
38
+ align-items: center;
39
+ justify-content: center;
40
+ background-color: white;
41
+ border: 1px solid #e5e7eb;
42
+ border-radius: 6px;
43
+ cursor: pointer;
44
+ transition: all 0.2s ease;
45
+ padding: 0;
46
+ }
47
+
48
+ .toolbar-button:hover {
49
+ background-color: #f9fafb;
50
+ border-color: #d1d5db;
51
+ }
52
+
53
+ .toolbar-button:active {
54
+ transform: scale(0.95);
55
+ }
56
+
57
+ .button-text {
58
+ font-size: 24px;
59
+ color: #1f2937;
60
+ font-weight: 500;
61
+ }
62
+
63
+ .button-text.bold {
64
+ font-weight: 700;
65
+ }
66
+
67
+ .button-text.italic {
68
+ font-style: italic;
69
+ font-family: Georgia, serif;
70
+ }
71
+
72
+ .button-text.underline {
73
+ text-decoration: underline;
74
+ text-decoration-thickness: 2px;
75
+ text-underline-offset: 2px;
76
+ }
77
+
78
+ .button-text.strikethrough {
79
+ text-decoration: line-through;
80
+ text-decoration-thickness: 2px;
81
+ }
82
+
83
+ .button-text.color-button {
84
+ position: relative;
85
+ color: #16a34a;
86
+ }
87
+
88
+ .button-text.color-button::after {
89
+ content: "";
90
+ position: absolute;
91
+ bottom: -4px;
92
+ left: 0;
93
+ right: 0;
94
+ height: 3px;
95
+ background-color: #16a34a;
96
+ border-radius: 2px;
97
+ }
98
+
99
+ .button-icon {
100
+ width: 24px;
101
+ height: 24px;
102
+ color: #1f2937;
103
+ }
@@ -115,7 +115,7 @@
115
115
  }
116
116
 
117
117
  .condition-rules-set-title {
118
- margin: 6px 0px;
118
+ margin: 0px 0px 16px 0px;
119
119
  }
120
120
 
121
121
  .condition-rules-setbox {
@@ -149,13 +149,23 @@
149
149
  }
150
150
 
151
151
  .condition-rules-select-color {
152
- background: hsl(var(--color-bg-default));
153
- width: 2.5rem;
154
- height: 1.5rem;
155
- border-radius: 4px;
152
+ background: transparent;
153
+ width: 16px;
154
+ height: 4px;
155
+ border-radius: 0px;
156
+ border: none;
156
157
  padding: 0;
157
158
  margin: 0;
158
159
  cursor: pointer;
160
+ outline: none;
161
+ }
162
+
163
+ input[type="color"]::-webkit-color-swatch-wrapper {
164
+ padding: 0;
165
+ }
166
+
167
+ input[type="color"]::-webkit-color-swatch {
168
+ border: 1px solid #d4d4d4;
159
169
  }
160
170
 
161
171
  .condition-rules-between-box {
@@ -210,3 +220,50 @@ input[type="number"].condition-rules-project-input::-webkit-inner-spin-button {
210
220
  input[type="number"].condition-rules-project-input {
211
221
  -moz-appearance: textfield;
212
222
  }
223
+
224
+ .condition-list-parent {
225
+ padding: 12px 8px;
226
+ gap: 12px;
227
+ }
228
+
229
+ .condition-list-parent:hover {
230
+ background-color: hsl(var(--color-bg-default-hover));
231
+ }
232
+
233
+ .condition-list-pill {
234
+ display: flex;
235
+ align-items: center;
236
+ justify-content: center;
237
+ width: 44px;
238
+ height: 56px;
239
+ padding: 4px 16px;
240
+ gap: 10px;
241
+ border-radius: 4px;
242
+ border: 1px solid #E8EBEC;
243
+ }
244
+
245
+ .condition-list-text {
246
+ font-family: "Helvetica Neue";
247
+ font-size: 14px;
248
+ font-style: normal;
249
+ font-weight: 500;
250
+ line-height: 20px;
251
+ }
252
+
253
+ .condition-list-type {
254
+ color: hsl(var(--color-text-default, #363B3F));
255
+ font-family: "Helvetica Neue";
256
+ font-size: 14px;
257
+ font-style: normal;
258
+ font-weight: 500;
259
+ line-height: 20px;
260
+ }
261
+
262
+ .condition-list-range {
263
+ color: hsl(var(--color-text-secondary, #77818A));
264
+ font-family: "Helvetica Neue";
265
+ font-size: 12px;
266
+ font-style: normal;
267
+ font-weight: 400;
268
+ line-height: 16px;
269
+ }
@@ -236,9 +236,7 @@ var ConditionalFormat = function ConditionalFormat(_a) {
236
236
  padding: "6px 10px"
237
237
  },
238
238
  onClick: function onClick() {
239
- setContext(function (ctx) {
240
- (0, _fortuneCore.updateItem)(ctx, "delSheet");
241
- });
239
+ setContext(function (ctx) {});
242
240
  },
243
241
  tabIndex: 0
244
242
  }, conditionformat[v]);
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { Cell } from "@fileverse-dev/fortune-core";
3
3
  import "./index.css";
4
- export declare const getLucideIcon: (title: string) => "Ethereum" | "DollarSign" | "" | "ChevronDown" | "Undo" | "Redo" | "PaintRoller" | "Bold" | "Italic" | "Strikethrough" | "Underline" | "AlignLeft" | "AlignCenter" | "AlignRight" | "ArrowUpFromLine" | "AlignVerticalMiddle" | "ArrowDownToLine" | "TextOverflow" | "WrapText" | "TextClip" | "Baseline" | "PaintBucket" | "Border" | "MergeHorizontal" | "Percent" | "DecimalsArrowLeft" | "DecimalsArrowRight" | "PaintbrushVertical" | "Filter" | "Link" | "MessageSquarePlus" | "Image" | "Sigma" | "ShieldCheck" | "Search" | "DuneChart" | "Ellipsis";
4
+ export declare const getLucideIcon: (title: string) => "Ethereum" | "DollarSign" | "" | "ChevronDown" | "Bold" | "Italic" | "Underline" | "Strikethrough" | "PaintBucket" | "Undo" | "Redo" | "PaintRoller" | "AlignLeft" | "AlignCenter" | "AlignRight" | "ArrowUpFromLine" | "AlignVerticalMiddle" | "ArrowDownToLine" | "TextOverflow" | "WrapText" | "TextClip" | "Baseline" | "Border" | "MergeHorizontal" | "Percent" | "DecimalsArrowLeft" | "DecimalsArrowRight" | "PaintbrushVertical" | "Filter" | "Link" | "MessageSquarePlus" | "Image" | "Sigma" | "ShieldCheck" | "Search" | "DuneChart" | "Ellipsis";
5
5
  export declare const CurrencySelector: ({ cell, defaultTextFormat, toolTipText, }: {
6
6
  cell: Cell | null | undefined;
7
7
  defaultTextFormat: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-react",
3
- "version": "1.2.64-patch-5",
3
+ "version": "1.2.64-patch-7",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "module": "es/index.js",
@@ -16,7 +16,7 @@
16
16
  "tsc": "tsc"
17
17
  },
18
18
  "dependencies": {
19
- "@fileverse-dev/fortune-core": "1.2.64-patch-5",
19
+ "@fileverse-dev/fortune-core": "1.2.64-patch-7",
20
20
  "@fileverse/ui": "^4.1.7-patch-40",
21
21
  "@tippyjs/react": "^4.2.6",
22
22
  "@types/regenerator-runtime": "^0.13.6",