@atlaskit/editor-plugin-layout 17.1.2 → 17.1.4

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/editor-plugin-layout
2
2
 
3
+ ## 17.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4df90d6af7dc0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4df90d6af7dc0) -
8
+ Clean up experiment `platform_editor_layout_keywords` and retain the launched layout search
9
+ keywords.
10
+ - Updated dependencies
11
+
12
+ ## 17.1.3
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 17.1.2
4
19
 
5
20
  ### Patch Changes
@@ -181,7 +181,7 @@ var layoutPlugin = exports.layoutPlugin = function layoutPlugin(_ref) {
181
181
  id: 'onecolumnlayout',
182
182
  title: formatMessage(_messages.layoutMessages.singleColumnAdvancedLayout),
183
183
  description: formatMessage(_messages.toolbarInsertBlockMessages.singleColumnsDescriptionAdvancedLayout),
184
- keywords: (0, _expValEquals.expValEquals)('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', 'single column'] : ['layout', 'column', 'section', 'single column'],
184
+ keywords: ['layout', 'column', 'section', 'col', 'single column'],
185
185
  priority: 1100,
186
186
  icon: function icon() {
187
187
  return /*#__PURE__*/_react.default.createElement(_quickInsert.IconOneColumnLayout, null);
@@ -211,7 +211,7 @@ var layoutPlugin = exports.layoutPlugin = function layoutPlugin(_ref) {
211
211
  description: formatMessage(_messages.toolbarInsertBlockMessages.columnsDescriptionAdvancedLayout, {
212
212
  numberOfColumns: descriptionColumnCount
213
213
  }),
214
- keywords: (0, _expValEquals.expValEquals)('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', keyword] : ['layout', 'column', 'section', keyword],
214
+ keywords: ['layout', 'column', 'section', 'col', keyword],
215
215
  priority: 1100,
216
216
  icon: Icon,
217
217
  action: function action(insert, state) {
@@ -270,7 +270,7 @@ var layoutPlugin = exports.layoutPlugin = function layoutPlugin(_ref) {
270
270
  description: formatMessage(_messages.toolbarInsertBlockMessages.columnsDescriptionAdvancedLayout, {
271
271
  numberOfColumns: 'two'
272
272
  }),
273
- keywords: (0, _expValEquals.expValEquals)('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', 'two column'] : ['layout', 'column', 'section', 'two column'],
273
+ keywords: ['layout', 'column', 'section', 'col', 'two column'],
274
274
  priority: 1100,
275
275
  icon: function icon() {
276
276
  return /*#__PURE__*/_react.default.createElement(_quickInsert.IconTwoColumnLayout, null);
@@ -291,7 +291,7 @@ var layoutPlugin = exports.layoutPlugin = function layoutPlugin(_ref) {
291
291
  description: formatMessage(_messages.toolbarInsertBlockMessages.columnsDescriptionAdvancedLayout, {
292
292
  numberOfColumns: 'three'
293
293
  }),
294
- keywords: (0, _expValEquals.expValEquals)('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', 'three column'] : ['layout', 'column', 'section', 'three column'],
294
+ keywords: ['layout', 'column', 'section', 'col', 'three column'],
295
295
  priority: 1100,
296
296
  icon: function icon() {
297
297
  return /*#__PURE__*/_react.default.createElement(_quickInsert.IconThreeColumnLayout, null);
@@ -312,7 +312,7 @@ var layoutPlugin = exports.layoutPlugin = function layoutPlugin(_ref) {
312
312
  description: formatMessage(_messages.toolbarInsertBlockMessages.columnsDescriptionAdvancedLayout, {
313
313
  numberOfColumns: 'four'
314
314
  }),
315
- keywords: (0, _expValEquals.expValEquals)('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', 'four column'] : ['layout', 'column', 'section', 'four column'],
315
+ keywords: ['layout', 'column', 'section', 'col', 'four column'],
316
316
  priority: 1100,
317
317
  icon: function icon() {
318
318
  return /*#__PURE__*/_react.default.createElement(_quickInsert.IconFourColumnLayout, null);
@@ -333,7 +333,7 @@ var layoutPlugin = exports.layoutPlugin = function layoutPlugin(_ref) {
333
333
  description: formatMessage(_messages.toolbarInsertBlockMessages.columnsDescriptionAdvancedLayout, {
334
334
  numberOfColumns: 'five'
335
335
  }),
336
- keywords: (0, _expValEquals.expValEquals)('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', 'five column'] : ['layout', 'column', 'section', 'five column'],
336
+ keywords: ['layout', 'column', 'section', 'col', 'five column'],
337
337
  priority: 1100,
338
338
  icon: function icon() {
339
339
  return /*#__PURE__*/_react.default.createElement(_quickInsert.IconFiveColumnLayout, null);
@@ -173,7 +173,7 @@ export const layoutPlugin = ({
173
173
  id: 'onecolumnlayout',
174
174
  title: formatMessage(layoutMessages.singleColumnAdvancedLayout),
175
175
  description: formatMessage(messages.singleColumnsDescriptionAdvancedLayout),
176
- keywords: expValEquals('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', 'single column'] : ['layout', 'column', 'section', 'single column'],
176
+ keywords: ['layout', 'column', 'section', 'col', 'single column'],
177
177
  priority: 1100,
178
178
  icon: () => /*#__PURE__*/React.createElement(IconOneColumnLayout, null),
179
179
  action(insert, state) {
@@ -201,7 +201,7 @@ export const layoutPlugin = ({
201
201
  description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
202
202
  numberOfColumns: descriptionColumnCount
203
203
  }),
204
- keywords: expValEquals('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', keyword] : ['layout', 'column', 'section', keyword],
204
+ keywords: ['layout', 'column', 'section', 'col', keyword],
205
205
  priority: 1100,
206
206
  icon: Icon,
207
207
  action(insert, state) {
@@ -251,7 +251,7 @@ export const layoutPlugin = ({
251
251
  description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
252
252
  numberOfColumns: 'two'
253
253
  }),
254
- keywords: expValEquals('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', 'two column'] : ['layout', 'column', 'section', 'two column'],
254
+ keywords: ['layout', 'column', 'section', 'col', 'two column'],
255
255
  priority: 1100,
256
256
  icon: () => /*#__PURE__*/React.createElement(IconTwoColumnLayout, null),
257
257
  action(insert, state) {
@@ -270,7 +270,7 @@ export const layoutPlugin = ({
270
270
  description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
271
271
  numberOfColumns: 'three'
272
272
  }),
273
- keywords: expValEquals('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', 'three column'] : ['layout', 'column', 'section', 'three column'],
273
+ keywords: ['layout', 'column', 'section', 'col', 'three column'],
274
274
  priority: 1100,
275
275
  icon: () => /*#__PURE__*/React.createElement(IconThreeColumnLayout, null),
276
276
  action(insert, state) {
@@ -289,7 +289,7 @@ export const layoutPlugin = ({
289
289
  description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
290
290
  numberOfColumns: 'four'
291
291
  }),
292
- keywords: expValEquals('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', 'four column'] : ['layout', 'column', 'section', 'four column'],
292
+ keywords: ['layout', 'column', 'section', 'col', 'four column'],
293
293
  priority: 1100,
294
294
  icon: () => /*#__PURE__*/React.createElement(IconFourColumnLayout, null),
295
295
  action(insert, state) {
@@ -308,7 +308,7 @@ export const layoutPlugin = ({
308
308
  description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
309
309
  numberOfColumns: 'five'
310
310
  }),
311
- keywords: expValEquals('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', 'five column'] : ['layout', 'column', 'section', 'five column'],
311
+ keywords: ['layout', 'column', 'section', 'col', 'five column'],
312
312
  priority: 1100,
313
313
  icon: () => /*#__PURE__*/React.createElement(IconFiveColumnLayout, null),
314
314
  action(insert, state) {
@@ -174,7 +174,7 @@ export var layoutPlugin = function layoutPlugin(_ref) {
174
174
  id: 'onecolumnlayout',
175
175
  title: formatMessage(layoutMessages.singleColumnAdvancedLayout),
176
176
  description: formatMessage(messages.singleColumnsDescriptionAdvancedLayout),
177
- keywords: expValEquals('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', 'single column'] : ['layout', 'column', 'section', 'single column'],
177
+ keywords: ['layout', 'column', 'section', 'col', 'single column'],
178
178
  priority: 1100,
179
179
  icon: function icon() {
180
180
  return /*#__PURE__*/React.createElement(IconOneColumnLayout, null);
@@ -204,7 +204,7 @@ export var layoutPlugin = function layoutPlugin(_ref) {
204
204
  description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
205
205
  numberOfColumns: descriptionColumnCount
206
206
  }),
207
- keywords: expValEquals('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', keyword] : ['layout', 'column', 'section', keyword],
207
+ keywords: ['layout', 'column', 'section', 'col', keyword],
208
208
  priority: 1100,
209
209
  icon: Icon,
210
210
  action: function action(insert, state) {
@@ -263,7 +263,7 @@ export var layoutPlugin = function layoutPlugin(_ref) {
263
263
  description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
264
264
  numberOfColumns: 'two'
265
265
  }),
266
- keywords: expValEquals('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', 'two column'] : ['layout', 'column', 'section', 'two column'],
266
+ keywords: ['layout', 'column', 'section', 'col', 'two column'],
267
267
  priority: 1100,
268
268
  icon: function icon() {
269
269
  return /*#__PURE__*/React.createElement(IconTwoColumnLayout, null);
@@ -284,7 +284,7 @@ export var layoutPlugin = function layoutPlugin(_ref) {
284
284
  description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
285
285
  numberOfColumns: 'three'
286
286
  }),
287
- keywords: expValEquals('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', 'three column'] : ['layout', 'column', 'section', 'three column'],
287
+ keywords: ['layout', 'column', 'section', 'col', 'three column'],
288
288
  priority: 1100,
289
289
  icon: function icon() {
290
290
  return /*#__PURE__*/React.createElement(IconThreeColumnLayout, null);
@@ -305,7 +305,7 @@ export var layoutPlugin = function layoutPlugin(_ref) {
305
305
  description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
306
306
  numberOfColumns: 'four'
307
307
  }),
308
- keywords: expValEquals('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', 'four column'] : ['layout', 'column', 'section', 'four column'],
308
+ keywords: ['layout', 'column', 'section', 'col', 'four column'],
309
309
  priority: 1100,
310
310
  icon: function icon() {
311
311
  return /*#__PURE__*/React.createElement(IconFourColumnLayout, null);
@@ -326,7 +326,7 @@ export var layoutPlugin = function layoutPlugin(_ref) {
326
326
  description: formatMessage(messages.columnsDescriptionAdvancedLayout, {
327
327
  numberOfColumns: 'five'
328
328
  }),
329
- keywords: expValEquals('platform_editor_layout_keywords', 'isEnabled', true) ? ['layout', 'column', 'section', 'col', 'five column'] : ['layout', 'column', 'section', 'five column'],
329
+ keywords: ['layout', 'column', 'section', 'col', 'five column'],
330
330
  priority: 1100,
331
331
  icon: function icon() {
332
332
  return /*#__PURE__*/React.createElement(IconFiveColumnLayout, null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-layout",
3
- "version": "17.1.2",
3
+ "version": "17.1.4",
4
4
  "description": "Layout plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -43,14 +43,14 @@
43
43
  "@atlaskit/icon-lab": "^7.7.0",
44
44
  "@atlaskit/platform-feature-experiments": "^0.3.0",
45
45
  "@atlaskit/platform-feature-flags": "^2.1.0",
46
- "@atlaskit/tmp-editor-statsig": "^165.0.0",
47
- "@atlaskit/tokens": "^16.8.0",
46
+ "@atlaskit/tmp-editor-statsig": "^167.0.0",
47
+ "@atlaskit/tokens": "^16.9.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@emotion/react": "^11.7.1",
50
50
  "bind-event-listener": "^3.0.0"
51
51
  },
52
52
  "peerDependencies": {
53
- "@atlaskit/editor-common": "^120.6.0",
53
+ "@atlaskit/editor-common": "^120.7.0",
54
54
  "react": "^18.2.0 || ^19.2.0",
55
55
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
56
56
  },