"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.invalid = exports.hideLabel = exports.disabled = exports.Regular = exports.default = void 0;

var _react = _interopRequireDefault(require("react"));

var _README = _interopRequireDefault(require("./README.mdx"));

var _ = _interopRequireDefault(require("."));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var _default = {
  title: 'Components/Forms/NumberInput',
  component: _.default,
  parameters: {
    componentSubtitle: 'Component',
    status: 'released',
    mdx: _README.default
  }
};
exports.default = _default;

var Regular = function Regular(args) {
  return /*#__PURE__*/_react.default.createElement(_.default, args);
};

exports.Regular = Regular;
Regular.args = {
  name: 'inputname',
  helperText: 'Optional helperText',
  labelText: 'The labelText'
};

var disabled = function disabled(args) {
  return /*#__PURE__*/_react.default.createElement(_.default, args);
};

exports.disabled = disabled;
disabled.story = {
  parameters: {
    docs: {
      storyDescription: "`disabled` property specify the input to be disabled or not. Set `disabled` to true to make input non-interative "
    }
  }
};
disabled.args = {
  name: 'inputname',
  helperText: 'Optional helperText',
  labelText: 'The labelText',
  disabled: true
};

var hideLabel = function hideLabel(args) {
  return /*#__PURE__*/_react.default.createElement(_.default, args);
};

exports.hideLabel = hideLabel;
hideLabel.story = {
  parameters: {
    docs: {
      storyDescription: "`hideLabel` property specify hides the label text specified to describe the input"
    }
  }
};
hideLabel.args = {
  name: 'inputname',
  helperText: 'Optional helperText',
  labelText: 'The labelText',
  hideLabel: true
};

var invalid = function invalid(args) {
  return /*#__PURE__*/_react.default.createElement(_.default, args);
};

exports.invalid = invalid;
var description = "\n`invalid` property is applied to the `NumberInput` when the value expected is invalid.\n";
invalid.story = {
  parameters: {
    docs: {
      storyDescription: description
    }
  }
};
invalid.args = {
  name: 'inputname',
  helperText: 'Optional helperText',
  labelText: 'The labelText',
  invalid: {
    message: 'Please enter your number'
  }
};