@atlaskit/media-card 77.12.0 → 77.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/card/card.js +5 -5
  3. package/dist/cjs/card/inlinePlayerWrapperStyles.js +1 -1
  4. package/dist/cjs/card/media-card-analytics-error-boundary.js +1 -1
  5. package/dist/cjs/card/ui/wrapper/styles.js +1 -1
  6. package/dist/cjs/card/v2/cardV2.js +1 -1
  7. package/dist/cjs/card/v2/fileCard.js +1 -1
  8. package/dist/cjs/inline/loader.js +1 -1
  9. package/dist/cjs/inline/mediaInlineAnalyticsErrorBoundary.js +11 -11
  10. package/dist/cjs/utils/ufoExperiences.js +1 -1
  11. package/dist/es2019/card/card.js +5 -5
  12. package/dist/es2019/card/inlinePlayerWrapperStyles.js +12 -12
  13. package/dist/es2019/card/media-card-analytics-error-boundary.js +1 -1
  14. package/dist/es2019/card/ui/wrapper/styles.js +21 -21
  15. package/dist/es2019/card/v2/cardV2.js +1 -1
  16. package/dist/es2019/card/v2/fileCard.js +1 -1
  17. package/dist/es2019/inline/loader.js +1 -1
  18. package/dist/es2019/inline/mediaInlineAnalyticsErrorBoundary.js +11 -11
  19. package/dist/es2019/utils/ufoExperiences.js +1 -1
  20. package/dist/esm/card/card.js +5 -5
  21. package/dist/esm/card/inlinePlayerWrapperStyles.js +1 -1
  22. package/dist/esm/card/media-card-analytics-error-boundary.js +1 -1
  23. package/dist/esm/card/ui/wrapper/styles.js +1 -1
  24. package/dist/esm/card/v2/cardV2.js +1 -1
  25. package/dist/esm/card/v2/fileCard.js +1 -1
  26. package/dist/esm/inline/loader.js +1 -1
  27. package/dist/esm/inline/mediaInlineAnalyticsErrorBoundary.js +11 -11
  28. package/dist/esm/utils/ufoExperiences.js +1 -1
  29. package/dist/types/card/ui/iconWrapper/styles.d.ts +1 -1
  30. package/dist/types/card/ui/titleBox/styles.d.ts +1 -1
  31. package/dist/types/utils/preventClickThrough.d.ts +1 -1
  32. package/dist/types/utils/viewportDetector.d.ts +1 -1
  33. package/dist/types-ts4.5/card/ui/iconWrapper/styles.d.ts +1 -1
  34. package/dist/types-ts4.5/card/ui/titleBox/styles.d.ts +1 -1
  35. package/dist/types-ts4.5/utils/preventClickThrough.d.ts +1 -1
  36. package/dist/types-ts4.5/utils/viewportDetector.d.ts +1 -1
  37. package/example-helpers/DelayedRender.tsx +19 -19
  38. package/example-helpers/cardViewWrapper.tsx +18 -22
  39. package/example-helpers/cards.tsx +268 -331
  40. package/example-helpers/developmentUseMessage.tsx +8 -9
  41. package/example-helpers/index.tsx +100 -124
  42. package/example-helpers/selectableCard.tsx +32 -35
  43. package/example-helpers/ssrHelpers.tsx +19 -29
  44. package/example-helpers/styles.ts +73 -73
  45. package/example-helpers/svg-helpers/cardContainer.tsx +15 -21
  46. package/example-helpers/svg-helpers/controls.tsx +11 -11
  47. package/example-helpers/svg-helpers/dimensionPicker.tsx +85 -93
  48. package/example-helpers/svg-helpers/svgContainer.tsx +18 -18
  49. package/example-helpers/svg-helpers/toggle.tsx +28 -29
  50. package/example-helpers/svg-helpers/uploader.ts +33 -33
  51. package/package.json +5 -5
  52. package/report.api.md +227 -232
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/media-card"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -41,28 +42,26 @@ export function Card(props: CardWithMediaClientConfigProps): JSX.Element;
41
42
 
