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 DatePicker_stories_exports = {};
__export(DatePicker_stories_exports, {
  Variants: () => Variants,
  default: () => DatePicker_stories_default
});
module.exports = __toCommonJS(DatePicker_stories_exports);
var import_jsx_runtime = require("react/jsx-runtime"), import_DatePicker = require("./DatePicker"), import_storybook_utils = require("./storybook-utils"), currentDate = /* @__PURE__ */ new Date();
currentDate.setDate(currentDate.getDate() + 5);
var DatePicker_stories_default = {
  component: import_DatePicker.DatePicker,
  parameters: {
    layout: "fullscreen"
  }
}, Variants = function() {
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_storybook_utils.RenderStage, {
    children: [
      /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_DatePicker.DatePicker, {
        label: "Preset Date",
        supportingText: "Basic picker",
        value: currentDate,
        onChange: function(date) {
          return console.log(date);
        }
      }),
      /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_DatePicker.DatePicker, {
        label: "Error",
        value: currentDate,
        supportingText: "This is in an error state",
        onChange: function(date) {
          return console.log(date);
        },
        error: !0
      }),
      /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_DatePicker.DatePicker, {
        label: "Disabled",
        value: currentDate,
        supportingText: "This is in an loading state",
        onChange: function(date) {
          return console.log(date);
        },
        disabled: !0
      }),
      /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_DatePicker.DatePicker, {
        label: "Loading",
        value: currentDate,
        supportingText: "This is an disabled state",
        onChange: function(date) {
          return console.log(date);
        },
        loading: !0
      })
    ]
  });
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  Variants
});
//# sourceMappingURL=DatePicker.stories.js.map
