@atlaskit/section-message 6.5.2 → 6.5.4

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,95 +1,95 @@
1
1
  {
2
- "name": "@atlaskit/section-message",
3
- "version": "6.5.2",
4
- "description": "A section message is used to alert users to a particular section of the screen.",
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
- "atlassian": {
26
- "team": "Design System Team",
27
- "releaseModel": "continuous",
28
- "website": {
29
- "name": "Section message",
30
- "category": "Components"
31
- },
32
- "productPushConsumption": [
33
- "jira"
34
- ],
35
- "runReact18": true
36
- },
37
- "af:exports": {
38
- "./section-message": "./src/entry-points/section-message.tsx",
39
- "./section-message-action": "./src/entry-points/section-message-action.tsx",
40
- "./types": "./src/entry-points/types.tsx",
41
- ".": "./src/index.tsx"
42
- },
43
- "dependencies": {
44
- "@atlaskit/button": "^17.17.0",
45
- "@atlaskit/codemod-utils": "^4.2.0",
46
- "@atlaskit/heading": "^2.3.0",
47
- "@atlaskit/icon": "^22.3.0",
48
- "@atlaskit/primitives": "^6.4.0",
49
- "@atlaskit/theme": "^12.8.0",
50
- "@atlaskit/tokens": "^1.49.0",
51
- "@babel/runtime": "^7.0.0"
52
- },
53
- "peerDependencies": {
54
- "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
55
- },
56
- "devDependencies": {
57
- "@af/accessibility-testing": "*",
58
- "@af/integration-testing": "*",
59
- "@atlaskit/analytics-next": "^9.3.0",
60
- "@atlaskit/ds-lib": "^2.3.0",
61
- "@atlaskit/ssr": "*",
62
- "@atlaskit/visual-regression": "*",
63
- "@testing-library/react": "^12.1.5",
64
- "exenv": "^1.2.2",
65
- "jest-in-case": "^1.0.2",
66
- "jscodeshift": "^0.13.0",
67
- "react-dom": "^16.8.0",
68
- "react-test-renderer": "^16.8.0",
69
- "storybook-addon-performance": "^0.16.0",
70
- "typescript": "~5.4.2"
71
- },
72
- "techstack": {
73
- "@atlassian/frontend": {
74
- "import-structure": "atlassian-conventions"
75
- },
76
- "@repo/internal": {
77
- "design-system": "v1",
78
- "dom-events": "use-bind-event-listener",
79
- "ui-components": [
80
- "primitives",
81
- "lite-mode"
82
- ],
83
- "analytics": "analytics-next",
84
- "styling": [
85
- "emotion"
86
- ],
87
- "design-tokens": [
88
- "color",
89
- "spacing"
90
- ],
91
- "deprecation": "no-deprecated-imports"
92
- }
93
- },
94
- "homepage": "https://atlassian.design/components/section-message/"
95
- }
2
+ "name": "@atlaskit/section-message",
3
+ "version": "6.5.4",
4
+ "description": "A section message is used to alert users to a particular section of the screen.",
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
+ "atlassian": {
26
+ "team": "Design System Team",
27
+ "releaseModel": "continuous",
28
+ "website": {
29
+ "name": "Section message",
30
+ "category": "Components"
31
+ },
32
+ "productPushConsumption": [
33
+ "jira"
34
+ ],
35
+ "runReact18": true
36
+ },
37
+ "af:exports": {
38
+ "./section-message": "./src/entry-points/section-message.tsx",
39
+ "./section-message-action": "./src/entry-points/section-message-action.tsx",
40
+ "./types": "./src/entry-points/types.tsx",
41
+ ".": "./src/index.tsx"
42
+ },
43
+ "dependencies": {
44
+ "@atlaskit/button": "^17.22.0",
45
+ "@atlaskit/codemod-utils": "^4.2.0",
46
+ "@atlaskit/heading": "^2.4.0",
47
+ "@atlaskit/icon": "^22.4.0",
48
+ "@atlaskit/primitives": "^8.0.0",
49
+ "@atlaskit/theme": "^12.10.0",
50
+ "@atlaskit/tokens": "^1.51.0",
51
+ "@babel/runtime": "^7.0.0"
52
+ },
53
+ "peerDependencies": {
54
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
55
+ },
56
+ "devDependencies": {
57
+ "@af/accessibility-testing": "*",
58
+ "@af/integration-testing": "*",
59
+ "@atlaskit/analytics-next": "^9.3.0",
60
+ "@atlaskit/ds-lib": "^2.3.0",
61
+ "@atlaskit/ssr": "*",
62
+ "@atlaskit/visual-regression": "*",
63
+ "@testing-library/react": "^12.1.5",
64
+ "exenv": "^1.2.2",
65
+ "jest-in-case": "^1.0.2",
66
+ "jscodeshift": "^0.13.0",
67
+ "react-dom": "^16.8.0",
68
+ "react-test-renderer": "^16.8.0",
69
+ "storybook-addon-performance": "^0.16.0",
70
+ "typescript": "~5.4.2"
71
+ },
72
+ "techstack": {
73
+ "@atlassian/frontend": {
74
+ "import-structure": "atlassian-conventions"
75
+ },
76
+ "@repo/internal": {
77
+ "design-system": "v1",
78
+ "dom-events": "use-bind-event-listener",
79
+ "ui-components": [
80
+ "primitives",
81
+ "lite-mode"
82
+ ],
83
+ "analytics": "analytics-next",
84
+ "styling": [
85
+ "emotion"
86
+ ],
87
+ "design-tokens": [
88
+ "color",
89
+ "spacing"
90
+ ],
91
+ "deprecation": "no-deprecated-imports"
92
+ }
93
+ },
94
+ "homepage": "https://atlassian.design/components/section-message/"
95
+ }
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/section-message"
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
@@ -20,16 +21,11 @@ import type { ReactElement } from 'react';
20
21
  import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