42
43
  // @public (undocumented)
43
44
  export interface CardAction {
44
- // (undocumented)
45
- handler: CardEventHandler;
46
- // (undocumented)
47
- icon?: ReactNode;
48
- // (undocumented)
49
- label?: string;
45
+ // (undocumented)
46
+ handler: CardEventHandler;
47
+ // (undocumented)
48
+ icon?: ReactNode;
49
+ // (undocumented)
50
+ label?: string;
50
51
  }
51
52
 
52
53
  // @public (undocumented)
53
54
  export type CardAppearance = 'auto' | 'horizontal' | 'image' | 'square';
54
55
 
55
56
  // @public (undocumented)
56
- type CardBaseProps = CardProps &
57
- WithAnalyticsEventsProps &
58
- Partial<WrappedComponentProps>;
57
+ type CardBaseProps = CardProps & WithAnalyticsEventsProps & Partial<WrappedComponentProps>;
59
58
 
60
59
  // @public (undocumented)
61
60
  export interface CardDimensions {
62
- // (undocumented)
63
- height?: CardDimensionValue;
64
- // (undocumented)
65
- width?: CardDimensionValue;
61
+ // (undocumented)
62
+ height?: CardDimensionValue;
63
+ // (undocumented)
64
+ width?: CardDimensionValue;
66
65
  }
67
66
 
68
67
  // @public (undocumented)
@@ -70,22 +69,22 @@ export type CardDimensionValue = number | string;
70
69
 
71
70
  // @public (undocumented)
72
71
  export class CardError extends Component<ErrorCardProps, {}> {
73
- // (undocumented)
74
- static defaultProps: {
75
- size: string;
76
- };
77
- // (undocumented)
78
- get icon(): JSX.Element;
79
- // (undocumented)
80
- render(): JSX.Element;
72
+ // (undocumented)
73
+ static defaultProps: {
74
+ size: string;
75
+ };
76
+ // (undocumented)
77
+ get icon(): JSX.Element;
78
+ // (undocumented)
79
+ render(): JSX.Element;
81
80
  }
82
81
 
83
82
  // @public (undocumented)
84
83
  export interface CardEvent {
85
- // (undocumented)
86
- event: MouseEvent_2<HTMLElement>;
87
- // (undocumented)
88
- mediaItemDetails?: FileDetails;
84
+ // (undocumented)
85
+ event: MouseEvent_2<HTMLElement>;
86
+ // (undocumented)
87
+ mediaItemDetails?: FileDetails;
89
88
  }
90
89
 
91
90
  // @public (undocumented)
@@ -93,137 +92,137 @@ export type CardEventHandler = (item?: FileItem, event?: Event) => void;
93
92
 
94
93
  // @public (undocumented)
95
94
  interface CardEventProps {
96
- // (undocumented)
97
- readonly onClick?: CardOnClickCallback;
98
- readonly onFullscreenChange?: (fullscreen: boolean) => void;
99
- // (undocumented)
100
- readonly onMouseEnter?: (result: CardEvent) => void;
95
+ // (undocumented)
96
+ readonly onClick?: CardOnClickCallback;
97
+ readonly onFullscreenChange?: (fullscreen: boolean) => void;
98
+ // (undocumented)
99
+ readonly onMouseEnter?: (result: CardEvent) => void;
101
100
  }
102
101
 
103
102
  // @public (undocumented)
104
103
  export class CardLoading extends Component<StaticCardProps, {}> {
105
- // (undocumented)
106
- render(): JSX.Element;
104
+ // (undocumented)
105
+ render(): JSX.Element;
107
106
  }
108
107
 
109
108
  // @public (undocumented)
