@atlaskit/native-embeds-common 1.2.0 → 1.3.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 (32) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/constants/package.json +17 -0
  3. package/dist/cjs/entry-points/constants.js +36 -0
  4. package/dist/cjs/entry-points/embed-depth-constants.js +24 -0
  5. package/dist/cjs/entry-points/plugin-actions-types.js +1 -0
  6. package/dist/cjs/entry-points/types.js +1 -0
  7. package/dist/cjs/entry-points/utils.js +36 -0
  8. package/dist/es2019/entry-points/constants.js +1 -0
  9. package/dist/es2019/entry-points/embed-depth-constants.js +1 -0
  10. package/dist/es2019/entry-points/plugin-actions-types.js +0 -0
  11. package/dist/es2019/entry-points/types.js +0 -0
  12. package/dist/es2019/entry-points/utils.js +1 -0
  13. package/dist/esm/entry-points/constants.js +1 -0
  14. package/dist/esm/entry-points/embed-depth-constants.js +1 -0
  15. package/dist/esm/entry-points/plugin-actions-types.js +0 -0
  16. package/dist/esm/entry-points/types.js +0 -0
  17. package/dist/esm/entry-points/utils.js +1 -0
  18. package/dist/types/entry-points/constants.d.ts +1 -0
  19. package/dist/types/entry-points/embed-depth-constants.d.ts +1 -0
  20. package/dist/types/entry-points/plugin-actions-types.d.ts +1 -0
  21. package/dist/types/entry-points/types.d.ts +1 -0
  22. package/dist/types/entry-points/utils.d.ts +1 -0
  23. package/dist/types-ts4.5/entry-points/constants.d.ts +1 -0
  24. package/dist/types-ts4.5/entry-points/embed-depth-constants.d.ts +1 -0
  25. package/dist/types-ts4.5/entry-points/plugin-actions-types.d.ts +1 -0
  26. package/dist/types-ts4.5/entry-points/types.d.ts +1 -0
  27. package/dist/types-ts4.5/entry-points/utils.d.ts +1 -0
  28. package/embed-depth/constants/package.json +17 -0
  29. package/package.json +5 -4
  30. package/plugin-actions/types/package.json +17 -0
  31. package/types/package.json +17 -0
  32. package/utils/package.json +17 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/native-embeds-common
2
2
 
3
+ ## 1.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`ebab8f80bfc40`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ebab8f80bfc40) -
14
+ Autofix: add explicit package exports (barrel removal)
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 1.2.0
4
21
 
