@spaced-out/ui-design-system 0.1.93-beta.0 → 0.1.93

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
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.93](https://github.com/spaced-out/ui-design-system/compare/v0.1.93-beta.1...v0.1.93) (2024-05-08)
6
+
7
+
8
+ ### Features
9
+
10
+ * adding prop to disable hover on chip ([#200](https://github.com/spaced-out/ui-design-system/issues/200)) ([65a60dd](https://github.com/spaced-out/ui-design-system/commit/65a60dda9b9180b8be8a4145991590f2fe04d2d8))
11
+
12
+ ### [0.1.93-beta.1](https://github.com/spaced-out/ui-design-system/compare/v0.1.93-beta.0...v0.1.93-beta.1) (2024-05-07)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **Linechart:** updated input data in stories ([#199](https://github.com/spaced-out/ui-design-system/issues/199)) ([703fb28](https://github.com/spaced-out/ui-design-system/commit/703fb28ad0dc8f277a29770a01ad722a97db93c5))
18
+
5
19
  ### [0.1.93-beta.0](https://github.com/spaced-out/ui-design-system/compare/v0.1.92...v0.1.93-beta.0) (2024-04-29)
6
20
 
7
21
 
@@ -32,6 +32,7 @@ const Chip = /*#__PURE__*/React.forwardRef((_ref, ref) => {
32
32
  iconName = '',
33
33
  iconType = 'regular',
34
34
  showStatusIndicator,
35
+ disableHoverState = false,
35
36
  dismissable = false,
36
37
  onDismiss = () => null,
37
38
  onClick,
@@ -54,7 +55,7 @@ const Chip = /*#__PURE__*/React.forwardRef((_ref, ref) => {
54
55
  [_ChipModule.default.dismissable]: dismissable,
55
56
  [_ChipModule.default.withIcon]: !!iconName && size !== 'small',
56
57
  [_ChipModule.default.disabled]: disabled,
57
- [_ChipModule.default.noHoverState]: showStatusIndicator
58
+ [_ChipModule.default.noHoverState]: showStatusIndicator || disableHoverState
58
59
  }, classNames?.wrapper),
59
60
  onClick: onClick
60
61
  }), showStatusIndicator && size !== 'small' && /*#__PURE__*/React.createElement(_StatusIndicator.StatusIndicator, {
@@ -34,6 +34,7 @@ export type BaseChipProps = {
34
34
  children: React.Node,
35
35
  disabled?: boolean,
36
36
  showStatusIndicator?: boolean,
37
+ disableHoverState?: boolean,
37
38
  onClick?: ?(SyntheticEvent<HTMLElement>) => mixed,
38
39
  onMouseEnter?: ?(SyntheticEvent<HTMLElement>) => mixed,
39
40
  onMouseLeave?: ?(SyntheticEvent<HTMLElement>) => mixed,
@@ -65,6 +66,7 @@ export const Chip: React$AbstractComponent<ChipProps, HTMLDivElement> =
65
66
  iconName = '',
66
67
  iconType = 'regular',
67
68
  showStatusIndicator,
69
+ disableHoverState = false,
68
70
  dismissable = false,
69
71
  onDismiss = () => null,
70
72
  onClick,
@@ -91,7 +93,7 @@ export const Chip: React$AbstractComponent<ChipProps, HTMLDivElement> =
91
93
  [css.dismissable]: dismissable,
92
94
  [css.withIcon]: !!iconName && size !== 'small',
93
95
  [css.disabled]: disabled,
94
- [css.noHoverState]: showStatusIndicator,
96
+ [css.noHoverState]: showStatusIndicator || disableHoverState,
95
97
  },
96
98
  classNames?.wrapper,
97
99
  )}
@@ -1,5 +1,4 @@
1
1
  // @flow strict
2
-
3
2
  import type {ChartOptions} from '../../types/charts';
4
3
 
5
4
  import {commonChartOptions} from './charts';
@@ -34,8 +34,8 @@ const bodySmall = {
34
34
  exports.bodySmall = bodySmall;
35
35
  const formLabelSmall = {
36
36
  ...baseType,
37
- fontSize: _font.fontSize12,
38
- lineHeight: _font.fontLineHeight140
37
+ fontSize: _font.fontSize12
38
+ // Removing the font height as its breaking the chart axis labels
39
39
  };
40
40
  exports.formLabelSmall = formLabelSmall;
41
41
  const buttonTextExtraSmall = {
@@ -43,7 +43,7 @@ export const bodySmall = {
43
43
  export const formLabelSmall = {
44
44
  ...baseType,
45
45
  fontSize: fontSize12,
46
- lineHeight: fontLineHeight140,
46
+ // Removing the font height as its breaking the chart axis labels
47
47
  };
48
48
 
49
49
  export const buttonTextExtraSmall = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaced-out/ui-design-system",
3
- "version": "0.1.93-beta.0",
3
+ "version": "0.1.93",
4
4
  "main": "index.js",
5
5
  "description": "Sense UI components library",
6
6
  "author": {