@atlaskit/editor-plugin-floating-toolbar 28.0.2 → 28.0.4

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
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/editor-plugin-floating-toolbar
2
2
 
3
+ ## 28.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 28.0.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 28.0.2
4
16
 
5
17
  ### Patch Changes
@@ -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 _primitives = require("@atlaskit/primitives");
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
- var styles = (0, _primitives.xcss)({
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(_primitives.Box, {
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 _compiled = require("@atlaskit/primitives/compiled");
10
+ var _box = require("@atlaskit/primitives/compiled/box");
11
11
  function ExpandButton() {
12
- return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
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, xcss } from '@atlaskit/primitives';
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"
@@ -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, xcss } from '@atlaskit/primitives';
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.2",
3
+ "version": "28.0.4",
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": "^229.0.0",
47
+ "@atlaskit/tmp-editor-statsig": "^231.0.0",
48
48
  "@atlaskit/tokens": "^20.4.0",
49
49
  "@atlaskit/tooltip": "^24.4.0",
50
50
  "@babel/runtime": "^7.0.0",