@helsenorge/datepicker 8.2.1 → 8.3.0

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
@@ -1,3 +1,5 @@
1
+ ## [8.2.1](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv8.2.0&targetVersion=GTv8.2.1) (2024-08-28)
2
+
1
3
  ## [8.2.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv8.1.1&targetVersion=GTv8.2.0) (2024-08-28)
2
4
 
3
5
  ### Features
@@ -1731,12 +1733,12 @@ Dette er fordi vi skal kunne dynamisk importere alt som ligger i Icons, så da b
1731
1733
 
1732
1734
  ### Bug Fixes
1733
1735
 
1734
- - økt kontrast på understreking av lenker
1735
- ([50b7fa4](https://github.com/helsenorge/designsystem/commit/50b7fa47fb44cb7d75fb877bd53e2309b35e1e21)), closes
1736
- [#229049](https://github.com/helsenorge/designsystem/issues/229049)
1737
1736
  - panel har avstand fra tittel til badge
1738
1737
  ([09034c4](https://github.com/helsenorge/designsystem/commit/09034c4844408c7cfe8f65d7a1a0d82a7828c2ef)), closes
1739
1738
  [#282359](https://github.com/helsenorge/designsystem/issues/282359)
1739
+ - økt kontrast på understreking av lenker
1740
+ ([50b7fa4](https://github.com/helsenorge/designsystem/commit/50b7fa47fb44cb7d75fb877bd53e2309b35e1e21)), closes
1741
+ [#229049](https://github.com/helsenorge/designsystem/issues/229049)
1740
1742
 
1741
1743
  ## [1.2.2](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv1.2.1&targetVersion=GTv1.2.2) (2022-08-31)
1742
1744
 
@@ -39,6 +39,8 @@ export interface DatePickerProps extends Pick<React.InputHTMLAttributes<HTMLInpu
39
39
  minDate?: Date;
40
40
  /** onChange callback triggered by change in chosen date */
41
41
  onChange?: (event: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<Element, MouseEvent>, date: Date | string | undefined) => void;
42
+ /** Only use this to trigger validation. Callback triggered by change in chosen date via the datepicker popup */
43
+ onDatePopupClosed?: (date: Date | string | undefined) => void;
42
44
  /** Sets the data-testid attribute. */
43
45
  testId?: string;
44
46
  /** Overrides the default z-index of DatePicker */