@atlaskit/editor-common 74.45.0 → 74.45.2

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 (39) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/icons/shared/table.js +24 -7
  3. package/dist/cjs/monitoring/error.js +1 -1
  4. package/dist/cjs/quick-insert/assets/list-number.js +18 -6
  5. package/dist/cjs/quick-insert/assets/list.js +21 -10
  6. package/dist/cjs/quick-insert/assets/quote.js +15 -3
  7. package/dist/cjs/quick-insert/assets/status.js +55 -16
  8. package/dist/cjs/styles/shared/media-single.js +1 -2
  9. package/dist/cjs/ui/DropList/index.js +1 -1
  10. package/dist/cjs/ui/MediaSingle/styled.js +1 -8
  11. package/dist/cjs/utils/rich-media-utils.js +3 -6
  12. package/dist/cjs/version.json +1 -1
  13. package/dist/es2019/icons/shared/table.js +25 -7
  14. package/dist/es2019/monitoring/error.js +1 -1
  15. package/dist/es2019/quick-insert/assets/list-number.js +19 -6
  16. package/dist/es2019/quick-insert/assets/list.js +22 -9
  17. package/dist/es2019/quick-insert/assets/quote.js +16 -3
  18. package/dist/es2019/quick-insert/assets/status.js +56 -15
  19. package/dist/es2019/styles/shared/media-single.js +3 -4
  20. package/dist/es2019/ui/DropList/index.js +1 -1
  21. package/dist/es2019/ui/MediaSingle/styled.js +1 -11
  22. package/dist/es2019/utils/rich-media-utils.js +3 -6
  23. package/dist/es2019/version.json +1 -1
  24. package/dist/esm/icons/shared/table.js +24 -7
  25. package/dist/esm/monitoring/error.js +1 -1
  26. package/dist/esm/quick-insert/assets/list-number.js +18 -6
  27. package/dist/esm/quick-insert/assets/list.js +21 -9
  28. package/dist/esm/quick-insert/assets/quote.js +15 -3
  29. package/dist/esm/quick-insert/assets/status.js +55 -15
  30. package/dist/esm/styles/shared/media-single.js +1 -2
  31. package/dist/esm/ui/DropList/index.js +1 -1
  32. package/dist/esm/ui/MediaSingle/styled.js +1 -8
  33. package/dist/esm/utils/rich-media-utils.js +3 -6
  34. package/dist/esm/version.json +1 -1
  35. package/dist/types/collab/index.d.ts +4 -1
  36. package/dist/types/utils/rich-media-utils.d.ts +4 -4
  37. package/dist/types-ts4.5/collab/index.d.ts +4 -1
  38. package/dist/types-ts4.5/utils/rich-media-utils.d.ts +4 -4
  39. package/package.json +3 -3
@@ -1,7 +1,17 @@
1
- // TODO: https://product-fabric.atlassian.net/browse/DSP-4138
2
- /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
3
1
  import React from 'react';
