@atlaskit/editor-common 100.1.2 → 100.2.1

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.
Files changed (183) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/UNSAFE_do_not_use_editor_context/package.json +3 -1
  3. package/afm-cc/tsconfig.json +3 -0
  4. package/afm-jira/tsconfig.json +3 -0
  5. package/afm-post-office/tsconfig.json +3 -0
  6. package/analytics/package.json +3 -1
  7. package/annotation/package.json +3 -1
  8. package/browser/package.json +3 -1
  9. package/card/package.json +3 -1
  10. package/clipboard/package.json +3 -1
  11. package/code-block/package.json +3 -1
  12. package/collab/package.json +3 -1
  13. package/commands/package.json +3 -1
  14. package/constants/package.json +3 -1
  15. package/copy-button/package.json +3 -1
  16. package/core-utils/package.json +3 -1
  17. package/count-nodes/package.json +3 -1
  18. package/dist/cjs/analytics/types/enums.js +4 -0
  19. package/dist/cjs/analytics/types/selection-extension-events.js +5 -0
  20. package/dist/cjs/extensions/module-helpers.js +5 -0
  21. package/dist/cjs/monitoring/error.js +1 -1
  22. package/dist/cjs/styles/shared/expand.js +4 -0
  23. package/dist/cjs/styles/shared/plugins.js +24 -0
  24. package/dist/cjs/type-ahead/messages.js +5 -0
  25. package/dist/cjs/ui/DropList/index.js +1 -1
  26. package/dist/cjs/ui/FloatingToolbar/Button.js +6 -3
  27. package/dist/cjs/ui/Shortcut/index.compiled.css +10 -0
  28. package/dist/cjs/ui/Shortcut/index.js +24 -0
  29. package/dist/cjs/ui/Toolbar/ButtonGroup.compiled.css +6 -0
  30. package/dist/cjs/ui/Toolbar/ButtonGroup.js +26 -0
  31. package/dist/cjs/ui/Toolbar/DropdownTriggerWrapper.compiled.css +3 -0
  32. package/dist/cjs/ui/Toolbar/DropdownTriggerWrapper.js +23 -0
  33. package/dist/cjs/ui/Toolbar/DropdownWrapper.compiled.css +7 -0
  34. package/dist/cjs/ui/Toolbar/DropdownWrapper.js +21 -0
  35. package/dist/cjs/ui/Toolbar/ExpandIcon.compiled.css +2 -0
  36. package/dist/cjs/ui/Toolbar/ExpandIcon.js +25 -0
  37. package/dist/cjs/ui/Toolbar/Separator.compiled.css +9 -0
  38. package/dist/cjs/ui/Toolbar/Separator.js +19 -0
  39. package/dist/cjs/ui/index.js +42 -0
  40. package/dist/es2019/analytics/types/enums.js +4 -0
  41. package/dist/es2019/analytics/types/selection-extension-events.js +1 -0
  42. package/dist/es2019/extensions/module-helpers.js +5 -0
  43. package/dist/es2019/monitoring/error.js +1 -1
  44. package/dist/es2019/styles/shared/expand.js +4 -0
  45. package/dist/es2019/styles/shared/plugins.js +24 -0
  46. package/dist/es2019/type-ahead/messages.js +5 -0
  47. package/dist/es2019/ui/DropList/index.js +1 -1
  48. package/dist/es2019/ui/FloatingToolbar/Button.js +6 -3
  49. package/dist/es2019/ui/Shortcut/index.compiled.css +10 -0
  50. package/dist/es2019/ui/Shortcut/index.js +15 -0
  51. package/dist/es2019/ui/Toolbar/ButtonGroup.compiled.css +6 -0
  52. package/dist/es2019/ui/Toolbar/ButtonGroup.js +20 -0
  53. package/dist/es2019/ui/Toolbar/DropdownTriggerWrapper.compiled.css +3 -0
  54. package/dist/es2019/ui/Toolbar/DropdownTriggerWrapper.js +17 -0
  55. package/dist/es2019/ui/Toolbar/DropdownWrapper.compiled.css +7 -0
  56. package/dist/es2019/ui/Toolbar/DropdownWrapper.js +15 -0
  57. package/dist/es2019/ui/Toolbar/ExpandIcon.compiled.css +2 -0
  58. package/dist/es2019/ui/Toolbar/ExpandIcon.js +15 -0
  59. package/dist/es2019/ui/Toolbar/Separator.compiled.css +9 -0
  60. package/dist/es2019/ui/Toolbar/Separator.js +10 -0
  61. package/dist/es2019/ui/index.js +6 -0
  62. package/dist/esm/analytics/types/enums.js +4 -0
  63. package/dist/esm/analytics/types/selection-extension-events.js +1 -0
  64. package/dist/esm/extensions/module-helpers.js +5 -0
  65. package/dist/esm/monitoring/error.js +1 -1
  66. package/dist/esm/styles/shared/expand.js +4 -0
  67. package/dist/esm/styles/shared/plugins.js +24 -0
  68. package/dist/esm/type-ahead/messages.js +5 -0
  69. package/dist/esm/ui/DropList/index.js +1 -1
  70. package/dist/esm/ui/FloatingToolbar/Button.js +6 -3
  71. package/dist/esm/ui/Shortcut/index.compiled.css +10 -0
  72. package/dist/esm/ui/Shortcut/index.js +17 -0
  73. package/dist/esm/ui/Toolbar/ButtonGroup.compiled.css +6 -0
  74. package/dist/esm/ui/Toolbar/ButtonGroup.js +19 -0
  75. package/dist/esm/ui/Toolbar/DropdownTriggerWrapper.compiled.css +3 -0
  76. package/dist/esm/ui/Toolbar/DropdownTriggerWrapper.js +16 -0
  77. package/dist/esm/ui/Toolbar/DropdownWrapper.compiled.css +7 -0
  78. package/dist/esm/ui/Toolbar/DropdownWrapper.js +14 -0
  79. package/dist/esm/ui/Toolbar/ExpandIcon.compiled.css +2 -0
  80. package/dist/esm/ui/Toolbar/ExpandIcon.js +15 -0
  81. package/dist/esm/ui/Toolbar/Separator.compiled.css +9 -0
  82. package/dist/esm/ui/Toolbar/Separator.js +10 -0
  83. package/dist/esm/ui/index.js +6 -0
  84. package/dist/types/analytics/types/ai-inline-suggestion-events.d.ts +1 -0
  85. package/dist/types/analytics/types/enums.d.ts +5 -1
  86. package/dist/types/analytics/types/events.d.ts +2 -1
  87. package/dist/types/analytics/types/selection-extension-events.d.ts +11 -0
  88. package/dist/types/extensions/types/extension-manifest-toolbar-item.d.ts +1 -0
  89. package/dist/types/styles/shared/expand.d.ts +4 -0
  90. package/dist/types/styles/shared/plugins.d.ts +24 -0
  91. package/dist/types/type-ahead/messages.d.ts +5 -0
  92. package/dist/types/ui/Shortcut/index.d.ts +8 -0
  93. package/dist/types/ui/Toolbar/ButtonGroup.d.ts +8 -0
  94. package/dist/types/ui/Toolbar/DropdownTriggerWrapper.d.ts +8 -0
  95. package/dist/types/ui/Toolbar/DropdownWrapper.d.ts +8 -0
  96. package/dist/types/ui/Toolbar/ExpandIcon.d.ts +2 -0
  97. package/dist/types/ui/Toolbar/Separator.d.ts +2 -0
  98. package/dist/types/ui/index.d.ts +6 -0
  99. package/dist/types-ts4.5/analytics/types/ai-inline-suggestion-events.d.ts +1 -0
  100. package/dist/types-ts4.5/analytics/types/enums.d.ts +5 -1
  101. package/dist/types-ts4.5/analytics/types/events.d.ts +2 -1
  102. package/dist/types-ts4.5/analytics/types/selection-extension-events.d.ts +11 -0
  103. package/dist/types-ts4.5/extensions/types/extension-manifest-toolbar-item.d.ts +1 -0
  104. package/dist/types-ts4.5/styles/shared/expand.d.ts +4 -0
  105. package/dist/types-ts4.5/styles/shared/plugins.d.ts +24 -0
  106. package/dist/types-ts4.5/type-ahead/messages.d.ts +5 -0
  107. package/dist/types-ts4.5/ui/Shortcut/index.d.ts +8 -0
  108. package/dist/types-ts4.5/ui/Toolbar/ButtonGroup.d.ts +8 -0
  109. package/dist/types-ts4.5/ui/Toolbar/DropdownTriggerWrapper.d.ts +8 -0
  110. package/dist/types-ts4.5/ui/Toolbar/DropdownWrapper.d.ts +8 -0
  111. package/dist/types-ts4.5/ui/Toolbar/ExpandIcon.d.ts +2 -0
  112. package/dist/types-ts4.5/ui/Toolbar/Separator.d.ts +2 -0
  113. package/dist/types-ts4.5/ui/index.d.ts +6 -0
  114. package/doc-utils/package.json +3 -1
  115. package/editor-analytics/package.json +3 -1
  116. package/element-browser/package.json +3 -1
  117. package/emoji/package.json +3 -1
  118. package/error-boundary/package.json +3 -1
  119. package/error-reporter/package.json +3 -1
  120. package/event-dispatcher/package.json +3 -1
  121. package/expand/package.json +3 -1
  122. package/extensibility/package.json +3 -1
  123. package/extensions/package.json +3 -1
  124. package/floating-toolbar/package.json +3 -1
  125. package/guideline/package.json +3 -1
  126. package/hooks/package.json +3 -1
  127. package/icons/package.json +3 -1
  128. package/indentation/package.json +3 -1
  129. package/insert/package.json +3 -1
  130. package/intl-error-boundary/package.json +3 -1
  131. package/is-performance-api-available/package.json +3 -1
  132. package/keymaps/package.json +3 -1
  133. package/lazy-node-view/package.json +3 -1
  134. package/legacy-rank-plugins/package.json +3 -1
  135. package/link/package.json +3 -1
  136. package/lists/package.json +3 -1
  137. package/mark/package.json +3 -1
  138. package/media/package.json +3 -1
  139. package/media-inline/package.json +3 -1
  140. package/media-single/package.json +3 -1
  141. package/median/package.json +3 -1
  142. package/mention/package.json +3 -1
  143. package/messages/package.json +3 -1
  144. package/monitoring/package.json +3 -1
  145. package/nesting/package.json +3 -1
  146. package/node-width/package.json +3 -1
  147. package/normalize-feature-flags/package.json +3 -1
  148. package/package.json +14 -9
  149. package/panel/package.json +3 -1
  150. package/paste/package.json +3 -1
  151. package/performance/measure-render/package.json +3 -1
  152. package/performance/measure-tti/package.json +3 -1
  153. package/performance/navigation/package.json +3 -1
  154. package/performance-measures/package.json +3 -1
  155. package/portal/package.json +3 -1
  156. package/preset/package.json +3 -1
  157. package/process-raw-value/package.json +3 -1
  158. package/prosemirror-dom-metadata/package.json +3 -1
  159. package/provider-factory/package.json +3 -1
  160. package/provider-helpers/package.json +3 -1
  161. package/quick-insert/package.json +3 -1
  162. package/react-node-view/package.json +3 -1
  163. package/resizer/package.json +3 -1
  164. package/safe-plugin/package.json +3 -1
  165. package/selection/package.json +3 -1
  166. package/selection-based-node-view/package.json +3 -1
  167. package/styles/package.json +3 -1
  168. package/table/package.json +3 -1
  169. package/transforms/package.json +3 -1
  170. package/type-ahead/package.json +3 -1
  171. package/types/package.json +3 -1
  172. package/ui/package.json +3 -1
  173. package/ui-color/package.json +3 -1
  174. package/ui-menu/package.json +3 -1
  175. package/ui-react/package.json +3 -1
  176. package/use-component-render-tracking/package.json +3 -1
  177. package/use-plugin-state-effect/package.json +3 -1
  178. package/use-shared-plugin-state-selector/package.json +3 -1
  179. package/utils/analytics/package.json +3 -1
  180. package/utils/package.json +3 -1
  181. package/validator/package.json +3 -1
  182. package/whitespace/package.json +3 -1
  183. package/with-plugin-state/package.json +3 -1
