dk-plus
Version:
20 lines (19 loc) • 582 B
JavaScript
import { setStringProp as r, setBooleanProps as o, setStringNumberProps as t, setNumberProps as s } from "../../_utils/props/index.js";
import { DK_INPUT_NUMBER_POSITION as i } from "../../_tokens/component/index3.js";
import { DK_SIZE as n } from "../../_tokens/public/index.js";
const a = {
placeholder: r(""),
position: r(null, (e) => i.includes(e)),
readonly: o(!1),
precision: t(0),
strict: o(!1),
disabled: o(!1),
size: r("small", (e) => n.includes(e)),
modelValue: s(),
step: t(1),
min: s(-1 / 0),
max: s(1 / 0)
};
export {
a as dkInputNumberProps
};