"use strict";
var import_InputNumber = require("../InputNumber.css");
const jsxRuntime = require("react/jsx-runtime");
const antd = require("antd");
const React = require("react");
const kit_internal_useInputEscape = require("./internal/useInputEscape.cjs");
const kit_Theme_UI = require("./Theme/UI.cjs");
require("./Theme/themeUtils.cjs");
require("./Theme/themes.cjs");
const base = "InputNumber_base_62e41";
const css = {
  base
};
const InputNumber = React.forwardRef(
  ({ ...props }, ref) => {
    const { onFocus, onBlur, inputRef } = kit_internal_useInputEscape.useInputNumberEscape(ref);
    const {
      themeSettings: { className: themeClass }
    } = kit_Theme_UI.useTheme();
    return /* @__PURE__ */ jsxRuntime.jsx(
      antd.InputNumber,
      {
        ...props,
        className: [props.className, themeClass, css.base].join(" "),
        ref: inputRef,
        onBlur,
        onFocus
      }
    );
  }
);
module.exports = InputNumber;
