@entur/datepicker 4.0.0-RC.1 → 4.0.0-RC.3

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
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [4.0.0-RC.3](https://bitbucket.org/enturas/design-system/compare/@entur/datepicker@4.0.0-RC.2...@entur/datepicker@4.0.0-RC.3) (2022-11-22)
7
+
8
+ **Note:** Version bump only for package @entur/datepicker
9
+
10
+ # [4.0.0-RC.2](https://bitbucket.org/enturas/design-system/compare/@entur/datepicker@4.0.0-RC.1...@entur/datepicker@4.0.0-RC.2) (2022-11-22)
11
+
12
+ ### Bug Fixes
13
+
14
+ - **datepicker:** fix modal not being scrollable when larger than screen due to zoom ([0a75d57](https://bitbucket.org/enturas/design-system/commits/0a75d577b95521fd12fadb0f3e0258687aaba1cb))
15
+
6
16
  # [4.0.0-RC.1](https://bitbucket.org/enturas/design-system/compare/@entur/datepicker@4.0.0-RC.0...@entur/datepicker@4.0.0-RC.1) (2022-11-21)
7
17
 
8
18
  **Note:** Version bump only for package @entur/datepicker
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { DateValue } from '@internationalized/date';
3
3
  import './Calendar.scss';
4
- declare type CalendarProps = {
4
+ type CalendarProps = {
5
5
  selectedDate: DateValue;
6
6
  onChange: (SelectedDate: DateValue) => void;
7
7
  navigationDescription?: string;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { CalendarState } from '@react-stately/calendar';
3
3
  import { CalendarDate } from '@internationalized/date';
4
- declare type CalendarCellProps = {
4
+ type CalendarCellProps = {
5
5
  state: CalendarState;
6
6
  date: CalendarDate;
7
7
  onSelectedCellClick?: () => void;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { CalendarState } from '@react-stately/calendar';
3
- declare type CalendarGridProps = {
3
+ type CalendarGridProps = {
4
4
  state: CalendarState;
5
5
  navigationDescription?: string;
6
6
  onSelectedCellClick?: () => void;
@@ -3,7 +3,7 @@ import type { SpectrumDateFieldProps, DateValue } from '@react-types/datepicker'
3
3
  import type { CalendarDate } from '@internationalized/date';
4
4
  import { VariantType } from '@entur/form';
5
5
  import './DateField.scss';
6
- export declare type DateFieldProps = {
6
+ export type DateFieldProps = {
7
7
  /** Den valgte tiden. Tid i '@internationalized/date'-pakkens format */
8
8
  selectedDate: DateValue | null;
9
9
  /** Kalles når tiden endres. Tid i '@internationalized/date'-pakkens format */
@@ -3,7 +3,7 @@ import type { CalendarDate } from '@internationalized/date';
3
3
  import type { DateValue, SpectrumDatePickerProps } from '@react-types/datepicker';
4
4
  import type { VariantType } from '@entur/form';
5
5
  import './DatePicker.scss';
6
- export declare type DatePickerProps = {
6
+ export type DatePickerProps = {
7
7
  /** Den valgte datoen. Dato i '@internationalized/date'-pakkens format */
8
8
  selectedDate: DateValue;
9
9
  /** Kalles når tiden endres. Dato i '@internationalized/date'-pakkens format */
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { VariantType } from '@entur/form';
3
- export declare type NativeDatePickerProps = {
3
+ export type NativeDatePickerProps = {
4
4
  /** Ekstra klassenavn */
5
5
  className?: string;
6
6
  /** Label over NativeDatePicker */
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { VariantType } from '@entur/form';
3
3
  import './NativeTimePicker.scss';
4
- export declare type NativeTimePickerProps = {
4
+ export type NativeTimePickerProps = {
5
5
  /** Ekstra klassenavn */
6
6
  className?: string;
7
7
  /** Label over NativeTimePicker */
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { TimePickerProps as ReactAriaTimePickerProps, TimeValue } from '@react-types/datepicker';
3
3
  import { VariantType } from '@entur/form';
4
4
  import './TimePicker.scss';
5
- export declare type TimePickerProps = {
5
+ export type TimePickerProps = {
6
6
  /** Den valgte tiden. Tid i '@internationalized/date'-pakkens format */
7
7
  selectedTime: TimeValue | null;
8
8
  /** Kalles når tiden endres. Tid i '@internationalized/date'-pakkens format */
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type TimePickerArrowButtonProps = {
2
+ type TimePickerArrowButtonProps = {
3
3
  direction: 'left' | 'right';
4
4
  } & React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
5
5
  export declare const TimePickerArrowButton: React.FC<TimePickerArrowButtonProps>;