@atlaskit/editor-plugin-block-controls 8.1.4 → 8.1.6

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
+ ## 8.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`31dd2018db24b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31dd2018db24b) -
8
+ [ux] Ultra minor update to nested drag handle dots
9
+ - Updated dependencies
10
+
11
+ ## 8.1.5
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 8.1.4
4
18
 
5
19
  ### Patch Changes
@@ -40,25 +40,25 @@ var DragHandleNestedIcon = exports.DragHandleNestedIcon = function DragHandleNes
40
40
  }, (0, _react.jsx)("svg", {
41
41
  width: 24,
42
42
  height: 24,
43
- viewBox: "-4 -4 24 24",
43
+ viewBox: "-8 -8 32 32",
44
44
  fill: "none",
45
45
  xmlns: "http://www.w3.org/2000/svg",
46
46
  role: "presentation",
47
47
  css: [svgStyles, svgSizeStyles]
48
48
  }, (0, _react.jsx)("circle", {
49
49
  cx: "8",
50
- cy: "4",
51
- r: "1.5",
50
+ cy: "2.75",
51
+ r: "1.75",
52
52
  fill: "currentColor"
53
53
  }), (0, _react.jsx)("circle", {
54
54
  cx: "8",
55
55
  cy: "8",
56
- r: "1.5",
56
+ r: "1.75",
57
57
  fill: "currentColor"
58
58
  }), (0, _react.jsx)("circle", {
59
59
  cx: "8",
60
- cy: "12",
61
- r: "1.5",
60
+ cy: "13.25",
61
+ r: "1.75",
62
62
  fill: "currentColor"
63
63
  })));
64
64
  };
@@ -33,25 +33,25 @@ export const DragHandleNestedIcon = () => {
33
33
  }, jsx("svg", {
34
34
  width: 24,
35
35
  height: 24,
36
- viewBox: "-4 -4 24 24",
36
+ viewBox: "-8 -8 32 32",
37
37
  fill: "none",
38
38
  xmlns: "http://www.w3.org/2000/svg",
39
39
  role: "presentation",
40
40
  css: [svgStyles, svgSizeStyles]
41
41
  }, jsx("circle", {
42
42
  cx: "8",
43
- cy: "4",
44
- r: "1.5",
43
+ cy: "2.75",
44
+ r: "1.75",
45
45
  fill: "currentColor"
46
46
  }), jsx("circle", {
47
47
  cx: "8",
48
48
  cy: "8",
49
- r: "1.5",
49
+ r: "1.75",
50
50
  fill: "currentColor"
51
51
  }), jsx("circle", {
52
52
  cx: "8",
53
- cy: "12",
54
- r: "1.5",
53
+ cy: "13.25",
54
+ r: "1.75",
55
55
  fill: "currentColor"
56
56
  })));
57
57
  };
@@ -33,25 +33,25 @@ export var DragHandleNestedIcon = function DragHandleNestedIcon() {
33
33
  }, jsx("svg", {
34
34
  width: 24,
35
35
  height: 24,
36
- viewBox: "-4 -4 24 24",
36
+ viewBox: "-8 -8 32 32",
37
37
  fill: "none",
38
38
  xmlns: "http://www.w3.org/2000/svg",
39
39
  role: "presentation",
40
40
  css: [svgStyles, svgSizeStyles]
41
41
  }, jsx("circle", {
42
42
  cx: "8",
43
- cy: "4",
44
- r: "1.5",
43
+ cy: "2.75",
44
+ r: "1.75",
45
45
  fill: "currentColor"
46
46
  }), jsx("circle", {
47
47
  cx: "8",
48
48
  cy: "8",
49
- r: "1.5",
49
+ r: "1.75",
50
50
  fill: "currentColor"
51
51
  }), jsx("circle", {
52
52
  cx: "8",
53
- cy: "12",
54
- r: "1.5",
53
+ cy: "13.25",
54
+ r: "1.75",
55
55
  fill: "currentColor"
56
56
  })));
57
57
  };
