@atlaskit/flag 17.5.0 → 17.5.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
|
+
## 17.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 17.5.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -959,7 +965,6 @@
|
|
|
959
965
|
well as including fallbacks for non-token environments.
|
|
960
966
|
|
|
961
967
|
Other changes include:
|
|
962
|
-
|
|
963
968
|
- Flag shadow is now the same across normal and bold flags and has been made consistent with
|
|
964
969
|
overlay shadows in other components.
|
|
965
970
|
- Dismiss button is better aligned within the Flag and has a more consistent hit target.
|
|
@@ -1366,7 +1371,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1366
1371
|
|
|
1367
1372
|
In `13.0.0` we bring significant performance improvements as well as improving the experience of
|
|
1368
1373
|
using flag.
|
|
1369
|
-
|
|
1370
1374
|
- Flag no longer has a `peerDependency` on `styled-components@3`. Internally flag is now using
|
|
1371
1375
|
`@emotion/core` for styling
|
|
1372
1376
|
- Change Flag and FlagGroup to use our standardized and performant `@atlaskit/motion` instead of
|
|
@@ -1516,7 +1520,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1516
1520
|
|
|
1517
1521
|
Fixes flag icon being slightly off center.- Updated dependencies
|
|
1518
1522
|
[0603860c07](https://bitbucket.org/atlassian/atlassian-frontend/commits/0603860c07):
|
|
1519
|
-
|
|
1520
1523
|
- @atlaskit/icon@20.0.2
|
|
1521
1524
|
|
|
1522
1525
|
## 12.3.7
|
|
@@ -1527,7 +1530,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1527
1530
|
|
|
1528
1531
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1529
1532
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1530
|
-
|
|
1531
1533
|
- @atlaskit/docs@8.3.2
|
|
1532
1534
|
- @atlaskit/visual-regression@0.1.9
|
|
1533
1535
|
- @atlaskit/analytics-next@6.3.5
|
|
@@ -1743,12 +1745,10 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1743
1745
|
safety. Flow types are no longer provided. No behavioural changes.
|
|
1744
1746
|
|
|
1745
1747
|
**Breaking changes**
|
|
1746
|
-
|
|
1747
1748
|
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1748
1749
|
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
1749
1750
|
|
|
1750
1751
|
**Breaking changes to TypeScript annotations**
|
|
1751
|
-
|
|
1752
1752
|
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
1753
1753
|
props as a generic type.
|
|
1754
1754
|
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
|
|
@@ -1797,7 +1797,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1797
1797
|
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
1798
1798
|
|
|
1799
1799
|
In this PR, we are:
|
|
1800
|
-
|
|
1801
1800
|
- Re-introducing dist build folders
|
|
1802
1801
|
- Adding back cjs
|
|
1803
1802
|
- Replacing es5 by cjs and es2015 by esm
|
|
@@ -1894,7 +1893,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1894
1893
|
## 12.0.3
|
|
1895
1894
|
|
|
1896
1895
|
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
1897
|
-
|
|
1898
1896
|
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
1899
1897
|
Request #5942 for details
|
|
1900
1898
|
|
|
@@ -1911,26 +1909,22 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1911
1909
|
## 12.0.1
|
|
1912
1910
|
|
|
1913
1911
|
- [patch][cdba81d4f2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cdba81d4f2):
|
|
1914
|
-
|
|
1915
1912
|
- export the correct types so typescript usage works correctly
|
|
1916
1913
|
|
|
1917
1914
|
## 12.0.0
|
|
1918
1915
|
|
|
1919
1916
|
- [major][238b65171f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/238b65171f):
|
|
1920
|
-
|
|
1921
1917
|
- @atlaskit/flag has been converted to Typescript. Typescript consumers will now get static type
|
|
1922
1918
|
safety. Flow types are no longer provided. No API or behavioural changes.
|
|
1923
1919
|
|
|
1924
1920
|
## 11.0.1
|
|
1925
1921
|
|
|
1926
1922
|
- [patch][dccab11ef4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dccab11ef4):
|
|
1927
|
-
|
|
1928
1923
|
- Fixed incorrect flag appearing after dismiss a previous one
|
|
1929
1924
|
|
|
1930
1925
|
## 11.0.0
|
|
1931
1926
|
|
|
1932
1927
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
1933
|
-
|
|
1934
1928
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1935
1929
|
this package, please ensure you use at least this version of react and react-dom.
|
|
1936
1930
|
|
|
@@ -1967,7 +1961,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1967
1961
|
## 10.0.4
|
|
1968
1962
|
|
|
1969
1963
|
- [patch][23672bbd2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/23672bbd2d):
|
|
1970
|
-
|
|
1971
1964
|
- Improvement: Align the flag actions with title and text for normal appearance flags
|
|
1972
1965
|
|
|
1973
1966
|
## 10.0.3
|
|
@@ -1979,7 +1972,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1979
1972
|
## 10.0.2
|
|
1980
1973
|
|
|
1981
1974
|
- [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
|
|
1982
|
-
|
|
1983
1975
|
- Removes duplicate babel-runtime dependency
|
|
1984
1976
|
|
|
1985
1977
|
## 10.0.1
|
|
@@ -1998,7 +1990,6 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
1998
1990
|
## 10.0.0
|
|
1999
1991
|
|
|
2000
1992
|
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
2001
|
-
|
|
2002
1993
|
- Drop ES5 from all the flow modules
|
|
2003
1994
|
|
|
2004
1995
|
### 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.0";
|
|
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.0";
|
|
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.0";
|
|
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.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/"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/portal": "^5.1.0",
|
|
44
44
|
"@atlaskit/primitives": "^15.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"
|