@atlaskit/editor-plugin-insert-block 1.9.2 → 1.10.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 (61) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/cjs/assets/action-list.js +79 -0
  3. package/dist/cjs/assets/approvals-tracker.js +66 -0
  4. package/dist/cjs/assets/decision-matrix.js +82 -0
  5. package/dist/cjs/assets/discussion-notes.js +82 -0
  6. package/dist/cjs/assets/expand.js +4 -3
  7. package/dist/cjs/assets/instructions-outline.js +73 -0
  8. package/dist/cjs/assets/switch.js +15 -19
  9. package/dist/cjs/assets/use-icon-themed.js +19 -0
  10. package/dist/cjs/plugin.js +35 -6
  11. package/dist/cjs/ui/ToolbarInsertBlock/dropdown-button.js +9 -23
  12. package/dist/cjs/ui/ToolbarInsertBlock/item.js +23 -36
  13. package/dist/cjs/ui/templateOptions.js +70 -0
  14. package/dist/cjs/ui/transformOptions.js +5 -1
  15. package/dist/es2019/assets/action-list.js +73 -0
  16. package/dist/es2019/assets/approvals-tracker.js +60 -0
  17. package/dist/es2019/assets/decision-matrix.js +76 -0
  18. package/dist/es2019/assets/discussion-notes.js +76 -0
  19. package/dist/es2019/assets/expand.js +5 -3
  20. package/dist/es2019/assets/instructions-outline.js +67 -0
  21. package/dist/es2019/assets/switch.js +14 -19
  22. package/dist/es2019/assets/use-icon-themed.js +15 -0
  23. package/dist/es2019/plugin.js +37 -10
  24. package/dist/es2019/ui/ToolbarInsertBlock/dropdown-button.js +7 -21
  25. package/dist/es2019/ui/ToolbarInsertBlock/item.js +20 -33
  26. package/dist/es2019/ui/templateOptions.js +53 -0
  27. package/dist/es2019/ui/transformOptions.js +5 -1
  28. package/dist/esm/assets/action-list.js +72 -0
  29. package/dist/esm/assets/approvals-tracker.js +59 -0
  30. package/dist/esm/assets/decision-matrix.js +75 -0
  31. package/dist/esm/assets/discussion-notes.js +75 -0
  32. package/dist/esm/assets/expand.js +4 -3
  33. package/dist/esm/assets/instructions-outline.js +66 -0
  34. package/dist/esm/assets/switch.js +14 -19
  35. package/dist/esm/assets/use-icon-themed.js +14 -0
  36. package/dist/esm/plugin.js +35 -6
  37. package/dist/esm/ui/ToolbarInsertBlock/dropdown-button.js +7 -21
  38. package/dist/esm/ui/ToolbarInsertBlock/item.js +20 -33
  39. package/dist/esm/ui/templateOptions.js +63 -0
  40. package/dist/esm/ui/transformOptions.js +5 -1
  41. package/dist/types/assets/action-list.d.ts +2 -0
  42. package/dist/types/assets/approvals-tracker.d.ts +2 -0
  43. package/dist/types/assets/decision-matrix.d.ts +2 -0
  44. package/dist/types/assets/discussion-notes.d.ts +2 -0
  45. package/dist/types/assets/expand.d.ts +3 -1
  46. package/dist/types/assets/instructions-outline.d.ts +2 -0
  47. package/dist/types/assets/switch.d.ts +6 -2
  48. package/dist/types/assets/use-icon-themed.d.ts +6 -0
  49. package/dist/types/ui/templateOptions.d.ts +2 -0
  50. package/dist/types/ui/transformOptions.d.ts +4 -1
  51. package/dist/types-ts4.5/assets/action-list.d.ts +2 -0
  52. package/dist/types-ts4.5/assets/approvals-tracker.d.ts +2 -0
  53. package/dist/types-ts4.5/assets/decision-matrix.d.ts +2 -0
  54. package/dist/types-ts4.5/assets/discussion-notes.d.ts +2 -0
  55. package/dist/types-ts4.5/assets/expand.d.ts +3 -1
  56. package/dist/types-ts4.5/assets/instructions-outline.d.ts +2 -0
  57. package/dist/types-ts4.5/assets/switch.d.ts +6 -2
  58. package/dist/types-ts4.5/assets/use-icon-themed.d.ts +6 -0
  59. package/dist/types-ts4.5/ui/templateOptions.d.ts +2 -0
  60. package/dist/types-ts4.5/ui/transformOptions.d.ts +4 -1
  61. package/package.json +8 -14