@@ -185,12 +185,48 @@ Object.defineProperty(exports, "ShadowObserver", {
185
185
  return _shadowObserver.ShadowObserver;
186
186
  }
187
187
  });
188
+ Object.defineProperty(exports, "Shortcut", {
189
+ enumerable: true,
190
+ get: function get() {
191
+ return _Shortcut.Shortcut;
192
+ }
193
+ });
188
194
  Object.defineProperty(exports, "SmallerEditIcon", {
189
195
  enumerable: true,
190
196
  get: function get() {
191
197
  return _SmallerEditIcon.SmallerEditIcon;
192
198
  }
193
199
  });
200
+ Object.defineProperty(exports, "ToolbarButtonGroup", {
201
+ enumerable: true,
202
+ get: function get() {
203
+ return _ButtonGroup.ToolbarButtonGroup;
204
+ }
205
+ });
206
+ Object.defineProperty(exports, "ToolbarDropdownTriggerWrapper", {
207
+ enumerable: true,
208
+ get: function get() {
209
+ return _DropdownTriggerWrapper.ToolbarDropdownTriggerWrapper;
210
+ }
211
+ });
212
+ Object.defineProperty(exports, "ToolbarDropdownWrapper", {
213
+ enumerable: true,
214
+ get: function get() {
215
+ return _DropdownWrapper.ToolbarDropdownWrapper;
216
+ }
217
+ });
218
+ Object.defineProperty(exports, "ToolbarExpandIcon", {
219
+ enumerable: true,
220
+ get: function get() {
221
+ return _ExpandIcon.ToolbarExpandIcon;
222
+ }
223
+ });
224
+ Object.defineProperty(exports, "ToolbarSeparator", {
225
+ enumerable: true,
226
+ get: function get() {
227
+ return _Separator2.ToolbarSeparator;
228
+ }
229
+ });
194
230
  Object.defineProperty(exports, "UnsupportedBlock", {
195
231
  enumerable: true,
196
232
  get: function get() {
@@ -433,7 +469,13 @@ var _styled2 = require("./ResizerLegacy/styled");
433
469
  var _styles = require("./PanelTextInput/styles");
434
470
  var _PanelTextInput = _interopRequireDefault(require("./PanelTextInput"));
435
471
  var _announcer = _interopRequireDefault(require("./Announcer/announcer"));
472
+ var _Shortcut = require("./Shortcut");
436
473
  var _Toolbar = require("./Toolbar");
474
+ var _ButtonGroup = require("./Toolbar/ButtonGroup");
475
+ var _DropdownTriggerWrapper = require("./Toolbar/DropdownTriggerWrapper");
476
+ var _DropdownWrapper = require("./Toolbar/DropdownWrapper");
477
+ var _ExpandIcon = require("./Toolbar/ExpandIcon");
478
+ var _Separator2 = require("./Toolbar/Separator");
437
479
  var _DropList = _interopRequireDefault(require("./DropList"));
438
480
  var _MultiBodiedExtension = require("./MultiBodiedExtension");
439
481
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
@@ -284,6 +284,7 @@ export let ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
284
284
  ACTION_SUBJECT["MEDIA_VIEWER"] = "mediaViewer";
285
285
  ACTION_SUBJECT["DECORATION"] = "decoration";
286
286
  ACTION_SUBJECT["EDITOR_PLUGIN_AI"] = "editorPluginAI";
287
+ ACTION_SUBJECT["EDITOR_PLUGIN_SELECTION_EXTENSION"] = "editorPluginSelectionExtension";
287
288
  ACTION_SUBJECT["AI_DEFINITIONS"] = "aiDefinitions";
288
289
  return ACTION_SUBJECT;
289
290
  }({});
@@ -436,6 +437,9 @@ export let ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
436
437
  ACTION_SUBJECT_ID["ON_UNSUPPORTED_BLOCK"] = "onUnsupportedBlock";
437
438
  ACTION_SUBJECT_ID["MULTI_BODIED_EXTENSION"] = "multiBodiedExtension";
438
439
  ACTION_SUBJECT_ID["UPLOAD_MEDIA"] = "uploadMedia";
440
+ ACTION_SUBJECT_ID["EDITOR_PLUGIN_SELECTION_EXTENSION_DROPDOWN"] = "editorPluginSelectionExtensionDropdown";
441
+ ACTION_SUBJECT_ID["EDITOR_PLUGIN_SELECTION_EXTENSION_ITEM"] = "editorPluginSelectionExtensionItem";
442
+ ACTION_SUBJECT_ID["EDITOR_PLUGIN_SELECTION_EXTENSION_COMPONENT"] = "editorPluginSelectionExtensionComponent";
439
443
  return ACTION_SUBJECT_ID;
440
444
  }({});
441
445
  export let FLOATING_CONTROLS_TITLE = /*#__PURE__*/function (FLOATING_CONTROLS_TITLE) {
@@ -174,6 +174,11 @@ function shouldAddExtensionItemForNode(item, node) {
174
174
  if (item.context.type !== 'extension' || node.type !== item.context.nodeType) {
175
175
  return false;
176
176
  }
177
+
178
+ // in cases where we need custom exclusion depending on the node
179
+ if (item.context.shouldExclude) {
180
+ return item.context.shouldExclude(node);
181
+ }
177
182
  const {
178
183
  extensionType,
179
184
  extensionKey
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "100.1.2";
4
+ const packageVersion = "100.2.1";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // TODO: Sanitise the URL instead of just removing it
@@ -5,6 +5,10 @@ export const expandIconWrapperStyle = css({
5
5
  marginLeft: "var(--ds-space-negative-100, -8px)"
6
6
  });
7
7
 
8
+ /**
9
+ * @private
10
+ * @deprecated use `import { ToolbarExpandIcon } from '@atlaskit/editor-common/ui';` instead
11
+ */
8
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
9
13
  export const expandIconContainerStyle = css({
10
14
  display: 'flex',
@@ -1,5 +1,9 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
2
  import { css } from '@emotion/react';
3
+ /**
4
+ * @private
5
+ * @deprecated use `import { ToolbarButtonGroup } from '@atlaskit/editor-common/ui';` instead
6
+ */
3
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, -- Ignored via go/DSP-18766
4
8
  export const buttonGroupStyleBeforeVisualRefresh = css({
5
9
  display: 'inline-flex',
@@ -17,6 +21,10 @@ export const buttonGroupStyleBeforeVisualRefresh = css({
17
21
  }
18
22
  });
19
23
 
24
+ /**
25
+ * @private
26
+ * @deprecated use `import { ToolbarButtonGroup } from '@atlaskit/editor-common/ui';` instead
27
+ */
20
28
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
21
29
  export const buttonGroupStyle = css({
22
30
  display: 'inline-flex',
@@ -39,6 +47,10 @@ export const buttonGroupStyle = css({
39
47
  }
40
48
  });
41
49
 
50
+ /**
51
+ * @private
52
+ * @deprecated use `import { ToolbarSeparator } from '@atlaskit/editor-common/ui';` instead
53
+ */
42
54
  // If you make change here, change in above file as well.
43
55
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
44
56
  export const separatorStyles = css({
@@ -50,6 +62,10 @@ export const separatorStyles = css({
50
62
  userSelect: 'none'
51
63
  });
52
64
 
65
+ /**
66
+ * @private
67
+ * @deprecated use `import { ToolbarDropdownWrapper } from '@atlaskit/editor-common/ui';` instead
68
+ */
53
69
  // If you make change here, change in above file as well.
54
70
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
55
71
  export const wrapperStyle = css({
@@ -74,6 +90,10 @@ export const wrapperStyle = css({
74
90
  }
75
91
  });
76
92
 
93
+ /**
94
+ * @private
95
+ * @deprecated use `import { ToolbarDropdownTriggerWrapper } from '@atlaskit/editor-common/ui';` instead
96
+ */
77
97
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
78
98
  export const triggerWrapperStyles = css({
79
99
  display: 'flex',
@@ -86,6 +106,10 @@ export const triggerWrapperStyles = css({
86
106
  }
87
107
  });
88
108
 
109
+ /**
110
+ * @private
111
+ * @deprecated use `import { ToolbarDropdownTriggerWrapper } from '@atlaskit/editor-common/ui';` instead
112
+ */
89
113
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
90
114
  export const triggerWrapperStylesWithPadding = css({
91
115
  display: 'flex',
@@ -15,6 +15,11 @@ export const typeAheadListMessages = defineMessages({
15
15
  defaultMessage: 'Begin typing to search or filter shortcut options',
16
16
  description: 'assisitve text for typeahed input field'
17
17
  },
18
+ quickInsertInputPlaceholderLabel: {
19
+ id: 'fabric.editor.typeAhead.quickInsertInputPlaceholderLabel',
20
+ defaultMessage: 'Search',
21
+ description: 'placeholder for typeahed input field'
22
+ },
18
23
  emojiPopupLabel: {
19
24
  id: 'fabric.editor.typeahead.emojiPopupLabel',
20
25
  defaultMessage: 'Emoji shortcuts',
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
13
13
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import Layer from '../Layer';
15
15
  const packageName = "@atlaskit/editor-common";
16
- const packageVersion = "100.1.2";
16
+ const packageVersion = "100.2.1";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -1,6 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React, { useCallback, useEffect, useState } from 'react';
3
3
  import Button from '@atlaskit/button/custom-theme-button';
4
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
4
5
  import Tooltip from '@atlaskit/tooltip';
5
6
  import { Pulse } from '../Pulse/Pulse';
6
7
  import { ButtonSpotlightCard } from './ButtonSpotlightCard';
@@ -67,10 +68,12 @@ export default (({
67
68
  }, /*#__PURE__*/React.createElement(Pulse, {
68
69
  pulse: pulse || (spotlightConfig === null || spotlightConfig === void 0 ? void 0 : spotlightConfig.pulse)
69
70
  }, /*#__PURE__*/React.createElement(Button
70
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
71
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/design-system/no-unsafe-style-overrides -- Ignored via go/DSP-18766
71
72
  , {
72
73
  className: className,
73
- ref: buttonElement => setSpotlightReferenceElement(buttonElement),
74
+ ref: buttonElement => setSpotlightReferenceElement(buttonElement)
75
+ // eslint-disable-next-line @atlaskit/design-system/no-unsafe-style-overrides
76
+ ,
74
77
  theme: (adgTheme, themeProps) => {
75
78
  const {
76
79
  buttonStyles,
@@ -95,7 +98,7 @@ export default (({
95
98
  role: isRadioButton ? 'radio' : undefined,
96
99
  "aria-expanded": ariaHasPopup ? selected : undefined,
97
100
  "aria-controls": ariaHasPopup ? areaControls : undefined,
98
- spacing: 'compact',
101
+ spacing: editorExperiment('platform_editor_controls', 'variant1') ? 'default' : 'compact',
99
102
  href: href,
100
103
  target: target,
101
104
  appearance: appearance,
@@ -0,0 +1,10 @@
1
+
2
+ ._2rko1sit{border-radius:var(--ds-border-radius,3px)}._19bv1b66{padding-left:var(--ds-space-050,4px)}
3
+ ._1wpzesu3{align-self:flex-end}
4
+ ._1wyb1qpa{font-size:.729375rem}
5
+ ._bfhkm7j4{background-color:var(--ds-background-neutral,#091e420f)}
6
+ ._ca0q1b66{padding-top:var(--ds-space-050,4px)}
7
+ ._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
8
+ ._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
9
+ ._u5f31b66{padding-right:var(--ds-space-050,4px)}
10
+ @media (max-width:0px){._1ggkglyw{display:none}}
@@ -0,0 +1,15 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./index.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
4
+ import React from 'react';
5
+ const shortcutStyle = null;
6
+
7
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- This rule thinks this isn't a `css()` call due to the name mapping
8
+ const shortcutStyleUnbounded = null;
9
+ export function Shortcut({
10
+ children
11
+ }) {
12
+ return /*#__PURE__*/React.createElement("div", {
13
+ className: ax(["_2rko1sit _1wpzesu3 _ca0q1b66 _n3td1b66 _19bv1b66 _u5f31b66 _syaz1gjq _bfhkm7j4 _1ggkglyw", "_1wyb1qpa"])
14
+ }, children);
15
+ }
@@ -0,0 +1,6 @@
1
+
2
+ ._1p8dglyw button:not(#local-media-upload-button):not([disabled]):after{border:none}
3
+ ._89rs1b66 div[role=group]{gap:var(--ds-space-050,4px)}
4
+ ._zulp1b66{gap:var(--ds-space-050,4px)}._11ko1txw>div{display:flex}
5
+ ._1e0c116y{display:inline-flex}
6
+ ._4cvr1h6o{align-items:center}
@@ -0,0 +1,20 @@
1
+ /* ButtonGroup.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./ButtonGroup.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
4
+ import React from 'react';
5
+ import { fg } from '@atlaskit/platform-feature-flags';
6
+ const buttonGroupStyle = null;
7
+
8
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- This rule thinks this isn't a `css()` call due to the name mapping
9
+ const buttonGroupStyleUnbounded = null;
10
+ const buttonGroupStyleBeforeVisualRefresh = null;
11
+
12
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- This rule thinks this isn't a `css()` call due to the name mapping
13
+ const buttonGroupStyleBeforeVisualRefreshUnbounded = null;
14
+ export function ToolbarButtonGroup({
15
+ children
16
+ }) {
17
+ return /*#__PURE__*/React.createElement("span", {
18
+ className: ax([fg('platform-visual-refresh-icons') ? "_zulp1b66 _1e0c116y _4cvr1h6o" : "_1e0c116y _4cvr1h6o", fg('platform-visual-refresh-icons') ? "_11ko1txw _1p8dglyw _89rs1b66" : "_11ko1txw _1p8dglyw"])
19
+ }, children);
20
+ }
@@ -0,0 +1,3 @@
1
+
2
+ ._1fvdglyw button:not([disabled]):after{border:none}._1e0c1txw{display:flex}
3
+ ._u5f3v77o{padding-right:var(--ds-space-025,2px)}
@@ -0,0 +1,17 @@
1
+ /* DropdownTriggerWrapper.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./DropdownTriggerWrapper.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
4
+ import React from 'react';
5
+ import { fg } from '@atlaskit/platform-feature-flags';
6
+ const triggerWrapperStylesWithPadding = null;
7
+ const triggerWrapperStyles = null;
8
+
9
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- This rule thinks this isn't a `css()` call due to the name mapping
10
+ const triggerWrapperStylesUnbounded = null;
11
+ export function ToolbarDropdownTriggerWrapper({
12
+ children
13
+ }) {
14
+ return /*#__PURE__*/React.createElement("div", {
15
+ className: ax([fg('platform-visual-refresh-icons') ? "_1e0c1txw _u5f3v77o" : "_1e0c1txw", "_1fvdglyw"])
16
+ }, children);
17
+ }
@@ -0,0 +1,7 @@
1
+
2
+ ._1fvdglyw button:not([disabled]):after{border:none}._18u0idpf{margin-left:0}
3
+ ._1e0c1txw{display:flex}
4
+ ._1ul91wug{min-width:auto}
5
+ ._1ylx1txw >div>div{display:flex}
6
+ ._4cvr1h6o{align-items:center}
7
+ ._p7r11txw >div, ._1xdi1txw >span{display:flex}
@@ -0,0 +1,15 @@
1
+ /* DropdownWrapper.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./DropdownWrapper.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
4
+ import React from 'react';
5
+ const wrapperStyle = null;
6
+
7
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- This rule thinks this isn't a `css()` call due to the name mapping
8
+ const wrapperStylesUnbounded = null;
9
+ export function ToolbarDropdownWrapper({
10
+ children
11
+ }) {
12
+ return /*#__PURE__*/React.createElement("span", {
13
+ className: ax(["_1e0c1txw _4cvr1h6o _18u0idpf _1ul91wug", "_p7r11txw _1xdi1txw _1ylx1txw _1fvdglyw"])
14
+ }, children);
15
+ }
@@ -0,0 +1,2 @@
1
+ ._1e0c1txw{display:flex}
2
+ ._4cvr1h6o{align-items:center}
@@ -0,0 +1,15 @@
1
+ /* ExpandIcon.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./ExpandIcon.compiled.css";
3
+ import * as React from 'react';
4
+ import { ax, ix } from "@compiled/react/runtime";
5
+ import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
6
+ const expandIconContainerStyle = null;
7
+ export function ToolbarExpandIcon() {
8
+ return /*#__PURE__*/React.createElement("span", {
9
+ className: ax(["_1e0c1txw _4cvr1h6o"])
10
+ }, /*#__PURE__*/React.createElement(ChevronDownIcon, {
11
+ label: "",
12
+ color: "currentColor",
13
+ LEGACY_margin: "0 0 0 -8px"
14
+ }));
15
+ }
@@ -0,0 +1,9 @@
1
+ ._18u0u2gc{margin-left:var(--ds-space-100,8px)}
2
+ ._19pkze3t{margin-top:var(--ds-space-0,0)}
3
+ ._1bsbt94y{width:1px}
4
+ ._1e0c1o8l{display:inline-block}
5
+ ._2hwxu2gc{margin-right:var(--ds-space-100,8px)}
6
+ ._4t3i1tcg{height:24px}
7
+ ._bfhk15ej{background-color:var(--ds-background-neutral-hovered,#091e4224)}
8
+ ._otyrze3t{margin-bottom:var(--ds-space-0,0)}
9
+ ._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
@@ -0,0 +1,10 @@
1
+ /* Separator.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./Separator.compiled.css";
3
+ import * as React from 'react';
4
+ import { ax, ix } from "@compiled/react/runtime";
5
+ const separatorStyles = null;
6
+ export function ToolbarSeparator() {
7
+ return /*#__PURE__*/React.createElement("span", {
8
+ className: ax(["_1e0c1o8l _1bsbt94y _4t3i1tcg _19pkze3t _otyrze3t _18u0u2gc _2hwxu2gc _uiztglyw _bfhk15ej"])
9
+ });
10
+ }
@@ -33,6 +33,12 @@ export { wrapperStyle } from './ResizerLegacy/styled';
33
33
  export { panelTextInput } from './PanelTextInput/styles';
34
34
  export { default as PanelTextInput } from './PanelTextInput';
35
35
  export { default as Announcer } from './Announcer/announcer';
36
+ export { Shortcut } from './Shortcut';
36
37
  export { EDIT_AREA_ID } from './Toolbar';
38
+ export { ToolbarButtonGroup } from './Toolbar/ButtonGroup';
39
+ export { ToolbarDropdownTriggerWrapper } from './Toolbar/DropdownTriggerWrapper';
40
+ export { ToolbarDropdownWrapper } from './Toolbar/DropdownWrapper';
41
+ export { ToolbarExpandIcon } from './Toolbar/ExpandIcon';
42
+ export { ToolbarSeparator } from './Toolbar/Separator';
37
43
  export { default as DropList } from './DropList';
38
44
  export { sharedMultiBodiedExtensionStyles } from './MultiBodiedExtension';
@@ -284,6 +284,7 @@ export var ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
284
284
  ACTION_SUBJECT["MEDIA_VIEWER"] = "mediaViewer";
285
285
  ACTION_SUBJECT["DECORATION"] = "decoration";
286
286
  ACTION_SUBJECT["EDITOR_PLUGIN_AI"] = "editorPluginAI";
287
+ ACTION_SUBJECT["EDITOR_PLUGIN_SELECTION_EXTENSION"] = "editorPluginSelectionExtension";
287
288
  ACTION_SUBJECT["AI_DEFINITIONS"] = "aiDefinitions";
288
289
  return ACTION_SUBJECT;
289
290
  }({});
@@ -436,6 +437,9 @@ export var ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
436
437
  ACTION_SUBJECT_ID["ON_UNSUPPORTED_BLOCK"] = "onUnsupportedBlock";
437
438
  ACTION_SUBJECT_ID["MULTI_BODIED_EXTENSION"] = "multiBodiedExtension";
438
439
  ACTION_SUBJECT_ID["UPLOAD_MEDIA"] = "uploadMedia";
440
+ ACTION_SUBJECT_ID["EDITOR_PLUGIN_SELECTION_EXTENSION_DROPDOWN"] = "editorPluginSelectionExtensionDropdown";
441
+ ACTION_SUBJECT_ID["EDITOR_PLUGIN_SELECTION_EXTENSION_ITEM"] = "editorPluginSelectionExtensionItem";
442
+ ACTION_SUBJECT_ID["EDITOR_PLUGIN_SELECTION_EXTENSION_COMPONENT"] = "editorPluginSelectionExtensionComponent";
439
443
  return ACTION_SUBJECT_ID;
440
444
  }({});
441
445
  export var FLOATING_CONTROLS_TITLE = /*#__PURE__*/function (FLOATING_CONTROLS_TITLE) {
@@ -267,6 +267,11 @@ function shouldAddExtensionItemForNode(item, node) {
267
267
  if (item.context.type !== 'extension' || node.type !== item.context.nodeType) {
268
268
  return false;
269
269
  }
270
+
271
+ // in cases where we need custom exclusion depending on the node
272
+ if (item.context.shouldExclude) {
273
+ return item.context.shouldExclude(node);
274
+ }
270
275
  var _item$context = item.context,
271
276
  extensionType = _item$context.extensionType,
272
277
  extensionKey = _item$context.extensionKey;
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "100.1.2";
10
+ var packageVersion = "100.2.1";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // TODO: Sanitise the URL instead of just removing it
@@ -5,6 +5,10 @@ export var expandIconWrapperStyle = css({
5
5
  marginLeft: "var(--ds-space-negative-100, -8px)"
6
6
  });
7
7
 
8
+ /**
9
+ * @private
10
+ * @deprecated use `import { ToolbarExpandIcon } from '@atlaskit/editor-common/ui';` instead
11
+ */
8
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
9
13
  export var expandIconContainerStyle = css({
10
14
  display: 'flex',
@@ -1,5 +1,9 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
2
  import { css } from '@emotion/react';
3
+ /**
4
+ * @private
5
+ * @deprecated use `import { ToolbarButtonGroup } from '@atlaskit/editor-common/ui';` instead
6
+ */
3
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, -- Ignored via go/DSP-18766
4
8
  export var buttonGroupStyleBeforeVisualRefresh = css({
5
9
  display: 'inline-flex',
@@ -17,6 +21,10 @@ export var buttonGroupStyleBeforeVisualRefresh = css({
17
21
  }
18
22
  });
19
23
 
24
+ /**
25
+ * @private
26
+ * @deprecated use `import { ToolbarButtonGroup } from '@atlaskit/editor-common/ui';` instead
27
+ */
20
28
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
21
29
  export var buttonGroupStyle = css({
22
30
  display: 'inline-flex',
@@ -39,6 +47,10 @@ export var buttonGroupStyle = css({
39
47
  }
40
48
  });
41
49
 
50
+ /**
51
+ * @private
52
+ * @deprecated use `import { ToolbarSeparator } from '@atlaskit/editor-common/ui';` instead
53
+ */
42
54
  // If you make change here, change in above file as well.
43
55
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
44
56
  export var separatorStyles = css({
@@ -50,6 +62,10 @@ export var separatorStyles = css({
50
62
  userSelect: 'none'
51
63
  });
52
64
 
65
+ /**
66
+ * @private
67
+ * @deprecated use `import { ToolbarDropdownWrapper } from '@atlaskit/editor-common/ui';` instead
68
+ */
53
69
  // If you make change here, change in above file as well.
54
70
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
55
71
  export var wrapperStyle = css({
@@ -74,6 +90,10 @@ export var wrapperStyle = css({
74
90
  }
75
91
  });
76
92
 
93
+ /**
94
+ * @private
95
+ * @deprecated use `import { ToolbarDropdownTriggerWrapper } from '@atlaskit/editor-common/ui';` instead
96
+ */
77
97
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
78
98
  export var triggerWrapperStyles = css({
79
99
  display: 'flex',
@@ -86,6 +106,10 @@ export var triggerWrapperStyles = css({
86
106
  }
87
107
  });
88
108
 
109
+ /**
110
+ * @private
111
+ * @deprecated use `import { ToolbarDropdownTriggerWrapper } from '@atlaskit/editor-common/ui';` instead
112
+ */
89
113
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
90
114
  export var triggerWrapperStylesWithPadding = css({
91
115
  display: 'flex',
@@ -15,6 +15,11 @@ export var typeAheadListMessages = defineMessages({
15
15
  defaultMessage: 'Begin typing to search or filter shortcut options',
16
16
  description: 'assisitve text for typeahed input field'
17
17
  },
18
+ quickInsertInputPlaceholderLabel: {
19
+ id: 'fabric.editor.typeAhead.quickInsertInputPlaceholderLabel',
20
+ defaultMessage: 'Search',
21
+ description: 'placeholder for typeahed input field'
22
+ },
18
23
  emojiPopupLabel: {
19
24
  id: 'fabric.editor.typeahead.emojiPopupLabel',
20
25
  defaultMessage: 'Emoji shortcuts',
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
20
20
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import Layer from '../Layer';
22
22
  var packageName = "@atlaskit/editor-common";
23
- var packageVersion = "100.1.2";
23
+ var packageVersion = "100.2.1";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
@@ -7,6 +7,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
7
7
  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; }
8
8
  import React, { useCallback, useEffect, useState } from 'react';
9
9
  import Button from '@atlaskit/button/custom-theme-button';
10
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
10
11
  import Tooltip from '@atlaskit/tooltip';
11
12
  import { Pulse } from '../Pulse/Pulse';
12
13
  import { ButtonSpotlightCard } from './ButtonSpotlightCard';
@@ -79,12 +80,14 @@ export default (function (_ref) {
79
80
  }, /*#__PURE__*/React.createElement(Pulse, {
80
81
  pulse: pulse || (spotlightConfig === null || spotlightConfig === void 0 ? void 0 : spotlightConfig.pulse)
81
82
  }, /*#__PURE__*/React.createElement(Button
82
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
83
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/design-system/no-unsafe-style-overrides -- Ignored via go/DSP-18766
83
84
  , {
84
85
  className: className,
85
86
  ref: function ref(buttonElement) {
86
87
  return setSpotlightReferenceElement(buttonElement);
87
- },
88
+ }
89
+ // eslint-disable-next-line @atlaskit/design-system/no-unsafe-style-overrides
90
+ ,
88
91
  theme: function theme(adgTheme, themeProps) {
89
92
  var _adgTheme = adgTheme(themeProps),
90
93
  buttonStyles = _adgTheme.buttonStyles,
@@ -103,7 +106,7 @@ export default (function (_ref) {
103
106
  role: isRadioButton ? 'radio' : undefined,
104
107
  "aria-expanded": ariaHasPopup ? selected : undefined,
105
108
  "aria-controls": ariaHasPopup ? areaControls : undefined,
106
- spacing: 'compact',
109
+ spacing: editorExperiment('platform_editor_controls', 'variant1') ? 'default' : 'compact',
107
110
  href: href,
108
111
  target: target,
109
112
  appearance: appearance,
@@ -0,0 +1,10 @@
1
+
2
+ ._2rko1sit{border-radius:var(--ds-border-radius,3px)}._19bv1b66{padding-left:var(--ds-space-050,4px)}
3
+ ._1wpzesu3{align-self:flex-end}
4
+ ._1wybyofp{font-size:var(--_1l2t8t0)}
5
+ ._bfhkm7j4{background-color:var(--ds-background-neutral,#091e420f)}
6
+ ._ca0q1b66{padding-top:var(--ds-space-050,4px)}
7
+ ._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
8
+ ._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
9
+ ._u5f31b66{padding-right:var(--ds-space-050,4px)}
10
+ @media (max-width:0px){._1ggkglyw{display:none}}
@@ -0,0 +1,17 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./index.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
4
+ import React from 'react';
5
+ var shortcutStyle = null;
6
+
7
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- This rule thinks this isn't a `css()` call due to the name mapping
8
+ var shortcutStyleUnbounded = null;
9
+ export function Shortcut(_ref) {
10
+ var children = _ref.children;
11
+ return /*#__PURE__*/React.createElement("div", {
12
+ className: ax(["_2rko1sit _1wpzesu3 _ca0q1b66 _n3td1b66 _19bv1b66 _u5f31b66 _syaz1gjq _bfhkm7j4 _1ggkglyw", "_1wybyofp"]),
13
+ style: {
14
+ "--_1l2t8t0": ix("".concat(11.67 / 16, "rem"))
15
+ }
16
+ }, children);
17
+ }
@@ -0,0 +1,6 @@
1
+
2
+ ._1p8dglyw button:not(#local-media-upload-button):not([disabled]):after{border:none}
3
+ ._89rs1b66 div[role=group]{gap:var(--ds-space-050,4px)}
4
+ ._zulp1b66{gap:var(--ds-space-050,4px)}._11ko1txw>div{display:flex}
5
+ ._1e0c116y{display:inline-flex}
6
+ ._4cvr1h6o{align-items:center}
@@ -0,0 +1,19 @@
1
+ /* ButtonGroup.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./ButtonGroup.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
4
+ import React from 'react';
5
+ import { fg } from '@atlaskit/platform-feature-flags';
6
+ var buttonGroupStyle = null;
7
+
8
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- This rule thinks this isn't a `css()` call due to the name mapping
9
+ var buttonGroupStyleUnbounded = null;
10
+ var buttonGroupStyleBeforeVisualRefresh = null;
11
+
12
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- This rule thinks this isn't a `css()` call due to the name mapping
13
+ var buttonGroupStyleBeforeVisualRefreshUnbounded = null;
14
+ export function ToolbarButtonGroup(_ref) {
15
+ var children = _ref.children;
16
+ return /*#__PURE__*/React.createElement("span", {
17
+ className: ax([fg('platform-visual-refresh-icons') ? "_zulp1b66 _1e0c116y _4cvr1h6o" : "_1e0c116y _4cvr1h6o", fg('platform-visual-refresh-icons') ? "_11ko1txw _1p8dglyw _89rs1b66" : "_11ko1txw _1p8dglyw"])
18
+ }, children);
19
+ }