@atlaskit/editor-shared-styles 2.3.2 → 2.4.0

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,15 @@
1
1
  # @atlaskit/editor-shared-styles
2
2
 
3
+ ## 2.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
3
13
  ## 2.3.2
4
14
 
5
15
  ### Patch Changes
@@ -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.0",
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.0",
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.0",
4
4
  "sideEffects": false
5
5
  }
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.0",
4
4
  "description": "Style values used in the editor/renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,8 +27,8 @@
27
27
  ".": "./src/index.ts"
28
28
  },
29
29
  "dependencies": {
30
- "@atlaskit/theme": "^12.2.0",
31
- "@atlaskit/tokens": "^1.0.0",
30
+ "@atlaskit/theme": "^12.5.0",
31
+ "@atlaskit/tokens": "^1.3.0",
32
32
  "@babel/runtime": "^7.0.0",
33
33
  "@emotion/react": "^11.7.1"
34
34
  },
@@ -46,11 +46,13 @@
46
46
  },
47
47
  "@repo/internal": {
48
48
  "deprecation": "no-deprecated-imports",
49
- "theming": "tokens",
49
+ "design-tokens": [
50
+ "color"
51
+ ],
50
52
  "styling": [
51
53
  "emotion"
52
54
  ]
53
55
  }
54
56
  },
55
57
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
56
- }
58
+ }