@atlaskit/drawer 7.3.0 → 7.3.2

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,17 @@
1
1
  # @atlaskit/drawer
2
2
 
3
+ ## 7.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal changes to apply spacing tokens. This should be a no-op change.
8
+
9
+ ## 7.3.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal changes to include spacing tokens in component implementations.
14
+
3
15
  ## 7.3.0
4
16
 
5
17
  ### Minor Changes
@@ -46,7 +46,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
46
46
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
47
47
 
48
48
  var packageName = "@atlaskit/drawer";
49
- var packageVersion = "7.3.0";
49
+ var packageVersion = "7.3.2";
50
50
  var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
51
51
 
52
52
  var createAndFireOnClick = function createAndFireOnClick(createAnalyticsEvent, trigger) {
@@ -17,8 +17,10 @@ var iconButtonStyles = (0, _react.css)({
17
17
  display: 'flex',
18
18
  width: 5 * gridSize,
19
19
  height: 5 * gridSize,
20
- marginBottom: 2 * gridSize,
21
- padding: 0,
20
+ // TODO Delete this comment after verifying spacing token -> previous value `2 * gridSize`
21
+ marginBottom: "var(--ds-scale-200, 16px)",
22
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
23
+ padding: "var(--ds-scale-0, 0px)",
22
24
  alignItems: 'center',
23
25
  justifyContent: 'center',
24
26
  background: 0,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/drawer",
3
- "version": "7.3.0",
3
+ "version": "7.3.2",
4
4
  "sideEffects": false
5
5
  }
@@ -9,7 +9,7 @@ import Blanket from './blanket';
9
9
  import FocusLock from './focus-lock';
10
10
  import DrawerPrimitive from './primitives';
11
11
  const packageName = "@atlaskit/drawer";
12
- const packageVersion = "7.3.0";
12
+ const packageVersion = "7.3.2";
13
13
  const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
14
14
 
15
15
  const createAndFireOnClick = (createAnalyticsEvent, trigger) => createAndFireEventOnAtlaskit({
@@ -7,8 +7,10 @@ const iconButtonStyles = css({
7
7
  display: 'flex',
8
8
  width: 5 * gridSize,
9
9
  height: 5 * gridSize,
10
- marginBottom: 2 * gridSize,
11
- padding: 0,
10
+ // TODO Delete this comment after verifying spacing token -> previous value `2 * gridSize`
11
+ marginBottom: "var(--ds-scale-200, 16px)",
12
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
13
+ padding: "var(--ds-scale-0, 0px)",
12
14
  alignItems: 'center',
13
15
  justifyContent: 'center',
14
16
  background: 0,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/drawer",
3
- "version": "7.3.0",
3
+ "version": "7.3.2",
4
4
  "sideEffects": false
5
5
  }
@@ -19,7 +19,7 @@ import Blanket from './blanket';
19
19
  import FocusLock from './focus-lock';
20
20
  import DrawerPrimitive from './primitives';
21
21
  var packageName = "@atlaskit/drawer";
22
- var packageVersion = "7.3.0";
22
+ var packageVersion = "7.3.2";
23
23
  var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
24
24
 
25
25
  var createAndFireOnClick = function createAndFireOnClick(createAnalyticsEvent, trigger) {
@@ -7,8 +7,10 @@ var iconButtonStyles = css({
7
7
  display: 'flex',
8
8
  width: 5 * gridSize,
9
9
  height: 5 * gridSize,
10
- marginBottom: 2 * gridSize,
11
- padding: 0,
10
+ // TODO Delete this comment after verifying spacing token -> previous value `2 * gridSize`
11
+ marginBottom: "var(--ds-scale-200, 16px)",
12
+ // TODO Delete this comment after verifying spacing token -> previous value `0`
13
+ padding: "var(--ds-scale-0, 0px)",
12
14
  alignItems: 'center',
13
15
  justifyContent: 'center',
14
16
  background: 0,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/drawer",
3
- "version": "7.3.0",
3
+ "version": "7.3.2",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/drawer",
3
- "version": "7.3.0",
3
+ "version": "7.3.2",
4
4
  "description": "A drawer is a panel that slides in from the left side of the screen.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -15,7 +15,8 @@
15
15
  "typesVersions": {
16
16
  ">=4.0 <4.5": {
17
17
  "*": [
18
- "dist/types-ts4.0/*"
18
+ "dist/types-ts4.0/*",
19
+ "dist/types-ts4.0/index.d.ts"
19
20
  ]
20
21
  }
21
22
  },
@@ -23,6 +24,7 @@
23
24
  "atlaskit:src": "src/index.tsx",
24
25
  "homepage": "https://atlassian.design/components/drawer",
25
26
  "atlassian": {
27
+ "disableProductCI": true,
26
28
  "team": "Design System Team",
27
29
  "deprecatedAutoEntryPoints": true,
28
30
  "releaseModel": "scheduled",
@@ -80,6 +82,7 @@
80
82
  "dom-events": "use-bind-event-listener",
81
83
  "design-system": "v1",
82
84
  "analytics": "analytics-next",
85
+ "design-tokens": "spacing",
83
86
  "theming": "tokens",
84
87
  "styling": [
85
88
  "static",