@bfrs/agentic-components 0.5.2 → 0.5.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.
@@ -1518,6 +1518,10 @@ Floating label on hover. Provide `content` as the tooltip text.
1518
1518
  <Tooltip content="Copy to clipboard" side="top">
1519
1519
  <IconButton icon={<Icon icon={Copy} />} aria-label="Copy" />
1520
1520
  </Tooltip>
1521
+
1522
+ <Tooltip content="White tooltip" variant="white">
1523
+ <Button variant="outline">Hover</Button>
1524
+ </Tooltip>
1521
1525
  ```
1522
1526
 
1523
1527
  | Prop | Type | Default |
@@ -1525,6 +1529,7 @@ Floating label on hover. Provide `content` as the tooltip text.
1525
1529
  | `content` | `ReactNode` | **required** |
1526
1530
  | `children` | `ReactNode` | **required** |
1527
1531
  | `side` | `"top" \| "right" \| "bottom" \| "left"` | `"top"` |
1532
+ | `variant` | `"default" \| "white"` | `"default"` |
1528
1533
  | `delayDuration` | `number` | `350` |
1529
1534
  | `disabled` | `boolean` | `false` |
1530
1535
 
@@ -1,5 +1,5 @@
1
1
  import { DateRangePickerProps } from './DateRangePicker.types';
2
- export declare function DateRangePicker({ className, value, defaultValue, onChange, presets, placeholder, label, helperText, size, disabled, clearable, minDate, maxDate, maxRangeDays, months, align, side, open: controlledOpen, defaultOpen, onOpenChange, infoText, customPresetLabel, applyLabel, cancelLabel, clearLabel, formatDate, formatRange, triggerClassName, contentClassName, calendarClassName, ...props }: DateRangePickerProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function DateRangePicker({ className, value, defaultValue, onChange, presets, placeholder, label, helperText, size, disabled, clearable, minDate, maxDate, maxRangeDays, months, align, side, open: controlledOpen, defaultOpen, onOpenChange, infoText, customPresetLabel, applyLabel, cancelLabel, clearLabel, formatDate, formatRange, triggerClassName, contentClassName, calendarClassName, restrictToLast3Months, singleDateMode, allowedFutureDate, ...props }: DateRangePickerProps): import("react/jsx-runtime").JSX.Element;
3
3
  export declare namespace DateRangePicker {
4
4
  var displayName: string;
5
5
  }
@@ -45,4 +45,10 @@ export type DateRangePickerProps = Omit<ComponentPropsWithoutRef<"div">, "defaul
45
45
  triggerClassName?: string;
46
46
  contentClassName?: string;
47
47
  calendarClassName?: string;
48
+ /** When true, constrain the calendar to the last 90 days only (hides year picker). */
49
+ restrictToLast3Months?: boolean;
50
+ /** When true, clicking a date sets both start and end to the same day (single date selection). */
51
+ singleDateMode?: boolean;
52
+ /** When true, only future dates (from tomorrow) can be selected. */
53
+ allowedFutureDate?: boolean;
48
54
  };
@@ -3,8 +3,9 @@ export type TooltipProps = {
3
3
  content: ReactNode;
4
4
  children: ReactNode;
5
5
  side?: "top" | "right" | "bottom" | "left";
6
+ variant?: "default" | "white";
6
7
  delayDuration?: number;
7
8
  /** When true, the tooltip never opens but the trigger stays mounted unchanged. */
8
9
  disabled?: boolean;
9
10
  };
10
- export declare function Tooltip({ content, children, side, delayDuration, disabled }: TooltipProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function Tooltip({ content, children, side, variant, delayDuration, disabled }: TooltipProps): import("react/jsx-runtime").JSX.Element;