@synerise/ds-input 1.2.0 → 1.2.1
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
|
+
## [1.2.1](https://github.com/synerise/synerise-design/compare/@synerise/ds-input@1.2.0...@synerise/ds-input@1.2.1) (2025-06-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **input:** new stories for inputMultivalue ([5b2beca](https://github.com/synerise/synerise-design/commit/5b2beca0785339b5648b19a08dca3ad1f43dd51d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [1.2.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-input@1.1.4...@synerise/ds-input@1.2.0) (2025-06-05)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
declare const InputMultivalue: React.
|
|
2
|
+
import { InputMultivalueProps } from './InputMultivalue.types';
|
|
3
|
+
declare const InputMultivalue: (props: InputMultivalueProps) => React.JSX.Element;
|
|
4
4
|
export default InputMultivalue;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type InputMultivalueProps = {
|
|
3
3
|
error?: boolean;
|
|
4
4
|
className?: string;
|
|
5
|
-
errorText?:
|
|
6
|
-
label?:
|
|
7
|
-
description?:
|
|
8
|
-
values:
|
|
5
|
+
errorText?: ReactNode | string;
|
|
6
|
+
label?: ReactNode | string;
|
|
7
|
+
description?: ReactNode | string;
|
|
8
|
+
values: string[];
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
onBlur?: () => void;
|
|
11
11
|
onFocus?: () => void;
|
|
12
|
-
onChange?: (values:
|
|
12
|
+
onChange?: (values: string[]) => void;
|
|
13
13
|
maxLength?: number;
|
|
14
|
-
}
|
|
14
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { FormFieldLabel as Label } from '@synerise/ds-form-field';
|
|
|
5
5
|
export { Input, RawInput, InputGroup, InputMultivalue } from './Input';
|
|
6
6
|
export { TextArea, RawTextArea } from './TextArea';
|
|
7
7
|
export type { TextareaProps } from './TextArea.types';
|
|
8
|
+
export type { InputMultivalueProps } from './InputMultivalue/InputMultivalue.types';
|
|
8
9
|
export * as InputStyles from './Input.styles';
|
|
9
10
|
export type { BaseProps, EnhancedProps, InputProps, AutoResizeProp } from './Input.types';
|
|
10
11
|
export { default as AutosizeInput } from './AutosizeInput/AutosizeInput';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-input",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Input UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"react": ">=16.9.0 <= 18.3.1",
|
|
49
49
|
"styled-components": "^5.3.3"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "275b6d6fdd81f5576a95e516ac12c810da8c1519"
|
|
52
52
|
}
|