@atlaskit/flag 15.0.6 → 15.0.7

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,11 @@
1
1
  # @atlaskit/flag
2
2
 
3
+ ## 15.0.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 15.0.6
4
10
 
5
11
  ### 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.0.6";
18
+ var packageVersion = "15.0.7";
19
19
  var AUTO_DISMISS_SECONDS = 8;
20
20
 
21
21
  /**
@@ -18,6 +18,7 @@ var _theme = require("./theme");
18
18
  var gridSize = (0, _constants.gridSize)();
19
19
  var buttonStyles = (0, _react.css)({
20
20
  '&&, a&&': {
21
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
21
22
  padding: "0 ".concat(gridSize, "px !important"),
22
23
  background: "var(".concat(_constants2.VAR_BG_COLOR, ")"),
23
24
  color: "var(".concat(_constants2.VAR_COLOR, ") !important"),
@@ -38,6 +39,7 @@ var buttonStyles = (0, _react.css)({
38
39
  });
39
40
  var appearanceNormalButtonStyles = (0, _react.css)({
40
41
  '&&, a&&': {
42
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
41
43
  padding: '0 !important'
42
44
  }
43
45
  });
package/dist/cjs/flag.js CHANGED
@@ -24,7 +24,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
24
24
  var analyticsAttributes = {
25
25
  componentName: 'flag',
26
26
  packageName: "@atlaskit/flag",
27
- packageVersion: "15.0.6"
27
+ packageVersion: "15.0.7"
28
28
  };
29
29
 
30
30
  /**
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.0.6",
3
+ "version": "15.0.7",
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.0.6";
8
+ const packageVersion = "15.0.7";
9
9
  export const AUTO_DISMISS_SECONDS = 8;
10
10
 
11
11
  /**
@@ -10,6 +10,7 @@ import { flagFocusRingColor, actionBackgroundColor, actionTextColor } from './th
10
10
  const gridSize = getGridSize();
11
11
  const buttonStyles = css({
12
12
  '&&, a&&': {
13
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
13
14
  padding: `0 ${gridSize}px !important`,
14
15
  background: `var(${VAR_BG_COLOR})`,
15
16
  color: `var(${VAR_COLOR}) !important`,
@@ -30,6 +31,7 @@ const buttonStyles = css({
30
31
  });
31
32
  const appearanceNormalButtonStyles = css({
32
33
  '&&, a&&': {
34
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
33
35
  padding: '0 !important'
34
36
  }
35
37
  });
@@ -14,7 +14,7 @@ import { Expander, DismissButton } from './internal';
14
14
  const analyticsAttributes = {
15
15
  componentName: 'flag',
16
16
  packageName: "@atlaskit/flag",
17
- packageVersion: "15.0.6"
17
+ packageVersion: "15.0.7"
18
18
  };
19
19
 
20
20
  /**
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.0.6",
3
+ "version": "15.0.7",
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.0.6";
8
+ var packageVersion = "15.0.7";
9
9
  export var AUTO_DISMISS_SECONDS = 8;
10
10
 
11
11
  /**
@@ -11,6 +11,7 @@ import { flagFocusRingColor, actionBackgroundColor, actionTextColor } from './th
11
11
  var gridSize = getGridSize();
12
12
  var buttonStyles = css({
13
13
  '&&, a&&': {
14
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
14
15
  padding: "0 ".concat(gridSize, "px !important"),
15
16
  background: "var(".concat(VAR_BG_COLOR, ")"),
16
17
  color: "var(".concat(VAR_COLOR, ") !important"),
@@ -31,6 +32,7 @@ var buttonStyles = css({
31
32
  });
32
33
  var appearanceNormalButtonStyles = css({
33
34
  '&&, a&&': {
35
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
34
36
  padding: '0 !important'
35
37
  }
36
38
  });
package/dist/esm/flag.js CHANGED
@@ -18,7 +18,7 @@ import { Expander, DismissButton } from './internal';
18
18
  var analyticsAttributes = {
19
19
  componentName: 'flag',
20
20
  packageName: "@atlaskit/flag",
21
- packageVersion: "15.0.6"
21
+ packageVersion: "15.0.7"
22
22
  };
23
23
 
24
24
  /**
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.0.6",
3
+ "version": "15.0.7",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.0.6",
3
+ "version": "15.0.7",
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/"
@@ -35,7 +35,7 @@
35
35
  "./types": "./src/types.tsx"
36
36
  },
37
37
  "dependencies": {
38
- "@atlaskit/analytics-next": "^8.0.0",
38
+ "@atlaskit/analytics-next": "^9.0.0",
39
39
  "@atlaskit/button": "^16.5.0",
40
40
  "@atlaskit/ds-explorations": "^2.0.0",
41
41
  "@atlaskit/ds-lib": "^2.1.0",
@@ -44,7 +44,7 @@
44
44
  "@atlaskit/motion": "^1.3.0",
45
45
  "@atlaskit/portal": "^4.0.0",
46
46
  "@atlaskit/theme": "^12.2.0",
47
- "@atlaskit/tokens": "^1.0.0",
47
+ "@atlaskit/tokens": "^1.2.0",
48
48
  "@atlaskit/visually-hidden": "^1.1.0",
49
49
  "@babel/runtime": "^7.0.0",
50
50
  "@emotion/react": "^11.7.1"
@@ -78,7 +78,6 @@
78
78
  "@repo/internal": {
79
79
  "dom-events": "use-bind-event-listener",
80
80
  "design-system": "v1",
81
- "design-tokens": "spacing",
82
81
  "ui-components": [
83
82
  "lite-mode",
84
83
  "primitives"
@@ -86,8 +85,11 @@
86
85
  "analytics": [
87
86
  "analytics-next"
88
87
  ],
88
+ "design-tokens": [
89
+ "color",
90
+ "spacing"
91
+ ],
89
92
  "theming": [
90
- "tokens",
91
93
  "react-context"
92
94
  ],
93
95
  "deprecation": "no-deprecated-imports",