@atlaskit/flag 15.9.0 → 15.9.1

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.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 15.9.0
4
10
 
5
11
  ### Minor Changes
@@ -15,7 +15,7 @@ var _flagGroup = require("./flag-group");
15
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
17
17
  var packageName = "@atlaskit/flag";
18
- var packageVersion = "15.9.0";
18
+ var packageVersion = "15.9.1";
19
19
  var AUTO_DISMISS_SECONDS = exports.AUTO_DISMISS_SECONDS = 8;
20
20
 
21
21
  /**
package/dist/cjs/flag.js CHANGED
@@ -57,7 +57,7 @@ var flagWrapperStyles = (0, _react2.css)({
57
57
  var analyticsAttributes = {
58
58
  componentName: 'flag',
59
59
  packageName: "@atlaskit/flag",
60
- packageVersion: "15.9.0"
60
+ packageVersion: "15.9.1"
61
61
  };
62
62
  var transitionStyles = (0, _react2.css)({
63
63
  flexGrow: 1,
@@ -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.9.0";
8
+ const packageVersion = "15.9.1";
9
9
  export const AUTO_DISMISS_SECONDS = 8;
10
10
 
11
11
  /**
@@ -49,7 +49,7 @@ const flagWrapperStyles = css({
49
49
  const analyticsAttributes = {
50
50
  componentName: 'flag',
51
51
  packageName: "@atlaskit/flag",
52
- packageVersion: "15.9.0"
52
+ packageVersion: "15.9.1"
53
53
  };
54
54
  const transitionStyles = css({
55
55
  flexGrow: 1,
@@ -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.9.0";
8
+ var packageVersion = "15.9.1";
9
9
  export var AUTO_DISMISS_SECONDS = 8;
10
10
 
11
11
  /**
package/dist/esm/flag.js CHANGED
@@ -53,7 +53,7 @@ var flagWrapperStyles = css({
53
53
  var analyticsAttributes = {
54
54
  componentName: 'flag',
55
55
  packageName: "@atlaskit/flag",
56
- packageVersion: "15.9.0"
56
+ packageVersion: "15.9.1"
57
57
  };
58
58
  var transitionStyles = css({
59
59
  flexGrow: 1,
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AutoDismissFlagProps } from './types';
3
3
  export declare const AUTO_DISMISS_SECONDS = 8;
4
4
  /**
@@ -9,5 +9,5 @@ export declare const AUTO_DISMISS_SECONDS = 8;
9
9
  * - [Examples](https://atlassian.design/components/flag/auto-dismiss-flag/examples)
10
10
  * - [Code](https://atlassian.design/components/flag/auto-dismiss-flag/code)
11
11
  */
12
- declare const AutoDismissFlag: (props: AutoDismissFlagProps) => JSX.Element;
12
+ declare const AutoDismissFlag: (props: AutoDismissFlagProps) => React.JSX.Element;
13
13
  export default AutoDismissFlag;
@@ -29,6 +29,6 @@ export declare function useFlags(): FlagAPI;
29
29
  export declare function FlagsProvider({ children, shouldRenderToParent, }: {
30
30
  children: React.ReactNode;
31
31
  shouldRenderToParent?: boolean;
32
- }): JSX.Element;
32
+ }): React.JSX.Element;
33
33
  export declare const withFlagsProvider: (fn: () => React.ReactNode) => React.ReactNode;
34
34
  export {};
@@ -7,5 +7,5 @@ interface DismissButtonProps {
7
7
  isBold: boolean;
8
8
  testId?: string;
9
9
  }
10
- declare const DismissButton: React.MemoExoticComponent<({ appearance, onClick, isBold, isExpanded, testId, }: DismissButtonProps) => JSX.Element>;
10
+ declare const DismissButton: React.MemoExoticComponent<({ appearance, onClick, isBold, isExpanded, testId, }: DismissButtonProps) => React.JSX.Element>;
11
11
  export default DismissButton;
@@ -4,5 +4,5 @@ type ExpanderProps = {
4
4
  testId?: string;
5
5
  children: React.ReactNode;
6
6
  };
7
- declare const Expander: ({ children, isExpanded, testId }: ExpanderProps) => JSX.Element;
7
+ declare const Expander: ({ children, isExpanded, testId }: ExpanderProps) => React.JSX.Element;
8
8
  export default Expander;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AutoDismissFlagProps } from './types';
3
3
  export declare const AUTO_DISMISS_SECONDS = 8;
4
4
  /**
@@ -9,5 +9,5 @@ export declare const AUTO_DISMISS_SECONDS = 8;
9
9
  * - [Examples](https://atlassian.design/components/flag/auto-dismiss-flag/examples)
10
10
  * - [Code](https://atlassian.design/components/flag/auto-dismiss-flag/code)
11
11
  */
12
- declare const AutoDismissFlag: (props: AutoDismissFlagProps) => JSX.Element;
12
+ declare const AutoDismissFlag: (props: AutoDismissFlagProps) => React.JSX.Element;
13
13
  export default AutoDismissFlag;
@@ -29,6 +29,6 @@ export declare function useFlags(): FlagAPI;
29
29
  export declare function FlagsProvider({ children, shouldRenderToParent, }: {
30
30
  children: React.ReactNode;
31
31
  shouldRenderToParent?: boolean;
32
- }): JSX.Element;
32
+ }): React.JSX.Element;
33
33
  export declare const withFlagsProvider: (fn: () => React.ReactNode) => React.ReactNode;
34
34
  export {};
@@ -7,5 +7,5 @@ interface DismissButtonProps {
7
7
  isBold: boolean;
8
8
  testId?: string;
9
9
  }
10
- declare const DismissButton: React.MemoExoticComponent<({ appearance, onClick, isBold, isExpanded, testId, }: DismissButtonProps) => JSX.Element>;
10
+ declare const DismissButton: React.MemoExoticComponent<({ appearance, onClick, isBold, isExpanded, testId, }: DismissButtonProps) => React.JSX.Element>;
11
11
  export default DismissButton;
@@ -4,5 +4,5 @@ type ExpanderProps = {
4
4
  testId?: string;
5
5
  children: React.ReactNode;
6
6
  };
7
- declare const Expander: ({ children, isExpanded, testId }: ExpanderProps) => JSX.Element;
7
+ declare const Expander: ({ children, isExpanded, testId }: ExpanderProps) => React.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.9.0",
3
+ "version": "15.9.1",
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/"
@@ -45,14 +45,14 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@atlaskit/analytics-next": "^10.3.0",
48
- "@atlaskit/button": "^20.4.0",
48
+ "@atlaskit/button": "^20.5.0",
49
49
  "@atlaskit/ds-lib": "^3.5.0",
50
50
  "@atlaskit/heading": "^4.1.0",
51
- "@atlaskit/icon": "^23.5.0",
51
+ "@atlaskit/icon": "^23.7.0",
52
52
  "@atlaskit/motion": "^1.10.0",
53
53
  "@atlaskit/portal": "^4.11.0",
54
54
  "@atlaskit/primitives": "^13.4.0",
55
- "@atlaskit/theme": "^14.1.0",
55
+ "@atlaskit/theme": "^15.0.0",
56
56
  "@atlaskit/tokens": "^3.3.0",
57
57
  "@atlaskit/visually-hidden": "^1.6.0",
58
58
  "@babel/runtime": "^7.0.0",