@atlaskit/flag 15.1.5 → 15.2.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,21 @@
1
1
  # @atlaskit/flag
2
2
 
3
+ ## 15.2.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
+
13
+ ## 15.1.6
14
+
15
+ ### Patch Changes
16
+
17
+ - [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal changes.
18
+
3
19
  ## 15.1.5
4
20
 
5
21
  ### Patch Changes
@@ -15,7 +15,7 @@ var _flagGroup = require("./flag-group");
15
15
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
16
16
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
17
  var packageName = "@atlaskit/flag";
18
- var packageVersion = "15.1.5";
18
+ var packageVersion = "15.2.0";
19
19
  var AUTO_DISMISS_SECONDS = 8;
20
20
 
21
21
  /**
@@ -44,6 +44,7 @@ function useFlagGroup() {
44
44
  // that causes a broken transition
45
45
  var baseStyles = (0, _react2.css)({
46
46
  width: flagWidth,
47
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
47
48
  bottom: 0,
48
49
  transition: "transform ".concat(flagAnimationTime, "ms ease-in-out"),
49
50
  '@media (max-width: 560px)': {
@@ -79,10 +80,14 @@ var dismissAllowedStyles = (0, _react2.css)({
79
80
  });
80
81
  var flagGroupContainerStyles = (0, _react2.css)({
81
82
  zIndex: _constants.layers.flag(),
83
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
82
84
  bottom: flagBottom,
85
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
83
86
  left: flagLeft,
84
87
  '@media (max-width: 560px)': {
88
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
85
89
  bottom: 0,
90
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
86
91
  left: 0
87
92
  }
88
93
  });
package/dist/cjs/flag.js CHANGED
@@ -26,7 +26,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
26
26
  var analyticsAttributes = {
27
27
  componentName: 'flag',
28
28
  packageName: "@atlaskit/flag",
29
- packageVersion: "15.1.5"
29
+ packageVersion: "15.2.0"
30
30
  };
31
31
  var transitionStyles = (0, _react2.css)({
32
32
  flexGrow: 1,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.1.5",
3
+ "version": "15.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -5,7 +5,7 @@ import noop from '@atlaskit/ds-lib/noop';
5
5
  import Flag from './flag';
6
6
  import { useFlagGroup } from './flag-group';
7
7
  const packageName = "@atlaskit/flag";
8
- const packageVersion = "15.1.5";
8
+ const packageVersion = "15.2.0";
9
9
  export const AUTO_DISMISS_SECONDS = 8;
10
10
 
11
11
  /**
@@ -30,6 +30,7 @@ export function useFlagGroup() {
30
30
  // that causes a broken transition
31
31
  const baseStyles = css({
32
32
  width: flagWidth,
33
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
33
34
  bottom: 0,
34
35
  transition: `transform ${flagAnimationTime}ms ease-in-out`,
35
36
  '@media (max-width: 560px)': {
@@ -65,10 +66,14 @@ const dismissAllowedStyles = css({
65
66
  });
66
67
  const flagGroupContainerStyles = css({
67
68
  zIndex: layers.flag(),
69
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
68
70
  bottom: flagBottom,
71
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
69
72
  left: flagLeft,
70
73
  '@media (max-width: 560px)': {
74
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
71
75
  bottom: 0,
76
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
72
77
  left: 0
73
78
  }
74
79
  });
@@ -16,7 +16,7 @@ import { Expander, DismissButton } from './internal';
16
16
  const analyticsAttributes = {
17
17
  componentName: 'flag',
18
18
  packageName: "@atlaskit/flag",
19
- packageVersion: "15.1.5"
19
+ packageVersion: "15.2.0"
20
20
  };
21
21
  const transitionStyles = css({
22
22
  flexGrow: 1,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.1.5",
3
+ "version": "15.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -5,7 +5,7 @@ import noop from '@atlaskit/ds-lib/noop';
5
5
  import Flag from './flag';
6
6
  import { useFlagGroup } from './flag-group';
7
7
  var packageName = "@atlaskit/flag";
8
- var packageVersion = "15.1.5";
8
+ var packageVersion = "15.2.0";
9
9
  export var AUTO_DISMISS_SECONDS = 8;
10
10
 
11
11
  /**
@@ -31,6 +31,7 @@ export function useFlagGroup() {
31
31
  // that causes a broken transition
32
32
  var baseStyles = css({
33
33
  width: flagWidth,
34
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
34
35
  bottom: 0,
35
36
  transition: "transform ".concat(flagAnimationTime, "ms ease-in-out"),
36
37
  '@media (max-width: 560px)': {
@@ -66,10 +67,14 @@ var dismissAllowedStyles = css({
66
67
  });
67
68
  var flagGroupContainerStyles = css({
68
69
  zIndex: layers.flag(),
70
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
69
71
  bottom: flagBottom,
72
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
70
73
  left: flagLeft,
71
74
  '@media (max-width: 560px)': {
75
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
72
76
  bottom: 0,
77
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
73
78
  left: 0
74
79
  }
75
80
  });
package/dist/esm/flag.js CHANGED
@@ -20,7 +20,7 @@ import { Expander, DismissButton } from './internal';
20
20
  var analyticsAttributes = {
21
21
  componentName: 'flag',
22
22
  packageName: "@atlaskit/flag",
23
- packageVersion: "15.1.5"
23
+ packageVersion: "15.2.0"
24
24
  };
25
25
  var transitionStyles = css({
26
26
  flexGrow: 1,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.1.5",
3
+ "version": "15.2.0",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.1.5",
3
+ "version": "15.2.0",
4
4
  "description": "A flag is used for confirmations, alerts, and acknowledgments that require minimal user interaction, often displayed using a flag group.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -34,18 +34,18 @@
34
34
  "./types": "./src/types.tsx"
35
35
  },
36
36
  "dependencies": {
37
- "@atlaskit/analytics-next": "^9.0.0",
38
- "@atlaskit/button": "^16.6.0",
39
- "@atlaskit/ds-explorations": "^2.0.0",
40
- "@atlaskit/ds-lib": "^2.1.0",
41
- "@atlaskit/focus-ring": "^1.2.0",
42
- "@atlaskit/icon": "^21.11.0",
43
- "@atlaskit/motion": "^1.3.0",
44
- "@atlaskit/portal": "^4.0.0",
45
- "@atlaskit/primitives": "^0.8.0",
46
- "@atlaskit/theme": "^12.4.0",
47
- "@atlaskit/tokens": "^1.2.0",
48
- "@atlaskit/visually-hidden": "^1.1.0",
37
+ "@atlaskit/analytics-next": "^9.1.0",
38
+ "@atlaskit/button": "^16.7.0",
39
+ "@atlaskit/ds-explorations": "^2.1.0",
40
+ "@atlaskit/ds-lib": "^2.2.0",
41
+ "@atlaskit/focus-ring": "^1.3.0",
42
+ "@atlaskit/icon": "^21.12.0",
43
+ "@atlaskit/motion": "^1.4.0",
44
+ "@atlaskit/portal": "^4.3.0",
45
+ "@atlaskit/primitives": "^0.9.0",
46
+ "@atlaskit/theme": "^12.5.0",
47
+ "@atlaskit/tokens": "^1.3.0",
48
+ "@atlaskit/visually-hidden": "^1.2.0",
49
49
  "@babel/runtime": "^7.0.0",
50
50
  "@emotion/react": "^11.7.1"
51
51
  },
@@ -54,11 +54,11 @@
54
54
  },
55
55
  "devDependencies": {
56
56
  "@atlaskit/docs": "*",
57
- "@atlaskit/radio": "^5.4.0",
58
- "@atlaskit/section-message": "^6.3.0",
59
- "@atlaskit/spinner": "^15.4.0",
57
+ "@atlaskit/radio": "^5.5.0",
58
+ "@atlaskit/section-message": "^6.4.0",
59
+ "@atlaskit/spinner": "^15.5.0",
60
60
  "@atlaskit/ssr": "*",
61
- "@atlaskit/theme": "^12.4.0",
61
+ "@atlaskit/theme": "^12.5.0",
62
62
  "@atlaskit/visual-regression": "*",
63
63
  "@atlaskit/webdriver-runner": "*",
64
64
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",