@atlaskit/status 5.4.0 → 5.4.2
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
CHANGED
|
@@ -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.
|
|
13
|
+
var packageVersion = "5.4.1";
|
|
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.
|
|
3
|
+
const packageVersion = "5.4.1";
|
|
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 = "5.
|
|
6
|
+
var packageVersion = "5.4.1";
|
|
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.4.
|
|
3
|
+
"version": "5.4.2",
|
|
4
4
|
"description": "Fabric Status React Components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"@atlaskit/icon": "^36.1.0",
|
|
49
49
|
"@atlaskit/lozenge": "^14.1.0",
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
51
|
-
"@atlaskit/primitives": "^20.
|
|
51
|
+
"@atlaskit/primitives": "^20.2.0",
|
|
52
52
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
53
53
|
"@atlaskit/textfield": "^9.1.0",
|
|
54
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
55
|
-
"@atlaskit/tokens": "^15.
|
|
54
|
+
"@atlaskit/tmp-editor-statsig": "^116.0.0",
|
|
55
|
+
"@atlaskit/tokens": "^15.2.0",
|
|
56
56
|
"@babel/runtime": "^7.0.0",
|
|
57
57
|
"@compiled/react": "^0.20.0"
|
|
58
58
|
},
|
package/status.docs.tsx
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import path from 'path';
|
|
2
|
+
|
|
3
|
+
import type { StructuredContentSource } from '@atlassian/structured-docs-types/types';
|
|
4
|
+
|
|
5
|
+
import packageJson from './package.json';
|
|
6
|
+
|
|
7
|
+
const packagePath = path.resolve(__dirname);
|
|
8
|
+
|
|
9
|
+
const documentation: StructuredContentSource = {
|
|
10
|
+
components: [
|
|
11
|
+
{
|
|
12
|
+
name: 'Status',
|
|
13
|
+
description: 'A component for displaying a status label with a background color.',
|
|
14
|
+
status: 'general-availability',
|
|
15
|
+
import: {
|
|
16
|
+
name: 'Status',
|
|
17
|
+
package: '@atlaskit/status',
|
|
18
|
+
type: 'named',
|
|
19
|
+
packagePath,
|
|
20
|
+
packageJson,
|
|
21
|
+
},
|
|
22
|
+
usageGuidelines: [
|
|
23
|
+
'Use Status to indicate the current state of an item (e.g., "In Progress", "Done").',
|
|
24
|
+
'Supports various colors to convey different meanings.',
|
|
25
|
+
],
|
|
26
|
+
examples: [
|
|
27
|
+
{
|
|
28
|
+
name: 'Basic',
|
|
29
|
+
description: 'Standard status label display.',
|
|
30
|
+
source: path.resolve(packagePath, './examples/00-simple-status.tsx'),
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
keywords: ['status', 'label', 'badge', 'state', 'lozenge'],
|
|
34
|
+
categories: ['data-display'],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'StatusPicker',
|
|
38
|
+
description:
|
|
39
|
+
'A picker component that allows users to select a status from a predefined list.',
|
|
40
|
+
status: 'general-availability',
|
|
41
|
+
import: {
|
|
42
|
+
name: 'StatusPicker',
|
|
43
|
+
package: '@atlaskit/status',
|
|
44
|
+
type: 'named',
|
|
45
|
+
packagePath,
|
|
46
|
+
packageJson,
|
|
47
|
+
},
|
|
48
|
+
usageGuidelines: [
|
|
49
|
+
'Use StatusPicker to allow users to change the status of an item.',
|
|
50
|
+
'Provides a list of available statuses with their associated colors.',
|
|
51
|
+
],
|
|
52
|
+
examples: [
|
|
53
|
+
{
|
|
54
|
+
name: 'Status Picker',
|
|
55
|
+
description: 'Standard status picker example.',
|
|
56
|
+
source: path.resolve(packagePath, './examples/01-status-picker.tsx'),
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
keywords: ['status', 'picker', 'select', 'state', 'choice'],
|
|
60
|
+
categories: ['interaction'],
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export default documentation;
|