@atlaskit/status 1.3.4 → 1.3.5

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,11 @@
1
1
  # @atlaskit/status
2
2
 
3
+ ## 1.3.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`932b50814f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/932b50814f6) - ED-18001: update android style overrides to vertically align status node
8
+
3
9
  ## 1.3.4
4
10
 
5
11
  ### Patch Changes
@@ -43,7 +43,8 @@ var MAX_WIDTH = 200;
43
43
  var inlineBlockStyles = (0, _react2.css)({
44
44
  '& > *': {
45
45
  display: 'inline-block !important',
46
- lineHeight: '16px'
46
+ lineHeight: '16px',
47
+ verticalAlign: 'middle'
47
48
  }
48
49
  });
49
50
 
@@ -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.4";
14
+ var packageVersion = "1.3.5";
15
15
  var createStatusAnalyticsAndFire = function createStatusAnalyticsAndFire(createAnalyticsEvent) {
16
16
  return function (payload) {
17
17
  var statusPayload = _objectSpread(_objectSpread({}, payload), {}, {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/status",
3
- "version": "1.3.4"
3
+ "version": "1.3.5"
4
4
  }
@@ -29,7 +29,8 @@ const MAX_WIDTH = 200;
29
29
  const inlineBlockStyles = css({
30
30
  '& > *': {
31
31
  display: 'inline-block !important',
32
- lineHeight: '16px'
32
+ lineHeight: '16px',
33
+ verticalAlign: 'middle'
33
34
  }
34
35
  });
35
36
 
@@ -1,6 +1,6 @@
1
1
  export const ELEMENTS_CHANNEL = 'fabric-elements';
2
2
  const packageName = "@atlaskit/status";
3
- const packageVersion = "1.3.4";
3
+ const packageVersion = "1.3.5";
4
4
  export const createStatusAnalyticsAndFire = createAnalyticsEvent => payload => {
5
5
  const statusPayload = {
6
6
  ...payload,
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/status",
3
- "version": "1.3.4"
3
+ "version": "1.3.5"
4
4
  }
@@ -37,7 +37,8 @@ var MAX_WIDTH = 200;
37
37
  var inlineBlockStyles = css({
38
38
  '& > *': {
39
39
  display: 'inline-block !important',
40
- lineHeight: '16px'
40
+ lineHeight: '16px',
41
+ verticalAlign: 'middle'
41
42
  }
42
43
  });
43
44
 
@@ -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.4";
6
+ var packageVersion = "1.3.5";
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
1
  {
2
2
  "name": "@atlaskit/status",
3
- "version": "1.3.4"
3
+ "version": "1.3.5"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/status",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "Fabric Status React Components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -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.5.0",
39
+ "@atlaskit/textfield": "^5.6.0",
40
40
  "@atlaskit/theme": "^12.5.0",
41
- "@atlaskit/tokens": "^1.5.0",
41
+ "@atlaskit/tokens": "^1.11.0",
42
42
  "@babel/runtime": "^7.0.0",
43
43
  "@emotion/react": "^11.7.1"
44
44
  },
@@ -47,7 +47,6 @@
47
47
  "react-intl-next": "npm:react-intl@^5.18.1"
48
48
  },
49
49
  "devDependencies": {
50
- "@atlaskit/docs": "^9.1.0",
51
50
  "@atlaskit/elements-test-helpers": "^0.7.0",
52
51
  "@atlaskit/visual-regression": "*",
53
52
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
@@ -1,74 +0,0 @@
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
- ```