@atlaskit/editor-common 116.47.0 → 116.48.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/afm-cc/tsconfig.json +3 -0
  3. package/afm-products/tsconfig.json +3 -0
  4. package/dist/cjs/element-browser/components/ViewMore.js +1 -1
  5. package/dist/cjs/extensibility/Extension/Lozenge/ExtensionFloatingLabel.js +1 -1
  6. package/dist/cjs/extensions/UnknownMacroPlaceholder.js +1 -1
  7. package/dist/cjs/icons/shared/PanelErrorIcon.js +1 -1
  8. package/dist/cjs/icons/shared/PanelInfoIcon.js +1 -1
  9. package/dist/cjs/icons/shared/PanelNoteIcon.js +1 -1
  10. package/dist/cjs/icons/shared/PanelSuccessIcon.js +1 -1
  11. package/dist/cjs/icons/shared/PanelWarningIcon.js +1 -1
  12. package/dist/cjs/messages/syncBlock.js +30 -0
  13. package/dist/cjs/monitoring/error.js +1 -1
  14. package/dist/cjs/table/NewSortingIcon.js +1 -1
  15. package/dist/cjs/ui/DropList/index.js +1 -1
  16. package/dist/cjs/ui/Layer/index.js +138 -18
  17. package/dist/cjs/ui/Shortcut/index.js +1 -1
  18. package/dist/cjs/ui/Toolbar/ButtonGroup.js +1 -1
  19. package/dist/cjs/ui/Toolbar/DropdownTriggerWrapper.js +1 -1
  20. package/dist/cjs/ui/Toolbar/DropdownWrapper.js +1 -1
  21. package/dist/cjs/ui/Toolbar/ExpandIcon.js +1 -1
  22. package/dist/cjs/ui/Toolbar/Separator.js +1 -1
  23. package/dist/cjs/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.js +0 -45
  24. package/dist/cjs/ui-color/ColorPalette/Palettes/paletteMessages.js +0 -60
  25. package/dist/cjs/ui-color/index.js +0 -7
  26. package/dist/cjs/vanilla-tooltip/index.js +9 -1
  27. package/dist/es2019/element-browser/components/ViewMore.js +1 -1
  28. package/dist/es2019/extensibility/Extension/Lozenge/ExtensionFloatingLabel.js +1 -1
  29. package/dist/es2019/extensions/UnknownMacroPlaceholder.js +1 -1
  30. package/dist/es2019/icons/shared/PanelErrorIcon.js +1 -1
  31. package/dist/es2019/icons/shared/PanelInfoIcon.js +1 -1
  32. package/dist/es2019/icons/shared/PanelNoteIcon.js +1 -1
  33. package/dist/es2019/icons/shared/PanelSuccessIcon.js +1 -1
  34. package/dist/es2019/icons/shared/PanelWarningIcon.js +1 -1
  35. package/dist/es2019/messages/syncBlock.js +30 -0
  36. package/dist/es2019/monitoring/error.js +1 -1
  37. package/dist/es2019/table/NewSortingIcon.js +1 -1
  38. package/dist/es2019/ui/DropList/index.js +1 -1
  39. package/dist/es2019/ui/Layer/index.js +120 -13
  40. package/dist/es2019/ui/Shortcut/index.js +1 -1
  41. package/dist/es2019/ui/Toolbar/ButtonGroup.js +1 -1
  42. package/dist/es2019/ui/Toolbar/DropdownTriggerWrapper.js +1 -1
  43. package/dist/es2019/ui/Toolbar/DropdownWrapper.js +1 -1
  44. package/dist/es2019/ui/Toolbar/ExpandIcon.js +1 -1
  45. package/dist/es2019/ui/Toolbar/Separator.js +1 -1
  46. package/dist/es2019/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.js +0 -45
  47. package/dist/es2019/ui-color/ColorPalette/Palettes/paletteMessages.js +0 -60
  48. package/dist/es2019/ui-color/index.js +0 -1
  49. package/dist/es2019/vanilla-tooltip/index.js +10 -2
  50. package/dist/esm/element-browser/components/ViewMore.js +1 -1
  51. package/dist/esm/extensibility/Extension/Lozenge/ExtensionFloatingLabel.js +1 -1
  52. package/dist/esm/extensions/UnknownMacroPlaceholder.js +1 -1
  53. package/dist/esm/icons/shared/PanelErrorIcon.js +1 -1
  54. package/dist/esm/icons/shared/PanelInfoIcon.js +1 -1
  55. package/dist/esm/icons/shared/PanelNoteIcon.js +1 -1
  56. package/dist/esm/icons/shared/PanelSuccessIcon.js +1 -1
  57. package/dist/esm/icons/shared/PanelWarningIcon.js +1 -1
  58. package/dist/esm/messages/syncBlock.js +30 -0
  59. package/dist/esm/monitoring/error.js +1 -1
  60. package/dist/esm/table/NewSortingIcon.js +1 -1
  61. package/dist/esm/ui/DropList/index.js +1 -1
  62. package/dist/esm/ui/Layer/index.js +138 -19
  63. package/dist/esm/ui/Shortcut/index.js +1 -1
  64. package/dist/esm/ui/Toolbar/ButtonGroup.js +1 -1
  65. package/dist/esm/ui/Toolbar/DropdownTriggerWrapper.js +1 -1
  66. package/dist/esm/ui/Toolbar/DropdownWrapper.js +1 -1
  67. package/dist/esm/ui/Toolbar/ExpandIcon.js +1 -1
  68. package/dist/esm/ui/Toolbar/Separator.js +1 -1
  69. package/dist/esm/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.js +0 -45
  70. package/dist/esm/ui-color/ColorPalette/Palettes/paletteMessages.js +0 -60
  71. package/dist/esm/ui-color/index.js +0 -1
  72. package/dist/esm/vanilla-tooltip/index.js +10 -2
  73. package/dist/types/messages/syncBlock.d.ts +30 -0
  74. package/dist/types/ui/Layer/index.d.ts +3 -26
  75. package/dist/types/ui/Layer/internal/helpers.d.ts +1 -1
  76. package/dist/types/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.d.ts +1 -46
  77. package/dist/types/ui-color/ColorPalette/Palettes/paletteMessages.d.ts +0 -60
  78. package/dist/types/ui-color/index.d.ts +0 -1
  79. package/package.json +9 -4
  80. package/dist/cjs/ui-color/ColorPalette/Palettes/cellBackgroundColorPaletteNew.js +0 -28
  81. package/dist/es2019/ui-color/ColorPalette/Palettes/cellBackgroundColorPaletteNew.js +0 -21
  82. package/dist/esm/ui-color/ColorPalette/Palettes/cellBackgroundColorPaletteNew.js +0 -21
  83. package/dist/types/ui-color/ColorPalette/Palettes/cellBackgroundColorPaletteNew.d.ts +0 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "116.47.0",
