"use strict";

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

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

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

var _SecondaryNavigation = require("./SecondaryNavigation");

var _Breadcrumb = _interopRequireDefault(require("../Breadcrumb"));

var _BreadcrumbItem = _interopRequireDefault(require("../BreadcrumbItem"));

var _BreadcrumbHome = _interopRequireDefault(require("../BreadcrumbHome"));

var _Tabs = _interopRequireDefault(require("../Tabs"));

var _Tab = _interopRequireDefault(require("../Tab"));

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

function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

var _default = {
  title: 'Components/Navigations/SecondaryNavigation',
  component: _SecondaryNavigation.SecondaryNavigation,
  subcomponents: {
    SecondaryNavigationTitle: _SecondaryNavigation.SecondaryNavigationTitle
  },
  parameters: {
    componentSubtitle: 'Component',
    status: 'released',
    mdx: _README.default,
    previewWidth: 'full'
  }
};
exports.default = _default;

var Regular = function Regular(args) {
  return /*#__PURE__*/_react.default.createElement(_SecondaryNavigation.SecondaryNavigation, _extends({}, args, {
    additional: "additional Information"
  }), /*#__PURE__*/_react.default.createElement(_Breadcrumb.default, null, /*#__PURE__*/_react.default.createElement(_BreadcrumbItem.default, null, /*#__PURE__*/_react.default.createElement("a", {
    href: "/#"
  }, /*#__PURE__*/_react.default.createElement(_BreadcrumbHome.default, null))), /*#__PURE__*/_react.default.createElement(_BreadcrumbItem.default, {
    href: "#"
  }, "Breadcrumb 2"), /*#__PURE__*/_react.default.createElement(_BreadcrumbItem.default, {
    disableLink: true
  }, "Breadcrumb 3")), /*#__PURE__*/_react.default.createElement(_SecondaryNavigation.SecondaryNavigationTitle, null, "The page title"), /*#__PURE__*/_react.default.createElement(_Tabs.default, {
    customTabContent: true
  }, /*#__PURE__*/_react.default.createElement(_Tab.default, {
    label: "Tab label 1",
    href: "#"
  }), /*#__PURE__*/_react.default.createElement(_Tab.default, {
    label: "Tab label 2",
    href: "#"
  }), /*#__PURE__*/_react.default.createElement(_Tab.default, {
    label: "Tab label 3",
    href: "#"
  }), /*#__PURE__*/_react.default.createElement(_Tab.default, {
    label: "Tab label 4",
    href: "#"
  })));
};

exports.Regular = Regular;
var description = "\nYou can customize the content by using `BannerNavigation`.\n";
Regular.story = {
  parameters: {
    docs: {
      storyDescription: description
    }
  }
};

var HeadingOnly = function HeadingOnly(args) {
  return /*#__PURE__*/_react.default.createElement(_SecondaryNavigation.SecondaryNavigation, {
    additional: "additional Information"
  }, /*#__PURE__*/_react.default.createElement(_Breadcrumb.default, null, /*#__PURE__*/_react.default.createElement(_BreadcrumbItem.default, null, /*#__PURE__*/_react.default.createElement("a", {
    href: "/#"
  }, /*#__PURE__*/_react.default.createElement(_BreadcrumbHome.default, null))), /*#__PURE__*/_react.default.createElement(_BreadcrumbItem.default, {
    href: "#"
  }, "Breadcrumb 2"), /*#__PURE__*/_react.default.createElement(_BreadcrumbItem.default, {
    disableLink: true
  }, "Breadcrumb 3")), /*#__PURE__*/_react.default.createElement(_SecondaryNavigation.SecondaryNavigationTitle, null, "The page title"));
};

exports.HeadingOnly = HeadingOnly;
var descriptionHeadingOnly = "\nThe content of `SecondaryNavigation` can be customized. In this example `SecondaryNavigation` is used without the `Tabs`.\n";
HeadingOnly.story = {
  parameters: {
    docs: {
      storyDescription: descriptionHeadingOnly
    }
  }
};