@atlaskit/renderer 108.15.14 → 108.15.16

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 (109) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/i18n/da.js +6 -1
  3. package/dist/cjs/i18n/de.js +6 -1
  4. package/dist/cjs/i18n/es.js +6 -1
  5. package/dist/cjs/i18n/fr.js +6 -1
  6. package/dist/cjs/i18n/hu.js +6 -1
  7. package/dist/cjs/i18n/it.js +6 -1
  8. package/dist/cjs/i18n/ko.js +6 -1
  9. package/dist/cjs/i18n/nb.js +6 -1
  10. package/dist/cjs/i18n/nl.js +6 -1
  11. package/dist/cjs/i18n/pl.js +6 -1
  12. package/dist/cjs/i18n/sv.js +6 -1
  13. package/dist/cjs/i18n/th.js +6 -1
  14. package/dist/cjs/i18n/tr.js +6 -1
  15. package/dist/cjs/i18n/uk.js +1 -1
  16. package/dist/cjs/i18n/vi.js +6 -1
  17. package/dist/cjs/i18n/zh.js +6 -1
  18. package/dist/cjs/i18n/zh_TW.js +6 -1
  19. package/dist/cjs/react/marks/textColor.js +64 -1
  20. package/dist/cjs/react/nodes/mediaInline.js +2 -2
  21. package/dist/cjs/react/nodes/tableCell.js +175 -133
  22. package/dist/cjs/ui/MediaCard.js +2 -2
  23. package/dist/cjs/ui/Renderer/index.js +1 -1
  24. package/dist/cjs/ui/Renderer/style.js +1 -1
  25. package/dist/es2019/i18n/da.js +6 -1
  26. package/dist/es2019/i18n/de.js +6 -1
  27. package/dist/es2019/i18n/es.js +6 -1
  28. package/dist/es2019/i18n/fr.js +6 -1
  29. package/dist/es2019/i18n/hu.js +6 -1
  30. package/dist/es2019/i18n/it.js +6 -1
  31. package/dist/es2019/i18n/ko.js +6 -1
  32. package/dist/es2019/i18n/nb.js +6 -1
  33. package/dist/es2019/i18n/nl.js +6 -1
  34. package/dist/es2019/i18n/pl.js +6 -1
  35. package/dist/es2019/i18n/sv.js +6 -1
  36. package/dist/es2019/i18n/th.js +6 -1
  37. package/dist/es2019/i18n/tr.js +6 -1
  38. package/dist/es2019/i18n/uk.js +1 -1
  39. package/dist/es2019/i18n/vi.js +6 -1
  40. package/dist/es2019/i18n/zh.js +6 -1
  41. package/dist/es2019/i18n/zh_TW.js +6 -1
  42. package/dist/es2019/react/marks/textColor.js +65 -1
  43. package/dist/es2019/react/nodes/mediaInline.js +1 -1
  44. package/dist/es2019/react/nodes/tableCell.js +180 -106
  45. package/dist/es2019/ui/MediaCard.js +1 -1
  46. package/dist/es2019/ui/Renderer/index.js +1 -1
  47. package/dist/es2019/ui/Renderer/style.js +4 -2
  48. package/dist/esm/i18n/da.js +6 -1
  49. package/dist/esm/i18n/de.js +6 -1
  50. package/dist/esm/i18n/es.js +6 -1
  51. package/dist/esm/i18n/fr.js +6 -1
  52. package/dist/esm/i18n/hu.js +6 -1
  53. package/dist/esm/i18n/it.js +6 -1
  54. package/dist/esm/i18n/ko.js +6 -1
  55. package/dist/esm/i18n/nb.js +6 -1
  56. package/dist/esm/i18n/nl.js +6 -1
  57. package/dist/esm/i18n/pl.js +6 -1
  58. package/dist/esm/i18n/sv.js +6 -1
  59. package/dist/esm/i18n/th.js +6 -1
  60. package/dist/esm/i18n/tr.js +6 -1
  61. package/dist/esm/i18n/uk.js +1 -1
  62. package/dist/esm/i18n/vi.js +6 -1
  63. package/dist/esm/i18n/zh.js +6 -1
  64. package/dist/esm/i18n/zh_TW.js +6 -1
  65. package/dist/esm/react/marks/textColor.js +64 -1
  66. package/dist/esm/react/nodes/mediaInline.js +1 -1
  67. package/dist/esm/react/nodes/tableCell.js +177 -135
  68. package/dist/esm/ui/MediaCard.js +1 -1
  69. package/dist/esm/ui/Renderer/index.js +1 -1
  70. package/dist/esm/ui/Renderer/style.js +1 -1
  71. package/dist/types/i18n/da.d.ts +5 -0
  72. package/dist/types/i18n/de.d.ts +5 -0
  73. package/dist/types/i18n/es.d.ts +5 -0
  74. package/dist/types/i18n/fr.d.ts +5 -0
  75. package/dist/types/i18n/hu.d.ts +5 -0
  76. package/dist/types/i18n/it.d.ts +5 -0
  77. package/dist/types/i18n/ko.d.ts +5 -0
  78. package/dist/types/i18n/nb.d.ts +5 -0
  79. package/dist/types/i18n/nl.d.ts +5 -0
  80. package/dist/types/i18n/pl.d.ts +5 -0
  81. package/dist/types/i18n/sv.d.ts +5 -0
  82. package/dist/types/i18n/th.d.ts +5 -0
  83. package/dist/types/i18n/tr.d.ts +5 -0
  84. package/dist/types/i18n/vi.d.ts +5 -0
  85. package/dist/types/i18n/zh.d.ts +5 -0
  86. package/dist/types/i18n/zh_TW.d.ts +5 -0
  87. package/dist/types/react/marks/textColor.d.ts +2 -2
  88. package/dist/types/react/nodes/mediaInline.d.ts +7 -7
  89. package/dist/types/react/nodes/tableCell.d.ts +5 -62
  90. package/dist/types-ts4.5/i18n/da.d.ts +5 -0
  91. package/dist/types-ts4.5/i18n/de.d.ts +5 -0
  92. package/dist/types-ts4.5/i18n/es.d.ts +5 -0
  93. package/dist/types-ts4.5/i18n/fr.d.ts +5 -0
  94. package/dist/types-ts4.5/i18n/hu.d.ts +5 -0
  95. package/dist/types-ts4.5/i18n/it.d.ts +5 -0
  96. package/dist/types-ts4.5/i18n/ko.d.ts +5 -0
  97. package/dist/types-ts4.5/i18n/nb.d.ts +5 -0
  98. package/dist/types-ts4.5/i18n/nl.d.ts +5 -0
  99. package/dist/types-ts4.5/i18n/pl.d.ts +5 -0
  100. package/dist/types-ts4.5/i18n/sv.d.ts +5 -0
  101. package/dist/types-ts4.5/i18n/th.d.ts +5 -0
  102. package/dist/types-ts4.5/i18n/tr.d.ts +5 -0
  103. package/dist/types-ts4.5/i18n/vi.d.ts +5 -0
  104. package/dist/types-ts4.5/i18n/zh.d.ts +5 -0
  105. package/dist/types-ts4.5/i18n/zh_TW.d.ts +5 -0
  106. package/dist/types-ts4.5/react/marks/textColor.d.ts +2 -2
  107. package/dist/types-ts4.5/react/nodes/mediaInline.d.ts +7 -7
  108. package/dist/types-ts4.5/react/nodes/tableCell.d.ts +5 -62
  109. package/package.json +16 -9
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { TextColorAttributes } from '@atlaskit/adf-schema';
3
- import { MarkProps } from '../types';
2
+ import type { TextColorAttributes } from '@atlaskit/adf-schema';
3
+ import type { MarkProps } from '../types';
4
4
  export default function TextColor(props: MarkProps<TextColorAttributes>): JSX.Element;
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
- import { ContextIdentifierProvider, ProviderFactory } from '@atlaskit/editor-common/provider-factory';
3
- import { FileIdentifier } from '@atlaskit/media-client';
4
- import { MediaProvider, ClipboardAttrs } from '../../ui/MediaCard';
5
- import { IntlShape, WrappedComponentProps } from 'react-intl-next';
2
+ import type { ContextIdentifierProvider, ProviderFactory } from '@atlaskit/editor-common/provider-factory';
3
+ import type { FileIdentifier } from '@atlaskit/media-client';
4
+ import type { MediaProvider, ClipboardAttrs } from '../../ui/MediaCard';
5
+ import type { IntlShape, WrappedComponentProps } from 'react-intl-next';
6
6
  import type { EventHandlers } from '@atlaskit/editor-common/ui';