110
109
  export interface CardOnClickCallback {
111
- // (undocumented)
112
- (result: CardEvent, analyticsEvent?: UIAnalyticsEvent): void;
110
+ // (undocumented)
111
+ (result: CardEvent, analyticsEvent?: UIAnalyticsEvent): void;
113
112
  }
114
113
 
115
114
  // @public (undocumented)
116
115
  export interface CardPreview {
117
- // (undocumented)
118
- dataURI: string;
119
- // (undocumented)
120
- dimensions?: CardDimensions;
121
- // (undocumented)
122
- orientation?: number;
123
- // (undocumented)
124
- source: CardPreviewSource;
116
+ // (undocumented)
117
+ dataURI: string;
118
+ // (undocumented)
119
+ dimensions?: CardDimensions;
120
+ // (undocumented)
121
+ orientation?: number;
122
+ // (undocumented)
123
+ source: CardPreviewSource;
125
124
  }
126
125
 
127
126
  // @public (undocumented)
128
127
  type CardPreviewSource =
129
- | 'cache-local'
130
- | 'cache-remote'
131
- | 'cache-ssr-client'
132
- | 'cache-ssr-server'
133
- | 'external'
134
- | 'local'
135
- | 'remote'
136
- | 'ssr-client'
137
- | 'ssr-data'
138
- | 'ssr-server';
128
+ | 'cache-local'
129
+ | 'cache-remote'
130
+ | 'cache-ssr-client'
131
+ | 'cache-ssr-server'
132
+ | 'external'
133
+ | 'local'
134
+ | 'remote'
135
+ | 'ssr-client'
136
+ | 'ssr-data'
137
+ | 'ssr-server';
139
138
 
140
139
  // @public (undocumented)
141
140
  export interface CardProps extends SharedCardProps, CardEventProps {
142
- // (undocumented)
143
- readonly contextId?: string;
144
- // (undocumented)
145
- readonly identifier: Identifier;
146
- // (undocumented)
147
- readonly isLazy?: boolean;
148
- // (undocumented)
149
- readonly mediaClient: MediaClient;
150
- // (undocumented)
151
- readonly mediaViewerItems?: Identifier[];
152
- // (undocumented)
153
- readonly shouldEnableDownloadButton?: boolean;
154
- // (undocumented)
155
- readonly shouldHideTooltip?: boolean;
156
- // (undocumented)
157
- readonly shouldOpenMediaViewer?: boolean;
158
- // (undocumented)
159
- readonly ssr?: SSR;
160
- // (undocumented)
161
- readonly useInlinePlayer?: boolean;
141
+ // (undocumented)
142
+ readonly contextId?: string;
143
+ // (undocumented)
144
+ readonly identifier: Identifier;
145
+ // (undocumented)
146
+ readonly isLazy?: boolean;
147
+ // (undocumented)
148
+ readonly mediaClient: MediaClient;
149
+ // (undocumented)
150
+ readonly mediaViewerItems?: Identifier[];
151
+ // (undocumented)
152
+ readonly shouldEnableDownloadButton?: boolean;
153
+ // (undocumented)
154
+ readonly shouldHideTooltip?: boolean;
155
+ // (undocumented)
156
+ readonly shouldOpenMediaViewer?: boolean;
157
+ // (undocumented)
158
+ readonly ssr?: SSR;
159
+ // (undocumented)
160
+ readonly useInlinePlayer?: boolean;
162
161
  }
163
162
 
164
163
  // @public (undocumented)
