import _extends from "@babel/runtime/helpers/extends";
import React from 'react';
import Slider from '../Slider';
import markdown from './README.mdx';
export default {
  title: 'Components/Forms/Slider',
  component: Slider,
  parameters: {
    componentSubtitle: 'Component',
    status: 'released',
    mdx: markdown
  }
};
export var RegularSlider = function RegularSlider(args) {
  return /*#__PURE__*/React.createElement(Slider, _extends({
    id: "slider2"
  }, args));
};
RegularSlider.args = {
  name: 'Form item name (name)',
  value: 25,
  min: 10,
  max: 50,
  step: 1,
  labelText: 'Slider Label',
  helperText: 'Additional helper text'
};
export var hideTextInput = function hideTextInput(args) {
  return /*#__PURE__*/React.createElement("div", {
    style: {
      marginTop: '2rem'
    }
  }, /*#__PURE__*/React.createElement(Slider, _extends({
    id: "slider2"
  }, args)));
};
hideTextInput.args = {
  name: 'Form item name (name)',
  inputType: 'number',
  hideTextInput: true,
  value: 25,
  min: 0,
  max: 50,
  step: 1,
  labelText: 'Slider Label',
  helperText: 'Additional helper text'
};
hideTextInput.story = {
  name: 'Hide TextInput',
  parameters: {
    docs: {
      storyDescription: "Hide the number input box by setting `hideTextInput` property to **true**"
    }
  }
};
export var Disabled = function Disabled(args) {
  return /*#__PURE__*/React.createElement("div", {
    style: {
      marginTop: '2rem'
    }
  }, /*#__PURE__*/React.createElement(Slider, _extends({
    id: "slider2"
  }, args)));
};
Disabled.args = {
  name: 'Form item name (name)',
  inputType: 'number',
  disabled: true,
  value: 50,
  min: 0,
  max: 100,
  step: 1,
  labelText: 'Slider Label',
  helperText: 'Additional helper text'
};
Disabled.story = {
  parameters: {
    docs: {
      storyDescription: "Specify whether a slider should be interactive or non-interactive by setting the `disabled` property to **true** or **false**"
    }
  }
};
export var Fullwidth = function Fullwidth(args) {
  return /*#__PURE__*/React.createElement("div", {
    style: {
      marginTop: '2rem'
    }
  }, /*#__PURE__*/React.createElement(Slider, _extends({
    id: "slider2"
  }, args)));
};
Fullwidth.args = {
  name: 'Form item name (name)',
  inputType: 'number',
  fullWidth: true,
  value: 50,
  min: 0,
  max: 100,
  step: 1,
  labelText: 'Slider Label',
  helperText: 'Additional helper text'
};
Fullwidth.story = {
  parameters: {
    docs: {
      storyDescription: "Specify `fullWidth` property to be full to use the width of parent element"
    }
  }
};