@atlaskit/editor-plugin-floating-toolbar 28.0.1 → 28.0.3
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
CHANGED
package/dist/cjs/ui/Divider.js
CHANGED
|
@@ -6,17 +6,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.Divider = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _box = require("@atlaskit/primitives/box");
|
|
10
|
+
var _xcss = require("@atlaskit/primitives/xcss/xcss");
|
|
10
11
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
14
|
+
|
|
15
|
+
var styles = (0, _xcss.xcss)({
|
|
13
16
|
width: '100%',
|
|
14
17
|
borderBlockEnd: 'none',
|
|
15
18
|
borderBlockStart: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #0B120E24)"),
|
|
16
19
|
borderInline: 'none'
|
|
17
20
|
});
|
|
18
21
|
var Divider = exports.Divider = function Divider() {
|
|
19
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
22
|
+
return /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
20
23
|
as: "hr",
|
|
21
24
|
xcss: styles,
|
|
22
25
|
role: "presentation"
|
|
@@ -7,9 +7,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.ExpandButton = ExpandButton;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/core/chevron-right"));
|
|
10
|
-
var
|
|
10
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
11
11
|
function ExpandButton() {
|
|
12
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
12
|
+
return /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
13
13
|
paddingInline: "space.075"
|
|
14
14
|
}, /*#__PURE__*/_react.default.createElement(_chevronRight.default, {
|
|
15
15
|
label: 'Edit',
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
4
|
-
import { Box
|
|
4
|
+
import { Box } from '@atlaskit/primitives/box';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
6
|
+
import { xcss } from '@atlaskit/primitives/xcss/xcss';
|
|
5
7
|
const styles = xcss({
|
|
6
8
|
width: '100%',
|
|
7
9
|
borderBlockEnd: 'none',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Icon from '@atlaskit/icon/core/chevron-right';
|
|
3
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
3
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
4
4
|
export function ExpandButton() {
|
|
5
5
|
return /*#__PURE__*/React.createElement(Box, {
|
|
6
6
|
paddingInline: "space.075"
|
package/dist/esm/ui/Divider.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
4
|
-
import { Box
|
|
4
|
+
import { Box } from '@atlaskit/primitives/box';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
6
|
+
import { xcss } from '@atlaskit/primitives/xcss/xcss';
|
|
5
7
|
var styles = xcss({
|
|
6
8
|
width: '100%',
|
|
7
9
|
borderBlockEnd: 'none',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Icon from '@atlaskit/icon/core/chevron-right';
|
|
3
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
3
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
4
4
|
export function ExpandButton() {
|
|
5
5
|
return /*#__PURE__*/React.createElement(Box, {
|
|
6
6
|
paddingInline: "space.075"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-floating-toolbar",
|
|
3
|
-
"version": "28.0.
|
|
3
|
+
"version": "28.0.3",
|
|
4
4
|
"description": "Floating toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
45
45
|
"@atlaskit/primitives": "^22.5.0",
|
|
46
46
|
"@atlaskit/select": "^23.1.0",
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
47
|
+
"@atlaskit/tmp-editor-statsig": "^230.0.0",
|
|
48
48
|
"@atlaskit/tokens": "^20.4.0",
|
|
49
49
|
"@atlaskit/tooltip": "^24.4.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"react-loosely-lazy": "^1.0.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@atlaskit/editor-common": "^130.
|
|
59
|
+
"@atlaskit/editor-common": "^130.3.0",
|
|
60
60
|
"react": "^18.2.0 || ^19.2.0",
|
|
61
61
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
62
62
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|