"use strict";
const jsxRuntime = require("react/jsx-runtime");
const kit_internal_functions = require("./functions.cjs");
const kit_internal_types = require("./types.cjs");
const kit_Select = require("../Select.cjs");
const ScaleSelect = ({ onChange, value }) => {
  return /* @__PURE__ */ jsxRuntime.jsx(
    kit_Select.default,
    {
      label: "Scale",
      searchable: false,
      value,
      width: 90,
      onSelect: (newValue) => onChange(newValue),
      children: Object.values(kit_internal_types.Scale).map((scale) => /* @__PURE__ */ jsxRuntime.jsx(kit_Select.Option, { value: scale, children: kit_internal_functions.capitalize(scale) }, scale))
    }
  );
};
module.exports = ScaleSelect;
