@atlaskit/right-side-panel 3.0.16 → 3.0.18

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,18 @@
1
1
  # @atlaskit/right-side-panel
2
2
 
3
+ ## 3.0.18
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.0.17
10
+
11
+ ### Patch Changes
12
+
13
+ - [`379cf9c4c25f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/379cf9c4c25f0) -
14
+ Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
15
+
3
16
  ## 3.0.16
4
17
 
5
18
  ### Patch Changes
@@ -23,9 +23,6 @@
23
23
  "../src/**/stories/**/*"
24
24
  ],
25
25
  "references": [
26
- {
27
- "path": "../../../design-system/theme/afm-cc/tsconfig.json"
28
- },
29
26
  {
30
27
  "path": "../../../design-system/tokens/afm-cc/tsconfig.json"
31
28
  }
@@ -23,9 +23,6 @@
23
23
  "../src/**/stories/**/*"
24
24
  ],
25
25
  "references": [
26
- {
27
- "path": "../../../design-system/theme/afm-jira/tsconfig.json"
28
- },
29
26
  {
30
27
  "path": "../../../design-system/tokens/afm-jira/tsconfig.json"
31
28
  }
@@ -23,9 +23,6 @@
23
23
  "../src/**/stories/**/*"
24
24
  ],
25
25
  "references": [
26
- {
27
- "path": "../../../design-system/theme/afm-products/tsconfig.json"
28
- },
29
26
  {
30
27
  "path": "../../../design-system/tokens/afm-products/tsconfig.json"
31
28
  }
@@ -1,5 +1,5 @@
1
1
 
2
- ._1kl75djz{border-left:var(--_1na4za0)}._16jlkb7n{flex-grow:1}
2
+ ._1kl71o0q{border-left:3px solid var(--ds-border,#0b120e24)}._16jlkb7n{flex-grow:1}
3
3
  ._18m915vq{overflow-y:hidden}
4
4
  ._1bsb1xdr{width:var(--_h7eijm)}
5
5
  ._1o9zkb7n{flex-shrink:1}
@@ -10,7 +10,6 @@ require("./styled.compiled.css");
10
10
  var _runtime = require("@compiled/react/runtime");
11
11
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
12
12
  var _react = _interopRequireDefault(require("react"));
13
- var _colors = require("@atlaskit/theme/colors");
14
13
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
15
14
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16
15
  var PANEL_WIDTH = 368;
@@ -54,10 +53,9 @@ var RightSidePanelDrawerContent = exports.RightSidePanelDrawerContent = function
54
53
  _ref2$width = _ref2.width,
55
54
  width = _ref2$width === void 0 ? PANEL_WIDTH : _ref2$width;
56
55
  return /*#__PURE__*/_react.default.createElement("div", {
57
- className: (0, _runtime.ax)(["_16jlkb7n _1o9zkb7n _i0dlf1ug _1reo15vq _18m915vq _1kl75djz _bfhk1bhr _vchhusvi _2lx21bp4 _1bsb1xdr _4t3i1osq _kqsw1n9t"]),
56
+ className: (0, _runtime.ax)(["_16jlkb7n _1o9zkb7n _i0dlf1ug _1reo15vq _18m915vq _1kl71o0q _bfhk1bhr _vchhusvi _2lx21bp4 _1bsb1xdr _4t3i1osq _kqsw1n9t"]),
58
57
  style: {
59
58
  width: "".concat(width, "px"),
60
- "--_1na4za0": (0, _runtime.ix)("3px solid ".concat("var(--ds-border, ".concat(_colors.N30, ")"))),
61
59
  "--_h7eijm": (0, _runtime.ix)("".concat(PANEL_WIDTH, "px"))
62
60
  }
63
61
  }, children);
@@ -1,5 +1,5 @@
1
1
 
2
- ._1kl71osx{border-left:3px solid var(--ds-border,#ebecf0)}._16jlkb7n{flex-grow:1}
2
+ ._1kl71o0q{border-left:3px solid var(--ds-border,#0b120e24)}._16jlkb7n{flex-grow:1}
3
3
  ._18m915vq{overflow-y:hidden}
4
4
  ._1bsb1feq{width:23pc}
5
5
  ._1o9zkb7n{flex-shrink:1}
@@ -2,7 +2,6 @@
2
2
  import "./styled.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
5
- import { N30 } from '@atlaskit/theme/colors';
6
5
  const PANEL_WIDTH = 368;
7
6
  export const transitionDurationMs = 220;
8
7
  const rightSidePanelDrawerStyles = null;
@@ -44,5 +43,5 @@ export const RightSidePanelDrawerContent = ({
44
43
  style: {
45
44
  width: `${width}px`
46
45
  },
47
- className: ax(["_16jlkb7n _1o9zkb7n _i0dlf1ug _1reo15vq _18m915vq _1kl71osx _bfhk1bhr _vchhusvi _2lx21bp4 _1bsb1feq _4t3i1osq _kqsw1n9t"])
46
+ className: ax(["_16jlkb7n _1o9zkb7n _i0dlf1ug _1reo15vq _18m915vq _1kl71o0q _bfhk1bhr _vchhusvi _2lx21bp4 _1bsb1feq _4t3i1osq _kqsw1n9t"])
48
47
  }, children);
@@ -1,5 +1,5 @@
1
1
 
2
- ._1kl75djz{border-left:var(--_1na4za0)}._16jlkb7n{flex-grow:1}
2
+ ._1kl71o0q{border-left:3px solid var(--ds-border,#0b120e24)}._16jlkb7n{flex-grow:1}
3
3
  ._18m915vq{overflow-y:hidden}
4
4
  ._1bsb1xdr{width:var(--_h7eijm)}
5
5
  ._1o9zkb7n{flex-shrink:1}
@@ -5,7 +5,6 @@ import { ax, ix } from "@compiled/react/runtime";
5
5
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
6
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
7
  import React from 'react';
8
- import { N30 } from '@atlaskit/theme/colors';
9
8
  var PANEL_WIDTH = 368;
10
9
  export var transitionDurationMs = 220;
11
10
  var rightSidePanelDrawerStyles = null;
@@ -47,10 +46,9 @@ export var RightSidePanelDrawerContent = function RightSidePanelDrawerContent(_r
47
46
  _ref2$width = _ref2.width,
48
47
  width = _ref2$width === void 0 ? PANEL_WIDTH : _ref2$width;
49
48
  return /*#__PURE__*/React.createElement("div", {
50
- className: ax(["_16jlkb7n _1o9zkb7n _i0dlf1ug _1reo15vq _18m915vq _1kl75djz _bfhk1bhr _vchhusvi _2lx21bp4 _1bsb1xdr _4t3i1osq _kqsw1n9t"]),
49
+ className: ax(["_16jlkb7n _1o9zkb7n _i0dlf1ug _1reo15vq _18m915vq _1kl71o0q _bfhk1bhr _vchhusvi _2lx21bp4 _1bsb1xdr _4t3i1osq _kqsw1n9t"]),
51
50
  style: {
52
51
  width: "".concat(width, "px"),
53
- "--_1na4za0": ix("3px solid ".concat("var(--ds-border, ".concat(N30, ")"))),
54
52
  "--_h7eijm": ix("".concat(PANEL_WIDTH, "px"))
55
53
  }
56
54
  }, children);
package/docs/0-intro.tsx CHANGED
@@ -7,7 +7,7 @@ const intro: React.ReactElement = md`
7
7
  ${(
8
8
  <>
9
9
  {/* eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766 */}
10
- <div style={{ marginBottom: token('space.100', '0.5rem') }}>
10
+ <div style={{ marginBottom: token('space.100') }}>
11
11
  <AtlassianInternalWarning />
12
12
  </div>
13
13
  </>
@@ -73,7 +73,7 @@ const intro: React.ReactElement = md`
73
73
  ${
74
74
  (
75
75
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
76
- <div style={{ paddingTop: token('space.200', '16px') }}>
76
+ <div style={{ paddingTop: token('space.200') }}>
77
77
  <Button
78
78
  onClick={() => window.open('/examples/help/right-side-panel/0-Right-Side-Panel', '_self')}
79
79
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/right-side-panel",
3
- "version": "3.0.16",
3
+ "version": "3.0.18",
4
4
  "description": "A cross-product right-side-panel component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -31,8 +31,7 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/theme": "^22.0.0",
35
- "@atlaskit/tokens": "^11.1.0",
34
+ "@atlaskit/tokens": "^12.0.0",
36
35
  "@babel/runtime": "^7.0.0",
37
36
  "@compiled/react": "^0.20.0",
38
37
  "exenv": "^1.2.2",