@atlaskit/lozenge 11.4.0 → 11.4.1
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/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/Lozenge/index.d.ts +1 -1
- package/dist/types/theme.d.ts +1 -1
- package/package.json +11 -3
- package/theme/package.json +2 -2
- package/tmp/api-report-tmp.d.ts +30 -0
package/CHANGELOG.md
CHANGED
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type ThemeAppearance = 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
|
|
3
3
|
export interface LozengeProps {
|
|
4
4
|
/**
|
|
5
5
|
* The appearance type.
|
package/dist/types/theme.d.ts
CHANGED
|
@@ -117,4 +117,4 @@ export declare const boldTextColor: {
|
|
|
117
117
|
/**
|
|
118
118
|
* @deprecated
|
|
119
119
|
*/
|
|
120
|
-
export
|
|
120
|
+
export type ThemeAppearance = 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/lozenge",
|
|
3
|
-
"version": "11.4.
|
|
3
|
+
"version": "11.4.1",
|
|
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/"
|
|
@@ -12,6 +12,14 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
+
"typesVersions": {
|
|
16
|
+
">=4.5 <4.9": {
|
|
17
|
+
"*": [
|
|
18
|
+
"dist/types-ts4.5/*",
|
|
19
|
+
"dist/types-ts4.5/index.d.ts"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
15
23
|
"sideEffects": false,
|
|
16
24
|
"atlaskit:src": "src/index.tsx",
|
|
17
25
|
"atlassian": {
|
|
@@ -30,7 +38,7 @@
|
|
|
30
38
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
31
39
|
"@atlaskit/ds-explorations": "^2.1.0",
|
|
32
40
|
"@atlaskit/theme": "^12.5.0",
|
|
33
|
-
"@atlaskit/tokens": "^1.
|
|
41
|
+
"@atlaskit/tokens": "^1.4.0",
|
|
34
42
|
"@babel/runtime": "^7.0.0"
|
|
35
43
|
},
|
|
36
44
|
"peerDependencies": {
|
|
@@ -50,7 +58,7 @@
|
|
|
50
58
|
"@testing-library/react": "^12.1.5",
|
|
51
59
|
"jscodeshift": "^0.13.0",
|
|
52
60
|
"react-dom": "^16.8.0",
|
|
53
|
-
"typescript": "4.
|
|
61
|
+
"typescript": "~4.9.5",
|
|
54
62
|
"wait-for-expect": "^1.2.0"
|
|
55
63
|
},
|
|
56
64
|
"techstack": {
|
package/theme/package.json
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
```
|