@atlaskit/flag 15.9.2 → 15.9.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 +10 -0
- package/dist/cjs/auto-dismiss-flag.js +1 -1
- package/dist/cjs/flag-group.js +1 -3
- package/dist/cjs/flag.js +1 -1
- package/dist/es2019/auto-dismiss-flag.js +1 -1
- package/dist/es2019/flag-group.js +2 -2
- package/dist/es2019/flag.js +1 -1
- package/dist/esm/auto-dismiss-flag.js +1 -1
- package/dist/esm/flag-group.js +2 -4
- package/dist/esm/flag.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/flag
|
|
2
2
|
|
|
3
|
+
## 15.9.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#114382](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114382)
|
|
8
|
+
[`5033cb80b3765`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5033cb80b3765) -
|
|
9
|
+
Updates internal animation logic to leverage static animation timing names, rather than arbitrary
|
|
10
|
+
values.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 15.9.2
|
|
4
14
|
|
|
5
15
|
### 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 && {}.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.
|
|
18
|
+
var packageVersion = "15.9.3";
|
|
19
19
|
var AUTO_DISMISS_SECONDS = exports.AUTO_DISMISS_SECONDS = 8;
|
|
20
20
|
|
|
21
21
|
/**
|
package/dist/cjs/flag-group.js
CHANGED
|
@@ -133,9 +133,7 @@ var FlagGroup = function FlagGroup(props) {
|
|
|
133
133
|
enterFrom: "left",
|
|
134
134
|
fade: "inout",
|
|
135
135
|
duration: "medium",
|
|
136
|
-
animationTimingFunction:
|
|
137
|
-
return _motion.easeIn;
|
|
138
|
-
}
|
|
136
|
+
animationTimingFunction: "ease-in"
|
|
139
137
|
}, function (_ref) {
|
|
140
138
|
var className = _ref.className,
|
|
141
139
|
ref = _ref.ref;
|
package/dist/cjs/flag.js
CHANGED
|
@@ -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.
|
|
8
|
+
const packageVersion = "15.9.3";
|
|
9
9
|
export const AUTO_DISMISS_SECONDS = 8;
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -8,7 +8,7 @@ import { Children, createContext, useContext, useMemo } from 'react';
|
|
|
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';
|
|
10
10
|
import noop from '@atlaskit/ds-lib/noop';
|
|
11
|
-
import { durations,
|
|
11
|
+
import { durations, exitingDurations, ExitingPersistence, SlideIn } from '@atlaskit/motion';
|
|
12
12
|
import Portal from '@atlaskit/portal';
|
|
13
13
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
14
14
|
import { gridSize as getGridSize, layers } from '@atlaskit/theme/constants';
|
|
@@ -119,7 +119,7 @@ const FlagGroup = props => {
|
|
|
119
119
|
enterFrom: "left",
|
|
120
120
|
fade: "inout",
|
|
121
121
|
duration: "medium",
|
|
122
|
-
animationTimingFunction:
|
|
122
|
+
animationTimingFunction: "ease-in"
|
|
123
123
|
}, ({
|
|
124
124
|
className,
|
|
125
125
|
ref
|
package/dist/es2019/flag.js
CHANGED
|
@@ -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.
|
|
8
|
+
var packageVersion = "15.9.3";
|
|
9
9
|
export var AUTO_DISMISS_SECONDS = 8;
|
|
10
10
|
|
|
11
11
|
/**
|
package/dist/esm/flag-group.js
CHANGED
|
@@ -9,7 +9,7 @@ import { Children, createContext, useContext, useMemo } from 'react';
|
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
import { css, jsx } from '@emotion/react';
|
|
11
11
|
import noop from '@atlaskit/ds-lib/noop';
|
|
12
|
-
import { durations,
|
|
12
|
+
import { durations, exitingDurations, ExitingPersistence, SlideIn } from '@atlaskit/motion';
|
|
13
13
|
import Portal from '@atlaskit/portal';
|
|
14
14
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
15
15
|
import { gridSize as getGridSize, layers } from '@atlaskit/theme/constants';
|
|
@@ -124,9 +124,7 @@ var FlagGroup = function FlagGroup(props) {
|
|
|
124
124
|
enterFrom: "left",
|
|
125
125
|
fade: "inout",
|
|
126
126
|
duration: "medium",
|
|
127
|
-
animationTimingFunction:
|
|
128
|
-
return easeIn;
|
|
129
|
-
}
|
|
127
|
+
animationTimingFunction: "ease-in"
|
|
130
128
|
}, function (_ref) {
|
|
131
129
|
var className = _ref.className,
|
|
132
130
|
ref = _ref.ref;
|
package/dist/esm/flag.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/flag",
|
|
3
|
-
"version": "15.9.
|
|
3
|
+
"version": "15.9.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/"
|
|
@@ -48,8 +48,8 @@
|
|
|
48
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.
|
|
52
|
-
"@atlaskit/motion": "^
|
|
51
|
+
"@atlaskit/icon": "^23.9.0",
|
|
52
|
+
"@atlaskit/motion": "^3.0.0",
|
|
53
53
|
"@atlaskit/portal": "^4.11.0",
|
|
54
54
|
"@atlaskit/primitives": "^13.5.0",
|
|
55
55
|
"@atlaskit/theme": "^15.0.0",
|