From 8ad6270807cbc9dfbbc6850614ee47778213224c Mon Sep 17 00:00:00 2001 From: omsaggau Date: Tue, 23 Jan 2024 12:31:42 +0100 Subject: [PATCH 1/2] Add name prop to input component --- src/components/Input/index.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Input/index.jsx b/src/components/Input/index.jsx index e085630a..1fc11675 100644 --- a/src/components/Input/index.jsx +++ b/src/components/Input/index.jsx @@ -6,7 +6,7 @@ import InputError from '../InputError'; const Input = forwardRef(({ role, ariaLabelWrapper, ariaLabel, ariaLabelledBy, ariaLabelSearchButton, - className, disabled, error, errorMessage, handleChange, id, label, negative, placeholder, searchField, submitCallback, type, value, onFocus, onBlur, size, + name, className, disabled, error, errorMessage, handleChange, id, label, negative, placeholder, searchField, submitCallback, type, value, onFocus, onBlur, size, }, ref) => { const [inputValue, setValue] = useState(value); const inputId = id || useId(); @@ -27,6 +27,7 @@ const Input = forwardRef(({
Date: Tue, 23 Jan 2024 12:36:40 +0100 Subject: [PATCH 2/2] bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 67cf75a5..e1835912 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@statisticsnorway/ssb-component-library", - "version": "2.0.96", + "version": "2.0.97", "description": "Component library for SSB (Statistics Norway)", "main": "lib/bundle.js", "scripts": {