shineout 3.6.2-beta.1 → 3.6.2-beta.2

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 CHANGED
@@ -514,5 +514,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
514
514
  // 此文件由脚本自动生成,请勿直接修改。
515
515
  // This file was generated automatically by a script. Please do not modify it directly.
516
516
  var _default = exports.default = {
517
- version: '3.6.2-beta.1'
517
+ version: '3.6.2-beta.2'
518
518
  };
@@ -1,4 +1,8 @@
1
1
  import { InputGroupProps } from '@sheinx/base';
2
+ /**
3
+ * @title Input.Group
4
+ * @sort 2
5
+ */
2
6
  export interface GroupProps extends Omit<InputGroupProps, 'jssStyle'> {
3
7
  className?: string;
4
8
  }
@@ -9,5 +9,6 @@ export interface BaseInputProps extends Omit<UnStyledInputProps, 'jssStyle'> {
9
9
  }
10
10
  /**
11
11
  * @title Input
12
+ * @sort 1
12
13
  */
13
14
  export type InputProps = GetWithFieldProps<BaseInputProps, BaseInputProps['value']>;
@@ -3,5 +3,6 @@ import { GetWithFieldProps } from '../hooks/use-field-common';
3
3
  export type BaseNumberProps = Omit<UnStyledInputNumberProps, 'jssStyle'>;
4
4
  /**
5
5
  * @title Input.Number
6
+ * @sort 3
6
7
  */
7
8
  export type InputNumberProps = GetWithFieldProps<BaseNumberProps, BaseNumberProps['value']>;
package/dist/shineout.js CHANGED
@@ -12139,7 +12139,7 @@ var handleStyle = function handleStyle(style) {
12139
12139
  };
12140
12140
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12141
12141
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12142
- /* harmony default export */ var version = ('3.6.2-beta.1');
12142
+ /* harmony default export */ var version = ('3.6.2-beta.2');
12143
12143
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12144
12144
 
12145
12145
 
@@ -16953,6 +16953,7 @@ var useCarouselStyle = styled(carousel_carousel, 'carousel');
16953
16953
  borderRadius: 0,
16954
16954
  flexShrink: 0,
16955
16955
  width: 'auto',
16956
+ flex: 1,
16956
16957
  'margin-left': "-1px",
16957
16958
  '&:hover': {
16958
16959
  zIndex: 1050
@@ -20227,11 +20228,9 @@ var groupSpace = function groupSpace(gap) {
20227
20228
  fontWeight: 'normal',
20228
20229
  color: src.inputGroupFontColor,
20229
20230
  '&:first-child': {
20230
- borderLeftColor: 'inherit',
20231
20231
  marginLeft: '-1px'
20232
20232
  },
20233
20233
  '&:last-child': {
20234
- borderRightColor: 'inherit',
20235
20234
  marginRight: '-1px'
20236
20235
  }
20237
20236
  },
@@ -52106,10 +52105,12 @@ var input_input_Input = function Input(props) {
52106
52105
  var children = props.children,
52107
52106
  className = props.className,
52108
52107
  width = props.width,
52109
- style = props.style;
52110
- var rootClass = classnames_default()(className, inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.group, props.seperate && (inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.groupSeperate), size === 'small' && (inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.groupSmall), size === 'large' && (inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.groupLarge), !!disabled && (inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.groupDisabled), !!focus && (inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.groupFocus), (status === 'error' || error) && (inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.groupError));
52108
+ style = props.style,
52109
+ _props$seperate = props.seperate,
52110
+ seperate = _props$seperate === void 0 ? true : _props$seperate;
52111
+ var rootClass = classnames_default()(className, inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.group, seperate && (inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.groupSeperate), size === 'small' && (inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.groupSmall), size === 'large' && (inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.groupLarge), !!disabled && (inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.groupDisabled), !!focus && (inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.groupFocus), (status === 'error' || error) && (inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.groupError));
52111
52112
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", objectSpread2_default()(objectSpread2_default()({}, getDataAttribute({
52112
- role: props.seperate ? 'input-group-seperate' : 'input-group'
52113
+ role: seperate ? 'input-group-seperate' : 'input-group'
52113
52114
  })), {}, {
52114
52115
  className: rootClass,
52115
52116
  style: objectSpread2_default()({
@@ -69705,7 +69706,7 @@ var upload_interface = __webpack_require__(8821);
69705
69706
 
69706
69707
 
69707
69708
  /* harmony default export */ var src_0 = ({
69708
- version: '3.6.2-beta.1'
69709
+ version: '3.6.2-beta.2'
69709
69710
  });
69710
69711
  }();
69711
69712
  /******/ return __webpack_exports__;