@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/lozenge
2
2
 
3
+ ## 11.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
8
+
3
9
  ## 11.4.0
4
10
 
5
11
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/lozenge",
3
- "version": "11.4.0",
3
+ "version": "11.4.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/lozenge",
3
- "version": "11.4.0",
3
+ "version": "11.4.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/lozenge",
3
- "version": "11.4.0",
3
+ "version": "11.4.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import React, { CSSProperties, ReactNode } from 'react';
2
- export declare type ThemeAppearance = 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
2
+ export type ThemeAppearance = 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
3
3
  export interface LozengeProps {
4
4
  /**
5
5
  * The appearance type.
@@ -117,4 +117,4 @@ export declare const boldTextColor: {
117
117
  /**
118
118
  * @deprecated
119
119
  */
120
- export declare type ThemeAppearance = 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
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.0",
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.3.0",
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.5.5",
61
+ "typescript": "~4.9.5",
54
62
  "wait-for-expect": "^1.2.0"
55
63
  },
56
64
  "techstack": {
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/theme.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/theme.d.ts"
11
+ "../dist/types-ts4.5/theme.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -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
+ ```