@atlaskit/flag 15.7.2 → 15.7.4

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.7.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 15.7.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 15.7.2
4
16
 
5
17
  ### Patch 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 && Object.prototype.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.7.2";
18
+ var packageVersion = "15.7.4";
19
19
  var AUTO_DISMISS_SECONDS = exports.AUTO_DISMISS_SECONDS = 8;
20
20
 
21
21
  /**
@@ -14,8 +14,8 @@ var _theme = require("./theme");
14
14
  /* eslint-disable @atlaskit/design-system/no-nested-styles */
15
15
  /**
16
16
  * @jsxRuntime classic
17
+ * @jsx jsx
17
18
  */
18
- /** @jsx jsx */
19
19
 
20
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
21
21
 
@@ -16,8 +16,8 @@ var _portal = _interopRequireDefault(require("@atlaskit/portal"));
16
16
  var _constants = require("@atlaskit/theme/constants");
17
17
  /**
18
18
  * @jsxRuntime classic
19
+ * @jsx jsx
19
20
  */
20
- /** @jsx jsx */
21
21
 
22
22
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
23
23
 
package/dist/cjs/flag.js CHANGED
@@ -23,7 +23,8 @@ var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden"
23
23
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
24
24
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /**
25
25
  * @jsxRuntime classic
26
- */ /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
+ * @jsx jsx
27
+ */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
27
28
  var CSS_VAR_ICON_COLOR = '--flag-icon-color';
28
29
 
29
30
  // For cases where a single word is longer than the container (e.g. filenames)
@@ -56,7 +57,7 @@ var flagWrapperStyles = (0, _react2.css)({
56
57
  var analyticsAttributes = {
57
58
  componentName: 'flag',
58
59
  packageName: "@atlaskit/flag",
59
- packageVersion: "15.7.2"
60
+ packageVersion: "15.7.4"
60
61
  };
61
62
  var transitionStyles = (0, _react2.css)({
62
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.7.2";
8
+ const packageVersion = "15.7.4";
9
9
  export const AUTO_DISMISS_SECONDS = 8;
10
10
 
11
11
  /**
@@ -1,8 +1,8 @@
1
1
  /* eslint-disable @atlaskit/design-system/no-nested-styles */
2
2
  /**
3
3
  * @jsxRuntime classic
4
+ * @jsx jsx
4
5
  */
5
- /** @jsx jsx */
6
6
 
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
8
  import { css, jsx } from '@emotion/react';
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
 
6
6
  import { Children, createContext, useContext, useMemo } from 'react';
7
7
 
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /**
3
3
  * @jsxRuntime classic
4
+ * @jsx jsx
4
5
  */
5
- /** @jsx jsx */
6
6
  import { useCallback, useEffect, useState } from 'react';
7
7
 
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -49,7 +49,7 @@ const flagWrapperStyles = css({
49
49
  const analyticsAttributes = {
50
50
  componentName: 'flag',
51
51
  packageName: "@atlaskit/flag",
52
- packageVersion: "15.7.2"
52
+ packageVersion: "15.7.4"
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.7.2";
8
+ var packageVersion = "15.7.4";
9
9
  export var AUTO_DISMISS_SECONDS = 8;
10
10
 
11
11
  /**
@@ -2,8 +2,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /* eslint-disable @atlaskit/design-system/no-nested-styles */
3
3
  /**
4
4
  * @jsxRuntime classic
5
+ * @jsx jsx
5
6
  */
6
- /** @jsx jsx */
7
7
 
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
9
  import { css, jsx } from '@emotion/react';
@@ -1,8 +1,8 @@
1
1
  import _typeof from "@babel/runtime/helpers/typeof";
2
2
  /**
3
3
  * @jsxRuntime classic
4
+ * @jsx jsx
4
5
  */
5
- /** @jsx jsx */
6
6
 
7
7
  import { Children, createContext, useContext, useMemo } from 'react';
8
8
 
package/dist/esm/flag.js CHANGED
@@ -5,8 +5,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
6
  /**
7
7
  * @jsxRuntime classic
8
+ * @jsx jsx
8
9
  */
9
- /** @jsx jsx */
10
10
  import { useCallback, useEffect, useState } from 'react';
11
11
 
12
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -53,7 +53,7 @@ var flagWrapperStyles = css({
53
53
  var analyticsAttributes = {
54
54
  componentName: 'flag',
55
55
  packageName: "@atlaskit/flag",
56
- packageVersion: "15.7.2"
56
+ packageVersion: "15.7.4"
57
57
  };
58
58
  var transitionStyles = css({
59
59
  flexGrow: 1,
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import { type ComponentType, type FC } from 'react';
6
6
  import type { CustomThemeButtonProps } from '@atlaskit/button/types';
7
7
  import type { ActionsType, AppearanceTypes } from './types';
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import { type FC } from 'react';
6
6
  import type { FlagProps } from './types';
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import { type ComponentType, type FC } from 'react';
6
6
  import type { CustomThemeButtonProps } from '@atlaskit/button/types';
7
7
  import type { ActionsType, AppearanceTypes } from './types';
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import { type FC } from 'react';
6
6
  import type { FlagProps } from './types';
7
7
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "15.7.2",
3
+ "version": "15.7.4",
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/"
@@ -46,16 +46,16 @@
46
46
  "./types": "./src/types.tsx"
47
47
  },
48
48
  "dependencies": {
49
- "@atlaskit/analytics-next": "^9.3.0",
50
- "@atlaskit/button": "^18.4.0",
49
+ "@atlaskit/analytics-next": "^10.0.0",
50
+ "@atlaskit/button": "^19.1.0",
51
51
  "@atlaskit/ds-lib": "^2.3.0",
52
52
  "@atlaskit/heading": "^2.4.0",
53
- "@atlaskit/icon": "^22.6.0",
53
+ "@atlaskit/icon": "^22.10.0",
54
54
  "@atlaskit/motion": "^1.7.0",
55
55
  "@atlaskit/portal": "^4.6.0",
56
- "@atlaskit/primitives": "^11.0.0",
56
+ "@atlaskit/primitives": "^11.1.0",
57
57
  "@atlaskit/theme": "^12.11.0",
58
- "@atlaskit/tokens": "^1.54.0",
58
+ "@atlaskit/tokens": "^1.57.0",
59
59
  "@atlaskit/visually-hidden": "^1.4.0",
60
60
  "@babel/runtime": "^7.0.0",
61
61
  "@emotion/react": "^11.7.1"
@@ -1,5 +0,0 @@
1
- import { type CreateFlagArgs } from '../src';
2
-
3
- export default function ShowFlagArgs(props: CreateFlagArgs) {
4
- return null;
5
- }