@atlaskit/editor-core 193.24.19 → 193.24.20

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 (36) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/create-editor-content-style/package.json +15 -0
  3. package/dist/cjs/index.js +7 -0
  4. package/dist/cjs/keymaps/index.js +24 -0
  5. package/dist/cjs/ui/Appearance/Comment/Comment.js +4 -8
  6. package/dist/cjs/ui/Appearance/FullPage/FullPage.js +2 -5
  7. package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +12 -7
  8. package/dist/cjs/version-wrapper.js +1 -1
  9. package/dist/es2019/index.js +2 -1
  10. package/dist/es2019/keymaps/index.js +1 -1
  11. package/dist/es2019/ui/Appearance/Comment/Comment.js +4 -8
  12. package/dist/es2019/ui/Appearance/FullPage/FullPage.js +2 -5
  13. package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +12 -8
  14. package/dist/es2019/version-wrapper.js +1 -1
  15. package/dist/esm/index.js +2 -1
  16. package/dist/esm/keymaps/index.js +1 -1
  17. package/dist/esm/ui/Appearance/Comment/Comment.js +4 -8
  18. package/dist/esm/ui/Appearance/FullPage/FullPage.js +2 -5
  19. package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +13 -8
  20. package/dist/esm/version-wrapper.js +1 -1
  21. package/dist/types/create-editor/create-preset.d.ts +270 -111
  22. package/dist/types/index.d.ts +1 -0
  23. package/dist/types/keymaps/index.d.ts +1 -1
  24. package/dist/types/presets/default.d.ts +496 -84
  25. package/dist/types/presets/universal.d.ts +270 -111
  26. package/dist/types/presets/useUniversalPreset.d.ts +270 -111
  27. package/dist/types-ts4.5/create-editor/create-preset.d.ts +320 -117
  28. package/dist/types-ts4.5/index.d.ts +1 -0
  29. package/dist/types-ts4.5/keymaps/index.d.ts +1 -1
  30. package/dist/types-ts4.5/presets/default.d.ts +1711 -1201
  31. package/dist/types-ts4.5/presets/universal.d.ts +320 -117
  32. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +320 -117
  33. package/i18n-languages/package.json +15 -0
  34. package/package.json +21 -23
  35. package/tsconfig.json +2 -3
  36. package/use-preset-context/package.json +15 -0
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@atlaskit/editor-core/i18n-languages",
3
+ "main": "../dist/cjs/i18n/languages.js",
4
+ "module": "../dist/esm/i18n/languages.js",
5
+ "module:es2019": "../dist/es2019/i18n/languages.js",
6
+ "sideEffects": false,
7
+ "types": "../dist/types/i18n/languages.d.ts",
8
+ "typesVersions": {
9
+ ">=4.5 <5.4": {
10
+ "*": [
11
+ "../dist/types-ts4.5/i18n/languages.d.ts"
12
+ ]
13
+ }
14
+ }
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "193.24.19",
3
+ "version": "193.24.20",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -45,15 +45,15 @@
45
45
  "@atlaskit/analytics-next": "^9.3.0",
46
46
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
47
47
  "@atlaskit/button": "^17.17.0",
48
- "@atlaskit/editor-common": "^81.2.0",
48
+ "@atlaskit/editor-common": "^82.0.0",
49
49
  "@atlaskit/editor-json-transformer": "^8.13.0",
50
- "@atlaskit/editor-plugins": "^2.7.0",
50
+ "@atlaskit/editor-plugins": "^3.0.0",
51
51
  "@atlaskit/editor-prosemirror": "4.0.1",
52
- "@atlaskit/editor-shared-styles": "^2.11.0",
52
+ "@atlaskit/editor-shared-styles": "^2.12.0",
53
53
  "@atlaskit/emoji": "^67.6.0",
54
54
  "@atlaskit/icon": "^22.3.0",
55
- "@atlaskit/media-card": "^77.11.0",
56
- "@atlaskit/mention": "^23.0.0",
55
+ "@atlaskit/media-card": "^77.12.0",
56
+ "@atlaskit/mention": "^23.1.0",
57
57
  "@atlaskit/platform-feature-flags": "^0.2.0",
58
58
  "@atlaskit/spinner": "^16.1.0",
59
59
  "@atlaskit/task-decision": "^17.10.0",
@@ -82,23 +82,19 @@
82
82
  "react-intl-next": "npm:react-intl@^5.18.1"
83
83
  },
