@atlaskit/editor-common 76.24.3 → 76.24.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/card/LinkToolbarButtonGroup.js +5 -6
- package/dist/cjs/element-browser/ViewMore.js +3 -4
- package/dist/cjs/element-browser/components/CategoryList.js +4 -5
- package/dist/cjs/element-browser/components/ElementBrowserLoader.js +2 -3
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +20 -21
- package/dist/cjs/element-browser/components/ElementList/EmptyState.js +8 -9
- package/dist/cjs/element-browser/components/ElementList/NotFoundIllustration.js +15 -16
- package/dist/cjs/element-browser/components/ElementSearch.js +6 -7
- package/dist/cjs/element-browser/components/StatelessElementBrowser.js +21 -22
- package/dist/cjs/element-browser/hooks/use-container-width.js +2 -3
- package/dist/cjs/keymaps/index.js +1 -2
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +21 -22
- package/dist/cjs/link/LinkSearch/LinkSearchList.js +5 -6
- package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +9 -11
- package/dist/cjs/media-inline/inline-image-wrapper.js +1 -3
- package/dist/cjs/media-inline/media-inline-image-card.js +0 -2
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/react-node-view/getInlineNodeViewProducer.js +5 -8
- package/dist/cjs/ui/Caption/index.js +2 -3
- package/dist/cjs/ui/DropList/index.js +6 -6
- package/dist/cjs/ui/Expand/index.js +3 -5
- package/dist/cjs/ui/FloatingToolbar/Separator.js +1 -2
- package/dist/cjs/ui/FloatingToolbar/SmallerEditIcon.js +2 -3
- package/dist/cjs/ui/MediaSingle/index.js +2 -5
- package/dist/cjs/ui/MediaSingle/styled.js +2 -3
- package/dist/cjs/ui/Messages/index.js +7 -8
- package/dist/cjs/ui/PanelTextInput/index.js +2 -3
- package/dist/cjs/ui/UnsupportedBlock/index.js +4 -5
- package/dist/cjs/ui/UnsupportedInline/index.js +4 -5
- package/dist/cjs/ui/WidthProvider/index.js +4 -4
- package/dist/cjs/ui-color/ColorPalette/Color/index.js +5 -6
- package/dist/cjs/ui-color/ColorPalette/index.js +3 -6
- package/dist/cjs/ui-menu/ColorPickerButton/index.js +9 -10
- package/dist/cjs/ui-menu/DropdownContainer/index.js +3 -3
- package/dist/cjs/ui-menu/DropdownMenu/index.js +18 -19
- package/dist/cjs/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +2 -3
- package/dist/cjs/ui-menu/ToolbarButton/index.js +3 -4
- package/dist/cjs/ui-react/with-react-editor-view-outer-listeners.js +11 -1
- package/dist/es2019/card/LinkToolbarButtonGroup.js +6 -7
- package/dist/es2019/element-browser/ViewMore.js +4 -5
- package/dist/es2019/element-browser/components/CategoryList.js +4 -6
- package/dist/es2019/element-browser/components/ElementBrowserLoader.js +3 -4
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +21 -22
- package/dist/es2019/element-browser/components/ElementList/EmptyState.js +9 -10
- package/dist/es2019/element-browser/components/ElementList/NotFoundIllustration.js +16 -17
- package/dist/es2019/element-browser/components/ElementSearch.js +7 -8
- package/dist/es2019/element-browser/components/StatelessElementBrowser.js +22 -23
- package/dist/es2019/element-browser/hooks/use-container-width.js +3 -4
- package/dist/es2019/keymaps/index.js +2 -3
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +22 -24
- package/dist/es2019/link/LinkSearch/LinkSearchList.js +6 -7
- package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +9 -10
- package/dist/es2019/media-inline/inline-image-wrapper.js +2 -4
- package/dist/es2019/media-inline/media-inline-image-card.js +0 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/react-node-view/getInlineNodeViewProducer.js +5 -7
- package/dist/es2019/ui/Caption/index.js +3 -4
- package/dist/es2019/ui/DropList/index.js +6 -8
- package/dist/es2019/ui/Expand/index.js +3 -5
- package/dist/es2019/ui/FloatingToolbar/Separator.js +2 -3
- package/dist/es2019/ui/FloatingToolbar/SmallerEditIcon.js +3 -4
- package/dist/es2019/ui/MediaSingle/index.js +2 -4
- package/dist/es2019/ui/MediaSingle/styled.js +3 -5
- package/dist/es2019/ui/Messages/index.js +8 -10
- package/dist/es2019/ui/PanelTextInput/index.js +1 -4
- package/dist/es2019/ui/UnsupportedBlock/index.js +5 -6
- package/dist/es2019/ui/UnsupportedInline/index.js +5 -6
- package/dist/es2019/ui/WidthProvider/index.js +4 -5
- package/dist/es2019/ui-color/ColorPalette/Color/index.js +4 -6
- package/dist/es2019/ui-color/ColorPalette/index.js +2 -4
- package/dist/es2019/ui-menu/ColorPickerButton/index.js +10 -11
- package/dist/es2019/ui-menu/DropdownContainer/index.js +2 -3
- package/dist/es2019/ui-menu/DropdownMenu/index.js +19 -21
- package/dist/es2019/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +3 -4
- package/dist/es2019/ui-menu/ToolbarButton/index.js +5 -5
- package/dist/es2019/ui-react/with-react-editor-view-outer-listeners.js +8 -2
- package/dist/esm/card/LinkToolbarButtonGroup.js +6 -7
- package/dist/esm/element-browser/ViewMore.js +4 -5
- package/dist/esm/element-browser/components/CategoryList.js +5 -7
- package/dist/esm/element-browser/components/ElementBrowserLoader.js +3 -4
- package/dist/esm/element-browser/components/ElementList/ElementList.js +21 -22
- package/dist/esm/element-browser/components/ElementList/EmptyState.js +9 -10
- package/dist/esm/element-browser/components/ElementList/NotFoundIllustration.js +16 -17
- package/dist/esm/element-browser/components/ElementSearch.js +7 -8
- package/dist/esm/element-browser/components/StatelessElementBrowser.js +22 -23
- package/dist/esm/element-browser/hooks/use-container-width.js +3 -4
- package/dist/esm/keymaps/index.js +2 -3
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +22 -24
- package/dist/esm/link/LinkSearch/LinkSearchList.js +6 -7
- package/dist/esm/link/LinkSearch/LinkSearchListItem.js +9 -10
- package/dist/esm/media-inline/inline-image-wrapper.js +2 -4
- package/dist/esm/media-inline/media-inline-image-card.js +0 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/react-node-view/getInlineNodeViewProducer.js +5 -7
- package/dist/esm/ui/Caption/index.js +3 -4
- package/dist/esm/ui/DropList/index.js +6 -8
- package/dist/esm/ui/Expand/index.js +3 -5
- package/dist/esm/ui/FloatingToolbar/Separator.js +2 -3
- package/dist/esm/ui/FloatingToolbar/SmallerEditIcon.js +3 -4
- package/dist/esm/ui/MediaSingle/index.js +2 -4
- package/dist/esm/ui/MediaSingle/styled.js +3 -5
- package/dist/esm/ui/Messages/index.js +8 -10
- package/dist/esm/ui/PanelTextInput/index.js +1 -4
- package/dist/esm/ui/UnsupportedBlock/index.js +5 -6
- package/dist/esm/ui/UnsupportedInline/index.js +5 -6
- package/dist/esm/ui/WidthProvider/index.js +4 -5
- package/dist/esm/ui-color/ColorPalette/Color/index.js +4 -6
- package/dist/esm/ui-color/ColorPalette/index.js +3 -5
- package/dist/esm/ui-menu/ColorPickerButton/index.js +10 -11
- package/dist/esm/ui-menu/DropdownContainer/index.js +2 -3
- package/dist/esm/ui-menu/DropdownMenu/index.js +19 -21
- package/dist/esm/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +3 -4
- package/dist/esm/ui-menu/ToolbarButton/index.js +5 -5
- package/dist/esm/ui-react/with-react-editor-view-outer-listeners.js +12 -2
- package/package.json +1 -1
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
|
-
/** @jsx jsx */
|
|
4
|
-
|
|
5
3
|
import React, { PureComponent, useContext } from 'react';
|
|
6
|
-
import { css
|
|
4
|
+
import { css } from '@emotion/react';
|
|
7
5
|
import { akEditorFloatingPanelZIndex } from '@atlaskit/editor-shared-styles';
|
|
8
6
|
import { CustomItem, MenuGroup, Section } from '@atlaskit/menu';
|
|
9
7
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
@@ -168,7 +166,7 @@ export default class DropdownMenuWrapper extends PureComponent {
|
|
|
168
166
|
}
|
|
169
167
|
}
|
|
170
168
|
};
|
|
171
|
-
return
|
|
169
|
+
return /*#__PURE__*/React.createElement(Popup, {
|
|
172
170
|
target: isOpen ? target : undefined,
|
|
173
171
|
mountTo: mountTo,
|
|
174
172
|
boundariesElement: boundariesElement,
|
|
@@ -178,10 +176,10 @@ export default class DropdownMenuWrapper extends PureComponent {
|
|
|
178
176
|
fitWidth: fitWidth,
|
|
179
177
|
zIndex: zIndex || akEditorFloatingPanelZIndex,
|
|
180
178
|
offset: offset
|
|
181
|
-
},
|
|
179
|
+
}, /*#__PURE__*/React.createElement(ArrowKeyNavigationProvider, _extends({}, navigationProviderProps, {
|
|
182
180
|
handleClose: this.handleCloseAndFocus,
|
|
183
181
|
closeOnTab: true
|
|
184
|
-
}),
|
|
182
|
+
}), /*#__PURE__*/React.createElement(DropListWithOutsideListeners, {
|
|
185
183
|
isOpen: true,
|
|
186
184
|
appearance: "tall",
|
|
187
185
|
position: popupPlacement.join(' '),
|
|
@@ -195,22 +193,22 @@ export default class DropdownMenuWrapper extends PureComponent {
|
|
|
195
193
|
e.stopPropagation();
|
|
196
194
|
},
|
|
197
195
|
targetRef: this.state.target
|
|
198
|
-
},
|
|
196
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
199
197
|
style: {
|
|
200
198
|
height: 0,
|
|
201
199
|
minWidth: fitWidth || 0
|
|
202
200
|
}
|
|
203
|
-
}),
|
|
201
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
204
202
|
ref: this.popupRef
|
|
205
|
-
}, getBooleanFF('platform.editor.menu.group-items') &&
|
|
203
|
+
}, getBooleanFF('platform.editor.menu.group-items') && /*#__PURE__*/React.createElement(MenuGroup, {
|
|
206
204
|
role: shouldUseDefaultRole ? 'group' : 'menu'
|
|
207
|
-
}, items.map((group, index) =>
|
|
205
|
+
}, items.map((group, index) => /*#__PURE__*/React.createElement(Section, {
|
|
208
206
|
hasSeparator: (section === null || section === void 0 ? void 0 : section.hasSeparator) && index > 0,
|
|
209
207
|
title: section === null || section === void 0 ? void 0 : section.title,
|
|
210
208
|
key: index
|
|
211
209
|
}, group.items.map(item => {
|
|
212
210
|
var _item$key;
|
|
213
|
-
return
|
|
211
|
+
return /*#__PURE__*/React.createElement(DropdownMenuItem, {
|
|
214
212
|
key: (_item$key = item.key) !== null && _item$key !== void 0 ? _item$key : String(item.content),
|
|
215
213
|
item: item,
|
|
216
214
|
onItemActivated: this.props.onItemActivated,
|
|
@@ -218,12 +216,12 @@ export default class DropdownMenuWrapper extends PureComponent {
|
|
|
218
216
|
onMouseEnter: this.props.onMouseEnter,
|
|
219
217
|
onMouseLeave: this.props.onMouseLeave
|
|
220
218
|
});
|
|
221
|
-
})))), !getBooleanFF('platform.editor.menu.group-items') && items.map((group, index) =>
|
|
219
|
+
})))), !getBooleanFF('platform.editor.menu.group-items') && items.map((group, index) => /*#__PURE__*/React.createElement(MenuGroup, {
|
|
222
220
|
key: index,
|
|
223
221
|
role: shouldUseDefaultRole ? 'group' : 'menu'
|
|
224
222
|
}, group.items.map(item => {
|
|
225
223
|
var _item$key2;
|
|
226
|
-
return
|
|
224
|
+
return /*#__PURE__*/React.createElement(DropdownMenuItem, {
|
|
227
225
|
key: (_item$key2 = item.key) !== null && _item$key2 !== void 0 ? _item$key2 : String(item.content),
|
|
228
226
|
item: item,
|
|
229
227
|
onItemActivated: this.props.onItemActivated,
|
|
@@ -238,9 +236,9 @@ export default class DropdownMenuWrapper extends PureComponent {
|
|
|
238
236
|
children,
|
|
239
237
|
isOpen
|
|
240
238
|
} = this.props;
|
|
241
|
-
return
|
|
239
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
242
240
|
css: wrapper
|
|
243
|
-
},
|
|
241
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
244
242
|
ref: this.handleRef
|
|
245
243
|
}, children), isOpen ? this.renderDropdownMenu() : null);
|
|
246
244
|
}
|
|
@@ -263,7 +261,7 @@ const DropdownMenuItemCustomComponent = /*#__PURE__*/React.forwardRef((props, re
|
|
|
263
261
|
children,
|
|
264
262
|
...rest
|
|
265
263
|
} = props;
|
|
266
|
-
return
|
|
264
|
+
return /*#__PURE__*/React.createElement("span", _extends({
|
|
267
265
|
ref: ref
|
|
268
266
|
}, rest, {
|
|
269
267
|
style: {
|
|
@@ -290,21 +288,21 @@ function DropdownMenuItem({
|
|
|
290
288
|
// onClick and value.name are the action indicators in the handlers
|
|
291
289
|
// If neither are present, don't wrap in an Item.
|
|
292
290
|
if (!item.onClick && !(item.value && item.value.name)) {
|
|
293
|
-
return
|
|
291
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
294
292
|
key: String(item.content)
|
|
295
293
|
}, item.content);
|
|
296
294
|
}
|
|
297
295
|
const _handleSubmenuActive = event => {
|
|
298
296
|
setSubmenuActive(!!event.target.closest(`.${DropdownMenuSharedCssClassName.SUBMENU}`));
|
|
299
297
|
};
|
|
300
|
-
const dropListItem =
|
|
298
|
+
const dropListItem = /*#__PURE__*/React.createElement("div", {
|
|
301
299
|
css: theme => buttonStyles(item.isActive, submenuActive)({
|
|
302
300
|
theme
|
|
303
301
|
}),
|
|
304
302
|
tabIndex: -1,
|
|
305
303
|
"aria-disabled": item.isDisabled ? 'true' : 'false',
|
|
306
304
|
onMouseDown: _handleSubmenuActive
|
|
307
|
-
},
|
|
305
|
+
}, /*#__PURE__*/React.createElement(CustomItem, {
|
|
308
306
|
item: item,
|
|
309
307
|
key: (_item$key3 = item.key) !== null && _item$key3 !== void 0 ? _item$key3 : String(item.content),
|
|
310
308
|
testId: `dropdown-item__${String(item.content)}`,
|
|
@@ -331,7 +329,7 @@ function DropdownMenuItem({
|
|
|
331
329
|
}, item.content));
|
|
332
330
|
if (item.tooltipDescription) {
|
|
333
331
|
var _item$key4;
|
|
334
|
-
return
|
|
332
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
335
333
|
key: (_item$key4 = item.key) !== null && _item$key4 !== void 0 ? _item$key4 : String(item.content),
|
|
336
334
|
content: item.tooltipDescription,
|
|
337
335
|
position: item.tooltipPosition
|
|
@@ -345,7 +343,7 @@ export const DropdownMenuWithKeyboardNavigation = /*#__PURE__*/React.memo(({
|
|
|
345
343
|
const keyDownHandlerContext = useContext(KeyDownHandlerContext);
|
|
346
344
|
// This context is to handle the tab, Arrow Right/Left key events for dropdown.
|
|
347
345
|
// Default context has the void callbacks for above key events
|
|
348
|
-
return
|
|
346
|
+
return /*#__PURE__*/React.createElement(DropdownMenuWrapper, _extends({
|
|
349
347
|
arrowKeyNavigationProviderOptions: {
|
|
350
348
|
...props.arrowKeyNavigationProviderOptions,
|
|
351
349
|
keyDownHandlerContext
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
1
|
/* eslint-disable no-console */
|
|
3
2
|
|
|
4
3
|
import React, { useCallback, useLayoutEffect, useRef } from 'react';
|
|
5
|
-
import { css
|
|
4
|
+
import { css } from '@emotion/react';
|
|
6
5
|
import { fullPageMessages as messages } from '../../messages';
|
|
7
6
|
import { EDIT_AREA_ID } from '../../ui';
|
|
8
7
|
/*
|
|
@@ -186,14 +185,14 @@ export const ToolbarArrowKeyNavigationProvider = ({
|
|
|
186
185
|
}
|
|
187
186
|
};
|
|
188
187
|
}, [selectedItemIndex, wrapperRef, editorView, disableArrowKeyNavigation, handleEscape, childComponentSelector, incrementIndex, decrementIndex, isShortcutToFocusToolbar, editorAppearance, useStickyToolbar]);
|
|
189
|
-
return
|
|
188
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
190
189
|
css: editorAppearance === 'comment' && centeredToolbarContainer,
|
|
191
190
|
className: "custom-key-handler-wrapper",
|
|
192
191
|
ref: wrapperRef,
|
|
193
192
|
role: "toolbar",
|
|
194
193
|
"aria-label": intl.formatMessage(messages.toolbarLabel),
|
|
195
194
|
"aria-controls": EDIT_AREA_ID
|
|
196
|
-
},
|
|
195
|
+
}, /*#__PURE__*/React.createElement(KeyDownHandlerContext.Provider, {
|
|
197
196
|
value: submenuKeydownHandleContext
|
|
198
197
|
}, children));
|
|
199
198
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// This file is copied to `packages/editor/editor-plugin-ai/src/ui/components/AtlassianIntelligenceToolbarButton/ToolbarButton/index.tsx`
|
|
2
2
|
// If you make any change here, copy it to above file as well
|
|
3
3
|
// and notify about the change in #team-fc-editor-ai-dev channel.
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
import React, { useCallback } from 'react';
|
|
6
|
-
import { css
|
|
6
|
+
import { css } from '@emotion/react';
|
|
7
7
|
import { FabricChannel } from '@atlaskit/analytics-listeners';
|
|
8
8
|
import Tooltip from '@atlaskit/tooltip';
|
|
9
9
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE, TOOLBAR_ACTION_SUBJECT_ID } from '../../analytics';
|
|
@@ -60,7 +60,7 @@ const ToolbarButton = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
60
60
|
}
|
|
61
61
|
}, [disabled, onClick, onItemClick, item, buttonId]);
|
|
62
62
|
const id = buttonId ? `editor-toolbar__${buttonId}` : undefined;
|
|
63
|
-
const button =
|
|
63
|
+
const button = /*#__PURE__*/React.createElement(Button, {
|
|
64
64
|
id: id,
|
|
65
65
|
ref: ref,
|
|
66
66
|
appearance: "subtle",
|
|
@@ -86,11 +86,11 @@ const ToolbarButton = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
86
86
|
return button;
|
|
87
87
|
}
|
|
88
88
|
const tooltipContent = !hideTooltip ? title : null;
|
|
89
|
-
return
|
|
89
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
90
90
|
content: tooltipContent,
|
|
91
91
|
hideTooltipOnClick: true,
|
|
92
92
|
position: titlePosition
|
|
93
|
-
},
|
|
93
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
94
94
|
css: buttonWrapper
|
|
95
95
|
}, button));
|
|
96
96
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
import React, { PureComponent } from 'react';
|
|
2
|
+
import React, { PureComponent, useEffect, useState } from 'react';
|
|
3
3
|
import ReactDOM from 'react-dom';
|
|
4
4
|
import ReactEditorViewContext from './ReactEditorViewContext';
|
|
5
5
|
|
|
@@ -77,7 +77,13 @@ export default function withReactEditorViewOuterListeners(Component) {
|
|
|
77
77
|
closeOnTab,
|
|
78
78
|
...props
|
|
79
79
|
}) => {
|
|
80
|
-
const
|
|
80
|
+
const isActiveProp = hasIsOpen(props) ? props.isOpen : true;
|
|
81
|
+
const [isActiveComponent, setActiveComponent] = useState(false);
|
|
82
|
+
useEffect(() => {
|
|
83
|
+
requestAnimationFrame(() => {
|
|
84
|
+
setActiveComponent(isActiveProp);
|
|
85
|
+
});
|
|
86
|
+
}, [isActiveProp]);
|
|
81
87
|
return /*#__PURE__*/React.createElement(ReactEditorViewContext.Consumer, null, ({
|
|
82
88
|
editorView,
|
|
83
89
|
editorRef
|
|
@@ -2,9 +2,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
2
2
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
3
3
|
var _excluded = ["disabled"];
|
|
4
4
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
5
|
-
/** @jsx jsx */
|
|
6
5
|
import React from 'react';
|
|
7
|
-
import { css
|
|
6
|
+
import { css } from '@emotion/react';
|
|
8
7
|
import { ButtonGroup } from '@atlaskit/button';
|
|
9
8
|
import { FloatingToolbarButton as Button } from '../ui';
|
|
10
9
|
|
|
@@ -16,7 +15,7 @@ var buttonStyleNoneEvent = css(_templateObject2 || (_templateObject2 = _taggedTe
|
|
|
16
15
|
var DisallowedWrapper = function DisallowedWrapper(_ref) {
|
|
17
16
|
var disabled = _ref.disabled,
|
|
18
17
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
|
-
return
|
|
18
|
+
return /*#__PURE__*/React.createElement("div", props);
|
|
20
19
|
};
|
|
21
20
|
|
|
22
21
|
/**
|
|
@@ -27,7 +26,7 @@ var defaultWrapperStyle = css(_templateObject3 || (_templateObject3 = _taggedTem
|
|
|
27
26
|
var disallowedWrapperStyle = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n cursor: not-allowed;\n"])));
|
|
28
27
|
export var LinkToolbarButtonGroup = function LinkToolbarButtonGroup(_ref2) {
|
|
29
28
|
var options = _ref2.options;
|
|
30
|
-
return
|
|
29
|
+
return /*#__PURE__*/React.createElement(ButtonGroup, null, options.map(function (_ref3) {
|
|
31
30
|
var onClick = _ref3.onClick,
|
|
32
31
|
selected = _ref3.selected,
|
|
33
32
|
disabled = _ref3.disabled,
|
|
@@ -35,14 +34,14 @@ export var LinkToolbarButtonGroup = function LinkToolbarButtonGroup(_ref2) {
|
|
|
35
34
|
tooltipContent = _ref3.tooltipContent,
|
|
36
35
|
title = _ref3.title,
|
|
37
36
|
Icon = _ref3.icon;
|
|
38
|
-
return
|
|
37
|
+
return /*#__PURE__*/React.createElement(DisallowedWrapper, {
|
|
39
38
|
css: disabled ? disallowedWrapperStyle : defaultWrapperStyle,
|
|
40
39
|
key: testId,
|
|
41
40
|
disabled: disabled
|
|
42
|
-
},
|
|
41
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
43
42
|
css: disabled ? buttonStyleNoneEvent : buttonStyle,
|
|
44
43
|
title: title,
|
|
45
|
-
icon:
|
|
44
|
+
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
46
45
|
size: "medium",
|
|
47
46
|
label: title
|
|
48
47
|
}),
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
2
|
var _templateObject, _templateObject2;
|
|
3
|
-
/** @jsx jsx */
|
|
4
3
|
import { useEffect, useRef } from 'react';
|
|
5
|
-
import { css
|
|
4
|
+
import { css } from '@emotion/react';
|
|
6
5
|
import { ButtonItem, Section } from '@atlaskit/menu';
|
|
7
6
|
var itemBefore = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 40px;\n height: 40px;\n box-sizing: border-box;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-right: ", ";\n"])), "var(--ds-space-050, 4px)");
|
|
8
7
|
export var ViewMore = function ViewMore(_ref) {
|
|
@@ -14,11 +13,11 @@ export var ViewMore = function ViewMore(_ref) {
|
|
|
14
13
|
ref.current.focus();
|
|
15
14
|
}
|
|
16
15
|
}, [focus]);
|
|
17
|
-
return
|
|
16
|
+
return /*#__PURE__*/React.createElement(Section, {
|
|
18
17
|
hasSeparator: true
|
|
19
|
-
},
|
|
18
|
+
}, /*#__PURE__*/React.createElement(ButtonItem, {
|
|
20
19
|
onClick: item.action,
|
|
21
|
-
iconBefore:
|
|
20
|
+
iconBefore: /*#__PURE__*/React.createElement("div", {
|
|
22
21
|
css: itemBefore
|
|
23
22
|
}, item.icon()),
|
|
24
23
|
"aria-describedby": item.title,
|
|
@@ -8,10 +8,8 @@ var _excluded = ["categories"],
|
|
|
8
8
|
_excluded2 = ["buttonStyles"];
|
|
9
9
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
10
10
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11
|
-
/** @jsx jsx */
|
|
12
|
-
|
|
13
11
|
import React, { Fragment, memo, useCallback } from 'react';
|
|
14
|
-
import { css
|
|
12
|
+
import { css } from '@emotion/react';
|
|
15
13
|
import { withAnalyticsContext } from '@atlaskit/analytics-next';
|
|
16
14
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
17
15
|
import { B400, B50, N800 } from '@atlaskit/theme/colors';
|
|
@@ -26,8 +24,8 @@ function CategoryList(_ref) {
|
|
|
26
24
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
27
25
|
focusedCategoryIndex = _React$useState2[0],
|
|
28
26
|
setFocusedCategoryIndex = _React$useState2[1];
|
|
29
|
-
return
|
|
30
|
-
return
|
|
27
|
+
return /*#__PURE__*/React.createElement(Fragment, null, categories.map(function (category, index) {
|
|
28
|
+
return /*#__PURE__*/React.createElement(CategoryListItem, _extends({
|
|
31
29
|
key: category.title,
|
|
32
30
|
index: index,
|
|
33
31
|
category: category,
|
|
@@ -86,9 +84,9 @@ function CategoryListItem(_ref2) {
|
|
|
86
84
|
})
|
|
87
85
|
}, rest);
|
|
88
86
|
}, [category.name, selectedCategory]);
|
|
89
|
-
return
|
|
87
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
90
88
|
css: buttonWrapper
|
|
91
|
-
},
|
|
89
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
92
90
|
appearance: "subtle",
|
|
93
91
|
isSelected: selectedCategory === category.name,
|
|
94
92
|
onClick: onClick,
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
2
|
var _templateObject;
|
|
3
|
-
/** @jsx jsx */
|
|
4
3
|
import React from 'react';
|
|
5
|
-
import { css
|
|
4
|
+
import { css } from '@emotion/react';
|
|
6
5
|
import Loadable from 'react-loadable';
|
|
7
6
|
import Spinner from '@atlaskit/spinner';
|
|
8
7
|
var spinnerContainer = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n"])));
|
|
@@ -13,9 +12,9 @@ var ElementBrowserLoader = Loadable({
|
|
|
13
12
|
});
|
|
14
13
|
},
|
|
15
14
|
loading: function loading() {
|
|
16
|
-
return
|
|
15
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
17
16
|
css: spinnerContainer
|
|
18
|
-
},
|
|
17
|
+
}, /*#__PURE__*/React.createElement(Spinner, {
|
|
19
18
|
size: "medium"
|
|
20
19
|
}));
|
|
21
20
|
}
|
|
@@ -4,9 +4,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
4
4
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
5
5
|
var _excluded = ["items", "mode", "selectedItemIndex", "focusedItemIndex", "setColumnCount", "createAnalyticsEvent", "emptyStateHandler", "selectedCategory", "searchTerm"];
|
|
6
6
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11;
|
|
7
|
-
/** @jsx jsx */
|
|
8
7
|
import React, { Fragment, memo, useCallback, useEffect, useMemo, useState } from 'react';
|
|
9
|
-
import { css
|
|
8
|
+
import { css } from '@emotion/react';
|
|
10
9
|
import { AutoSizer } from 'react-virtualized/dist/commonjs/AutoSizer';
|
|
11
10
|
import { Collection } from 'react-virtualized/dist/commonjs/Collection';
|
|
12
11
|
import { withAnalyticsContext } from '@atlaskit/analytics-next';
|
|
@@ -77,12 +76,12 @@ function ElementList(_ref) {
|
|
|
77
76
|
if (items[index] == null) {
|
|
78
77
|
return;
|
|
79
78
|
}
|
|
80
|
-
return
|
|
79
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
81
80
|
style: style,
|
|
82
81
|
key: key,
|
|
83
82
|
className: "element-item-wrapper",
|
|
84
83
|
css: elementItemWrapper
|
|
85
|
-
},
|
|
84
|
+
}, /*#__PURE__*/React.createElement(MemoizedElementItem, _extends({
|
|
86
85
|
inlineMode: !fullMode,
|
|
87
86
|
index: index,
|
|
88
87
|
item: items[index],
|
|
@@ -91,20 +90,20 @@ function ElementList(_ref) {
|
|
|
91
90
|
}, props)));
|
|
92
91
|
};
|
|
93
92
|
}, [items, fullMode, selectedItemIndex, focusedItemIndex, props]);
|
|
94
|
-
return
|
|
93
|
+
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(ContainerWidthMonitor, null), !items.length ? emptyStateHandler ? emptyStateHandler({
|
|
95
94
|
mode: mode,
|
|
96
95
|
selectedCategory: selectedCategory,
|
|
97
96
|
searchTerm: searchTerm
|
|
98
|
-
}) :
|
|
97
|
+
}) : /*#__PURE__*/React.createElement(EmptyState, {
|
|
99
98
|
onExternalLinkClick: onExternalLinkClick
|
|
100
|
-
}) :
|
|
99
|
+
}) : /*#__PURE__*/React.createElement("div", {
|
|
101
100
|
css: elementItemsWrapper,
|
|
102
101
|
"data-testid": "element-items"
|
|
103
|
-
},
|
|
102
|
+
}, /*#__PURE__*/React.createElement(Fragment, null, containerWidth > 0 && /*#__PURE__*/React.createElement(AutoSizer, {
|
|
104
103
|
disableWidth: true
|
|
105
104
|
}, function (_ref3) {
|
|
106
105
|
var height = _ref3.height;
|
|
107
|
-
return
|
|
106
|
+
return /*#__PURE__*/React.createElement(Collection, {
|
|
108
107
|
cellCount: items.length,
|
|
109
108
|
cellRenderer: cellRenderer,
|
|
110
109
|
cellSizeAndPositionGetter: cellSizeAndPositionGetter(containerWidth - ELEMENT_LIST_PADDING * 2, scrollbarWidth),
|
|
@@ -164,12 +163,12 @@ export function ElementItem(_ref4) {
|
|
|
164
163
|
title = item.title,
|
|
165
164
|
description = item.description,
|
|
166
165
|
keyshortcut = item.keyshortcut;
|
|
167
|
-
return
|
|
166
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
168
167
|
content: description,
|
|
169
168
|
testId: "element-item-tooltip-".concat(index)
|
|
170
|
-
},
|
|
169
|
+
}, /*#__PURE__*/React.createElement(ButtonItem, {
|
|
171
170
|
onClick: onClick,
|
|
172
|
-
iconBefore:
|
|
171
|
+
iconBefore: /*#__PURE__*/React.createElement(ElementBefore, {
|
|
173
172
|
icon: icon,
|
|
174
173
|
title: title
|
|
175
174
|
}),
|
|
@@ -177,7 +176,7 @@ export function ElementItem(_ref4) {
|
|
|
177
176
|
"aria-describedby": title,
|
|
178
177
|
ref: ref,
|
|
179
178
|
testId: "element-item-".concat(index)
|
|
180
|
-
},
|
|
179
|
+
}, /*#__PURE__*/React.createElement(ItemContent, {
|
|
181
180
|
style: inlineMode ? null : itemStyleOverrides,
|
|
182
181
|
tabIndex: 0,
|
|
183
182
|
title: title,
|
|
@@ -195,28 +194,28 @@ var itemStyleOverrides = {
|
|
|
195
194
|
var ElementBefore = /*#__PURE__*/memo(function (_ref5) {
|
|
196
195
|
var icon = _ref5.icon,
|
|
197
196
|
title = _ref5.title;
|
|
198
|
-
return
|
|
197
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
199
198
|
css: [itemIcon, itemIconStyle]
|
|
200
|
-
}, icon ? icon() :
|
|
199
|
+
}, icon ? icon() : /*#__PURE__*/React.createElement(IconFallback, null));
|
|
201
200
|
});
|
|
202
201
|
var ItemContent = /*#__PURE__*/memo(function (_ref6) {
|
|
203
202
|
var title = _ref6.title,
|
|
204
203
|
description = _ref6.description,
|
|
205
204
|
keyshortcut = _ref6.keyshortcut;
|
|
206
|
-
return
|
|
205
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
207
206
|
css: itemBody,
|
|
208
207
|
className: "item-body"
|
|
209
|
-
},
|
|
208
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
210
209
|
css: itemText
|
|
211
|
-
},
|
|
210
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
212
211
|
css: itemTitleWrapper
|
|
213
|
-
},
|
|
212
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
214
213
|
css: itemTitle
|
|
215
|
-
}, title),
|
|
214
|
+
}, title), /*#__PURE__*/React.createElement("div", {
|
|
216
215
|
css: itemAfter
|
|
217
|
-
}, keyshortcut &&
|
|
216
|
+
}, keyshortcut && /*#__PURE__*/React.createElement("div", {
|
|
218
217
|
css: shortcutStyle
|
|
219
|
-
}, keyshortcut))), description &&
|
|
218
|
+
}, keyshortcut))), description && /*#__PURE__*/React.createElement("p", {
|
|
220
219
|
css: itemDescription
|
|
221
220
|
}, description)));
|
|
222
221
|
});
|
|
@@ -1,34 +1,33 @@
|
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
2
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
3
|
-
|
|
4
|
-
import { css, jsx } from '@emotion/react';
|
|
3
|
+
import { css } from '@emotion/react';
|
|
5
4
|
import { FormattedMessage } from 'react-intl-next';
|
|
6
5
|
import Button from '@atlaskit/button';
|
|
7
6
|
import NotFoundIllustration from './NotFoundIllustration';
|
|
8
7
|
export default function EmptyState(_ref) {
|
|
9
8
|
var onExternalLinkClick = _ref.onExternalLinkClick;
|
|
10
|
-
return
|
|
9
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
11
10
|
css: emptyStateWrapper
|
|
12
|
-
},
|
|
11
|
+
}, /*#__PURE__*/React.createElement(NotFoundIllustration, null), /*#__PURE__*/React.createElement("div", {
|
|
13
12
|
css: emptyStateHeading
|
|
14
|
-
},
|
|
13
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, {
|
|
15
14
|
id: "fabric.editor.elementbrowser.search.empty-state.heading",
|
|
16
15
|
defaultMessage: "Nothing matches your search",
|
|
17
16
|
description: "Empty state heading"
|
|
18
|
-
})),
|
|
17
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
19
18
|
css: emptyStateSubHeading
|
|
20
|
-
},
|
|
19
|
+
}, /*#__PURE__*/React.createElement("p", null, /*#__PURE__*/React.createElement(FormattedMessage, {
|
|
21
20
|
id: "fabric.editor.elementbrowser.search.empty-state.sub-heading",
|
|
22
21
|
defaultMessage: "Try searching with a different term or discover new apps for Atlassian products.",
|
|
23
22
|
description: "Empty state sub-heading"
|
|
24
|
-
})),
|
|
23
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
25
24
|
css: externalLinkWrapper
|
|
26
|
-
},
|
|
25
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
27
26
|
appearance: "primary",
|
|
28
27
|
target: "_blank",
|
|
29
28
|
href: "https://marketplace.atlassian.com/search?category=Macros&hosting=cloud&product=confluence",
|
|
30
29
|
onClick: onExternalLinkClick
|
|
31
|
-
},
|
|
30
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, {
|
|
32
31
|
id: "fabric.editor.elementbrowser.search.empty-state.sub-heading.link",
|
|
33
32
|
defaultMessage: "Explore Atlassian Marketplace",
|
|
34
33
|
description: "Empty state sub-heading external link"
|
|
@@ -1,61 +1,60 @@
|
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
2
|
var _templateObject;
|
|
3
|
-
|
|
4
|
-
import { css, jsx } from '@emotion/react';
|
|
3
|
+
import { css } from '@emotion/react';
|
|
5
4
|
var imageContainer = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 120px;\n height: 111px;\n margin-top: ", ";\n"])), "var(--ds-space-600, 48px)");
|
|
6
5
|
|
|
7
6
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
8
7
|
export default function NotFoundIllustration() {
|
|
9
|
-
return
|
|
8
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
10
9
|
css: imageContainer
|
|
11
|
-
},
|
|
10
|
+
}, /*#__PURE__*/React.createElement("svg", {
|
|
12
11
|
width: "120",
|
|
13
12
|
height: "111",
|
|
14
13
|
fill: "none",
|
|
15
14
|
xmlns: "http://www.w3.org/2000/svg"
|
|
16
|
-
},
|
|
15
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
17
16
|
clipPath: "url(#clip0)"
|
|
18
|
-
},
|
|
17
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
19
18
|
fill: "#fff",
|
|
20
19
|
fillOpacity: ".01",
|
|
21
20
|
d: "M0 0h120v110.365H0z"
|
|
22
|
-
}),
|
|
21
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
23
22
|
opacity: ".3",
|
|
24
23
|
d: "M60.985 110.336c-.539.017-1.078.029-1.616.035a1.359 1.359 0 01-1.367-1.36 1.361 1.361 0 011.314-1.372h.041a50.876 50.876 0 0010.276-1.105 1.367 1.367 0 01.568 2.674 54.422 54.422 0 01-9.216 1.128zM52 109.877c-.075 0-.156 0-.237-.012a52.688 52.688 0 01-10.583-2.61 1.368 1.368 0 01.92-2.575c3.245 1.169 6.616 2 10.034 2.471.747.104 1.268.79 1.164 1.54A1.36 1.36 0 0152 109.877zM77.088 107.162a1.364 1.364 0 01-1.326-.895 1.366 1.366 0 01.805-1.755 50.423 50.423 0 009.274-4.575 1.358 1.358 0 011.877.43c.4.64.208 1.482-.429 1.884a53.25 53.25 0 01-9.772 4.824 1.26 1.26 0 01-.429.087zM34.9 104.32a1.359 1.359 0 01-.683-.157 53.29 53.29 0 01-9.042-6.092 1.369 1.369 0 01-.18-1.924 1.357 1.357 0 011.918-.18 50.483 50.483 0 008.578 5.778c.667.354.916 1.18.562 1.848a1.337 1.337 0 01-1.152.727zM20.732 93.23a1.372 1.372 0 01-1.06-.448 53.223 53.223 0 01-6.436-8.818 1.37 1.37 0 01.487-1.872 1.36 1.36 0 011.865.489 50.724 50.724 0 006.105 8.364 1.366 1.366 0 01-.098 1.93c-.25.226-.556.343-.863.354zM104.093 84.196a1.367 1.367 0 01-1.228-2.046 50.41 50.41 0 004.183-9.48 1.358 1.358 0 011.714-.878 1.365 1.365 0 01.875 1.72 53.17 53.17 0 01-4.414 9.993 1.34 1.34 0 01-1.13.691zM11.18 77.965a1.365 1.365 0 01-1.31-.854 52.827 52.827 0 01-3.029-10.498 1.362 1.362 0 112.682-.483 50.732 50.732 0 002.873 9.958 1.363 1.363 0 01-1.216 1.877zM110.17 67.218a1.362 1.362 0 01-1.39-1.593c.579-3.395.805-6.876.683-10.347l-.006-.116a1.36 1.36 0 011.315-1.412 1.359 1.359 0 011.408 1.32l.006.115a54.054 54.054 0 01-.724 10.905 1.36 1.36 0 01-1.292 1.128zM7.426 60.3c-.753.03-1.384-.534-1.407-1.29v-.058a53.82 53.82 0 01.712-10.846 1.368 1.368 0 011.57-1.122c.741.128 1.24.83 1.118 1.575a51.307 51.307 0 00-.678 10.288c.029.762-.562 1.425-1.315 1.453zM110.06 49.076a1.363 1.363 0 01-1.385-1.122 50.567 50.567 0 00-2.884-9.95c-.284-.698.052-1.5.747-1.785a1.365 1.365 0 011.778.75 53.085 53.085 0 013.041 10.497 1.37 1.37 0 01-1.094 1.593l-.203.017zM9.888 42.462a1.452 1.452 0 01-.47-.065 1.365 1.365 0 01-.874-1.72 53.157 53.157 0 014.402-9.998 1.362 1.362 0 011.86-.511c.655.372.88 1.209.51 1.866a50.68 50.68 0 00-4.177 9.486 1.37 1.37 0 01-1.251.941zM103.815 32.179a1.355 1.355 0 01-1.222-.674 50.958 50.958 0 00-6.117-8.359 1.366 1.366 0 01.099-1.93 1.355 1.355 0 011.923.099 53.449 53.449 0 016.447 8.806 1.37 1.37 0 01-.487 1.872 1.432 1.432 0 01-.643.186zM18.31 26.529a1.372 1.372 0 01-1.124-2.209 53.551 53.551 0 017.537-7.888 1.363 1.363 0 011.923.157 1.375 1.375 0 01-.156 1.93 51.072 51.072 0 00-7.154 7.487 1.343 1.343 0 01-1.025.523zM92.172 18.444a1.352 1.352 0 01-.915-.314 50.861 50.861 0 00-8.59-5.772 1.368 1.368 0 01-.568-1.849 1.364 1.364 0 011.842-.57 53.153 53.153 0 019.048 6.08c.58.483.66 1.343.18 1.925a1.366 1.366 0 01-.997.5zM31.64 14.433a1.368 1.368 0 01-.776-2.523 53.107 53.107 0 019.771-4.836 1.359 1.359 0 011.75.808c.26.71-.099 1.494-.805 1.755a50.203 50.203 0 00-9.269 4.587c-.208.133-.44.203-.672.209zM76.555 9.51a1.257 1.257 0 01-.504-.082A50.06 50.06 0 0066.013 6.97a1.364 1.364 0 01-1.165-1.54 1.364 1.364 0 011.535-1.168 52.623 52.623 0 0110.584 2.592 1.369 1.369 0 01-.412 2.657zM48.287 7.65a1.367 1.367 0 01-.33-2.703 54.261 54.261 0 0110.827-1.18 1.367 1.367 0 011.372 1.36 1.367 1.367 0 01-1.314 1.377H58.8A50.85 50.85 0 0048.525 7.62c-.081.018-.162.024-.238.03z",
|
|
25
24
|
fill: "#B3BAC5"
|
|
26
|
-
}),
|
|
25
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
27
26
|
opacity: ".3",
|
|
28
27
|
d: "M110.523 19.873a.304.304 0 01-.226-.325l.035-.262c.029-.168.064-.348.11-.534a4.423 4.423 0 01.95-1.796c.458-.53 1.118-.971 1.97-1.314l1.436-.587c.858-.343 1.385-.913 1.593-1.697a2.48 2.48 0 00.07-.878 1.998 1.998 0 00-.273-.849c-.156-.261-.37-.5-.654-.709a3.07 3.07 0 00-1.049-.477c-.451-.116-.851-.133-1.21-.052a2.56 2.56 0 00-.956.43c-.278.204-.51.465-.695.78-.191.313-.33.65-.423.999-.029.104-.052.21-.07.302a.459.459 0 01-.59.355l-2.219-.68a.464.464 0 01-.33-.483c.006-.07.017-.14.029-.21.035-.197.075-.383.121-.569.174-.668.47-1.29.887-1.866a5.14 5.14 0 011.546-1.412c.614-.366 1.31-.605 2.097-.72.788-.117 1.645-.047 2.578.197.967.256 1.778.622 2.433 1.098.66.477 1.176 1.012 1.552 1.599.377.593.614 1.22.707 1.889.093.668.058 1.32-.11 1.953-.261 1-.712 1.796-1.344 2.389a6.773 6.773 0 01-2.288 1.39l-1.211.458c-.341.11-.851.338-1.274.803-.041.046-.214.238-.388.534-.128.221-.22.436-.284.622a.303.303 0 01-.365.192l-2.155-.57zm-1.772 3.412c.145-.552.457-.97.944-1.26a1.942 1.942 0 011.552-.222c.551.146.968.465 1.257.96.29.493.359 1.017.215 1.569a1.966 1.966 0 01-.956 1.25 2.005 2.005 0 01-1.558.203 1.957 1.957 0 01-1.246-.942 1.98 1.98 0 01-.208-1.558zM10.722 12.393a.301.301 0 01-.203-.338l.053-.261c.04-.169.086-.343.15-.523a4.334 4.334 0 011.072-1.727c.492-.5 1.176-.889 2.056-1.18l1.472-.488c.874-.285 1.442-.814 1.703-1.587.092-.279.139-.57.127-.872a2.052 2.052 0 00-.214-.866 2.285 2.285 0 00-.609-.75c-.266-.226-.608-.406-1.013-.546-.44-.151-.846-.192-1.205-.134a2.518 2.518 0 00-1.726 1.099 3.583 3.583 0 00-.585 1.267.461.461 0 01-.615.314L9.02 4.976a.467.467 0 01-.295-.506c.011-.07.029-.14.046-.21a5.65 5.65 0 01.162-.557A5.505 5.505 0 019.946 1.9 5.246 5.246 0 0111.579.593a5.545 5.545 0 012.138-.576c.793-.058 1.645.064 2.554.372.945.32 1.732.739 2.358 1.262.626.523 1.106 1.087 1.442 1.703.336.616.533 1.255.58 1.93a4.97 4.97 0 01-.244 1.941c-.33.982-.828 1.744-1.506 2.29a6.844 6.844 0 01-2.375 1.233l-1.24.372a2.94 2.94 0 00-1.326.715c-.046.046-.232.226-.423.505-.145.215-.249.419-.324.599a.3.3 0 01-.377.168l-2.114-.714zm-1.998 3.284a2 2 0 011.025-1.198 1.957 1.957 0 011.564-.116c.539.18.933.529 1.188 1.04.254.512.29 1.041.11 1.582-.18.54-.528.935-1.037 1.18a2.019 2.019 0 01-1.57.098 1.96 1.96 0 01-1.182-1.029 1.99 1.99 0 01-.098-1.557zM7.177 104.849a.298.298 0 01-.37-.134c-.041-.076-.082-.157-.122-.238a8.207 8.207 0 01-.215-.5 4.405 4.405 0 01-.249-2.017c.076-.698.36-1.436.863-2.215l.84-1.308c.504-.773.614-1.546.33-2.307a2.6 2.6 0 00-.446-.762 2.019 2.019 0 00-.706-.54 2.421 2.421 0 00-.944-.204 3.05 3.05 0 00-1.13.215c-.434.163-.776.378-1.025.657-.25.273-.423.576-.533.901-.11.326-.15.674-.128 1.04.024.367.099.721.226 1.064.04.105.076.198.116.285a.466.466 0 01-.278.634l-2.201.72a.455.455 0 01-.545-.209c-.034-.064-.063-.128-.098-.192a5.595 5.595 0 01-.568-2.575 5.09 5.09 0 01.458-2.046c.29-.65.724-1.25 1.303-1.796.58-.546 1.32-.988 2.225-1.32.938-.348 1.807-.517 2.618-.505.81.012 1.54.151 2.19.413a4.62 4.62 0 011.656 1.139c.458.494.8 1.046 1.025 1.662.36.971.446 1.884.267 2.732-.18.85-.539 1.669-1.078 2.46l-.73 1.075c-.214.29-.503.767-.585 1.389-.005.064-.04.319-.011.657.023.255.07.482.127.668a.309.309 0 01-.19.372l-2.092.785zm.504 3.813a2.026 2.026 0 01.052-1.581 1.958 1.958 0 011.147-1.076 1.986 1.986 0 011.576.064c.521.239.88.628 1.077 1.163a1.947 1.947 0 01-.07 1.569 2.028 2.028 0 01-1.158 1.064 1.977 1.977 0 01-1.564-.052 1.96 1.96 0 01-1.06-1.151z",
|
|
29
28
|
fill: "#C1C7D0"
|
|
30
|
-
}),
|
|
29
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
31
30
|
d: "M86.519 77.651l-4.142-4.028-5.578 5.784 4.141 4.028a7.812 7.812 0 012.15 3.772 7.858 7.858 0 002.148 3.773l16.816 16.333a6.405 6.405 0 009.077-.145 6.46 6.46 0 00-.144-9.108L94.171 81.726a7.786 7.786 0 00-3.83-2.034 7.9 7.9 0 01-3.822-2.04z",
|
|
32
31
|
fill: "#CFD4DB"
|
|
33
|
-
}),
|
|
32
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
34
33
|
d: "M90.18 79.64a7.756 7.756 0 01-3.656-1.995l-1.262-1.226a4 4 0 00-5.671.093 4.032 4.032 0 00.092 5.69l1.263 1.227a7.853 7.853 0 012.103 3.598 33.606 33.606 0 003.858-3.435 33.629 33.629 0 003.273-3.953z",
|
|
35
34
|
fill: "#B3BAC5"
|
|
36
|
-
}),
|
|
35
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
37
36
|
d: "M59.056 90.677c-8.961.146-17.442-3.22-23.877-9.474-13.295-12.91-13.636-34.266-.77-47.606C40.64 27.14 49.01 23.501 57.966 23.35c8.961-.145 17.441 3.22 23.877 9.475 6.441 6.255 10.062 14.654 10.212 23.64.145 8.992-3.209 17.502-9.442 23.96-6.227 6.47-14.597 10.108-23.558 10.253zM58.1 31.388c-6.824.11-13.19 2.883-17.94 7.801-9.795 10.155-9.534 26.413.585 36.242 4.9 4.76 11.36 7.324 18.183 7.213 6.824-.11 13.19-2.883 17.94-7.8 4.744-4.918 7.299-11.399 7.189-18.246-.11-6.847-2.873-13.236-7.774-18.002-4.906-4.755-11.36-7.318-18.183-7.208z",
|
|
38
37
|
fill: "url(#paint0_linear)"
|
|
39
|
-
}),
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
40
39
|
d: "M68.886 49.535l-3.093-3.051a1.158 1.158 0 00-1.64.017l-5.67 5.796-5.776-5.691a1.158 1.158 0 00-1.64.017l-3.04 3.104c-.446.46-.44 1.192.017 1.645l5.775 5.69-5.67 5.796c-.447.46-.44 1.192.017 1.645l3.093 3.052a1.158 1.158 0 001.64-.018l5.67-5.795 5.775 5.69a1.158 1.158 0 001.64-.017l3.04-3.104c.447-.459.441-1.191-.017-1.645l-5.775-5.69 5.671-5.795c.446-.46.44-1.198-.017-1.645z",
|
|
41
40
|
fill: "#C1C7D0"
|
|
42
|
-
})),
|
|
41
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
43
42
|
id: "paint0_linear",
|
|
44
43
|
x1: "34.792",
|
|
45
44
|
y1: "80.822",
|
|
46
45
|
x2: "82.401",
|
|
47
46
|
y2: "33.377",
|
|
48
47
|
gradientUnits: "userSpaceOnUse"
|
|
49
|
-
},
|
|
48
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
50
49
|
offset: ".557",
|
|
51
50
|
stopColor: "#C1C7D0"
|
|
52
|
-
}),
|
|
51
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
53
52
|
offset: ".966",
|
|
54
53
|
stopColor: "#E9EBEF",
|
|
55
54
|
stopOpacity: ".5"
|
|
56
|
-
})),
|
|
55
|
+
})), /*#__PURE__*/React.createElement("clipPath", {
|
|
57
56
|
id: "clip0"
|
|
58
|
-
},
|
|
57
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
59
58
|
fill: "#fff",
|
|
60
59
|
d: "M0 0h120v110.365H0z"
|
|
61
60
|
})))));
|