3
+ "version": "116.48.1",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@atlaskit/activity-provider": "^3.0.0",
32
- "@atlaskit/adf-schema": "^56.3.0",
32
+ "@atlaskit/adf-schema": "^56.4.0",
33
33
  "@atlaskit/adf-utils": "^20.4.0",
34
34
  "@atlaskit/afm-i18n-platform-editor-editor-common": "2.200.0",
35
35
  "@atlaskit/analytics-listeners": "^11.1.0",
@@ -37,13 +37,13 @@
37
37
  "@atlaskit/analytics-next": "^12.3.0",
38
38
  "@atlaskit/atlassian-context": "^1.1.0",
39
39
  "@atlaskit/browser-apis": "^1.2.0",
40
- "@atlaskit/button": "^24.3.0",
40
+ "@atlaskit/button": "^25.0.0",
41
41
  "@atlaskit/codemod-utils": "^5.0.0",
42
42
  "@atlaskit/css": "^1.0.0",
43
43
  "@atlaskit/custom-steps": "^1.0.0",
44
44
  "@atlaskit/dropdown-menu": "^17.2.0",
45
45
  "@atlaskit/editor-json-transformer": "^9.2.0",
46
- "@atlaskit/editor-palette": "^3.3.0",
46
+ "@atlaskit/editor-palette": "^3.4.0",
47
47
  "@atlaskit/editor-prosemirror": "^8.0.0",
48
48
  "@atlaskit/editor-shared-styles": "^4.0.0",
49
49
  "@atlaskit/editor-tables": "^3.0.0",
@@ -68,6 +68,7 @@
68
68
  "@atlaskit/onboarding": "^15.1.0",
69
69
  "@atlaskit/platform-feature-flags": "^2.1.0",
70
70
  "@atlaskit/platform-feature-flags-react": "^1.1.0",
