text: "use strict";
  self["webpackHotUpdate_zendeskgarden_react_components"]("main",{
  
  /***/ "./packages/accordions/demo/stories/AccordionStory.tsx":
  /*!*************************************************************!*\
    !*** ./packages/accordions/demo/stories/AccordionStory.tsx ***!
    \*************************************************************/
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  /* harmony export */   "AccordionStory": () => (/* binding */ AccordionStory)
  /* harmony export */ });
  /* harmony import */ var C_xampp_htdocs_design_react_components_node_modules_core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/core-js/modules/es.object.keys.js */ "./node_modules/core-js/modules/es.object.keys.js");
  /* harmony import */ var C_xampp_htdocs_design_react_components_node_modules_core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(C_xampp_htdocs_design_react_components_node_modules_core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__);
  /* harmony import */ var C_xampp_htdocs_design_react_components_node_modules_core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/core-js/modules/es.array.index-of.js */ "./node_modules/core-js/modules/es.array.index-of.js");
  /* harmony import */ var C_xampp_htdocs_design_react_components_node_modules_core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(C_xampp_htdocs_design_react_components_node_modules_core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_1__);
  /* harmony import */ var C_xampp_htdocs_design_react_components_node_modules_core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/core-js/modules/es.symbol.js */ "./node_modules/core-js/modules/es.symbol.js");
  /* harmony import */ var C_xampp_htdocs_design_react_components_node_modules_core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(C_xampp_htdocs_design_react_components_node_modules_core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_2__);
  /* harmony import */ var C_xampp_htdocs_design_react_components_node_modules_core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/core-js/modules/es.array.map.js */ "./node_modules/core-js/modules/es.array.map.js");
  /* harmony import */ var C_xampp_htdocs_design_react_components_node_modules_core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(C_xampp_htdocs_design_react_components_node_modules_core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_3__);
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
  /* harmony import */ var _src__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../src */ "./packages/accordions/src/elements/accordion/Accordion.tsx");
  /* harmony import */ var _buttons_src__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../buttons/src */ "./packages/buttons/src/elements/IconButton.tsx");
  /* harmony import */ var _tooltips_src__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../tooltips/src */ "./packages/tooltips/src/elements/Tooltip.tsx");
  
  
  
  var _excluded = ["sections"];
  
  
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  
  /**
   * Copyright Zendesk, Inc.
   *
   * Use of this source code is governed under the Apache License, Version 2.0
   * found at http://www.apache.org/licenses/LICENSE-2.0.
   */
  
  
  
  
  
  var handleClick = function handleClick(event) {
    return event.preventDefault();
  };
  
  var IconButtons = function IconButtons(_ref) {
    var isCompact = _ref.isCompact;
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(react__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_tooltips_src__WEBPACK_IMPORTED_MODULE_5__.Tooltip, {
      content: "Settings"
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_buttons_src__WEBPACK_IMPORTED_MODULE_6__["default"], {
      focusInset: isCompact,
      size: isCompact ? 'small' : 'medium',
      onClick: handleClick
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement("svg", {
      xmlns: "http://www.w3.org/2000/svg",
      width: "16",
      height: "16",
      focusable: "false",
      viewBox: "0 0 16 16"
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement("path", {
      fill: "currentColor",
      d: "M12.688 5.61a.5.5 0 01.69.718l-.066.062-5 4a.5.5 0 01-.542.054l-.082-.054-5-4a.5.5 0 01.55-.83l.074.05L8 9.359l4.688-3.75z"
    })))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_tooltips_src__WEBPACK_IMPORTED_MODULE_5__.Tooltip, {
      content: "Folders"
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_buttons_src__WEBPACK_IMPORTED_MODULE_6__["default"], {
      focusInset: isCompact,
      size: isCompact ? 'small' : 'medium',
      onClick: handleClick
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement("svg", {
      xmlns: "http://www.w3.org/2000/svg",
      width: "16",
      height: "16",
      focusable: "false",
      viewBox: "0 0 16 16"
    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement("path", {
      fill: "currentColor",
      d: "M12.688 5.61a.5.5 0 01.69.718l-.066.062-5 4a.5.5 0 01-.542.054l-.082-.054-5-4a.5.5 0 01.55-.83l.074.05L8 9.359l4.688-3.75z"
    })))));
  };
  
  var AccordionStory = function AccordionStory(_ref2) {
    var sections = _ref2.sections,
        args = _objectWithoutProperties(_ref2, _excluded);
  
    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_src__WEBPACK_IMPORTED_MODULE_7__.Accordion, args, sections.map(function (section, index) {
      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_src__WEBPACK_IMPORTED_MODULE_7__.Accordion.Section, {
        key: index
      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_src__WEBPACK_IMPORTED_MODULE_7__.Accordion.Header, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_src__WEBPACK_IMPORTED_MODULE_7__.Accordion.Label, null, section.headerLabel), args.hasIconButtons && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(IconButtons, {
        isCompact: args.isCompact || false
      })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_src__WEBPACK_IMPORTED_MODULE_7__.Accordion.Panel, null, section.panel));
    }));
  };
  
  /***/ })
  
  });
  //# sourceMappingURL=main.d82fc2451e52e3252da5.hot-update.js.map