@atlaskit/editor-core 216.12.0 → 216.12.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.
- package/CHANGELOG.md +10 -0
- package/dist/cjs/ui/EditorContentContainer/styles/expandStyles.js +0 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/styles/expandStyles.js +0 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/expandStyles.js +0 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +1 -0
- package/dist/types/presets/universal.d.ts +1 -0
- package/dist/types/presets/useUniversalPreset.d.ts +1 -0
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +1 -0
- package/dist/types-ts4.5/presets/universal.d.ts +1 -0
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +1 -0
- package/package.json +6 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 216.12.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`b7751c58914be`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b7751c58914be) -
|
|
8
|
+
Remove old storybook addon (knobs)
|
|
9
|
+
- [`3e57aae5b06fd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3e57aae5b06fd) -
|
|
10
|
+
Bump storybook v6 to v8
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 216.12.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -125,7 +125,6 @@ var expandStyles = exports.expandStyles = (0, _react.css)({
|
|
|
125
125
|
// relativeFontSizeToBase16(14),
|
|
126
126
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
127
127
|
lineHeight: 1.714,
|
|
128
|
-
// If fg('platform-visual-refresh-icons') then this needs to be overridden
|
|
129
128
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
130
129
|
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
131
130
|
background: 'transparent',
|
|
@@ -118,7 +118,6 @@ export const expandStyles = css({
|
|
|
118
118
|
// relativeFontSizeToBase16(14),
|
|
119
119
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
120
120
|
lineHeight: 1.714,
|
|
121
|
-
// If fg('platform-visual-refresh-icons') then this needs to be overridden
|
|
122
121
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
123
122
|
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
124
123
|
background: 'transparent',
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "216.
|
|
2
|
+
export const version = "216.12.0";
|
|
@@ -118,7 +118,6 @@ export var expandStyles = css({
|
|
|
118
118
|
// relativeFontSizeToBase16(14),
|
|
119
119
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
120
120
|
lineHeight: 1.714,
|
|
121
|
-
// If fg('platform-visual-refresh-icons') then this needs to be overridden
|
|
122
121
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
123
122
|
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
124
123
|
background: 'transparent',
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "216.
|
|
2
|
+
export var version = "216.12.0";
|
|
@@ -463,6 +463,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
463
463
|
} | undefined;
|
|
464
464
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
465
465
|
actions: {
|
|
466
|
+
afterCopy: (message: string) => void;
|
|
466
467
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: Array<import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>>, hoverDecoration: import("@atlaskit/editor-plugins/decorations").HoverDecorationHandler | undefined) => Array<import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>>;
|
|
467
468
|
};
|
|
468
469
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPlugin>];
|
|
@@ -536,6 +536,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
536
536
|
} | undefined;
|
|
537
537
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
538
538
|
actions: {
|
|
539
|
+
afterCopy: (message: string) => void;
|
|
539
540
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: Array<import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>>, hoverDecoration: import("@atlaskit/editor-plugins/decorations").HoverDecorationHandler | undefined) => Array<import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>>;
|
|
540
541
|
};
|
|
541
542
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPlugin>];
|
|
@@ -463,6 +463,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
463
463
|
} | undefined;
|
|
464
464
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
465
465
|
actions: {
|
|
466
|
+
afterCopy: (message: string) => void;
|
|
466
467
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: Array<import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>>, hoverDecoration: import("@atlaskit/editor-plugins/decorations").HoverDecorationHandler | undefined) => Array<import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>>;
|
|
467
468
|
};
|
|
468
469
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPlugin>];
|
|
@@ -651,6 +651,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
651
651
|
}, undefined>,
|
|
652
652
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
653
653
|
actions: {
|
|
654
|
+
afterCopy: (message: string) => void;
|
|
654
655
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: Array<import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>>, hoverDecoration: import("@atlaskit/editor-plugins/decorations").HoverDecorationHandler | undefined) => Array<import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>>;
|
|
655
656
|
};
|
|
656
657
|
dependencies: [
|
|
@@ -724,6 +724,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
724
724
|
}, undefined>,
|
|
725
725
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
726
726
|
actions: {
|
|
727
|
+
afterCopy: (message: string) => void;
|
|
727
728
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: Array<import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>>, hoverDecoration: import("@atlaskit/editor-plugins/decorations").HoverDecorationHandler | undefined) => Array<import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>>;
|
|
728
729
|
};
|
|
729
730
|
dependencies: [
|
|
@@ -651,6 +651,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
651
651
|
}, undefined>,
|
|
652
652
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
653
653
|
actions: {
|
|
654
|
+
afterCopy: (message: string) => void;
|
|
654
655
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: Array<import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>>, hoverDecoration: import("@atlaskit/editor-plugins/decorations").HoverDecorationHandler | undefined) => Array<import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>>;
|
|
655
656
|
};
|
|
656
657
|
dependencies: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "216.12.
|
|
3
|
+
"version": "216.12.1",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"@atlaskit/icon": "^31.0.0",
|
|
62
62
|
"@atlaskit/link": "^3.3.0",
|
|
63
63
|
"@atlaskit/media-card": "^79.15.0",
|
|
64
|
-
"@atlaskit/mention": "^24.
|
|
64
|
+
"@atlaskit/mention": "^24.5.0",
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
66
66
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
67
|
-
"@atlaskit/react-ufo": "^5.
|
|
67
|
+
"@atlaskit/react-ufo": "^5.3.0",
|
|
68
68
|
"@atlaskit/task-decision": "^19.2.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^29.
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^29.2.0",
|
|
70
70
|
"@atlaskit/tokens": "^11.0.0",
|
|
71
71
|
"@atlaskit/tooltip": "^20.14.0",
|
|
72
72
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"uuid": "^3.1.0"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"@atlaskit/editor-common": "^111.
|
|
86
|
+
"@atlaskit/editor-common": "^111.18.0",
|
|
87
87
|
"@atlaskit/link-provider": "^4.2.0",
|
|
88
88
|
"@atlaskit/media-core": "^37.0.0",
|
|
89
89
|
"react": "^18.2.0",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
108
108
|
"@atlaskit/media-test-helpers": "^40.0.0",
|
|
109
109
|
"@atlaskit/modal-dialog": "^14.10.0",
|
|
110
|
-
"@atlaskit/renderer": "^126.
|
|
110
|
+
"@atlaskit/renderer": "^126.11.0",
|
|
111
111
|
"@atlaskit/section-message": "^8.12.0",
|
|
112
112
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
113
113
|
"@atlaskit/toggle": "^15.2.0",
|
|
@@ -117,7 +117,6 @@
|
|
|
117
117
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
118
118
|
"@atlassian/search-provider": "^8.0.0",
|
|
119
119
|
"@emotion/jest": "^11.8.0",
|
|
120
|
-
"@storybook/addon-knobs": "^6.4.0",
|
|
121
120
|
"@testing-library/react": "^16.3.0",
|
|
122
121
|
"@types/diff": "^5.0.2",
|
|
123
122
|
"@types/is-number": "^7.0.0",
|
|
@@ -173,10 +172,6 @@
|
|
|
173
172
|
"platform_editor_toolbar_responsive_fixes": {
|
|
174
173
|
"type": "boolean"
|
|
175
174
|
},
|
|
176
|
-
"platform-visual-refresh-icons": {
|
|
177
|
-
"type": "boolean",
|
|
178
|
-
"referenceOnly": true
|
|
179
|
-
},
|
|
180
175
|
"platform_editor_typography_ugc": {
|
|
181
176
|
"type": "boolean",
|
|
182
177
|
"referenceOnly": true
|