@oslokommune/punkt-react 16.26.3 → 16.26.5

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
@@ -5,6 +5,24 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [16.27.0](https://github.com/oslokommune/punkt/compare/16.26.4...16.27.0) (2026-07-03)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ Ingen
15
+
16
+ ### Bug Fixes
17
+ * pass through wrapper props in FileUpload (#3540).
18
+
19
+
20
+ ### Chores
21
+ Ingen
22
+
23
+ ---
24
+
25
+
8
26
  ## [16.25.3](https://github.com/oslokommune/punkt/compare/16.25.2...16.25.3) (2026-06-18)
9
27
 
10
28
  ### ⚠ BREAKING CHANGES
@@ -60,10 +60,20 @@ interface IBaseFileUploadProps extends Omit<InputHTMLAttributes<HTMLInputElement
60
60
  label?: string;
61
61
  /** Help text under the label. */
62
62
  helptext?: string | ReactNode;
63
- /** Show "Valgfritt" tag in wrapper. */
63
+ /** Expandable help text (dropdown). */
64
+ helptextDropdown?: string | ReactNode;
65
+ /** Button label for expandable help text. */
66
+ helptextDropdownButton?: string;
67
+ /** Shows an "optional" tag. */
64
68
  optionalTag?: boolean;
65
- /** Show "Må fylles ut" tag in wrapper. */
69
+ /** Label text for the optional tag. */
70
+ optionalText?: string;
71
+ /** Shows a "required" tag. */
66
72
  requiredTag?: boolean;
73
+ /** Label text for the required tag. */
74
+ requiredText?: string;
75
+ /** Extra tag next to the label. */
76
+ tagText?: string | null;
67
77
  /** Marks the upload as required. Native validation is used in `form`; submit validation in `custom`. */
68
78
  required?: boolean;
69
79
  /** Enable image preview modal (only applies to thumbnail renderer). */