@vygruppen/spor-react 3.0.3 → 3.0.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/dist/index.d.ts CHANGED
@@ -417,11 +417,6 @@ type CardProps = Exclude<BoxProps, "size"> & {
417
417
  */
418
418
  declare const Card: _chakra_ui_system_dist_system_types.ComponentWithAs<As, CardProps>;
419
419
 
420
- type DatePickerProps = AriaDatePickerProps<DateValue> & Pick<BoxProps, "minHeight" | "width"> & {
421
- variant: ResponsiveValue<"simple" | "with-trigger">;
422
- name?: string;
423
- showYearNavigation?: boolean;
424
- };
425
420
  /**
426
421
  * A date picker component.
427
422
  *
@@ -431,7 +426,11 @@ type DatePickerProps = AriaDatePickerProps<DateValue> & Pick<BoxProps, "minHeigh
431
426
  * <DatePicker label="Dato" variant="simple" />
432
427
  * ```
433
428
  */
434
- declare function DatePicker({ variant, errorMessage, minHeight, showYearNavigation, width, ...props }: DatePickerProps): React__default.JSX.Element;
429
+ declare const DatePicker: React__default.ForwardRefExoticComponent<AriaDatePickerProps<DateValue> & Pick<BoxProps, "width" | "minHeight"> & {
430
+ variant: ResponsiveValue<"simple" | "with-trigger">;
431
+ name?: string | undefined;
432
+ showYearNavigation?: boolean | undefined;
433
+ } & React__default.RefAttributes<HTMLDivElement>>;
435
434
 
436
435
  type DateRangePickerProps = AriaDateRangePickerProps<DateValue> & Pick<BoxProps, "minHeight"> & {
437
436
  startLabel?: string;