bump: version

Signed-off-by: Avior <f.bouillon@aptatio.com>
This commit is contained in:
Florian Bouillon 2023-02-07 13:10:50 +01:00
parent e65c7e4a1a
commit eaf509262d
Signed by: Florian Bouillon
GPG Key ID: E05B3A94178D3A7C
3 changed files with 4 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@dzeio/components",
"version": "1.0.0-beta.14",
"version": "1.0.0-beta.15",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@dzeio/components",
"version": "1.0.0-beta.14",
"version": "1.0.0-beta.15",
"license": "MIT",
"dependencies": {
"@dzeio/object-util": "^1",

View File

@ -1,6 +1,6 @@
{
"name": "@dzeio/components",
"version": "1.0.0-beta.14",
"version": "1.0.0-beta.15",
"license": "MIT",
"main": "./index.umd.js",
"module": "./index.es.js",

View File

@ -155,7 +155,6 @@ export default class Input extends React.Component<Props, States> {
prevStates.valueUpdate !== this.state.valueUpdate ||
!objectEqual(prevProps.choices ?? [], this.props.choices ?? [])
) {
console.log('list updated')
this.setState({list: this.buildList()})
}
}
@ -169,7 +168,7 @@ export default class Input extends React.Component<Props, States> {
}
public render() {
const props: Props = objectOmit(this.props, 'iconLeft', 'iconRight', 'inputRed', 'helper', 'choices', 'onValue', 'block', 'defaultValue', 'label')
const props: Props = objectOmit(this.props, 'iconLeft', 'iconRight', 'inputRed', 'helper', 'choices', 'onValue', 'block', 'defaultValue', 'label', 'strictChoices')
const baseProps: React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> = {
ref: this.props.inputRef || this.inputRef,