"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = exports.WithLinkInLabel = exports.WithIndeterminateState = exports.DefaultStory = void 0;

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

var _utils = require("../../../.storybook/utils");

var _index = require("../../index");

var _default = {
  component: _index.Checkbox,
  title: (0, _utils.addStoryInGroup)(_utils.LOW_LEVEL_BLOCKS, 'Form elements/Checkbox'),
  parameters: {
    design: {
      type: 'figma',
      url: 'https://www.figma.com/file/LHH25GN90ljQaBEUNMsdJn/Desktop-components?node-id=6454%3A21716'
    }
  }
};
exports.default = _default;

var DefaultStory = function DefaultStory(args) {
  return /*#__PURE__*/_react.default.createElement(_index.Checkbox, args);
};

exports.DefaultStory = DefaultStory;
DefaultStory.args = {
  label: 'I am the label'
};
DefaultStory.storyName = 'Default';

var WithLinkInLabel = function WithLinkInLabel() {
  return /*#__PURE__*/_react.default.createElement(_index.Checkbox, null, /*#__PURE__*/_react.default.createElement(_index.TextBody, null, "I'm a medium label with a", ' ', /*#__PURE__*/_react.default.createElement(_index.Link, {
    href: "#",
    inherit: false
  }, "link"), ' ', "inside"));
};

exports.WithLinkInLabel = WithLinkInLabel;
WithLinkInLabel.storyName = 'With link in label';

var WithIndeterminateState = function WithIndeterminateState() {
  return /*#__PURE__*/_react.default.createElement(_index.Checkbox, {
    indeterminate: true
  });
};

exports.WithIndeterminateState = WithIndeterminateState;
WithIndeterminateState.storyName = 'With indeterminate state';