diff --git a/dist/react-tabs.js b/dist/react-tabs.js index 11152f9e29..25546812c6 100644 --- a/dist/react-tabs.js +++ b/dist/react-tabs.js @@ -59,41 +59,46 @@ return /******/ (function(modules) { // webpackBootstrap Object.defineProperty(exports, "__esModule", { value: true }); - exports.TabPanel = exports.Tab = exports.TabList = exports.Tabs = undefined; var _Tabs = __webpack_require__(1); - var _Tabs2 = _interopRequireDefault(_Tabs); + Object.defineProperty(exports, 'Tabs', { + enumerable: true, + get: function get() { + return _interopRequireDefault(_Tabs).default; + } + }); var _TabList = __webpack_require__(9); - var _TabList2 = _interopRequireDefault(_TabList); + Object.defineProperty(exports, 'TabList', { + enumerable: true, + get: function get() { + return _interopRequireDefault(_TabList).default; + } + }); var _Tab = __webpack_require__(8); - var _Tab2 = _interopRequireDefault(_Tab); + Object.defineProperty(exports, 'Tab', { + enumerable: true, + get: function get() { + return _interopRequireDefault(_Tab).default; + } + }); var _TabPanel = __webpack_require__(11); - var _TabPanel2 = _interopRequireDefault(_TabPanel); + Object.defineProperty(exports, 'TabPanel', { + enumerable: true, + get: function get() { + return _interopRequireDefault(_TabPanel).default; + } + }); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - exports.Tabs = - - // For bc we also export a default object, remove in 1.0 - _Tabs2.default; - exports.TabList = _TabList2.default; - exports.Tab = _Tab2.default; - exports.TabPanel = _TabPanel2.default; - exports.default = { - Tabs: _Tabs2.default, - TabList: _TabList2.default, - Tab: _Tab2.default, - TabPanel: _TabPanel2.default - }; /***/ }, /* 1 */ @@ -714,13 +719,25 @@ return /******/ (function(modules) { // webpackBootstrap }return target; } + function syncNodeAttributes(node, props) { + if (props.selected) { + node.setAttribute('tabindex', '0'); + node.setAttribute('selected', 'selected'); + if (props.focus) { + node.focus(); + } + } else { + node.removeAttribute('tabindex'); + node.removeAttribute('selected'); + } + } + module.exports = _react2.default.createClass({ displayName: 'Tab', propTypes: { className: _react.PropTypes.string, id: _react.PropTypes.string, - focus: _react.PropTypes.bool, selected: _react.PropTypes.bool, disabled: _react.PropTypes.bool, panelId: _react.PropTypes.string, @@ -736,15 +753,10 @@ return /******/ (function(modules) { // webpackBootstrap }; }, componentDidMount: function componentDidMount() { - this.checkFocus(); + syncNodeAttributes((0, _reactDom.findDOMNode)(this), this.props); }, componentDidUpdate: function componentDidUpdate() { - this.checkFocus(); - }, - checkFocus: function checkFocus() { - if (this.props.selected && this.props.focus) { - (0, _reactDom.findDOMNode)(this).focus(); - } + syncNodeAttributes((0, _reactDom.findDOMNode)(this), this.props); }, render: function render() { var _props = this.props; @@ -767,8 +779,7 @@ return /******/ (function(modules) { // webpackBootstrap 'aria-selected': selected ? 'true' : 'false', 'aria-expanded': selected ? 'true' : 'false', 'aria-disabled': disabled ? 'true' : 'false', - 'aria-controls': panelId, - tabIndex: selected ? '0' : null + 'aria-controls': panelId }), children); } }); diff --git a/dist/react-tabs.js.map b/dist/react-tabs.js.map index 1cb8629a6b..bf686a7acb 100644 --- a/dist/react-tabs.js.map +++ b/dist/react-tabs.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap a0b1748f4ad27714d6bb","webpack:///./lib/main.js","webpack:///./lib/components/Tabs.js","webpack:///external \"React\"","webpack:///external \"ReactDOM\"","webpack:///./~/classnames/index.js","webpack:///./~/js-stylesheet/jss.js","webpack:///./lib/helpers/uuid.js","webpack:///./lib/helpers/childrenPropType.js","webpack:///./lib/components/Tab.js","webpack:///./lib/components/TabList.js","webpack:///./lib/helpers/styles.js","webpack:///./lib/components/TabPanel.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;ACVA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uBAAe;AACf;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;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IAZ6B;;AAgB3C,oBAAiB,SAAS,eAAT,GAA2B;AAC1C,YAAO;AACL,iBAAU,KADL;AAEL,WAAI,IAFC;AAGL,cAAO;AAHF,MAAP;AAKD,IAtB0C;AAuB3C,WAAQ,SAAS,MAAT,GAAkB;AACxB,SAAI,SAAS,KAAK,KAAlB;AACA,SAAI,YAAY,OAAO,SAAvB;AACA,SAAI,WAAW,OAAO,QAAtB;AACA,SAAI,WAAW,OAAO,QAAtB;AACA,SAAI,KAAK,OAAO,EAAhB;AACA,SAAI,QAAQ,OAAO,KAAnB;AACA,SAAI,QAAQ,OAAO,KAAnB;;AAEA,SAAI,aAAa,yBAAyB,MAAzB,EAAiC,CAAC,WAAD,EAAc,UAAd,EAA0B,UAA1B,EAAsC,IAAtC,EAA4C,OAA5C,EAAqD,OAArD,CAAjC,CAAjB;;AAEA,YAAO,QAAQ,OAAR,CAAgB,aAAhB,CACL,KADK,EAEL,SAAS,EAAT,EAAa,UAAb,EAAyB;AACvB,kBAAW,CAAC,GAAG,aAAa,OAAjB,EAA0B,qBAA1B,EAAiD,SAAjD,EAA4D;AACrE,0CAAiC;AADoC,QAA5D,CADY;AAIvB,aAAM,UAJiB;AAKvB,WAAI,EALmB;AAMvB,0BAAmB,KANI;AAOvB,cAAO,SAAS,EAAT,EAAa,KAAb,EAAoB,EAAE,SAAS,WAAW,IAAX,GAAkB,MAA7B,EAApB;AAPgB,MAAzB,CAFK,EAWL,KAAK,OAAL,CAAa,mBAAb,IAAoC,QAApC,GAA+C,QAA/C,GAA0D,IAXrD,CAAP;AAaD;AA/C0C,EAA5B,CAAjB,C","file":"/Users/danieltschinder/Documents/Github/react-tabs/dist/react-tabs.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"React\"), require(\"ReactDOM\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"React\", \"ReactDOM\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ReactTabs\"] = factory(require(\"React\"), require(\"ReactDOM\"));\n\telse\n\t\troot[\"ReactTabs\"] = factory(root[\"React\"], root[\"ReactDOM\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_3__) {\nreturn \n\n\n/** WEBPACK FOOTER **\n ** webpack/universalModuleDefinition\n **/"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap a0b1748f4ad27714d6bb\n **/","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TabPanel = exports.Tab = exports.TabList = exports.Tabs = undefined;\n\nvar _Tabs = require('./components/Tabs');\n\nvar _Tabs2 = _interopRequireDefault(_Tabs);\n\nvar _TabList = require('./components/TabList');\n\nvar _TabList2 = _interopRequireDefault(_TabList);\n\nvar _Tab = require('./components/Tab');\n\nvar _Tab2 = _interopRequireDefault(_Tab);\n\nvar _TabPanel = require('./components/TabPanel');\n\nvar _TabPanel2 = _interopRequireDefault(_TabPanel);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.Tabs =\n\n// For bc we also export a default object, remove in 1.0\n_Tabs2.default;\nexports.TabList = _TabList2.default;\nexports.Tab = _Tab2.default;\nexports.TabPanel = _TabPanel2.default;\nexports.default = {\n Tabs: _Tabs2.default,\n TabList: _TabList2.default,\n Tab: _Tab2.default,\n TabPanel: _TabPanel2.default\n};\n\n\n/** WEBPACK FOOTER **\n ** ./lib/main.js\n **/","'use strict';\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = require('react-dom');\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _jsStylesheet = require('js-stylesheet');\n\nvar _jsStylesheet2 = _interopRequireDefault(_jsStylesheet);\n\nvar _uuid = require('../helpers/uuid');\n\nvar _uuid2 = _interopRequireDefault(_uuid);\n\nvar _childrenPropType = require('../helpers/childrenPropType');\n\nvar _childrenPropType2 = _interopRequireDefault(_childrenPropType);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\n// Determine if a node from event.target is a Tab element\nfunction isTabNode(node) {\n return node.nodeName === 'LI' && node.getAttribute('role') === 'tab';\n}\n\n// Determine if a tab node is disabled\nfunction isTabDisabled(node) {\n return node.getAttribute('aria-disabled') === 'true';\n}\n\nvar useDefaultStyles = true;\n\nmodule.exports = _react2.default.createClass({\n displayName: 'Tabs',\n\n propTypes: {\n className: _react.PropTypes.string,\n selectedIndex: _react.PropTypes.number,\n onSelect: _react.PropTypes.func,\n focus: _react.PropTypes.bool,\n children: _childrenPropType2.default,\n forceRenderTabPanel: _react.PropTypes.bool\n },\n\n childContextTypes: {\n forceRenderTabPanel: _react.PropTypes.bool\n },\n\n statics: {\n setUseDefaultStyles: function setUseDefaultStyles(use) {\n useDefaultStyles = use;\n }\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n selectedIndex: -1,\n focus: false,\n forceRenderTabPanel: false\n };\n },\n getInitialState: function getInitialState() {\n return this.copyPropsToState(this.props);\n },\n getChildContext: function getChildContext() {\n return {\n forceRenderTabPanel: this.props.forceRenderTabPanel\n };\n },\n componentDidMount: function componentDidMount() {\n if (useDefaultStyles) {\n (0, _jsStylesheet2.default)(require('../helpers/styles.js')); // eslint-disable-line global-require\n }\n },\n componentWillReceiveProps: function componentWillReceiveProps(newProps) {\n this.setState(this.copyPropsToState(newProps));\n },\n setSelected: function setSelected(index, focus) {\n // Don't do anything if nothing has changed\n if (index === this.state.selectedIndex) return;\n // Check index boundary\n if (index < 0 || index >= this.getTabsCount()) return;\n\n // Keep reference to last index for event handler\n var last = this.state.selectedIndex;\n\n // Update selected index\n this.setState({ selectedIndex: index, focus: focus === true });\n\n // Call change event handler\n if (typeof this.props.onSelect === 'function') {\n this.props.onSelect(index, last);\n }\n },\n getNextTab: function getNextTab(index) {\n var count = this.getTabsCount();\n\n // Look for non-disabled tab from index to the last tab on the right\n for (var i = index + 1; i < count; i++) {\n var tab = this.getTab(i);\n if (!isTabDisabled((0, _reactDom.findDOMNode)(tab))) {\n return i;\n }\n }\n\n // If no tab found, continue searching from first on left to index\n for (var _i = 0; _i < index; _i++) {\n var _tab = this.getTab(_i);\n if (!isTabDisabled((0, _reactDom.findDOMNode)(_tab))) {\n return _i;\n }\n }\n\n // No tabs are disabled, return index\n return index;\n },\n getPrevTab: function getPrevTab(index) {\n var i = index;\n\n // Look for non-disabled tab from index to first tab on the left\n while (i--) {\n var tab = this.getTab(i);\n if (!isTabDisabled((0, _reactDom.findDOMNode)(tab))) {\n return i;\n }\n }\n\n // If no tab found, continue searching from last tab on right to index\n i = this.getTabsCount();\n while (i-- > index) {\n var _tab2 = this.getTab(i);\n if (!isTabDisabled((0, _reactDom.findDOMNode)(_tab2))) {\n return i;\n }\n }\n\n // No tabs are disabled, return index\n return index;\n },\n getTabsCount: function getTabsCount() {\n return this.props.children && this.props.children[0] ? _react2.default.Children.count(this.props.children[0].props.children) : 0;\n },\n getPanelsCount: function getPanelsCount() {\n return _react2.default.Children.count(this.props.children.slice(1));\n },\n getTabList: function getTabList() {\n return this.refs.tablist;\n },\n getTab: function getTab(index) {\n return this.refs['tabs-' + index];\n },\n getPanel: function getPanel(index) {\n return this.refs['panels-' + index];\n },\n getChildren: function getChildren() {\n var index = 0;\n var count = 0;\n var children = this.props.children;\n var state = this.state;\n var tabIds = this.tabIds = this.tabIds || [];\n var panelIds = this.panelIds = this.panelIds || [];\n var diff = this.tabIds.length - this.getTabsCount();\n\n // Add ids if new tabs have been added\n // Don't bother removing ids, just keep them in case they are added again\n // This is more efficient, and keeps the uuid counter under control\n while (diff++ < 0) {\n tabIds.push((0, _uuid2.default)());\n panelIds.push((0, _uuid2.default)());\n }\n\n // Map children to dynamically setup refs\n return _react2.default.Children.map(children, function (child) {\n // null happens when conditionally rendering TabPanel/Tab\n // see https://github.com/rackt/react-tabs/issues/37\n if (child === null) {\n return null;\n }\n\n var result = null;\n\n // Clone TabList and Tab components to have refs\n if (count++ === 0) {\n // TODO try setting the uuid in the \"constructor\" for `Tab`/`TabPanel`\n result = (0, _react.cloneElement)(child, {\n ref: 'tablist',\n children: _react2.default.Children.map(child.props.children, function (tab) {\n // null happens when conditionally rendering TabPanel/Tab\n // see https://github.com/rackt/react-tabs/issues/37\n if (tab === null) {\n return null;\n }\n\n var ref = 'tabs-' + index;\n var id = tabIds[index];\n var panelId = panelIds[index];\n var selected = state.selectedIndex === index;\n var focus = selected && state.focus;\n\n index++;\n\n return (0, _react.cloneElement)(tab, {\n ref: ref,\n id: id,\n panelId: panelId,\n selected: selected,\n focus: focus\n });\n })\n });\n\n // Reset index for panels\n index = 0;\n }\n // Clone TabPanel components to have refs\n else {\n var ref = 'panels-' + index;\n var id = panelIds[index];\n var tabId = tabIds[index];\n var selected = state.selectedIndex === index;\n\n index++;\n\n result = (0, _react.cloneElement)(child, {\n ref: ref,\n id: id,\n tabId: tabId,\n selected: selected\n });\n }\n\n return result;\n });\n },\n handleKeyDown: function handleKeyDown(e) {\n if (this.isTabFromContainer(e.target)) {\n var index = this.state.selectedIndex;\n var preventDefault = false;\n\n // Select next tab to the left\n if (e.keyCode === 37 || e.keyCode === 38) {\n index = this.getPrevTab(index);\n preventDefault = true;\n }\n // Select next tab to the right\n /* eslint brace-style:0 */\n else if (e.keyCode === 39 || e.keyCode === 40) {\n index = this.getNextTab(index);\n preventDefault = true;\n }\n\n // This prevents scrollbars from moving around\n if (preventDefault) {\n e.preventDefault();\n }\n\n this.setSelected(index, true);\n }\n },\n handleClick: function handleClick(e) {\n var node = e.target;\n do {\n // eslint-disable-line no-cond-assign\n if (this.isTabFromContainer(node)) {\n if (isTabDisabled(node)) {\n return;\n }\n\n var index = [].slice.call(node.parentNode.children).indexOf(node);\n this.setSelected(index);\n return;\n }\n } while ((node = node.parentNode) !== null);\n },\n\n\n // This is an anti-pattern, so sue me\n copyPropsToState: function copyPropsToState(props) {\n var selectedIndex = props.selectedIndex;\n\n // If no selectedIndex prop was supplied, then try\n // preserving the existing selectedIndex from state.\n // If the state has not selectedIndex, default\n // to the first tab in the TabList.\n //\n // TODO: Need automation testing around this\n // Manual testing can be done using examples/focus\n // See 'should preserve selectedIndex when typing' in specs/Tabs.spec.js\n if (selectedIndex === -1) {\n if (this.state && this.state.selectedIndex) {\n selectedIndex = this.state.selectedIndex;\n } else {\n selectedIndex = 0;\n }\n }\n\n return {\n selectedIndex: selectedIndex,\n focus: props.focus\n };\n },\n\n\n /**\n * Determine if a node from event.target is a Tab element for the current Tabs container.\n * If the clicked element is not a Tab, it returns false.\n * If it finds another Tabs container between the Tab and `this`, it returns false.\n */\n isTabFromContainer: function isTabFromContainer(node) {\n // return immediately if the clicked element is not a Tab.\n if (!isTabNode(node)) {\n return false;\n }\n\n // Check if the first occurrence of a Tabs container is `this` one.\n var nodeAncestor = node.parentElement;\n var tabsNode = (0, _reactDom.findDOMNode)(this);\n do {\n if (nodeAncestor === tabsNode) return true;else if (nodeAncestor.getAttribute('data-tabs')) break;\n\n nodeAncestor = nodeAncestor.parentElement;\n } while (nodeAncestor);\n\n return false;\n },\n render: function render() {\n var _this = this;\n\n // This fixes an issue with focus management.\n //\n // Ultimately, when focus is true, and an input has focus,\n // and any change on that input causes a state change/re-render,\n // focus gets sent back to the active tab, and input loses focus.\n //\n // Since the focus state only needs to be remembered\n // for the current render, we can reset it once the\n // render has happened.\n //\n // Don't use setState, because we don't want to re-render.\n //\n // See https://github.com/rackt/react-tabs/pull/7\n if (this.state.focus) {\n setTimeout(function () {\n _this.state.focus = false;\n }, 0);\n }\n\n var _props = this.props;\n var className = _props.className;\n\n var attributes = _objectWithoutProperties(_props, ['className']);\n\n // Delete all known props, so they don't get added to DOM\n\n\n delete attributes.selectedIndex;\n delete attributes.onSelect;\n delete attributes.focus;\n delete attributes.children;\n delete attributes.forceRenderTabPanel;\n delete attributes.onClick;\n delete attributes.onKeyDown;\n\n return _react2.default.createElement(\n 'div',\n _extends({}, attributes, {\n className: (0, _classnames2.default)('ReactTabs', 'react-tabs', className),\n onClick: this.handleClick,\n onKeyDown: this.handleKeyDown,\n 'data-tabs': true\n }),\n this.getChildren()\n );\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./lib/components/Tabs.js\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_2__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"React\"\n ** module id = 2\n ** module chunks = 0\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"ReactDOM\"\n ** module id = 3\n ** module chunks = 0\n **/","/*!\n Copyright (c) 2016 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/classnames/index.js\n ** module id = 4\n ** module chunks = 0\n **/","!(function() {\n function jss(blocks) {\n var css = [];\n for (var block in blocks)\n css.push(createStyleBlock(block, blocks[block]));\n injectCSS(css);\n }\n\n function createStyleBlock(selector, rules) {\n return selector + ' {\\n' + parseRules(rules) + '\\n}';\n }\n\n function parseRules(rules) {\n var css = [];\n for (var rule in rules)\n css.push(' '+rule+': '+rules[rule]+';');\n return css.join('\\n');\n }\n\n function injectCSS(css) {\n var style = document.getElementById('jss-styles');\n if (!style) {\n style = document.createElement('style');\n style.setAttribute('id', 'jss-styles');\n var head = document.getElementsByTagName('head')[0];\n head.insertBefore(style, head.firstChild);\n }\n var node = document.createTextNode(css.join('\\n\\n'));\n style.appendChild(node);\n }\n\n if (typeof exports === 'object')\n module.exports = jss;\n else\n window.jss = jss;\n\n})();\n\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/js-stylesheet/jss.js\n ** module id = 5\n ** module chunks = 0\n **/","\"use strict\";\n\n// Get a universally unique identifier\nvar count = 0;\nmodule.exports = function uuid() {\n return \"react-tabs-\" + count++;\n};\n\n\n/** WEBPACK FOOTER **\n ** ./lib/helpers/uuid.js\n **/","'use strict';\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Tab = require('../components/Tab');\n\nvar _Tab2 = _interopRequireDefault(_Tab);\n\nvar _TabList = require('../components/TabList');\n\nvar _TabList2 = _interopRequireDefault(_TabList);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nmodule.exports = function childrenPropTypes(props, propName) {\n var error = void 0;\n var tabsCount = 0;\n var panelsCount = 0;\n var children = props[propName];\n\n _react2.default.Children.forEach(children, function (child) {\n // null happens when conditionally rendering TabPanel/Tab\n // see https://github.com/rackt/react-tabs/issues/37\n if (child === null) {\n return;\n }\n\n if (child.type === _TabList2.default) {\n _react2.default.Children.forEach(child.props.children, function (c) {\n // null happens when conditionally rendering TabPanel/Tab\n // see https://github.com/rackt/react-tabs/issues/37\n if (c === null) {\n return;\n }\n\n if (c.type === _Tab2.default) {\n tabsCount++;\n } else {\n error = new Error('Expected \\'Tab\\' but found \\'' + (c.type.displayName || c.type) + '\\'');\n }\n });\n } else if (child.type.displayName === 'TabPanel') {\n panelsCount++;\n } else {\n error = new Error('Expected \\'TabList\\' or \\'TabPanel\\' but found \\'' + (child.type.displayName || child.type) + '\\'');\n }\n });\n\n if (tabsCount !== panelsCount) {\n error = new Error(\"There should be an equal number of 'Tabs' and 'TabPanels'.\" + ('Received ' + tabsCount + ' \\'Tabs\\' and ' + panelsCount + ' \\'TabPanels\\'.'));\n }\n\n return error;\n};\n\n\n/** WEBPACK FOOTER **\n ** ./lib/helpers/childrenPropType.js\n **/","'use strict';\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = require('react-dom');\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nmodule.exports = _react2.default.createClass({\n displayName: 'Tab',\n\n propTypes: {\n className: _react.PropTypes.string,\n id: _react.PropTypes.string,\n focus: _react.PropTypes.bool,\n selected: _react.PropTypes.bool,\n disabled: _react.PropTypes.bool,\n panelId: _react.PropTypes.string,\n children: _react.PropTypes.oneOfType([_react.PropTypes.array, _react.PropTypes.object, _react.PropTypes.string])\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n focus: false,\n selected: false,\n id: null,\n panelId: null\n };\n },\n componentDidMount: function componentDidMount() {\n this.checkFocus();\n },\n componentDidUpdate: function componentDidUpdate() {\n this.checkFocus();\n },\n checkFocus: function checkFocus() {\n if (this.props.selected && this.props.focus) {\n (0, _reactDom.findDOMNode)(this).focus();\n }\n },\n render: function render() {\n var _props = this.props;\n var selected = _props.selected;\n var disabled = _props.disabled;\n var panelId = _props.panelId;\n var className = _props.className;\n var children = _props.children;\n var id = _props.id;\n\n var attributes = _objectWithoutProperties(_props, ['selected', 'disabled', 'panelId', 'className', 'children', 'id']);\n\n return _react2.default.createElement(\n 'li',\n _extends({}, attributes, {\n className: (0, _classnames2.default)('ReactTabs__Tab', className, {\n 'ReactTabs__Tab--selected': selected,\n 'ReactTabs__Tab--disabled': disabled\n }),\n role: 'tab',\n id: id,\n 'aria-selected': selected ? 'true' : 'false',\n 'aria-expanded': selected ? 'true' : 'false',\n 'aria-disabled': disabled ? 'true' : 'false',\n 'aria-controls': panelId,\n tabIndex: selected ? '0' : null\n }),\n children\n );\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./lib/components/Tab.js\n **/","'use strict';\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nmodule.exports = _react2.default.createClass({\n displayName: 'TabList',\n\n propTypes: {\n className: _react.PropTypes.string,\n children: _react.PropTypes.oneOfType([_react.PropTypes.object, _react.PropTypes.array])\n },\n\n render: function render() {\n var _props = this.props;\n var className = _props.className;\n var children = _props.children;\n\n var attributes = _objectWithoutProperties(_props, ['className', 'children']);\n\n return _react2.default.createElement(\n 'ul',\n _extends({}, attributes, {\n className: (0, _classnames2.default)('ReactTabs__TabList', className),\n role: 'tablist'\n }),\n children\n );\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./lib/components/TabList.js\n **/","'use strict';\n\nmodule.exports = {\n '.react-tabs [role=tablist]': {\n 'border-bottom': '1px solid #aaa',\n margin: '0 0 10px',\n padding: '0'\n },\n\n '.react-tabs [role=tab]': {\n display: 'inline-block',\n border: '1px solid transparent',\n 'border-bottom': 'none',\n bottom: '-1px',\n position: 'relative',\n 'list-style': 'none',\n padding: '6px 12px',\n cursor: 'pointer'\n },\n\n '.react-tabs [role=tab][aria-selected=true]': {\n background: '#fff',\n 'border-color': '#aaa',\n color: 'black',\n 'border-radius': '5px 5px 0 0',\n '-moz-border-radius': '5px 5px 0 0',\n '-webkit-border-radius': '5px 5px 0 0'\n },\n\n '.react-tabs [role=tab][aria-disabled=true]': {\n color: 'GrayText',\n cursor: 'default'\n },\n\n '.react-tabs [role=tab]:focus': {\n 'box-shadow': '0 0 5px hsl(208, 99%, 50%)',\n 'border-color': 'hsl(208, 99%, 50%)',\n outline: 'none'\n },\n\n '.react-tabs [role=tab]:focus:after': {\n content: '\"\"',\n position: 'absolute',\n height: '5px',\n left: '-4px',\n right: '-4px',\n bottom: '-5px',\n background: '#fff'\n }\n};\n\n\n/** WEBPACK FOOTER **\n ** ./lib/helpers/styles.js\n **/","'use strict';\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nmodule.exports = _react2.default.createClass({\n displayName: 'TabPanel',\n\n propTypes: {\n children: _react.PropTypes.oneOfType([_react.PropTypes.array, _react.PropTypes.object, _react.PropTypes.string]),\n className: _react.PropTypes.string,\n id: _react.PropTypes.string,\n selected: _react.PropTypes.bool,\n style: _react.PropTypes.object,\n tabId: _react.PropTypes.string\n },\n\n contextTypes: {\n forceRenderTabPanel: _react.PropTypes.bool\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n selected: false,\n id: null,\n tabId: null\n };\n },\n render: function render() {\n var _props = this.props;\n var className = _props.className;\n var children = _props.children;\n var selected = _props.selected;\n var id = _props.id;\n var tabId = _props.tabId;\n var style = _props.style;\n\n var attributes = _objectWithoutProperties(_props, ['className', 'children', 'selected', 'id', 'tabId', 'style']);\n\n return _react2.default.createElement(\n 'div',\n _extends({}, attributes, {\n className: (0, _classnames2.default)('ReactTabs__TabPanel', className, {\n 'ReactTabs__TabPanel--selected': selected\n }),\n role: 'tabpanel',\n id: id,\n 'aria-labelledby': tabId,\n style: _extends({}, style, { display: selected ? null : 'none' })\n }),\n this.context.forceRenderTabPanel || selected ? children : null\n );\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./lib/components/TabPanel.js\n **/"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap dc841195914804079bda","webpack:///./lib/main.js","webpack:///./lib/components/Tabs.js","webpack:///external \"React\"","webpack:///external \"ReactDOM\"","webpack:///./~/classnames/index.js","webpack:///./~/js-stylesheet/jss.js","webpack:///./lib/helpers/uuid.js","webpack:///./lib/helpers/childrenPropType.js","webpack:///./lib/components/Tab.js","webpack:///./lib/components/TabList.js","webpack:///./lib/helpers/styles.js","webpack:///./lib/components/TabPanel.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;ACVA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uBAAe;AACf;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;ACtCA;;AAEA,QAAO,cAAP,CAAsB,OAAtB,EAA+B,YAA/B,EAA6C;AAC3C,UAAO;AADoC,EAA7C;;AAIA,KAAI,QAAQ,oBAAQ,CAAR,CAAZ;;AAEA,QAAO,cAAP,CAAsB,OAAtB,EAA+B,MAA/B,EAAuC;AACrC,eAAY,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AAO,OAAO,SAAP,CAAiB;AANf,IAHgC;;AAY3C,iBAAc;AACZ,0BAAqB,OAAO,SAAP,CAAiB;AAD1B,IAZ6B;;AAgB3C,oBAAiB,SAAS,eAAT,GAA2B;AAC1C,YAAO;AACL,iBAAU,KADL;AAEL,WAAI,IAFC;AAGL,cAAO;AAHF,MAAP;AAKD,IAtB0C;AAuB3C,WAAQ,SAAS,MAAT,GAAkB;AACxB,SAAI,SAAS,KAAK,KAAlB;AACA,SAAI,YAAY,OAAO,SAAvB;AACA,SAAI,WAAW,OAAO,QAAtB;AACA,SAAI,WAAW,OAAO,QAAtB;AACA,SAAI,KAAK,OAAO,EAAhB;AACA,SAAI,QAAQ,OAAO,KAAnB;AACA,SAAI,QAAQ,OAAO,KAAnB;;AAEA,SAAI,aAAa,yBAAyB,MAAzB,EAAiC,CAAC,WAAD,EAAc,UAAd,EAA0B,UAA1B,EAAsC,IAAtC,EAA4C,OAA5C,EAAqD,OAArD,CAAjC,CAAjB;;AAEA,YAAO,QAAQ,OAAR,CAAgB,aAAhB,CACL,KADK,EAEL,SAAS,EAAT,EAAa,UAAb,EAAyB;AACvB,kBAAW,CAAC,GAAG,aAAa,OAAjB,EAA0B,qBAA1B,EAAiD,SAAjD,EAA4D;AACrE,0CAAiC;AADoC,QAA5D,CADY;AAIvB,aAAM,UAJiB;AAKvB,WAAI,EALmB;AAMvB,0BAAmB,KANI;AAOvB,cAAO,SAAS,EAAT,EAAa,KAAb,EAAoB,EAAE,SAAS,WAAW,IAAX,GAAkB,MAA7B,EAApB;AAPgB,MAAzB,CAFK,EAWL,KAAK,OAAL,CAAa,mBAAb,IAAoC,QAApC,GAA+C,QAA/C,GAA0D,IAXrD,CAAP;AAaD;AA/C0C,EAA5B,CAAjB,C","file":"/Users/danieltschinder/Documents/Github/react-tabs/dist/react-tabs.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"React\"), require(\"ReactDOM\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"React\", \"ReactDOM\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ReactTabs\"] = factory(require(\"React\"), require(\"ReactDOM\"));\n\telse\n\t\troot[\"ReactTabs\"] = factory(root[\"React\"], root[\"ReactDOM\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_3__) {\nreturn \n\n\n/** WEBPACK FOOTER **\n ** webpack/universalModuleDefinition\n **/"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap dc841195914804079bda\n **/","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _Tabs = require('./components/Tabs');\n\nObject.defineProperty(exports, 'Tabs', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Tabs).default;\n }\n});\n\nvar _TabList = require('./components/TabList');\n\nObject.defineProperty(exports, 'TabList', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_TabList).default;\n }\n});\n\nvar _Tab = require('./components/Tab');\n\nObject.defineProperty(exports, 'Tab', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Tab).default;\n }\n});\n\nvar _TabPanel = require('./components/TabPanel');\n\nObject.defineProperty(exports, 'TabPanel', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_TabPanel).default;\n }\n});\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n\n/** WEBPACK FOOTER **\n ** ./lib/main.js\n **/","'use strict';\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = require('react-dom');\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _jsStylesheet = require('js-stylesheet');\n\nvar _jsStylesheet2 = _interopRequireDefault(_jsStylesheet);\n\nvar _uuid = require('../helpers/uuid');\n\nvar _uuid2 = _interopRequireDefault(_uuid);\n\nvar _childrenPropType = require('../helpers/childrenPropType');\n\nvar _childrenPropType2 = _interopRequireDefault(_childrenPropType);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\n// Determine if a node from event.target is a Tab element\nfunction isTabNode(node) {\n return node.nodeName === 'LI' && node.getAttribute('role') === 'tab';\n}\n\n// Determine if a tab node is disabled\nfunction isTabDisabled(node) {\n return node.getAttribute('aria-disabled') === 'true';\n}\n\nvar useDefaultStyles = true;\n\nmodule.exports = _react2.default.createClass({\n displayName: 'Tabs',\n\n propTypes: {\n className: _react.PropTypes.string,\n selectedIndex: _react.PropTypes.number,\n onSelect: _react.PropTypes.func,\n focus: _react.PropTypes.bool,\n children: _childrenPropType2.default,\n forceRenderTabPanel: _react.PropTypes.bool\n },\n\n childContextTypes: {\n forceRenderTabPanel: _react.PropTypes.bool\n },\n\n statics: {\n setUseDefaultStyles: function setUseDefaultStyles(use) {\n useDefaultStyles = use;\n }\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n selectedIndex: -1,\n focus: false,\n forceRenderTabPanel: false\n };\n },\n getInitialState: function getInitialState() {\n return this.copyPropsToState(this.props);\n },\n getChildContext: function getChildContext() {\n return {\n forceRenderTabPanel: this.props.forceRenderTabPanel\n };\n },\n componentDidMount: function componentDidMount() {\n if (useDefaultStyles) {\n (0, _jsStylesheet2.default)(require('../helpers/styles.js')); // eslint-disable-line global-require\n }\n },\n componentWillReceiveProps: function componentWillReceiveProps(newProps) {\n this.setState(this.copyPropsToState(newProps));\n },\n setSelected: function setSelected(index, focus) {\n // Don't do anything if nothing has changed\n if (index === this.state.selectedIndex) return;\n // Check index boundary\n if (index < 0 || index >= this.getTabsCount()) return;\n\n // Keep reference to last index for event handler\n var last = this.state.selectedIndex;\n\n // Update selected index\n this.setState({ selectedIndex: index, focus: focus === true });\n\n // Call change event handler\n if (typeof this.props.onSelect === 'function') {\n this.props.onSelect(index, last);\n }\n },\n getNextTab: function getNextTab(index) {\n var count = this.getTabsCount();\n\n // Look for non-disabled tab from index to the last tab on the right\n for (var i = index + 1; i < count; i++) {\n var tab = this.getTab(i);\n if (!isTabDisabled((0, _reactDom.findDOMNode)(tab))) {\n return i;\n }\n }\n\n // If no tab found, continue searching from first on left to index\n for (var _i = 0; _i < index; _i++) {\n var _tab = this.getTab(_i);\n if (!isTabDisabled((0, _reactDom.findDOMNode)(_tab))) {\n return _i;\n }\n }\n\n // No tabs are disabled, return index\n return index;\n },\n getPrevTab: function getPrevTab(index) {\n var i = index;\n\n // Look for non-disabled tab from index to first tab on the left\n while (i--) {\n var tab = this.getTab(i);\n if (!isTabDisabled((0, _reactDom.findDOMNode)(tab))) {\n return i;\n }\n }\n\n // If no tab found, continue searching from last tab on right to index\n i = this.getTabsCount();\n while (i-- > index) {\n var _tab2 = this.getTab(i);\n if (!isTabDisabled((0, _reactDom.findDOMNode)(_tab2))) {\n return i;\n }\n }\n\n // No tabs are disabled, return index\n return index;\n },\n getTabsCount: function getTabsCount() {\n return this.props.children && this.props.children[0] ? _react2.default.Children.count(this.props.children[0].props.children) : 0;\n },\n getPanelsCount: function getPanelsCount() {\n return _react2.default.Children.count(this.props.children.slice(1));\n },\n getTabList: function getTabList() {\n return this.refs.tablist;\n },\n getTab: function getTab(index) {\n return this.refs['tabs-' + index];\n },\n getPanel: function getPanel(index) {\n return this.refs['panels-' + index];\n },\n getChildren: function getChildren() {\n var index = 0;\n var count = 0;\n var children = this.props.children;\n var state = this.state;\n var tabIds = this.tabIds = this.tabIds || [];\n var panelIds = this.panelIds = this.panelIds || [];\n var diff = this.tabIds.length - this.getTabsCount();\n\n // Add ids if new tabs have been added\n // Don't bother removing ids, just keep them in case they are added again\n // This is more efficient, and keeps the uuid counter under control\n while (diff++ < 0) {\n tabIds.push((0, _uuid2.default)());\n panelIds.push((0, _uuid2.default)());\n }\n\n // Map children to dynamically setup refs\n return _react2.default.Children.map(children, function (child) {\n // null happens when conditionally rendering TabPanel/Tab\n // see https://github.com/rackt/react-tabs/issues/37\n if (child === null) {\n return null;\n }\n\n var result = null;\n\n // Clone TabList and Tab components to have refs\n if (count++ === 0) {\n // TODO try setting the uuid in the \"constructor\" for `Tab`/`TabPanel`\n result = (0, _react.cloneElement)(child, {\n ref: 'tablist',\n children: _react2.default.Children.map(child.props.children, function (tab) {\n // null happens when conditionally rendering TabPanel/Tab\n // see https://github.com/rackt/react-tabs/issues/37\n if (tab === null) {\n return null;\n }\n\n var ref = 'tabs-' + index;\n var id = tabIds[index];\n var panelId = panelIds[index];\n var selected = state.selectedIndex === index;\n var focus = selected && state.focus;\n\n index++;\n\n return (0, _react.cloneElement)(tab, {\n ref: ref,\n id: id,\n panelId: panelId,\n selected: selected,\n focus: focus\n });\n })\n });\n\n // Reset index for panels\n index = 0;\n }\n // Clone TabPanel components to have refs\n else {\n var ref = 'panels-' + index;\n var id = panelIds[index];\n var tabId = tabIds[index];\n var selected = state.selectedIndex === index;\n\n index++;\n\n result = (0, _react.cloneElement)(child, {\n ref: ref,\n id: id,\n tabId: tabId,\n selected: selected\n });\n }\n\n return result;\n });\n },\n handleKeyDown: function handleKeyDown(e) {\n if (this.isTabFromContainer(e.target)) {\n var index = this.state.selectedIndex;\n var preventDefault = false;\n\n // Select next tab to the left\n if (e.keyCode === 37 || e.keyCode === 38) {\n index = this.getPrevTab(index);\n preventDefault = true;\n }\n // Select next tab to the right\n /* eslint brace-style:0 */\n else if (e.keyCode === 39 || e.keyCode === 40) {\n index = this.getNextTab(index);\n preventDefault = true;\n }\n\n // This prevents scrollbars from moving around\n if (preventDefault) {\n e.preventDefault();\n }\n\n this.setSelected(index, true);\n }\n },\n handleClick: function handleClick(e) {\n var node = e.target;\n do {\n // eslint-disable-line no-cond-assign\n if (this.isTabFromContainer(node)) {\n if (isTabDisabled(node)) {\n return;\n }\n\n var index = [].slice.call(node.parentNode.children).indexOf(node);\n this.setSelected(index);\n return;\n }\n } while ((node = node.parentNode) !== null);\n },\n\n\n // This is an anti-pattern, so sue me\n copyPropsToState: function copyPropsToState(props) {\n var selectedIndex = props.selectedIndex;\n\n // If no selectedIndex prop was supplied, then try\n // preserving the existing selectedIndex from state.\n // If the state has not selectedIndex, default\n // to the first tab in the TabList.\n //\n // TODO: Need automation testing around this\n // Manual testing can be done using examples/focus\n // See 'should preserve selectedIndex when typing' in specs/Tabs.spec.js\n if (selectedIndex === -1) {\n if (this.state && this.state.selectedIndex) {\n selectedIndex = this.state.selectedIndex;\n } else {\n selectedIndex = 0;\n }\n }\n\n return {\n selectedIndex: selectedIndex,\n focus: props.focus\n };\n },\n\n\n /**\n * Determine if a node from event.target is a Tab element for the current Tabs container.\n * If the clicked element is not a Tab, it returns false.\n * If it finds another Tabs container between the Tab and `this`, it returns false.\n */\n isTabFromContainer: function isTabFromContainer(node) {\n // return immediately if the clicked element is not a Tab.\n if (!isTabNode(node)) {\n return false;\n }\n\n // Check if the first occurrence of a Tabs container is `this` one.\n var nodeAncestor = node.parentElement;\n var tabsNode = (0, _reactDom.findDOMNode)(this);\n do {\n if (nodeAncestor === tabsNode) return true;else if (nodeAncestor.getAttribute('data-tabs')) break;\n\n nodeAncestor = nodeAncestor.parentElement;\n } while (nodeAncestor);\n\n return false;\n },\n render: function render() {\n var _this = this;\n\n // This fixes an issue with focus management.\n //\n // Ultimately, when focus is true, and an input has focus,\n // and any change on that input causes a state change/re-render,\n // focus gets sent back to the active tab, and input loses focus.\n //\n // Since the focus state only needs to be remembered\n // for the current render, we can reset it once the\n // render has happened.\n //\n // Don't use setState, because we don't want to re-render.\n //\n // See https://github.com/rackt/react-tabs/pull/7\n if (this.state.focus) {\n setTimeout(function () {\n _this.state.focus = false;\n }, 0);\n }\n\n var _props = this.props;\n var className = _props.className;\n\n var attributes = _objectWithoutProperties(_props, ['className']);\n\n // Delete all known props, so they don't get added to DOM\n\n\n delete attributes.selectedIndex;\n delete attributes.onSelect;\n delete attributes.focus;\n delete attributes.children;\n delete attributes.forceRenderTabPanel;\n delete attributes.onClick;\n delete attributes.onKeyDown;\n\n return _react2.default.createElement(\n 'div',\n _extends({}, attributes, {\n className: (0, _classnames2.default)('ReactTabs', 'react-tabs', className),\n onClick: this.handleClick,\n onKeyDown: this.handleKeyDown,\n 'data-tabs': true\n }),\n this.getChildren()\n );\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./lib/components/Tabs.js\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_2__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"React\"\n ** module id = 2\n ** module chunks = 0\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"ReactDOM\"\n ** module id = 3\n ** module chunks = 0\n **/","/*!\n Copyright (c) 2016 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/classnames/index.js\n ** module id = 4\n ** module chunks = 0\n **/","!(function() {\n function jss(blocks) {\n var css = [];\n for (var block in blocks)\n css.push(createStyleBlock(block, blocks[block]));\n injectCSS(css);\n }\n\n function createStyleBlock(selector, rules) {\n return selector + ' {\\n' + parseRules(rules) + '\\n}';\n }\n\n function parseRules(rules) {\n var css = [];\n for (var rule in rules)\n css.push(' '+rule+': '+rules[rule]+';');\n return css.join('\\n');\n }\n\n function injectCSS(css) {\n var style = document.getElementById('jss-styles');\n if (!style) {\n style = document.createElement('style');\n style.setAttribute('id', 'jss-styles');\n var head = document.getElementsByTagName('head')[0];\n head.insertBefore(style, head.firstChild);\n }\n var node = document.createTextNode(css.join('\\n\\n'));\n style.appendChild(node);\n }\n\n if (typeof exports === 'object')\n module.exports = jss;\n else\n window.jss = jss;\n\n})();\n\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/js-stylesheet/jss.js\n ** module id = 5\n ** module chunks = 0\n **/","\"use strict\";\n\n// Get a universally unique identifier\nvar count = 0;\nmodule.exports = function uuid() {\n return \"react-tabs-\" + count++;\n};\n\n\n/** WEBPACK FOOTER **\n ** ./lib/helpers/uuid.js\n **/","'use strict';\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Tab = require('../components/Tab');\n\nvar _Tab2 = _interopRequireDefault(_Tab);\n\nvar _TabList = require('../components/TabList');\n\nvar _TabList2 = _interopRequireDefault(_TabList);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nmodule.exports = function childrenPropTypes(props, propName) {\n var error = void 0;\n var tabsCount = 0;\n var panelsCount = 0;\n var children = props[propName];\n\n _react2.default.Children.forEach(children, function (child) {\n // null happens when conditionally rendering TabPanel/Tab\n // see https://github.com/rackt/react-tabs/issues/37\n if (child === null) {\n return;\n }\n\n if (child.type === _TabList2.default) {\n _react2.default.Children.forEach(child.props.children, function (c) {\n // null happens when conditionally rendering TabPanel/Tab\n // see https://github.com/rackt/react-tabs/issues/37\n if (c === null) {\n return;\n }\n\n if (c.type === _Tab2.default) {\n tabsCount++;\n } else {\n error = new Error('Expected \\'Tab\\' but found \\'' + (c.type.displayName || c.type) + '\\'');\n }\n });\n } else if (child.type.displayName === 'TabPanel') {\n panelsCount++;\n } else {\n error = new Error('Expected \\'TabList\\' or \\'TabPanel\\' but found \\'' + (child.type.displayName || child.type) + '\\'');\n }\n });\n\n if (tabsCount !== panelsCount) {\n error = new Error(\"There should be an equal number of 'Tabs' and 'TabPanels'.\" + ('Received ' + tabsCount + ' \\'Tabs\\' and ' + panelsCount + ' \\'TabPanels\\'.'));\n }\n\n return error;\n};\n\n\n/** WEBPACK FOOTER **\n ** ./lib/helpers/childrenPropType.js\n **/","'use strict';\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = require('react-dom');\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction syncNodeAttributes(node, props) {\n if (props.selected) {\n node.setAttribute('tabindex', '0');\n node.setAttribute('selected', 'selected');\n if (props.focus) {\n node.focus();\n }\n } else {\n node.removeAttribute('tabindex');\n node.removeAttribute('selected');\n }\n}\n\nmodule.exports = _react2.default.createClass({\n displayName: 'Tab',\n\n propTypes: {\n className: _react.PropTypes.string,\n id: _react.PropTypes.string,\n selected: _react.PropTypes.bool,\n disabled: _react.PropTypes.bool,\n panelId: _react.PropTypes.string,\n children: _react.PropTypes.oneOfType([_react.PropTypes.array, _react.PropTypes.object, _react.PropTypes.string])\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n focus: false,\n selected: false,\n id: null,\n panelId: null\n };\n },\n componentDidMount: function componentDidMount() {\n syncNodeAttributes((0, _reactDom.findDOMNode)(this), this.props);\n },\n componentDidUpdate: function componentDidUpdate() {\n syncNodeAttributes((0, _reactDom.findDOMNode)(this), this.props);\n },\n render: function render() {\n var _props = this.props;\n var selected = _props.selected;\n var disabled = _props.disabled;\n var panelId = _props.panelId;\n var className = _props.className;\n var children = _props.children;\n var id = _props.id;\n\n var attributes = _objectWithoutProperties(_props, ['selected', 'disabled', 'panelId', 'className', 'children', 'id']);\n\n return _react2.default.createElement(\n 'li',\n _extends({}, attributes, {\n className: (0, _classnames2.default)('ReactTabs__Tab', className, {\n 'ReactTabs__Tab--selected': selected,\n 'ReactTabs__Tab--disabled': disabled\n }),\n role: 'tab',\n id: id,\n 'aria-selected': selected ? 'true' : 'false',\n 'aria-expanded': selected ? 'true' : 'false',\n 'aria-disabled': disabled ? 'true' : 'false',\n 'aria-controls': panelId\n }),\n children\n );\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./lib/components/Tab.js\n **/","'use strict';\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nmodule.exports = _react2.default.createClass({\n displayName: 'TabList',\n\n propTypes: {\n className: _react.PropTypes.string,\n children: _react.PropTypes.oneOfType([_react.PropTypes.object, _react.PropTypes.array])\n },\n\n render: function render() {\n var _props = this.props;\n var className = _props.className;\n var children = _props.children;\n\n var attributes = _objectWithoutProperties(_props, ['className', 'children']);\n\n return _react2.default.createElement(\n 'ul',\n _extends({}, attributes, {\n className: (0, _classnames2.default)('ReactTabs__TabList', className),\n role: 'tablist'\n }),\n children\n );\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./lib/components/TabList.js\n **/","'use strict';\n\nmodule.exports = {\n '.react-tabs [role=tablist]': {\n 'border-bottom': '1px solid #aaa',\n margin: '0 0 10px',\n padding: '0'\n },\n\n '.react-tabs [role=tab]': {\n display: 'inline-block',\n border: '1px solid transparent',\n 'border-bottom': 'none',\n bottom: '-1px',\n position: 'relative',\n 'list-style': 'none',\n padding: '6px 12px',\n cursor: 'pointer'\n },\n\n '.react-tabs [role=tab][aria-selected=true]': {\n background: '#fff',\n 'border-color': '#aaa',\n color: 'black',\n 'border-radius': '5px 5px 0 0',\n '-moz-border-radius': '5px 5px 0 0',\n '-webkit-border-radius': '5px 5px 0 0'\n },\n\n '.react-tabs [role=tab][aria-disabled=true]': {\n color: 'GrayText',\n cursor: 'default'\n },\n\n '.react-tabs [role=tab]:focus': {\n 'box-shadow': '0 0 5px hsl(208, 99%, 50%)',\n 'border-color': 'hsl(208, 99%, 50%)',\n outline: 'none'\n },\n\n '.react-tabs [role=tab]:focus:after': {\n content: '\"\"',\n position: 'absolute',\n height: '5px',\n left: '-4px',\n right: '-4px',\n bottom: '-5px',\n background: '#fff'\n }\n};\n\n\n/** WEBPACK FOOTER **\n ** ./lib/helpers/styles.js\n **/","'use strict';\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nmodule.exports = _react2.default.createClass({\n displayName: 'TabPanel',\n\n propTypes: {\n children: _react.PropTypes.oneOfType([_react.PropTypes.array, _react.PropTypes.object, _react.PropTypes.string]),\n className: _react.PropTypes.string,\n id: _react.PropTypes.string,\n selected: _react.PropTypes.bool,\n style: _react.PropTypes.object,\n tabId: _react.PropTypes.string\n },\n\n contextTypes: {\n forceRenderTabPanel: _react.PropTypes.bool\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n selected: false,\n id: null,\n tabId: null\n };\n },\n render: function render() {\n var _props = this.props;\n var className = _props.className;\n var children = _props.children;\n var selected = _props.selected;\n var id = _props.id;\n var tabId = _props.tabId;\n var style = _props.style;\n\n var attributes = _objectWithoutProperties(_props, ['className', 'children', 'selected', 'id', 'tabId', 'style']);\n\n return _react2.default.createElement(\n 'div',\n _extends({}, attributes, {\n className: (0, _classnames2.default)('ReactTabs__TabPanel', className, {\n 'ReactTabs__TabPanel--selected': selected\n }),\n role: 'tabpanel',\n id: id,\n 'aria-labelledby': tabId,\n style: _extends({}, style, { display: selected ? null : 'none' })\n }),\n this.context.forceRenderTabPanel || selected ? children : null\n );\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./lib/components/TabPanel.js\n **/"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/react-tabs.min.js b/dist/react-tabs.min.js index 867fa49af1..ef73daca6b 100644 --- a/dist/react-tabs.min.js +++ b/dist/react-tabs.min.js @@ -1,7 +1,7 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports.ReactTabs=t(require("React"),require("ReactDOM")):e.ReactTabs=t(e.React,e.ReactDOM)}(this,function(e,t){return function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.TabPanel=t.Tab=t.TabList=t.Tabs=void 0;var a=r(1),s=n(a),o=r(9),i=n(o),l=r(8),c=n(l),d=r(11),u=n(d);t.Tabs=s["default"],t.TabList=i["default"],t.Tab=c["default"],t.TabPanel=u["default"],t["default"]={Tabs:s["default"],TabList:i["default"],Tab:c["default"],TabPanel:u["default"]}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function s(e){return"LI"===e.nodeName&&"tab"===e.getAttribute("role")}function o(e){return"true"===e.getAttribute("aria-disabled")}var i=Object.assign||function(e){for(var t=1;t=this.getTabsCount())){var r=this.state.selectedIndex;this.setState({selectedIndex:e,focus:t===!0}),"function"==typeof this.props.onSelect&&this.props.onSelect(e,r)}},getNextTab:function(e){for(var t=this.getTabsCount(),r=e+1;re;){var n=this.getTab(t);if(!o((0,d.findDOMNode)(n)))return t}return e},getTabsCount:function(){return this.props.children&&this.props.children[0]?c["default"].Children.count(this.props.children[0].props.children):0},getPanelsCount:function(){return c["default"].Children.count(this.props.children.slice(1))},getTabList:function(){return this.refs.tablist},getTab:function(e){return this.refs["tabs-"+e]},getPanel:function(e){return this.refs["panels-"+e]},getChildren:function(){for(var e=0,t=0,r=this.props.children,n=this.state,a=this.tabIds=this.tabIds||[],s=this.panelIds=this.panelIds||[],o=this.tabIds.length-this.getTabsCount();o++<0;)a.push((0,T["default"])()),s.push((0,T["default"])());return c["default"].Children.map(r,function(r){if(null===r)return null;var o=null;if(0===t++)o=(0,l.cloneElement)(r,{ref:"tablist",children:c["default"].Children.map(r.props.children,function(t){if(null===t)return null;var r="tabs-"+e,o=a[e],i=s[e],c=n.selectedIndex===e,d=c&&n.focus;return e++,(0,l.cloneElement)(t,{ref:r,id:o,panelId:i,selected:c,focus:d})})}),e=0;else{var i="panels-"+e,d=s[e],u=a[e],p=n.selectedIndex===e;e++,o=(0,l.cloneElement)(r,{ref:i,id:d,tabId:u,selected:p})}return o})},handleKeyDown:function(e){if(this.isTabFromContainer(e.target)){var t=this.state.selectedIndex,r=!1;37===e.keyCode||38===e.keyCode?(t=this.getPrevTab(t),r=!0):39!==e.keyCode&&40!==e.keyCode||(t=this.getNextTab(t),r=!0),r&&e.preventDefault(),this.setSelected(t,!0)}},handleClick:function(e){var t=e.target;do if(this.isTabFromContainer(t)){if(o(t))return;var r=[].slice.call(t.parentNode.children).indexOf(t);return void this.setSelected(r)}while(null!==(t=t.parentNode))},copyPropsToState:function(e){var t=e.selectedIndex;return t===-1&&(t=this.state&&this.state.selectedIndex?this.state.selectedIndex:0),{selectedIndex:t,focus:e.focus}},isTabFromContainer:function(e){if(!s(e))return!1;var t=e.parentElement,r=(0,d.findDOMNode)(this);do{if(t===r)return!0;if(t.getAttribute("data-tabs"))break;t=t.parentElement}while(t);return!1},render:function(){var e=this;this.state.focus&&setTimeout(function(){e.state.focus=!1},0);var t=this.props,r=t.className,n=a(t,["className"]);return delete n.selectedIndex,delete n.onSelect,delete n.focus,delete n.children,delete n.forceRenderTabPanel,delete n.onClick,delete n.onKeyDown,c["default"].createElement("div",i({},n,{className:(0,p["default"])("ReactTabs","react-tabs",r),onClick:this.handleClick,onKeyDown:this.handleKeyDown,"data-tabs":!0}),this.getChildren())}})},function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t,r){var n,a;/*! +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports.ReactTabs=t(require("React"),require("ReactDOM")):e.ReactTabs=t(e.React,e.ReactDOM)}(this,function(e,t){return function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(1);Object.defineProperty(t,"Tabs",{enumerable:!0,get:function(){return n(a)["default"]}});var o=r(9);Object.defineProperty(t,"TabList",{enumerable:!0,get:function(){return n(o)["default"]}});var s=r(8);Object.defineProperty(t,"Tab",{enumerable:!0,get:function(){return n(s)["default"]}});var i=r(11);Object.defineProperty(t,"TabPanel",{enumerable:!0,get:function(){return n(i)["default"]}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function o(e){return"LI"===e.nodeName&&"tab"===e.getAttribute("role")}function s(e){return"true"===e.getAttribute("aria-disabled")}var i=Object.assign||function(e){for(var t=1;te||e>=this.getTabsCount())){var r=this.state.selectedIndex;this.setState({selectedIndex:e,focus:t===!0}),"function"==typeof this.props.onSelect&&this.props.onSelect(e,r)}},getNextTab:function(e){for(var t=this.getTabsCount(),r=e+1;t>r;r++){var n=this.getTab(r);if(!s((0,u.findDOMNode)(n)))return r}for(var a=0;e>a;a++){var o=this.getTab(a);if(!s((0,u.findDOMNode)(o)))return a}return e},getPrevTab:function(e){for(var t=e;t--;){var r=this.getTab(t);if(!s((0,u.findDOMNode)(r)))return t}for(t=this.getTabsCount();t-- >e;){var n=this.getTab(t);if(!s((0,u.findDOMNode)(n)))return t}return e},getTabsCount:function(){return this.props.children&&this.props.children[0]?c["default"].Children.count(this.props.children[0].props.children):0},getPanelsCount:function(){return c["default"].Children.count(this.props.children.slice(1))},getTabList:function(){return this.refs.tablist},getTab:function(e){return this.refs["tabs-"+e]},getPanel:function(e){return this.refs["panels-"+e]},getChildren:function(){for(var e=0,t=0,r=this.props.children,n=this.state,a=this.tabIds=this.tabIds||[],o=this.panelIds=this.panelIds||[],s=this.tabIds.length-this.getTabsCount();s++<0;)a.push((0,y["default"])()),o.push((0,y["default"])());return c["default"].Children.map(r,function(r){if(null===r)return null;var s=null;if(0===t++)s=(0,l.cloneElement)(r,{ref:"tablist",children:c["default"].Children.map(r.props.children,function(t){if(null===t)return null;var r="tabs-"+e,s=a[e],i=o[e],c=n.selectedIndex===e,u=c&&n.focus;return e++,(0,l.cloneElement)(t,{ref:r,id:s,panelId:i,selected:c,focus:u})})}),e=0;else{var i="panels-"+e,u=o[e],d=a[e],p=n.selectedIndex===e;e++,s=(0,l.cloneElement)(r,{ref:i,id:u,tabId:d,selected:p})}return s})},handleKeyDown:function(e){if(this.isTabFromContainer(e.target)){var t=this.state.selectedIndex,r=!1;37===e.keyCode||38===e.keyCode?(t=this.getPrevTab(t),r=!0):39!==e.keyCode&&40!==e.keyCode||(t=this.getNextTab(t),r=!0),r&&e.preventDefault(),this.setSelected(t,!0)}},handleClick:function(e){var t=e.target;do if(this.isTabFromContainer(t)){if(s(t))return;var r=[].slice.call(t.parentNode.children).indexOf(t);return void this.setSelected(r)}while(null!==(t=t.parentNode))},copyPropsToState:function(e){var t=e.selectedIndex;return-1===t&&(t=this.state&&this.state.selectedIndex?this.state.selectedIndex:0),{selectedIndex:t,focus:e.focus}},isTabFromContainer:function(e){if(!o(e))return!1;var t=e.parentElement,r=(0,u.findDOMNode)(this);do{if(t===r)return!0;if(t.getAttribute("data-tabs"))break;t=t.parentElement}while(t);return!1},render:function(){var e=this;this.state.focus&&setTimeout(function(){e.state.focus=!1},0);var t=this.props,r=t.className,n=a(t,["className"]);return delete n.selectedIndex,delete n.onSelect,delete n.focus,delete n.children,delete n.forceRenderTabPanel,delete n.onClick,delete n.onKeyDown,c["default"].createElement("div",i({},n,{className:(0,p["default"])("ReactTabs","react-tabs",r),onClick:this.handleClick,onKeyDown:this.handleKeyDown,"data-tabs":!0}),this.getChildren())}})},function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t,r){var n,a;/*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ -!function(){"use strict";function r(){for(var e=[],t=0;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function o(e,t){t.selected?(e.setAttribute("tabindex","0"),e.setAttribute("selected","selected"),t.focus&&e.focus()):(e.removeAttribute("tabindex"),e.removeAttribute("selected"))}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var o=Object.assign||function(e){for(var t=1;t= 0) continue;if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;target[i] = obj[i];\n\t }return target;\n\t}\n\t\n\t// Determine if a node from event.target is a Tab element\n\tfunction isTabNode(node) {\n\t return node.nodeName === 'LI' && node.getAttribute('role') === 'tab';\n\t}\n\t\n\t// Determine if a tab node is disabled\n\tfunction isTabDisabled(node) {\n\t return node.getAttribute('aria-disabled') === 'true';\n\t}\n\t\n\tvar useDefaultStyles = true;\n\t\n\tmodule.exports = _react2.default.createClass({\n\t displayName: 'Tabs',\n\t\n\t propTypes: {\n\t className: _react.PropTypes.string,\n\t selectedIndex: _react.PropTypes.number,\n\t onSelect: _react.PropTypes.func,\n\t focus: _react.PropTypes.bool,\n\t children: _childrenPropType2.default,\n\t forceRenderTabPanel: _react.PropTypes.bool\n\t },\n\t\n\t childContextTypes: {\n\t forceRenderTabPanel: _react.PropTypes.bool\n\t },\n\t\n\t statics: {\n\t setUseDefaultStyles: function setUseDefaultStyles(use) {\n\t useDefaultStyles = use;\n\t }\n\t },\n\t\n\t getDefaultProps: function getDefaultProps() {\n\t return {\n\t selectedIndex: -1,\n\t focus: false,\n\t forceRenderTabPanel: false\n\t };\n\t },\n\t getInitialState: function getInitialState() {\n\t return this.copyPropsToState(this.props);\n\t },\n\t getChildContext: function getChildContext() {\n\t return {\n\t forceRenderTabPanel: this.props.forceRenderTabPanel\n\t };\n\t },\n\t componentDidMount: function componentDidMount() {\n\t if (useDefaultStyles) {\n\t (0, _jsStylesheet2.default)(__webpack_require__(10)); // eslint-disable-line global-require\n\t }\n\t },\n\t componentWillReceiveProps: function componentWillReceiveProps(newProps) {\n\t this.setState(this.copyPropsToState(newProps));\n\t },\n\t setSelected: function setSelected(index, focus) {\n\t // Don't do anything if nothing has changed\n\t if (index === this.state.selectedIndex) return;\n\t // Check index boundary\n\t if (index < 0 || index >= this.getTabsCount()) return;\n\t\n\t // Keep reference to last index for event handler\n\t var last = this.state.selectedIndex;\n\t\n\t // Update selected index\n\t this.setState({ selectedIndex: index, focus: focus === true });\n\t\n\t // Call change event handler\n\t if (typeof this.props.onSelect === 'function') {\n\t this.props.onSelect(index, last);\n\t }\n\t },\n\t getNextTab: function getNextTab(index) {\n\t var count = this.getTabsCount();\n\t\n\t // Look for non-disabled tab from index to the last tab on the right\n\t for (var i = index + 1; i < count; i++) {\n\t var tab = this.getTab(i);\n\t if (!isTabDisabled((0, _reactDom.findDOMNode)(tab))) {\n\t return i;\n\t }\n\t }\n\t\n\t // If no tab found, continue searching from first on left to index\n\t for (var _i = 0; _i < index; _i++) {\n\t var _tab = this.getTab(_i);\n\t if (!isTabDisabled((0, _reactDom.findDOMNode)(_tab))) {\n\t return _i;\n\t }\n\t }\n\t\n\t // No tabs are disabled, return index\n\t return index;\n\t },\n\t getPrevTab: function getPrevTab(index) {\n\t var i = index;\n\t\n\t // Look for non-disabled tab from index to first tab on the left\n\t while (i--) {\n\t var tab = this.getTab(i);\n\t if (!isTabDisabled((0, _reactDom.findDOMNode)(tab))) {\n\t return i;\n\t }\n\t }\n\t\n\t // If no tab found, continue searching from last tab on right to index\n\t i = this.getTabsCount();\n\t while (i-- > index) {\n\t var _tab2 = this.getTab(i);\n\t if (!isTabDisabled((0, _reactDom.findDOMNode)(_tab2))) {\n\t return i;\n\t }\n\t }\n\t\n\t // No tabs are disabled, return index\n\t return index;\n\t },\n\t getTabsCount: function getTabsCount() {\n\t return this.props.children && this.props.children[0] ? _react2.default.Children.count(this.props.children[0].props.children) : 0;\n\t },\n\t getPanelsCount: function getPanelsCount() {\n\t return _react2.default.Children.count(this.props.children.slice(1));\n\t },\n\t getTabList: function getTabList() {\n\t return this.refs.tablist;\n\t },\n\t getTab: function getTab(index) {\n\t return this.refs['tabs-' + index];\n\t },\n\t getPanel: function getPanel(index) {\n\t return this.refs['panels-' + index];\n\t },\n\t getChildren: function getChildren() {\n\t var index = 0;\n\t var count = 0;\n\t var children = this.props.children;\n\t var state = this.state;\n\t var tabIds = this.tabIds = this.tabIds || [];\n\t var panelIds = this.panelIds = this.panelIds || [];\n\t var diff = this.tabIds.length - this.getTabsCount();\n\t\n\t // Add ids if new tabs have been added\n\t // Don't bother removing ids, just keep them in case they are added again\n\t // This is more efficient, and keeps the uuid counter under control\n\t while (diff++ < 0) {\n\t tabIds.push((0, _uuid2.default)());\n\t panelIds.push((0, _uuid2.default)());\n\t }\n\t\n\t // Map children to dynamically setup refs\n\t return _react2.default.Children.map(children, function (child) {\n\t // null happens when conditionally rendering TabPanel/Tab\n\t // see https://github.com/rackt/react-tabs/issues/37\n\t if (child === null) {\n\t return null;\n\t }\n\t\n\t var result = null;\n\t\n\t // Clone TabList and Tab components to have refs\n\t if (count++ === 0) {\n\t // TODO try setting the uuid in the \"constructor\" for `Tab`/`TabPanel`\n\t result = (0, _react.cloneElement)(child, {\n\t ref: 'tablist',\n\t children: _react2.default.Children.map(child.props.children, function (tab) {\n\t // null happens when conditionally rendering TabPanel/Tab\n\t // see https://github.com/rackt/react-tabs/issues/37\n\t if (tab === null) {\n\t return null;\n\t }\n\t\n\t var ref = 'tabs-' + index;\n\t var id = tabIds[index];\n\t var panelId = panelIds[index];\n\t var selected = state.selectedIndex === index;\n\t var focus = selected && state.focus;\n\t\n\t index++;\n\t\n\t return (0, _react.cloneElement)(tab, {\n\t ref: ref,\n\t id: id,\n\t panelId: panelId,\n\t selected: selected,\n\t focus: focus\n\t });\n\t })\n\t });\n\t\n\t // Reset index for panels\n\t index = 0;\n\t }\n\t // Clone TabPanel components to have refs\n\t else {\n\t var ref = 'panels-' + index;\n\t var id = panelIds[index];\n\t var tabId = tabIds[index];\n\t var selected = state.selectedIndex === index;\n\t\n\t index++;\n\t\n\t result = (0, _react.cloneElement)(child, {\n\t ref: ref,\n\t id: id,\n\t tabId: tabId,\n\t selected: selected\n\t });\n\t }\n\t\n\t return result;\n\t });\n\t },\n\t handleKeyDown: function handleKeyDown(e) {\n\t if (this.isTabFromContainer(e.target)) {\n\t var index = this.state.selectedIndex;\n\t var preventDefault = false;\n\t\n\t // Select next tab to the left\n\t if (e.keyCode === 37 || e.keyCode === 38) {\n\t index = this.getPrevTab(index);\n\t preventDefault = true;\n\t }\n\t // Select next tab to the right\n\t /* eslint brace-style:0 */\n\t else if (e.keyCode === 39 || e.keyCode === 40) {\n\t index = this.getNextTab(index);\n\t preventDefault = true;\n\t }\n\t\n\t // This prevents scrollbars from moving around\n\t if (preventDefault) {\n\t e.preventDefault();\n\t }\n\t\n\t this.setSelected(index, true);\n\t }\n\t },\n\t handleClick: function handleClick(e) {\n\t var node = e.target;\n\t do {\n\t // eslint-disable-line no-cond-assign\n\t if (this.isTabFromContainer(node)) {\n\t if (isTabDisabled(node)) {\n\t return;\n\t }\n\t\n\t var index = [].slice.call(node.parentNode.children).indexOf(node);\n\t this.setSelected(index);\n\t return;\n\t }\n\t } while ((node = node.parentNode) !== null);\n\t },\n\t\n\t // This is an anti-pattern, so sue me\n\t copyPropsToState: function copyPropsToState(props) {\n\t var selectedIndex = props.selectedIndex;\n\t\n\t // If no selectedIndex prop was supplied, then try\n\t // preserving the existing selectedIndex from state.\n\t // If the state has not selectedIndex, default\n\t // to the first tab in the TabList.\n\t //\n\t // TODO: Need automation testing around this\n\t // Manual testing can be done using examples/focus\n\t // See 'should preserve selectedIndex when typing' in specs/Tabs.spec.js\n\t if (selectedIndex === -1) {\n\t if (this.state && this.state.selectedIndex) {\n\t selectedIndex = this.state.selectedIndex;\n\t } else {\n\t selectedIndex = 0;\n\t }\n\t }\n\t\n\t return {\n\t selectedIndex: selectedIndex,\n\t focus: props.focus\n\t };\n\t },\n\t\n\t /**\n\t * Determine if a node from event.target is a Tab element for the current Tabs container.\n\t * If the clicked element is not a Tab, it returns false.\n\t * If it finds another Tabs container between the Tab and `this`, it returns false.\n\t */\n\t isTabFromContainer: function isTabFromContainer(node) {\n\t // return immediately if the clicked element is not a Tab.\n\t if (!isTabNode(node)) {\n\t return false;\n\t }\n\t\n\t // Check if the first occurrence of a Tabs container is `this` one.\n\t var nodeAncestor = node.parentElement;\n\t var tabsNode = (0, _reactDom.findDOMNode)(this);\n\t do {\n\t if (nodeAncestor === tabsNode) return true;else if (nodeAncestor.getAttribute('data-tabs')) break;\n\t\n\t nodeAncestor = nodeAncestor.parentElement;\n\t } while (nodeAncestor);\n\t\n\t return false;\n\t },\n\t render: function render() {\n\t var _this = this;\n\t\n\t // This fixes an issue with focus management.\n\t //\n\t // Ultimately, when focus is true, and an input has focus,\n\t // and any change on that input causes a state change/re-render,\n\t // focus gets sent back to the active tab, and input loses focus.\n\t //\n\t // Since the focus state only needs to be remembered\n\t // for the current render, we can reset it once the\n\t // render has happened.\n\t //\n\t // Don't use setState, because we don't want to re-render.\n\t //\n\t // See https://github.com/rackt/react-tabs/pull/7\n\t if (this.state.focus) {\n\t setTimeout(function () {\n\t _this.state.focus = false;\n\t }, 0);\n\t }\n\t\n\t var _props = this.props;\n\t var className = _props.className;\n\t\n\t var attributes = _objectWithoutProperties(_props, ['className']);\n\t\n\t // Delete all known props, so they don't get added to DOM\n\t\n\t delete attributes.selectedIndex;\n\t delete attributes.onSelect;\n\t delete attributes.focus;\n\t delete attributes.children;\n\t delete attributes.forceRenderTabPanel;\n\t delete attributes.onClick;\n\t delete attributes.onKeyDown;\n\t\n\t return _react2.default.createElement('div', _extends({}, attributes, {\n\t className: (0, _classnames2.default)('ReactTabs', 'react-tabs', className),\n\t onClick: this.handleClick,\n\t onKeyDown: this.handleKeyDown,\n\t 'data-tabs': true\n\t }), this.getChildren());\n\t }\n\t});\n\n/***/ },\n/* 2 */\n/***/ function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_2__;\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!\n\t Copyright (c) 2016 Jed Watson.\n\t Licensed under the MIT License (MIT), see\n\t http://jedwatson.github.io/classnames\n\t*/\n\t/* global define */\n\t\n\t(function () {\n\t\t'use strict';\n\t\n\t\tvar hasOwn = {}.hasOwnProperty;\n\t\n\t\tfunction classNames () {\n\t\t\tvar classes = [];\n\t\n\t\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\t\tvar arg = arguments[i];\n\t\t\t\tif (!arg) continue;\n\t\n\t\t\t\tvar argType = typeof arg;\n\t\n\t\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\t\tclasses.push(arg);\n\t\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t\t} else if (argType === 'object') {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\treturn classes.join(' ');\n\t\t}\n\t\n\t\tif (typeof module !== 'undefined' && module.exports) {\n\t\t\tmodule.exports = classNames;\n\t\t} else if (true) {\n\t\t\t// register as 'classnames', consistent with npm package name\n\t\t\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t\t\t\treturn classNames;\n\t\t\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t\t} else {\n\t\t\twindow.classNames = classNames;\n\t\t}\n\t}());\n\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t!(function() {\n\t function jss(blocks) {\n\t var css = [];\n\t for (var block in blocks)\n\t css.push(createStyleBlock(block, blocks[block]));\n\t injectCSS(css);\n\t }\n\t\n\t function createStyleBlock(selector, rules) {\n\t return selector + ' {\\n' + parseRules(rules) + '\\n}';\n\t }\n\t\n\t function parseRules(rules) {\n\t var css = [];\n\t for (var rule in rules)\n\t css.push(' '+rule+': '+rules[rule]+';');\n\t return css.join('\\n');\n\t }\n\t\n\t function injectCSS(css) {\n\t var style = document.getElementById('jss-styles');\n\t if (!style) {\n\t style = document.createElement('style');\n\t style.setAttribute('id', 'jss-styles');\n\t var head = document.getElementsByTagName('head')[0];\n\t head.insertBefore(style, head.firstChild);\n\t }\n\t var node = document.createTextNode(css.join('\\n\\n'));\n\t style.appendChild(node);\n\t }\n\t\n\t if (true)\n\t module.exports = jss;\n\t else\n\t window.jss = jss;\n\t\n\t})();\n\t\n\n\n/***/ },\n/* 6 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\t// Get a universally unique identifier\n\t\n\tvar count = 0;\n\tmodule.exports = function uuid() {\n\t return \"react-tabs-\" + count++;\n\t};\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _Tab = __webpack_require__(8);\n\t\n\tvar _Tab2 = _interopRequireDefault(_Tab);\n\t\n\tvar _TabList = __webpack_require__(9);\n\t\n\tvar _TabList2 = _interopRequireDefault(_TabList);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tmodule.exports = function childrenPropTypes(props, propName) {\n\t var error = void 0;\n\t var tabsCount = 0;\n\t var panelsCount = 0;\n\t var children = props[propName];\n\t\n\t _react2.default.Children.forEach(children, function (child) {\n\t // null happens when conditionally rendering TabPanel/Tab\n\t // see https://github.com/rackt/react-tabs/issues/37\n\t if (child === null) {\n\t return;\n\t }\n\t\n\t if (child.type === _TabList2.default) {\n\t _react2.default.Children.forEach(child.props.children, function (c) {\n\t // null happens when conditionally rendering TabPanel/Tab\n\t // see https://github.com/rackt/react-tabs/issues/37\n\t if (c === null) {\n\t return;\n\t }\n\t\n\t if (c.type === _Tab2.default) {\n\t tabsCount++;\n\t } else {\n\t error = new Error('Expected \\'Tab\\' but found \\'' + (c.type.displayName || c.type) + '\\'');\n\t }\n\t });\n\t } else if (child.type.displayName === 'TabPanel') {\n\t panelsCount++;\n\t } else {\n\t error = new Error('Expected \\'TabList\\' or \\'TabPanel\\' but found \\'' + (child.type.displayName || child.type) + '\\'');\n\t }\n\t });\n\t\n\t if (tabsCount !== panelsCount) {\n\t error = new Error(\"There should be an equal number of 'Tabs' and 'TabPanels'.\" + ('Received ' + tabsCount + ' \\'Tabs\\' and ' + panelsCount + ' \\'TabPanels\\'.'));\n\t }\n\t\n\t return error;\n\t};\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _extends = Object.assign || function (target) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t var source = arguments[i];for (var key in source) {\n\t if (Object.prototype.hasOwnProperty.call(source, key)) {\n\t target[key] = source[key];\n\t }\n\t }\n\t }return target;\n\t};\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactDom = __webpack_require__(3);\n\t\n\tvar _classnames = __webpack_require__(4);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _objectWithoutProperties(obj, keys) {\n\t var target = {};for (var i in obj) {\n\t if (keys.indexOf(i) >= 0) continue;if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;target[i] = obj[i];\n\t }return target;\n\t}\n\t\n\tmodule.exports = _react2.default.createClass({\n\t displayName: 'Tab',\n\t\n\t propTypes: {\n\t className: _react.PropTypes.string,\n\t id: _react.PropTypes.string,\n\t focus: _react.PropTypes.bool,\n\t selected: _react.PropTypes.bool,\n\t disabled: _react.PropTypes.bool,\n\t panelId: _react.PropTypes.string,\n\t children: _react.PropTypes.oneOfType([_react.PropTypes.array, _react.PropTypes.object, _react.PropTypes.string])\n\t },\n\t\n\t getDefaultProps: function getDefaultProps() {\n\t return {\n\t focus: false,\n\t selected: false,\n\t id: null,\n\t panelId: null\n\t };\n\t },\n\t componentDidMount: function componentDidMount() {\n\t this.checkFocus();\n\t },\n\t componentDidUpdate: function componentDidUpdate() {\n\t this.checkFocus();\n\t },\n\t checkFocus: function checkFocus() {\n\t if (this.props.selected && this.props.focus) {\n\t (0, _reactDom.findDOMNode)(this).focus();\n\t }\n\t },\n\t render: function render() {\n\t var _props = this.props;\n\t var selected = _props.selected;\n\t var disabled = _props.disabled;\n\t var panelId = _props.panelId;\n\t var className = _props.className;\n\t var children = _props.children;\n\t var id = _props.id;\n\t\n\t var attributes = _objectWithoutProperties(_props, ['selected', 'disabled', 'panelId', 'className', 'children', 'id']);\n\t\n\t return _react2.default.createElement('li', _extends({}, attributes, {\n\t className: (0, _classnames2.default)('ReactTabs__Tab', className, {\n\t 'ReactTabs__Tab--selected': selected,\n\t 'ReactTabs__Tab--disabled': disabled\n\t }),\n\t role: 'tab',\n\t id: id,\n\t 'aria-selected': selected ? 'true' : 'false',\n\t 'aria-expanded': selected ? 'true' : 'false',\n\t 'aria-disabled': disabled ? 'true' : 'false',\n\t 'aria-controls': panelId,\n\t tabIndex: selected ? '0' : null\n\t }), children);\n\t }\n\t});\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _extends = Object.assign || function (target) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t var source = arguments[i];for (var key in source) {\n\t if (Object.prototype.hasOwnProperty.call(source, key)) {\n\t target[key] = source[key];\n\t }\n\t }\n\t }return target;\n\t};\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _classnames = __webpack_require__(4);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _objectWithoutProperties(obj, keys) {\n\t var target = {};for (var i in obj) {\n\t if (keys.indexOf(i) >= 0) continue;if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;target[i] = obj[i];\n\t }return target;\n\t}\n\t\n\tmodule.exports = _react2.default.createClass({\n\t displayName: 'TabList',\n\t\n\t propTypes: {\n\t className: _react.PropTypes.string,\n\t children: _react.PropTypes.oneOfType([_react.PropTypes.object, _react.PropTypes.array])\n\t },\n\t\n\t render: function render() {\n\t var _props = this.props;\n\t var className = _props.className;\n\t var children = _props.children;\n\t\n\t var attributes = _objectWithoutProperties(_props, ['className', 'children']);\n\t\n\t return _react2.default.createElement('ul', _extends({}, attributes, {\n\t className: (0, _classnames2.default)('ReactTabs__TabList', className),\n\t role: 'tablist'\n\t }), children);\n\t }\n\t});\n\n/***/ },\n/* 10 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t '.react-tabs [role=tablist]': {\n\t 'border-bottom': '1px solid #aaa',\n\t margin: '0 0 10px',\n\t padding: '0'\n\t },\n\t\n\t '.react-tabs [role=tab]': {\n\t display: 'inline-block',\n\t border: '1px solid transparent',\n\t 'border-bottom': 'none',\n\t bottom: '-1px',\n\t position: 'relative',\n\t 'list-style': 'none',\n\t padding: '6px 12px',\n\t cursor: 'pointer'\n\t },\n\t\n\t '.react-tabs [role=tab][aria-selected=true]': {\n\t background: '#fff',\n\t 'border-color': '#aaa',\n\t color: 'black',\n\t 'border-radius': '5px 5px 0 0',\n\t '-moz-border-radius': '5px 5px 0 0',\n\t '-webkit-border-radius': '5px 5px 0 0'\n\t },\n\t\n\t '.react-tabs [role=tab][aria-disabled=true]': {\n\t color: 'GrayText',\n\t cursor: 'default'\n\t },\n\t\n\t '.react-tabs [role=tab]:focus': {\n\t 'box-shadow': '0 0 5px hsl(208, 99%, 50%)',\n\t 'border-color': 'hsl(208, 99%, 50%)',\n\t outline: 'none'\n\t },\n\t\n\t '.react-tabs [role=tab]:focus:after': {\n\t content: '\"\"',\n\t position: 'absolute',\n\t height: '5px',\n\t left: '-4px',\n\t right: '-4px',\n\t bottom: '-5px',\n\t background: '#fff'\n\t }\n\t};\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _extends = Object.assign || function (target) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t var source = arguments[i];for (var key in source) {\n\t if (Object.prototype.hasOwnProperty.call(source, key)) {\n\t target[key] = source[key];\n\t }\n\t }\n\t }return target;\n\t};\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _classnames = __webpack_require__(4);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _objectWithoutProperties(obj, keys) {\n\t var target = {};for (var i in obj) {\n\t if (keys.indexOf(i) >= 0) continue;if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;target[i] = obj[i];\n\t }return target;\n\t}\n\t\n\tmodule.exports = _react2.default.createClass({\n\t displayName: 'TabPanel',\n\t\n\t propTypes: {\n\t children: _react.PropTypes.oneOfType([_react.PropTypes.array, _react.PropTypes.object, _react.PropTypes.string]),\n\t className: _react.PropTypes.string,\n\t id: _react.PropTypes.string,\n\t selected: _react.PropTypes.bool,\n\t style: _react.PropTypes.object,\n\t tabId: _react.PropTypes.string\n\t },\n\t\n\t contextTypes: {\n\t forceRenderTabPanel: _react.PropTypes.bool\n\t },\n\t\n\t getDefaultProps: function getDefaultProps() {\n\t return {\n\t selected: false,\n\t id: null,\n\t tabId: null\n\t };\n\t },\n\t render: function render() {\n\t var _props = this.props;\n\t var className = _props.className;\n\t var children = _props.children;\n\t var selected = _props.selected;\n\t var id = _props.id;\n\t var tabId = _props.tabId;\n\t var style = _props.style;\n\t\n\t var attributes = _objectWithoutProperties(_props, ['className', 'children', 'selected', 'id', 'tabId', 'style']);\n\t\n\t return _react2.default.createElement('div', _extends({}, attributes, {\n\t className: (0, _classnames2.default)('ReactTabs__TabPanel', className, {\n\t 'ReactTabs__TabPanel--selected': selected\n\t }),\n\t role: 'tabpanel',\n\t id: id,\n\t 'aria-labelledby': tabId,\n\t style: _extends({}, style, { display: selected ? null : 'none' })\n\t }), this.context.forceRenderTabPanel || selected ? children : null);\n\t }\n\t});\n\n/***/ }\n/******/ ])\n});\n;\n\n\n/** WEBPACK FOOTER **\n ** ./dist/react-tabs.min.js\n **/"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap a85cb4961c752a8def97\n **/","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TabPanel = exports.Tab = exports.TabList = exports.Tabs = undefined;\n\nvar _Tabs = require('./components/Tabs');\n\nvar _Tabs2 = _interopRequireDefault(_Tabs);\n\nvar _TabList = require('./components/TabList');\n\nvar _TabList2 = _interopRequireDefault(_TabList);\n\nvar _Tab = require('./components/Tab');\n\nvar _Tab2 = _interopRequireDefault(_Tab);\n\nvar _TabPanel = require('./components/TabPanel');\n\nvar _TabPanel2 = _interopRequireDefault(_TabPanel);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.Tabs =\n\n// For bc we also export a default object, remove in 1.0\n_Tabs2.default;\nexports.TabList = _TabList2.default;\nexports.Tab = _Tab2.default;\nexports.TabPanel = _TabPanel2.default;\nexports.default = {\n Tabs: _Tabs2.default,\n TabList: _TabList2.default,\n Tab: _Tab2.default,\n TabPanel: _TabPanel2.default\n};\n\n\n/** WEBPACK FOOTER **\n ** ./lib/main.js\n **/","'use strict';\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = require('react-dom');\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _jsStylesheet = require('js-stylesheet');\n\nvar _jsStylesheet2 = _interopRequireDefault(_jsStylesheet);\n\nvar _uuid = require('../helpers/uuid');\n\nvar _uuid2 = _interopRequireDefault(_uuid);\n\nvar _childrenPropType = require('../helpers/childrenPropType');\n\nvar _childrenPropType2 = _interopRequireDefault(_childrenPropType);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\n// Determine if a node from event.target is a Tab element\nfunction isTabNode(node) {\n return node.nodeName === 'LI' && node.getAttribute('role') === 'tab';\n}\n\n// Determine if a tab node is disabled\nfunction isTabDisabled(node) {\n return node.getAttribute('aria-disabled') === 'true';\n}\n\nvar useDefaultStyles = true;\n\nmodule.exports = _react2.default.createClass({\n displayName: 'Tabs',\n\n propTypes: {\n className: _react.PropTypes.string,\n selectedIndex: _react.PropTypes.number,\n onSelect: _react.PropTypes.func,\n focus: _react.PropTypes.bool,\n children: _childrenPropType2.default,\n forceRenderTabPanel: _react.PropTypes.bool\n },\n\n childContextTypes: {\n forceRenderTabPanel: _react.PropTypes.bool\n },\n\n statics: {\n setUseDefaultStyles: function setUseDefaultStyles(use) {\n useDefaultStyles = use;\n }\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n selectedIndex: -1,\n focus: false,\n forceRenderTabPanel: false\n };\n },\n getInitialState: function getInitialState() {\n return this.copyPropsToState(this.props);\n },\n getChildContext: function getChildContext() {\n return {\n forceRenderTabPanel: this.props.forceRenderTabPanel\n };\n },\n componentDidMount: function componentDidMount() {\n if (useDefaultStyles) {\n (0, _jsStylesheet2.default)(require('../helpers/styles.js')); // eslint-disable-line global-require\n }\n },\n componentWillReceiveProps: function componentWillReceiveProps(newProps) {\n this.setState(this.copyPropsToState(newProps));\n },\n setSelected: function setSelected(index, focus) {\n // Don't do anything if nothing has changed\n if (index === this.state.selectedIndex) return;\n // Check index boundary\n if (index < 0 || index >= this.getTabsCount()) return;\n\n // Keep reference to last index for event handler\n var last = this.state.selectedIndex;\n\n // Update selected index\n this.setState({ selectedIndex: index, focus: focus === true });\n\n // Call change event handler\n if (typeof this.props.onSelect === 'function') {\n this.props.onSelect(index, last);\n }\n },\n getNextTab: function getNextTab(index) {\n var count = this.getTabsCount();\n\n // Look for non-disabled tab from index to the last tab on the right\n for (var i = index + 1; i < count; i++) {\n var tab = this.getTab(i);\n if (!isTabDisabled((0, _reactDom.findDOMNode)(tab))) {\n return i;\n }\n }\n\n // If no tab found, continue searching from first on left to index\n for (var _i = 0; _i < index; _i++) {\n var _tab = this.getTab(_i);\n if (!isTabDisabled((0, _reactDom.findDOMNode)(_tab))) {\n return _i;\n }\n }\n\n // No tabs are disabled, return index\n return index;\n },\n getPrevTab: function getPrevTab(index) {\n var i = index;\n\n // Look for non-disabled tab from index to first tab on the left\n while (i--) {\n var tab = this.getTab(i);\n if (!isTabDisabled((0, _reactDom.findDOMNode)(tab))) {\n return i;\n }\n }\n\n // If no tab found, continue searching from last tab on right to index\n i = this.getTabsCount();\n while (i-- > index) {\n var _tab2 = this.getTab(i);\n if (!isTabDisabled((0, _reactDom.findDOMNode)(_tab2))) {\n return i;\n }\n }\n\n // No tabs are disabled, return index\n return index;\n },\n getTabsCount: function getTabsCount() {\n return this.props.children && this.props.children[0] ? _react2.default.Children.count(this.props.children[0].props.children) : 0;\n },\n getPanelsCount: function getPanelsCount() {\n return _react2.default.Children.count(this.props.children.slice(1));\n },\n getTabList: function getTabList() {\n return this.refs.tablist;\n },\n getTab: function getTab(index) {\n return this.refs['tabs-' + index];\n },\n getPanel: function getPanel(index) {\n return this.refs['panels-' + index];\n },\n getChildren: function getChildren() {\n var index = 0;\n var count = 0;\n var children = this.props.children;\n var state = this.state;\n var tabIds = this.tabIds = this.tabIds || [];\n var panelIds = this.panelIds = this.panelIds || [];\n var diff = this.tabIds.length - this.getTabsCount();\n\n // Add ids if new tabs have been added\n // Don't bother removing ids, just keep them in case they are added again\n // This is more efficient, and keeps the uuid counter under control\n while (diff++ < 0) {\n tabIds.push((0, _uuid2.default)());\n panelIds.push((0, _uuid2.default)());\n }\n\n // Map children to dynamically setup refs\n return _react2.default.Children.map(children, function (child) {\n // null happens when conditionally rendering TabPanel/Tab\n // see https://github.com/rackt/react-tabs/issues/37\n if (child === null) {\n return null;\n }\n\n var result = null;\n\n // Clone TabList and Tab components to have refs\n if (count++ === 0) {\n // TODO try setting the uuid in the \"constructor\" for `Tab`/`TabPanel`\n result = (0, _react.cloneElement)(child, {\n ref: 'tablist',\n children: _react2.default.Children.map(child.props.children, function (tab) {\n // null happens when conditionally rendering TabPanel/Tab\n // see https://github.com/rackt/react-tabs/issues/37\n if (tab === null) {\n return null;\n }\n\n var ref = 'tabs-' + index;\n var id = tabIds[index];\n var panelId = panelIds[index];\n var selected = state.selectedIndex === index;\n var focus = selected && state.focus;\n\n index++;\n\n return (0, _react.cloneElement)(tab, {\n ref: ref,\n id: id,\n panelId: panelId,\n selected: selected,\n focus: focus\n });\n })\n });\n\n // Reset index for panels\n index = 0;\n }\n // Clone TabPanel components to have refs\n else {\n var ref = 'panels-' + index;\n var id = panelIds[index];\n var tabId = tabIds[index];\n var selected = state.selectedIndex === index;\n\n index++;\n\n result = (0, _react.cloneElement)(child, {\n ref: ref,\n id: id,\n tabId: tabId,\n selected: selected\n });\n }\n\n return result;\n });\n },\n handleKeyDown: function handleKeyDown(e) {\n if (this.isTabFromContainer(e.target)) {\n var index = this.state.selectedIndex;\n var preventDefault = false;\n\n // Select next tab to the left\n if (e.keyCode === 37 || e.keyCode === 38) {\n index = this.getPrevTab(index);\n preventDefault = true;\n }\n // Select next tab to the right\n /* eslint brace-style:0 */\n else if (e.keyCode === 39 || e.keyCode === 40) {\n index = this.getNextTab(index);\n preventDefault = true;\n }\n\n // This prevents scrollbars from moving around\n if (preventDefault) {\n e.preventDefault();\n }\n\n this.setSelected(index, true);\n }\n },\n handleClick: function handleClick(e) {\n var node = e.target;\n do {\n // eslint-disable-line no-cond-assign\n if (this.isTabFromContainer(node)) {\n if (isTabDisabled(node)) {\n return;\n }\n\n var index = [].slice.call(node.parentNode.children).indexOf(node);\n this.setSelected(index);\n return;\n }\n } while ((node = node.parentNode) !== null);\n },\n\n\n // This is an anti-pattern, so sue me\n copyPropsToState: function copyPropsToState(props) {\n var selectedIndex = props.selectedIndex;\n\n // If no selectedIndex prop was supplied, then try\n // preserving the existing selectedIndex from state.\n // If the state has not selectedIndex, default\n // to the first tab in the TabList.\n //\n // TODO: Need automation testing around this\n // Manual testing can be done using examples/focus\n // See 'should preserve selectedIndex when typing' in specs/Tabs.spec.js\n if (selectedIndex === -1) {\n if (this.state && this.state.selectedIndex) {\n selectedIndex = this.state.selectedIndex;\n } else {\n selectedIndex = 0;\n }\n }\n\n return {\n selectedIndex: selectedIndex,\n focus: props.focus\n };\n },\n\n\n /**\n * Determine if a node from event.target is a Tab element for the current Tabs container.\n * If the clicked element is not a Tab, it returns false.\n * If it finds another Tabs container between the Tab and `this`, it returns false.\n */\n isTabFromContainer: function isTabFromContainer(node) {\n // return immediately if the clicked element is not a Tab.\n if (!isTabNode(node)) {\n return false;\n }\n\n // Check if the first occurrence of a Tabs container is `this` one.\n var nodeAncestor = node.parentElement;\n var tabsNode = (0, _reactDom.findDOMNode)(this);\n do {\n if (nodeAncestor === tabsNode) return true;else if (nodeAncestor.getAttribute('data-tabs')) break;\n\n nodeAncestor = nodeAncestor.parentElement;\n } while (nodeAncestor);\n\n return false;\n },\n render: function render() {\n var _this = this;\n\n // This fixes an issue with focus management.\n //\n // Ultimately, when focus is true, and an input has focus,\n // and any change on that input causes a state change/re-render,\n // focus gets sent back to the active tab, and input loses focus.\n //\n // Since the focus state only needs to be remembered\n // for the current render, we can reset it once the\n // render has happened.\n //\n // Don't use setState, because we don't want to re-render.\n //\n // See https://github.com/rackt/react-tabs/pull/7\n if (this.state.focus) {\n setTimeout(function () {\n _this.state.focus = false;\n }, 0);\n }\n\n var _props = this.props;\n var className = _props.className;\n\n var attributes = _objectWithoutProperties(_props, ['className']);\n\n // Delete all known props, so they don't get added to DOM\n\n\n delete attributes.selectedIndex;\n delete attributes.onSelect;\n delete attributes.focus;\n delete attributes.children;\n delete attributes.forceRenderTabPanel;\n delete attributes.onClick;\n delete attributes.onKeyDown;\n\n return _react2.default.createElement(\n 'div',\n _extends({}, attributes, {\n className: (0, _classnames2.default)('ReactTabs', 'react-tabs', className),\n onClick: this.handleClick,\n onKeyDown: this.handleKeyDown,\n 'data-tabs': true\n }),\n this.getChildren()\n );\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./lib/components/Tabs.js\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_2__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"React\"\n ** module id = 2\n ** module chunks = 0\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"ReactDOM\"\n ** module id = 3\n ** module chunks = 0\n **/","/*!\n Copyright (c) 2016 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/classnames/index.js\n ** module id = 4\n ** module chunks = 0\n **/","!(function() {\n function jss(blocks) {\n var css = [];\n for (var block in blocks)\n css.push(createStyleBlock(block, blocks[block]));\n injectCSS(css);\n }\n\n function createStyleBlock(selector, rules) {\n return selector + ' {\\n' + parseRules(rules) + '\\n}';\n }\n\n function parseRules(rules) {\n var css = [];\n for (var rule in rules)\n css.push(' '+rule+': '+rules[rule]+';');\n return css.join('\\n');\n }\n\n function injectCSS(css) {\n var style = document.getElementById('jss-styles');\n if (!style) {\n style = document.createElement('style');\n style.setAttribute('id', 'jss-styles');\n var head = document.getElementsByTagName('head')[0];\n head.insertBefore(style, head.firstChild);\n }\n var node = document.createTextNode(css.join('\\n\\n'));\n style.appendChild(node);\n }\n\n if (typeof exports === 'object')\n module.exports = jss;\n else\n window.jss = jss;\n\n})();\n\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/js-stylesheet/jss.js\n ** module id = 5\n ** module chunks = 0\n **/","\"use strict\";\n\n// Get a universally unique identifier\nvar count = 0;\nmodule.exports = function uuid() {\n return \"react-tabs-\" + count++;\n};\n\n\n/** WEBPACK FOOTER **\n ** ./lib/helpers/uuid.js\n **/","'use strict';\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Tab = require('../components/Tab');\n\nvar _Tab2 = _interopRequireDefault(_Tab);\n\nvar _TabList = require('../components/TabList');\n\nvar _TabList2 = _interopRequireDefault(_TabList);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nmodule.exports = function childrenPropTypes(props, propName) {\n var error = void 0;\n var tabsCount = 0;\n var panelsCount = 0;\n var children = props[propName];\n\n _react2.default.Children.forEach(children, function (child) {\n // null happens when conditionally rendering TabPanel/Tab\n // see https://github.com/rackt/react-tabs/issues/37\n if (child === null) {\n return;\n }\n\n if (child.type === _TabList2.default) {\n _react2.default.Children.forEach(child.props.children, function (c) {\n // null happens when conditionally rendering TabPanel/Tab\n // see https://github.com/rackt/react-tabs/issues/37\n if (c === null) {\n return;\n }\n\n if (c.type === _Tab2.default) {\n tabsCount++;\n } else {\n error = new Error('Expected \\'Tab\\' but found \\'' + (c.type.displayName || c.type) + '\\'');\n }\n });\n } else if (child.type.displayName === 'TabPanel') {\n panelsCount++;\n } else {\n error = new Error('Expected \\'TabList\\' or \\'TabPanel\\' but found \\'' + (child.type.displayName || child.type) + '\\'');\n }\n });\n\n if (tabsCount !== panelsCount) {\n error = new Error(\"There should be an equal number of 'Tabs' and 'TabPanels'.\" + ('Received ' + tabsCount + ' \\'Tabs\\' and ' + panelsCount + ' \\'TabPanels\\'.'));\n }\n\n return error;\n};\n\n\n/** WEBPACK FOOTER **\n ** ./lib/helpers/childrenPropType.js\n **/","'use strict';\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = require('react-dom');\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nmodule.exports = _react2.default.createClass({\n displayName: 'Tab',\n\n propTypes: {\n className: _react.PropTypes.string,\n id: _react.PropTypes.string,\n focus: _react.PropTypes.bool,\n selected: _react.PropTypes.bool,\n disabled: _react.PropTypes.bool,\n panelId: _react.PropTypes.string,\n children: _react.PropTypes.oneOfType([_react.PropTypes.array, _react.PropTypes.object, _react.PropTypes.string])\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n focus: false,\n selected: false,\n id: null,\n panelId: null\n };\n },\n componentDidMount: function componentDidMount() {\n this.checkFocus();\n },\n componentDidUpdate: function componentDidUpdate() {\n this.checkFocus();\n },\n checkFocus: function checkFocus() {\n if (this.props.selected && this.props.focus) {\n (0, _reactDom.findDOMNode)(this).focus();\n }\n },\n render: function render() {\n var _props = this.props;\n var selected = _props.selected;\n var disabled = _props.disabled;\n var panelId = _props.panelId;\n var className = _props.className;\n var children = _props.children;\n var id = _props.id;\n\n var attributes = _objectWithoutProperties(_props, ['selected', 'disabled', 'panelId', 'className', 'children', 'id']);\n\n return _react2.default.createElement(\n 'li',\n _extends({}, attributes, {\n className: (0, _classnames2.default)('ReactTabs__Tab', className, {\n 'ReactTabs__Tab--selected': selected,\n 'ReactTabs__Tab--disabled': disabled\n }),\n role: 'tab',\n id: id,\n 'aria-selected': selected ? 'true' : 'false',\n 'aria-expanded': selected ? 'true' : 'false',\n 'aria-disabled': disabled ? 'true' : 'false',\n 'aria-controls': panelId,\n tabIndex: selected ? '0' : null\n }),\n children\n );\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./lib/components/Tab.js\n **/","'use strict';\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nmodule.exports = _react2.default.createClass({\n displayName: 'TabList',\n\n propTypes: {\n className: _react.PropTypes.string,\n children: _react.PropTypes.oneOfType([_react.PropTypes.object, _react.PropTypes.array])\n },\n\n render: function render() {\n var _props = this.props;\n var className = _props.className;\n var children = _props.children;\n\n var attributes = _objectWithoutProperties(_props, ['className', 'children']);\n\n return _react2.default.createElement(\n 'ul',\n _extends({}, attributes, {\n className: (0, _classnames2.default)('ReactTabs__TabList', className),\n role: 'tablist'\n }),\n children\n );\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./lib/components/TabList.js\n **/","'use strict';\n\nmodule.exports = {\n '.react-tabs [role=tablist]': {\n 'border-bottom': '1px solid #aaa',\n margin: '0 0 10px',\n padding: '0'\n },\n\n '.react-tabs [role=tab]': {\n display: 'inline-block',\n border: '1px solid transparent',\n 'border-bottom': 'none',\n bottom: '-1px',\n position: 'relative',\n 'list-style': 'none',\n padding: '6px 12px',\n cursor: 'pointer'\n },\n\n '.react-tabs [role=tab][aria-selected=true]': {\n background: '#fff',\n 'border-color': '#aaa',\n color: 'black',\n 'border-radius': '5px 5px 0 0',\n '-moz-border-radius': '5px 5px 0 0',\n '-webkit-border-radius': '5px 5px 0 0'\n },\n\n '.react-tabs [role=tab][aria-disabled=true]': {\n color: 'GrayText',\n cursor: 'default'\n },\n\n '.react-tabs [role=tab]:focus': {\n 'box-shadow': '0 0 5px hsl(208, 99%, 50%)',\n 'border-color': 'hsl(208, 99%, 50%)',\n outline: 'none'\n },\n\n '.react-tabs [role=tab]:focus:after': {\n content: '\"\"',\n position: 'absolute',\n height: '5px',\n left: '-4px',\n right: '-4px',\n bottom: '-5px',\n background: '#fff'\n }\n};\n\n\n/** WEBPACK FOOTER **\n ** ./lib/helpers/styles.js\n **/","'use strict';\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nmodule.exports = _react2.default.createClass({\n displayName: 'TabPanel',\n\n propTypes: {\n children: _react.PropTypes.oneOfType([_react.PropTypes.array, _react.PropTypes.object, _react.PropTypes.string]),\n className: _react.PropTypes.string,\n id: _react.PropTypes.string,\n selected: _react.PropTypes.bool,\n style: _react.PropTypes.object,\n tabId: _react.PropTypes.string\n },\n\n contextTypes: {\n forceRenderTabPanel: _react.PropTypes.bool\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n selected: false,\n id: null,\n tabId: null\n };\n },\n render: function render() {\n var _props = this.props;\n var className = _props.className;\n var children = _props.children;\n var selected = _props.selected;\n var id = _props.id;\n var tabId = _props.tabId;\n var style = _props.style;\n\n var attributes = _objectWithoutProperties(_props, ['className', 'children', 'selected', 'id', 'tabId', 'style']);\n\n return _react2.default.createElement(\n 'div',\n _extends({}, attributes, {\n className: (0, _classnames2.default)('ReactTabs__TabPanel', className, {\n 'ReactTabs__TabPanel--selected': selected\n }),\n role: 'tabpanel',\n id: id,\n 'aria-labelledby': tabId,\n style: _extends({}, style, { display: selected ? null : 'none' })\n }),\n this.context.forceRenderTabPanel || selected ? children : null\n );\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./lib/components/TabPanel.js\n **/"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///./dist/react-tabs.min.js","webpack:///webpack/bootstrap a5e4ef0c8ce17aa4d29b","webpack:///./lib/main.js","webpack:///./lib/components/Tabs.js","webpack:///external \"React\"","webpack:///external \"ReactDOM\"","webpack:///./~/classnames/index.js","webpack:///./~/js-stylesheet/jss.js","webpack:///./lib/helpers/uuid.js","webpack:///./lib/helpers/childrenPropType.js","webpack:///./lib/components/Tab.js","webpack:///./lib/components/TabList.js","webpack:///./lib/helpers/styles.js","webpack:///./lib/components/TabPanel.js"],"names":["root","factory","exports","module","require","define","amd","this","__WEBPACK_EXTERNAL_MODULE_2__","__WEBPACK_EXTERNAL_MODULE_3__","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","_interopRequireDefault","obj","__esModule","default","Object","defineProperty","value","_Tabs","enumerable","get","_TabList","_Tab","_TabPanel","_objectWithoutProperties","keys","target","i","indexOf","prototype","hasOwnProperty","isTabNode","node","nodeName","getAttribute","isTabDisabled","_extends","assign","arguments","length","source","key","_react","_react2","_reactDom","_classnames","_classnames2","_jsStylesheet","_jsStylesheet2","_uuid","_uuid2","_childrenPropType","_childrenPropType2","useDefaultStyles","createClass","displayName","propTypes","className","PropTypes","string","selectedIndex","number","onSelect","func","focus","bool","children","forceRenderTabPanel","childContextTypes","statics","setUseDefaultStyles","use","getDefaultProps","getInitialState","copyPropsToState","props","getChildContext","componentDidMount","componentWillReceiveProps","newProps","setState","setSelected","index","state","getTabsCount","last","getNextTab","count","tab","getTab","findDOMNode","_i","_tab","getPrevTab","_tab2","Children","getPanelsCount","slice","getTabList","refs","tablist","getPanel","getChildren","tabIds","panelIds","diff","push","map","child","result","cloneElement","ref","panelId","selected","tabId","handleKeyDown","e","isTabFromContainer","preventDefault","keyCode","handleClick","parentNode","nodeAncestor","parentElement","tabsNode","render","_this","setTimeout","_props","attributes","onClick","onKeyDown","createElement","data-tabs","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","classNames","classes","arg","argType","Array","isArray","apply","hasOwn","join","undefined","jss","blocks","css","block","createStyleBlock","injectCSS","selector","rules","parseRules","rule","style","document","getElementById","setAttribute","head","getElementsByTagName","insertBefore","firstChild","createTextNode","appendChild","_Tab2","_TabList2","propName","error","tabsCount","panelsCount","forEach","type","Error","syncNodeAttributes","removeAttribute","disabled","oneOfType","array","object","componentDidUpdate","ReactTabs__Tab--selected","ReactTabs__Tab--disabled","role","aria-selected","aria-expanded","aria-disabled","aria-controls",".react-tabs [role=tablist]","border-bottom","margin","padding",".react-tabs [role=tab]","display","border","bottom","position","list-style","cursor",".react-tabs [role=tab][aria-selected=true]","background","border-color","color","border-radius","-moz-border-radius","-webkit-border-radius",".react-tabs [role=tab][aria-disabled=true]",".react-tabs [role=tab]:focus","box-shadow","outline",".react-tabs [role=tab]:focus:after","content","height","left","right","contextTypes","ReactTabs__TabPanel--selected","aria-labelledby","context"],"mappings":"CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,EAAAG,QAAA,SAAAA,QAAA,aACA,kBAAAC,gBAAAC,IACAD,QAAA,oBAAAJ,GACA,gBAAAC,SACAA,QAAA,UAAAD,EAAAG,QAAA,SAAAA,QAAA,aAEAJ,EAAA,UAAAC,EAAAD,EAAA,MAAAA,EAAA,WACCO,KAAA,SAAAC,EAAAC,GACD,MCAgB,UAAUC,GCN1B,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAV,OAGA,IAAAC,GAAAU,EAAAD,IACAV,WACAY,GAAAF,EACAG,QAAA,EAUA,OANAL,GAAAE,GAAAI,KAAAb,EAAAD,QAAAC,IAAAD,QAAAS,GAGAR,EAAAY,QAAA,EAGAZ,EAAAD,QAvBA,GAAAW,KAqCA,OATAF,GAAAM,EAAAP,EAGAC,EAAAO,EAAAL,EAGAF,EAAAQ,EAAA,GAGAR,EAAA,KDgBM,SAASR,EAAQD,EAASS,GEtDhC,YA0CA,SAASS,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,UAASF,GAxCvFG,OAAOC,eAAevB,EAAS,cAC7BwB,OAAO,GAGT,IAAIC,GAAQhB,EAAQ,EAEpBa,QAAOC,eAAevB,EAAS,QAC7B0B,YAAY,EACZC,IAAK,WACH,MAAOT,GAAuBO,GAAvBP,aAIX,IA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uB+B,GAEjCG,EAAc3C,EAAQ,GAEtB4C,EAAenC,EAAuBkC,EAM1CnD,GAAOD,QAAUkD,aAAgBW,aAC/BC,YAAa,WAEbC,WACEU,SAAUxB,EAAOgB,UAAUwH,WAAWxI,EAAOgB,UAAUyH,MAAOzI,EAAOgB,UAAU0H,OAAQ1I,EAAOgB,UAAUC,SACxGF,UAAWf,EAAOgB,UAAUC,OAC5BtD,GAAIqC,EAAOgB,UAAUC,OACrBsD,SAAUvE,EAAOgB,UAAUO,KAC3B2F,MAAOlH,EAAOgB,UAAU0H,OACxBlE,MAAOxE,EAAOgB,UAAUC,QAG1B6J,cACErJ,oBAAqBzB,EAAOgB,UAAUO,MAGxCO,gBAAiB,WACf,OACEyC,UAAU,EACV5G,GAAI,KACJ6G,MAAO,OAGXW,OAAQ,WACN,GAAIG,GAASlI,KAAK6E,MACdlB,EAAYuE,EAAOvE,UACnBS,EAAW8D,EAAO9D,SAClB+C,EAAWe,EAAOf,SAClB5G,EAAK2H,EAAO3H,GACZ6G,EAAQc,EAAOd,MACf0C,EAAQ5B,EAAO4B,MAEf3B,EAAazG,EAAyBwG,GAAS,YAAa,WAAY,WAAY,KAAM,QAAS,SAEvG,OAAOrF,cAAgByF,cACrB,MACAhG,KAAa6F,GACXxE,WAAW,EAAIX,cAAsB,sBAAuBW,GAC1DgK,gCAAiCxG,IAEnCuE,KAAM,WACNnL,GAAIA,EACJqN,kBAAmBxG,EACnB0C,MAAOxH,KAAawH,GAASsC,QAASjF,EAAW,KAAO,WAE1DnH,KAAK6N,QAAQxJ,qBAAuB8C,EAAW/C,EAAW","file":"/Users/danieltschinder/Documents/Github/react-tabs/dist/react-tabs.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"React\"), require(\"ReactDOM\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"React\", \"ReactDOM\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ReactTabs\"] = factory(require(\"React\"), require(\"ReactDOM\"));\n\telse\n\t\troot[\"ReactTabs\"] = factory(root[\"React\"], root[\"ReactDOM\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_3__) {\nreturn \n\n\n/** WEBPACK FOOTER **\n ** webpack/universalModuleDefinition\n **/","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"React\"), require(\"ReactDOM\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"React\", \"ReactDOM\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ReactTabs\"] = factory(require(\"React\"), require(\"ReactDOM\"));\n\telse\n\t\troot[\"ReactTabs\"] = factory(root[\"React\"], root[\"ReactDOM\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_3__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _Tabs = __webpack_require__(1);\n\t\n\tObject.defineProperty(exports, 'Tabs', {\n\t enumerable: true,\n\t get: function get() {\n\t return _interopRequireDefault(_Tabs).default;\n\t }\n\t});\n\t\n\tvar _TabList = __webpack_require__(9);\n\t\n\tObject.defineProperty(exports, 'TabList', {\n\t enumerable: true,\n\t get: function get() {\n\t return _interopRequireDefault(_TabList).default;\n\t }\n\t});\n\t\n\tvar _Tab = __webpack_require__(8);\n\t\n\tObject.defineProperty(exports, 'Tab', {\n\t enumerable: true,\n\t get: function get() {\n\t return _interopRequireDefault(_Tab).default;\n\t }\n\t});\n\t\n\tvar _TabPanel = __webpack_require__(11);\n\t\n\tObject.defineProperty(exports, 'TabPanel', {\n\t enumerable: true,\n\t get: function get() {\n\t return _interopRequireDefault(_TabPanel).default;\n\t }\n\t});\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _extends = Object.assign || function (target) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t var source = arguments[i];for (var key in source) {\n\t if (Object.prototype.hasOwnProperty.call(source, key)) {\n\t target[key] = source[key];\n\t }\n\t }\n\t }return target;\n\t};\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactDom = __webpack_require__(3);\n\t\n\tvar _classnames = __webpack_require__(4);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _jsStylesheet = __webpack_require__(5);\n\t\n\tvar _jsStylesheet2 = _interopRequireDefault(_jsStylesheet);\n\t\n\tvar _uuid = __webpack_require__(6);\n\t\n\tvar _uuid2 = _interopRequireDefault(_uuid);\n\t\n\tvar _childrenPropType = __webpack_require__(7);\n\t\n\tvar _childrenPropType2 = _interopRequireDefault(_childrenPropType);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _objectWithoutProperties(obj, keys) {\n\t var target = {};for (var i in obj) {\n\t if (keys.indexOf(i) >= 0) continue;if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;target[i] = obj[i];\n\t }return target;\n\t}\n\t\n\t// Determine if a node from event.target is a Tab element\n\tfunction isTabNode(node) {\n\t return node.nodeName === 'LI' && node.getAttribute('role') === 'tab';\n\t}\n\t\n\t// Determine if a tab node is disabled\n\tfunction isTabDisabled(node) {\n\t return node.getAttribute('aria-disabled') === 'true';\n\t}\n\t\n\tvar useDefaultStyles = true;\n\t\n\tmodule.exports = _react2.default.createClass({\n\t displayName: 'Tabs',\n\t\n\t propTypes: {\n\t className: _react.PropTypes.string,\n\t selectedIndex: _react.PropTypes.number,\n\t onSelect: _react.PropTypes.func,\n\t focus: _react.PropTypes.bool,\n\t children: _childrenPropType2.default,\n\t forceRenderTabPanel: _react.PropTypes.bool\n\t },\n\t\n\t childContextTypes: {\n\t forceRenderTabPanel: _react.PropTypes.bool\n\t },\n\t\n\t statics: {\n\t setUseDefaultStyles: function setUseDefaultStyles(use) {\n\t useDefaultStyles = use;\n\t }\n\t },\n\t\n\t getDefaultProps: function getDefaultProps() {\n\t return {\n\t selectedIndex: -1,\n\t focus: false,\n\t forceRenderTabPanel: false\n\t };\n\t },\n\t getInitialState: function getInitialState() {\n\t return this.copyPropsToState(this.props);\n\t },\n\t getChildContext: function getChildContext() {\n\t return {\n\t forceRenderTabPanel: this.props.forceRenderTabPanel\n\t };\n\t },\n\t componentDidMount: function componentDidMount() {\n\t if (useDefaultStyles) {\n\t (0, _jsStylesheet2.default)(__webpack_require__(10)); // eslint-disable-line global-require\n\t }\n\t },\n\t componentWillReceiveProps: function componentWillReceiveProps(newProps) {\n\t this.setState(this.copyPropsToState(newProps));\n\t },\n\t setSelected: function setSelected(index, focus) {\n\t // Don't do anything if nothing has changed\n\t if (index === this.state.selectedIndex) return;\n\t // Check index boundary\n\t if (index < 0 || index >= this.getTabsCount()) return;\n\t\n\t // Keep reference to last index for event handler\n\t var last = this.state.selectedIndex;\n\t\n\t // Update selected index\n\t this.setState({ selectedIndex: index, focus: focus === true });\n\t\n\t // Call change event handler\n\t if (typeof this.props.onSelect === 'function') {\n\t this.props.onSelect(index, last);\n\t }\n\t },\n\t getNextTab: function getNextTab(index) {\n\t var count = this.getTabsCount();\n\t\n\t // Look for non-disabled tab from index to the last tab on the right\n\t for (var i = index + 1; i < count; i++) {\n\t var tab = this.getTab(i);\n\t if (!isTabDisabled((0, _reactDom.findDOMNode)(tab))) {\n\t return i;\n\t }\n\t }\n\t\n\t // If no tab found, continue searching from first on left to index\n\t for (var _i = 0; _i < index; _i++) {\n\t var _tab = this.getTab(_i);\n\t if (!isTabDisabled((0, _reactDom.findDOMNode)(_tab))) {\n\t return _i;\n\t }\n\t }\n\t\n\t // No tabs are disabled, return index\n\t return index;\n\t },\n\t getPrevTab: function getPrevTab(index) {\n\t var i = index;\n\t\n\t // Look for non-disabled tab from index to first tab on the left\n\t while (i--) {\n\t var tab = this.getTab(i);\n\t if (!isTabDisabled((0, _reactDom.findDOMNode)(tab))) {\n\t return i;\n\t }\n\t }\n\t\n\t // If no tab found, continue searching from last tab on right to index\n\t i = this.getTabsCount();\n\t while (i-- > index) {\n\t var _tab2 = this.getTab(i);\n\t if (!isTabDisabled((0, _reactDom.findDOMNode)(_tab2))) {\n\t return i;\n\t }\n\t }\n\t\n\t // No tabs are disabled, return index\n\t return index;\n\t },\n\t getTabsCount: function getTabsCount() {\n\t return this.props.children && this.props.children[0] ? _react2.default.Children.count(this.props.children[0].props.children) : 0;\n\t },\n\t getPanelsCount: function getPanelsCount() {\n\t return _react2.default.Children.count(this.props.children.slice(1));\n\t },\n\t getTabList: function getTabList() {\n\t return this.refs.tablist;\n\t },\n\t getTab: function getTab(index) {\n\t return this.refs['tabs-' + index];\n\t },\n\t getPanel: function getPanel(index) {\n\t return this.refs['panels-' + index];\n\t },\n\t getChildren: function getChildren() {\n\t var index = 0;\n\t var count = 0;\n\t var children = this.props.children;\n\t var state = this.state;\n\t var tabIds = this.tabIds = this.tabIds || [];\n\t var panelIds = this.panelIds = this.panelIds || [];\n\t var diff = this.tabIds.length - this.getTabsCount();\n\t\n\t // Add ids if new tabs have been added\n\t // Don't bother removing ids, just keep them in case they are added again\n\t // This is more efficient, and keeps the uuid counter under control\n\t while (diff++ < 0) {\n\t tabIds.push((0, _uuid2.default)());\n\t panelIds.push((0, _uuid2.default)());\n\t }\n\t\n\t // Map children to dynamically setup refs\n\t return _react2.default.Children.map(children, function (child) {\n\t // null happens when conditionally rendering TabPanel/Tab\n\t // see https://github.com/rackt/react-tabs/issues/37\n\t if (child === null) {\n\t return null;\n\t }\n\t\n\t var result = null;\n\t\n\t // Clone TabList and Tab components to have refs\n\t if (count++ === 0) {\n\t // TODO try setting the uuid in the \"constructor\" for `Tab`/`TabPanel`\n\t result = (0, _react.cloneElement)(child, {\n\t ref: 'tablist',\n\t children: _react2.default.Children.map(child.props.children, function (tab) {\n\t // null happens when conditionally rendering TabPanel/Tab\n\t // see https://github.com/rackt/react-tabs/issues/37\n\t if (tab === null) {\n\t return null;\n\t }\n\t\n\t var ref = 'tabs-' + index;\n\t var id = tabIds[index];\n\t var panelId = panelIds[index];\n\t var selected = state.selectedIndex === index;\n\t var focus = selected && state.focus;\n\t\n\t index++;\n\t\n\t return (0, _react.cloneElement)(tab, {\n\t ref: ref,\n\t id: id,\n\t panelId: panelId,\n\t selected: selected,\n\t focus: focus\n\t });\n\t })\n\t });\n\t\n\t // Reset index for panels\n\t index = 0;\n\t }\n\t // Clone TabPanel components to have refs\n\t else {\n\t var ref = 'panels-' + index;\n\t var id = panelIds[index];\n\t var tabId = tabIds[index];\n\t var selected = state.selectedIndex === index;\n\t\n\t index++;\n\t\n\t result = (0, _react.cloneElement)(child, {\n\t ref: ref,\n\t id: id,\n\t tabId: tabId,\n\t selected: selected\n\t });\n\t }\n\t\n\t return result;\n\t });\n\t },\n\t handleKeyDown: function handleKeyDown(e) {\n\t if (this.isTabFromContainer(e.target)) {\n\t var index = this.state.selectedIndex;\n\t var preventDefault = false;\n\t\n\t // Select next tab to the left\n\t if (e.keyCode === 37 || e.keyCode === 38) {\n\t index = this.getPrevTab(index);\n\t preventDefault = true;\n\t }\n\t // Select next tab to the right\n\t /* eslint brace-style:0 */\n\t else if (e.keyCode === 39 || e.keyCode === 40) {\n\t index = this.getNextTab(index);\n\t preventDefault = true;\n\t }\n\t\n\t // This prevents scrollbars from moving around\n\t if (preventDefault) {\n\t e.preventDefault();\n\t }\n\t\n\t this.setSelected(index, true);\n\t }\n\t },\n\t handleClick: function handleClick(e) {\n\t var node = e.target;\n\t do {\n\t // eslint-disable-line no-cond-assign\n\t if (this.isTabFromContainer(node)) {\n\t if (isTabDisabled(node)) {\n\t return;\n\t }\n\t\n\t var index = [].slice.call(node.parentNode.children).indexOf(node);\n\t this.setSelected(index);\n\t return;\n\t }\n\t } while ((node = node.parentNode) !== null);\n\t },\n\t\n\t // This is an anti-pattern, so sue me\n\t copyPropsToState: function copyPropsToState(props) {\n\t var selectedIndex = props.selectedIndex;\n\t\n\t // If no selectedIndex prop was supplied, then try\n\t // preserving the existing selectedIndex from state.\n\t // If the state has not selectedIndex, default\n\t // to the first tab in the TabList.\n\t //\n\t // TODO: Need automation testing around this\n\t // Manual testing can be done using examples/focus\n\t // See 'should preserve selectedIndex when typing' in specs/Tabs.spec.js\n\t if (selectedIndex === -1) {\n\t if (this.state && this.state.selectedIndex) {\n\t selectedIndex = this.state.selectedIndex;\n\t } else {\n\t selectedIndex = 0;\n\t }\n\t }\n\t\n\t return {\n\t selectedIndex: selectedIndex,\n\t focus: props.focus\n\t };\n\t },\n\t\n\t /**\n\t * Determine if a node from event.target is a Tab element for the current Tabs container.\n\t * If the clicked element is not a Tab, it returns false.\n\t * If it finds another Tabs container between the Tab and `this`, it returns false.\n\t */\n\t isTabFromContainer: function isTabFromContainer(node) {\n\t // return immediately if the clicked element is not a Tab.\n\t if (!isTabNode(node)) {\n\t return false;\n\t }\n\t\n\t // Check if the first occurrence of a Tabs container is `this` one.\n\t var nodeAncestor = node.parentElement;\n\t var tabsNode = (0, _reactDom.findDOMNode)(this);\n\t do {\n\t if (nodeAncestor === tabsNode) return true;else if (nodeAncestor.getAttribute('data-tabs')) break;\n\t\n\t nodeAncestor = nodeAncestor.parentElement;\n\t } while (nodeAncestor);\n\t\n\t return false;\n\t },\n\t render: function render() {\n\t var _this = this;\n\t\n\t // This fixes an issue with focus management.\n\t //\n\t // Ultimately, when focus is true, and an input has focus,\n\t // and any change on that input causes a state change/re-render,\n\t // focus gets sent back to the active tab, and input loses focus.\n\t //\n\t // Since the focus state only needs to be remembered\n\t // for the current render, we can reset it once the\n\t // render has happened.\n\t //\n\t // Don't use setState, because we don't want to re-render.\n\t //\n\t // See https://github.com/rackt/react-tabs/pull/7\n\t if (this.state.focus) {\n\t setTimeout(function () {\n\t _this.state.focus = false;\n\t }, 0);\n\t }\n\t\n\t var _props = this.props;\n\t var className = _props.className;\n\t\n\t var attributes = _objectWithoutProperties(_props, ['className']);\n\t\n\t // Delete all known props, so they don't get added to DOM\n\t\n\t delete attributes.selectedIndex;\n\t delete attributes.onSelect;\n\t delete attributes.focus;\n\t delete attributes.children;\n\t delete attributes.forceRenderTabPanel;\n\t delete attributes.onClick;\n\t delete attributes.onKeyDown;\n\t\n\t return _react2.default.createElement('div', _extends({}, attributes, {\n\t className: (0, _classnames2.default)('ReactTabs', 'react-tabs', className),\n\t onClick: this.handleClick,\n\t onKeyDown: this.handleKeyDown,\n\t 'data-tabs': true\n\t }), this.getChildren());\n\t }\n\t});\n\n/***/ },\n/* 2 */\n/***/ function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_2__;\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!\n\t Copyright (c) 2016 Jed Watson.\n\t Licensed under the MIT License (MIT), see\n\t http://jedwatson.github.io/classnames\n\t*/\n\t/* global define */\n\t\n\t(function () {\n\t\t'use strict';\n\t\n\t\tvar hasOwn = {}.hasOwnProperty;\n\t\n\t\tfunction classNames () {\n\t\t\tvar classes = [];\n\t\n\t\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\t\tvar arg = arguments[i];\n\t\t\t\tif (!arg) continue;\n\t\n\t\t\t\tvar argType = typeof arg;\n\t\n\t\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\t\tclasses.push(arg);\n\t\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t\t} else if (argType === 'object') {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\treturn classes.join(' ');\n\t\t}\n\t\n\t\tif (typeof module !== 'undefined' && module.exports) {\n\t\t\tmodule.exports = classNames;\n\t\t} else if (true) {\n\t\t\t// register as 'classnames', consistent with npm package name\n\t\t\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t\t\t\treturn classNames;\n\t\t\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t\t} else {\n\t\t\twindow.classNames = classNames;\n\t\t}\n\t}());\n\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t!(function() {\n\t function jss(blocks) {\n\t var css = [];\n\t for (var block in blocks)\n\t css.push(createStyleBlock(block, blocks[block]));\n\t injectCSS(css);\n\t }\n\t\n\t function createStyleBlock(selector, rules) {\n\t return selector + ' {\\n' + parseRules(rules) + '\\n}';\n\t }\n\t\n\t function parseRules(rules) {\n\t var css = [];\n\t for (var rule in rules)\n\t css.push(' '+rule+': '+rules[rule]+';');\n\t return css.join('\\n');\n\t }\n\t\n\t function injectCSS(css) {\n\t var style = document.getElementById('jss-styles');\n\t if (!style) {\n\t style = document.createElement('style');\n\t style.setAttribute('id', 'jss-styles');\n\t var head = document.getElementsByTagName('head')[0];\n\t head.insertBefore(style, head.firstChild);\n\t }\n\t var node = document.createTextNode(css.join('\\n\\n'));\n\t style.appendChild(node);\n\t }\n\t\n\t if (true)\n\t module.exports = jss;\n\t else\n\t window.jss = jss;\n\t\n\t})();\n\t\n\n\n/***/ },\n/* 6 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\t// Get a universally unique identifier\n\t\n\tvar count = 0;\n\tmodule.exports = function uuid() {\n\t return \"react-tabs-\" + count++;\n\t};\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _Tab = __webpack_require__(8);\n\t\n\tvar _Tab2 = _interopRequireDefault(_Tab);\n\t\n\tvar _TabList = __webpack_require__(9);\n\t\n\tvar _TabList2 = _interopRequireDefault(_TabList);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tmodule.exports = function childrenPropTypes(props, propName) {\n\t var error = void 0;\n\t var tabsCount = 0;\n\t var panelsCount = 0;\n\t var children = props[propName];\n\t\n\t _react2.default.Children.forEach(children, function (child) {\n\t // null happens when conditionally rendering TabPanel/Tab\n\t // see https://github.com/rackt/react-tabs/issues/37\n\t if (child === null) {\n\t return;\n\t }\n\t\n\t if (child.type === _TabList2.default) {\n\t _react2.default.Children.forEach(child.props.children, function (c) {\n\t // null happens when conditionally rendering TabPanel/Tab\n\t // see https://github.com/rackt/react-tabs/issues/37\n\t if (c === null) {\n\t return;\n\t }\n\t\n\t if (c.type === _Tab2.default) {\n\t tabsCount++;\n\t } else {\n\t error = new Error('Expected \\'Tab\\' but found \\'' + (c.type.displayName || c.type) + '\\'');\n\t }\n\t });\n\t } else if (child.type.displayName === 'TabPanel') {\n\t panelsCount++;\n\t } else {\n\t error = new Error('Expected \\'TabList\\' or \\'TabPanel\\' but found \\'' + (child.type.displayName || child.type) + '\\'');\n\t }\n\t });\n\t\n\t if (tabsCount !== panelsCount) {\n\t error = new Error(\"There should be an equal number of 'Tabs' and 'TabPanels'.\" + ('Received ' + tabsCount + ' \\'Tabs\\' and ' + panelsCount + ' \\'TabPanels\\'.'));\n\t }\n\t\n\t return error;\n\t};\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _extends = Object.assign || function (target) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t var source = arguments[i];for (var key in source) {\n\t if (Object.prototype.hasOwnProperty.call(source, key)) {\n\t target[key] = source[key];\n\t }\n\t }\n\t }return target;\n\t};\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactDom = __webpack_require__(3);\n\t\n\tvar _classnames = __webpack_require__(4);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _objectWithoutProperties(obj, keys) {\n\t var target = {};for (var i in obj) {\n\t if (keys.indexOf(i) >= 0) continue;if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;target[i] = obj[i];\n\t }return target;\n\t}\n\t\n\tfunction syncNodeAttributes(node, props) {\n\t if (props.selected) {\n\t node.setAttribute('tabindex', '0');\n\t node.setAttribute('selected', 'selected');\n\t if (props.focus) {\n\t node.focus();\n\t }\n\t } else {\n\t node.removeAttribute('tabindex');\n\t node.removeAttribute('selected');\n\t }\n\t}\n\t\n\tmodule.exports = _react2.default.createClass({\n\t displayName: 'Tab',\n\t\n\t propTypes: {\n\t className: _react.PropTypes.string,\n\t id: _react.PropTypes.string,\n\t selected: _react.PropTypes.bool,\n\t disabled: _react.PropTypes.bool,\n\t panelId: _react.PropTypes.string,\n\t children: _react.PropTypes.oneOfType([_react.PropTypes.array, _react.PropTypes.object, _react.PropTypes.string])\n\t },\n\t\n\t getDefaultProps: function getDefaultProps() {\n\t return {\n\t focus: false,\n\t selected: false,\n\t id: null,\n\t panelId: null\n\t };\n\t },\n\t componentDidMount: function componentDidMount() {\n\t syncNodeAttributes((0, _reactDom.findDOMNode)(this), this.props);\n\t },\n\t componentDidUpdate: function componentDidUpdate() {\n\t syncNodeAttributes((0, _reactDom.findDOMNode)(this), this.props);\n\t },\n\t render: function render() {\n\t var _props = this.props;\n\t var selected = _props.selected;\n\t var disabled = _props.disabled;\n\t var panelId = _props.panelId;\n\t var className = _props.className;\n\t var children = _props.children;\n\t var id = _props.id;\n\t\n\t var attributes = _objectWithoutProperties(_props, ['selected', 'disabled', 'panelId', 'className', 'children', 'id']);\n\t\n\t return _react2.default.createElement('li', _extends({}, attributes, {\n\t className: (0, _classnames2.default)('ReactTabs__Tab', className, {\n\t 'ReactTabs__Tab--selected': selected,\n\t 'ReactTabs__Tab--disabled': disabled\n\t }),\n\t role: 'tab',\n\t id: id,\n\t 'aria-selected': selected ? 'true' : 'false',\n\t 'aria-expanded': selected ? 'true' : 'false',\n\t 'aria-disabled': disabled ? 'true' : 'false',\n\t 'aria-controls': panelId\n\t }), children);\n\t }\n\t});\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _extends = Object.assign || function (target) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t var source = arguments[i];for (var key in source) {\n\t if (Object.prototype.hasOwnProperty.call(source, key)) {\n\t target[key] = source[key];\n\t }\n\t }\n\t }return target;\n\t};\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _classnames = __webpack_require__(4);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _objectWithoutProperties(obj, keys) {\n\t var target = {};for (var i in obj) {\n\t if (keys.indexOf(i) >= 0) continue;if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;target[i] = obj[i];\n\t }return target;\n\t}\n\t\n\tmodule.exports = _react2.default.createClass({\n\t displayName: 'TabList',\n\t\n\t propTypes: {\n\t className: _react.PropTypes.string,\n\t children: _react.PropTypes.oneOfType([_react.PropTypes.object, _react.PropTypes.array])\n\t },\n\t\n\t render: function render() {\n\t var _props = this.props;\n\t var className = _props.className;\n\t var children = _props.children;\n\t\n\t var attributes = _objectWithoutProperties(_props, ['className', 'children']);\n\t\n\t return _react2.default.createElement('ul', _extends({}, attributes, {\n\t className: (0, _classnames2.default)('ReactTabs__TabList', className),\n\t role: 'tablist'\n\t }), children);\n\t }\n\t});\n\n/***/ },\n/* 10 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t '.react-tabs [role=tablist]': {\n\t 'border-bottom': '1px solid #aaa',\n\t margin: '0 0 10px',\n\t padding: '0'\n\t },\n\t\n\t '.react-tabs [role=tab]': {\n\t display: 'inline-block',\n\t border: '1px solid transparent',\n\t 'border-bottom': 'none',\n\t bottom: '-1px',\n\t position: 'relative',\n\t 'list-style': 'none',\n\t padding: '6px 12px',\n\t cursor: 'pointer'\n\t },\n\t\n\t '.react-tabs [role=tab][aria-selected=true]': {\n\t background: '#fff',\n\t 'border-color': '#aaa',\n\t color: 'black',\n\t 'border-radius': '5px 5px 0 0',\n\t '-moz-border-radius': '5px 5px 0 0',\n\t '-webkit-border-radius': '5px 5px 0 0'\n\t },\n\t\n\t '.react-tabs [role=tab][aria-disabled=true]': {\n\t color: 'GrayText',\n\t cursor: 'default'\n\t },\n\t\n\t '.react-tabs [role=tab]:focus': {\n\t 'box-shadow': '0 0 5px hsl(208, 99%, 50%)',\n\t 'border-color': 'hsl(208, 99%, 50%)',\n\t outline: 'none'\n\t },\n\t\n\t '.react-tabs [role=tab]:focus:after': {\n\t content: '\"\"',\n\t position: 'absolute',\n\t height: '5px',\n\t left: '-4px',\n\t right: '-4px',\n\t bottom: '-5px',\n\t background: '#fff'\n\t }\n\t};\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _extends = Object.assign || function (target) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t var source = arguments[i];for (var key in source) {\n\t if (Object.prototype.hasOwnProperty.call(source, key)) {\n\t target[key] = source[key];\n\t }\n\t }\n\t }return target;\n\t};\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _classnames = __webpack_require__(4);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _objectWithoutProperties(obj, keys) {\n\t var target = {};for (var i in obj) {\n\t if (keys.indexOf(i) >= 0) continue;if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;target[i] = obj[i];\n\t }return target;\n\t}\n\t\n\tmodule.exports = _react2.default.createClass({\n\t displayName: 'TabPanel',\n\t\n\t propTypes: {\n\t children: _react.PropTypes.oneOfType([_react.PropTypes.array, _react.PropTypes.object, _react.PropTypes.string]),\n\t className: _react.PropTypes.string,\n\t id: _react.PropTypes.string,\n\t selected: _react.PropTypes.bool,\n\t style: _react.PropTypes.object,\n\t tabId: _react.PropTypes.string\n\t },\n\t\n\t contextTypes: {\n\t forceRenderTabPanel: _react.PropTypes.bool\n\t },\n\t\n\t getDefaultProps: function getDefaultProps() {\n\t return {\n\t selected: false,\n\t id: null,\n\t tabId: null\n\t };\n\t },\n\t render: function render() {\n\t var _props = this.props;\n\t var className = _props.className;\n\t var children = _props.children;\n\t var selected = _props.selected;\n\t var id = _props.id;\n\t var tabId = _props.tabId;\n\t var style = _props.style;\n\t\n\t var attributes = _objectWithoutProperties(_props, ['className', 'children', 'selected', 'id', 'tabId', 'style']);\n\t\n\t return _react2.default.createElement('div', _extends({}, attributes, {\n\t className: (0, _classnames2.default)('ReactTabs__TabPanel', className, {\n\t 'ReactTabs__TabPanel--selected': selected\n\t }),\n\t role: 'tabpanel',\n\t id: id,\n\t 'aria-labelledby': tabId,\n\t style: _extends({}, style, { display: selected ? null : 'none' })\n\t }), this.context.forceRenderTabPanel || selected ? children : null);\n\t }\n\t});\n\n/***/ }\n/******/ ])\n});\n;\n\n\n/** WEBPACK FOOTER **\n ** ./dist/react-tabs.min.js\n **/"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap a5e4ef0c8ce17aa4d29b\n **/","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _Tabs = require('./components/Tabs');\n\nObject.defineProperty(exports, 'Tabs', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Tabs).default;\n }\n});\n\nvar _TabList = require('./components/TabList');\n\nObject.defineProperty(exports, 'TabList', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_TabList).default;\n }\n});\n\nvar _Tab = require('./components/Tab');\n\nObject.defineProperty(exports, 'Tab', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Tab).default;\n }\n});\n\nvar _TabPanel = require('./components/TabPanel');\n\nObject.defineProperty(exports, 'TabPanel', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_TabPanel).default;\n }\n});\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n\n/** WEBPACK FOOTER **\n ** ./lib/main.js\n **/","'use strict';\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = require('react-dom');\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _jsStylesheet = require('js-stylesheet');\n\nvar _jsStylesheet2 = _interopRequireDefault(_jsStylesheet);\n\nvar _uuid = require('../helpers/uuid');\n\nvar _uuid2 = _interopRequireDefault(_uuid);\n\nvar _childrenPropType = require('../helpers/childrenPropType');\n\nvar _childrenPropType2 = _interopRequireDefault(_childrenPropType);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\n// Determine if a node from event.target is a Tab element\nfunction isTabNode(node) {\n return node.nodeName === 'LI' && node.getAttribute('role') === 'tab';\n}\n\n// Determine if a tab node is disabled\nfunction isTabDisabled(node) {\n return node.getAttribute('aria-disabled') === 'true';\n}\n\nvar useDefaultStyles = true;\n\nmodule.exports = _react2.default.createClass({\n displayName: 'Tabs',\n\n propTypes: {\n className: _react.PropTypes.string,\n selectedIndex: _react.PropTypes.number,\n onSelect: _react.PropTypes.func,\n focus: _react.PropTypes.bool,\n children: _childrenPropType2.default,\n forceRenderTabPanel: _react.PropTypes.bool\n },\n\n childContextTypes: {\n forceRenderTabPanel: _react.PropTypes.bool\n },\n\n statics: {\n setUseDefaultStyles: function setUseDefaultStyles(use) {\n useDefaultStyles = use;\n }\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n selectedIndex: -1,\n focus: false,\n forceRenderTabPanel: false\n };\n },\n getInitialState: function getInitialState() {\n return this.copyPropsToState(this.props);\n },\n getChildContext: function getChildContext() {\n return {\n forceRenderTabPanel: this.props.forceRenderTabPanel\n };\n },\n componentDidMount: function componentDidMount() {\n if (useDefaultStyles) {\n (0, _jsStylesheet2.default)(require('../helpers/styles.js')); // eslint-disable-line global-require\n }\n },\n componentWillReceiveProps: function componentWillReceiveProps(newProps) {\n this.setState(this.copyPropsToState(newProps));\n },\n setSelected: function setSelected(index, focus) {\n // Don't do anything if nothing has changed\n if (index === this.state.selectedIndex) return;\n // Check index boundary\n if (index < 0 || index >= this.getTabsCount()) return;\n\n // Keep reference to last index for event handler\n var last = this.state.selectedIndex;\n\n // Update selected index\n this.setState({ selectedIndex: index, focus: focus === true });\n\n // Call change event handler\n if (typeof this.props.onSelect === 'function') {\n this.props.onSelect(index, last);\n }\n },\n getNextTab: function getNextTab(index) {\n var count = this.getTabsCount();\n\n // Look for non-disabled tab from index to the last tab on the right\n for (var i = index + 1; i < count; i++) {\n var tab = this.getTab(i);\n if (!isTabDisabled((0, _reactDom.findDOMNode)(tab))) {\n return i;\n }\n }\n\n // If no tab found, continue searching from first on left to index\n for (var _i = 0; _i < index; _i++) {\n var _tab = this.getTab(_i);\n if (!isTabDisabled((0, _reactDom.findDOMNode)(_tab))) {\n return _i;\n }\n }\n\n // No tabs are disabled, return index\n return index;\n },\n getPrevTab: function getPrevTab(index) {\n var i = index;\n\n // Look for non-disabled tab from index to first tab on the left\n while (i--) {\n var tab = this.getTab(i);\n if (!isTabDisabled((0, _reactDom.findDOMNode)(tab))) {\n return i;\n }\n }\n\n // If no tab found, continue searching from last tab on right to index\n i = this.getTabsCount();\n while (i-- > index) {\n var _tab2 = this.getTab(i);\n if (!isTabDisabled((0, _reactDom.findDOMNode)(_tab2))) {\n return i;\n }\n }\n\n // No tabs are disabled, return index\n return index;\n },\n getTabsCount: function getTabsCount() {\n return this.props.children && this.props.children[0] ? _react2.default.Children.count(this.props.children[0].props.children) : 0;\n },\n getPanelsCount: function getPanelsCount() {\n return _react2.default.Children.count(this.props.children.slice(1));\n },\n getTabList: function getTabList() {\n return this.refs.tablist;\n },\n getTab: function getTab(index) {\n return this.refs['tabs-' + index];\n },\n getPanel: function getPanel(index) {\n return this.refs['panels-' + index];\n },\n getChildren: function getChildren() {\n var index = 0;\n var count = 0;\n var children = this.props.children;\n var state = this.state;\n var tabIds = this.tabIds = this.tabIds || [];\n var panelIds = this.panelIds = this.panelIds || [];\n var diff = this.tabIds.length - this.getTabsCount();\n\n // Add ids if new tabs have been added\n // Don't bother removing ids, just keep them in case they are added again\n // This is more efficient, and keeps the uuid counter under control\n while (diff++ < 0) {\n tabIds.push((0, _uuid2.default)());\n panelIds.push((0, _uuid2.default)());\n }\n\n // Map children to dynamically setup refs\n return _react2.default.Children.map(children, function (child) {\n // null happens when conditionally rendering TabPanel/Tab\n // see https://github.com/rackt/react-tabs/issues/37\n if (child === null) {\n return null;\n }\n\n var result = null;\n\n // Clone TabList and Tab components to have refs\n if (count++ === 0) {\n // TODO try setting the uuid in the \"constructor\" for `Tab`/`TabPanel`\n result = (0, _react.cloneElement)(child, {\n ref: 'tablist',\n children: _react2.default.Children.map(child.props.children, function (tab) {\n // null happens when conditionally rendering TabPanel/Tab\n // see https://github.com/rackt/react-tabs/issues/37\n if (tab === null) {\n return null;\n }\n\n var ref = 'tabs-' + index;\n var id = tabIds[index];\n var panelId = panelIds[index];\n var selected = state.selectedIndex === index;\n var focus = selected && state.focus;\n\n index++;\n\n return (0, _react.cloneElement)(tab, {\n ref: ref,\n id: id,\n panelId: panelId,\n selected: selected,\n focus: focus\n });\n })\n });\n\n // Reset index for panels\n index = 0;\n }\n // Clone TabPanel components to have refs\n else {\n var ref = 'panels-' + index;\n var id = panelIds[index];\n var tabId = tabIds[index];\n var selected = state.selectedIndex === index;\n\n index++;\n\n result = (0, _react.cloneElement)(child, {\n ref: ref,\n id: id,\n tabId: tabId,\n selected: selected\n });\n }\n\n return result;\n });\n },\n handleKeyDown: function handleKeyDown(e) {\n if (this.isTabFromContainer(e.target)) {\n var index = this.state.selectedIndex;\n var preventDefault = false;\n\n // Select next tab to the left\n if (e.keyCode === 37 || e.keyCode === 38) {\n index = this.getPrevTab(index);\n preventDefault = true;\n }\n // Select next tab to the right\n /* eslint brace-style:0 */\n else if (e.keyCode === 39 || e.keyCode === 40) {\n index = this.getNextTab(index);\n preventDefault = true;\n }\n\n // This prevents scrollbars from moving around\n if (preventDefault) {\n e.preventDefault();\n }\n\n this.setSelected(index, true);\n }\n },\n handleClick: function handleClick(e) {\n var node = e.target;\n do {\n // eslint-disable-line no-cond-assign\n if (this.isTabFromContainer(node)) {\n if (isTabDisabled(node)) {\n return;\n }\n\n var index = [].slice.call(node.parentNode.children).indexOf(node);\n this.setSelected(index);\n return;\n }\n } while ((node = node.parentNode) !== null);\n },\n\n\n // This is an anti-pattern, so sue me\n copyPropsToState: function copyPropsToState(props) {\n var selectedIndex = props.selectedIndex;\n\n // If no selectedIndex prop was supplied, then try\n // preserving the existing selectedIndex from state.\n // If the state has not selectedIndex, default\n // to the first tab in the TabList.\n //\n // TODO: Need automation testing around this\n // Manual testing can be done using examples/focus\n // See 'should preserve selectedIndex when typing' in specs/Tabs.spec.js\n if (selectedIndex === -1) {\n if (this.state && this.state.selectedIndex) {\n selectedIndex = this.state.selectedIndex;\n } else {\n selectedIndex = 0;\n }\n }\n\n return {\n selectedIndex: selectedIndex,\n focus: props.focus\n };\n },\n\n\n /**\n * Determine if a node from event.target is a Tab element for the current Tabs container.\n * If the clicked element is not a Tab, it returns false.\n * If it finds another Tabs container between the Tab and `this`, it returns false.\n */\n isTabFromContainer: function isTabFromContainer(node) {\n // return immediately if the clicked element is not a Tab.\n if (!isTabNode(node)) {\n return false;\n }\n\n // Check if the first occurrence of a Tabs container is `this` one.\n var nodeAncestor = node.parentElement;\n var tabsNode = (0, _reactDom.findDOMNode)(this);\n do {\n if (nodeAncestor === tabsNode) return true;else if (nodeAncestor.getAttribute('data-tabs')) break;\n\n nodeAncestor = nodeAncestor.parentElement;\n } while (nodeAncestor);\n\n return false;\n },\n render: function render() {\n var _this = this;\n\n // This fixes an issue with focus management.\n //\n // Ultimately, when focus is true, and an input has focus,\n // and any change on that input causes a state change/re-render,\n // focus gets sent back to the active tab, and input loses focus.\n //\n // Since the focus state only needs to be remembered\n // for the current render, we can reset it once the\n // render has happened.\n //\n // Don't use setState, because we don't want to re-render.\n //\n // See https://github.com/rackt/react-tabs/pull/7\n if (this.state.focus) {\n setTimeout(function () {\n _this.state.focus = false;\n }, 0);\n }\n\n var _props = this.props;\n var className = _props.className;\n\n var attributes = _objectWithoutProperties(_props, ['className']);\n\n // Delete all known props, so they don't get added to DOM\n\n\n delete attributes.selectedIndex;\n delete attributes.onSelect;\n delete attributes.focus;\n delete attributes.children;\n delete attributes.forceRenderTabPanel;\n delete attributes.onClick;\n delete attributes.onKeyDown;\n\n return _react2.default.createElement(\n 'div',\n _extends({}, attributes, {\n className: (0, _classnames2.default)('ReactTabs', 'react-tabs', className),\n onClick: this.handleClick,\n onKeyDown: this.handleKeyDown,\n 'data-tabs': true\n }),\n this.getChildren()\n );\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./lib/components/Tabs.js\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_2__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"React\"\n ** module id = 2\n ** module chunks = 0\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"ReactDOM\"\n ** module id = 3\n ** module chunks = 0\n **/","/*!\n Copyright (c) 2016 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/classnames/index.js\n ** module id = 4\n ** module chunks = 0\n **/","!(function() {\n function jss(blocks) {\n var css = [];\n for (var block in blocks)\n css.push(createStyleBlock(block, blocks[block]));\n injectCSS(css);\n }\n\n function createStyleBlock(selector, rules) {\n return selector + ' {\\n' + parseRules(rules) + '\\n}';\n }\n\n function parseRules(rules) {\n var css = [];\n for (var rule in rules)\n css.push(' '+rule+': '+rules[rule]+';');\n return css.join('\\n');\n }\n\n function injectCSS(css) {\n var style = document.getElementById('jss-styles');\n if (!style) {\n style = document.createElement('style');\n style.setAttribute('id', 'jss-styles');\n var head = document.getElementsByTagName('head')[0];\n head.insertBefore(style, head.firstChild);\n }\n var node = document.createTextNode(css.join('\\n\\n'));\n style.appendChild(node);\n }\n\n if (typeof exports === 'object')\n module.exports = jss;\n else\n window.jss = jss;\n\n})();\n\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/js-stylesheet/jss.js\n ** module id = 5\n ** module chunks = 0\n **/","\"use strict\";\n\n// Get a universally unique identifier\nvar count = 0;\nmodule.exports = function uuid() {\n return \"react-tabs-\" + count++;\n};\n\n\n/** WEBPACK FOOTER **\n ** ./lib/helpers/uuid.js\n **/","'use strict';\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Tab = require('../components/Tab');\n\nvar _Tab2 = _interopRequireDefault(_Tab);\n\nvar _TabList = require('../components/TabList');\n\nvar _TabList2 = _interopRequireDefault(_TabList);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nmodule.exports = function childrenPropTypes(props, propName) {\n var error = void 0;\n var tabsCount = 0;\n var panelsCount = 0;\n var children = props[propName];\n\n _react2.default.Children.forEach(children, function (child) {\n // null happens when conditionally rendering TabPanel/Tab\n // see https://github.com/rackt/react-tabs/issues/37\n if (child === null) {\n return;\n }\n\n if (child.type === _TabList2.default) {\n _react2.default.Children.forEach(child.props.children, function (c) {\n // null happens when conditionally rendering TabPanel/Tab\n // see https://github.com/rackt/react-tabs/issues/37\n if (c === null) {\n return;\n }\n\n if (c.type === _Tab2.default) {\n tabsCount++;\n } else {\n error = new Error('Expected \\'Tab\\' but found \\'' + (c.type.displayName || c.type) + '\\'');\n }\n });\n } else if (child.type.displayName === 'TabPanel') {\n panelsCount++;\n } else {\n error = new Error('Expected \\'TabList\\' or \\'TabPanel\\' but found \\'' + (child.type.displayName || child.type) + '\\'');\n }\n });\n\n if (tabsCount !== panelsCount) {\n error = new Error(\"There should be an equal number of 'Tabs' and 'TabPanels'.\" + ('Received ' + tabsCount + ' \\'Tabs\\' and ' + panelsCount + ' \\'TabPanels\\'.'));\n }\n\n return error;\n};\n\n\n/** WEBPACK FOOTER **\n ** ./lib/helpers/childrenPropType.js\n **/","'use strict';\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = require('react-dom');\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction syncNodeAttributes(node, props) {\n if (props.selected) {\n node.setAttribute('tabindex', '0');\n node.setAttribute('selected', 'selected');\n if (props.focus) {\n node.focus();\n }\n } else {\n node.removeAttribute('tabindex');\n node.removeAttribute('selected');\n }\n}\n\nmodule.exports = _react2.default.createClass({\n displayName: 'Tab',\n\n propTypes: {\n className: _react.PropTypes.string,\n id: _react.PropTypes.string,\n selected: _react.PropTypes.bool,\n disabled: _react.PropTypes.bool,\n panelId: _react.PropTypes.string,\n children: _react.PropTypes.oneOfType([_react.PropTypes.array, _react.PropTypes.object, _react.PropTypes.string])\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n focus: false,\n selected: false,\n id: null,\n panelId: null\n };\n },\n componentDidMount: function componentDidMount() {\n syncNodeAttributes((0, _reactDom.findDOMNode)(this), this.props);\n },\n componentDidUpdate: function componentDidUpdate() {\n syncNodeAttributes((0, _reactDom.findDOMNode)(this), this.props);\n },\n render: function render() {\n var _props = this.props;\n var selected = _props.selected;\n var disabled = _props.disabled;\n var panelId = _props.panelId;\n var className = _props.className;\n var children = _props.children;\n var id = _props.id;\n\n var attributes = _objectWithoutProperties(_props, ['selected', 'disabled', 'panelId', 'className', 'children', 'id']);\n\n return _react2.default.createElement(\n 'li',\n _extends({}, attributes, {\n className: (0, _classnames2.default)('ReactTabs__Tab', className, {\n 'ReactTabs__Tab--selected': selected,\n 'ReactTabs__Tab--disabled': disabled\n }),\n role: 'tab',\n id: id,\n 'aria-selected': selected ? 'true' : 'false',\n 'aria-expanded': selected ? 'true' : 'false',\n 'aria-disabled': disabled ? 'true' : 'false',\n 'aria-controls': panelId\n }),\n children\n );\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./lib/components/Tab.js\n **/","'use strict';\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nmodule.exports = _react2.default.createClass({\n displayName: 'TabList',\n\n propTypes: {\n className: _react.PropTypes.string,\n children: _react.PropTypes.oneOfType([_react.PropTypes.object, _react.PropTypes.array])\n },\n\n render: function render() {\n var _props = this.props;\n var className = _props.className;\n var children = _props.children;\n\n var attributes = _objectWithoutProperties(_props, ['className', 'children']);\n\n return _react2.default.createElement(\n 'ul',\n _extends({}, attributes, {\n className: (0, _classnames2.default)('ReactTabs__TabList', className),\n role: 'tablist'\n }),\n children\n );\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./lib/components/TabList.js\n **/","'use strict';\n\nmodule.exports = {\n '.react-tabs [role=tablist]': {\n 'border-bottom': '1px solid #aaa',\n margin: '0 0 10px',\n padding: '0'\n },\n\n '.react-tabs [role=tab]': {\n display: 'inline-block',\n border: '1px solid transparent',\n 'border-bottom': 'none',\n bottom: '-1px',\n position: 'relative',\n 'list-style': 'none',\n padding: '6px 12px',\n cursor: 'pointer'\n },\n\n '.react-tabs [role=tab][aria-selected=true]': {\n background: '#fff',\n 'border-color': '#aaa',\n color: 'black',\n 'border-radius': '5px 5px 0 0',\n '-moz-border-radius': '5px 5px 0 0',\n '-webkit-border-radius': '5px 5px 0 0'\n },\n\n '.react-tabs [role=tab][aria-disabled=true]': {\n color: 'GrayText',\n cursor: 'default'\n },\n\n '.react-tabs [role=tab]:focus': {\n 'box-shadow': '0 0 5px hsl(208, 99%, 50%)',\n 'border-color': 'hsl(208, 99%, 50%)',\n outline: 'none'\n },\n\n '.react-tabs [role=tab]:focus:after': {\n content: '\"\"',\n position: 'absolute',\n height: '5px',\n left: '-4px',\n right: '-4px',\n bottom: '-5px',\n background: '#fff'\n }\n};\n\n\n/** WEBPACK FOOTER **\n ** ./lib/helpers/styles.js\n **/","'use strict';\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nmodule.exports = _react2.default.createClass({\n displayName: 'TabPanel',\n\n propTypes: {\n children: _react.PropTypes.oneOfType([_react.PropTypes.array, _react.PropTypes.object, _react.PropTypes.string]),\n className: _react.PropTypes.string,\n id: _react.PropTypes.string,\n selected: _react.PropTypes.bool,\n style: _react.PropTypes.object,\n tabId: _react.PropTypes.string\n },\n\n contextTypes: {\n forceRenderTabPanel: _react.PropTypes.bool\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n selected: false,\n id: null,\n tabId: null\n };\n },\n render: function render() {\n var _props = this.props;\n var className = _props.className;\n var children = _props.children;\n var selected = _props.selected;\n var id = _props.id;\n var tabId = _props.tabId;\n var style = _props.style;\n\n var attributes = _objectWithoutProperties(_props, ['className', 'children', 'selected', 'id', 'tabId', 'style']);\n\n return _react2.default.createElement(\n 'div',\n _extends({}, attributes, {\n className: (0, _classnames2.default)('ReactTabs__TabPanel', className, {\n 'ReactTabs__TabPanel--selected': selected\n }),\n role: 'tabpanel',\n id: id,\n 'aria-labelledby': tabId,\n style: _extends({}, style, { display: selected ? null : 'none' })\n }),\n this.context.forceRenderTabPanel || selected ? children : null\n );\n }\n});\n\n\n/** WEBPACK FOOTER **\n ** ./lib/components/TabPanel.js\n **/"],"sourceRoot":""} \ No newline at end of file