@oslokommune/punkt-react 12.3.9 → 12.3.11

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
+ ## [12.3.11](https://github.com/oslokommune/punkt/compare/12.3.10...12.3.11) (2024-10-15)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ Ingen
15
+
16
+ ### Bug Fixes
17
+ * PktDatepicker focus, blur og input events (#1954).
18
+
19
+
20
+ ### Chores
21
+ Ingen
22
+
23
+ ---
24
+
25
+
8
26
  ## [12.3.9](https://github.com/oslokommune/punkt/compare/12.3.8...12.3.9) (2024-10-10)
9
27
 
10
28
  ### ⚠ BREAKING CHANGES
package/dist/index.d.ts CHANGED
@@ -120,7 +120,6 @@ declare interface IPktCard extends PktElType {
120
120
  src: string;
121
121
  alt: string;
122
122
  };
123
- children?: ReactNode | ReactNode[];
124
123
  }
125
124
 
126
125
  declare interface IPktCheckbox extends default_2.InputHTMLAttributes<HTMLInputElement> {
@@ -170,6 +169,9 @@ declare interface IPktDatepicker extends PktElType {
170
169
  className?: string;
171
170
  ref?: LegacyRef<HTMLElement>;
172
171
  onChange?: (e: PktEventWithTarget) => void;
172
+ onInput?: (e: PktEventWithTarget) => void;
173
+ onBlur?: (e: PktEventWithTarget) => void;
174
+ onFocus?: (e: PktEventWithTarget) => void;
173
175
  onValueChange?: (e: CustomEvent) => void;
174
176
  onToggleHelpText?: (e: CustomEvent) => void;
175
177
  }
@@ -243,7 +245,6 @@ declare interface IPktLink extends PktElType {
243
245
  external?: boolean;
244
246
  target?: string | null;
245
247
  onClick?: (e: CustomEvent) => void;
246
- children?: default_2.ReactNode | default_2.ReactNode[];
247
248
  }
248
249
 
249
250
  declare interface IPktLinkCard extends default_2.HTMLAttributes<HTMLAnchorElement> {