165
164
  export interface CardState {
166
- // (undocumented)
167
- cardPreview?: CardPreview;
168
- // (undocumented)
169
- cardRef: HTMLDivElement | null;
170
- // (undocumented)
171
- error?: MediaCardError;
172
- // (undocumented)
173
- fileState?: FileState;
174
- // (undocumented)
175
- isBannedLocalPreview: boolean;
176
- // (undocumented)
177
- isCardVisible: boolean;
178
- // (undocumented)
179
- isPlayingFile: boolean;
180
- // (undocumented)
181
- mediaViewerSelectedItem?: Identifier;
182
- // (undocumented)
183
- previewDidRender: boolean;
184
- // (undocumented)
185
- progress?: number;
186
- // (undocumented)
187
- shouldAutoplay?: boolean;
188
- // (undocumented)
189
- shouldUpdateStateForIdentifier?: boolean;
190
- // (undocumented)
191
- status: CardStatus;
192
- // (undocumented)
193
- wasResolvedUpfrontPreview: boolean;
165
+ // (undocumented)
166
+ cardPreview?: CardPreview;
167
+ // (undocumented)
168
+ cardRef: HTMLDivElement | null;
169
+ // (undocumented)
170
+ error?: MediaCardError;
171
+ // (undocumented)
172
+ fileState?: FileState;
173
+ // (undocumented)
174
+ isBannedLocalPreview: boolean;
175
+ // (undocumented)
176
+ isCardVisible: boolean;
177
+ // (undocumented)
178
+ isPlayingFile: boolean;
179
+ // (undocumented)
180
+ mediaViewerSelectedItem?: Identifier;
181
+ // (undocumented)
182
+ previewDidRender: boolean;
183
+ // (undocumented)
184
+ progress?: number;
185
+ // (undocumented)
186
+ shouldAutoplay?: boolean;
187
+ // (undocumented)
188
+ shouldUpdateStateForIdentifier?: boolean;
189
+ // (undocumented)
190
+ status: CardStatus;
191
+ // (undocumented)
192
+ wasResolvedUpfrontPreview: boolean;
194
193
  }
195
194
 
196
195
  // @public (undocumented)
197
196
  export type CardStatus =
198
- | 'complete'
199
- | 'error'
200
- | 'failed-processing'
201
- | 'loading'
202
- | 'loading-preview'
203
- | 'processing'
204
- | 'uploading';
197
+ | 'complete'
198
+ | 'error'
199
+ | 'failed-processing'
200
+ | 'loading'
201
+ | 'loading-preview'
202
+ | 'processing'
203
+ | 'uploading';
205
204
 
206
205
  // @public (undocumented)
207
206
  type CardWithMediaClientConfigProps = WithMediaClientConfigProps<CardBaseProps>;
208
207
 
209
208
  // @public (undocumented)
210
209
  export const defaultImageCardDimensions: {
211
- width: number;
212
- height: number;
210
+ width: number;
211
+ height: number;
213
212
  };
214
213
 
215
214
  // @public (undocumented)
216
215
  type ErrorBoundaryComponent = React_2.ComponentType<{
217
- data?: {
218
- [k: string]: any;
219
- };
220
- isSelected?: boolean;
216
+ data?: {
217
+ [k: string]: any;
218
+ };
219
+ isSelected?: boolean;
221
220
  }>;
222
221
 
223
222
  // @public (undocumented)
224
223
  interface ErrorCardProps extends StaticCardProps {
225
- // (undocumented)
226
- readonly size: 'large' | 'medium' | 'small' | 'xlarge';
224
+ // (undocumented)
225
+ readonly size: 'large' | 'medium' | 'small' | 'xlarge';
227
226
  }
228
227
 
229
228
  // @public (undocumented)
@@ -231,25 +230,25 @@ export const fileCardImageViewSelector = 'media-file-card-view';
231
230
 
232
231
  // @public (undocumented)
233
232
  type ImageLoadPrimaryReason =
234
- | 'cache-local-uri'
235
- | 'cache-remote-uri'
236
- | 'external-uri'
237
- | 'local-uri'
238
- | 'remote-uri'
239
- | 'unknown-uri';
233
+ | 'cache-local-uri'
234
+ | 'cache-remote-uri'
235
+ | 'external-uri'
236
+ | 'local-uri'
237
+ | 'remote-uri'
238
+ | 'unknown-uri';
240
239
 
