@fe-free/core 2.1.6 → 2.1.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.
- package/CHANGELOG.md +7 -0
- package/package.json +2 -2
- package/src/index.ts +2 -0
- package/src/style.scss +41 -0
- package/src/tailwindcss.stories.tsx +8 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fe-free/core",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"author": "",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"remark-gfm": "^4.0.1",
|
|
40
40
|
"vanilla-jsoneditor": "^0.23.1",
|
|
41
41
|
"zustand": "^4.5.4",
|
|
42
|
-
"@fe-free/tool": "2.1.
|
|
42
|
+
"@fe-free/tool": "2.1.7"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@ant-design/pro-components": "^2.8.7",
|
package/src/index.ts
CHANGED
package/src/style.scss
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/** 和 antd 冲突,不开启 */
|
|
2
|
+
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
3
|
+
// @tailwind base;
|
|
4
|
+
|
|
5
|
+
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
6
|
+
@tailwind components;
|
|
7
|
+
|
|
8
|
+
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
9
|
+
@tailwind utilities;
|
|
10
|
+
|
|
11
|
+
.c-border {
|
|
12
|
+
border: 1px solid #f0f0f0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.c-border-bottom {
|
|
16
|
+
border-bottom: 1px solid #f0f0f0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.c-border-top {
|
|
20
|
+
border-top: 1px solid #f0f0f0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.c-border-left {
|
|
24
|
+
border-left: 1px solid #f0f0f0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.c-border-right {
|
|
28
|
+
border-right: 1px solid #f0f0f0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.c-bg {
|
|
32
|
+
background-color: #f3f5f6;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.c-bg-hover {
|
|
36
|
+
background-color: #f3f5f6;
|
|
37
|
+
|
|
38
|
+
&:hover {
|
|
39
|
+
background-color: #e9ebec;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -12,6 +12,14 @@ export const Default = () => {
|
|
|
12
12
|
<span className="text-secondary">text-secondary</span>
|
|
13
13
|
<span className="text-desc">text-desc</span>
|
|
14
14
|
</div>
|
|
15
|
+
<div>
|
|
16
|
+
<div className="c-border-bottom">c-border-bottom</div>
|
|
17
|
+
<div className="c-border-top">c-border-top</div>
|
|
18
|
+
<div className="c-border-left">c-border-left</div>
|
|
19
|
+
<div className="c-border-right">c-border-right</div>
|
|
20
|
+
<div className="c-bg">c-bg</div>
|
|
21
|
+
<div className="c-bg-hover">c-bg-hover</div>
|
|
22
|
+
</div>
|
|
15
23
|
</div>
|
|
16
24
|
);
|
|
17
25
|
};
|