71
+ "@atlaskit/popper": "^8.5.0",
71
72
  "@atlaskit/primitives": "^22.2.0",
72
73
  "@atlaskit/profilecard": "^26.14.0",
73
74
  "@atlaskit/prosemirror-history": "^1.1.0",
@@ -162,6 +163,10 @@
162
163
  }
163
164
  },
164
165
  "platform-feature-flags": {
166
+ "platform-dst-popper-consolidation": {
167
+ "type": "boolean",
168
+ "referenceOnly": true
169
+ },
165
170
  "rovo_chat_agent_selection": {
166
171
  "type": "boolean"
167
172
  },
@@ -1,28 +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 = void 0;
8
- var _tableNodes = require("@atlaskit/adf-schema/tableNodes");
9
- var _getColorMessage = _interopRequireDefault(require("./getColorMessage"));
10
- var _paletteMessages = _interopRequireDefault(require("./paletteMessages"));
11
- /**
12
- * Expanded 10-column (30-entry) UI palette that adds lime, orange, and magenta columns
13
- * and updates the bold row to use `subtler.hovered` design tokens.
14
- * This is a superset of the default {@link cellBackgroundColorPalette}.
15
- */
16
- var cellBackgroundColorPaletteNew = [];
17
- _tableNodes.tableBackgroundColorPaletteNew.forEach(function (label, color) {
18
- // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
19
- var key = label.toLowerCase().replace(' ', '-');
20
- var message = (0, _getColorMessage.default)(_paletteMessages.default, key);
21
- cellBackgroundColorPaletteNew.push({
22
- value: color,
23
- label: label,
24
- border: _tableNodes.tableBackgroundBorderColor,
25
- message: message
26
- });
27
- });
28
- var _default = exports.default = cellBackgroundColorPaletteNew;
@@ -1,21 +0,0 @@
1
- import { tableBackgroundBorderColor, tableBackgroundColorPaletteNew } from '@atlaskit/adf-schema/tableNodes';
2
- import getColorMessage from './getColorMessage';
3
- import paletteMessages from './paletteMessages';
4
- /**
5
- * Expanded 10-column (30-entry) UI palette that adds lime, orange, and magenta columns
6
- * and updates the bold row to use `subtler.hovered` design tokens.
7
- * This is a superset of the default {@link cellBackgroundColorPalette}.
8
- */
9
- const cellBackgroundColorPaletteNew = [];
10
- tableBackgroundColorPaletteNew.forEach((label, color) => {
11
- // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
12
- const key = label.toLowerCase().replace(' ', '-');
13
- const message = getColorMessage(paletteMessages, key);
14
- cellBackgroundColorPaletteNew.push({
15
- value: color,
16
- label,
17
- border: tableBackgroundBorderColor,
18
- message
19
- });
20
- });
21
- export default cellBackgroundColorPaletteNew;
@@ -1,21 +0,0 @@
1
- import { tableBackgroundBorderColor, tableBackgroundColorPaletteNew } from '@atlaskit/adf-schema/tableNodes';
2
- import getColorMessage from './getColorMessage';
3
- import paletteMessages from './paletteMessages';
4
- /**
5
- * Expanded 10-column (30-entry) UI palette that adds lime, orange, and magenta columns
6
- * and updates the bold row to use `subtler.hovered` design tokens.
7
- * This is a superset of the default {@link cellBackgroundColorPalette}.
8
- */
9
- var cellBackgroundColorPaletteNew = [];
10
- tableBackgroundColorPaletteNew.forEach(function (label, color) {
11
- // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
12
- var key = label.toLowerCase().replace(' ', '-');
13
- var message = getColorMessage(paletteMessages, key);
14
- cellBackgroundColorPaletteNew.push({
15
- value: color,
16
- label: label,
17
- border: tableBackgroundBorderColor,
18
- message: message
19
- });
20
- });
21
- export default cellBackgroundColorPaletteNew;
@@ -1,8 +0,0 @@
1
- import type { PaletteColor } from './type';
2
- /**
3
- * Expanded 10-column (30-entry) UI palette that adds lime, orange, and magenta columns
4
- * and updates the bold row to use `subtler.hovered` design tokens.
5
- * This is a superset of the default {@link cellBackgroundColorPalette}.
6
- */
7
- declare const cellBackgroundColorPaletteNew: Array<PaletteColor>;
8
- export default cellBackgroundColorPaletteNew;