7
- import { RendererAppearance } from '../../ui/Renderer/types';
8
- import { MediaFeatureFlags } from '@atlaskit/media-common';
9
- import { RendererContext } from '../types';
7
+ import type { RendererAppearance } from '../../ui/Renderer/types';
8
+ import type { MediaFeatureFlags } from '@atlaskit/media-common';
9
+ import type { RendererContext } from '../types';
10
10
  type MediaInlineProviders = {
11
11
  mediaProvider?: Promise<MediaProvider>;
12
12
  contextIdentifierProvider?: Promise<ContextIdentifierProvider>;
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
- import { CellAttributes } from '@atlaskit/adf-schema';
2
+ import type { CellAttributes } from '@atlaskit/adf-schema';
3
3
  import { SortOrder } from '@atlaskit/editor-common/types';
4
- import { AnalyticsEventPayload } from '../../analytics/events';
5
- import { WrappedComponentProps } from 'react-intl-next';
4
+ import type { AnalyticsEventPayload } from '../../analytics/events';
6
5
  type CellProps = CellAttributes & {
7
6
  children?: React.ReactNode;
8
7
  onClick?: () => void;
@@ -18,64 +17,8 @@ export type CellWithSortingProps = CellProps & {
18
17
  columnIndex?: number;
19
18
  sortOrdered?: SortOrder;
20
19
  fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
21
- } & WrappedComponentProps;
22
- export declare const withSortableColumn: (WrapperComponent: React.ElementType) => React.FC<import("react-intl-next").WithIntlProps<CellWithSortingProps>> & {
23
- WrappedComponent: React.ComponentType<CellWithSortingProps>;
24
- };
25
- export declare const TableHeader: React.FC<import("react-intl-next").WithIntlProps<CellWithSortingProps>> & {
26
- WrappedComponent: React.ComponentType<CellWithSortingProps>;
27
- };
28
- export declare const TableCell: {
29
- new (props: CellProps | Readonly<CellProps>): {
30
- render(): JSX.Element;
31
- context: any;
32
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<CellProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
33
- forceUpdate(callback?: (() => void) | undefined): void;
34
- readonly props: Readonly<CellProps> & Readonly<{
35
- children?: React.ReactNode;
36
- }>;
37
- state: Readonly<{}>;
38
- refs: {
39
- [key: string]: React.ReactInstance;
40
- };
41
- componentDidMount?(): void;
42
- shouldComponentUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): boolean;
43
- componentWillUnmount?(): void;
44
- componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
45
- getSnapshotBeforeUpdate?(prevProps: Readonly<CellProps>, prevState: Readonly<{}>): any;
46
- componentDidUpdate?(prevProps: Readonly<CellProps>, prevState: Readonly<{}>, snapshot?: any): void;
47
- componentWillMount?(): void;
48
- UNSAFE_componentWillMount?(): void;
49
- componentWillReceiveProps?(nextProps: Readonly<CellProps>, nextContext: any): void;
50
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<CellProps>, nextContext: any): void;
51
- componentWillUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): void;
52
- UNSAFE_componentWillUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): void;
53
- };
54
- new (props: CellProps, context: any): {
55
- render(): JSX.Element;
56
- context: any;
57
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<CellProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
58
- forceUpdate(callback?: (() => void) | undefined): void;
59
- readonly props: Readonly<CellProps> & Readonly<{
60
- children?: React.ReactNode;
61
- }>;
62
- state: Readonly<{}>;
63
- refs: {
64
- [key: string]: React.ReactInstance;
65
- };
66
- componentDidMount?(): void;
67
- shouldComponentUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): boolean;
68
- componentWillUnmount?(): void;
69
- componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
70
- getSnapshotBeforeUpdate?(prevProps: Readonly<CellProps>, prevState: Readonly<{}>): any;
71
- componentDidUpdate?(prevProps: Readonly<CellProps>, prevState: Readonly<{}>, snapshot?: any): void;
72
- componentWillMount?(): void;
73
- UNSAFE_componentWillMount?(): void;
74
- componentWillReceiveProps?(nextProps: Readonly<CellProps>, nextContext: any): void;
75
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<CellProps>, nextContext: any): void;
76
- componentWillUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): void;
77
- UNSAFE_componentWillUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): void;
78
- };
79
- contextType?: React.Context<any> | undefined;
80
20
  };
