@atlaskit/renderer 108.15.13 → 108.15.15
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 +12 -0
- package/dist/cjs/i18n/da.js +6 -1
- package/dist/cjs/i18n/de.js +6 -1
- package/dist/cjs/i18n/es.js +6 -1
- package/dist/cjs/i18n/fr.js +6 -1
- package/dist/cjs/i18n/hu.js +6 -1
- package/dist/cjs/i18n/it.js +6 -1
- package/dist/cjs/i18n/ko.js +6 -1
- package/dist/cjs/i18n/nb.js +6 -1
- package/dist/cjs/i18n/nl.js +6 -1
- package/dist/cjs/i18n/pl.js +6 -1
- package/dist/cjs/i18n/sv.js +6 -1
- package/dist/cjs/i18n/th.js +6 -1
- package/dist/cjs/i18n/tr.js +6 -1
- package/dist/cjs/i18n/uk.js +1 -1
- package/dist/cjs/i18n/vi.js +6 -1
- package/dist/cjs/i18n/zh.js +6 -1
- package/dist/cjs/i18n/zh_TW.js +6 -1
- package/dist/cjs/react/marks/textColor.js +64 -1
- package/dist/cjs/react/nodes/tableCell.js +175 -133
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/cjs/ui/Renderer/style.js +1 -1
- package/dist/es2019/i18n/da.js +6 -1
- package/dist/es2019/i18n/de.js +6 -1
- package/dist/es2019/i18n/es.js +6 -1
- package/dist/es2019/i18n/fr.js +6 -1
- package/dist/es2019/i18n/hu.js +6 -1
- package/dist/es2019/i18n/it.js +6 -1
- package/dist/es2019/i18n/ko.js +6 -1
- package/dist/es2019/i18n/nb.js +6 -1
- package/dist/es2019/i18n/nl.js +6 -1
- package/dist/es2019/i18n/pl.js +6 -1
- package/dist/es2019/i18n/sv.js +6 -1
- package/dist/es2019/i18n/th.js +6 -1
- package/dist/es2019/i18n/tr.js +6 -1
- package/dist/es2019/i18n/uk.js +1 -1
- package/dist/es2019/i18n/vi.js +6 -1
- package/dist/es2019/i18n/zh.js +6 -1
- package/dist/es2019/i18n/zh_TW.js +6 -1
- package/dist/es2019/react/marks/textColor.js +65 -1
- package/dist/es2019/react/nodes/tableCell.js +180 -106
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/es2019/ui/Renderer/style.js +2 -2
- package/dist/esm/i18n/da.js +6 -1
- package/dist/esm/i18n/de.js +6 -1
- package/dist/esm/i18n/es.js +6 -1
- package/dist/esm/i18n/fr.js +6 -1
- package/dist/esm/i18n/hu.js +6 -1
- package/dist/esm/i18n/it.js +6 -1
- package/dist/esm/i18n/ko.js +6 -1
- package/dist/esm/i18n/nb.js +6 -1
- package/dist/esm/i18n/nl.js +6 -1
- package/dist/esm/i18n/pl.js +6 -1
- package/dist/esm/i18n/sv.js +6 -1
- package/dist/esm/i18n/th.js +6 -1
- package/dist/esm/i18n/tr.js +6 -1
- package/dist/esm/i18n/uk.js +1 -1
- package/dist/esm/i18n/vi.js +6 -1
- package/dist/esm/i18n/zh.js +6 -1
- package/dist/esm/i18n/zh_TW.js +6 -1
- package/dist/esm/react/marks/textColor.js +64 -1
- package/dist/esm/react/nodes/tableCell.js +177 -135
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/dist/esm/ui/Renderer/style.js +1 -1
- package/dist/types/i18n/da.d.ts +5 -0
- package/dist/types/i18n/de.d.ts +5 -0
- package/dist/types/i18n/es.d.ts +5 -0
- package/dist/types/i18n/fr.d.ts +5 -0
- package/dist/types/i18n/hu.d.ts +5 -0
- package/dist/types/i18n/it.d.ts +5 -0
- package/dist/types/i18n/ko.d.ts +5 -0
- package/dist/types/i18n/nb.d.ts +5 -0
- package/dist/types/i18n/nl.d.ts +5 -0
- package/dist/types/i18n/pl.d.ts +5 -0
- package/dist/types/i18n/sv.d.ts +5 -0
- package/dist/types/i18n/th.d.ts +5 -0
- package/dist/types/i18n/tr.d.ts +5 -0
- package/dist/types/i18n/vi.d.ts +5 -0
- package/dist/types/i18n/zh.d.ts +5 -0
- package/dist/types/i18n/zh_TW.d.ts +5 -0
- package/dist/types/react/marks/textColor.d.ts +2 -2
- package/dist/types/react/nodes/tableCell.d.ts +5 -62
- package/dist/types-ts4.5/i18n/da.d.ts +5 -0
- package/dist/types-ts4.5/i18n/de.d.ts +5 -0
- package/dist/types-ts4.5/i18n/es.d.ts +5 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +5 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +5 -0
- package/dist/types-ts4.5/i18n/it.d.ts +5 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +5 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +5 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +5 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +5 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +5 -0
- package/dist/types-ts4.5/i18n/th.d.ts +5 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +5 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +5 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +5 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +5 -0
- package/dist/types-ts4.5/react/marks/textColor.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/tableCell.d.ts +5 -62
- package/package.json +13 -7
|
@@ -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,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,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.
|
|
3
|
+
"version": "108.15.15",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,28 +29,28 @@
|
|
|
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.
|
|
32
|
+
"@atlaskit/button": "^16.11.0",
|
|
33
33
|
"@atlaskit/code": "^14.6.0",
|
|
34
|
-
"@atlaskit/editor-common": "^76.
|
|
34
|
+
"@atlaskit/editor-common": "^76.13.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.
|
|
42
|
-
"@atlaskit/media-card": "^77.
|
|
41
|
+
"@atlaskit/link-datasource": "^1.9.0",
|
|
42
|
+
"@atlaskit/media-card": "^77.2.0",
|
|
43
43
|
"@atlaskit/media-client": "^24.0.0",
|
|
44
44
|
"@atlaskit/media-common": "^9.0.0",
|
|
45
45
|
"@atlaskit/media-filmstrip": "^47.0.0",
|
|
46
46
|
"@atlaskit/media-ui": "^25.0.0",
|
|
47
47
|
"@atlaskit/media-viewer": "^48.1.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
49
|
-
"@atlaskit/smart-card": "^26.
|
|
49
|
+
"@atlaskit/smart-card": "^26.37.0",
|
|
50
50
|
"@atlaskit/status": "^1.4.0",
|
|
51
51
|
"@atlaskit/task-decision": "^17.9.0",
|
|
52
52
|
"@atlaskit/theme": "^12.6.0",
|
|
53
|
-
"@atlaskit/tokens": "^1.
|
|
53
|
+
"@atlaskit/tokens": "^1.28.0",
|
|
54
54
|
"@atlaskit/tooltip": "^17.8.0",
|
|
55
55
|
"@babel/runtime": "^7.0.0",
|
|
56
56
|
"@emotion/react": "^11.7.1",
|
|
@@ -123,6 +123,12 @@
|
|
|
123
123
|
},
|
|
124
124
|
"platform.editor.table.increase-shadow-visibility_lh89r": {
|
|
125
125
|
"type": "boolean"
|
|
126
|
+
},
|
|
127
|
+
"platform.editor.dm-invert-tablecell-bgcolor_9fz6s": {
|
|
128
|
+
"type": "boolean"
|
|
129
|
+
},
|
|
130
|
+
"platform.editor.dm-invert-text-color_cvho2": {
|
|
131
|
+
"type": "boolean"
|
|
126
132
|
}
|
|
127
133
|
}
|
|
128
134
|
}
|