assui 2.0.57 → 2.0.61

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.
@@ -59,8 +59,6 @@
59
59
  .ant-input-affix-wrapper-disabled {
60
60
  color: rgba(0, 0, 0, 0.25);
61
61
  background-color: #f5f5f5;
62
- border-color: #d9d9d9;
63
- box-shadow: none;
64
62
  cursor: not-allowed;
65
63
  opacity: 1;
66
64
  }
@@ -71,8 +69,6 @@
71
69
  .ant-input-affix-wrapper[disabled] {
72
70
  color: rgba(0, 0, 0, 0.25);
73
71
  background-color: #f5f5f5;
74
- border-color: #d9d9d9;
75
- box-shadow: none;
76
72
  cursor: not-allowed;
77
73
  opacity: 1;
78
74
  }
@@ -80,12 +76,12 @@
80
76
  border-color: #d9d9d9;
81
77
  border-right-width: 1px !important;
82
78
  }
83
- .ant-input-affix-wrapper-borderless,
84
- .ant-input-affix-wrapper-borderless:hover,
85
- .ant-input-affix-wrapper-borderless:focus,
86
- .ant-input-affix-wrapper-borderless-focused,
87
- .ant-input-affix-wrapper-borderless-disabled,
88
- .ant-input-affix-wrapper-borderless[disabled] {
79
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless,
80
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless:hover,
81
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless:focus,
82
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless-focused,
83
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless-disabled,
84
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless[disabled] {
89
85
  background-color: transparent;
90
86
  border: none;
91
87
  box-shadow: none;
@@ -153,7 +149,7 @@ textarea.ant-input-affix-wrapper {
153
149
  margin-left: 4px;
154
150
  }
155
151
  .anticon.ant-input-clear-icon {
156
- margin: 0;
152
+ margin: 0 4px;
157
153
  color: rgba(0, 0, 0, 0.25);
158
154
  font-size: 12px;
159
155
  vertical-align: -1px;
@@ -169,8 +165,8 @@ textarea.ant-input-affix-wrapper {
169
165
  .anticon.ant-input-clear-icon-hidden {
170
166
  visibility: hidden;
171
167
  }
172
- .anticon.ant-input-clear-icon-has-suffix {
173
- margin: 0 4px;
168
+ .anticon.ant-input-clear-icon:last-child {
169
+ margin-right: 0;
174
170
  }
175
171
  .ant-input-affix-wrapper-textarea-with-clear-btn {
176
172
  padding: 0 !important;
@@ -244,8 +240,6 @@ textarea.ant-input-affix-wrapper {
244
240
  .ant-input-disabled {
245
241
  color: rgba(0, 0, 0, 0.25);
246
242
  background-color: #f5f5f5;
247
- border-color: #d9d9d9;
248
- box-shadow: none;
249
243
  cursor: not-allowed;
250
244
  opacity: 1;
251
245
  }
@@ -256,8 +250,6 @@ textarea.ant-input-affix-wrapper {
256
250
  .ant-input[disabled] {
257
251
  color: rgba(0, 0, 0, 0.25);
258
252
  background-color: #f5f5f5;
259
- border-color: #d9d9d9;
260
- box-shadow: none;
261
253
  cursor: not-allowed;
262
254
  opacity: 1;
263
255
  }
@@ -265,12 +257,12 @@ textarea.ant-input-affix-wrapper {
265
257
  border-color: #d9d9d9;
266
258
  border-right-width: 1px !important;
267
259
  }
268
- .ant-input-borderless,
269
- .ant-input-borderless:hover,
270
- .ant-input-borderless:focus,
271
- .ant-input-borderless-focused,
272
- .ant-input-borderless-disabled,
273
- .ant-input-borderless[disabled] {
260
+ .ant-input.ant-input-borderless,
261
+ .ant-input.ant-input-borderless:hover,
262
+ .ant-input.ant-input-borderless:focus,
263
+ .ant-input.ant-input-borderless-focused,
264
+ .ant-input.ant-input-borderless-disabled,
265
+ .ant-input.ant-input-borderless[disabled] {
274
266
  background-color: transparent;
275
267
  border: none;
276
268
  box-shadow: none;
@@ -699,9 +691,9 @@ textarea.ant-input {
699
691
  .ant-input-textarea-rtl.ant-input-textarea-show-count::after {
700
692
  text-align: left;
701
693
  }
702
- .ant-input-affix-wrapper-rtl .ant-input-clear-icon-has-suffix {
703
- margin-right: 0;
704
- margin-left: 4px;
694
+ .ant-input-affix-wrapper-rtl .ant-input-clear-icon:last-child {
695
+ margin-right: 4px;
696
+ margin-left: 0;
705
697
  }
706
698
  .ant-input-affix-wrapper-rtl .ant-input-clear-icon {
707
699
  right: auto;
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import type { TextAreaProps } from 'antd/es/input';
3
3
  export interface TAreaProps extends Omit<TextAreaProps, 'onChange'> {
4
4
  /** 输入框内容 */
5
- value: any;
5
+ value?: any;
6
6
  /** 指定输入框展示值的格式 */
7
7
  formatter?: (value: string) => string;
8
8
  /** 变化回调 */
@@ -59,8 +59,6 @@
59
59
  .ant-input-affix-wrapper-disabled {
60
60
  color: rgba(0, 0, 0, 0.25);
61
61
  background-color: #f5f5f5;
62
- border-color: #d9d9d9;
63
- box-shadow: none;
64
62
  cursor: not-allowed;
65
63
  opacity: 1;
66
64
  }
@@ -71,8 +69,6 @@
71
69
  .ant-input-affix-wrapper[disabled] {
72
70
  color: rgba(0, 0, 0, 0.25);
73
71
  background-color: #f5f5f5;
74
- border-color: #d9d9d9;
75
- box-shadow: none;
76
72
  cursor: not-allowed;
77
73
  opacity: 1;
78
74
  }
@@ -80,12 +76,12 @@
80
76
  border-color: #d9d9d9;
81
77
  border-right-width: 1px !important;
82
78
  }
83
- .ant-input-affix-wrapper-borderless,
84
- .ant-input-affix-wrapper-borderless:hover,
85
- .ant-input-affix-wrapper-borderless:focus,
86
- .ant-input-affix-wrapper-borderless-focused,
87
- .ant-input-affix-wrapper-borderless-disabled,
88
- .ant-input-affix-wrapper-borderless[disabled] {
79
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless,
80
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless:hover,
81
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless:focus,
82
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless-focused,
83
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless-disabled,
84
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless[disabled] {
89
85
  background-color: transparent;
90
86
  border: none;
91
87
  box-shadow: none;
@@ -153,7 +149,7 @@ textarea.ant-input-affix-wrapper {
153
149
  margin-left: 4px;
154
150
  }
155
151
  .anticon.ant-input-clear-icon {
156
- margin: 0;
152
+ margin: 0 4px;
157
153
  color: rgba(0, 0, 0, 0.25);
158
154
  font-size: 12px;
159
155
  vertical-align: -1px;
@@ -169,8 +165,8 @@ textarea.ant-input-affix-wrapper {
169
165
  .anticon.ant-input-clear-icon-hidden {
170
166
  visibility: hidden;
171
167
  }
172
- .anticon.ant-input-clear-icon-has-suffix {
173
- margin: 0 4px;
168
+ .anticon.ant-input-clear-icon:last-child {
169
+ margin-right: 0;
174
170
  }
175
171
  .ant-input-affix-wrapper-textarea-with-clear-btn {
176
172
  padding: 0 !important;
@@ -244,8 +240,6 @@ textarea.ant-input-affix-wrapper {
244
240
  .ant-input-disabled {
245
241
  color: rgba(0, 0, 0, 0.25);
246
242
  background-color: #f5f5f5;
247
- border-color: #d9d9d9;
248
- box-shadow: none;
249
243
  cursor: not-allowed;
250
244
  opacity: 1;
251
245
  }
@@ -256,8 +250,6 @@ textarea.ant-input-affix-wrapper {
256
250
  .ant-input[disabled] {
257
251
  color: rgba(0, 0, 0, 0.25);
258
252
  background-color: #f5f5f5;
259
- border-color: #d9d9d9;
260
- box-shadow: none;
261
253
  cursor: not-allowed;
262
254
  opacity: 1;
263
255
  }
@@ -265,12 +257,12 @@ textarea.ant-input-affix-wrapper {
265
257
  border-color: #d9d9d9;
266
258
  border-right-width: 1px !important;
267
259
  }
268
- .ant-input-borderless,
269
- .ant-input-borderless:hover,
270
- .ant-input-borderless:focus,
271
- .ant-input-borderless-focused,
272
- .ant-input-borderless-disabled,
273
- .ant-input-borderless[disabled] {
260
+ .ant-input.ant-input-borderless,
261
+ .ant-input.ant-input-borderless:hover,
262
+ .ant-input.ant-input-borderless:focus,
263
+ .ant-input.ant-input-borderless-focused,
264
+ .ant-input.ant-input-borderless-disabled,
265
+ .ant-input.ant-input-borderless[disabled] {
274
266
  background-color: transparent;
275
267
  border: none;
276
268
  box-shadow: none;
@@ -699,9 +691,9 @@ textarea.ant-input {
699
691
  .ant-input-textarea-rtl.ant-input-textarea-show-count::after {
700
692
  text-align: left;
701
693
  }
702
- .ant-input-affix-wrapper-rtl .ant-input-clear-icon-has-suffix {
703
- margin-right: 0;
704
- margin-left: 4px;
694
+ .ant-input-affix-wrapper-rtl .ant-input-clear-icon:last-child {
695
+ margin-right: 4px;
696
+ margin-left: 0;
705
697
  }
706
698
  .ant-input-affix-wrapper-rtl .ant-input-clear-icon {
707
699
  right: auto;
@@ -59,8 +59,6 @@
59
59
  .ant-input-affix-wrapper-disabled {
60
60
  color: rgba(0, 0, 0, 0.25);
61
61
  background-color: #f5f5f5;
62
- border-color: #d9d9d9;
63
- box-shadow: none;
64
62
  cursor: not-allowed;
65
63
  opacity: 1;
66
64
  }
@@ -71,8 +69,6 @@
71
69
  .ant-input-affix-wrapper[disabled] {
72
70
  color: rgba(0, 0, 0, 0.25);
73
71
  background-color: #f5f5f5;
74
- border-color: #d9d9d9;
75
- box-shadow: none;
76
72
  cursor: not-allowed;
77
73
  opacity: 1;
78
74
  }
@@ -80,12 +76,12 @@
80
76
  border-color: #d9d9d9;
81
77
  border-right-width: 1px !important;
82
78
  }
83
- .ant-input-affix-wrapper-borderless,
84
- .ant-input-affix-wrapper-borderless:hover,
85
- .ant-input-affix-wrapper-borderless:focus,
86
- .ant-input-affix-wrapper-borderless-focused,
87
- .ant-input-affix-wrapper-borderless-disabled,
88
- .ant-input-affix-wrapper-borderless[disabled] {
79
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless,
80
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless:hover,
81
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless:focus,
82
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless-focused,
83
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless-disabled,
84
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless[disabled] {
89
85
  background-color: transparent;
90
86
  border: none;
91
87
  box-shadow: none;
@@ -153,7 +149,7 @@ textarea.ant-input-affix-wrapper {
153
149
  margin-left: 4px;
154
150
  }
155
151
  .anticon.ant-input-clear-icon {
156
- margin: 0;
152
+ margin: 0 4px;
157
153
  color: rgba(0, 0, 0, 0.25);
158
154
  font-size: 12px;
159
155
  vertical-align: -1px;
@@ -169,8 +165,8 @@ textarea.ant-input-affix-wrapper {
169
165
  .anticon.ant-input-clear-icon-hidden {
170
166
  visibility: hidden;
171
167
  }
172
- .anticon.ant-input-clear-icon-has-suffix {
173
- margin: 0 4px;
168
+ .anticon.ant-input-clear-icon:last-child {
169
+ margin-right: 0;
174
170
  }
175
171
  .ant-input-affix-wrapper-textarea-with-clear-btn {
176
172
  padding: 0 !important;
@@ -244,8 +240,6 @@ textarea.ant-input-affix-wrapper {
244
240
  .ant-input-disabled {
245
241
  color: rgba(0, 0, 0, 0.25);
246
242
  background-color: #f5f5f5;
247
- border-color: #d9d9d9;
248
- box-shadow: none;
249
243
  cursor: not-allowed;
250
244
  opacity: 1;
251
245
  }
@@ -256,8 +250,6 @@ textarea.ant-input-affix-wrapper {
256
250
  .ant-input[disabled] {
257
251
  color: rgba(0, 0, 0, 0.25);
258
252
  background-color: #f5f5f5;
259
- border-color: #d9d9d9;
260
- box-shadow: none;
261
253
  cursor: not-allowed;
262
254
  opacity: 1;
263
255
  }
@@ -265,12 +257,12 @@ textarea.ant-input-affix-wrapper {
265
257
  border-color: #d9d9d9;
266
258
  border-right-width: 1px !important;
267
259
  }
268
- .ant-input-borderless,
269
- .ant-input-borderless:hover,
270
- .ant-input-borderless:focus,
271
- .ant-input-borderless-focused,
272
- .ant-input-borderless-disabled,
273
- .ant-input-borderless[disabled] {
260
+ .ant-input.ant-input-borderless,
261
+ .ant-input.ant-input-borderless:hover,
262
+ .ant-input.ant-input-borderless:focus,
263
+ .ant-input.ant-input-borderless-focused,
264
+ .ant-input.ant-input-borderless-disabled,
265
+ .ant-input.ant-input-borderless[disabled] {
274
266
  background-color: transparent;
275
267
  border: none;
276
268
  box-shadow: none;
@@ -699,9 +691,9 @@ textarea.ant-input {
699
691
  .ant-input-textarea-rtl.ant-input-textarea-show-count::after {
700
692
  text-align: left;
701
693
  }
702
- .ant-input-affix-wrapper-rtl .ant-input-clear-icon-has-suffix {
703
- margin-right: 0;
704
- margin-left: 4px;
694
+ .ant-input-affix-wrapper-rtl .ant-input-clear-icon:last-child {
695
+ margin-right: 4px;
696
+ margin-left: 0;
705
697
  }
706
698
  .ant-input-affix-wrapper-rtl .ant-input-clear-icon {
707
699
  right: auto;
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import type { TextAreaProps } from 'antd/es/input';
3
3
  export interface TAreaProps extends Omit<TextAreaProps, 'onChange'> {
4
4
  /** 输入框内容 */
5
- value: any;
5
+ value?: any;
6
6
  /** 指定输入框展示值的格式 */
7
7
  formatter?: (value: string) => string;
8
8
  /** 变化回调 */
@@ -59,8 +59,6 @@
59
59
  .ant-input-affix-wrapper-disabled {
60
60
  color: rgba(0, 0, 0, 0.25);
61
61
  background-color: #f5f5f5;
62
- border-color: #d9d9d9;
63
- box-shadow: none;
64
62
  cursor: not-allowed;
65
63
  opacity: 1;
66
64
  }
@@ -71,8 +69,6 @@
71
69
  .ant-input-affix-wrapper[disabled] {
72
70
  color: rgba(0, 0, 0, 0.25);
73
71
  background-color: #f5f5f5;
74
- border-color: #d9d9d9;
75
- box-shadow: none;
76
72
  cursor: not-allowed;
77
73
  opacity: 1;
78
74
  }
@@ -80,12 +76,12 @@
80
76
  border-color: #d9d9d9;
81
77
  border-right-width: 1px !important;
82
78
  }
83
- .ant-input-affix-wrapper-borderless,
84
- .ant-input-affix-wrapper-borderless:hover,
85
- .ant-input-affix-wrapper-borderless:focus,
86
- .ant-input-affix-wrapper-borderless-focused,
87
- .ant-input-affix-wrapper-borderless-disabled,
88
- .ant-input-affix-wrapper-borderless[disabled] {
79
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless,
80
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless:hover,
81
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless:focus,
82
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless-focused,
83
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless-disabled,
84
+ .ant-input-affix-wrapper.ant-input-affix-wrapper-borderless[disabled] {
89
85
  background-color: transparent;
90
86
  border: none;
91
87
  box-shadow: none;
@@ -153,7 +149,7 @@ textarea.ant-input-affix-wrapper {
153
149
  margin-left: 4px;
154
150
  }
155
151
  .anticon.ant-input-clear-icon {
156
- margin: 0;
152
+ margin: 0 4px;
157
153
  color: rgba(0, 0, 0, 0.25);
158
154
  font-size: 12px;
159
155
  vertical-align: -1px;
@@ -169,8 +165,8 @@ textarea.ant-input-affix-wrapper {
169
165
  .anticon.ant-input-clear-icon-hidden {
170
166
  visibility: hidden;
171
167
  }
172
- .anticon.ant-input-clear-icon-has-suffix {
173
- margin: 0 4px;
168
+ .anticon.ant-input-clear-icon:last-child {
169
+ margin-right: 0;
174
170
  }
175
171
  .ant-input-affix-wrapper-textarea-with-clear-btn {
176
172
  padding: 0 !important;
@@ -244,8 +240,6 @@ textarea.ant-input-affix-wrapper {
244
240
  .ant-input-disabled {
245
241
  color: rgba(0, 0, 0, 0.25);
246
242
  background-color: #f5f5f5;
247
- border-color: #d9d9d9;
248
- box-shadow: none;
249
243
  cursor: not-allowed;
250
244
  opacity: 1;
251
245
  }
@@ -256,8 +250,6 @@ textarea.ant-input-affix-wrapper {
256
250
  .ant-input[disabled] {
257
251
  color: rgba(0, 0, 0, 0.25);
258
252
  background-color: #f5f5f5;
259
- border-color: #d9d9d9;
260
- box-shadow: none;
261
253
  cursor: not-allowed;
262
254
  opacity: 1;
263
255
  }
@@ -265,12 +257,12 @@ textarea.ant-input-affix-wrapper {
265
257
  border-color: #d9d9d9;
266
258
  border-right-width: 1px !important;
267
259
  }
268
- .ant-input-borderless,
269
- .ant-input-borderless:hover,
270
- .ant-input-borderless:focus,
271
- .ant-input-borderless-focused,
272
- .ant-input-borderless-disabled,
273
- .ant-input-borderless[disabled] {
260
+ .ant-input.ant-input-borderless,
261
+ .ant-input.ant-input-borderless:hover,
262
+ .ant-input.ant-input-borderless:focus,
263
+ .ant-input.ant-input-borderless-focused,
264
+ .ant-input.ant-input-borderless-disabled,
265
+ .ant-input.ant-input-borderless[disabled] {
274
266
  background-color: transparent;
275
267
  border: none;
276
268
  box-shadow: none;
@@ -699,9 +691,9 @@ textarea.ant-input {
699
691
  .ant-input-textarea-rtl.ant-input-textarea-show-count::after {
700
692
  text-align: left;
701
693
  }
702
- .ant-input-affix-wrapper-rtl .ant-input-clear-icon-has-suffix {
703
- margin-right: 0;
704
- margin-left: 4px;
694
+ .ant-input-affix-wrapper-rtl .ant-input-clear-icon:last-child {
695
+ margin-right: 4px;
696
+ margin-left: 0;
705
697
  }
706
698
  .ant-input-affix-wrapper-rtl .ant-input-clear-icon {
707
699
  right: auto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "2.0.57",
3
+ "version": "2.0.61",
4
4
  "description": "react ui library",
5
5
  "author": "jason <usochen@gmail.com>",
6
6
  "main": "./lib/index.js",
@@ -33,7 +33,7 @@
33
33
  "@ahooksjs/use-url-state": "^2.5.8",
34
34
  "@tinymce/tinymce-react": "^3.13.0",
35
35
  "@types/react-beautiful-dnd": "^13.1.2",
36
- "a-icons": "^1.0.30",
36
+ "a-icons": "^1.0.33",
37
37
  "ahooks": "^3.0.8",
38
38
  "bignumber.js": "^9.0.1",
39
39
  "copy-to-clipboard": "^3.3.1",
@@ -69,5 +69,5 @@
69
69
  "node": ">=10.0.0"
70
70
  },
71
71
  "license": "MIT",
72
- "gitHead": "b18be3724d2783f000c87d76f467a334e5bf82a6"
72
+ "gitHead": "0a32031cb3f272647f5199507a145058c7a945b8"
73
73
  }