5
22
  ### Minor Changes
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/native-embeds-common/constants",
3
+ "main": "../dist/cjs/entry-points/constants.js",
4
+ "module": "../dist/esm/entry-points/constants.js",
5
+ "module:es2019": "../dist/es2019/entry-points/constants.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/constants.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/entry-points/constants.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ALIGNMENT_VALUES", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _constants.ALIGNMENT_VALUES;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "BUILTIN_TOOLBAR_KEYS", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _constants.BUILTIN_TOOLBAR_KEYS;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "DEFAULT_ALIGNMENT", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _constants.DEFAULT_ALIGNMENT;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "EDITOR_TOOLBAR_HANDLER_KEYS", {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return _constants.EDITOR_TOOLBAR_HANDLER_KEYS;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "NATIVE_EMBED_PARAMETER_DEFAULTS", {
31
+ enumerable: true,
32
+ get: function get() {
33
+ return _constants.NATIVE_EMBED_PARAMETER_DEFAULTS;
34
+ }
35
+ });
36
+ var _constants = require("../utils/constants");
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "EMBED_DEPTH_QUERY_PARAM", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _constants.EMBED_DEPTH_QUERY_PARAM;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "MAX_EMBED_DEPTH", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _constants.MAX_EMBED_DEPTH;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "getCurrentEmbedDepth", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _constants.getCurrentEmbedDepth;
22
+ }
23
+ });
24
+ var _constants = require("../utils/constants");
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "createEditorToolbarActions", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _utils.createEditorToolbarActions;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "getParameter", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _utils.getParameter;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "getParameters", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _utils.getParameters;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "setParameter", {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return _utils.setParameter;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "setParameters", {
31
+ enumerable: true,
32
+ get: function get() {
33
+ return _utils.setParameters;
34
+ }
35
+ });
36
+ var _utils = require("../utils/utils");
@@ -0,0 +1 @@
1
+ export { ALIGNMENT_VALUES, DEFAULT_ALIGNMENT, BUILTIN_TOOLBAR_KEYS, EDITOR_TOOLBAR_HANDLER_KEYS, NATIVE_EMBED_PARAMETER_DEFAULTS } from '../utils/constants';
@@ -0,0 +1 @@
1
+ export { EMBED_DEPTH_QUERY_PARAM, getCurrentEmbedDepth, MAX_EMBED_DEPTH } from '../utils/constants';
File without changes
@@ -0,0 +1 @@
1
+ export { createEditorToolbarActions, getParameter, getParameters, setParameter, setParameters } from '../utils/utils';
@@ -0,0 +1 @@
1
+ export { ALIGNMENT_VALUES, DEFAULT_ALIGNMENT, BUILTIN_TOOLBAR_KEYS, EDITOR_TOOLBAR_HANDLER_KEYS, NATIVE_EMBED_PARAMETER_DEFAULTS } from '../utils/constants';
@@ -0,0 +1 @@
1
+ export { EMBED_DEPTH_QUERY_PARAM, getCurrentEmbedDepth, MAX_EMBED_DEPTH } from '../utils/constants';
File without changes
File without changes
@@ -0,0 +1 @@
1
+ export { createEditorToolbarActions, getParameter, getParameters, setParameter, setParameters } from '../utils/utils';
@@ -0,0 +1 @@
1
+ export { ALIGNMENT_VALUES, DEFAULT_ALIGNMENT, BUILTIN_TOOLBAR_KEYS, EDITOR_TOOLBAR_HANDLER_KEYS, NATIVE_EMBED_PARAMETER_DEFAULTS, } from '../utils/constants';
@@ -0,0 +1 @@
1
+ export { EMBED_DEPTH_QUERY_PARAM, getCurrentEmbedDepth, MAX_EMBED_DEPTH } from '../utils/constants';
@@ -0,0 +1 @@
1
+ export type { CardToNativeEmbedNode, CardToNativeEmbedTransformOptions, CreateCardToNativeEmbedTransform, EditorPluginNativeEmbedsPlugin, NativeEmbedLayout, NativeEmbedTransformAttrs, } from '../utils/plugin-actions/types';
@@ -0,0 +1 @@
1
+ export type { AlignmentValue, EditorToolbarButtonAction, EditorToolbarAction, EditorToolbarHandler, EditorToolbarHandlerContext, EditorToolbarHandlerKey, EditorToolbarHandlers, NativeEmbedAppearance, NativeEmbedParameterKey, NativeEmbedParameterValues, NativeEmbedParameterValue, NativeEmbedParameters, BuiltinToolbarKey, ManifestEditorToolbarActions, } from '../utils/types';
@@ -0,0 +1 @@
1
+ export { createEditorToolbarActions, getParameter, getParameters, setParameter, setParameters, } from '../utils/utils';
@@ -0,0 +1 @@
1
+ export { ALIGNMENT_VALUES, DEFAULT_ALIGNMENT, BUILTIN_TOOLBAR_KEYS, EDITOR_TOOLBAR_HANDLER_KEYS, NATIVE_EMBED_PARAMETER_DEFAULTS, } from '../utils/constants';
@@ -0,0 +1 @@
1
+ export { EMBED_DEPTH_QUERY_PARAM, getCurrentEmbedDepth, MAX_EMBED_DEPTH } from '../utils/constants';
@@ -0,0 +1 @@
1
+ export type { CardToNativeEmbedNode, CardToNativeEmbedTransformOptions, CreateCardToNativeEmbedTransform, EditorPluginNativeEmbedsPlugin, NativeEmbedLayout, NativeEmbedTransformAttrs, } from '../utils/plugin-actions/types';
@@ -0,0 +1 @@
1
+ export type { AlignmentValue, EditorToolbarButtonAction, EditorToolbarAction, EditorToolbarHandler, EditorToolbarHandlerContext, EditorToolbarHandlerKey, EditorToolbarHandlers, NativeEmbedAppearance, NativeEmbedParameterKey, NativeEmbedParameterValues, NativeEmbedParameterValue, NativeEmbedParameters, BuiltinToolbarKey, ManifestEditorToolbarActions, } from '../utils/types';
@@ -0,0 +1 @@
1
+ export { createEditorToolbarActions, getParameter, getParameters, setParameter, setParameters, } from '../utils/utils';
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/native-embeds-common/embed-depth/constants",
3
+ "main": "../../dist/cjs/entry-points/embed-depth-constants.js",
4
+ "module": "../../dist/esm/entry-points/embed-depth-constants.js",
5
+ "module:es2019": "../../dist/es2019/entry-points/embed-depth-constants.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/entry-points/embed-depth-constants.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/entry-points/embed-depth-constants.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
package/package.json CHANGED
@@ -25,11 +25,11 @@
25
25
  "atlaskit:src": "src/index.ts",
26
26
  "dependencies": {
27
27
  "@atlaskit/button": "^23.11.0",
28
- "@atlaskit/editor-common": "^114.16.0",
29
- "@atlaskit/editor-plugin-local-id": "^8.0.0",
28
+ "@atlaskit/editor-common": "^114.35.0",
29
+ "@atlaskit/editor-plugin-local-id": "^8.1.0",
30
30
  "@atlaskit/editor-prosemirror": "^7.3.0",
31
31
  "@atlaskit/heading": "^5.4.0",
32
- "@atlaskit/icon": "^34.3.0",
32
+ "@atlaskit/icon": "^35.0.0",
33
33
  "@atlaskit/primitives": "^19.0.0",
34
34
  "@atlaskit/tokens": "^13.0.0",
35
35
  "@babel/runtime": "^7.0.0",
@@ -86,10 +86,11 @@
86
86
  }
87
87
  },
88
88
  "name": "@atlaskit/native-embeds-common",
89
- "version": "1.2.0",
89
+ "version": "1.3.1",
90
90
  "description": "A shared package for native embeds to be used across experiences and plugin",
91
91
  "author": "Atlassian Pty Ltd",
92
92
  "license": "Apache-2.0",
93
+ "i18n": true,
93
94
  "publishConfig": {
94
95
  "registry": "https://registry.npmjs.org/"
95
96
  }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/native-embeds-common/plugin-actions/types",
3
+ "main": "../../dist/cjs/entry-points/plugin-actions-types.js",
4
+ "module": "../../dist/esm/entry-points/plugin-actions-types.js",
5
+ "module:es2019": "../../dist/es2019/entry-points/plugin-actions-types.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/entry-points/plugin-actions-types.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/entry-points/plugin-actions-types.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/native-embeds-common/types",
3
+ "main": "../dist/cjs/entry-points/types.js",
4
+ "module": "../dist/esm/entry-points/types.js",
5
+ "module:es2019": "../dist/es2019/entry-points/types.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/types.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/entry-points/types.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/native-embeds-common/utils",
3
+ "main": "../dist/cjs/entry-points/utils.js",
4
+ "module": "../dist/esm/entry-points/utils.js",
5
+ "module:es2019": "../dist/es2019/entry-points/utils.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/utils.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/entry-points/utils.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }