@atlaskit/editor-common 93.5.2 → 93.6.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 (99) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/cjs/card/LinkToolbarButtonGroup.js +8 -4
  3. package/dist/cjs/card/link-toolbar-button-group-options.js +16 -5
  4. package/dist/cjs/card/ui/assets/card.js +2 -0
  5. package/dist/cjs/card/ui/assets/embed.js +2 -0
  6. package/dist/cjs/card/ui/assets/inline.js +2 -0
  7. package/dist/cjs/card/ui/assets/url.js +2 -0
  8. package/dist/cjs/media-single/CommentBadge.js +6 -2
  9. package/dist/cjs/media-single/CommentBadgeNext.js +6 -2
  10. package/dist/cjs/messages/insert-block.js +20 -0
  11. package/dist/cjs/monitoring/error.js +1 -1
  12. package/dist/cjs/provider-factory/provider-factory.js +1 -0
  13. package/dist/cjs/provider-factory/with-providers.js +29 -8
  14. package/dist/cjs/quick-insert/assets/five-column-layout.js +173 -0
  15. package/dist/cjs/quick-insert/assets/four-column-layout.js +158 -0
  16. package/dist/cjs/quick-insert/assets/index.js +61 -1
  17. package/dist/cjs/quick-insert/assets/one-column-layout.js +109 -0
  18. package/dist/cjs/quick-insert/assets/three-column-layout.js +150 -0
  19. package/dist/cjs/quick-insert/assets/two-column-layout.js +128 -0
  20. package/dist/cjs/quick-insert/index.js +30 -0
  21. package/dist/cjs/ui/DropList/index.js +1 -1
  22. package/dist/cjs/ui-menu/ColorPickerButton/index.js +1 -0
  23. package/dist/es2019/card/LinkToolbarButtonGroup.js +24 -18
  24. package/dist/es2019/card/link-toolbar-button-group-options.js +15 -5
  25. package/dist/es2019/card/ui/assets/card.js +1 -0
  26. package/dist/es2019/card/ui/assets/embed.js +1 -0
  27. package/dist/es2019/card/ui/assets/inline.js +1 -0
  28. package/dist/es2019/card/ui/assets/url.js +1 -0
  29. package/dist/es2019/media-single/CommentBadge.js +6 -2
  30. package/dist/es2019/media-single/CommentBadgeNext.js +6 -2
  31. package/dist/es2019/messages/insert-block.js +20 -0
  32. package/dist/es2019/monitoring/error.js +1 -1
  33. package/dist/es2019/provider-factory/provider-factory.js +1 -0
  34. package/dist/es2019/provider-factory/with-providers.js +28 -8
  35. package/dist/es2019/quick-insert/assets/five-column-layout.js +167 -0
  36. package/dist/es2019/quick-insert/assets/four-column-layout.js +152 -0
  37. package/dist/es2019/quick-insert/assets/index.js +20 -0
  38. package/dist/es2019/quick-insert/assets/one-column-layout.js +103 -0
  39. package/dist/es2019/quick-insert/assets/three-column-layout.js +144 -0
  40. package/dist/es2019/quick-insert/assets/two-column-layout.js +122 -0
  41. package/dist/es2019/quick-insert/index.js +1 -1
  42. package/dist/es2019/ui/DropList/index.js +1 -1
  43. package/dist/es2019/ui-menu/ColorPickerButton/index.js +1 -0
  44. package/dist/esm/card/LinkToolbarButtonGroup.js +8 -4
  45. package/dist/esm/card/link-toolbar-button-group-options.js +15 -5
  46. package/dist/esm/card/ui/assets/card.js +1 -0
  47. package/dist/esm/card/ui/assets/embed.js +1 -0
  48. package/dist/esm/card/ui/assets/inline.js +1 -0
  49. package/dist/esm/card/ui/assets/url.js +1 -0
  50. package/dist/esm/media-single/CommentBadge.js +6 -2
  51. package/dist/esm/media-single/CommentBadgeNext.js +6 -2
  52. package/dist/esm/messages/insert-block.js +20 -0
  53. package/dist/esm/monitoring/error.js +1 -1
  54. package/dist/esm/provider-factory/provider-factory.js +1 -0
  55. package/dist/esm/provider-factory/with-providers.js +29 -7
  56. package/dist/esm/quick-insert/assets/five-column-layout.js +166 -0
  57. package/dist/esm/quick-insert/assets/four-column-layout.js +151 -0
  58. package/dist/esm/quick-insert/assets/index.js +50 -0
  59. package/dist/esm/quick-insert/assets/one-column-layout.js +102 -0
  60. package/dist/esm/quick-insert/assets/three-column-layout.js +143 -0
  61. package/dist/esm/quick-insert/assets/two-column-layout.js +121 -0
  62. package/dist/esm/quick-insert/index.js +1 -1
  63. package/dist/esm/ui/DropList/index.js +1 -1
  64. package/dist/esm/ui-menu/ColorPickerButton/index.js +1 -0
  65. package/dist/types/card/LinkToolbarButtonGroup.d.ts +3 -2
  66. package/dist/types/card/cardOptions.d.ts +74 -0
  67. package/dist/types/card/ui/assets/card.d.ts +2 -2
  68. package/dist/types/card/ui/assets/embed.d.ts +2 -2
  69. package/dist/types/card/ui/assets/inline.d.ts +2 -2
  70. package/dist/types/card/ui/assets/url.d.ts +2 -2
  71. package/dist/types/messages/insert-block.d.ts +20 -0
  72. package/dist/types/provider-factory/provider-factory.d.ts +1 -1
  73. package/dist/types/provider-factory/quick-insert-provider.d.ts +1 -1
  74. package/dist/types/provider-factory/with-providers.d.ts +6 -3
  75. package/dist/types/quick-insert/assets/five-column-layout.d.ts +2 -0
  76. package/dist/types/quick-insert/assets/four-column-layout.d.ts +2 -0
  77. package/dist/types/quick-insert/assets/index.d.ts +5 -0
  78. package/dist/types/quick-insert/assets/one-column-layout.d.ts +2 -0
  79. package/dist/types/quick-insert/assets/three-column-layout.d.ts +2 -0
  80. package/dist/types/quick-insert/assets/two-column-layout.d.ts +2 -0
  81. package/dist/types/quick-insert/index.d.ts +1 -1
  82. package/dist/types-ts4.5/card/LinkToolbarButtonGroup.d.ts +3 -2
  83. package/dist/types-ts4.5/card/cardOptions.d.ts +74 -0
  84. package/dist/types-ts4.5/card/ui/assets/card.d.ts +2 -2
  85. package/dist/types-ts4.5/card/ui/assets/embed.d.ts +2 -2
  86. package/dist/types-ts4.5/card/ui/assets/inline.d.ts +2 -2
  87. package/dist/types-ts4.5/card/ui/assets/url.d.ts +2 -2
  88. package/dist/types-ts4.5/messages/insert-block.d.ts +20 -0
  89. package/dist/types-ts4.5/provider-factory/provider-factory.d.ts +1 -1
  90. package/dist/types-ts4.5/provider-factory/quick-insert-provider.d.ts +1 -1
  91. package/dist/types-ts4.5/provider-factory/with-providers.d.ts +6 -3
  92. package/dist/types-ts4.5/quick-insert/assets/five-column-layout.d.ts +2 -0
  93. package/dist/types-ts4.5/quick-insert/assets/four-column-layout.d.ts +2 -0
  94. package/dist/types-ts4.5/quick-insert/assets/index.d.ts +5 -0
  95. package/dist/types-ts4.5/quick-insert/assets/one-column-layout.d.ts +2 -0
  96. package/dist/types-ts4.5/quick-insert/assets/three-column-layout.d.ts +2 -0
  97. package/dist/types-ts4.5/quick-insert/assets/two-column-layout.d.ts +2 -0
  98. package/dist/types-ts4.5/quick-insert/index.d.ts +1 -1
  99. package/package.json +5 -5
