@atlaskit/editor-common 111.14.1 → 111.14.3
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 +17 -0
- package/dist/cjs/analytics/types/enums.js +2 -0
- package/dist/cjs/card/LinkToolbarButtonGroup.js +7 -10
- package/dist/cjs/card/ui/assets/card.js +12 -9
- package/dist/cjs/card/ui/assets/embed.js +12 -9
- package/dist/cjs/card/ui/assets/inline.js +12 -9
- package/dist/cjs/card/ui/assets/url.js +12 -9
- package/dist/cjs/icons/shared/BorderIcon.js +12 -9
- package/dist/cjs/icons/shared/PanelErrorIcon.js +8 -10
- package/dist/cjs/icons/shared/PanelInfoIcon.js +8 -10
- package/dist/cjs/icons/shared/PanelNoteIcon.js +6 -9
- package/dist/cjs/icons/shared/PanelSuccessIcon.js +8 -10
- package/dist/cjs/icons/shared/PanelWarningIcon.js +8 -10
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/quick-insert/assets/index.js +4 -6
- package/dist/cjs/react-node-view/getInlineNodeViewProducer.js +1 -2
- package/dist/cjs/react-node-view/index.js +9 -2
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Emoji/index.js +21 -4
- package/dist/cjs/ui/Expand/index.js +9 -14
- package/dist/cjs/ui/OverflowShadow/index.js +6 -10
- package/dist/cjs/ui-menu/DropdownContainer/index.js +1 -2
- package/dist/cjs/ui-menu/DropdownMenu/index.js +4 -8
- package/dist/es2019/analytics/types/enums.js +2 -0
- package/dist/es2019/card/LinkToolbarButtonGroup.js +5 -8
- package/dist/es2019/card/ui/assets/card.js +11 -7
- package/dist/es2019/card/ui/assets/embed.js +11 -7
- package/dist/es2019/card/ui/assets/inline.js +11 -7
- package/dist/es2019/card/ui/assets/url.js +11 -7
- package/dist/es2019/icons/shared/BorderIcon.js +11 -7
- package/dist/es2019/icons/shared/PanelErrorIcon.js +7 -7
- package/dist/es2019/icons/shared/PanelInfoIcon.js +7 -7
- package/dist/es2019/icons/shared/PanelNoteIcon.js +7 -8
- package/dist/es2019/icons/shared/PanelSuccessIcon.js +7 -7
- package/dist/es2019/icons/shared/PanelWarningIcon.js +7 -7
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/quick-insert/assets/index.js +4 -4
- package/dist/es2019/react-node-view/getInlineNodeViewProducer.js +1 -2
- package/dist/es2019/react-node-view/index.js +9 -2
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Emoji/index.js +22 -4
- package/dist/es2019/ui/Expand/index.js +10 -16
- package/dist/es2019/ui/OverflowShadow/index.js +6 -10
- package/dist/es2019/ui-menu/DropdownContainer/index.js +1 -2
- package/dist/es2019/ui-menu/DropdownMenu/index.js +4 -8
- package/dist/esm/analytics/types/enums.js +2 -0
- package/dist/esm/card/LinkToolbarButtonGroup.js +5 -10
- package/dist/esm/card/ui/assets/card.js +12 -9
- package/dist/esm/card/ui/assets/embed.js +12 -9
- package/dist/esm/card/ui/assets/inline.js +12 -9
- package/dist/esm/card/ui/assets/url.js +12 -9
- package/dist/esm/icons/shared/BorderIcon.js +12 -9
- package/dist/esm/icons/shared/PanelErrorIcon.js +8 -9
- package/dist/esm/icons/shared/PanelInfoIcon.js +8 -9
- package/dist/esm/icons/shared/PanelNoteIcon.js +6 -8
- package/dist/esm/icons/shared/PanelSuccessIcon.js +8 -9
- package/dist/esm/icons/shared/PanelWarningIcon.js +8 -9
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/quick-insert/assets/index.js +4 -6
- package/dist/esm/react-node-view/getInlineNodeViewProducer.js +1 -2
- package/dist/esm/react-node-view/index.js +9 -2
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Emoji/index.js +21 -4
- package/dist/esm/ui/Expand/index.js +9 -14
- package/dist/esm/ui/OverflowShadow/index.js +6 -10
- package/dist/esm/ui-menu/DropdownContainer/index.js +1 -2
- package/dist/esm/ui-menu/DropdownMenu/index.js +4 -8
- package/dist/types/analytics/types/enums.d.ts +2 -0
- package/dist/types/analytics/types/insert-events.d.ts +8 -1
- package/dist/types/analytics/types/sync-block-events.d.ts +2 -1
- package/dist/types/quick-insert/assets/index.d.ts +1 -1
- package/dist/types/ui/Emoji/index.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/enums.d.ts +2 -0
- package/dist/types-ts4.5/analytics/types/insert-events.d.ts +8 -1
- package/dist/types-ts4.5/analytics/types/sync-block-events.d.ts +2 -1
- package/dist/types-ts4.5/quick-insert/assets/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/Emoji/index.d.ts +1 -1
- package/package.json +8 -8
- package/tsconfig.json +0 -2
|
@@ -13,9 +13,11 @@ import { generateUniqueNodeKey } from './generateUniqueNodeKey';
|
|
|
13
13
|
export { getInlineNodeViewProducer, inlineNodeViewClassname } from './getInlineNodeViewProducer';
|
|
14
14
|
export default class ReactNodeView {
|
|
15
15
|
constructor(_node, view, getPos, portalProviderAPI, eventDispatcher, reactComponentProps,
|
|
16
|
+
// Spreading props to pass through dynamic component props
|
|
16
17
|
// Ignored via go/ees005
|
|
17
18
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
18
19
|
reactComponent, viewShouldUpdate, shouldRenderImmediatelyInPortal) {
|
|
20
|
+
// Spreading props to pass through dynamic component props
|
|
19
21
|
// Ignored via go/ees005
|
|
20
22
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
21
23
|
_defineProperty(this, "decorations", []);
|
|
@@ -88,6 +90,7 @@ export default class ReactNodeView {
|
|
|
88
90
|
return this;
|
|
89
91
|
}
|
|
90
92
|
|
|
93
|
+
// Spreading props to pass through dynamic component props
|
|
91
94
|
// Ignored via go/ees005
|
|
92
95
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
93
96
|
renderReactComponent(component) {
|
|
@@ -103,6 +106,7 @@ export default class ReactNodeView {
|
|
|
103
106
|
}, component());
|
|
104
107
|
};
|
|
105
108
|
this.portalProviderAPI.render(componentWithErrorBoundary,
|
|
109
|
+
// Spreading props to pass through dynamic component props
|
|
106
110
|
// Ignored via go/ees005
|
|
107
111
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
108
112
|
this.domRef, this.key, undefined, this.shouldRenderImmediatelyInPortal);
|
|
@@ -120,6 +124,7 @@ export default class ReactNodeView {
|
|
|
120
124
|
_handleRef(node) {
|
|
121
125
|
const contentDOM = this.contentDOMWrapper || this.contentDOM;
|
|
122
126
|
// @ts-ignore
|
|
127
|
+
// Spreading props to pass through dynamic component props
|
|
123
128
|
// Ignored via go/ees005
|
|
124
129
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
125
130
|
let oldIgnoreMutation;
|
|
@@ -171,6 +176,7 @@ export default class ReactNodeView {
|
|
|
171
176
|
}
|
|
172
177
|
}
|
|
173
178
|
|
|
179
|
+
// Spreading props to pass through dynamic component props
|
|
174
180
|
// Ignored via go/ees005
|
|
175
181
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
176
182
|
render(props, forwardRef) {
|
|
@@ -179,8 +185,7 @@ export default class ReactNodeView {
|
|
|
179
185
|
getPos: this.getPos,
|
|
180
186
|
node: this.node,
|
|
181
187
|
forwardRef: forwardRef
|
|
182
|
-
//
|
|
183
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
188
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- Spreading props to pass through dynamic component props
|
|
184
189
|
}, props)) : null;
|
|
185
190
|
}
|
|
186
191
|
update(node, decorations, _innerDecorations, validUpdate = () => true) {
|
|
@@ -222,6 +227,7 @@ export default class ReactNodeView {
|
|
|
222
227
|
});
|
|
223
228
|
}
|
|
224
229
|
get dom() {
|
|
230
|
+
// Spreading props to pass through dynamic component props
|
|
225
231
|
// Ignored via go/ees005
|
|
226
232
|
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
227
233
|
return this.domRef;
|
|
@@ -235,6 +241,7 @@ export default class ReactNodeView {
|
|
|
235
241
|
this.contentDOM = undefined;
|
|
236
242
|
}
|
|
237
243
|
static fromComponent(
|
|
244
|
+
// Spreading props to pass through dynamic component props
|
|
238
245
|
// Ignored via go/ees005
|
|
239
246
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
240
247
|
component, portalProviderAPI, eventDispatcher, props, viewShouldUpdate) {
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "111.14.
|
|
17
|
+
const packageVersion = "111.14.2";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -42,9 +42,27 @@ const EmojiNodeFunctional = props => {
|
|
|
42
42
|
editorEmoji: true
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
|
-
const EmojiNode =
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
const EmojiNode = ({
|
|
46
|
+
allowTextFallback,
|
|
47
|
+
shortName,
|
|
48
|
+
id,
|
|
49
|
+
fallback,
|
|
50
|
+
fitToHeight,
|
|
51
|
+
showTooltip,
|
|
52
|
+
resourceConfig,
|
|
53
|
+
emojiProvider,
|
|
54
|
+
providers
|
|
55
|
+
}) => {
|
|
56
|
+
return /*#__PURE__*/React.createElement(EmojiNodeFunctional, {
|
|
57
|
+
allowTextFallback: allowTextFallback,
|
|
58
|
+
shortName: shortName,
|
|
59
|
+
id: id,
|
|
60
|
+
fallback: fallback,
|
|
61
|
+
fitToHeight: fitToHeight,
|
|
62
|
+
showTooltip: showTooltip,
|
|
63
|
+
resourceConfig: resourceConfig,
|
|
64
|
+
emojiProvider: emojiProvider,
|
|
65
|
+
providers: providers
|
|
66
|
+
});
|
|
49
67
|
};
|
|
50
68
|
export default /*#__PURE__*/React.memo(EmojiNode);
|
|
@@ -78,21 +78,15 @@ export const expandLayoutWrapperStyle = css({
|
|
|
78
78
|
width: "var(--ds-space-300, 24px)",
|
|
79
79
|
height: "var(--ds-space-300, 24px)"
|
|
80
80
|
});
|
|
81
|
-
export const ExpandLayoutWrapperWithRef = /*#__PURE__*/forwardRef(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
children,
|
|
87
|
-
...rest
|
|
88
|
-
} = props;
|
|
89
|
-
return (
|
|
81
|
+
export const ExpandLayoutWrapperWithRef = /*#__PURE__*/forwardRef(({
|
|
82
|
+
children,
|
|
83
|
+
...otherProps
|
|
84
|
+
}, ref) => {
|
|
85
|
+
return jsx("div", _extends({
|
|
90
86
|
// Ignored via go/ees005
|
|
91
|
-
// eslint-disable-next-line
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}), children)
|
|
97
|
-
);
|
|
87
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
88
|
+
css: expandLayoutWrapperStyle,
|
|
89
|
+
ref: ref
|
|
90
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- Spreading otherProps to pass through HTML attributes (aria-*, data-*, event handlers, etc.) to the native div element
|
|
91
|
+
}, otherProps), children);
|
|
98
92
|
});
|
|
@@ -145,16 +145,12 @@ export default function overflowShadow(Component, options) {
|
|
|
145
145
|
* for a11y purposes.
|
|
146
146
|
*/
|
|
147
147
|
const hasOverflowScroll = showRightShadow || showLeftShadow;
|
|
148
|
-
return (
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
shadowClassNames: classNames
|
|
155
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
156
|
-
}, this.props))
|
|
157
|
-
);
|
|
148
|
+
return /*#__PURE__*/React.createElement(Component, _extends({
|
|
149
|
+
handleRef: this.handleContainer,
|
|
150
|
+
tabIndex: hasOverflowScroll && fg('platform_editor_dec_a11y_fixes') ? 0 : undefined,
|
|
151
|
+
shadowClassNames: classNames
|
|
152
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- Spreading props to pass all component props through to wrapped generic component
|
|
153
|
+
}, this.props));
|
|
158
154
|
}
|
|
159
155
|
};
|
|
160
156
|
}
|
|
@@ -24,8 +24,7 @@ export const DropdownContainer = /*#__PURE__*/React.memo(function DropdownContai
|
|
|
24
24
|
//This context is to handle the tab, Arrow Right/Left key events for dropdown.
|
|
25
25
|
//Default context has the void callbacks for above key events
|
|
26
26
|
jsx(DropdownComponent
|
|
27
|
-
//
|
|
28
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
27
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- Spreading props to pass through dynamic component props
|
|
29
28
|
, _extends({}, props, {
|
|
30
29
|
arrowKeyNavigationProviderOptions: newArrowKeyNavigationProviderOptions
|
|
31
30
|
}))
|
|
@@ -114,8 +114,7 @@ const buttonStyles = (isActive, submenuActive) => {
|
|
|
114
114
|
};
|
|
115
115
|
const DropListWithOutsideClickTargetRef = props => {
|
|
116
116
|
const setOutsideClickTargetRef = React.useContext(OutsideClickTargetRefContext);
|
|
117
|
-
//
|
|
118
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
117
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- Spreading props to pass through dynamic component props
|
|
119
118
|
return jsx(DropList, _extends({
|
|
120
119
|
onDroplistRef: setOutsideClickTargetRef
|
|
121
120
|
}, props));
|
|
@@ -223,8 +222,7 @@ export default class DropdownMenuWrapper extends PureComponent {
|
|
|
223
222
|
zIndex: zIndex || akEditorFloatingPanelZIndex,
|
|
224
223
|
offset: offset
|
|
225
224
|
}, jsx(ArrowKeyNavigationProvider
|
|
226
|
-
//
|
|
227
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
225
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- Spreading navigationProviderProps to pass through dynamic component props
|
|
228
226
|
, _extends({}, navigationProviderProps, {
|
|
229
227
|
handleClose: this.handleCloseAndFocus,
|
|
230
228
|
closeOnTab: true
|
|
@@ -309,8 +307,7 @@ const DropdownMenuItemCustomComponent = /*#__PURE__*/React.forwardRef((props, re
|
|
|
309
307
|
} = props;
|
|
310
308
|
return jsx("span", _extends({
|
|
311
309
|
ref: ref
|
|
312
|
-
//
|
|
313
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
310
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- Spreading rest to pass through dynamic component props
|
|
314
311
|
}, rest, {
|
|
315
312
|
style: {
|
|
316
313
|
// This forces the item container back to be `position: static`, the default value.
|
|
@@ -408,7 +405,6 @@ export const DropdownMenuWithKeyboardNavigation = /*#__PURE__*/React.memo(
|
|
|
408
405
|
...props.arrowKeyNavigationProviderOptions,
|
|
409
406
|
keyDownHandlerContext
|
|
410
407
|
}
|
|
411
|
-
//
|
|
412
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
408
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- Spreading props to pass through dynamic component props
|
|
413
409
|
}, props));
|
|
414
410
|
});
|
|
@@ -541,6 +541,8 @@ export var ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
|
541
541
|
ACTION_SUBJECT_ID["EDITOR_PLUGIN_SELECTION_EXTENSION_ITEM"] = "editorPluginSelectionExtensionItem";
|
|
542
542
|
ACTION_SUBJECT_ID["EDITOR_PLUGIN_SELECTION_EXTENSION_COMPONENT"] = "editorPluginSelectionExtensionComponent";
|
|
543
543
|
ACTION_SUBJECT_ID["TRANSFORM"] = "transform";
|
|
544
|
+
ACTION_SUBJECT_ID["BODIED_SYNCED_BLOCK"] = "bodiedSyncBlock";
|
|
545
|
+
ACTION_SUBJECT_ID["SYNCED_BLOCK"] = "syncBlock";
|
|
544
546
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_TOOLBAR"] = "syncedBlockToolbar";
|
|
545
547
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_COPY"] = "syncedBlockCopy";
|
|
546
548
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_SOURCE_URL"] = "syncedBlockSourceUrl";
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
|
-
var _excluded = ["disabled"];
|
|
3
1
|
/**
|
|
4
2
|
* @jsxRuntime classic
|
|
5
3
|
* @jsx jsx
|
|
@@ -21,13 +19,11 @@ var buttonStyleNoneEvent = css({
|
|
|
21
19
|
pointerEvents: 'none'
|
|
22
20
|
});
|
|
23
21
|
var DisallowedWrapper = function DisallowedWrapper(_ref) {
|
|
24
|
-
var
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
30
|
-
return jsx("div", props);
|
|
22
|
+
var disabled = _ref.disabled,
|
|
23
|
+
children = _ref.children;
|
|
24
|
+
return jsx("div", {
|
|
25
|
+
css: disabled ? disallowedWrapperStyle : defaultWrapperStyle
|
|
26
|
+
}, children);
|
|
31
27
|
};
|
|
32
28
|
|
|
33
29
|
/**
|
|
@@ -53,7 +49,6 @@ export var LinkToolbarButtonGroup = function LinkToolbarButtonGroup(_ref2) {
|
|
|
53
49
|
areAnyNewToolbarFlagsEnabled = _ref3.areAnyNewToolbarFlagsEnabled;
|
|
54
50
|
var ButtonIcon = icon;
|
|
55
51
|
return jsx(DisallowedWrapper, {
|
|
56
|
-
css: disabled ? disallowedWrapperStyle : defaultWrapperStyle,
|
|
57
52
|
key: testId,
|
|
58
53
|
disabled: disabled
|
|
59
54
|
}, jsx(Button, {
|
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
1
|
import React from 'react';
|
|
3
2
|
|
|
4
3
|
// Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
|
|
5
|
-
var IconCardGlyph = function IconCardGlyph(
|
|
6
|
-
|
|
4
|
+
var IconCardGlyph = function IconCardGlyph(_ref) {
|
|
5
|
+
var ariaLabel = _ref['aria-label'],
|
|
6
|
+
style = _ref.style;
|
|
7
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
8
|
width: "32",
|
|
8
9
|
height: "32",
|
|
9
10
|
viewBox: "0 0 32 32",
|
|
10
11
|
fill: "none",
|
|
11
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
12
|
-
|
|
13
|
-
// eslint-disable-next-line
|
|
14
|
-
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
"aria-label": ariaLabel
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- style prop passed through from parent component
|
|
15
|
+
,
|
|
16
|
+
style: style
|
|
17
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
15
18
|
fillRule: "evenodd",
|
|
16
19
|
clipRule: "evenodd",
|
|
17
20
|
d: "M8 9c-1.10457 0-2 .89543-2 2v10c0 1.1046.89543 2 2 2h16c1.1046 0 2-.8954 2-2V11c0-1.10457-.8954-2-2-2H8Zm0 3c0-.5523.44772-1 1-1h2c.5523 0 1 .4477 1 1v2c0 .5523-.4477 1-1 1H9c-.55228 0-1-.4477-1-1v-2Zm5 1c0-.2761.2239-.5.5-.5h10c.2761 0 .5.2239.5.5s-.2239.5-.5.5h-10c-.2761 0-.5-.2239-.5-.5Zm-4 3c-.55228 0-1 .4477-1 1s.44772 1 1 1h14c.5523 0 1-.4477 1-1s-.4477-1-1-1H9Zm-1 4c0-.5523.44772-1 1-1h6c.5523 0 1 .4477 1 1s-.4477 1-1 1H9c-.55228 0-1-.4477-1-1Z",
|
|
18
21
|
fill: "currentColor"
|
|
19
22
|
}));
|
|
20
23
|
};
|
|
21
|
-
export var IconCard = function IconCard(
|
|
22
|
-
var label =
|
|
24
|
+
export var IconCard = function IconCard(_ref2) {
|
|
25
|
+
var label = _ref2.label;
|
|
23
26
|
return /*#__PURE__*/React.createElement(IconCardGlyph, {
|
|
24
27
|
"aria-label": label,
|
|
25
28
|
style: {
|
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
1
|
import React from 'react';
|
|
3
2
|
|
|
4
3
|
// Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
|
|
5
|
-
var IconEmbedGlyph = function IconEmbedGlyph(
|
|
6
|
-
|
|
4
|
+
var IconEmbedGlyph = function IconEmbedGlyph(_ref) {
|
|
5
|
+
var ariaLabel = _ref['aria-label'],
|
|
6
|
+
style = _ref.style;
|
|
7
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
8
|
width: "32",
|
|
8
9
|
height: "32",
|
|
9
10
|
viewBox: "0 0 32 32",
|
|
10
11
|
fill: "none",
|
|
11
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
12
|
-
|
|
13
|
-
// eslint-disable-next-line
|
|
14
|
-
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
"aria-label": ariaLabel
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- style prop passed through from parent component
|
|
15
|
+
,
|
|
16
|
+
style: style
|
|
17
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
15
18
|
fillRule: "evenodd",
|
|
16
19
|
clipRule: "evenodd",
|
|
17
20
|
d: "M8 6c-1.10457 0-2 .89543-2 2v16c0 1.1046.89543 2 2 2h16c1.1046 0 2-.8954 2-2V8c0-1.10457-.8954-2-2-2H8Zm1 2c-.55228 0-1 .44772-1 1v2c0 .5523.44772 1 1 1h2c.5523 0 1-.4477 1-1V9c0-.55228-.4477-1-1-1H9Zm4.5 1.5c-.2761 0-.5.22386-.5.5 0 .2761.2239.5.5.5h10c.2761 0 .5-.2239.5-.5 0-.27614-.2239-.5-.5-.5h-10ZM9 14c-.55228 0-1 .4477-1 1v8c0 .5523.44772 1 1 1h14c.5523 0 1-.4477 1-1v-8c0-.5523-.4477-1-1-1H9Zm6 2.5c0 .8284-.6716 1.5-1.5 1.5s-1.5-.6716-1.5-1.5.6716-1.5 1.5-1.5 1.5.6716 1.5 1.5Zm0 5.5-1-1-2 2h8v-1.8L18 19l-3 3Z",
|
|
18
21
|
fill: "currentColor"
|
|
19
22
|
}));
|
|
20
23
|
};
|
|
21
|
-
export var IconEmbed = function IconEmbed(
|
|
22
|
-
var label =
|
|
24
|
+
export var IconEmbed = function IconEmbed(_ref2) {
|
|
25
|
+
var label = _ref2.label;
|
|
23
26
|
return /*#__PURE__*/React.createElement(IconEmbedGlyph, {
|
|
24
27
|
"aria-label": label,
|
|
25
28
|
style: {
|
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
1
|
import React from 'react';
|
|
3
2
|
|
|
4
3
|
// Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
|
|
5
|
-
var IconInlineGlyph = function IconInlineGlyph(
|
|
6
|
-
|
|
4
|
+
var IconInlineGlyph = function IconInlineGlyph(_ref) {
|
|
5
|
+
var ariaLabel = _ref['aria-label'],
|
|
6
|
+
style = _ref.style;
|
|
7
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
8
|
width: "32",
|
|
8
9
|
height: "32",
|
|
9
10
|
viewBox: "0 0 32 32",
|
|
10
11
|
fill: "none",
|
|
11
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
12
|
-
|
|
13
|
-
// eslint-disable-next-line
|
|
14
|
-
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
"aria-label": ariaLabel
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- style prop passed through from parent component
|
|
15
|
+
,
|
|
16
|
+
style: style
|
|
17
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
15
18
|
fillRule: "evenodd",
|
|
16
19
|
clipRule: "evenodd",
|
|
17
20
|
d: "M8 12c-1.10457 0-2 .8954-2 2v4c0 1.1046.89543 2 2 2h16c1.1046 0 2-.8954 2-2v-4c0-1.1046-.8954-2-2-2H8Zm0 3c0-.5523.44772-1 1-1h2c.5523 0 1 .4477 1 1v2c0 .5523-.4477 1-1 1H9c-.55228 0-1-.4477-1-1v-2Zm5 1c0-.2761.2239-.5.5-.5h10c.2761 0 .5.2239.5.5s-.2239.5-.5.5h-10c-.2761 0-.5-.2239-.5-.5Z",
|
|
18
21
|
fill: "currentColor"
|
|
19
22
|
}));
|
|
20
23
|
};
|
|
21
|
-
export var IconInline = function IconInline(
|
|
22
|
-
var label =
|
|
24
|
+
export var IconInline = function IconInline(_ref2) {
|
|
25
|
+
var label = _ref2.label;
|
|
23
26
|
return /*#__PURE__*/React.createElement(IconInlineGlyph, {
|
|
24
27
|
"aria-label": label,
|
|
25
28
|
style: {
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
1
|
import React from 'react';
|
|
3
2
|
|
|
4
3
|
// Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
|
|
5
|
-
var IconUrlGlyph = function IconUrlGlyph(
|
|
6
|
-
|
|
4
|
+
var IconUrlGlyph = function IconUrlGlyph(_ref) {
|
|
5
|
+
var ariaLabel = _ref['aria-label'],
|
|
6
|
+
style = _ref.style;
|
|
7
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
8
|
width: "32",
|
|
8
9
|
height: "32",
|
|
9
10
|
viewBox: "0 0 32 32",
|
|
10
11
|
fill: "none",
|
|
11
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
12
|
-
|
|
13
|
-
// eslint-disable-next-line
|
|
14
|
-
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
"aria-label": ariaLabel
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- style prop passed through from parent component
|
|
15
|
+
,
|
|
16
|
+
style: style
|
|
17
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
15
18
|
x: "6",
|
|
16
19
|
y: "15",
|
|
17
20
|
width: "20",
|
|
@@ -20,8 +23,8 @@ var IconUrlGlyph = function IconUrlGlyph(props) {
|
|
|
20
23
|
fill: "currentColor"
|
|
21
24
|
}));
|
|
22
25
|
};
|
|
23
|
-
export var IconUrl = function IconUrl(
|
|
24
|
-
var label =
|
|
26
|
+
export var IconUrl = function IconUrl(_ref2) {
|
|
27
|
+
var label = _ref2.label;
|
|
25
28
|
return /*#__PURE__*/React.createElement(IconUrlGlyph, {
|
|
26
29
|
"aria-label": label,
|
|
27
30
|
style: {
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
1
|
import React from 'react';
|
|
3
2
|
|
|
4
3
|
// Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
|
|
5
|
-
var BorderIconGlyph = function BorderIconGlyph(
|
|
6
|
-
|
|
4
|
+
var BorderIconGlyph = function BorderIconGlyph(_ref) {
|
|
5
|
+
var ariaLabel = _ref['aria-label'],
|
|
6
|
+
style = _ref.style;
|
|
7
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
8
|
width: "24",
|
|
8
9
|
height: "24",
|
|
9
10
|
viewBox: "0 0 24 24",
|
|
10
11
|
fill: "none",
|
|
11
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
12
|
-
|
|
13
|
-
// eslint-disable-next-line
|
|
14
|
-
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
"aria-label": ariaLabel
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- style prop passed through from parent component
|
|
15
|
+
,
|
|
16
|
+
style: style
|
|
17
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
15
18
|
d: "M8.33333 8C8.15267 8 8 8.14933 8 8.33333V15.6667C8.0007 15.7549 8.03604 15.8392 8.0984 15.9016C8.16076 15.964 8.24514 15.9993 8.33333 16H15.6667C15.8473 16 16 15.8507 16 15.6667V8.33333C16 8.15267 15.8507 8 15.6667 8H8.33333Z",
|
|
16
19
|
fill: "currentColor"
|
|
17
20
|
}), /*#__PURE__*/React.createElement("path", {
|
|
@@ -21,8 +24,8 @@ var BorderIconGlyph = function BorderIconGlyph(props) {
|
|
|
21
24
|
fill: "currentColor"
|
|
22
25
|
}));
|
|
23
26
|
};
|
|
24
|
-
export var BorderIcon = function BorderIcon(
|
|
25
|
-
var label =
|
|
27
|
+
export var BorderIcon = function BorderIcon(_ref2) {
|
|
28
|
+
var label = _ref2.label;
|
|
26
29
|
return /*#__PURE__*/React.createElement(BorderIconGlyph, {
|
|
27
30
|
"aria-label": label
|
|
28
31
|
});
|
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
/* PanelErrorIcon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
3
2
|
import "./PanelErrorIcon.compiled.css";
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
5
|
var iconStyles = null;
|
|
7
6
|
|
|
8
7
|
// Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
|
|
9
|
-
var PanelErrorGlyph = function PanelErrorGlyph(
|
|
10
|
-
|
|
8
|
+
var PanelErrorGlyph = function PanelErrorGlyph(_ref) {
|
|
9
|
+
var role = _ref.role;
|
|
10
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11
11
|
width: "24",
|
|
12
12
|
height: "24",
|
|
13
13
|
viewBox: "0 0 24 24",
|
|
14
14
|
fill: "none",
|
|
15
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}, props), /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
role: role
|
|
17
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
19
18
|
fillRule: "evenodd",
|
|
20
19
|
clipRule: "evenodd",
|
|
21
20
|
d: "M13.8562 11.9112L16.5088 9.26C16.7433 9.02545 16.8751 8.70733 16.8751 8.37563C16.8751 8.04392 16.7433 7.7258 16.5088 7.49125C16.2742 7.2567 15.9561 7.12493 15.6244 7.12493C15.2927 7.12493 14.9746 7.2567 14.74 7.49125L12.09 10.1438L9.4375 7.49125C9.20295 7.25686 8.8849 7.12526 8.55331 7.12537C8.22172 7.12549 7.90376 7.25732 7.66937 7.49188C7.43499 7.72643 7.30338 8.04448 7.3035 8.37607C7.30361 8.70766 7.43545 9.02561 7.67 9.26L10.32 11.91L7.67 14.5625C7.4423 14.7983 7.31631 15.114 7.31916 15.4418C7.32201 15.7695 7.45347 16.083 7.68523 16.3148C7.91699 16.5465 8.2305 16.678 8.55825 16.6808C8.88599 16.6837 9.20175 16.5577 9.4375 16.33L12.0888 13.68L14.74 16.33C14.8561 16.4461 14.9939 16.5383 15.1455 16.6012C15.2972 16.664 15.4597 16.6964 15.6239 16.6965C15.7881 16.6966 15.9507 16.6643 16.1024 16.6015C16.2541 16.5387 16.392 16.4467 16.5081 16.3306C16.6243 16.2146 16.7164 16.0768 16.7793 15.9251C16.8422 15.7734 16.8746 15.6109 16.8746 15.4467C16.8747 15.2825 16.8424 15.1199 16.7796 14.9682C16.7168 14.8165 16.6248 14.6786 16.5088 14.5625L13.8562 11.9112V11.9112ZM12 22C9.34784 22 6.8043 20.9464 4.92893 19.0711C3.05357 17.1957 2 14.6522 2 12C2 9.34784 3.05357 6.8043 4.92893 4.92893C6.8043 3.05357 9.34784 2 12 2C14.6522 2 17.1957 3.05357 19.0711 4.92893C20.9464 6.8043 22 9.34784 22 12C22 14.6522 20.9464 17.1957 19.0711 19.0711C17.1957 20.9464 14.6522 22 12 22V22Z",
|
|
22
21
|
fill: "currentColor"
|
|
23
22
|
}));
|
|
24
23
|
};
|
|
25
|
-
export var PanelErrorIcon = function PanelErrorIcon(
|
|
26
|
-
var label =
|
|
24
|
+
export var PanelErrorIcon = function PanelErrorIcon(_ref2) {
|
|
25
|
+
var label = _ref2.label;
|
|
27
26
|
return /*#__PURE__*/React.createElement("span", {
|
|
28
27
|
role: label ? 'img' : undefined,
|
|
29
28
|
"aria-label": label ? label : undefined,
|
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
/* PanelInfoIcon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
3
2
|
import "./PanelInfoIcon.compiled.css";
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
5
|
var iconStyles = null;
|
|
7
6
|
|
|
8
7
|
// Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
|
|
9
|
-
var PanelInfoGlyph = function PanelInfoGlyph(
|
|
10
|
-
|
|
8
|
+
var PanelInfoGlyph = function PanelInfoGlyph(_ref) {
|
|
9
|
+
var role = _ref.role;
|
|
10
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11
11
|
width: "24",
|
|
12
12
|
height: "24",
|
|
13
13
|
viewBox: "0 0 24 24",
|
|
14
14
|
fill: "none",
|
|
15
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}, props), /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
role: role
|
|
17
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
19
18
|
fillRule: "evenodd",
|
|
20
19
|
clipRule: "evenodd",
|
|
21
20
|
d: "M12 22C9.34784 22 6.8043 20.9464 4.92893 19.0711C3.05357 17.1957 2 14.6522 2 12C2 9.34784 3.05357 6.8043 4.92893 4.92893C6.8043 3.05357 9.34784 2 12 2C14.6522 2 17.1957 3.05357 19.0711 4.92893C20.9464 6.8043 22 9.34784 22 12C22 14.6522 20.9464 17.1957 19.0711 19.0711C17.1957 20.9464 14.6522 22 12 22V22ZM12 11.375C11.6685 11.375 11.3505 11.5067 11.1161 11.7411C10.8817 11.9755 10.75 12.2935 10.75 12.625V15.75C10.75 16.0815 10.8817 16.3995 11.1161 16.6339C11.3505 16.8683 11.6685 17 12 17C12.3315 17 12.6495 16.8683 12.8839 16.6339C13.1183 16.3995 13.25 16.0815 13.25 15.75V12.625C13.25 12.2935 13.1183 11.9755 12.8839 11.7411C12.6495 11.5067 12.3315 11.375 12 11.375ZM12 9.96875C12.4558 9.96875 12.893 9.78767 13.2153 9.46534C13.5377 9.14301 13.7188 8.70584 13.7188 8.25C13.7188 7.79416 13.5377 7.35699 13.2153 7.03466C12.893 6.71233 12.4558 6.53125 12 6.53125C11.5442 6.53125 11.107 6.71233 10.7847 7.03466C10.4623 7.35699 10.2812 7.79416 10.2812 8.25C10.2812 8.70584 10.4623 9.14301 10.7847 9.46534C11.107 9.78767 11.5442 9.96875 12 9.96875Z",
|
|
22
21
|
fill: "currentColor"
|
|
23
22
|
}));
|
|
24
23
|
};
|
|
25
|
-
export var PanelInfoIcon = function PanelInfoIcon(
|
|
26
|
-
var label =
|
|
24
|
+
export var PanelInfoIcon = function PanelInfoIcon(_ref2) {
|
|
25
|
+
var label = _ref2.label;
|
|
27
26
|
return /*#__PURE__*/React.createElement("span", {
|
|
28
27
|
role: label ? 'img' : undefined,
|
|
29
28
|
"aria-label": label ? label : undefined,
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
/* PanelNoteIcon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
3
2
|
import "./PanelNoteIcon.compiled.css";
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
5
|
var iconStyles = null;
|
|
7
|
-
|
|
8
6
|
// Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
|
|
9
|
-
var PanelNoteGlyph = function PanelNoteGlyph(
|
|
10
|
-
|
|
7
|
+
var PanelNoteGlyph = function PanelNoteGlyph(_ref) {
|
|
8
|
+
var role = _ref.role;
|
|
9
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11
10
|
width: "24",
|
|
12
11
|
height: "24",
|
|
13
12
|
viewBox: "0 0 24 24",
|
|
14
13
|
fill: "none",
|
|
15
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}, props), /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
role: role
|
|
16
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
19
17
|
fillRule: "evenodd",
|
|
20
18
|
clipRule: "evenodd",
|
|
21
19
|
d: "M7 2H17C17.663 2 18.2989 2.26339 18.7678 2.73223C19.2366 3.20107 19.5 3.83696 19.5 4.5V19.5C19.5 20.163 19.2366 20.7989 18.7678 21.2678C18.2989 21.7366 17.663 22 17 22H7C6.33696 22 5.70107 21.7366 5.23223 21.2678C4.76339 20.7989 4.5 20.163 4.5 19.5V4.5C4.5 3.83696 4.76339 3.20107 5.23223 2.73223C5.70107 2.26339 6.33696 2 7 2ZM8.875 7C8.70924 7 8.55027 7.06585 8.43306 7.18306C8.31585 7.30027 8.25 7.45924 8.25 7.625V8.875C8.25 9.04076 8.31585 9.19973 8.43306 9.31694C8.55027 9.43415 8.70924 9.5 8.875 9.5H15.125C15.2908 9.5 15.4497 9.43415 15.5669 9.31694C15.6842 9.19973 15.75 9.04076 15.75 8.875V7.625C15.75 7.45924 15.6842 7.30027 15.5669 7.18306C15.4497 7.06585 15.2908 7 15.125 7H8.875ZM8.875 12C8.70924 12 8.55027 12.0658 8.43306 12.1831C8.31585 12.3003 8.25 12.4592 8.25 12.625V13.875C8.25 14.0408 8.31585 14.1997 8.43306 14.3169C8.55027 14.4342 8.70924 14.5 8.875 14.5H12.625C12.7908 14.5 12.9497 14.4342 13.0669 14.3169C13.1842 14.1997 13.25 14.0408 13.25 13.875V12.625C13.25 12.4592 13.1842 12.3003 13.0669 12.1831C12.9497 12.0658 12.7908 12 12.625 12H8.875Z",
|
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
/* PanelSuccessIcon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
3
2
|
import "./PanelSuccessIcon.compiled.css";
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
5
|
var iconStyles = null;
|
|
7
6
|
|
|
8
7
|
// Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
|
|
9
|
-
var PanelSuccessGlyph = function PanelSuccessGlyph(
|
|
10
|
-
|
|
8
|
+
var PanelSuccessGlyph = function PanelSuccessGlyph(_ref) {
|
|
9
|
+
var role = _ref.role;
|
|
10
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11
11
|
width: "24",
|
|
12
12
|
height: "24",
|
|
13
13
|
viewBox: "0 0 24 24",
|
|
14
14
|
fill: "none",
|
|
15
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}, props), /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
role: role
|
|
17
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
19
18
|
fillRule: "evenodd",
|
|
20
19
|
clipRule: "evenodd",
|
|
21
20
|
d: "M12 22C9.34784 22 6.8043 20.9464 4.92893 19.0711C3.05357 17.1957 2 14.6522 2 12C2 9.34784 3.05357 6.8043 4.92893 4.92893C6.8043 3.05357 9.34784 2 12 2C14.6522 2 17.1957 3.05357 19.0711 4.92893C20.9464 6.8043 22 9.34784 22 12C22 14.6522 20.9464 17.1957 19.0711 19.0711C17.1957 20.9464 14.6522 22 12 22V22ZM13.705 8.295L11.015 13.4325L9.08625 11.695C8.9642 11.5852 8.82172 11.5005 8.66694 11.4457C8.51216 11.391 8.3481 11.3672 8.18415 11.3759C8.0202 11.3845 7.85955 11.4254 7.71139 11.4961C7.56322 11.5669 7.43044 11.6661 7.32063 11.7881C7.21081 11.9102 7.1261 12.0527 7.07135 12.2074C7.0166 12.3622 6.99287 12.5263 7.00152 12.6902C7.01016 12.8542 7.05102 13.0148 7.12175 13.163C7.19248 13.3112 7.2917 13.4439 7.41375 13.5538L10.5388 16.3663C10.6803 16.4938 10.8492 16.5872 11.0325 16.6395C11.2157 16.6917 11.4085 16.7014 11.596 16.6678C11.7836 16.6341 11.9609 16.558 12.1146 16.4453C12.2682 16.3326 12.3941 16.1863 12.4825 16.0175L15.92 9.455C16.0738 9.16127 16.1047 8.81847 16.0057 8.502C15.9068 8.18553 15.6862 7.92133 15.3925 7.7675C15.0988 7.61367 14.756 7.58283 14.4395 7.68176C14.123 7.78068 13.8588 8.00127 13.705 8.295V8.295Z",
|
|
22
21
|
fill: "currentColor"
|
|
23
22
|
}));
|
|
24
23
|
};
|
|
25
|
-
export var PanelSuccessIcon = function PanelSuccessIcon(
|
|
26
|
-
var label =
|
|
24
|
+
export var PanelSuccessIcon = function PanelSuccessIcon(_ref2) {
|
|
25
|
+
var label = _ref2.label;
|
|
27
26
|
return /*#__PURE__*/React.createElement("span", {
|
|
28
27
|
role: label ? 'img' : undefined,
|
|
29
28
|
"aria-label": label ? label : undefined,
|