@atlaskit/flag 15.0.3 → 15.0.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 +6 -0
- package/dist/cjs/auto-dismiss-flag.js +1 -1
- package/dist/cjs/flag-actions.js +1 -1
- package/dist/cjs/flag.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/auto-dismiss-flag.js +1 -1
- package/dist/es2019/flag-actions.js +1 -1
- package/dist/es2019/flag.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/auto-dismiss-flag.js +1 -1
- package/dist/esm/flag-actions.js +1 -1
- package/dist/esm/flag.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +2 -2
- package/report.api.md +13 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/flag
|
|
2
2
|
|
|
3
|
+
## 15.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`b0f6dd0bc35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b0f6dd0bc35) - Updated to use typography tokens. There is no expected behaviour or visual change.
|
|
8
|
+
|
|
3
9
|
## 15.0.3
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -26,7 +26,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
26
26
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
27
27
|
|
|
28
28
|
var packageName = "@atlaskit/flag";
|
|
29
|
-
var packageVersion = "15.0.
|
|
29
|
+
var packageVersion = "15.0.4";
|
|
30
30
|
var AUTO_DISMISS_SECONDS = 8;
|
|
31
31
|
/**
|
|
32
32
|
* __Auto dismiss flag__
|
package/dist/cjs/flag-actions.js
CHANGED
|
@@ -30,7 +30,7 @@ var buttonStyles = (0, _react.css)({
|
|
|
30
30
|
padding: "0 ".concat(gridSize, "px !important"),
|
|
31
31
|
background: "var(".concat(_constants2.VAR_BG_COLOR, ")"),
|
|
32
32
|
color: "var(".concat(_constants2.VAR_COLOR, ") !important"),
|
|
33
|
-
fontWeight: 500
|
|
33
|
+
fontWeight: "var(--ds-font-weight-medium, 500)"
|
|
34
34
|
},
|
|
35
35
|
'&&:focus, a&&:focus': {
|
|
36
36
|
boxShadow: "0 0 0 2px var(".concat(_constants2.VAR_FOCUS_COLOR, ")")
|
package/dist/cjs/flag.js
CHANGED
package/dist/cjs/version.json
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.0.
|
|
8
|
+
const packageVersion = "15.0.4";
|
|
9
9
|
export const AUTO_DISMISS_SECONDS = 8;
|
|
10
10
|
/**
|
|
11
11
|
* __Auto dismiss flag__
|
|
@@ -13,7 +13,7 @@ const buttonStyles = css({
|
|
|
13
13
|
padding: `0 ${gridSize}px !important`,
|
|
14
14
|
background: `var(${VAR_BG_COLOR})`,
|
|
15
15
|
color: `var(${VAR_COLOR}) !important`,
|
|
16
|
-
fontWeight: 500
|
|
16
|
+
fontWeight: "var(--ds-font-weight-medium, 500)"
|
|
17
17
|
},
|
|
18
18
|
'&&:focus, a&&:focus': {
|
|
19
19
|
boxShadow: `0 0 0 2px var(${VAR_FOCUS_COLOR})`
|
package/dist/es2019/flag.js
CHANGED
package/dist/es2019/version.json
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.0.
|
|
8
|
+
var packageVersion = "15.0.4";
|
|
9
9
|
export var AUTO_DISMISS_SECONDS = 8;
|
|
10
10
|
/**
|
|
11
11
|
* __Auto dismiss flag__
|
package/dist/esm/flag-actions.js
CHANGED
|
@@ -15,7 +15,7 @@ var buttonStyles = css({
|
|
|
15
15
|
padding: "0 ".concat(gridSize, "px !important"),
|
|
16
16
|
background: "var(".concat(VAR_BG_COLOR, ")"),
|
|
17
17
|
color: "var(".concat(VAR_COLOR, ") !important"),
|
|
18
|
-
fontWeight: 500
|
|
18
|
+
fontWeight: "var(--ds-font-weight-medium, 500)"
|
|
19
19
|
},
|
|
20
20
|
'&&:focus, a&&:focus': {
|
|
21
21
|
boxShadow: "0 0 0 2px var(".concat(VAR_FOCUS_COLOR, ")")
|
package/dist/esm/flag.js
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/flag",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.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/"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@atlaskit/analytics-next": "^8.0.0",
|
|
39
39
|
"@atlaskit/button": "^16.5.0",
|
|
40
|
-
"@atlaskit/ds-explorations": "^1.
|
|
40
|
+
"@atlaskit/ds-explorations": "^1.7.0",
|
|
41
41
|
"@atlaskit/ds-lib": "^2.1.0",
|
|
42
42
|
"@atlaskit/focus-ring": "^1.2.0",
|
|
43
43
|
"@atlaskit/icon": "^21.11.0",
|
package/report.api.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
### Table of contents
|
|
9
9
|
|
|
10
10
|
- [Main Entry Types](#main-entry-types)
|
|
11
|
+
- [Peer Dependencies](#peer-dependencies)
|
|
11
12
|
|
|
12
13
|
### Main Entry Types
|
|
13
14
|
|
|
@@ -158,3 +159,15 @@ export const withFlagsProvider: (
|
|
|
158
159
|
```
|
|
159
160
|
|
|
160
161
|
<!--SECTION END: Main Entry Types-->
|
|
162
|
+
|
|
163
|
+
### Peer Dependencies
|
|
164
|
+
|
|
165
|
+
<!--SECTION START: Peer Dependencies-->
|
|
166
|
+
|
|
167
|
+
```json
|
|
168
|
+
{
|
|
169
|
+
"react": "^16.8.0"
|
|
170
|
+
}
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
<!--SECTION END: Peer Dependencies-->
|