@atlaskit/badge 18.1.4 → 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 CHANGED
@@ -1,5 +1,13 @@
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
+
3
11
  ## 18.1.4
4
12
 
5
13
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
 
2
- ._2rkogqwt{border-radius:var(--ds-border-radius-050,2px)}
3
- ._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}._18zr12x7{padding-inline:var(--ds-space-075,6px)}
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
@@ -16,7 +16,7 @@ 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
17
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
18
18
  var boxStyles = {
19
- root: "_2rkopd34 _18zr12x7 _1e0c116y _1o9zidpf _1kz6184x",
19
+ root: "_2rko1mok _18zr12x7 _1e0c116y _1o9zidpf _1kz6184x",
20
20
  added: "_bfhk1bay",
21
21
  default: "_bfhklecj",
22
22
  important: "_bfhk1v7l",
@@ -1,6 +1,6 @@
1
1
 
2
- ._2rkogqwt{border-radius:var(--ds-border-radius-050,2px)}
3
- ._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}._18zr12x7{padding-inline:var(--ds-space-075,6px)}
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}
@@ -8,7 +8,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
8
8
  import { Text } from '@atlaskit/primitives';
9
9
  import { formatValue, formatValueWithNegativeSupport } from './internal/utils';
10
10
  const boxStyles = {
11
- root: "_2rkopd34 _18zr12x7 _1e0c116y _1o9zidpf _1kz6184x",
11
+ root: "_2rko1mok _18zr12x7 _1e0c116y _1o9zidpf _1kz6184x",
12
12
  added: "_bfhk1bay",
13
13
  default: "_bfhklecj",
14
14
  important: "_bfhk1v7l",
@@ -1,6 +1,6 @@
1
1
 
2
- ._2rkogqwt{border-radius:var(--ds-border-radius-050,2px)}
3
- ._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}._18zr12x7{padding-inline:var(--ds-space-075,6px)}
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
@@ -8,7 +8,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
8
8
  import { Text } from '@atlaskit/primitives';
9
9
  import { formatValue, formatValueWithNegativeSupport } from './internal/utils';
10
10
  var boxStyles = {
11
- root: "_2rkopd34 _18zr12x7 _1e0c116y _1o9zidpf _1kz6184x",
11
+ root: "_2rko1mok _18zr12x7 _1e0c116y _1o9zidpf _1kz6184x",
12
12
  added: "_bfhk1bay",
13
13
  default: "_bfhklecj",
14
14
  important: "_bfhk1v7l",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { BadgeProps } from './types';
3
2
  /**
4
3
  * __Badge__
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { BadgeProps } from './types';
3
2
  /**
4
3
  * __Badge__
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/badge",
3
- "version": "18.1.4",
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/"
@@ -38,8 +38,8 @@
38
38
  "dependencies": {
39
39
  "@atlaskit/codemod-utils": "^4.2.0",
40
40
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
- "@atlaskit/primitives": "^14.11.0",
42
- "@atlaskit/tokens": "^6.0.0",
41
+ "@atlaskit/primitives": "^14.12.0",
42
+ "@atlaskit/tokens": "^6.1.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "@compiled/react": "^0.18.3"
45
45
  },
@@ -53,13 +53,12 @@
53
53
  "@atlaskit/docs": "^11.0.0",
54
54
  "@atlaskit/ds-lib": "^5.0.0",
55
55
  "@atlaskit/link": "^3.2.0",
56
- "@atlaskit/section-message": "^8.5.0",
57
- "@atlaskit/theme": "^19.0.0",
56
+ "@atlaskit/section-message": "^8.6.0",
57
+ "@atlaskit/theme": "^20.0.0",
58
58
  "@atlassian/feature-flags-test-utils": "^0.3.0",
59
- "@atlassian/ssr-tests": "0.2.0",
59
+ "@atlassian/ssr-tests": "0.3.0",
60
60
  "@testing-library/react": "^13.4.0",
61
- "react-dom": "^18.2.0",
62
- "typescript": "~5.4.2"
61
+ "react-dom": "^18.2.0"
63
62
  },
64
63
  "techstack": {
65
64
  "@atlassian/frontend": {
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/types.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/types.d.ts"
14
14
  ]