@atlaskit/lozenge 11.4.5 → 11.5.0
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,17 @@
|
|
|
1
1
|
# @atlaskit/lozenge
|
|
2
2
|
|
|
3
|
+
## 11.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#57070](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57070) [`96de6e4e4ca2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/96de6e4e4ca2) - Lozenge now uses height: min-content so it doesn't stretch when directly used as a flex / grid item.
|
|
8
|
+
|
|
9
|
+
## 11.4.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#41725](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41725) [`8d838ab41ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d838ab41ed) - Removed all remaining legacy theming logic from Badge, IconObject, Lozenge and SectionMessage. This only affects the examples and some tests in each component. No internal component logic contained legacy theming.
|
|
14
|
+
|
|
3
15
|
## 11.4.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -18,6 +18,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
18
18
|
var baseStyles = (0, _primitives.xcss)({
|
|
19
19
|
display: 'inline-flex',
|
|
20
20
|
borderRadius: 'border.radius',
|
|
21
|
+
blockSize: 'min-content',
|
|
21
22
|
position: 'static',
|
|
22
23
|
overflow: 'hidden'
|
|
23
24
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/lozenge",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.5.0",
|
|
4
4
|
"description": "A lozenge is a visual indicator used to highlight an item's status for quick recognition.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
39
39
|
"@atlaskit/ds-explorations": "^3.0.0",
|
|
40
|
-
"@atlaskit/primitives": "^1.
|
|
40
|
+
"@atlaskit/primitives": "^1.13.0",
|
|
41
41
|
"@atlaskit/theme": "^12.6.0",
|
|
42
|
-
"@atlaskit/tokens": "^1.
|
|
42
|
+
"@atlaskit/tokens": "^1.29.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@af/accessibility-testing": "*",
|
|
50
|
+
"@af/integration-testing": "*",
|
|
50
51
|
"@af/visual-regression": "*",
|
|
51
52
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
52
53
|
"@atlaskit/ssr": "*",
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/lozenge"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import { CSSProperties } from 'react';
|
|
8
|
-
import { default as React_2 } from 'react';
|
|
9
|
-
import { ReactNode } from 'react';
|
|
10
|
-
|
|
11
|
-
// @public
|
|
12
|
-
const Lozenge: React_2.MemoExoticComponent<({ children, testId, isBold, appearance, maxWidth, style, }: LozengeProps) => JSX.Element>;
|
|
13
|
-
export default Lozenge;
|
|
14
|
-
|
|
15
|
-
// @public (undocumented)
|
|
16
|
-
interface LozengeProps {
|
|
17
|
-
appearance?: ThemeAppearance;
|
|
18
|
-
children?: ReactNode;
|
|
19
|
-
isBold?: boolean;
|
|
20
|
-
maxWidth?: number | string;
|
|
21
|
-
style?: Pick<CSSProperties, 'backgroundColor' | 'color'>;
|
|
22
|
-
testId?: string;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// @public (undocumented)
|
|
26
|
-
export type ThemeAppearance = 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
|
|
27
|
-
|
|
28
|
-
// (No @packageDocumentation comment for this package)
|
|
29
|
-
|
|
30
|
-
```
|