@atlaskit/status 5.8.33 → 5.9.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 +17 -0
- package/dist/cjs/components/StatusPicker.js +1 -1
- package/dist/cjs/components/analytics.js +1 -1
- package/dist/es2019/components/StatusPicker.js +1 -1
- package/dist/es2019/components/analytics.js +1 -1
- package/dist/esm/components/StatusPicker.js +1 -1
- package/dist/esm/components/analytics.js +1 -1
- package/package.json +10 -10
- package/report.api.md +0 -104
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/status
|
|
2
2
|
|
|
3
|
+
## 5.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
|
|
8
|
+
Remove stale API report artifacts from published Platform packages.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 5.8.34
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 5.8.33
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -108,7 +108,7 @@ var Picker = /*#__PURE__*/function (_PureComponent) {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
}]);
|
|
111
|
-
}(_react.PureComponent); // eslint-disable-next-line @typescript-eslint/
|
|
111
|
+
}(_react.PureComponent); // eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
112
112
|
(0, _defineProperty2.default)(Picker, "defaultProps", {
|
|
113
113
|
autoFocus: true
|
|
114
114
|
});
|
|
@@ -10,7 +10,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
10
10
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11
11
|
var ELEMENTS_CHANNEL = exports.ELEMENTS_CHANNEL = 'fabric-elements';
|
|
12
12
|
var packageName = "@atlaskit/status";
|
|
13
|
-
var packageVersion = "5.8.
|
|
13
|
+
var packageVersion = "5.8.34";
|
|
14
14
|
var createStatusAnalyticsAndFire = exports.createStatusAnalyticsAndFire = function createStatusAnalyticsAndFire(createAnalyticsEvent) {
|
|
15
15
|
return function (payload) {
|
|
16
16
|
var statusPayload = _objectSpread(_objectSpread({}, payload), {}, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const ELEMENTS_CHANNEL = 'fabric-elements';
|
|
2
2
|
const packageName = "@atlaskit/status";
|
|
3
|
-
const packageVersion = "5.8.
|
|
3
|
+
const packageVersion = "5.8.34";
|
|
4
4
|
export const createStatusAnalyticsAndFire = createAnalyticsEvent => payload => {
|
|
5
5
|
const statusPayload = {
|
|
6
6
|
...payload,
|
|
@@ -99,7 +99,7 @@ var Picker = /*#__PURE__*/function (_PureComponent) {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
}]);
|
|
102
|
-
}(PureComponent); // eslint-disable-next-line @typescript-eslint/
|
|
102
|
+
}(PureComponent); // eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
103
103
|
_defineProperty(Picker, "defaultProps", {
|
|
104
104
|
autoFocus: true
|
|
105
105
|
});
|
|
@@ -3,7 +3,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
export var ELEMENTS_CHANNEL = 'fabric-elements';
|
|
5
5
|
var packageName = "@atlaskit/status";
|
|
6
|
-
var packageVersion = "5.8.
|
|
6
|
+
var packageVersion = "5.8.34";
|
|
7
7
|
export var createStatusAnalyticsAndFire = function createStatusAnalyticsAndFire(createAnalyticsEvent) {
|
|
8
8
|
return function (payload) {
|
|
9
9
|
var statusPayload = _objectSpread(_objectSpread({}, payload), {}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/status",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.9.0",
|
|
4
4
|
"description": "Fabric Status React Components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@af/visual-regression": "workspace:^",
|
|
31
31
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
32
|
-
"@atlassian/feature-flags-test-utils": "^1.
|
|
32
|
+
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
33
33
|
"@testing-library/jest-dom": "^6.4.5",
|
|
34
34
|
"@testing-library/react": "^16.3.0",
|
|
35
35
|
"enzyme": "^3.10.0",
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@atlaskit/afm-i18n-platform-elements-status": "2.200.0",
|
|
47
|
-
"@atlaskit/analytics-next": "^12.
|
|
48
|
-
"@atlaskit/icon": "^37.
|
|
49
|
-
"@atlaskit/lozenge": "^15.
|
|
50
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
51
|
-
"@atlaskit/primitives": "^22.
|
|
47
|
+
"@atlaskit/analytics-next": "^12.5.0",
|
|
48
|
+
"@atlaskit/icon": "^37.6.0",
|
|
49
|
+
"@atlaskit/lozenge": "^15.4.0",
|
|
50
|
+
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
51
|
+
"@atlaskit/primitives": "^22.5.0",
|
|
52
52
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
53
|
-
"@atlaskit/textfield": "^10.
|
|
54
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
55
|
-
"@atlaskit/tokens": "^16.
|
|
53
|
+
"@atlaskit/textfield": "^10.2.0",
|
|
54
|
+
"@atlaskit/tmp-editor-statsig": "^168.0.0",
|
|
55
|
+
"@atlaskit/tokens": "^16.10.0",
|
|
56
56
|
"@babel/runtime": "^7.0.0",
|
|
57
57
|
"@compiled/react": "^1.0.2"
|
|
58
58
|
},
|
package/report.api.md
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
<!-- API Report Version: 2.3 -->
|
|
2
|
-
|
|
3
|
-
## API Report File for "@atlaskit/status"
|
|
4
|
-
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
6
|
-
> [API Extractor](https://api-extractor.com/).
|
|
7
|
-
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
8
|
-
|
|
9
|
-
### Table of contents
|
|
10
|
-
|
|
11
|
-
- [Main Entry Types](#main-entry-types)
|
|
12
|
-
- [Peer Dependencies](#peer-dependencies)
|
|
13
|
-
|
|
14
|
-
### Main Entry Types
|
|
15
|
-
|
|
16
|
-
<!--SECTION START: Main Entry Types-->
|
|
17
|
-
|
|
18
|
-
```ts
|
|
19
|
-
/// <reference types="react" />
|
|
20
|
-
|
|
21
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
22
|
-
import { default as React_2 } from 'react';
|
|
23
|
-
import { RefAttributes } from 'react';
|
|
24
|
-
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
25
|
-
import { WithIntlProps } from 'react-intl';
|
|
26
|
-
import { WrappedComponentProps } from 'react-intl';
|
|
27
|
-
|
|
28
|
-
// @public (undocumented)
|
|
29
|
-
export type Color = 'blue' | 'green' | 'neutral' | 'purple' | 'red' | 'yellow';
|
|
30
|
-
|
|
31
|
-
// @public (undocumented)
|
|
32
|
-
type ColorType = Color;
|
|
33
|
-
|
|
34
|
-
// @public (undocumented)
|
|
35
|
-
interface OwnProps {
|
|
36
|
-
// (undocumented)
|
|
37
|
-
color: Color;
|
|
38
|
-
// (undocumented)
|
|
39
|
-
localId?: string;
|
|
40
|
-
// (undocumented)
|
|
41
|
-
onClick?: (event: React.SyntheticEvent<any>) => void;
|
|
42
|
-
// (undocumented)
|
|
43
|
-
onHover?: () => void;
|
|
44
|
-
// (undocumented)
|
|
45
|
-
role?: string;
|
|
46
|
-
// (undocumented)
|
|
47
|
-
style?: StatusStyle;
|
|
48
|
-
// (undocumented)
|
|
49
|
-
text: string;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// @public (undocumented)
|
|
53
|
-
export type Props = OwnProps & WithAnalyticsEventsProps;
|
|
54
|
-
|
|
55
|
-
// @public (undocumented)
|
|
56
|
-
export const Status: ForwardRefExoticComponent<
|
|
57
|
-
Omit<Props, keyof WithAnalyticsEventsProps> & RefAttributes<any>
|
|
58
|
-
>;
|
|
59
|
-
|
|
60
|
-
// @public (undocumented)
|
|
61
|
-
export const StatusPicker: React_2.FC<
|
|
62
|
-
WithIntlProps<StatusPickerProps & WrappedComponentProps<'intl'>>
|
|
63
|
-
> & {
|
|
64
|
-
WrappedComponent: React_2.ComponentType<StatusPickerProps & WrappedComponentProps<'intl'>>;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
// @public (undocumented)
|
|
68
|
-
export interface StatusPickerProps {
|
|
69
|
-
// (undocumented)
|
|
70
|
-
autoFocus?: boolean;
|
|
71
|
-
// (undocumented)
|
|
72
|
-
onColorClick: (value: ColorType) => void;
|
|
73
|
-
// (undocumented)
|
|
74
|
-
onColorHover?: (value: ColorType) => void;
|
|
75
|
-
// (undocumented)
|
|
76
|
-
onEnter: () => void;
|
|
77
|
-
// (undocumented)
|
|
78
|
-
onTextChanged: (value: string) => void;
|
|
79
|
-
// (undocumented)
|
|
80
|
-
selectedColor: ColorType;
|
|
81
|
-
// (undocumented)
|
|
82
|
-
text: string;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// @public (undocumented)
|
|
86
|
-
export type StatusStyle = 'bold' | 'subtle';
|
|
87
|
-
|
|
88
|
-
// (No @packageDocumentation comment for this package)
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
<!--SECTION END: Main Entry Types-->
|
|
92
|
-
|
|
93
|
-
### Peer Dependencies
|
|
94
|
-
|
|
95
|
-
<!--SECTION START: Peer Dependencies-->
|
|
96
|
-
|
|
97
|
-
```json
|
|
98
|
-
{
|
|
99
|
-
"react": "^16.8.0",
|
|
100
|
-
"react-intl": "npm:react-intl@^5.18.1"
|
|
101
|
-
}
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
<!--SECTION END: Peer Dependencies-->
|