@atlaskit/editor-plugin-card 2.0.3 → 2.0.5

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 (42) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/nodeviews/datasource.js +3 -1
  3. package/dist/cjs/pm-plugins/doc.js +2 -0
  4. package/dist/cjs/toolbar.js +28 -26
  5. package/dist/cjs/ui/AwarenessWrapper/index.js +1 -1
  6. package/dist/cjs/ui/EditLinkToolbar.js +2 -1
  7. package/dist/cjs/ui/EditToolbarButton.js +97 -65
  8. package/dist/cjs/ui/HyperlinkToolbarAppearance.js +2 -1
  9. package/dist/cjs/ui/InlineCardOverlay/index.js +4 -0
  10. package/dist/cjs/ui/LayoutButton/index.js +2 -0
  11. package/dist/cjs/ui/LeftIconOverlay/ConfigureLinkDropdown/index.js +5 -5
  12. package/dist/cjs/ui/LeftIconOverlay/index.js +6 -1
  13. package/dist/cjs/ui/ResizableEmbedCard.js +2 -0
  14. package/dist/es2019/nodeviews/datasource.js +3 -1
  15. package/dist/es2019/pm-plugins/doc.js +2 -0
  16. package/dist/es2019/toolbar.js +24 -22
  17. package/dist/es2019/ui/AwarenessWrapper/index.js +1 -1
  18. package/dist/es2019/ui/EditLinkToolbar.js +2 -1
  19. package/dist/es2019/ui/EditToolbarButton.js +95 -62
  20. package/dist/es2019/ui/HyperlinkToolbarAppearance.js +2 -1
  21. package/dist/es2019/ui/InlineCardOverlay/index.js +6 -0
  22. package/dist/es2019/ui/LayoutButton/index.js +2 -0
  23. package/dist/es2019/ui/LeftIconOverlay/ConfigureLinkDropdown/index.js +12 -12
  24. package/dist/es2019/ui/LeftIconOverlay/index.js +6 -1
  25. package/dist/es2019/ui/ResizableEmbedCard.js +2 -0
  26. package/dist/esm/nodeviews/datasource.js +3 -1
  27. package/dist/esm/pm-plugins/doc.js +2 -0
  28. package/dist/esm/toolbar.js +28 -26
  29. package/dist/esm/ui/AwarenessWrapper/index.js +1 -1
  30. package/dist/esm/ui/EditLinkToolbar.js +2 -1
  31. package/dist/esm/ui/EditToolbarButton.js +98 -66
  32. package/dist/esm/ui/HyperlinkToolbarAppearance.js +2 -1
  33. package/dist/esm/ui/InlineCardOverlay/index.js +4 -0
  34. package/dist/esm/ui/LayoutButton/index.js +2 -0
  35. package/dist/esm/ui/LeftIconOverlay/ConfigureLinkDropdown/index.js +12 -12
  36. package/dist/esm/ui/LeftIconOverlay/index.js +6 -1
  37. package/dist/esm/ui/ResizableEmbedCard.js +2 -0
  38. package/dist/types/ui/EditLinkToolbar.d.ts +1 -1
  39. package/dist/types/ui/EditToolbarButton.d.ts +3 -2
  40. package/dist/types-ts4.5/ui/EditLinkToolbar.d.ts +1 -1
  41. package/dist/types-ts4.5/ui/EditToolbarButton.d.ts +3 -2
  42. package/package.json +129 -147
