@atlaskit/status 3.1.14 → 3.1.16
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 +12 -0
- package/dist/cjs/components/StatusPicker.js +1 -1
- package/dist/cjs/components/analytics.js +1 -1
- package/dist/es2019/components/StatusPicker.js +2 -0
- 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/dist/types/components/Status.d.ts +6 -1
- package/dist/types/components/StatusPicker.d.ts +2 -2
- package/dist/types/components/internal/color-palette.d.ts +1 -1
- package/dist/types-ts4.5/components/Status.d.ts +6 -1
- package/dist/types-ts4.5/components/StatusPicker.d.ts +2 -2
- package/dist/types-ts4.5/components/internal/color-palette.d.ts +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -108,7 +108,7 @@ var Picker = /*#__PURE__*/function (_PureComponent) {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
}]);
|
|
111
|
-
}(_react.PureComponent);
|
|
111
|
+
}(_react.PureComponent); // eslint-disable-next-line @typescript-eslint/ban-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 = "3.1.
|
|
13
|
+
var packageVersion = "3.1.15";
|
|
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 = "3.1.
|
|
3
|
+
const packageVersion = "3.1.15";
|
|
4
4
|
export const createStatusAnalyticsAndFire = createAnalyticsEvent => payload => {
|
|
5
5
|
const statusPayload = {
|
|
6
6
|
...payload,
|
|
@@ -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 = "3.1.
|
|
6
|
+
var packageVersion = "3.1.15";
|
|
7
7
|
export var createStatusAnalyticsAndFire = function createStatusAnalyticsAndFire(createAnalyticsEvent) {
|
|
8
8
|
return function (payload) {
|
|
9
9
|
var statusPayload = _objectSpread(_objectSpread({}, payload), {}, {
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
|
|
1
6
|
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
2
7
|
export type Color = 'neutral' | 'purple' | 'blue' | 'red' | 'yellow' | 'green';
|
|
3
8
|
export type StatusStyle = 'bold' | 'subtle';
|
|
@@ -12,4 +17,4 @@ export interface OwnProps {
|
|
|
12
17
|
text: string;
|
|
13
18
|
}
|
|
14
19
|
export type Props = OwnProps & WithAnalyticsEventsProps;
|
|
15
|
-
export declare const Status:
|
|
20
|
+
export declare const Status: ForwardRefExoticComponent<Omit<OwnProps, keyof WithAnalyticsEventsProps> & RefAttributes<any>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type WithIntlProps, type WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
import { type Color } from './Status';
|
|
4
4
|
export type ColorType = Color;
|
|
5
5
|
export interface Props {
|
|
@@ -11,6 +11,6 @@ export interface Props {
|
|
|
11
11
|
selectedColor: ColorType;
|
|
12
12
|
text: string;
|
|
13
13
|
}
|
|
14
|
-
export declare const StatusPicker: React.FC<
|
|
14
|
+
export declare const StatusPicker: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
15
15
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
16
16
|
};
|
|
@@ -6,5 +6,5 @@ interface ColorPaletteProps {
|
|
|
6
6
|
onHover?: (value: ColorType) => void;
|
|
7
7
|
selectedColor?: ColorType;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: ({ cols, onClick, selectedColor, className, onHover }: ColorPaletteProps) => JSX.Element;
|
|
9
|
+
declare const _default: ({ cols, onClick, selectedColor, className, onHover, }: ColorPaletteProps) => JSX.Element;
|
|
10
10
|
export default _default;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
|
|
1
6
|
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
2
7
|
export type Color = 'neutral' | 'purple' | 'blue' | 'red' | 'yellow' | 'green';
|
|
3
8
|
export type StatusStyle = 'bold' | 'subtle';
|
|
@@ -12,4 +17,4 @@ export interface OwnProps {
|
|
|
12
17
|
text: string;
|
|
13
18
|
}
|
|
14
19
|
export type Props = OwnProps & WithAnalyticsEventsProps;
|
|
15
|
-
export declare const Status:
|
|
20
|
+
export declare const Status: ForwardRefExoticComponent<Omit<OwnProps, keyof WithAnalyticsEventsProps> & RefAttributes<any>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import { type WithIntlProps, type WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
import { type Color } from './Status';
|
|
4
4
|
export type ColorType = Color;
|
|
5
5
|
export interface Props {
|
|
@@ -11,6 +11,6 @@ export interface Props {
|
|
|
11
11
|
selectedColor: ColorType;
|
|
12
12
|
text: string;
|
|
13
13
|
}
|
|
14
|
-
export declare const StatusPicker: React.FC<
|
|
14
|
+
export declare const StatusPicker: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
15
15
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
16
16
|
};
|
|
@@ -6,5 +6,5 @@ interface ColorPaletteProps {
|
|
|
6
6
|
onHover?: (value: ColorType) => void;
|
|
7
7
|
selectedColor?: ColorType;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: ({ cols, onClick, selectedColor, className, onHover }: ColorPaletteProps) => JSX.Element;
|
|
9
|
+
declare const _default: ({ cols, onClick, selectedColor, className, onHover, }: ColorPaletteProps) => JSX.Element;
|
|
10
10
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/status",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.16",
|
|
4
4
|
"description": "Fabric Status React Components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"@atlaskit/afm-i18n-platform-elements-status": "2.7.0",
|
|
30
30
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
31
31
|
"@atlaskit/icon": "^32.0.0",
|
|
32
|
-
"@atlaskit/lozenge": "^13.
|
|
32
|
+
"@atlaskit/lozenge": "^13.5.0",
|
|
33
33
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
34
34
|
"@atlaskit/primitives": "^18.0.0",
|
|
35
35
|
"@atlaskit/textfield": "^8.2.0",
|
|
36
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
37
|
-
"@atlaskit/tokens": "^11.
|
|
36
|
+
"@atlaskit/tmp-editor-statsig": "^37.0.0",
|
|
37
|
+
"@atlaskit/tokens": "^11.1.0",
|
|
38
38
|
"@babel/runtime": "^7.0.0",
|
|
39
39
|
"@compiled/react": "^0.20.0"
|
|
40
40
|
},
|