mithril-materialized 3.17.5 → 3.17.6

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.umd.js CHANGED
@@ -3785,7 +3785,7 @@
3785
3785
  },
3786
3786
  view: ({ attrs }) => {
3787
3787
  var _a, _b, _c, _d, _e, _f, _g;
3788
- const { className = 'col s12', dataError, dataSuccess, helperText, iconName, id = state.id, placeholder, isMandatory, label, maxLength, newRow, oninput, onchange, onkeydown, onkeypress, onkeyup, style, validate, canClear } = attrs, params = __rest(attrs, ["className", "dataError", "dataSuccess", "helperText", "iconName", "id", "placeholder", "isMandatory", "label", "maxLength", "newRow", "oninput", "onchange", "onkeydown", "onkeypress", "onkeyup", "style", "validate", "canClear"]);
3788
+ const { className = 'col s12', dataError, dataSuccess, helperText, iconName, id = state.id, placeholder, isMandatory, label, maxLength, newRow, oninput, onchange, onkeydown, onkeypress, onkeyup, style, validate, canClear, hideSpinners } = attrs, params = __rest(attrs, ["className", "dataError", "dataSuccess", "helperText", "iconName", "id", "placeholder", "isMandatory", "label", "maxLength", "newRow", "oninput", "onchange", "onkeydown", "onkeypress", "onkeyup", "style", "validate", "canClear", "hideSpinners"]);
3789
3789
  // const attributes = toAttrs(params);
3790
3790
  const cn = [newRow ? 'clear' : '', defaultClass, className].filter(Boolean).join(' ').trim() || undefined;
3791
3791
  // Special rendering for minmax range sliders
@@ -4013,7 +4013,7 @@
4013
4013
  onchange(getValue(state.inputElement));
4014
4014
  }
4015
4015
  } })),
4016
- type === 'number' && !isNonInteractive
4016
+ type === 'number' && !isNonInteractive && !hideSpinners
4017
4017
  ? m('.number-input-controls', [
4018
4018
  m('button.number-input-control.number-input-control-up[type=button]', {
4019
4019
  'aria-label': `Increase ${label || 'value'}`,