shineout 3.9.9-beta.14 → 3.9.9-beta.16
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 +30 -17
- 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
|
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
522
522
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
523
523
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
524
524
|
var _default = exports.default = {
|
|
525
|
-
version: '3.9.9-beta.
|
|
525
|
+
version: '3.9.9-beta.16'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12402,7 +12402,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12402
12402
|
};
|
|
12403
12403
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12404
12404
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12405
|
-
/* harmony default export */ var version = ('3.9.9-beta.
|
|
12405
|
+
/* harmony default export */ var version = ('3.9.9-beta.16');
|
|
12406
12406
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12407
12407
|
|
|
12408
12408
|
|
|
@@ -13676,6 +13676,7 @@ var checkboxTokens = {
|
|
|
13676
13676
|
checkboxLabelFontColor: 'Neutral-text-5',
|
|
13677
13677
|
checkboxLabelFontSize: 'Font-14',
|
|
13678
13678
|
checkboxLabelDisabledFontColor: 'Neutral-text-2',
|
|
13679
|
+
checkboxIndicatorMarginTop: 'Spacing-4',
|
|
13679
13680
|
checkboxGap: 'Spacing-24',
|
|
13680
13681
|
checkboxBlockGap: 'Spacing-12',
|
|
13681
13682
|
checkboxSmallIconSize: 'Font-12',
|
|
@@ -14498,6 +14499,7 @@ var radioTokens = {
|
|
|
14498
14499
|
radioIconCheckedDisabledColor: 'Brand-3',
|
|
14499
14500
|
radioIconWrapperFill: 'Neutral-fill-2',
|
|
14500
14501
|
radioIconWrapperDark: 'Neutral-fill-3',
|
|
14502
|
+
radioIndicatorMarginTop: 'Spacing-4',
|
|
14501
14503
|
radioPaddingY: 'Spacing-4',
|
|
14502
14504
|
radioButtonPaddingY: 'Spacing-4',
|
|
14503
14505
|
radioButtonPaddingX: 'Spacing-12',
|
|
@@ -18164,7 +18166,7 @@ var checkboxStyle = objectSpread2_default()(objectSpread2_default()({}, animatio
|
|
|
18164
18166
|
wrapper: {
|
|
18165
18167
|
display: 'inline-flex',
|
|
18166
18168
|
position: 'relative',
|
|
18167
|
-
alignItems: '
|
|
18169
|
+
alignItems: 'center',
|
|
18168
18170
|
cursor: 'pointer',
|
|
18169
18171
|
boxSizing: 'border-box',
|
|
18170
18172
|
marginRight: src.checkboxGap,
|
|
@@ -18175,6 +18177,12 @@ var checkboxStyle = objectSpread2_default()(objectSpread2_default()({}, animatio
|
|
|
18175
18177
|
},
|
|
18176
18178
|
wrapperSmall: {},
|
|
18177
18179
|
wrapperLarge: {},
|
|
18180
|
+
wrapperTop: {
|
|
18181
|
+
alignItems: 'flex-start',
|
|
18182
|
+
'& $indicatorWrapper': {
|
|
18183
|
+
marginTop: src.checkboxIndicatorMarginTop
|
|
18184
|
+
}
|
|
18185
|
+
},
|
|
18178
18186
|
input: {},
|
|
18179
18187
|
wrapperChecked: {},
|
|
18180
18188
|
wrapperIndeterminate: {},
|
|
@@ -18187,7 +18195,7 @@ var checkboxStyle = objectSpread2_default()(objectSpread2_default()({}, animatio
|
|
|
18187
18195
|
boxSizing: 'border-box',
|
|
18188
18196
|
width: src.checkboxIconSize,
|
|
18189
18197
|
height: src.checkboxIconSize,
|
|
18190
|
-
marginTop:
|
|
18198
|
+
// marginTop: token.checkboxIndicatorMarginTop,
|
|
18191
18199
|
flexShrink: 0,
|
|
18192
18200
|
'$wrapperSmall &': {
|
|
18193
18201
|
width: src.checkboxSmallIconSize,
|
|
@@ -21189,9 +21197,7 @@ var listStyle = {
|
|
|
21189
21197
|
boxSizing: 'border-box',
|
|
21190
21198
|
maxHeight: '100%',
|
|
21191
21199
|
display: 'flex',
|
|
21192
|
-
flexDirection: 'column'
|
|
21193
|
-
'--soui-checkbox-indicator-margin-top': 0,
|
|
21194
|
-
'--soui-checkbox-align-items': 'center'
|
|
21200
|
+
flexDirection: 'column'
|
|
21195
21201
|
},
|
|
21196
21202
|
wrapperBordered: {
|
|
21197
21203
|
border: "".concat(src.listBorderWidth, " solid ").concat(src.listBorderColor),
|
|
@@ -23740,7 +23746,7 @@ var radioStyle = objectSpread2_default()(objectSpread2_default()({}, animations)
|
|
|
23740
23746
|
wrapper: {
|
|
23741
23747
|
display: 'inline-flex',
|
|
23742
23748
|
position: 'relative',
|
|
23743
|
-
alignItems: '
|
|
23749
|
+
alignItems: 'center',
|
|
23744
23750
|
cursor: 'pointer',
|
|
23745
23751
|
boxSizing: 'border-box',
|
|
23746
23752
|
marginRight: src.radioGap,
|
|
@@ -23767,6 +23773,12 @@ var radioStyle = objectSpread2_default()(objectSpread2_default()({}, animations)
|
|
|
23767
23773
|
padding: "".concat(src.radioLargeButtonPaddingY, " ").concat(src.radioLargeButtonPaddingX)
|
|
23768
23774
|
}
|
|
23769
23775
|
},
|
|
23776
|
+
wrapperTop: {
|
|
23777
|
+
alignItems: 'flex-start',
|
|
23778
|
+
'& $indicatorWrapper': {
|
|
23779
|
+
marginTop: src.radioIndicatorMarginTop
|
|
23780
|
+
}
|
|
23781
|
+
},
|
|
23770
23782
|
wrapperChecked: {},
|
|
23771
23783
|
wrapperDisabled: {
|
|
23772
23784
|
cursor: 'not-allowed'
|
|
@@ -23778,7 +23790,6 @@ var radioStyle = objectSpread2_default()(objectSpread2_default()({}, animations)
|
|
|
23778
23790
|
width: src.radioIconWidth,
|
|
23779
23791
|
minWidth: src.radioIconWidth,
|
|
23780
23792
|
height: src.radioIconWidth,
|
|
23781
|
-
marginTop: 4,
|
|
23782
23793
|
'$wrapperSmall &': {
|
|
23783
23794
|
width: src.radioSmallIconWidth,
|
|
23784
23795
|
minWidth: src.radioSmallIconWidth,
|
|
@@ -29318,8 +29329,7 @@ var treeStyle = {
|
|
|
29318
29329
|
},
|
|
29319
29330
|
checkbox: {
|
|
29320
29331
|
'&[class*="checkbox-wrapper"]': {
|
|
29321
|
-
marginRight: src.treeCheckboxMarginX
|
|
29322
|
-
'--soui-checkbox-indicator-margin-top': '0px'
|
|
29332
|
+
marginRight: src.treeCheckboxMarginX
|
|
29323
29333
|
}
|
|
29324
29334
|
},
|
|
29325
29335
|
text: {
|
|
@@ -37337,7 +37347,7 @@ FormFieldContext.displayName = 'FormFieldContext';
|
|
|
37337
37347
|
;// CONCATENATED MODULE: ../base/src/checkbox/simple-checkbox.tsx
|
|
37338
37348
|
|
|
37339
37349
|
|
|
37340
|
-
var simple_checkbox_excluded = ["jssStyle", "className", "style", "children", "renderFooter", "size", "theme"];
|
|
37350
|
+
var simple_checkbox_excluded = ["jssStyle", "className", "style", "children", "renderFooter", "size", "theme", "verticalAlign"];
|
|
37341
37351
|
|
|
37342
37352
|
|
|
37343
37353
|
|
|
@@ -37354,6 +37364,7 @@ var Checkbox = function Checkbox(props) {
|
|
|
37354
37364
|
renderFooter = props.renderFooter,
|
|
37355
37365
|
size = props.size,
|
|
37356
37366
|
theme = props.theme,
|
|
37367
|
+
verticalAlign = props.verticalAlign,
|
|
37357
37368
|
rest = objectWithoutProperties_default()(props, simple_checkbox_excluded);
|
|
37358
37369
|
var mouseEvents = extractProps(rest, 'mouse');
|
|
37359
37370
|
var _useContext = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useContext)(FormFieldContext),
|
|
@@ -37368,7 +37379,7 @@ var Checkbox = function Checkbox(props) {
|
|
|
37368
37379
|
getInputProps = _useCheck.getInputProps,
|
|
37369
37380
|
disabled = _useCheck.disabled,
|
|
37370
37381
|
checked = _useCheck.checked;
|
|
37371
|
-
var rootClass = classnames_default()(className, checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.rootClass, checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.wrapper, size === 'small' && (checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.wrapperSmall), size === 'large' && (checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.wrapperLarge), !!disabled && (checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.wrapperDisabled), !!checked && (checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.wrapperChecked), props.checked === 'indeterminate' && (checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.wrapperIndeterminate));
|
|
37382
|
+
var rootClass = classnames_default()(className, checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.rootClass, checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.wrapper, size === 'small' && (checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.wrapperSmall), size === 'large' && (checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.wrapperLarge), !!disabled && (checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.wrapperDisabled), !!checked && (checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.wrapperChecked), props.checked === 'indeterminate' && (checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.wrapperIndeterminate), verticalAlign === 'top' && (checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.wrapperTop));
|
|
37372
37383
|
var indicatorClass = classnames_default()(checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.indicatorWrapper, theme === 'dark' && (checkboxStyle === null || checkboxStyle === void 0 ? void 0 : checkboxStyle.darkIndicatorWrapper));
|
|
37373
37384
|
var inputProps = getInputProps();
|
|
37374
37385
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({
|
|
@@ -53979,6 +53990,7 @@ var FormItem = function FormItem(props) {
|
|
|
53979
53990
|
inline = _labelConfig$rest.inline,
|
|
53980
53991
|
keepErrorHeight = _labelConfig$rest.keepErrorHeight,
|
|
53981
53992
|
keepErrorBelow = _labelConfig$rest.keepErrorBelow,
|
|
53993
|
+
keepErrorAbove = _labelConfig$rest.keepErrorAbove,
|
|
53982
53994
|
colon = _labelConfig$rest.colon;
|
|
53983
53995
|
var renderLabel = function renderLabel() {
|
|
53984
53996
|
if (label === undefined || label === null || label === '') return null;
|
|
@@ -54075,11 +54087,11 @@ var FormItem = function FormItem(props) {
|
|
|
54075
54087
|
label: labelText
|
|
54076
54088
|
}),
|
|
54077
54089
|
children: children
|
|
54078
|
-
}), !!tip && (!showError || keepErrorBelow) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
54090
|
+
}), keepErrorAbove && renderError(), !!tip && (!showError || keepErrorBelow || keepErrorAbove) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
54079
54091
|
ref: labelTipRef,
|
|
54080
54092
|
className: formItemClasses === null || formItemClasses === void 0 ? void 0 : formItemClasses.tip,
|
|
54081
54093
|
children: tip
|
|
54082
|
-
}), renderError()]
|
|
54094
|
+
}), !keepErrorAbove && renderError()]
|
|
54083
54095
|
}))]
|
|
54084
54096
|
}));
|
|
54085
54097
|
};
|
|
@@ -58676,7 +58688,7 @@ var TreeList = function TreeList(props) {
|
|
|
58676
58688
|
;// CONCATENATED MODULE: ../base/src/radio/simple-radio.tsx
|
|
58677
58689
|
|
|
58678
58690
|
|
|
58679
|
-
var simple_radio_excluded = ["jssStyle", "className", "style", "children", "renderWrapper", "size", "theme"];
|
|
58691
|
+
var simple_radio_excluded = ["jssStyle", "className", "style", "children", "renderWrapper", "size", "theme", "verticalAlign"];
|
|
58680
58692
|
|
|
58681
58693
|
|
|
58682
58694
|
|
|
@@ -58693,6 +58705,7 @@ var Radio = function Radio(props) {
|
|
|
58693
58705
|
renderWrapper = props.renderWrapper,
|
|
58694
58706
|
size = props.size,
|
|
58695
58707
|
theme = props.theme,
|
|
58708
|
+
verticalAlign = props.verticalAlign,
|
|
58696
58709
|
rest = objectWithoutProperties_default()(props, simple_radio_excluded);
|
|
58697
58710
|
var mouseEvents = extractProps(rest, 'mouse');
|
|
58698
58711
|
var _useContext = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useContext)(FormFieldContext),
|
|
@@ -58704,7 +58717,7 @@ var Radio = function Radio(props) {
|
|
|
58704
58717
|
getInputProps = _useCheck.getInputProps,
|
|
58705
58718
|
disabled = _useCheck.disabled,
|
|
58706
58719
|
checked = _useCheck.checked;
|
|
58707
|
-
var rootClass = classnames_default()([radioClasses === null || radioClasses === void 0 ? void 0 : radioClasses.rootClass, radioClasses === null || radioClasses === void 0 ? void 0 : radioClasses.wrapper, className, !!disabled && (radioClasses === null || radioClasses === void 0 ? void 0 : radioClasses.wrapperDisabled), !!checked && (radioClasses === null || radioClasses === void 0 ? void 0 : radioClasses.wrapperChecked), size === 'small' && (radioClasses === null || radioClasses === void 0 ? void 0 : radioClasses.wrapperSmall), size === 'large' && (radioClasses === null || radioClasses === void 0 ? void 0 : radioClasses.wrapperLarge)]);
|
|
58720
|
+
var rootClass = classnames_default()([radioClasses === null || radioClasses === void 0 ? void 0 : radioClasses.rootClass, radioClasses === null || radioClasses === void 0 ? void 0 : radioClasses.wrapper, className, !!disabled && (radioClasses === null || radioClasses === void 0 ? void 0 : radioClasses.wrapperDisabled), !!checked && (radioClasses === null || radioClasses === void 0 ? void 0 : radioClasses.wrapperChecked), size === 'small' && (radioClasses === null || radioClasses === void 0 ? void 0 : radioClasses.wrapperSmall), size === 'large' && (radioClasses === null || radioClasses === void 0 ? void 0 : radioClasses.wrapperLarge), verticalAlign === 'top' && (radioClasses === null || radioClasses === void 0 ? void 0 : radioClasses.wrapperTop)]);
|
|
58708
58721
|
var indicatorClass = classnames_default()(radioClasses === null || radioClasses === void 0 ? void 0 : radioClasses.indicatorWrapper, theme === 'dark' && (radioClasses === null || radioClasses === void 0 ? void 0 : radioClasses.darkIndicatorWrapper));
|
|
58709
58722
|
var inputProps = getInputProps();
|
|
58710
58723
|
var rootProps = objectSpread2_default()(objectSpread2_default()({}, mouseEvents), getRootProps({
|
|
@@ -75450,7 +75463,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
75450
75463
|
|
|
75451
75464
|
|
|
75452
75465
|
/* harmony default export */ var src_0 = ({
|
|
75453
|
-
version: '3.9.9-beta.
|
|
75466
|
+
version: '3.9.9-beta.16'
|
|
75454
75467
|
});
|
|
75455
75468
|
}();
|
|
75456
75469
|
/******/ return __webpack_exports__;
|