@atlaskit/badge 18.1.3 → 18.1.5
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 +14 -0
- package/dist/cjs/badge.compiled.css +2 -2
- package/dist/cjs/badge.js +2 -1
- package/dist/es2019/badge.compiled.css +2 -2
- package/dist/es2019/badge.js +2 -1
- package/dist/esm/badge.compiled.css +2 -2
- package/dist/esm/badge.js +2 -1
- package/dist/types/badge.d.ts +0 -1
- package/dist/types-ts4.5/badge.d.ts +0 -1
- package/package.json +10 -12
- package/types/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/badge
|
|
2
2
|
|
|
3
|
+
## 18.1.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3b5b4a919aaaf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3b5b4a919aaaf) -
|
|
8
|
+
Internal changes to how border radius is applied.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 18.1.4
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 18.1.3
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
3
|
-
.
|
|
2
|
+
._2rko1mok{border-radius:var(--ds-radius-large,8px)}
|
|
3
|
+
._2rkogqwt{border-radius:var(--ds-border-radius-050,2px)}._18zr12x7{padding-inline:var(--ds-space-075,6px)}
|
|
4
4
|
._18zr1b66{padding-inline:var(--ds-space-050,4px)}
|
|
5
5
|
._1bah1h6o{justify-content:center}
|
|
6
6
|
._1e0c116y{display:inline-flex}
|
package/dist/cjs/badge.js
CHANGED
|
@@ -14,8 +14,9 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
|
14
14
|
var _primitives = require("@atlaskit/primitives");
|
|
15
15
|
var _utils = require("./internal/utils");
|
|
16
16
|
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); }
|
|
17
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
17
18
|
var boxStyles = {
|
|
18
|
-
root: "
|
|
19
|
+
root: "_2rko1mok _18zr12x7 _1e0c116y _1o9zidpf _1kz6184x",
|
|
19
20
|
added: "_bfhk1bay",
|
|
20
21
|
default: "_bfhklecj",
|
|
21
22
|
important: "_bfhk1v7l",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
3
|
-
.
|
|
2
|
+
._2rko1mok{border-radius:var(--ds-radius-large,8px)}
|
|
3
|
+
._2rkogqwt{border-radius:var(--ds-border-radius-050,2px)}._18zr12x7{padding-inline:var(--ds-space-075,6px)}
|
|
4
4
|
._18zr1b66{padding-inline:var(--ds-space-050,4px)}
|
|
5
5
|
._1bah1h6o{justify-content:center}
|
|
6
6
|
._1e0c116y{display:inline-flex}
|
package/dist/es2019/badge.js
CHANGED
|
@@ -4,10 +4,11 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { memo } from 'react';
|
|
6
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
7
8
|
import { Text } from '@atlaskit/primitives';
|
|
8
9
|
import { formatValue, formatValueWithNegativeSupport } from './internal/utils';
|
|
9
10
|
const boxStyles = {
|
|
10
|
-
root: "
|
|
11
|
+
root: "_2rko1mok _18zr12x7 _1e0c116y _1o9zidpf _1kz6184x",
|
|
11
12
|
added: "_bfhk1bay",
|
|
12
13
|
default: "_bfhklecj",
|
|
13
14
|
important: "_bfhk1v7l",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
3
|
-
.
|
|
2
|
+
._2rko1mok{border-radius:var(--ds-radius-large,8px)}
|
|
3
|
+
._2rkogqwt{border-radius:var(--ds-border-radius-050,2px)}._18zr12x7{padding-inline:var(--ds-space-075,6px)}
|
|
4
4
|
._18zr1b66{padding-inline:var(--ds-space-050,4px)}
|
|
5
5
|
._1bah1h6o{justify-content:center}
|
|
6
6
|
._1e0c116y{display:inline-flex}
|
package/dist/esm/badge.js
CHANGED
|
@@ -4,10 +4,11 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { memo } from 'react';
|
|
6
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
7
8
|
import { Text } from '@atlaskit/primitives';
|
|
8
9
|
import { formatValue, formatValueWithNegativeSupport } from './internal/utils';
|
|
9
10
|
var boxStyles = {
|
|
10
|
-
root: "
|
|
11
|
+
root: "_2rko1mok _18zr12x7 _1e0c116y _1o9zidpf _1kz6184x",
|
|
11
12
|
added: "_bfhk1bay",
|
|
12
13
|
default: "_bfhklecj",
|
|
13
14
|
important: "_bfhk1v7l",
|
package/dist/types/badge.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/badge",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.5",
|
|
4
4
|
"description": "A badge is a visual indicator for numeric values such as tallies and scores.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,8 +29,7 @@
|
|
|
29
29
|
"website": {
|
|
30
30
|
"name": "Badge",
|
|
31
31
|
"category": "Status indicators"
|
|
32
|
-
}
|
|
33
|
-
"runReact18": true
|
|
32
|
+
}
|
|
34
33
|
},
|
|
35
34
|
"af:exports": {
|
|
36
35
|
"./types": "./src/entry-points/types.tsx",
|
|
@@ -39,8 +38,8 @@
|
|
|
39
38
|
"dependencies": {
|
|
40
39
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
41
40
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
42
|
-
"@atlaskit/primitives": "^14.
|
|
43
|
-
"@atlaskit/tokens": "^
|
|
41
|
+
"@atlaskit/primitives": "^14.12.0",
|
|
42
|
+
"@atlaskit/tokens": "^6.1.0",
|
|
44
43
|
"@babel/runtime": "^7.0.0",
|
|
45
44
|
"@compiled/react": "^0.18.3"
|
|
46
45
|
},
|
|
@@ -51,16 +50,15 @@
|
|
|
51
50
|
"@af/accessibility-testing": "workspace:^",
|
|
52
51
|
"@af/integration-testing": "workspace:^",
|
|
53
52
|
"@af/visual-regression": "workspace:^",
|
|
54
|
-
"@atlaskit/docs": "^
|
|
55
|
-
"@atlaskit/ds-lib": "^
|
|
53
|
+
"@atlaskit/docs": "^11.0.0",
|
|
54
|
+
"@atlaskit/ds-lib": "^5.0.0",
|
|
56
55
|
"@atlaskit/link": "^3.2.0",
|
|
57
|
-
"@atlaskit/section-message": "^8.
|
|
58
|
-
"@atlaskit/theme": "^
|
|
56
|
+
"@atlaskit/section-message": "^8.6.0",
|
|
57
|
+
"@atlaskit/theme": "^20.0.0",
|
|
59
58
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
60
|
-
"@atlassian/ssr-tests": "0.
|
|
59
|
+
"@atlassian/ssr-tests": "0.3.0",
|
|
61
60
|
"@testing-library/react": "^13.4.0",
|
|
62
|
-
"react-dom": "^18.2.0"
|
|
63
|
-
"typescript": "~5.4.2"
|
|
61
|
+
"react-dom": "^18.2.0"
|
|
64
62
|
},
|
|
65
63
|
"techstack": {
|
|
66
64
|
"@atlassian/frontend": {
|