@atlaskit/flag 15.1.2 → 15.1.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.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 15.1.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.1.2";
18
+ var packageVersion = "15.1.3";
19
19
  var AUTO_DISMISS_SECONDS = 8;
20
20
 
21
21
  /**
package/dist/cjs/flag.js CHANGED
@@ -22,11 +22,11 @@ var _flagActions = _interopRequireDefault(require("./flag-actions"));
22
22
  var _flagGroup = require("./flag-group");
23
23
  var _internal = require("./internal");
24
24
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
25
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
25
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } /** @jsx jsx */
26
26
  var analyticsAttributes = {
27
27
  componentName: 'flag',
28
28
  packageName: "@atlaskit/flag",
29
- packageVersion: "15.1.2"
29
+ packageVersion: "15.1.3"
30
30
  };
31
31
  var transitionStyles = (0, _react2.css)({
32
32
  flexGrow: 1,
package/dist/cjs/types.js CHANGED
@@ -11,4 +11,10 @@ exports.AppearanceArray = void 0;
11
11
  var AppearanceArray = ['error', 'info', 'normal', 'success', 'warning'];
12
12
 
13
13
  // CreateFlagsArg makes id optional so define this prop separately
14
+
15
+ // Normal AutoDismissFlagProps should include the id
16
+
17
+ // This is extended by CreateFlagArgs
18
+
19
+ // Normal FlagProps should include the id
14
20
  exports.AppearanceArray = AppearanceArray;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.1.2",
3
+ "version": "15.1.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.1.2";
8
+ const packageVersion = "15.1.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.1.2"
19
+ packageVersion: "15.1.3"
20
20
  };
21
21
  const transitionStyles = css({
22
22
  flexGrow: 1,
@@ -4,4 +4,10 @@
4
4
  // eslint-disable-next-line @repo/internal/react/require-jsdoc
5
5
  export const AppearanceArray = ['error', 'info', 'normal', 'success', 'warning'];
6
6
 
7
- // CreateFlagsArg makes id optional so define this prop separately
7
+ // CreateFlagsArg makes id optional so define this prop separately
8
+
9
+ // Normal AutoDismissFlagProps should include the id
10
+
11
+ // This is extended by CreateFlagArgs
12
+
13
+ // Normal FlagProps should include the id
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.1.2",
3
+ "version": "15.1.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.1.2";
8
+ var packageVersion = "15.1.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.1.2"
23
+ packageVersion: "15.1.3"
24
24
  };
25
25
  var transitionStyles = css({
26
26
  flexGrow: 1,
package/dist/esm/types.js CHANGED
@@ -4,4 +4,10 @@
4
4
  // eslint-disable-next-line @repo/internal/react/require-jsdoc
5
5
  export var AppearanceArray = ['error', 'info', 'normal', 'success', 'warning'];
6
6
 
7
- // CreateFlagsArg makes id optional so define this prop separately
7
+ // CreateFlagsArg makes id optional so define this prop separately
8
+
9
+ // Normal AutoDismissFlagProps should include the id
10
+
11
+ // This is extended by CreateFlagArgs
12
+
13
+ // Normal FlagProps should include the id
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.1.2",
3
+ "version": "15.1.3",
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.2",
3
+ "version": "15.1.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/"
@@ -42,7 +42,7 @@
42
42
  "@atlaskit/icon": "^21.11.0",
43
43
  "@atlaskit/motion": "^1.3.0",
44
44
  "@atlaskit/portal": "^4.0.0",
45
- "@atlaskit/primitives": "^0.6.0",
45
+ "@atlaskit/primitives": "^0.7.0",
46
46
  "@atlaskit/theme": "^12.3.0",
47
47
  "@atlaskit/tokens": "^1.2.0",
48
48
  "@atlaskit/visually-hidden": "^1.1.0",