@atlaskit/editor-plugin-guideline 0.3.12 → 0.3.13

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,11 @@
1
1
  # @atlaskit/editor-plugin-guideline
2
2
 
3
+ ## 0.3.13
4
+
5
+ ### Patch Changes
6
+
7
+ - [`51e6a0128eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/51e6a0128eb) - ED-18969 Implemented relative guideline
8
+
3
9
  ## 0.3.12
4
10
 
5
11
  ### Patch Changes
@@ -40,14 +40,14 @@ var hiddenGuidelineStyles = (0, _react.css)({
40
40
  opacity: 0
41
41
  });
42
42
  var dashedGuidelineStyles = (0, _react.css)({
43
- borderLeftStyle: 'dashed'
43
+ borderStyle: 'dashed'
44
44
  });
45
45
  var verticalCapStyles = (0, _react.css)({
46
46
  '&:before, &:after': {
47
47
  backgroundColor: "var(--ds-border-disabled, ".concat(_colors.N30A, ")"),
48
48
  content: '""',
49
49
  position: 'absolute',
50
- height: '10px',
50
+ height: '5px',
51
51
  width: '1px',
52
52
  transform: 'translateY(-50%)'
53
53
  },
@@ -61,7 +61,7 @@ var horizontalCapStyles = (0, _react.css)({
61
61
  content: '""',
62
62
  position: 'absolute',
63
63
  height: '1px',
64
- width: '10px',
64
+ width: '5px',
65
65
  transform: 'translateX(-50%)'
66
66
  },
67
67
  '&:after': {
@@ -31,14 +31,14 @@ const hiddenGuidelineStyles = css({
31
31
  opacity: 0
32
32
  });
33
33
  const dashedGuidelineStyles = css({
34
- borderLeftStyle: 'dashed'
34
+ borderStyle: 'dashed'
35
35
  });
36
36
  const verticalCapStyles = css({
37
37
  '&:before, &:after': {
38
38
  backgroundColor: `var(--ds-border-disabled, ${N30A})`,
39
39
  content: '""',
40
40
  position: 'absolute',
41
- height: '10px',
41
+ height: '5px',
42
42
  width: '1px',
43
43
  transform: 'translateY(-50%)'
44
44
  },
@@ -52,7 +52,7 @@ const horizontalCapStyles = css({
52
52
  content: '""',
53
53
  position: 'absolute',
54
54
  height: '1px',
55
- width: '10px',
55
+ width: '5px',
56
56
  transform: 'translateX(-50%)'
57
57
  },
58
58
  '&:after': {
@@ -34,14 +34,14 @@ var hiddenGuidelineStyles = css({
34
34
  opacity: 0
35
35
  });
36
36
  var dashedGuidelineStyles = css({
37
- borderLeftStyle: 'dashed'
37
+ borderStyle: 'dashed'
38
38
  });
39
39
  var verticalCapStyles = css({
40
40
  '&:before, &:after': {
41
41
  backgroundColor: "var(--ds-border-disabled, ".concat(N30A, ")"),
42
42
  content: '""',
43
43
  position: 'absolute',
44
- height: '10px',
44
+ height: '5px',
45
45
  width: '1px',
46
46
  transform: 'translateY(-50%)'
47
47
  },
@@ -55,7 +55,7 @@ var horizontalCapStyles = css({
55
55
  content: '""',
56
56
  position: 'absolute',
57
57
  height: '1px',
58
- width: '10px',
58
+ width: '5px',
59
59
  transform: 'translateX(-50%)'
60
60
  },
61
61
  '&:after': {
@@ -1,4 +1,4 @@
1
1
  /** @jsx jsx */
2
2
  import { jsx } from '@emotion/react';
3
- import { GuidelineConfig } from './types';
3
+ import type { GuidelineConfig } from './types';
4
4
  export declare const Guideline: (props: Omit<GuidelineConfig, 'key'>) => jsx.JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /** @jsx jsx */
2
2
  import { jsx } from '@emotion/react';
3
- import { GuidelineConfig } from './types';
3
+ import type { GuidelineConfig } from './types';
4
4
  export declare const Guideline: (props: Omit<GuidelineConfig, 'key'>) => jsx.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-guideline",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "description": "guideline plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -23,7 +23,7 @@
23
23
  ".": "./src/index.ts"
24
24
  },
25
25
  "dependencies": {
26
- "@atlaskit/editor-common": "^74.42.0",
26
+ "@atlaskit/editor-common": "^74.46.0",
27
27
  "@atlaskit/editor-plugin-width": "^0.1.0",
28
28
  "@atlaskit/editor-prosemirror": "1.1.0",
29
29
  "@atlaskit/editor-shared-styles": "^2.6.0",
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/editor-plugin-guideline",
3
- "version": "0.3.12",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/editor-plugin-guideline",
3
- "version": "0.3.12",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/editor-plugin-guideline",
3
- "version": "0.3.12",
4
- "sideEffects": false
5
- }