@firecms/ui 3.0.0-canary.126 → 3.0.0-canary.127

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.
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- interface DateTimeFieldProps {
2
+ export type DateTimeFieldProps = {
3
3
  value?: Date | null;
4
4
  onChange?: (date: Date | null) => void;
5
5
  mode?: "date" | "date_time";
@@ -13,6 +13,5 @@ interface DateTimeFieldProps {
13
13
  inputClassName?: string;
14
14
  invisible?: boolean;
15
15
  locale?: string;
16
- }
16
+ };
17
17
  export declare const DateTimeField: React.FC<DateTimeFieldProps>;
18
- export {};
package/dist/index.es.js CHANGED
@@ -5,7 +5,8 @@ import * as Collapsible from "@radix-ui/react-collapsible";
5
5
  import { clsx } from "clsx";
6
6
  import { twMerge } from "tailwind-merge";
7
7
  import * as locales from "date-fns/locale";
8
- import DatePicker, { registerLocale, setDefaultLocale } from "react-datepicker";
8
+ import * as RDP from "react-datepicker";
9
+ import { registerLocale, setDefaultLocale } from "react-datepicker";
9
10
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
10
11
  import "material-icons/iconfont/filled.css";
11
12
  import * as DialogPrimitive from "@radix-ui/react-dialog";
@@ -13838,6 +13839,7 @@ function Typography({
13838
13839
  }
13839
13840
  );
13840
13841
  }
13842
+ const DatePicker = RDP.default.default || RDP.default || RDP;
13841
13843
  const DateTimeField = ({
13842
13844
  value,
13843
13845
  label,