assui 2.0.116 → 2.0.119

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.
@@ -8,6 +8,9 @@
8
8
  width: 100%;
9
9
  height: 100%;
10
10
  }
11
+ .label-select .ant-select-allow-clear .ant-select-clear {
12
+ right: 16px;
13
+ }
11
14
  .label-select .ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector {
12
15
  height: 45px;
13
16
  border: 1px solid #e5e5e5;
@@ -10,6 +10,12 @@
10
10
  width: 100%;
11
11
  height: 100%;
12
12
 
13
+ .@{ant-prefix}-select-allow-clear {
14
+ .@{ant-prefix}-select-clear {
15
+ right: 16px;
16
+ }
17
+ }
18
+
13
19
  .@{ant-prefix}-select-single.@{ant-prefix}-select-lg:not(.@{ant-prefix}-select-customize-input)
14
20
  .@{ant-prefix}-select-selector {
15
21
  height: 45px;
@@ -1,3 +1,32 @@
1
+ var __assign = this && this.__assign || function () {
2
+ __assign = Object.assign || function (t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+
6
+ for (var p in s) {
7
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
8
+ }
9
+ }
10
+
11
+ return t;
12
+ };
13
+
14
+ return __assign.apply(this, arguments);
15
+ };
16
+
17
+ var __rest = this && this.__rest || function (s, e) {
18
+ var t = {};
19
+
20
+ for (var p in s) {
21
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
22
+ }
23
+
24
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
25
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
26
+ }
27
+ return t;
28
+ };
29
+
1
30
  var __read = this && this.__read || function (o, n) {
2
31
  var m = typeof Symbol === "function" && o[Symbol.iterator];
3
32
  if (!m) return o;
@@ -36,7 +65,8 @@ var LabelTextArea = function LabelTextArea(props) {
36
65
  id = props.id,
37
66
  formatter = props.formatter,
38
67
  onFocus = props.onFocus,
39
- onBlur = props.onBlur;
68
+ onBlur = props.onBlur,
69
+ restProps = __rest(props, ["className", "label", "id", "formatter", "onFocus", "onBlur"]);
40
70
 
41
71
  var _a = __read(React.useState(false), 2),
42
72
  focused = _a[0],
@@ -82,7 +112,7 @@ var LabelTextArea = function LabelTextArea(props) {
82
112
  'textarea-warper-focused': focused
83
113
  }),
84
114
  onClick: handleLabelClick
85
- }, /*#__PURE__*/React.createElement("textarea", {
115
+ }, /*#__PURE__*/React.createElement("textarea", __assign({}, restProps, {
86
116
  ref: function ref(el) {
87
117
  return TextAreaDomRef.current = el;
88
118
  },
@@ -92,7 +122,7 @@ var LabelTextArea = function LabelTextArea(props) {
92
122
  onFocus: handleFocus,
93
123
  onChange: handleChange,
94
124
  onBlur: handleBlur
95
- }), /*#__PURE__*/React.createElement("label", {
125
+ })), /*#__PURE__*/React.createElement("label", {
96
126
  className: "label-textarea-text"
97
127
  }, label)));
98
128
  };
@@ -8,6 +8,9 @@
8
8
  width: 100%;
9
9
  height: 100%;
10
10
  }
11
+ .label-select .ant-select-allow-clear .ant-select-clear {
12
+ right: 16px;
13
+ }
11
14
  .label-select .ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector {
12
15
  height: 45px;
13
16
  border: 1px solid #e5e5e5;
@@ -10,6 +10,12 @@
10
10
  width: 100%;
11
11
  height: 100%;
12
12
 
13
+ .@{ant-prefix}-select-allow-clear {
14
+ .@{ant-prefix}-select-clear {
15
+ right: 16px;
16
+ }
17
+ }
18
+
13
19
  .@{ant-prefix}-select-single.@{ant-prefix}-select-lg:not(.@{ant-prefix}-select-customize-input)
14
20
  .@{ant-prefix}-select-selector {
15
21
  height: 45px;
@@ -1,5 +1,34 @@
1
1
  "use strict";
2
2
 
3
+ var __assign = this && this.__assign || function () {
4
+ __assign = Object.assign || function (t) {
5
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
6
+ s = arguments[i];
7
+
8
+ for (var p in s) {
9
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
10
+ }
11
+ }
12
+
13
+ return t;
14
+ };
15
+
16
+ return __assign.apply(this, arguments);
17
+ };
18
+
19
+ var __rest = this && this.__rest || function (s, e) {
20
+ var t = {};
21
+
22
+ for (var p in s) {
23
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
24
+ }
25
+
26
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
27
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
28
+ }
29
+ return t;
30
+ };
31
+
3
32
  var __read = this && this.__read || function (o, n) {
4
33
  var m = typeof Symbol === "function" && o[Symbol.iterator];
5
34
  if (!m) return o;
@@ -51,7 +80,8 @@ var LabelTextArea = function LabelTextArea(props) {
51
80
  id = props.id,
52
81
  formatter = props.formatter,
53
82
  onFocus = props.onFocus,
54
- onBlur = props.onBlur;
83
+ onBlur = props.onBlur,
84
+ restProps = __rest(props, ["className", "label", "id", "formatter", "onFocus", "onBlur"]);
55
85
 
56
86
  var _a = __read(react_1["default"].useState(false), 2),
57
87
  focused = _a[0],
@@ -97,7 +127,7 @@ var LabelTextArea = function LabelTextArea(props) {
97
127
  'textarea-warper-focused': focused
98
128
  }),
99
129
  onClick: handleLabelClick
100
- }, react_1["default"].createElement("textarea", {
130
+ }, react_1["default"].createElement("textarea", __assign({}, restProps, {
101
131
  ref: function ref(el) {
102
132
  return TextAreaDomRef.current = el;
103
133
  },
@@ -107,7 +137,7 @@ var LabelTextArea = function LabelTextArea(props) {
107
137
  onFocus: handleFocus,
108
138
  onChange: handleChange,
109
139
  onBlur: handleBlur
110
- }), react_1["default"].createElement("label", {
140
+ })), react_1["default"].createElement("label", {
111
141
  className: "label-textarea-text"
112
142
  }, label)));
113
143
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "2.0.116",
3
+ "version": "2.0.119",
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.55",
36
+ "a-icons": "^1.0.56",
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": "b901c8e5c2e404cf6d6317861e8081e4aeffbfe9"
72
+ "gitHead": "dd2da90546faf1973ca95164e6f0b4e4ab9f5739"
73
73
  }