@atlaskit/editor-common 99.5.7 → 99.6.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 +12 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui-color/ColorPalette/Color/styles.js +1 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui-color/ColorPalette/Color/styles.js +1 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui-color/ColorPalette/Color/styles.js +1 -0
- package/dist/types/element-browser/components/CategoryList.d.ts +1 -1
- package/dist/types/element-browser/components/ElementList/ElementList.d.ts +1 -1
- package/dist/types/element-browser/components/StatelessElementBrowser.d.ts +2 -2
- package/dist/types/extensibility/Extension/Extension/index.d.ts +4 -8
- package/dist/types/link/LinkSearch/index.d.ts +4 -8
- package/dist/types/link/LinkSearch/withActivityProvider.d.ts +4 -8
- package/dist/types/table/SortingIcon.d.ts +6 -10
- package/dist/types/ui/Announcer/announcer.d.ts +1 -1
- package/dist/types/ui/DropList/index.d.ts +1 -1
- package/dist/types/ui/IntlErrorBoundary/index.d.ts +1 -1
- package/dist/types/ui/OverflowShadow/index.d.ts +4 -8
- package/dist/types/ui-menu/ColorPickerButton/index.d.ts +3 -3
- package/dist/types/ui-menu/DropdownContainer/index.d.ts +2 -1
- package/dist/types/ui-menu/ToolbarButton/index.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/CategoryList.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/ElementList/ElementList.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/StatelessElementBrowser.d.ts +2 -2
- package/dist/types-ts4.5/extensibility/Extension/Extension/index.d.ts +4 -8
- package/dist/types-ts4.5/link/LinkSearch/index.d.ts +4 -8
- package/dist/types-ts4.5/link/LinkSearch/withActivityProvider.d.ts +4 -8
- package/dist/types-ts4.5/table/SortingIcon.d.ts +6 -10
- package/dist/types-ts4.5/ui/Announcer/announcer.d.ts +1 -1
- package/dist/types-ts4.5/ui/DropList/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/IntlErrorBoundary/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/OverflowShadow/index.d.ts +4 -8
- package/dist/types-ts4.5/ui-menu/ColorPickerButton/index.d.ts +3 -3
- package/dist/types-ts4.5/ui-menu/DropdownContainer/index.d.ts +2 -1
- package/dist/types-ts4.5/ui-menu/ToolbarButton/index.d.ts +1 -1
- package/package.json +45 -45
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 99.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
8
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
9
|
+
Update `React` from v16 to v18
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 99.5.7
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
18
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
19
19
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
20
|
-
var packageVersion = "99.
|
|
20
|
+
var packageVersion = "99.6.0";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
23
23
|
* @jsx jsx
|
|
24
24
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var packageName = "@atlaskit/editor-common";
|
|
26
|
-
var packageVersion = "99.
|
|
26
|
+
var packageVersion = "99.6.0";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -27,6 +27,7 @@ var buttonStyle = exports.buttonStyle = (0, _react.css)({
|
|
|
27
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
28
28
|
var buttonWrapperStyle = exports.buttonWrapperStyle = (0, _react.css)({
|
|
29
29
|
border: '1px solid transparent',
|
|
30
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
30
31
|
fontSize: 0,
|
|
31
32
|
display: 'flex',
|
|
32
33
|
alignItems: 'center',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isFedRamp } from './environment';
|
|
2
2
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
3
3
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
4
|
-
const packageVersion = "99.
|
|
4
|
+
const packageVersion = "99.6.0";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
13
13
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
14
14
|
import Layer from '../Layer';
|
|
15
15
|
const packageName = "@atlaskit/editor-common";
|
|
16
|
-
const packageVersion = "99.
|
|
16
|
+
const packageVersion = "99.6.0";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -20,6 +20,7 @@ export const buttonStyle = css({
|
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
21
21
|
export const buttonWrapperStyle = css({
|
|
22
22
|
border: '1px solid transparent',
|
|
23
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
23
24
|
fontSize: 0,
|
|
24
25
|
display: 'flex',
|
|
25
26
|
alignItems: 'center',
|
|
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
import { isFedRamp } from './environment';
|
|
8
8
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
9
9
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
10
|
-
var packageVersion = "99.
|
|
10
|
+
var packageVersion = "99.6.0";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
20
20
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
21
21
|
import Layer from '../Layer';
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "99.
|
|
23
|
+
var packageVersion = "99.6.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -20,6 +20,7 @@ export var buttonStyle = css({
|
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
21
21
|
export var buttonWrapperStyle = css({
|
|
22
22
|
border: '1px solid transparent',
|
|
23
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
23
24
|
fontSize: 0,
|
|
24
25
|
display: 'flex',
|
|
25
26
|
alignItems: 'center',
|
|
@@ -14,5 +14,5 @@ interface Props {
|
|
|
14
14
|
setFocusedItemIndex: (index: number) => void;
|
|
15
15
|
setFocusOnSearch?: () => void;
|
|
16
16
|
}
|
|
17
|
-
declare const MemoizedCategoryListWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<
|
|
17
|
+
declare const MemoizedCategoryListWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Props & WithAnalyticsEventsProps & import("@atlaskit/analytics-next").WithContextProps, "ref"> & React.RefAttributes<any>>>;
|
|
18
18
|
export default MemoizedCategoryListWithAnalytics;
|
|
@@ -37,5 +37,5 @@ type ElementItemType = {
|
|
|
37
37
|
index: number;
|
|
38
38
|
};
|
|
39
39
|
export declare function ElementItem({ inlineMode, selected, item, index, onInsertItem, focus, setFocusedItemIndex, }: ElementItemType): jsx.JSX.Element;
|
|
40
|
-
declare const MemoizedElementListWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<
|
|
40
|
+
declare const MemoizedElementListWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Props & SelectedItemProps & WithAnalyticsEventsProps & import("@atlaskit/analytics-next").WithContextProps, "ref"> & React.RefAttributes<any>>>;
|
|
41
41
|
export default MemoizedElementListWithAnalytics;
|
|
@@ -24,7 +24,7 @@ export type StatelessElementBrowserProps = {
|
|
|
24
24
|
viewMoreItem?: QuickInsertItem;
|
|
25
25
|
cache?: CellMeasurerCache;
|
|
26
26
|
} & WithAnalyticsEventsProps;
|
|
27
|
-
declare const MemoizedElementBrowser: React.MemoExoticComponent<React.ForwardRefExoticComponent<
|
|
27
|
+
declare const MemoizedElementBrowser: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Omit<{
|
|
28
28
|
categories?: Category[] | undefined;
|
|
29
29
|
items: QuickInsertItem[];
|
|
30
30
|
onSearch: (searchTerm: string) => void;
|
|
@@ -39,5 +39,5 @@ declare const MemoizedElementBrowser: React.MemoExoticComponent<React.ForwardRef
|
|
|
39
39
|
emptyStateHandler?: EmptyStateHandler | undefined;
|
|
40
40
|
viewMoreItem?: QuickInsertItem | undefined;
|
|
41
41
|
cache?: CellMeasurerCache | undefined;
|
|
42
|
-
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "
|
|
42
|
+
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "ref"> & React.RefAttributes<any>>>;
|
|
43
43
|
export default MemoizedElementBrowser;
|
|
@@ -48,12 +48,10 @@ declare const _default: {
|
|
|
48
48
|
handleContainer: (container: HTMLElement | null) => void;
|
|
49
49
|
initShadowObserver(): void;
|
|
50
50
|
render(): JSX.Element;
|
|
51
|
-
context:
|
|
51
|
+
context: unknown;
|
|
52
52
|
setState<K extends keyof import("../../../ui").OverflowShadowState>(state: import("../../../ui").OverflowShadowState | ((prevState: Readonly<import("../../../ui").OverflowShadowState>, props: Readonly<Props>) => import("../../../ui").OverflowShadowState | Pick<import("../../../ui").OverflowShadowState, K> | null) | Pick<import("../../../ui").OverflowShadowState, K> | null, callback?: (() => void) | undefined): void;
|
|
53
53
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
54
|
-
readonly props: Readonly<Props
|
|
55
|
-
children?: React.ReactNode;
|
|
56
|
-
}>;
|
|
54
|
+
readonly props: Readonly<Props>;
|
|
57
55
|
refs: {
|
|
58
56
|
[key: string]: React.ReactInstance;
|
|
59
57
|
};
|
|
@@ -89,12 +87,10 @@ declare const _default: {
|
|
|
89
87
|
handleContainer: (container: HTMLElement | null) => void;
|
|
90
88
|
initShadowObserver(): void;
|
|
91
89
|
render(): JSX.Element;
|
|
92
|
-
context:
|
|
90
|
+
context: unknown;
|
|
93
91
|
setState<K extends keyof import("../../../ui").OverflowShadowState>(state: import("../../../ui").OverflowShadowState | ((prevState: Readonly<import("../../../ui").OverflowShadowState>, props: Readonly<Props>) => import("../../../ui").OverflowShadowState | Pick<import("../../../ui").OverflowShadowState, K> | null) | Pick<import("../../../ui").OverflowShadowState, K> | null, callback?: (() => void) | undefined): void;
|
|
94
92
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
95
|
-
readonly props: Readonly<Props
|
|
96
|
-
children?: React.ReactNode;
|
|
97
|
-
}>;
|
|
93
|
+
readonly props: Readonly<Props>;
|
|
98
94
|
refs: {
|
|
99
95
|
[key: string]: React.ReactInstance;
|
|
100
96
|
};
|
|
@@ -5,12 +5,10 @@ declare const _default: {
|
|
|
5
5
|
new (props: (import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps) | Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>): {
|
|
6
6
|
renderNode: (providers: import("../../provider-factory").Providers) => JSX.Element;
|
|
7
7
|
render(): JSX.Element;
|
|
8
|
-
context:
|
|
8
|
+
context: unknown;
|
|
9
9
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
10
10
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
11
|
-
readonly props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
}>;
|
|
11
|
+
readonly props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>;
|
|
14
12
|
state: Readonly<{}>;
|
|
15
13
|
refs: {
|
|
16
14
|
[key: string]: React.ReactInstance;
|
|
@@ -31,12 +29,10 @@ declare const _default: {
|
|
|
31
29
|
new (props: import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps, context: any): {
|
|
32
30
|
renderNode: (providers: import("../../provider-factory").Providers) => JSX.Element;
|
|
33
31
|
render(): JSX.Element;
|
|
34
|
-
context:
|
|
32
|
+
context: unknown;
|
|
35
33
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
36
34
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
37
|
-
readonly props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps
|
|
38
|
-
children?: React.ReactNode;
|
|
39
|
-
}>;
|
|
35
|
+
readonly props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>;
|
|
40
36
|
state: Readonly<{}>;
|
|
41
37
|
refs: {
|
|
42
38
|
[key: string]: React.ReactInstance;
|
|
@@ -13,12 +13,10 @@ export default function withActivityProvider<Props>(WrappedComponent: React.Comp
|
|
|
13
13
|
new (props: (Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps) | Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>): {
|
|
14
14
|
renderNode: (providers: Providers) => JSX.Element;
|
|
15
15
|
render(): JSX.Element;
|
|
16
|
-
context:
|
|
16
|
+
context: unknown;
|
|
17
17
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
18
18
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
19
|
-
readonly props: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps
|
|
20
|
-
children?: React.ReactNode;
|
|
21
|
-
}>;
|
|
19
|
+
readonly props: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>;
|
|
22
20
|
state: Readonly<{}>;
|
|
23
21
|
refs: {
|
|
24
22
|
[key: string]: React.ReactInstance;
|
|
@@ -39,12 +37,10 @@ export default function withActivityProvider<Props>(WrappedComponent: React.Comp
|
|
|
39
37
|
new (props: Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps, context: any): {
|
|
40
38
|
renderNode: (providers: Providers) => JSX.Element;
|
|
41
39
|
render(): JSX.Element;
|
|
42
|
-
context:
|
|
40
|
+
context: unknown;
|
|
43
41
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
44
42
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
45
|
-
readonly props: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps
|
|
46
|
-
children?: React.ReactNode;
|
|
47
|
-
}>;
|
|
43
|
+
readonly props: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>;
|
|
48
44
|
state: Readonly<{}>;
|
|
49
45
|
refs: {
|
|
50
46
|
[key: string]: React.ReactInstance;
|
|
@@ -7,17 +7,13 @@ export declare enum StatusClassNames {
|
|
|
7
7
|
NO_ORDER = "sorting-icon-svg__no_order",
|
|
8
8
|
SORTING_NOT_ALLOWED = "sorting-icon-svg__not-allowed"
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
type SortingIconProps = {
|
|
11
11
|
isSortingAllowed: boolean;
|
|
12
|
-
sortOrdered?: SortOrder
|
|
12
|
+
sortOrdered?: SortOrder;
|
|
13
13
|
onClick: () => void;
|
|
14
|
-
onKeyDown: (event:
|
|
15
|
-
} & WrappedComponentProps
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
sortOrdered?: SortOrder | undefined;
|
|
19
|
-
onClick: () => void;
|
|
20
|
-
onKeyDown: (event: import("react").KeyboardEvent<HTMLElement>) => void;
|
|
21
|
-
} & WrappedComponentProps>;
|
|
14
|
+
onKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void;
|
|
15
|
+
} & WrappedComponentProps;
|
|
16
|
+
declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<SortingIconProps>> & {
|
|
17
|
+
WrappedComponent: import("react").ComponentType<SortingIconProps>;
|
|
22
18
|
};
|
|
23
19
|
export default _default;
|
|
@@ -19,5 +19,5 @@ type AnnouncerProps = {
|
|
|
19
19
|
* It can be useful for cases when the parent component re-renders with the same announcer's text. */
|
|
20
20
|
delay?: number;
|
|
21
21
|
};
|
|
22
|
-
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<
|
|
22
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<AnnouncerProps>, "ref"> & React.RefAttributes<HTMLDivElement>>>;
|
|
23
23
|
export default _default;
|
|
@@ -20,5 +20,5 @@ export type OpenChangedEvent = {
|
|
|
20
20
|
isOpen: boolean;
|
|
21
21
|
event: MouseEvent | KeyboardEvent;
|
|
22
22
|
};
|
|
23
|
-
declare const _default: import("react").ForwardRefExoticComponent<
|
|
23
|
+
declare const _default: import("react").ForwardRefExoticComponent<Omit<Omit<Props, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "ref"> & import("react").RefAttributes<any>>;
|
|
24
24
|
export default _default;
|
|
@@ -11,6 +11,6 @@ export declare class IntlErrorBoundary extends React.Component<ErrorBoundaryProp
|
|
|
11
11
|
missingIntlProviderInAncestry: boolean;
|
|
12
12
|
};
|
|
13
13
|
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
14
|
-
render(): React.
|
|
14
|
+
render(): string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
|
|
15
15
|
}
|
|
16
16
|
export {};
|
|
@@ -38,12 +38,10 @@ export default function overflowShadow<P>(Component: React.ComponentType<React.P
|
|
|
38
38
|
handleContainer: (container: HTMLElement | null) => void;
|
|
39
39
|
initShadowObserver(): void;
|
|
40
40
|
render(): JSX.Element;
|
|
41
|
-
context:
|
|
41
|
+
context: unknown;
|
|
42
42
|
setState<K extends keyof OverflowShadowState>(state: OverflowShadowState | ((prevState: Readonly<OverflowShadowState>, props: Readonly<P>) => OverflowShadowState | Pick<OverflowShadowState, K> | null) | Pick<OverflowShadowState, K> | null, callback?: (() => void) | undefined): void;
|
|
43
43
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
44
|
-
readonly props: Readonly<P
|
|
45
|
-
children?: React.ReactNode;
|
|
46
|
-
}>;
|
|
44
|
+
readonly props: Readonly<P>;
|
|
47
45
|
refs: {
|
|
48
46
|
[key: string]: React.ReactInstance;
|
|
49
47
|
};
|
|
@@ -79,12 +77,10 @@ export default function overflowShadow<P>(Component: React.ComponentType<React.P
|
|
|
79
77
|
handleContainer: (container: HTMLElement | null) => void;
|
|
80
78
|
initShadowObserver(): void;
|
|
81
79
|
render(): JSX.Element;
|
|
82
|
-
context:
|
|
80
|
+
context: unknown;
|
|
83
81
|
setState<K extends keyof OverflowShadowState>(state: OverflowShadowState | ((prevState: Readonly<OverflowShadowState>, props: Readonly<P>) => OverflowShadowState | Pick<OverflowShadowState, K> | null) | Pick<OverflowShadowState, K> | null, callback?: (() => void) | undefined): void;
|
|
84
82
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
85
|
-
readonly props: Readonly<P
|
|
86
|
-
children?: React.ReactNode;
|
|
87
|
-
}>;
|
|
83
|
+
readonly props: Readonly<P>;
|
|
88
84
|
refs: {
|
|
89
85
|
[key: string]: React.ReactInstance;
|
|
90
86
|
};
|
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
|
6
6
|
import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
7
7
|
import type { PaletteColor, PaletteTooltipMessages } from '../../ui-color';
|
|
8
8
|
import type { Position as PopupPosition } from '../../ui/Popup/utils';
|
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
10
10
|
currentColor?: string | undefined;
|
|
11
11
|
title?: string | undefined;
|
|
12
12
|
isAriaExpanded?: boolean | undefined;
|
|
@@ -14,7 +14,7 @@ declare const _default: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
14
14
|
colorPalette: PaletteColor[];
|
|
15
15
|
placement: string;
|
|
16
16
|
cols?: number | undefined;
|
|
17
|
-
alignX?: "
|
|
17
|
+
alignX?: "center" | "left" | "right" | "end" | undefined;
|
|
18
18
|
size?: {
|
|
19
19
|
width: string;
|
|
20
20
|
height: string;
|
|
@@ -30,5 +30,5 @@ declare const _default: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
30
30
|
skipFocusButtonAfterPick?: boolean | undefined;
|
|
31
31
|
absoluteOffset?: PopupPosition | undefined;
|
|
32
32
|
returnEscToButton?: boolean | undefined;
|
|
33
|
-
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "
|
|
33
|
+
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "ref"> & React.RefAttributes<any>>;
|
|
34
34
|
export default _default;
|
|
@@ -3,4 +3,5 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
|
|
6
|
+
import type { DropdownPropsWithOutsideClickProps } from '../Dropdown';
|
|
7
|
+
export declare const DropdownContainer: React.NamedExoticComponent<DropdownPropsWithOutsideClickProps>;
|
|
@@ -60,5 +60,5 @@ declare const ToolbarButton: React.ForwardRefExoticComponent<{
|
|
|
60
60
|
'aria-pressed'?: React.AriaAttributes['aria-pressed'];
|
|
61
61
|
'aria-keyshortcuts'?: React.AriaAttributes['aria-keyshortcuts'];
|
|
62
62
|
'data-ds--level'?: string | undefined;
|
|
63
|
-
} & Pick<ButtonProps, "onFocus" | "onBlur" | "children" | "aria-controls" | "aria-label" | "onMouseEnter" | "onMouseLeave"
|
|
63
|
+
} & Pick<ButtonProps, "onFocus" | "onBlur" | "children" | "rel" | "aria-controls" | "aria-label" | "onMouseEnter" | "onMouseLeave"> & React.RefAttributes<HTMLElement>>;
|
|
64
64
|
export default ToolbarButton;
|
|
@@ -14,5 +14,5 @@ interface Props {
|
|
|
14
14
|
setFocusedItemIndex: (index: number) => void;
|
|
15
15
|
setFocusOnSearch?: () => void;
|
|
16
16
|
}
|
|
17
|
-
declare const MemoizedCategoryListWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<
|
|
17
|
+
declare const MemoizedCategoryListWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Props & WithAnalyticsEventsProps & import("@atlaskit/analytics-next").WithContextProps, "ref"> & React.RefAttributes<any>>>;
|
|
18
18
|
export default MemoizedCategoryListWithAnalytics;
|
|
@@ -37,5 +37,5 @@ type ElementItemType = {
|
|
|
37
37
|
index: number;
|
|
38
38
|
};
|
|
39
39
|
export declare function ElementItem({ inlineMode, selected, item, index, onInsertItem, focus, setFocusedItemIndex, }: ElementItemType): jsx.JSX.Element;
|
|
40
|
-
declare const MemoizedElementListWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<
|
|
40
|
+
declare const MemoizedElementListWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Props & SelectedItemProps & WithAnalyticsEventsProps & import("@atlaskit/analytics-next").WithContextProps, "ref"> & React.RefAttributes<any>>>;
|
|
41
41
|
export default MemoizedElementListWithAnalytics;
|
|
@@ -24,7 +24,7 @@ export type StatelessElementBrowserProps = {
|
|
|
24
24
|
viewMoreItem?: QuickInsertItem;
|
|
25
25
|
cache?: CellMeasurerCache;
|
|
26
26
|
} & WithAnalyticsEventsProps;
|
|
27
|
-
declare const MemoizedElementBrowser: React.MemoExoticComponent<React.ForwardRefExoticComponent<
|
|
27
|
+
declare const MemoizedElementBrowser: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Omit<{
|
|
28
28
|
categories?: Category[] | undefined;
|
|
29
29
|
items: QuickInsertItem[];
|
|
30
30
|
onSearch: (searchTerm: string) => void;
|
|
@@ -39,5 +39,5 @@ declare const MemoizedElementBrowser: React.MemoExoticComponent<React.ForwardRef
|
|
|
39
39
|
emptyStateHandler?: EmptyStateHandler | undefined;
|
|
40
40
|
viewMoreItem?: QuickInsertItem | undefined;
|
|
41
41
|
cache?: CellMeasurerCache | undefined;
|
|
42
|
-
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "
|
|
42
|
+
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "ref"> & React.RefAttributes<any>>>;
|
|
43
43
|
export default MemoizedElementBrowser;
|
|
@@ -48,12 +48,10 @@ declare const _default: {
|
|
|
48
48
|
handleContainer: (container: HTMLElement | null) => void;
|
|
49
49
|
initShadowObserver(): void;
|
|
50
50
|
render(): JSX.Element;
|
|
51
|
-
context:
|
|
51
|
+
context: unknown;
|
|
52
52
|
setState<K extends keyof import("../../../ui").OverflowShadowState>(state: import("../../../ui").OverflowShadowState | ((prevState: Readonly<import("../../../ui").OverflowShadowState>, props: Readonly<Props>) => import("../../../ui").OverflowShadowState | Pick<import("../../../ui").OverflowShadowState, K> | null) | Pick<import("../../../ui").OverflowShadowState, K> | null, callback?: (() => void) | undefined): void;
|
|
53
53
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
54
|
-
readonly props: Readonly<Props
|
|
55
|
-
children?: React.ReactNode;
|
|
56
|
-
}>;
|
|
54
|
+
readonly props: Readonly<Props>;
|
|
57
55
|
refs: {
|
|
58
56
|
[key: string]: React.ReactInstance;
|
|
59
57
|
};
|
|
@@ -89,12 +87,10 @@ declare const _default: {
|
|
|
89
87
|
handleContainer: (container: HTMLElement | null) => void;
|
|
90
88
|
initShadowObserver(): void;
|
|
91
89
|
render(): JSX.Element;
|
|
92
|
-
context:
|
|
90
|
+
context: unknown;
|
|
93
91
|
setState<K extends keyof import("../../../ui").OverflowShadowState>(state: import("../../../ui").OverflowShadowState | ((prevState: Readonly<import("../../../ui").OverflowShadowState>, props: Readonly<Props>) => import("../../../ui").OverflowShadowState | Pick<import("../../../ui").OverflowShadowState, K> | null) | Pick<import("../../../ui").OverflowShadowState, K> | null, callback?: (() => void) | undefined): void;
|
|
94
92
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
95
|
-
readonly props: Readonly<Props
|
|
96
|
-
children?: React.ReactNode;
|
|
97
|
-
}>;
|
|
93
|
+
readonly props: Readonly<Props>;
|
|
98
94
|
refs: {
|
|
99
95
|
[key: string]: React.ReactInstance;
|
|
100
96
|
};
|
|
@@ -5,12 +5,10 @@ declare const _default: {
|
|
|
5
5
|
new (props: (import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps) | Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>): {
|
|
6
6
|
renderNode: (providers: import("../../provider-factory").Providers) => JSX.Element;
|
|
7
7
|
render(): JSX.Element;
|
|
8
|
-
context:
|
|
8
|
+
context: unknown;
|
|
9
9
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
10
10
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
11
|
-
readonly props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
}>;
|
|
11
|
+
readonly props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>;
|
|
14
12
|
state: Readonly<{}>;
|
|
15
13
|
refs: {
|
|
16
14
|
[key: string]: React.ReactInstance;
|
|
@@ -31,12 +29,10 @@ declare const _default: {
|
|
|
31
29
|
new (props: import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps, context: any): {
|
|
32
30
|
renderNode: (providers: import("../../provider-factory").Providers) => JSX.Element;
|
|
33
31
|
render(): JSX.Element;
|
|
34
|
-
context:
|
|
32
|
+
context: unknown;
|
|
35
33
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
36
34
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
37
|
-
readonly props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps
|
|
38
|
-
children?: React.ReactNode;
|
|
39
|
-
}>;
|
|
35
|
+
readonly props: Readonly<import("../../utils").Diff<RecentSearchProps & WithActivityProviderProps, WithActivityProviderProps> & import("./withActivityProvider").ExpandedActivityProviderProps>;
|
|
40
36
|
state: Readonly<{}>;
|
|
41
37
|
refs: {
|
|
42
38
|
[key: string]: React.ReactInstance;
|
|
@@ -13,12 +13,10 @@ export default function withActivityProvider<Props>(WrappedComponent: React.Comp
|
|
|
13
13
|
new (props: (Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps) | Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>): {
|
|
14
14
|
renderNode: (providers: Providers) => JSX.Element;
|
|
15
15
|
render(): JSX.Element;
|
|
16
|
-
context:
|
|
16
|
+
context: unknown;
|
|
17
17
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
18
18
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
19
|
-
readonly props: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps
|
|
20
|
-
children?: React.ReactNode;
|
|
21
|
-
}>;
|
|
19
|
+
readonly props: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>;
|
|
22
20
|
state: Readonly<{}>;
|
|
23
21
|
refs: {
|
|
24
22
|
[key: string]: React.ReactInstance;
|
|
@@ -39,12 +37,10 @@ export default function withActivityProvider<Props>(WrappedComponent: React.Comp
|
|
|
39
37
|
new (props: Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps, context: any): {
|
|
40
38
|
renderNode: (providers: Providers) => JSX.Element;
|
|
41
39
|
render(): JSX.Element;
|
|
42
|
-
context:
|
|
40
|
+
context: unknown;
|
|
43
41
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
44
42
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
45
|
-
readonly props: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps
|
|
46
|
-
children?: React.ReactNode;
|
|
47
|
-
}>;
|
|
43
|
+
readonly props: Readonly<Diff<Props, WithActivityProviderProps> & ExpandedActivityProviderProps>;
|
|
48
44
|
state: Readonly<{}>;
|
|
49
45
|
refs: {
|
|
50
46
|
[key: string]: React.ReactInstance;
|
|
@@ -7,17 +7,13 @@ export declare enum StatusClassNames {
|
|
|
7
7
|
NO_ORDER = "sorting-icon-svg__no_order",
|
|
8
8
|
SORTING_NOT_ALLOWED = "sorting-icon-svg__not-allowed"
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
type SortingIconProps = {
|
|
11
11
|
isSortingAllowed: boolean;
|
|
12
|
-
sortOrdered?: SortOrder
|
|
12
|
+
sortOrdered?: SortOrder;
|
|
13
13
|
onClick: () => void;
|
|
14
|
-
onKeyDown: (event:
|
|
15
|
-
} & WrappedComponentProps
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
sortOrdered?: SortOrder | undefined;
|
|
19
|
-
onClick: () => void;
|
|
20
|
-
onKeyDown: (event: import("react").KeyboardEvent<HTMLElement>) => void;
|
|
21
|
-
} & WrappedComponentProps>;
|
|
14
|
+
onKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void;
|
|
15
|
+
} & WrappedComponentProps;
|
|
16
|
+
declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<SortingIconProps>> & {
|
|
17
|
+
WrappedComponent: import("react").ComponentType<SortingIconProps>;
|
|
22
18
|
};
|
|
23
19
|
export default _default;
|
|
@@ -19,5 +19,5 @@ type AnnouncerProps = {
|
|
|
19
19
|
* It can be useful for cases when the parent component re-renders with the same announcer's text. */
|
|
20
20
|
delay?: number;
|
|
21
21
|
};
|
|
22
|
-
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<
|
|
22
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<AnnouncerProps>, "ref"> & React.RefAttributes<HTMLDivElement>>>;
|
|
23
23
|
export default _default;
|
|
@@ -20,5 +20,5 @@ export type OpenChangedEvent = {
|
|
|
20
20
|
isOpen: boolean;
|
|
21
21
|
event: MouseEvent | KeyboardEvent;
|
|
22
22
|
};
|
|
23
|
-
declare const _default: import("react").ForwardRefExoticComponent<
|
|
23
|
+
declare const _default: import("react").ForwardRefExoticComponent<Omit<Omit<Props, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "ref"> & import("react").RefAttributes<any>>;
|
|
24
24
|
export default _default;
|
|
@@ -11,6 +11,6 @@ export declare class IntlErrorBoundary extends React.Component<ErrorBoundaryProp
|
|
|
11
11
|
missingIntlProviderInAncestry: boolean;
|
|
12
12
|
};
|
|
13
13
|
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
14
|
-
render(): React.
|
|
14
|
+
render(): string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
|
|
15
15
|
}
|
|
16
16
|
export {};
|
|
@@ -38,12 +38,10 @@ export default function overflowShadow<P>(Component: React.ComponentType<React.P
|
|
|
38
38
|
handleContainer: (container: HTMLElement | null) => void;
|
|
39
39
|
initShadowObserver(): void;
|
|
40
40
|
render(): JSX.Element;
|
|
41
|
-
context:
|
|
41
|
+
context: unknown;
|
|
42
42
|
setState<K extends keyof OverflowShadowState>(state: OverflowShadowState | ((prevState: Readonly<OverflowShadowState>, props: Readonly<P>) => OverflowShadowState | Pick<OverflowShadowState, K> | null) | Pick<OverflowShadowState, K> | null, callback?: (() => void) | undefined): void;
|
|
43
43
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
44
|
-
readonly props: Readonly<P
|
|
45
|
-
children?: React.ReactNode;
|
|
46
|
-
}>;
|
|
44
|
+
readonly props: Readonly<P>;
|
|
47
45
|
refs: {
|
|
48
46
|
[key: string]: React.ReactInstance;
|
|
49
47
|
};
|
|
@@ -79,12 +77,10 @@ export default function overflowShadow<P>(Component: React.ComponentType<React.P
|
|
|
79
77
|
handleContainer: (container: HTMLElement | null) => void;
|
|
80
78
|
initShadowObserver(): void;
|
|
81
79
|
render(): JSX.Element;
|
|
82
|
-
context:
|
|
80
|
+
context: unknown;
|
|
83
81
|
setState<K extends keyof OverflowShadowState>(state: OverflowShadowState | ((prevState: Readonly<OverflowShadowState>, props: Readonly<P>) => OverflowShadowState | Pick<OverflowShadowState, K> | null) | Pick<OverflowShadowState, K> | null, callback?: (() => void) | undefined): void;
|
|
84
82
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
85
|
-
readonly props: Readonly<P
|
|
86
|
-
children?: React.ReactNode;
|
|
87
|
-
}>;
|
|
83
|
+
readonly props: Readonly<P>;
|
|
88
84
|
refs: {
|
|
89
85
|
[key: string]: React.ReactInstance;
|
|
90
86
|
};
|
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
|
6
6
|
import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
7
7
|
import type { PaletteColor, PaletteTooltipMessages } from '../../ui-color';
|
|
8
8
|
import type { Position as PopupPosition } from '../../ui/Popup/utils';
|
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
10
10
|
currentColor?: string | undefined;
|
|
11
11
|
title?: string | undefined;
|
|
12
12
|
isAriaExpanded?: boolean | undefined;
|
|
@@ -14,7 +14,7 @@ declare const _default: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
14
14
|
colorPalette: PaletteColor[];
|
|
15
15
|
placement: string;
|
|
16
16
|
cols?: number | undefined;
|
|
17
|
-
alignX?: "
|
|
17
|
+
alignX?: "center" | "left" | "right" | "end" | undefined;
|
|
18
18
|
size?: {
|
|
19
19
|
width: string;
|
|
20
20
|
height: string;
|
|
@@ -30,5 +30,5 @@ declare const _default: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
30
30
|
skipFocusButtonAfterPick?: boolean | undefined;
|
|
31
31
|
absoluteOffset?: PopupPosition | undefined;
|
|
32
32
|
returnEscToButton?: boolean | undefined;
|
|
33
|
-
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "
|
|
33
|
+
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "ref"> & React.RefAttributes<any>>;
|
|
34
34
|
export default _default;
|
|
@@ -3,4 +3,5 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
|
|
6
|
+
import type { DropdownPropsWithOutsideClickProps } from '../Dropdown';
|
|
7
|
+
export declare const DropdownContainer: React.NamedExoticComponent<DropdownPropsWithOutsideClickProps>;
|
|
@@ -60,5 +60,5 @@ declare const ToolbarButton: React.ForwardRefExoticComponent<{
|
|
|
60
60
|
'aria-pressed'?: React.AriaAttributes['aria-pressed'];
|
|
61
61
|
'aria-keyshortcuts'?: React.AriaAttributes['aria-keyshortcuts'];
|
|
62
62
|
'data-ds--level'?: string | undefined;
|
|
63
|
-
} & Pick<ButtonProps, "onFocus" | "onBlur" | "children" | "aria-controls" | "aria-label" | "onMouseEnter" | "onMouseLeave"
|
|
63
|
+
} & Pick<ButtonProps, "onFocus" | "onBlur" | "children" | "rel" | "aria-controls" | "aria-label" | "onMouseEnter" | "onMouseLeave"> & React.RefAttributes<HTMLElement>>;
|
|
64
64
|
export default ToolbarButton;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "99.
|
|
3
|
+
"version": "99.6.0",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -114,51 +114,51 @@
|
|
|
114
114
|
"dependencies": {
|
|
115
115
|
"@atlaskit/activity-provider": "^2.5.0",
|
|
116
116
|
"@atlaskit/adf-schema": "^46.1.0",
|
|
117
|
-
"@atlaskit/adf-utils": "^19.
|
|
118
|
-
"@atlaskit/analytics-listeners": "^8.
|
|
119
|
-
"@atlaskit/analytics-namespaced-context": "^6.
|
|
120
|
-
"@atlaskit/analytics-next": "^10.
|
|
121
|
-
"@atlaskit/atlassian-context": "^0.0
|
|
122
|
-
"@atlaskit/button": "^20.
|
|
123
|
-
"@atlaskit/code": "^15.
|
|
117
|
+
"@atlaskit/adf-utils": "^19.18.0",
|
|
118
|
+
"@atlaskit/analytics-listeners": "^8.14.0",
|
|
119
|
+
"@atlaskit/analytics-namespaced-context": "^6.13.0",
|
|
120
|
+
"@atlaskit/analytics-next": "^10.3.0",
|
|
121
|
+
"@atlaskit/atlassian-context": "^0.1.0",
|
|
122
|
+
"@atlaskit/button": "^20.4.0",
|
|
123
|
+
"@atlaskit/code": "^15.7.0",
|
|
124
124
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
125
125
|
"@atlaskit/custom-steps": "^0.9.0",
|
|
126
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
127
|
-
"@atlaskit/editor-json-transformer": "^8.
|
|
128
|
-
"@atlaskit/editor-palette": "1.
|
|
126
|
+
"@atlaskit/dropdown-menu": "^12.26.0",
|
|
127
|
+
"@atlaskit/editor-json-transformer": "^8.22.0",
|
|
128
|
+
"@atlaskit/editor-palette": "1.7.0",
|
|
129
129
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
130
130
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
131
131
|
"@atlaskit/editor-tables": "^2.8.0",
|
|
132
|
-
"@atlaskit/emoji": "^67.
|
|
133
|
-
"@atlaskit/icon": "^23.
|
|
134
|
-
"@atlaskit/icon-object": "^6.
|
|
135
|
-
"@atlaskit/link-datasource": "^3.
|
|
136
|
-
"@atlaskit/link-picker": "^1.
|
|
137
|
-
"@atlaskit/media-card": "^78.
|
|
138
|
-
"@atlaskit/media-client": "^31.
|
|
139
|
-
"@atlaskit/media-client-react": "^2.
|
|
140
|
-
"@atlaskit/media-common": "^11.
|
|
141
|
-
"@atlaskit/media-file-preview": "^0.
|
|
142
|
-
"@atlaskit/media-picker": "^67.
|
|
143
|
-
"@atlaskit/media-ui": "^27.
|
|
144
|
-
"@atlaskit/media-viewer": "50.
|
|
145
|
-
"@atlaskit/mention": "^23.
|
|
146
|
-
"@atlaskit/menu": "^2.
|
|
147
|
-
"@atlaskit/onboarding": "^12.
|
|
132
|
+
"@atlaskit/emoji": "^67.13.0",
|
|
133
|
+
"@atlaskit/icon": "^23.5.0",
|
|
134
|
+
"@atlaskit/icon-object": "^6.10.0",
|
|
135
|
+
"@atlaskit/link-datasource": "^3.17.0",
|
|
136
|
+
"@atlaskit/link-picker": "^1.48.0",
|
|
137
|
+
"@atlaskit/media-card": "^78.19.0",
|
|
138
|
+
"@atlaskit/media-client": "^31.1.0",
|
|
139
|
+
"@atlaskit/media-client-react": "^2.7.0",
|
|
140
|
+
"@atlaskit/media-common": "^11.8.0",
|
|
141
|
+
"@atlaskit/media-file-preview": "^0.10.0",
|
|
142
|
+
"@atlaskit/media-picker": "^67.1.0",
|
|
143
|
+
"@atlaskit/media-ui": "^27.4.0",
|
|
144
|
+
"@atlaskit/media-viewer": "50.1.0",
|
|
145
|
+
"@atlaskit/mention": "^23.11.0",
|
|
146
|
+
"@atlaskit/menu": "^2.14.0",
|
|
147
|
+
"@atlaskit/onboarding": "^12.3.0",
|
|
148
148
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
149
|
-
"@atlaskit/popper": "^6.
|
|
150
|
-
"@atlaskit/primitives": "^13.
|
|
151
|
-
"@atlaskit/profilecard": "^
|
|
152
|
-
"@atlaskit/section-message": "^6.
|
|
153
|
-
"@atlaskit/smart-card": "^34.
|
|
154
|
-
"@atlaskit/smart-user-picker": "^
|
|
155
|
-
"@atlaskit/spinner": "^17.
|
|
156
|
-
"@atlaskit/task-decision": "^17.
|
|
157
|
-
"@atlaskit/textfield": "^6.
|
|
149
|
+
"@atlaskit/popper": "^6.4.0",
|
|
150
|
+
"@atlaskit/primitives": "^13.4.0",
|
|
151
|
+
"@atlaskit/profilecard": "^22.0.0",
|
|
152
|
+
"@atlaskit/section-message": "^6.9.0",
|
|
153
|
+
"@atlaskit/smart-card": "^34.8.0",
|
|
154
|
+
"@atlaskit/smart-user-picker": "^7.0.0",
|
|
155
|
+
"@atlaskit/spinner": "^17.1.0",
|
|
156
|
+
"@atlaskit/task-decision": "^17.12.0",
|
|
157
|
+
"@atlaskit/textfield": "^6.8.0",
|
|
158
158
|
"@atlaskit/tmp-editor-statsig": "^2.41.0",
|
|
159
|
-
"@atlaskit/tokens": "^3.
|
|
160
|
-
"@atlaskit/tooltip": "^19.
|
|
161
|
-
"@atlaskit/width-detector": "^4.
|
|
159
|
+
"@atlaskit/tokens": "^3.3.0",
|
|
160
|
+
"@atlaskit/tooltip": "^19.1.0",
|
|
161
|
+
"@atlaskit/width-detector": "^4.4.0",
|
|
162
162
|
"@babel/runtime": "^7.0.0",
|
|
163
163
|
"@emotion/react": "^11.7.1",
|
|
164
164
|
"@sentry/browser": "^6.18.2",
|
|
@@ -193,13 +193,13 @@
|
|
|
193
193
|
},
|
|
194
194
|
"devDependencies": {
|
|
195
195
|
"@af/visual-regression": "*",
|
|
196
|
-
"@atlaskit/media-core": "^34.
|
|
197
|
-
"@atlaskit/media-test-helpers": "^34.
|
|
198
|
-
"@atlaskit/util-data-test": "^
|
|
196
|
+
"@atlaskit/media-core": "^34.5.0",
|
|
197
|
+
"@atlaskit/media-test-helpers": "^34.8.0",
|
|
198
|
+
"@atlaskit/util-data-test": "^18.0.0",
|
|
199
199
|
"@atlaskit/visual-regression": "*",
|
|
200
200
|
"@testing-library/dom": "^10.1.0",
|
|
201
201
|
"@testing-library/jest-dom": "^6.4.5",
|
|
202
|
-
"@testing-library/react": "^
|
|
202
|
+
"@testing-library/react": "^13.4.0",
|
|
203
203
|
"@testing-library/react-hooks": "^8.0.1",
|
|
204
204
|
"@testing-library/user-event": "^14.4.3",
|
|
205
205
|
"@types/linkify-it": "^3.0.2",
|
|
@@ -208,8 +208,8 @@
|
|
|
208
208
|
"@types/react-virtualized": "^9.18.12",
|
|
209
209
|
"enzyme": "^3.10.0",
|
|
210
210
|
"raf-stub": "^2.0.1",
|
|
211
|
-
"react": "^
|
|
212
|
-
"react-test-renderer": "^
|
|
211
|
+
"react": "^18.2.0",
|
|
212
|
+
"react-test-renderer": "^18.2.0",
|
|
213
213
|
"sinon": "^2.2.0",
|
|
214
214
|
"typescript": "~5.4.2"
|
|
215
215
|
},
|