@talentlytica/prodigy 1.1.0 → 1.1.1

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.
@@ -0,0 +1,9 @@
1
+ export interface DateTimePickerProps {
2
+ /** Controlled/initial value */
3
+ value?: Date | null;
4
+ /** Called when the date or time changes (null when cleared) */
5
+ onChange?: (value: Date | null) => void;
6
+ /** Placeholder shown in the trigger when empty */
7
+ placeholder?: string;
8
+ }
9
+ export declare function DateTimePicker({ value, onChange, placeholder }: DateTimePickerProps): import("react").JSX.Element;
@@ -0,0 +1,10 @@
1
+ export type DateTimeRangeValue = [Date | null, Date | null];
2
+ export interface DateTimeRangePickerProps {
3
+ /** Controlled/initial value as [start, end] */
4
+ value?: DateTimeRangeValue;
5
+ /** Called when the range or time changes */
6
+ onChange?: (value: DateTimeRangeValue) => void;
7
+ /** Placeholder shown in the trigger when empty */
8
+ placeholder?: string;
9
+ }
10
+ export declare function DateTimeRangePicker({ value, onChange, placeholder }: DateTimeRangePickerProps): import("react").JSX.Element;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Popover — panel mengambang (floating) yang menempel pada elemen target.
3
+ * Dipakai untuk dropdown kaya konten (mis. Set tag). Untuk daftar aksi
4
+ * sederhana pakai `Menu`; untuk dialog terpusat pakai `Modal`.
5
+ */
6
+ export { Popover, type PopoverProps } from '@mantine/core';
@@ -16,6 +16,8 @@ export { Radio, type RadioProps } from './Radio/Radio';
16
16
  export { Switch, type SwitchProps } from './Switch/Switch';
17
17
  export { SegmentedControl, type SegmentedControlProps } from './SegmentedControl/SegmentedControl';
18
18
  export { DatePickerInput, type DatePickerInputProps } from './DatePickerInput/DatePickerInput';
19
+ export { DateTimePicker, type DateTimePickerProps } from './DateTimePicker/DateTimePicker';
20
+ export { DateTimeRangePicker, type DateTimeRangePickerProps } from './DateTimeRangePicker/DateTimeRangePicker';
19
21
  export { Dropzone, type DropzoneProps } from './Dropzone/Dropzone';
20
22
  export { RichTextEditor, type RichTextEditorProps } from './RichTextEditor/RichTextEditor';
21
23
  export { Anchor, type AnchorProps } from './Anchor/Anchor';
@@ -36,6 +38,7 @@ export { EmptyState, type EmptyStateProps } from './EmptyState/EmptyState';
36
38
  export { Notification, type NotificationProps } from './Notification/Notification';
37
39
  export { notifications, Notifications, type NotificationData, } from './NotificationsSystem/NotificationsSystem';
38
40
  export { Modal, type ModalProps } from './Modal/Modal';
41
+ export { Popover, type PopoverProps } from './Popover/Popover';
39
42
  export { Tooltip, type TooltipProps } from './Tooltip/Tooltip';
40
43
  export { Card, type CardProps } from './Card/Card';
41
44
  export { Badge, type BadgeProps } from './Badge/Badge';