@oslokommune/punkt-react 12.3.2 → 12.3.4

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,48 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [12.3.4](https://github.com/oslokommune/punkt/compare/12.3.3...12.3.4) (2024-10-08)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ Ingen
15
+
16
+ ### Bug Fixes
17
+ * Datepicker tweaks (#1946). * Ikke send onInput om verdiene er de samme
18
+ * React datepicker støtter nå ref
19
+ * fix(all): Datepicker tweaks
20
+ * Fjern console-logger og fiks blur-verdi på range
21
+ * Rettet skrivefeil i hendelse `value-change`/`onValueChange`
22
+ * Tøm _selected før vi fyller den.
23
+ * Fjern console log fra elements testside
24
+
25
+
26
+ ### Chores
27
+ Ingen
28
+
29
+ ---
30
+
31
+
32
+ ## [12.3.3](https://github.com/oslokommune/punkt/compare/12.3.2...12.3.3) (2024-10-04)
33
+
34
+ ### ⚠ BREAKING CHANGES
35
+ Ingen
36
+
37
+ ### Features
38
+ Ingen
39
+
40
+ ### Bug Fixes
41
+ * PktLink mangler `target` (#1944).
42
+
43
+
44
+ ### Chores
45
+ Ingen
46
+
47
+ ---
48
+
49
+
8
50
  ## [12.3.0](https://github.com/oslokommune/punkt/compare/12.2.0...12.3.0) (2024-10-03)
9
51
 
10
52
  ### ⚠ BREAKING CHANGES
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ import { HTMLAttributes } from 'react';
8
8
  import { HTMLProps } from 'react';
9
9
  import { InputHTMLAttributes } from 'react';
10
10
  import { JSX as JSX_2 } from 'react/jsx-runtime';
11
+ import { LegacyRef } from 'react';
11
12
  import { PktElType } from '../../interfaces/IPktElements';
12
13
  import * as React_2 from 'react';
13
14
  import { ReactElement } from 'react';
@@ -139,6 +140,7 @@ declare interface IPktDatepicker extends PktElType {
139
140
  value?: string | string[];
140
141
  label?: string;
141
142
  id?: string;
143
+ name?: string;
142
144
  dateformat?: string;
143
145
  multiple?: boolean;
144
146
  maxlength?: number;
@@ -164,6 +166,8 @@ declare interface IPktDatepicker extends PktElType {
164
166
  hasError?: boolean;
165
167
  errorMessage?: string;
166
168
  strings?: any;
169
+ className?: string;
170
+ ref?: LegacyRef<HTMLElement>;
167
171
  onChange?: (e: Event) => void;
168
172
  onValueChange?: (e: CustomEvent) => void;
169
173
  onToggleHelpText?: (e: CustomEvent) => void;
@@ -236,6 +240,7 @@ declare interface IPktLink extends PktElType {
236
240
  iconName?: string | undefined;
237
241
  iconPosition?: string | undefined;
238
242
  external?: boolean;
243
+ target?: string | null;
239
244
  onClick?: (e: CustomEvent) => void;
240
245
  children?: default_2.ReactNode | default_2.ReactNode[];
241
246
  }