@atlaskit/status 5.3.0 → 5.4.1

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
@@ -1,5 +1,29 @@
1
1
  # @atlaskit/status
2
2
 
3
+ ## 5.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 5.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`cd097a2111788`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cd097a2111788) -
14
+ Republish packages depending on `@atlaskit/react-compiler-gating` so their published dependency
15
+ reference is updated to the renamed `@atlaskit/react-compiler-gating` scope.
16
+
17
+ The earlier rename of `@atlassian/react-compiler-gating` to `@atlaskit/react-compiler-gating` only
18
+ bumped the renamed package itself, so dependent packages were never republished and their
19
+ published versions still referenced the old `@atlassian/react-compiler-gating` name, which is not
20
+ available in the public npm registry. This minor bump republishes all affected packages with the
21
+ corrected dependency.
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies
26
+
3
27
  ## 5.3.0
4
28
 
5
29
  ### Minor Changes
@@ -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.2.5";
13
+ var packageVersion = "5.4.0";
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.2.5";
3
+ const packageVersion = "5.4.0";
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.2.5";
6
+ var packageVersion = "5.4.0";
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.0",
3
+ "version": "5.4.1",
4
4
  "description": "Fabric Status React Components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -44,15 +44,15 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@atlaskit/afm-i18n-platform-elements-status": "2.168.0",
47
- "@atlaskit/analytics-next": "^12.0.0",
48
- "@atlaskit/icon": "^36.0.0",
49
- "@atlaskit/lozenge": "^14.0.0",
47
+ "@atlaskit/analytics-next": "^12.1.0",
48
+ "@atlaskit/icon": "^36.1.0",
49
+ "@atlaskit/lozenge": "^14.1.0",
50
50
  "@atlaskit/platform-feature-flags": "^2.0.0",
51
- "@atlaskit/primitives": "^20.0.0",
51
+ "@atlaskit/primitives": "^20.2.0",
52
52
  "@atlaskit/react-compiler-gating": "^0.2.0",
53
- "@atlaskit/textfield": "^9.0.0",
54
- "@atlaskit/tmp-editor-statsig": "^114.0.0",
55
- "@atlaskit/tokens": "^15.0.0",
53
+ "@atlaskit/textfield": "^9.1.0",
54
+ "@atlaskit/tmp-editor-statsig": "^115.0.0",
55
+ "@atlaskit/tokens": "^15.2.0",
56
56
  "@babel/runtime": "^7.0.0",
57
57
  "@compiled/react": "^0.20.0"
58
58
  },
@@ -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;
package/tsconfig.json CHANGED
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "extends": "../../../tsconfig.json",
3
3
  "include": [
4
+ "./*.docs.tsx",
5
+ "./package.json",
4
6
  "./src/**/*.ts",
5
7
  "./src/**/*.tsx",
6
8
  "./docs/**/*.ts",