241
240
  // @public (undocumented)
242
241
  export interface InlineCardEvent {
243
- // (undocumented)
244
- event: MouseEvent_2<HTMLElement> | React.KeyboardEvent;
245
- // (undocumented)
246
- mediaItemDetails?: FileDetails;
242
+ // (undocumented)
243
+ event: MouseEvent_2<HTMLElement> | React.KeyboardEvent;
244
+ // (undocumented)
245
+ mediaItemDetails?: FileDetails;
247
246
  }
248
247
 
249
248
  // @public (undocumented)
250
249
  export interface InlineCardOnClickCallback {
251
- // (undocumented)
252
- (result: InlineCardEvent, analyticsEvent?: UIAnalyticsEvent): void;
250
+ // (undocumented)
251
+ (result: InlineCardEvent, analyticsEvent?: UIAnalyticsEvent): void;
253
252
  }
254
253
 
255
254
  // @public (undocumented)
@@ -257,92 +256,88 @@ export const inlinePlayerClassName = 'media-card-inline-player';
257
256
 
258
257
  // @public (undocumented)
259
258
  type LocalPreviewPrimaryReason =
260
- | 'local-preview-get'
261
- | 'local-preview-image'
262
- | 'local-preview-rejected'
263
- | 'local-preview-unsupported'
264
- | 'local-preview-video';
259
+ | 'local-preview-get'
260
+ | 'local-preview-image'
261
+ | 'local-preview-rejected'
262
+ | 'local-preview-unsupported'
263
+ | 'local-preview-video';
265
264
 
266
265
  // @public (undocumented)
267
266
  class MediaCardError extends Error {
268
- constructor(
269
- primaryReason: MediaCardErrorPrimaryReason,
270
- secondaryError?: Error | undefined,
271
- );
272
- // (undocumented)
273
- readonly primaryReason: MediaCardErrorPrimaryReason;
274
- // (undocumented)
275
- readonly secondaryError?: Error | undefined;
267
+ constructor(primaryReason: MediaCardErrorPrimaryReason, secondaryError?: Error | undefined);
268
+ // (undocumented)
269
+ readonly primaryReason: MediaCardErrorPrimaryReason;
270
+ // (undocumented)
271
+ readonly secondaryError?: Error | undefined;
276
272
  }
277
273
 
278
274
  // @public
279
275
  type MediaCardErrorPrimaryReason =
280
- | 'error-file-state'
281
- | 'metadata-fetch'
282
- | 'missing-error-data'
283
- | 'preview-fetch'
284
- | 'upload'
285
- | ImageLoadPrimaryReason
286
- | LocalPreviewPrimaryReason
287
- | RemotePreviewPrimaryReason
288
- | SsrPreviewPrimaryReason;
276
+ | 'error-file-state'
277
+ | 'metadata-fetch'
278
+ | 'missing-error-data'
279
+ | 'preview-fetch'
280
+ | 'upload'
281
+ | ImageLoadPrimaryReason
282
+ | LocalPreviewPrimaryReason
283
+ | RemotePreviewPrimaryReason
284
+ | SsrPreviewPrimaryReason;
289
285
 
290
286
  // @public (undocumented)
291
287
  export class MediaInlineCard extends React_2.PureComponent<