@@ -0,0 +1,67 @@
1
+ import React from 'react';
2
+ import { useIconThemed } from './use-icon-themed';
3
+ export default function InstructionsOutlineIcon() {
4
+ const {
5
+ iconThemed
6
+ } = useIconThemed();
7
+ return /*#__PURE__*/React.createElement("svg", {
8
+ width: "40",
9
+ height: "41",
10
+ viewBox: "0 0 40 41",
11
+ fill: "none",
12
+ xmlns: "http://www.w3.org/2000/svg"
13
+ }, /*#__PURE__*/React.createElement("g", {
14
+ clipPath: "url(#clip0_138_1254)"
15
+ }, /*#__PURE__*/React.createElement("rect", {
16
+ y: "0.259766",
17
+ width: "40",
18
+ height: "40",
19
+ rx: "3",
20
+ fill: iconThemed({
21
+ light: '#FFF',
22
+ dark: '#161A1D'
23
+ })
24
+ }), /*#__PURE__*/React.createElement("rect", {
25
+ x: "0.5",
26
+ y: "0.759766",
27
+ width: "39",
28
+ height: "39",
29
+ rx: "2.5",
30
+ stroke: "var(--ds-border, #091E42)",
31
+ strokeOpacity: "0.14"
32
+ })), /*#__PURE__*/React.createElement("path", {
33
+ fillRule: "evenodd",
34
+ clipRule: "evenodd",
35
+ d: "M12 18.2598C10.4087 18.2598 8.88258 17.6276 7.75736 16.5024C6.63214 15.3772 6 13.8511 6 12.2598C6 10.6685 6.63214 9.14234 7.75736 8.01713C8.88258 6.89191 10.4087 6.25977 12 6.25977C13.5913 6.25977 15.1174 6.89191 16.2426 8.01713C17.3679 9.14234 18 10.6685 18 12.2598C18 13.8511 17.3679 15.3772 16.2426 16.5024C15.1174 17.6276 13.5913 18.2598 12 18.2598ZM12 11.8848C11.8011 11.8848 11.6103 11.9638 11.4697 12.1044C11.329 12.2451 11.25 12.4359 11.25 12.6348V14.5098C11.25 14.7087 11.329 14.8994 11.4697 15.0401C11.6103 15.1807 11.8011 15.2598 12 15.2598C12.1989 15.2598 12.3897 15.1807 12.5303 15.0401C12.671 14.8994 12.75 14.7087 12.75 14.5098V12.6348C12.75 12.4359 12.671 12.2451 12.5303 12.1044C12.3897 11.9638 12.1989 11.8848 12 11.8848ZM12 11.041C12.2735 11.041 12.5358 10.9324 12.7292 10.739C12.9226 10.5456 13.0312 10.2833 13.0312 10.0098C13.0312 9.73626 12.9226 9.47396 12.7292 9.28056C12.5358 9.08716 12.2735 8.97852 12 8.97852C11.7265 8.97852 11.4642 9.08716 11.2708 9.28056C11.0774 9.47396 10.9688 9.73626 10.9688 10.0098C10.9688 10.2833 11.0774 10.5456 11.2708 10.739C11.4642 10.9324 11.7265 11.041 12 11.041Z",
36
+ fill: "#4D8CED"
37
+ }), /*#__PURE__*/React.createElement("rect", {
38
+ x: "6",
39
+ y: "22.2598",
40
+ width: "28",
41
+ height: "1",
42
+ rx: "0.5",
43
+ fill: "var(--ds-text-disabled, #A5ADBA)"
44
+ }), /*#__PURE__*/React.createElement("rect", {
45
+ x: "6",
46
+ y: "25.2598",
47
+ width: "28",
48
+ height: "1",
49
+ rx: "0.5",
50
+ fill: "var(--ds-text-disabled, #A5ADBA)"
51
+ }), /*#__PURE__*/React.createElement("rect", {
52
+ x: "6",
53
+ y: "28.2598",
54
+ width: "14",
55
+ height: "1",
56
+ rx: "0.5",
57
+ fill: "var(--ds-text-disabled, #A5ADBA)"
58
+ }), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
59
+ id: "clip0_138_1254"
60
+ }, /*#__PURE__*/React.createElement("rect", {
61
+ y: "0.259766",
62
+ width: "40",
63
+ height: "40",
64
+ rx: "3",
65
+ fill: "var(--ds-surface, #FFFFFF)"
66
+ }))));
67
+ }
@@ -1,23 +1,18 @@
1
- import React from 'react';
2
- import SVG from '@atlaskit/icon/svg';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
7
+ import { css, jsx } from '@emotion/react';
8
+ import RefreshIcon from '@atlaskit/icon/glyph/refresh';
9
+ const iconStyle = css({
10
+ transform: 'rotate(-90deg)'
11
+ });
3
12
  export default function SwitchIcon() {
4
- return /*#__PURE__*/React.createElement(SVG, {
13
+ return jsx("span", {
14
+ css: iconStyle
15
+ }, jsx(RefreshIcon, {
5
16
  label: ""
6
- }, /*#__PURE__*/React.createElement("path", {
7
- d: "M6.003 16H8.998C9.26322 16 9.51757 15.8947 9.70511 15.7071C9.89264 15.5196 9.998 15.2652 9.998 15C9.998 14.7348 9.89264 14.4805 9.70511 14.2929C9.51757 14.1054 9.26322 14 8.998 14H5.102C4.494 14 4 14.493 4 15.1V19C4 19.2656 4.10551 19.5204 4.29333 19.7082C4.48115 19.896 4.73589 20.0015 5.0015 20.0015C5.26711 20.0015 5.52185 19.896 5.70967 19.7082C5.89748 19.5204 6.003 19.2656 6.003 19V16Z",
8
- fill: "var(--ds-icon, #44546F)"
9
- }), /*#__PURE__*/React.createElement("path", {
10
- d: "M18.018 14.572C16.989 16.649 14.807 18 12.37 18C10.104 18 8.051 16.833 6.945 14.98C6.659 14.5 6.023 14.334 5.524 14.609C5.40677 14.6709 5.30331 14.7559 5.21991 14.8589C5.13651 14.9619 5.0749 15.0808 5.0388 15.2083C5.00271 15.3359 4.99289 15.4694 5.00994 15.6009C5.027 15.7323 5.07056 15.8589 5.138 15.973C6.611 18.443 9.35 20 12.37 20C15.618 20 18.528 18.198 19.899 15.43C20.146 14.932 19.925 14.335 19.406 14.098C18.886 13.861 18.265 14.073 18.018 14.572Z",
11
- fill: "var(--ds-icon, #44546F)"
12
- }), /*#__PURE__*/React.createElement("path", {
13
- fillRule: "evenodd",
14
- clipRule: "evenodd",
15
- d: "M15.002 10L18.898 10C19.506 10 20 9.50703 20 8.90003V5.00003C20 4.73441 19.8945 4.47968 19.7067 4.29186C19.5188 4.10404 19.2641 3.99853 18.9985 3.99853C18.7329 3.99853 18.4782 4.10404 18.2903 4.29186C18.1025 4.47968 17.997 4.73441 17.997 5.00003V8.00003H15.002C14.7368 8.00003 14.4824 8.10538 14.2949 8.29292C14.1074 8.48046 14.002 8.73481 14.002 9.00003C14.002 9.26524 14.1074 9.5196 14.2949 9.70713C14.4824 9.89467 14.7368 10 15.002 10Z",
16
- fill: "var(--ds-icon, #44546F)"
17
- }), /*#__PURE__*/React.createElement("path", {
18
- fillRule: "evenodd",
19
- clipRule: "evenodd",
20
- d: "M4.596 9.90303C5.116 10.14 5.736 9.92803 5.983 9.42903C7.012 7.35203 9.193 6.00103 11.63 6.00103C13.896 6.00103 15.95 7.16803 17.055 9.02203C17.1988 9.25438 17.4265 9.42245 17.6909 9.49135C17.9553 9.56024 18.2361 9.52468 18.475 9.39203C18.975 9.11803 19.148 8.50703 18.862 8.02803C17.389 5.55803 14.65 4.00103 11.63 4.00103C8.382 4.00103 5.472 5.80303 4.102 8.57103C4.03537 8.70353 4.00045 8.84971 4 8.99803C4.00188 9.1902 4.05909 9.37775 4.16479 9.53825C4.27049 9.69875 4.4202 9.8254 4.596 9.90303Z",
21
- fill: "var(--ds-icon, #44546F)"
22
17
  }));
23
18
  }
@@ -0,0 +1,15 @@
1
+ import { useThemeObserver } from '@atlaskit/tokens';
2
+
3
+ // Copy of platform/packages/editor/editor-common/src/quick-insert/use-icon-themed.tsx
4
+ // As per warning in the original file, this hook may not be suitable to be exported
5
+ // and we want to avoid making experiment-only icons public (i.e. move to @atlaskit/editor-common/quick-insert)
6
+ export const useIconThemed = () => {
7
+ const {
8
+ colorMode
9
+ } = useThemeObserver();
10
+ return {
11
+ iconThemed: colors => {
12
+ return colorMode && colorMode === 'dark' ? colors['dark'] : colors['light'];
13
+ }
14
+ };
15
+ };
@@ -1,12 +1,15 @@
1
1
  import React, { useLayoutEffect } from 'react';
2
2
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
3
3
  import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
4
+ import { contentAllowedInCodeBlock, shouldSplitSelectedNodeOnNodeInsertion } from '@atlaskit/editor-common/insert';
4
5
  import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
5
6
  import { WithProviders } from '@atlaskit/editor-common/provider-factory';
6
7
  import { ToolbarSize } from '@atlaskit/editor-common/types';
8
+ import { getWrappingOptions } from '@atlaskit/editor-common/utils';
7
9
  import { BLOCK_QUOTE, CODE_BLOCK, PANEL } from '@atlaskit/editor-plugin-block-type/consts';
8
10
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
9
11
  import SwitchIcon from './assets/switch';
12
+ import { templateOptions } from './ui/templateOptions';
10
13
  import ToolbarInsertBlock from './ui/ToolbarInsertBlock';
11
14
  import { transformationOptions } from './ui/transformOptions';
12
15
  const toolbarSizeToButtons = toolbarSize => {
@@ -115,14 +118,8 @@ export const insertBlockPlugin = ({
115
118
  // Experiment one-pager: https://hello.atlassian.net/wiki/spaces/ETM/pages/3931754727/Experiment+Elements+Basic+Text+Transformations
116
119
  selectionToolbar: (state, intl) => {
117
120
  var _api$featureFlags, _api$featureFlags$sha;
118
- const {
119
- selection: {
120
- $from
121
- }
122
- } = state;
123
- const isEligible =
124
- // basicTextTransformations is used to present AI enablement status to avoid adding editor props
125
- (api === null || api === void 0 ? void 0 : (_api$featureFlags = api.featureFlags) === null || _api$featureFlags === void 0 ? void 0 : (_api$featureFlags$sha = _api$featureFlags.sharedState.currentState()) === null || _api$featureFlags$sha === void 0 ? void 0 : _api$featureFlags$sha.basicTextTransformations) && $from.depth === 1;
121
+ const isEligible = // basicTextTransformations is used to present AI enablement status to avoid adding editor props
122
+ api === null || api === void 0 ? void 0 : (_api$featureFlags = api.featureFlags) === null || _api$featureFlags === void 0 ? void 0 : (_api$featureFlags$sha = _api$featureFlags.sharedState.currentState()) === null || _api$featureFlags$sha === void 0 ? void 0 : _api$featureFlags$sha.basicTextTransformations;
126
123
  if (!isEligible) {
127
124
  return;
128
125
  }
@@ -132,13 +129,31 @@ export const insertBlockPlugin = ({
132
129
  const {
133
130
  formatMessage
134
131
  } = intl;
135
- const options = transformationOptions(api).map(option => {
132
+ const options = transformationOptions(api, state.schema).map(option => {
133
+ let canWrap;
134
+ if (option.type.name === 'codeBlock') {
135
+ var _$from$node;
136
+ const {
137
+ $from
138
+ } = state.selection;
139
+ const grandParentNodeType = (_$from$node = $from.node(-1)) === null || _$from$node === void 0 ? void 0 : _$from$node.type;
140
+ const parentNodeType = $from.parent.type;
141
+ canWrap = shouldSplitSelectedNodeOnNodeInsertion({
142
+ parentNodeType,
143
+ grandParentNodeType,
144
+ content: option.type.createAndFill()
145
+ }) && contentAllowedInCodeBlock(state);
146
+ } else {
147
+ canWrap = !!getWrappingOptions(state, option.type).wrapping;
148
+ }
136
149
  const IconBefore = option.icon;
137
150
  return {
138
151
  title: formatMessage(option.title),
139
152
  icon: /*#__PURE__*/React.createElement(IconBefore, {
140
- label: ""
153
+ label: "",
154
+ disabled: !canWrap
141
155
  }),
156
+ disabled: !canWrap,
142
157
  onClick: (state, dispatch) => {
143
158
  var _option$command;
144
159
  (_option$command = option.command) === null || _option$command === void 0 ? void 0 : _option$command.call(option, INPUT_METHOD.FLOATING_TB)(state, dispatch);
@@ -156,6 +171,18 @@ export const insertBlockPlugin = ({
156
171
  rank: -9
157
172
  };
158
173
  }
174
+ },
175
+ // This is temporarily added for element level templates experiment.
176
+ // This is not the most ideal plugin to add this to, but it is suitable for experiment purpose
177
+ // If we decide to ship the feature, we will consider a separate plugin if needed.
178
+ // Experiment one-pager: https://hello.atlassian.net/wiki/spaces/ETM/pages/3983684902/Experiment+Drive+element+usage+via+element+templates
179
+ quickInsert: () => {
180
+ if (editorExperiment('element-level-templates', true, {
181
+ exposure: true
182
+ })) {
183
+ return templateOptions;
184
+ }
185
+ return [];
159
186
  }
160
187
  },
161
188
  usePluginHook: () => {
@@ -7,36 +7,22 @@ import React from 'react';
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
8
  import { jsx } from '@emotion/react';
9
9
  import { ToolTipContent } from '@atlaskit/editor-common/keymaps';
10
- import { expandIconWrapperStyle } from '@atlaskit/editor-common/styles';
11
10
  import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
12
11
  import AddIcon from '@atlaskit/icon/core/migration/add--editor-add';
13
- import ExpandIcon from '@atlaskit/icon/glyph/chevron-down';
14
- import { default as AddIconLegacy } from '@atlaskit/icon/glyph/editor/add';
15
12
  import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
16
- import { fg } from '@atlaskit/platform-feature-flags';
17
- import { expandWrapperStyle, triggerWrapper } from './styles';
13
+ import { triggerWrapper } from './styles';
18
14
  const DropDownButtonIcon = /*#__PURE__*/React.memo(props =>
19
15
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
20
16
  jsx("span", {
21
17
  css: triggerWrapper
22
- }, fg('platform_editor_migration_icon_and_typography') ? jsx(AddIcon, {
18
+ }, jsx(AddIcon, {
23
19
  label: props.label,
24
- color: "currentColor"
25
- }) : jsx(AddIconLegacy, {
26
- label: props.label
27
- }), fg('platform_editor_migration_icon_and_typography') ?
28
- //eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
29
- jsx("span", {
30
- css: expandWrapperStyle
31
- }, jsx(ChevronDownIcon, {
20
+ color: "currentColor",
21
+ spacing: "spacious"
22
+ }), jsx("span", null, jsx(ChevronDownIcon, {
32
23
  label: "",
33
- color: "currentColor"
34
- })) :
35
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
36
- jsx("span", {
37
- css: expandIconWrapperStyle
38
- }, jsx(ExpandIcon, {
39
- label: ""
24
+ color: "currentColor",
25
+ LEGACY_margin: "0 0 0 -8px"
40
26
  }))));
41
27
  export const DropDownButton = /*#__PURE__*/React.memo(props => jsx(ToolbarButton, {
42
28
  ref: props.handleRef,
@@ -14,32 +14,19 @@ import CalendarIcon from '@atlaskit/icon/core/migration/calendar--editor-date';
14
14
  import CheckboxCheckedIcon from '@atlaskit/icon/core/migration/checkbox-checked--editor-task';
15
15
  import DecisionIcon from '@atlaskit/icon/core/migration/decision--editor-decision';
16
16
  import EmojiIcon from '@atlaskit/icon/core/migration/emoji--editor-emoji';
17
+ import GridIcon from '@atlaskit/icon/core/migration/grid--editor-table';
17
18
  import ImageIcon from '@atlaskit/icon/core/migration/image--editor-image';
18
19
  import InformationIcon from '@atlaskit/icon/core/migration/information--editor-info';
19
20
  import LinkIcon from '@atlaskit/icon/core/migration/link--editor-link';
20
21
  import MentionIcon from '@atlaskit/icon/core/migration/mention--editor-mention';
21
22
  import QuotationMarkIcon from '@atlaskit/icon/core/migration/quotation-mark--quote';
22
23
  import ShowMoreHorizontalIcon from '@atlaskit/icon/core/migration/show-more-horizontal--editor-more';
23
- import ExpandIcon from '@atlaskit/icon/glyph/chevron-down';
24
- import ExpandNodeIcon from '@atlaskit/icon/glyph/chevron-right-circle';
25
- import CodeIcon from '@atlaskit/icon/glyph/editor/code';
26
- import DateIcon from '@atlaskit/icon/glyph/editor/date';
27
- import { default as DecisionIconLegacy } from '@atlaskit/icon/glyph/editor/decision';
28
- import { default as EmojiIconLegacy } from '@atlaskit/icon/glyph/editor/emoji';
29
24
  import HorizontalRuleIcon from '@atlaskit/icon/glyph/editor/horizontal-rule';
30
- import EditorImageIcon from '@atlaskit/icon/glyph/editor/image';
31
- import InfoIcon from '@atlaskit/icon/glyph/editor/info';
32
25
  import LayoutTwoEqualIcon from '@atlaskit/icon/glyph/editor/layout-two-equal';
33
- import { default as LinkIconLegacy } from '@atlaskit/icon/glyph/editor/link';
34
- import { default as MentionIconLegacy } from '@atlaskit/icon/glyph/editor/mention';
35
- import EditorMoreIcon from '@atlaskit/icon/glyph/editor/more';
36
- import TableIcon from '@atlaskit/icon/glyph/editor/table';
37
- import TaskIcon from '@atlaskit/icon/glyph/editor/task';
38
26
  import PlaceholderTextIcon from '@atlaskit/icon/glyph/media-services/text';
39
- import QuoteIcon from '@atlaskit/icon/glyph/quote';
40
27
  import StatusIcon from '@atlaskit/icon/glyph/status';
41
28
  import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
42
- import { fg } from '@atlaskit/platform-feature-flags';
29
+ import ExpandNodeIcon from '@atlaskit/icon/utility/migration/chevron-right--chevron-right-circle';
43
30
  import { shallowEquals } from './shallow-equals';
44
31
  const from = init => ({
45
32
  content: init.content,
@@ -48,7 +35,9 @@ const from = init => ({
48
35
  name: init.name
49
36
  },
50
37
  elemBefore: jsx(init.Icon, {
51
- label: ""
38
+ label: "",
39
+ color: "currentColor",
40
+ spacing: "spacious"
52
41
  }),
53
42
  elemAfter: init.shortcut ?
54
43
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
@@ -69,7 +58,7 @@ export const action = mem(init => {
69
58
  disabled: init.disabled,
70
59
  name: 'action',
71
60
  shortcut: '[]',
72
- Icon: fg('platform_editor_migration_icon_and_typography') ? CheckboxCheckedIcon : TaskIcon,
61
+ Icon: CheckboxCheckedIcon,
73
62
  'aria-keyshortcuts': '[ ] Space'
74
63
  });
75
64
  });
@@ -79,7 +68,7 @@ export const link = mem(init => from({
79
68
  disabled: init.disabled,
80
69
  name: 'link',
81
70
  shortcut: tooltip(addLink),
82
- Icon: fg('platform_editor_migration_icon_and_typography') ? LinkIcon : LinkIconLegacy,
71
+ Icon: LinkIcon,
83
72
  'aria-haspopup': init['aria-haspopup'],
84
73
  'aria-keyshortcuts': getAriaKeyshortcuts(addLink)
85
74
  }));
@@ -88,21 +77,21 @@ export const media = mem(init => from({
88
77
  tooltipDescription: init.tooltipDescription,
89
78
  disabled: init.disabled,
90
79
  name: 'media',
91
- Icon: fg('platform_editor_migration_icon_and_typography') ? ImageIcon : EditorImageIcon
80
+ Icon: ImageIcon
92
81
  }));
93
82
  export const imageUpload = mem(init => from({
94
83
  content: init.content,
95
84
  tooltipDescription: init.tooltipDescription,
96
85
  disabled: init.disabled,
97
86
  name: 'image upload',
98
- Icon: fg('platform_editor_migration_icon_and_typography') ? ImageIcon : EditorImageIcon
87
+ Icon: ImageIcon
99
88
  }));
100
89
  export const mention = mem(init => from({
101
90
  content: init.content,
102
91
  tooltipDescription: init.tooltipDescription,
103
92
  disabled: init.disabled,
104
93
  name: 'mention',
105
- Icon: fg('platform_editor_migration_icon_and_typography') ? MentionIcon : MentionIconLegacy,
94
+ Icon: MentionIcon,
106
95
  shortcut: '@',
107
96
  'aria-haspopup': init['aria-haspopup'],
108
97
  'aria-keyshortcuts': 'Shift+2 Space'
@@ -112,7 +101,7 @@ export const emoji = mem(init => from({
112
101
  tooltipDescription: init.tooltipDescription,
113
102
  disabled: init.disabled,
114
103
  name: 'emoji',
115
- Icon: fg('platform_editor_migration_icon_and_typography') ? EmojiIcon : EmojiIconLegacy,
104
+ Icon: EmojiIcon,
116
105
  shortcut: ':',
117
106
  'aria-haspopup': init['aria-haspopup'],
118
107
  'aria-keyshortcuts': 'Shift+;'
@@ -122,7 +111,7 @@ export const table = mem(init => from({
122
111
  tooltipDescription: init.tooltipDescription,
123
112
  disabled: init.disabled,
124
113
  name: 'table',
125
- Icon: TableIcon,
114
+ Icon: GridIcon,
126
115
  shortcut: tooltip(toggleTable),
127
116
  'aria-keyshortcuts': getAriaKeyshortcuts(toggleTable)
128
117
  }));
@@ -131,10 +120,10 @@ export const tableSelector = mem(init => from({
131
120
  tooltipDescription: init.tooltipDescription,
132
121
  disabled: init.disabled,
133
122
  name: 'table selector',
134
- Icon: fg('platform_editor_migration_icon_and_typography') ? () => jsx(ChevronDownIcon, {
123
+ Icon: () => jsx(ChevronDownIcon, {
135
124
  label: "",
136
125
  color: "currentColor"
137
- }) : ExpandIcon
126
+ })
138
127
  }));
139
128
  export const layout = mem(init => from({
140
129
  content: init.content,
@@ -148,7 +137,7 @@ export const codeblock = mem(init => from({
148
137
  tooltipDescription: init.tooltipDescription,
149
138
  disabled: init.disabled,
150
139
  name: 'codeblock',
151
- Icon: fg('platform_editor_migration_icon_and_typography') ? AngleBracketsIcon : CodeIcon,
140
+ Icon: AngleBracketsIcon,
152
141
  shortcut: init.shortcut,
153
142
  'aria-keyshortcuts': getAriaKeyshortcuts(init.shortcut)
154
143
  }));
@@ -157,7 +146,7 @@ export const panel = mem(init => from({
157
146
  tooltipDescription: init.tooltipDescription,
158
147
  disabled: init.disabled,
159
148
  name: 'panel',
160
- Icon: fg('platform_editor_migration_icon_and_typography') ? InformationIcon : InfoIcon,
149
+ Icon: InformationIcon,
161
150
  shortcut: init.shortcut,
162
151
  'aria-keyshortcuts': getAriaKeyshortcuts(init.shortcut)
163
152
  }));
@@ -166,7 +155,7 @@ export const blockquote = mem(init => from({
166
155
  tooltipDescription: init.tooltipDescription,
167
156
  disabled: init.disabled,
168
157
  name: 'blockquote',
169
- Icon: fg('platform_editor_migration_icon_and_typography') ? QuotationMarkIcon : QuoteIcon,
158
+ Icon: QuotationMarkIcon,
170
159
  shortcut: init.shortcut,
171
160
  'aria-keyshortcuts': 'Shift+. Space'
172
161
  }));
@@ -175,7 +164,7 @@ export const decision = mem(init => from({
175
164
  tooltipDescription: init.tooltipDescription,
176
165
  disabled: init.disabled,
177
166
  name: 'decision',
178
- Icon: fg('platform_editor_migration_icon_and_typography') ? DecisionIcon : DecisionIconLegacy,
167
+ Icon: DecisionIcon,
179
168
  shortcut: '<>',
180
169
  'aria-keyshortcuts': 'Shift+, Shift+. Space'
181
170
  }));
@@ -200,7 +189,7 @@ export const date = mem(init => from({
200
189
  tooltipDescription: init.tooltipDescription,
201
190
  disabled: init.disabled,
202
191
  name: 'date',
203
- Icon: fg('platform_editor_migration_icon_and_typography') ? CalendarIcon : DateIcon,
192
+ Icon: CalendarIcon,
204
193
  shortcut: '//',
205
194
  'aria-keyshortcuts': '/ / Enter'
206
195
  }));
@@ -225,10 +214,8 @@ export const more = mem(init => from({
225
214
  tooltipDescription: init.tooltipDescription,
226
215
  disabled: init.disabled,
227
216
  name: 'macro',
228
- Icon: () => fg('platform_editor_migration_icon_and_typography') ? jsx(ShowMoreHorizontalIcon, {
217
+ Icon: () => jsx(ShowMoreHorizontalIcon, {
229
218
  label: "",
230
219
  color: "currentColor"
231
- }) : jsx(EditorMoreIcon, {
232
- label: ""
233
220
  })
234
221
  }));
@@ -0,0 +1,53 @@
1
+ import React from 'react';
2
+ import ActionListIcon from '../assets/action-list';
3
+ import ApprovalsTrackerIcon from '../assets/approvals-tracker';
4
+ import DecisionMatrixIcon from '../assets/decision-matrix';
5
+ import DiscussionNotesIcon from '../assets/discussion-notes';
6
+ import InstructionsOutlineIcon from '../assets/instructions-outline';
7
+ export const templateOptions = [{
8
+ title: 'Discussion notes',
9
+ description: 'Record discussion points and action items',
10
+ keywords: ['decisions', 'summary', 'meeting', 'chat', 'debrief', 'track', 'keep track', 'tasks', 'outstanding items', 'owners'],
11
+ // Place templates right after AI item
12
+ priority: 99,
13
+ icon: () => /*#__PURE__*/React.createElement(DiscussionNotesIcon, null),
14
+ action: () => {
15
+ return false;
16
+ }
17
+ }, {
18
+ title: 'Approvals tracker',
19
+ description: 'Track reviewer approvals and dates',
20
+ keywords: ['reviews', 'requests', 'rejected requests', 'review dates', 'timeline', 'checklist', 'sme timeline', 'sme requests', 'sme check', 'table'],
21
+ priority: 99,
22
+ icon: () => /*#__PURE__*/React.createElement(ApprovalsTrackerIcon, null),
23
+ action: () => {
24
+ return false;
25
+ }
26
+ }, {
27
+ title: 'Decision matrix',
28
+ description: 'Compare options and make recommendations',
29
+ keywords: ['pros', 'cons', 'recommended', 'rationale', 'evaluation', 'options', 'choice', 'table'],
30
+ priority: 99,
31
+ icon: () => /*#__PURE__*/React.createElement(DecisionMatrixIcon, null),
32
+ action: () => {
33
+ return false;
34
+ }
35
+ }, {
36
+ title: 'List of actions',
37
+ description: 'Track tasks, assignees and deadlines',
38
+ keywords: ['checklist', 'check', 'items', 'shopping list', 'jtbd', 'jobs to be done', 'due date', 'progress', 'task', 'tasks', 'prioritization', 'timeline', 'approvals', 'reviewers', 'review date'],
39
+ priority: 99,
40
+ icon: () => /*#__PURE__*/React.createElement(ActionListIcon, null),
41
+ action: () => {
42
+ return false;
43
+ }
44
+ }, {
45
+ title: 'Instructions outline',
46
+ description: 'Detailed steps for any process',
47
+ keywords: ['steps', 'manual', 'tasks', 'jobs to be done', 'jtbd', 'how-to', 'guide', 'journey', 'checklist', 'tutorial', 'map', 'brochure', 'columns', 'layout', 'help'],
48
+ priority: 99,
49
+ icon: () => /*#__PURE__*/React.createElement(InstructionsOutlineIcon, null),
50
+ action: () => {
51
+ return false;
52
+ }
53
+ }];
@@ -3,21 +3,25 @@ import EditorCodeIcon from '@atlaskit/icon/glyph/editor/code';
3
3
  import EditorInfoIcon from '@atlaskit/icon/glyph/editor/info';
4
4
  import QuoteIcon from '@atlaskit/icon/glyph/quote';
5
5
  import ExpandIcon from '../assets/expand';
6
- export const transformationOptions = api => {
6
+ export const transformationOptions = (api, schema) => {
7
7
  var _api$panel, _api$expand, _api$codeBlock, _api$blockType;
8
8
  return [{
9
+ type: schema.nodes.panel,
9
10
  title: messages.panel,
10
11
  icon: EditorInfoIcon,
11
12
  command: api === null || api === void 0 ? void 0 : (_api$panel = api.panel) === null || _api$panel === void 0 ? void 0 : _api$panel.actions.insertPanel
12
13
  }, {
14
+ type: schema.nodes.expand,
13
15
  title: toolbarMessages.expand,
14
16
  icon: ExpandIcon,
15
17
  command: api === null || api === void 0 ? void 0 : (_api$expand = api.expand) === null || _api$expand === void 0 ? void 0 : _api$expand.actions.insertExpandWithInputMethod
16
18
  }, {
19
+ type: schema.nodes.codeBlock,
17
20
  title: messages.codeblock,
18
21
  icon: EditorCodeIcon,
19
22
  command: api === null || api === void 0 ? void 0 : (_api$codeBlock = api.codeBlock) === null || _api$codeBlock === void 0 ? void 0 : _api$codeBlock.actions.insertCodeBlock
20
23
  }, {
24
+ type: schema.nodes.blockquote,
21
25
  title: messages.blockquote,
22
26
  icon: QuoteIcon,
23
27
  command: api === null || api === void 0 ? void 0 : (_api$blockType = api.blockType) === null || _api$blockType === void 0 ? void 0 : _api$blockType.actions.insertBlockQuote
@@ -0,0 +1,72 @@
1
+ import React from 'react';
2
+ import { useIconThemed } from './use-icon-themed';
3
+ export default function ActionListIcon() {
4
+ var _useIconThemed = useIconThemed(),
5
+ iconThemed = _useIconThemed.iconThemed;
6
+ return /*#__PURE__*/React.createElement("svg", {
7
+ width: "40",
8
+ height: "41",
9
+ viewBox: "0 0 40 41",
10
+ fill: "none",
11
+ xmlns: "http://www.w3.org/2000/svg"
12
+ }, /*#__PURE__*/React.createElement("rect", {
13
+ width: "40",
14
+ height: "40",
15
+ transform: "translate(0 0.259766)",
16
+ fill: iconThemed({
17
+ light: '#FFF',
18
+ dark: '#161A1D'
19
+ })
20
+ }), /*#__PURE__*/React.createElement("rect", {
21
+ x: "0.5",
22
+ y: "0.759766",
23
+ width: "39",
24
+ height: "39",
25
+ rx: "2.5",
26
+ stroke: "var(--ds-border, #091E42)",
27
+ strokeOpacity: "0.14"
28
+ }), /*#__PURE__*/React.createElement("rect", {
29
+ x: "6",
30
+ y: "6.25973",
31
+ width: "8",
32
+ height: "8",
33
+ rx: "2",
34
+ fill: "var(--ds-background-selected-bold, #0052cc)"
35
+ }), /*#__PURE__*/React.createElement("path", {
36
+ fillRule: "evenodd",
37
+ clipRule: "evenodd",
38
+ d: "M9.04781 12.1515C9.23925 12.3585 9.5745 12.3366 9.7422 12.1099L12.2311 8.74617C12.3921 8.52857 12.3594 8.21106 12.1582 8.03698C11.9569 7.8629 11.6633 7.89818 11.5023 8.11578L9.33981 11.0401L8.46333 10.0924C8.28109 9.8954 7.98561 9.8954 7.80337 10.0924C7.62113 10.2895 7.62113 10.609 7.80337 10.806L9.04781 12.1515Z",
39
+ fill: "var(--ds-icon-inverse, #FFFFFF)"
40
+ }), /*#__PURE__*/React.createElement("path", {
41
+ d: "M17 10.2597C17 9.70744 17.4477 9.25973 18 9.25973H33C33.5523 9.25973 34 9.70744 34 10.2597C34 10.812 33.5523 11.2597 33 11.2597H18C17.4477 11.2597 17 10.812 17 10.2597Z",
42
+ fill: "var(--ds-background-accent-gray-subtler, #DCDFE4)"
43
+ }), /*#__PURE__*/React.createElement("rect", {
44
+ x: "6",
45
+ y: "16.2597",
46
+ width: "8",
47
+ height: "8",
48
+ rx: "2",
49
+ fill: "var(--ds-background-selected-bold, #0052cc)"
50
+ }), /*#__PURE__*/React.createElement("path", {
51
+ fillRule: "evenodd",
52
+ clipRule: "evenodd",
53
+ d: "M9.04781 22.1515C9.23925 22.3585 9.5745 22.3366 9.7422 22.1099L12.2311 18.7462C12.3921 18.5286 12.3594 18.2111 12.1582 18.037C11.9569 17.8629 11.6633 17.8982 11.5023 18.1158L9.33981 21.0401L8.46333 20.0924C8.28109 19.8954 7.98561 19.8954 7.80337 20.0924C7.62113 20.2895 7.62113 20.609 7.80337 20.806L9.04781 22.1515Z",
54
+ fill: "var(--ds-icon-inverse, #FFFFFF)"
55
+ }), /*#__PURE__*/React.createElement("path", {
56
+ d: "M17 20.2597C17 19.7074 17.4477 19.2597 18 19.2597H33C33.5523 19.2597 34 19.7074 34 20.2597C34 20.812 33.5523 21.2597 33 21.2597H18C17.4477 21.2597 17 20.812 17 20.2597Z",
57
+ fill: "var(--ds-background-accent-gray-subtler, #DCDFE4)"
58
+ }), /*#__PURE__*/React.createElement("rect", {
59
+ x: "6",
60
+ y: "26.2597",
61
+ width: "8",
62
+ height: "8",
63
+ rx: "2",
64
+ fill: iconThemed({
65
+ light: '#ECEDF0',
66
+ dark: '#454F59'
67
+ })
68
+ }), /*#__PURE__*/React.createElement("path", {
69
+ d: "M17 30.2597C17 29.7074 17.4477 29.2597 18 29.2597H33C33.5523 29.2597 34 29.7074 34 30.2597C34 30.812 33.5523 31.2597 33 31.2597H18C17.4477 31.2597 17 30.812 17 30.2597Z",
70
+ fill: "var(--ds-background-accent-gray-subtler, #DCDFE4)"
71
+ }));
72
+ }
@@ -0,0 +1,59 @@
1
+ import React from 'react';
2
+ import { useIconThemed } from './use-icon-themed';
3
+ export default function ApprovalsTrackerIcon() {
4
+ var _useIconThemed = useIconThemed(),
5
+ iconThemed = _useIconThemed.iconThemed;
6
+ return /*#__PURE__*/React.createElement("svg", {
7
+ width: "40",
8
+ height: "41",
9
+ viewBox: "0 0 40 41",
10
+ fill: "none",
11
+ xmlns: "http://www.w3.org/2000/svg"
12
+ }, /*#__PURE__*/React.createElement("g", {
13
+ clipPath: "url(#clip0_138_1349)"
14
+ }, /*#__PURE__*/React.createElement("rect", {
15
+ x: "0.5",
16
+ y: "0.759766",
17
+ width: "39",
18
+ height: "39",
19
+ rx: "2.5",
20
+ stroke: "var(--ds-border, #091E42)",
21
+ strokeOpacity: "0.14"
22
+ }), /*#__PURE__*/React.createElement("rect", {
23
+ width: "40",
24
+ height: "40",
25
+ fill: iconThemed({
26
+ light: '#FFF',
27
+ dark: '#161A1D'
28
+ })
29
+ }), /*#__PURE__*/React.createElement("path", {
30
+ d: "M9.25805 12.3098C9.22075 12.2714 9.17611 12.2409 9.12679 12.22C9.07747 12.1992 9.02447 12.1884 8.97092 12.1884C8.91738 12.1884 8.86437 12.1992 8.81505 12.22C8.76573 12.2409 8.7211 12.2714 8.68379 12.3098L8.12 12.8744C8.08219 12.9118 8.05213 12.9562 8.03154 13.0052C8.01094 13.0542 8.00023 13.1067 8 13.1599C7.99978 13.213 8.01005 13.2656 8.03023 13.3148C8.0504 13.3639 8.08009 13.4086 8.11758 13.4463L11.1025 16.432C11.1777 16.5071 11.2796 16.5495 11.3859 16.55C11.4922 16.5504 11.5944 16.5089 11.6703 16.4344L17.8817 10.223C17.9196 10.1857 17.9496 10.1411 17.9699 10.0919C17.9902 10.0428 18.0004 9.99004 18 9.93685C17.9995 9.88366 17.9884 9.83111 17.9673 9.7823C17.9461 9.7335 17.9154 9.68945 17.8768 9.65275L17.3131 9.08896C17.2753 9.05112 17.2305 9.02109 17.1812 9.0006C17.1318 8.98011 17.0789 8.96957 17.0255 8.96957C16.9721 8.96957 16.9192 8.98011 16.8699 9.0006C16.8205 9.02109 16.7757 9.05112 16.738 9.08896L11.6751 14.1518C11.5988 14.2276 11.4956 14.2702 11.388 14.2702C11.2804 14.2702 11.1772 14.2276 11.1009 14.1518L9.25805 12.3098Z",
31
+ fill: "var(--ds-icon-subtle, #626F86)"
32
+ }), /*#__PURE__*/React.createElement("path", {
33
+ d: "M21 12.7598C21 9.44606 23.6863 6.75977 27 6.75977H39V18.7598H27C23.6863 18.7598 21 16.0735 21 12.7598Z",
34
+ fill: "var(--ds-background-accent-gray-subtlest, #F1F2F4)"
35
+ }), /*#__PURE__*/React.createElement("path", {
36
+ fillRule: "evenodd",
37
+ clipRule: "evenodd",
38
+ d: "M31.0354 13.8626C30.5189 13.8626 30.2063 13.4432 30.2063 12.7512C30.2063 12.0506 30.5137 11.6358 31.044 11.6358C31.5743 11.6358 31.8566 12.0723 31.8566 12.7598C31.8566 13.4426 31.5697 13.8626 31.0349 13.8626H31.0354ZM31 8.75977C28.7571 8.75977 27 10.5169 27 12.7598C27 15.3861 29.0126 16.7598 31 16.7598C31.4994 16.7598 31.9223 16.7083 32.2914 16.6003C32.3953 16.5641 32.4813 16.4894 32.5317 16.3917C32.582 16.2939 32.5929 16.1805 32.5622 16.0749C32.5314 15.9694 32.4612 15.8796 32.3662 15.8243C32.2711 15.7689 32.1585 15.7522 32.0514 15.7775C31.7611 15.8615 31.4171 15.9032 31 15.9032C29.4869 15.9032 27.8571 14.9192 27.8571 12.7603C27.8571 10.9975 29.2383 9.61748 31 9.61748C32.8514 9.61748 34.1429 10.7329 34.1429 12.3318C34.1429 13.5003 33.5469 14.0461 33.144 14.0461C33.1394 14.0461 32.7143 13.9832 32.7143 13.6175V11.3318C32.7143 11.2181 32.6691 11.1091 32.5888 11.0287C32.5084 10.9483 32.3994 10.9032 32.2857 10.9032C32.1721 10.9032 32.063 10.9483 31.9827 11.0287C31.9023 11.1091 31.8571 11.2181 31.8571 11.3318V11.4386C31.6594 11.1043 31.2766 10.8946 30.8314 10.8946C29.9154 10.8946 29.2857 11.6398 29.2857 12.7243C29.2857 13.8581 29.916 14.6169 30.8589 14.6169C31.3531 14.6169 31.7217 14.3958 31.9246 14.0021C32.1154 14.5826 32.7074 14.9026 33.1429 14.9026C34.056 14.9026 35 13.9409 35 12.3312C35 10.2615 33.3189 8.75977 31 8.75977Z",
39
+ fill: "var(--ds-background-accent-gray-subtler-pressed, #8590A2)"
40
+ }), /*#__PURE__*/React.createElement("path", {
41
+ d: "M9.25805 27.3098C9.22075 27.2714 9.17611 27.2409 9.12679 27.22C9.07747 27.1992 9.02447 27.1884 8.97092 27.1884C8.91738 27.1884 8.86437 27.1992 8.81505 27.22C8.76573 27.2409 8.7211 27.2714 8.68379 27.3098L8.12 27.8744C8.08219 27.9118 8.05213 27.9562 8.03154 28.0052C8.01094 28.0542 8.00023 28.1067 8 28.1599C7.99978 28.213 8.01005 28.2656 8.03023 28.3148C8.0504 28.3639 8.08009 28.4086 8.11758 28.4463L11.1025 31.432C11.1777 31.5071 11.2796 31.5495 11.3859 31.55C11.4922 31.5504 11.5944 31.5089 11.6703 31.4344L17.8817 25.223C17.9196 25.1857 17.9496 25.1411 17.9699 25.0919C17.9902 25.0428 18.0004 24.99 18 24.9368C17.9995 24.8837 17.9884 24.8311 17.9673 24.7823C17.9461 24.7335 17.9154 24.6894 17.8768 24.6528L17.3131 24.089C17.2753 24.0511 17.2305 24.0211 17.1812 24.0006C17.1318 23.9801 17.0789 23.9696 17.0255 23.9696C16.9721 23.9696 16.9192 23.9801 16.8699 24.0006C16.8205 24.0211 16.7757 24.0511 16.738 24.089L11.6751 29.1518C11.5988 29.2276 11.4956 29.2702 11.388 29.2702C11.2804 29.2702 11.1772 29.2276 11.1009 29.1518L9.25805 27.3098Z",
42
+ fill: "var(--ds-icon-subtle, #626F86)"
43
+ }), /*#__PURE__*/React.createElement("path", {
44
+ d: "M21 27.7598C21 24.4461 23.6863 21.7598 27 21.7598H39V33.7598H27C23.6863 33.7598 21 31.0735 21 27.7598Z",
45
+ fill: "var(--ds-background-accent-gray-subtlest, #F1F2F4)"
46
+ }), /*#__PURE__*/React.createElement("path", {
47
+ fillRule: "evenodd",
48
+ clipRule: "evenodd",
49
+ d: "M31.0354 28.8626C30.5189 28.8626 30.2063 28.4432 30.2063 27.7512C30.2063 27.0506 30.5137 26.6358 31.044 26.6358C31.5743 26.6358 31.8566 27.0723 31.8566 27.7598C31.8566 28.4426 31.5697 28.8626 31.0349 28.8626H31.0354ZM31 23.7598C28.7571 23.7598 27 25.5169 27 27.7598C27 30.3861 29.0126 31.7598 31 31.7598C31.4994 31.7598 31.9223 31.7083 32.2914 31.6003C32.3953 31.5641 32.4813 31.4894 32.5317 31.3917C32.582 31.2939 32.5929 31.1805 32.5622 31.0749C32.5314 30.9694 32.4612 30.8796 32.3662 30.8243C32.2711 30.7689 32.1585 30.7522 32.0514 30.7775C31.7611 30.8615 31.4171 30.9032 31 30.9032C29.4869 30.9032 27.8571 29.9192 27.8571 27.7603C27.8571 25.9975 29.2383 24.6175 31 24.6175C32.8514 24.6175 34.1429 25.7329 34.1429 27.3318C34.1429 28.5003 33.5469 29.0461 33.144 29.0461C33.1394 29.0461 32.7143 28.9832 32.7143 28.6175V26.3318C32.7143 26.2181 32.6691 26.1091 32.5888 26.0287C32.5084 25.9483 32.3994 25.9032 32.2857 25.9032C32.1721 25.9032 32.063 25.9483 31.9827 26.0287C31.9023 26.1091 31.8571 26.2181 31.8571 26.3318V26.4386C31.6594 26.1043 31.2766 25.8946 30.8314 25.8946C29.9154 25.8946 29.2857 26.6398 29.2857 27.7243C29.2857 28.8581 29.916 29.6169 30.8589 29.6169C31.3531 29.6169 31.7217 29.3958 31.9246 29.0021C32.1154 29.5826 32.7074 29.9026 33.1429 29.9026C34.056 29.9026 35 28.9409 35 27.3312C35 25.2615 33.3189 23.7598 31 23.7598Z",
50
+ fill: "var(--ds-background-accent-gray-subtler-pressed, #8590A2)"
51
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
52
+ id: "clip0_138_1349"
53
+ }, /*#__PURE__*/React.createElement("rect", {
54
+ width: "40",
55
+ height: "40",
56
+ fill: "var(--ds-icon-inverse, #FFFFFF)",
57
+ transform: "translate(0 0.259766)"
58
+ }))));
59
+ }