@dynamic-framework/ui-react 1.32.1 → 1.32.3

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
@@ -925,7 +925,7 @@ function DInputCurrencyBase(_a, ref) {
925
925
  var { value, minValue, maxValue, currencyOptions, currencyCode, onFocus, onBlur, onChange } = _a, inputProps = tslib.__rest(_a, ["value", "minValue", "maxValue", "currencyOptions", "currencyCode", "onFocus", "onBlur", "onChange"]);
926
926
  const { handleOnWheel, } = useDisableInputWheel(ref);
927
927
  const { inputRef, innerValue, innerType, handleOnFocus, handleOnChange, handleOnBlur, generateStyleVariables, generateSymbolStyleVariables, } = useInputCurrency(currencyOptions, value, onFocus, onChange, onBlur, ref);
928
- return (jsxRuntime.jsx(DInput$1, Object.assign({ ref: inputRef, value: innerValue, onChange: handleOnChange, style: generateStyleVariables, inputMode: "decimal", pattern: "^[0-9]", type: innerType, onFocus: handleOnFocus, onBlur: handleOnBlur, onWheel: handleOnWheel, inputStart: (jsxRuntime.jsx("span", { slot: "input-start", style: generateSymbolStyleVariables, children: currencyCode || currencyOptions.symbol })) }, inputProps)));
928
+ return (jsxRuntime.jsx(DInput$1, Object.assign({ ref: inputRef, value: innerValue, onChange: handleOnChange, style: generateStyleVariables, inputMode: "decimal", type: innerType, onFocus: handleOnFocus, onBlur: handleOnBlur, onWheel: handleOnWheel, inputStart: (jsxRuntime.jsx("span", { slot: "input-start", style: generateSymbolStyleVariables, children: currencyCode || currencyOptions.symbol })) }, inputProps)));
929
929
  }
930
930
  const ForwardedDInputCurrencyBase$1 = React.forwardRef(DInputCurrencyBase);
931
931
  ForwardedDInputCurrencyBase$1.displayName = 'DInputCurrencyBase';
@@ -936,7 +936,7 @@ function DInputCurrency(_a, ref) {
936
936
  const { currency: currencyOptions } = useDContext();
937
937
  const { handleOnWheel, } = useDisableInputWheel(ref);
938
938
  const { inputRef, innerValue, innerType, handleOnFocus, handleOnChange, handleOnBlur, generateStyleVariables, generateSymbolStyleVariables, } = useInputCurrency(currencyOptions, value, onFocus, onChange, onBlur, ref);
939
- return (jsxRuntime.jsx(DInput$1, Object.assign({ ref: inputRef, value: innerValue, onChange: handleOnChange, style: generateStyleVariables, inputMode: "decimal", pattern: "^[0-9]", type: innerType, onFocus: handleOnFocus, onBlur: handleOnBlur, onWheel: handleOnWheel, inputStart: (jsxRuntime.jsx("span", { slot: "input-start", style: generateSymbolStyleVariables, children: currencyCode || currencyOptions.symbol })) }, props)));
939
+ return (jsxRuntime.jsx(DInput$1, Object.assign({ ref: inputRef, value: innerValue, onChange: handleOnChange, style: generateStyleVariables, inputMode: "decimal", type: innerType, onFocus: handleOnFocus, onBlur: handleOnBlur, onWheel: handleOnWheel, inputStart: (jsxRuntime.jsx("span", { slot: "input-start", style: generateSymbolStyleVariables, children: currencyCode || currencyOptions.symbol })) }, props)));
940
940
  }
941
941
  const ForwardedDInputCurrencyBase = React.forwardRef(DInputCurrency);
942
942
  ForwardedDInputCurrencyBase.displayName = 'DInputCurrency';
@@ -1785,6 +1785,7 @@ exports.DSkeleton = DSkeleton;
1785
1785
  exports.DStepper = DStepper;
1786
1786
  exports.DStepperDesktop = DStepper$2;
1787
1787
  exports.DStepperMobile = DStepper$1;
1788
+ exports.DTabContent = DTabContent;
1788
1789
  exports.DTableHead = DTableHead;
1789
1790
  exports.DTabs = DTabs$1;
1790
1791
  exports.DToast = DToast$1;