@lemon-fe/components 1.6.3 → 1.6.4
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/es/state/index.d.ts +1 -1
- package/es/state/index.less +13 -0
- package/package.json +2 -2
package/es/state/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
interface Props {
|
|
3
3
|
shape?: 'default' | 'order' | 'text';
|
|
4
|
-
type?: 'default' | 'success' | 'warning' | 'error' | 'disabled' | 'processing' | 'processed';
|
|
4
|
+
type?: 'default' | 'success' | 'warning' | 'error' | 'disabled' | 'processing' | 'processed' | 'approaching';
|
|
5
5
|
children?: string;
|
|
6
6
|
}
|
|
7
7
|
export default function State(props: Props): JSX.Element;
|
package/es/state/index.less
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@color-error: #d54a42;
|
|
4
4
|
@color-processing: #16c0ff;
|
|
5
5
|
@color-processed: #385aff;
|
|
6
|
+
@color-approaching: #ffb700;
|
|
6
7
|
@color-disabled: rgba(51, 51, 51, 0.5);
|
|
7
8
|
|
|
8
9
|
.@{prefixCls}-state {
|
|
@@ -84,6 +85,10 @@
|
|
|
84
85
|
.defaultShapeColor(@color-processed);
|
|
85
86
|
}
|
|
86
87
|
|
|
88
|
+
&-type-approaching&-shape-default {
|
|
89
|
+
.defaultShapeColor(@color-approaching);
|
|
90
|
+
}
|
|
91
|
+
|
|
87
92
|
&-type-warning&-shape-default {
|
|
88
93
|
.defaultShapeColor(@color-warning);
|
|
89
94
|
}
|
|
@@ -114,6 +119,10 @@
|
|
|
114
119
|
.orderShapeColor(@color-processed);
|
|
115
120
|
}
|
|
116
121
|
|
|
122
|
+
&-type-approaching&-shape-order {
|
|
123
|
+
.orderShapeColor(@color-approaching);
|
|
124
|
+
}
|
|
125
|
+
|
|
117
126
|
&-type-warning&-shape-order {
|
|
118
127
|
.orderShapeColor(@color-warning);
|
|
119
128
|
}
|
|
@@ -138,6 +147,10 @@
|
|
|
138
147
|
color: @color-processed;
|
|
139
148
|
}
|
|
140
149
|
|
|
150
|
+
&-type-approaching&-shape-text {
|
|
151
|
+
color: @color-approaching;
|
|
152
|
+
}
|
|
153
|
+
|
|
141
154
|
&-type-warning&-shape-text {
|
|
142
155
|
color: @color-warning;
|
|
143
156
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemon-fe/components",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.4",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"registry": "https://registry.npmjs.org"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "9242c3ded70d88daf87fbaf9fd911c931f24b101"
|
|
62
62
|
}
|