@atlaskit/badge
Advanced tools
Comparing version 15.0.22 to 15.0.23
# @atlaskit/badge | ||
## 15.0.23 | ||
### Patch Changes | ||
- [`a7f643a0ee7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a7f643a0ee7) - Updated badge line-height to use design system values, removed block padding. There are no visual or behaviour changes. | ||
- [`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) - Updated usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs. There are no visual or behaviour changes. | ||
- Updated dependencies | ||
## 15.0.22 | ||
@@ -4,0 +12,0 @@ |
@@ -52,4 +52,3 @@ "use strict"; | ||
display: "inlineFlex", | ||
paddingInline: "scale.075", | ||
paddingBlock: "scale.025", | ||
paddingInline: "space.075", | ||
UNSAFE_style: style !== null && style !== void 0 && style.backgroundColor ? { | ||
@@ -59,4 +58,4 @@ backgroundColor: style.backgroundColor | ||
}, /*#__PURE__*/_react.default.createElement(_text.default, { | ||
fontSize: "12px", | ||
lineHeight: "12px", | ||
fontSize: "size.075", | ||
lineHeight: "lineHeight.100", | ||
textAlign: "center", | ||
@@ -63,0 +62,0 @@ color: textColors[appearance], |
{ | ||
"name": "@atlaskit/badge", | ||
"version": "15.0.22", | ||
"version": "15.0.23", | ||
"sideEffects": false | ||
} |
@@ -31,4 +31,3 @@ /* eslint-disable @atlassian/tangerine/import/entry-points */ | ||
display: "inlineFlex", | ||
paddingInline: "scale.075", | ||
paddingBlock: "scale.025", | ||
paddingInline: "space.075", | ||
UNSAFE_style: style !== null && style !== void 0 && style.backgroundColor ? { | ||
@@ -38,4 +37,4 @@ backgroundColor: style.backgroundColor | ||
}, /*#__PURE__*/React.createElement(Text, { | ||
fontSize: "12px", | ||
lineHeight: "12px", | ||
fontSize: "size.075", | ||
lineHeight: "lineHeight.100", | ||
textAlign: "center", | ||
@@ -42,0 +41,0 @@ color: textColors[appearance], |
{ | ||
"name": "@atlaskit/badge", | ||
"version": "15.0.22", | ||
"version": "15.0.23", | ||
"sideEffects": false | ||
} |
@@ -33,4 +33,3 @@ /* eslint-disable @atlassian/tangerine/import/entry-points */ | ||
display: "inlineFlex", | ||
paddingInline: "scale.075", | ||
paddingBlock: "scale.025", | ||
paddingInline: "space.075", | ||
UNSAFE_style: style !== null && style !== void 0 && style.backgroundColor ? { | ||
@@ -40,4 +39,4 @@ backgroundColor: style.backgroundColor | ||
}, /*#__PURE__*/React.createElement(Text, { | ||
fontSize: "12px", | ||
lineHeight: "12px", | ||
fontSize: "size.075", | ||
lineHeight: "lineHeight.100", | ||
textAlign: "center", | ||
@@ -44,0 +43,0 @@ color: textColors[appearance], |
{ | ||
"name": "@atlaskit/badge", | ||
"version": "15.0.22", | ||
"version": "15.0.23", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/badge", | ||
"version": "15.0.22", | ||
"version": "15.0.23", | ||
"description": "A badge is a visual indicator for numeric values such as tallies and scores.", | ||
@@ -15,10 +15,2 @@ "publishConfig": { | ||
"types": "dist/types/index.d.ts", | ||
"typesVersions": { | ||
">=4.0 <4.5": { | ||
"*": [ | ||
"dist/types-ts4.0/*", | ||
"dist/types-ts4.0/index.d.ts" | ||
] | ||
} | ||
}, | ||
"sideEffects": false, | ||
@@ -41,3 +33,3 @@ "atlaskit:src": "src/index.tsx", | ||
"@atlaskit/codemod-utils": "^4.1.0", | ||
"@atlaskit/ds-explorations": "^1.0.0", | ||
"@atlaskit/ds-explorations": "^2.0.0", | ||
"@babel/runtime": "^7.0.0" | ||
@@ -49,3 +41,3 @@ }, | ||
"devDependencies": { | ||
"@atlaskit/button": "^16.4.0", | ||
"@atlaskit/button": "^16.5.0", | ||
"@atlaskit/docs": "*", | ||
@@ -52,0 +44,0 @@ "@atlaskit/ds-lib": "^2.1.1", |
@@ -0,11 +1,16 @@ | ||
<!-- API Report Version: 2.3 --> | ||
## API Report File for "@atlaskit/badge" | ||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). | ||
> Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/). | ||
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports) | ||
<!-- | ||
Generated API Report version: 2.0 | ||
--> | ||
### Table of contents | ||
[Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports) | ||
- [Main Entry Types](#main-entry-types) | ||
### Main Entry Types | ||
<!--SECTION START: Main Entry Types--> | ||
```ts | ||
@@ -23,4 +28,4 @@ import type { CSSProperties } from 'react'; | ||
appearance?: ThemeAppearance; | ||
children?: number | ReactNode; | ||
max?: number | false; | ||
children?: ReactNode | number; | ||
max?: false | number; | ||
style?: Pick<CSSProperties, 'backgroundColor' | 'color'>; | ||
@@ -41,1 +46,3 @@ testId?: string; | ||
``` | ||
<!--SECTION END: Main Entry Types--> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58079
41
692
+ Added@atlaskit/ds-explorations@2.4.0(transitive)
+ Added@atlaskit/tokens@1.61.0(transitive)
- Removed@atlaskit/ds-explorations@1.7.0(transitive)
- Removed@atlaskit/tokens@0.13.5(transitive)