@oslokommune/punkt-react 12.3.3 → 12.3.6

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.6](https://github.com/oslokommune/punkt/compare/12.3.5...12.3.6) (2024-10-09)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ Ingen
15
+
16
+ ### Bug Fixes
17
+ Ingen
18
+
19
+ ### Chores
20
+ * Fjerne `use client` fra PktDatepicker (#1948).
21
+
22
+
23
+ ---
24
+
25
+
26
+ ## [12.3.4](https://github.com/oslokommune/punkt/compare/12.3.3...12.3.4) (2024-10-08)
27
+
28
+ ### ⚠ BREAKING CHANGES
29
+ Ingen
30
+
31
+ ### Features
32
+ Ingen
33
+
34
+ ### Bug Fixes
35
+ * Datepicker tweaks (#1946). * Ikke send onInput om verdiene er de samme
36
+ * React datepicker støtter nå ref
37
+ * fix(all): Datepicker tweaks
38
+ * Fjern console-logger og fiks blur-verdi på range
39
+ * Rettet skrivefeil i hendelse `value-change`/`onValueChange`
40
+ * Tøm _selected før vi fyller den.
41
+ * Fjern console log fra elements testside
42
+
43
+
44
+ ### Chores
45
+ Ingen
46
+
47
+ ---
48
+
49
+
8
50
  ## [12.3.3](https://github.com/oslokommune/punkt/compare/12.3.2...12.3.3) (2024-10-04)
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;