@noah-libjs/components 0.0.50 → 0.0.51

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.
@@ -61,7 +61,7 @@ function ArrayInputInner(props) {
61
61
  var C = componentMap[opt.inputType];
62
62
  var props = (_opt$props = opt.props) !== null && _opt$props !== void 0 ? _opt$props : {};
63
63
  var style = (_props$style = props.style) !== null && _props$style !== void 0 ? _props$style : {};
64
- if (['MyInput', 'Input', 'MA', 'MyAutoComplete', 'input'].includes(opt.inputType)) {
64
+ if (['MyInput', 'Input', 'MA', 'MyAutoComplete', 'input', 'input_number'].includes(opt.inputType)) {
65
65
  style = _objectSpread({
66
66
  width: inputWidth
67
67
  }, style);
@@ -1068,7 +1068,7 @@ function MyButton(props) {
1068
1068
  var _icon = visible ? defaultIcon !== null && defaultIcon !== void 0 ? defaultIcon : /*#__PURE__*/React__default.createElement(MyIcon, {
1069
1069
  value: 'LoadingOutlined'
1070
1070
  }) : icon;
1071
- if (primary) {
1071
+ if (primary && !type) {
1072
1072
  type = 'primary';
1073
1073
  }
1074
1074
  useEffect(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noah-libjs/components",
3
- "version": "0.0.50",
3
+ "version": "0.0.51",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -38,12 +38,12 @@
38
38
  "rollup-plugin-postcss": "^4.0.2"
39
39
  },
40
40
  "dependencies": {
41
- "@noah-libjs/request": "^0.0.50",
42
- "@noah-libjs/utils": "^0.0.50"
41
+ "@noah-libjs/request": "^0.0.51",
42
+ "@noah-libjs/utils": "^0.0.51"
43
43
  },
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  },
47
47
  "license": "MIT",
48
- "gitHead": "d7a3ef40f91e9151067ef7c877fdbf1b52b66fdf"
48
+ "gitHead": "4c844e0aafdce556ef23eed4a1cdce196814c4d6"
49
49
  }