@atlaskit/editor-shared-styles 2.3.2 → 2.4.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,21 @@
1
1
  # @atlaskit/editor-shared-styles
2
2
 
3
+ ## 2.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
8
+
9
+ ## 2.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 2.3.2
4
20
 
5
21
  ### Patch Changes
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/consts/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/consts/index.d.ts"
11
+ "../dist/types-ts4.5/consts/index.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -9,6 +9,7 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
9
9
  var _react = require("@emotion/react");
10
10
  var _constants = require("@atlaskit/theme/constants");
11
11
  var _templateObject;
12
+ /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
12
13
  var overflowShadow = function overflowShadow(_ref) {
13
14
  var background = _ref.background,
14
15
  _ref$width = _ref.width,
@@ -9,11 +9,11 @@ exports.SelectionStyle = void 0;
9
9
  * If you have custom behaviour needed for a node, add that in the plugin's styles
10
10
  * file in editor-core
11
11
  */
12
- var SelectionStyle;
13
- exports.SelectionStyle = SelectionStyle;
14
- (function (SelectionStyle) {
12
+ var SelectionStyle = /*#__PURE__*/function (SelectionStyle) {
15
13
  SelectionStyle[SelectionStyle["Border"] = 0] = "Border";
16
14
  SelectionStyle[SelectionStyle["BoxShadow"] = 1] = "BoxShadow";
17
15
  SelectionStyle[SelectionStyle["Background"] = 2] = "Background";
18
16
  SelectionStyle[SelectionStyle["Blanket"] = 3] = "Blanket";
19
- })(SelectionStyle || (exports.SelectionStyle = SelectionStyle = {}));
17
+ return SelectionStyle;
18
+ }({});
19
+ exports.SelectionStyle = SelectionStyle;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-shared-styles",
3
- "version": "2.3.2",
3
+ "version": "2.4.1",
4
4
  "sideEffects": false
5
5
  }
@@ -3,10 +3,10 @@
3
3
  * If you have custom behaviour needed for a node, add that in the plugin's styles
4
4
  * file in editor-core
5
5
  */
6
- export let SelectionStyle;
7
- (function (SelectionStyle) {
6
+ export let SelectionStyle = /*#__PURE__*/function (SelectionStyle) {
8
7
  SelectionStyle[SelectionStyle["Border"] = 0] = "Border";
9
8
  SelectionStyle[SelectionStyle["BoxShadow"] = 1] = "BoxShadow";
10
9
  SelectionStyle[SelectionStyle["Background"] = 2] = "Background";
11
10
  SelectionStyle[SelectionStyle["Blanket"] = 3] = "Blanket";
12
- })(SelectionStyle || (SelectionStyle = {}));
11
+ return SelectionStyle;
12
+ }({});
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-shared-styles",
3
- "version": "2.3.2",
3
+ "version": "2.4.1",
4
4
  "sideEffects": false
5
5
  }
@@ -3,10 +3,10 @@
3
3
  * If you have custom behaviour needed for a node, add that in the plugin's styles
4
4
  * file in editor-core
5
5
  */
6
- export var SelectionStyle;
7
- (function (SelectionStyle) {
6
+ export var SelectionStyle = /*#__PURE__*/function (SelectionStyle) {
8
7
  SelectionStyle[SelectionStyle["Border"] = 0] = "Border";
9
8
  SelectionStyle[SelectionStyle["BoxShadow"] = 1] = "BoxShadow";
10
9
  SelectionStyle[SelectionStyle["Background"] = 2] = "Background";
11
10
  SelectionStyle[SelectionStyle["Blanket"] = 3] = "Blanket";
12
- })(SelectionStyle || (SelectionStyle = {}));
11
+ return SelectionStyle;
12
+ }({});
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-shared-styles",
3
- "version": "2.3.2",
3
+ "version": "2.4.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,3 +1,3 @@
1
- export declare type EditorTheme = {
1
+ export type EditorTheme = {
2
2
  baseFontSize?: number;
3
3
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-shared-styles",
3
- "version": "2.3.2",
3
+ "version": "2.4.1",
4
4
  "description": "Style values used in the editor/renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -12,6 +12,14 @@
12
12
  "module": "dist/esm/index.js",
13
13
  "module:es2019": "dist/es2019/index.js",
14
14
  "types": "dist/types/index.d.ts",
15
+ "typesVersions": {
16
+ ">=4.5 <4.9": {
17
+ "*": [
18
+ "dist/types-ts4.5/*",
19
+ "dist/types-ts4.5/index.d.ts"
20
+ ]
21
+ }
22
+ },
15
23
  "sideEffects": false,
16
24
  "atlaskit:src": "src/index.ts",
17
25
  "atlassian": {
@@ -27,15 +35,15 @@
27
35
  ".": "./src/index.ts"
28
36
  },
29
37
  "dependencies": {
30
- "@atlaskit/theme": "^12.2.0",
31
- "@atlaskit/tokens": "^1.0.0",
38
+ "@atlaskit/theme": "^12.5.0",
39
+ "@atlaskit/tokens": "^1.4.0",
32
40
  "@babel/runtime": "^7.0.0",
33
41
  "@emotion/react": "^11.7.1"
34
42
  },
35
43
  "peerDependencies": {},
36
44
  "devDependencies": {
37
45
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
38
- "typescript": "4.5.5"
46
+ "typescript": "~4.9.5"
39
47
  },
40
48
  "techstack": {
41
49
  "@atlassian/frontend": {
@@ -46,11 +54,13 @@
46
54
  },
47
55
  "@repo/internal": {
48
56
  "deprecation": "no-deprecated-imports",
49
- "theming": "tokens",
57
+ "design-tokens": [
58
+ "color"
59
+ ],
50
60
  "styling": [
51
61
  "emotion"
52
62
  ]
53
63
  }
54
64
  },
55
65
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
56
- }
66
+ }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/scrollbar-styles.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/scrollbar-styles.d.ts"
11
+ "../dist/types-ts4.5/scrollbar-styles.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/selection/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/selection/index.d.ts"
11
+ "../dist/types-ts4.5/selection/index.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/shortcut/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/shortcut/index.d.ts"
11
+ "../dist/types-ts4.5/shortcut/index.d.ts"
12
12
  ]
13
13
  }
14
14
  }