84
84
  "devDependencies": {
85
- "@af/editor-examples-helpers": "0.0.0",
85
+ "@af/editor-examples-helpers": "0.0.1",
86
86
  "@af/editor-libra": "*",
87
87
  "@af/visual-regression": "*",
88
88
  "@atlaskit/adf-utils": "^19.2.0",
89
89
  "@atlaskit/analytics-listeners": "^8.9.1",
90
- "@atlaskit/checkbox": "^13.4.0",
91
- "@atlaskit/collab-provider": "9.29.2",
92
- "@atlaskit/dropdown-menu": "^12.10.0",
93
- "@atlaskit/editor-plugin-annotation": "1.9.4",
94
- "@atlaskit/editor-plugin-card": "^1.15.0",
90
+ "@atlaskit/collab-provider": "9.29.3",
91
+ "@atlaskit/editor-plugin-annotation": "1.9.5",
92
+ "@atlaskit/editor-plugin-card": "^2.0.0",
95
93
  "@atlaskit/editor-plugin-editor-viewmode": "^1.1.0",
96
94
  "@atlaskit/editor-plugin-list": "^3.3.0",
97
95
  "@atlaskit/editor-plugin-paste": "^1.2.0",
98
96
  "@atlaskit/editor-test-helpers": "*",
99
- "@atlaskit/flag": "^15.5.0",
100
97
  "@atlaskit/link-provider": "^1.9.0",
101
- "@atlaskit/link-test-helpers": "^7.0.0",
102
98
  "@atlaskit/logo": "^13.17.0",
103
99
  "@atlaskit/media-core": "^34.2.0",
104
100
  "@atlaskit/media-integration-test-helpers": "^3.0.0",
@@ -106,7 +102,6 @@
106
102
  "@atlaskit/modal-dialog": "^12.13.0",
107
103
  "@atlaskit/primitives": "^6.5.0",
108
104
  "@atlaskit/renderer": "^109.31.0",
109
- "@atlaskit/select": "^17.10.0",
110
105
  "@atlaskit/smart-card": "^27.5.0",
111
106
  "@atlaskit/synchrony-test-helpers": "^2.4.0",
112
107
  "@atlaskit/toggle": "^13.1.0",
@@ -114,7 +109,7 @@
114
109
  "@atlaskit/visual-regression": "*",
115
110
  "@atlassian/adf-schema-json": "^1.14.0",
116
111
  "@atlassian/link-picker-plugins": "^24.3.0",
117
- "@atlassian/search-provider": "2.4.76",
112
+ "@atlassian/search-provider": "2.4.77",
118
113
  "@atlassian/ufo": "^0.2.0",
119
114
  "@emotion/jest": "^11.8.0",
120
115
  "@storybook/addon-knobs": "^5.3.18",
@@ -125,14 +120,11 @@
125
120
  "@types/is-number": "^7.0.0",
126
121
  "diff": "^4.0.1",
127
122
  "enzyme": "^3.10.0",
128
- "fetch-mock": "^8.0.0",
129
123
  "jscodeshift": "^0.13.0",
130
- "lz-string": "^1.4.4",
131
124
  "mockdate": "^3.0.5",
132
125
  "raf-stub": "^2.0.1",
133
126
  "react": "^16.8.0",
134
127
  "react-intl-next": "npm:react-intl@^5.18.1",
135
- "rison": "^0.1.1",
136
128
  "typescript": "~5.4.2",
137
129
  "url-search-params": "^0.10.0"
138
130
  },
@@ -176,6 +168,10 @@
176
168
  "type": "boolean",
177
169
  "referenceOnly": "true"
178
170
  },
171
+ "platform.editor.a11y-help-dialog-shortcut-keys-position_aghfg": {
172
+ "type": "boolean",
173
+ "referenceOnly": "true"
174
+ },
179
175
  "platform.editor.resizer.prevent-contenteditable": {
180
176
  "type": "boolean",
181
177
  "referenceOnly": "true"
@@ -325,10 +321,6 @@
325
321
  "type": "boolean",
326
322
  "referenceOnly": true
327
323
  },
328
- "platform.editor.enable-localid-for-paragraph-in-stage-0_cby7g": {
329
- "type": "boolean",
330
- "referenceOnly": true
331
- },
332
324
  "platform.editor.live-view.no-editor-selection-in-view-mode": {
333
325
  "type": "boolean"
334
326
  },
@@ -359,6 +351,9 @@
359
351
  "platform.editor.simplify-inline-cards-in-code-blocks_jw6t1": {
360
352
  "type": "boolean",
361
353
  "referenceOnly": "true"
354
+ },
355
+ "platform.editor.core.increase-full-page-guttering": {
356
+ "type": "boolean"
362
357
  }
363
358
  },
364
359
  "stricter": {
@@ -369,15 +364,18 @@
369
364
  "af:exports": {
370
365
  ".": "./src/index.ts",
371
366
  "./composable-editor": "./src/composable-editor.ts",
367
+ "./create-editor-content-style": "./src/ui/ContentStyles/index.tsx",
372
368
  "./editor-context": "./src/editor-context.ts",
373
369
  "./editor": "./src/editor.tsx",
374
370
  "./element-browser": "./src/element-browser.ts",
371
+ "./i18n-languages": "./src/i18n/languages.ts",
375
372
  "./labs-next": "./src/labs-next.ts",
376
373
  "./messages": "./src/messages.ts",
377
374
  "./preset-default": "./src/preset-default.ts",
378
375
  "./preset-universal": "./src/preset-universal.ts",
379
376
  "./test-utils": "./src/test-utils.ts",
380
377
  "./use-preset": "./src/use-preset.ts",
378
+ "./use-preset-context": "./src/presets/context.tsx",
381
379
  "./preset-builder": "./src/preset-builder.ts",
382
380
  "./version-wrapper": "./src/version-wrapper.ts"
383
381
  }
package/tsconfig.json CHANGED
@@ -9,10 +9,9 @@
9
9
  "./examples/**/*.tsx",
10
10
  "./example-helpers/**/*.ts",
11
11
  "./example-helpers/**/*.tsx",
12
- "./playwright/**/*.ts"
13
- ],
12
+ "./playwright/**/*.ts" ],
14
13
  "compilerOptions": {
15
14
  "baseUrl": "./",
16
15
  "noErrorTruncation": true
17
16
  }
18
- }
17
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@atlaskit/editor-core/use-preset-context",
3
+ "main": "../dist/cjs/presets/context.js",
4
+ "module": "../dist/esm/presets/context.js",
5
+ "module:es2019": "../dist/es2019/presets/context.js",
6
+ "sideEffects": false,
7
+ "types": "../dist/types/presets/context.d.ts",
8
+ "typesVersions": {
9
+ ">=4.5 <5.4": {
10
+ "*": [
11
+ "../dist/types-ts4.5/presets/context.d.ts"
12
+ ]
13
+ }
14
+ }
15
+ }