@atlaskit/renderer 103.0.0 → 103.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/consts.js +2 -2
  3. package/dist/cjs/messages.js +1 -1
  4. package/dist/cjs/react/nodes/panel.js +19 -10
  5. package/dist/cjs/react/nodes/tableCell.js +8 -26
  6. package/dist/cjs/ui/ExtensionRenderer.js +9 -2
  7. package/dist/cjs/ui/Renderer/index.js +1 -1
  8. package/dist/cjs/ui/Renderer/style.js +5 -3
  9. package/dist/cjs/ui/SortingIcon.js +55 -28
  10. package/dist/cjs/version.json +1 -1
  11. package/dist/es2019/consts.js +2 -2
  12. package/dist/es2019/messages.js +1 -1
  13. package/dist/es2019/react/nodes/panel.js +16 -6
  14. package/dist/es2019/react/nodes/tableCell.js +8 -27
  15. package/dist/es2019/ui/ExtensionRenderer.js +7 -2
  16. package/dist/es2019/ui/Renderer/index.js +1 -1
  17. package/dist/es2019/ui/Renderer/style.js +37 -16
  18. package/dist/es2019/ui/SortingIcon.js +89 -32
  19. package/dist/es2019/version.json +1 -1
  20. package/dist/esm/consts.js +2 -2
  21. package/dist/esm/messages.js +1 -1
  22. package/dist/esm/react/nodes/panel.js +18 -10
  23. package/dist/esm/react/nodes/tableCell.js +8 -26
  24. package/dist/esm/ui/ExtensionRenderer.js +9 -2
  25. package/dist/esm/ui/Renderer/index.js +1 -1
  26. package/dist/esm/ui/Renderer/style.js +5 -4
  27. package/dist/esm/ui/SortingIcon.js +55 -27
  28. package/dist/esm/version.json +1 -1
  29. package/dist/types/consts.d.ts +2 -2
  30. package/dist/types/react/nodes/bodiedExtension.d.ts +2 -1
  31. package/dist/types/react/nodes/extension.d.ts +2 -1
  32. package/dist/types/react/nodes/inlineExtension.d.ts +2 -0
  33. package/dist/types/ui/ExtensionRenderer.d.ts +2 -0
  34. package/dist/types/ui/SortingIcon.d.ts +4 -1
  35. package/dist/types-ts4.0/consts.d.ts +2 -2
  36. package/dist/types-ts4.0/react/nodes/bodiedExtension.d.ts +2 -1
  37. package/dist/types-ts4.0/react/nodes/extension.d.ts +2 -1
  38. package/dist/types-ts4.0/react/nodes/inlineExtension.d.ts +2 -0
  39. package/dist/types-ts4.0/ui/ExtensionRenderer.d.ts +2 -0
  40. package/dist/types-ts4.0/ui/SortingIcon.d.ts +4 -1
  41. package/package.json +18 -14
  42. package/report.api.md +359 -255
@@ -1,6 +1,6 @@
1
1
  import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
2
 
3
- var _templateObject, _templateObject2;
3
+ var _templateObject, _templateObject2, _templateObject3;
4
4
 
5
5
  /** @jsx jsx */
6
6
  import { css, jsx } from '@emotion/react';
@@ -10,14 +10,9 @@ import { N20, N30 } from '@atlaskit/theme/colors';
10
10
  import { SortOrder } from '@atlaskit/editor-common/types';
11
11
  import { sortingIconMessages } from '../messages';
12
12
  import { injectIntl } from 'react-intl-next';
13
- import { token } from '@atlaskit/tokens'; // We use data url here because of this issue:
14
- // https://product-fabric.atlassian.net/browse/ED-8001
15
- // Remove this workaround if Firefox has fixed: https://bugzilla.mozilla.org/show_bug.cgi?id=1664350
16
- // TODO: Quality ticket: https://product-fabric.atlassian.net/browse/DSP-4136
17
-
18
- export var TableSortIconDataUrl = "data:image/svg+xml;utf8,".concat(encodeURIComponent("<svg xmlns=\"http://www.w3.org/2000/svg\"><g fill=\"none\" fill-rule=\"evenodd\"><path d=\"M-8-6h24v24H-8z\"></path><path d=\"M3 8.509V1c0-.552.449-1 1-1 .552 0 1 .448 1 1V8.51l1.217-1.206a1.05 1.05 0 011.477 0 1.03 1.03 0 01.004 1.463l-.003.002-2.956 2.93a1.053 1.053 0 01-1.478 0L.305 8.767a1.03 1.03 0 01.001-1.464 1.05 1.05 0 011.477 0L3 8.508z\" fill=\"#42526E\"></path></g></svg>"));
19
- var TABLE_SORTING_ICON_CLASS = 'table-sorting-icon';
20
- export var StatusClassNames; // TODO: get design to check border
13
+ import { token } from '@atlaskit/tokens';
14
+ import { RendererCssClassName } from '../consts';
15
+ export var StatusClassNames;
21
16
 
