@atlaskit/editor-plugin-insert-block 3.0.13 → 3.1.0

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 (48) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/cjs/insertBlockPlugin.js +2 -20
  3. package/dist/cjs/ui/ElementBrowser/InsertMenu.js +3 -15
  4. package/dist/es2019/insertBlockPlugin.js +2 -22
  5. package/dist/es2019/ui/ElementBrowser/InsertMenu.js +3 -15
  6. package/dist/esm/insertBlockPlugin.js +2 -20
  7. package/dist/esm/ui/ElementBrowser/InsertMenu.js +3 -15
  8. package/package.json +5 -5
  9. package/dist/cjs/ui/assets/action-list.js +0 -79
  10. package/dist/cjs/ui/assets/approvals-tracker.js +0 -66
  11. package/dist/cjs/ui/assets/decision-matrix.js +0 -82
  12. package/dist/cjs/ui/assets/discussion-notes.js +0 -82
  13. package/dist/cjs/ui/assets/instructions-outline.js +0 -73
  14. package/dist/cjs/ui/assets/use-icon-themed.js +0 -19
  15. package/dist/cjs/ui/templateOptions.js +0 -141
  16. package/dist/cjs/ui/templates.js +0 -1130
  17. package/dist/es2019/ui/assets/action-list.js +0 -73
  18. package/dist/es2019/ui/assets/approvals-tracker.js +0 -60
  19. package/dist/es2019/ui/assets/decision-matrix.js +0 -76
  20. package/dist/es2019/ui/assets/discussion-notes.js +0 -76
  21. package/dist/es2019/ui/assets/instructions-outline.js +0 -67
  22. package/dist/es2019/ui/assets/use-icon-themed.js +0 -15
  23. package/dist/es2019/ui/templateOptions.js +0 -120
  24. package/dist/es2019/ui/templates.js +0 -1118
  25. package/dist/esm/ui/assets/action-list.js +0 -72
  26. package/dist/esm/ui/assets/approvals-tracker.js +0 -59
  27. package/dist/esm/ui/assets/decision-matrix.js +0 -75
  28. package/dist/esm/ui/assets/discussion-notes.js +0 -75
  29. package/dist/esm/ui/assets/instructions-outline.js +0 -66
  30. package/dist/esm/ui/assets/use-icon-themed.js +0 -14
  31. package/dist/esm/ui/templateOptions.js +0 -134
  32. package/dist/esm/ui/templates.js +0 -1124
  33. package/dist/types/ui/assets/action-list.d.ts +0 -2
  34. package/dist/types/ui/assets/approvals-tracker.d.ts +0 -2
  35. package/dist/types/ui/assets/decision-matrix.d.ts +0 -2
  36. package/dist/types/ui/assets/discussion-notes.d.ts +0 -2
  37. package/dist/types/ui/assets/instructions-outline.d.ts +0 -2
  38. package/dist/types/ui/assets/use-icon-themed.d.ts +0 -6
  39. package/dist/types/ui/templateOptions.d.ts +0 -4
  40. package/dist/types/ui/templates.d.ts +0 -522
  41. package/dist/types-ts4.5/ui/assets/action-list.d.ts +0 -2
  42. package/dist/types-ts4.5/ui/assets/approvals-tracker.d.ts +0 -2
  43. package/dist/types-ts4.5/ui/assets/decision-matrix.d.ts +0 -2
  44. package/dist/types-ts4.5/ui/assets/discussion-notes.d.ts +0 -2
  45. package/dist/types-ts4.5/ui/assets/instructions-outline.d.ts +0 -2
  46. package/dist/types-ts4.5/ui/assets/use-icon-themed.d.ts +0 -6
  47. package/dist/types-ts4.5/ui/templateOptions.d.ts +0 -4
  48. package/dist/types-ts4.5/ui/templates.d.ts +0 -522
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/editor-plugin-insert-block
2
2
 
