@atlaskit/navigation-next
Advanced tools
Comparing version 5.1.4 to 5.1.5
@@ -6,4 +6,4 @@ [ | ||
"stats": { | ||
"size": 117462, | ||
"gzipSize": 23718 | ||
"size": 80494, | ||
"gzipSize": 19043 | ||
} | ||
@@ -15,4 +15,4 @@ }, | ||
"stats": { | ||
"size": 301540, | ||
"gzipSize": 86257 | ||
"size": 317595, | ||
"gzipSize": 91850 | ||
} | ||
@@ -24,4 +24,4 @@ }, | ||
"stats": { | ||
"size": 135272, | ||
"gzipSize": 33316 | ||
"size": 78366, | ||
"gzipSize": 21085 | ||
} | ||
@@ -33,4 +33,4 @@ }, | ||
"stats": { | ||
"size": 677, | ||
"gzipSize": 350 | ||
"size": 513, | ||
"gzipSize": 301 | ||
} | ||
@@ -42,6 +42,6 @@ }, | ||
"stats": { | ||
"size": 553514, | ||
"gzipSize": 145971 | ||
"size": 470671, | ||
"gzipSize": 130236 | ||
} | ||
} | ||
] |
# @atlaskit/navigation-next | ||
## 5.1.5 | ||
- Updated dependencies [9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be): | ||
- @atlaskit/docs@7.0.3 | ||
- @atlaskit/avatar@15.0.4 | ||
- @atlaskit/badge@11.0.1 | ||
- @atlaskit/button@12.0.3 | ||
- @atlaskit/drawer@3.0.7 | ||
- @atlaskit/dropdown-menu@7.0.6 | ||
- @atlaskit/field-base@12.0.2 | ||
- @atlaskit/global-navigation@6.2.9 | ||
- @atlaskit/icon@16.0.9 | ||
- @atlaskit/inline-dialog@10.0.4 | ||
- @atlaskit/logo@10.0.4 | ||
- @atlaskit/lozenge@7.0.2 | ||
- @atlaskit/modal-dialog@8.0.7 | ||
- @atlaskit/onboarding@7.0.4 | ||
- @atlaskit/section-message@2.0.3 | ||
- @atlaskit/select@8.1.1 | ||
- @atlaskit/spinner@10.0.7 | ||
- @atlaskit/toggle@6.0.4 | ||
- @atlaskit/tooltip@13.0.4 | ||
- @atlaskit/theme@8.1.7 | ||
## 5.1.4 | ||
- [patch] [a768951c81](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a768951c81): | ||
- Updated dependencies [1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966): | ||
- @atlaskit/docs@7.0.2 | ||
- @atlaskit/analytics-next@4.0.3 | ||
- @atlaskit/avatar@15.0.3 | ||
- @atlaskit/drawer@3.0.6 | ||
- @atlaskit/dropdown-menu@7.0.4 | ||
- @atlaskit/global-navigation@6.2.8 | ||
- @atlaskit/icon@16.0.8 | ||
- @atlaskit/inline-dialog@10.0.3 | ||
- @atlaskit/logo@10.0.3 | ||
- @atlaskit/modal-dialog@8.0.6 | ||
- @atlaskit/onboarding@7.0.3 | ||
- @atlaskit/section-message@2.0.2 | ||
- @atlaskit/select@8.0.5 | ||
- @atlaskit/spinner@10.0.5 | ||
- @atlaskit/theme@8.1.6 | ||
- @atlaskit/toggle@6.0.3 | ||
- @atlaskit/tooltip@13.0.3 | ||
- @atlaskit/analytics-listeners@5.0.3 | ||
- @atlaskit/button@12.0.0 | ||
- Removing vr dep | ||
## 5.1.3 | ||
@@ -9,0 +49,0 @@ - [patch] [a28eb04426](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a28eb04426): |
@@ -54,3 +54,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
marginBottom: gridSize * 2 | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2Nvbm5lY3RlZC9CYWNrSXRlbS9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEyQlciLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvY29ubmVjdGVkL0JhY2tJdGVtL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcblxuaW1wb3J0IFJlYWN0LCB7I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mb3JlPXtiZWZvcmV9IHRleHQ9e3RleHR9IC8+XG4gICAgICA8L2Rpdj5cbiAgICApO1xuICB9XG59XG4iXX0= */") | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2Nvbm5lY3RlZC9CYWNrSXRlbS9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE0QlciLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvY29ubmVjdGVkL0JhY2tJdGVtL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcblxuaW1wb3J0IFJlYWN0LCB7IENvbXBvbmVudCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCBBcnJvd0xlZnRDaXJjbGVJY29uIGZyb20gJ0BhdGxhc2tpdC9pY29uL2dseXBoL2Fycm93LWxlZnQtY2lyY2xlJztcbmltcG9ydCB7IGdyaWRTaXplIGFzIGdyaWRTaXplRm4gfSBmcm9tICdAYXRsYXNraXQvdGhlbWUnO1xuXG5pbXBvcnQgQ29ubmVjdGVkSXRlbSBmcm9tICcuLi9Db25uZWN0ZWRJdGVtJztcbmltcG9ydCB0eXBlIHsgQmFja0l0ZW1Qcm9wcyB9IGZyb20gJy4vdHlwZXMnO1xuXG5jb25zdCBncmlkU2l6ZSA9IGdyaWRTaXplRm4oKTtcblxuY29uc3QgQXJyb3dMZWZ0ID0gKCkgPT4gKFxuICA8QXJyb3dMZWZ0Q2lyY2xlSWNvbiBwcmltYXJ5Q29sb3I9XCJjdXJyZW50Q29sb3JcIiBzZWNvbmRhcnlDb2xvcj1cImluaGVyaXRcIiAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgQmFja0l0ZW0gZXh0ZW5kcyBDb21wb25lbnQ8QmFja0l0ZW1Qcm9wcz4ge1xuICBzdGF0aWMgZGVmYXVsdFByb3BzID0ge1xuICAgIHRleHQ6ICdCYWNrJyxcbiAgfTtcblxuICByZW5kZXIoKSB7XG4gICAgY29uc3QgeyBiZWZvcmU6IGJlZm9yZVByb3AsIHRleHQsIC4uLnByb3BzIH0gPSB0aGlzLnByb3BzO1xuICAgIGxldCBiZWZvcmUgPSBiZWZvcmVQcm9wO1xuICAgIGlmICghYmVmb3JlKSB7XG4gICAgICBiZWZvcmUgPSBBcnJvd0xlZnQ7XG4gICAgfVxuXG4gICAgcmV0dXJuIChcbiAgICAgIDxkaXYgY3NzPXt7IG1hcmdpbkJvdHRvbTogZ3JpZFNpemUgKiAyIH19PlxuICAgICAgICA8Q29ubmVjdGVkSXRlbSB7Li4ucHJvcHN9IGFmdGVyPXtudWxsfSBiZWZvcmU9e2JlZm9yZX0gdGV4dD17dGV4dH0gLz5cbiAgICAgIDwvZGl2PlxuICAgICk7XG4gIH1cbn1cbiJdfQ== */") | ||
}, ___EmotionJSX(ConnectedItem, _extends({}, props, { | ||
@@ -57,0 +57,0 @@ after: null, |
@@ -10,3 +10,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import { NavigationAnalyticsContext } from '@atlaskit/analytics-namespaced-context'; | ||
import { GroupHeading, Separator } from '../../../'; | ||
import { GroupHeading, Separator } from '../../..'; | ||
@@ -13,0 +13,0 @@ var Group = |
@@ -201,3 +201,5 @@ import _css from "@emotion/css"; | ||
product: productNavigation | ||
}), isCollapsed && !EXPERIMENTAL_FLYOUT_ON_HOVER ? ___EmotionJSX("div", { | ||
}), isCollapsed && !EXPERIMENTAL_FLYOUT_ON_HOVER ? | ||
/* eslint-disable jsx-a11y/click-events-have-key-events */ | ||
___EmotionJSX("div", { | ||
"aria-label": "Click to expand the navigation", | ||
@@ -221,5 +223,7 @@ role: "button", | ||
} | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9u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IT09ICdleGl0ZWQnO1xuICAgIGNvbnN0IHNob3VsZERpc2FibGVJbnRlcmFjdGlvbiA9XG4gICAgICBpc1Jlc2l6aW5nIHx8IGlzVHJhbnNpdGlvbmluZyh0cmFuc2l0aW9uU3RhdGUpO1xuXG4gICAgY29uc3QgZGF0YXNldCA9IGRhdGFzZXRzID8gZGF0YXNldHMuY29udGV4dHVhbE5hdmlnYXRpb24gOiB7fTtcblxuICAgIHJldHVybiAoXG4gICAgICA8Q29udGVudE5hdmlnYXRpb25XcmFwcGVyXG4gICAgICAgIGtleT1cInByb2R1Y3QtbmF2LXdyYXBwZXJcIlxuICAgICAgICBpbm5lclJlZj17dGhpcy5nZXROYXZSZWZ9XG4gICAgICAgIGRpc2FibGVJbnRlcmFjdGlvbj17c2hvdWxkRGlzYWJsZUludGVyYWN0aW9ufVxuICAgICAgICBzdHlsZT17dHJhbnNpdGlvblN0eWxlfVxuICAgICAgICB7Li4uZGF0YXNldH1cbiAgICAgID5cbiAgICAgICAgPENvbnRlbnROYXZpZ2F0aW9uXG4gICAgICAgICAgY29udGFpbmVyPXtjb250YWluZXJOYXZpZ2F0aW9ufVxuICAgICAgICAgIGlzVmlzaWJsZT17aXNWaXNpYmxlfVxuICAgICAgICAgIGtleT1cInByb2R1Y3QtbmF2XCJcbiAgICAgICAgICBwcm9kdWN0PXtwcm9kdWN0TmF2aWdhdGlvbn1cbiAgICAgICAgLz5cbiAgICAgICAge2lzQ29sbGFwc2VkICYmICFFWFBFUklNRU5UQUxfRkxZT1VUX09OX0hPVkVSID8gKFxuICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgIGFyaWEtbGFiZWw9XCJDbGljayB0byBleHBhbmQgdGhlIG5hdmlnYXRpb25cIlxuICAgICAgICAgICAgcm9sZT1cImJ1dHRvblwiXG4gICAgICAgICAgICBvbkNsaWNrPXtuYXZpZ2F0aW9uVUlDb250cm9sbGVyLmV4cGFuZH1cbiAgICAgICAgICAgIGNzcz17e1xuICAgICAgICAgICAgICBjdXJzb3I6ICdwb2ludGVyJyxcbiAgICAgICAgICAgICAgaGVpZ2h0OiAnMTAwJScsXG4gICAgICAgICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgICAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgICAgICAgICB0cmFuc2l0aW9uOiAnYmFja2dyb3VuZC1jb2xvciAxMDBtcycsXG4gICAgICAgICAgICAgIHdpZHRoOiBDT05URU5UX05BVl9XSURUSF9DT0xMQVBTRUQsXG5cbiAgICAgICAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kQ29sb3I6IGNvbnRhaW5lck5hdmlnYXRpb25cbiAgICAgICAgICAgICAgICAgID8gY29sb3JzLk4zMFxuICAgICAgICAgICAgICAgICAgOiAncmdiYSgyNTUsIDI1NSwgMjU1LCAwLjA4KScsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICc6YWN0aXZlJzoge1xuICAgICAgICAgICAgICAgIGJhY2tncm91bmRDb2xvcjogY29sb3JzLk40MEEsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgdGFiSW5kZXg9XCIwXCJcbiAgICAgICAgICAvPlxuICAgICAgICApIDogbnVsbH1cbiAgICAgIDwvQ29udGVudE5hdmlnYXRpb25XcmFwcGVyPlxuICAgICk7XG4gIH07XG5cbiAgcmVuZGVyTmF2aWdhdGlvbiA9ICgpID0+IHtcbiAgICBjb25zdCB7XG4gICAgICBkYXRhc2V0cyxcbiAgICAgIG5hdmlnYXRpb25VSUNvbnRyb2xsZXIsXG4gICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgY2FtZWxjYXNlXG4gICAgICBleHBlcmltZW50YWxfZmx5b3V0T25Ib3ZlcjogRVhQRVJJTUVOVEFMX0ZMWU9VVF9PTl9IT1ZFUixcbiAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZ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aXRpb25cbiAgICAgICAgICAgIHByb2R1Y3ROYXZXaWR0aD17cHJvZHVjdE5hdldpZHRofVxuICAgICAgICAgID5cbiAgICAgICAgICAgIHsoeyB0cmFuc2l0aW9uU3R5bGUsIHRyYW5zaXRpb25TdGF0ZSB9KSA9PiB7XG4gICAgICAgICAgICAgIGNvbnN0IG9uTW91c2VPdXQgPVxuICAgICAgICAgICAgICAgIGlzQ29sbGFwc2VkICYmIEVYUEVSSU1FTlRBTF9GTFlPVVRfT05fSE9WRVIgJiYgZmx5b3V0SXNPcGVuXG4gICAgICAgICAgICAgICAgICA/IHRoaXMubW91c2VPdXRGbHlvdXRBcmVhXG4gICAgICAgICAgICAgICAgICA6IG51bGw7XG4gICAgICAgICAgICAgIGNvbnN0IG9uTW91c2VPdmVyID1cbiAgICAgICAgICAgICAgICBpc0NvbGxhcHNlZCAmJiBFWFBFUklNRU5UQUxfRkxZT1VUX09OX0hPVkVSICYmICFmbHlvdXRJc09wZW5cbiAgICAgICAgICAgICAgICAgID8gdGhpcy5tb3VzZU92ZXJGbHlvdXRBcmVhXG4gICAgICAgICAgICAgICAgICA6IG51bGw7XG4gICAgICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICAgICAgPE5hdmlnYXRpb25Db250YWluZXJcbiAgICAgICAgICAgICAgICAgIHsuLi5kYXRhc2V0fVxuICAgICAgICAgICAgICAgICAgdG9wT2Zmc2V0PXt0b3BPZmZzZXR9XG4gICAgICAgICAgICAgICAgICBpbm5lclJlZj17dGhpcy5nZXRDb250YWluZXJSZWZ9XG4gICAgICAgICAgICAgICAgICBvbk1vdXNlRW50ZXI9e3RoaXMubW91c2VFbnRlcn1cbiAgICAgICAgICAgICAgICAgIG9uTW91c2VPdmVyPXtcbiAgICAgICAgICAgICAgICAgICAgRVhQRVJJTUVOVEFMX0FMVEVSTkFURV9GTFlPVVRfQkVIQVZJT1VSID8gb25Nb3VzZU92ZXIgOiBudWxsXG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICBvbk1vdXNlT3V0PXtvbk1vdXNlT3V0fVxuICAgICAgICAgICAgICAgICAgb25Nb3VzZUxlYXZlPXt0aGlzLm1vdXNlTGVhdmV9XG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgPFJlc2l6ZUNvbnRyb2xcbiAgICAgICAgICAgICAgICAgICAgY29sbGFwc2VUb2dnbGVUb29sdGlwQ29udGVudD17Y29sbGFwc2VUb2dnbGVUb29sdGlwQ29udGVudH1cbiAgICAgICAgICAgICAgICAgICAgZXhwYW5kQ29sbGFwc2VBZmZvcmRhbmNlUmVmPXtcbiAgICAgICAgICAgICAgICAgICAgICB0aGlzLm5vZGVSZWZzLmV4cGFuZENvbGxhcHNlQWZmb3JkYW5jZVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBjYW1lbGNhc2VcbiAgICAgICAgICAgICAgICAgICAgZXhwZXJpbWVudGFsX2ZseW91dE9uSG92ZXI9e0VYUEVSSU1FTlRBTF9GTFlPVVRfT05fSE9WRVJ9XG4gICAgICAgICAgICAgICAgICAgIGlzRGlzYWJsZWQ9e2lzUmVzaXplRGlzYWJsZWR9XG4gICAgICAgICAgICAgICAgICAgIGZseW91dElzT3Blbj17Zmx5b3V0SXNPcGVufVxuICAgICAgICAgICAgICAgICAgICBpc0dyYWJBcmVhRGlzYWJsZWQ9e2l0ZW1Jc0RyYWdnaW5nfVxuICAgICAgICAgICAgICAgICAgICBtb3VzZUlzT3Zlck5hdmlnYXRpb249e21vdXNlSXNPdmVyTmF2aWdhdGlvbn1cbiAgICAgICAgICAgICAgICAgICAgb25Nb3VzZU92ZXJCdXR0b25CdWZmZXI9e1xuICAgICAgICAgICAgICAgICAgICAgIEVYUEVSSU1FTlRBTF9BTFRFUk5BVEVfRkxZT1VUX0JFSEFWSU9VUlxuICAgICAgICAgICAgICAgICAgICAgICAgPyB0aGlzLmNsb3NlRmx5b3V0XG4gICAgICAgICAgICAgICAgICAgICAgICA6IG51bGxcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBtdXRhdGlvblJlZnM9e1tcbiAgICAgICAgICAgICAgICAgICAgICB7IHJlZjogdGhpcy5wYWdlUmVmLCBwcm9wZXJ0eTogJ3BhZGRpbmctbGVmdCcgfSxcbiAgICAgICAgICAgICAgICAgICAgICB7IHJlZjogdGhpcy5wcm9kdWN0TmF2UmVmLCBwcm9wZXJ0eTogJ3dpZHRoJyB9LFxuICAgICAgICAgICAgICAgICAgICBdfVxuICAgICAgICAgICAgICAgICAgICBuYXZpZ2F0aW9uPXtuYXZpZ2F0aW9uVUlDb250cm9sbGVyfVxuICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICB7KHsgaXNEcmFnZ2luZywgd2lkdGggfSkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICAgICAgICAgICAgICA8Q29udGFpbmVyTmF2aWdhdGlvbk1hc2tcbiAgICAgICAgICAgICAgICAgICAgICAgICAgZGlzYWJsZUludGVyYWN0aW9uPXtpdGVtSXNEcmFnZ2luZ31cbiAgICAgICAgICAgICAgICAgICAgICAgICAgb25Nb3VzZU92ZXI9e1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEVYUEVSSU1FTlRBTF9BTFRFUk5BVEVfRkxZT1VUX0JFSEFWSU9VUlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPyBudWxsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6IG9uTW91c2VPdmVyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgPFJlbmRlckJsb2NrZXJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBibG9ja09uQ2hhbmdlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaXRlbUlzRHJhZ2dpbmc9e2l0ZW1Jc0RyYWdnaW5nfVxuICAgICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge3RoaXMucmVuZGVyR2xvYmFsTmF2aWdhdGlvbigpfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt0aGlzLnJlbmRlckNvbnRlbnROYXZpZ2F0aW9uKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlzRHJhZ2dpbmcsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uU3RhdGUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uU3R5bGUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aWR0aCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgPC9SZW5kZXJCbG9ja2VyPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9Db250YWluZXJOYXZpZ2F0aW9uTWFzaz5cbiAgICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICAgICAgPC9SZXNpemVDb250cm9sPlxuICAgICAgICAgICAgICAgIDwvTmF2aWdhdGlvbkNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH19XG4gICAgICAgICAgPC9SZXNpemVUcmFuc2l0aW9uPlxuICAgICAgICA8L05hdmlnYXRpb25BbmFseXRpY3NDb250ZXh0PlxuICAgICAgPC9MYXlvdXRFdmVudExpc3RlbmVyPlxuICAgICk7XG4gIH07XG5cbiAgcmVuZGVyUGFnZUNvbnRlbnQgPSAoKSA9PiB7XG4gICAgY29uc3Qge1xuICAgICAgbmF2aWdhdGlvblVJQ29udHJvbGxlcixcbiAgICAgIG9uRXhwYW5kU3RhcnQsXG4gICAgICBvbkV4cGFuZEVuZ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igpfVxuICAgICAgICB7dGhpcy5yZW5kZXJQYWdlQ29udGVudCgpfVxuICAgICAgPC9MYXlvdXRDb250YWluZXI+XG4gICAgKTtcbiAgfVxufVxuIl19 */"), | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0xheW91dE1hbmFnZXIvTGF5b3V0TWFuYWdlci5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFvUVkiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcHJlc2VudGF0aW9uYWwvTGF5b3V0TWFuYWdlci9MYXlvdXRNYW5hZ2VyLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcblxuaW1wb3J0IFJlYWN0LCB7IENvbXBvbmVudCwgRnJhZ21lbnQsIHR5cGUgRWxlbWVudFJlZiB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IE5hdmlnYXRpb25BbmFseXRpY3NDb250ZXh0IH0gZnJvbSAnQGF0bGFza2l0L2FuYWx5dGljcy1uYW1lc3BhY2VkLWNvbnRleHQnO1xuaW1wb3J0IHsgY29sb3JzIH0gZnJvbSAnQGF0bGFza2l0L3RoZW1lJztcblxuaW1wb3J0IHtcbiAgbmFtZSBhcyBwYWNrYWdlTmFtZSxcbiAgdmVyc2lvbiBhcyBwYWNrYWdlVmVyc2lvbixcbn0gZnJvbSAnLi4vLi4vLi4vdmVyc2lvbi5qc29uJztcbmltcG9ydCB7IFNoYWRvdyB9IGZyb20gJy4uLy4uLy4uL2NvbW1vbi9wcmltaXRpdmVzJztcbmltcG9ydCB7IGxpZ2h0LCBUaGVtZVByb3ZpZGVyIH0gZnJvbSAnLi4vLi4vLi4vdGhlbWUnO1xuaW1wb3J0IENvbnRlbnROYXZpZ2F0aW9uIGZyb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ICAgfVxuICAgICAgPlxuICAgICAgICA8VGhlbWVQcm92aWRlclxuICAgICAgICAgIHRoZW1lPXt0aGVtZSA9PiAoe1xuICAgICAgICAgICAgdG9wT2Zmc2V0LFxuICAgICAgICAgICAgbW9kZTogbGlnaHQsIC8vIElmIG5vIHRoZW1lIGFscmVhZHkgZXhpc3RzIGRlZmF1bHQgdG8gbGlnaHQgbW9kZVxuICAgICAgICAgICAgLi4udGhlbWUsXG4gICAgICAgICAgfSl9XG4gICAgICAgID5cbiAgICAgICAgICA8RnJhZ21lbnQ+XG4gICAgICAgICAgICA8U2hhZG93XG4gICAgICAgICAgICAgIGlzQm9sZD17ISFjb250YWluZXJOYXZpZ2F0aW9ufVxuICAgICAgICAgICAgICBpc092ZXJEYXJrQmdcbiAgICAgICAgICAgICAgc3R5bGU9e3sgbWFyZ2luTGVmdDogR0xPQkFMX05BVl9XSURUSCB9fVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIDxHbG9iYWxOYXZpZ2F0aW9uIC8+XG4gICAgICAgICAgPC9GcmFnbWVudD5cbiAgICAgICAgPC9UaGVtZVByb3ZpZGVyPlxuICAgICAgPC9kaXY+XG4gICAgKTtcbiAgfTtcblxuICByZW5kZXJDb250ZW50TmF2aWdhdGlvbiA9IChhcmdzOiBSZW5kZXJDb250ZW50TmF2aWdhdGlvbkFyZ3MpID0+IHtcbiAgICBjb25zdCB7IHRyYW5zaXRpb25TdGF0ZSwgdHJhbnNpdGlvblN0eWxlIH0gPSBhcmdzO1xuICAgIGNvbnN0IHtcbiAgICAgIGNvbnRhaW5lck5hdmlnYXRpb24sXG4gICAgICBkYXRhc2V0cyxcbiAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBjYW1lbGNhc2VcbiAgICAgIGV4cGVyaW1lbnRhbF9mbHlvdXRPbkhvdmVyOiBFWFBFUklNRU5UQUxfRkxZT1VUX09OX0hPVkVSLFxuICAgICAgbmF2aWdhdGlvblVJQ29udHJvbGxlcixc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GludC1kaXNhYmxlIGpzeC1hMTF5L2NsaWNrLWV2ZW50cy1oYXZlLWtleS1ldmVudHMgKi9cbiAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICBhcmlhLWxhYmVsPVwiQ2xpY2sgdG8gZXhwYW5kIHRoZSBuYXZpZ2F0aW9uXCJcbiAgICAgICAgICAgIHJvbGU9XCJidXR0b25cIlxuICAgICAgICAgICAgb25DbGljaz17bmF2aWdhdGlvblVJQ29udHJvbGxlci5leHBhbmR9XG4gICAgICAgICAgICBjc3M9e3tcbiAgICAgICAgICAgICAgY3Vyc29yOiAncG9pbnRlcicsXG4gICAgICAgICAgICAgIGhlaWdodDogJzEwMCUnLFxuICAgICAgICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICAgICAgICBwb3NpdGlvbjogJ2Fic29sdXRlJyxcbiAgICAgICAgICAgICAgdHJhbnNpdGlvbjogJ2JhY2tncm91bmQtY29sb3IgMTAwbXMnLFxuICAgICAgICAgICAgICB3aWR0aDogQ09OVEVOVF9OQVZfV0lEVEhfQ09MTEFQU0VELFxuXG4gICAgICAgICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZENvbG9yOiBjb250YWluZXJOYXZpZ2F0aW9uXG4gICAgICAgICAgICAgICAgICA/IGNvbG9ycy5OMzBcbiAgICAgICAgICAgICAgICAgIDogJ3JnYmEoMjU1LCAyNTUsIDI1NSwgMC4wOCknLFxuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAnOmFjdGl2ZSc6IHtcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kQ29sb3I6IGNvbG9ycy5ONDBBLFxuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgfX1cbiAgICAgICAgICAgIHRhYkluZGV4PVwiMFwiXG4gICAgICAgICAgLz5cbiAgICAgICAgKSA6IC8qIGVzbGludC1lbmFibGUgKi9cbiAgICAgICAgbnVsbH1cbiAgICAgIDwvQ29udGVudE5hdmln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F9OQVZfV0lEVEhfQ09MTEFQU0VEXX1cbiAgICAgICAgICAgIGluPXshaXNDb2xsYXBzZWQgfHwgZmx5b3V0SXNPcGVufVxuICAgICAgICAgICAgcHJvcGVydGllcz17Wyd3aWR0aCddfVxuICAgICAgICAgICAgdG89e1tmbHlvdXRJc09wZW4gPyBmbHlvdXRXaWR0aCA6IHByb2R1Y3ROYXZXaWR0aF19XG4gICAgICAgICAgICB1c2VySXNEcmFnZ2luZz17aXNSZXNpemluZ31cbiAgICAgICAgICAgIC8vIG9ubHkgYXBwbHkgbGlzdGVuZXJzIHRvIHRoZSBOQVYgcmVzaXplIHRyYW5zaXRpb25cbiAgICAgICAgICAgIHByb2R1Y3ROYXZXaWR0aD17cHJvZHVjdE5hdldpZHRofVxuICAgICAgICAgID5cbiAgICAgICAgICAgIHsoeyB0cmFuc2l0aW9uU3R5bGUsIHRyYW5zaXRpb25TdGF0ZSB9KSA9PiB7XG4gICAgICAgICAgICAgIGNvbnN0IG9uTW91c2VPdXQgPVxuICAgICAgICAgICAgICAgIGlzQ29sbGFwc2VkICYmIEVYUEVSSU1FTlRBTF9GTFlPVVRfT05fSE9WRVIgJiYgZmx5b3V0SXNPcGVuXG4gICAgICAgICAgICAgICAgICA/IHRoaXMubW91c2VPdXRGbHlvdXRBcmVhXG4gICAgICAgICAgICAgICAgICA6IG51bGw7XG4gICAgICAgICAgICAgIGNvbnN0IG9uTW91c2VPdmVyID1cbiAgICAgICAgICAgICAgICBpc0NvbGxhcHNlZCAmJiBFWFBFUklNRU5UQUxfRkxZT1VUX09OX0hPVkVSICYmICFmbHlvdXRJc09wZW5cbiAgICAgICAgICAgICAgICAgID8gdGhpcy5tb3VzZU92ZXJGbHlvdXRBcmVhXG4gICAgICAgICAgICAgICAgICA6IG51bGw7XG4gICAgICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICAgICAgPE5hdmlnYXRpb25Db250YWluZXJcbiAgICAgICAgICAgICAgICAgIHsuLi5kYXRhc2V0fVxuICAgICAgICAgICAgICAgICAgdG9wT2Zmc2V0PXt0b3BPZmZzZXR9XG4gICAgICAgICAgICAgICAgICBpbm5lclJlZj17dGhpcy5nZXRDb250YWluZXJSZWZ9XG4gICAgICAgICAgICAgICAgICBvbk1vdXNlRW50ZXI9e3RoaXMubW91c2VFbnRlcn1cbiAgICAgICAgICAgICAgICAgIG9uTW91c2VPdmVyPXtcbiAgICAgICAgICAgICAgICAgICAgRVhQRVJJTUVOVEFMX0FMVEVSTkFURV9GTFlPVVRfQkVIQVZJT1VSID8gb25Nb3VzZU92ZXIgOiBudWxsXG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICBvbk1vdXNlT3V0PXtvbk1vdXNlT3V0fVxuICAgICAgICAgICAgICAgICAgb25Nb3VzZUxlYXZlPXt0aGlzLm1vdXNlTGVhdmV9XG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgPFJlc2l6ZUNvbnRyb2xcbiAgICAgICAgICAgICAgICAgICAgY29sbGFwc2VUb2dnbGVUb29sdGlwQ29udGVudD17Y29sbGFwc2VUb2dnbGVUb29sdGlwQ29udGVudH1cbiAgICAgICAgICAgICAgICAgICAgZXhwYW5kQ29sbGFwc2VBZmZvcmRhbmNlUmVmPXtcbiAgICAgICAgICAgICAgICAgICAgICB0aGlzLm5vZGVSZWZzLmV4cGFuZENvbGxhcHNlQWZmb3JkYW5jZVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBjYW1lbGNhc2VcbiAgICAgICAgICAgICAgICAgICAgZXhwZXJpbWVudGFsX2ZseW91dE9uSG92ZXI9e0VYUEVSSU1FTlRBTF9GTFlPVVRfT05fSE9WRVJ9XG4gICAgICAgICAgICAgICAgICAgIGlzRGlzYWJsZWQ9e2lzUmVzaXplRGlzYWJsZWR9XG4gICAgICAgICAgICAgICAgICAgIGZseW91dElzT3Blbj17Zmx5b3V0SXNPcGVufVxuICAgICAgICAgICAgICAgICAgICBpc0dyYWJBcmVhRGlzYWJsZWQ9e2l0ZW1Jc0RyYWdnaW5nfVxuICAgICAgICAgICAgICAgICAgICBtb3VzZUlzT3Zlck5hdmlnYXRpb249e21vdXNlSXNPdmVyTmF2aWdhdGlvbn1cbiAgICAgICAgICAgICAgICAgICAgb25Nb3VzZU92ZXJCdXR0b25CdWZmZXI9e1xuICAgICAgICAgICAgICAgICAgICAgIEVYUEVSSU1FTlRBTF9BTFRFUk5BVEVfRkxZT1VUX0JFSEFWSU9VUlxuICAgICAgICAgICAgICAgICAgICAgICAgPyB0aGlzLmNsb3NlRmx5b3V0XG4gICAgICAgICAgICAgICAgICAgICAgICA6IG51bGxcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBtdXRhdGlvblJlZnM9e1tcbiAgICAgICAgICAgICAgICAgICAgICB7IHJlZjogdGhpcy5wYWdlUmVmLCBwcm9wZXJ0eTogJ3BhZGRpbmctbGVmdCcgfSxcbiAgICAgICAgICAgICAgICAgICAgICB7IHJlZjogdGhpcy5wcm9kdWN0TmF2UmVmLCBwcm9wZXJ0eTogJ3dpZHRoJyB9LFxuICAgICAgICAgICAgICAgICAgICBdfVxuICAgICAgICAgICAgICAgICAgICBuYXZpZ2F0aW9uPXtuYXZpZ2F0aW9uVUlDb250cm9sbGVyfVxuICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICB7KHsgaXNEcmFnZ2luZywgd2lkdGggfSkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICAgICAgICAgICAgICA8Q29udGFpbmVyTmF2aWdhdGlvbk1hc2tcbiAgICAgICAgICAgICAgICAgICAgICAgICAgZGlzYWJsZUludGVyYWN0aW9uPXtpdGVtSXNEcmFnZ2luZ31cbiAgICAgICAgICAgICAgICAgICAgICAgICAgb25Nb3VzZU92ZXI9e1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEVYUEVSSU1FTlRBTF9BTFRFUk5BVEVfRkxZT1VUX0JFSEFWSU9VUlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPyBudWxsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6IG9uTW91c2VPdmVyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgPFJlbmRlckJsb2NrZXJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBibG9ja09uQ2hhbmdlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaXRlbUlzRHJhZ2dpbmc9e2l0ZW1Jc0RyYWdnaW5nfVxuICAgICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge3RoaXMucmVuZGVyR2xvYmFsTmF2aWdhdGlvbigpfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt0aGlzLnJlbmRlckNvbnRlbnROYXZpZ2F0aW9uKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlzRHJhZ2dpbmcsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uU3RhdGUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uU3R5bGUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aWR0aCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgPC9SZW5kZXJCbG9ja2VyPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9Db250YWluZXJOYXZpZ2F0aW9uTWFzaz5cbiAgICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICAgICAgPC9SZXNpemVDb250cm9sPlxuICAgICAgICAgICAgICAgIDwvTmF2aWdhdGlvbk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17b25Db2xsYXBzZVN0YXJ0fVxuICAgICAgICBvbkNvbGxhcHNlRW5kPXtvbkNvbGxhcHNlRW5kfVxuICAgICAgPlxuICAgICAgICB7Y2hpbGRyZW59XG4gICAgICA8L1BhZ2VDb250ZW50PlxuICAgICk7XG4gIH07XG5cbiAgcmVuZGVyKCkge1xuICAgIGNvbnN0IHsgdG9wT2Zmc2V0IH0gPSB0aGlzLnByb3BzO1xuICAgIHJldHVybiAoXG4gICAgICA8TGF5b3V0Q29udGFpbmVyIHRvcE9mZnNldD17dG9wT2Zmc2V0fT5cbiAgICAgICAge3RoaXMucmVuZGVyTmF2aWdhdGlvbigpfVxuICAgICAgICB7dGhpcy5yZW5kZXJQYWdlQ29udGVudCgpfVxuICAgICAgPC9MYXlvdXRDb250YWluZXI+XG4gICAgKTtcbiAgfVxufVxuIl19 */"), | ||
tabIndex: "0" | ||
}) : null); | ||
}) : | ||
/* eslint-enable */ | ||
null); | ||
}); | ||
@@ -226,0 +230,0 @@ |
@@ -84,3 +84,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
position: 'relative' | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1N3aXRjaGVyL2luZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTRFSSIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9Td2l0Y2hlci9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5pbXBvcnQgUmVhY3QsIHsgUHVyZUNvbXBvbmVudCwgY2xvbmVFbGVtZW50LCB0eXBlIEVsZW1lbnRSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgTm9kZVJlc29sdmVyIGZyb20g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pbm5lclJlZj17dGhpcy5yZXNvbHZlVGFyZ2V0UmVmKHJlZil9PlxuICAgICAgICAgICAge2Nsb25lRWxlbWVudCh0YXJnZXQsIHsgaXNTZWxlY3RlZDogaXNPcGVuIH0pfVxuICAgICAgICAgIDwvTm9kZVJlc29sdmVyPlxuICAgICAgICApfVxuICAgICAgICB7Li4ucHJvcHN9XG4gICAgICAgIHN0eWxlcz17Y3JlYXRlU3R5bGVzKHRoaXMucHJvcHMuc3R5bGVzKX1cbiAgICAgICAgY29tcG9uZW50cz17bWVyZ2VkQ29tcG9uZW50c31cbiAgICAgIC8+XG4gICAgKTtcbiAgfVxufVxuXG5leHBvcnQgeyBTd2l0Y2hlciBhcyBCYXNlU3dpdGNoZXIgfTtcblxuZXhwb3J0IGRlZmF1bHQgKHByb3BzOiBTd2l0Y2hlckJhc2VQcm9wcykgPT4gKFxuICA8VUlDb250cm9sbGVyU3Vic2NyaWJlcj5cbiAgICB7KHsgc3RhdGUgfSkgPT4gKFxuICAgICAgPFN3aXRjaGVyXG4gICAgICAgIG5hdldpZHRoPXtzdGF0ZS5wcm9kdWN0TmF2V2lkdGh9XG4gICAgICAgIGlzTmF2UmVzaXppbmc9e3N0YXRlLmlzUmVzaXppbmd9XG4gICAgICAgIHsuLi5wcm9wc31cbiAgICAgIC8+XG4gICAgKX1cbiAgPC9VSUNvbnRyb2xsZXJTdWJzY3JpYmVyPlxuKTtcbiJdfQ== */") | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1N3aXRjaGVyL2luZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTRFSSIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9Td2l0Y2hlci9pbmRleC5qcyI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xuICAgICAgICBvcHRpb25zPXtvcHRpb25zfVxuICAgICAgICBtYXhNZW51V2lkdGg9e3RoaXMudGFyZ2V0V2lkdGh9XG4gICAgICAgIG1pbk1lbnVXaWR0aD17dGhpcy50YXJnZXRXaWR0aH1cbiAgICAgICAgdGFyZ2V0PXsoeyByZWYsIGlzT3BlbiB9KSA9PiAoXG4gICAgICAgICAgPE5vZGVSZXNvbHZlciBpbm5lclJlZj17dGhpcy5yZXNvbHZlVGFyZ2V0UmVmKHJlZil9PlxuICAgICAgICAgICAge2Nsb25lRWxlbWVudCh0YXJnZXQsIHsgaXNTZWxlY3RlZDogaXNPcGVuIH0pfVxuICAgICAgICAgIDwvTm9kZVJlc29sdmVyPlxuICAgICAgICApfVxuICAgICAgICB7Li4ucHJvcHN9XG4gICAgICAgIHN0eWxlcz17Y3JlYXRlU3R5bGVzKHRoaXMucHJvcHMuc3R5bGVzKX1cbiAgICAgICAgY29tcG9uZW50cz17bWVyZ2VkQ29tcG9uZW50c31cbiAgICAgIC8+XG4gICAgKTtcbiAgfVxufVxuXG5leHBvcnQgeyBTd2l0Y2hlciBhcyBCYXNlU3dpdGNoZXIgfTtcblxuZXhwb3J0IGRlZmF1bHQgKHByb3BzOiBTd2l0Y2hlckJhc2VQcm9wcykgPT4gKFxuICA8VUlDb250cm9sbGVyU3Vic2NyaWJlcj5cbiAgICB7KHsgc3RhdGUgfSkgPT4gKFxuICAgICAgPFN3aXRjaGVyXG4gICAgICAgIG5hdldpZHRoPXtzdGF0ZS5wcm9kdWN0TmF2V2lkdGh9XG4gICAgICAgIGlzTmF2UmVzaXppbmc9e3N0YXRlLmlzUmVzaXppbmd9XG4gICAgICAgIHsuLi5wcm9wc31cbiAgICAgIC8+XG4gICAgKX1cbiAgPC9VSUNvbnRyb2xsZXJTdWJzY3JpYmVyPlxuKTtcbiJdfQ== */") | ||
}, ___EmotionJSX(components.Control, _extends({}, props, { | ||
@@ -115,3 +115,3 @@ innerProps: innerProps | ||
} | ||
}, process.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2lkdGh9XG4gICAgICAgIGlzTmF2UmVzaXppbmc9e3N0YXRlLmlzUmVzaXppbmd9XG4gICAgICAgIHsuLi5wcm9wc31cbiAgICAgIC8+XG4gICAgKX1cbiAgPC9VSUNvbnRyb2xsZXJTdWJzY3JpYmVyPlxuKTtcbiJdfQ== */"), | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1N3aXRjaGVyL2luZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVGSSIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9Td2l0Y2hlci9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5pbXBvcnQgUmVhY3QsIHsgUHVyZUNvbXBvbmVudCwgY2xvbmVFbGVtZW50LCB0eXBlIEVsZW1lbnRSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgTm9kZVJlc29sdmVyIGZyb20gJ3JlYWN0LW5vZGUtcmVzb2x2ZXInO1xuaW1wb3J0IHNoYWxsb3dFcXVhbE9iamVjdHMgZnJvbSAnc2hhbGxvdy1lcXVhbC9vYmplY3RzJztcbmltcG9ydCB7IGNvbXBvbmVudHMsIFBvcHVwU2VsZWN0LCBtZXJnZVN0eWxlcyB9IGZyb20gJ0BhdGxhc2tpdC9zZWxlY3QnO1xuaW1wb3J0IHsgY29sb3JzLCBncmlkU2l6ZSBhcyBncmlkU2l6ZUZuIH0gZnJvbSAnQGF0bGFza2l0L3RoZW1lJztcbmltcG9ydCBBZGRJY29uIGZyb20gJ0BhdGxhc2tpdC9pY29uL2dseXBoL2FkZCc7XG5cbmltcG9ydCB7XG4gIHR5cGUgU3dpdGNoZXJTdGF0ZSxcbiAgdHlwZSBT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CYXNlU3dpdGNoZXIgfTtcblxuZXhwb3J0IGRlZmF1bHQgKHByb3BzOiBTd2l0Y2hlckJhc2VQcm9wcykgPT4gKFxuICA8VUlDb250cm9sbGVyU3Vic2NyaWJlcj5cbiAgICB7KHsgc3RhdGUgfSkgPT4gKFxuICAgICAgPFN3aXRjaGVyXG4gICAgICAgIG5hdldpZHRoPXtzdGF0ZS5wcm9kdWN0TmF2V2lkdGh9XG4gICAgICAgIGlzTmF2UmVzaXppbmc9e3N0YXRlLmlzUmVzaXppbmd9XG4gICAgICAgIHsuLi5wcm9wc31cbiAgICAgIC8+XG4gICAgKX1cbiAgPC9VSUNvbnRyb2xsZXJTdWJzY3JpYmVyPlxuKTtcbiJdfQ== */"), | ||
onClick: onClick | ||
@@ -126,3 +126,3 @@ }, ___EmotionJSX(AddIcon, { | ||
marginLeft: gridSize | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1N3aXRjaGVyL2luZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStHVSIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9Td2l0Y2hlci9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5pbXBvcnQgUmVhY3QsIHsgUHVyZUNvbXBvbmVudCwgY2xvbmVFbGVtZW50LCB0eXBlIEVsZW1lbnRSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgTm9kZVJlc29sdmVyIGZyb20gJ3JlYWN0LW5vZGUtcmVzb2x2ZXInO1xuaW1wb3J0IHNoYWxsb3dFcXVhbE9iamVjdHMgZnJvbSAnc2hhbGxvdy1lcXVhbC9vYmplY3RzJztcbmltcG9ydCB7IGNvbXBvbmVudHM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AgIDwvTm9kZVJlc29sdmVyPlxuICAgICAgICApfVxuICAgICAgICB7Li4ucHJvcHN9XG4gICAgICAgIHN0eWxlcz17Y3JlYXRlU3R5bGVzKHRoaXMucHJvcHMuc3R5bGVzKX1cbiAgICAgICAgY29tcG9uZW50cz17bWVyZ2VkQ29tcG9uZW50c31cbiAgICAgIC8+XG4gICAgKTtcbiAgfVxufVxuXG5leHBvcnQgeyBTd2l0Y2hlciBhcyBCYXNlU3dpdGNoZXIgfTtcblxuZXhwb3J0IGRlZmF1bHQgKHByb3BzOiBTd2l0Y2hlckJhc2VQcm9wcykgPT4gKFxuICA8VUlDb250cm9sbGVyU3Vic2NyaWJlcj5cbiAgICB7KHsgc3RhdGUgfSkgPT4gKFxuICAgICAgPFN3aXRjaGVyXG4gICAgICAgIG5hdldpZHRoPXtzdGF0ZS5wcm9kdWN0TmF2V2lkdGh9XG4gICAgICAgIGlzTmF2UmVzaXppbmc9e3N0YXRlLmlzUmVzaXppbmd9XG4gICAgICAgIHsuLi5wcm9wc31cbiAgICAgIC8+XG4gICAgKX1cbiAgPC9VSUNvbnRyb2xsZXJTdWJzY3JpYmVyPlxuKTtcbiJdfQ== */") | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1N3aXRjaGVyL2luZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStHVSIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9Td2l0Y2hlci9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5pbXBvcnQgUmVhY3QsIHsgUHVyZUNvbXBvbmVudCwgY2xvbmVFbGVtZW50LCB0eXBlIEVsZW1lbnRSZWYgfSBmcm9tICdyZWFjdC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cbiAgICAgICAgdGFyZ2V0PXsoeyByZWYsIGlzT3BlbiB9KSA9PiAoXG4gICAgICAgICAgPE5vZGVSZXNvbHZlciBpbm5lclJlZj17dGhpcy5yZXNvbHZlVGFyZ2V0UmVmKHJlZil9PlxuICAgICAgICAgICAge2Nsb25lRWxlbWVudCh0YXJnZXQsIHsgaXNTZWxlY3RlZDogaXNPcGVuIH0pfVxuICAgICAgICAgIDwvTm9kZVJlc29sdmVyPlxuICAgICAgICApfVxuICAgICAgICB7Li4ucHJvcHN9XG4gICAgICAgIHN0eWxlcz17Y3JlYXRlU3R5bGVzKHRoaXMucHJvcHMuc3R5bGVzKX1cbiAgICAgICAgY29tcG9uZW50cz17bWVyZ2VkQ29tcG9uZW50c31cbiAgICAgIC8+XG4gICAgKTtcbiAgfVxufVxuXG5leHBvcnQgeyBTd2l0Y2hlciBhcyBCYXNlU3dpdGNoZXIgfTtcblxuZXhwb3J0IGRlZmF1bHQgKHByb3BzOiBTd2l0Y2hlckJhc2VQcm9wcykgPT4gKFxuICA8VUlDb250cm9sbGVyU3Vic2NyaWJlcj5cbiAgICB7KHsgc3RhdGUgfSkgPT4gKFxuICAgICAgPFN3aXRjaGVyXG4gICAgICAgIG5hdldpZHRoPXtzdGF0ZS5wcm9kdWN0TmF2V2lkdGh9XG4gICAgICAgIGlzTmF2UmVzaXppbmc9e3N0YXRlLmlzUmVzaXppbmd9XG4gICAgICAgIHsuLi5wcm9wc31cbiAgICAgIC8+XG4gICAgKX1cbiAgPC9VSUNvbnRyb2xsZXJTdWJzY3JpYmVyPlxuKTtcbiJdfQ== */") | ||
}, text)); | ||
@@ -129,0 +129,0 @@ }; |
{ | ||
"name": "@atlaskit/navigation-next", | ||
"version": "5.1.4", | ||
"version": "5.1.5", | ||
"sideEffects": false | ||
} |
@@ -90,2 +90,3 @@ // @flow | ||
state = { selected: projects[0].options[0] }; | ||
create = () => ({ | ||
@@ -104,2 +105,3 @@ onClick: () => { | ||
}); | ||
target = ({ id, subText, text }: *) => { | ||
@@ -126,5 +128,7 @@ const avatar = s => ( | ||
}; | ||
onChange = (selected: *) => { | ||
this.setState({ selected }); | ||
}; | ||
render() { | ||
@@ -131,0 +135,0 @@ const { selected } = this.state; |
@@ -105,2 +105,3 @@ // @flow | ||
state = { selected: projects[0].options[0] }; | ||
create = () => ({ | ||
@@ -119,2 +120,3 @@ onClick: () => { | ||
}); | ||
target = ({ id, subText, text }: *) => { | ||
@@ -141,5 +143,7 @@ const avatar = s => ( | ||
}; | ||
onChange = (selected: *) => { | ||
this.setState({ selected }); | ||
}; | ||
render() { | ||
@@ -146,0 +150,0 @@ const { selected } = this.state; |
@@ -68,2 +68,3 @@ // @flow | ||
}; | ||
registerItem = (item: string) => { | ||
@@ -74,2 +75,3 @@ this.setState(state => | ||
}; | ||
unregisterItem = (item: string) => { | ||
@@ -79,2 +81,3 @@ const newItems = this.state.items.filter(i => i !== item); | ||
}; | ||
actions: ContentsProviderActions = { | ||
@@ -84,2 +87,3 @@ registerItem: this.registerItem, | ||
}; | ||
render() { | ||
@@ -132,2 +136,3 @@ const { state, actions } = this; | ||
} | ||
componentWillUnmount() { | ||
@@ -139,2 +144,3 @@ const { __context, children } = this.props; | ||
} | ||
render() { | ||
@@ -145,3 +151,3 @@ const { children } = this.props; | ||
<Fragment> | ||
{/* eslint-disable jsx-a11y/anchor-has-content */} | ||
{/* eslint-disable jsx-a11y/anchor-has-content, jsx-a11y/anchor-is-valid */} | ||
<a name={slugify(children)} /> | ||
@@ -148,0 +154,0 @@ <h2>{children}</h2> |
{ | ||
"name": "@atlaskit/navigation-next", | ||
"version": "5.1.4", | ||
"version": "5.1.5", | ||
"description": "The Atlassian navigation component.", | ||
@@ -17,9 +17,10 @@ "license": "Apache-2.0", | ||
"@atlaskit/analytics-namespaced-context": "^3.0.0", | ||
"@atlaskit/analytics-next": "^4.0.1", | ||
"@atlaskit/avatar": "^15.0.1", | ||
"@atlaskit/icon": "^16.0.5", | ||
"@atlaskit/select": "^8.0.3", | ||
"@atlaskit/spinner": "^10.0.1", | ||
"@atlaskit/theme": "^8.1.3", | ||
"@atlaskit/tooltip": "^13.0.1", | ||
"@atlaskit/analytics-next": "^4.0.3", | ||
"@atlaskit/avatar": "^15.0.4", | ||
"@atlaskit/icon": "^16.0.9", | ||
"@atlaskit/select": "^8.1.1", | ||
"@atlaskit/spinner": "^10.0.7", | ||
"@atlaskit/theme": "^8.1.7", | ||
"@atlaskit/tooltip": "^13.0.4", | ||
"@atlaskit/visual-regression": "^0.0.1", | ||
"@babel/runtime": "^7.0.0", | ||
@@ -43,20 +44,19 @@ "@emotion/core": "^10.0.9", | ||
"devDependencies": { | ||
"@atlaskit/analytics-listeners": "^5.0.0", | ||
"@atlaskit/badge": "^11.0.0", | ||
"@atlaskit/analytics-listeners": "^5.0.3", | ||
"@atlaskit/badge": "^11.0.1", | ||
"@atlaskit/build-utils": "^2.0.0", | ||
"@atlaskit/button": "^11.0.0", | ||
"@atlaskit/docs": "^7.0.1", | ||
"@atlaskit/drawer": "^3.0.4", | ||
"@atlaskit/dropdown-menu": "^7.0.1", | ||
"@atlaskit/field-base": "^12.0.0", | ||
"@atlaskit/global-navigation": "^6.2.6", | ||
"@atlaskit/inline-dialog": "^10.0.2", | ||
"@atlaskit/logo": "^10.0.1", | ||
"@atlaskit/lozenge": "^7.0.0", | ||
"@atlaskit/modal-dialog": "^8.0.2", | ||
"@atlaskit/onboarding": "^7.0.1", | ||
"@atlaskit/section-message": "^2.0.1", | ||
"@atlaskit/button": "^12.0.3", | ||
"@atlaskit/docs": "^7.0.3", | ||
"@atlaskit/drawer": "^3.0.7", | ||
"@atlaskit/dropdown-menu": "^7.0.6", | ||
"@atlaskit/field-base": "^12.0.2", | ||
"@atlaskit/global-navigation": "^6.2.9", | ||
"@atlaskit/inline-dialog": "^10.0.4", | ||
"@atlaskit/logo": "^10.0.4", | ||
"@atlaskit/lozenge": "^7.0.2", | ||
"@atlaskit/modal-dialog": "^8.0.7", | ||
"@atlaskit/onboarding": "^7.0.4", | ||
"@atlaskit/section-message": "^2.0.3", | ||
"@atlaskit/ssr": "^0.0.1", | ||
"@atlaskit/toggle": "^6.0.1", | ||
"@atlaskit/visual-regression": "^0.0.1", | ||
"@atlaskit/toggle": "^6.0.4", | ||
"@atlaskit/webdriver-runner": "^0.1.0", | ||
@@ -72,2 +72,2 @@ "enzyme": "^3.7.0", | ||
} | ||
} | ||
} |
@@ -63,3 +63,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
paddingBottom: gridSize * 2.5 - 2 | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9yZW5kZXJlci9jb21wb25lbnRzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFFTyIsImZpbGUiOiIuLi9zcmMvcmVuZGVyZXIvY29tcG9uZW50cy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5cbmltcG9ydCBSZWFjdCwge1xuICBQdXJlQ29tcG9uZW50LFxuICB0eXBlIENvbXBvbmVudFR5cGUsXG4gIHR5cGUgRWxlbWVudENvbmZpZyxcbiAgdHlwZSBOb2RlLFxufSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBncmlkU2l6ZSBhcyBncmlkU2l6ZUZuIH0gZnJvbSAnQGF0bGFza2l0L3RoZW1lJztcblxuaW1wb3J0IHsgbmF2aWdhdGlvbkl0ZW1DbGlja2VkIH0gZnJvbSAnLi4vY29tbW9uL2FuYWx5dGljcyc7XG5cbmltcG9ydCBSZW5kZXJCbG9ja2VyIGZyb20gJy4uL2NvbXBvbmVudHMvY29tbW9uL1JlbmRlckJsb2NrZXInO1xuXG5pbXBvcnQgQ29udGFpbmVySGVhZGVyQ29tcG9uZW50IGZyb20gJy4uL2NvbXBvbmVudHMvcHJlc2VudGF0aW9uYWwvQ29udGFpbmVySGVhZGVyJztcbm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IGlmIChPYmplY3Qua2V5cyhjdXN0b21Db21wb25lbnRzKS5pbmNsdWRlcyhwcm9wcy50eXBlKSkge1xuICAgICAgICBjb25zdCB7IHR5cGUsIC4uLmNvbXBvbmVudFByb3BzIH0gPSBwcm9wcztcbiAgICAgICAgLy8gSWYgdGhleSd2ZSBwcm92aWRlZCBhIHR5cGUgd2hpY2ggbWF0Y2hlcyBvbmUgb2YgdGhlaXIgZGVmaW5lZCBjdXN0b21cbiAgICAgICAgLy8gY29tcG9uZW50cy5cbiAgICAgICAgY29uc3QgQ3VzdG9tQ29tcG9uZW50ID0gdGhpcy5nZXRDdXN0b21Db21wb25lbnQodHlwZSk7XG4gICAgICAgIHJldHVybiAoXG4gICAgICAgICAgPEN1c3RvbUNvbXBvbmVudFxuICAgICAgICAgICAga2V5PXtrZXl9XG4gICAgICAgICAgICB7Li4uY29tcG9uZW50UHJvcHN9XG4gICAgICAgICAgICBpbmRleD17aW5kZXh9XG4gICAgICAgICAgICAvLyBXZSBwYXNzIG91ciBpbi1idWlsdCBjb21wb25lbnRzIHRocm91Z2ggdG8gY3VzdG9tIGNvbXBvbmVudHMgc29cbiAgICAgICAgICAgIC8vIHRoZXkgY2FuIHdyYXAvcmVuZGVyIHRoZW0gaWYgdGhleSB3YW50IHRvLlxuICAgICAgICAgICAgY29tcG9uZW50cz17Y29tcG9uZW50c31cbiAgICAgICAgICAgIGN1c3RvbUNvbXBvbmVudHM9e2N1c3RvbUNvbXBvbmVudHN9XG4gICAgICAgICAgLz5cbiAgICAgICAgKTtcbiAgICAgIH1cblxuICAgICAgcmV0dXJuIDxEZWJ1ZyBrZXk9e2tleX0gdHlwZT17cHJvcHMudHlwZX0gey4uLnByb3BzfSAvPjtcbiAgICB9KTtcbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBUeXBlZEl0ZW1zUmVuZGVyZXI7XG4iXX0= */") | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ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8vIFdlIGNhbm5vdCBkZXN0cnVjdHVyZSBwcm9wcy50eXBlIG90aGVyd2lzZSBmbG93IHR5cGUgcmVmaW5tZW50IGRvZXMgbm90IHdvcmtcbiAgICAvLyBodHRwczovL2dpdGh1Yi5jb20vZmFjZWJvb2svZmxvdy9pc3N1ZXMvNTI1OVxuICAgIHJldHVybiBpdGVtcy5tYXAoKHByb3BzLCBpbmRleCkgPT4ge1xuICAgICAgY29uc3Qga2V5ID1cbiAgICAgICAgdHlwZW9mIHByb3BzLm5lc3RlZEdyb3VwS2V5ID09PSAnc3RyaW5nJ1xuICAgICAgICAgID8gcHJvcHMubmVzdGVkR3JvdXBLZXlcbiAgICAgICAgICA6IHByb3BzLmlkO1xuXG4gICAgICBpZiAocHJvcHMudHlwZSA9PT0gJ0lubGluZUNvbXBvbmVudCcpIHtcbiAgICAgICAgY29uc3QgeyB0eXBlLCBjb21wb25lbnQsIC4uLmNvbXBvbmVudFByb3BzIH0gPSBwcm9wcztcbiAgICAgICAgLy8gSWYgdGhleSd2ZSBwcm92aWRlZCBhIGNvbXBvbmVudCBhcyB0aGUgdHlwZVxuICAgICAgICBjb25zdCBDdXN0b21Db21wb25lbnQgPSB0aGlzLmdldEN1c3RvbUNvbXBvbmVudChwcm9wcy5jb21wb25lbnQpO1xuICAgICAgICByZXR1cm4gKFxuICAgICAgICAgIDxDdXN0b21Db21wb25lbnRcbiAgICAgICAgICAgIGtleT17a2V5fVxuICAgICAgICAgICAgey4uLmNvbXBvbmVudFByb3BzfVxuICAgICAgICAgICAgaW5kZXg9e2luZGV4fVxuICAgICAgICAgICAgLy8gV2UgcGFzcyBvdXIgaW4tYnVpbHQgY29tcG9uZW50cyB0aHJvdWdoIHRvIGN1c3RvbSBjb21wb25lbnRzIHNvXG4gICAgICAgICAgICAvLyB0aGV5IGNhbiB3cmFwL3JlbmRlciB0aGVtIGlmIHRoZXkgd2FudCB0by5cbiAgICAgICAgICAgIGNvbXBvbmVudHM9e2NvbXBvbmVudHN9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wZSk7XG4gICAgICAgIHJldHVybiAoXG4gICAgICAgICAgPEN1c3RvbUNvbXBvbmVudFxuICAgICAgICAgICAga2V5PXtrZXl9XG4gICAgICAgICAgICB7Li4uY29tcG9uZW50UHJvcHN9XG4gICAgICAgICAgICBpbmRleD17aW5kZXh9XG4gICAgICAgICAgICAvLyBXZSBwYXNzIG91ciBpbi1idWlsdCBjb21wb25lbnRzIHRocm91Z2ggdG8gY3VzdG9tIGNvbXBvbmVudHMgc29cbiAgICAgICAgICAgIC8vIHRoZXkgY2FuIHdyYXAvcmVuZGVyIHRoZW0gaWYgdGhleSB3YW50IHRvLlxuICAgICAgICAgICAgY29tcG9uZW50cz17Y29tcG9uZW50c31cbiAgICAgICAgICAgIGN1c3RvbUNvbXBvbmVudHM9e2N1c3RvbUNvbXBvbmVudHN9XG4gICAgICAgICAgLz5cbiAgICAgICAgKTtcbiAgICAgIH1cblxuICAgICAgcmV0dXJuIDxEZWJ1ZyBrZXk9e2tleX0gdHlwZT17cHJvcHMudHlwZX0gey4uLnByb3BzfSAvPjtcbiAgICB9KTtcbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBUeXBlZEl0ZW1zUmVuZGVyZXI7XG4iXX0= */") | ||
}, ___EmotionJSX(ContainerHeaderComponent, props)) | ||
@@ -78,3 +78,3 @@ ); | ||
padding: "".concat(gridSize / 2, "px") | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9yZW5kZXJlci9jb21wb25lbnRzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTRFSSIsImZpbGUiOiIuLi9zcmMvcmVuZGVyZXIvY29tcG9uZW50cy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5cbmltcG9ydCBSZWFjdCwge1xuICBQdXJlQ29tcG9uZW50LFxuICB0eXBlIENvbXBvbmVudFR5cGU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3BzLm5lc3RlZEdyb3VwS2V5ID09PSAnc3RyaW5nJ1xuICAgICAgICAgID8gcHJvcHMubmVzdGVkR3JvdXBLZXlcbiAgICAgICAgICA6IHByb3BzLmlkO1xuXG4gICAgICBpZiAocHJvcHMudHlwZSA9PT0gJ0lubGluZUNvbXBvbmVudCcpIHtcbiAgICAgICAgY29uc3QgeyB0eXBlLCBjb21wb25lbnQsIC4uLmNvbXBvbmVudFByb3BzIH0gPSBwcm9wcztcbiAgICAgICAgLy8gSWYgdGhleSd2ZSBwcm92aWRlZCBhIGNvbXBvbmVudCBhcyB0aGUgdHlwZVxuICAgICAgICBjb25zdCBDdXN0b21Db21wb25lbnQgPSB0aGlzLmdldEN1c3RvbUNvbXBvbmVudChwcm9wcy5jb21wb25lbnQpO1xuICAgICAgICByZXR1cm4gKFxuICAgICAgICAgIDxDdXN0b21Db21wb25lbnRcbiAgICAgICAgICAgIGtleT17a2V5fVxuICAgICAgICAgICAgey4uLmNvbXBvbmVudFByb3BzfVxuICAgICAgICAgICAgaW5kZXg9e2luZGV4fVxuICAgICAgICAgICAgLy8gV2UgcGFzcyBvdXIgaW4tYnVpbHQgY29tcG9uZW50cyB0aHJvdWdoIHRvIGN1c3RvbSBjb21wb25lbnRzIHNvXG4gICAgICAgICAgICAvLyB0aGV5IGNhbiB3cmFwL3JlbmRlciB0aGVtIGlmIHRoZXkgd2FudCB0by5cbiAgICAgICAgICAgIGNvbXBvbmVudHM9e2NvbXBvbmVudHN9XG4gICAgICAgICAgICBjdXN0b21Db21wb25lbnRzPXtjdXN0b21Db21wb25lbnRzfVxuICAgICAgICAgIC8+XG4gICAgICAgICk7XG4gICAgICB9IGVsc2UgaWYgKE9iamVjdC5rZXlzKGdyb3VwQ29tcG9uZW50cykuaW5jbHVkZXMocHJvcHMudHlwZSkpIHtcbiAgICAgICAgLy8gSWYgdGhleSd2ZSBwcm92aWRlZCBhIHR5cGUgd2hpY2ggbWF0Y2hlcyBvbmUgb2Ygb3VyIGluLWJ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IC8vIHRoZXkgY2FuIHdyYXAvcmVuZGVyIHRoZW0gaWYgdGhleSB3YW50IHRvLlxuICAgICAgICAgICAgY29tcG9uZW50cz17Y29tcG9uZW50c31cbiAgICAgICAgICAgIGN1c3RvbUNvbXBvbmVudHM9e2N1c3RvbUNvbXBvbmVudHN9XG4gICAgICAgICAgLz5cbiAgICAgICAgKTtcbiAgICAgIH1cblxuICAgICAgcmV0dXJuIDxEZWJ1ZyBrZXk9e2tleX0gdHlwZT17cHJvcHMudHlwZX0gey4uLnByb3BzfSAvPjtcbiAgICB9KTtcbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBUeXBlZEl0ZW1zUmVuZGVyZXI7XG4iXX0= */") | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9yZW5kZXJlci9jb21wb25lbnRzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTRFSSIsImZpbGUiOiIuLi9zcmMvcmVuZGVyZXIvY29tcG9uZW50cy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5cbmltcG9ydCBSZWFjdCwge1xuICBQdXJlQ29tcG9uZW50LFxuICB0eXBlIENvbXBvbmVudFR5cGUsXG4gIHR5cGUgRWxlbWVudENvbmZpZyxcbiAgdHlwZSBOb2RlLFxufSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBncmlkU2l6ZSBhcyBncmlkU2l6ZUZuIH0gZnJvbSAnQGF0bGFza2l0L3RoZW1lJztcblxuaW1wb3J0IHsgbmF2aWdhdGlvbkl0ZW1DbGlja2VkIH0gZnJvbSAnLi4vY29tbW9uL2FuYWx5dGljcyc7XG5cbmltcG9ydCBSZW5kZXJCbG9ja2VyIGZyb20gJy4uL2NvbXBvbmVudHMvY29tbW9uL1JlbmRlckJsb2NrZXInO1xuXG5pbXBvcnQgQ29udGFpbmVySG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Db21wb25lbnQgPSB0aGlzLmdldEN1c3RvbUNvbXBvbmVudChwcm9wcy5jb21wb25lbnQpO1xuICAgICAgICByZXR1cm4gKFxuICAgICAgICAgIDxDdXN0b21Db21wb25lbnRcbiAgICAgICAgICAgIGtleT17a2V5fVxuICAgICAgICAgICAgey4uLmNvbXBvbmVudFByb3BzfVxuICAgICAgICAgICAgaW5kZXg9e2luZGV4fVxuICAgICAgICAgICAgLy8gV2UgcGFzcyBvdXIgaW4tYnVpbHQgY29tcG9uZW50cyB0aHJvdWdoIHRvIGN1c3RvbSBjb21wb25lbnRzIHNvXG4gICAgICAgICAgICAvLyB0aGV5IGNhbiB3cmFwL3JlbmRlciB0aGVtIGlmIHRoZXkgd2FudCB0by5cbiAgICAgICAgICAgIGNvbXBvbmVudHM9e2NvbXBvbmVudHN9XG4gICAgICAgICAgICBjdXN0b21Db21wb25lbnRzPXtjdXN0b21Db21wb25lbnRzfVxuICAgICAgICAgIC8+XG4gICAgICAgICk7XG4gICAgICB9XG4gICAgICBpZiAoT2JqZWN0LmtleXMoZ3JvdXBDb21wb25lbnRzKS5pbmNsdWRlcyhwcm9wcy50eXBlKSkge1xuICAgICAgICAvLyBJZiB0aGV5J3ZlIHByb3ZpZGVkIGEgdHlwZSB3aGljaCBtYXRjaGVzIG9uZSBvZiBvdXIgaW4tYnVpbHQgZ3JvdXBcbiAgICAgICAgLy8gY29tcG9uZW50c1xuICAgICAgICByZXR1cm4gcmVuZGVyR3JvdXBDb21wb25lbnQocHJvcHMsIGtleSwgY3VzdG9tQ29tcG9uZW50cyk7XG4gICAgICAgIC8vIElmIHRoZXkndmUgcHJvdmlkZWQgYSB0eXBlIHdoaWNoIG1hdGNoZXMgb25lIG9mIG91ciBpbi1idWlsdCBpdGVtXG4gICAgICAgIC8vIGNvbXBvbmVudHMuXG4gICAgICB9XG4gICAgICBpZiAoT2JqZWN0LmtleXMoaXRlbUNvbXBvbmVudHMpLmluY2x1ZGVzKHByb3BzLnR5cGUpKSB7XG4gICAgICAgIHJldHVybiByZW5kZXJJdGVtQ29tcG9uZW50KHByb3BzLCBrZXksIGluZGV4KTtcbiAgICAgIH1cbiAgICAgIGlmIChPYmplY3Qua2V5cyhjdXN0b21Db21wb25lbnRzKS5pbmNsdWRlcyhwcm9wcy50eXBlKSkge1xuICAgICAgICBjb25zdCB7IHR5cGUsIC4uLmNvbXBvbmVudFByb3BzIH0gPSBwcm9wcztcbiAgICAgICAgLy8gSWYgdGhleSd2ZSBwcm92aWRlZCBhIHR5cGUgd2hpY2ggbWF0Y2hlcyBvbmUgb2YgdGhlaXIgZGVmaW5lZCBjdXN0b21cbiAgICAgICAgLy8gY29tcG9uZW50cy5cbiAgICAgICAgY29uc3QgQ3VzdG9tQ29tcG9uZW50ID0gdGhpcy5nZXRDdXN0b21Db21wb25lbnQodHlwZSk7XG4gICAgICAgIHJldHVybiAoXG4gICAgICAgICAgPEN1c3RvbUNvbXBvbmVudFxuICAgICAgICAgICAga2V5PXtrZXl9XG4gICAgICAgICAgICB7Li4uY29tcG9uZW50UHJvcHN9XG4gICAgICAgICAgICBpbmRleD17aW5kZXh9XG4gICAgICAgICAgICAvLyBXZSBwYXNzIG91ciBpbi1idWlsdCBjb21wb25lbnRzIHRocm91Z2ggdG8gY3VzdG9tIGNvbXBvbmVudHMgc29cbiAgICAgICAgICAgIC8vIHRoZXkgY2FuIHdyYXAvcmVuZGVyIHRoZW0gaWYgdGhleSB3YW50IHRvLlxuICAgICAgICAgICAgY29tcG9uZW50cz17Y29tcG9uZW50c31cbiAgICAgICAgICAgIGN1c3RvbUNvbXBvbmVudHM9e2N1c3RvbUNvbXBvbmVudHN9XG4gICAgICAgICAgLz5cbiAgICAgICAgKTtcbiAgICAgIH1cblxuICAgICAgcmV0dXJuIDxEZWJ1ZyBrZXk9e2tleX0gdHlwZT17cHJvcHMudHlwZX0gey4uLnByb3BzfSAvPjtcbiAgICB9KTtcbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBUeXBlZEl0ZW1zUmVuZGVyZXI7XG4iXX0= */") | ||
}, JSON.stringify(props, null, 2)); | ||
@@ -461,3 +461,5 @@ }; | ||
})); | ||
} else if (Object.keys(groupComponents).includes(props.type)) { | ||
} | ||
if (Object.keys(groupComponents).includes(props.type)) { | ||
// If they've provided a type which matches one of our in-built group | ||
@@ -467,5 +469,9 @@ // components | ||
// components. | ||
} else if (Object.keys(itemComponents).includes(props.type)) { | ||
} | ||
if (Object.keys(itemComponents).includes(props.type)) { | ||
return renderItemComponent(props, key, index); | ||
} else if (Object.keys(customComponents).includes(props.type)) { | ||
} | ||
if (Object.keys(customComponents).includes(props.type)) { | ||
var _type15 = props.type, | ||
@@ -472,0 +478,0 @@ _componentProps = _objectWithoutProperties(props, ["type"]); // If they've provided a type which matches one of their defined custom |
{ | ||
"name": "@atlaskit/navigation-next", | ||
"version": "5.1.4", | ||
"version": "5.1.5", | ||
"sideEffects": false | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1028237
26
11958
23
Updated@atlaskit/avatar@^15.0.4
Updated@atlaskit/icon@^16.0.9
Updated@atlaskit/select@^8.1.1
Updated@atlaskit/spinner@^10.0.7
Updated@atlaskit/theme@^8.1.7
Updated@atlaskit/tooltip@^13.0.4