@atlaskit/editor-plugin-block-controls 5.0.2 → 6.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/editor-plugin-block-controls
2
2
 
3
+ ## 6.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f0662cd7a143e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f0662cd7a143e) -
8
+ Internal changes to how borders are applied.
9
+ - Updated dependencies
10
+
11
+ ## 6.0.0
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 5.0.2
4
18
 
5
19
  ### Patch Changes
@@ -12,7 +12,7 @@ var previewStyle = {
12
12
  borderColor: "var(--ds-border, ".concat(_colors.N30, ")"),
13
13
  borderStyle: 'solid',
14
14
  borderRadius: "var(--ds-radius-small, 3px)",
15
- borderWidth: "var(--ds-border-width-outline, 2px)",
15
+ borderWidth: "var(--ds-border-width-selected, 2px)",
16
16
  backgroundColor: "var(--ds-skeleton-subtle, ".concat(_colors.N20, ")")
17
17
  };
18
18
  var getPreviewContainerDimensionsForSingle = function getPreviewContainerDimensionsForSingle(dom, nodeType) {
@@ -167,7 +167,7 @@ var quickInsertStyles = function quickInsertStyles() {
167
167
  height: "var(--ds-space-300, 24px)",
168
168
  width: "var(--ds-space-300, 24px)",
169
169
  border: 'none',
170
- borderRadius: '50%',
170
+ borderRadius: "var(--ds-radius-full, 9999px)",
171
171
  zIndex: _constants.layers.card(),
172
172
  outline: 'none',
173
173
  cursor: 'pointer',
@@ -4,7 +4,7 @@ const previewStyle = {
4
4
  borderColor: `var(--ds-border, ${N30})`,
5
5
  borderStyle: 'solid',
6
6
  borderRadius: "var(--ds-radius-small, 3px)",
7
- borderWidth: "var(--ds-border-width-outline, 2px)",
7
+ borderWidth: "var(--ds-border-width-selected, 2px)",
8
8
  backgroundColor: `var(--ds-skeleton-subtle, ${N20})`
9
9
  };
10
10
  const getPreviewContainerDimensionsForSingle = (dom, nodeType) => {
@@ -183,7 +183,7 @@ const quickInsertStyles = () => css({
183
183
  height: "var(--ds-space-300, 24px)",
184
184
  width: "var(--ds-space-300, 24px)",
185
185
  border: 'none',
186
- borderRadius: '50%',
186
+ borderRadius: "var(--ds-radius-full, 9999px)",
187
187
  zIndex: layers.card(),
188
188
  outline: 'none',
189
189
  cursor: 'pointer',
@@ -5,7 +5,7 @@ var previewStyle = {
5
5
  borderColor: "var(--ds-border, ".concat(N30, ")"),
6
6
  borderStyle: 'solid',
7
7
  borderRadius: "var(--ds-radius-small, 3px)",
8
- borderWidth: "var(--ds-border-width-outline, 2px)",
8
+ borderWidth: "var(--ds-border-width-selected, 2px)",
9
9
  backgroundColor: "var(--ds-skeleton-subtle, ".concat(N20, ")")
10
10
  };
11
11
  var getPreviewContainerDimensionsForSingle = function getPreviewContainerDimensionsForSingle(dom, nodeType) {
@@ -160,7 +160,7 @@ var quickInsertStyles = function quickInsertStyles() {
160
160
  height: "var(--ds-space-300, 24px)",
161
161
  width: "var(--ds-space-300, 24px)",
162
162
  border: 'none',
163
- borderRadius: '50%',
163
+ borderRadius: "var(--ds-radius-full, 9999px)",
164
164
  zIndex: layers.card(),
165
165
  outline: 'none',
166
166
  cursor: 'pointer',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-controls",
3
- "version": "5.0.2",
3
+ "version": "6.0.1",
4
4
  "description": "Block controls plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -28,19 +28,19 @@
28
28
  ],
29
29
  "atlaskit:src": "src/index.ts",
30
30
  "dependencies": {
31
- "@atlaskit/adf-schema": "^50.2.3",
32
- "@atlaskit/editor-plugin-accessibility-utils": "^4.0.0",
33
- "@atlaskit/editor-plugin-analytics": "^4.0.0",
34
- "@atlaskit/editor-plugin-editor-disabled": "^4.0.0",
35
- "@atlaskit/editor-plugin-feature-flags": "^3.0.0",
36
- "@atlaskit/editor-plugin-interaction": "^6.0.0",
37
- "@atlaskit/editor-plugin-limited-mode": "^1.0.0",
38
- "@atlaskit/editor-plugin-metrics": "^5.0.0",
39
- "@atlaskit/editor-plugin-quick-insert": "^4.0.0",
40
- "@atlaskit/editor-plugin-selection": "^4.0.0",
41
- "@atlaskit/editor-plugin-type-ahead": "^4.0.0",
42
- "@atlaskit/editor-plugin-user-intent": "^2.0.0",
43
- "@atlaskit/editor-plugin-width": "^5.0.0",
31
+ "@atlaskit/adf-schema": "^51.0.0",
32
+ "@atlaskit/editor-plugin-accessibility-utils": "^5.0.0",
33
+ "@atlaskit/editor-plugin-analytics": "^5.0.0",
34
+ "@atlaskit/editor-plugin-editor-disabled": "^5.0.0",
35
+ "@atlaskit/editor-plugin-feature-flags": "^4.0.0",
36
+ "@atlaskit/editor-plugin-interaction": "^7.0.0",
37
+ "@atlaskit/editor-plugin-limited-mode": "^2.0.0",
38
+ "@atlaskit/editor-plugin-metrics": "^6.0.0",
39
+ "@atlaskit/editor-plugin-quick-insert": "^5.0.0",
40
+ "@atlaskit/editor-plugin-selection": "^5.0.0",
41
+ "@atlaskit/editor-plugin-type-ahead": "^5.0.0",
42
+ "@atlaskit/editor-plugin-user-intent": "^3.0.0",
43
+ "@atlaskit/editor-plugin-width": "^6.0.0",
44
44
  "@atlaskit/editor-prosemirror": "7.0.0",
45
45
  "@atlaskit/editor-shared-styles": "^3.6.0",
46
46
  "@atlaskit/editor-tables": "^2.9.0",
@@ -50,10 +50,10 @@
50
50
  "@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
51
51
  "@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
52
52
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
53
- "@atlaskit/primitives": "^14.12.0",
54
- "@atlaskit/theme": "^20.0.0",
55
- "@atlaskit/tmp-editor-statsig": "^12.2.0",
56
- "@atlaskit/tokens": "^6.1.0",
53
+ "@atlaskit/primitives": "^14.14.0",
54
+ "@atlaskit/theme": "^21.0.0",
55
+ "@atlaskit/tmp-editor-statsig": "^12.10.0",
56
+ "@atlaskit/tokens": "^6.3.0",
57
57
  "@atlaskit/tooltip": "^20.4.0",
58
58
  "@babel/runtime": "^7.0.0",
59
59
  "@emotion/react": "^11.7.1",
@@ -64,7 +64,7 @@
64
64
  "uuid": "^3.1.0"
65
65
  },
66
66
  "peerDependencies": {
67
- "@atlaskit/editor-common": "^108.1.0",
67
+ "@atlaskit/editor-common": "^109.1.0",
68
68
  "react": "^18.2.0",
69
69
  "react-dom": "^18.2.0",
70
70
  "react-intl-next": "npm:react-intl@^5.18.1"