@atlaskit/navigation-next
Advanced tools
Comparing version 5.1.2 to 5.1.3
# @atlaskit/navigation-next | ||
## 5.1.3 | ||
- [patch] [a28eb04426](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a28eb04426): | ||
- Migrates package from emotion 9 to emotion 10. No behaviour or API changes. | ||
## 5.1.2 | ||
@@ -4,0 +9,0 @@ - [patch] [da6ef8b69a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/da6ef8b69a): |
import _extends from "@babel/runtime/helpers/extends"; | ||
import { css as _css } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React from 'react'; | ||
@@ -15,4 +16,6 @@ import { transitionTimingFunction, transitionDuration } from './constants'; | ||
var colorStops = "\n rgba(0, 0, 0, 0.2) 0px,\n rgba(0, 0, 0, 0.2) 1px,\n rgba(0, 0, 0, 0.1) 1px,\n rgba(0, 0, 0, 0) 100%\n "; | ||
return React.createElement("div", _extends({ | ||
className: _css({ | ||
return ___EmotionJSX("div", _extends({ | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
background: "linear-gradient(".concat(direction, ", ").concat(colorStops, ")"), | ||
@@ -29,3 +32,3 @@ bottom: 0, | ||
width: width | ||
}) | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb21tb24vcHJpbWl0aXZlcy5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE0Qk0iLCJmaWxlIjoiLi4vc3JjL2NvbW1vbi9wcmltaXRpdmVzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcblxuaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IHRyYW5zaXRpb25UaW1pbmdGdW5jdGlvbiwgdHJhbn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2l0aW9uUHJvcGVydHk6ICdsZWZ0LCBvcGFjaXR5LCB3aWR0aCcsXG4gICAgICAgIHRyYW5zaXRpb25UaW1pbmdGdW5jdGlvbixcbiAgICAgICAgd2lkdGgsXG4gICAgICB9fVxuICAgICAgey4uLnByb3BzfVxuICAgIC8+XG4gICk7XG59O1xuU2hhZG93LmRlZmF1bHRQcm9wcyA9IHtcbiAgZGlyZWN0aW9uOiAndG8gbGVmdCcsXG59O1xuIl19 */") | ||
}, props)); | ||
@@ -32,0 +35,0 @@ }; |
@@ -10,2 +10,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component, Fragment } from 'react'; | ||
@@ -46,3 +47,3 @@ import { NavigationAnalyticsContext } from '@atlaskit/analytics-namespaced-context'; | ||
var ContainerSkeleton = _this.props.containerSkeleton; | ||
return React.createElement(ContainerSkeleton, { | ||
return ___EmotionJSX(ContainerSkeleton, { | ||
type: _this.props.firstSkeletonToRender | ||
@@ -83,3 +84,3 @@ }); | ||
return React.createElement(Fragment, null, React.createElement(GlobalNavigation, null), React.createElement(LayerInitialised, { | ||
return ___EmotionJSX(Fragment, null, ___EmotionJSX(GlobalNavigation, null), ___EmotionJSX(LayerInitialised, { | ||
activeView: view, | ||
@@ -141,3 +142,3 @@ initialised: hasInitialised, | ||
ItemsRenderer = _this$props3.itemsRenderer; | ||
return React.createElement(ItemsRenderer, { | ||
return ___EmotionJSX(ItemsRenderer, { | ||
customComponents: customComponents, | ||
@@ -163,3 +164,3 @@ items: view.data | ||
topOffset = _this$props4.topOffset; | ||
return React.createElement(NavigationAnalyticsContext, { | ||
return ___EmotionJSX(NavigationAnalyticsContext, { | ||
data: { | ||
@@ -171,3 +172,3 @@ attributes: _objectSpread({ | ||
} | ||
}, React.createElement(LayoutManager, { | ||
}, ___EmotionJSX(LayoutManager, { | ||
globalNavigation: this.renderGlobalNavigation, | ||
@@ -199,5 +200,5 @@ containerNavigation: view && view.type === 'container' || !view && firstSkeletonToRender === 'container' && !this.state.hasInitialised ? this.renderContainerNavigation : null, | ||
var AsyncLayoutManagerWithView = function AsyncLayoutManagerWithView(props) { | ||
return React.createElement(ViewControllerSubscriber, null, function (_ref) { | ||
return ___EmotionJSX(ViewControllerSubscriber, null, function (_ref) { | ||
var activeView = _ref.state.activeView; | ||
return React.createElement(AsyncLayoutManagerWithViewControllerBase, _extends({ | ||
return ___EmotionJSX(AsyncLayoutManagerWithViewControllerBase, _extends({ | ||
view: activeView | ||
@@ -204,0 +205,0 @@ }, props)); |
import _extends from "@babel/runtime/helpers/extends"; | ||
import { css as _css } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
@@ -10,2 +10,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
@@ -18,3 +19,3 @@ import ArrowLeftCircleIcon from '@atlaskit/icon/glyph/arrow-left-circle'; | ||
var ArrowLeft = function ArrowLeft() { | ||
return React.createElement(ArrowLeftCircleIcon, { | ||
return ___EmotionJSX(ArrowLeftCircleIcon, { | ||
primaryColor: "currentColor", | ||
@@ -25,6 +26,2 @@ secondaryColor: "inherit" | ||
var _ref = { | ||
marginBottom: gridSize * 2 | ||
}; | ||
var BackItem = | ||
@@ -55,5 +52,9 @@ /*#__PURE__*/ | ||
return React.createElement("div", { | ||
className: _css(_ref) | ||
}, React.createElement(ConnectedItem, _extends({}, props, { | ||
return ___EmotionJSX("div", { | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
marginBottom: gridSize * 2 | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi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iAgICBsZXQgYmVmb3JlID0gYmVmb3JlUHJvcDtcbiAgICBpZiAoIWJlZm9yZSkge1xuICAgICAgYmVmb3JlID0gQXJyb3dMZWZ0O1xuICAgIH1cblxuICAgIHJldHVybiAoXG4gICAgICA8ZGl2IGNzcz17eyBtYXJnaW5Cb3R0b206IGdyaWRTaXplICogMiB9fT5cbiAgICAgICAgPENvbm5lY3RlZEl0ZW0gey4uLnByb3BzfSBhZnRlcj17bnVsbH0gYmVmb3JlPXtiZWZvcmV9IHRleHQ9e3RleHR9IC8+XG4gICAgICA8L2Rpdj5cbiAgICApO1xuICB9XG59XG4iXX0= */") | ||
}, ___EmotionJSX(ConnectedItem, _extends({}, props, { | ||
after: null, | ||
@@ -60,0 +61,0 @@ before: before, |
@@ -8,2 +8,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import _inherits from "@babel/runtime/helpers/inherits"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
@@ -31,5 +32,5 @@ import GoToItem from '../GoToItem'; | ||
return this.props.goTo ? React.createElement(GoToItem, _extends({}, props, { | ||
return this.props.goTo ? ___EmotionJSX(GoToItem, _extends({}, props, { | ||
after: after | ||
})) : React.createElement(PresentationalItem, _extends({}, props, { | ||
})) : ___EmotionJSX(PresentationalItem, _extends({}, props, { | ||
after: after === null ? undefined : after | ||
@@ -36,0 +37,0 @@ })); |
@@ -11,2 +11,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
@@ -29,3 +30,3 @@ import ArrowRightCircleIcon from '@atlaskit/icon/glyph/arrow-right-circle'; | ||
if (incomingView && incomingView.id === goTo) { | ||
return React.createElement(Spinner, { | ||
return ___EmotionJSX(Spinner, { | ||
delay: spinnerDelay, | ||
@@ -38,3 +39,3 @@ invertColor: true, | ||
if (isActive || isHover || isFocused) { | ||
return React.createElement(ArrowRightCircleIcon, { | ||
return ___EmotionJSX(ArrowRightCircleIcon, { | ||
primaryColor: "currentColor", | ||
@@ -103,3 +104,3 @@ secondaryColor: "inherit" | ||
return React.createElement(ConnectedItem, _extends({ | ||
return ___EmotionJSX(ConnectedItem, _extends({ | ||
onClick: this.handleClick | ||
@@ -106,0 +107,0 @@ }, props)); |
@@ -0,1 +1,2 @@ | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React from 'react'; | ||
@@ -23,3 +24,3 @@ import ItemsRenderer from '../../../renderer'; | ||
topOffset = _ref.topOffset; | ||
return React.createElement(AsyncLayoutManagerWithViewController, { | ||
return ___EmotionJSX(AsyncLayoutManagerWithViewController, { | ||
onExpandStart: onExpandStart, | ||
@@ -36,3 +37,3 @@ onExpandEnd: onExpandEnd, | ||
containerSkeleton: function containerSkeleton() { | ||
return firstSkeletonToRender ? React.createElement(SkeletonContainerView, { | ||
return firstSkeletonToRender ? ___EmotionJSX(SkeletonContainerView, { | ||
type: firstSkeletonToRender | ||
@@ -39,0 +40,0 @@ }) : null; |
@@ -9,2 +9,3 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
@@ -67,6 +68,6 @@ import { DragDropContext } from 'react-beautiful-dnd'; | ||
onDragUpdate = _this$props.onDragUpdate; | ||
return React.createElement(LayoutEventEmitter, null, function (_ref5) { | ||
return ___EmotionJSX(LayoutEventEmitter, null, function (_ref5) { | ||
var emitItemDragStart = _ref5.emitItemDragStart, | ||
emitItemDragEnd = _ref5.emitItemDragEnd; | ||
return React.createElement(DragDropContext, { | ||
return ___EmotionJSX(DragDropContext, { | ||
onDragUpdate: onDragUpdate, | ||
@@ -73,0 +74,0 @@ onDragStart: function onDragStart() { |
import _extends from "@babel/runtime/helpers/extends"; | ||
import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import { css as _css } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
@@ -10,2 +10,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _inherits from "@babel/runtime/helpers/inherits"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
@@ -49,9 +50,11 @@ import { Droppable } from 'react-beautiful-dnd'; | ||
return React.createElement(Droppable, { | ||
return ___EmotionJSX(Droppable, { | ||
droppableId: groupProps.id | ||
}, function (droppableProvided, snapshot) { | ||
return React.createElement("div", _extends({ | ||
return ___EmotionJSX("div", _extends({ | ||
ref: droppableProvided.innerRef, | ||
className: _css(_objectSpread({}, defaultStyles, innerStyle, applyDraggingStyles(snapshot))) | ||
}, droppableProvided.droppableProps), React.createElement(Group, groupProps, children, droppableProvided.placeholder)); | ||
css: | ||
/*#__PURE__*/ | ||
_css(_objectSpread({}, defaultStyles, innerStyle, applyDraggingStyles(snapshot)), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2Nvbm5lY3RlZC9Tb3J0YWJsZUdyb3VwL2luZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStCWSIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9jb25uZWN0ZWQvU29ydGFibGVHcm91cC9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5cbmltcG9ydCBSZWFjdCwgeyBDb21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBEcm9wcGFibGUsIHR5cGUgRHJvcHBhYmxlU3RhdGVTbmFwc2hvdCB9IGZyb20gJ3JlYWN0LWJlYXV0aWZ1bC1kbmQnO1xu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aXZcbiAgICAgICAgICAgIHJlZj17ZHJvcHBhYmxlUHJvdmlkZWQuaW5uZXJSZWZ9XG4gICAgICAgICAgICBjc3M9e3tcbiAgICAgICAgICAgICAgLi4uZGVmYXVsdFN0eWxlcyxcbiAgICAgICAgICAgICAgLi4uaW5uZXJTdHlsZSxcbiAgICAgICAgICAgICAgLi4uYXBwbHlEcmFnZ2luZ1N0eWxlcyhzbmFwc2hvdCksXG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgey4uLmRyb3BwYWJsZVByb3ZpZGVkLmRyb3BwYWJsZVByb3BzfVxuICAgICAgICAgID5cbiAgICAgICAgICAgIDxHcm91cCB7Li4uZ3JvdXBQcm9wc30+XG4gICAgICAgICAgICAgIHtjaGlsZHJlbn1cbiAgICAgICAgICAgICAge2Ryb3BwYWJsZVByb3ZpZGVkLnBsYWNlaG9sZGVyfVxuICAgICAgICAgICAgPC9Hcm91cD5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgKX1cbiAgICAgIDwvRHJvcHBhYmxlPlxuICAgICk7XG4gIH1cbn1cbiJdfQ== */") | ||
}, droppableProvided.droppableProps), ___EmotionJSX(Group, groupProps, children, droppableProvided.placeholder)); | ||
}); | ||
@@ -58,0 +61,0 @@ } |
@@ -9,2 +9,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
@@ -43,3 +44,3 @@ import { colors } from '@atlaskit/theme'; | ||
return React.createElement(Draggable, { | ||
return ___EmotionJSX(Draggable, { | ||
draggableId: itemProps.id, | ||
@@ -53,3 +54,3 @@ index: index, | ||
var onClick = draggableSnapshot.isDragging ? undefined : itemProps.onClick; | ||
return React.createElement(Item, _extends({ | ||
return ___EmotionJSX(Item, _extends({ | ||
draggableProps: draggableProps, | ||
@@ -56,0 +57,0 @@ innerRef: draggableProvided.innerRef, |
@@ -10,2 +10,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { PureComponent } from 'react'; | ||
@@ -64,3 +65,3 @@ import { gridSize as gridSizeFn } from '@atlaskit/theme'; | ||
return React.createElement(Item, _extends({}, props, { | ||
return ___EmotionJSX(Item, _extends({}, props, { | ||
styles: patchedStyles, | ||
@@ -67,0 +68,0 @@ spacing: "default" |
@@ -9,2 +9,3 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component, Fragment } from 'react'; | ||
@@ -58,3 +59,3 @@ import Transition from 'react-transition-group/Transition'; | ||
var ContainerComponent = isVisible && CachedContainer ? CachedContainer : Fragment; | ||
return React.createElement(Fragment, null, React.createElement(ProductNavigation, null, isVisible ? React.createElement(NavigationAnalyticsContext, { | ||
return ___EmotionJSX(Fragment, null, ___EmotionJSX(ProductNavigation, null, isVisible ? ___EmotionJSX(NavigationAnalyticsContext, { | ||
data: { | ||
@@ -65,3 +66,3 @@ attributes: { | ||
} | ||
}, React.createElement(Product, null)) : null), React.createElement(Transition, { | ||
}, ___EmotionJSX(Product, null)) : null), ___EmotionJSX(Transition, { | ||
in: shouldRenderContainer, | ||
@@ -72,6 +73,6 @@ timeout: this.isMounted ? transitionDurationMs : 0, | ||
}, function (state) { | ||
return React.createElement(ContainerNavigation, { | ||
return ___EmotionJSX(ContainerNavigation, { | ||
isEntering: state === 'entering', | ||
isExiting: state === 'exiting' | ||
}, React.createElement(NavigationAnalyticsContext, { | ||
}, ___EmotionJSX(NavigationAnalyticsContext, { | ||
data: { | ||
@@ -82,3 +83,3 @@ attributes: { | ||
} | ||
}, React.createElement(ContainerComponent, null))); | ||
}, ___EmotionJSX(ContainerComponent, null))); | ||
})); | ||
@@ -85,0 +86,0 @@ } |
@@ -1,12 +0,8 @@ | ||
import { css as _css6 } from "emotion"; | ||
import { css as _css5 } from "emotion"; | ||
import { css as _css4 } from "emotion"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import { css as _css3 } from "emotion"; | ||
import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import { css as _css2 } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import _extends from "@babel/runtime/helpers/extends"; | ||
import { css as _css } from "emotion"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Fragment } from 'react'; | ||
import { keyframes } from 'emotion'; | ||
import { css, keyframes } from '@emotion/core'; | ||
import { colors } from '@atlaskit/theme'; | ||
@@ -16,10 +12,10 @@ import { transitionDuration, transitionTimingFunction } from '../../../common/constants'; | ||
import { applyDisabledProperties } from '../../../common/helpers'; | ||
var _ref = { | ||
boxSizing: 'border-box', | ||
display: 'flex', | ||
flexDirection: 'column', | ||
height: '100%', | ||
overflowX: 'hidden', | ||
overflowY: 'auto', | ||
width: '100%' | ||
var _ref = process.env.NODE_ENV === "production" ? { | ||
name: "kq308b", | ||
styles: "box-sizing:border-box;display:flex;flex-direction:column;height:100%;overflow-x:hidden;overflow-y:auto;width:100%;" | ||
} : { | ||
name: "kq308b", | ||
styles: "box-sizing:border-box;display:flex;flex-direction:column;height:100%;overflow-x:hidden;overflow-y:auto;width:100%;", | ||
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0NvbnRlbnROYXZpZ2F0aW9uL3ByaW1pdGl2ZXMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBaUNJIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0NvbnRlbnROYXZpZ2F0aW9uL3ByaW1pdGl2ZXMuanMi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nksXG59KSA9PiAoXG4gIDxkaXZcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdmbGV4JyxcbiAgICAgIGZsZXhEaXJlY3Rpb246ICdyb3cnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgaGVpZ2h0OiAnMTAwJScsXG4gICAgICAuLi5hcHBseURpc2FibGVkUHJvcGVydGllcyghIWRpc2FibGVJbnRlcmFjdGlvbiksXG4gICAgfX1cbiAgICB7Li4ucHJvcHN9XG4gIC8+XG4pO1xuIl19 */" | ||
}; | ||
@@ -34,4 +30,4 @@ | ||
var ScrollProvider = function ScrollProvider(props) { | ||
return React.createElement("div", _extends({ | ||
className: _css(_ref) | ||
return ___EmotionJSX("div", _extends({ | ||
css: _ref | ||
}, props)); | ||
@@ -51,4 +47,6 @@ }; | ||
} : _ref2$theme; | ||
return React.createElement("div", { | ||
className: _css2(_objectSpread({}, theme.mode.contentNav().product, { | ||
return ___EmotionJSX("div", { | ||
css: | ||
/*#__PURE__*/ | ||
_css(_objectSpread({}, theme.mode.contentNav().product, { | ||
'&:not(:only-child)': { | ||
@@ -60,4 +58,4 @@ // Setting z-index ensures ScrollHints stay below the container nav | ||
} | ||
})) | ||
}, React.createElement(ScrollProvider, null, children)); | ||
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0NvbnRlbnROYXZpZ2F0aW9uL3ByaW1pdGl2ZXMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMkRJIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0NvbnRlbnROYXZpZ2F0aW9uL3ByaW1pdGl2ZXMuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuX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cbiAgICAgIGRpc3BsYXk6ICdmbGV4JyxcbiAgICAgIGZsZXhEaXJlY3Rpb246ICdyb3cnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgaGVpZ2h0OiAnMTAwJScsXG4gICAgICAuLi5hcHBseURpc2FibGVkUHJvcGVydGllcyghIWRpc2FibGVJbnRlcmFjdGlvbiksXG4gICAgfX1cbiAgICB7Li4ucHJvcHN9XG4gIC8+XG4pO1xuIl19 */") | ||
}, ___EmotionJSX(ScrollProvider, null, children)); | ||
}; | ||
@@ -68,3 +66,3 @@ | ||
var children = _ref3.children; | ||
return React.createElement(ThemeProvider, { | ||
return ___EmotionJSX(ThemeProvider, { | ||
theme: function theme(oldTheme) { | ||
@@ -77,10 +75,8 @@ return _objectSpread({ | ||
} | ||
}, React.createElement(Fragment, null, children)); | ||
}, ___EmotionJSX(Fragment, null, children)); | ||
}; | ||
export var ProductNavigation = function ProductNavigation(props) { | ||
return React.createElement(ProductNavigationTheme, null, React.createElement(ProductNavigationPrimitive, props)); | ||
return ___EmotionJSX(ProductNavigationTheme, null, ___EmotionJSX(ProductNavigationPrimitive, props)); | ||
}; | ||
var slideIn = | ||
/*#__PURE__*/ | ||
keyframes(["\n from { transform: translateX(100%); }\n to { transform: translateX(0); }\n"]); | ||
var slideIn = keyframes(["\n from { transform: translateX(100%); }\n to { transform: translateX(0); }\n"]); | ||
/** | ||
@@ -98,5 +94,6 @@ * ContainerNavigation | ||
var transform = isExiting ? 'translateX(100%)' : null; | ||
return React.createElement("div", { | ||
className: _css3(_objectSpread({}, theme.mode.contentNav().container, { | ||
animationName: animationName, | ||
return ___EmotionJSX("div", { | ||
css: | ||
/*#__PURE__*/ | ||
css(_objectSpread({}, theme.mode.contentNav().container, { | ||
animationDuration: transitionDuration, | ||
@@ -109,4 +106,4 @@ animationFillMode: 'forwards', | ||
transform: transform | ||
})) | ||
}, React.createElement(ScrollProvider, null, children)); | ||
}), " animation-name:", animationName, ";" + (process.env.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UnLFxuICAgICAgcG9zaXRpb246ICdyZWxhdGl2ZScsXG4gICAgICAuLi5hcHBseURpc2FibGVkUHJvcGVydGllcyghIWRpc2FibGVJbnRlcmFjdGlvbiksXG4gICAgfX1cbiAgICB7Li4ucHJvcHN9XG4gIC8+XG4pO1xuXG5leHBvcnQgY29uc3QgQ29udGFpbmVyTmF2aWdhdGlvbk1hc2sgPSAoe1xuICBkaXNhYmxlSW50ZXJhY3Rpb24sXG4gIC4uLnByb3BzXG59OiB7XG4gIGRpc2FibGVJbnRlcmFjdGlvbj86IGJvb2xlYW4sXG4gIFtzdHJpbmddOiBhbnksXG59KSA9PiAoXG4gIDxkaXZcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdmbGV4JyxcbiAgICAgIGZsZXhEaXJlY3Rpb246ICdyb3cnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgaGVpZ2h0OiAnMTAwJScsXG4gICAgICAuLi5hcHBseURpc2FibGVkUHJvcGVydGllcyghIWRpc2FibGVJbnRlcmFjdGlvbiksXG4gICAgfX1cbiAgICB7Li4ucHJvcHN9XG4gIC8+XG4pO1xuIl19 */")) | ||
}, ___EmotionJSX(ScrollProvider, null, children)); | ||
}; | ||
@@ -117,3 +114,3 @@ | ||
var children = _ref5.children; | ||
return React.createElement(ThemeProvider, { | ||
return ___EmotionJSX(ThemeProvider, { | ||
theme: { | ||
@@ -123,6 +120,6 @@ mode: light, | ||
} | ||
}, React.createElement(Fragment, null, children)); | ||
}, ___EmotionJSX(Fragment, null, children)); | ||
}; | ||
export var ContainerNavigation = function ContainerNavigation(props) { | ||
return React.createElement(ContainerNavigationTheme, null, React.createElement(ContainerNavigationPrimitive, props)); | ||
return ___EmotionJSX(ContainerNavigationTheme, null, ___EmotionJSX(ContainerNavigationPrimitive, props)); | ||
}; | ||
@@ -138,4 +135,6 @@ /** | ||
return React.createElement("div", _extends({ | ||
className: _css4({ | ||
return ___EmotionJSX("div", _extends({ | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
backgroundColor: colors.N70A, | ||
@@ -154,3 +153,3 @@ cursor: isVisible ? 'pointer' : 'default', | ||
zIndex: 5 | ||
}), | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0NvbnRlbnROYXZpZ2F0aW9uL3ByaW1pdGl2ZXMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBc0tJIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0NvbnRlbnROYXZpZ2F0aW9uL3ByaW1pdGl2ZXMuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuXG5pbXBvcnQgUmVhY3QsIHsgRnJhZ21lbnQsIHR5cGUgTm9kZSB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGNzcywga2V5ZnJhbWVzIH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XG5pbXBvcnQgeyBjb2xvcnMgfSBmcm9tICdAYXRsYXNraXQvdGhlbWUnO1xuXG5pbXBvcnQge1xuICB0cmFuc2l0aW9uRHVyYXRpb24sXG4gIHRyYW5zaXRpb25UaW1pbmdGdW5jdGlvbixcbn0gZnJvbSAnLi4vLi4vLi4vY29tbW9uL2NvbnN0YW50cyc7XG5pbXBvcnQge1xuICBsaWdodCxcbiAgd2l0aENvbnRlbnRUaGVtZSxcbiAgVGhlbWVQcm92aWRlcixcbiAgdHlwZSBQcm9kdWN0VGhlbWUsXG59IGZyb20gJy4uLy4uLy4uL3RoZW1lJztcbmltcG9ydCB0eXBlIHsgUmVzaXphYmxlIH0gZnJvbSAnLi4vTGF5b3V0TWFuYWdlci9wcmltaXRpdmVzJztcbmltcG9ydCB7IGFwcGx5RGlzY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biAgLi4ucHJvcHNcbn06IFJlc2l6YWJsZSkgPT4gKFxuICA8ZGl2XG4gICAgcmVmPXtpbm5lclJlZn1cbiAgICBjc3M9e3tcbiAgICAgIGhlaWdodDogJzEwMCUnLFxuICAgICAgcG9zaXRpb246ICdyZWxhdGl2ZScsXG4gICAgICAuLi5hcHBseURpc2FibGVkUHJvcGVydGllcyghIWRpc2FibGVJbnRlcmFjdGlvbiksXG4gICAgfX1cbiAgICB7Li4ucHJvcHN9XG4gIC8+XG4pO1xuXG5leHBvcnQgY29uc3QgQ29udGFpbmVyTmF2aWdhdGlvbk1hc2sgPSAoe1xuICBkaXNhYmxlSW50ZXJhY3Rpb24sXG4gIC4uLnByb3BzXG59OiB7XG4gIGRpc2FibGVJbnRlcmFjdGlvbj86IGJvb2xlYW4sXG4gIFtzdHJpbmddOiBhbnksXG59KSA9PiAoXG4gIDxkaXZcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdmbGV4JyxcbiAgICAgIGZsZXhEaXJlY3Rpb246ICdyb3cnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgaGVpZ2h0OiAnMTAwJScsXG4gICAgICAuLi5hcHBseURpc2FibGVkUHJvcGVydGllcyghIWRpc2FibGVJbnRlcmFjdGlvbiksXG4gICAgfX1cbiAgICB7Li4ucHJvcHN9XG4gIC8+XG4pO1xuIl19 */"), | ||
onClick: onClick, | ||
@@ -165,8 +164,10 @@ role: "presentation" | ||
return React.createElement("div", _extends({ | ||
return ___EmotionJSX("div", _extends({ | ||
ref: innerRef, | ||
className: _css5(_objectSpread({ | ||
css: | ||
/*#__PURE__*/ | ||
_css(_objectSpread({ | ||
height: '100%', | ||
position: 'relative' | ||
}, applyDisabledProperties(!!disableInteraction))) | ||
}, applyDisabledProperties(!!disableInteraction)), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbI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pc2FibGVJbnRlcmFjdGlvbiksXG4gICAgfX1cbiAgICB7Li4ucHJvcHN9XG4gIC8+XG4pO1xuXG5leHBvcnQgY29uc3QgQ29udGFpbmVyTmF2aWdhdGlvbk1hc2sgPSAoe1xuICBkaXNhYmxlSW50ZXJhY3Rpb24sXG4gIC4uLnByb3BzXG59OiB7XG4gIGRpc2FibGVJbnRlcmFjdGlvbj86IGJvb2xlYW4sXG4gIFtzdHJpbmddOiBhbnksXG59KSA9PiAoXG4gIDxkaXZcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdmbGV4JyxcbiAgICAgIGZsZXhEaXJlY3Rpb246ICdyb3cnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgaGVpZ2h0OiAnMTAwJScsXG4gICAgICAuLi5hcHBseURpc2FibGVkUHJvcGVydGllcyghIWRpc2FibGVJbnRlcmFjdGlvbiksXG4gICAgfX1cbiAgICB7Li4ucHJvcHN9XG4gIC8+XG4pO1xuIl19 */") | ||
}, props)); | ||
@@ -178,4 +179,6 @@ }; | ||
return React.createElement("div", _extends({ | ||
className: _css6(_objectSpread({ | ||
return ___EmotionJSX("div", _extends({ | ||
css: | ||
/*#__PURE__*/ | ||
_css(_objectSpread({ | ||
display: 'flex', | ||
@@ -185,4 +188,4 @@ flexDirection: 'row', | ||
height: '100%' | ||
}, applyDisabledProperties(!!disableInteraction))) | ||
}, applyDisabledProperties(!!disableInteraction)), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0NvbnRlbnROYXZpZ2F0aW9uL3ByaW1pdGl2ZXMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBbU5JIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhd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ibGVJbnRlcmFjdGlvbj86IGJvb2xlYW4sXG4gIFtzdHJpbmddOiBhbnksXG59KSA9PiAoXG4gIDxkaXZcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdmbGV4JyxcbiAgICAgIGZsZXhEaXJlY3Rpb246ICdyb3cnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgaGVpZ2h0OiAnMTAwJScsXG4gICAgICAuLi5hcHBseURpc2FibGVkUHJvcGVydGllcyghIWRpc2FibGVJbnRlcmFjdGlvbiksXG4gICAgfX1cbiAgICB7Li4ucHJvcHN9XG4gIC8+XG4pO1xuIl19 */") | ||
}, props)); | ||
}; |
@@ -1,2 +0,1 @@ | ||
import { css as _css } from "emotion"; | ||
import _extends from "@babel/runtime/helpers/extends"; | ||
@@ -11,2 +10,3 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { PureComponent } from 'react'; | ||
@@ -41,3 +41,3 @@ import { navigationItemClicked } from '../../../common/analytics'; | ||
return React.createElement(GlobalItemPrimitive, _extends({}, state, props)); | ||
return ___EmotionJSX(GlobalItemPrimitive, _extends({}, state, props)); | ||
}); | ||
@@ -60,5 +60,5 @@ | ||
return React.createElement("div", { | ||
className: _css(itemWrapperStyles) | ||
}, React.createElement(InteractionStateManager, null, this.renderItem)); | ||
return ___EmotionJSX("div", { | ||
css: itemWrapperStyles | ||
}, ___EmotionJSX(InteractionStateManager, null, this.renderItem)); | ||
} | ||
@@ -65,0 +65,0 @@ }]); |
import _extends from "@babel/runtime/helpers/extends"; | ||
import _css from "@emotion/css"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import { css as _css2 } from "emotion"; | ||
import { css as _css } from "emotion"; | ||
import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
@@ -12,11 +11,23 @@ import _createClass from "@babel/runtime/helpers/createClass"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Fragment, Component } from 'react'; | ||
import { css } from 'emotion'; | ||
import Tooltip from '@atlaskit/tooltip'; | ||
import { styleReducerNoOp, withGlobalTheme } from '../../../theme'; | ||
var _ref = { | ||
pointerEvents: 'none' | ||
var _ref = process.env.NODE_ENV === "production" ? { | ||
name: "1ixbp0l", | ||
styles: "pointer-events:none;" | ||
} : { | ||
name: "1ixbp0l", | ||
styles: "pointer-events:none;", | ||
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0dsb2JhbEl0ZW0vcHJpbWl0aXZlcy5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFrQ2UiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcHJlc2VudGF0aW9uYWwvR2xvYmFsSXRlbS9wcmltaXRpdmVzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcblxuaW1wb3J0IFJlYWN0LCB7IEZyYWdtZW50LCBDb21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgVG9vbHRpcCBmcm9tICdAYXRsYXNraXQvdG9vbHRpcCc7XG5cbmltcG9ydCB7IHN0eWxlUmVkdWNlck5vT3AsIHdpdGhHbG9iYWxUaGVtZSB9IGZyb20gJy4uLy4uLy4uL3RoZW1lJztcbmltcG9ydCB0eXBlIHtcbiAgR2xvYmFsSXRlbVByZXNlbnRhdGlvblByb3BzLFxuICBHbG9iYWxJdGVtU3R5bGVzLFxuICBHbG9iYWxJdGVtUHJpbWl0aXZlUHJvcHMsXG4gIEluamVjdGVkR2xvYmFsSXRlbVByaW1pdGl2ZVByb3BzLFxufSBmc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ZSB9fSB7Li4uZGF0YXNldH0+XG4gICAgICAgICAge3RoaXMucmVuZGVySWNvbkFuZEJhZGdlKHN0eWxlcy5iYWRnZVdyYXBwZXIpfVxuICAgICAgICA8L3NwYW4+XG4gICAgICApO1xuICAgIH1cblxuICAgIHJldHVybiBpdGVtQmFzZTtcbiAgfTtcblxuICByZW5kZXIoKSB7XG4gICAgY29uc3QgeyBpc1NlbGVjdGVkLCB0b29sdGlwIH0gPSB0aGlzLnByb3BzO1xuICAgIGNvbnN0IHN0eWxlcyA9IHRoaXMuZ2VuZXJhdGVTdHlsZXMoKTtcbiAgICByZXR1cm4gKFxuICAgICAgPFRvb2x0aXBcbiAgICAgICAgZGVsYXk9ezB9XG4gICAgICAgIGNvbnRlbnQ9e2lzU2VsZWN0ZWQgPyB1bmRlZmluZWQgOiB0b29sdGlwfVxuICAgICAgICBwb3NpdGlvbj1cInJpZ2h0XCJcbiAgICAgICAgaGlkZVRvb2x0aXBPbkNsaWNrXG4gICAgICAgIGhpZGVUb29sdGlwT25Nb3VzZURvd25cbiAgICAgID5cbiAgICAgICAgPGRpdiBjc3M9e3sgZGlzcGxheTogJ2lubGluZS1ibG9jaycgfX0+XG4gICAgICAgICAge3RoaXMucmVuZGVyQ2hpbGRyZW4oc3R5bGVzKX1cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L1Rvb2x0aXA+XG4gICAgKTtcbiAgfVxufVxuXG5leHBvcnQgeyBHbG9iYWxOYXZpZ2F0aW9uSXRlbVByaW1pdGl2ZSBhcyBCYXNlR2xvYmFsTmF2aWdhdGlvbkl0ZW1QcmltaXRpdmUgfTtcblxuZXhwb3J0IGRlZmF1bHQgd2l0aEdsb2JhbFRoZW1lKEdsb2JhbE5hdmlnYXRpb25JdGVtUHJpbWl0aXZlKTtcbiJdfQ== */" | ||
}; | ||
var _ref2 = { | ||
display: 'inline-block' | ||
var _ref2 = process.env.NODE_ENV === "production" ? { | ||
name: "1baulvz", | ||
styles: "display:inline-block;" | ||
} : { | ||
name: "1baulvz", | ||
styles: "display:inline-block;", | ||
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0dsb2JhbEl0ZW0vcHJpbWl0aXZlcy5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEwSmEiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcHJlc2VudGF0aW9uYWwvR2xvYmFsSXRlbS9wcmltaXRpdmVzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcblxuaW1wb3J0IFJlYWN0LCB7IEZyYWdtZW50LCBDb21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgVG9vbHRpcCBmcm9tICdAYXRsYXNraXQvdG9vbHRpcCc7XG5cbmltcG9ydCB7IHN0eWxlUmVkdWNlck5vT3AsIHdpdGhHbG9iYWxUaGVtZSB9IGZyb20gJy4uLy4uLy4uL3RoZW1lJztcbmltcG9ydCB0eXBlIHtcbiAgR2xvYmFsSXRlbVByZXNlbnRhdGlvblByb3BzLFxuICBHbG9iYWxJdGVtU3R5bGVzLFxuICBHbG9iYWxJdGVtUHJpbWl0aXZlUHJvcHMsXG4gIEluamVjdGVkR2xvYmFsSXRlbVByaW1pdGl2ZVByb3BzLFxufSBmcm9tICcuL3R5cGVzJztcblxuY2xhc3MgR2xvYmFsTmF2aWdhdGlvbkl0ZW1QcmltaXRpdmUgZXh0ZW5kcyBDb21wb25lbnQ8R2xvYmFsSXRlbVByaW1pdGl2ZVByb3BzPiB7XG4gIHN0YXRpYyBkZWZhdWx0UHJvcHMgPSB7XG4gICAgZGF0YXNldDoge1xuICAgICAgJ2RhdGEtdGVzdC1pZCc6ICdHbG9iYWxOYXZpZ2F0aW9uSXRlbScsXG4gICAgfSxcbiAgICBpc0FjdGl2ZTogZmFsc2UsX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XG4gICAgICAgICAgaWQ9e2dsb2JhbElEfVxuICAgICAgICAgIG9uQ2xpY2s9e29uQ2xpY2t9XG4gICAgICAgICAgdGFyZ2V0PXt0YXJnZXR9XG4gICAgICAgICAgY3NzPXt7ICcmJic6IHN0eWxlcy5pdGVtQmFzZSB9fVxuICAgICAgICAgIHsuLi5kYXRhc2V0fVxuICAgICAgICA+XG4gICAgICAgICAge3RoaXMucmVuZGVySWNvbkFuZEJhZGdlKHN0eWxlcy5iYWRnZVdyYXBwZXIpfVxuICAgICAgICA8L2E+XG4gICAgICApO1xuICAgIH0gZWxzZSBpZiAob25DbGljaykge1xuICAgICAgaXRlbUJhc2UgPSAoXG4gICAgICAgIDxidXR0b25cbiAgICAgICAgICBpZD17Z2xvYmFsSUR9XG4gICAgICAgICAgb25DbGljaz17b25DbGlja31cbiAgICAgICAgICBjc3M9e3sgJyYmJzogc3R5bGVzLml0ZW1CYXNlIH19XG4gICAgICAgICAgey4uLmRhdGFzZXR9XG4gICAgICAgID5cbiAgICAgICAgICB7dGhpcy5yZW5kZXJJY29uQW5kQmFkZ2Uoc3R5bGVzLmJhZGdlV3JhcHBlcil9XG4gICAgICAgIDwvYnV0dG9uPlxuICAgICAgKTtcbiAgICB9IGVsc2Uge1xuICAgICAgaXRlbUJhc2UgPSAoXG4gICAgICAgIDxzcGFuIGlkPXtnbG9iYWxJRH0gY3NzPXt7ICcmJic6IHN0eWxlcy5pdGVtQmFzZSB9fSB7Li4uZGF0YXNldH0+XG4gICAgICAgICAge3RoaXMucmVuZGVySWNvbkFuZEJhZGdlKHN0eWxlcy5iYWRnZVdyYXBwZXIpfVxuICAgICAgICA8L3NwYW4+XG4gICAgICApO1xuICAgIH1cblxuICAgIHJldHVybiBpdGVtQmFzZTtcbiAgfTtcblxuICByZW5kZXIoKSB7XG4gICAgY29uc3QgeyBpc1NlbGVjdGVkLCB0b29sdGlwIH0gPSB0aGlzLnByb3BzO1xuICAgIGNvbnN0IHN0eWxlcyA9IHRoaXMuZ2VuZXJhdGVTdHlsZXMoKTtcbiAgICByZXR1cm4gKFxuICAgICAgPFRvb2x0aXBcbiAgICAgICAgZGVsYXk9ezB9XG4gICAgICAgIGNvbnRlbnQ9e2lzU2VsZWN0ZWQgPyB1bmRlZmluZWQgOiB0b29sdGlwfVxuICAgICAgICBwb3NpdGlvbj1cInJpZ2h0XCJcbiAgICAgICAgaGlkZVRvb2x0aXBPbkNsaWNrXG4gICAgICAgIGhpZGVUb29sdGlwT25Nb3VzZURvd25cbiAgICAgID5cbiAgICAgICAgPGRpdiBjc3M9e3sgZGlzcGxheTogJ2lubGluZS1ibG9jaycgfX0+XG4gICAgICAgICAge3RoaXMucmVuZGVyQ2hpbGRyZW4oc3R5bGVzKX1cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L1Rvb2x0aXA+XG4gICAgKTtcbiAgfVxufVxuXG5leHBvcnQgeyBHbG9iYWxOYXZpZ2F0aW9uSXRlbVByaW1pdGl2ZSBhcyBCYXNlR2xvYmFsTmF2aWdhdGlvbkl0ZW1QcmltaXRpdmUgfTtcblxuZXhwb3J0IGRlZmF1bHQgd2l0aEdsb2JhbFRoZW1lKEdsb2JhbE5hdmlnYXRpb25JdGVtUHJpbWl0aXZlKTtcbiJdfQ== */" | ||
}; | ||
@@ -53,10 +64,10 @@ | ||
var iconLabel = label || (typeof tooltip === 'string' ? tooltip : ''); | ||
return React.createElement(Fragment, null, !!Icon && React.createElement("div", { | ||
className: _css(_ref) | ||
}, React.createElement(Icon, { | ||
return ___EmotionJSX(Fragment, null, !!Icon && ___EmotionJSX("div", { | ||
css: _ref | ||
}, ___EmotionJSX(Icon, { | ||
label: iconLabel, | ||
secondaryColor: "inherit" | ||
})), !!Badge && React.createElement("div", { | ||
className: _css2(badgeWrapper) | ||
}, React.createElement(Badge, presentationProps))); | ||
})), !!Badge && ___EmotionJSX("div", { | ||
css: badgeWrapper | ||
}, ___EmotionJSX(Badge, presentationProps))); | ||
}); | ||
@@ -122,13 +133,14 @@ | ||
if (CustomComponent) { | ||
itemBase = React.createElement(CustomComponent, _extends({}, _this.getGlobalItemExternalProps(), { | ||
className: | ||
itemBase = // CustomComponent needs a className prop. This prop is | ||
// added after the emotion translation. | ||
// $FlowFixMe | ||
___EmotionJSX(CustomComponent, _extends({}, _this.getGlobalItemExternalProps(), { | ||
css: | ||
/*#__PURE__*/ | ||
/*#__PURE__*/ | ||
css({ | ||
_css({ | ||
'&&': styles.itemBase | ||
}) | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0dsb2JhbEl0ZW0vcHJpbWl0aXZlcy5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1R1UiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcHJlc2VudGF0aW9uYWwvR2xvYmFsSXRlbS9wcmltaXRpdmVzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcblxuaW1wb3J0IFJlYWN0LCB7IEZyYWdtZW50LCBDb21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgVG9vbHRpcCBmcm9tICdAYXRsYXNraXQvdG9vbHRpcCc7XG5cbmltcG9ydCB7IHN0eWxlUmVkdWNlck5vT3AsIHdpdGhHbG9iYWxUaGVtZSB9IGZyb20gJy4uLy4uLy4uL3RoZW1lJztcbmltcG9ydCB0eXBlIHtcbiAgR2xvYmFsSXRlbVByZXNlbnRhdGlvblByb3BzLFxuICBHbG9iYWxJdGVtU3R5bGVzLFxuICBHbG9iYWxJdGVtUHJpbWl0aXZlUHJvcHMsXG4gIEluamVjdGVkR2xvYmFsSXRlbVByaW1pdGl2ZVByb3BzLFxufSBmcm9tICcuL3R5cGVzJztcblxuY2xhc3MgR2xvYmFsTmF2aWdhdGlvbkl0ZW1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uZEJhZGdlKHN0eWxlcy5iYWRnZVdyYXBwZXIpfVxuICAgICAgICA8L3NwYW4+XG4gICAgICApO1xuICAgIH1cblxuICAgIHJldHVybiBpdGVtQmFzZTtcbiAgfTtcblxuICByZW5kZXIoKSB7XG4gICAgY29uc3QgeyBpc1NlbGVjdGVkLCB0b29sdGlwIH0gPSB0aGlzLnByb3BzO1xuICAgIGNvbnN0IHN0eWxlcyA9IHRoaXMuZ2VuZXJhdGVTdHlsZXMoKTtcbiAgICByZXR1cm4gKFxuICAgICAgPFRvb2x0aXBcbiAgICAgICAgZGVsYXk9ezB9XG4gICAgICAgIGNvbnRlbnQ9e2lzU2VsZWN0ZWQgPyB1bmRlZmluZWQgOiB0b29sdGlwfVxuICAgICAgICBwb3NpdGlvbj1cInJpZ2h0XCJcbiAgICAgICAgaGlkZVRvb2x0aXBPbkNsaWNrXG4gICAgICAgIGhpZGVUb29sdGlwT25Nb3VzZURvd25cbiAgICAgID5cbiAgICAgICAgPGRpdiBjc3M9e3sgZGlzcGxheTogJ2lubGluZS1ibG9jaycgfX0+XG4gICAgICAgICAge3RoaXMucmVuZGVyQ2hpbGRyZW4oc3R5bGVzKX1cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L1Rvb2x0aXA+XG4gICAgKTtcbiAgfVxufVxuXG5leHBvcnQgeyBHbG9iYWxOYXZpZ2F0aW9uSXRlbVByaW1pdGl2ZSBhcyBCYXNlR2xvYmFsTmF2aWdhdGlvbkl0ZW1QcmltaXRpdmUgfTtcblxuZXhwb3J0IGRlZmF1bHQgd2l0aEdsb2JhbFRoZW1lKEdsb2JhbE5hdmlnYXRpb25JdGVtUHJpbWl0aXZlKTtcbiJdfQ== */") | ||
}), _this.renderIconAndBadge(styles.badgeWrapper)); | ||
} else if (href) { | ||
itemBase = React.createElement("a", _extends({ | ||
itemBase = ___EmotionJSX("a", _extends({ | ||
href: href, | ||
@@ -138,32 +150,26 @@ id: globalID, | ||
target: target, | ||
className: | ||
css: | ||
/*#__PURE__*/ | ||
/*#__PURE__*/ | ||
css({ | ||
_css({ | ||
'&&': styles.itemBase | ||
}) | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0dsb2JhbEl0ZW0vcHJpbWl0aXZlcy5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFtSFUiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcHJlc2VudGF0aW9uYWwvR2xvYmFsSXRlbS9wcmltaXRpdmVzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcblxuaW1wb3J0IFJlYWN0LCB7IEZyYWdtZW50LCBDb21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgVG9vbHRpcCBmcm9tICdAYXRsYXNraXQvdG9vbHRpcCc7XG5cbmltcG9ydCB7IHN0eWxlUmVkdWNlck5vT3AsIHdpdGhHbG9iYWxUaGVtZSB9IGZyb20gJy4uLy4uLy4uL3RoZW1lJztcbmltcG9ydCB0eXBlIHtcbiAgR2xvYmFsSXRlbVByZXNlbnRhdGlvblByb3BzLFxuICBHbG9iYWxJdGVtU3R5bGVzLFxuICBHbG9iYWxJdGVtUHJpbWl0aXZlUHJvcHMsXG4gIEluamVjdGVkR2xvYmFsSXRlbVByaW1pdGl2ZVByb3BzLFxufSBmcm9tICcuL3R5cGVzJztcblxuY2xhc3MgR2xvYmFsTmF2aWdhdGlvbkl0ZW1QcmltaXRpdmUgZXh0ZW5kcyBDb21wb25lbnQ8R2xvYmFsSXRlbVByaW1pdGl2ZVByb3BzPiB7XG4gIHN0YXRpYyBkZWZhdWx0UHJvcHMgPSB7XG4gICAgZGF0YXNldDoge1xuICAgICAgJ2RhdGEtdGVzdC1pZCc6ICdHbG9iYWxOYXZpZ2F0a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XNlID0gKFxuICAgICAgICA8YVxuICAgICAgICAgIGhyZWY9e2hyZWZ9XG4gICAgICAgICAgaWQ9e2dsb2JhbElEfVxuICAgICAgICAgIG9uQ2xpY2s9e29uQ2xpY2t9XG4gICAgICAgICAgdGFyZ2V0PXt0YXJnZXR9XG4gICAgICAgICAgY3NzPXt7ICcmJic6IHN0eWxlcy5pdGVtQmFzZSB9fVxuICAgICAgICAgIHsuLi5kYXRhc2V0fVxuICAgICAgICA+XG4gICAgICAgICAge3RoaXMucmVuZGVySWNvbkFuZEJhZGdlKHN0eWxlcy5iYWRnZVdyYXBwZXIpfVxuICAgICAgICA8L2E+XG4gICAgICApO1xuICAgIH0gZWxzZSBpZiAob25DbGljaykge1xuICAgICAgaXRlbUJhc2UgPSAoXG4gICAgICAgIDxidXR0b25cbiAgICAgICAgICBpZD17Z2xvYmFsSUR9XG4gICAgICAgICAgb25DbGljaz17b25DbGlja31cbiAgICAgICAgICBjc3M9e3sgJyYmJzogc3R5bGVzLml0ZW1CYXNlIH19XG4gICAgICAgICAgey4uLmRhdGFzZXR9XG4gICAgICAgID5cbiAgICAgICAgICB7dGhpcy5yZW5kZXJJY29uQW5kQmFkZ2Uoc3R5bGVzLmJhZGdlV3JhcHBlcil9XG4gICAgICAgIDwvYnV0dG9uPlxuICAgICAgKTtcbiAgICB9IGVsc2Uge1xuICAgICAgaXRlbUJhc2UgPSAoXG4gICAgICAgIDxzcGFuIGlkPXtnbG9iYWxJRH0gY3NzPXt7ICcmJic6IHN0eWxlcy5pdGVtQmFzZSB9fSB7Li4uZGF0YXNldH0+XG4gICAgICAgICAge3RoaXMucmVuZGVySWNvbkFuZEJhZGdlKHN0eWxlcy5iYWRnZVdyYXBwZXIpfVxuICAgICAgICA8L3NwYW4+XG4gICAgICApO1xuICAgIH1cblxuICAgIHJldHVybiBpdGVtQmFzZTtcbiAgfTtcblxuICByZW5kZXIoKSB7XG4gICAgY29uc3QgeyBpc1NlbGVjdGVkLCB0b29sdGlwIH0gPSB0aGlzLnByb3BzO1xuICAgIGNvbnN0IHN0eWxlcyA9IHRoaXMuZ2VuZXJhdGVTdHlsZXMoKTtcbiAgICByZXR1cm4gKFxuICAgICAgPFRvb2x0aXBcbiAgICAgICAgZGVsYXk9ezB9XG4gICAgICAgIGNvbnRlbnQ9e2lzU2VsZWN0ZWQgPyB1bmRlZmluZWQgOiB0b29sdGlwfVxuICAgICAgICBwb3NpdGlvbj1cInJpZ2h0XCJcbiAgICAgICAgaGlkZVRvb2x0aXBPbkNsaWNrXG4gICAgICAgIGhpZGVUb29sdGlwT25Nb3VzZURvd25cbiAgICAgID5cbiAgICAgICAgPGRpdiBjc3M9e3sgZGlzcGxheTogJ2lubGluZS1ibG9jaycgfX0+XG4gICAgICAgICAge3RoaXMucmVuZGVyQ2hpbGRyZW4oc3R5bGVzKX1cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L1Rvb2x0aXA+XG4gICAgKTtcbiAgfVxufVxuXG5leHBvcnQgeyBHbG9iYWxOYXZpZ2F0aW9uSXRlbVByaW1pdGl2ZSBhcyBCYXNlR2xvYmFsTmF2aWdhdGlvbkl0ZW1QcmltaXRpdmUgfTtcblxuZXhwb3J0IGRlZmF1bHQgd2l0aEdsb2JhbFRoZW1lKEdsb2JhbE5hdmlnYXRpb25JdGVtUHJpbWl0aXZlKTtcbiJdfQ== */") | ||
}, dataset), _this.renderIconAndBadge(styles.badgeWrapper)); | ||
} else if (onClick) { | ||
itemBase = React.createElement("button", _extends({ | ||
itemBase = ___EmotionJSX("button", _extends({ | ||
id: globalID, | ||
onClick: onClick, | ||
className: | ||
css: | ||
/*#__PURE__*/ | ||
/*#__PURE__*/ | ||
css({ | ||
_css({ | ||
'&&': styles.itemBase | ||
}) | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdG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b29sdGlwfVxuICAgICAgICBwb3NpdGlvbj1cInJpZ2h0XCJcbiAgICAgICAgaGlkZVRvb2x0aXBPbkNsaWNrXG4gICAgICAgIGhpZGVUb29sdGlwT25Nb3VzZURvd25cbiAgICAgID5cbiAgICAgICAgPGRpdiBjc3M9e3sgZGlzcGxheTogJ2lubGluZS1ibG9jaycgfX0+XG4gICAgICAgICAge3RoaXMucmVuZGVyQ2hpbGRyZW4oc3R5bGVzKX1cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L1Rvb2x0aXA+XG4gICAgKTtcbiAgfVxufVxuXG5leHBvcnQgeyBHbG9iYWxOYXZpZ2F0aW9uSXRlbVByaW1pdGl2ZSBhcyBCYXNlR2xvYmFsTmF2aWdhdGlvbkl0ZW1QcmltaXRpdmUgfTtcblxuZXhwb3J0IGRlZmF1bHQgd2l0aEdsb2JhbFRoZW1lKEdsb2JhbE5hdmlnYXRpb25JdGVtUHJpbWl0aXZlKTtcbiJdfQ== */") | ||
}, dataset), _this.renderIconAndBadge(styles.badgeWrapper)); | ||
} else { | ||
itemBase = React.createElement("span", _extends({ | ||
itemBase = ___EmotionJSX("span", _extends({ | ||
id: globalID, | ||
className: | ||
css: | ||
/*#__PURE__*/ | ||
/*#__PURE__*/ | ||
css({ | ||
_css({ | ||
'&&': styles.itemBase | ||
}) | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0dsb2JhbEl0ZW0vcHJpbWl0aXZlcy5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFzSTRCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0dsb2JhbEl0ZW0vcHJpbWl0aXZlcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIE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ICAgICAgIHt0aGlzLnJlbmRlckNoaWxkcmVuKHN0eWxlcyl9XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9Ub29sdGlwPlxuICAgICk7XG4gIH1cbn1cblxuZXhwb3J0IHsgR2xvYmFsTmF2aWdhdGlvbkl0ZW1QcmltaXRpdmUgYXMgQmFzZUdsb2JhbE5hdmlnYXRpb25JdGVtUHJpbWl0aXZlIH07XG5cbmV4cG9ydCBkZWZhdWx0IHdpdGhHbG9iYWxUaGVtZShHbG9iYWxOYXZpZ2F0aW9uSXRlbVByaW1pdGl2ZSk7XG4iXX0= */") | ||
}, dataset), _this.renderIconAndBadge(styles.badgeWrapper)); | ||
@@ -185,3 +191,3 @@ } | ||
var styles = this.generateStyles(); | ||
return React.createElement(Tooltip, { | ||
return ___EmotionJSX(Tooltip, { | ||
delay: 0, | ||
@@ -192,8 +198,4 @@ content: isSelected ? undefined : tooltip, | ||
hideTooltipOnMouseDown: true | ||
}, React.createElement("div", { | ||
className: | ||
/*#__PURE__*/ | ||
/*#__PURE__*/ | ||
css(_ref2) | ||
}, ___EmotionJSX("div", { | ||
css: _ref2 | ||
}, this.renderChildren(styles))); | ||
@@ -200,0 +202,0 @@ } |
import _extends from "@babel/runtime/helpers/extends"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import { css as _css } from "emotion"; | ||
import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
@@ -9,2 +8,3 @@ import _createClass from "@babel/runtime/helpers/createClass"; | ||
import _inherits from "@babel/runtime/helpers/inherits"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
@@ -41,3 +41,3 @@ /** | ||
}); | ||
return React.createElement(NavigationAnalyticsContext, { | ||
return ___EmotionJSX(NavigationAnalyticsContext, { | ||
data: { | ||
@@ -49,5 +49,5 @@ attributes: { | ||
} | ||
}, React.createElement("div", { | ||
className: _css(wrapperStyles) | ||
}, React.createElement(PrimaryItemsList, null, React.createElement(NavigationAnalyticsContext, { | ||
}, ___EmotionJSX("div", { | ||
css: wrapperStyles | ||
}, ___EmotionJSX(PrimaryItemsList, null, ___EmotionJSX(NavigationAnalyticsContext, { | ||
data: { | ||
@@ -58,3 +58,3 @@ attributes: { | ||
} | ||
}, React.createElement(Fragment, null, primaryItems.map(function (props, index) { | ||
}, ___EmotionJSX(Fragment, null, primaryItems.map(function (props, index) { | ||
// Render the first item with a margin beneath it and a large icon | ||
@@ -65,7 +65,7 @@ if (!index) { | ||
return React.createElement(FirstPrimaryItemWrapper, { | ||
return ___EmotionJSX(FirstPrimaryItemWrapper, { | ||
key: props.id | ||
}, React.createElement(ItemComponent, _extends({}, rest, { | ||
}, ___EmotionJSX(ItemComponent, _extends({}, rest, { | ||
icon: function icon(provided) { | ||
return React.createElement(Icon, _extends({}, provided, { | ||
return ___EmotionJSX(Icon, _extends({}, provided, { | ||
size: "large" | ||
@@ -79,3 +79,3 @@ })); | ||
return React.createElement(ItemComponent, _extends({}, props, { | ||
return ___EmotionJSX(ItemComponent, _extends({}, props, { | ||
key: props.id, | ||
@@ -85,3 +85,3 @@ size: "small", | ||
})); | ||
})))), React.createElement(SecondaryItemsList, null, React.createElement(NavigationAnalyticsContext, { | ||
})))), ___EmotionJSX(SecondaryItemsList, null, ___EmotionJSX(NavigationAnalyticsContext, { | ||
data: { | ||
@@ -92,4 +92,4 @@ attributes: { | ||
} | ||
}, React.createElement(Fragment, null, secondaryItems.map(function (props, index) { | ||
return React.createElement(ItemComponent, _extends({}, props, { | ||
}, ___EmotionJSX(Fragment, null, secondaryItems.map(function (props, index) { | ||
return ___EmotionJSX(ItemComponent, _extends({}, props, { | ||
key: props.id, | ||
@@ -96,0 +96,0 @@ size: "small", |
@@ -7,2 +7,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
@@ -33,3 +34,3 @@ /** | ||
value: function render() { | ||
return React.createElement(GlobalNavigationWithTheme, this.props); | ||
return ___EmotionJSX(GlobalNavigationWithTheme, this.props); | ||
} | ||
@@ -36,0 +37,0 @@ }]); |
@@ -1,6 +0,5 @@ | ||
import { css as _css3 } from "emotion"; | ||
import { css as _css2 } from "emotion"; | ||
import _extends from "@babel/runtime/helpers/extends"; | ||
import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import { css as _css } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React from 'react'; | ||
@@ -17,22 +16,27 @@ import { gridSize as gridSizeFn } from '@atlaskit/theme'; | ||
export var PrimaryItemsList = function PrimaryItemsList(props) { | ||
return React.createElement("div", _extends({ | ||
className: _css(_objectSpread({}, listBaseStyles, { | ||
return ___EmotionJSX("div", _extends({ | ||
css: | ||
/*#__PURE__*/ | ||
_css(_objectSpread({}, listBaseStyles, { | ||
paddingBottom: gridSize * 2 | ||
})) | ||
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0dsb2JhbE5hdi9wcmltaXRpdmVzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdCTyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9HbG9iYWxOYXYvcHJpbWl0aXZlcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5cbmltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBncmlkU2l6ZSBhcyBncmlkU2l6ZUZuIH0gZnJvbSAnQGF0bGFza2l0L3RoZW1lJztcblxuY29uc3QgZ3JpZFNpemUgPSBncmlkU2l6ZUZuKCk7XG5cbmNvbnN0IGxpc3RCYXNlU3R5bGVzID0ge1xuICBhbGlnbkl0ZW1zOiAnY2VudGVyJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICBmbGV4RGlyZWN0aW9uOiAnY29sdW1uJyxcbiAganVzdGlmeUNvbnRlbnQ6ICdzcGFjZS1iZXR3ZWVuJyxcbiAgd2lkdGg6ICcxMDAlJyxcbn07XG5cbmV4cG9ydCBjb25zdCBQcmltYXJ5SXRlbXNMaXN0ID0gKHByb3BzOiAqKSA9PiAoXG4gIDxkaXYgY3NzPXt7IC4uLmxpc3RCYXNlU3R5bGVzLCBwYWRkaW5nQm90dG9tOiBncmlkU2l6ZSAqIDIgfX0gey4uLnByb3BzfSAvPlxuKTtcblxuZXhwb3J0IGNvbnN0IEZpcnN0UHJpbWFyeUl0ZW1XcmFwcGVyID0gKHByb3BzOiAqKSA9PiAoXG4gIDxkaXYgY3NzPXt7IHBhZGRpbmdCb3R0b206IGdyaWRTaXplIH19IHsuLi5wcm9wc30gLz5cbik7XG5cbmV4cG9ydCBjb25zdCBTZWNvbmRhcnlJdGVtc0xpc3QgPSAocHJvcHM6ICopID0+IChcbiAgPGRpdlxuICAgIGNzcz17e1xuICAgICAgLi4ubGlzdEJhc2VTdHlsZXMsXG4gICAgICBwYWRkaW5nVG9wOiBncmlkU2l6ZSxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG4iXX0= */") | ||
}, props)); | ||
}; | ||
var _ref = { | ||
paddingBottom: gridSize | ||
}; | ||
export var FirstPrimaryItemWrapper = function FirstPrimaryItemWrapper(props) { | ||
return React.createElement("div", _extends({ | ||
className: _css2(_ref) | ||
return ___EmotionJSX("div", _extends({ | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
paddingBottom: gridSize | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRh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BwYWRkaW5nVG9wOiBncmlkU2l6ZSxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG4iXX0= */") | ||
}, props)); | ||
}; | ||
export var SecondaryItemsList = function SecondaryItemsList(props) { | ||
return React.createElement("div", _extends({ | ||
className: _css3(_objectSpread({}, listBaseStyles, { | ||
return ___EmotionJSX("div", _extends({ | ||
css: | ||
/*#__PURE__*/ | ||
_css(_objectSpread({}, listBaseStyles, { | ||
paddingTop: gridSize | ||
})) | ||
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0dsb2JhbE5hdi9wcmltaXRpdmVzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9HbG9iYWxOYXYvcHJpbWl0aXZlcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5cbmltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBncmlkU2l6ZSBhcyBncmlkU2l6ZUZuIH0gZnJvbSAnQGF0bGFza2l0L3RoZW1lJztcblxuY29uc3QgZ3JpZFNpemUgPSBncmlkU2l6ZUZuKCk7XG5cbmNvbnN0IGxpc3RCYXNlU3R5bGVzID0ge1xuICBhbGlnbkl0ZW1zOiAnY2VudGVyJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICBmbGV4RGlyZWN0aW9uOiAnY29sdW1uJyxcbiAganVzdGlmeUNvbnRlbnQ6ICdzcGFjZS1iZXR3ZWVuJyxcbiAgd2lkdGg6ICcxMDAlJyxcbn07XG5cbmV4cG9ydCBjb25zdCBQcmltYXJ5SXRlbXNMaXN0ID0gKHByb3BzOiAqKSA9PiAoXG4gIDxkaXYgY3NzPXt7IC4uLmxpc3RCYXNlU3R5bGVzLCBwYWRkaW5nQm90dG9tOiBncmlkU2l6ZSAqIDIgfX0gey4uLnByb3BzfSAvPlxuKTtcblxuZXhwb3J0IGNvbnN0IEZpcnN0UHJpbWFyeUl0ZW1XcmFwcGVyID0gKHByb3BzOiAqKSA9PiAoXG4gIDxkaXYgY3NzPXt7IHBhZGRpbmdCb3R0b206IGdyaWRTaXplIH19IHsuLi5wcm9wc30gLz5cbik7XG5cbmV4cG9ydCBjb25zdCBTZWNvbmRhcnlJdGVtc0xpc3QgPSAocHJvcHM6ICopID0+IChcbiAgPGRpdlxuICAgIGNzcz17e1xuICAgICAgLi4ubGlzdEJhc2VTdHlsZXMsXG4gICAgICBwYWRkaW5nVG9wOiBncmlkU2l6ZSxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG4iXX0= */") | ||
}, props)); | ||
}; |
import _extends from "@babel/runtime/helpers/extends"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React from 'react'; | ||
@@ -13,5 +14,5 @@ import GlobalNavigationSkeletonItem from './GlobalNavigationSkeletonItem'; | ||
var wrapperStyles = theme.mode.globalNav(); | ||
return React.createElement(Container, _extends({ | ||
return ___EmotionJSX(Container, _extends({ | ||
styles: wrapperStyles | ||
}, dataset, rest), React.createElement(PrimaryItemsList, null, React.createElement(FirstPrimaryItemWrapper, null, React.createElement(GlobalNavigationSkeletonItem, null)), React.createElement(GlobalNavigationSkeletonItem, null), React.createElement(GlobalNavigationSkeletonItem, null), React.createElement(GlobalNavigationSkeletonItem, null)), React.createElement(SecondaryItemsList, null, React.createElement(GlobalNavigationSkeletonItem, null), React.createElement(GlobalNavigationSkeletonItem, null), React.createElement(GlobalNavigationSkeletonItem, null), React.createElement(GlobalNavigationSkeletonItem, null))); | ||
}, dataset, rest), ___EmotionJSX(PrimaryItemsList, null, ___EmotionJSX(FirstPrimaryItemWrapper, null, ___EmotionJSX(GlobalNavigationSkeletonItem, null)), ___EmotionJSX(GlobalNavigationSkeletonItem, null), ___EmotionJSX(GlobalNavigationSkeletonItem, null), ___EmotionJSX(GlobalNavigationSkeletonItem, null)), ___EmotionJSX(SecondaryItemsList, null, ___EmotionJSX(GlobalNavigationSkeletonItem, null), ___EmotionJSX(GlobalNavigationSkeletonItem, null), ___EmotionJSX(GlobalNavigationSkeletonItem, null), ___EmotionJSX(GlobalNavigationSkeletonItem, null))); | ||
}; | ||
@@ -18,0 +19,0 @@ |
@@ -10,2 +10,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { PureComponent } from 'react'; | ||
@@ -56,3 +57,3 @@ import { gridSize as gridSizeFn } from '@atlaskit/theme'; | ||
return React.createElement(SkeletonItem, _extends({}, props, { | ||
return ___EmotionJSX(SkeletonItem, _extends({}, props, { | ||
styles: patchedStyles | ||
@@ -59,0 +60,0 @@ })); |
import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React from 'react'; | ||
@@ -8,3 +9,3 @@ import { withGlobalTheme, light, ThemeProvider } from '../../../theme'; | ||
var GlobalNavigationSkeleton = function GlobalNavigationSkeleton(props) { | ||
return React.createElement(ThemeProvider, { | ||
return ___EmotionJSX(ThemeProvider, { | ||
theme: function theme(ancestorTheme) { | ||
@@ -17,5 +18,5 @@ return _objectSpread({ | ||
} | ||
}, React.createElement(GlobalNavigationSkeletonWithGlobalTheme, props)); | ||
}, ___EmotionJSX(GlobalNavigationSkeletonWithGlobalTheme, props)); | ||
}; | ||
export default GlobalNavigationSkeleton; |
@@ -1,8 +0,6 @@ | ||
import { css as _css4 } from "emotion"; | ||
import { css as _css3 } from "emotion"; | ||
import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import { css as _css2 } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import _extends from "@babel/runtime/helpers/extends"; | ||
import { css as _css } from "emotion"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React from 'react'; | ||
@@ -22,27 +20,32 @@ import { gridSize as gridSizeFn } from '@atlaskit/theme'; | ||
return React.createElement("div", _extends({ | ||
className: _css(styles) | ||
return ___EmotionJSX("div", _extends({ | ||
css: styles | ||
}, rest)); | ||
}; | ||
export var PrimaryItemsList = function PrimaryItemsList(props) { | ||
return React.createElement("div", _extends({ | ||
className: _css2(_objectSpread({}, listBaseStyles, { | ||
return ___EmotionJSX("div", _extends({ | ||
css: | ||
/*#__PURE__*/ | ||
_css(_objectSpread({}, listBaseStyles, { | ||
paddingBottom: gridSize * 2 | ||
})) | ||
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0dsb2JhbE5hdmlnYXRpb25Ta2VsZXRvbi9wcmltaXRpdmVzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9HbG9iYWxOYXZpZ2F0aW9uU2tlbGV0b24vcHJpbWl0aXZlcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5cbmltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBncmlkU2l6ZSBhcyBncmlkU2l6ZUZuIH0gZnJvbSAnQGF0bGFza2l0L3RoZW1lJztcblxuY29uc3QgZ3JpZFNpemUgPSBncmlkU2l6ZUZuKCk7XG5cbmNvbnN0IGxpc3RCYXNlU3R5bGVzID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
export var FirstPrimaryItemWrapper = function FirstPrimaryItemWrapper(props) { | ||
return React.createElement("div", _extends({ | ||
className: _css3(_ref) | ||
return ___EmotionJSX("div", _extends({ | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
paddingBottom: gridSize * 1.75 | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0dsb2JhbE5hdmlnYXRpb25Ta2VsZXRvbi9wcmltaXRpdmVzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZCTyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9HbG9iYWxOYXZpZ2F0aW9uU2tlbGV0b24vcHJpbWl0aXZlcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5cbmltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBncmlkU2l6ZSBhcyBncmlkU2l6ZUZuIH0gZnJvbSAnQGF0bGFza2l0L3RoZW1lJztcblxuY29uc3QgZ3JpZFNpemUgPSBncmlkU2l6ZUZuKCk7XG5cbmNvbnN0IGxpc3RCYXNlU3R5bGVzID0ge1xuICBhbGlnbkl0ZW1zOiAnY2VudGVyJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICBmbGV4RGlyZWN0aW9uOiAnY29sdW1uJyxcbiAganVzdGlmeUNvbnRlbnQ6ICdzcGFjZS1iZXR3ZWVuJyxcbiAgd2lkdGg6ICcxMDAlJyxcbn07XG5cbmV4cG9ydCB0eXBlIENvbnRhaW5lclByb3BzID0ge1xuICBzdHlsZXM6IE9iamVjdCxcbn07XG5cbmV4cG9ydCBjb25zdCBDb250YWluZXIgPSAocHJvcHM6IENvbnRhaW5lclByb3BzKSA9PiB7XG4gIGNvbnN0IHsgc3R5bGVzLCAuLi5yZXN0IH0gPSBwcm9wcztcbiAgcmV0dXJuIDxkaXYgY3NzPXtzdHlsZXN9IHsuLi5yZXN0fSAvPjtcbn07XG5cbmV4cG9ydCBjb25zdCBQcmltYXJ5SXRlbXNMaXN0ID0gKHByb3BzOiAqKSA9PiAoXG4gIDxkaXYgY3NzPXt7IC4uLmxpc3RCYXNlU3R5bGVzLCBwYWRkaW5nQm90dG9tOiBncmlkU2l6ZSAqIDIgfX0gey4uLnByb3BzfSAvPlxuKTtcblxuZXhwb3J0IGNvbnN0IEZpcnN0UHJpbWFyeUl0ZW1XcmFwcGVyID0gKHByb3BzOiAqKSA9PiAoXG4gIDxkaXYgY3NzPXt7IHBhZGRpbmdCb3R0b206IGdyaWRTaXplICogMS43NSB9fSB7Li4ucHJvcHN9IC8+XG4pO1xuXG5leHBvcnQgY29uc3QgU2Vjb25kYXJ5SXRlbXNMaXN0ID0gKHByb3BzOiAqKSA9PiAoXG4gIDxkaXZcbiAgICBjc3M9e3tcbiAgICAgIC4uLmxpc3RCYXNlU3R5bGVzLFxuICAgICAgcGFkZGluZ1RvcDogZ3JpZFNpemUsXG4gICAgfX1cbiAgICB7Li4ucHJvcHN9XG4gIC8+XG4pO1xuIl19 */") | ||
}, props)); | ||
}; | ||
export var SecondaryItemsList = function SecondaryItemsList(props) { | ||
return React.createElement("div", _extends({ | ||
className: _css4(_objectSpread({}, listBaseStyles, { | ||
return ___EmotionJSX("div", _extends({ | ||
css: | ||
/*#__PURE__*/ | ||
_css(_objectSpread({}, listBaseStyles, { | ||
paddingTop: gridSize | ||
})) | ||
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0dsb2JhbE5hdmlnYXRpb25Ta2VsZXRvbi9wcmltaXRpdmVzLmpzIl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0gKHByb3BzOiAqKSA9PiAoXG4gIDxkaXYgY3NzPXt7IHBhZGRpbmdCb3R0b206IGdyaWRTaXplICogMS43NSB9fSB7Li4ucHJvcHN9IC8+XG4pO1xuXG5leHBvcnQgY29uc3QgU2Vjb25kYXJ5SXRlbXNMaXN0ID0gKHByb3BzOiAqKSA9PiAoXG4gIDxkaXZcbiAgICBjc3M9e3tcbiAgICAgIC4uLmxpc3RCYXNlU3R5bGVzLFxuICAgICAgcGFkZGluZ1RvcDogZ3JpZFNpemUsXG4gICAgfX1cbiAgICB7Li4ucHJvcHN9XG4gIC8+XG4pO1xuIl19 */") | ||
}, props)); | ||
}; |
@@ -7,2 +7,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component, Fragment } from 'react'; | ||
@@ -31,3 +32,3 @@ import { NavigationAnalyticsContext } from '@atlaskit/analytics-namespaced-context'; | ||
id = _this$props.id; | ||
return React.Children.count(children) ? React.createElement(NavigationAnalyticsContext, { | ||
return React.Children.count(children) ? ___EmotionJSX(NavigationAnalyticsContext, { | ||
data: { | ||
@@ -39,3 +40,3 @@ attributes: { | ||
} | ||
}, React.createElement(Fragment, null, heading && React.createElement(GroupHeading, null, heading), children, hasSeparator && React.createElement(Separator, null))) : null; | ||
}, ___EmotionJSX(Fragment, null, heading && ___EmotionJSX(GroupHeading, null, heading), children, hasSeparator && ___EmotionJSX(Separator, null))) : null; | ||
} | ||
@@ -42,0 +43,0 @@ }]); |
@@ -6,5 +6,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _inherits from "@babel/runtime/helpers/inherits"; | ||
import { css as _css3 } from "emotion"; | ||
import { css as _css2 } from "emotion"; | ||
import { css as _css } from "emotion"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
@@ -20,9 +18,9 @@ import { withContentTheme } from '../../../theme'; | ||
var styles = mode.heading()[context]; | ||
return React.createElement("div", { | ||
className: _css(styles.headingBase) | ||
}, React.createElement("div", { | ||
className: _css2(styles.textWrapper) | ||
}, children), !!After && React.createElement("div", { | ||
className: _css3(styles.afterWrapper) | ||
}, React.createElement(After, null))); | ||
return ___EmotionJSX("div", { | ||
css: styles.headingBase | ||
}, ___EmotionJSX("div", { | ||
css: styles.textWrapper | ||
}, children), !!After && ___EmotionJSX("div", { | ||
css: styles.afterWrapper | ||
}, ___EmotionJSX(After, null))); | ||
}; | ||
@@ -47,3 +45,3 @@ | ||
value: function render() { | ||
return React.createElement(GroupHeadingPrimitiveWithTheme, this.props); | ||
return ___EmotionJSX(GroupHeadingPrimitiveWithTheme, this.props); | ||
} | ||
@@ -50,0 +48,0 @@ }]); |
@@ -7,5 +7,6 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import _inherits from "@babel/runtime/helpers/inherits"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
import { gridSize as gridSizeFn } from '@atlaskit/theme'; | ||
import { css as parseCss } from 'emotion'; | ||
import { ClassNames } from '@emotion/core'; | ||
import Section from '../Section'; | ||
@@ -32,3 +33,3 @@ var gridSize = gridSizeFn(); | ||
parentId = _this$props.parentId; | ||
return React.createElement(Section, { | ||
return ___EmotionJSX(Section, { | ||
id: id, | ||
@@ -44,7 +45,8 @@ key: id, | ||
return children({ | ||
css: headerCss, | ||
className: | ||
/*#__PURE__*/ | ||
parseCss(headerCss) | ||
return ___EmotionJSX(ClassNames, null, function (_ref2) { | ||
var getClassName = _ref2.css; | ||
return children({ | ||
css: headerCss, | ||
className: getClassName(headerCss) | ||
}); | ||
}); | ||
@@ -51,0 +53,0 @@ }); |
@@ -1,2 +0,1 @@ | ||
import { css as _css } from "emotion"; | ||
import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
@@ -9,9 +8,12 @@ import _createClass from "@babel/runtime/helpers/createClass"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
var _ref = { | ||
width: '100%', | ||
alignItems: 'center', | ||
display: 'flex', | ||
flexDirection: 'column', | ||
justifyContent: 'space-between' | ||
var _ref = process.env.NODE_ENV === "production" ? { | ||
name: "7xjigh", | ||
styles: "width:100%;align-items:center;display:flex;flex-direction:column;justify-content:space-between;" | ||
} : { | ||
name: "7xjigh", | ||
styles: "width:100%;align-items:center;display:flex;flex-direction:column;justify-content:space-between;", | ||
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0ludGVyYWN0aW9uU3RhdGVNYW5hZ2VyL2luZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtEUSIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9JbnRlcmFjdGlvblN0YXRlTWFuYWdlci9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5cbmltcG9ydCBSZWFjdCwgeyBDb21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5cbmltcG9ydCB0eXBlIHsgSW50ZXJhY3Rpb25TdGF0ZSwgSW50ZXJhY3Rpb25TdGF0ZVByb3BzIH0gZnJvbSAnLi90eXBlcyc7XG5cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIEludGVyYWN0aW9uU3RhdGVNYW5hZ2VyIGV4dGVuZHMgQ29tcG9uZW50PFxuICBJbnRlcmFjdGlvblN0YXRlUHJvcHMsXG4gIEludGVyYWN0aW9uU3RhdGUsXG4+IHtcbiAgc3RhdGUgPSB7XG4gICAgaXNBY3RpdmU6IGZhbHNlLFxuICAgIGlzSG92ZXI6IGZhbHNlLFxuICA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y5vbk1vdXNlVXB9XG4gICAgICAgIG9uRm9jdXM9e3RoaXMub25Gb2N1c31cbiAgICAgICAgb25CbHVyPXt0aGlzLm9uQmx1cn1cbiAgICAgICAgcm9sZT1cInByZXNlbnRhdGlvblwiXG4gICAgICAgIGNzcz17e1xuICAgICAgICAgIHdpZHRoOiAnMTAwJScsXG4gICAgICAgICAgYWxpZ25JdGVtczogJ2NlbnRlcicsXG4gICAgICAgICAgZGlzcGxheTogJ2ZsZXgnLFxuICAgICAgICAgIGZsZXhEaXJlY3Rpb246ICdjb2x1bW4nLFxuICAgICAgICAgIGp1c3RpZnlDb250ZW50OiAnc3BhY2UtYmV0d2VlbicsXG4gICAgICAgIH19XG4gICAgICA+XG4gICAgICAgIHt0aGlzLnByb3BzLmNoaWxkcmVuKHRoaXMuc3RhdGUpfVxuICAgICAgPC9kaXY+XG4gICAgKTtcbiAgfVxufVxuIl19 */" | ||
}; | ||
@@ -93,3 +95,3 @@ | ||
value: function render() { | ||
return React.createElement("div", { | ||
return ___EmotionJSX("div", { | ||
onMouseDown: this.onMouseDown, | ||
@@ -102,3 +104,3 @@ onMouseEnter: this.onMouseEnter, | ||
role: "presentation", | ||
className: _css(_ref) | ||
css: _ref | ||
}, this.props.children(this.state)); | ||
@@ -105,0 +107,0 @@ } |
@@ -10,2 +10,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { PureComponent } from 'react'; | ||
@@ -40,3 +41,3 @@ import { navigationItemClicked } from '../../../common/analytics'; | ||
return React.createElement(ItemPrimitive, _extends({}, state, props)); | ||
return ___EmotionJSX(ItemPrimitive, _extends({}, state, props)); | ||
}); | ||
@@ -50,3 +51,3 @@ | ||
value: function render() { | ||
return React.createElement(InteractionStateManager, null, this.renderItem); | ||
return ___EmotionJSX(InteractionStateManager, null, this.renderItem); | ||
} | ||
@@ -53,0 +54,0 @@ }]); |
@@ -1,6 +0,2 @@ | ||
import { css as _css5 } from "emotion"; | ||
import { css as _css4 } from "emotion"; | ||
import { css as _css3 } from "emotion"; | ||
import { css as _css2 } from "emotion"; | ||
import { css as _css } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
@@ -15,4 +11,4 @@ import _createClass from "@babel/runtime/helpers/createClass"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { PureComponent } from 'react'; | ||
import { css } from 'emotion'; | ||
import { styleReducerNoOp, withContentTheme } from '../../../theme'; | ||
@@ -41,3 +37,3 @@ | ||
var ElementOrComponent = as; | ||
return React.createElement(ElementOrComponent, _extends({ | ||
return ___EmotionJSX(ElementOrComponent, _extends({ | ||
ref: ref | ||
@@ -136,22 +132,20 @@ }, draggableProps, props)); | ||
return React.createElement(ComponentSwitch, _extends({ | ||
return ___EmotionJSX(ComponentSwitch, _extends({ | ||
as: itemComponent, | ||
className: | ||
css: | ||
/*#__PURE__*/ | ||
/*#__PURE__*/ | ||
css({ | ||
_css({ | ||
'&&': styles.itemBase | ||
}) | ||
}, itemProps), !!Before && React.createElement("div", { | ||
className: _css(styles.beforeWrapper) | ||
}, React.createElement(Before, presentationProps)), React.createElement("div", { | ||
className: _css2(styles.contentWrapper) | ||
}, React.createElement("div", { | ||
className: _css3(styles.textWrapper) | ||
}, text), !!subText && React.createElement("div", { | ||
className: _css4(styles.subTextWrapper) | ||
}, subText)), !!After && React.createElement("div", { | ||
className: _css5(styles.afterWrapper) | ||
}, React.createElement(After, presentationProps))); | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0l0ZW0vcHJpbWl0aXZlcy5qcy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3BzID0geyBkcmFnZ2FibGVQcm9wcywgaW5uZXJSZWYsIGRhdGFzZXQgfTtcblxuICAgIGlmIChDdXN0b21Db21wb25lbnQpIHtcbiAgICAgIGl0ZW1Db21wb25lbnQgPSBDdXN0b21Db21wb25lbnQ7XG4gICAgICBpdGVtUHJvcHMgPSBnZXRJdGVtQ29tcG9uZW50UHJvcHModGhpcy5wcm9wcyk7XG4gICAgfSBlbHNlIGlmIChocmVmKSB7XG4gICAgICBpdGVtQ29tcG9uZW50ID0gJ2EnO1xuICAgICAgaXRlbVByb3BzID0ge1xuICAgICAgICBkYXRhc2V0LFxuICAgICAgICBocmVmLFxuICAgICAgICBvbkNsaWNrLFxuICAgICAgICB0YXJnZXQsXG4gICAgICAgIGRyYWdnYWJsZVByb3BzLFxuICAgICAgICBpbm5lclJlZixcbiAgICAgIH07XG4gICAgfSBlbHNlIGlmIChvbkNsaWNrKSB7XG4gICAgICBpdGVtQ29tcG9uZW50ID0gJ2J1dHRvbic7XG4gICAgICBpdGVtUHJvcHMgPSB7IGRhdGFzZXQsIG9uQ2xpY2ssIGRyYWdnYWJsZVByb3BzLCBpbm5lclJlZiB9O1xuICAgIH1cblxuICAgIHJldHVybiAoXG4gICAgICA8Q29tcG9uZW50U3dpdGNoXG4gICAgICAgIGFzPXtpdGVtQ29tcG9uZW50fVxuICAgICAgICBjc3M9e3sgJyYmJzogc3R5bGVzLml0ZW1CYXNlIH19XG4gICAgICAgIHsuLi5pdGVtUHJvcHN9XG4gICAgICA+XG4gICAgICAgIHshIUJlZm9yZSAmJiAoXG4gICAgICAgICAgPGRpdiBjc3M9e3N0eWxlcy5iZWZvcmVXcmFwcGVyfT5cbiAgICAgICAgICAgIDxCZWZvcmUgey4uLnByZXNlbnRhdGlvblByb3BzfSAvPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICApfVxuICAgICAgICA8ZGl2IGNzcz17c3R5bGVzLmNvbnRlbnRXcmFwcGVyfT5cbiAgICAgICAgICA8ZGl2IGNzcz17c3R5bGVzLnRleHRXcmFwcGVyfT57dGV4dH08L2Rpdj5cbiAgICAgICAgICB7ISFzdWJUZXh0ICYmIDxkaXYgY3NzPXtzdHlsZXMuc3ViVGV4dFdyYXBwZXJ9PntzdWJUZXh0fTwvZGl2Pn1cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIHshIUFmdGVyICYmIChcbiAgICAgICAgICA8ZGl2IGNzcz17c3R5bGVzLmFmdGVyV3JhcHBlcn0+XG4gICAgICAgICAgICA8QWZ0ZXIgey4uLnByZXNlbnRhdGlvblByb3BzfSAvPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICApfVxuICAgICAgPC9Db21wb25lbnRTd2l0Y2g+XG4gICAgKTtcbiAgfVxufVxuXG5leHBvcnQgeyBJdGVtUHJpbWl0aXZlIGFzIEl0ZW1QcmltaXRpdmVCYXNlIH07XG5leHBvcnQgZGVmYXVsdCB3aXRoQ29udGVudFRoZW1lKEl0ZW1QcmltaXRpdmUpO1xuIl19 */") | ||
}, itemProps), !!Before && ___EmotionJSX("div", { | ||
css: styles.beforeWrapper | ||
}, ___EmotionJSX(Before, presentationProps)), ___EmotionJSX("div", { | ||
css: styles.contentWrapper | ||
}, ___EmotionJSX("div", { | ||
css: styles.textWrapper | ||
}, text), !!subText && ___EmotionJSX("div", { | ||
css: styles.subTextWrapper | ||
}, subText)), !!After && ___EmotionJSX("div", { | ||
css: styles.afterWrapper | ||
}, ___EmotionJSX(After, presentationProps))); | ||
} | ||
@@ -158,0 +152,0 @@ }]); |
@@ -7,2 +7,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
@@ -27,3 +28,3 @@ import { styleReducerNoOp, withContentTheme } from '../../../theme'; | ||
value: function render() { | ||
return React.createElement(ItemAvatarWithTheme, this.props); | ||
return ___EmotionJSX(ItemAvatarWithTheme, this.props); | ||
} | ||
@@ -30,0 +31,0 @@ }]); |
@@ -8,2 +8,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import _inherits from "@babel/runtime/helpers/inherits"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
@@ -36,3 +37,3 @@ import Avatar from '@atlaskit/avatar'; | ||
var borderColor = styleReducer(mode.item(itemState)[context], itemState).itemBase.backgroundColor; | ||
return React.createElement(Avatar, _extends({ | ||
return ___EmotionJSX(Avatar, _extends({ | ||
borderColor: borderColor | ||
@@ -39,0 +40,0 @@ }, props)); |
@@ -7,2 +7,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
@@ -38,3 +39,3 @@ import { withNavigationUIController } from '../../../ui-controller'; | ||
value: function render() { | ||
return React.createElement(LayoutManagerWithNavigationUIController, this.props); | ||
return ___EmotionJSX(LayoutManagerWithNavigationUIController, this.props); | ||
} | ||
@@ -41,0 +42,0 @@ }]); |
@@ -8,2 +8,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
@@ -53,3 +54,3 @@ | ||
value: function render() { | ||
return React.createElement(Provider, { | ||
return ___EmotionJSX(Provider, { | ||
value: this.emitters | ||
@@ -56,0 +57,0 @@ }, this.props.children); |
@@ -1,2 +0,2 @@ | ||
import { css as _css } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import _extends from "@babel/runtime/helpers/extends"; | ||
@@ -11,2 +11,3 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component, Fragment } from 'react'; | ||
@@ -158,5 +159,5 @@ import { NavigationAnalyticsContext } from '@atlaskit/analytics-namespaced-context'; | ||
var dataset = datasets ? datasets.globalNavigation : {}; | ||
return React.createElement("div", _extends({}, dataset, { | ||
return ___EmotionJSX("div", _extends({}, dataset, { | ||
onMouseOver: EXPERIMENTAL_ALTERNATE_FLYOUT_BEHAVIOUR ? _this.closeFlyout : null | ||
}), React.createElement(ThemeProvider, { | ||
}), ___EmotionJSX(ThemeProvider, { | ||
theme: function theme(_theme) { | ||
@@ -168,3 +169,3 @@ return _objectSpread({ | ||
} | ||
}, React.createElement(Fragment, null, React.createElement(Shadow, { | ||
}, ___EmotionJSX(Fragment, null, ___EmotionJSX(Shadow, { | ||
isBold: !!containerNavigation, | ||
@@ -175,3 +176,3 @@ isOverDarkBg: true, | ||
} | ||
}), React.createElement(GlobalNavigation, null)))); | ||
}), ___EmotionJSX(GlobalNavigation, null)))); | ||
}); | ||
@@ -194,3 +195,3 @@ | ||
var dataset = datasets ? datasets.contextualNavigation : {}; | ||
return React.createElement(ContentNavigationWrapper, _extends({ | ||
return ___EmotionJSX(ContentNavigationWrapper, _extends({ | ||
key: "product-nav-wrapper", | ||
@@ -200,3 +201,3 @@ innerRef: _this.getNavRef, | ||
style: transitionStyle | ||
}, dataset), React.createElement(ContentNavigation, { | ||
}, dataset), ___EmotionJSX(ContentNavigation, { | ||
container: containerNavigation, | ||
@@ -206,7 +207,9 @@ isVisible: isVisible, | ||
product: productNavigation | ||
}), isCollapsed && !EXPERIMENTAL_FLYOUT_ON_HOVER ? React.createElement("div", { | ||
}), isCollapsed && !EXPERIMENTAL_FLYOUT_ON_HOVER ? ___EmotionJSX("div", { | ||
"aria-label": "Click to expand the navigation", | ||
role: "button", | ||
onClick: navigationUIController.expand, | ||
className: _css({ | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
cursor: 'pointer', | ||
@@ -224,3 +227,3 @@ height: '100%', | ||
} | ||
}), | ||
}, process.env.NODE_ENV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XG5cbiAgICBjb25zdCBpc1Zpc2libGUgPSB0cmFuc2l0aW9uU3RhdGUgIT09ICdleGl0ZWQnO1xuICAgIGNvbnN0IHNob3VsZERpc2FibGVJbnRlcmFjdGlvbiA9XG4gICAgICBpc1Jlc2l6aW5nIHx8IGlzVHJhbnNpdGlvbmluZyh0cmFuc2l0aW9uU3RhdGUpO1xuXG4gICAgY29uc3QgZGF0YXNldCA9IGRhdGFzZXRzID8gZGF0YXNldHMuY29udGV4dHVhbE5hdmlnYXRpb24gOiB7fTtcblxuICAgIHJldHVybiAoXG4gICAgICA8Q29udGVudE5hdmlnYXRpb25XcmFwcGVyXG4gICAgICAgIGtleT1cInByb2R1Y3QtbmF2LXdyYXBwZXJcIlxuICAgICAgICBpbm5lclJlZj17dGhpcy5nZXROYXZSZWZ9XG4gICAgICAgIGRpc2FibGVJbnRlcmFjdGlvbj17c2hvdWxkRGlzYWJsZUludGVyYWN0aW9ufVxuICAgICAgICBzdHlsZT17dHJhbnNpdGlvblN0eWxlfVxuICAgICAgICB7Li4uZGF0YXNldH1cbiAgICAgID5cbiAgICAgICAgPENvbnRlbnROYXZpZ2F0aW9uXG4gICAgICAgICAgY29udGFpbmVyPXtjb250YWluZXJOYXZpZ2F0aW9ufVxuICAgICAgICAgIGlzVmlzaWJsZT17aXNWaXNpYmxlfVxuICAgICAgICAgIGtleT1cInByb2R1Y3QtbmF2XCJcbiAgICAgICAgICBwcm9kdWN0PXtwcm9kdWN0TmF2aWdhdGlvbn1cbiAgICAgICAgLz5cbiAgICAgICAge2lzQ29sbGFwc2VkICYmICFFWFBFUklNRU5UQUxfRkxZT1VUX09OX0hPVkVSID8gKFxuICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgIGFyaWEtbGFiZWw9XCJDbGljayB0byBleHBhbmQgdGhlIG5hdmlnYXRpb25cIlxuICAgICAgICAgICAgcm9sZT1cImJ1dHRvblwiXG4gICAgICAgICAgICBvbkNsaWNrPXtuYXZpZ2F0aW9uVUlDb250cm9sbGVyLmV4cGFuZH1cbiAgICAgICAgICAgIGNzcz17e1xuICAgICAgICAgICAgICBjdXJzb3I6ICdwb2ludGVyJyxcbiAgICAgICAgICAgICAgaGVpZ2h0OiAnMTAwJScsXG4gICAgICAgICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgICAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgICAgICAgICB0cmFuc2l0aW9uOiAnYmFja2dyb3VuZC1jb2xvciAxMDBtcycsXG4gICAgICAgICAgICAgIHdpZHRoOiBDT05URU5UX05BVl9XSURUSF9DT0xMQVBTRUQsXG5cbiAgICAgICAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kQ29sb3I6IGNvbnRhaW5lck5hdmlnYXRpb25cbiAgICAgICAgICAgICAgICAgID8gY29sb3JzLk4zMFxuICAgICAgICAgICAgICAgICAgOiAncmdiYSgyNTUsIDI1NSwgMjU1LCAwLjA4KScsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICc6YWN0aXZlJzoge1xuICAgICAgICAgICAgICAgIGJhY2tncm91bmRDb2xvcjogY29sb3JzLk40MEEsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgdGFiSW5kZXg9XCIwXCJcbiAgICAgICAgICAvPlxuICAgICAgICApIDogbnVsbH1cbiAgICAgIDwvQ29udGVudE5hdmlnYXRpb25XcmFwcGVyPlxuICAgICk7XG4gIH07XG5cbiAgcmVuZGVyTmF2aWdhdGlvbiA9ICgpID0+IHtcbiAgICBjb25zdCB7XG4gICAgICBkYXRhc2V0cyxcbiAgICAgIG5hdmlnYXRpb25VSUNvbnRyb2xsZXIsXG4gICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgY2FtZWxjYXNlXG4gICAgICBleHBlcmltZW50YWxfZmx5b3V0T25Ib3ZlcjogRVhQRVJJTUVOVEFMX0ZMWU9VVF9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kgYXBwbHkgbGlzdGVuZXJzIHRvIHRoZSBOQVYgcmVzaXplIHRyYW5zaXRpb25cbiAgICAgICAgICAgIHByb2R1Y3ROYXZXaWR0aD17cHJvZHVjdE5hdldpZHRofVxuICAgICAgICAgID5cbiAgICAgICAgICAgIHsoeyB0cmFuc2l0aW9uU3R5bGUsIHRyYW5zaXRpb25TdGF0ZSB9KSA9PiB7XG4gICAgICAgICAgICAgIGNvbnN0IG9uTW91c2VPdXQgPVxuICAgICAgICAgICAgICAgIGlzQ29sbGFwc2VkICYmIEVYUEVSSU1FTlRBTF9GTFlPVVRfT05fSE9WRVIgJiYgZmx5b3V0SXNPcGVuXG4gICAgICAgICAgICAgICAgICA/IHRoaXMubW91c2VPdXRGbHlvdXRBcmVhXG4gICAgICAgICAgICAgICAgICA6IG51bGw7XG4gICAgICAgICAgICAgIGNvbnN0IG9uTW91c2VPdmVyID1cbiAgICAgICAgICAgICAgICBpc0NvbGxhcHNlZCAmJiBFWFBFUklNRU5UQUxfRkxZT1VUX09OX0hPVkVSICYmICFmbHlvdXRJc09wZW5cbiAgICAgICAgICAgICAgICAgID8gdGhpcy5tb3VzZU92ZXJGbHlvdXRBcmVhXG4gICAgICAgICAgICAgICAgICA6IG51bGw7XG4gICAgICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICAgICAgPE5hdmlnYXRpb25Db250YWluZXJcbiAgICAgICAgICAgICAgICAgIHsuLi5kYXRhc2V0fVxuICAgICAgICAgICAgICAgICAgdG9wT2Zmc2V0PXt0b3BPZmZzZXR9XG4gICAgICAgICAgICAgICAgICBpbm5lclJlZj17dGhpcy5nZXRDb250YWluZXJSZWZ9XG4gICAgICAgICAgICAgICAgICBvbk1vdXNlRW50ZXI9e3RoaXMubW91c2VFbnRlcn1cbiAgICAgICAgICAgICAgICAgIG9uTW91c2VPdmVyPXtcbiAgICAgICAgICAgICAgICAgICAgRVhQRVJJTUVOVEFMX0FMVEVSTkFURV9GTFlPVVRfQkVIQVZJT1VSID8gb25Nb3VzZU92ZXIgOiBudWxsXG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICBvbk1vdXNlT3V0PXtvbk1vdXNlT3V0fVxuICAgICAgICAgICAgICAgICAgb25Nb3VzZUxlYXZlPXt0aGlzLm1vdXNlTGVhdmV9XG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgPFJlc2l6ZUNvbnRyb2xcbiAgICAgICAgICAgICAgICAgICAgY29sbGFwc2VUb2dnbGVUb29sdGlwQ29udGVudD17Y29sbGFwc2VUb2dnbGVUb29sdGlwQ29udGVudH1cbiAgICAgICAgICAgICAgICAgICAgZXhwYW5kQ29sbGFwc2VBZmZvcmRhbmNlUmVmPXtcbiAgICAgICAgICAgICAgICAgICAgICB0aGlzLm5vZGVSZWZzLmV4cGFuZENvbGxhcHNlQWZmb3JkYW5jZVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBjYW1lbGNhc2VcbiAgICAgICAgICAgICAgICAgICAgZXhwZXJpbWVudGFsX2ZseW91dE9uSG92ZXI9e0VYUEVSSU1FTlRBTF9GTFlPVVRfT05fSE9WRVJ9XG4gICAgICAgICAgICAgICAgICAgIGlzRGlzYWJsZWQ9e2lzUmVzaXplRGlzYWJsZWR9XG4gICAgICAgICAgICAgICAgICAgIGZseW91dElzT3Blbj17Zmx5b3V0SXNPcGVufVxuICAgICAgICAgICAgICAgICAgICBpc0dyYWJBcmVhRGlzYWJsZWQ9e2l0ZW1Jc0RyYWdnaW5nfVxuICAgICAgICAgICAgICAgICAgICBtb3VzZUlzT3Zlck5hdmlnYXRpb249e21vdXNlSXNPdmVyTmF2aWdhdGlvbn1cbiAgICAgICAgICAgICAgICAgICAgb25Nb3VzZU92ZXJCdXR0b25CdWZmZXI9e1xuICAgICAgICAgICAgICAgICAgICAgIEVYUEVSSU1FTlRBTF9BTFRFUk5BVEVfRkxZT1VUX0JFSEFWSU9VUlxuICAgICAgICAgICAgICAgICAgICAgICAgPyB0aGlzLmNsb3NlRmx5b3V0XG4gICAgICAgICAgICAgICAgICAgICAgICA6IG51bGxcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBtdXRhdGlvblJlZnM9e1tcbiAgICAgICAgICAgICAgICAgICAgICB7IHJlZjogdGhpcy5wYWdlUmVmLCBwcm9wZXJ0eTogJ3BhZGRpbmctbGVmdCcgfSxcbiAgICAgICAgICAgICAgICAgICAgICB7IHJlZjogdGhpcy5wcm9kdWN0TmF2UmVmLCBwcm9wZXJ0eTogJ3dpZHRoJyB9LFxuICAgICAgICAgICAgICAgICAgICBdfVxuICAgICAgICAgICAgICAgICAgICBuYXZpZ2F0aW9uPXtuYXZpZ2F0aW9uVUlDb250cm9sbGVyfVxuICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICB7KHsgaXNEcmFnZ2luZywgd2lkdGggfSkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICAgICAgICAgICAgICA8Q29udGFpbmVyTmF2aWdhdGlvbk1hc2tcbiAgICAgICAgICAgICAgICAgICAgICAgICAgZGlzYWJsZUludGVyYWN0aW9uPXtpdGVtSXNEcmFnZ2luZ31cbiAgICAgICAgICAgICAgICAgICAgICAgICAgb25Nb3VzZU92ZXI9e1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEVYUEVSSU1FTlRBTF9BTFRFUk5BVEVfRkxZT1VUX0JFSEFWSU9VUlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPyBudWxsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6IG9uTW91c2VPdmVyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgPFJlbmRlckJsb2NrZXJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBibG9ja09uQ2hhbmdlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaXRlbUlzRHJhZ2dpbmc9e2l0ZW1Jc0RyYWdnaW5nfVxuICAgICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge3RoaXMucmVuZGVyR2xvYmFsTmF2aWdhdGlvbigpfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt0aGlzLnJlbmRlckNvbnRlbnROYXZpZ2F0aW9uKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlzRHJhZ2dpbmcsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uU3RhdGUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uU3R5bGUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aWR0aCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgPC9SZW5kZXJCbG9ja2VyPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9Db250YWluZXJOYXZpZ2F0aW9uTWFzaz5cbiAgICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICAgICAgPC9SZXNpemVDb250cm9sPlxuICAgICAgICAgICAgICAgIDwvTmF2aWdhdGlvbkNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH19XG4gICAgICAgICAgPC9SZXNpemVUcmFuc2l0aW9uPlxuICAgICAgICA8L05hdmlnYXRpb25BbmFseXRpY3NDb250ZXh0PlxuICAgICAgPC9MYXlvdXRFdmVudExpc3RlbmVyPlxuICAgICk7XG4gIH07XG5cbiAgcmVuZGVyUGFnZUNvbnRlbnQgPSAoKSA9PiB7XG4gICAgY29uc3Qge1xuICAgICAgbmF2aWdhdGlvblVJQ29udHJvbGxl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G9wT2Zmc2V0fT5cbiAgICAgICAge3RoaXMucmVuZGVyTmF2aWdhdGlvbigpfVxuICAgICAgICB7dGhpcy5yZW5kZXJQYWdlQ29udGVudCgpfVxuICAgICAgPC9MYXlvdXRDb250YWluZXI+XG4gICAgKTtcbiAgfVxufVxuIl19 */"), | ||
tabIndex: "0" | ||
@@ -250,6 +253,6 @@ }) : null); | ||
var dataset = datasets ? datasets.navigation : {}; | ||
return React.createElement(LayoutEventListener, { | ||
return ___EmotionJSX(LayoutEventListener, { | ||
onItemDragStart: _this.onItemDragStart, | ||
onItemDragEnd: _this.onItemDragEnd | ||
}, React.createElement(NavigationAnalyticsContext, { | ||
}, ___EmotionJSX(NavigationAnalyticsContext, { | ||
data: { | ||
@@ -266,3 +269,3 @@ attributes: { | ||
} | ||
}, React.createElement(ResizeTransition, { | ||
}, ___EmotionJSX(ResizeTransition, { | ||
from: [CONTENT_NAV_WIDTH_COLLAPSED], | ||
@@ -280,3 +283,3 @@ in: !isCollapsed || flyoutIsOpen, | ||
var onMouseOver = isCollapsed && EXPERIMENTAL_FLYOUT_ON_HOVER && !flyoutIsOpen ? _this.mouseOverFlyoutArea : null; | ||
return React.createElement(NavigationContainer, _extends({}, dataset, { | ||
return ___EmotionJSX(NavigationContainer, _extends({}, dataset, { | ||
topOffset: topOffset, | ||
@@ -288,3 +291,3 @@ innerRef: _this.getContainerRef, | ||
onMouseLeave: _this.mouseLeave | ||
}), React.createElement(ResizeControl, { | ||
}), ___EmotionJSX(ResizeControl, { | ||
collapseToggleTooltipContent: collapseToggleTooltipContent, | ||
@@ -310,6 +313,6 @@ expandCollapseAffordanceRef: _this.nodeRefs.expandCollapseAffordance // eslint-disable-next-line camelcase | ||
width = _ref4.width; | ||
return React.createElement(ContainerNavigationMask, { | ||
return ___EmotionJSX(ContainerNavigationMask, { | ||
disableInteraction: itemIsDragging, | ||
onMouseOver: EXPERIMENTAL_ALTERNATE_FLYOUT_BEHAVIOUR ? null : onMouseOver | ||
}, React.createElement(RenderBlocker, { | ||
}, ___EmotionJSX(RenderBlocker, { | ||
blockOnChange: true, | ||
@@ -340,3 +343,3 @@ itemIsDragging: itemIsDragging | ||
productNavWidth = _navigationUIControll3.productNavWidth; | ||
return React.createElement(PageContent, { | ||
return ___EmotionJSX(PageContent, { | ||
flyoutIsOpen: flyoutIsOpen, | ||
@@ -380,3 +383,3 @@ innerRef: _this.getPageRef, | ||
var topOffset = this.props.topOffset; | ||
return React.createElement(LayoutContainer, { | ||
return ___EmotionJSX(LayoutContainer, { | ||
topOffset: topOffset | ||
@@ -383,0 +386,0 @@ }, this.renderNavigation(), this.renderPageContent()); |
@@ -1,5 +0,5 @@ | ||
import { css as _css2 } from "emotion"; | ||
import _extends from "@babel/runtime/helpers/extends"; | ||
import { css as _css } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React from 'react'; | ||
@@ -11,8 +11,10 @@ import { layers } from '@atlaskit/theme'; | ||
return React.createElement("div", _extends({ | ||
className: _css({ | ||
return ___EmotionJSX("div", _extends({ | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
display: 'flex', | ||
flexDirection: 'row', | ||
height: "calc(100vh - ".concat(topOffset || 0, "px)") | ||
}) | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0xheW91dE1hbmFnZXIvcHJpbWl0aXZlcy5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFRTSIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9MYXlvdXRNYW5hZ2VyL3ByaW1pdGl2ZXMuanMiLCJzb3VyY2VzQ29udGVudCI6WyIv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cbiAgZGlzYWJsZUludGVyYWN0aW9uOiBib29sZWFuLFxufTtcbiJdfQ== */") | ||
}, props)); | ||
@@ -25,5 +27,7 @@ }; | ||
return React.createElement("div", _extends({ | ||
return ___EmotionJSX("div", _extends({ | ||
ref: innerRef, | ||
className: _css2({ | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
bottom: 0, | ||
@@ -37,4 +41,4 @@ display: 'flex', | ||
height: "calc(100vh - ".concat(topOffset, "px)") | ||
}) | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL0xheW91dE1hbmFnZXIvcHJpbWl0aXZlcy5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFxQkkiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcHJlc2VudGF0aW9uYWwvTGF5b3V0TWFuYWdlci9wcmltaXRpdmVzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcblxuaW1wb3J0IFJlYWN0LCB7IHR5cGUgRWxlbWVudFJlZiB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGxheWVycyB9IGZyb20gJ0BhdGxhc2tpdC90aGVtZSc7XG5cbmV4cG9ydCBjb25zdCBMYXlvdXRDb250YWluZXIgPSAoeyB0b3BPZmZzZXQsIC4uLnByb3BzIH06ICopID0+IHtcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICBjc3M9e3tcbiAgICAgICAgZGlzcGxheTogJ2ZsZXgnLFxuICAgICAgICBmbGV4RGlyZWN0aW9uOiAncm93JyxcbiAgICAgICAgaGVpZ2h0OiBgY2FsYygxMDB2aCAtICR7dG9wT2Zmc2V0IHx8IDB9cHgpYCxcbiAgICAgIH19XG4gICAgICB7Li4ucHJvcHN9XG4gICAgLz5cbiAgKTtcbn07XG5cbmV4cG9ydCBjb25zdCBOYXZpZ2F0aW9uQ29udGFpbmVyID0gKHsgdG9wT2Zmc2V0LCBpbm5lclJlZiwgLi4ucHJvcHMgfTogKikgPT4gKFxuICA8ZGl2XG4gICAgcmVmPXtpbm5lclJlZn1cbiAgICBjc3M9e3tcbiAgICAgIGJvdHRvbTogMCxcbiAgICAgIGRpc3BsYXk6ICdmbGV4JyxcbiAgICAgIGZsZXhEaXJlY3Rpb246ICdyb3cnLFxuICAgICAgbGVmdDogMCxcbiAgICAgIHBvc2l0aW9uOiAnZml4ZWQnLFxuICAgICAgdG9wOiB0b3BPZmZzZXQsXG4gICAgICB6SW5kZXg6IGxheWVycy5uYXZpZ2F0aW9uKCksXG4gICAgICBoZWlnaHQ6IGBjYWxjKDEwMHZoIC0gJHt0b3BPZmZzZXR9cHgpYCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbi8vIFJlc2l6YWJsZSBFbGVtZW50cyBjYW4gYmUgZGlzYWJsZWRcblxuZXhwb3J0IHR5cGUgUmVzaXphYmxlID0ge1xuICBpbm5lclJlZj86IEVsZW1lbnRSZWY8Kj4sXG4gIGRpc2FibGVJbnRlcmFjdGlvbjogYm9vbGVhbixcbn07XG4iXX0= */") | ||
}, props)); | ||
}; // Resizable Elements can be disabled |
@@ -9,2 +9,3 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { PureComponent } from 'react'; | ||
@@ -106,3 +107,3 @@ | ||
return isActive ? React.createElement(PropertyToggle, props) : null; | ||
return isActive ? ___EmotionJSX(PropertyToggle, props) : null; | ||
}; // appease flow | ||
@@ -109,0 +110,0 @@ |
@@ -8,5 +8,6 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
import { gridSize as gridSizeFn } from '@atlaskit/theme'; | ||
import { css as parseCss } from 'emotion'; | ||
import { ClassNames } from '@emotion/core'; | ||
import Section from '../Section'; | ||
@@ -34,3 +35,3 @@ var gridSize = gridSizeFn(); | ||
parentId = _this$props.parentId; | ||
return React.createElement(Section, { | ||
return ___EmotionJSX(Section, { | ||
id: id, | ||
@@ -47,7 +48,8 @@ parentId: parentId, | ||
return children({ | ||
css: menuCss, | ||
className: | ||
/*#__PURE__*/ | ||
parseCss(menuCss) | ||
return ___EmotionJSX(ClassNames, null, function (_ref2) { | ||
var getClassName = _ref2.css; | ||
return children({ | ||
css: menuCss, | ||
className: getClassName(menuCss) | ||
}); | ||
}); | ||
@@ -54,0 +56,0 @@ }); |
@@ -6,2 +6,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _inherits from "@babel/runtime/helpers/inherits"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { PureComponent } from 'react'; | ||
@@ -38,3 +39,3 @@ import { PageWrapper } from './primitives'; | ||
onCollapseEnd = _this$props.onCollapseEnd; | ||
return React.createElement(ResizeTransition, { | ||
return ___EmotionJSX(ResizeTransition, { | ||
from: [CONTENT_NAV_WIDTH_COLLAPSED], | ||
@@ -56,3 +57,3 @@ in: !isCollapsed, | ||
transitionState = _ref.transitionState; | ||
return React.createElement(PageWrapper, { | ||
return ___EmotionJSX(PageWrapper, { | ||
disableInteraction: isResizing || isTransitioning(transitionState), | ||
@@ -59,0 +60,0 @@ innerRef: innerRef, |
import _extends from "@babel/runtime/helpers/extends"; | ||
import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import { css as _css } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React from 'react'; | ||
@@ -13,10 +14,12 @@ import { applyDisabledProperties } from '../../../common/helpers'; | ||
return React.createElement("div", _extends({ | ||
return ___EmotionJSX("div", _extends({ | ||
ref: innerRef, | ||
className: _css(_objectSpread({ | ||
css: | ||
/*#__PURE__*/ | ||
_css(_objectSpread({ | ||
flex: '1 1 auto', | ||
marginLeft: offset, | ||
width: 0 | ||
}, applyDisabledProperties(!!disableInteraction))) | ||
}, applyDisabledProperties(!!disableInteraction)), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1BhZ2VDb250ZW50L3ByaW1pdGl2ZXMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZUkiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcHJlc2VudGF0aW9uYWwvUGFnZUNvbnRlbnQvcHJpbWl0aXZlcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5cbmltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBhcHBseURpc2FibGVkUHJvcGVydGllcyB9IGZyb20gJy4uLy4uLy4uL2NvbW1vbi9oZWxwZXJzJztcbmltcG9ydCB0eXBlIHsgUmVzaXphYmxlIH0gZnJvbSAnLi4vTGF5b3V0TWFuYWdlci9wcmltaXRpdmVzJztcblxudHlwZSBQYWdlUHJvcHMgPSBSZXNpemFibGUgJiB7IG9mZnNldDogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgUGFnZVdyYXBwZXIgPSAoe1xuICBpbm5lclJlZixcbiAgZGlzYWJsZUludGVyYWN0aW9uLFxuICBvZmZzZXQsXG4gIC4uLnByb3BzXG59OiBQYWdlUHJvcHMpID0+IChcbiAgPGRpdlxuICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgY3NzPXt7XG4gICAgICBmbGV4OiAnMSAxIGF1dG8nLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0LFxuICAgICAgd2lkdGg6IDAsIC8vIGZpeCBmbGV4Ym94IGdyb3d0aCB0byBhdmFpbGFibGUgd2lkdGggaW5zdGVhZCBvZiAxMDAlXG4gICAgICAuLi5hcHBseURpc2FibGVkUHJvcGVydGllcyghIWRpc2FibGVJbnRlcmFjdGlvbiksXG4gICAgfX1cbiAgICB7Li4ucHJvcHN9XG4gIC8+XG4pO1xuIl19 */") | ||
}, props)); | ||
}; |
@@ -9,2 +9,3 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { PureComponent } from 'react'; | ||
@@ -102,3 +103,3 @@ import Transition from 'react-transition-group/Transition'; | ||
inProp = _this$props.in; | ||
return React.createElement(Transition, { | ||
return ___EmotionJSX(Transition, { | ||
onEntering: onExpandStart, | ||
@@ -105,0 +106,0 @@ onEntered: onExpandEnd, |
@@ -1,15 +0,7 @@ | ||
import { keyframes } from 'emotion'; | ||
import { css, keyframes } from '@emotion/core'; | ||
import { transitionDuration, transitionTimingFunction } from '../../../common/constants'; | ||
var enterAnimationDown = | ||
/*#__PURE__*/ | ||
keyframes(["\n from { transform: translateX(100%); }\n to { transform: translateX(0%); }\n"]); | ||
var enterAnimationUp = | ||
/*#__PURE__*/ | ||
keyframes(["\n from { transform: translateX(-100%); }\n to { transform: translateX(0%); }\n"]); | ||
var exitAnimationDown = | ||
/*#__PURE__*/ | ||
keyframes(["\n from { transform: translateX(0); }\n to { transform: translateX(-100%); }\n"]); | ||
var exitAnimationUp = | ||
/*#__PURE__*/ | ||
keyframes(["\n from { transform: translateX(0); }\n to { transform: translateX(100%); }\n"]); | ||
var enterAnimationDown = keyframes(["\n from { transform: translateX(100%); }\n to { transform: translateX(0%); }\n"]); | ||
var enterAnimationUp = keyframes(["\n from { transform: translateX(-100%); }\n to { transform: translateX(0%); }\n"]); | ||
var exitAnimationDown = keyframes(["\n from { transform: translateX(0); }\n to { transform: translateX(-100%); }\n"]); | ||
var exitAnimationUp = keyframes(["\n from { transform: translateX(0); }\n to { transform: translateX(100%); }\n"]); | ||
export default (function (_ref) { | ||
@@ -25,8 +17,10 @@ var state = _ref.state, | ||
var animationName = traversalDirection === 'down' ? exitAnimationDown : exitAnimationUp; | ||
return { | ||
animationName: animationName, | ||
animationDuration: transitionDuration, | ||
animationFillMode: 'forwards', | ||
animationTimingFunction: transitionTimingFunction | ||
}; | ||
return ( | ||
/*#__PURE__*/ | ||
css({ | ||
animationDuration: transitionDuration, | ||
animationFillMode: 'forwards', | ||
animationTimingFunction: transitionTimingFunction | ||
}, " animation-name:", animationName, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1NlY3Rpb24vZ2V0QW5pbWF0aW9uU3R5bGVzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTBDYyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9TZWN0aW9uL2dldEFuaW1hdGlvblN0eWxlcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5cbmltcG9ydCB7IGNzcywga2V5ZnJhbWVzIH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XG5cbmltcG9ydCB7XG4gIHRyYW5zaXRpb25EdXJhdGlvbixcbiAgdHJhbnNpdGlvblRpbWluZ0Z1bmN0aW9uLFxufSBmcm9tICcuLi8uLi8uLi9jb21tb24vY29uc3RhbnRzJztcblxuY29uc3QgZW50ZXJBbmltYXRpb25Eb3duID0ga2V5ZnJhbWVzYFxuICBmcm9tIHsgdHJhbnNmb3JtOiB0cmFuc2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gdHJhdmVyc2FsRGlyZWN0aW9uID09PSAnZG93bicgPyBleGl0QW5pbWF0aW9uRG93biA6IGV4aXRBbmltYXRpb25VcDtcbiAgICByZXR1cm4gY3NzYFxuICAgICR7e1xuICAgICAgYW5pbWF0aW9uRHVyYXRpb246IHRyYW5zaXRpb25EdXJhdGlvbixcbiAgICAgIGFuaW1hdGlvbkZpbGxNb2RlOiAnZm9yd2FyZHMnLFxuICAgICAgYW5pbWF0aW9uVGltaW5nRnVuY3Rpb246IHRyYW5zaXRpb25UaW1pbmdGdW5jdGlvbixcbiAgICB9fVxuICAgICAgYW5pbWF0aW9uLW5hbWU6ICR7YW5pbWF0aW9uTmFtZX07XG4gICAgYDtcbiAgfVxuXG4gIGlmIChzdGF0ZSA9PT0gJ2VudGVyaW5nJykge1xuICAgIGNvbnN0IGFuaW1hdGlvbk5hbWUgPVxuICAgICAgdHJhdmVyc2FsRGlyZWN0aW9uID09PSAnZG93bicgPyBlbnRlckFuaW1hdGlvbkRvd24gOiBlbnRlckFuaW1hdGlvblVwO1xuICAgIHJldHVybiBjc3NgXG4gICAgJHt7XG4gICAgICBhbmltYXRpb25EdXJhdGlvbjogdHJhbnNpdGlvbkR1cmF0aW9uLFxuICAgICAgYW5pbWF0aW9uRmlsbE1vZGU6ICdmb3J3YXJkcycsXG4gICAgICBhbmltYXRpb25UaW1pbmdGdW5jdGlvbjogdHJhbnNpdGlvblRpbWluZ0Z1bmN0aW9uLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgICAgekluZGV4OiAxLFxuICAgIH19XG4gICAgICBhbmltYXRpb24tbmFtZTogJHthbmltYXRpb25OYW1lfTtcbiAgICBgO1xuICB9XG5cbiAgcmV0dXJuIHt9O1xufTtcbiJdfQ== */")) | ||
); | ||
} | ||
@@ -37,11 +31,13 @@ | ||
return { | ||
animationName: _animationName, | ||
animationDuration: transitionDuration, | ||
animationFillMode: 'forwards', | ||
animationTimingFunction: transitionTimingFunction, | ||
position: 'absolute', | ||
width: '100%', | ||
zIndex: 1 | ||
}; | ||
return ( | ||
/*#__PURE__*/ | ||
css({ | ||
animationDuration: transitionDuration, | ||
animationFillMode: 'forwards', | ||
animationTimingFunction: transitionTimingFunction, | ||
position: 'absolute', | ||
width: '100%', | ||
zIndex: 1 | ||
}, " animation-name:", _animationName, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1NlY3Rpb24vZ2V0QW5pbWF0aW9uU3R5bGVzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVEYyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9TZWN0aW9uL2dldEFuaW1hdGlvblN0eWxlcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5cbmltcG9ydCB7IGNzcywga2V5ZnJhbWVzIH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XG5cbmltcG9ydCB7XG4gIHRyYW5zaXRpb25EdXJhdGlvbixcbiAgdHJhbnNpdGlvblRpbWluZ0Z1bmN0aW9uLFxufSBmcm9tICcuLi8uLi8uLi9jb21tb24vY29uc3RhbnRzJztcblxuY29uc3QgZW50ZXJBbmltYXRpb25Eb3duID0ga2V5ZnJhbWVzYFxuICBmcm9tIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDEwMCUpOyB9XG4gIHRvIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAlKTsgfVxuYDtcblxuY29uc3QgZW50ZXJBbmltYXRpb25VcCA9IGtleWZyYW1lc2BcbiAgZnJvbSB7IHRyYW5zZm9ybTogdHJhbnNsYXRlWCgtMTAwJSk7IH1cbiAgdG8geyB0cmFuc2Zvcm06IH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OiAnZm9yd2FyZHMnLFxuICAgICAgYW5pbWF0aW9uVGltaW5nRnVuY3Rpb246IHRyYW5zaXRpb25UaW1pbmdGdW5jdGlvbixcbiAgICB9fVxuICAgICAgYW5pbWF0aW9uLW5hbWU6ICR7YW5pbWF0aW9uTmFtZX07XG4gICAgYDtcbiAgfVxuXG4gIGlmIChzdGF0ZSA9PT0gJ2VudGVyaW5nJykge1xuICAgIGNvbnN0IGFuaW1hdGlvbk5hbWUgPVxuICAgICAgdHJhdmVyc2FsRGlyZWN0aW9uID09PSAnZG93bicgPyBlbnRlckFuaW1hdGlvbkRvd24gOiBlbnRlckFuaW1hdGlvblVwO1xuICAgIHJldHVybiBjc3NgXG4gICAgJHt7XG4gICAgICBhbmltYXRpb25EdXJhdGlvbjogdHJhbnNpdGlvbkR1cmF0aW9uLFxuICAgICAgYW5pbWF0aW9uRmlsbE1vZGU6ICdmb3J3YXJkcycsXG4gICAgICBhbmltYXRpb25UaW1pbmdGdW5jdGlvbjogdHJhbnNpdGlvblRpbWluZ0Z1bmN0aW9uLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgICAgekluZGV4OiAxLFxuICAgIH19XG4gICAgICBhbmltYXRpb24tbmFtZTogJHthbmltYXRpb25OYW1lfTtcbiAgICBgO1xuICB9XG5cbiAgcmV0dXJuIHt9O1xufTtcbiJdfQ== */")) | ||
); | ||
} | ||
@@ -48,0 +44,0 @@ |
@@ -7,2 +7,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
@@ -27,3 +28,3 @@ import { styleReducerNoOp, withContentTheme } from '../../../theme'; | ||
value: function render() { | ||
return React.createElement(SectionWithTheme, this.props); | ||
return ___EmotionJSX(SectionWithTheme, this.props); | ||
} | ||
@@ -30,0 +31,0 @@ }]); |
@@ -1,2 +0,1 @@ | ||
import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
@@ -10,43 +9,48 @@ import _createClass from "@babel/runtime/helpers/createClass"; | ||
import _extends from "@babel/runtime/helpers/extends"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { PureComponent } from 'react'; | ||
import TransitionGroup from 'react-transition-group/TransitionGroup'; | ||
import Transition from 'react-transition-group/Transition'; | ||
import { css as parseJss } from 'emotion'; | ||
import { ClassNames, css } from '@emotion/core'; | ||
import { NavigationAnalyticsContext } from '@atlaskit/analytics-namespaced-context'; | ||
import { transitionDurationMs } from '../../../common/constants'; | ||
import getAnimationStyles from './getAnimationStyles'; | ||
var _ref = { | ||
position: 'relative' | ||
var _ref = process.env.NODE_ENV === "production" ? { | ||
name: "79elbk", | ||
styles: "position:relative;" | ||
} : { | ||
name: "79elbk", | ||
styles: "position:relative;", | ||
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1NlY3Rpb24vU2VjdGlvbi5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFlTyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9TZWN0aW9uL1NlY3Rpb24uanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuXG5pbXBvcnQgUmVhY3QsIHsgUHVyZUNvbXBvbmVudCwgdHlwZSBOb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IFRyYW5zaXRpb25Hcm91cCBmcm9tICdyZWFjdC10cmFuc2l0aW9uLWdyb3VwL1RyYW5zaXRpb25Hcm91cCc7XG5pbXBvcnQgVHJhbnNpdGlvbiBmcm9tICdyZWFjdC10cmFu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ICAgfVxuICB9XG5cbiAgcmVuZGVyKCkge1xuICAgIGNvbnN0IHtcbiAgICAgIGFsd2F5c1Nob3dTY3JvbGxIaW50LFxuICAgICAgaWQsXG4gICAgICBjaGlsZHJlbixcbiAgICAgIHNob3VsZEdyb3csXG4gICAgICBzdHlsZXM6IHN0eWxlUmVkdWNlcixcbiAgICAgIHRoZW1lLFxuICAgIH0gPSB0aGlzLnByb3BzO1xuXG4gICAgY29uc3QgeyBtb2RlLCBjb250ZXh0IH0gPSB0aGVtZTtcbiAgICBjb25zdCBzdHlsZXMgPSBzdHlsZVJlZHVjZXIoXG4gICAgICBtb2RlLnNlY3Rpb24oeyBhbHdheXNTaG93U2Nyb2xsSGludCB9KVtjb250ZXh0XSxcbiAgICApO1xuXG4gICAgcmV0dXJuIChcbiAgICAgIDxUcmFuc2l0aW9uR3JvdXBcbiAgICAgICAgY29tcG9uZW50PXtcbiAgICAgICAgICBzaG91bGRHcm93ID8gU2Nyb2xsYWJsZVRyYW5zaXRpb25Hcm91cCA6IFN0YXRpY1RyYW5zaXRpb25Hcm91cFxuICAgICAgICB9XG4gICAgICAgIGFwcGVhclxuICAgICAgPlxuICAgICAgICA8VHJhbnNpdGlvblxuICAgICAgICAgIGtleT17aWR9XG4gICAgICAgICAgdGltZW91dD17dGhpcy5pc01vdW50ZWQgPyB0cmFuc2l0aW9uRHVyYXRpb25NcyA6IDB9XG4gICAgICAgID5cbiAgICAgICAgICB7c3RhdGUgPT4ge1xuICAgICAgICAgICAgY29uc3QgeyB0cmF2ZXJzYWxEaXJlY3Rpb24gfSA9IHRoaXMuc3RhdGU7XG4gICAgICAgICAgICBjb25zdCBhbmltYXRpb25TdHlsZXMgPSBnZXRBbmltYXRpb25TdHlsZXMoe1xuICAgICAgICAgICAgICBzdGF0ZSxcbiAgICAgICAgICAgICAgdHJhdmVyc2FsRGlyZWN0aW9uLFxuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgIC8vIFdlIHByb3ZpZGUgYm90aCB0aGUgc3R5bGVzIG9iamVjdCBhbmQgdGhlIGNvbXB1dGVkIGNsYXNzTmFtZS5cbiAgICAgICAgICAgIC8vIFRoaXMgYWxsb3dzIGNvbnN1bWVycyB0byBwYXRjaCB0aGUgc3R5bGVzIGlmIHRoZXkgd2FudCB0bywgb3JcbiAgICAgICAgICAgIC8vIHNpbXBseSBhcHBseSB0aGUgY2xhc3NOYW1lIGlmIHRoZXkncmUgbm90IHVzaW5nIGEgSlNTIHBhcnNlciBsaWtlXG4gICAgICAgICAgICAvLyBlbW90aW9uLlxuICAgICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgICAgPE5hdmlnYXRpb25BbmFseXRpY3NDb250ZXh0XG4gICAgICAgICAgICAgICAgZGF0YT17e1xuICAgICAgICAgICAgICAgICAgYXR0cmlidXRlczogeyB2aWV3U2VjdGlvbjogaWQgfSxcbiAgICAgICAgICAgICAgICAgIGNvbXBvbmVudE5hbWU6ICdTZWN0aW9uJyxcbiAgICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPENsYXNzTmFtZXM+XG4gICAgICAgICAgICAgICAgICB7KHsgY3NzOiBnZXRDbGFzc05hbWUgfSkgPT5cbiAgICAgICAgICAgICAgICAgICAgc2hvdWxkR3JvdyA/IChcbiAgICAgICAgICAgICAgICAgICAgICA8U2Nyb2xsYWJsZVdyYXBwZXJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNzcz17Y3NzYFxuICAgICAgICAgICAgICAgICAgICAgICAgICAke3N0eWxlcy53cmFwcGVyfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAke2FuaW1hdGlvblN0eWxlc31cbiAgICAgICAgICAgICAgICAgICAgICAgIGB9XG4gICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgPFNjcm9sbGFibGVJbm5lciBjc3M9e3N0eWxlcy5pbm5lcn0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgIHtjaGlsZHJlbih7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lOiBnZXRDbGFzc05hbWUoc3R5bGVzLmNoaWxkcmVuKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjc3M6IHN0eWxlcy5jaGlsZHJlbixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgfSl9XG4gICAgICAgICAgICAgICAgICAgICAgICA8L1Njcm9sbGFibGVJbm5lcj5cbiAgICAgICAgICAgICAgICAgICAgICA8L1Njcm9sbGFibGVXcmFwcGVyPlxuICAgICAgICAgICAgICAgICAgICApIDogKFxuICAgICAgICAgICAgICAgICAgICAgIDxTdGF0aWNXcmFwcGVyIGNzcz17YW5pbWF0aW9uU3R5bGVzfT5cbiAgICAgICAgICAgICAgICAgICAgICAgIHtjaGlsZHJlbih7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZTogZ2V0Q2xhc3NOYW1lKHN0eWxlcy5jaGlsZHJlbiksXG4gICAgICAgICAgICAgICAgICAgICAgICAgIGNzczogc3R5bGVzLmNoaWxkcmVuLFxuICAgICAgICAgICAgICAgICAgICAgICAgfSl9XG4gICAgICAgICAgICAgICAgICAgICAgPC9TdGF0aWNXcmFwcGVyPlxuICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgPC9DbGFzc05hbWVzPlxuICAgICAgICAgICAgICA8L05hdmlnYXRpb25BbmFseXRpY3NDb250ZXh0PlxuICAgICAgICAgICAgKTtcbiAgICAgICAgICB9fVxuICAgICAgICA8L1RyYW5zaXRpb24+XG4gICAgICA8L1RyYW5zaXRpb25Hcm91cD5cbiAgICApO1xuICB9XG59XG4iXX0= */" | ||
}; | ||
export var StaticTransitionGroup = function StaticTransitionGroup(props) { | ||
return React.createElement("div", _extends({ | ||
className: | ||
/*#__PURE__*/ | ||
/*#__PURE__*/ | ||
parseJss(_ref) | ||
return ___EmotionJSX("div", _extends({ | ||
css: _ref | ||
}, props)); | ||
}; | ||
var _ref2 = { | ||
position: 'relative', | ||
flex: '1 1 100%', | ||
overflowY: 'hidden' | ||
var _ref2 = process.env.NODE_ENV === "production" ? { | ||
name: "424011", | ||
styles: "position:relative;flex:1 1 100%;overflow-y:hidden;" | ||
} : { | ||
name: "424011", | ||
styles: "position:relative;flex:1 1 100%;overflow-y:hidden;", | ||
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1NlY3Rpb24vU2VjdGlvbi5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFtQkkiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcHJlc2VudGF0aW9uYWwvU2VjdGlvbi9TZWN0aW9uLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcblxuaW1wb3J0IFJlYWN0LCB7IFB1cmVDb21wb25lbnQsIHR5cGUgTm9kZSB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCBUcmFuc2l0aW9uR3JvdXAgZnJvbSAncmVhY3QtdHJhbnNpdGlvbi1ncm91cC9UcmFuc2l0aW9uR3JvdXAnO1xuaW1wb3J0IFRyYW5zaXRpb24gZnJvbSAncmVhY3QtdHJhbnNpdGlvbi1ncm91cC9UcmFuc2l0aW9uJztcbmltcG9ydCB7IENsYXNzTmFtZXMsIGNzcyB9IGZyb20gJ0BlbW90aW9uL2NvcmUnO1xuaW1wb3J0IHsgTmF2aWdhdGlvbkFuYWx5dGljc0NvbnRleHQgfSBmcm9tICdAYXRsYXNraXQvYW5hbHl0aWNzLW5hbWVzcGFjZWQtY29udGV4dCc7XG5cbmltcG9ydCB7IHRyYW5zaXRpb25EdXJhdGlvbk1zIH0gZnJvbSAnLi4vLi4vLi4vY29tbW9uL2NvbnN0YW50cyc7XG5pbXBvcnQgZ2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ldHVybiAoXG4gICAgICAgICAgICAgIDxOYXZpZ2F0aW9uQW5hbHl0aWNzQ29udGV4dFxuICAgICAgICAgICAgICAgIGRhdGE9e3tcbiAgICAgICAgICAgICAgICAgIGF0dHJpYnV0ZXM6IHsgdmlld1NlY3Rpb246IGlkIH0sXG4gICAgICAgICAgICAgICAgICBjb21wb25lbnROYW1lOiAnU2VjdGlvbicsXG4gICAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDxDbGFzc05hbWVzPlxuICAgICAgICAgICAgICAgICAgeyh7IGNzczogZ2V0Q2xhc3NOYW1lIH0pID0+XG4gICAgICAgICAgICAgICAgICAgIHNob3VsZEdyb3cgPyAoXG4gICAgICAgICAgICAgICAgICAgICAgPFNjcm9sbGFibGVXcmFwcGVyXG4gICAgICAgICAgICAgICAgICAgICAgICBjc3M9e2Nzc2BcbiAgICAgICAgICAgICAgICAgICAgICAgICAgJHtzdHlsZXMud3JhcHBlcn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgJHthbmltYXRpb25TdHlsZXN9XG4gICAgICAgICAgICAgICAgICAgICAgICBgfVxuICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxTY3JvbGxhYmxlSW5uZXIgY3NzPXtzdHlsZXMuaW5uZXJ9PlxuICAgICAgICAgICAgICAgICAgICAgICAgICB7Y2hpbGRyZW4oe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZTogZ2V0Q2xhc3NOYW1lKHN0eWxlcy5jaGlsZHJlbiksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY3NzOiBzdHlsZXMuY2hpbGRyZW4sXG4gICAgICAgICAgICAgICAgICAgICAgICAgIH0pfVxuICAgICAgICAgICAgICAgICAgICAgICAgPC9TY3JvbGxhYmxlSW5uZXI+XG4gICAgICAgICAgICAgICAgICAgICAgPC9TY3JvbGxhYmxlV3JhcHBlcj5cbiAgICAgICAgICAgICAgICAgICAgKSA6IChcbiAgICAgICAgICAgICAgICAgICAgICA8U3RhdGljV3JhcHBlciBjc3M9e2FuaW1hdGlvblN0eWxlc30+XG4gICAgICAgICAgICAgICAgICAgICAgICB7Y2hpbGRyZW4oe1xuICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU6IGdldENsYXNzTmFtZShzdHlsZXMuY2hpbGRyZW4pLFxuICAgICAgICAgICAgICAgICAgICAgICAgICBjc3M6IHN0eWxlcy5jaGlsZHJlbixcbiAgICAgICAgICAgICAgICAgICAgICAgIH0pfVxuICAgICAgICAgICAgICAgICAgICAgIDwvU3RhdGljV3JhcHBlcj5cbiAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIDwvQ2xhc3NOYW1lcz5cbiAgICAgICAgICAgICAgPC9OYXZpZ2F0aW9uQW5hbHl0aWNzQ29udGV4dD5cbiAgICAgICAgICAgICk7XG4gICAgICAgICAgfX1cbiAgICAgICAgPC9UcmFuc2l0aW9uPlxuICAgICAgPC9UcmFuc2l0aW9uR3JvdXA+XG4gICAgKTtcbiAgfVxufVxuIl19 */" | ||
}; | ||
export var ScrollableTransitionGroup = function ScrollableTransitionGroup(props) { | ||
return React.createElement("div", _extends({ | ||
className: | ||
/*#__PURE__*/ | ||
/*#__PURE__*/ | ||
parseJss(_ref2) | ||
return ___EmotionJSX("div", _extends({ | ||
css: _ref2 | ||
}, props)); | ||
}; | ||
export var ScrollableWrapper = function ScrollableWrapper(props) { | ||
return React.createElement("div", props); | ||
return ___EmotionJSX("div", props); | ||
}; | ||
export var ScrollableInner = function ScrollableInner(props) { | ||
return React.createElement("div", props); | ||
return ___EmotionJSX("div", props); | ||
}; | ||
export var StaticWrapper = function StaticWrapper(props) { | ||
return React.createElement("div", props); | ||
return ___EmotionJSX("div", props); | ||
}; | ||
@@ -118,6 +122,6 @@ | ||
})[context]); | ||
return React.createElement(TransitionGroup, { | ||
return ___EmotionJSX(TransitionGroup, { | ||
component: shouldGrow ? ScrollableTransitionGroup : StaticTransitionGroup, | ||
appear: true | ||
}, React.createElement(Transition, { | ||
}, ___EmotionJSX(Transition, { | ||
key: id, | ||
@@ -135,10 +139,3 @@ timeout: this.isMounted ? transitionDurationMs : 0 | ||
var className = | ||
/*#__PURE__*/ | ||
parseJss(styles.children); | ||
var resolvedChildren = children({ | ||
className: className, | ||
css: styles.children | ||
}); | ||
return React.createElement(NavigationAnalyticsContext, { | ||
return ___EmotionJSX(NavigationAnalyticsContext, { | ||
data: { | ||
@@ -150,21 +147,20 @@ attributes: { | ||
} | ||
}, shouldGrow ? React.createElement(ScrollableWrapper, { | ||
className: | ||
/*#__PURE__*/ | ||
/*#__PURE__*/ | ||
parseJss(_objectSpread({}, styles.wrapper, animationStyles)) | ||
}, React.createElement(ScrollableInner, { | ||
className: | ||
/*#__PURE__*/ | ||
/*#__PURE__*/ | ||
parseJss(styles.inner) | ||
}, resolvedChildren)) : React.createElement(StaticWrapper, { | ||
className: | ||
/*#__PURE__*/ | ||
/*#__PURE__*/ | ||
parseJss(animationStyles) | ||
}, resolvedChildren)); | ||
}, ___EmotionJSX(ClassNames, null, function (_ref3) { | ||
var getClassName = _ref3.css; | ||
return shouldGrow ? ___EmotionJSX(ScrollableWrapper, { | ||
css: | ||
/*#__PURE__*/ | ||
css(styles.wrapper, " ", animationStyles, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1NlY3Rpb24vU2VjdGlvbi5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF5R2dDIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1NlY3Rpb24vU2VjdGlvbi5qcyIsInNvdXJjZXNDb250ZW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hbERpcmVjdGlvbiB9ID0gdGhpcy5zdGF0ZTtcbiAgICAgICAgICAgIGNvbnN0IGFuaW1hdGlvblN0eWxlcyA9IGdldEFuaW1hdGlvblN0eWxlcyh7XG4gICAgICAgICAgICAgIHN0YXRlLFxuICAgICAgICAgICAgICB0cmF2ZXJzYWxEaXJlY3Rpb24sXG4gICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgLy8gV2UgcHJvdmlkZSBib3RoIHRoZSBzdHlsZXMgb2JqZWN0IGFuZCB0aGUgY29tcHV0ZWQgY2xhc3NOYW1lLlxuICAgICAgICAgICAgLy8gVGhpcyBhbGxvd3MgY29uc3VtZXJzIHRvIHBhdGNoIHRoZSBzdHlsZXMgaWYgdGhleSB3YW50IHRvLCBvclxuICAgICAgICAgICAgLy8gc2ltcGx5IGFwcGx5IHRoZSBjbGFzc05hbWUgaWYgdGhleSdyZSBub3QgdXNpbmcgYSBKU1MgcGFyc2VyIGxpa2VcbiAgICAgICAgICAgIC8vIGVtb3Rpb24uXG4gICAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgICA8TmF2aWdhdGlvbkFuYWx5dGljc0NvbnRleHRcbiAgICAgICAgICAgICAgICBkYXRhPXt7XG4gICAgICAgICAgICAgICAgICBhdHRyaWJ1dGVzOiB7IHZpZXdTZWN0aW9uOiBpZCB9LFxuICAgICAgICAgICAgICAgICAgY29tcG9uZW50TmFtZTogJ1NlY3Rpb24nLFxuICAgICAgICAgICAgICAgIH19XG4gICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8Q2xhc3NOYW1lcz5cbiAgICAgICAgICAgICAgICAgIHsoeyBjc3M6IGdldENsYXNzTmFtZSB9KSA9PlxuICAgICAgICAgICAgICAgICAgICBzaG91bGRHcm93ID8gKFxuICAgICAgICAgICAgICAgICAgICAgIDxTY3JvbGxhYmxlV3JhcHBlclxuICAgICAgICAgICAgICAgICAgICAgICAgY3NzPXtjc3NgXG4gICAgICAgICAgICAgICAgICAgICAgICAgICR7c3R5bGVzLndyYXBwZXJ9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICR7YW5pbWF0aW9uU3R5bGVzfVxuICAgICAgICAgICAgICAgICAgICAgICAgYH1cbiAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICA8U2Nyb2xsYWJsZUlubmVyIGNzcz17c3R5bGVzLmlubmVyfT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAge2NoaWxkcmVuKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU6IGdldENsYXNzTmFtZShzdHlsZXMuY2hpbGRyZW4pLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNzczogc3R5bGVzLmNoaWxkcmVuLFxuICAgICAgICAgICAgICAgICAgICAgICAgICB9KX1cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvU2Nyb2xsYWJsZUlubmVyPlxuICAgICAgICAgICAgICAgICAgICAgIDwvU2Nyb2xsYWJsZVdyYXBwZXI+XG4gICAgICAgICAgICAgICAgICAgICkgOiAoXG4gICAgICAgICAgICAgICAgICAgICAgPFN0YXRpY1dyYXBwZXIgY3NzPXthbmltYXRpb25TdHlsZXN9PlxuICAgICAgICAgICAgICAgICAgICAgICAge2NoaWxkcmVuKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lOiBnZXRDbGFzc05hbWUoc3R5bGVzLmNoaWxkcmVuKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgY3NzOiBzdHlsZXMuY2hpbGRyZW4sXG4gICAgICAgICAgICAgICAgICAgICAgICB9KX1cbiAgICAgICAgICAgICAgICAgICAgICA8L1N0YXRpY1dyYXBwZXI+XG4gICAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICA8L0NsYXNzTmFtZXM+XG4gICAgICAgICAgICAgIDwvTmF2aWdhdGlvbkFuYWx5dGljc0NvbnRleHQ+XG4gICAgICAgICAgICApO1xuICAgICAgICAgIH19XG4gICAgICAgIDwvVHJhbnNpdGlvbj5cbiAgICAgIDwvVHJhbnNpdGlvbkdyb3VwPlxuICAgICk7XG4gIH1cbn1cbiJdfQ== */") | ||
}, ___EmotionJSX(ScrollableInner, { | ||
css: styles.inner | ||
}, children({ | ||
className: getClassName(styles.children), | ||
css: styles.children | ||
}))) : ___EmotionJSX(StaticWrapper, { | ||
css: animationStyles | ||
}, children({ | ||
className: getClassName(styles.children), | ||
css: styles.children | ||
})); | ||
})); | ||
})); | ||
@@ -171,0 +167,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { css as _css } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
@@ -7,17 +7,6 @@ import _createClass from "@babel/runtime/helpers/createClass"; | ||
import _inherits from "@babel/runtime/helpers/inherits"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
import { gridSize as gridSizeFn } from '@atlaskit/theme'; | ||
var gridSize = gridSizeFn(); | ||
var _ref = { | ||
alignItems: 'center', | ||
color: 'inherit', | ||
display: 'flex', | ||
flexShrink: 0, | ||
fontSize: 'inherit', | ||
fontWeight: 600, | ||
height: gridSize * 5.5, | ||
paddingLeft: gridSize * 1.5, | ||
paddingRight: gridSize * 1.5, | ||
marginTop: gridSize | ||
}; | ||
@@ -39,4 +28,17 @@ var SectionHeading = | ||
var children = this.props.children; | ||
return React.createElement("div", { | ||
className: _css(_ref) | ||
return ___EmotionJSX("div", { | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
alignItems: 'center', | ||
color: 'inherit', | ||
display: 'flex', | ||
flexShrink: 0, | ||
fontSize: 'inherit', | ||
fontWeight: 600, | ||
height: gridSize * 5.5, | ||
paddingLeft: gridSize * 1.5, | ||
paddingRight: gridSize * 1.5, | ||
marginTop: gridSize | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=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gICAgIHBhZGRpbmdMZWZ0OiBncmlkU2l6ZSAqIDEuNSxcbiAgICAgICAgICBwYWRkaW5nUmlnaHQ6IGdyaWRTaXplICogMS41LFxuICAgICAgICAgIG1hcmdpblRvcDogZ3JpZFNpemUsXG4gICAgICAgIH19XG4gICAgICA+XG4gICAgICAgIHtjaGlsZHJlbn1cbiAgICAgIDwvZGl2PlxuICAgICk7XG4gIH1cbn1cbiJdfQ== */") | ||
}, children); | ||
@@ -43,0 +45,0 @@ } |
@@ -6,3 +6,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _inherits from "@babel/runtime/helpers/inherits"; | ||
import { css as _css } from "emotion"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
@@ -15,4 +15,4 @@ import { withContentTheme } from '../../../theme'; | ||
var styles = mode.separator()[context]; | ||
return React.createElement("div", { | ||
className: _css(styles) | ||
return ___EmotionJSX("div", { | ||
css: styles | ||
}); | ||
@@ -35,3 +35,3 @@ }); | ||
value: function render() { | ||
return React.createElement(SeparatorWithTheme, null); | ||
return ___EmotionJSX(SeparatorWithTheme, null); | ||
} | ||
@@ -38,0 +38,0 @@ }]); |
@@ -10,2 +10,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { PureComponent } from 'react'; | ||
@@ -57,3 +58,3 @@ import { gridSize as gridSizeFn } from '@atlaskit/theme'; | ||
return React.createElement(SkeletonItem, _extends({}, props, { | ||
return ___EmotionJSX(SkeletonItem, _extends({}, props, { | ||
styles: patchedStyles | ||
@@ -60,0 +61,0 @@ })); |
@@ -9,2 +9,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
@@ -41,22 +42,22 @@ import Section from '../Section'; | ||
var Theme = type === 'product' ? ProductNavigationTheme : ContainerNavigationTheme; | ||
return React.createElement(Theme, null, React.createElement(Container, _extends({}, dataset, props), React.createElement(Section, null, function (_ref) { | ||
return ___EmotionJSX(Theme, null, ___EmotionJSX(Container, _extends({}, dataset, props), ___EmotionJSX(Section, null, function (_ref) { | ||
var css = _ref.css; | ||
return React.createElement(HeaderContainer, { | ||
return ___EmotionJSX(HeaderContainer, { | ||
styles: css | ||
}, React.createElement(SkeletonContainerHeader, { | ||
}, ___EmotionJSX(SkeletonContainerHeader, { | ||
hasBefore: true | ||
})); | ||
}), React.createElement(Section, null, function (_ref2) { | ||
}), ___EmotionJSX(Section, null, function (_ref2) { | ||
var className = _ref2.className; | ||
return React.createElement("div", { | ||
return ___EmotionJSX("div", { | ||
className: className | ||
}, React.createElement(SkeletonItem, { | ||
}, ___EmotionJSX(SkeletonItem, { | ||
hasBefore: true | ||
}), React.createElement(SkeletonItem, { | ||
}), ___EmotionJSX(SkeletonItem, { | ||
hasBefore: true | ||
}), React.createElement(SkeletonItem, { | ||
}), ___EmotionJSX(SkeletonItem, { | ||
hasBefore: true | ||
}), React.createElement(SkeletonItem, { | ||
}), ___EmotionJSX(SkeletonItem, { | ||
hasBefore: true | ||
}), React.createElement(SkeletonItem, { | ||
}), ___EmotionJSX(SkeletonItem, { | ||
hasBefore: true | ||
@@ -63,0 +64,0 @@ })); |
import _extends from "@babel/runtime/helpers/extends"; | ||
import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import { css as _css } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React from 'react'; | ||
@@ -9,3 +10,3 @@ import { gridSize as gridSizeFn } from '@atlaskit/theme'; | ||
export var Container = function Container(props) { | ||
return React.createElement("div", props); | ||
return ___EmotionJSX("div", props); | ||
}; | ||
@@ -16,8 +17,10 @@ export var HeaderContainer = function HeaderContainer(props) { | ||
return React.createElement("div", _extends({ | ||
className: _css(_objectSpread({}, styles, { | ||
return ___EmotionJSX("div", _extends({ | ||
css: | ||
/*#__PURE__*/ | ||
_css(_objectSpread({}, styles, { | ||
paddingTop: gridSize * 2.5, | ||
paddingBottom: gridSize * 2.5 | ||
})) | ||
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1NrZWxldG9uQ29udGFpbmVyVmlldy9wcmltaXRpdmVzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWFNIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1NrZWxldG9uQ29udGFpbmVyVmlldy9wcmltaXRpdmVzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcblxuaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGdyaWRTaXplIGFzIGdyaWRTaXplRm4gfSBmcm9tICdAYXRsYXNraXQvdGhlbWUnO1xuXG5jb25zdCBncmlkU2l6ZSA9IGdyaWRTaXplRm4oKTtcblxuZXhwb3J0IGNvbnN0IENvbnRhaW5lciA9IChwcm9wczogKikgPT4gPGRpdiB7Li4ucHJvcHN9IC8+O1xuXG5leHBvcnQgY29uc3QgSGVhZGVyQ29udGFpbmVyID0gKHByb3BzOiAqKSA9PiB7XG4gIGNvbnN0IHsgc3R5bGVzLCAuLi5yZXN0IH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICBjc3M9e3tcbiAgICAgICAgLi4uc3R5bGVzLFxuICAgICAgICBwYWRkaW5nVG9wOiBncmlkU2l6ZSAqIDIuNSxcbiAgICAgICAgcGFkZGluZ0JvdHRvbTogZ3JpZFNpemUgKiAyLjUsXG4gICAgICB9fVxuICAgICAgey4uLnJlc3R9XG4gICAgLz5cbiAgKTtcbn07XG4iXX0= */") | ||
}, rest)); | ||
}; |
@@ -1,3 +0,2 @@ | ||
import { css as _css2 } from "emotion"; | ||
import { css as _css } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
@@ -9,4 +8,4 @@ import _createClass from "@babel/runtime/helpers/createClass"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { PureComponent } from 'react'; | ||
import { css } from 'emotion'; | ||
import { withContentTheme, styleReducerNoOp } from '../../../theme'; | ||
@@ -36,14 +35,12 @@ | ||
var styles = styleReducer(defaultStyles); | ||
return React.createElement("div", { | ||
className: | ||
return ___EmotionJSX("div", { | ||
css: | ||
/*#__PURE__*/ | ||
/*#__PURE__*/ | ||
css({ | ||
_css({ | ||
'&&': styles.wrapper | ||
}) | ||
}, hasBefore && React.createElement("div", { | ||
className: _css(styles.before) | ||
}), React.createElement("div", { | ||
className: _css2(styles.content) | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1NrZWxldG9uSXRlbS9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFxQlciLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcHJlc2VudGF0aW9uYWwvU2tlbGV0b25JdGVtL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcblxuaW1wb3J0IFJlYWN0LCB7IFB1cmVDb21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5cbmltcG9ydCB7IHdpdGhDb250ZW50VGhlbWUsIHN0eWxlUmVkdWNlck5vT3AgfSBmcm9tICcuLi8uLi8uLi90aGVtZSc7XG5pbXBvcnQgdHlwZSB7IFNrZWxldG9uSXRlbVByb3BzIH0gZnJvbSAnLi90eXBlcyc7XG5cbmNsYXNzIFNrZWxldG9uSXRlbSBleHRlbmRzIFB1cmVDb21wb25lbnQ8U2tlbGV0b25JdGVtUHJvcHM+IHtcbiAgc3RhdGljIGRlZmF1bHRQcm9wcyA9IHtcbiAgICBoYXNCZWZvcmU6IGZhbHNlLFxuICAgIHN0eWxlczogc3R5bGVSZWR1Y2VyTm9PcCxcbiAgfTtcblxuICByZW5kZXIoKSB7XG4gICAgY29uc3QgeyBoYXNCZWZvcmUsIHN0eWxlczogc3R5bGVSZWR1Y2VyLCB0aGVtZSB9ID0gdGhpcy5wcm9wcztcblxuICAgIGNvbnN0IHsgbW9kZSwgY29udGV4dCB9ID0gdGhlbWU7XG4gICAgY29uc3QgZGVmYXVsdFN0eWxlcyA9IG1vZGUuc2tlbGV0b25JdGVtKClbY29udGV4dF07XG4gICAgY29uc3Qgc3R5bGVzID0gc3R5bGVSZWR1Y2VyKGRlZmF1bHRTdHlsZXMpO1xuXG4gICAgcmV0dXJuIChcbiAgICAgIDxkaXYgY3NzPXt7ICcmJic6IHN0eWxlcy53cmFwcGVyIH19PlxuICAgICAgICB7aGFzQmVmb3JlICYmIDxkaXYgY3NzPXtzdHlsZXMuYmVmb3JlfSAvPn1cbiAgICAgICAgPGRpdiBjc3M9e3N0eWxlcy5jb250ZW50fSAvPlxuICAgICAgPC9kaXY+XG4gICAgKTtcbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCB3aXRoQ29udGVudFRoZW1lKFNrZWxldG9uSXRlbSk7XG4iXX0= */") | ||
}, hasBefore && ___EmotionJSX("div", { | ||
css: styles.before | ||
}), ___EmotionJSX("div", { | ||
css: styles.content | ||
})); | ||
@@ -50,0 +47,0 @@ } |
@@ -9,3 +9,3 @@ import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
display: 'flex', | ||
height: "".concat(gridSize * 5), | ||
height: "".concat(gridSize * 5, "px"), | ||
paddingLeft: "".concat(gridSize * 1.5, "px"), | ||
@@ -12,0 +12,0 @@ paddingRight: "".concat(gridSize * 1.5, "px"), |
@@ -8,8 +8,7 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { css as _css3 } from "emotion"; | ||
import { css as _css2 } from "emotion"; | ||
import _extends from "@babel/runtime/helpers/extends"; | ||
import { css as _css } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import _objectSpread from "@babel/runtime/helpers/objectSpread"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { PureComponent, cloneElement } from 'react'; | ||
@@ -78,21 +77,22 @@ import NodeResolver from 'react-node-resolver'; | ||
return React.createElement("div", { | ||
return ___EmotionJSX("div", { | ||
ref: innerRef, | ||
className: _css({ | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
boxShadow: "0 2px 0 ".concat(colors.N40A), | ||
padding: gridSize, | ||
position: 'relative' | ||
}) | ||
}, React.createElement(components.Control, _extends({}, props, { | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1N3aXRjaGVyL2luZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTRFSSIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9Td2l0Y2hlci9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5pbXBvcnQgUmVhY3QsIHsgUHVyZUNvbXBvbmVudCwgY2xvbmVFb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LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgYm94U2hhZG93OiBgMCAtMnB4IDAgJHtjb2xvcnMuTjQwQX1gLFxuICAgICAgYm94U2l6aW5nOiAnYm9yZGVyLWJveCcsXG4gICAgICBjb2xvcjogY29sb3JzLk4yMDAsXG4gICAgICBjdXJzb3I6ICdwb2ludGVyJyxcbiAgICAgIGFsaWduSXRlbXM6ICdjZW50ZXInLFxuICAgICAgZGlzcGxheTogJ2ZsZXgnLFxuICAgICAgZm9udFNpemU6ICdpbmhlcml0JyxcbiAgICAgIHBhZGRpbmc6IGAke2dyaWRTaXplICogMS41fXB4ICR7Z3JpZFNpemV9cHhgLFxuICAgICAgcG9zaXRpb246ICdyZWxhdGl2ZScsXG4gICAgICB0ZXh0QWxpZ246ICdsZWZ0JyxcbiAgICAgIHdpZHRoOiAnMTAwJScsXG5cbiAgICAgICc6aG92ZXIsIDpmb2N1cyc6IHtcbiAgICAgICAgY29sb3I6IGNvbG9ycy5CMzAwLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICB0ZXh0RGVjb3JhdGlvbjogJ3VuZGVybGluZScsXG4gICAgICB9LFxuICAgIH19XG4gICAgb25DbGljaz17b25DbGlja31cbiAgPlxuICAgIDxBZGRJY29uIGxhYmVsPVwiQWRkIGljb25cIiBzaXplPVwic21hbGxcIiAvPlxuICAgIDxzcGFuIGNzcz17eyBtYXJnaW5MZWZ0OiBncmlkU2l6ZSB9fT57dGV4dH08L3NwYW4+XG4gIDwvYnV0dG9uPlxuKTtcblxuY29uc3QgZGVmYXVsdENvbXBvbmVudHMgPSB7IENvbnRyb2wsIE9wdGlvbiB9O1xuY29uc3QgaXNFbXB0eSA9IG9iaiA9PiBPYmplY3Qua2V5cyhvYmopLmxlbmd0aCA9PT0gMDtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBDbGFzc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmNsYXNzIFN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1cbiAgICAgICAgdGFyZ2V0PXsoeyByZWYsIGlzT3BlbiB9KSA9PiAoXG4gICAgICAgICAgPE5vZGVSZXNvbHZlciBpbm5lclJlZj17dGhpcy5yZXNvbHZlVGFyZ2V0UmVmKHJlZil9PlxuICAgICAgICAgICAge2Nsb25lRWxlbWVudCh0YXJnZXQsIHsgaXNTZWxlY3RlZDogaXNPcGVuIH0pfVxuICAgICAgICAgIDwvTm9kZVJlc29sdmVyPlxuICAgICAgICApfVxuICAgICAgICB7Li4ucHJvcHN9XG4gICAgICAgIHN0eWxlcz17Y3JlYXRlU3R5bGVzKHRoaXMucHJvcHMuc3R5bGVzKX1cbiAgICAgICAgY29tcG9uZW50cz17bWVyZ2VkQ29tcG9uZW50c31cbiAgICAgIC8+XG4gICAgKTtcbiAgfVxufVxuXG5leHBvcnQgeyBTd2l0Y2hlciBhcyBCYXNlU3dpdGNoZXIgfTtcblxuZXhwb3J0IGRlZmF1bHQgKHByb3BzOiBTd2l0Y2hlckJhc2VQcm9wcykgPT4gKFxuICA8VUlDb250cm9sbGVyU3Vic2NyaWJlcj5cbiAgICB7KHsgc3RhdGUgfSkgPT4gKFxuICAgICAgPFN3aXRjaGVyXG4gICAgICAgIG5hdldpZHRoPXtzdGF0ZS5wcm9kdWN0TmF2V2lkdGh9XG4gICAgICAgIGlzTmF2UmVzaXppbmc9e3N0YXRlLmlzUmVzaXppbmd9XG4gICAgICAgIHsuLi5wcm9wc31cbiAgICAgIC8+XG4gICAgKX1cbiAgPC9VSUNvbnRyb2xsZXJTdWJzY3JpYmVyPlxuKTtcbiJdfQ== */") | ||
}, ___EmotionJSX(components.Control, _extends({}, props, { | ||
innerProps: innerProps | ||
}))); | ||
}; | ||
var _ref5 = { | ||
marginLeft: gridSize | ||
}; | ||
export var Footer = function Footer(_ref4) { | ||
var text = _ref4.text, | ||
onClick = _ref4.onClick; | ||
return React.createElement("button", { | ||
className: _css2({ | ||
return ___EmotionJSX("button", { | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
background: 0, | ||
@@ -116,9 +116,13 @@ border: 0, | ||
} | ||
}), | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1N3aXRjaGVyL2luZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVGSSIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9Td2l0Y2hlci9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5pbXBvcnQgUmVhY3QsIHsgUHVyZUNvbXBvbmVudCwgY2xvbmVFbGVtZW50LCB0eXBlIEVsZW1lbnRSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgTm9kZVJlc29sdmVyIGZyb20gJ3JlYWN0LW5vZGUtcmVzb2x2ZXInO1xuaW1wb3J0IHNoYWxsb3dFcXVhbE9iamVjdHMgZnJvbSAnc2hhbGxvdy1lcXVhbC9vYmplY3RzJztcbmltcG9ydCB7IGNvbXBvbmVudHMsIFBvcHVwU2VsZWN0LCBtZXJnZVN0eWxlcyB9IGZyb20gJ0BhdGxhc2tpdC9zZWxlY3QnO1xuaW1wb3J0IHsgY29sb3JzLCBncmlkU2l6ZSBhcyBncmlkU2l6ZUZuIH0gZnJvbSAnQGF0bGFza2l0L3RoZW1lJztcbmltcG9ydCBBZGRJY29uIGZyb20gJ0BhdGxhc2tpdC9pY29uL2dseXBoL2FkZCc7XG5cbmltcG9ydCB7XG4gIHR5cGUgU3dpdGNoZXJTdGF0ZSxcbiAgdHlwZSBTd2l0Y2hlclByb3BzLFxuICB0eXBlIFN3aXRjaGVyQmFzZVByb3BzLFxuICB0eXBlIFNlbGVjdFN0eWxlcyxcbiAgdHlwZSBPcHRpb25UeXBlLFxuf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ICAgPFN3aXRjaGVyXG4gICAgICAgIG5hdldpZHRoPXtzdGF0ZS5wcm9kdWN0TmF2V2lkdGh9XG4gICAgICAgIGlzTmF2UmVzaXppbmc9e3N0YXRlLmlzUmVzaXppbmd9XG4gICAgICAgIHsuLi5wcm9wc31cbiAgICAgIC8+XG4gICAgKX1cbiAgPC9VSUNvbnRyb2xsZXJTdWJzY3JpYmVyPlxuKTtcbiJdfQ== */"), | ||
onClick: onClick | ||
}, React.createElement(AddIcon, { | ||
}, ___EmotionJSX(AddIcon, { | ||
label: "Add icon", | ||
size: "small" | ||
}), React.createElement("span", { | ||
className: _css3(_ref5) | ||
}), ___EmotionJSX("span", { | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
marginLeft: gridSize | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1N3aXRjaGVyL2luZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStHVSIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9wcmVzZW50YXRpb25hbC9Td2l0Y2hlci9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5pbXBvcnQgUmVhY3QsIHsgUHVyZUNvbXBvbmVudCwgY2xvbmVFbGVtZW50LCB0eXBlIEVsZW1lbnRSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgTm9kZVJlc29sdmVyIGZyb20gJ3JlYWN0LW5vZGUtcmVzb2x2ZXInO1xuaW1wb3J0IHNoYWxsb3dFcXVhbE9iamVjdHMgZnJvbSAnc2hhbGxvdy1lcXVhbC9vYmplY3RzJztcbmltcG9ydCB7IGNvbXBvbmVudHMsIFBvcHVwU2VsZWN0LCBtZXJnZVN0eWxlcyB9IGZyb20gJ0BhdG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HJvcHN9XG4gICAgICAgIHN0eWxlcz17Y3JlYXRlU3R5bGVzKHRoaXMucHJvcHMuc3R5bGVzKX1cbiAgICAgICAgY29tcG9uZW50cz17bWVyZ2VkQ29tcG9uZW50c31cbiAgICAgIC8+XG4gICAgKTtcbiAgfVxufVxuXG5leHBvcnQgeyBTd2l0Y2hlciBhcyBCYXNlU3dpdGNoZXIgfTtcblxuZXhwb3J0IGRlZmF1bHQgKHByb3BzOiBTd2l0Y2hlckJhc2VQcm9wcykgPT4gKFxuICA8VUlDb250cm9sbGVyU3Vic2NyaWJlcj5cbiAgICB7KHsgc3RhdGUgfSkgPT4gKFxuICAgICAgPFN3aXRjaGVyXG4gICAgICAgIG5hdldpZHRoPXtzdGF0ZS5wcm9kdWN0TmF2V2lkdGh9XG4gICAgICAgIGlzTmF2UmVzaXppbmc9e3N0YXRlLmlzUmVzaXppbmd9XG4gICAgICAgIHsuLi5wcm9wc31cbiAgICAgIC8+XG4gICAgKX1cbiAgPC9VSUNvbnRyb2xsZXJTdWJzY3JpYmVyPlxuKTtcbiJdfQ== */") | ||
}, text)); | ||
@@ -199,3 +203,3 @@ }; | ||
return React.createElement(Footer, { | ||
return ___EmotionJSX(Footer, { | ||
text: create.text, | ||
@@ -216,5 +220,5 @@ onClick: onClick | ||
key: "componentDidUpdate", | ||
value: function componentDidUpdate(_ref6) { | ||
var navWidth = _ref6.navWidth, | ||
isNavResizing = _ref6.isNavResizing; | ||
value: function componentDidUpdate(_ref5) { | ||
var navWidth = _ref5.navWidth, | ||
isNavResizing = _ref5.isNavResizing; | ||
@@ -242,3 +246,3 @@ // reset the target width if the user has resized the navigation pane | ||
var mergedComponents = this.state.mergedComponents; | ||
return React.createElement(PopupSelect, _extends({ | ||
return ___EmotionJSX(PopupSelect, _extends({ | ||
ref: this.selectRef, | ||
@@ -252,6 +256,6 @@ filterOption: filterOption, | ||
minMenuWidth: this.targetWidth, | ||
target: function target(_ref7) { | ||
var ref = _ref7.ref, | ||
isOpen = _ref7.isOpen; | ||
return React.createElement(NodeResolver, { | ||
target: function target(_ref6) { | ||
var ref = _ref6.ref, | ||
isOpen = _ref6.isOpen; | ||
return ___EmotionJSX(NodeResolver, { | ||
innerRef: _this2.resolveTargetRef(ref) | ||
@@ -295,5 +299,5 @@ }, cloneElement(_target, { | ||
export default (function (props) { | ||
return React.createElement(UIControllerSubscriber, null, function (_ref8) { | ||
var state = _ref8.state; | ||
return React.createElement(Switcher, _extends({ | ||
return ___EmotionJSX(UIControllerSubscriber, null, function (_ref7) { | ||
var state = _ref7.state; | ||
return ___EmotionJSX(Switcher, _extends({ | ||
navWidth: state.productNavWidth, | ||
@@ -300,0 +304,0 @@ isNavResizing: state.isResizing |
@@ -7,8 +7,6 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { css as _css4 } from "emotion"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import { css as _css3 } from "emotion"; | ||
import { css as _css2 } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import _extends from "@babel/runtime/helpers/extends"; | ||
import { css as _css } from "emotion"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { PureComponent } from 'react'; | ||
@@ -19,12 +17,15 @@ import { colors, fontSize, gridSize as gridSizeFn } from '@atlaskit/theme'; | ||
var gridSize = gridSizeFn(); | ||
var _ref = { | ||
display: 'flex', | ||
flexDirection: 'column', | ||
flexGrow: 1, | ||
overflowX: 'hidden' | ||
var _ref = process.env.NODE_ENV === "production" ? { | ||
name: "oeeumh", | ||
styles: "display:flex;flex-direction:column;flex-grow:1;overflow-x:hidden;" | ||
} : { | ||
name: "oeeumh", | ||
styles: "display:flex;flex-direction:column;flex-grow:1;overflow-x:hidden;", | ||
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25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bVByb3BzPiB7XG4gIHJlbmRlcigpIHtcbiAgICBjb25zdCB7XG4gICAgICBpbm5lclByb3BzLFxuICAgICAgaW5uZXJSZWYsXG4gICAgICBkYXRhOiB7IGF2YXRhciwgc3ViVGV4dCwgdGV4dCB9LFxuICAgIH0gPSB0aGlzLnByb3BzO1xuICAgIHJldHVybiAoXG4gICAgICA8ZGl2IHJlZj17aW5uZXJSZWZ9IHsuLi5pbm5lclByb3BzfT5cbiAgICAgICAgPGNvbXBvbmVudHMuT3B0aW9uIHsuLi50aGlzLnByb3BzfT5cbiAgICAgICAgICB7ISFhdmF0YXIgJiYgKFxuICAgICAgICAgICAgPEVsZW1lbnRXcmFwcGVyIGlzPVwiYmVmb3JlXCI+XG4gICAgICAgICAgICAgIDxBdmF0YXJcbiAgICAgICAgICAgICAgICBib3JkZXJDb2xvcj1cInRyYW5zcGFyZW50XCJcbiAgICAgICAgICAgICAgICBzcmM9e2F2YXRhcn1cbiAgICAgICAgICAgICAgICBhcHBlYXJhbmNlPVwic3F1YXJlXCJcbiAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIDwvRWxlbWVudFdyYXBwZXI+XG4gICAgICAgICAgKX1cbiAgICAgICAgICA8Q29udGVudFdyYXBwZXI+XG4gICAgICAgICAgICA8VGV4dFdyYXBwZXI+e3RleHR9PC9UZXh0V3JhcHBlcj5cbiAgICAgICAgICAgIHshIXN1YlRleHQgJiYgPFN1YlRleHRXcmFwcGVyPntzdWJUZXh0fTwvU3ViVGV4dFdyYXBwZXI+fVxuICAgICAgICAgIDwvQ29udGVudFdyYXBwZXI+XG4gICAgICAgIDwvY29tcG9uZW50cy5PcHRpb24+XG4gICAgICA8L2Rpdj5cbiAgICApO1xuICB9XG59XG4iXX0= */" | ||
}; | ||
var ContentWrapper = function ContentWrapper(props) { | ||
return React.createElement("div", _extends({ | ||
className: _css(_ref) | ||
return ___EmotionJSX("div", _extends({ | ||
css: _ref | ||
}, props)); | ||
@@ -34,4 +35,6 @@ }; | ||
var TextWrapper = function TextWrapper(props) { | ||
return React.createElement("div", _extends({ | ||
className: _css2({ | ||
return ___EmotionJSX("div", _extends({ | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
flex: '1 1 auto', | ||
@@ -42,3 +45,3 @@ overflow: 'hidden', | ||
lineHeight: 16 / fontSize() | ||
}) | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1N3aXRjaGVyL09wdGlvbi5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEyQkkiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcHJlc2VudGF0aW9uYWwvU3dpdGNoZXIvT3B0aW9uLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcblxuaW1wb3J0IFJlYWN0LCB7XG4gIFB1cmVDb21wb25lbnQsXG4gIHR5cGUgQ29tcG9uZW50VHlwZSxcbiAgdHlwZSBOb2RlLFxuICB0eXBlIFJlZixcbn0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgY29sb3JzLCBmb250U2l6ZSwgZ3JpZFNpemUgYXMgZ3JpZFNpemVGbiB9IGZyb20gJ0BhdGxhc2tpdC90aGVtZSc7XG5pbXBvcnQgQXZhdGFyIGZyb20gJ0BhdGxhc2tpdC9hdmF0YXInO1xuaW1wb3J0IHsgY29tcG9uZW50cyB9IGZyb20gJ0BhdGxhc2tpdC9zZWxlY3QnO1xuXG5jb25zdCBncmlkU2l6ZSA9IGdyaWRTaXplRm4oKTtcblxuY29uc3QgQ29udGVudFdyYXBwZXIgPSAocHJvcHM6ICopID0+IChcbiAgPGRpdlxuICAgIGNzcz17e1xuICAgICAgZGlzcGxheTogJ2ZsZXgnLFxuICAgICAgZmxleERpcmVjdGlvbjogJ2NvbHV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HRXcmFwcGVyPntzdWJUZXh0fTwvU3ViVGV4dFdyYXBwZXI+fVxuICAgICAgICAgIDwvQ29udGVudFdyYXBwZXI+XG4gICAgICAgIDwvY29tcG9uZW50cy5PcHRpb24+XG4gICAgICA8L2Rpdj5cbiAgICApO1xuICB9XG59XG4iXX0= */") | ||
}, props)); | ||
@@ -48,4 +51,6 @@ }; | ||
var SubTextWrapper = function SubTextWrapper(props) { | ||
return React.createElement("div", _extends({ | ||
className: _css3({ | ||
return ___EmotionJSX("div", _extends({ | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
color: colors.N200, | ||
@@ -58,3 +63,3 @@ flex: '1 1 auto', | ||
whiteSpace: 'nowrap' | ||
}) | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1N3aXRjaGVyL09wdGlvbi5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1Q0kiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcHJlc2VudGF0aW9uYWwvU3dpdGNoZXIvT3B0aW9uLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcblxuaW1wb3J0IFJlYWN0LCB7XG4gIFB1cmVDb21wb25lbnQsXG4gIHR5cGUgQ29tcG9uZW50VHlwZSxcbiAgdHlwZSBOb2RlLFxuICB0eXBlIFJlZixcbn0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgY29sb3JzLCBmb250U2l6ZSwgZ3JpZFNpemUgYXMgZ3JpZFNpemVGbiB9IGZyb20gJ0BhdGxhc2tpdC90aGVtZSc7XG5pbXBvcnQgQXZhdGFyIGZyb20gJ0BhdGxhc2tpdC9hdmF0YXInO1xuaW1wb3J0IHsgY29tcG9uZW50cyB9IGZyb20gJ0BhdGxhc2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ICAgICAgICAgLz5cbiAgICAgICAgICAgIDwvRWxlbWVudFdyYXBwZXI+XG4gICAgICAgICAgKX1cbiAgICAgICAgICA8Q29udGVudFdyYXBwZXI+XG4gICAgICAgICAgICA8VGV4dFdyYXBwZXI+e3RleHR9PC9UZXh0V3JhcHBlcj5cbiAgICAgICAgICAgIHshIXN1YlRleHQgJiYgPFN1YlRleHRXcmFwcGVyPntzdWJUZXh0fTwvU3ViVGV4dFdyYXBwZXI+fVxuICAgICAgICAgIDwvQ29udGVudFdyYXBwZXI+XG4gICAgICAgIDwvY29tcG9uZW50cy5PcHRpb24+XG4gICAgICA8L2Rpdj5cbiAgICApO1xuICB9XG59XG4iXX0= */") | ||
}, props)); | ||
@@ -72,8 +77,10 @@ }; | ||
var margin = direction[is]; | ||
return React.createElement("div", _extends({ | ||
className: _css4(_defineProperty({ | ||
return ___EmotionJSX("div", _extends({ | ||
css: | ||
/*#__PURE__*/ | ||
_css(_defineProperty({ | ||
alignItems: 'center', | ||
display: 'flex', | ||
flexShrink: 0 | ||
}, margin, gridSize)) | ||
}, margin, gridSize), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1N3aXRjaGVyL09wdGlvbi5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF5RE0iLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvcHJlc2VudGF0aW9uYWwvU3dpdGNoZXIvT3B0aW9uLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcblxuaW1wb3J0IFJlYWN0LCB7XG4gIFB1cmVDb21wb25lbnQsXG4gIHR5cGUgQ29tcG9uZW50VHlwZSxcbiAgdHlwZSBOb2RlLFxuICB0eXBlIFJlZixcbn0gZnJvbSAncmVhY3QnO1xuaW1wb3J0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IGlzPVwiYmVmb3JlXCI+XG4gICAgICAgICAgICAgIDxBdmF0YXJcbiAgICAgICAgICAgICAgICBib3JkZXJDb2xvcj1cInRyYW5zcGFyZW50XCJcbiAgICAgICAgICAgICAgICBzcmM9e2F2YXRhcn1cbiAgICAgICAgICAgICAgICBhcHBlYXJhbmNlPVwic3F1YXJlXCJcbiAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIDwvRWxlbWVudFdyYXBwZXI+XG4gICAgICAgICAgKX1cbiAgICAgICAgICA8Q29udGVudFdyYXBwZXI+XG4gICAgICAgICAgICA8VGV4dFdyYXBwZXI+e3RleHR9PC9UZXh0V3JhcHBlcj5cbiAgICAgICAgICAgIHshIXN1YlRleHQgJiYgPFN1YlRleHRXcmFwcGVyPntzdWJUZXh0fTwvU3ViVGV4dFdyYXBwZXI+fVxuICAgICAgICAgIDwvQ29udGVudFdyYXBwZXI+XG4gICAgICAgIDwvY29tcG9uZW50cy5PcHRpb24+XG4gICAgICA8L2Rpdj5cbiAgICApO1xuICB9XG59XG4iXX0= */") | ||
}, props)); | ||
@@ -103,11 +110,11 @@ }; | ||
text = _this$props$data.text; | ||
return React.createElement("div", _extends({ | ||
return ___EmotionJSX("div", _extends({ | ||
ref: innerRef | ||
}, innerProps), React.createElement(components.Option, this.props, !!avatar && React.createElement(ElementWrapper, { | ||
}, innerProps), ___EmotionJSX(components.Option, this.props, !!avatar && ___EmotionJSX(ElementWrapper, { | ||
is: "before" | ||
}, React.createElement(Avatar, { | ||
}, ___EmotionJSX(Avatar, { | ||
borderColor: "transparent", | ||
src: avatar, | ||
appearance: "square" | ||
})), React.createElement(ContentWrapper, null, React.createElement(TextWrapper, null, text), !!subText && React.createElement(SubTextWrapper, null, subText)))); | ||
})), ___EmotionJSX(ContentWrapper, null, ___EmotionJSX(TextWrapper, null, text), !!subText && ___EmotionJSX(SubTextWrapper, null, subText)))); | ||
} | ||
@@ -114,0 +121,0 @@ }]); |
@@ -1,2 +0,2 @@ | ||
import { css as _css } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
@@ -7,13 +7,6 @@ import _createClass from "@babel/runtime/helpers/createClass"; | ||
import _inherits from "@babel/runtime/helpers/inherits"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
import { gridSize as gridSizeFn } from '@atlaskit/theme'; | ||
var gridSize = gridSizeFn(); | ||
var _ref = { | ||
lineHeight: 0, | ||
// -2px here to account for the extra space at the top of a MenuSection | ||
// for the scroll hint. | ||
paddingBottom: gridSize * 3.5 - 2, | ||
paddingLeft: gridSize * 2, | ||
paddingTop: gridSize | ||
}; | ||
@@ -35,5 +28,14 @@ var Wordmark = | ||
var WordmarkLogo = this.props.wordmark; | ||
return React.createElement("div", { | ||
className: _css(_ref) | ||
}, React.createElement(WordmarkLogo, null)); | ||
return ___EmotionJSX("div", { | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
lineHeight: 0, | ||
// -2px here to account for the extra space at the top of a MenuSection | ||
// for the scroll hint. | ||
paddingBottom: gridSize * 3.5 - 2, | ||
paddingLeft: gridSize * 2, | ||
paddingTop: gridSize | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1dvcmRtYXJrL2luZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWFRIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL3ByZXNlbnRhdGlvbmFsL1dvcmRtYXJrL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcblxuaW1wb3J0IFJlYWN0LCB7IENvbXBvbmVudCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGdyaWRTaXplIGFzIGdyaWRTaXplRm4gfSBmcm9tICdAYXRsYXNraXQvdGhlbWUnO1xuaW1wb3J0IHR5cGUgeyBXb3JkbWFya1Byb3BzIH0gZnJvbSAnLi90eXBlcyc7XG5cbmNvbnN0IGdyaWRTaXplID0gZ3JpZFNpemVGbigpO1xuXG5leHBvcnQgZGVmYXVsdCBjbGFzcyBXb3JkbWFyayBleHRlbmRzIENvbXBvbmVudDxXb3JkbWFya1Byb3BzPiB7XG4gIHJlbmRlcigpIHtcbiAgICBjb25zdCB7IHdvcmRtYXJrOiBXb3JkbWFya0xvZ28gfSA9IHRoaXMucHJvcHM7XG4gICAgcmV0dXJuIChcbiAgICAgIDxkaXZcbiAgICAgICAgY3NzPXt7XG4gICAgICAgICAgbGluZUhlaWdodDogMCxcbiAgICAgICAgICAvLyAtMnB4IGhlcmUgdG8gYWNjb3VudCBmb3IgdGhlIGV4dHJhIHNwYWNlIGF0IHRoZSB0b3Agb2YgYSBNZW51U2VjdGlvblxuICAgICAgICAgIC8vIGZvciB0aGUgc2Nyb2xsIGhpbnQuXG4gICAgICAgICAgcGFkZGluZ0JvdHRvbTogZ3JpZFNpemUgKiAzLjUgLSAyLFxuICAgICAgICAgIHBhZGRpbmdMZWZ0OiBncmlkU2l6ZSAqIDIsXG4gICAgICAgICAgcGFkZGluZ1RvcDogZ3JpZFNpemUsXG4gICAgICAgIH19XG4gICAgICA+XG4gICAgICAgIDxXb3JkbWFya0xvZ28gLz5cbiAgICAgIDwvZGl2PlxuICAgICk7XG4gIH1cbn1cbiJdfQ== */") | ||
}, ___EmotionJSX(WordmarkLogo, null)); | ||
} | ||
@@ -40,0 +42,0 @@ }]); |
{ | ||
"name": "@atlaskit/navigation-next", | ||
"version": "5.1.2", | ||
"version": "5.1.3", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/navigation-next", | ||
"version": "5.1.2", | ||
"version": "5.1.3", | ||
"description": "The Atlassian navigation component.", | ||
@@ -26,6 +26,6 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.0.0", | ||
"@emotion/core": "^10.0.9", | ||
"chromatism": "^2.6.0", | ||
"deep-object-diff": "^1.1.0", | ||
"emotion": "^9.1.1", | ||
"emotion-theming": "^9.0.0", | ||
"emotion-theming": "^10.0.7", | ||
"prop-types": "^15.5.10", | ||
@@ -49,6 +49,6 @@ "raf-schd": "^2.1.0", | ||
"@atlaskit/docs": "^7.0.1", | ||
"@atlaskit/drawer": "^3.0.1", | ||
"@atlaskit/drawer": "^3.0.4", | ||
"@atlaskit/dropdown-menu": "^7.0.1", | ||
"@atlaskit/field-base": "^12.0.0", | ||
"@atlaskit/global-navigation": "^6.2.2", | ||
"@atlaskit/global-navigation": "^6.2.6", | ||
"@atlaskit/inline-dialog": "^10.0.2", | ||
@@ -55,0 +55,0 @@ "@atlaskit/logo": "^10.0.1", |
@@ -8,2 +8,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { Component } from 'react'; | ||
@@ -77,3 +78,3 @@ import { Provider } from 'unstated'; | ||
viewController = this.viewController; | ||
return React.createElement(Provider, { | ||
return ___EmotionJSX(Provider, { | ||
inject: [uiState, viewController] | ||
@@ -80,0 +81,0 @@ }, children); |
@@ -10,5 +10,5 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _extends from "@babel/runtime/helpers/extends"; | ||
import { css as _css2 } from "emotion"; | ||
import { css as _css } from "emotion"; | ||
import _css from "@emotion/css"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React, { PureComponent } from 'react'; | ||
@@ -44,3 +44,3 @@ import { gridSize as gridSizeFn } from '@atlaskit/theme'; | ||
return React.createElement(GroupHeadingComponent, props, text); | ||
return ___EmotionJSX(GroupHeadingComponent, props, text); | ||
}; // SectionHeading | ||
@@ -53,29 +53,29 @@ | ||
return React.createElement(SectionHeadingComponent, props, text); | ||
return ___EmotionJSX(SectionHeadingComponent, props, text); | ||
}; // ContainerHeader | ||
var _ref3 = { | ||
paddingBottom: gridSize * 2.5 - 2 | ||
}; | ||
var ContainerHeader = function ContainerHeader(props) { | ||
return (// -2px here to account for the extra space at the top of a MenuSection for | ||
// the scroll hint. | ||
React.createElement("div", { | ||
className: _css(_ref3) | ||
}, React.createElement(ContainerHeaderComponent, props)) | ||
___EmotionJSX("div", { | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
paddingBottom: gridSize * 2.5 - 2 | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9yZW5kZXJlci9jb21wb25lbnRzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFFTyIsImZpbGUiOiIuLi9zcmMvcmVuZGVyZXIvY29tcG9uZW50cy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5cbmltcG9ydCBSZWFjdCwge1xuICBQdXJlQ29tcG9uZW50LFxuICB0eXBlIENvbXBvbmVudFR5cGUsXG4gIHR5cGUgRWxlbWVudENvbmZpZyxcbiAgdHlwZSBOb2RlLFxufSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBncmlkU2l6ZSBhcyBncmlkU2l6ZUZuIH0gZnJvbSAnQGF0bGFza2l0L3RoZW1lJztcblxuaW1wb3J0IHsgbmF2aWdhdGlvbkl0ZW1DbGlja2VkIH0gZnJvbSAnLi4vY29tbW9uL2FuYWx5dGljcyc7XG5cbmltcG9ydCBSZW5kZXJCbG9ja2VyIGZyb20gJy4uL2NvbXBvbmVudHMvY29tbW9uL1JlbmRlckJsb2NrZXInO1xuXG5pbXBvcnQgQ29udGFpbmVySGVhZGVyQ29tcG9uZW50IGZyb20gJy4uL2NvbXBvbmVudHMvcHJlc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cy5jb21wb25lbnQpO1xuICAgICAgICByZXR1cm4gKFxuICAgICAgICAgIDxDdXN0b21Db21wb25lbnRcbiAgICAgICAgICAgIGtleT17a2V5fVxuICAgICAgICAgICAgey4uLmNvbXBvbmVudFByb3BzfVxuICAgICAgICAgICAgaW5kZXg9e2luZGV4fVxuICAgICAgICAgICAgLy8gV2UgcGFzcyBvdXIgaW4tYnVpbHQgY29tcG9uZW50cyB0aHJvdWdoIHRvIGN1c3RvbSBjb21wb25lbnRzIHNvXG4gICAgICAgICAgICAvLyB0aGV5IGNhbiB3cmFwL3JlbmRlciB0aGVtIGlmIHRoZXkgd2FudCB0by5cbiAgICAgICAgICAgIGNvbXBvbmVudHM9e2NvbXBvbmVudHN9XG4gICAgICAgICAgICBjdXN0b21Db21wb25lbnRzPXtjdXN0b21Db21wb25lbnRzfVxuICAgICAgICAgIC8+XG4gICAgICAgICk7XG4gICAgICB9IGVsc2UgaWYgKE9iamVjdC5rZXlzKGdyb3VwQ29tcG9uZW50cykuaW5jbHVkZXMocHJvcHMudHlwZSkpIHtcbiAgICAgICAgLy8gSWYgdGhleSd2ZSBwcm92aWRlZCBhIHR5cGUgd2hpY2ggbWF0Y2hlcyBvbmUgb2Ygb3VyIGluLWJ1aWx0IGdyb3VwXG4gICAgICAgIC8vIGNvbXBvbmVudHNcbiAgICAgICAgcmV0dXJuIHJlbmRlckdyb3VwQ29tcG9uZW50KHByb3BzLCBrZXksIGN1c3RvbUNvbXBvbmVudHMpO1xuICAgICAgICAvLyBJZiB0aGV5J3ZlIHByb3ZpZGVkIGEgdHlwZSB3aGljaCBtYXRjaGVzIG9uZSBvZiBvdXIgaW4tYnVpbHQgaXRlbVxuICAgICAgICAvLyBjb21wb25lbnRzLlxuICAgICAgfSBlbHNlIGlmIChPYmplY3Qua2V5cyhpdGVtQ29tcG9uZW50cykuaW5jbHVkZXMocHJvcHMudHlwZSkpIHtcbiAgICAgICAgcmV0dXJuIHJlbmRlckl0ZW1Db21wb25lbnQocHJvcHMsIGtleSwgaW5kZXgpO1xuICAgICAgfSBlbHNlIGlmIChPYmplY3Qua2V5cyhjdXN0b21Db21wb25lbnRzKS5pbmNsdWRlcyhwcm9wcy50eXBlKSkge1xuICAgICAgICBjb25zdCB7IHR5cGUsIC4uLmNvbXBvbmVudFByb3BzIH0gPSBwcm9wcztcbiAgICAgICAgLy8gSWYgdGhleSd2ZSBwcm92aWRlZCBhIHR5cGUgd2hpY2ggbWF0Y2hlcyBvbmUgb2YgdGhlaXIgZGVmaW5lZCBjdXN0b21cbiAgICAgICAgLy8gY29tcG9uZW50cy5cbiAgICAgICAgY29uc3QgQ3VzdG9tQ29tcG9uZW50ID0gdGhpcy5nZXRDdXN0b21Db21wb25lbnQodHlwZSk7XG4gICAgICAgIHJldHVybiAoXG4gICAgICAgICAgPEN1c3RvbUNvbXBvbmVudFxuICAgICAgICAgICAga2V5PXtrZXl9XG4gICAgICAgICAgICB7Li4uY29tcG9uZW50UHJvcHN9XG4gICAgICAgICAgICBpbmRleD17aW5kZXh9XG4gICAgICAgICAgICAvLyBXZSBwYXNzIG91ciBpbi1idWlsdCBjb21wb25lbnRzIHRocm91Z2ggdG8gY3VzdG9tIGNvbXBvbmVudHMgc29cbiAgICAgICAgICAgIC8vIHRoZXkgY2FuIHdyYXAvcmVuZGVyIHRoZW0gaWYgdGhleSB3YW50IHRvLlxuICAgICAgICAgICAgY29tcG9uZW50cz17Y29tcG9uZW50c31cbiAgICAgICAgICAgIGN1c3RvbUNvbXBvbmVudHM9e2N1c3RvbUNvbXBvbmVudHN9XG4gICAgICAgICAgLz5cbiAgICAgICAgKTtcbiAgICAgIH1cblxuICAgICAgcmV0dXJuIDxEZWJ1ZyBrZXk9e2tleX0gdHlwZT17cHJvcHMudHlwZX0gey4uLnByb3BzfSAvPjtcbiAgICB9KTtcbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBUeXBlZEl0ZW1zUmVuZGVyZXI7XG4iXX0= */") | ||
}, ___EmotionJSX(ContainerHeaderComponent, props)) | ||
); | ||
}; | ||
var _ref4 = { | ||
backgroundColor: 'rgba(0, 0, 0, 0.1)', | ||
fontSize: '10px', | ||
overflowX: 'auto', | ||
padding: "".concat(gridSize / 2, "px") | ||
}; | ||
var Debug = function Debug(props) { | ||
return React.createElement("pre", { | ||
className: _css2(_ref4) | ||
return ___EmotionJSX("pre", { | ||
css: | ||
/*#__PURE__*/ | ||
_css({ | ||
backgroundColor: 'rgba(0, 0, 0, 0.1)', | ||
fontSize: '10px', | ||
overflowX: 'auto', | ||
padding: "".concat(gridSize / 2, "px") | ||
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9yZW5kZXJlci9jb21wb25lbnRzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTRFSSIsImZpbGUiOiIuLi9zcmMvcmVuZGVyZXIvY29tcG9uZW50cy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG5cbmltcG9ydCBSZWFjdCwge1xuICBQdXJlQ29tcG9uZW50LFxuICB0eXBlIENvbXBvbmVudFR5cGUsXG4gIHR5cGUgRWxlbWVudENvbmZpZyxcbiAgdHlwZSBOb2RlLFxufSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBncmlkU2l6ZSBhcyBncmlkU2l6ZUZuIH0gZnJvbSAnQGF0bGFza2l0L3RoZW1lJztcblxuaW1wb3J0IHsgbmF2aWdhdGlvbkl0ZW1DbGlja2VkIH0gZnJvbSAnLi4vY29tbW9uL2FuYWx5dGljcyc7XG5cbmltcG9ydCBSZW5kZXJCbG9ja2VyIGZyb20gJy4uL2NvbXBvbmVudHMvY29tbW9uL1JlbmRlckJsb2NrZXInO1xuXG5pbXBvcnQgQ29udGFpbmVySGVhZGVyQ29tcG9uZW50IGZyb20gJy4uL2NvbXBvbmVudHMvcHJlc2VudGF0aW9uYWwvQ29udGFp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xuICAgICAgfSBlbHNlIGlmIChPYmplY3Qua2V5cyhjdXN0b21Db21wb25lbnRzKS5pbmNsdWRlcyhwcm9wcy50eXBlKSkge1xuICAgICAgICBjb25zdCB7IHR5cGUsIC4uLmNvbXBvbmVudFByb3BzIH0gPSBwcm9wcztcbiAgICAgICAgLy8gSWYgdGhleSd2ZSBwcm92aWRlZCBhIHR5cGUgd2hpY2ggbWF0Y2hlcyBvbmUgb2YgdGhlaXIgZGVmaW5lZCBjdXN0b21cbiAgICAgICAgLy8gY29tcG9uZW50cy5cbiAgICAgICAgY29uc3QgQ3VzdG9tQ29tcG9uZW50ID0gdGhpcy5nZXRDdXN0b21Db21wb25lbnQodHlwZSk7XG4gICAgICAgIHJldHVybiAoXG4gICAgICAgICAgPEN1c3RvbUNvbXBvbmVudFxuICAgICAgICAgICAga2V5PXtrZXl9XG4gICAgICAgICAgICB7Li4uY29tcG9uZW50UHJvcHN9XG4gICAgICAgICAgICBpbmRleD17aW5kZXh9XG4gICAgICAgICAgICAvLyBXZSBwYXNzIG91ciBpbi1idWlsdCBjb21wb25lbnRzIHRocm91Z2ggdG8gY3VzdG9tIGNvbXBvbmVudHMgc29cbiAgICAgICAgICAgIC8vIHRoZXkgY2FuIHdyYXAvcmVuZGVyIHRoZW0gaWYgdGhleSB3YW50IHRvLlxuICAgICAgICAgICAgY29tcG9uZW50cz17Y29tcG9uZW50c31cbiAgICAgICAgICAgIGN1c3RvbUNvbXBvbmVudHM9e2N1c3RvbUNvbXBvbmVudHN9XG4gICAgICAgICAgLz5cbiAgICAgICAgKTtcbiAgICAgIH1cblxuICAgICAgcmV0dXJuIDxEZWJ1ZyBrZXk9e2tleX0gdHlwZT17cHJvcHMudHlwZX0gey4uLnByb3BzfSAvPjtcbiAgICB9KTtcbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBUeXBlZEl0ZW1zUmVuZGVyZXI7XG4iXX0= */") | ||
}, JSON.stringify(props, null, 2)); | ||
@@ -89,13 +89,13 @@ }; | ||
var Group = function Group(_ref5) { | ||
var customComponents = _ref5.customComponents, | ||
hasSeparator = _ref5.hasSeparator, | ||
heading = _ref5.heading, | ||
items = _ref5.items, | ||
id = _ref5.id; | ||
return items.length ? React.createElement(GroupComponent, { | ||
var Group = function Group(_ref3) { | ||
var customComponents = _ref3.customComponents, | ||
hasSeparator = _ref3.hasSeparator, | ||
heading = _ref3.heading, | ||
items = _ref3.items, | ||
id = _ref3.id; | ||
return items.length ? ___EmotionJSX(GroupComponent, { | ||
heading: heading, | ||
hasSeparator: hasSeparator, | ||
id: id | ||
}, React.createElement(TypedItemsRenderer, { | ||
}, ___EmotionJSX(TypedItemsRenderer, { | ||
items: items, | ||
@@ -106,16 +106,16 @@ customComponents: customComponents | ||
var SortableGroup = function SortableGroup(_ref6) { | ||
var customComponents = _ref6.customComponents, | ||
hasSeparator = _ref6.hasSeparator, | ||
heading = _ref6.heading, | ||
items = _ref6.items, | ||
id = _ref6.id; | ||
return items && items.length ? React.createElement(SortableGroupComponent, { | ||
var SortableGroup = function SortableGroup(_ref4) { | ||
var customComponents = _ref4.customComponents, | ||
hasSeparator = _ref4.hasSeparator, | ||
heading = _ref4.heading, | ||
items = _ref4.items, | ||
id = _ref4.id; | ||
return items && items.length ? ___EmotionJSX(SortableGroupComponent, { | ||
heading: heading, | ||
hasSeparator: hasSeparator, | ||
id: id | ||
}, React.createElement(RenderBlocker, { | ||
}, ___EmotionJSX(RenderBlocker, { | ||
items: items, | ||
customComponents: customComponents | ||
}, React.createElement(TypedItemsRenderer, { | ||
}, ___EmotionJSX(TypedItemsRenderer, { | ||
items: items, | ||
@@ -127,12 +127,12 @@ customComponents: customComponents | ||
var Section = function Section(_ref7) { | ||
var _ref7$alwaysShowScrol = _ref7.alwaysShowScrollHint, | ||
alwaysShowScrollHint = _ref7$alwaysShowScrol === void 0 ? false : _ref7$alwaysShowScrol, | ||
customComponents = _ref7.customComponents, | ||
id = _ref7.id, | ||
items = _ref7.items, | ||
nestedGroupKey = _ref7.nestedGroupKey, | ||
parentId = _ref7.parentId, | ||
shouldGrow = _ref7.shouldGrow; | ||
return items.length ? React.createElement(SectionComponent, { | ||
var Section = function Section(_ref5) { | ||
var _ref5$alwaysShowScrol = _ref5.alwaysShowScrollHint, | ||
alwaysShowScrollHint = _ref5$alwaysShowScrol === void 0 ? false : _ref5$alwaysShowScrol, | ||
customComponents = _ref5.customComponents, | ||
id = _ref5.id, | ||
items = _ref5.items, | ||
nestedGroupKey = _ref5.nestedGroupKey, | ||
parentId = _ref5.parentId, | ||
shouldGrow = _ref5.shouldGrow; | ||
return items.length ? ___EmotionJSX(SectionComponent, { | ||
alwaysShowScrollHint: alwaysShowScrollHint, | ||
@@ -143,7 +143,7 @@ id: id, | ||
shouldGrow: shouldGrow | ||
}, function (_ref8) { | ||
var className = _ref8.className; | ||
return React.createElement("div", { | ||
}, function (_ref6) { | ||
var className = _ref6.className; | ||
return ___EmotionJSX("div", { | ||
className: className | ||
}, React.createElement(TypedItemsRenderer, { | ||
}, ___EmotionJSX(TypedItemsRenderer, { | ||
items: items, | ||
@@ -155,15 +155,15 @@ customComponents: customComponents | ||
var HeaderSection = function HeaderSection(_ref9) { | ||
var customComponents = _ref9.customComponents, | ||
id = _ref9.id, | ||
items = _ref9.items, | ||
nestedGroupKey = _ref9.nestedGroupKey; | ||
return items.length ? React.createElement(HeaderSectionComponent, { | ||
var HeaderSection = function HeaderSection(_ref7) { | ||
var customComponents = _ref7.customComponents, | ||
id = _ref7.id, | ||
items = _ref7.items, | ||
nestedGroupKey = _ref7.nestedGroupKey; | ||
return items.length ? ___EmotionJSX(HeaderSectionComponent, { | ||
id: id, | ||
key: nestedGroupKey | ||
}, function (_ref10) { | ||
var className = _ref10.className; | ||
return React.createElement("div", { | ||
}, function (_ref8) { | ||
var className = _ref8.className; | ||
return ___EmotionJSX("div", { | ||
className: className | ||
}, React.createElement(TypedItemsRenderer, { | ||
}, ___EmotionJSX(TypedItemsRenderer, { | ||
items: items, | ||
@@ -175,10 +175,10 @@ customComponents: customComponents | ||
var MenuSection = function MenuSection(_ref11) { | ||
var alwaysShowScrollHint = _ref11.alwaysShowScrollHint, | ||
customComponents = _ref11.customComponents, | ||
id = _ref11.id, | ||
items = _ref11.items, | ||
nestedGroupKey = _ref11.nestedGroupKey, | ||
parentId = _ref11.parentId; | ||
return React.createElement(MenuSectionComponent, { | ||
var MenuSection = function MenuSection(_ref9) { | ||
var alwaysShowScrollHint = _ref9.alwaysShowScrollHint, | ||
customComponents = _ref9.customComponents, | ||
id = _ref9.id, | ||
items = _ref9.items, | ||
nestedGroupKey = _ref9.nestedGroupKey, | ||
parentId = _ref9.parentId; | ||
return ___EmotionJSX(MenuSectionComponent, { | ||
alwaysShowScrollHint: alwaysShowScrollHint, | ||
@@ -188,7 +188,7 @@ id: id, | ||
parentId: parentId | ||
}, function (_ref12) { | ||
var className = _ref12.className; | ||
return React.createElement("div", { | ||
}, function (_ref10) { | ||
var className = _ref10.className; | ||
return ___EmotionJSX("div", { | ||
className: className | ||
}, React.createElement(TypedItemsRenderer, { | ||
}, ___EmotionJSX(TypedItemsRenderer, { | ||
items: items, | ||
@@ -200,10 +200,10 @@ customComponents: customComponents | ||
var SortableContext = function SortableContext(_ref13) { | ||
var customComponents = _ref13.customComponents, | ||
id = _ref13.id, | ||
items = _ref13.items, | ||
onDragStart = _ref13.onDragStart, | ||
onDragUpdate = _ref13.onDragUpdate, | ||
onDragEnd = _ref13.onDragEnd; | ||
return items && items.length ? React.createElement(SortableContextComponent, { | ||
var SortableContext = function SortableContext(_ref11) { | ||
var customComponents = _ref11.customComponents, | ||
id = _ref11.id, | ||
items = _ref11.items, | ||
onDragStart = _ref11.onDragStart, | ||
onDragUpdate = _ref11.onDragUpdate, | ||
onDragEnd = _ref11.onDragEnd; | ||
return items && items.length ? ___EmotionJSX(SortableContextComponent, { | ||
id: id, | ||
@@ -213,3 +213,3 @@ onDragStart: onDragStart, | ||
onDragEnd: onDragEnd | ||
}, React.createElement(TypedItemsRenderer, { | ||
}, ___EmotionJSX(TypedItemsRenderer, { | ||
items: items, | ||
@@ -241,3 +241,3 @@ customComponents: customComponents | ||
element = React.createElement(BackItem, _extends({ | ||
element = ___EmotionJSX(BackItem, _extends({ | ||
key: key | ||
@@ -251,3 +251,3 @@ }, compProps, { | ||
element = React.createElement(ContainerHeader, _extends({ | ||
element = ___EmotionJSX(ContainerHeader, _extends({ | ||
key: key | ||
@@ -259,3 +259,3 @@ }, _compProps)); | ||
element = React.createElement(Debug, _extends({ | ||
element = ___EmotionJSX(Debug, _extends({ | ||
key: key | ||
@@ -267,3 +267,3 @@ }, _compProps2)); | ||
element = React.createElement(GoToItem, _extends({ | ||
element = ___EmotionJSX(GoToItem, _extends({ | ||
key: key | ||
@@ -277,3 +277,3 @@ }, _compProps3, { | ||
element = React.createElement(ConnectedItem, _extends({ | ||
element = ___EmotionJSX(ConnectedItem, _extends({ | ||
key: key | ||
@@ -287,3 +287,3 @@ }, _compProps4, { | ||
element = React.createElement(SortableItem, _extends({ | ||
element = ___EmotionJSX(SortableItem, _extends({ | ||
key: key | ||
@@ -298,3 +298,3 @@ }, _compProps5, { | ||
element = React.createElement(SectionHeading, _extends({ | ||
element = ___EmotionJSX(SectionHeading, _extends({ | ||
key: key | ||
@@ -307,3 +307,3 @@ }, _compProps6)); | ||
element = React.createElement(Separator, _extends({ | ||
element = ___EmotionJSX(Separator, _extends({ | ||
key: key | ||
@@ -315,3 +315,3 @@ }, _compProps7)); | ||
element = React.createElement(Switcher, _extends({ | ||
element = ___EmotionJSX(Switcher, _extends({ | ||
key: key | ||
@@ -324,3 +324,3 @@ }, _compProps8)); | ||
element = React.createElement(Wordmark, _extends({ | ||
element = ___EmotionJSX(Wordmark, _extends({ | ||
key: key | ||
@@ -349,3 +349,3 @@ }, _compProps9)); | ||
element = React.createElement(Group, _extends({ | ||
element = ___EmotionJSX(Group, _extends({ | ||
key: key | ||
@@ -359,3 +359,3 @@ }, compProps, { | ||
element = React.createElement(HeaderSection, _extends({ | ||
element = ___EmotionJSX(HeaderSection, _extends({ | ||
key: key | ||
@@ -369,3 +369,3 @@ }, _compProps10, { | ||
element = React.createElement(MenuSection, _extends({ | ||
element = ___EmotionJSX(MenuSection, _extends({ | ||
key: key | ||
@@ -379,3 +379,3 @@ }, _compProps11, { | ||
element = React.createElement(Section, _extends({ | ||
element = ___EmotionJSX(Section, _extends({ | ||
key: key | ||
@@ -389,3 +389,3 @@ }, _compProps12, { | ||
element = React.createElement(SortableContext, _extends({ | ||
element = ___EmotionJSX(SortableContext, _extends({ | ||
key: key | ||
@@ -399,3 +399,3 @@ }, _compProps13, { | ||
element = React.createElement(SortableGroup, _extends({ | ||
element = ___EmotionJSX(SortableGroup, _extends({ | ||
key: key | ||
@@ -478,3 +478,3 @@ }, _compProps14, { | ||
return React.createElement(CustomComponent, _extends({ | ||
return ___EmotionJSX(CustomComponent, _extends({ | ||
key: key | ||
@@ -503,3 +503,3 @@ }, componentProps, { | ||
return React.createElement(_CustomComponent, _extends({ | ||
return ___EmotionJSX(_CustomComponent, _extends({ | ||
key: key | ||
@@ -515,3 +515,3 @@ }, _componentProps, { | ||
return React.createElement(Debug, _extends({ | ||
return ___EmotionJSX(Debug, _extends({ | ||
key: key, | ||
@@ -518,0 +518,0 @@ type: props.type |
import _extends from "@babel/runtime/helpers/extends"; | ||
import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
import _createClass from "@babel/runtime/helpers/createClass"; | ||
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn"; | ||
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf"; | ||
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized"; | ||
import _inherits from "@babel/runtime/helpers/inherits"; | ||
import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
import React, { Component } from 'react'; | ||
import { channel } from 'emotion-theming'; | ||
import PropTypes from 'prop-types'; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React from 'react'; | ||
import { withTheme as WithEmotionTheme } from 'emotion-theming'; | ||
import { light } from './modes'; | ||
@@ -16,79 +10,14 @@ | ||
return function (WrappedComponent) { | ||
var _class, _temp; | ||
// $FlowFixMe - Flow types for WithEmotionTheme only want a component with a single 'theme' prop | ||
var WithTheme = WithEmotionTheme(function (props) { | ||
var ctxTheme = props.theme, | ||
rest = _objectWithoutProperties(props, ["theme"]); | ||
return _temp = _class = | ||
/*#__PURE__*/ | ||
function (_Component) { | ||
_inherits(WithTheme, _Component); | ||
function WithTheme() { | ||
var _getPrototypeOf2; | ||
var _this; | ||
_classCallCheck(this, WithTheme); | ||
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | ||
args[_key] = arguments[_key]; | ||
} | ||
_this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(WithTheme)).call.apply(_getPrototypeOf2, [this].concat(args))); | ||
_defineProperty(_assertThisInitialized(_this), "state", { | ||
theme: undefined | ||
}); | ||
_defineProperty(_assertThisInitialized(_this), "unsubscribeId", void 0); | ||
return _this; | ||
} | ||
_createClass(WithTheme, [{ | ||
key: "subscribeToContext", | ||
value: function subscribeToContext() { | ||
var _this2 = this; | ||
if (this.unsubscribeId && this.unsubscribeId !== -1) { | ||
return; | ||
} | ||
var themeContext = this.context[channel]; | ||
if (themeContext !== undefined) { | ||
this.unsubscribeId = themeContext.subscribe(function (theme) { | ||
_this2.setState({ | ||
theme: theme | ||
}); | ||
}); | ||
} | ||
} | ||
}, { | ||
key: "componentWillMount", | ||
value: function componentWillMount() { | ||
this.subscribeToContext(); | ||
} | ||
}, { | ||
key: "componentDidUpdate", | ||
value: function componentDidUpdate() { | ||
this.subscribeToContext(); | ||
} | ||
}, { | ||
key: "componentWillUnmount", | ||
value: function componentWillUnmount() { | ||
if (this.unsubscribeId && this.unsubscribeId !== -1) { | ||
this.context[channel].unsubscribe(this.unsubscribeId); | ||
} | ||
} | ||
}, { | ||
key: "render", | ||
value: function render() { | ||
var theme = this.state.theme || defaultTheme; | ||
return React.createElement(WrappedComponent, _extends({ | ||
theme: theme | ||
}, this.props)); | ||
} | ||
}]); | ||
return WithTheme; | ||
}(Component), _defineProperty(_class, "contextTypes", _defineProperty({}, channel, PropTypes.object)), _defineProperty(_class, "displayName", "WithTheme(".concat(WrappedComponent.displayName || WrappedComponent.name || 'Component', ")")), _temp; | ||
var theme = Object.keys(ctxTheme).length > 0 ? ctxTheme : defaultTheme; | ||
return ___EmotionJSX(WrappedComponent, _extends({ | ||
theme: theme | ||
}, rest)); | ||
}); | ||
WithTheme.displayName = "WithTheme(".concat(WrappedComponent.displayName || WrappedComponent.name || 'Component', ")"); | ||
return WithTheme; | ||
}; | ||
@@ -95,0 +24,0 @@ }; |
@@ -0,1 +1,2 @@ | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React from 'react'; | ||
@@ -7,3 +8,3 @@ import { Subscribe } from 'unstated'; | ||
var children = _ref.children; | ||
return React.createElement(Subscribe, { | ||
return ___EmotionJSX(Subscribe, { | ||
to: [UIController] | ||
@@ -10,0 +11,0 @@ }, children); |
import _extends from "@babel/runtime/helpers/extends"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React from 'react'; | ||
@@ -6,4 +7,4 @@ import UIControllerSubscriber from './UIControllerSubscriber'; | ||
var withNavigationUIController = function withNavigationUIController(props) { | ||
return React.createElement(UIControllerSubscriber, null, function (navigationUIController) { | ||
return React.createElement(WrappedComponent, _extends({ | ||
return ___EmotionJSX(UIControllerSubscriber, null, function (navigationUIController) { | ||
return ___EmotionJSX(WrappedComponent, _extends({ | ||
navigationUIController: navigationUIController | ||
@@ -10,0 +11,0 @@ }, props)); |
{ | ||
"name": "@atlaskit/navigation-next", | ||
"version": "5.1.2", | ||
"version": "5.1.3", | ||
"sideEffects": false | ||
} |
import _extends from "@babel/runtime/helpers/extends"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React from 'react'; | ||
@@ -7,3 +8,3 @@ import { Subscribe } from 'unstated'; | ||
var ViewControllerSubscriber = function ViewControllerSubscriber(props) { | ||
return React.createElement(Subscribe, _extends({ | ||
return ___EmotionJSX(Subscribe, _extends({ | ||
to: [ViewController] | ||
@@ -10,0 +11,0 @@ }, props)); |
import _extends from "@babel/runtime/helpers/extends"; | ||
import { jsx as ___EmotionJSX } from "@emotion/core"; | ||
import React from 'react'; | ||
@@ -6,4 +7,4 @@ import ViewControllerSubscriber from './ViewControllerSubscriber'; | ||
var WithNavigationViewController = function WithNavigationViewController(props) { | ||
return React.createElement(ViewControllerSubscriber, null, function (navigationViewController) { | ||
return React.createElement(WrappedComponent, _extends({ | ||
return ___EmotionJSX(ViewControllerSubscriber, null, function (navigationViewController) { | ||
return ___EmotionJSX(WrappedComponent, _extends({ | ||
navigationViewController: navigationViewController | ||
@@ -10,0 +11,0 @@ }, props)); |
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
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
1025693
11950
104
+ Added@emotion/core@^10.0.9
+ Added@emotion/cache@10.0.29(transitive)
+ Added@emotion/core@10.3.1(transitive)
+ Added@emotion/css@10.0.27(transitive)
+ Added@emotion/hash@0.8.0(transitive)
+ Added@emotion/memoize@0.7.4(transitive)
+ Added@emotion/serialize@0.11.16(transitive)
+ Added@emotion/sheet@0.9.4(transitive)
+ Added@emotion/stylis@0.8.5(transitive)
+ Added@emotion/unitless@0.7.5(transitive)
+ Added@emotion/utils@0.11.3(transitive)
+ Added@emotion/weak-memoize@0.2.5(transitive)
+ Addedbabel-plugin-emotion@10.2.2(transitive)
+ Addedemotion-theming@10.3.0(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
- Removedemotion@^9.1.1
- Removedemotion-theming@9.2.9(transitive)
Updatedemotion-theming@^10.0.7