@atlaskit/flag 17.5.0 → 17.5.2
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
|
+
## 17.5.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 17.5.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 17.5.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -959,7 +971,6 @@
|
|
|
959
971
|
well as including fallbacks for non-token environments.
|
|
960
972
|
|
|
961
973
|
Other changes include:
|
|
962
|
-
|
|
963
974
|
- Flag shadow is now the same across normal and bold flags and has been made consistent with
|
|
964
975
|
overlay shadows in other components.
|
|
965
976
|
- Dismiss button is better aligned within the Flag and has a more consistent hit target.
|
|
@@ -1366,7 +1377,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1366
1377
|
|
|
1367
1378
|
In `13.0.0` we bring significant performance improvements as well as improving the experience of
|
|
1368
1379
|
using flag.
|
|
1369
|
-
|
|
1370
1380
|
- Flag no longer has a `peerDependency` on `styled-components@3`. Internally flag is now using
|
|
1371
1381
|
`@emotion/core` for styling
|
|
1372
1382
|
- Change Flag and FlagGroup to use our standardized and performant `@atlaskit/motion` instead of
|
|
@@ -1516,7 +1526,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1516
1526
|
|
|
1517
1527
|
Fixes flag icon being slightly off center.- Updated dependencies
|
|
1518
1528
|
[0603860c07](https://bitbucket.org/atlassian/atlassian-frontend/commits/0603860c07):
|
|
1519
|
-
|
|
1520
1529
|
- @atlaskit/icon@20.0.2
|
|
1521
1530
|
|
|
1522
1531
|
## 12.3.7
|
|
@@ -1527,7 +1536,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1527
1536
|
|
|
1528
1537
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1529
1538
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1530
|
-
|
|
1531
1539
|
- @atlaskit/docs@8.3.2
|
|
1532
1540
|
- @atlaskit/visual-regression@0.1.9
|
|
1533
1541
|
- @atlaskit/analytics-next@6.3.5
|
|
@@ -1743,12 +1751,10 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1743
1751
|
safety. Flow types are no longer provided. No behavioural changes.
|
|
1744
1752
|
|
|
1745
1753
|
**Breaking changes**
|
|
1746
|
-
|
|
1747
1754
|
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1748
1755
|
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
1749
1756
|
|
|
1750
1757
|
**Breaking changes to TypeScript annotations**
|
|
1751
|
-
|
|
1752
1758
|
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
1753
1759
|
props as a generic type.
|
|
1754
1760
|
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
|
|
@@ -1797,7 +1803,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1797
1803
|
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
1798
1804
|
|
|
1799
1805
|
In this PR, we are:
|
|
1800
|
-
|
|
1801
1806
|
- Re-introducing dist build folders
|
|
1802
1807
|
- Adding back cjs
|
|
1803
1808
|
- Replacing es5 by cjs and es2015 by esm
|
|
@@ -1894,7 +1899,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1894
1899
|
## 12.0.3
|
|
1895
1900
|
|
|
1896
1901
|
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
1897
|
-
|
|
1898
1902
|
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
1899
1903
|
Request #5942 for details
|
|
1900
1904
|
|
|
@@ -1911,26 +1915,22 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1911
1915
|
## 12.0.1
|
|
1912
1916
|
|
|
1913
1917
|
- [patch][cdba81d4f2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cdba81d4f2):
|
|
1914
|
-
|
|
1915
1918
|
- export the correct types so typescript usage works correctly
|
|
1916
1919
|
|
|
1917
1920
|
## 12.0.0
|
|
1918
1921
|
|
|
1919
1922
|
- [major][238b65171f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/238b65171f):
|
|
1920
|
-
|
|
1921
1923
|
- @atlaskit/flag has been converted to Typescript. Typescript consumers will now get static type
|
|
1922
1924
|
safety. Flow types are no longer provided. No API or behavioural changes.
|
|
1923
1925
|
|
|
1924
1926
|
## 11.0.1
|
|
1925
1927
|
|
|
1926
1928
|
- [patch][dccab11ef4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dccab11ef4):
|
|
1927
|
-
|
|
1928
1929
|
- Fixed incorrect flag appearing after dismiss a previous one
|
|
1929
1930
|
|
|
1930
1931
|
## 11.0.0
|
|
1931
1932
|
|
|
1932
1933
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
1933
|
-
|
|
1934
1934
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1935
1935
|
this package, please ensure you use at least this version of react and react-dom.
|
|
1936
1936
|
|
|
@@ -1967,7 +1967,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1967
1967
|
## 10.0.4
|
|
1968
1968
|
|
|
1969
1969
|
- [patch][23672bbd2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/23672bbd2d):
|
|
1970
|
-
|
|
1971
1970
|
- Improvement: Align the flag actions with title and text for normal appearance flags
|
|
1972
1971
|
|
|
1973
1972
|
## 10.0.3
|
|
@@ -1979,7 +1978,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1979
1978
|
## 10.0.2
|
|
1980
1979
|
|
|
1981
1980
|
- [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
|
|
1982
|
-
|
|
1983
1981
|
- Removes duplicate babel-runtime dependency
|
|
1984
1982
|
|
|
1985
1983
|
## 10.0.1
|
|
@@ -1998,7 +1996,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1998
1996
|
## 10.0.0
|
|
1999
1997
|
|
|
2000
1998
|
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
2001
|
-
|
|
2002
1999
|
- Drop ES5 from all the flow modules
|
|
2003
2000
|
|
|
2004
2001
|
### Dropping CJS support in all @atlaskit packages
|
|
@@ -14,7 +14,7 @@ var _flag = _interopRequireDefault(require("./flag"));
|
|
|
14
14
|
var _flagGroup = require("./flag-group");
|
|
15
15
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
16
16
|
var packageName = "@atlaskit/flag";
|
|
17
|
-
var packageVersion = "17.
|
|
17
|
+
var packageVersion = "17.5.1";
|
|
18
18
|
var AUTO_DISMISS_SECONDS = exports.AUTO_DISMISS_SECONDS = 8;
|
|
19
19
|
|
|
20
20
|
/**
|
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 = "17.
|
|
8
|
+
const packageVersion = "17.5.1";
|
|
9
9
|
export const AUTO_DISMISS_SECONDS = 8;
|
|
10
10
|
|
|
11
11
|
/**
|
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 = "17.
|
|
8
|
+
var packageVersion = "17.5.1";
|
|
9
9
|
export var AUTO_DISMISS_SECONDS = 8;
|
|
10
10
|
|
|
11
11
|
/**
|
package/dist/esm/flag.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/flag",
|
|
3
|
-
"version": "17.5.
|
|
3
|
+
"version": "17.5.2",
|
|
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/"
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"@atlaskit/motion": "^5.3.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
43
|
"@atlaskit/portal": "^5.1.0",
|
|
44
|
-
"@atlaskit/primitives": "^
|
|
44
|
+
"@atlaskit/primitives": "^16.0.0",
|
|
45
45
|
"@atlaskit/theme": "^21.0.0",
|
|
46
|
-
"@atlaskit/tokens": "^
|
|
46
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
47
47
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@compiled/react": "^0.18.6"
|