21
+ export declare const withSortableColumn: (WrapperComponent: React.ElementType) => (props: CellWithSortingProps) => JSX.Element;
22
+ export declare const TableHeader: (props: CellWithSortingProps) => JSX.Element;
23
+ export declare const TableCell: (props: CellProps) => JSX.Element;
81
24
  export {};
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -16,5 +16,10 @@ declare const _default: {
16
16
  'fabric.editor.headingLink.invalidLabel': string;
17
17
  'fabric.editor.headingLink.noOrderLabel': string;
18
18
  'fabric.editor.headingLink.noneSortingLabel': string;
19
+ 'fabric.editor.tableHeader.sorting.asc': string;
20
+ 'fabric.editor.tableHeader.sorting.default': string;
21
+ 'fabric.editor.tableHeader.sorting.desc': string;
22
+ 'fabric.editor.tableHeader.sorting.invalid': string;
23
+ 'fabric.editor.tableHeader.sorting.no': string;
19
24
  };
20
25
  export default _default;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { TextColorAttributes } from '@atlaskit/adf-schema';
3
- import { MarkProps } from '../types';
2
+ import type { TextColorAttributes } from '@atlaskit/adf-schema';
3
+ import type { MarkProps } from '../types';
4
4
  export default function TextColor(props: MarkProps<TextColorAttributes>): JSX.Element;
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
- import { ContextIdentifierProvider, ProviderFactory } from '@atlaskit/editor-common/provider-factory';
3
- import { FileIdentifier } from '@atlaskit/media-client';
4
- import { MediaProvider, ClipboardAttrs } from '../../ui/MediaCard';
5
- import { IntlShape, WrappedComponentProps } from 'react-intl-next';
2
+ import type { ContextIdentifierProvider, ProviderFactory } from '@atlaskit/editor-common/provider-factory';
3
+ import type { FileIdentifier } from '@atlaskit/media-client';
4
+ import type { MediaProvider, ClipboardAttrs } from '../../ui/MediaCard';
5
+ import type { IntlShape, WrappedComponentProps } from 'react-intl-next';
6
6
  import type { EventHandlers } from '@atlaskit/editor-common/ui';
