@atlaskit/lozenge 11.7.2 → 11.8.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/package.json CHANGED
@@ -1,92 +1,90 @@
1
1
  {
2
- "name": "@atlaskit/lozenge",
3
- "version": "11.7.2",
4
- "description": "A lozenge is a visual indicator used to highlight an item's status for quick recognition.",
5
- "publishConfig": {
6
- "registry": "https://registry.npmjs.org/"
7
- },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
- "author": "Atlassian Pty Ltd",
10
- "license": "Apache-2.0",
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "module:es2019": "dist/es2019/index.js",
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
- },
23
- "sideEffects": false,
24
- "atlaskit:src": "src/index.tsx",
25
- "af:exports": {
26
- ".": "./src/index.tsx",
27
- "./theme": "./src/theme.tsx"
28
- },
29
- "atlassian": {
30
- "team": "Design System Team",
31
- "releaseModel": "continuous",
32
- "productPushConsumption": [
33
- "jira"
34
- ],
35
- "website": {
36
- "name": "Lozenge",
37
- "category": "Components"
38
- },
39
- "runReact18": true
40
- },
41
- "dependencies": {
42
- "@atlaskit/codemod-utils": "^4.2.0",
43
- "@atlaskit/primitives": "^6.2.0",
44
- "@atlaskit/theme": "^12.8.0",
45
- "@atlaskit/tokens": "^1.48.0",
46
- "@babel/runtime": "^7.0.0",
47
- "@emotion/react": "^11.7.1"
48
- },
49
- "peerDependencies": {
50
- "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
51
- },
52
- "devDependencies": {
53
- "@af/accessibility-testing": "*",
54
- "@af/integration-testing": "*",
55
- "@af/visual-regression": "*",
56
- "@atlaskit/ds-lib": "^2.3.0",
57
- "@atlaskit/heading": "^2.3.0",
58
- "@atlaskit/ssr": "*",
59
- "@atlaskit/visual-regression": "*",
60
- "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
61
- "@testing-library/react": "^12.1.5",
62
- "jscodeshift": "^0.13.0",
63
- "react-dom": "^16.8.0",
64
- "typescript": "~5.4.2",
65
- "wait-for-expect": "^1.2.0"
66
- },
67
- "techstack": {
68
- "@atlassian/frontend": {
69
- "import-structure": "atlassian-conventions"
70
- },
71
- "@repo/internal": {
72
- "dom-events": "use-bind-event-listener",
73
- "design-system": "v1",
74
- "styling": [
75
- "static",
76
- "emotion"
77
- ],
78
- "ui-components": [
79
- "primitives",
80
- "lite-mode"
81
- ],
82
- "analytics": "analytics-next",
83
- "design-tokens": [
84
- "color",
85
- "spacing"
86
- ],
87
- "deprecation": "no-deprecated-imports"
88
- }
89
- },
90
- "homepage": "https://atlassian.design/components/lozenge/",
91
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
92
- }
2
+ "name": "@atlaskit/lozenge",
3
+ "version": "11.8.0",
4
+ "description": "A lozenge is a visual indicator used to highlight an item's status for quick recognition.",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "module:es2019": "dist/es2019/index.js",
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
+ },
23
+ "sideEffects": false,
24
+ "atlaskit:src": "src/index.tsx",
25
+ "af:exports": {
26
+ ".": "./src/index.tsx",
27
+ "./theme": "./src/theme.tsx"
28
+ },
29
+ "atlassian": {
30
+ "team": "Design System Team",
31
+ "releaseModel": "continuous",
32
+ "productPushConsumption": [
33
+ "jira"
34
+ ],
35
+ "website": {
36
+ "name": "Lozenge",
37
+ "category": "Components"
38
+ },
39
+ "runReact18": true
40
+ },
41
+ "dependencies": {
42
+ "@atlaskit/codemod-utils": "^4.2.0",
43
+ "@atlaskit/primitives": "^7.4.0",
44
+ "@atlaskit/theme": "^12.10.0",
45
+ "@atlaskit/tokens": "^1.51.0",
46
+ "@babel/runtime": "^7.0.0",
47
+ "@emotion/react": "^11.7.1"
48
+ },
49
+ "peerDependencies": {
50
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
51
+ },
52
+ "devDependencies": {
53
+ "@af/accessibility-testing": "*",
54
+ "@af/integration-testing": "*",
55
+ "@af/visual-regression": "*",
56
+ "@atlaskit/ds-lib": "^2.3.0",
57
+ "@atlaskit/heading": "^2.4.0",
58
+ "@atlaskit/ssr": "*",
59
+ "@atlaskit/visual-regression": "*",
60
+ "@testing-library/react": "^12.1.5",
61
+ "jscodeshift": "^0.13.0",
62
+ "react-dom": "^16.8.0",
63
+ "typescript": "~5.4.2",
64
+ "wait-for-expect": "^1.2.0"
65
+ },
66
+ "techstack": {
67
+ "@atlassian/frontend": {
68
+ "import-structure": "atlassian-conventions"
69
+ },
70
+ "@repo/internal": {
71
+ "dom-events": "use-bind-event-listener",
72
+ "design-system": "v1",
73
+ "styling": [
74
+ "static",
75
+ "emotion"
76
+ ],
77
+ "ui-components": [
78
+ "primitives",
79
+ "lite-mode"
80
+ ],
81
+ "analytics": "analytics-next",
82
+ "design-tokens": [
83
+ "color",
84
+ "spacing"
85
+ ],
86
+ "deprecation": "no-deprecated-imports"
87
+ }
88
+ },
89
+ "homepage": "https://atlassian.design/components/lozenge/"
90
+ }
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/lozenge"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -21,35 +22,22 @@ import { ReactNode } from 'react';
21
22
 
22
23
  // @public
23
24
  const Lozenge: React_2.MemoExoticComponent<
24
- ({
25
- children,
26
- testId,
27
- isBold,
28
- appearance,
29
- maxWidth,
30
- style,
31
- }: LozengeProps) => JSX.Element
25
+ ({ children, testId, isBold, appearance, maxWidth, style }: LozengeProps) => JSX.Element
32
26
  >;
33
27
  export default Lozenge;
34
28
 
35
29
  // @public (undocumented)
36
30
  interface LozengeProps {
37
- appearance?: ThemeAppearance;
38
- children?: ReactNode;
39
- isBold?: boolean;
40
- maxWidth?: number | string;
41
- style?: Pick<CSSProperties, 'backgroundColor' | 'color'>;
42
- testId?: string;
31
+ appearance?: ThemeAppearance;
32
+ children?: ReactNode;
33
+ isBold?: boolean;
34
+ maxWidth?: number | string;
35
+ style?: Pick<CSSProperties, 'backgroundColor' | 'color'>;
36
+ testId?: string;
43
37
  }
44
38
 
45
39
  // @public (undocumented)
46
- export type ThemeAppearance =
47
- | 'default'
48
- | 'inprogress'
49
- | 'moved'
50
- | 'new'
51
- | 'removed'
52
- | 'success';
40
+ export type ThemeAppearance = 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
53
41
 
54
42
  // (No @packageDocumentation comment for this package)
55
43
  ```
@@ -62,7 +50,7 @@ export type ThemeAppearance =
62
50
 
63
51
  ```json
64
52
  {
65
- "react": "^16.8.0"
53
+ "react": "^16.8.0"
66
54
  }
67
55
  ```
68
56