@atlaskit/status 1.3.3 → 1.3.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/CHANGELOG.md +6 -0
- package/dist/cjs/components/analytics.js +1 -1
- package/dist/cjs/i18n/en_ZZ.js +1 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/analytics.js +1 -1
- package/dist/es2019/i18n/en_ZZ.js +1 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/analytics.js +1 -1
- package/dist/esm/i18n/en_ZZ.js +1 -0
- package/dist/esm/version.json +1 -1
- package/package.json +4 -5
- package/tmp/api-report-tmp.d.ts +74 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/status
|
|
2
2
|
|
|
3
|
+
## 1.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`54ce14a4fd3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54ce14a4fd3) - [ED-18129] Duplicate Enzyme mount helper to avoid circular references in Emoji and Status
|
|
8
|
+
|
|
3
9
|
## 1.3.3
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -11,7 +11,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
11
11
|
var ELEMENTS_CHANNEL = 'fabric-elements';
|
|
12
12
|
exports.ELEMENTS_CHANNEL = ELEMENTS_CHANNEL;
|
|
13
13
|
var packageName = "@atlaskit/status";
|
|
14
|
-
var packageVersion = "1.3.
|
|
14
|
+
var packageVersion = "1.3.4";
|
|
15
15
|
var createStatusAnalyticsAndFire = function createStatusAnalyticsAndFire(createAnalyticsEvent) {
|
|
16
16
|
return function (payload) {
|
|
17
17
|
var statusPayload = _objectSpread(_objectSpread({}, payload), {}, {
|
package/dist/cjs/i18n/en_ZZ.js
CHANGED
package/dist/cjs/version.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const ELEMENTS_CHANNEL = 'fabric-elements';
|
|
2
2
|
const packageName = "@atlaskit/status";
|
|
3
|
-
const packageVersion = "1.3.
|
|
3
|
+
const packageVersion = "1.3.4";
|
|
4
4
|
export const createStatusAnalyticsAndFire = createAnalyticsEvent => payload => {
|
|
5
5
|
const statusPayload = {
|
|
6
6
|
...payload,
|
package/dist/es2019/version.json
CHANGED
|
@@ -3,7 +3,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
3
3
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
export var ELEMENTS_CHANNEL = 'fabric-elements';
|
|
5
5
|
var packageName = "@atlaskit/status";
|
|
6
|
-
var packageVersion = "1.3.
|
|
6
|
+
var packageVersion = "1.3.4";
|
|
7
7
|
export var createStatusAnalyticsAndFire = function createStatusAnalyticsAndFire(createAnalyticsEvent) {
|
|
8
8
|
return function (payload) {
|
|
9
9
|
var statusPayload = _objectSpread(_objectSpread({}, payload), {}, {
|
package/dist/esm/i18n/en_ZZ.js
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/status",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "Fabric Status React Components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"atlassian": {
|
|
25
25
|
"team": "Editor",
|
|
26
26
|
"deprecatedAutoEntryPoints": true,
|
|
27
|
-
"releaseModel": "
|
|
27
|
+
"releaseModel": "continuous",
|
|
28
28
|
"website": {
|
|
29
29
|
"name": "Status"
|
|
30
30
|
}
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
37
37
|
"@atlaskit/icon": "^21.12.0",
|
|
38
38
|
"@atlaskit/lozenge": "^11.4.0",
|
|
39
|
-
"@atlaskit/textfield": "^5.
|
|
39
|
+
"@atlaskit/textfield": "^5.5.0",
|
|
40
40
|
"@atlaskit/theme": "^12.5.0",
|
|
41
|
-
"@atlaskit/tokens": "^1.
|
|
41
|
+
"@atlaskit/tokens": "^1.5.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"@emotion/react": "^11.7.1"
|
|
44
44
|
},
|
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@atlaskit/docs": "^9.1.0",
|
|
51
|
-
"@atlaskit/editor-test-helpers": "^18.3.0",
|
|
52
51
|
"@atlaskit/elements-test-helpers": "^0.7.0",
|
|
53
52
|
"@atlaskit/visual-regression": "*",
|
|
54
53
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
## API Report File for "@atlaskit/status"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
/// <reference types="react" />
|
|
8
|
+
|
|
9
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
10
|
+
import { default as React_2 } from 'react';
|
|
11
|
+
import { RefAttributes } from 'react';
|
|
12
|
+
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
13
|
+
import { WithIntlProps } from 'react-intl-next';
|
|
14
|
+
import { WrappedComponentProps } from 'react-intl-next';
|
|
15
|
+
|
|
16
|
+
// @public (undocumented)
|
|
17
|
+
export type Color = 'blue' | 'green' | 'neutral' | 'purple' | 'red' | 'yellow';
|
|
18
|
+
|
|
19
|
+
// @public (undocumented)
|
|
20
|
+
type ColorType = Color;
|
|
21
|
+
|
|
22
|
+
// @public (undocumented)
|
|
23
|
+
interface OwnProps {
|
|
24
|
+
// (undocumented)
|
|
25
|
+
color: Color;
|
|
26
|
+
// (undocumented)
|
|
27
|
+
localId?: string;
|
|
28
|
+
// (undocumented)
|
|
29
|
+
onClick?: (event: React.SyntheticEvent<any>) => void;
|
|
30
|
+
// (undocumented)
|
|
31
|
+
onHover?: () => void;
|
|
32
|
+
// (undocumented)
|
|
33
|
+
role?: string;
|
|
34
|
+
// (undocumented)
|
|
35
|
+
style?: StatusStyle;
|
|
36
|
+
// (undocumented)
|
|
37
|
+
text: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// @public (undocumented)
|
|
41
|
+
export type Props = OwnProps & WithAnalyticsEventsProps;
|
|
42
|
+
|
|
43
|
+
// @public (undocumented)
|
|
44
|
+
export const Status: ForwardRefExoticComponent<Omit<Props, keyof WithAnalyticsEventsProps> & RefAttributes<any>>;
|
|
45
|
+
|
|
46
|
+
// @public (undocumented)
|
|
47
|
+
export const StatusPicker: React_2.FC<WithIntlProps<StatusPickerProps & WrappedComponentProps<"intl">>> & {
|
|
48
|
+
WrappedComponent: React_2.ComponentType<StatusPickerProps & WrappedComponentProps<"intl">>;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
// @public (undocumented)
|
|
52
|
+
export interface StatusPickerProps {
|
|
53
|
+
// (undocumented)
|
|
54
|
+
autoFocus?: boolean;
|
|
55
|
+
// (undocumented)
|
|
56
|
+
onColorClick: (value: ColorType) => void;
|
|
57
|
+
// (undocumented)
|
|
58
|
+
onColorHover?: (value: ColorType) => void;
|
|
59
|
+
// (undocumented)
|
|
60
|
+
onEnter: () => void;
|
|
61
|
+
// (undocumented)
|
|
62
|
+
onTextChanged: (value: string) => void;
|
|
63
|
+
// (undocumented)
|
|
64
|
+
selectedColor: ColorType;
|
|
65
|
+
// (undocumented)
|
|
66
|
+
text: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// @public (undocumented)
|
|
70
|
+
export type StatusStyle = 'bold' | 'subtle';
|
|
71
|
+
|
|
72
|
+
// (No @packageDocumentation comment for this package)
|
|
73
|
+
|
|
74
|
+
```
|