7
- import { RendererAppearance } from '../../ui/Renderer/types';
8
- import { MediaFeatureFlags } from '@atlaskit/media-common';
9
- import { RendererContext } from '../types';
7
+ import type { RendererAppearance } from '../../ui/Renderer/types';
8
+ import type { MediaFeatureFlags } from '@atlaskit/media-common';
9
+ import type { RendererContext } from '../types';
10
10
  type MediaInlineProviders = {
11
11
  mediaProvider?: Promise<MediaProvider>;
12
12
  contextIdentifierProvider?: Promise<ContextIdentifierProvider>;
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
- import { CellAttributes } from '@atlaskit/adf-schema';
2
+ import type { CellAttributes } from '@atlaskit/adf-schema';
3
3
  import { SortOrder } from '@atlaskit/editor-common/types';
4
- import { AnalyticsEventPayload } from '../../analytics/events';
5
- import { WrappedComponentProps } from 'react-intl-next';
4
+ import type { AnalyticsEventPayload } from '../../analytics/events';
6
5
  type CellProps = CellAttributes & {
7
6
  children?: React.ReactNode;
8
7
  onClick?: () => void;
@@ -18,64 +17,8 @@ export type CellWithSortingProps = CellProps & {
18
17
  columnIndex?: number;
19
18
  sortOrdered?: SortOrder;
20
19
  fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
21
- } & WrappedComponentProps;
22
- export declare const withSortableColumn: (WrapperComponent: React.ElementType) => React.FC<import("react-intl-next").WithIntlProps<CellWithSortingProps>> & {
23
- WrappedComponent: React.ComponentType<CellWithSortingProps>;
24
- };
25
- export declare const TableHeader: React.FC<import("react-intl-next").WithIntlProps<CellWithSortingProps>> & {
26
- WrappedComponent: React.ComponentType<CellWithSortingProps>;
27
- };
28
- export declare const TableCell: {
29
- new (props: CellProps | Readonly<CellProps>): {
30
- render(): JSX.Element;
31
- context: any;
32
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<CellProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
33
- forceUpdate(callback?: (() => void) | undefined): void;
34
- readonly props: Readonly<CellProps> & Readonly<{
35
- children?: React.ReactNode;
36
- }>;
37
- state: Readonly<{}>;
38
- refs: {
39
- [key: string]: React.ReactInstance;
40
- };
41
- componentDidMount?(): void;
42
- shouldComponentUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): boolean;
43
- componentWillUnmount?(): void;
44
- componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
45
- getSnapshotBeforeUpdate?(prevProps: Readonly<CellProps>, prevState: Readonly<{}>): any;
46
- componentDidUpdate?(prevProps: Readonly<CellProps>, prevState: Readonly<{}>, snapshot?: any): void;
47
- componentWillMount?(): void;
48
- UNSAFE_componentWillMount?(): void;
49
- componentWillReceiveProps?(nextProps: Readonly<CellProps>, nextContext: any): void;
50
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<CellProps>, nextContext: any): void;
51
- componentWillUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): void;
52
- UNSAFE_componentWillUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): void;
53
- };
54
- new (props: CellProps, context: any): {
55
- render(): JSX.Element;
56
- context: any;
57
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<CellProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
58
- forceUpdate(callback?: (() => void) | undefined): void;
59
- readonly props: Readonly<CellProps> & Readonly<{
60
- children?: React.ReactNode;
61
- }>;
62
- state: Readonly<{}>;
63
- refs: {
64
- [key: string]: React.ReactInstance;
65
- };
66
- componentDidMount?(): void;
67
- shouldComponentUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): boolean;
68
- componentWillUnmount?(): void;
69
- componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
70
- getSnapshotBeforeUpdate?(prevProps: Readonly<CellProps>, prevState: Readonly<{}>): any;
71
- componentDidUpdate?(prevProps: Readonly<CellProps>, prevState: Readonly<{}>, snapshot?: any): void;
72
- componentWillMount?(): void;
73
- UNSAFE_componentWillMount?(): void;
74
- componentWillReceiveProps?(nextProps: Readonly<CellProps>, nextContext: any): void;
75
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<CellProps>, nextContext: any): void;
76
- componentWillUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): void;
77
- UNSAFE_componentWillUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): void;
78
- };
79
- contextType?: React.Context<any> | undefined;
80
20
  };
