@atlaskit/editor-common 82.0.1 → 82.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 (43) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/cjs/element-browser/components/ElementList/ElementList.js +123 -27
  3. package/dist/cjs/element-browser/components/StatelessElementBrowser.js +7 -1
  4. package/dist/cjs/element-browser/constants.js +3 -2
  5. package/dist/cjs/mark/commands.js +8 -1
  6. package/dist/cjs/monitoring/environment.js +22 -0
  7. package/dist/cjs/monitoring/error.js +3 -2
  8. package/dist/cjs/styles/shared/annotation.js +67 -42
  9. package/dist/cjs/styles/shared/background-color.js +11 -13
  10. package/dist/cjs/ui/DropList/index.js +1 -1
  11. package/dist/cjs/utils/annotation/index.js +11 -3
  12. package/dist/cjs/utils/validator.js +24 -27
  13. package/dist/es2019/element-browser/components/ElementList/ElementList.js +100 -6
  14. package/dist/es2019/element-browser/components/StatelessElementBrowser.js +7 -1
  15. package/dist/es2019/element-browser/constants.js +2 -1
  16. package/dist/es2019/mark/commands.js +8 -1
  17. package/dist/es2019/monitoring/environment.js +16 -0
  18. package/dist/es2019/monitoring/error.js +3 -2
  19. package/dist/es2019/styles/shared/annotation.js +70 -43
  20. package/dist/es2019/styles/shared/background-color.js +3 -3
  21. package/dist/es2019/ui/DropList/index.js +1 -1
  22. package/dist/es2019/utils/annotation/index.js +11 -3
  23. package/dist/es2019/utils/validator.js +24 -24
  24. package/dist/esm/element-browser/components/ElementList/ElementList.js +124 -28
  25. package/dist/esm/element-browser/components/StatelessElementBrowser.js +7 -1
  26. package/dist/esm/element-browser/constants.js +2 -1
  27. package/dist/esm/mark/commands.js +8 -1
  28. package/dist/esm/monitoring/environment.js +16 -0
  29. package/dist/esm/monitoring/error.js +3 -2
  30. package/dist/esm/styles/shared/annotation.js +67 -42
  31. package/dist/esm/styles/shared/background-color.js +11 -13
  32. package/dist/esm/ui/DropList/index.js +1 -1
  33. package/dist/esm/utils/annotation/index.js +11 -3
  34. package/dist/esm/utils/validator.js +24 -27
  35. package/dist/types/element-browser/components/ElementList/ElementList.d.ts +1 -0
  36. package/dist/types/element-browser/constants.d.ts +1 -0
  37. package/dist/types/monitoring/environment.d.ts +1 -0
  38. package/dist/types/styles/shared/background-color.d.ts +1 -1
  39. package/dist/types-ts4.5/element-browser/components/ElementList/ElementList.d.ts +1 -0
  40. package/dist/types-ts4.5/element-browser/constants.d.ts +1 -0
  41. package/dist/types-ts4.5/monitoring/environment.d.ts +1 -0
  42. package/dist/types-ts4.5/styles/shared/background-color.d.ts +1 -1
  43. package/package.json +12 -6
@@ -1 +1 @@
1
- export declare const backgroundColorStyles: (colorMode?: 'light' | 'dark') => import("@emotion/react").SerializedStyles;
1
+ export declare const backgroundColorStyles: import("@emotion/react").SerializedStyles;
@@ -13,6 +13,7 @@ export interface Props {
13
13
  items: QuickInsertItem[];
14
14
  mode: keyof typeof Modes;
15
15
  onInsertItem: (item: QuickInsertItem) => void;
16
+ columnCount: number;
16
17
  setColumnCount: (columnCount: number) => void;
17
18
  setFocusedItemIndex: (index: number) => void;
18
19
  setFocusedCategoryIndex?: (index: number) => void;
@@ -17,3 +17,4 @@ export declare const SEARCH_ITEM_HEIGHT_WIDTH = "20px";
17
17
  export declare const SCROLLBAR_WIDTH = 15;
18
18
  export declare const ELEMENT_LIST_PADDING = 2;
19
19
  export declare const ELEMENT_ITEM_HEIGHT = 75;
20
+ export declare const ELEMENT_ITEM_PADDING = 10;
@@ -0,0 +1 @@
1
+ export declare function isFedRamp(): boolean;
@@ -1 +1 @@
1
- export declare const backgroundColorStyles: (colorMode?: 'light' | 'dark') => import("@emotion/react").SerializedStyles;
1
+ export declare const backgroundColorStyles: import("@emotion/react").SerializedStyles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "82.0.1",
3
+ "version": "82.1.0",
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/"
@@ -123,11 +123,11 @@
123
123
  "@atlaskit/media-file-preview": "^0.5.0",
124
124
  "@atlaskit/media-picker": "^66.4.0",
125
125
  "@atlaskit/media-ui": "^25.10.0",
126
- "@atlaskit/media-viewer": "48.6.0",
127
- "@atlaskit/mention": "^23.1.0",
126
+ "@atlaskit/media-viewer": "48.6.1",
127
+ "@atlaskit/mention": "^23.2.0",
128
128
  "@atlaskit/menu": "^2.4.0",
129
129
  "@atlaskit/platform-feature-flags": "^0.2.0",
130
- "@atlaskit/primitives": "^6.5.0",
130
+ "@atlaskit/primitives": "^7.0.0",
131
131
  "@atlaskit/profilecard": "^19.14.0",
132
132
  "@atlaskit/section-message": "^6.5.0",
133
133
  "@atlaskit/smart-card": "^27.5.0",
@@ -135,7 +135,7 @@
135
135
  "@atlaskit/spinner": "^16.1.0",
136
136
  "@atlaskit/task-decision": "^17.10.0",
137
137
  "@atlaskit/textfield": "^6.3.0",
138
- "@atlaskit/theme": "^12.8.0",
138
+ "@atlaskit/theme": "^12.9.0",
139
139
  "@atlaskit/tokens": "^1.49.0",
140
140
  "@atlaskit/tooltip": "^18.4.0",
141
141
  "@atlaskit/ufo": "^0.2.0",
@@ -179,7 +179,7 @@
179
179
  "@atlaskit/visual-regression": "*",
180
180
  "@atlassian/feature-flags-test-utils": "*",
181
181
  "@testing-library/dom": "^8.17.1",
182
- "@testing-library/jest-dom": "^5.16.5",
182
+ "@testing-library/jest-dom": "^6.4.5",
183
183
  "@testing-library/react": "^12.1.5",
184
184
  "@testing-library/react-hooks": "^8.0.1",
185
185
  "@testing-library/user-event": "^14.4.3",
@@ -239,6 +239,9 @@
239
239
  "platform.editor.allow-inline-comments-for-inline-nodes": {
240
240
  "type": "boolean"
241
241
  },
242
+ "platform.editor.allow-inline-comments-for-inline-nodes-round-2_ctuxz": {
243
+ "type": "boolean"
244
+ },
242
245
  "platform.editor.mbe-update-params-change": {
243
246
  "type": "boolean"
244
247
  },
@@ -250,6 +253,9 @@
250
253
  },
251
254
  "platform.editor.simplify-inline-cards-in-code-blocks_jw6t1": {
252
255
  "type": "boolean"
256
+ },
257
+ "platform.editor.a11y-element-browser": {
258
+ "type": "boolean"
253
259
  }
254
260
  }
255
261
  }