@atlaskit/editor-plugin-block-controls 6.0.0 → 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 +8 -0
- package/dist/cjs/ui/drag-preview.js +1 -1
- package/dist/cjs/ui/global-styles.js +1 -1
- package/dist/es2019/ui/drag-preview.js +1 -1
- package/dist/es2019/ui/global-styles.js +1 -1
- package/dist/esm/ui/drag-preview.js +1 -1
- package/dist/esm/ui/global-styles.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
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
|
+
|
|
3
11
|
## 6.0.0
|
|
4
12
|
|
|
5
13
|
### 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-
|
|
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:
|
|
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-
|
|
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:
|
|
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-
|
|
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:
|
|
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": "6.0.
|
|
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",
|
|
@@ -51,8 +51,8 @@
|
|
|
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
53
|
"@atlaskit/primitives": "^14.14.0",
|
|
54
|
-
"@atlaskit/theme": "^
|
|
55
|
-
"@atlaskit/tmp-editor-statsig": "^12.
|
|
54
|
+
"@atlaskit/theme": "^21.0.0",
|
|
55
|
+
"@atlaskit/tmp-editor-statsig": "^12.10.0",
|
|
56
56
|
"@atlaskit/tokens": "^6.3.0",
|
|
57
57
|
"@atlaskit/tooltip": "^20.4.0",
|
|
58
58
|
"@babel/runtime": "^7.0.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"uuid": "^3.1.0"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@atlaskit/editor-common": "^109.
|
|
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"
|