uibee 2.7.14 → 2.7.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uibee",
3
- "version": "2.7.14",
3
+ "version": "2.7.15",
4
4
  "description": "Shared components, functions and hooks for reuse across Login projects",
5
5
  "homepage": "https://github.com/Login-Linjeforening-for-IT/uibee#readme",
6
6
  "bugs": {
@@ -17,6 +17,7 @@ export type InputProps = {
17
17
  required?: boolean
18
18
  icon?: JSX.Element
19
19
  info?: string
20
+ multiple?: boolean
20
21
  }
21
22
 
22
23
  export default function Input({
@@ -32,6 +33,7 @@ export default function Input({
32
33
  required,
33
34
  icon,
34
35
  info,
36
+ multiple,
35
37
  }: InputProps) {
36
38
  const localRef = useRef<HTMLInputElement>(null)
37
39
  const [isOpen, setIsOpen] = useState(false)
@@ -126,6 +128,7 @@ export default function Input({
126
128
  readOnly={isDateType}
127
129
  onClick={() => isDateType && !disabled && setIsOpen(true)}
128
130
  title={label}
131
+ multiple={multiple}
129
132
  aria-invalid={!!error}
130
133
  aria-describedby={error ? `${name}-error` : undefined}
131
134
  className={`