package/package.json CHANGED
@@ -1,148 +1,130 @@
1
1
  {
2
- "name": "@atlaskit/editor-plugin-card",
3
- "version": "2.0.3",
4
- "description": "Card plugin for @atlaskit/editor-core",
5
- "author": "Atlassian Pty Ltd",
6
- "license": "Apache-2.0",
7
- "publishConfig": {
8
- "registry": "https://registry.npmjs.org/"
9
- },
10
- "atlassian": {
11
- "team": "Linking Platform",
12
- "singleton": true,
13
- "releaseModel": "continuous",
14
- "runReact18": false
15
- },
16
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
17
- "main": "dist/cjs/index.js",
18
- "module": "dist/esm/index.js",
19
- "module:es2019": "dist/es2019/index.js",
20
- "types": "dist/types/index.d.ts",
21
- "typesVersions": {
22
- ">=4.5 <4.9": {
23
- "*": [
24
- "dist/types-ts4.5/*",
25
- "dist/types-ts4.5/index.d.ts"
26
- ]
27
- }
28
- },
29
- "sideEffects": false,
30
- "atlaskit:src": "src/index.ts",
31
- "af:exports": {
32
- ".": "./src/index.ts"
33
- },
34
- "dependencies": {
35
- "@atlaskit/adf-schema": "^36.10.7",
36
- "@atlaskit/analytics-next": "^9.3.0",
37
- "@atlaskit/button": "^17.17.1",
38
- "@atlaskit/custom-steps": "^0.2.0",
39
- "@atlaskit/dropdown-menu": "^12.10.2",
40
- "@atlaskit/editor-common": "^82.1.0",
41
- "@atlaskit/editor-plugin-analytics": "^1.2.0",
42
- "@atlaskit/editor-plugin-decorations": "^1.1.0",
43
- "@atlaskit/editor-plugin-editor-viewmode": "^1.1.0",
44
- "@atlaskit/editor-plugin-feature-flags": "^1.1.0",
45
- "@atlaskit/editor-plugin-floating-toolbar": "^1.4.0",
46
- "@atlaskit/editor-plugin-grid": "^1.1.0",
47
- "@atlaskit/editor-plugin-width": "^1.1.0",
48
- "@atlaskit/editor-prosemirror": "4.0.1",
49
- "@atlaskit/editor-shared-styles": "^2.12.0",
50
- "@atlaskit/frontend-utilities": "^2.7.0",
51
- "@atlaskit/icon": "^22.3.0",
52
- "@atlaskit/link-analytics": "^8.3.0",
53
- "@atlaskit/link-client-extension": "^1.8.0",
54
- "@atlaskit/link-datasource": "^2.3.0",
55
- "@atlaskit/linking-common": "^5.7.0",
56
- "@atlaskit/linking-types": "^8.9.0",
57
- "@atlaskit/menu": "2.4.1",
58
- "@atlaskit/platform-feature-flags": "^0.2.0",
59
- "@atlaskit/primitives": "^7.0.0",
60
- "@atlaskit/smart-card": "^27.5.0",
61
- "@atlaskit/theme": "^12.9.0",
62
- "@atlaskit/tokens": "^1.49.0",
63
- "@atlaskit/tooltip": "^18.4.0",
64
- "@babel/runtime": "^7.0.0",
65
- "@emotion/react": "^11.7.1",
66
- "lodash": "^4.17.21",
67
- "prop-types": "^15.5.10",
68
- "raf-schd": "^4.0.3"
69
- },
70
- "peerDependencies": {
71
- "@atlaskit/link-provider": "^1.10.0",
72
- "react": "^16.8.0",
73
- "react-intl-next": "npm:react-intl@^5.18.1"
74
- },
75
- "devDependencies": {
76
- "typescript": "~5.4.2"
77
- },
78
- "techstack": {
79
- "@atlassian/frontend": {
80
- "import-structure": [
81
- "atlassian-conventions"
82
- ],
83
- "circular-dependencies": [
84
- "file-and-folder-level"
85
- ]
86
- },
87
- "@repo/internal": {
88
- "dom-events": "use-bind-event-listener",
89
- "analytics": [
90
- "analytics-next"
91
- ],
92
- "design-tokens": [
93
- "color"
94
- ],
95
- "theming": [
96
- "react-context"
97
- ],
98
- "ui-components": [
99
- "lite-mode"
100
- ],
101
- "deprecation": "no-deprecated-imports",
102
- "styling": [
103
- "emotion",
104
- "emotion"
105
- ]
106
- }
107
- },
108
- "platform-feature-flags": {
109
- "platform.linking-platform.enable-datasource-edit-dropdown-toolbar": {
110
- "type": "boolean"
111
- },
112
- "platform.linking-platform.smart-links-in-live-pages": {
113
- "type": "boolean"
114
- },
115
- "platform.linking-platform.datasource-word_wrap": {
116
- "type": "boolean"
117
- },
118
- "platform.linking-platform.enable-datasource-appearance-toolbar": {
119
- "type": "boolean"
120
- },
121
- "platform.linking-platform.datasource-enable-toolbar-buttons-for-all-datasources": {
122
- "type": "boolean"
123
- },
124
- "platform.editor.card.fix-embed-card-select-all": {
125
- "type": "boolean"
126
- },
127
- "platform.linking-platform.datasource.enable-confluence-search-modal": {
128
- "type": "boolean"
129
- },
130
- "platform.linking-platform.datasource-assets_objects_remove_beta": {
131
- "type": "boolean"
132
- },
133
- "platform.editor.card.inject-settings-button": {
134
- "type": "boolean"
135
- },
136
- "platform.linking-platform.smart-card.on-click-callback": {
137
- "type": "boolean"
138
- },
139
- "platform.linking-platform.editor-datasource-typeguards": {
140
- "type": "boolean"
141
- }
142
- },
143
- "stricter": {
144
- "no-unused-dependencies": {
145
- "checkDevDependencies": true
146
- }
147
- }
148
- }
2
+ "name": "@atlaskit/editor-plugin-card",
3
+ "version": "2.0.5",
4
+ "description": "Card plugin for @atlaskit/editor-core",
5
+ "author": "Atlassian Pty Ltd",
6
+ "license": "Apache-2.0",
7
+ "publishConfig": {
8
+ "registry": "https://registry.npmjs.org/"
9
+ },
10
+ "atlassian": {
11
+ "team": "Linking Platform",
12
+ "singleton": true,
13
+ "releaseModel": "continuous",
14
+ "runReact18": false
15
+ },
16
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
17
+ "main": "dist/cjs/index.js",
18
+ "module": "dist/esm/index.js",
19
+ "module:es2019": "dist/es2019/index.js",
20
+ "types": "dist/types/index.d.ts",
21
+ "typesVersions": {
22
+ ">=4.5 <4.9": {
23
+ "*": ["dist/types-ts4.5/*", "dist/types-ts4.5/index.d.ts"]
24
+ }
25
+ },
26
+ "sideEffects": false,
27
+ "atlaskit:src": "src/index.ts",
28
+ "af:exports": {
29
+ ".": "./src/index.ts"
30
+ },
31
+ "dependencies": {
32
+ "@atlaskit/adf-schema": "^36.10.7",
33
+ "@atlaskit/analytics-next": "^9.3.0",
34
+ "@atlaskit/button": "^17.17.1",
35
+ "@atlaskit/custom-steps": "^0.2.0",
36
+ "@atlaskit/dropdown-menu": "^12.10.2",
37
+ "@atlaskit/editor-common": "^82.6.0",
38
+ "@atlaskit/editor-plugin-analytics": "^1.2.0",
39
+ "@atlaskit/editor-plugin-decorations": "^1.1.0",
40
+ "@atlaskit/editor-plugin-editor-viewmode": "^1.2.0",
41
+ "@atlaskit/editor-plugin-feature-flags": "^1.1.0",
42
+ "@atlaskit/editor-plugin-floating-toolbar": "^1.6.0",
43
+ "@atlaskit/editor-plugin-grid": "^1.1.0",
44
+ "@atlaskit/editor-plugin-width": "^1.1.0",
45
+ "@atlaskit/editor-prosemirror": "4.0.1",
46
+ "@atlaskit/editor-shared-styles": "^2.12.0",
47
+ "@atlaskit/frontend-utilities": "^2.7.0",
48
+ "@atlaskit/icon": "^22.3.0",
49
+ "@atlaskit/link-analytics": "^8.3.0",
50
+ "@atlaskit/link-client-extension": "^1.9.0",
51
+ "@atlaskit/link-datasource": "^2.3.0",
52
+ "@atlaskit/linking-common": "^5.7.0",
53
+ "@atlaskit/linking-types": "^8.9.0",
54
+ "@atlaskit/menu": "2.4.1",
55
+ "@atlaskit/platform-feature-flags": "^0.2.0",
56
+ "@atlaskit/primitives": "^7.2.0",
57
+ "@atlaskit/smart-card": "^27.6.0",
58
+ "@atlaskit/theme": "^12.9.0",
59
+ "@atlaskit/tokens": "^1.50.0",
60
+ "@atlaskit/tooltip": "^18.4.0",
61
+ "@babel/runtime": "^7.0.0",
62
+ "@emotion/react": "^11.7.1",
63
+ "lodash": "^4.17.21",
64
+ "prop-types": "^15.5.10",
65
+ "raf-schd": "^4.0.3"
66
+ },
67
+ "peerDependencies": {
68
+ "@atlaskit/link-provider": "^1.10.0",
69
+ "react": "^16.8.0",
70
+ "react-intl-next": "npm:react-intl@^5.18.1"
71
+ },
72
+ "devDependencies": {
73
+ "typescript": "~5.4.2"
74
+ },
75
+ "techstack": {
76
+ "@atlassian/frontend": {
77
+ "import-structure": ["atlassian-conventions"],
78
+ "circular-dependencies": ["file-and-folder-level"]
79
+ },
80
+ "@repo/internal": {
81
+ "dom-events": "use-bind-event-listener",
82
+ "analytics": ["analytics-next"],
83
+ "design-tokens": ["color"],
84
+ "theming": ["react-context"],
85
+ "ui-components": ["lite-mode"],
86
+ "deprecation": "no-deprecated-imports",
87
+ "styling": ["emotion", "emotion"]
88
+ }
89
+ },
90
+ "platform-feature-flags": {
91
+ "platform.linking-platform.enable-datasource-edit-dropdown-toolbar": {
92
+ "type": "boolean"
93
+ },
94
+ "platform.linking-platform.smart-links-in-live-pages": {
95
+ "type": "boolean"
96
+ },
97
+ "platform.linking-platform.datasource-word_wrap": {
98
+ "type": "boolean"
99
+ },
100
+ "platform.linking-platform.enable-datasource-appearance-toolbar": {
101
+ "type": "boolean"
102
+ },
103
+ "platform.linking-platform.datasource-enable-toolbar-buttons-for-all-datasources": {
104
+ "type": "boolean"
105
+ },
106
+ "platform.editor.card.fix-embed-card-select-all": {
107
+ "type": "boolean"
108
+ },
109
+ "platform.linking-platform.datasource.enable-confluence-search-modal": {
110
+ "type": "boolean"
111
+ },
112
+ "platform.linking-platform.datasource-assets_objects_remove_beta": {
113
+ "type": "boolean"
114
+ },
115
+ "platform.editor.card.inject-settings-button": {
116
+ "type": "boolean"
117
+ },
118
+ "platform.linking-platform.smart-card.on-click-callback": {
119
+ "type": "boolean"
120
+ },
121
+ "platform.linking-platform.editor-datasource-typeguards": {
122
+ "type": "boolean"
123
+ }
124
+ },
125
+ "stricter": {
126
+ "no-unused-dependencies": {
127
+ "checkDevDependencies": true
128
+ }
129
+ }
130
+ }