@oslokommune/punkt-react 18.8.0 → 18.9.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 +35 -0
- package/LICENSE +1 -1
- package/dist/components/combobox/types.d.ts +2 -0
- package/dist/components/formAttribute.test.d.ts +1 -0
- package/dist/components/timepicker/useTimepickerState.d.ts +1 -0
- package/dist/punkt-react.cjs +1 -1
- package/dist/punkt-react.js +1511 -1492
- package/dist/shared-types/fileupload.d.ts +2 -1
- package/package.json +6 -6
- package/src/components/combobox/Combobox.tsx +1 -0
- package/src/components/combobox/types.ts +2 -0
- package/src/components/combobox/useComboboxState.ts +8 -5
- package/src/components/fileupload/DropZone.tsx +7 -1
- package/src/components/fileupload/FileUpload.tsx +1 -0
- package/src/components/formAttribute.test.tsx +96 -0
- package/src/components/timepicker/Timepicker.tsx +1 -0
- package/src/components/timepicker/useTimepickerState.ts +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,41 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [18.9.1](https://github.com/oslokommune/punkt/compare/18.9.0...18.9.1) (2026-09-17)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
Ingen
|
|
18
|
+
|
|
19
|
+
### Chores
|
|
20
|
+
Ingen
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [18.9.0](https://github.com/oslokommune/punkt/compare/18.8.0...18.9.0) (2026-09-16)
|
|
26
|
+
|
|
27
|
+
### ⚠ BREAKING CHANGES
|
|
28
|
+
Ingen
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
* Legg til støtte for `form`-attributt på skjemaelementer (#3653).
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
Ingen
|
|
36
|
+
|
|
37
|
+
### Chores
|
|
38
|
+
Ingen
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
|
|
8
43
|
## [18.8.0](https://github.com/oslokommune/punkt/compare/18.7.3...18.8.0) (2026-09-16)
|
|
9
44
|
|
|
10
45
|
### ⚠ BREAKING CHANGES
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2023-present Oslo kommune,
|
|
3
|
+
Copyright (c) 2023-present Oslo kommune, Digitaliseringsetaten
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -15,6 +15,7 @@ export interface IPktCombobox extends IPktStringsProps<'combobox' | 'listbox' |
|
|
|
15
15
|
tagPlacement?: TPktComboboxTagPlacement;
|
|
16
16
|
searchPlaceholder?: string;
|
|
17
17
|
name?: string;
|
|
18
|
+
form?: string;
|
|
18
19
|
id?: string;
|
|
19
20
|
disabled?: boolean;
|
|
20
21
|
required?: boolean;
|
|
@@ -88,6 +89,7 @@ export interface IComboboxState {
|
|
|
88
89
|
inline: boolean;
|
|
89
90
|
inputSize: 'small' | 'medium' | 'xsmall';
|
|
90
91
|
name?: string;
|
|
92
|
+
form?: string;
|
|
91
93
|
className?: string;
|
|
92
94
|
hasCounter: boolean;
|
|
93
95
|
inputRef: RefObject<HTMLInputElement | null>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|