florixui 1.15.2 → 1.15.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.
@@ -28,6 +28,12 @@ export interface DateTimePickerProps {
28
28
  yearRange?: [number, number];
29
29
  /** Disable the field. */
30
30
  disabled?: boolean;
31
+ /**
32
+ * Fill to match the surrounding container, like AdvancedInput/Select:
33
+ * `default` uses the input background (grey on white surfaces); `alt` uses
34
+ * the alt/card background (white inside grey panels).
35
+ */
36
+ variant?: "default" | "alt";
31
37
  /** Class for the wrapper. */
32
38
  className?: string;
33
39
  }
@@ -37,4 +43,4 @@ export interface DateTimePickerProps {
37
43
  * Set `showTime={false}` for date-only. This is the same field the
38
44
  * `DateTimeRangePicker` uses for its custom from/to inputs.
39
45
  */
40
- export declare function DateTimePicker({ value, onChange, label, placeholder, showTime, timezone, minDate, maxDate, captionLayout, yearRange, disabled, className, }: DateTimePickerProps): import("react/jsx-runtime").JSX.Element;
46
+ export declare function DateTimePicker({ value, onChange, label, placeholder, showTime, timezone, minDate, maxDate, captionLayout, yearRange, disabled, variant, className, }: DateTimePickerProps): import("react/jsx-runtime").JSX.Element;
@@ -11,5 +11,11 @@ export interface DateTimeRangePickerProps {
11
11
  label: string;
12
12
  }[];
13
13
  maxRangeDays?: number;
14
+ /**
15
+ * Fill to match the surrounding container, like AdvancedInput/Select:
16
+ * `default` uses the input background (grey on white surfaces); `alt` uses
17
+ * the alt/card background (white inside grey panels).
18
+ */
19
+ variant?: "default" | "alt";
14
20
  }
15
21
  export declare const DateTimeRangePicker: React.ForwardRefExoticComponent<DateTimeRangePickerProps & React.RefAttributes<HTMLButtonElement>>;