@dynamic-framework/ui-react 1.32.1 → 1.32.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/dist/css/dynamic-ui-non-root.css +3 -3
- package/dist/css/dynamic-ui-non-root.min.css +2 -2
- package/dist/css/dynamic-ui-root.css +1 -1
- package/dist/css/dynamic-ui-root.min.css +1 -1
- package/dist/css/dynamic-ui.css +3 -3
- package/dist/css/dynamic-ui.min.css +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/style/base/_buttons.scss +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -923,7 +923,7 @@ function DInputCurrencyBase(_a, ref) {
|
|
|
923
923
|
var { value, minValue, maxValue, currencyOptions, currencyCode, onFocus, onBlur, onChange } = _a, inputProps = __rest(_a, ["value", "minValue", "maxValue", "currencyOptions", "currencyCode", "onFocus", "onBlur", "onChange"]);
|
|
924
924
|
const { handleOnWheel, } = useDisableInputWheel(ref);
|
|
925
925
|
const { inputRef, innerValue, innerType, handleOnFocus, handleOnChange, handleOnBlur, generateStyleVariables, generateSymbolStyleVariables, } = useInputCurrency(currencyOptions, value, onFocus, onChange, onBlur, ref);
|
|
926
|
-
return (jsx(DInput$1, Object.assign({ ref: inputRef, value: innerValue, onChange: handleOnChange, style: generateStyleVariables, inputMode: "decimal",
|
|
926
|
+
return (jsx(DInput$1, Object.assign({ ref: inputRef, value: innerValue, onChange: handleOnChange, style: generateStyleVariables, inputMode: "decimal", type: innerType, onFocus: handleOnFocus, onBlur: handleOnBlur, onWheel: handleOnWheel, inputStart: (jsx("span", { slot: "input-start", style: generateSymbolStyleVariables, children: currencyCode || currencyOptions.symbol })) }, inputProps)));
|
|
927
927
|
}
|
|
928
928
|
const ForwardedDInputCurrencyBase$1 = forwardRef(DInputCurrencyBase);
|
|
929
929
|
ForwardedDInputCurrencyBase$1.displayName = 'DInputCurrencyBase';
|
|
@@ -934,7 +934,7 @@ function DInputCurrency(_a, ref) {
|
|
|
934
934
|
const { currency: currencyOptions } = useDContext();
|
|
935
935
|
const { handleOnWheel, } = useDisableInputWheel(ref);
|
|
936
936
|
const { inputRef, innerValue, innerType, handleOnFocus, handleOnChange, handleOnBlur, generateStyleVariables, generateSymbolStyleVariables, } = useInputCurrency(currencyOptions, value, onFocus, onChange, onBlur, ref);
|
|
937
|
-
return (jsx(DInput$1, Object.assign({ ref: inputRef, value: innerValue, onChange: handleOnChange, style: generateStyleVariables, inputMode: "decimal",
|
|
937
|
+
return (jsx(DInput$1, Object.assign({ ref: inputRef, value: innerValue, onChange: handleOnChange, style: generateStyleVariables, inputMode: "decimal", type: innerType, onFocus: handleOnFocus, onBlur: handleOnBlur, onWheel: handleOnWheel, inputStart: (jsx("span", { slot: "input-start", style: generateSymbolStyleVariables, children: currencyCode || currencyOptions.symbol })) }, props)));
|
|
938
938
|
}
|
|
939
939
|
const ForwardedDInputCurrencyBase = forwardRef(DInputCurrency);
|
|
940
940
|
ForwardedDInputCurrencyBase.displayName = 'DInputCurrency';
|