2
+ import { useIconThemed } from '../use-icon-themed';
4
3
  export default function IconList() {
4
+ const {
5
+ iconThemed
6
+ } = useIconThemed();
7
+ const dotColour = iconThemed({
8
+ light: '#6C798F',
9
+ dark: '#5A6977'
10
+ });
11
+ const lineColour = iconThemed({
12
+ light: '#C1C7D0',
13
+ dark: '#454F59'
14
+ });
5
15
  return /*#__PURE__*/React.createElement("svg", {
6
16
  focusable: "false",
7
17
  "aria-hidden": true,
@@ -11,44 +21,47 @@ export default function IconList() {
11
21
  fill: "none",
12
22
  fillRule: "evenodd"
13
23
  }, /*#__PURE__*/React.createElement("path", {
14
- fill: "#FFF",
24
+ fill: iconThemed({
25
+ light: '#FFF',
26
+ dark: '#161A1D'
27
+ }),
15
28
  d: "M0 0h40v40H0z"
16
29
  }), /*#__PURE__*/React.createElement("g", {
17
30
  transform: "translate(8 10)"
18
31
  }, /*#__PURE__*/React.createElement("rect", {
19
- fill: "#6C798F",
32
+ fill: dotColour,
20
33
  width: 4,
21
34
  height: 4,
22
35
  rx: 2
23
36
  }), /*#__PURE__*/React.createElement("rect", {
24
- fill: "#C1C7D0",
37
+ fill: lineColour,
25
38
  x: 7,
26
39
  y: 9,
27
40
  width: 17,
28
41
  height: 2,
29
42
  rx: 1
30
43
  }), /*#__PURE__*/React.createElement("rect", {
31
- fill: "#C1C7D0",
44
+ fill: lineColour,
32
45
  x: 7,
33
46
  y: 1,
34
47
  width: 17,
35
48
  height: 2,
36
49
  rx: 1
37
50
  }), /*#__PURE__*/React.createElement("rect", {
38
- fill: "#C1C7D0",
51
+ fill: lineColour,
39
52
  x: 7,
40
53
  y: 17,
41
54
  width: 17,
42
55
  height: 2,
43
56
  rx: 1
44
57
  }), /*#__PURE__*/React.createElement("rect", {
45
- fill: "#6C798F",
58
+ fill: dotColour,
46
59
  y: 8,
47
60
  width: 4,
48
61
  height: 4,
49
62
  rx: 2
50
63
  }), /*#__PURE__*/React.createElement("rect", {
51
- fill: "#6C798F",
64
+ fill: dotColour,
52
65
  y: 16,
53
66
  width: 4,
54
67
  height: 4,
@@ -1,7 +1,11 @@
1
1
  // TODO: https://product-fabric.atlassian.net/browse/DSP-4138
2
2
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
3
3
  import React from 'react';
4
+ import { useIconThemed } from '../use-icon-themed';
4
5
  export default function IconQuote() {
6
+ const {
7
+ iconThemed
8
+ } = useIconThemed();
5
9
  return /*#__PURE__*/React.createElement("svg", {
6
10
  focusable: "false",
7
11
  "aria-hidden": true,
@@ -11,10 +15,16 @@ export default function IconQuote() {
11
15
  fill: "none",
12
16
  fillRule: "evenodd"
13
17
  }, /*#__PURE__*/React.createElement("path", {
14
- fill: "#FFF",
18
+ fill: iconThemed({
19
+ light: '#FFF',
20
+ dark: '#161A1D'
21
+ }),
15
22
  d: "M0 0h40v40H0z"
16
23
  }), /*#__PURE__*/React.createElement("rect", {
17
- fill: "#C1C7D0",
24
+ fill: iconThemed({
25
+ light: '#C1C7D0',
26
+ dark: '#454F59'
27
+ }),
18
28
  x: 6,
19
29
  y: 8,
20
30
  width: 2,
@@ -22,6 +32,9 @@ export default function IconQuote() {
22
32
  rx: 1
23
33
  }), /*#__PURE__*/React.createElement("path", {
24
34
  d: "M27.284 12c-1.888 0-3.422 1.577-3.422 3.522 0 1.944 1.534 3.521 3.422 3.521 3.245 0 1.365 6.118-2.727 6.755a.818.818 0 00-.695.806c0 .5.447.896.942.82C32.242 26.296 34.886 12 27.284 12m-9.86 0C15.533 12 14 13.577 14 15.522c0 1.944 1.533 3.521 3.424 3.521 3.243 0 1.363 6.118-2.73 6.755a.818.818 0 00-.694.806c0 .5.447.896.941.82C22.381 26.296 25.026 12 17.424 12",
25
- fill: "#6C798F"
35
+ fill: iconThemed({
36
+ light: '#6C798F',
37
+ dark: '#5A6977'
38
+ })
26
39
  })));
27
40
  }
@@ -1,7 +1,9 @@
1
- // TODO: https://product-fabric.atlassian.net/browse/DSP-4138
2
- /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
3
1
  import React from 'react';
2
+ import { useIconThemed } from '../use-icon-themed';
4
3
  export default function IconStatus() {
4
+ const {
5
+ iconThemed
6
+ } = useIconThemed();
5
7
  return /*#__PURE__*/React.createElement("svg", {
6
8
  focusable: "false",
7
9
  "aria-hidden": true,
@@ -11,17 +13,26 @@ export default function IconStatus() {
11
13
  fill: "none",
12
14
  fillRule: "evenodd"
13
15
  }, /*#__PURE__*/React.createElement("path", {
14
- fill: "#FFF",
16
+ fill: iconThemed({
17
+ light: '#FFF',
18
+ dark: '#161A1D'
19
+ }),
15
20
  d: "M0 0h40v40H0z"
16
21
  }), /*#__PURE__*/React.createElement("g", {
17
22
  transform: "translate(5 11)"
18
23
  }, /*#__PURE__*/React.createElement("rect", {
19
- fill: "#B3D4FF",
24
+ fill: iconThemed({
25
+ light: '#B3D4FF',
26
+ dark: '#09326C'
27
+ }),
20
28
  width: 14,
21
29
  height: 5,
22
30
  rx: 1
23
31
  }), /*#__PURE__*/React.createElement("rect", {
24
- fill: "#0065FF",
32
+ fill: iconThemed({
33
+ light: '#0065FF',
34
+ dark: '#1D7AFC'
35
+ }),
25
36
  x: 2,
26
37
  y: 2,
27
38
  width: 10,
@@ -30,12 +41,18 @@ export default function IconStatus() {
30
41
  })), /*#__PURE__*/React.createElement("g", {
31
42
  transform: "translate(5 18)"
32
43
  }, /*#__PURE__*/React.createElement("rect", {
33
- fill: "#C3F8DF",
44
+ fill: iconThemed({
45
+ light: '#C3F8DF',
46
+ dark: '#164B35'
47
+ }),
34
48
  width: 14,
35
49
  height: 5,
36
50
  rx: 1
37
51
  }), /*#__PURE__*/React.createElement("rect", {
38
- fill: "#36B37E",
52
+ fill: iconThemed({
53
+ light: '#36B37E',
54
+ dark: '#22A06B'
55
+ }),
39
56
  x: 2,
40
57
  y: 2,
41
58
  width: 10,
@@ -44,12 +61,18 @@ export default function IconStatus() {
44
61
  })), /*#__PURE__*/React.createElement("g", {
45
62
  transform: "translate(5 25)"
46
63
  }, /*#__PURE__*/React.createElement("rect", {
47
- fill: "#DFE1E6",
64
+ fill: iconThemed({
65
+ light: '#DFE1E6',
66
+ dark: '#2C333A'
67
+ }),
48
68
  width: 14,
49
69
  height: 5,
50
70
  rx: 1
51
71
  }), /*#__PURE__*/React.createElement("rect", {
52
- fill: "#8993A4",
72
+ fill: iconThemed({
73
+ light: '#8993A4',
74
+ dark: '#5A6977'
75
+ }),
53
76
  x: 2,
54
77
  y: 2,
55
78
  width: 10,
@@ -58,12 +81,18 @@ export default function IconStatus() {
58
81
  })), /*#__PURE__*/React.createElement("g", {
59
82
  transform: "translate(21 25)"
60
83
  }, /*#__PURE__*/React.createElement("rect", {
61
- fill: "#FFD3C8",
84
+ fill: iconThemed({
85
+ light: '#FFD3C8',
86
+ dark: '#601D16'
87
+ }),
62
88
  width: 14,
63
89
  height: 5,
64
90
  rx: 1
65
91
  }), /*#__PURE__*/React.createElement("rect", {
66
- fill: "#FF5230",
92
+ fill: iconThemed({
93
+ light: '#FF5230',
94
+ dark: '#F35844'
95
+ }),
67
96
  x: 2,
68
97
  y: 2,
69
98
  width: 10,
@@ -72,12 +101,18 @@ export default function IconStatus() {
72
101
  })), /*#__PURE__*/React.createElement("g", {
73
102
  transform: "translate(21 11)"
74
103
  }, /*#__PURE__*/React.createElement("rect", {
75
- fill: "#EAE6FF",
104
+ fill: iconThemed({
105
+ light: '#EAE6FF',
106
+ dark: '#352C63'
107
+ }),
76
108
  width: 14,
77
109
  height: 5,
78
110
  rx: 1
79
111
  }), /*#__PURE__*/React.createElement("rect", {
80
- fill: "#8777D9",
112
+ fill: iconThemed({
113
+ light: '#8777D9',
114
+ dark: '#8270DB'
115
+ }),
81
116
  x: 2,
82
117
  y: 2,
83
118
  width: 10,
@@ -86,12 +121,18 @@ export default function IconStatus() {
86
121
  })), /*#__PURE__*/React.createElement("g", {
87
122
  transform: "translate(21 18)"
88
123
  }, /*#__PURE__*/React.createElement("rect", {
89
- fill: "#FFF0B3",
124
+ fill: iconThemed({
125
+ light: '#FFF0B3',
126
+ dark: '#5F3811'
127
+ }),
90
128
  width: 14,
91
129
  height: 5,
92
130
  rx: 1
93
131
  }), /*#__PURE__*/React.createElement("rect", {
94
- fill: "#FF991F",
132
+ fill: iconThemed({
133
+ light: '#FF991F',
134
+ dark: '#D19D00'
135
+ }),
95
136
  x: 2,
96
137
  y: 2,
97
138
  width: 10,
@@ -1,5 +1,4 @@
1
1
  import { css } from '@emotion/react';
2
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
3
2
  const richMediaClassName = 'rich-media-item';
4
3
  const wrappedMediaBreakoutPoint = 410;
5
4
  const mediaSingleSharedStyle = css`
@@ -61,15 +60,15 @@ const mediaSingleSharedStyle = css`
61
60
  margin-left: 0;
62
61
  }
63
62
 
64
- ${!getBooleanFF('platform.editor.media.extended-resize-experience') && `@media all and (max-width: ${wrappedMediaBreakoutPoint}px) {
63
+ @media all and (max-width: ${wrappedMediaBreakoutPoint}px) {
65
64
  div.mediaSingleView-content-wrap[layout='wrap-left'],
66
65
  div.mediaSingleView-content-wrap[data-layout='wrap-left'],
67
66
  div.mediaSingleView-content-wrap[layout='wrap-right'],
68
67
  div.mediaSingleView-content-wrap[data-layout='wrap-right'] {
69
68
  float: none;
70
69
  overflow: auto;
71
- margin: 12px 0;
70
+ margin: ${"var(--ds-space-150, 12px)"} 0;
72
71
  }
73
- }`}
72
+ }
74
73
  `;
75
74
  export { mediaSingleSharedStyle, richMediaClassName };
@@ -8,7 +8,7 @@ import { themed } from '@atlaskit/theme/components';
8
8
  import { borderRadius } from '@atlaskit/theme/constants';
9
9
  import Layer from '../Layer';
10
10
  const packageName = "@atlaskit/editor-common";
11
- const packageVersion = "74.45.0";
11
+ const packageVersion = "74.45.2";
12
12
  const halfFocusRing = 1;
13
13
  const dropOffset = '0, 8';
14
14
  class DropList extends Component {
@@ -3,7 +3,6 @@
3
3
  import React from 'react';
4
4
  import { css, jsx } from '@emotion/react';
5
5
  import { akEditorFullPageMaxWidth, akEditorFullWidthLayoutWidth } from '@atlaskit/editor-shared-styles';
6
- import { calcMediaSingleMaxWidth } from '../../media-single';
7
6
  import { nonWrappedLayouts } from '../../utils';
8
7
  import { calcBreakoutWidth, calcWideWidth } from '../../utils/breakout';
9
8
  function float(layout) {
@@ -72,12 +71,6 @@ function calcMaxWidth(layout, containerWidth) {
72
71
  return '100%';
73
72
  }
74
73
  }
75
- const getEffectiveFullWidth = (containerWidth, fullWidthMode) => {
76
- if (fullWidthMode) {
77
- return '100%';
78
- }
79
- return `${calcMediaSingleMaxWidth(containerWidth)}px`;
80
- };
81
74
  function calcMargin(layout) {
82
75
  switch (layout) {
83
76
  case 'wrap-right':
@@ -137,10 +130,7 @@ export const MediaSingleDimensionHelper = ({
137
130
 
138
131
  &[class*='not-resizing'] {
139
132
  ${!isNestedNode && `${nonWrappedLayouts.includes(layout) && `margin-left: 50%;
140
- transform: translateX(-50%);`}
141
-
142
- // override min-width to counteract max-width set by ResizerNext inline style
143
- ${layout === 'full-width' && `min-width: ${getEffectiveFullWidth(containerWidth, fullWidthMode)} !important;`};`}
133
+ transform: translateX(-50%);`}`}
144
134
  }
145
135
 
146
136
  float: ${float(layout)};
@@ -6,7 +6,7 @@ export const shouldAddDefaultWrappedWidth = (layout, width, lineLength) => {
6
6
  };
7
7
  export const nonWrappedLayouts = ['center', 'wide', 'full-width'];
8
8
  export const floatingLayouts = ['wrap-left', 'wrap-right'];
9
- export const isRichMediaInsideOfBlockNode = (view, pos, includeMoreParentNodeTypes) => {
9
+ export const isRichMediaInsideOfBlockNode = (view, pos) => {
10
10
  if (typeof pos !== 'number' || isNaN(pos) || !view) {
11
11
  return false;
12
12
  }
@@ -14,12 +14,9 @@ export const isRichMediaInsideOfBlockNode = (view, pos, includeMoreParentNodeTyp
14
14
  const {
15
15
  expand,
16
16
  nestedExpand,
17
- layoutColumn,
18
- tableCell,
19
- listItem
17
+ layoutColumn
20
18
  } = view.state.schema.nodes;
21
- const parentNodeTypes = [expand, nestedExpand, layoutColumn];
22
- return !!findParentNodeOfTypeClosestToPos($pos, includeMoreParentNodeTypes ? [...parentNodeTypes, tableCell, listItem] : parentNodeTypes);
19
+ return !!findParentNodeOfTypeClosestToPos($pos, [expand, nestedExpand, layoutColumn]);
23
20
  };
24
21
  export const alignAttributes = (layout, oldAttrs, gridSize = 12, originalWidth, lineLength) => {
25
22
  let width = oldAttrs.width;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "74.45.0",
3
+ "version": "74.45.2",
4
4
  "sideEffects": false
5
5
  }
@@ -1,6 +1,17 @@
1
1
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
2
2
  import React from 'react';
3
+ import { useIconThemed } from '../../quick-insert/use-icon-themed';
3
4
  export default function IconTable() {
5
+ var _useIconThemed = useIconThemed(),
6
+ iconThemed = _useIconThemed.iconThemed;
7
+ var cellBackgroundColour = iconThemed({
8
+ light: '#FFF',
9
+ dark: '#1D2125'
10
+ });
11
+ var headerBackgroundColour = iconThemed({
12
+ light: '#DFE1E6',
13
+ dark: '#5A6977'
14
+ });
4
15
  return /*#__PURE__*/React.createElement("svg", {
5
16
  focusable: "false",
6
17
  "aria-hidden": true,
@@ -10,24 +21,30 @@ export default function IconTable() {
10
21
  fill: "none",
11
22
  fillRule: "evenodd"
12
23
  }, /*#__PURE__*/React.createElement("path", {
13
- fill: "#FFF",
24
+ fill: iconThemed({
25
+ light: '#FFF',
26
+ dark: '#161A1D'
27
+ }),
14
28
  d: "M0 0h40v40H0z"
15
29
  }), /*#__PURE__*/React.createElement("g", {
16
- stroke: "#C1C7D0"
30
+ stroke: iconThemed({
31
+ light: '#C1C7D0',
32
+ dark: '#454F59'
33
+ })
17
34
  }, /*#__PURE__*/React.createElement("path", {
18
- fill: "#FFF",
35
+ fill: cellBackgroundColour,
19
36
  d: "M20 16h14v8H20z"
20
37
  }), /*#__PURE__*/React.createElement("path", {
21
38
  d: "M20 8h13a1 1 0 011 1v7H20V8z",
22
- fill: "#DFE1E6"
39
+ fill: headerBackgroundColour
23
40
  }), /*#__PURE__*/React.createElement("path", {
24
41
  d: "M20 24h14v7a1 1 0 01-1 1H20v-8zM6 16h14v8H6z",
25
- fill: "#FFF"
42
+ fill: cellBackgroundColour
26
43
  }), /*#__PURE__*/React.createElement("path", {
27
44
  d: "M7 8h13v8H6V9a1 1 0 011-1z",
28
- fill: "#DFE1E6"
45
+ fill: headerBackgroundColour
29
46
  }), /*#__PURE__*/React.createElement("path", {
30
47
  d: "M6 24h14v8H7a1 1 0 01-1-1v-7z",
31
- fill: "#FFF"
48
+ fill: cellBackgroundColour
32
49
  }))));
33
50
  }
@@ -6,7 +6,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
6
6
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7
7
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
8
8
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
9
- var packageVersion = "74.45.0";
9
+ var packageVersion = "74.45.2";
10
10
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
11
11
  // Remove URL as it has UGC
12
12
  // TODO: Sanitise the URL instead of just removing it
@@ -1,7 +1,13 @@
1
- // TODO: https://product-fabric.atlassian.net/browse/DSP-4138
2
1
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
3
2
  import React from 'react';
3
+ import { useIconThemed } from '../use-icon-themed';
4
4
  export default function IconListOrdered() {
5
+ var _useIconThemed = useIconThemed(),
6
+ iconThemed = _useIconThemed.iconThemed;
7
+ var lineColour = iconThemed({
8
+ light: '#C1C7D0',
9
+ dark: '#454F59'
10
+ });
5
11
  return /*#__PURE__*/React.createElement("svg", {
6
12
  focusable: "false",
7
13
  "aria-hidden": true,
@@ -11,33 +17,39 @@ export default function IconListOrdered() {
11
17
  fill: "none",
12
18
  fillRule: "evenodd"
13
19
  }, /*#__PURE__*/React.createElement("path", {
14
- fill: "#FFF",
20
+ fill: iconThemed({
21
+ light: '#FFF',
22
+ dark: '#161A1D'
23
+ }),
15
24
  d: "M0 0h40v40H0z"
16
25
  }), /*#__PURE__*/React.createElement("g", {
17
26
  transform: "translate(9 9)"
18
27
  }, /*#__PURE__*/React.createElement("rect", {
19
- fill: "#C1C7D0",
28
+ fill: lineColour,
20
29
  x: 6,
21
30
  y: 10,
22
31
  width: 17,
23
32
  height: 2,
24
33
  rx: 1
25
34
  }), /*#__PURE__*/React.createElement("rect", {
26
- fill: "#C1C7D0",
35
+ fill: lineColour,
27
36
  x: 6,
28
37
  y: 2,
29
38
  width: 17,
30
39
  height: 2,
31
40
  rx: 1
32
41
  }), /*#__PURE__*/React.createElement("rect", {
33
- fill: "#C1C7D0",
42
+ fill: lineColour,
34
43
  x: 6,
35
44
  y: 18,
36
45
  width: 17,
37
46
  height: 2,
38
47
  rx: 1
39
48
  }), /*#__PURE__*/React.createElement("path", {
40
- fill: "#6C798F",
49
+ fill: iconThemed({
50
+ light: '#6C798F',
51
+ dark: '#5A6977'
52
+ }),
41
53
  d: "M1.159 4.996v-3.58h-.056L0 2.176v-.875L1.162.5H2.1v4.496zM0 9.97C0 9.094.67 8.5 1.648 8.5c.943 0 1.6.542 1.6 1.319 0 .492-.266.915-1.049 1.65l-.864.825v.056h1.98v.786H.052v-.66L1.53 11.03c.636-.62.795-.855.795-1.15 0-.363-.294-.62-.708-.62-.438 0-.739.288-.739.705v.019H0v-.016zm1.172 9.22v-.71h.554c.431 0 .724-.251.724-.623 0-.365-.283-.598-.727-.598-.441 0-.734.249-.76.642H.086c.032-.86.67-1.401 1.663-1.401.932 0 1.603.51 1.603 1.225 0 .526-.33.935-.838 1.04v.056c.624.07 1.014.485 1.014 1.083 0 .797-.75 1.373-1.785 1.373-1.015 0-1.701-.56-1.742-1.417h.91c.028.384.353.627.841.627.475 0 .806-.268.806-.655 0-.397-.312-.643-.822-.643h-.563z"
42
54
  }))));
43
55
  }
@@ -1,7 +1,16 @@
1
- // TODO: https://product-fabric.atlassian.net/browse/DSP-4138
2
- /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
3
1
  import React from 'react';
2
+ import { useIconThemed } from '../use-icon-themed';
4
3
  export default function IconList() {
4
+ var _useIconThemed = useIconThemed(),
5
+ iconThemed = _useIconThemed.iconThemed;
6
+ var dotColour = iconThemed({
7
+ light: '#6C798F',
8
+ dark: '#5A6977'
9
+ });
10
+ var lineColour = iconThemed({
11
+ light: '#C1C7D0',
12
+ dark: '#454F59'
13
+ });
5
14
  return /*#__PURE__*/React.createElement("svg", {
6
15
  focusable: "false",
7
16
  "aria-hidden": true,
@@ -11,44 +20,47 @@ export default function IconList() {
11
20
  fill: "none",
12
21
  fillRule: "evenodd"
13
22
  }, /*#__PURE__*/React.createElement("path", {
14
- fill: "#FFF",
23
+ fill: iconThemed({
24
+ light: '#FFF',
25
+ dark: '#161A1D'
26
+ }),
15
27
  d: "M0 0h40v40H0z"
16
28
  }), /*#__PURE__*/React.createElement("g", {
17
29
  transform: "translate(8 10)"
18
30
  }, /*#__PURE__*/React.createElement("rect", {
19
- fill: "#6C798F",
31
+ fill: dotColour,
20
32
  width: 4,
21
33
  height: 4,
22
34
  rx: 2
23
35
  }), /*#__PURE__*/React.createElement("rect", {
24
- fill: "#C1C7D0",
36
+ fill: lineColour,
25
37
  x: 7,
26
38
  y: 9,
27
39
  width: 17,
28
40
  height: 2,
29
41
  rx: 1
30
42
  }), /*#__PURE__*/React.createElement("rect", {
31
- fill: "#C1C7D0",
43
+ fill: lineColour,
32
44
  x: 7,
33
45
  y: 1,
34
46
  width: 17,
35
47
  height: 2,
36
48
  rx: 1
37
49
  }), /*#__PURE__*/React.createElement("rect", {
38
- fill: "#C1C7D0",
50
+ fill: lineColour,
39
51
  x: 7,
40
52
  y: 17,
41
53
  width: 17,
42
54
  height: 2,
43
55
  rx: 1
44
56
  }), /*#__PURE__*/React.createElement("rect", {
45
- fill: "#6C798F",
57
+ fill: dotColour,
46
58
  y: 8,
47
59
  width: 4,
48
60
  height: 4,
49
61
  rx: 2
50
62
  }), /*#__PURE__*/React.createElement("rect", {
51
- fill: "#6C798F",
63
+ fill: dotColour,
52
64
  y: 16,
53
65
  width: 4,
54
66
  height: 4,
@@ -1,7 +1,10 @@
1
1
  // TODO: https://product-fabric.atlassian.net/browse/DSP-4138
2
2
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
3
3
  import React from 'react';
4
+ import { useIconThemed } from '../use-icon-themed';
4
5
  export default function IconQuote() {
6
+ var _useIconThemed = useIconThemed(),
7
+ iconThemed = _useIconThemed.iconThemed;
5
8
  return /*#__PURE__*/React.createElement("svg", {
6
9
  focusable: "false",
7
10
  "aria-hidden": true,
@@ -11,10 +14,16 @@ export default function IconQuote() {
11
14
  fill: "none",
12
15
  fillRule: "evenodd"
13
16
  }, /*#__PURE__*/React.createElement("path", {
14
- fill: "#FFF",
17
+ fill: iconThemed({
18
+ light: '#FFF',
19
+ dark: '#161A1D'
20
+ }),
15
21
  d: "M0 0h40v40H0z"
16
22
  }), /*#__PURE__*/React.createElement("rect", {
17
- fill: "#C1C7D0",
23
+ fill: iconThemed({
24
+ light: '#C1C7D0',
25
+ dark: '#454F59'
26
+ }),
18
27
  x: 6,
19
28
  y: 8,
20
29
  width: 2,
@@ -22,6 +31,9 @@ export default function IconQuote() {
22
31
  rx: 1
23
32
  }), /*#__PURE__*/React.createElement("path", {
24
33
  d: "M27.284 12c-1.888 0-3.422 1.577-3.422 3.522 0 1.944 1.534 3.521 3.422 3.521 3.245 0 1.365 6.118-2.727 6.755a.818.818 0 00-.695.806c0 .5.447.896.942.82C32.242 26.296 34.886 12 27.284 12m-9.86 0C15.533 12 14 13.577 14 15.522c0 1.944 1.533 3.521 3.424 3.521 3.243 0 1.363 6.118-2.73 6.755a.818.818 0 00-.694.806c0 .5.447.896.941.82C22.381 26.296 25.026 12 17.424 12",
25
- fill: "#6C798F"
34
+ fill: iconThemed({
35
+ light: '#6C798F',
36
+ dark: '#5A6977'
37
+ })
26
38
  })));
27
39
  }