292
- MediaInlineCardWithMediaClientConfigProps & MediaInlineCardLoaderState,
293
- MediaInlineCardLoaderState
288
+ MediaInlineCardWithMediaClientConfigProps & MediaInlineCardLoaderState,
289
+ MediaInlineCardLoaderState
294
290
  > {
295
- // (undocumented)
296
- componentDidMount(): Promise<void>;
297
- // (undocumented)
298
- componentWillUnmount(): Promise<void>;
299
- // (undocumented)
300
- static displayName: string;
301
- // (undocumented)
302
- static ErrorBoundary?: ErrorBoundaryComponent;
303
- // (undocumented)
304
- static MediaInlineCard?: MediaInlineCardWithMediaClientConfigComponent;
305
- // (undocumented)
306
- mounted: boolean;
307
- // (undocumented)
308
- render(): JSX.Element;
309
- // (undocumented)
310
- state: MediaInlineCardLoaderState;
291
+ // (undocumented)
292
+ componentDidMount(): Promise<void>;
293
+ // (undocumented)
294
+ componentWillUnmount(): Promise<void>;
295
+ // (undocumented)
296
+ static displayName: string;
297
+ // (undocumented)
298
+ static ErrorBoundary?: ErrorBoundaryComponent;
299
+ // (undocumented)
300
+ static MediaInlineCard?: MediaInlineCardWithMediaClientConfigComponent;
301
+ // (undocumented)
302
+ mounted: boolean;
303
+ // (undocumented)
304
+ render(): JSX.Element;
305
+ // (undocumented)
306
+ state: MediaInlineCardLoaderState;
311
307
  }
312
308
 
313
309
  // @public (undocumented)
314
310
  interface MediaInlineCardLoaderState {
315
- // (undocumented)
316
- ErrorBoundary?: ErrorBoundaryComponent;
317
- // (undocumented)
318
- MediaInlineCard?: MediaInlineCardWithMediaClientConfigComponent;
311
+ // (undocumented)
312
+ ErrorBoundary?: ErrorBoundaryComponent;
313
+ // (undocumented)
314
+ MediaInlineCard?: MediaInlineCardWithMediaClientConfigComponent;
319
315
  }
320
316
 
321
317
  // @public (undocumented)
322
318
  interface MediaInlineCardProps {
323
- // (undocumented)
324
- identifier: FileIdentifier;
325
- // (undocumented)
326
- isSelected?: boolean;
327
- // (undocumented)
328
- mediaClient: MediaClient;
329
- // (undocumented)
330
- mediaViewerItems?: Identifier[];
331
- // (undocumented)
332
- onClick?: InlineCardOnClickCallback;
333
- // (undocumented)
334
- shouldDisplayToolTip?: boolean;
335
- // (undocumented)
336
- shouldOpenMediaViewer?: boolean;
319
+ // (undocumented)
320
+ identifier: FileIdentifier;
321
+ // (undocumented)
322
+ isSelected?: boolean;
323
+ // (undocumented)
324
+ mediaClient: MediaClient;
325
+ // (undocumented)
326
+ mediaViewerItems?: Identifier[];
327
+ // (undocumented)
328
+ onClick?: InlineCardOnClickCallback;
329
+ // (undocumented)
330
+ shouldDisplayToolTip?: boolean;
331
+ // (undocumented)
332
+ shouldOpenMediaViewer?: boolean;
337
333
  }
338
334
 
339
335
  // @public (undocumented)
340
336
  type MediaInlineCardWithMediaClientConfigComponent =
341
- React_2.ComponentType<MediaInlineCardWithMediaClientConfigProps>;
337
+ React_2.ComponentType<MediaInlineCardWithMediaClientConfigProps>;
342
338
 
343
339
  // @public (undocumented)
344
- type MediaInlineCardWithMediaClientConfigProps =
345
- WithMediaClientConfigProps<MediaInlineCardProps>;
340
+ type MediaInlineCardWithMediaClientConfigProps = WithMediaClientConfigProps<MediaInlineCardProps>;
346
341
 
347
342
  // @public (undocumented)
348
343
  export const newFileExperienceClassName = 'new-file-experience-wrapper';
@@ -351,55 +346,55 @@ export { NumericalCardDimensions };
351
346
 
352
347
  // @public (undocumented)
353
348
  type RemotePreviewPrimaryReason =
354
- | 'remote-preview-fetch'
355
- | 'remote-preview-fetch-ssr'
356
- | 'remote-preview-not-ready';
349
+ | 'remote-preview-fetch'
350
+ | 'remote-preview-fetch-ssr'
351
+ | 'remote-preview-not-ready';
357
352
 
