@fe-free/core 3.0.0 → 3.0.2
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/CHANGELOG.md +14 -0
- package/package.json +2 -2
- package/src/crud_of_list/crud_of_list.stories.tsx +1 -1
- package/src/editor_mention/index.tsx +1 -1
- package/src/record/index.tsx +1 -1
- package/src/style.scss +0 -32
- package/src/tailwindcss.stories.tsx +1 -12
- package/src/theme.ts +4 -6
- package/src/tree/file_tree.stories.tsx +1 -1
- package/src/tree/tree.stories.tsx +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fe-free/core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"author": "",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"safe-stable-stringify": "^2.5.0",
|
|
42
42
|
"vanilla-jsoneditor": "^0.23.1",
|
|
43
43
|
"zustand": "^4.5.4",
|
|
44
|
-
"@fe-free/tool": "3.0.
|
|
44
|
+
"@fe-free/tool": "3.0.2"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@ant-design/pro-components": "2.8.9",
|
|
@@ -332,7 +332,7 @@ const EditorMention = ({
|
|
|
332
332
|
onInput={handleInput}
|
|
333
333
|
onKeyDown={handleKeyDown}
|
|
334
334
|
className={classNames(
|
|
335
|
-
'
|
|
335
|
+
'w-full flex-1 overflow-y-auto rounded border border-01 p-2 outline-none focus:border-primary',
|
|
336
336
|
resizeHeight && 'resize-y',
|
|
337
337
|
)}
|
|
338
338
|
style={{
|
package/src/record/index.tsx
CHANGED
|
@@ -85,7 +85,7 @@ function RecordArray(props: RecordArrayProps) {
|
|
|
85
85
|
|
|
86
86
|
return (
|
|
87
87
|
<ProFormListHelper
|
|
88
|
-
className={classNames('
|
|
88
|
+
className={classNames('rounded bg-01 p-2', className)}
|
|
89
89
|
value={value}
|
|
90
90
|
onChange={onChange}
|
|
91
91
|
getAdd={() => ({
|
package/src/style.scss
CHANGED
|
@@ -12,35 +12,3 @@
|
|
|
12
12
|
|
|
13
13
|
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
14
14
|
@tailwind utilities;
|
|
15
|
-
|
|
16
|
-
.fec-border {
|
|
17
|
-
border: 1px solid #f0f0f0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.fec-border-bottom {
|
|
21
|
-
border-bottom: 1px solid #f0f0f0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.fec-border-top {
|
|
25
|
-
border-top: 1px solid #f0f0f0;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.fec-border-left {
|
|
29
|
-
border-left: 1px solid #f0f0f0;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.fec-border-right {
|
|
33
|
-
border-right: 1px solid #f0f0f0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.fec-bg {
|
|
37
|
-
background-color: #f3f5f6;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.fec-bg-hover {
|
|
41
|
-
background-color: #f3f5f6;
|
|
42
|
-
|
|
43
|
-
&:hover {
|
|
44
|
-
background-color: #e9ebec;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
@@ -10,7 +10,6 @@ export const Default = () => {
|
|
|
10
10
|
<h1>tailwindcss</h1>
|
|
11
11
|
<h2>textColor</h2>
|
|
12
12
|
<div>
|
|
13
|
-
<div className="bg-black px-2 text-00">text-00</div>
|
|
14
13
|
<div className="text-01">text-01</div>
|
|
15
14
|
<div className="text-02">text-02</div>
|
|
16
15
|
<div className="text-03">text-03</div>
|
|
@@ -24,11 +23,10 @@ export const Default = () => {
|
|
|
24
23
|
</div>
|
|
25
24
|
<h2>backgroundColor</h2>
|
|
26
25
|
<div>
|
|
27
|
-
<div className="bg-00">bg-00</div>
|
|
28
|
-
<div className="bg-005">bg-005</div>
|
|
29
26
|
<div className="bg-01">bg-01</div>
|
|
30
27
|
<div className="bg-02">bg-02</div>
|
|
31
28
|
<div className="bg-03">bg-03</div>
|
|
29
|
+
<div className="bg-04">bg-04</div>
|
|
32
30
|
</div>
|
|
33
31
|
<h2>colors</h2>
|
|
34
32
|
<div>
|
|
@@ -63,15 +61,6 @@ export const Default = () => {
|
|
|
63
61
|
<div className="bg-yellow05">yellow05</div>
|
|
64
62
|
<div className="bg-yellow03">yellow03</div>
|
|
65
63
|
</div>
|
|
66
|
-
<h1>className</h1>
|
|
67
|
-
<div>
|
|
68
|
-
<div className="fec-border-bottom">fec-border-bottom</div>
|
|
69
|
-
<div className="fec-border-top">fec-border-top</div>
|
|
70
|
-
<div className="fec-border-left">fec-border-left</div>
|
|
71
|
-
<div className="fec-border-right">fec-border-right</div>
|
|
72
|
-
<div className="fec-bg">fec-bg</div>
|
|
73
|
-
<div className="fec-bg-hover">fec-bg-hover</div>
|
|
74
|
-
</div>
|
|
75
64
|
</div>
|
|
76
65
|
);
|
|
77
66
|
};
|
package/src/theme.ts
CHANGED
|
@@ -25,7 +25,6 @@ const themeVariables = {
|
|
|
25
25
|
yellow03: '#f6e7cd',
|
|
26
26
|
},
|
|
27
27
|
textColor: {
|
|
28
|
-
'00': '#ffffff',
|
|
29
28
|
'01': '#15191e',
|
|
30
29
|
'02': '#444444',
|
|
31
30
|
'03': '#777777',
|
|
@@ -37,11 +36,10 @@ const themeVariables = {
|
|
|
37
36
|
'03': '#c0c7d2',
|
|
38
37
|
},
|
|
39
38
|
backgroundColor: {
|
|
40
|
-
'
|
|
41
|
-
'
|
|
42
|
-
'
|
|
43
|
-
'
|
|
44
|
-
'03': '#c0c0c0',
|
|
39
|
+
'01': '#f1f3f5',
|
|
40
|
+
'02': '#ececec',
|
|
41
|
+
'03': '#d9d9d9',
|
|
42
|
+
'04': '#c0c0c0',
|
|
45
43
|
},
|
|
46
44
|
} as const;
|
|
47
45
|
|