@atlaskit/flag 15.2.2 → 15.2.3

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.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers.
8
+
3
9
  ## 15.2.2
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.2.2";
18
+ var packageVersion = "15.2.3";
19
19
  var AUTO_DISMISS_SECONDS = 8;
20
20
 
21
21
  /**
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.2.2"
29
+ packageVersion: "15.2.3"
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.2.2",
3
+ "version": "15.2.3",
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.2";
8
+ const packageVersion = "15.2.3";
9
9
  export const AUTO_DISMISS_SECONDS = 8;
10
10
 
11
11
  /**
@@ -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.2.2"
19
+ packageVersion: "15.2.3"
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.2.2",
3
+ "version": "15.2.3",
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.2";
8
+ var packageVersion = "15.2.3";
9
9
  export var AUTO_DISMISS_SECONDS = 8;
10
10
 
11
11
  /**
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.2.2"
23
+ packageVersion: "15.2.3"
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.2.2",
3
+ "version": "15.2.3",
4
4
  "sideEffects": false
5
5
  }
@@ -4,5 +4,5 @@ type ExpanderProps = {
4
4
  testId?: string;
5
5
  children: React.ReactNode;
6
6
  };
7
- declare const Expander: React.FC<ExpanderProps>;
7
+ declare const Expander: ({ children, isExpanded, testId }: ExpanderProps) => JSX.Element;
8
8
  export default Expander;
@@ -4,5 +4,5 @@ type ExpanderProps = {
4
4
  testId?: string;
5
5
  children: React.ReactNode;
6
6
  };
7
- declare const Expander: React.FC<ExpanderProps>;
7
+ declare const Expander: ({ children, isExpanded, testId }: ExpanderProps) => JSX.Element;
8
8
  export default Expander;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.2.2",
3
+ "version": "15.2.3",
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/"
@@ -44,7 +44,7 @@
44
44
  "dependencies": {
45
45
  "@atlaskit/analytics-next": "^9.1.0",
46
46
  "@atlaskit/button": "^16.7.0",
47
- "@atlaskit/ds-explorations": "^2.1.0",
47
+ "@atlaskit/ds-explorations": "^2.2.0",
48
48
  "@atlaskit/ds-lib": "^2.2.0",
49
49
  "@atlaskit/focus-ring": "^1.3.0",
50
50
  "@atlaskit/icon": "^21.12.0",
@@ -52,7 +52,7 @@
52
52
  "@atlaskit/portal": "^4.3.0",
53
53
  "@atlaskit/primitives": "^0.9.0",
54
54
  "@atlaskit/theme": "^12.5.0",
55
- "@atlaskit/tokens": "^1.4.0",
55
+ "@atlaskit/tokens": "^1.5.0",
56
56
  "@atlaskit/visually-hidden": "^1.2.0",
57
57
  "@babel/runtime": "^7.0.0",
58
58
  "@emotion/react": "^11.7.1"
@@ -62,7 +62,7 @@
62
62
  },
63
63
  "devDependencies": {
64
64
  "@atlaskit/docs": "*",
65
- "@atlaskit/radio": "^5.5.0",
65
+ "@atlaskit/radio": "^5.6.0",
66
66
  "@atlaskit/section-message": "^6.4.0",
67
67
  "@atlaskit/spinner": "^15.5.0",
68
68
  "@atlaskit/ssr": "*",