@atlaskit/status 3.1.13 → 3.1.15

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,17 @@
1
1
  # @atlaskit/status
2
2
 
3
+ ## 3.1.15
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.1.14
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 3.1.13
4
16
 
5
17
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- /* Status.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* Status.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* StatusPicker.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* StatusPicker.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -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.12";
13
+ var packageVersion = "3.1.14";
14
14
  var createStatusAnalyticsAndFire = exports.createStatusAnalyticsAndFire = function createStatusAnalyticsAndFire(createAnalyticsEvent) {
15
15
  return function (payload) {
16
16
  var statusPayload = _objectSpread(_objectSpread({}, payload), {}, {
@@ -1,4 +1,4 @@
1
- /* color-palette.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* color-palette.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* color.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* color.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* Status.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* Status.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./Status.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* StatusPicker.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* StatusPicker.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./StatusPicker.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -80,6 +80,8 @@ class Picker extends PureComponent {
80
80
  }
81
81
  }
82
82
  }
83
+
84
+ // eslint-disable-next-line @typescript-eslint/ban-types
83
85
  _defineProperty(Picker, "defaultProps", {
84
86
  autoFocus: true
85
87
  });
@@ -1,6 +1,6 @@
1
1
  export const ELEMENTS_CHANNEL = 'fabric-elements';
2
2
  const packageName = "@atlaskit/status";
3
- const packageVersion = "3.1.12";
3
+ const packageVersion = "3.1.14";
4
4
  export const createStatusAnalyticsAndFire = createAnalyticsEvent => payload => {
5
5
  const statusPayload = {
6
6
  ...payload,
@@ -1,4 +1,4 @@
1
- /* color-palette.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* color-palette.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./color-palette.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useEffect, useRef, useCallback, useState } from 'react';
@@ -1,4 +1,4 @@
1
- /* color.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* color.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./color.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* Status.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* Status.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
@@ -1,4 +1,4 @@
1
- /* StatusPicker.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* StatusPicker.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
@@ -99,7 +99,7 @@ var Picker = /*#__PURE__*/function (_PureComponent) {
99
99
  }
100
100
  }
101
101
  }]);
102
- }(PureComponent);
102
+ }(PureComponent); // eslint-disable-next-line @typescript-eslint/ban-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 = "3.1.12";
6
+ var packageVersion = "3.1.14";
7
7
  export var createStatusAnalyticsAndFire = function createStatusAnalyticsAndFire(createAnalyticsEvent) {
8
8
  return function (payload) {
9
9
  var statusPayload = _objectSpread(_objectSpread({}, payload), {}, {
@@ -1,4 +1,4 @@
1
- /* color-palette.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* color-palette.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import "./color-palette.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* color.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* color.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
@@ -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: import("react").ForwardRefExoticComponent<Omit<OwnProps, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
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<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
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: import("react").ForwardRefExoticComponent<Omit<OwnProps, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
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<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
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.13",
3
+ "version": "3.1.15",
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.4.0",
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": "^34.0.0",
37
- "@atlaskit/tokens": "^11.0.0",
36
+ "@atlaskit/tmp-editor-statsig": "^36.0.0",
37
+ "@atlaskit/tokens": "^11.1.0",
38
38
  "@babel/runtime": "^7.0.0",
39
39
  "@compiled/react": "^0.20.0"
40
40
  },
@@ -45,7 +45,7 @@
45
45
  "devDependencies": {
46
46
  "@af/visual-regression": "workspace:^",
47
47
  "@atlaskit/elements-test-helpers": "workspace:^",
48
- "@atlassian/a11y-jest-testing": "^0.11.0",
48
+ "@atlassian/a11y-jest-testing": "^0.10.0",
49
49
  "@atlassian/feature-flags-test-utils": "^1.0.0",
50
50
  "@testing-library/jest-dom": "^6.4.5",
51
51
  "@testing-library/react": "^16.3.0",