@@ -15,8 +15,8 @@ export declare const isNodeWithCodeBlock: (tr: Transaction, start: number, nodeS
15
15
  * @param start The start position of the node.
16
16
  * @returns The appropriate selection for the node.
17
17
  */
18
- export declare const newGetSelection: (doc: PMNode, selectionEmpty: boolean, start: number) => false | NodeSelection | TextSelection;
19
- export declare const getSelection: (tr: Transaction, start: number, api?: ExtractInjectionAPI<BlockControlsPlugin>) => false | NodeSelection | TextSelection;
18
+ export declare const newGetSelection: (doc: PMNode, selectionEmpty: boolean, start: number) => false | TextSelection | NodeSelection;
19
+ export declare const getSelection: (tr: Transaction, start: number, api?: ExtractInjectionAPI<BlockControlsPlugin>) => false | TextSelection | NodeSelection;
20
20
  export declare const selectNode: (tr: Transaction, start: number, nodeType: string, api?: ExtractInjectionAPI<BlockControlsPlugin>) => Transaction;
21
21
  export declare const setCursorPositionAtMovedNode: (tr: Transaction, start: number, api?: ExtractInjectionAPI<BlockControlsPlugin>) => Transaction;
22
22
  /**
@@ -66,4 +66,4 @@ export declare const adjustSelectionBoundsForEdgePositions: ($from: ResolvedPos,
66
66
  * @param $to The resolved position of the end of the selection
67
67
  * @returns A Selection or undefined if selection is invalid
68
68
  */
69
- export declare const createPreservedSelection: ($from: ResolvedPos, $to: ResolvedPos) => NodeSelection | TextSelection | import("@atlaskit/editor-tables").CellSelection | undefined;
69
+ export declare const createPreservedSelection: ($from: ResolvedPos, $to: ResolvedPos) => import("@atlaskit/editor-tables").CellSelection | TextSelection | NodeSelection | undefined;
@@ -32,7 +32,7 @@ export declare const QUICK_INSERT_DIMENSIONS: {
32
32
  export declare const QUICK_INSERT_LEFT_OFFSET = 16;
33
33
  export declare const dragHandleGap: (nodeType: string, parentNodeType?: string) => number;
34
34
  export declare const rootElementGap: (nodeType: string) => number;
35
- export declare const getNestedNodeLeftPaddingMargin: (nodeType?: string) => "8px" | "16px" | "20px" | "24px" | "28px" | "40px";
35
+ export declare const getNestedNodeLeftPaddingMargin: (nodeType?: string) => "40px" | "8px" | "16px" | "20px" | "24px" | "28px";
36
36
  export declare const topPositionAdjustment: (nodeType: string) => number;
37
37
  export declare const dropTargetMarginMap: {
38
38
  [key: number]: string;
@@ -15,8 +15,8 @@ export declare const isNodeWithCodeBlock: (tr: Transaction, start: number, nodeS
15
15
  * @param start The start position of the node.
16
16
  * @returns The appropriate selection for the node.
17
17
  */
18
- export declare const newGetSelection: (doc: PMNode, selectionEmpty: boolean, start: number) => false | NodeSelection | TextSelection;
19
- export declare const getSelection: (tr: Transaction, start: number, api?: ExtractInjectionAPI<BlockControlsPlugin>) => false | NodeSelection | TextSelection;
18
+ export declare const newGetSelection: (doc: PMNode, selectionEmpty: boolean, start: number) => false | TextSelection | NodeSelection;
19
+ export declare const getSelection: (tr: Transaction, start: number, api?: ExtractInjectionAPI<BlockControlsPlugin>) => false | TextSelection | NodeSelection;
20
20
  export declare const selectNode: (tr: Transaction, start: number, nodeType: string, api?: ExtractInjectionAPI<BlockControlsPlugin>) => Transaction;
21
21
  export declare const setCursorPositionAtMovedNode: (tr: Transaction, start: number, api?: ExtractInjectionAPI<BlockControlsPlugin>) => Transaction;
22
22
  /**
@@ -66,4 +66,4 @@ export declare const adjustSelectionBoundsForEdgePositions: ($from: ResolvedPos,
66
66
  * @param $to The resolved position of the end of the selection
67
67
  * @returns A Selection or undefined if selection is invalid
68
68
  */
69
- export declare const createPreservedSelection: ($from: ResolvedPos, $to: ResolvedPos) => NodeSelection | TextSelection | import("@atlaskit/editor-tables").CellSelection | undefined;
69
+ export declare const createPreservedSelection: ($from: ResolvedPos, $to: ResolvedPos) => import("@atlaskit/editor-tables").CellSelection | TextSelection | NodeSelection | undefined;
@@ -32,7 +32,7 @@ export declare const QUICK_INSERT_DIMENSIONS: {
32
32
  export declare const QUICK_INSERT_LEFT_OFFSET = 16;
33
33
  export declare const dragHandleGap: (nodeType: string, parentNodeType?: string) => number;
34
34
  export declare const rootElementGap: (nodeType: string) => number;
35
- export declare const getNestedNodeLeftPaddingMargin: (nodeType?: string) => "8px" | "16px" | "20px" | "24px" | "28px" | "40px";
35
+ export declare const getNestedNodeLeftPaddingMargin: (nodeType?: string) => "40px" | "8px" | "16px" | "20px" | "24px" | "28px";
36
36
  export declare const topPositionAdjustment: (nodeType: string) => number;
37
37
  export declare const dropTargetMarginMap: {
38
38
  [key: number]: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-controls",
3
- "version": "8.1.4",
3
+ "version": "8.1.6",
4
4
  "description": "Block controls plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -37,7 +37,7 @@
37
37
  "@atlaskit/editor-plugin-interaction": "^14.0.0",
38
38
  "@atlaskit/editor-plugin-limited-mode": "^4.0.0",
39
39
  "@atlaskit/editor-plugin-metrics": "^8.0.0",
40
- "@atlaskit/editor-plugin-quick-insert": "^7.1.0",
40
+ "@atlaskit/editor-plugin-quick-insert": "^7.2.0",
41
41
  "@atlaskit/editor-plugin-selection": "^7.0.0",
42
42
  "@atlaskit/editor-plugin-toolbar": "^4.1.0",
43
43
  "@atlaskit/editor-plugin-type-ahead": "^7.0.0",
@@ -54,7 +54,7 @@
54
54
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
55
55
  "@atlaskit/primitives": "^18.0.0",
56
56
  "@atlaskit/theme": "^21.0.0",
57
- "@atlaskit/tmp-editor-statsig": "^19.0.0",
57
+ "@atlaskit/tmp-editor-statsig": "^20.3.0",
58
58
  "@atlaskit/tokens": "^11.0.0",
59
59
  "@atlaskit/tooltip": "^20.14.0",
60
60
  "@babel/runtime": "^7.0.0",