@@ -1,6 +1,7 @@
1
1
  import React, { useMemo } from 'react';
2
2
  import { useIntl } from 'react-intl-next';
3
- import CommentIcon from '@atlaskit/icon/glyph/comment';
3
+ import CommentIcon from '@atlaskit/icon/core/comment';
4
+ import LegacyCommentIcon from '@atlaskit/icon/glyph/comment';
4
5
  import { Pressable, xcss } from '@atlaskit/primitives';
5
6
  import Tooltip from '@atlaskit/tooltip';
6
7
  import { commentMessages as messages } from '../media';
@@ -46,6 +47,9 @@ export const CommentBadgeNext = ({
46
47
  backgroundColor: colourToken
47
48
  }, /*#__PURE__*/React.createElement(CommentIcon, {
48
49
  label: title,
49
- size: badgeSize
50
+ spacing: "spacious",
51
+ color: "currentColor",
52
+ LEGACY_size: badgeSize,
53
+ LEGACY_fallbackIcon: LegacyCommentIcon
50
54
  })));
51
55
  };
@@ -165,6 +165,26 @@ export const toolbarInsertBlockMessages = defineMessages({
165
165
  defaultMessage: 'Layouts',
166
166
  description: 'Create a multi column section or layout'
167
167
  },
168
+ twoColumns: {
169
+ id: 'fabric.editor.twoColumns',
170
+ defaultMessage: '2 columns layout',
171
+ description: 'Create a section or layout with two columns'
172
+ },
173
+ threeColumns: {
174
+ id: 'fabric.editor.threeColumns',
175
+ defaultMessage: '3 columns layout',
176
+ description: 'Create a section or layout with three columns'
177
+ },
178
+ fourColumns: {
179
+ id: 'fabric.editor.fourColumns',
180
+ defaultMessage: '4 columns layout',
181
+ description: 'Create a section or layout with four columns'
182
+ },
183
+ fiveColumns: {
184
+ id: 'fabric.editor.fiveColumns',
185
+ defaultMessage: '5 columns layout',
186
+ description: 'Create a section or layout with five columns'
187
+ },
168
188
  columnsDescription: {
169
189
  id: 'fabric.editor.columns.description',
170
190
  defaultMessage: 'Structure your page using sections',
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "93.5.2";
4
+ const packageVersion = "93.6.0";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // TODO: Sanitise the URL instead of just removing it
@@ -46,6 +46,7 @@ export default class ProviderFactory {
46
46
  if (provider) {
47
47
  handler(name, provider);
48
48
  }
49
+ return provider;
49
50
  }
50
51
  unsubscribe(name, handler) {
51
52
  const handlers = this.subscribers.get(name);
@@ -1,8 +1,17 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
+ /* eslint-disable @repo/internal/react/no-class-components */
2
3
  import { PureComponent } from 'react';
4
+ import { fg } from '@atlaskit/platform-feature-flags';
3
5
  export class WithProviders extends PureComponent {
4
6
  constructor(props) {
5
7
  super(props);
8
+ _defineProperty(this, "mounted", false);
9
+ _defineProperty(this, "handleProviderIfMounted", (name, provider) => {
10
+ if (!this.mounted) {
11
+ return;
12
+ }
13
+ this.handleProvider(name, provider);
14
+ });
6
15
  _defineProperty(this, "handleProvider", (name, provider) => {
7
16
  this.setState(({
8
17
  providers
@@ -15,22 +24,33 @@ export class WithProviders extends PureComponent {
15
24
  };
16
25
  });
17
26
  });
27
+ this.mounted = false;
18
28
  const _providers = {};
19
29
  this.props.providers.forEach(name => {
20
- _providers[name] = undefined;
30
+ if (fg('platform_editor_react18_phase2')) {
31
+ const providerPromise = props.providerFactory.subscribe(name, this.handleProviderIfMounted);
32
+ _providers[name] = providerPromise;
33
+ } else {
34
+ _providers[name] = undefined;
35
+ }
21
36
  });
22
37
  this.state = {
23
38
  providers: _providers
24
39
  };
25
40
  }
41
+ componentDidMount() {
42
+ this.mounted = true;
43
+ }
26
44
  UNSAFE_componentWillMount() {
27
- const {
28
- providers,
29
- providerFactory
30
- } = this.props;
31
- providers.forEach(name => {
32
- providerFactory.subscribe(name, this.handleProvider);
33
- });
45
+ if (!fg('platform_editor_react18_phase2')) {
46
+ const {
47
+ providers,
48
+ providerFactory
49
+ } = this.props;
50
+ providers.forEach(name => {
51
+ providerFactory.subscribe(name, this.handleProvider);
52
+ });
53
+ }
34
54
  }
35
55
  componentWillUnmount() {
36
56
  const {
@@ -0,0 +1,167 @@
1
+ import React from 'react';
2
+ import { useIconThemed } from '../use-icon-themed';
3
+ export default function OneColumnLayoutIcon() {
4
+ const {
5
+ iconThemed
6
+ } = useIconThemed();
7
+ return /*#__PURE__*/React.createElement("svg", {
8
+ focusable: "false",
9
+ "aria-hidden": true,
10
+ width: "40",
11
+ height: "40",
12
+ viewBox: "0 0 40 40",
13
+ fill: "none",
14
+ xmlns: "http://www.w3.org/2000/svg"
15
+ }, /*#__PURE__*/React.createElement("g", {
16
+ clipPath: "url(#clip0_5808_5176)"
17
+ }, /*#__PURE__*/React.createElement("rect", {
18
+ width: "40",
19
+ height: "40",
20
+ rx: "3",
21
+ fill: iconThemed({
22
+ light: '#FFF',
23
+ dark: '#161A1D'
24
+ })
25
+ }), /*#__PURE__*/React.createElement("rect", {
26
+ width: "40",
27
+ height: "40",
28
+ rx: "3",
29
+ fill: iconThemed({
30
+ light: '#FFF',
31
+ dark: '#161A1D'
32
+ })
33
+ }), /*#__PURE__*/React.createElement("rect", {
34
+ x: "0.5",
35
+ y: "0.5",
36
+ width: "39",
37
+ height: "39",
38
+ rx: "2.5",
39
+ stroke: "var(--ds-border, #091E42)",
40
+ strokeOpacity: "0.14"
41
+ })), /*#__PURE__*/React.createElement("rect", {
42
+ x: "6",
43
+ y: "6",
44
+ width: "28",
45
+ height: "1",
46
+ rx: "0.5",
47
+ fill: iconThemed({
48
+ light: '#A5ADBA',
49
+ dark: '#738496'
50
+ })
51
+ }), /*#__PURE__*/React.createElement("rect", {
52
+ x: "6",
53
+ y: "10",
54
+ width: "28",
55
+ height: "1",
56
+ rx: "0.5",
57
+ fill: iconThemed({
58
+ light: '#A5ADBA',
59
+ dark: '#738496'
60
+ })
61
+ }), /*#__PURE__*/React.createElement("rect", {
62
+ x: "6",
63
+ y: "29",
64
+ width: "28",
65
+ height: "1",
66
+ rx: "0.5",
67
+ fill: iconThemed({
68
+ light: '#A5ADBA',
69
+ dark: '#738496'
70
+ })
71
+ }), /*#__PURE__*/React.createElement("rect", {
72
+ x: "6",
73
+ y: "33",
74
+ width: "16",
75
+ height: "1",
76
+ rx: "0.5",
77
+ fill: iconThemed({
78
+ light: '#A5ADBA',
79
+ dark: '#738496'
80
+ })
81
+ }), /*#__PURE__*/React.createElement("rect", {
82
+ x: "6.25",
83
+ y: "14.25",
84
+ width: "3.5",
85
+ height: "11.5",
86
+ rx: "0.75",
87
+ fill: iconThemed({
88
+ light: '#DEEBFF',
89
+ dark: '#09326C'
90
+ }),
91
+ stroke: iconThemed({
92
+ light: '#4C9AFF',
93
+ dark: '#0C66E4'
94
+ }),
95
+ strokeWidth: "0.5"
96
+ }), /*#__PURE__*/React.createElement("rect", {
97
+ x: "12.25",
98
+ y: "14.25",
99
+ width: "3.5",
100
+ height: "11.5",
101
+ rx: "0.75",
102
+ fill: iconThemed({
103
+ light: '#DEEBFF',
104
+ dark: '#09326C'
105
+ }),
106
+ stroke: iconThemed({
107
+ light: '#4C9AFF',
108
+ dark: '#0C66E4'
109
+ }),
110
+ strokeWidth: "0.5"
111
+ }), /*#__PURE__*/React.createElement("rect", {
112
+ x: "18.25",
113
+ y: "14.25",
114
+ width: "3.5",
115
+ height: "11.5",
116
+ rx: "0.75",
117
+ fill: iconThemed({
118
+ light: '#DEEBFF',
119
+ dark: '#09326C'
120
+ }),
121
+ stroke: iconThemed({
122
+ light: '#4C9AFF',
123
+ dark: '#0C66E4'
124
+ }),
125
+ strokeWidth: "0.5"
126
+ }), /*#__PURE__*/React.createElement("rect", {
127
+ x: "24.25",
128
+ y: "14.25",
129
+ width: "3.5",
130
+ height: "11.5",
131
+ rx: "0.75",
132
+ fill: iconThemed({
133
+ light: '#DEEBFF',
134
+ dark: '#09326C'
135
+ }),
136
+ stroke: iconThemed({
137
+ light: '#4C9AFF',
138
+ dark: '#0C66E4'
139
+ }),
140
+ strokeWidth: "0.5"
141
+ }), /*#__PURE__*/React.createElement("rect", {
142
+ x: "30.25",
143
+ y: "14.25",
144
+ width: "3.5",
145
+ height: "11.5",
146
+ rx: "0.75",
147
+ fill: iconThemed({
148
+ light: '#DEEBFF',
149
+ dark: '#09326C'
150
+ }),
151
+ stroke: iconThemed({
152
+ light: '#4C9AFF',
153
+ dark: '#0C66E4'
154
+ }),
155
+ strokeWidth: "0.5"
156
+ }), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
157
+ id: "clip0_5808_5176"
158
+ }, /*#__PURE__*/React.createElement("rect", {
159
+ width: "40",
160
+ height: "40",
161
+ rx: "3",
162
+ fill: iconThemed({
163
+ light: '#FFF',
164
+ dark: '#161A1D'
165
+ })
166
+ }))));
167
+ }
@@ -0,0 +1,152 @@
1
+ import React from 'react';
2
+ import { useIconThemed } from '../use-icon-themed';
3
+ export default function OneColumnLayoutIcon() {
4
+ const {
5
+ iconThemed
6
+ } = useIconThemed();
7
+ return /*#__PURE__*/React.createElement("svg", {
8
+ focusable: "false",
9
+ "aria-hidden": true,
10
+ width: "40",
11
+ height: "40",
12
+ viewBox: "0 0 40 40",
13
+ fill: "none",
14
+ xmlns: "http://www.w3.org/2000/svg"
15
+ }, /*#__PURE__*/React.createElement("g", {
16
+ clipPath: "url(#clip0_5808_7157)"
17
+ }, /*#__PURE__*/React.createElement("rect", {
18
+ width: "40",
19
+ height: "40",
20
+ rx: "3",
21
+ fill: iconThemed({
22
+ light: '#FFF',
23
+ dark: '#161A1D'
24
+ })
25
+ }), /*#__PURE__*/React.createElement("rect", {
26
+ width: "40",
27
+ height: "40",
28
+ rx: "3",
29
+ fill: iconThemed({
30
+ light: '#FFF',
31
+ dark: '#161A1D'
32
+ })
33
+ }), /*#__PURE__*/React.createElement("rect", {
34
+ x: "0.5",
35
+ y: "0.5",
36
+ width: "39",
37
+ height: "39",
38
+ rx: "2.5",
39
+ stroke: "var(--ds-border, #091E42)",
40
+ strokeOpacity: "0.14"
41
+ })), /*#__PURE__*/React.createElement("rect", {
42
+ x: "6",
43
+ y: "6",
44
+ width: "28",
45
+ height: "1",
46
+ rx: "0.5",
47
+ fill: iconThemed({
48
+ light: '#A5ADBA',
49
+ dark: '#738496'
50
+ })
51
+ }), /*#__PURE__*/React.createElement("rect", {
52
+ x: "6",
53
+ y: "10",
54
+ width: "28",
55
+ height: "1",
56
+ rx: "0.5",
57
+ fill: iconThemed({
58
+ light: '#A5ADBA',
59
+ dark: '#738496'
60
+ })
61
+ }), /*#__PURE__*/React.createElement("rect", {
62
+ x: "6",
63
+ y: "29",
64
+ width: "28",
65
+ height: "1",
66
+ rx: "0.5",
67
+ fill: iconThemed({
68
+ light: '#A5ADBA',
69
+ dark: '#738496'
70
+ })
71
+ }), /*#__PURE__*/React.createElement("rect", {
72
+ x: "6",
73
+ y: "33",
74
+ width: "16",
75
+ height: "1",
76
+ rx: "0.5",
77
+ fill: iconThemed({
78
+ light: '#A5ADBA',
79
+ dark: '#738496'
80
+ })
81
+ }), /*#__PURE__*/React.createElement("rect", {
82
+ x: "6.25",
83
+ y: "14.25",
84
+ width: "5",
85
+ height: "11.5",
86
+ rx: "0.75",
87
+ fill: iconThemed({
88
+ light: '#DEEBFF',
89
+ dark: '#09326C'
90
+ }),
91
+ stroke: iconThemed({
92
+ light: '#4C9AFF',
93
+ dark: '#0C66E4'
94
+ }),
95
+ strokeWidth: "0.5"
96
+ }), /*#__PURE__*/React.createElement("rect", {
97
+ x: "13.75",
98
+ y: "14.25",
99
+ width: "5",
100
+ height: "11.5",
101
+ rx: "0.75",
102
+ fill: iconThemed({
103
+ light: '#DEEBFF',
104
+ dark: '#09326C'
105
+ }),
106
+ stroke: iconThemed({
107
+ light: '#4C9AFF',
108
+ dark: '#0C66E4'
109
+ }),
110
+ strokeWidth: "0.5"
111
+ }), /*#__PURE__*/React.createElement("rect", {
112
+ x: "21.25",
113
+ y: "14.25",
114
+ width: "5",
115
+ height: "11.5",
116
+ rx: "0.75",
117
+ fill: iconThemed({
118
+ light: '#DEEBFF',
119
+ dark: '#09326C'
120
+ }),
121
+ stroke: iconThemed({
122
+ light: '#4C9AFF',
123
+ dark: '#0C66E4'
124
+ }),
125
+ strokeWidth: "0.5"
126
+ }), /*#__PURE__*/React.createElement("rect", {
127
+ x: "28.75",
128
+ y: "14.25",
129
+ width: "5",
130
+ height: "11.5",
131
+ rx: "0.75",
132
+ fill: iconThemed({
133
+ light: '#DEEBFF',
134
+ dark: '#09326C'
135
+ }),
136
+ stroke: iconThemed({
137
+ light: '#4C9AFF',
138
+ dark: '#0C66E4'
139
+ }),
140
+ strokeWidth: "0.5"
141
+ }), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
142
+ id: "clip0_5808_7157"
143
+ }, /*#__PURE__*/React.createElement("rect", {
144
+ width: "40",
145
+ height: "40",
146
+ rx: "3",
147
+ fill: iconThemed({
148
+ light: '#FFF',
149
+ dark: '#161A1D'
150
+ })
151
+ }))));
152
+ }
@@ -78,6 +78,26 @@ export const IconStatus = Loadable({
78
78
  loader: () => import( /* webpackChunkName: "@atlaskit-internal_editor-icon-status" */'./status').then(module => module.default),
79
79
  loading: () => null
80
80
  });
81
+ export const IconOneColumnLayout = Loadable({
82
+ loader: () => import( /* webpackChunkName: "@atlaskit-internal_editor-icon-one-column-layout" */'./one-column-layout').then(module => module.default),
83
+ loading: () => null
84
+ });
85
+ export const IconTwoColumnLayout = Loadable({
86
+ loader: () => import( /* webpackChunkName: "@atlaskit-internal_editor-icon-two-column-layout" */'./two-column-layout').then(module => module.default),
87
+ loading: () => null
88
+ });
89
+ export const IconThreeColumnLayout = Loadable({
90
+ loader: () => import( /* webpackChunkName: "@atlaskit-internal_editor-icon-three-column-layout" */'./three-column-layout').then(module => module.default),
91
+ loading: () => null
92
+ });
93
+ export const IconFourColumnLayout = Loadable({
94
+ loader: () => import( /* webpackChunkName: "@atlaskit-internal_editor-icon-four-column-layout" */'./four-column-layout').then(module => module.default),
95
+ loading: () => null
96
+ });
97
+ export const IconFiveColumnLayout = Loadable({
98
+ loader: () => import( /* webpackChunkName: "@atlaskit-internal_editor-icon-five-column-layout" */'./five-column-layout').then(module => module.default),
99
+ loading: () => null
100
+ });
81
101
  function importHeading(level) {
82
102
  switch (level) {
83
103
  case 1:
@@ -0,0 +1,103 @@
1
+ import React from 'react';
2
+ import { useIconThemed } from '../use-icon-themed';
3
+ export default function OneColumnLayoutIcon() {
4
+ const {
5
+ iconThemed
6
+ } = useIconThemed();
7
+ return /*#__PURE__*/React.createElement("svg", {
8
+ focusable: "false",
9
+ "aria-hidden": true,
10
+ width: 40,
11
+ height: 40,
12
+ viewBox: "0 0 40 40",
13
+ fill: "none"
14
+ }, /*#__PURE__*/React.createElement("g", {
15
+ clipPath: "url(#clip0_5808_9744)"
16
+ }, /*#__PURE__*/React.createElement("rect", {
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
+ width: "40",
26
+ height: "40",
27
+ rx: "3",
28
+ fill: iconThemed({
29
+ light: '#FFF',
30
+ dark: '#161A1D'
31
+ })
32
+ }), /*#__PURE__*/React.createElement("rect", {
33
+ x: "0.5",
34
+ y: "0.5",
35
+ width: "39",
36
+ height: "39",
37
+ rx: "2.5",
38
+ stroke: "var(--ds-border, #091E42)",
39
+ strokeOpacity: "0.14"
40
+ })), /*#__PURE__*/React.createElement("rect", {
41
+ x: "6",
42
+ y: "6",
43
+ width: "28",
44
+ height: "1",
45
+ rx: "0.5",
46
+ fill: "#CCE0FF"
47
+ }), /*#__PURE__*/React.createElement("rect", {
48
+ x: "6",
49
+ y: "10",
50
+ width: "28",
51
+ height: "1",
52
+ rx: "0.5",
53
+ fill: iconThemed({
54
+ light: '#FFF',
55
+ dark: '#161A1D'
56
+ })
57
+ }), /*#__PURE__*/React.createElement("rect", {
58
+ x: "6",
59
+ y: "29",
60
+ width: "28",
61
+ height: "1",
62
+ rx: "0.5",
63
+ fill: iconThemed({
64
+ light: '#A5ADBA',
65
+ dark: '#738496'
66
+ })
67
+ }), /*#__PURE__*/React.createElement("rect", {
68
+ x: "6",
69
+ y: "33",
70
+ width: "16",
71
+ height: "1",
72
+ rx: "0.5",
73
+ fill: iconThemed({
74
+ light: '#A5ADBA',
75
+ dark: '#738496'
76
+ })
77
+ }), /*#__PURE__*/React.createElement("rect", {
78
+ x: "6.25",
79
+ y: "14.25",
80
+ width: "27.5",
81
+ height: "11.5",
82
+ rx: "0.75",
83
+ fill: iconThemed({
84
+ light: '#DEEBFF',
85
+ dark: '#09326C'
86
+ }),
87
+ stroke: iconThemed({
88
+ light: '#4C9AFF',
89
+ dark: '#0C66E4'
90
+ }),
91
+ strokeWidth: "0.5"
92
+ }), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
93
+ id: "clip0_5808_9744"
94
+ }, /*#__PURE__*/React.createElement("rect", {
95
+ width: "40",
96
+ height: "40",
97
+ rx: "3",
98
+ fill: iconThemed({
99
+ light: '#FFF',
100
+ dark: '#161A1D'
101
+ })
102
+ }))));
103
+ }