@pinnacle0/web-ui 0.2.69 → 0.2.70
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/admin/AdminApp/index.less +1 -1
- package/core/Breadcrumb/index.less +4 -4
- package/core/Button/index.less +1 -1
- package/core/Carousel3D/index.less +6 -6
- package/core/DarkOverlay/index.less +3 -3
- package/core/Foldable/index.less +3 -3
- package/core/ImageUploader/index.less +1 -1
- package/core/NumberInput/index.less +2 -2
- package/core/Table/index.less +1 -1
- package/core/TagInput/index.less +1 -1
- package/css/global.less +2 -2
- package/package.json +8 -8
- package/util/MediaUtil/index.less +1 -1
- package/util/ModalUtil/index.less +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
line-height: 40px;
|
|
8
8
|
text-align: center;
|
|
9
9
|
padding: 0 12px;
|
|
10
|
-
background-color: rgb(133
|
|
10
|
+
background-color: rgb(133 210 250);
|
|
11
11
|
|
|
12
12
|
&::after {
|
|
13
13
|
content: "";
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
height: 0;
|
|
16
16
|
border-style: solid;
|
|
17
17
|
border-width: 20px 0 20px 20px;
|
|
18
|
-
border-color: transparent transparent transparent rgb(133
|
|
18
|
+
border-color: transparent transparent transparent rgb(133 210 250);
|
|
19
19
|
position: absolute;
|
|
20
20
|
top: 0;
|
|
21
21
|
right: -20px;
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
|
|
25
25
|
&.clickable:hover {
|
|
26
26
|
cursor: pointer;
|
|
27
|
-
background-color: rgb(150
|
|
27
|
+
background-color: rgb(150 217 253);
|
|
28
28
|
|
|
29
29
|
&::after {
|
|
30
|
-
border-color: transparent transparent transparent rgb(150
|
|
30
|
+
border-color: transparent transparent transparent rgb(150 217 253);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
package/core/Button/index.less
CHANGED
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
|
|
22
22
|
&.child-clone {
|
|
23
23
|
z-index: 0;
|
|
24
|
-
opacity: 0
|
|
24
|
+
opacity: 0%;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&.pre {
|
|
28
28
|
display: block;
|
|
29
|
-
opacity:
|
|
29
|
+
opacity: 30%;
|
|
30
30
|
z-index: 0;
|
|
31
31
|
transform: translateX(-5%) scale(0.9);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
&.active {
|
|
35
35
|
display: block;
|
|
36
|
-
opacity:
|
|
36
|
+
opacity: 100%;
|
|
37
37
|
z-index: 1;
|
|
38
38
|
transform: scale(0.94);
|
|
39
39
|
overflow: hidden;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
|
|
46
46
|
&.next {
|
|
47
47
|
display: block;
|
|
48
|
-
opacity:
|
|
48
|
+
opacity: 30%;
|
|
49
49
|
z-index: 0;
|
|
50
50
|
transform: translateX(5%) scale(0.9);
|
|
51
51
|
}
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
top: 50%;
|
|
60
60
|
transform: translateY(-50%);
|
|
61
61
|
color: #000;
|
|
62
|
-
opacity:
|
|
62
|
+
opacity: 80%;
|
|
63
63
|
|
|
64
64
|
&:hover {
|
|
65
|
-
opacity:
|
|
65
|
+
opacity: 100%;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
&.arrow-left {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.g-dark-overlay {
|
|
2
2
|
@keyframes overlay-fade {
|
|
3
3
|
from {
|
|
4
|
-
opacity: 0
|
|
4
|
+
opacity: 0%;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
to {
|
|
8
|
-
opacity:
|
|
8
|
+
opacity: 100%;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
right: 0;
|
|
16
16
|
top: 0;
|
|
17
17
|
bottom: 0;
|
|
18
|
-
background: rgba(0
|
|
18
|
+
background: rgba(0 0 0 / 75%);
|
|
19
19
|
animation: overlay-fade 500ms;
|
|
20
20
|
}
|
package/core/Foldable/index.less
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
content: "";
|
|
35
35
|
position: absolute;
|
|
36
36
|
top: 50%;
|
|
37
|
-
border: solid rgba(0
|
|
37
|
+
border: solid rgba(0 0 0 / 65%);
|
|
38
38
|
border-width: 1px 0 0 1px;
|
|
39
39
|
transform: translateY(2px) translateY(-50%) rotate(45deg);
|
|
40
40
|
transition: transform 0.3s;
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
&:hover {
|
|
48
|
-
opacity:
|
|
48
|
+
opacity: 80%;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
&:active {
|
|
52
|
-
opacity:
|
|
52
|
+
opacity: 90%;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&.folded::before {
|
package/core/Table/index.less
CHANGED
package/core/TagInput/index.less
CHANGED
package/css/global.less
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import "~antd/lib/style/index.less";
|
|
2
2
|
|
|
3
3
|
* {
|
|
4
|
-
font-family: Microsoft YaHei, Yahei, "Helvetica Neue", Helvetica, Arial, Segoe UI, Roboto, Hiragino Sans GB, sans-serif;
|
|
4
|
+
font-family: "Microsoft YaHei", Yahei, "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, "Hiragino Sans GB", sans-serif;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
a {
|
|
@@ -70,7 +70,7 @@ button {
|
|
|
70
70
|
&:not(:disabled) {
|
|
71
71
|
&:hover {
|
|
72
72
|
cursor: pointer;
|
|
73
|
-
opacity:
|
|
73
|
+
opacity: 82%;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pinnacle0/web-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.70",
|
|
4
4
|
"author": "Pinnacle",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": [
|
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
"url": "https://github.com/pinnacle0/frontend-libraries.git",
|
|
13
13
|
"directory": "packages/web-ui"
|
|
14
14
|
},
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">= 16.0.0"
|
|
17
|
+
},
|
|
15
18
|
"scripts": {
|
|
16
19
|
"run-script": "ts-node --project config/tsconfig.script.json",
|
|
17
20
|
"build": "yarn run-script script/build.ts",
|
|
@@ -32,10 +35,10 @@
|
|
|
32
35
|
"react-router-dom": ">=5.2.0"
|
|
33
36
|
},
|
|
34
37
|
"devDependencies": {
|
|
35
|
-
"@babel/core": "7.
|
|
36
|
-
"@babel/runtime": "7.
|
|
37
|
-
"@testing-library/dom": "8.
|
|
38
|
-
"@testing-library/jest-dom": "5.
|
|
38
|
+
"@babel/core": "7.16.0",
|
|
39
|
+
"@babel/runtime": "7.16.3",
|
|
40
|
+
"@testing-library/dom": "8.11.1",
|
|
41
|
+
"@testing-library/jest-dom": "5.15.0",
|
|
39
42
|
"@testing-library/react": "12.1.2",
|
|
40
43
|
"@testing-library/user-event": "13.5.0",
|
|
41
44
|
"@types/draft-js": "0.11.6",
|
|
@@ -46,8 +49,5 @@
|
|
|
46
49
|
"react": "17.0.2",
|
|
47
50
|
"react-dom": "17.0.2",
|
|
48
51
|
"react-router-dom": "5.3.0"
|
|
49
|
-
},
|
|
50
|
-
"engines": {
|
|
51
|
-
"node": ">= 14.14.0"
|
|
52
52
|
}
|
|
53
53
|
}
|