3
+ ## 3.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#130262](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/130262)
8
+ [`236c73af67c7b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/236c73af67c7b) -
9
+ [ED-24873] This change is cleaning up code from the element templates experiment
10
+ `platform_editor_element_level_templates`.
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 3.0.13
4
17
 
5
18
  ### Patch Changes
@@ -23,7 +23,6 @@ var _elementBrowser2 = require("./pm-plugins/elementBrowser");
23
23
  var _toggleInsertBlock = require("./pm-plugins/toggleInsertBlock");
24
24
  var _switch = _interopRequireDefault(require("./ui/assets/switch"));
25
25
  var _ElementRail = require("./ui/ElementRail");
26
- var _templateOptions = require("./ui/templateOptions");
27
26
  var _ToolbarInsertBlock = _interopRequireDefault(require("./ui/ToolbarInsertBlock"));
28
27
  var _transformOptions = require("./ui/transformOptions");
29
28
  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); }
@@ -111,7 +110,7 @@ function delayUntilIdle(cb) {
111
110
  });
112
111
  }
113
112
  var insertBlockPlugin = exports.insertBlockPlugin = function insertBlockPlugin(_ref) {
114
- var _api$primaryToolbar, _options$appearance4;
113
+ var _api$primaryToolbar, _options$appearance3;
115
114
  var _ref$config = _ref.config,
116
115
  options = _ref$config === void 0 ? {} : _ref$config,
117
116
  api = _ref.api;
@@ -287,30 +286,13 @@ var insertBlockPlugin = exports.insertBlockPlugin = function insertBlockPlugin(_
287
286
  rank: -9
288
287
  };
289
288
  }
290
- },
291
- // This is temporarily added for element level templates experiment.
292
- // This is not the most ideal plugin to add this to, but it is suitable for experiment purpose
293
- // If we decide to ship the feature, we will consider a separate plugin if needed.
294
- // Experiment one-pager: https://hello.atlassian.net/wiki/spaces/ETM/pages/3983684902/Experiment+Drive+element+usage+via+element+templates
295
- quickInsert: function quickInsert(intl) {
296
- var _options$appearance3;
297
- var locale = intl.locale;
298
- var isEligible = locale.startsWith('en') &&
299
- // @ts-ignore
300
- ['full-page', 'full-width'].includes((_options$appearance3 = options.appearance) !== null && _options$appearance3 !== void 0 ? _options$appearance3 : '');
301
- if (isEligible && (0, _experiments.editorExperiment)('element-level-templates', true, {
302
- exposure: true
303
- })) {
304
- return (0, _templateOptions.templateOptions)(api);
305
- }
306
- return [];
307
289
  }
308
290
  },
309
291
  primaryToolbarComponent: !(api !== null && api !== void 0 && api.primaryToolbar) ? primaryToolbarComponent : undefined
310
292
  };
311
293
  if (
312
294
  // @ts-ignore
313
- ['full-page', 'full-width'].includes((_options$appearance4 = options.appearance) !== null && _options$appearance4 !== void 0 ? _options$appearance4 : '') && (0, _experiments.editorExperiment)('insert-menu-in-right-rail', true)) {
295
+ ['full-page', 'full-width'].includes((_options$appearance3 = options.appearance) !== null && _options$appearance3 !== void 0 ? _options$appearance3 : '') && (0, _experiments.editorExperiment)('insert-menu-in-right-rail', true)) {
314
296
  // Ignored via go/ees005
315
297
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
316
298
  plugin.pluginsOptions.contextPanel = function (state) {
@@ -133,29 +133,17 @@ var InsertMenu = function InsertMenu(_ref) {
133
133
  var _pluginInjectionApi$q5, _pluginInjectionApi$q6;
134
134
  var featuredQuickInsertSuggestions = (_pluginInjectionApi$q5 = pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$q6 = pluginInjectionApi.quickInsert) === null || _pluginInjectionApi$q6 === void 0 || (_pluginInjectionApi$q6 = _pluginInjectionApi$q6.actions.getSuggestions({
135
135
  category: category,
136
- featuredItems: true,
137
- // @ts-ignore
138
- templateItems: isFullPageAppearance && (0, _experiments.editorExperiment)('element-level-templates', true)
136
+ featuredItems: true
139
137
  })) === null || _pluginInjectionApi$q6 === void 0 ? void 0 : _pluginInjectionApi$q6.map(function (item) {
140
138
  return (connectivityState === null || connectivityState === void 0 ? void 0 : connectivityState.mode) === 'offline' && item.isDisabledOffline ? _objectSpread(_objectSpread({}, item), {}, {
141
139
  isDisabled: true
142
140
  }) : item;
143
141
  })) !== null && _pluginInjectionApi$q5 !== void 0 ? _pluginInjectionApi$q5 : [];
144
- if (isFullPageAppearance && (0, _experiments.editorExperiment)('element-level-templates', true)) {
145
- // Make sure template options appear as top 5 items
146
- featuredQuickInsertSuggestions.sort(function (a, b) {
147
- var _b$priority, _a$priority;
148
- return ((_b$priority = b.priority) !== null && _b$priority !== void 0 ? _b$priority : 0) - ((_a$priority = a.priority) !== null && _a$priority !== void 0 ? _a$priority : 0);
149
- });
150
- var templateItems = featuredQuickInsertSuggestions.splice(0, 5);
151
- result = [].concat((0, _toConsumableArray2.default)(templateItems), (0, _toConsumableArray2.default)(quickInsertDropdownItems), (0, _toConsumableArray2.default)(featuredQuickInsertSuggestions));
152
- } else {
153
- result = quickInsertDropdownItems.concat(featuredQuickInsertSuggestions);
154
- }
142
+ result = quickInsertDropdownItems.concat(featuredQuickInsertSuggestions);
155
143
  }
156
144
  setItemCount(result.length);
157
145
  return result;
158
- }, [pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$q7 = pluginInjectionApi.quickInsert) === null || _pluginInjectionApi$q7 === void 0 ? void 0 : _pluginInjectionApi$q7.actions, quickInsertDropdownItems, isFullPageAppearance, connectivityState]);
146
+ }, [pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$q7 = pluginInjectionApi.quickInsert) === null || _pluginInjectionApi$q7 === void 0 ? void 0 : _pluginInjectionApi$q7.actions, quickInsertDropdownItems, connectivityState]);
159
147
  var emptyStateHandler = pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$q8 = pluginInjectionApi.quickInsert) === null || _pluginInjectionApi$q8 === void 0 || (_pluginInjectionApi$q8 = _pluginInjectionApi$q8.sharedState.currentState()) === null || _pluginInjectionApi$q8 === void 0 ? void 0 : _pluginInjectionApi$q8.emptyStateHandler;
160
148
 
161
149
  /**
@@ -15,7 +15,6 @@ import { elementBrowserPmKey, elementBrowserPmPlugin } from './pm-plugins/elemen
15
15
  import { toggleInsertBlockPmKey, toggleInsertBlockPmPlugin } from './pm-plugins/toggleInsertBlock';
16
16
  import SwitchIcon from './ui/assets/switch';
17
17
  import { InsertMenuRail } from './ui/ElementRail';
18
- import { templateOptions } from './ui/templateOptions';
19
18
  // Ignored via go/ees005
20
19
  // eslint-disable-next-line import/no-named-as-default
21
20
  import ToolbarInsertBlock from './ui/ToolbarInsertBlock';
@@ -97,7 +96,7 @@ export const insertBlockPlugin = ({
97
96
  config: options = {},
98
97
  api
99
98
  }) => {
100
- var _api$primaryToolbar, _options$appearance4;
99
+ var _api$primaryToolbar, _options$appearance3;
101
100
  const editorViewRef = {
102
101
  current: null
103
102
  };
@@ -272,32 +271,13 @@ export const insertBlockPlugin = ({
272
271
  rank: -9
273
272
  };
274
273
  }
275
- },
276
- // This is temporarily added for element level templates experiment.
277
- // This is not the most ideal plugin to add this to, but it is suitable for experiment purpose
278
- // If we decide to ship the feature, we will consider a separate plugin if needed.
279
- // Experiment one-pager: https://hello.atlassian.net/wiki/spaces/ETM/pages/3983684902/Experiment+Drive+element+usage+via+element+templates
280
- quickInsert: intl => {
281
- var _options$appearance3;
282
- const {
283
- locale
284
- } = intl;
285
- const isEligible = locale.startsWith('en') &&
286
- // @ts-ignore
287
- ['full-page', 'full-width'].includes((_options$appearance3 = options.appearance) !== null && _options$appearance3 !== void 0 ? _options$appearance3 : '');
288
- if (isEligible && editorExperiment('element-level-templates', true, {
289
- exposure: true
290
- })) {
291
- return templateOptions(api);
292
- }
293
- return [];
294
274
  }
295
275
  },
296
276
  primaryToolbarComponent: !(api !== null && api !== void 0 && api.primaryToolbar) ? primaryToolbarComponent : undefined
297
277
  };
298
278
  if (
299
279
  // @ts-ignore
300
- ['full-page', 'full-width'].includes((_options$appearance4 = options.appearance) !== null && _options$appearance4 !== void 0 ? _options$appearance4 : '') && editorExperiment('insert-menu-in-right-rail', true)) {
280
+ ['full-page', 'full-width'].includes((_options$appearance3 = options.appearance) !== null && _options$appearance3 !== void 0 ? _options$appearance3 : '') && editorExperiment('insert-menu-in-right-rail', true)) {
301
281
  // Ignored via go/ees005
302
282
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
303
283
  plugin.pluginsOptions.contextPanel = state => {
@@ -110,28 +110,16 @@ const InsertMenu = ({
110
110
  var _pluginInjectionApi$q6, _pluginInjectionApi$q7, _pluginInjectionApi$q8;
111
111
  const featuredQuickInsertSuggestions = (_pluginInjectionApi$q6 = pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$q7 = pluginInjectionApi.quickInsert) === null || _pluginInjectionApi$q7 === void 0 ? void 0 : (_pluginInjectionApi$q8 = _pluginInjectionApi$q7.actions.getSuggestions({
112
112
  category,
113
- featuredItems: true,
114
- // @ts-ignore
115
- templateItems: isFullPageAppearance && editorExperiment('element-level-templates', true)
113
+ featuredItems: true
116
114
  })) === null || _pluginInjectionApi$q8 === void 0 ? void 0 : _pluginInjectionApi$q8.map(item => (connectivityState === null || connectivityState === void 0 ? void 0 : connectivityState.mode) === 'offline' && item.isDisabledOffline ? {
117
115
  ...item,
118
116
  isDisabled: true
119
117
  } : item)) !== null && _pluginInjectionApi$q6 !== void 0 ? _pluginInjectionApi$q6 : [];
120
- if (isFullPageAppearance && editorExperiment('element-level-templates', true)) {
121
- // Make sure template options appear as top 5 items
122
- featuredQuickInsertSuggestions.sort((a, b) => {
123
- var _b$priority, _a$priority;
124
- return ((_b$priority = b.priority) !== null && _b$priority !== void 0 ? _b$priority : 0) - ((_a$priority = a.priority) !== null && _a$priority !== void 0 ? _a$priority : 0);
125
- });
126
- const templateItems = featuredQuickInsertSuggestions.splice(0, 5);
127
- result = [...templateItems, ...quickInsertDropdownItems, ...featuredQuickInsertSuggestions];
128
- } else {
129
- result = quickInsertDropdownItems.concat(featuredQuickInsertSuggestions);
130
- }
118
+ result = quickInsertDropdownItems.concat(featuredQuickInsertSuggestions);
131
119
  }
132
120
  setItemCount(result.length);
133
121
  return result;
134
- }, [pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$q9 = pluginInjectionApi.quickInsert) === null || _pluginInjectionApi$q9 === void 0 ? void 0 : _pluginInjectionApi$q9.actions, quickInsertDropdownItems, isFullPageAppearance, connectivityState]);
122
+ }, [pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$q9 = pluginInjectionApi.quickInsert) === null || _pluginInjectionApi$q9 === void 0 ? void 0 : _pluginInjectionApi$q9.actions, quickInsertDropdownItems, connectivityState]);
135
123
  const emptyStateHandler = pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$q10 = pluginInjectionApi.quickInsert) === null || _pluginInjectionApi$q10 === void 0 ? void 0 : (_pluginInjectionApi$q11 = _pluginInjectionApi$q10.sharedState.currentState()) === null || _pluginInjectionApi$q11 === void 0 ? void 0 : _pluginInjectionApi$q11.emptyStateHandler;
136
124
 
137
125
  /**
@@ -15,7 +15,6 @@ import { elementBrowserPmKey, elementBrowserPmPlugin } from './pm-plugins/elemen
15
15
  import { toggleInsertBlockPmKey, toggleInsertBlockPmPlugin } from './pm-plugins/toggleInsertBlock';
16
16
  import SwitchIcon from './ui/assets/switch';
17
17
  import { InsertMenuRail } from './ui/ElementRail';
18
- import { templateOptions } from './ui/templateOptions';
19
18
  // Ignored via go/ees005
20
19
  // eslint-disable-next-line import/no-named-as-default
21
20
  import ToolbarInsertBlock from './ui/ToolbarInsertBlock';
@@ -100,7 +99,7 @@ function delayUntilIdle(cb) {
100
99
  });
101
100
  }
102
101
  export var insertBlockPlugin = function insertBlockPlugin(_ref) {
103
- var _api$primaryToolbar, _options$appearance4;
102
+ var _api$primaryToolbar, _options$appearance3;
104
103
  var _ref$config = _ref.config,
105
104
  options = _ref$config === void 0 ? {} : _ref$config,
106
105
  api = _ref.api;
@@ -276,30 +275,13 @@ export var insertBlockPlugin = function insertBlockPlugin(_ref) {
276
275
  rank: -9
277
276
  };
278
277
  }
279
- },
280
- // This is temporarily added for element level templates experiment.
281
- // This is not the most ideal plugin to add this to, but it is suitable for experiment purpose
282
- // If we decide to ship the feature, we will consider a separate plugin if needed.
283
- // Experiment one-pager: https://hello.atlassian.net/wiki/spaces/ETM/pages/3983684902/Experiment+Drive+element+usage+via+element+templates
284
- quickInsert: function quickInsert(intl) {
285
- var _options$appearance3;
286
- var locale = intl.locale;
287
- var isEligible = locale.startsWith('en') &&
288
- // @ts-ignore
289
- ['full-page', 'full-width'].includes((_options$appearance3 = options.appearance) !== null && _options$appearance3 !== void 0 ? _options$appearance3 : '');
290
- if (isEligible && editorExperiment('element-level-templates', true, {
291
- exposure: true
292
- })) {
293
- return templateOptions(api);
294
- }
295
- return [];
296
278
  }
297
279
  },
298
280
  primaryToolbarComponent: !(api !== null && api !== void 0 && api.primaryToolbar) ? primaryToolbarComponent : undefined
299
281
  };
300
282
  if (
301
283
  // @ts-ignore
302
- ['full-page', 'full-width'].includes((_options$appearance4 = options.appearance) !== null && _options$appearance4 !== void 0 ? _options$appearance4 : '') && editorExperiment('insert-menu-in-right-rail', true)) {
284
+ ['full-page', 'full-width'].includes((_options$appearance3 = options.appearance) !== null && _options$appearance3 !== void 0 ? _options$appearance3 : '') && editorExperiment('insert-menu-in-right-rail', true)) {
303
285
  // Ignored via go/ees005
304
286
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
305
287
  plugin.pluginsOptions.contextPanel = function (state) {
@@ -130,29 +130,17 @@ var InsertMenu = function InsertMenu(_ref) {
130
130
  var _pluginInjectionApi$q5, _pluginInjectionApi$q6;
131
131
  var featuredQuickInsertSuggestions = (_pluginInjectionApi$q5 = pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$q6 = pluginInjectionApi.quickInsert) === null || _pluginInjectionApi$q6 === void 0 || (_pluginInjectionApi$q6 = _pluginInjectionApi$q6.actions.getSuggestions({
132
132
  category: category,
133
- featuredItems: true,
134
- // @ts-ignore
135
- templateItems: isFullPageAppearance && editorExperiment('element-level-templates', true)
133
+ featuredItems: true
136
134
  })) === null || _pluginInjectionApi$q6 === void 0 ? void 0 : _pluginInjectionApi$q6.map(function (item) {
137
135
  return (connectivityState === null || connectivityState === void 0 ? void 0 : connectivityState.mode) === 'offline' && item.isDisabledOffline ? _objectSpread(_objectSpread({}, item), {}, {
138
136
  isDisabled: true
139
137
  }) : item;
140
138
  })) !== null && _pluginInjectionApi$q5 !== void 0 ? _pluginInjectionApi$q5 : [];
141
- if (isFullPageAppearance && editorExperiment('element-level-templates', true)) {
142
- // Make sure template options appear as top 5 items
143
- featuredQuickInsertSuggestions.sort(function (a, b) {
144
- var _b$priority, _a$priority;
145
- return ((_b$priority = b.priority) !== null && _b$priority !== void 0 ? _b$priority : 0) - ((_a$priority = a.priority) !== null && _a$priority !== void 0 ? _a$priority : 0);
146
- });
147
- var templateItems = featuredQuickInsertSuggestions.splice(0, 5);
148
- result = [].concat(_toConsumableArray(templateItems), _toConsumableArray(quickInsertDropdownItems), _toConsumableArray(featuredQuickInsertSuggestions));
149
- } else {
150
- result = quickInsertDropdownItems.concat(featuredQuickInsertSuggestions);
151
- }
139
+ result = quickInsertDropdownItems.concat(featuredQuickInsertSuggestions);
152
140
  }
153
141
  setItemCount(result.length);
154
142
  return result;
155
- }, [pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$q7 = pluginInjectionApi.quickInsert) === null || _pluginInjectionApi$q7 === void 0 ? void 0 : _pluginInjectionApi$q7.actions, quickInsertDropdownItems, isFullPageAppearance, connectivityState]);
143
+ }, [pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$q7 = pluginInjectionApi.quickInsert) === null || _pluginInjectionApi$q7 === void 0 ? void 0 : _pluginInjectionApi$q7.actions, quickInsertDropdownItems, connectivityState]);
156
144
  var emptyStateHandler = pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$q8 = pluginInjectionApi.quickInsert) === null || _pluginInjectionApi$q8 === void 0 || (_pluginInjectionApi$q8 = _pluginInjectionApi$q8.sharedState.currentState()) === null || _pluginInjectionApi$q8 === void 0 ? void 0 : _pluginInjectionApi$q8.emptyStateHandler;
157
145
 
158
146
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-insert-block",
3
- "version": "3.0.13",
3
+ "version": "3.1.0",
4
4
  "description": "Insert block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/button": "^21.1.0",
37
- "@atlaskit/editor-common": "^102.12.0",
37
+ "@atlaskit/editor-common": "^102.13.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^2.2.0",
39
39
  "@atlaskit/editor-plugin-block-type": "^5.1.0",
40
40
  "@atlaskit/editor-plugin-code-block": "^4.2.0",
@@ -54,12 +54,12 @@
54
54
  "@atlaskit/editor-plugin-panel": "^4.3.0",
55
55
  "@atlaskit/editor-plugin-placeholder-text": "^2.1.0",
56
56
  "@atlaskit/editor-plugin-primary-toolbar": "^3.1.0",
57
- "@atlaskit/editor-plugin-quick-insert": "^2.1.0",
57
+ "@atlaskit/editor-plugin-quick-insert": "^2.2.0",
58
58
  "@atlaskit/editor-plugin-rule": "^2.1.0",
59
59
  "@atlaskit/editor-plugin-status": "^3.1.0",
60
60
  "@atlaskit/editor-plugin-table": "^10.5.0",
61
61
  "@atlaskit/editor-plugin-tasks-and-decisions": "^5.0.0",
62
- "@atlaskit/editor-plugin-type-ahead": "^2.1.0",
62
+ "@atlaskit/editor-plugin-type-ahead": "^2.2.0",
63
63
  "@atlaskit/editor-prosemirror": "7.0.0",
64
64
  "@atlaskit/editor-shared-styles": "^3.4.0",
65
65
  "@atlaskit/emoji": "^69.0.0",
@@ -69,7 +69,7 @@
69
69
  "@atlaskit/platform-feature-flags": "^1.1.0",
70
70
  "@atlaskit/primitives": "^14.2.0",
71
71
  "@atlaskit/theme": "^18.0.0",
72
- "@atlaskit/tmp-editor-statsig": "^4.1.0",
72
+ "@atlaskit/tmp-editor-statsig": "^4.2.0",
73
73
  "@atlaskit/tokens": "^4.5.0",
74
74
  "@atlaskit/tooltip": "^20.0.0",
75
75
  "@babel/runtime": "^7.0.0",
@@ -1,79 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = ActionListIcon;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _useIconThemed2 = require("./use-icon-themed");
10
- function ActionListIcon() {
11
- var _useIconThemed = (0, _useIconThemed2.useIconThemed)(),
12
- iconThemed = _useIconThemed.iconThemed;
13
- return /*#__PURE__*/_react.default.createElement("svg", {
14
- width: "40",
15
- height: "41",
16
- viewBox: "0 0 40 41",
17
- fill: "none",
18
- xmlns: "http://www.w3.org/2000/svg"
19
- }, /*#__PURE__*/_react.default.createElement("rect", {
20
- width: "40",
21
- height: "40",
22
- transform: "translate(0 0.259766)",
23
- fill: iconThemed({
24
- light: '#FFF',
25
- dark: '#161A1D'
26
- })
27
- }), /*#__PURE__*/_react.default.createElement("rect", {
28
- x: "0.5",
29
- y: "0.759766",
30
- width: "39",
31
- height: "39",
32
- rx: "2.5",
33
- stroke: "var(--ds-border, #091E42)",
34
- strokeOpacity: "0.14"
35
- }), /*#__PURE__*/_react.default.createElement("rect", {
36
- x: "6",
37
- y: "6.25973",
38
- width: "8",
39
- height: "8",
40
- rx: "2",
41
- fill: "var(--ds-background-selected-bold, #0052cc)"
42
- }), /*#__PURE__*/_react.default.createElement("path", {
43
- fillRule: "evenodd",
44
- clipRule: "evenodd",
45
- 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",
46
- fill: "var(--ds-icon-inverse, #FFFFFF)"
47
- }), /*#__PURE__*/_react.default.createElement("path", {
48
- 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",
49
- fill: "var(--ds-background-accent-gray-subtler, #DCDFE4)"
50
- }), /*#__PURE__*/_react.default.createElement("rect", {
51
- x: "6",
52
- y: "16.2597",
53
- width: "8",
54
- height: "8",
55
- rx: "2",
56
- fill: "var(--ds-background-selected-bold, #0052cc)"
57
- }), /*#__PURE__*/_react.default.createElement("path", {
58
- fillRule: "evenodd",
59
- clipRule: "evenodd",
60
- 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",
61
- fill: "var(--ds-icon-inverse, #FFFFFF)"
62
- }), /*#__PURE__*/_react.default.createElement("path", {
63
- 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",
64
- fill: "var(--ds-background-accent-gray-subtler, #DCDFE4)"
65
- }), /*#__PURE__*/_react.default.createElement("rect", {
66
- x: "6",
67
- y: "26.2597",
68
- width: "8",
69
- height: "8",
70
- rx: "2",
71
- fill: iconThemed({
72
- light: '#ECEDF0',
73
- dark: '#454F59'
74
- })
75
- }), /*#__PURE__*/_react.default.createElement("path", {
76
- 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",
77
- fill: "var(--ds-background-accent-gray-subtler, #DCDFE4)"
78
- }));
79
- }
@@ -1,66 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = ApprovalsTrackerIcon;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _useIconThemed2 = require("./use-icon-themed");
10
- function ApprovalsTrackerIcon() {
11
- var _useIconThemed = (0, _useIconThemed2.useIconThemed)(),
12
- iconThemed = _useIconThemed.iconThemed;
13
- return /*#__PURE__*/_react.default.createElement("svg", {
14
- width: "40",
15
- height: "41",
16
- viewBox: "0 0 40 41",
17
- fill: "none",
18
- xmlns: "http://www.w3.org/2000/svg"
19
- }, /*#__PURE__*/_react.default.createElement("g", {
20
- clipPath: "url(#clip0_138_1349)"
21
- }, /*#__PURE__*/_react.default.createElement("rect", {
22
- x: "0.5",
23
- y: "0.759766",
24
- width: "39",
25
- height: "39",
26
- rx: "2.5",
27
- stroke: "var(--ds-border, #091E42)",
28
- strokeOpacity: "0.14"
29
- }), /*#__PURE__*/_react.default.createElement("rect", {
30
- width: "40",
31
- height: "40",
32
- fill: iconThemed({
33
- light: '#FFF',
34
- dark: '#161A1D'
35
- })
36
- }), /*#__PURE__*/_react.default.createElement("path", {
37
- 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",
38
- fill: "var(--ds-icon-subtle, #626F86)"
39
- }), /*#__PURE__*/_react.default.createElement("path", {
40
- d: "M21 12.7598C21 9.44606 23.6863 6.75977 27 6.75977H39V18.7598H27C23.6863 18.7598 21 16.0735 21 12.7598Z",
41
- fill: "var(--ds-background-accent-gray-subtlest, #F1F2F4)"
42
- }), /*#__PURE__*/_react.default.createElement("path", {
43
- fillRule: "evenodd",
44
- clipRule: "evenodd",
45
- 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",
46
- fill: "var(--ds-background-accent-gray-subtler-pressed, #8590A2)"
47
- }), /*#__PURE__*/_react.default.createElement("path", {
48
- 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",
49
- fill: "var(--ds-icon-subtle, #626F86)"
50
- }), /*#__PURE__*/_react.default.createElement("path", {
51
- d: "M21 27.7598C21 24.4461 23.6863 21.7598 27 21.7598H39V33.7598H27C23.6863 33.7598 21 31.0735 21 27.7598Z",
52
- fill: "var(--ds-background-accent-gray-subtlest, #F1F2F4)"
53
- }), /*#__PURE__*/_react.default.createElement("path", {
54
- fillRule: "evenodd",
55
- clipRule: "evenodd",
56
- 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",
57
- fill: "var(--ds-background-accent-gray-subtler-pressed, #8590A2)"
58
- })), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("clipPath", {
59
- id: "clip0_138_1349"
60
- }, /*#__PURE__*/_react.default.createElement("rect", {
61
- width: "40",
62
- height: "40",
63
- fill: "var(--ds-icon-inverse, #FFFFFF)",
64
- transform: "translate(0 0.259766)"
65
- }))));
66
- }
@@ -1,82 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = DecisionMatrixIcon;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _useIconThemed2 = require("./use-icon-themed");
10
- function DecisionMatrixIcon() {
11
- var _useIconThemed = (0, _useIconThemed2.useIconThemed)(),
12
- iconThemed = _useIconThemed.iconThemed;
13
- return /*#__PURE__*/_react.default.createElement("svg", {
14
- width: "40",
15
- height: "41",
16
- viewBox: "0 0 40 41",
17
- fill: "none",
18
- xmlns: "http://www.w3.org/2000/svg"
19
- }, /*#__PURE__*/_react.default.createElement("g", {
20
- clipPath: "url(#clip0_138_1296)"
21
- }, /*#__PURE__*/_react.default.createElement("rect", {
22
- x: "0.5",
23
- y: "0.759766",
24
- width: "39",
25
- height: "39",
26
- rx: "2.5",
27
- stroke: "var(--ds-border, #091E42)",
28
- strokeOpacity: "0.14"
29
- }), /*#__PURE__*/_react.default.createElement("rect", {
30
- width: "40",
31
- height: "40",
32
- fill: iconThemed({
33
- light: '#FFF',
34
- dark: '#161A1D'
35
- })
36
- }), /*#__PURE__*/_react.default.createElement("path", {
37
- fillRule: "evenodd",
38
- clipRule: "evenodd",
39
- d: "M12 22.2598C10.4087 22.2598 8.88258 21.6276 7.75736 20.5024C6.63214 19.3772 6 17.8511 6 16.2598C6 14.6685 6.63214 13.1423 7.75736 12.0171C8.88258 10.8919 10.4087 10.2598 12 10.2598C13.5913 10.2598 15.1174 10.8919 16.2426 12.0171C17.3679 13.1423 18 14.6685 18 16.2598C18 17.8511 17.3679 19.3772 16.2426 20.5024C15.1174 21.6276 13.5913 22.2598 12 22.2598ZM13.023 14.0368L11.409 17.1193L10.2517 16.0768C10.1785 16.0109 10.093 15.9601 10.0002 15.9272C9.90729 15.8943 9.80886 15.8801 9.71049 15.8853C9.61212 15.8905 9.51573 15.915 9.42683 15.9574C9.33793 15.9999 9.25827 16.0594 9.19238 16.1326C9.12648 16.2059 9.07566 16.2914 9.04281 16.3842C9.00996 16.4771 8.99572 16.5755 9.00091 16.6739C9.0061 16.7723 9.03061 16.8687 9.07305 16.9576C9.11549 17.0465 9.17502 17.1261 9.24825 17.192L11.1233 18.8795C11.2082 18.956 11.3095 19.0121 11.4195 19.0435C11.5294 19.0748 11.6451 19.0806 11.7576 19.0604C11.8701 19.0402 11.9766 18.9946 12.0687 18.927C12.1609 18.8593 12.2364 18.7715 12.2895 18.6703L14.352 14.7328C14.4443 14.5565 14.4628 14.3508 14.4034 14.161C14.3441 13.9711 14.2117 13.8126 14.0355 13.7203C13.8593 13.628 13.6536 13.6095 13.4637 13.6688C13.2738 13.7282 13.1153 13.8605 13.023 14.0368Z",
40
- fill: "var(--ds-background-accent-green-subtle, #4BCE97)"
41
- }), /*#__PURE__*/_react.default.createElement("rect", {
42
- x: "6",
43
- y: "26.2598",
44
- width: "12",
45
- height: "1",
46
- rx: "0.5",
47
- fill: "var(--ds-text-disabled, #A5ADBA)"
48
- }), /*#__PURE__*/_react.default.createElement("rect", {
49
- x: "6",
50
- y: "29.2598",
51
- width: "12",
52
- height: "1",
53
- rx: "0.5",
54
- fill: "var(--ds-text-disabled, #A5ADBA)"
55
- }), /*#__PURE__*/_react.default.createElement("path", {
56
- fillRule: "evenodd",
57
- clipRule: "evenodd",
58
- d: "M29.1137 16.2065L30.7052 14.6158C30.846 14.475 30.925 14.2842 30.925 14.0851C30.925 13.8861 30.846 13.6952 30.7052 13.5545C30.5645 13.4138 30.3736 13.3347 30.1746 13.3347C29.9756 13.3347 29.7847 13.4138 29.644 13.5545L28.054 15.146L26.4625 13.5545C26.3218 13.4139 26.1309 13.3349 25.932 13.335C25.733 13.3351 25.5423 13.4142 25.4016 13.5549C25.261 13.6956 25.182 13.8865 25.1821 14.0854C25.1822 14.2844 25.2613 14.4751 25.402 14.6158L26.992 16.2058L25.402 17.7973C25.2654 17.9387 25.1898 18.1282 25.1915 18.3248C25.1932 18.5215 25.2721 18.7096 25.4111 18.8486C25.5502 18.9877 25.7383 19.0666 25.9349 19.0683C26.1316 19.07 26.321 18.9944 26.4625 18.8578L28.0533 17.2678L29.644 18.8578C29.7136 18.9274 29.7963 18.9827 29.8873 19.0205C29.9783 19.0582 30.0758 19.0776 30.1744 19.0777C30.2729 19.0777 30.3704 19.0583 30.4615 19.0207C30.5525 18.983 30.6352 18.9278 30.7049 18.8581C30.7746 18.7885 30.8298 18.7058 30.8676 18.6148C30.9053 18.5238 30.9247 18.4263 30.9248 18.3278C30.9248 18.2293 30.9054 18.1317 30.8678 18.0407C30.8301 17.9497 30.7749 17.8669 30.7052 17.7973L29.1137 16.2065ZM28 22.2598C26.4087 22.2598 24.8826 21.6276 23.7574 20.5024C22.6321 19.3772 22 17.8511 22 16.2598C22 14.6685 22.6321 13.1423 23.7574 12.0171C24.8826 10.8919 26.4087 10.2598 28 10.2598C29.5913 10.2598 31.1174 10.8919 32.2426 12.0171C33.3679 13.1423 34 14.6685 34 16.2598C34 17.8511 33.3679 19.3772 32.2426 20.5024C31.1174 21.6276 29.5913 22.2598 28 22.2598Z",
59
- fill: "var(--ds-background-accent-red-subtler-pressed, #F87168)"
60
- }), /*#__PURE__*/_react.default.createElement("rect", {
61
- x: "22",
62
- y: "26.2598",
63
- width: "12",
64
- height: "1",
65
- rx: "0.5",
66
- fill: "var(--ds-text-disabled, #A5ADBA)"
67
- }), /*#__PURE__*/_react.default.createElement("rect", {
68
- x: "22",
69
- y: "29.2598",
70
- width: "12",
71
- height: "1",
72
- rx: "0.5",
73
- fill: "var(--ds-text-disabled, #A5ADBA)"
74
- })), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("clipPath", {
75
- id: "clip0_138_1296"
76
- }, /*#__PURE__*/_react.default.createElement("rect", {
77
- width: "40",
78
- height: "40",
79
- fill: "var(--ds-icon-inverse, #FFFFFF)",
80
- transform: "translate(0 0.259766)"
81
- }))));
82
- }
@@ -1,82 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = DiscussionNotesIcon;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _useIconThemed2 = require("./use-icon-themed");
10
- function DiscussionNotesIcon() {
11
- var _useIconThemed = (0, _useIconThemed2.useIconThemed)(),
12
- iconThemed = _useIconThemed.iconThemed;
13
- return /*#__PURE__*/_react.default.createElement("svg", {
14
- width: "40",
15
- height: "41",
16
- viewBox: "0 0 40 41",
17
- fill: "none",
18
- xmlns: "http://www.w3.org/2000/svg"
19
- }, /*#__PURE__*/_react.default.createElement("g", {
20
- clipPath: "url(#clip0_138_1334)"
21
- }, /*#__PURE__*/_react.default.createElement("rect", {
22
- y: "0.259766",
23
- width: "40",
24
- height: "40",
25
- rx: "3",
26
- fill: iconThemed({
27
- light: '#FFF',
28
- dark: '#161A1D'
29
- })
30
- }), /*#__PURE__*/_react.default.createElement("rect", {
31
- y: "0.259766",
32
- width: "40",
33
- height: "40",
34
- rx: "3",
35
- fill: iconThemed({
36
- light: '#FFF',
37
- dark: '#161A1D'
38
- })
39
- }), /*#__PURE__*/_react.default.createElement("rect", {
40
- x: "0.5",
41
- y: "0.759766",
42
- width: "39",
43
- height: "39",
44
- rx: "2.5",
45
- stroke: "var(--ds-border, #091E4224)",
46
- strokeOpacity: "0.14"
47
- })), /*#__PURE__*/_react.default.createElement("path", {
48
- fillRule: "evenodd",
49
- clipRule: "evenodd",
50
- d: "M7.5 6.25977H13.5C13.8978 6.25977 14.2794 6.4178 14.5607 6.69911C14.842 6.98041 15 7.36194 15 7.75977V16.7598C15 17.1576 14.842 17.5391 14.5607 17.8204C14.2794 18.1017 13.8978 18.2598 13.5 18.2598H7.5C7.10218 18.2598 6.72064 18.1017 6.43934 17.8204C6.15804 17.5391 6 17.1576 6 16.7598V7.75977C6 7.36194 6.15804 6.98041 6.43934 6.69911C6.72064 6.4178 7.10218 6.25977 7.5 6.25977ZM8.625 9.25977C8.52554 9.25977 8.43016 9.29927 8.35983 9.3696C8.28951 9.43993 8.25 9.53531 8.25 9.63477V10.3848C8.25 10.4842 8.28951 10.5796 8.35983 10.6499C8.43016 10.7203 8.52554 10.7598 8.625 10.7598H12.375C12.4745 10.7598 12.5698 10.7203 12.6402 10.6499C12.7105 10.5796 12.75 10.4842 12.75 10.3848V9.63477C12.75 9.53531 12.7105 9.43993 12.6402 9.3696C12.5698 9.29927 12.4745 9.25977 12.375 9.25977H8.625ZM8.625 12.2598C8.52554 12.2598 8.43016 12.2993 8.35983 12.3696C8.28951 12.4399 8.25 12.5353 8.25 12.6348V13.3848C8.25 13.4842 8.28951 13.5796 8.35983 13.6499C8.43016 13.7203 8.52554 13.7598 8.625 13.7598H10.875C10.9745 13.7598 11.0698 13.7203 11.1402 13.6499C11.2105 13.5796 11.25 13.4842 11.25 13.3848V12.6348C11.25 12.5353 11.2105 12.4399 11.1402 12.3696C11.0698 12.2993 10.9745 12.2598 10.875 12.2598H8.625Z",
51
- fill: "var(--ds-background-accent-purple-bolder, #6E5DC6)"
52
- }), /*#__PURE__*/_react.default.createElement("rect", {
53
- x: "6",
54
- y: "22.2598",
55
- width: "28",
56
- height: "1",
57
- rx: "0.5",
58
- fill: "var(--ds-text-disabled, #A5ADBA)"
59
- }), /*#__PURE__*/_react.default.createElement("rect", {
60
- x: "6",
61
- y: "25.2598",
62
- width: "28",
63
- height: "1",
64
- rx: "0.5",
65
- fill: "var(--ds-text-disabled, #A5ADBA)"
66
- }), /*#__PURE__*/_react.default.createElement("rect", {
67
- x: "6",
68
- y: "28.2598",
69
- width: "14",
70
- height: "1",
71
- rx: "0.5",
72
- fill: "var(--ds-text-disabled, #A5ADBA)"
73
- }), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("clipPath", {
74
- id: "clip0_138_1334"
75
- }, /*#__PURE__*/_react.default.createElement("rect", {
76
- y: "0.259766",
77
- width: "40",
78
- height: "40",
79
- rx: "3",
80
- fill: "var(--ds-surface, #FFFFFF)"
81
- }))));
82
- }