22
17
  (function (StatusClassNames) {
23
18
  StatusClassNames["ASC"] = "sorting-icon-svg__asc";
@@ -26,23 +21,34 @@ export var StatusClassNames; // TODO: get design to check border
26
21
  StatusClassNames["SORTING_NOT_ALLOWED"] = "sorting-icon-svg__not-allowed";
27
22
  })(StatusClassNames || (StatusClassNames = {}));
28
23
 
29
- var wrapperStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n display: flex;\n height: 28px;\n width: 28px;\n margin: 6px;\n right: 0;\n top: 0;\n border: 2px solid ", ";\n border-radius: ", "px;\n background-color: ", ";\n justify-content: center;\n align-items: center;\n\n &:hover {\n background-color: ", ";\n }\n\n &.", " {\n cursor: not-allowed;\n }\n"])), token('color.border.inverse', '#fff'), gridSize() / 2, token('color.background.neutral.subtle', N20), token('color.background.neutral.subtle.hovered', N30), StatusClassNames.SORTING_NOT_ALLOWED);
30
- var tableSortingIconStyles = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n width: 8px;\n height: 12px;\n transition: transform 0.3s cubic-bezier(0.15, 1, 0.3, 1);\n transform-origin: 50% 50%;\n background-image: url(", ");\n\n &.", " {\n transform: rotate(-180deg);\n }\n\n &.", "-inactive {\n opacity: 0.7;\n }\n"])), TableSortIconDataUrl, StatusClassNames.DESC, TABLE_SORTING_ICON_CLASS);
24
+ var buttonStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n display: flex;\n height: 28px;\n width: 28px;\n margin: 6px;\n right: 0;\n top: 0;\n border: 2px solid ", ";\n border-radius: ", "px;\n background-color: ", ";\n justify-content: center;\n align-items: center;\n cursor: pointer;\n\n &:hover {\n background-color: ", ";\n }\n\n &:active {\n background-color: ", ";\n }\n\n &.", "__not-allowed {\n cursor: not-allowed;\n }\n"])), token('color.border', '#fff'), gridSize() / 2, token('elevation.surface.overlay', N20), token('elevation.surface.overlay.hovered', N30), token('elevation.surface.overlay.pressed', 'rgba(179, 212, 255, 0.6)'), RendererCssClassName.SORTABLE_COLUMN_ICON);
25
+ var iconWrapperStyles = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n width: 8px;\n height: 12px;\n transition: transform 0.3s cubic-bezier(0.15, 1, 0.3, 1);\n transform-origin: 50% 50%;\n display: flex;\n justify-content: center;\n\n &.", " {\n transform: rotate(-180deg);\n }\n\n &.", "-inactive {\n opacity: 0.7;\n }\n"])), StatusClassNames.DESC, RendererCssClassName.SORTABLE_COLUMN_ICON); // The icon is created with CSS due to the following Firefox issue: https://product-fabric.atlassian.net/browse/ED-8001
26
+ // The TL;DR is that svg's in tables mess up how HTML is copied in Firefox. Using a styled div instead solves the problem.
27
+ // For this reason, svg's should be avoided in tables until this issue is fixed: https://bugzilla.mozilla.org/show_bug.cgi?id=1664350
28
+
29
+ var iconStyles = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n height: 100%;\n width: 2px;\n border-radius: 50px;\n background: ", ";\n\n &::before,\n &::after {\n background: ", ";\n content: '';\n height: 2px;\n width: 6px;\n position: absolute;\n border-radius: 50px;\n }\n\n &::before {\n transform: rotate(45deg) translate(3.4px, 8.5px);\n }\n\n &::after {\n transform: rotate(-45deg) translate(-6.3px, 5.7px);\n }\n"])), token('color.icon', '#42526E'), token('color.icon', '#42526E'));
30
+
31
+ var getIconClassName = function getIconClassName(isSortingAllowed, sortOrdered) {
32
+ var activated = sortOrdered !== SortOrder.NO_ORDER;
33
+ var activeStatusClass = "".concat(RendererCssClassName.SORTABLE_COLUMN_ICON, "-").concat(activated ? 'active' : 'inactive');
34
+
35
+ if (!isSortingAllowed) {
36
+ return "".concat(StatusClassNames.SORTING_NOT_ALLOWED, " ").concat(activeStatusClass);
37
+ }
31
38
 
32
- var getClassName = function getClassName(status) {
33
- switch (status) {
39
+ switch (sortOrdered) {
34
40
  case SortOrder.ASC:
35
- return StatusClassNames.ASC;
41
+ return "".concat(StatusClassNames.ASC, " ").concat(activeStatusClass);
36
42
 
37
43
  case SortOrder.DESC:
38
- return StatusClassNames.DESC;
44
+ return "".concat(StatusClassNames.DESC, " ").concat(activeStatusClass);
39
45
 
40
46
  default:
41
- return StatusClassNames.NO_ORDER;
47
+ return "".concat(StatusClassNames.NO_ORDER, " ").concat(activeStatusClass);
42
48
  }
43
49
  };
44
50
 
45
- var getTooltipTitle = function getTooltipTitle(intl, isSortingAllowed, status) {
51
+ var getTooltipTitle = function getTooltipTitle(intl, isSortingAllowed, sortOrdered) {
46
52
  var noOrderLabel = sortingIconMessages.noOrderLabel,
47
53
  ascOrderLabel = sortingIconMessages.ascOrderLabel,
48
54
  descOrderLabel = sortingIconMessages.descOrderLabel,
@@ -52,7 +58,7 @@ var getTooltipTitle = function getTooltipTitle(intl, isSortingAllowed, status) {
52
58
  return intl.formatMessage(invalidLabel);
53
59
  }
54
60
 
55
- switch (status) {
61
+ switch (sortOrdered) {
56
62
  case SortOrder.NO_ORDER:
57
63
  return intl.formatMessage(noOrderLabel);
58
64
 
@@ -69,21 +75,43 @@ var getTooltipTitle = function getTooltipTitle(intl, isSortingAllowed, status) {
69
75
  var SortingIcon = function SortingIcon(_ref) {
70
76
  var isSortingAllowed = _ref.isSortingAllowed,
71
77
  sortOrdered = _ref.sortOrdered,
72
- intl = _ref.intl;
73
- var activated = sortOrdered !== SortOrder.NO_ORDER;
74
- var wrapperClassName = !isSortingAllowed ? StatusClassNames.SORTING_NOT_ALLOWED : '';
78
+ intl = _ref.intl,
79
+ onClick = _ref.onClick,
80
+ onKeyDown = _ref.onKeyDown;
81
+ var buttonClassName = "".concat(RendererCssClassName.SORTABLE_COLUMN_ICON).concat(isSortingAllowed ? '' : " ".concat(RendererCssClassName.SORTABLE_COLUMN_ICON, "__not-allowed"));
75
82
  var content = getTooltipTitle(intl, isSortingAllowed, sortOrdered);
83
+
84
+ var handleClick = function handleClick() {
85
+ if (isSortingAllowed) {
86
+ onClick();
87
+ }
88
+ };
89
+
90
+ var handleKeyDown = function handleKeyDown(event) {
91
+ if (isSortingAllowed) {
92
+ onKeyDown(event);
93
+ }
94
+ };
95
+
76
96
  return jsx(Tooltip, {
77
97
  delay: 0,
78
98
  content: content,
79
99
  position: "top"
80
- }, jsx("figure", {
81
- css: wrapperStyles,
82
- className: wrapperClassName
83
100
  }, jsx("div", {
84
- css: tableSortingIconStyles,
85
- className: "".concat(getClassName(sortOrdered), " ").concat(TABLE_SORTING_ICON_CLASS, "-").concat(activated ? 'active' : 'inactive')
86
- })));
101
+ css: buttonStyles,
102
+ className: buttonClassName,
103
+ role: "button",
104
+ tabIndex: isSortingAllowed ? 0 : -1,
105
+ "aria-label": "sort column",
106
+ "aria-disabled": !isSortingAllowed,
107
+ onClick: handleClick,
108
+ onKeyDown: handleKeyDown
109
+ }, jsx("div", {
110
+ css: iconWrapperStyles,
111
+ className: getIconClassName(isSortingAllowed, sortOrdered)
112
+ }, jsx("div", {
113
+ css: iconStyles
114
+ }))));
87
115
  };
88
116
 
89
117
  export default injectIntl(SortingIcon);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "103.0.0",
3
+ "version": "103.0.1",
4
4
  "sideEffects": false
5
5
  }
@@ -4,9 +4,9 @@ export declare const RendererCssClassName: {
4
4
  EXTENSION_CENTER_ALIGN: string;
5
5
  EXTENSION_OVERFLOW_CONTAINER: string;
6
6
  NUMBER_COLUMN: string;
7
+ SORTABLE_COLUMN_WRAPPER: string;
7
8
  SORTABLE_COLUMN: string;
8
- SORTABLE_COLUMN_BUTTON: string;
9
- SORTABLE_COLUMN_NOT_ALLOWED: string;
9
+ SORTABLE_COLUMN_ICON_WRAPPER: string;
10
10
  SORTABLE_COLUMN_ICON: string;
11
11
  SORTABLE_COLUMN_NO_ORDER: string;
12
12
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Node as PMNode } from 'prosemirror-model';
2
+ import { Mark as PMMark, Node as PMNode } from 'prosemirror-model';
3
3
  import { RendererContext } from '../types';
4
4
  import { Serializer } from '../..';
5
5
  import { ExtensionLayout } from '@atlaskit/adf-schema';
@@ -18,6 +18,7 @@ export interface Props {
18
18
  content?: any;
19
19
  layout?: ExtensionLayout;
20
20
  localId?: string;
21
+ marks?: PMMark[];
21
22
  }
22
23
  declare const BodiedExtension: React.FunctionComponent<Props>;
23
24
  export default BodiedExtension;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Node as PMNode } from 'prosemirror-model';
2
+ import { Mark as PMMark, Node as PMNode } from 'prosemirror-model';
3
3
  import { RendererContext } from '../types';
4
4
  import { ExtensionLayout } from '@atlaskit/adf-schema';
5
5
  import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
@@ -16,6 +16,7 @@ export interface Props {
16
16
  parameters?: any;
17
17
  layout?: ExtensionLayout;
18
18
  localId?: string;
19
+ marks?: PMMark[];
19
20
  }
20
21
  declare type AllOrNone<T> = T | {
21
22
  [K in keyof T]?: never;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { RendererContext } from '../types';
3
+ import { Mark as PMMark } from 'prosemirror-model';
3
4
  import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
4
5
  import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
5
6
  export interface Props {
@@ -11,6 +12,7 @@ export interface Props {
11
12
  text?: string;
12
13
  parameters?: any;
13
14
  localId?: string;
15
+ marks?: PMMark[];
14
16
  }
15
17
  declare const InlineExtension: React.StatelessComponent<Props>;
16
18
  export default InlineExtension;
@@ -4,6 +4,7 @@ import { ExtensionLayout } from '@atlaskit/adf-schema';
4
4
  import { getNodeRenderer } from '@atlaskit/editor-common/extensions';
5
5
  import type { ExtensionHandlers, ExtensionProvider } from '@atlaskit/editor-common/extensions';
6
6
  import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
7
+ import { Mark as PMMark } from 'prosemirror-model';
7
8
  export interface Props {
8
9
  type: 'extension' | 'inlineExtension' | 'bodiedExtension';
9
10
  extensionHandlers?: ExtensionHandlers;
@@ -16,6 +17,7 @@ export interface Props {
16
17
  content?: any;
17
18
  layout?: ExtensionLayout;
18
19
  localId?: string;
20
+ marks?: PMMark[];
19
21
  children: ({ result }: {
20
22
  result?: JSX.Element | null;
21
23
  }) => JSX.Element;
@@ -1,7 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { SortOrder } from '@atlaskit/editor-common/types';
3
3
  import { WrappedComponentProps } from 'react-intl-next';
4
- export declare const TableSortIconDataUrl: string;
5
4
  export declare enum StatusClassNames {
6
5
  ASC = "sorting-icon-svg__asc",
7
6
  DESC = "sorting-icon-svg__desc",
@@ -11,10 +10,14 @@ export declare enum StatusClassNames {
11
10
  declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<{
12
11
  isSortingAllowed: boolean;
13
12
  sortOrdered?: SortOrder | undefined;
13
+ onClick: () => void;
14
+ onKeyDown: (event: import("react").KeyboardEvent<HTMLElement>) => void;
14
15
  } & WrappedComponentProps<"intl">>> & {
15
16
  WrappedComponent: import("react").ComponentType<{
16
17
  isSortingAllowed: boolean;
17
18
  sortOrdered?: SortOrder | undefined;
19
+ onClick: () => void;
20
+ onKeyDown: (event: import("react").KeyboardEvent<HTMLElement>) => void;
18
21
  } & WrappedComponentProps<"intl">>;
19
22
  };
20
23
  export default _default;
@@ -4,9 +4,9 @@ export declare const RendererCssClassName: {
4
4
  EXTENSION_CENTER_ALIGN: string;
5
5
  EXTENSION_OVERFLOW_CONTAINER: string;
6
6
  NUMBER_COLUMN: string;
7
+ SORTABLE_COLUMN_WRAPPER: string;
7
8
  SORTABLE_COLUMN: string;
8
- SORTABLE_COLUMN_BUTTON: string;
9
- SORTABLE_COLUMN_NOT_ALLOWED: string;
9
+ SORTABLE_COLUMN_ICON_WRAPPER: string;
10
10
  SORTABLE_COLUMN_ICON: string;
11
11
  SORTABLE_COLUMN_NO_ORDER: string;
12
12
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Node as PMNode } from 'prosemirror-model';
2
+ import { Mark as PMMark, Node as PMNode } from 'prosemirror-model';
3
3
  import { RendererContext } from '../types';
4
4
  import { Serializer } from '../..';
5
5
  import { ExtensionLayout } from '@atlaskit/adf-schema';
@@ -18,6 +18,7 @@ export interface Props {
18
18
  content?: any;
19
19
  layout?: ExtensionLayout;
20
20
  localId?: string;
21
+ marks?: PMMark[];
21
22
  }
22
23
  declare const BodiedExtension: React.FunctionComponent<Props>;
23
24
  export default BodiedExtension;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Node as PMNode } from 'prosemirror-model';
2
+ import { Mark as PMMark, Node as PMNode } from 'prosemirror-model';
3
3
  import { RendererContext } from '../types';
4
4
  import { ExtensionLayout } from '@atlaskit/adf-schema';
5
5
  import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
@@ -16,6 +16,7 @@ export interface Props {
16
16
  parameters?: any;
17
17
  layout?: ExtensionLayout;
18
18
  localId?: string;
19
+ marks?: PMMark[];
19
20
  }
20
21
  declare type AllOrNone<T> = T | {
21
22
  [K in keyof T]?: never;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { RendererContext } from '../types';
3
+ import { Mark as PMMark } from 'prosemirror-model';
3
4
  import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
4
5
  import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
5
6
  export interface Props {
@@ -11,6 +12,7 @@ export interface Props {
11
12
  text?: string;
12
13
  parameters?: any;
13
14
  localId?: string;
15
+ marks?: PMMark[];
14
16
  }
15
17
  declare const InlineExtension: React.StatelessComponent<Props>;
16
18
  export default InlineExtension;
@@ -4,6 +4,7 @@ import { ExtensionLayout } from '@atlaskit/adf-schema';
4
4
  import { getNodeRenderer } from '@atlaskit/editor-common/extensions';
5
5
  import type { ExtensionHandlers, ExtensionProvider } from '@atlaskit/editor-common/extensions';
6
6
  import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
7
+ import { Mark as PMMark } from 'prosemirror-model';
7
8
  export interface Props {
8
9
  type: 'extension' | 'inlineExtension' | 'bodiedExtension';
9
10
  extensionHandlers?: ExtensionHandlers;
@@ -16,6 +17,7 @@ export interface Props {
16
17
  content?: any;
17
18
  layout?: ExtensionLayout;
18
19
  localId?: string;
20
+ marks?: PMMark[];
19
21
  children: ({ result }: {
20
22
  result?: JSX.Element | null;
21
23
  }) => JSX.Element;
@@ -1,7 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { SortOrder } from '@atlaskit/editor-common/types';
3
3
  import { WrappedComponentProps } from 'react-intl-next';
4
- export declare const TableSortIconDataUrl: string;
5
4
  export declare enum StatusClassNames {
6
5
  ASC = "sorting-icon-svg__asc",
7
6
  DESC = "sorting-icon-svg__desc",
@@ -11,10 +10,14 @@ export declare enum StatusClassNames {
11
10
  declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<{
12
11
  isSortingAllowed: boolean;
13
12
  sortOrdered?: SortOrder | undefined;
13
+ onClick: () => void;
14
+ onKeyDown: (event: import("react").KeyboardEvent<HTMLElement>) => void;
14
15
  } & WrappedComponentProps<"intl">>> & {
15
16
  WrappedComponent: import("react").ComponentType<{
16
17
  isSortingAllowed: boolean;
17
18
  sortOrdered?: SortOrder | undefined;
19
+ onClick: () => void;
20
+ onKeyDown: (event: import("react").KeyboardEvent<HTMLElement>) => void;
18
21
  } & WrappedComponentProps<"intl">>;
19
22
  };
20
23
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "103.0.0",
3
+ "version": "103.0.1",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -15,7 +15,8 @@
15
15
  "typesVersions": {
16
16
  ">=4.0 <4.5": {
17
17
  "*": [
18
- "dist/types-ts4.0/*"
18
+ "dist/types-ts4.0/*",
19
+ "dist/types-ts4.0/index.d.ts"
19
20
  ]
20
21
  }
21
22
  },
@@ -36,20 +37,20 @@
36
37
  "@atlaskit/analytics-listeners": "^8.3.0",
37
38
  "@atlaskit/analytics-namespaced-context": "^6.5.0",
38
39
  "@atlaskit/analytics-next": "^8.2.0",
39
- "@atlaskit/button": "^16.3.0",
40
+ "@atlaskit/button": "^16.4.0",
40
41
  "@atlaskit/code": "^14.4.0",
41
- "@atlaskit/editor-common": "^70.1.0",
42
+ "@atlaskit/editor-common": "^70.2.0",
42
43
  "@atlaskit/editor-json-transformer": "^8.8.0",
43
44
  "@atlaskit/editor-shared-styles": "^2.2.0",
44
45
  "@atlaskit/icon": "^21.11.0",
45
- "@atlaskit/media-card": "^74.1.0",
46
- "@atlaskit/media-client": "^18.0.0",
47
- "@atlaskit/media-common": "^2.16.0",
46
+ "@atlaskit/media-card": "^74.2.0",
47
+ "@atlaskit/media-client": "^18.1.0",
48
+ "@atlaskit/media-common": "^2.17.0",
48
49
  "@atlaskit/media-filmstrip": "^46.0.0",
49
50
  "@atlaskit/media-ui": "^22.1.0",
50
51
  "@atlaskit/media-viewer": "^47.1.0",
51
- "@atlaskit/smart-card": "^23.0.0",
52
- "@atlaskit/status": "^1.1.0",
52
+ "@atlaskit/smart-card": "^23.1.0",
53
+ "@atlaskit/status": "^1.2.0",
53
54
  "@atlaskit/task-decision": "^17.5.0",
54
55
  "@atlaskit/theme": "^12.2.0",
55
56
  "@atlaskit/tokens": "^0.10.0",
@@ -69,15 +70,14 @@
69
70
  "@atlaskit/link-provider": "^1.3.0",
70
71
  "@atlaskit/media-core": "^34.0.0",
71
72
  "react": "^16.8.0",
72
- "react-dom": "^16.8.0",
73
- "styled-components": "^3.2.6"
73
+ "react-dom": "^16.8.0"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@atlaskit/analytics-gas-types": "^5.0.5",
77
77
  "@atlaskit/avatar": "^21.1.0",
78
78
  "@atlaskit/css-reset": "^6.3.0",
79
79
  "@atlaskit/docs": "*",
80
- "@atlaskit/editor-core": "^174.0.0",
80
+ "@atlaskit/editor-core": "^175.0.0",
81
81
  "@atlaskit/editor-test-helpers": "^17.2.0",
82
82
  "@atlaskit/link-provider": "^1.3.0",
83
83
  "@atlaskit/logo": "^13.10.0",
@@ -88,7 +88,7 @@
88
88
  "@atlaskit/navigation-next": "^9.0.0",
89
89
  "@atlaskit/profilecard": "^17.2.0",
90
90
  "@atlaskit/radio": "^5.4.0",
91
- "@atlaskit/range": "^6.1.0",
91
+ "@atlaskit/range": "^7.0.0",
92
92
  "@atlaskit/ssr": "*",
93
93
  "@atlaskit/util-data-test": "^17.5.0",
94
94
  "@atlaskit/visual-regression": "*",
@@ -116,7 +116,11 @@
116
116
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
117
117
  "techstack": {
118
118
  "@repo/internal": {
119
- "theming": "tokens"
119
+ "theming": "tokens",
120
+ "deprecation": "no-deprecated-imports",
121
+ "styling": [
122
+ "emotion"
123
+ ]
120
124
  }
121
125
  }
122
126
  }