@atlaskit/flag 15.2.10 → 15.2.12

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/flag
2
2
 
3
+ ## 15.2.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 15.2.11
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 15.2.10
4
16
 
5
17
  ### 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.2.10";
18
+ var packageVersion = "15.2.12";
19
19
  var AUTO_DISMISS_SECONDS = 8;
20
20
 
21
21
  /**
@@ -16,7 +16,7 @@ var _theme = require("./theme");
16
16
 
17
17
  var buttonStyles = (0, _react.css)({
18
18
  '&&, a&&': {
19
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
19
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
20
20
  padding: "0 ".concat("var(--ds-space-100, 8px)", " !important"),
21
21
  background: "var(".concat(_constants.VAR_BG_COLOR, ")"),
22
22
  color: "var(".concat(_constants.VAR_COLOR, ") !important"),
@@ -34,7 +34,7 @@ var buttonStyles = (0, _react.css)({
34
34
  });
35
35
  var appearanceNormalButtonStyles = (0, _react.css)({
36
36
  '&&, a&&': {
37
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
37
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
38
38
  padding: '0 !important'
39
39
  }
40
40
  });
package/dist/cjs/flag.js CHANGED
@@ -43,7 +43,7 @@ var flagWrapperStyles = (0, _react2.css)({
43
43
  var analyticsAttributes = {
44
44
  componentName: 'flag',
45
45
  packageName: "@atlaskit/flag",
46
- packageVersion: "15.2.10"
46
+ packageVersion: "15.2.12"
47
47
  };
48
48
  var transitionStyles = (0, _react2.css)({
49
49
  flexGrow: 1,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.2.10",
3
+ "version": "15.2.12",
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.2.10";
8
+ const packageVersion = "15.2.12";
9
9
  export const AUTO_DISMISS_SECONDS = 8;
10
10
 
11
11
  /**
@@ -8,7 +8,7 @@ import { DEFAULT_APPEARANCE, VAR_COLOR, VAR_BG_COLOR, VAR_BG_COLOR_HOVER, VAR_BG
8
8
  import { actionBackgroundColor, actionTextColor } from './theme';
9
9
  const buttonStyles = css({
10
10
  '&&, a&&': {
11
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
11
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
12
12
  padding: `0 ${"var(--ds-space-100, 8px)"} !important`,
13
13
  background: `var(${VAR_BG_COLOR})`,
14
14
  color: `var(${VAR_COLOR}) !important`,
@@ -26,7 +26,7 @@ const buttonStyles = css({
26
26
  });
27
27
  const appearanceNormalButtonStyles = css({
28
28
  '&&, a&&': {
29
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
29
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
30
30
  padding: '0 !important'
31
31
  }
32
32
  });
@@ -33,7 +33,7 @@ const flagWrapperStyles = css({
33
33
  const analyticsAttributes = {
34
34
  componentName: 'flag',
35
35
  packageName: "@atlaskit/flag",
36
- packageVersion: "15.2.10"
36
+ packageVersion: "15.2.12"
37
37
  };
38
38
  const transitionStyles = css({
39
39
  flexGrow: 1,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.2.10",
3
+ "version": "15.2.12",
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.2.10";
8
+ var packageVersion = "15.2.12";
9
9
  export var AUTO_DISMISS_SECONDS = 8;
10
10
 
11
11
  /**
@@ -9,7 +9,7 @@ import { DEFAULT_APPEARANCE, VAR_COLOR, VAR_BG_COLOR, VAR_BG_COLOR_HOVER, VAR_BG
9
9
  import { actionBackgroundColor, actionTextColor } from './theme';
10
10
  var buttonStyles = css({
11
11
  '&&, a&&': {
12
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
12
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
13
13
  padding: "0 ".concat("var(--ds-space-100, 8px)", " !important"),
14
14
  background: "var(".concat(VAR_BG_COLOR, ")"),
15
15
  color: "var(".concat(VAR_COLOR, ") !important"),
@@ -27,7 +27,7 @@ var buttonStyles = css({
27
27
  });
28
28
  var appearanceNormalButtonStyles = css({
29
29
  '&&, a&&': {
30
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
30
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
31
31
  padding: '0 !important'
32
32
  }
33
33
  });
package/dist/esm/flag.js CHANGED
@@ -37,7 +37,7 @@ var flagWrapperStyles = css({
37
37
  var analyticsAttributes = {
38
38
  componentName: 'flag',
39
39
  packageName: "@atlaskit/flag",
40
- packageVersion: "15.2.10"
40
+ packageVersion: "15.2.12"
41
41
  };
42
42
  var transitionStyles = css({
43
43
  flexGrow: 1,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.2.10",
3
+ "version": "15.2.12",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.2.10",
3
+ "version": "15.2.12",
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/"
@@ -50,9 +50,9 @@
50
50
  "@atlaskit/icon": "^21.12.0",
51
51
  "@atlaskit/motion": "^1.4.0",
52
52
  "@atlaskit/portal": "^4.3.0",
53
- "@atlaskit/primitives": "~0.14.0",
53
+ "@atlaskit/primitives": "~0.16.0",
54
54
  "@atlaskit/theme": "^12.5.0",
55
- "@atlaskit/tokens": "^1.9.0",
55
+ "@atlaskit/tokens": "^1.11.0",
56
56
  "@atlaskit/visually-hidden": "^1.2.0",
57
57
  "@babel/runtime": "^7.0.0",
58
58
  "@emotion/react": "^11.7.1"
@@ -61,10 +61,6 @@
61
61
  "react": "^16.8.0"
62
62
  },
63
63
  "devDependencies": {
64
- "@atlaskit/docs": "*",
65
- "@atlaskit/radio": "^5.6.0",
66
- "@atlaskit/section-message": "^6.4.0",
67
- "@atlaskit/spinner": "^15.5.0",
68
64
  "@atlaskit/ssr": "*",
69
65
  "@atlaskit/theme": "^12.5.0",
70
66
  "@atlaskit/visual-regression": "*",
@@ -72,6 +68,7 @@
72
68
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
73
69
  "@emotion/jest": "^11.8.0",
74
70
  "@testing-library/react": "^12.1.5",
71
+ "jest-axe": "^4.0.0",
75
72
  "jest-emotion": "^10.0.32",
76
73
  "react-dom": "^16.8.0",
77
74
  "storybook-addon-performance": "^0.16.0",
@@ -109,4 +106,4 @@
109
106
  },
110
107
  "homepage": "https://atlassian.design/components/flag/",
111
108
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
112
- }
109
+ }