shineout 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/index.js +1 -1
- package/dist/shineout.js +26 -10
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.js +1 -1
- package/package.json +5 -5
package/cjs/index.js
CHANGED
|
@@ -507,5 +507,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
507
507
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
508
508
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
509
509
|
var _default = exports.default = {
|
|
510
|
-
version: '3.5.8-beta.
|
|
510
|
+
version: '3.5.8-beta.11'
|
|
511
511
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -6807,6 +6807,14 @@ var del = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
|
|
|
6807
6807
|
}, 'del')];
|
|
6808
6808
|
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'];
|
|
6809
6809
|
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'];
|
|
6810
|
+
var minus = [/*#__PURE__*/(0,jsx_runtime.jsx)("g", {
|
|
6811
|
+
stroke: "none",
|
|
6812
|
+
strokeWidth: "1",
|
|
6813
|
+
fillRule: "evenodd",
|
|
6814
|
+
children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
|
|
6815
|
+
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"
|
|
6816
|
+
})
|
|
6817
|
+
}, "minus")];
|
|
6810
6818
|
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'];
|
|
6811
6819
|
var warningSimple = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
|
|
6812
6820
|
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",
|
|
@@ -6876,6 +6884,7 @@ var Icons = {
|
|
|
6876
6884
|
ArrowRightDouble: icon(arrowRightDouble),
|
|
6877
6885
|
Delete: icon(del),
|
|
6878
6886
|
Add: icon(add),
|
|
6887
|
+
Minus: icon(minus),
|
|
6879
6888
|
More: icon(more),
|
|
6880
6889
|
Calendar: icon(calendar1),
|
|
6881
6890
|
Display: icon(display),
|
|
@@ -7117,7 +7126,7 @@ var conflictWarning = function conflictWarning(component, prop1, prop2) {
|
|
|
7117
7126
|
};
|
|
7118
7127
|
var error = function error(message) {
|
|
7119
7128
|
var msg = new Error("[shineout] ".concat(message));
|
|
7120
|
-
shouldShowMessage(msg.message)
|
|
7129
|
+
if (shouldShowMessage(msg.message)) console.error(msg);
|
|
7121
7130
|
};
|
|
7122
7131
|
var devUseWarning = {
|
|
7123
7132
|
error: error,
|
|
@@ -12084,7 +12093,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12084
12093
|
};
|
|
12085
12094
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12086
12095
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12087
|
-
/* harmony default export */ var version = ('3.5.8-beta.
|
|
12096
|
+
/* harmony default export */ var version = ('3.5.8-beta.11');
|
|
12088
12097
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12089
12098
|
|
|
12090
12099
|
|
|
@@ -14884,7 +14893,9 @@ var tagTokens = {
|
|
|
14884
14893
|
|
|
14885
14894
|
var textareaTokens = {
|
|
14886
14895
|
textareaFontSize: 'Font-14',
|
|
14896
|
+
textareaFontColor: 'Neutral-text-5',
|
|
14887
14897
|
textareaBorderRadius: 'Radius-default',
|
|
14898
|
+
textareaBorderColor: 'Neutral-border-2',
|
|
14888
14899
|
textareaPaddingX: 'Spacing-8',
|
|
14889
14900
|
textareaPaddingY: 'Spacing-4',
|
|
14890
14901
|
textareaSmallFontSize: 'Font-12',
|
|
@@ -14893,9 +14904,7 @@ var textareaTokens = {
|
|
|
14893
14904
|
textareaLargeFontSize: 'Font-16',
|
|
14894
14905
|
textareaLargePaddingX: 'Spacing-12',
|
|
14895
14906
|
textareaLargePaddingY: 'Spacing-7',
|
|
14896
|
-
textareaFontColor: 'Neutral-text-5',
|
|
14897
14907
|
textareaPlaceholderColor: 'Neutral-text-2',
|
|
14898
|
-
textareaBorderColor: 'Neutral-border-2',
|
|
14899
14908
|
textareaBackgroundColor: 'Neutral-fill-1',
|
|
14900
14909
|
textareaHoverBorderColor: 'Brand-6',
|
|
14901
14910
|
textareaFocusBorderColor: 'Brand-7',
|
|
@@ -22361,7 +22370,8 @@ var radioStyle = {
|
|
|
22361
22370
|
groupBlock: {
|
|
22362
22371
|
'& $wrapper': {
|
|
22363
22372
|
display: 'flex',
|
|
22364
|
-
marginBottom: src.radioBlockGap
|
|
22373
|
+
marginBottom: src.radioBlockGap,
|
|
22374
|
+
marginRight: 0
|
|
22365
22375
|
}
|
|
22366
22376
|
},
|
|
22367
22377
|
groupButton: {
|
|
@@ -27362,6 +27372,9 @@ var treeStyle = {
|
|
|
27362
27372
|
// },
|
|
27363
27373
|
'& > $node': {
|
|
27364
27374
|
paddingLeft: 12,
|
|
27375
|
+
'&$leaf': {
|
|
27376
|
+
paddingLeft: 24
|
|
27377
|
+
},
|
|
27365
27378
|
'& > $contentWrapper > $iconWrapper': {
|
|
27366
27379
|
'&[dir=ltr]': {
|
|
27367
27380
|
left: 0
|
|
@@ -47049,7 +47062,7 @@ var useTextarea = function useTextarea(props) {
|
|
|
47049
47062
|
|
|
47050
47063
|
|
|
47051
47064
|
|
|
47052
|
-
var simple_textarea_excluded = ["jssStyle", "className", "style", "status", "size", "prefix", "suffix", "underline", "border", "resize", "onEnterPress", "getStatus", "renderTextarea"];
|
|
47065
|
+
var simple_textarea_excluded = ["jssStyle", "className", "style", "status", "size", "prefix", "suffix", "underline", "autosize", "border", "resize", "onEnterPress", "getStatus", "renderTextarea"];
|
|
47053
47066
|
|
|
47054
47067
|
|
|
47055
47068
|
|
|
@@ -47066,6 +47079,7 @@ var Textarea = function Textarea(props) {
|
|
|
47066
47079
|
prefix = props.prefix,
|
|
47067
47080
|
suffix = props.suffix,
|
|
47068
47081
|
underline = props.underline,
|
|
47082
|
+
autosize = props.autosize,
|
|
47069
47083
|
_props$border = props.border,
|
|
47070
47084
|
border = _props$border === void 0 ? true : _props$border,
|
|
47071
47085
|
_props$resize = props.resize,
|
|
@@ -47094,7 +47108,7 @@ var Textarea = function Textarea(props) {
|
|
|
47094
47108
|
keyHandler(e);
|
|
47095
47109
|
});
|
|
47096
47110
|
var textareaProps = getTextAreaProps({
|
|
47097
|
-
className: 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)),
|
|
47111
|
+
className: 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)),
|
|
47098
47112
|
onKeyUp: onKeyUp
|
|
47099
47113
|
});
|
|
47100
47114
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
@@ -47349,7 +47363,8 @@ var textarea_Textarea = function Textarea(props0) {
|
|
|
47349
47363
|
popover: resetProps.popover || (typeof_default()(info) === 'object' ? info.position : 'bottom-right'),
|
|
47350
47364
|
popoverProps: Object.assign({
|
|
47351
47365
|
style: {
|
|
47352
|
-
width: 'auto'
|
|
47366
|
+
width: 'auto',
|
|
47367
|
+
fontSize: 12
|
|
47353
47368
|
}
|
|
47354
47369
|
}, resetProps.popoverProps),
|
|
47355
47370
|
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,
|
|
@@ -47388,7 +47403,8 @@ var textarea_Textarea = function Textarea(props0) {
|
|
|
47388
47403
|
suffix: mergeSuffix,
|
|
47389
47404
|
style: mergeStyle,
|
|
47390
47405
|
getStatus: onStatusChange,
|
|
47391
|
-
rootRef: rootRef
|
|
47406
|
+
rootRef: rootRef,
|
|
47407
|
+
autosize: props.autosize
|
|
47392
47408
|
}));
|
|
47393
47409
|
};
|
|
47394
47410
|
/* harmony default export */ var base_src_textarea_textarea = (/*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().memo(textarea_Textarea));
|
|
@@ -67572,7 +67588,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
67572
67588
|
|
|
67573
67589
|
|
|
67574
67590
|
/* harmony default export */ var src_0 = ({
|
|
67575
|
-
version: '3.5.8-beta.
|
|
67591
|
+
version: '3.5.8-beta.11'
|
|
67576
67592
|
});
|
|
67577
67593
|
}();
|
|
67578
67594
|
/******/ return __webpack_exports__;
|