@atlaskit/editor-core 197.13.3 → 198.0.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.
- package/CHANGELOG.md +86 -0
- package/dist/cjs/composable-editor/editor-internal.js +3 -3
- package/dist/cjs/composable-editor/hooks/useMemoEditorProps.js +1 -5
- package/dist/cjs/composable-editor/hooks/useProviderFactory.js +2 -12
- package/dist/cjs/composable-editor/utils/getProvidersFromEditorProps.js +1 -9
- package/dist/cjs/composable-editor/utils/handleProviders.js +1 -3
- package/dist/cjs/create-editor/feature-flags-from-props.js +0 -1
- package/dist/cjs/index.js +0 -66
- package/dist/cjs/presets/universal.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +7 -1
- package/dist/cjs/ui/Toolbar/toolbar-size.js +27 -2
- package/dist/cjs/ui/Toolbar/types.js +6 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor-internal.js +3 -3
- package/dist/es2019/composable-editor/hooks/useMemoEditorProps.js +1 -5
- package/dist/es2019/composable-editor/hooks/useProviderFactory.js +1 -11
- package/dist/es2019/composable-editor/utils/getProvidersFromEditorProps.js +0 -8
- package/dist/es2019/composable-editor/utils/handleProviders.js +1 -3
- package/dist/es2019/create-editor/feature-flags-from-props.js +0 -1
- package/dist/es2019/index.js +0 -98
- package/dist/es2019/presets/universal.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +7 -1
- package/dist/es2019/ui/Toolbar/toolbar-size.js +29 -3
- package/dist/es2019/ui/Toolbar/types.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor-internal.js +3 -3
- package/dist/esm/composable-editor/hooks/useMemoEditorProps.js +1 -5
- package/dist/esm/composable-editor/hooks/useProviderFactory.js +2 -12
- package/dist/esm/composable-editor/utils/getProvidersFromEditorProps.js +1 -9
- package/dist/esm/composable-editor/utils/handleProviders.js +1 -3
- package/dist/esm/create-editor/feature-flags-from-props.js +0 -1
- package/dist/esm/index.js +0 -98
- package/dist/esm/presets/universal.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +7 -1
- package/dist/esm/ui/Toolbar/toolbar-size.js +29 -3
- package/dist/esm/ui/Toolbar/types.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/utils/getProvidersFromEditorProps.d.ts +3 -3
- package/dist/types/composable-editor/utils/handleProviders.d.ts +1 -1
- package/dist/types/editor-appearances/FullPageEditor.d.ts +1 -1
- package/dist/types/editor-appearances/FullWidthEditor.d.ts +1 -1
- package/dist/types/index.d.ts +0 -154
- package/dist/types/types/editor-props.d.ts +0 -44
- package/dist/types/ui/Toolbar/types.d.ts +1 -1
- package/dist/types-ts4.5/composable-editor/utils/getProvidersFromEditorProps.d.ts +3 -3
- package/dist/types-ts4.5/composable-editor/utils/handleProviders.d.ts +1 -1
- package/dist/types-ts4.5/editor-appearances/FullPageEditor.d.ts +1 -1
- package/dist/types-ts4.5/editor-appearances/FullWidthEditor.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +0 -154
- package/dist/types-ts4.5/types/editor-props.d.ts +0 -44
- package/dist/types-ts4.5/ui/Toolbar/types.d.ts +1 -1
- package/package.json +4 -4
- package/dist/cjs/ui/ToolbarFeedback/index.js +0 -13
- package/dist/cjs/ui/ToolbarFeedback/styles.js +0 -76
- package/dist/es2019/ui/ToolbarFeedback/index.js +0 -7
- package/dist/es2019/ui/ToolbarFeedback/styles.js +0 -69
- package/dist/esm/ui/ToolbarFeedback/index.js +0 -7
- package/dist/esm/ui/ToolbarFeedback/styles.js +0 -69
- package/dist/types/ui/ToolbarFeedback/index.d.ts +0 -1
- package/dist/types/ui/ToolbarFeedback/styles.d.ts +0 -6
- package/dist/types-ts4.5/ui/ToolbarFeedback/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/ToolbarFeedback/styles.d.ts +0 -6
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
|
-
import { css } from '@emotion/react';
|
|
3
|
-
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
|
-
export const buttonContent = css({
|
|
6
|
-
display: 'flex',
|
|
7
|
-
height: '24px',
|
|
8
|
-
lineHeight: '24px',
|
|
9
|
-
minWidth: '70px'
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
13
|
-
export const wrapper = css({
|
|
14
|
-
display: 'flex',
|
|
15
|
-
marginRight: 0
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
19
|
-
export const confirmationPopup = css({
|
|
20
|
-
background: "var(--ds-surface-overlay, #FFFFFF)",
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
22
|
-
borderRadius: "var(--ds-border-radius, 3px)",
|
|
23
|
-
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)",
|
|
24
|
-
display: 'flex',
|
|
25
|
-
flexDirection: 'column',
|
|
26
|
-
boxSizing: 'border-box',
|
|
27
|
-
overflow: 'auto',
|
|
28
|
-
maxHeight: 'none',
|
|
29
|
-
height: '410px',
|
|
30
|
-
width: '280px'
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
34
|
-
export const confirmationText = css({
|
|
35
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
36
|
-
fontSize: relativeFontSizeToBase16(14),
|
|
37
|
-
wordSpacing: '4px',
|
|
38
|
-
lineHeight: '22px',
|
|
39
|
-
color: "var(--ds-text-subtle, #44546F)",
|
|
40
|
-
marginTop: "var(--ds-space-400, 32px)",
|
|
41
|
-
padding: "var(--ds-space-250, 20px)",
|
|
42
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
43
|
-
'& > div': {
|
|
44
|
-
width: '240px'
|
|
45
|
-
},
|
|
46
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
47
|
-
'& > div:first-of-type': {
|
|
48
|
-
marginBottom: "var(--ds-space-150, 12px)"
|
|
49
|
-
},
|
|
50
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
51
|
-
'& > div:nth-of-type(2)': {
|
|
52
|
-
marginBottom: "var(--ds-space-250, 20px)"
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
57
|
-
export const confirmationHeader = css({
|
|
58
|
-
backgroundColor: "var(--ds-background-discovery-bold, #6E5DC6)",
|
|
59
|
-
height: '100px',
|
|
60
|
-
width: '100%',
|
|
61
|
-
display: 'inline-block'
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
65
|
-
export const confirmationImg = css({
|
|
66
|
-
width: '100px',
|
|
67
|
-
display: 'block',
|
|
68
|
-
margin: `${"var(--ds-space-250, 24px)"} auto 0 auto`
|
|
69
|
-
});
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
|
-
import { css } from '@emotion/react';
|
|
3
|
-
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
|
-
export var buttonContent = css({
|
|
6
|
-
display: 'flex',
|
|
7
|
-
height: '24px',
|
|
8
|
-
lineHeight: '24px',
|
|
9
|
-
minWidth: '70px'
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
13
|
-
export var wrapper = css({
|
|
14
|
-
display: 'flex',
|
|
15
|
-
marginRight: 0
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
19
|
-
export var confirmationPopup = css({
|
|
20
|
-
background: "var(--ds-surface-overlay, #FFFFFF)",
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
22
|
-
borderRadius: "var(--ds-border-radius, 3px)",
|
|
23
|
-
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)",
|
|
24
|
-
display: 'flex',
|
|
25
|
-
flexDirection: 'column',
|
|
26
|
-
boxSizing: 'border-box',
|
|
27
|
-
overflow: 'auto',
|
|
28
|
-
maxHeight: 'none',
|
|
29
|
-
height: '410px',
|
|
30
|
-
width: '280px'
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
34
|
-
export var confirmationText = css({
|
|
35
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
36
|
-
fontSize: relativeFontSizeToBase16(14),
|
|
37
|
-
wordSpacing: '4px',
|
|
38
|
-
lineHeight: '22px',
|
|
39
|
-
color: "var(--ds-text-subtle, #44546F)",
|
|
40
|
-
marginTop: "var(--ds-space-400, 32px)",
|
|
41
|
-
padding: "var(--ds-space-250, 20px)",
|
|
42
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
43
|
-
'& > div': {
|
|
44
|
-
width: '240px'
|
|
45
|
-
},
|
|
46
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
47
|
-
'& > div:first-of-type': {
|
|
48
|
-
marginBottom: "var(--ds-space-150, 12px)"
|
|
49
|
-
},
|
|
50
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
51
|
-
'& > div:nth-of-type(2)': {
|
|
52
|
-
marginBottom: "var(--ds-space-250, 20px)"
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
57
|
-
export var confirmationHeader = css({
|
|
58
|
-
backgroundColor: "var(--ds-background-discovery-bold, #6E5DC6)",
|
|
59
|
-
height: '100px',
|
|
60
|
-
width: '100%',
|
|
61
|
-
display: 'inline-block'
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
65
|
-
export var confirmationImg = css({
|
|
66
|
-
width: '100px',
|
|
67
|
-
display: 'block',
|
|
68
|
-
margin: "var(--ds-space-250, 24px)".concat(" auto 0 auto")
|
|
69
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function ToolbarFeedback(): null;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const buttonContent: import("@emotion/react").SerializedStyles;
|
|
2
|
-
export declare const wrapper: import("@emotion/react").SerializedStyles;
|
|
3
|
-
export declare const confirmationPopup: import("@emotion/react").SerializedStyles;
|
|
4
|
-
export declare const confirmationText: import("@emotion/react").SerializedStyles;
|
|
5
|
-
export declare const confirmationHeader: import("@emotion/react").SerializedStyles;
|
|
6
|
-
export declare const confirmationImg: import("@emotion/react").SerializedStyles;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function ToolbarFeedback(): null;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const buttonContent: import("@emotion/react").SerializedStyles;
|
|
2
|
-
export declare const wrapper: import("@emotion/react").SerializedStyles;
|
|
3
|
-
export declare const confirmationPopup: import("@emotion/react").SerializedStyles;
|
|
4
|
-
export declare const confirmationText: import("@emotion/react").SerializedStyles;
|
|
5
|
-
export declare const confirmationHeader: import("@emotion/react").SerializedStyles;
|
|
6
|
-
export declare const confirmationImg: import("@emotion/react").SerializedStyles;
|