@sheinx/base 3.5.8-beta.10 → 3.5.8-beta.11
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/cjs/icons/icons.d.ts +1 -0
- package/cjs/icons/icons.d.ts.map +1 -1
- package/cjs/icons/icons.js +9 -0
- package/cjs/textarea/simple-textarea.d.ts.map +1 -1
- package/cjs/textarea/simple-textarea.js +3 -2
- package/cjs/textarea/textarea.d.ts.map +1 -1
- package/cjs/textarea/textarea.js +4 -2
- package/cjs/textarea/textarea.type.d.ts +7 -1
- package/cjs/textarea/textarea.type.d.ts.map +1 -1
- package/esm/icons/icons.d.ts +1 -0
- package/esm/icons/icons.d.ts.map +1 -1
- package/esm/icons/icons.js +9 -0
- package/esm/textarea/simple-textarea.d.ts.map +1 -1
- package/esm/textarea/simple-textarea.js +3 -2
- package/esm/textarea/textarea.d.ts.map +1 -1
- package/esm/textarea/textarea.js +4 -2
- package/esm/textarea/textarea.type.d.ts +7 -1
- package/esm/textarea/textarea.type.d.ts.map +1 -1
- package/package.json +2 -2
package/cjs/icons/icons.d.ts
CHANGED
package/cjs/icons/icons.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["icons.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["icons.tsx"],"names":[],"mappings":";AAmSA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDV,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/cjs/icons/icons.js
CHANGED
|
@@ -134,6 +134,14 @@ var del = [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
|
134
134
|
}, 'del')];
|
|
135
135
|
var ireturn = ['M7.20702 9.79292C7.5675 10.1534 7.59522 10.7206 7.29019 11.1129L7.207 11.2071C6.84651 11.5676 6.27928 11.5953 5.88699 11.2903L5.79278 11.2071L2.29288 7.70711C2.25484 7.66908 2.22054 7.62879 2.18995 7.5867C2.17548 7.56659 2.16126 7.54536 2.14785 7.52359C2.14086 7.51251 2.13445 7.50164 2.12827 7.49068C2.1164 7.46937 2.10484 7.44697 2.09412 7.4241C2.08688 7.40894 2.08035 7.39401 2.0742 7.37896C2.0665 7.35996 2.0592 7.34043 2.0525 7.32062C2.0466 7.30329 2.04118 7.28562 2.03626 7.26784C2.03061 7.24742 2.02557 7.2267 2.02118 7.20575C2.01805 7.19068 2.01528 7.17566 2.01284 7.1606C2.00957 7.14048 2.00687 7.11973 2.00482 7.09878C2.00225 7.07259 2.00072 7.04657 2.0002 7.02054C2.00007 7.01361 2 7.00682 2 7.00002L2.00004 6.99059C2.00028 6.96616 2.0014 6.94175 2.00341 6.91741L2 7.00002C2 6.95394 2.00312 6.90858 2.00915 6.86416C2.01177 6.84557 2.01486 6.82687 2.01847 6.80826C2.02191 6.79005 2.02591 6.77214 2.03038 6.75442C2.03547 6.73462 2.04111 6.71483 2.04736 6.69519C2.0528 6.67801 2.05875 6.66102 2.06514 6.64425C2.07174 6.62683 2.07876 6.60977 2.08627 6.59288C2.09441 6.57484 2.10293 6.5572 2.11193 6.53985C2.11958 6.52474 2.12804 6.50938 2.13693 6.49422C2.1487 6.47459 2.16074 6.45561 2.17339 6.43707C2.18153 6.42473 2.19041 6.41232 2.19961 6.40008C2.21368 6.38171 2.22796 6.364 2.24281 6.34679C2.24857 6.3399 2.25464 6.33309 2.26081 6.32634L2.27239 6.31402C2.29136 6.29391 2.31115 6.27458 2.33172 6.2561L2.3492 6.24077L5.8491 3.24077C6.26842 2.88134 6.89972 2.9299 7.25915 3.34922C7.59093 3.73628 7.57508 4.30397 7.24087 4.67171L7.1507 4.75927L5.703 6L14.4969 6.00002C18.4758 6.00002 21.8394 9.2348 21.9944 13.2111C22.1552 17.3326 18.8314 20.8644 14.7341 20.9962L14.4969 21H5.9992C5.44692 21 4.9992 20.5523 4.9992 20C4.9992 19.4872 5.38524 19.0645 5.88258 19.0067L5.9992 19H14.4969C17.5678 19 20.1155 16.3548 19.996 13.289C19.8856 10.4588 17.5241 8.11965 14.7139 8.00446L14.4969 8.00002L5.415 8L7.20702 9.79292Z'];
|
|
136
136
|
var add = ['M12.0317 4C12.5445 4.00067 12.9667 4.38727 13.0238 4.88468L13.0303 5.00131L13.022 11H19C19.5523 11 20 11.4477 20 12C20 12.5128 19.614 12.9355 19.1166 12.9933L19 13H13.02L13.012 19.0013C13.0113 19.5536 12.563 20.0007 12.0107 20C11.4979 19.9993 11.0757 19.6127 11.0186 19.1153L11.012 18.9987L11.02 13H5C4.44772 13 4 12.5523 4 12C4 11.4872 4.38604 11.0645 4.88338 11.0067L5 11H11.022L11.0304 4.99869C11.0311 4.44641 11.4794 3.99928 12.0317 4Z'];
|
|
137
|
+
var minus = [/*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
|
|
138
|
+
stroke: "none",
|
|
139
|
+
strokeWidth: "1",
|
|
140
|
+
fillRule: "evenodd",
|
|
141
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
142
|
+
d: "M19.25,11 C19.8022847,11 20.25,11.4477153 20.25,12 C20.25,12.5128358 19.8639598,12.9355072 19.3666211,12.9932723 L19.25,13 L5.25,13 C4.69771525,13 4.25,12.5522847 4.25,12 C4.25,11.4871642 4.63604019,11.0644928 5.13337887,11.0067277 L5.25,11 L19.25,11 Z"
|
|
143
|
+
})
|
|
144
|
+
}, "minus")];
|
|
137
145
|
var more = ['M5 10C6.10457 10 7 10.8954 7 12C7 13.1046 6.10457 14 5 14C3.89543 14 3 13.1046 3 12C3 10.8954 3.89543 10 5 10ZM12 10C13.1046 10 14 10.8954 14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10ZM19 10C20.1046 10 21 10.8954 21 12C21 13.1046 20.1046 14 19 14C17.8954 14 17 13.1046 17 12C17 10.8954 17.8954 10 19 10Z'];
|
|
138
146
|
var warningSimple = [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
139
147
|
d: "M10.4312 4.48155C10.4031 3.91069 10.8584 3.4325 11.43 3.4325H12.5693C13.1409 3.4325 13.5962 3.91069 13.5681 4.48155L13.0664 14.6976C13.0402 15.2301 12.6008 15.6485 12.0676 15.6485H11.9317C11.3985 15.6485 10.9591 15.2301 10.9329 14.6976L10.4312 4.48155ZM11.9876 16.9445C12.5156 16.9445 12.9716 17.1125 13.3316 17.4485C13.6676 17.7845 13.8596 18.2165 13.8596 18.7445C13.8596 19.2725 13.6676 19.7285 13.3316 20.0645C12.9476 20.4005 12.5156 20.5685 11.9876 20.5685C11.4596 20.5685 11.0276 20.3765 10.6916 20.0405C10.3076 19.7045 10.1396 19.2725 10.1396 18.7445C10.1396 18.2165 10.3076 17.7845 10.6916 17.4485C11.0276 17.1125 11.4596 16.9445 11.9876 16.9445Z",
|
|
@@ -203,6 +211,7 @@ var Icons = {
|
|
|
203
211
|
ArrowRightDouble: icon(arrowRightDouble),
|
|
204
212
|
Delete: icon(del),
|
|
205
213
|
Add: icon(add),
|
|
214
|
+
Minus: icon(minus),
|
|
206
215
|
More: icon(more),
|
|
207
216
|
Calendar: icon(calendar1),
|
|
208
217
|
Display: icon(display),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-textarea.d.ts","sourceRoot":"","sources":["simple-textarea.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAGtD,QAAA,MAAM,QAAQ,UAAW,mBAAmB,
|
|
1
|
+
{"version":3,"file":"simple-textarea.d.ts","sourceRoot":"","sources":["simple-textarea.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAGtD,QAAA,MAAM,QAAQ,UAAW,mBAAmB,gBAoF3C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -10,7 +10,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _formFieldContext = require("../form/form-field-context");
|
|
12
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
-
var _excluded = ["jssStyle", "className", "style", "status", "size", "prefix", "suffix", "underline", "border", "resize", "onEnterPress", "getStatus", "renderTextarea"];
|
|
13
|
+
var _excluded = ["jssStyle", "className", "style", "status", "size", "prefix", "suffix", "underline", "autosize", "border", "resize", "onEnterPress", "getStatus", "renderTextarea"];
|
|
14
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
15
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -31,6 +31,7 @@ var Textarea = function Textarea(props) {
|
|
|
31
31
|
prefix = props.prefix,
|
|
32
32
|
suffix = props.suffix,
|
|
33
33
|
underline = props.underline,
|
|
34
|
+
autosize = props.autosize,
|
|
34
35
|
_props$border = props.border,
|
|
35
36
|
border = _props$border === void 0 ? true : _props$border,
|
|
36
37
|
_props$resize = props.resize,
|
|
@@ -59,7 +60,7 @@ var Textarea = function Textarea(props) {
|
|
|
59
60
|
keyHandler(e);
|
|
60
61
|
});
|
|
61
62
|
var textareaProps = getTextAreaProps({
|
|
62
|
-
className: (0, _classnames.default)(textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.wrapperPaddingBox, textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.wrapperInnerTitleBottom, textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.textarea, !!resize && (textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.resize)),
|
|
63
|
+
className: (0, _classnames.default)(textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.wrapperPaddingBox, textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.wrapperInnerTitleBottom, textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.textarea, (!!resize || autosize) && (textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.resize)),
|
|
63
64
|
onKeyUp: onKeyUp
|
|
64
65
|
});
|
|
65
66
|
(0, _react.useEffect)(function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAG/C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;;
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAG/C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;;AAmNhD,wBAAoC"}
|
package/cjs/textarea/textarea.js
CHANGED
|
@@ -156,7 +156,8 @@ var Textarea = function Textarea(props0) {
|
|
|
156
156
|
popover: resetProps.popover || (_typeof(info) === 'object' ? info.position : 'bottom-right'),
|
|
157
157
|
popoverProps: Object.assign({
|
|
158
158
|
style: {
|
|
159
|
-
width: 'auto'
|
|
159
|
+
width: 'auto',
|
|
160
|
+
fontSize: 12
|
|
160
161
|
}
|
|
161
162
|
}, resetProps.popoverProps),
|
|
162
163
|
error: infoState !== null && infoState !== void 0 && infoState.error && (infoState === null || infoState === void 0 ? void 0 : infoState.error) instanceof Error ? infoState === null || infoState === void 0 || (_infoState$error = infoState.error) === null || _infoState$error === void 0 ? void 0 : _infoState$error.message : undefined,
|
|
@@ -195,7 +196,8 @@ var Textarea = function Textarea(props0) {
|
|
|
195
196
|
suffix: mergeSuffix,
|
|
196
197
|
style: mergeStyle,
|
|
197
198
|
getStatus: onStatusChange,
|
|
198
|
-
rootRef: rootRef
|
|
199
|
+
rootRef: rootRef,
|
|
200
|
+
autosize: props.autosize
|
|
199
201
|
}));
|
|
200
202
|
};
|
|
201
203
|
var _default = exports.default = /*#__PURE__*/_react.default.memo(Textarea);
|
|
@@ -73,6 +73,12 @@ export interface SimpleTextareaProps extends BaseTextareaProps, Pick<CommonType,
|
|
|
73
73
|
* @default false
|
|
74
74
|
*/
|
|
75
75
|
resize?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* @en Whether the height changes automatically with the content
|
|
78
|
+
* @cn 高度是否随内容自动变化
|
|
79
|
+
* @default false
|
|
80
|
+
*/
|
|
81
|
+
autosize?: boolean;
|
|
76
82
|
/**
|
|
77
83
|
* @en The callback function for enter key
|
|
78
84
|
* @cn 回车键的回调函数
|
|
@@ -98,7 +104,7 @@ export interface TextareaInfoOption {
|
|
|
98
104
|
*/
|
|
99
105
|
position?: 'bottom-left' | 'bottom-right';
|
|
100
106
|
}
|
|
101
|
-
export interface TextareaProps extends BaseTipProps, Omit<SimpleTextareaProps, 'value' | 'onChange' | 'defaultValue' | 'jssStyle' | 'getStatus' | 'rootRef' | 'renderTextarea' | 'prefix'> {
|
|
107
|
+
export interface TextareaProps extends BaseTipProps, Omit<SimpleTextareaProps, 'value' | 'onChange' | 'defaultValue' | 'jssStyle' | 'getStatus' | 'rootRef' | 'renderTextarea' | 'prefix' | 'autosize'> {
|
|
102
108
|
/**
|
|
103
109
|
* @private 内部属性
|
|
104
110
|
*/
|
|
@@ -1 +1 @@
|
|
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AAC;CAChB"}
|
package/esm/icons/icons.d.ts
CHANGED
package/esm/icons/icons.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["icons.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["icons.tsx"],"names":[],"mappings":";AAmSA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDV,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/esm/icons/icons.js
CHANGED
|
@@ -128,6 +128,14 @@ var del = [/*#__PURE__*/_jsx("path", {
|
|
|
128
128
|
}, 'del')];
|
|
129
129
|
var ireturn = ['M7.20702 9.79292C7.5675 10.1534 7.59522 10.7206 7.29019 11.1129L7.207 11.2071C6.84651 11.5676 6.27928 11.5953 5.88699 11.2903L5.79278 11.2071L2.29288 7.70711C2.25484 7.66908 2.22054 7.62879 2.18995 7.5867C2.17548 7.56659 2.16126 7.54536 2.14785 7.52359C2.14086 7.51251 2.13445 7.50164 2.12827 7.49068C2.1164 7.46937 2.10484 7.44697 2.09412 7.4241C2.08688 7.40894 2.08035 7.39401 2.0742 7.37896C2.0665 7.35996 2.0592 7.34043 2.0525 7.32062C2.0466 7.30329 2.04118 7.28562 2.03626 7.26784C2.03061 7.24742 2.02557 7.2267 2.02118 7.20575C2.01805 7.19068 2.01528 7.17566 2.01284 7.1606C2.00957 7.14048 2.00687 7.11973 2.00482 7.09878C2.00225 7.07259 2.00072 7.04657 2.0002 7.02054C2.00007 7.01361 2 7.00682 2 7.00002L2.00004 6.99059C2.00028 6.96616 2.0014 6.94175 2.00341 6.91741L2 7.00002C2 6.95394 2.00312 6.90858 2.00915 6.86416C2.01177 6.84557 2.01486 6.82687 2.01847 6.80826C2.02191 6.79005 2.02591 6.77214 2.03038 6.75442C2.03547 6.73462 2.04111 6.71483 2.04736 6.69519C2.0528 6.67801 2.05875 6.66102 2.06514 6.64425C2.07174 6.62683 2.07876 6.60977 2.08627 6.59288C2.09441 6.57484 2.10293 6.5572 2.11193 6.53985C2.11958 6.52474 2.12804 6.50938 2.13693 6.49422C2.1487 6.47459 2.16074 6.45561 2.17339 6.43707C2.18153 6.42473 2.19041 6.41232 2.19961 6.40008C2.21368 6.38171 2.22796 6.364 2.24281 6.34679C2.24857 6.3399 2.25464 6.33309 2.26081 6.32634L2.27239 6.31402C2.29136 6.29391 2.31115 6.27458 2.33172 6.2561L2.3492 6.24077L5.8491 3.24077C6.26842 2.88134 6.89972 2.9299 7.25915 3.34922C7.59093 3.73628 7.57508 4.30397 7.24087 4.67171L7.1507 4.75927L5.703 6L14.4969 6.00002C18.4758 6.00002 21.8394 9.2348 21.9944 13.2111C22.1552 17.3326 18.8314 20.8644 14.7341 20.9962L14.4969 21H5.9992C5.44692 21 4.9992 20.5523 4.9992 20C4.9992 19.4872 5.38524 19.0645 5.88258 19.0067L5.9992 19H14.4969C17.5678 19 20.1155 16.3548 19.996 13.289C19.8856 10.4588 17.5241 8.11965 14.7139 8.00446L14.4969 8.00002L5.415 8L7.20702 9.79292Z'];
|
|
130
130
|
var add = ['M12.0317 4C12.5445 4.00067 12.9667 4.38727 13.0238 4.88468L13.0303 5.00131L13.022 11H19C19.5523 11 20 11.4477 20 12C20 12.5128 19.614 12.9355 19.1166 12.9933L19 13H13.02L13.012 19.0013C13.0113 19.5536 12.563 20.0007 12.0107 20C11.4979 19.9993 11.0757 19.6127 11.0186 19.1153L11.012 18.9987L11.02 13H5C4.44772 13 4 12.5523 4 12C4 11.4872 4.38604 11.0645 4.88338 11.0067L5 11H11.022L11.0304 4.99869C11.0311 4.44641 11.4794 3.99928 12.0317 4Z'];
|
|
131
|
+
var minus = [/*#__PURE__*/_jsx("g", {
|
|
132
|
+
stroke: "none",
|
|
133
|
+
strokeWidth: "1",
|
|
134
|
+
fillRule: "evenodd",
|
|
135
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
136
|
+
d: "M19.25,11 C19.8022847,11 20.25,11.4477153 20.25,12 C20.25,12.5128358 19.8639598,12.9355072 19.3666211,12.9932723 L19.25,13 L5.25,13 C4.69771525,13 4.25,12.5522847 4.25,12 C4.25,11.4871642 4.63604019,11.0644928 5.13337887,11.0067277 L5.25,11 L19.25,11 Z"
|
|
137
|
+
})
|
|
138
|
+
}, "minus")];
|
|
131
139
|
var more = ['M5 10C6.10457 10 7 10.8954 7 12C7 13.1046 6.10457 14 5 14C3.89543 14 3 13.1046 3 12C3 10.8954 3.89543 10 5 10ZM12 10C13.1046 10 14 10.8954 14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10ZM19 10C20.1046 10 21 10.8954 21 12C21 13.1046 20.1046 14 19 14C17.8954 14 17 13.1046 17 12C17 10.8954 17.8954 10 19 10Z'];
|
|
132
140
|
var warningSimple = [/*#__PURE__*/_jsx("path", {
|
|
133
141
|
d: "M10.4312 4.48155C10.4031 3.91069 10.8584 3.4325 11.43 3.4325H12.5693C13.1409 3.4325 13.5962 3.91069 13.5681 4.48155L13.0664 14.6976C13.0402 15.2301 12.6008 15.6485 12.0676 15.6485H11.9317C11.3985 15.6485 10.9591 15.2301 10.9329 14.6976L10.4312 4.48155ZM11.9876 16.9445C12.5156 16.9445 12.9716 17.1125 13.3316 17.4485C13.6676 17.7845 13.8596 18.2165 13.8596 18.7445C13.8596 19.2725 13.6676 19.7285 13.3316 20.0645C12.9476 20.4005 12.5156 20.5685 11.9876 20.5685C11.4596 20.5685 11.0276 20.3765 10.6916 20.0405C10.3076 19.7045 10.1396 19.2725 10.1396 18.7445C10.1396 18.2165 10.3076 17.7845 10.6916 17.4485C11.0276 17.1125 11.4596 16.9445 11.9876 16.9445Z",
|
|
@@ -197,6 +205,7 @@ var Icons = {
|
|
|
197
205
|
ArrowRightDouble: icon(arrowRightDouble),
|
|
198
206
|
Delete: icon(del),
|
|
199
207
|
Add: icon(add),
|
|
208
|
+
Minus: icon(minus),
|
|
200
209
|
More: icon(more),
|
|
201
210
|
Calendar: icon(calendar1),
|
|
202
211
|
Display: icon(display),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-textarea.d.ts","sourceRoot":"","sources":["simple-textarea.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAGtD,QAAA,MAAM,QAAQ,UAAW,mBAAmB,
|
|
1
|
+
{"version":3,"file":"simple-textarea.d.ts","sourceRoot":"","sources":["simple-textarea.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAGtD,QAAA,MAAM,QAAQ,UAAW,mBAAmB,gBAoF3C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["jssStyle", "className", "style", "status", "size", "prefix", "suffix", "underline", "border", "resize", "onEnterPress", "getStatus", "renderTextarea"];
|
|
2
|
+
var _excluded = ["jssStyle", "className", "style", "status", "size", "prefix", "suffix", "underline", "autosize", "border", "resize", "onEnterPress", "getStatus", "renderTextarea"];
|
|
3
3
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
5
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -23,6 +23,7 @@ var Textarea = function Textarea(props) {
|
|
|
23
23
|
prefix = props.prefix,
|
|
24
24
|
suffix = props.suffix,
|
|
25
25
|
underline = props.underline,
|
|
26
|
+
autosize = props.autosize,
|
|
26
27
|
_props$border = props.border,
|
|
27
28
|
border = _props$border === void 0 ? true : _props$border,
|
|
28
29
|
_props$resize = props.resize,
|
|
@@ -51,7 +52,7 @@ var Textarea = function Textarea(props) {
|
|
|
51
52
|
keyHandler(e);
|
|
52
53
|
});
|
|
53
54
|
var textareaProps = getTextAreaProps({
|
|
54
|
-
className: classNames(textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.wrapperPaddingBox, textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.wrapperInnerTitleBottom, textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.textarea, !!resize && (textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.resize)),
|
|
55
|
+
className: classNames(textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.wrapperPaddingBox, textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.wrapperInnerTitleBottom, textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.textarea, (!!resize || autosize) && (textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.resize)),
|
|
55
56
|
onKeyUp: onKeyUp
|
|
56
57
|
});
|
|
57
58
|
useEffect(function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAG/C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;;
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAG/C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;;AAmNhD,wBAAoC"}
|
package/esm/textarea/textarea.js
CHANGED
|
@@ -148,7 +148,8 @@ var Textarea = function Textarea(props0) {
|
|
|
148
148
|
popover: resetProps.popover || (_typeof(info) === 'object' ? info.position : 'bottom-right'),
|
|
149
149
|
popoverProps: Object.assign({
|
|
150
150
|
style: {
|
|
151
|
-
width: 'auto'
|
|
151
|
+
width: 'auto',
|
|
152
|
+
fontSize: 12
|
|
152
153
|
}
|
|
153
154
|
}, resetProps.popoverProps),
|
|
154
155
|
error: infoState !== null && infoState !== void 0 && infoState.error && (infoState === null || infoState === void 0 ? void 0 : infoState.error) instanceof Error ? infoState === null || infoState === void 0 || (_infoState$error = infoState.error) === null || _infoState$error === void 0 ? void 0 : _infoState$error.message : undefined,
|
|
@@ -187,7 +188,8 @@ var Textarea = function Textarea(props0) {
|
|
|
187
188
|
suffix: mergeSuffix,
|
|
188
189
|
style: mergeStyle,
|
|
189
190
|
getStatus: onStatusChange,
|
|
190
|
-
rootRef: rootRef
|
|
191
|
+
rootRef: rootRef,
|
|
192
|
+
autosize: props.autosize
|
|
191
193
|
}));
|
|
192
194
|
};
|
|
193
195
|
export default /*#__PURE__*/React.memo(Textarea);
|
|
@@ -73,6 +73,12 @@ export interface SimpleTextareaProps extends BaseTextareaProps, Pick<CommonType,
|
|
|
73
73
|
* @default false
|
|
74
74
|
*/
|
|
75
75
|
resize?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* @en Whether the height changes automatically with the content
|
|
78
|
+
* @cn 高度是否随内容自动变化
|
|
79
|
+
* @default false
|
|
80
|
+
*/
|
|
81
|
+
autosize?: boolean;
|
|
76
82
|
/**
|
|
77
83
|
* @en The callback function for enter key
|
|
78
84
|
* @cn 回车键的回调函数
|
|
@@ -98,7 +104,7 @@ export interface TextareaInfoOption {
|
|
|
98
104
|
*/
|
|
99
105
|
position?: 'bottom-left' | 'bottom-right';
|
|
100
106
|
}
|
|
101
|
-
export interface TextareaProps extends BaseTipProps, Omit<SimpleTextareaProps, 'value' | 'onChange' | 'defaultValue' | 'jssStyle' | 'getStatus' | 'rootRef' | 'renderTextarea' | 'prefix'> {
|
|
107
|
+
export interface TextareaProps extends BaseTipProps, Omit<SimpleTextareaProps, 'value' | 'onChange' | 'defaultValue' | 'jssStyle' | 'getStatus' | 'rootRef' | 'renderTextarea' | 'prefix' | 'autosize'> {
|
|
102
108
|
/**
|
|
103
109
|
* @private 内部属性
|
|
104
110
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.type.d.ts","sourceRoot":"","sources":["textarea.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uBAAuB,EAAE,MAAM,CAAC;IAChC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;IACH,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC9C;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,GAAG,MAAM,CAAC;IAC3D;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IACnD;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/base",
|
|
3
|
-
"version": "3.5.8-beta.
|
|
3
|
+
"version": "3.5.8-beta.11",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"module": "./esm/index.js",
|
|
11
11
|
"typings": "./cjs/index.d.ts",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@sheinx/hooks": "3.5.8-beta.
|
|
13
|
+
"@sheinx/hooks": "3.5.8-beta.11",
|
|
14
14
|
"immer": "^10.0.0",
|
|
15
15
|
"classnames": "^2.0.0",
|
|
16
16
|
"@shined/reactive": "^0.1.3-alpha.0"
|