@mw-kit/mw-ui 1.7.89 → 1.7.91

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/dist/index.js CHANGED
@@ -12565,7 +12565,7 @@ var Input$1 = React__default.forwardRef(function (props, ref) {
12565
12565
  "$invalid": invalid,
12566
12566
  "$paddingless": paddingless,
12567
12567
  "$iconPosition": ((_props$icon = props.icon) === null || _props$icon === void 0 ? void 0 : _props$icon.position) || 'right',
12568
- "$iconWidths": [].concat(icon ? [icon.width || '24px'] : [], onDirty ? ['10px'] : []),
12568
+ "$iconWidths": loading ? ['14px'] : [].concat(icon ? [icon.width || '24px'] : [], onDirty ? ['10px'] : []),
12569
12569
  "$width": width,
12570
12570
  "$viewMode": viewMode
12571
12571
  }, label && React__default.createElement(LabelText, {
@@ -15051,7 +15051,7 @@ var Select = React__default.forwardRef(function (props, ref) {
15051
15051
  loader = props.loader,
15052
15052
  initialLoader = props.initialLoader;
15053
15053
 
15054
- var _useState = React.useState([].concat(initialLoader ? initialLoader() : [])),
15054
+ var _useState = React.useState(initialLoader || []),
15055
15055
  options = _useState[0],
15056
15056
  setOptions = _useState[1];
15057
15057