@synerise/ds-input 0.22.0 → 0.23.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,30 @@
|
|
|
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.23.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-input@0.22.1...@synerise/ds-input@0.23.0) (2024-07-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **input:** charCount type reverted to optional ([c7088d3](https://github.com/synerise/synerise-design/commit/c7088d376df6ccf75df39bc2d926e5ad2f6e5edf))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **factors:** swapped Menu.Item for ListItem ([8de560c](https://github.com/synerise/synerise-design/commit/8de560ce5bb969ad9ccb0ca2b7249a14a5f5f356))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [0.22.1](https://github.com/synerise/synerise-design/compare/@synerise/ds-input@0.22.0...@synerise/ds-input@0.22.1) (2024-06-27)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @synerise/ds-input
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [0.22.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-input@0.21.5...@synerise/ds-input@0.22.0) (2024-06-21)
|
|
7
31
|
|
|
8
32
|
|
package/dist/Input.types.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export type BaseProps<RefElementType extends HTMLTextAreaElement | HTMLInputElem
|
|
|
18
18
|
label?: ReactNode;
|
|
19
19
|
description?: ReactNode;
|
|
20
20
|
counterLimit?: number;
|
|
21
|
-
renderCustomCounter?: (count
|
|
21
|
+
renderCustomCounter?: (count?: number) => ReactNode;
|
|
22
22
|
icon1?: ReactElement;
|
|
23
23
|
icon1Tooltip?: ReactElement;
|
|
24
24
|
icon2?: ReactElement;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { BaseProps } from '../Input.types';
|
|
3
3
|
type ContentAboveProps = Pick<BaseProps, 'tooltip' | 'tooltipConfig' | 'label' | 'renderCustomCounter'> & {
|
|
4
4
|
counterLimit?: number;
|
|
5
|
-
charCount
|
|
5
|
+
charCount?: number;
|
|
6
6
|
id: string;
|
|
7
7
|
};
|
|
8
8
|
export declare const ContentAboveElement: ({ label, counterLimit, id, tooltip, tooltipConfig, charCount, renderCustomCounter, }: ContentAboveProps) => React.JSX.Element;
|
|
@@ -26,15 +26,16 @@ export var ElementIcons = function ElementIcons(_ref) {
|
|
|
26
26
|
disabled: disabled
|
|
27
27
|
}, /*#__PURE__*/React.createElement(S.IconsFlexContainer, {
|
|
28
28
|
type: type
|
|
29
|
-
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
29
|
+
}, expandable && /*#__PURE__*/React.createElement(Tooltip, {
|
|
30
30
|
title: expandableTooltip
|
|
31
31
|
}, /*#__PURE__*/React.createElement(S.IconWrapper, {
|
|
32
|
-
"data-testid": "inputExpandIcon",
|
|
33
32
|
onClick: handleExpandIconClick,
|
|
34
33
|
className: className
|
|
35
34
|
}, expandable && overflown && /*#__PURE__*/React.createElement(Icon, {
|
|
36
35
|
className: "icon icon3",
|
|
37
|
-
component: /*#__PURE__*/React.createElement(ResizeArrowM,
|
|
36
|
+
component: /*#__PURE__*/React.createElement(ResizeArrowM, {
|
|
37
|
+
"data-testid": "ds-input-icon-expand"
|
|
38
|
+
})
|
|
38
39
|
}))), /*#__PURE__*/React.createElement(Tooltip, {
|
|
39
40
|
title: icon1Tooltip
|
|
40
41
|
}, /*#__PURE__*/React.createElement(S.IconWrapper, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-input",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.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.
|
|
37
|
-
"@synerise/ds-scrollbar": "^0.11.
|
|
38
|
-
"@synerise/ds-tooltip": "^0.14.
|
|
36
|
+
"@synerise/ds-icon": "^0.63.0",
|
|
37
|
+
"@synerise/ds-scrollbar": "^0.11.2",
|
|
38
|
+
"@synerise/ds-tooltip": "^0.14.31",
|
|
39
39
|
"@synerise/ds-typography": "^0.15.0",
|
|
40
40
|
"@synerise/ds-utils": "^0.27.0",
|
|
41
41
|
"antd-mask-input": "^0.1.13",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"@testing-library/react": "10.0.1",
|
|
53
53
|
"@testing-library/user-event": "10.3.1"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "0692552b018dc9c8042f18c773f88890c9ad3270"
|
|
56
56
|
}
|