var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
    for (var name in all) __defProp(target, name, {
      get: all[name],
      enumerable: !0
    });
  },
  __copyProps = (to, from, except, desc) => {
    if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
      get: () => from[key],
      enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
    });
    return to;
  };
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
  value: !0
}), mod);
var Select_stories_exports = {};
__export(Select_stories_exports, {
  Variants: () => Variants,
  default: () => Select_stories_default
});
module.exports = __toCommonJS(Select_stories_exports);
var import_tamagui = require("tamagui"),
  import_Select = require("./Select.cjs"),
  import_storybook_utils = require("./storybook-utils.cjs"),
  import_jsx_runtime = require("react/jsx-runtime"),
  Select_stories_default = {
    title: "Select",
    component: import_Select.Select
  };
const options = [{
    label: "Option A",
    value: "A"
  }, {
    label: "Option B",
    value: "B"
  }],
  Variants = () => /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_tamagui.YStack, {
    gap: "$2",
    children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)(import_storybook_utils.RenderStage, {
      children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_storybook_utils.RenderVariants, {
        title: "Default",
        children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_Select.Select, {
          label: "Default",
          options,
          value: "A"
        })
      })
    }), /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_storybook_utils.RenderStage, {
      children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_storybook_utils.RenderVariants, {
        title: "Error",
        children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_Select.Select, {
          label: "Error",
          options,
          value: "A",
          error: !0
        })
      })
    }), /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_storybook_utils.RenderStage, {
      children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_storybook_utils.RenderVariants, {
        title: "Disabled",
        children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_Select.Select, {
          label: "Disabled",
          options,
          disabled: !0,
          value: void 0
        })
      })
    }), /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_storybook_utils.RenderStage, {
      children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_storybook_utils.RenderVariants, {
        title: "Loading",
        children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_Select.Select, {
          label: "Loading",
          options,
          loading: !0,
          value: void 0
        })
      })
    })]
  });