"use strict";

function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.AllIcons = exports["default"] = void 0;

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

var Icons = _interopRequireWildcard(require("."));

var _primitives = require("../../primitives");

var _icon = _interopRequireDefault(require("./icon.mdx"));

function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }

function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }

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

var _default = {
  component: Icons,
  title: 'Components/Typography/Icons',
  parameters: {
    docs: {
      page: _icon["default"]
    }
  }
};
exports["default"] = _default;

var AllIcons = function AllIcons() {
  return /*#__PURE__*/_react["default"].createElement(_primitives.Box, {
    stacked: "row",
    wrap: true
  }, [Icons.Add, Icons.ArrowBack, Icons.ArrowForward, Icons.BulletPoint, Icons.CheckIcon, Icons.Checkmark, Icons.ChevronDown, Icons.ChevronLeft, Icons.ChevronRight, Icons.ChevronUp, Icons.Close, Icons.Ellipsis, Icons.ErrorIcon, Icons.ExpandMoreIcon, Icons.FilterIcon, Icons.Info, Icons.Lock, Icons.MapPin, Icons.NextIcon, Icons.Pencil, Icons.Remove, Icons.RevealTextHide, Icons.RevealTextShow, Icons.SearchIcon, Icons.SmallArrowRight, Icons.SmallChevronDown, Icons.SmallChevronLeft, Icons.SmallChevronRight, Icons.SmallChevronUp, Icons.SortArrowDown, Icons.SortArrowUp, Icons.ToggleArrows, Icons.TrashCan, Icons.NumberedBullet, Icons.RefreshIcon, // 2021 icon library
  Icons.HelpSmall, Icons.Trash].map(function (Component) {
    var Icon = /*#__PURE__*/_react["default"].createElement(Component, null);

    return /*#__PURE__*/_react["default"].createElement(_primitives.Box, {
      spacing: "p2",
      stacked: "column",
      basis: 200,
      key: Component.displayName
    }, Icon, Component.displayName);
  }));
};

exports.AllIcons = AllIcons;