21
22
 
22
23
  // @public
23
- export type Appearance =
24
- | 'discovery'
25
- | 'error'
26
- | 'information'
27
- | 'success'
28
- | 'warning';
24
+ export type Appearance = 'discovery' | 'error' | 'information' | 'success' | 'warning';
29
25
 
30
26
  // @public
31
27
  const SectionMessage: React_2.ForwardRefExoticComponent<
32
- SectionMessageProps & React_2.RefAttributes<HTMLElement>
28
+ SectionMessageProps & React_2.RefAttributes<HTMLElement>
33
29
  >;
34
30
  export default SectionMessage;
35
31
 
@@ -38,24 +34,21 @@ export const SectionMessageAction: React_2.NamedExoticComponent<SectionMessageAc
38
34
 
39
35
  // @public (undocumented)
40
36
  export interface SectionMessageActionProps {
41
- children: React.ReactNode;
42
- href?: string;
43
- linkComponent?: React.ComponentType<any>;
44
- onClick?: (
45
- e: React.MouseEvent<HTMLElement>,
46
- analyticsEvent: UIAnalyticsEvent,
47
- ) => void;
48
- testId?: string;
37
+ children: React.ReactNode;
38
+ href?: string;
39
+ linkComponent?: React.ComponentType<any>;
40
+ onClick?: (e: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent) => void;
41
+ testId?: string;
49
42
  }
50
43
 
51
44
  // @public (undocumented)
52
45
  export interface SectionMessageProps {
53
- actions?: ReactElement | ReactElement<SectionMessageActionProps>[];
54
- appearance?: Appearance;
55
- children: React.ReactNode;
56
- icon?: React.ElementType;
57
- testId?: string;
58
- title?: string;
46
+ actions?: ReactElement | ReactElement<SectionMessageActionProps>[];
47
+ appearance?: Appearance;
48
+ children: React.ReactNode;
49
+ icon?: React.ElementType;
50
+ testId?: string;
51
+ title?: string;
59
52
  }
60
53
 
61
54
  // (No @packageDocumentation comment for this package)
@@ -69,7 +62,7 @@ export interface SectionMessageProps {
69
62
 
70
63
  ```json
71
64
  {
72
- "react": "^16.8.0"
65
+ "react": "^16.8.0"
73
66
  }
74
67
  ```
75
68