21
+ export declare const withSortableColumn: (WrapperComponent: React.ElementType) => (props: CellWithSortingProps) => JSX.Element;
22
+ export declare const TableHeader: (props: CellWithSortingProps) => JSX.Element;
23
+ export declare const TableCell: (props: CellProps) => JSX.Element;
81
24
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "108.15.14",
3
+ "version": "108.15.16",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,28 +29,29 @@
29
29
  "@atlaskit/analytics-listeners": "^8.7.0",
30
30
  "@atlaskit/analytics-namespaced-context": "^6.7.0",
31
31
  "@atlaskit/analytics-next": "^9.1.0",
32
- "@atlaskit/button": "^16.10.0",
32
+ "@atlaskit/button": "^16.11.0",
33
33
  "@atlaskit/code": "^14.6.0",
34
- "@atlaskit/editor-common": "^76.11.0",
34
+ "@atlaskit/editor-common": "^76.15.0",
35
35
  "@atlaskit/editor-json-transformer": "^8.10.0",
36
36
  "@atlaskit/editor-palette": "1.5.1",
37
37
  "@atlaskit/editor-prosemirror": "1.1.0",
38
38
  "@atlaskit/editor-shared-styles": "^2.8.0",
39
39
  "@atlaskit/emoji": "^67.5.0",
