@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
package/dist/types/index.d.ts
CHANGED
|
@@ -12,168 +12,14 @@ export { default as WithHelpTrigger } from './ui/WithHelpTrigger';
|
|
|
12
12
|
export { default as CollapsedEditor } from './ui/CollapsedEditor';
|
|
13
13
|
export { default as ToolbarHelp } from './ui/ToolbarHelp';
|
|
14
14
|
export {
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated
|
|
17
|
-
* DO NOT USE THIS WILL BE REMOVED SOON.
|
|
18
|
-
*
|
|
19
|
-
* This was intended for rollout of bitbucket only.
|
|
20
|
-
*/
|
|
21
|
-
default as ToolbarFeedback, } from './ui/ToolbarFeedback';
|
|
22
|
-
export {
|
|
23
15
|
/**
|
|
24
16
|
* @deprecated
|
|
25
17
|
* DO NOT USE THIS WILL BE REMOVED SOON. This was intended for internal usage only
|
|
26
18
|
*/
|
|
27
19
|
ContextPanel, } from './ui/ContextPanel';
|
|
28
|
-
export {
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated
|
|
31
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
32
|
-
* Please use the export from `@atlaskit/emoji/resource`.
|
|
33
|
-
*/
|
|
34
|
-
EmojiResource, } from '@atlaskit/emoji/resource';
|
|
35
|
-
export {
|
|
36
|
-
/**
|
|
37
|
-
* @deprecated
|
|
38
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
39
|
-
* Please use the export from `@atlaskit/mention/resource`.
|
|
40
|
-
*/
|
|
41
|
-
MentionResource, } from '@atlaskit/mention/resource';
|
|
42
|
-
export type {
|
|
43
|
-
/**
|
|
44
|
-
* @deprecated
|
|
45
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
46
|
-
* Please use the export from `@atlaskit/mention/resource`.
|
|
47
|
-
*/
|
|
48
|
-
MentionProvider,
|
|
49
|
-
/**
|
|
50
|
-
* @deprecated
|
|
51
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
52
|
-
* Please use the export from `@atlaskit/mention/resource`.
|
|
53
|
-
*/
|
|
54
|
-
PresenceProvider, } from '@atlaskit/mention/resource';
|
|
55
|
-
export {
|
|
56
|
-
/**
|
|
57
|
-
* @deprecated
|
|
58
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
59
|
-
* Please use the export from `@atlaskit/mention/team-resource`.
|
|
60
|
-
*/
|
|
61
|
-
TeamMentionResource, } from '@atlaskit/mention/team-resource';
|
|
62
|
-
/**
|
|
63
|
-
* @deprecated
|
|
64
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
65
|
-
* Please use the export from `@atlaskit/editor-common/annotation`.
|
|
66
|
-
*/
|
|
67
|
-
export {
|
|
68
|
-
/**
|
|
69
|
-
* @deprecated
|
|
70
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
71
|
-
* Please use the export from `@atlaskit/editor-common/annotation`.
|
|
72
|
-
*/
|
|
73
|
-
AnnotationUpdateEmitter, } from '@atlaskit/editor-common/annotation';
|
|
74
|
-
export type {
|
|
75
|
-
/**
|
|
76
|
-
* @deprecated
|
|
77
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
78
|
-
* Please use the export from `@atlaskit/editor-common/annotation`.
|
|
79
|
-
*/
|
|
80
|
-
UpdateEvent, } from '@atlaskit/editor-common/annotation';
|
|
81
|
-
/**
|
|
82
|
-
* @deprecated
|
|
83
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
84
|
-
* This is here while we work to extract the annotation plugin.
|
|
85
|
-
* Please use the export from `@atlaskit/editor-plugins/annotation`.
|
|
86
|
-
*/
|
|
87
|
-
export type { AnnotationProviders, InlineCommentAnnotationProvider, InlineCommentCreateComponentProps, InlineCommentViewComponentProps, AnnotationInfo, AnnotationState, AnnotationTypeProvider, InlineCommentState, } from '@atlaskit/editor-plugins/annotation';
|
|
88
|
-
export type {
|
|
89
|
-
/**
|
|
90
|
-
* @deprecated
|
|
91
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
92
|
-
* Please use the export from `@atlaskit/editor-common/provider-factory`.
|
|
93
|
-
*/
|
|
94
|
-
TypeAheadItem, } from '@atlaskit/editor-common/provider-factory';
|
|
95
|
-
export {
|
|
96
|
-
/**
|
|
97
|
-
* @deprecated
|
|
98
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
99
|
-
* Please use the export from `@atlaskit/editor-common/analytics`.
|
|
100
|
-
*/
|
|
101
|
-
INPUT_METHOD,
|
|
102
|
-
/**
|
|
103
|
-
* @deprecated
|
|
104
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
105
|
-
* Please use the export from `@atlaskit/editor-common/analytics`.
|
|
106
|
-
*/
|
|
107
|
-
ACTION,
|
|
108
|
-
/**
|
|
109
|
-
* @deprecated
|
|
110
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
111
|
-
* Please use the export from `@atlaskit/editor-common/analytics`.
|
|
112
|
-
*/
|
|
113
|
-
ACTION_SUBJECT,
|
|
114
|
-
/**
|
|
115
|
-
* @deprecated
|
|
116
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
117
|
-
* Please use the export from `@atlaskit/editor-common/analytics`.
|
|
118
|
-
*/
|
|
119
|
-
ACTION_SUBJECT_ID,
|
|
120
|
-
/**
|
|
121
|
-
* @deprecated
|
|
122
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
123
|
-
* Please use the export from `@atlaskit/editor-common/analytics`.
|
|
124
|
-
*/
|
|
125
|
-
EVENT_TYPE, } from '@atlaskit/editor-common/analytics';
|
|
126
20
|
export type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
127
21
|
export { getNodesCount, measurements } from './utils';
|
|
128
22
|
export { setTextSelection } from '@atlaskit/editor-common/utils';
|
|
129
23
|
export type { Command, EditorPlugin, EditorProps, EditorInstance, CommandDispatch } from './types';
|
|
130
24
|
export { default as EditorActions } from './actions';
|
|
131
|
-
export type {
|
|
132
|
-
/**
|
|
133
|
-
* @deprecated
|
|
134
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
135
|
-
* Please use the export from `@atlaskit/editor-common/provider-factory`.
|
|
136
|
-
*/
|
|
137
|
-
MacroProvider,
|
|
138
|
-
/**
|
|
139
|
-
* @deprecated
|
|
140
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
141
|
-
* Please use the export from `@atlaskit/editor-common/provider-factory`.
|
|
142
|
-
*/
|
|
143
|
-
MacroAttributes,
|
|
144
|
-
/**
|
|
145
|
-
* @deprecated
|
|
146
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
147
|
-
* Please use the export from `@atlaskit/editor-common/provider-factory`.
|
|
148
|
-
*/
|
|
149
|
-
ExtensionType,
|
|
150
|
-
/**
|
|
151
|
-
* @deprecated
|
|
152
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
153
|
-
* Please use the export from `@atlaskit/editor-common/provider-factory`.
|
|
154
|
-
*/
|
|
155
|
-
CardProvider, } from '@atlaskit/editor-common/provider-factory';
|
|
156
|
-
/**
|
|
157
|
-
* @deprecated
|
|
158
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
159
|
-
* This is here while we work to extract the media plugin.
|
|
160
|
-
* Please use the export from `@atlaskit/editor-common/provider-factory`.
|
|
161
|
-
*/
|
|
162
|
-
export type { MediaProvider } from '@atlaskit/editor-common/provider-factory';
|
|
163
|
-
/**
|
|
164
|
-
* @deprecated
|
|
165
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
166
|
-
* This is here while we work to extract the media plugin.
|
|
167
|
-
* Please use the export from `@atlaskit/editor-plugins/media/types`.
|
|
168
|
-
*/
|
|
169
|
-
export type { MediaOptions } from '@atlaskit/editor-plugins/media/types';
|
|
170
|
-
export type {
|
|
171
|
-
/**
|
|
172
|
-
* @deprecated Use QuickInsertItem from @atlaskit/editor-common/provider-factory instead
|
|
173
|
-
*/
|
|
174
|
-
QuickInsertItem,
|
|
175
|
-
/**
|
|
176
|
-
* @deprecated Use QuickInsertProvider from @atlaskit/editor-common/provider-factory instead
|
|
177
|
-
*/
|
|
178
|
-
QuickInsertProvider, } from '@atlaskit/editor-common/provider-factory';
|
|
179
25
|
export { createEditorContentStyle } from './ui/ContentStyles';
|
|
@@ -79,14 +79,6 @@ interface EditorBaseProps {
|
|
|
79
79
|
inputSamplingLimit?: number;
|
|
80
80
|
extensionProviders?: ExtensionProvidersProp;
|
|
81
81
|
UNSAFE_useAnalyticsContext?: boolean;
|
|
82
|
-
/**
|
|
83
|
-
* @default undefined
|
|
84
|
-
* @description Enables valid transaction events to be tracked in analytics (at a sampled rate)
|
|
85
|
-
* @deprecated Tracking is no longer supported for performance reasons
|
|
86
|
-
*/
|
|
87
|
-
trackValidTransactions?: {
|
|
88
|
-
samplingRate: number;
|
|
89
|
-
} | boolean;
|
|
90
82
|
/**
|
|
91
83
|
* @default undefined
|
|
92
84
|
* @description
|
|
@@ -149,11 +141,6 @@ export interface EditorSharedPropsWithPlugins {
|
|
|
149
141
|
collabEdit?: CollabEditOptions;
|
|
150
142
|
primaryToolbarComponents?: PrimaryToolbarComponents;
|
|
151
143
|
allowUndoRedoButtons?: boolean;
|
|
152
|
-
/**
|
|
153
|
-
* @deprecated
|
|
154
|
-
* This prop is no longer in use and will be removed soon.
|
|
155
|
-
*/
|
|
156
|
-
hideAvatarGroup?: boolean;
|
|
157
144
|
}
|
|
158
145
|
export interface EditorProps extends EditorBaseProps, EditorPluginFeatureProps, EditorSharedPropsWithPlugins, EditorProviderProps {
|
|
159
146
|
/**
|
|
@@ -170,18 +157,6 @@ export interface EditorProps extends EditorBaseProps, EditorPluginFeatureProps,
|
|
|
170
157
|
}
|
|
171
158
|
export interface EditorNextProps extends EditorBaseProps, EditorSharedPropsWithPlugins, EditorProviderProps {
|
|
172
159
|
preset: EditorPresetBuilder<AllPluginNames[], AllEditorPresetPluginTypes[]>;
|
|
173
|
-
/**
|
|
174
|
-
* @deprecated
|
|
175
|
-
* This prop does nothing and will be removed soon.
|
|
176
|
-
* Configuration of this parameter should be done via `editor-plugin-placeholder` or the `default` preset.
|
|
177
|
-
*/
|
|
178
|
-
placeholder?: string;
|
|
179
|
-
/**
|
|
180
|
-
* @deprecated
|
|
181
|
-
* This prop does nothing and will be removed soon.
|
|
182
|
-
* Configuration of this parameter should be done via `editor-plugin-placeholder` or the `default` preset.
|
|
183
|
-
*/
|
|
184
|
-
placeholderBracketHint?: string;
|
|
185
160
|
/**
|
|
186
161
|
* @deprecated
|
|
187
162
|
* This prop does nothing and will be removed soon.
|
|
@@ -241,13 +216,6 @@ export interface EditorPluginFeatureProps {
|
|
|
241
216
|
allowBreakout?: boolean;
|
|
242
217
|
allowRule?: boolean;
|
|
243
218
|
allowHelpDialog?: boolean;
|
|
244
|
-
/**
|
|
245
|
-
* @deprecated
|
|
246
|
-
* This was a temporary setting for Confluence until we shipped smart cards. **Please do not use.*
|
|
247
|
-
* We have now shipped and no-longer require.
|
|
248
|
-
* This will be deprecated very soon.
|
|
249
|
-
*/
|
|
250
|
-
allowJiraIssue?: boolean;
|
|
251
219
|
allowPanel?: boolean | PanelPluginConfig;
|
|
252
220
|
allowExtension?: boolean | ExtensionConfig;
|
|
253
221
|
allowConfluenceInlineComment?: boolean;
|
|
@@ -260,19 +228,7 @@ export interface EditorPluginFeatureProps {
|
|
|
260
228
|
allowTextAlignment?: boolean;
|
|
261
229
|
allowIndentation?: boolean;
|
|
262
230
|
showIndentationButtons?: boolean;
|
|
263
|
-
/**
|
|
264
|
-
* @deprecated
|
|
265
|
-
* This enables new insertion behaviour only for horizontal rule and media single in certain conditions.
|
|
266
|
-
* The idea of this new behaviour is to have a consistent outcome regardless of the insertion method.
|
|
267
|
-
**/
|
|
268
|
-
allowNewInsertionBehaviour?: boolean;
|
|
269
231
|
allowFindReplace?: boolean | FindReplaceOptions;
|
|
270
|
-
/**
|
|
271
|
-
* Enable experimental support for the "border" mark.
|
|
272
|
-
* Refer to ADF Change proposal #65 for more details.
|
|
273
|
-
* @deprecated Use allowBorderMark instead.
|
|
274
|
-
*/
|
|
275
|
-
UNSAFE_allowBorderMark?: boolean;
|
|
276
232
|
/**
|
|
277
233
|
* Enable support for the "border" mark.
|
|
278
234
|
* Refer to ADF Change proposal #65 for more details.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ToolbarSize, ToolbarWidths, ToolbarWidthsFullPage, ToolbarWidthsFullPageNext, } from '@atlaskit/editor-common/types';
|
|
1
|
+
export { ToolbarSize, ToolbarWidths, ToolbarWidthsNext, ToolbarWidthsFullPage, ToolbarWidthsFullPageNext, } from '@atlaskit/editor-common/types';
|
|
2
2
|
export type { ToolbarUiComponentFactoryParams, ToolbarUIComponentFactory, } from '@atlaskit/editor-common/types';
|
|
@@ -3,7 +3,7 @@ import type { EditorProps } from '../../types/editor-props';
|
|
|
3
3
|
type Complete<T> = {
|
|
4
4
|
[P in keyof Required<T>]: Pick<T, P> extends Required<Pick<T, P>> ? T[P] : T[P] | undefined;
|
|
5
5
|
};
|
|
6
|
-
type EditorProviderProps = Pick<EditorProps, '
|
|
7
|
-
type RequiredProviders = Complete<Omit<Providers, 'reactionsStore' | 'profilecardProvider' | 'extensionProvider' | 'quickInsertProvider'>>;
|
|
8
|
-
export default function getProvidersFromEditorProps({
|
|
6
|
+
type EditorProviderProps = Pick<EditorProps, 'autoformattingProvider' | 'emojiProvider' | 'mentionProvider' | 'taskDecisionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'macroProvider' | 'activityProvider' | 'collabEdit' | 'collabEditProvider' | 'presenceProvider' | 'legacyImageUploadProvider'>;
|
|
7
|
+
type RequiredProviders = Complete<Omit<Providers, 'reactionsStore' | 'profilecardProvider' | 'extensionProvider' | 'quickInsertProvider' | 'cardProvider' | 'mediaProvider'>>;
|
|
8
|
+
export default function getProvidersFromEditorProps({ autoformattingProvider, emojiProvider, mentionProvider, legacyImageUploadProvider, taskDecisionProvider, contextIdentifierProvider, searchProvider, macroProvider, activityProvider, collabEdit, collabEditProvider, presenceProvider, }: EditorProviderProps): RequiredProviders;
|
|
9
9
|
export {};
|
|
@@ -9,4 +9,4 @@ import type { ProviderFactory, Providers, QuickInsertProvider } from '@atlaskit/
|
|
|
9
9
|
* @param extensionProvider
|
|
10
10
|
* @param quickInsertProvider
|
|
11
11
|
*/
|
|
12
|
-
export default function handleProviders(providerFactory: ProviderFactory, { emojiProvider, mentionProvider, taskDecisionProvider, contextIdentifierProvider, collabEditProvider, activityProvider, presenceProvider, macroProvider, imageUploadProvider,
|
|
12
|
+
export default function handleProviders(providerFactory: ProviderFactory, { emojiProvider, mentionProvider, taskDecisionProvider, contextIdentifierProvider, collabEditProvider, activityProvider, presenceProvider, macroProvider, imageUploadProvider, autoformattingProvider, searchProvider, }: Providers, extensionProvider?: ExtensionProvider, quickInsertProvider?: Promise<QuickInsertProvider>): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type EditorNextProps } from '../types/editor-props';
|
|
3
|
-
export type FullPageEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'disabled' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'annotationProviders' | 'collabEditProvider' | 'collabEdit' | 'taskDecisionProvider' | 'extensionProviders' | 'shouldFocus' | 'performanceTracking' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | '
|
|
3
|
+
export type FullPageEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'disabled' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'annotationProviders' | 'collabEditProvider' | 'collabEdit' | 'taskDecisionProvider' | 'extensionProviders' | 'shouldFocus' | 'performanceTracking' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | 'primaryToolbarComponents' | 'contextPanel' | 'contentComponents' | 'primaryToolbarIconBefore' | 'sanitizePrivateContent'> & {
|
|
4
4
|
onChange?: () => void;
|
|
5
5
|
onEditorReady?: () => void;
|
|
6
6
|
appearance: 'full-page' | 'full-width';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type EditorNextProps } from '../types/editor-props';
|
|
3
|
-
export type FullWidthEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'disabled' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'annotationProviders' | 'collabEditProvider' | 'collabEdit' | 'taskDecisionProvider' | 'extensionProviders' | 'shouldFocus' | 'performanceTracking' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | '
|
|
3
|
+
export type FullWidthEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'disabled' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'annotationProviders' | 'collabEditProvider' | 'collabEdit' | 'taskDecisionProvider' | 'extensionProviders' | 'shouldFocus' | 'performanceTracking' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | 'primaryToolbarComponents' | 'contextPanel' | 'contentComponents' | 'primaryToolbarIconBefore' | 'sanitizePrivateContent'> & {
|
|
4
4
|
onChange?: () => void;
|
|
5
5
|
onEditorReady?: () => void;
|
|
6
6
|
};
|
|
@@ -12,168 +12,14 @@ export { default as WithHelpTrigger } from './ui/WithHelpTrigger';
|
|
|
12
12
|
export { default as CollapsedEditor } from './ui/CollapsedEditor';
|
|
13
13
|
export { default as ToolbarHelp } from './ui/ToolbarHelp';
|
|
14
14
|
export {
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated
|
|
17
|
-
* DO NOT USE THIS WILL BE REMOVED SOON.
|
|
18
|
-
*
|
|
19
|
-
* This was intended for rollout of bitbucket only.
|
|
20
|
-
*/
|
|
21
|
-
default as ToolbarFeedback, } from './ui/ToolbarFeedback';
|
|
22
|
-
export {
|
|
23
15
|
/**
|
|
24
16
|
* @deprecated
|
|
25
17
|
* DO NOT USE THIS WILL BE REMOVED SOON. This was intended for internal usage only
|
|
26
18
|
*/
|
|
27
19
|
ContextPanel, } from './ui/ContextPanel';
|
|
28
|
-
export {
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated
|
|
31
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
32
|
-
* Please use the export from `@atlaskit/emoji/resource`.
|
|
33
|
-
*/
|
|
34
|
-
EmojiResource, } from '@atlaskit/emoji/resource';
|
|
35
|
-
export {
|
|
36
|
-
/**
|
|
37
|
-
* @deprecated
|
|
38
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
39
|
-
* Please use the export from `@atlaskit/mention/resource`.
|
|
40
|
-
*/
|
|
41
|
-
MentionResource, } from '@atlaskit/mention/resource';
|
|
42
|
-
export type {
|
|
43
|
-
/**
|
|
44
|
-
* @deprecated
|
|
45
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
46
|
-
* Please use the export from `@atlaskit/mention/resource`.
|
|
47
|
-
*/
|
|
48
|
-
MentionProvider,
|
|
49
|
-
/**
|
|
50
|
-
* @deprecated
|
|
51
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
52
|
-
* Please use the export from `@atlaskit/mention/resource`.
|
|
53
|
-
*/
|
|
54
|
-
PresenceProvider, } from '@atlaskit/mention/resource';
|
|
55
|
-
export {
|
|
56
|
-
/**
|
|
57
|
-
* @deprecated
|
|
58
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
59
|
-
* Please use the export from `@atlaskit/mention/team-resource`.
|
|
60
|
-
*/
|
|
61
|
-
TeamMentionResource, } from '@atlaskit/mention/team-resource';
|
|
62
|
-
/**
|
|
63
|
-
* @deprecated
|
|
64
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
65
|
-
* Please use the export from `@atlaskit/editor-common/annotation`.
|
|
66
|
-
*/
|
|
67
|
-
export {
|
|
68
|
-
/**
|
|
69
|
-
* @deprecated
|
|
70
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
71
|
-
* Please use the export from `@atlaskit/editor-common/annotation`.
|
|
72
|
-
*/
|
|
73
|
-
AnnotationUpdateEmitter, } from '@atlaskit/editor-common/annotation';
|
|
74
|
-
export type {
|
|
75
|
-
/**
|
|
76
|
-
* @deprecated
|
|
77
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
78
|
-
* Please use the export from `@atlaskit/editor-common/annotation`.
|
|
79
|
-
*/
|
|
80
|
-
UpdateEvent, } from '@atlaskit/editor-common/annotation';
|
|
81
|
-
/**
|
|
82
|
-
* @deprecated
|
|
83
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
84
|
-
* This is here while we work to extract the annotation plugin.
|
|
85
|
-
* Please use the export from `@atlaskit/editor-plugins/annotation`.
|
|
86
|
-
*/
|
|
87
|
-
export type { AnnotationProviders, InlineCommentAnnotationProvider, InlineCommentCreateComponentProps, InlineCommentViewComponentProps, AnnotationInfo, AnnotationState, AnnotationTypeProvider, InlineCommentState, } from '@atlaskit/editor-plugins/annotation';
|
|
88
|
-
export type {
|
|
89
|
-
/**
|
|
90
|
-
* @deprecated
|
|
91
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
92
|
-
* Please use the export from `@atlaskit/editor-common/provider-factory`.
|
|
93
|
-
*/
|
|
94
|
-
TypeAheadItem, } from '@atlaskit/editor-common/provider-factory';
|
|
95
|
-
export {
|
|
96
|
-
/**
|
|
97
|
-
* @deprecated
|
|
98
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
99
|
-
* Please use the export from `@atlaskit/editor-common/analytics`.
|
|
100
|
-
*/
|
|
101
|
-
INPUT_METHOD,
|
|
102
|
-
/**
|
|
103
|
-
* @deprecated
|
|
104
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
105
|
-
* Please use the export from `@atlaskit/editor-common/analytics`.
|
|
106
|
-
*/
|
|
107
|
-
ACTION,
|
|
108
|
-
/**
|
|
109
|
-
* @deprecated
|
|
110
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
111
|
-
* Please use the export from `@atlaskit/editor-common/analytics`.
|
|
112
|
-
*/
|
|
113
|
-
ACTION_SUBJECT,
|
|
114
|
-
/**
|
|
115
|
-
* @deprecated
|
|
116
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
117
|
-
* Please use the export from `@atlaskit/editor-common/analytics`.
|
|
118
|
-
*/
|
|
119
|
-
ACTION_SUBJECT_ID,
|
|
120
|
-
/**
|
|
121
|
-
* @deprecated
|
|
122
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
123
|
-
* Please use the export from `@atlaskit/editor-common/analytics`.
|
|
124
|
-
*/
|
|
125
|
-
EVENT_TYPE, } from '@atlaskit/editor-common/analytics';
|
|
126
20
|
export type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
127
21
|
export { getNodesCount, measurements } from './utils';
|
|
128
22
|
export { setTextSelection } from '@atlaskit/editor-common/utils';
|
|
129
23
|
export type { Command, EditorPlugin, EditorProps, EditorInstance, CommandDispatch } from './types';
|
|
130
24
|
export { default as EditorActions } from './actions';
|
|
131
|
-
export type {
|
|
132
|
-
/**
|
|
133
|
-
* @deprecated
|
|
134
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
135
|
-
* Please use the export from `@atlaskit/editor-common/provider-factory`.
|
|
136
|
-
*/
|
|
137
|
-
MacroProvider,
|
|
138
|
-
/**
|
|
139
|
-
* @deprecated
|
|
140
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
141
|
-
* Please use the export from `@atlaskit/editor-common/provider-factory`.
|
|
142
|
-
*/
|
|
143
|
-
MacroAttributes,
|
|
144
|
-
/**
|
|
145
|
-
* @deprecated
|
|
146
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
147
|
-
* Please use the export from `@atlaskit/editor-common/provider-factory`.
|
|
148
|
-
*/
|
|
149
|
-
ExtensionType,
|
|
150
|
-
/**
|
|
151
|
-
* @deprecated
|
|
152
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
153
|
-
* Please use the export from `@atlaskit/editor-common/provider-factory`.
|
|
154
|
-
*/
|
|
155
|
-
CardProvider, } from '@atlaskit/editor-common/provider-factory';
|
|
156
|
-
/**
|
|
157
|
-
* @deprecated
|
|
158
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
159
|
-
* This is here while we work to extract the media plugin.
|
|
160
|
-
* Please use the export from `@atlaskit/editor-common/provider-factory`.
|
|
161
|
-
*/
|
|
162
|
-
export type { MediaProvider } from '@atlaskit/editor-common/provider-factory';
|
|
163
|
-
/**
|
|
164
|
-
* @deprecated
|
|
165
|
-
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
166
|
-
* This is here while we work to extract the media plugin.
|
|
167
|
-
* Please use the export from `@atlaskit/editor-plugins/media/types`.
|
|
168
|
-
*/
|
|
169
|
-
export type { MediaOptions } from '@atlaskit/editor-plugins/media/types';
|
|
170
|
-
export type {
|
|
171
|
-
/**
|
|
172
|
-
* @deprecated Use QuickInsertItem from @atlaskit/editor-common/provider-factory instead
|
|
173
|
-
*/
|
|
174
|
-
QuickInsertItem,
|
|
175
|
-
/**
|
|
176
|
-
* @deprecated Use QuickInsertProvider from @atlaskit/editor-common/provider-factory instead
|
|
177
|
-
*/
|
|
178
|
-
QuickInsertProvider, } from '@atlaskit/editor-common/provider-factory';
|
|
179
25
|
export { createEditorContentStyle } from './ui/ContentStyles';
|
|
@@ -79,14 +79,6 @@ interface EditorBaseProps {
|
|
|
79
79
|
inputSamplingLimit?: number;
|
|
80
80
|
extensionProviders?: ExtensionProvidersProp;
|
|
81
81
|
UNSAFE_useAnalyticsContext?: boolean;
|
|
82
|
-
/**
|
|
83
|
-
* @default undefined
|
|
84
|
-
* @description Enables valid transaction events to be tracked in analytics (at a sampled rate)
|
|
85
|
-
* @deprecated Tracking is no longer supported for performance reasons
|
|
86
|
-
*/
|
|
87
|
-
trackValidTransactions?: {
|
|
88
|
-
samplingRate: number;
|
|
89
|
-
} | boolean;
|
|
90
82
|
/**
|
|
91
83
|
* @default undefined
|
|
92
84
|
* @description
|
|
@@ -149,11 +141,6 @@ export interface EditorSharedPropsWithPlugins {
|
|
|
149
141
|
collabEdit?: CollabEditOptions;
|
|
150
142
|
primaryToolbarComponents?: PrimaryToolbarComponents;
|
|
151
143
|
allowUndoRedoButtons?: boolean;
|
|
152
|
-
/**
|
|
153
|
-
* @deprecated
|
|
154
|
-
* This prop is no longer in use and will be removed soon.
|
|
155
|
-
*/
|
|
156
|
-
hideAvatarGroup?: boolean;
|
|
157
144
|
}
|
|
158
145
|
export interface EditorProps extends EditorBaseProps, EditorPluginFeatureProps, EditorSharedPropsWithPlugins, EditorProviderProps {
|
|
159
146
|
/**
|
|
@@ -170,18 +157,6 @@ export interface EditorProps extends EditorBaseProps, EditorPluginFeatureProps,
|
|
|
170
157
|
}
|
|
171
158
|
export interface EditorNextProps extends EditorBaseProps, EditorSharedPropsWithPlugins, EditorProviderProps {
|
|
172
159
|
preset: EditorPresetBuilder<AllPluginNames[], AllEditorPresetPluginTypes[]>;
|
|
173
|
-
/**
|
|
174
|
-
* @deprecated
|
|
175
|
-
* This prop does nothing and will be removed soon.
|
|
176
|
-
* Configuration of this parameter should be done via `editor-plugin-placeholder` or the `default` preset.
|
|
177
|
-
*/
|
|
178
|
-
placeholder?: string;
|
|
179
|
-
/**
|
|
180
|
-
* @deprecated
|
|
181
|
-
* This prop does nothing and will be removed soon.
|
|
182
|
-
* Configuration of this parameter should be done via `editor-plugin-placeholder` or the `default` preset.
|
|
183
|
-
*/
|
|
184
|
-
placeholderBracketHint?: string;
|
|
185
160
|
/**
|
|
186
161
|
* @deprecated
|
|
187
162
|
* This prop does nothing and will be removed soon.
|
|
@@ -241,13 +216,6 @@ export interface EditorPluginFeatureProps {
|
|
|
241
216
|
allowBreakout?: boolean;
|
|
242
217
|
allowRule?: boolean;
|
|
243
218
|
allowHelpDialog?: boolean;
|
|
244
|
-
/**
|
|
245
|
-
* @deprecated
|
|
246
|
-
* This was a temporary setting for Confluence until we shipped smart cards. **Please do not use.*
|
|
247
|
-
* We have now shipped and no-longer require.
|
|
248
|
-
* This will be deprecated very soon.
|
|
249
|
-
*/
|
|
250
|
-
allowJiraIssue?: boolean;
|
|
251
219
|
allowPanel?: boolean | PanelPluginConfig;
|
|
252
220
|
allowExtension?: boolean | ExtensionConfig;
|
|
253
221
|
allowConfluenceInlineComment?: boolean;
|
|
@@ -260,19 +228,7 @@ export interface EditorPluginFeatureProps {
|
|
|
260
228
|
allowTextAlignment?: boolean;
|
|
261
229
|
allowIndentation?: boolean;
|
|
262
230
|
showIndentationButtons?: boolean;
|
|
263
|
-
/**
|
|
264
|
-
* @deprecated
|
|
265
|
-
* This enables new insertion behaviour only for horizontal rule and media single in certain conditions.
|
|
266
|
-
* The idea of this new behaviour is to have a consistent outcome regardless of the insertion method.
|
|
267
|
-
**/
|
|
268
|
-
allowNewInsertionBehaviour?: boolean;
|
|
269
231
|
allowFindReplace?: boolean | FindReplaceOptions;
|
|
270
|
-
/**
|
|
271
|
-
* Enable experimental support for the "border" mark.
|
|
272
|
-
* Refer to ADF Change proposal #65 for more details.
|
|
273
|
-
* @deprecated Use allowBorderMark instead.
|
|
274
|
-
*/
|
|
275
|
-
UNSAFE_allowBorderMark?: boolean;
|
|
276
232
|
/**
|
|
277
233
|
* Enable support for the "border" mark.
|
|
278
234
|
* Refer to ADF Change proposal #65 for more details.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ToolbarSize, ToolbarWidths, ToolbarWidthsFullPage, ToolbarWidthsFullPageNext, } from '@atlaskit/editor-common/types';
|
|
1
|
+
export { ToolbarSize, ToolbarWidths, ToolbarWidthsNext, ToolbarWidthsFullPage, ToolbarWidthsFullPageNext, } from '@atlaskit/editor-common/types';
|
|
2
2
|
export type { ToolbarUiComponentFactoryParams, ToolbarUIComponentFactory, } from '@atlaskit/editor-common/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "198.0.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
44
44
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
45
45
|
"@atlaskit/button": "^20.2.0",
|
|
46
|
-
"@atlaskit/editor-common": "^91.
|
|
46
|
+
"@atlaskit/editor-common": "^91.2.0",
|
|
47
47
|
"@atlaskit/editor-json-transformer": "^8.18.0",
|
|
48
48
|
"@atlaskit/editor-plugin-quick-insert": "1.4.3",
|
|
49
49
|
"@atlaskit/editor-plugins": "^5.4.0",
|
|
50
50
|
"@atlaskit/editor-prosemirror": "6.0.0",
|
|
51
51
|
"@atlaskit/editor-shared-styles": "^3.0.0",
|
|
52
52
|
"@atlaskit/emoji": "^67.8.0",
|
|
53
|
-
"@atlaskit/icon": "^22.
|
|
53
|
+
"@atlaskit/icon": "^22.19.0",
|
|
54
54
|
"@atlaskit/media-card": "^78.5.0",
|
|
55
55
|
"@atlaskit/mention": "^23.3.0",
|
|
56
56
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@af/editor-examples-helpers": "0.3.
|
|
82
|
+
"@af/editor-examples-helpers": "0.3.15",
|
|
83
83
|
"@af/editor-libra": "*",
|
|
84
84
|
"@af/visual-regression": "*",
|
|
85
85
|
"@atlaskit/adf-utils": "^19.8.0",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = ToolbarFeedback;
|
|
7
|
-
function ToolbarFeedback() {
|
|
8
|
-
if (process.env.NODE_ENV === 'development') {
|
|
9
|
-
// eslint-disable-next-line no-console
|
|
10
|
-
console.warn('ToolbarFeedback component is no longer available. This will be deprecated soon.');
|
|
11
|
-
}
|
|
12
|
-
return null;
|
|
13
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.wrapper = exports.confirmationText = exports.confirmationPopup = exports.confirmationImg = exports.confirmationHeader = exports.buttonContent = void 0;
|
|
7
|
-
var _react = require("@emotion/react");
|
|
8
|
-
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
9
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
|
-
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
|
-
var buttonContent = exports.buttonContent = (0, _react.css)({
|
|
13
|
-
display: 'flex',
|
|
14
|
-
height: '24px',
|
|
15
|
-
lineHeight: '24px',
|
|
16
|
-
minWidth: '70px'
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
20
|
-
var wrapper = exports.wrapper = (0, _react.css)({
|
|
21
|
-
display: 'flex',
|
|
22
|
-
marginRight: 0
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
26
|
-
var confirmationPopup = exports.confirmationPopup = (0, _react.css)({
|
|
27
|
-
background: "var(--ds-surface-overlay, #FFFFFF)",
|
|
28
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
29
|
-
borderRadius: "var(--ds-border-radius, 3px)",
|
|
30
|
-
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #091E4226, 0px 0px 1px #091E424f)",
|
|
31
|
-
display: 'flex',
|
|
32
|
-
flexDirection: 'column',
|
|
33
|
-
boxSizing: 'border-box',
|
|
34
|
-
overflow: 'auto',
|
|
35
|
-
maxHeight: 'none',
|
|
36
|
-
height: '410px',
|
|
37
|
-
width: '280px'
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
41
|
-
var confirmationText = exports.confirmationText = (0, _react.css)({
|
|
42
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
43
|
-
fontSize: (0, _editorSharedStyles.relativeFontSizeToBase16)(14),
|
|
44
|
-
wordSpacing: '4px',
|
|
45
|
-
lineHeight: '22px',
|
|
46
|
-
color: "var(--ds-text-subtle, #44546F)",
|
|
47
|
-
marginTop: "var(--ds-space-400, 32px)",
|
|
48
|
-
padding: "var(--ds-space-250, 20px)",
|
|
49
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
50
|
-
'& > div': {
|
|
51
|
-
width: '240px'
|
|
52
|
-
},
|
|
53
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
54
|
-
'& > div:first-of-type': {
|
|
55
|
-
marginBottom: "var(--ds-space-150, 12px)"
|
|
56
|
-
},
|
|
57
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
58
|
-
'& > div:nth-of-type(2)': {
|
|
59
|
-
marginBottom: "var(--ds-space-250, 20px)"
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
64
|
-
var confirmationHeader = exports.confirmationHeader = (0, _react.css)({
|
|
65
|
-
backgroundColor: "var(--ds-background-discovery-bold, #6E5DC6)",
|
|
66
|
-
height: '100px',
|
|
67
|
-
width: '100%',
|
|
68
|
-
display: 'inline-block'
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
72
|
-
var confirmationImg = exports.confirmationImg = (0, _react.css)({
|
|
73
|
-
width: '100px',
|
|
74
|
-
display: 'block',
|
|
75
|
-
margin: "var(--ds-space-250, 24px)".concat(" auto 0 auto")
|
|
76
|
-
});
|