@synerise/ds-input 0.23.6 → 0.24.0

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
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.24.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-input@0.23.6...@synerise/ds-input@0.24.0) (2024-08-27)
7
+
8
+
9
+ ### Features
10
+
11
+ * **storybook7:** added collector stories ([1e4f777](https://github.com/synerise/synerise-design/commit/1e4f777f50363e34e21ff7d1b4b4fead31741b7b))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.23.6](https://github.com/synerise/synerise-design/compare/@synerise/ds-input@0.23.5...@synerise/ds-input@0.23.6) (2024-08-19)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-input
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { Props } from './Value.types';
3
- declare const Value: React.FC<Props>;
3
+ declare const Value: ({ disabled, key, onRemoveClick, value, focused }: Props) => React.JSX.Element;
4
4
  export default Value;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React, { useState } from 'react';
2
2
  import Icon, { CloseS } from '@synerise/ds-icon';
3
3
  import Tooltip from '@synerise/ds-tooltip';
4
4
  import * as S from '../InputMultivalue.styles';
@@ -10,14 +10,15 @@ var Value = function Value(_ref) {
10
10
  value = _ref.value,
11
11
  focused = _ref.focused;
12
12
 
13
- var _React$useState = React.useState(false),
14
- hovered = _React$useState[0],
15
- setHovered = _React$useState[1];
13
+ var _useState = useState(false),
14
+ hovered = _useState[0],
15
+ setHovered = _useState[1];
16
16
 
17
17
  return (
18
18
  /*#__PURE__*/
19
19
  // eslint-disable-next-line jsx-a11y/mouse-events-have-key-events
20
20
  React.createElement(S.ValueWrapper, {
21
+ "data-testid": "ds-input-value-wrapper",
21
22
  className: "ds-input-value-wrapper",
22
23
  onMouseOver: function onMouseOver() {
23
24
  focused && setHovered(true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-input",
3
- "version": "0.23.6",
3
+ "version": "0.24.0",
4
4
  "description": "Input UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -33,9 +33,9 @@
33
33
  ],
34
34
  "types": "dist/index.d.ts",
35
35
  "dependencies": {
36
- "@synerise/ds-icon": "^0.65.0",
37
- "@synerise/ds-scrollbar": "^0.11.5",
38
- "@synerise/ds-tooltip": "^0.14.35",
36
+ "@synerise/ds-icon": "^0.65.1",
37
+ "@synerise/ds-scrollbar": "^0.11.6",
38
+ "@synerise/ds-tooltip": "^0.14.36",
39
39
  "@synerise/ds-typography": "^0.15.1",
40
40
  "@synerise/ds-utils": "^0.28.2",
41
41
  "antd-mask-input": "^0.1.13",
@@ -48,5 +48,5 @@
48
48
  "react": ">=16.9.0 <= 17.0.2",
49
49
  "styled-components": "5.0.1"
50
50
  },
51
- "gitHead": "2e6de17b64023536c24be8fcb67b1e53e8bffa3d"
51
+ "gitHead": "a035aeea499cea00e72e20e3790c0ffcad4fe956"
52
52
  }