@atlaskit/editor-plugin-media 5.4.0 → 5.4.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.
- package/CHANGELOG.md +8 -0
- package/dist/cjs/ui/ImageBorder/styles.js +2 -5
- package/dist/es2019/ui/ImageBorder/styles.js +2 -5
- package/dist/esm/ui/ImageBorder/styles.js +2 -5
- package/dist/types/ui/ImageBorder/styles.d.ts +1 -1
- package/dist/types-ts4.5/ui/ImageBorder/styles.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-media
|
|
2
2
|
|
|
3
|
+
## 5.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`20a5aa8c4e7a0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/20a5aa8c4e7a0) -
|
|
8
|
+
Removed gridSize import. No visual changes.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 5.4.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -11,13 +11,11 @@ var _react = require("@emotion/react");
|
|
|
11
11
|
var _uiColor = require("@atlaskit/editor-common/ui-color");
|
|
12
12
|
var _colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
13
13
|
var colors = _colors;
|
|
14
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
15
14
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9;
|
|
16
15
|
/* eslint-disable @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation*/
|
|
17
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
17
|
// Ignored via go/ees005
|
|
19
18
|
// eslint-disable-next-line import/no-namespace
|
|
20
|
-
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
21
19
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
22
20
|
// menuItemDimensions and itemSpacing are copied from
|
|
23
21
|
// packages/editor/editor-core/src/plugins/floating-toolbar/ui/DropdownMenu.tsx
|
|
@@ -27,9 +25,8 @@ var menuItemDimensions = exports.menuItemDimensions = {
|
|
|
27
25
|
height: 32
|
|
28
26
|
};
|
|
29
27
|
|
|
30
|
-
//
|
|
31
|
-
|
|
32
|
-
var itemSpacing = exports.itemSpacing = (0, _constants.gridSize)() / 2;
|
|
28
|
+
// itemSpacing is used in calculations expecting a number, hence not using a space token
|
|
29
|
+
var itemSpacing = exports.itemSpacing = 4;
|
|
33
30
|
|
|
34
31
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
35
32
|
var contextualMenuArrow = exports.contextualMenuArrow = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: flex;\n\t&::after {\n\t\tcontent: '\u203A';\n\t\tmargin-left: ", ";\n\t\tline-height: 20px;\n\t\tcolor: ", ";\n\t}\n"])), "var(--ds-space-050, 4px)", "var(--ds-icon, ".concat(_colors.N90, ")"));
|
|
@@ -6,8 +6,6 @@ import { DEFAULT_BORDER_COLOR } from '@atlaskit/editor-common/ui-color';
|
|
|
6
6
|
// eslint-disable-next-line import/no-namespace
|
|
7
7
|
import * as colors from '@atlaskit/theme/colors';
|
|
8
8
|
import { N0, N20A, N50, N60A, N800, N90 } from '@atlaskit/theme/colors';
|
|
9
|
-
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
10
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
11
9
|
// menuItemDimensions and itemSpacing are copied from
|
|
12
10
|
// packages/editor/editor-core/src/plugins/floating-toolbar/ui/DropdownMenu.tsx
|
|
13
11
|
|
|
@@ -16,9 +14,8 @@ export const menuItemDimensions = {
|
|
|
16
14
|
height: 32
|
|
17
15
|
};
|
|
18
16
|
|
|
19
|
-
//
|
|
20
|
-
|
|
21
|
-
export const itemSpacing = gridSize() / 2;
|
|
17
|
+
// itemSpacing is used in calculations expecting a number, hence not using a space token
|
|
18
|
+
export const itemSpacing = 4;
|
|
22
19
|
|
|
23
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
24
21
|
export const contextualMenuArrow = css`
|
|
@@ -8,8 +8,6 @@ import { DEFAULT_BORDER_COLOR } from '@atlaskit/editor-common/ui-color';
|
|
|
8
8
|
// eslint-disable-next-line import/no-namespace
|
|
9
9
|
import * as colors from '@atlaskit/theme/colors';
|
|
10
10
|
import { N0, N20A, N50, N60A, N800, N90 } from '@atlaskit/theme/colors';
|
|
11
|
-
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
12
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
13
11
|
// menuItemDimensions and itemSpacing are copied from
|
|
14
12
|
// packages/editor/editor-core/src/plugins/floating-toolbar/ui/DropdownMenu.tsx
|
|
15
13
|
|
|
@@ -18,9 +16,8 @@ export var menuItemDimensions = {
|
|
|
18
16
|
height: 32
|
|
19
17
|
};
|
|
20
18
|
|
|
21
|
-
//
|
|
22
|
-
|
|
23
|
-
export var itemSpacing = gridSize() / 2;
|
|
19
|
+
// itemSpacing is used in calculations expecting a number, hence not using a space token
|
|
20
|
+
export var itemSpacing = 4;
|
|
24
21
|
|
|
25
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
26
23
|
export var contextualMenuArrow = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tdisplay: flex;\n\t&::after {\n\t\tcontent: '\u203A';\n\t\tmargin-left: ", ";\n\t\tline-height: 20px;\n\t\tcolor: ", ";\n\t}\n"])), "var(--ds-space-050, 4px)", "var(--ds-icon, ".concat(N90, ")"));
|
|
@@ -2,7 +2,7 @@ export declare const menuItemDimensions: {
|
|
|
2
2
|
width: number;
|
|
3
3
|
height: number;
|
|
4
4
|
};
|
|
5
|
-
export declare const itemSpacing
|
|
5
|
+
export declare const itemSpacing = 4;
|
|
6
6
|
export declare const contextualMenuArrow: import("@emotion/react").SerializedStyles;
|
|
7
7
|
export declare const contextualMenuColorIcon: (color?: string) => import("@emotion/react").SerializedStyles;
|
|
8
8
|
export declare const contextualSubMenu: (index: number) => import("@emotion/react").SerializedStyles;
|
|
@@ -2,7 +2,7 @@ export declare const menuItemDimensions: {
|
|
|
2
2
|
width: number;
|
|
3
3
|
height: number;
|
|
4
4
|
};
|
|
5
|
-
export declare const itemSpacing
|
|
5
|
+
export declare const itemSpacing = 4;
|
|
6
6
|
export declare const contextualMenuArrow: import("@emotion/react").SerializedStyles;
|
|
7
7
|
export declare const contextualMenuColorIcon: (color?: string) => import("@emotion/react").SerializedStyles;
|
|
8
8
|
export declare const contextualSubMenu: (index: number) => import("@emotion/react").SerializedStyles;
|