shineout 3.9.8-beta.15 → 3.9.8-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 +29 -19
- 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.8-beta.
|
|
525
|
+
version: '3.9.8-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.8-beta.
|
|
12405
|
+
/* harmony default export */ var version = ('3.9.8-beta.16');
|
|
12406
12406
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12407
12407
|
|
|
12408
12408
|
|
|
@@ -21738,6 +21738,9 @@ var menuStyle = {
|
|
|
21738
21738
|
'$wrapper:not($wrapperVertical) $itemClosing > $itemContent &': {
|
|
21739
21739
|
transform: 'rotate(0deg)'
|
|
21740
21740
|
}
|
|
21741
|
+
},
|
|
21742
|
+
'&$expandFront > $icon': {
|
|
21743
|
+
minHeight: src.lineHeightDynamic
|
|
21741
21744
|
}
|
|
21742
21745
|
},
|
|
21743
21746
|
expandVertical: {
|
|
@@ -33917,7 +33920,7 @@ function useForkRef() {
|
|
|
33917
33920
|
|
|
33918
33921
|
|
|
33919
33922
|
|
|
33920
|
-
var animation_list_excluded = ["display", "children", "style", "onRef", "show", "duration", "type", "className", "animation", "onAnimationAfterEnter"];
|
|
33923
|
+
var animation_list_excluded = ["display", "children", "style", "onRef", "show", "duration", "type", "className", "animation", "onAnimationAfterEnter", "dir"];
|
|
33921
33924
|
|
|
33922
33925
|
|
|
33923
33926
|
|
|
@@ -33969,6 +33972,7 @@ var AnimationList = function AnimationList(props) {
|
|
|
33969
33972
|
_props$animation = props.animation,
|
|
33970
33973
|
animation = _props$animation === void 0 ? true : _props$animation,
|
|
33971
33974
|
onAnimationAfterEnter = props.onAnimationAfterEnter,
|
|
33975
|
+
dir = props.dir,
|
|
33972
33976
|
forwardProps = objectWithoutProperties_default()(props, animation_list_excluded);
|
|
33973
33977
|
var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(undefined),
|
|
33974
33978
|
_useState2 = slicedToArray_default()(_useState, 2),
|
|
@@ -34259,7 +34263,8 @@ var AnimationList = function AnimationList(props) {
|
|
|
34259
34263
|
className: classNamePo,
|
|
34260
34264
|
"data-sheinx-animation-type": type.join(' '),
|
|
34261
34265
|
"data-sheinx-animation-duration": duration,
|
|
34262
|
-
style: wrapperStyle
|
|
34266
|
+
style: wrapperStyle,
|
|
34267
|
+
dir: dir
|
|
34263
34268
|
}, forwardProps), {}, {
|
|
34264
34269
|
children: children
|
|
34265
34270
|
}));
|
|
@@ -44265,6 +44270,7 @@ var Cascader = function Cascader(props0) {
|
|
|
44265
44270
|
type: "scale-y",
|
|
44266
44271
|
duration: 'fast',
|
|
44267
44272
|
style: pickerWrapperStyle,
|
|
44273
|
+
dir: direction,
|
|
44268
44274
|
children: renderPanel()
|
|
44269
44275
|
})
|
|
44270
44276
|
})]
|
|
@@ -61264,6 +61270,21 @@ var MenuItem = function MenuItem(props) {
|
|
|
61264
61270
|
flexShrink: 0
|
|
61265
61271
|
}
|
|
61266
61272
|
}) : null;
|
|
61273
|
+
var frontCaret = null;
|
|
61274
|
+
if (props.frontCaret) {
|
|
61275
|
+
frontCaret = /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
61276
|
+
style: {
|
|
61277
|
+
color: props.caretColor
|
|
61278
|
+
},
|
|
61279
|
+
className: classnames_default()(classes === null || classes === void 0 ? void 0 : classes.expand, classes === null || classes === void 0 ? void 0 : classes.expandFront, (isVertical || isSubHorizontal) && (classes === null || classes === void 0 ? void 0 : classes.expandVertical), props.parentSelectable && (classes === null || classes === void 0 ? void 0 : classes.expandHover)),
|
|
61280
|
+
onClick: handleExpandClick,
|
|
61281
|
+
dir: config.direction,
|
|
61282
|
+
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
61283
|
+
className: classes === null || classes === void 0 ? void 0 : classes.icon,
|
|
61284
|
+
children: frontCaretType === 'hollow' ? icons_config.menu.CollapseArrow : icons_config.menu.FrontSolidArrowDown
|
|
61285
|
+
})
|
|
61286
|
+
});
|
|
61287
|
+
}
|
|
61267
61288
|
var item = render_render(props.renderItem, props.dataItem, props.index);
|
|
61268
61289
|
var link = props.linkKey ? getKey(props.linkKey, props.dataItem, props.index, true) : undefined;
|
|
61269
61290
|
var title = null;
|
|
@@ -61272,7 +61293,7 @@ var MenuItem = function MenuItem(props) {
|
|
|
61272
61293
|
title = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.cloneElement)(item, {
|
|
61273
61294
|
className: mergeClass,
|
|
61274
61295
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
61275
|
-
children: [indent, iconEl, /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
61296
|
+
children: [indent, frontCaret, iconEl, /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
61276
61297
|
className: classes === null || classes === void 0 ? void 0 : classes.titleContent,
|
|
61277
61298
|
children: item.props.children
|
|
61278
61299
|
})]
|
|
@@ -61284,28 +61305,17 @@ var MenuItem = function MenuItem(props) {
|
|
|
61284
61305
|
href: link
|
|
61285
61306
|
};
|
|
61286
61307
|
title = /*#__PURE__*/(0,jsx_runtime.jsxs)("a", objectSpread2_default()(objectSpread2_default()({}, linkProps), {}, {
|
|
61287
|
-
children: [indent, iconEl, /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
61308
|
+
children: [indent, frontCaret, iconEl, /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
61288
61309
|
className: classes === null || classes === void 0 ? void 0 : classes.titleContent,
|
|
61289
61310
|
children: wrapSpan(item)
|
|
61290
61311
|
})]
|
|
61291
61312
|
}));
|
|
61292
61313
|
}
|
|
61293
61314
|
if (props.frontCaret) {
|
|
61294
|
-
return /*#__PURE__*/(0,jsx_runtime.
|
|
61315
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", objectSpread2_default()(objectSpread2_default()({}, expandAble ? customAttributes : undefined), {}, {
|
|
61295
61316
|
className: classnames_default()(classes === null || classes === void 0 ? void 0 : classes.itemContent, classes === null || classes === void 0 ? void 0 : classes.itemContentFront),
|
|
61296
61317
|
onClick: handleItemClick,
|
|
61297
|
-
children:
|
|
61298
|
-
style: {
|
|
61299
|
-
color: props.caretColor
|
|
61300
|
-
},
|
|
61301
|
-
className: classnames_default()(classes === null || classes === void 0 ? void 0 : classes.expand, classes === null || classes === void 0 ? void 0 : classes.expandFront, (isVertical || isSubHorizontal) && (classes === null || classes === void 0 ? void 0 : classes.expandVertical), props.parentSelectable && (classes === null || classes === void 0 ? void 0 : classes.expandHover)),
|
|
61302
|
-
onClick: handleExpandClick,
|
|
61303
|
-
dir: config.direction,
|
|
61304
|
-
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
61305
|
-
className: classes === null || classes === void 0 ? void 0 : classes.icon,
|
|
61306
|
-
children: frontCaretType === 'hollow' ? icons_config.menu.CollapseArrow : icons_config.menu.FrontSolidArrowDown
|
|
61307
|
-
})
|
|
61308
|
-
}), title]
|
|
61318
|
+
children: title
|
|
61309
61319
|
}));
|
|
61310
61320
|
} else {
|
|
61311
61321
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()({}, expandAble ? customAttributes : undefined), {}, {
|
|
@@ -75221,7 +75231,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
75221
75231
|
|
|
75222
75232
|
|
|
75223
75233
|
/* harmony default export */ var src_0 = ({
|
|
75224
|
-
version: '3.9.8-beta.
|
|
75234
|
+
version: '3.9.8-beta.16'
|
|
75225
75235
|
});
|
|
75226
75236
|
}();
|
|
75227
75237
|
/******/ return __webpack_exports__;
|