40
40
  "@atlaskit/icon": "^21.12.0",
41
- "@atlaskit/link-datasource": "^1.7.0",
42
- "@atlaskit/media-card": "^77.1.0",
43
- "@atlaskit/media-client": "^24.0.0",
41
+ "@atlaskit/link-datasource": "^1.10.0",
42
+ "@atlaskit/media-card": "^77.2.0",
43
+ "@atlaskit/media-client": "^25.0.0",
44
+ "@atlaskit/media-client-react": "^1.3.0",
44
45
  "@atlaskit/media-common": "^9.0.0",
45
46
  "@atlaskit/media-filmstrip": "^47.0.0",
46
47
  "@atlaskit/media-ui": "^25.0.0",
47
48
  "@atlaskit/media-viewer": "^48.1.0",
48
49
  "@atlaskit/platform-feature-flags": "^0.2.0",
49
- "@atlaskit/smart-card": "^26.35.0",
50
+ "@atlaskit/smart-card": "^26.39.0",
50
51
  "@atlaskit/status": "^1.4.0",
51
52
  "@atlaskit/task-decision": "^17.9.0",
52
53
  "@atlaskit/theme": "^12.6.0",
53
- "@atlaskit/tokens": "^1.26.0",
54
+ "@atlaskit/tokens": "^1.28.0",
54
55
  "@atlaskit/tooltip": "^17.8.0",
55
56
  "@babel/runtime": "^7.0.0",
56
57
  "@emotion/react": "^11.7.1",
@@ -71,7 +72,7 @@
71
72
  "@atlaskit/analytics-gas-types": "^5.1.0",
72
73
  "@atlaskit/css-reset": "^6.6.0",
73
74
  "@atlaskit/link-provider": "^1.6.0",
74
- "@atlaskit/link-test-helpers": "^6.1.0",
75
+ "@atlaskit/link-test-helpers": "^6.2.0",
75
76
  "@atlaskit/media-core": "^34.1.0",
76
77
  "@atlaskit/media-integration-test-helpers": "^3.0.0",
77
78
  "@atlaskit/media-test-helpers": "^33.0.0",
@@ -123,6 +124,12 @@
123
124
  },
124
125
  "platform.editor.table.increase-shadow-visibility_lh89r": {
125
126
  "type": "boolean"
127
+ },
128
+ "platform.editor.dm-invert-tablecell-bgcolor_9fz6s": {
129
+ "type": "boolean"
130
+ },
131
+ "platform.editor.dm-invert-text-color_cvho2": {
132
+ "type": "boolean"
126
133
  }
127
134
  }
128
135
  }