358
353
  // @public (undocumented)
359
354
  export interface SharedCardProps {
360
- // (undocumented)
361
- readonly actions?: Array<CardAction>;
362
- // (undocumented)
363
- readonly alt?: string;
364
- // (undocumented)
365
- readonly appearance?: CardAppearance;
366
- // (undocumented)
367
- readonly dimensions?: CardDimensions;
368
- // (undocumented)
369
- readonly disableOverlay?: boolean;
370
- // (undocumented)
371
- readonly featureFlags?: MediaFeatureFlags;
372
- // (undocumented)
373
- readonly originalDimensions?: NumericalCardDimensions;
374
- // (undocumented)
375
- readonly resizeMode?: ImageResizeMode;
376
- // (undocumented)
377
- readonly selectable?: boolean;
378
- // (undocumented)
379
- readonly selected?: boolean;
380
- // (undocumented)
381
- readonly testId?: string;
382
- // (undocumented)
383
- readonly titleBoxBgColor?: string;
384
- // (undocumented)
385
- readonly titleBoxIcon?: TitleBoxIcon;
355
+ // (undocumented)
356
+ readonly actions?: Array<CardAction>;
357
+ // (undocumented)
358
+ readonly alt?: string;
359
+ // (undocumented)
360
+ readonly appearance?: CardAppearance;
361
+ // (undocumented)
362
+ readonly dimensions?: CardDimensions;
363
+ // (undocumented)
364
+ readonly disableOverlay?: boolean;
365
+ // (undocumented)
366
+ readonly featureFlags?: MediaFeatureFlags;
367
+ // (undocumented)
368
+ readonly originalDimensions?: NumericalCardDimensions;
369
+ // (undocumented)
370
+ readonly resizeMode?: ImageResizeMode;
371
+ // (undocumented)
372
+ readonly selectable?: boolean;
373
+ // (undocumented)
374
+ readonly selected?: boolean;
375
+ // (undocumented)
376
+ readonly testId?: string;
377
+ // (undocumented)
378
+ readonly titleBoxBgColor?: string;
379
+ // (undocumented)
380
+ readonly titleBoxIcon?: TitleBoxIcon;
386
381
  }
387
382
 
388
383
  // @public (undocumented)
389
384
  type SsrPreviewPrimaryReason =
390
- | 'ssr-client-load'
391
- | 'ssr-client-uri'
392
- | 'ssr-server-load'
393
- | 'ssr-server-uri';
385
+ | 'ssr-client-load'
386
+ | 'ssr-client-uri'
387
+ | 'ssr-server-load'
388
+ | 'ssr-server-uri';
394
389
 
395
390
  // @public (undocumented)
396
391
  interface StaticCardProps {
397
- // (undocumented)
398
- dimensions?: CardDimensions;
399
- // (undocumented)
400
- featureFlags?: MediaFeatureFlags;
401
- // (undocumented)
402
- testId?: string;
392
+ // (undocumented)
393
+ dimensions?: CardDimensions;
394
+ // (undocumented)
395
+ featureFlags?: MediaFeatureFlags;
396
+ // (undocumented)
397
+ testId?: string;
403
398
  }
404
399
 
405
400
  // @public (undocumented)
@@ -416,10 +411,10 @@ export type TitleBoxIcon = 'LockFilledIcon';
416
411
 
417
412
  ```json
418
413
  {
419
- "@emotion/react": "^11.7.1",
420
- "react": "^16.8.0",
421
- "react-dom": "^16.8.0",
422
- "react-intl-next": "npm:react-intl@^5.18.1"
414
+ "@emotion/react": "^11.7.1",
415
+ "react": "^16.8.0",
416
+ "react-dom": "^16.8.0",
417
+ "react-intl-next": "npm:react-intl@^5.18.1"
423
418
  }
424
419
  ```
425
420