sherick-ui 2.4.0 → 2.5.0
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/README.md +2 -0
- package/dist/cjs/components/DatePicker.cjs +1 -1
- package/dist/cjs/components/DatePicker.cjs.map +1 -1
- package/dist/cjs/components/DateRangePicker.cjs +1 -1
- package/dist/cjs/components/DateRangePicker.cjs.map +1 -1
- package/dist/cjs/components/DateTimePicker.cjs +176 -0
- package/dist/cjs/components/DateTimePicker.cjs.map +1 -0
- package/dist/cjs/components/date-family.cjs +64 -2
- package/dist/cjs/components/date-family.cjs.map +1 -1
- package/dist/cjs/components/date-field.cjs +14 -4
- package/dist/cjs/components/date-field.cjs.map +1 -1
- package/dist/cjs/components/time-panel.cjs +125 -0
- package/dist/cjs/components/time-panel.cjs.map +1 -0
- package/dist/cjs/index.cjs +2 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/components/DatePicker.js +2 -2
- package/dist/esm/components/DatePicker.js.map +1 -1
- package/dist/esm/components/DateRangePicker.js +2 -2
- package/dist/esm/components/DateRangePicker.js.map +1 -1
- package/dist/esm/components/DateTimePicker.js +172 -0
- package/dist/esm/components/DateTimePicker.js.map +1 -0
- package/dist/esm/components/date-family.js +58 -3
- package/dist/esm/components/date-family.js.map +1 -1
- package/dist/esm/components/date-field.js +14 -5
- package/dist/esm/components/date-field.js.map +1 -1
- package/dist/esm/components/time-panel.js +122 -0
- package/dist/esm/components/time-panel.js.map +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/styles.css +58 -0
- package/dist/types/index.d.cts +75 -2
- package/dist/types/index.d.ts +75 -2
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -583,6 +583,9 @@
|
|
|
583
583
|
:where(.sui-scope).h-1\.5 {
|
|
584
584
|
height: 0.375rem
|
|
585
585
|
}
|
|
586
|
+
:where(.sui-scope).h-10 {
|
|
587
|
+
height: 2.5rem
|
|
588
|
+
}
|
|
586
589
|
:where(.sui-scope).h-11 {
|
|
587
590
|
height: 2.75rem
|
|
588
591
|
}
|
|
@@ -592,6 +595,9 @@
|
|
|
592
595
|
:where(.sui-scope).h-32 {
|
|
593
596
|
height: 8rem
|
|
594
597
|
}
|
|
598
|
+
:where(.sui-scope).h-48 {
|
|
599
|
+
height: 12rem
|
|
600
|
+
}
|
|
595
601
|
:where(.sui-scope).h-5 {
|
|
596
602
|
height: 1.25rem
|
|
597
603
|
}
|
|
@@ -754,6 +760,9 @@
|
|
|
754
760
|
:where(.sui-scope).max-w-\[min\(28rem\2c 90vw\)\] {
|
|
755
761
|
max-width: min(28rem, 90vw)
|
|
756
762
|
}
|
|
763
|
+
:where(.sui-scope).max-w-\[min\(34rem\2c var\(--available-width\)\)\] {
|
|
764
|
+
max-width: min(34rem, var(--available-width))
|
|
765
|
+
}
|
|
757
766
|
:where(.sui-scope).max-w-\[var\(--available-width\)\] {
|
|
758
767
|
max-width: var(--available-width)
|
|
759
768
|
}
|
|
@@ -865,6 +874,10 @@
|
|
|
865
874
|
:where(.sui-scope).resize-y {
|
|
866
875
|
resize: vertical
|
|
867
876
|
}
|
|
877
|
+
:where(.sui-scope).scroll-py-11 {
|
|
878
|
+
scroll-padding-top: 2.75rem;
|
|
879
|
+
scroll-padding-bottom: 2.75rem
|
|
880
|
+
}
|
|
868
881
|
:where(.sui-scope).list-decimal {
|
|
869
882
|
list-style-type: decimal
|
|
870
883
|
}
|
|
@@ -1839,6 +1852,9 @@
|
|
|
1839
1852
|
:where(.sui-scope).\[overflow-wrap\:normal\] {
|
|
1840
1853
|
overflow-wrap: normal
|
|
1841
1854
|
}
|
|
1855
|
+
:where(.sui-scope).\[scrollbar-width\:thin\] {
|
|
1856
|
+
scrollbar-width: thin
|
|
1857
|
+
}
|
|
1842
1858
|
:where(.sui-scope).\[transform-origin\:var\(--transform-origin\)\] {
|
|
1843
1859
|
transform-origin: var(--transform-origin)
|
|
1844
1860
|
}
|
|
@@ -2517,9 +2533,45 @@
|
|
|
2517
2533
|
}
|
|
2518
2534
|
}
|
|
2519
2535
|
@media (min-width: 640px) {
|
|
2536
|
+
:where(.sui-scope).sm\:ms-3 {
|
|
2537
|
+
margin-inline-start: 0.75rem
|
|
2538
|
+
}
|
|
2539
|
+
:where(.sui-scope).sm\:mt-0 {
|
|
2540
|
+
margin-top: 0px
|
|
2541
|
+
}
|
|
2542
|
+
:where(.sui-scope).sm\:grid {
|
|
2543
|
+
display: grid
|
|
2544
|
+
}
|
|
2545
|
+
:where(.sui-scope).sm\:h-0 {
|
|
2546
|
+
height: 0px
|
|
2547
|
+
}
|
|
2548
|
+
:where(.sui-scope).sm\:h-auto {
|
|
2549
|
+
height: auto
|
|
2550
|
+
}
|
|
2551
|
+
:where(.sui-scope).sm\:min-h-full {
|
|
2552
|
+
min-height: 100%
|
|
2553
|
+
}
|
|
2554
|
+
:where(.sui-scope).sm\:w-14 {
|
|
2555
|
+
width: 3.5rem
|
|
2556
|
+
}
|
|
2520
2557
|
:where(.sui-scope).sm\:w-\[22\.5rem\] {
|
|
2521
2558
|
width: 22.5rem
|
|
2522
2559
|
}
|
|
2560
|
+
:where(.sui-scope).sm\:flex-1 {
|
|
2561
|
+
flex: 1 1 0%
|
|
2562
|
+
}
|
|
2563
|
+
:where(.sui-scope).sm\:flex-none {
|
|
2564
|
+
flex: none
|
|
2565
|
+
}
|
|
2566
|
+
:where(.sui-scope).sm\:grid-cols-\[auto_auto\] {
|
|
2567
|
+
grid-template-columns: auto auto
|
|
2568
|
+
}
|
|
2569
|
+
:where(.sui-scope).sm\:border-s {
|
|
2570
|
+
border-inline-start-width: 1px
|
|
2571
|
+
}
|
|
2572
|
+
:where(.sui-scope).sm\:border-t-0 {
|
|
2573
|
+
border-top-width: 0px
|
|
2574
|
+
}
|
|
2523
2575
|
:where(.sui-scope).sm\:p-8 {
|
|
2524
2576
|
padding: 2rem
|
|
2525
2577
|
}
|
|
@@ -2527,9 +2579,15 @@
|
|
|
2527
2579
|
padding-left: 1.75rem;
|
|
2528
2580
|
padding-right: 1.75rem
|
|
2529
2581
|
}
|
|
2582
|
+
:where(.sui-scope).sm\:ps-3 {
|
|
2583
|
+
padding-inline-start: 0.75rem
|
|
2584
|
+
}
|
|
2530
2585
|
:where(.sui-scope).sm\:ps-7 {
|
|
2531
2586
|
padding-inline-start: 1.75rem
|
|
2532
2587
|
}
|
|
2588
|
+
:where(.sui-scope).sm\:pt-0 {
|
|
2589
|
+
padding-top: 0px
|
|
2590
|
+
}
|
|
2533
2591
|
}
|
|
2534
2592
|
:where(.sui-scope).rtl\:-scale-x-100:where([dir="rtl"], [dir="rtl"] *) {
|
|
2535
2593
|
--tw-scale-x: -1;
|
package/dist/types/index.d.cts
CHANGED
|
@@ -236,6 +236,7 @@ interface CalendarLabels {
|
|
|
236
236
|
/** Reported when a date — or a range — cannot be selected or is not acceptable. */
|
|
237
237
|
unavailableRange: string;
|
|
238
238
|
}
|
|
239
|
+
type CalendarDateTime = string;
|
|
239
240
|
|
|
240
241
|
interface CalendarBaseProps extends Omit<ComponentProps<"div">, "children" | "value" | "defaultValue" | "defaultChecked" | "onChange"> {
|
|
241
242
|
/** The month on screen, normalized to its first day. Undefined means the calendar owns it. */
|
|
@@ -674,6 +675,78 @@ interface DateRangePickerProps {
|
|
|
674
675
|
*/
|
|
675
676
|
declare const DateRangePicker: React__default.ForwardRefExoticComponent<DateRangePickerProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
676
677
|
|
|
678
|
+
interface TimePanelLabels {
|
|
679
|
+
/** Names the panel's group of columns. */
|
|
680
|
+
time: string;
|
|
681
|
+
hour: string;
|
|
682
|
+
minute: string;
|
|
683
|
+
period: string;
|
|
684
|
+
/** Shown in place of the reading until one is chosen. */
|
|
685
|
+
chooseTime: string;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
interface DateTimePickerLabels extends CalendarLabels, TimePanelLabels {
|
|
689
|
+
/** The action that closes the popup. */
|
|
690
|
+
done: string;
|
|
691
|
+
/** Reported when the entered date and time cannot be accepted. */
|
|
692
|
+
unavailableDateTime: string;
|
|
693
|
+
}
|
|
694
|
+
interface DateTimePickerProps {
|
|
695
|
+
/** The selected date and time, `YYYY-MM-DDTHH:mm`, or `null` for none. Undefined makes the picker
|
|
696
|
+
* uncontrolled. */
|
|
697
|
+
value?: CalendarDateTime | null;
|
|
698
|
+
defaultValue?: CalendarDateTime | null;
|
|
699
|
+
/** Receives the next date and time, or `null` when the field is cleared. */
|
|
700
|
+
onValueChange?: (value: CalendarDateTime | null) => void;
|
|
701
|
+
/** The field's label. It names the native field, its control and the popup. */
|
|
702
|
+
label: string;
|
|
703
|
+
description?: ReactNode;
|
|
704
|
+
error?: ReactNode;
|
|
705
|
+
required?: boolean;
|
|
706
|
+
disabled?: boolean;
|
|
707
|
+
/** Styles the field's own column. */
|
|
708
|
+
className?: string;
|
|
709
|
+
id?: string;
|
|
710
|
+
/** The form that owns the field, when it renders outside it. */
|
|
711
|
+
form?: string;
|
|
712
|
+
/** Identifies the field when it is submitted. */
|
|
713
|
+
name?: string;
|
|
714
|
+
open?: boolean;
|
|
715
|
+
defaultOpen?: boolean;
|
|
716
|
+
/** Base's own open-change callback, event details included. */
|
|
717
|
+
onOpenChange?: Popover$1.Root.Props["onOpenChange"];
|
|
718
|
+
/** The earliest acceptable date and time, inclusive. */
|
|
719
|
+
min?: CalendarDateTime;
|
|
720
|
+
/** The latest acceptable date and time, inclusive. */
|
|
721
|
+
max?: CalendarDateTime;
|
|
722
|
+
/** Whether a date cannot be chosen at any time. Unavailable dates stay visible and are never selected. */
|
|
723
|
+
isDateUnavailable?: (date: CalendarDate) => boolean;
|
|
724
|
+
/** The interval, in minutes, between the minutes the popup offers. Typed entry stays
|
|
725
|
+
* minute-precise. Defaults to 5. */
|
|
726
|
+
minuteStep?: number;
|
|
727
|
+
/** Shows a twelve-hour clock with a day period, or a twenty-four-hour clock. Defaults to the
|
|
728
|
+
* locale's own. */
|
|
729
|
+
hourCycle?: 12 | 24;
|
|
730
|
+
locale?: string;
|
|
731
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
732
|
+
today?: CalendarDate;
|
|
733
|
+
labels?: Partial<DateTimePickerLabels>;
|
|
734
|
+
}
|
|
735
|
+
/**
|
|
736
|
+
* A date and a time of day: a native `datetime-local` input, with a named control beside it that
|
|
737
|
+
* opens the shared `Calendar` and a column for each part of the clock in a popover.
|
|
738
|
+
*
|
|
739
|
+
* The native input stays the field's control, so the browser owns its entry, its mobile UI, its
|
|
740
|
+
* form submission and the `required` and `min`/`max` constraints; `isDateUnavailable` is reported
|
|
741
|
+
* through the field's own validation, and a value the popup would refuse is never accepted — the
|
|
742
|
+
* input keeps what was typed and the field says why. In the popup, a half-chosen value waits for
|
|
743
|
+
* its other half, a choice that crosses a bound settles on the bound, and Done closes the surface.
|
|
744
|
+
*
|
|
745
|
+
* Values are civil `YYYY-MM-DDTHH:mm` readings with no time zone, exactly as the native input
|
|
746
|
+
* submits them.
|
|
747
|
+
*/
|
|
748
|
+
declare const DateTimePicker: React__default.ForwardRefExoticComponent<DateTimePickerProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
749
|
+
|
|
677
750
|
declare const edgeTone: {
|
|
678
751
|
readonly row: "border-sherick-edge/[0.06]";
|
|
679
752
|
readonly header: "border-sherick-edge/[0.10]";
|
|
@@ -1653,5 +1726,5 @@ interface DirectionProviderProps {
|
|
|
1653
1726
|
/** Declares writing direction to the interaction and positioning primitives, including portals. */
|
|
1654
1727
|
declare const DirectionProvider: ({ direction, children }: DirectionProviderProps) => React__default.JSX.Element;
|
|
1655
1728
|
|
|
1656
|
-
export { Accordion, Alert, AlertDialog, Avatar, Badge, Breadcrumb, Button, Calendar, Card, Checkbox, Chip, ChipGroup, Collapsible, Combobox, Command, CommandPalette, DatePicker, DateRangePicker, Dialog, DirectionProvider, Divider, Drawer, Field, FileUpload, IconButton, Input, Media, Menu, NavGroup, NavItem, NumberField, Pagination, Popover, Progress, RadioGroup, Search, SegmentedControl, Select, Skeleton, Slider, Spinner, Stepper, Switch, Table, Tabs, Textarea, ToastProvider, ToastViewport, ToggleGroup, Tooltip, TreeView, createToastManager, useToast };
|
|
1657
|
-
export type { AccordionHeadingLevel, AccordionItemProps, AccordionPanelProps, AccordionProps, AccordionTriggerProps, AlertDialogProps, AlertProps, AvatarProps, BadgeProps, BreadcrumbItem, BreadcrumbProps, ButtonAppearance, ButtonProps, ButtonSize, CalendarDate, CalendarLabels, CalendarProps, CardProps, CheckboxProps, ChipGroupProps, ChipProps, CollapsiblePanelProps, CollapsibleProps, CollapsibleTriggerProps, ComboboxOption, ComboboxProps, CommandItem, CommandPaletteProps, CommandProps, DatePickerProps, DateRange, DateRangePickerProps, DialogContentProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogProps, DirectionProviderProps, DividerProps, DividerWeight, DrawerContentProps, DrawerDescriptionProps, DrawerFooterProps, DrawerHeaderProps, DrawerProps, DrawerSide, DrawerTriggerProps, FieldProps, FileRejection, FileUploadProps, IconButtonAppearance, IconButtonProps, InputProps, MediaImageProps, MediaVideoProps, MenuContentProps, MenuItemProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, NavGroupHeadingLevel, NavGroupItem, NavGroupProps, NavItemProps, NumberFieldProps, OverlayAlign, OverlaySide, PaginationProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProgressProps, RadioGroupOption, RadioGroupProps, SearchProps, SegmentedControlOption, SegmentedControlProps, SelectOption, SelectProps, SkeletonProps, SliderProps, SpinnerProps, StepperItem, StepperProps, SwitchProps, Tab, TableColumn, TableProps, TabsProps, TextareaProps, ToastActionOptions, ToastManager, ToastOptions, ToastPosition, ToastPromiseOptions, ToastProviderProps, ToastType, ToastUpdateOptions, ToastViewportProps, ToggleGroupItemProps, ToggleGroupProps, TooltipProps, TreeViewItem, TreeViewProps, Variant };
|
|
1729
|
+
export { Accordion, Alert, AlertDialog, Avatar, Badge, Breadcrumb, Button, Calendar, Card, Checkbox, Chip, ChipGroup, Collapsible, Combobox, Command, CommandPalette, DatePicker, DateRangePicker, DateTimePicker, Dialog, DirectionProvider, Divider, Drawer, Field, FileUpload, IconButton, Input, Media, Menu, NavGroup, NavItem, NumberField, Pagination, Popover, Progress, RadioGroup, Search, SegmentedControl, Select, Skeleton, Slider, Spinner, Stepper, Switch, Table, Tabs, Textarea, ToastProvider, ToastViewport, ToggleGroup, Tooltip, TreeView, createToastManager, useToast };
|
|
1730
|
+
export type { AccordionHeadingLevel, AccordionItemProps, AccordionPanelProps, AccordionProps, AccordionTriggerProps, AlertDialogProps, AlertProps, AvatarProps, BadgeProps, BreadcrumbItem, BreadcrumbProps, ButtonAppearance, ButtonProps, ButtonSize, CalendarDate, CalendarDateTime, CalendarLabels, CalendarProps, CardProps, CheckboxProps, ChipGroupProps, ChipProps, CollapsiblePanelProps, CollapsibleProps, CollapsibleTriggerProps, ComboboxOption, ComboboxProps, CommandItem, CommandPaletteProps, CommandProps, DatePickerProps, DateRange, DateRangePickerProps, DateTimePickerLabels, DateTimePickerProps, DialogContentProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogProps, DirectionProviderProps, DividerProps, DividerWeight, DrawerContentProps, DrawerDescriptionProps, DrawerFooterProps, DrawerHeaderProps, DrawerProps, DrawerSide, DrawerTriggerProps, FieldProps, FileRejection, FileUploadProps, IconButtonAppearance, IconButtonProps, InputProps, MediaImageProps, MediaVideoProps, MenuContentProps, MenuItemProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, NavGroupHeadingLevel, NavGroupItem, NavGroupProps, NavItemProps, NumberFieldProps, OverlayAlign, OverlaySide, PaginationProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProgressProps, RadioGroupOption, RadioGroupProps, SearchProps, SegmentedControlOption, SegmentedControlProps, SelectOption, SelectProps, SkeletonProps, SliderProps, SpinnerProps, StepperItem, StepperProps, SwitchProps, Tab, TableColumn, TableProps, TabsProps, TextareaProps, ToastActionOptions, ToastManager, ToastOptions, ToastPosition, ToastPromiseOptions, ToastProviderProps, ToastType, ToastUpdateOptions, ToastViewportProps, ToggleGroupItemProps, ToggleGroupProps, TooltipProps, TreeViewItem, TreeViewProps, Variant };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -236,6 +236,7 @@ interface CalendarLabels {
|
|
|
236
236
|
/** Reported when a date — or a range — cannot be selected or is not acceptable. */
|
|
237
237
|
unavailableRange: string;
|
|
238
238
|
}
|
|
239
|
+
type CalendarDateTime = string;
|
|
239
240
|
|
|
240
241
|
interface CalendarBaseProps extends Omit<ComponentProps<"div">, "children" | "value" | "defaultValue" | "defaultChecked" | "onChange"> {
|
|
241
242
|
/** The month on screen, normalized to its first day. Undefined means the calendar owns it. */
|
|
@@ -674,6 +675,78 @@ interface DateRangePickerProps {
|
|
|
674
675
|
*/
|
|
675
676
|
declare const DateRangePicker: React__default.ForwardRefExoticComponent<DateRangePickerProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
676
677
|
|
|
678
|
+
interface TimePanelLabels {
|
|
679
|
+
/** Names the panel's group of columns. */
|
|
680
|
+
time: string;
|
|
681
|
+
hour: string;
|
|
682
|
+
minute: string;
|
|
683
|
+
period: string;
|
|
684
|
+
/** Shown in place of the reading until one is chosen. */
|
|
685
|
+
chooseTime: string;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
interface DateTimePickerLabels extends CalendarLabels, TimePanelLabels {
|
|
689
|
+
/** The action that closes the popup. */
|
|
690
|
+
done: string;
|
|
691
|
+
/** Reported when the entered date and time cannot be accepted. */
|
|
692
|
+
unavailableDateTime: string;
|
|
693
|
+
}
|
|
694
|
+
interface DateTimePickerProps {
|
|
695
|
+
/** The selected date and time, `YYYY-MM-DDTHH:mm`, or `null` for none. Undefined makes the picker
|
|
696
|
+
* uncontrolled. */
|
|
697
|
+
value?: CalendarDateTime | null;
|
|
698
|
+
defaultValue?: CalendarDateTime | null;
|
|
699
|
+
/** Receives the next date and time, or `null` when the field is cleared. */
|
|
700
|
+
onValueChange?: (value: CalendarDateTime | null) => void;
|
|
701
|
+
/** The field's label. It names the native field, its control and the popup. */
|
|
702
|
+
label: string;
|
|
703
|
+
description?: ReactNode;
|
|
704
|
+
error?: ReactNode;
|
|
705
|
+
required?: boolean;
|
|
706
|
+
disabled?: boolean;
|
|
707
|
+
/** Styles the field's own column. */
|
|
708
|
+
className?: string;
|
|
709
|
+
id?: string;
|
|
710
|
+
/** The form that owns the field, when it renders outside it. */
|
|
711
|
+
form?: string;
|
|
712
|
+
/** Identifies the field when it is submitted. */
|
|
713
|
+
name?: string;
|
|
714
|
+
open?: boolean;
|
|
715
|
+
defaultOpen?: boolean;
|
|
716
|
+
/** Base's own open-change callback, event details included. */
|
|
717
|
+
onOpenChange?: Popover$1.Root.Props["onOpenChange"];
|
|
718
|
+
/** The earliest acceptable date and time, inclusive. */
|
|
719
|
+
min?: CalendarDateTime;
|
|
720
|
+
/** The latest acceptable date and time, inclusive. */
|
|
721
|
+
max?: CalendarDateTime;
|
|
722
|
+
/** Whether a date cannot be chosen at any time. Unavailable dates stay visible and are never selected. */
|
|
723
|
+
isDateUnavailable?: (date: CalendarDate) => boolean;
|
|
724
|
+
/** The interval, in minutes, between the minutes the popup offers. Typed entry stays
|
|
725
|
+
* minute-precise. Defaults to 5. */
|
|
726
|
+
minuteStep?: number;
|
|
727
|
+
/** Shows a twelve-hour clock with a day period, or a twenty-four-hour clock. Defaults to the
|
|
728
|
+
* locale's own. */
|
|
729
|
+
hourCycle?: 12 | 24;
|
|
730
|
+
locale?: string;
|
|
731
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
732
|
+
today?: CalendarDate;
|
|
733
|
+
labels?: Partial<DateTimePickerLabels>;
|
|
734
|
+
}
|
|
735
|
+
/**
|
|
736
|
+
* A date and a time of day: a native `datetime-local` input, with a named control beside it that
|
|
737
|
+
* opens the shared `Calendar` and a column for each part of the clock in a popover.
|
|
738
|
+
*
|
|
739
|
+
* The native input stays the field's control, so the browser owns its entry, its mobile UI, its
|
|
740
|
+
* form submission and the `required` and `min`/`max` constraints; `isDateUnavailable` is reported
|
|
741
|
+
* through the field's own validation, and a value the popup would refuse is never accepted — the
|
|
742
|
+
* input keeps what was typed and the field says why. In the popup, a half-chosen value waits for
|
|
743
|
+
* its other half, a choice that crosses a bound settles on the bound, and Done closes the surface.
|
|
744
|
+
*
|
|
745
|
+
* Values are civil `YYYY-MM-DDTHH:mm` readings with no time zone, exactly as the native input
|
|
746
|
+
* submits them.
|
|
747
|
+
*/
|
|
748
|
+
declare const DateTimePicker: React__default.ForwardRefExoticComponent<DateTimePickerProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
749
|
+
|
|
677
750
|
declare const edgeTone: {
|
|
678
751
|
readonly row: "border-sherick-edge/[0.06]";
|
|
679
752
|
readonly header: "border-sherick-edge/[0.10]";
|
|
@@ -1653,5 +1726,5 @@ interface DirectionProviderProps {
|
|
|
1653
1726
|
/** Declares writing direction to the interaction and positioning primitives, including portals. */
|
|
1654
1727
|
declare const DirectionProvider: ({ direction, children }: DirectionProviderProps) => React__default.JSX.Element;
|
|
1655
1728
|
|
|
1656
|
-
export { Accordion, Alert, AlertDialog, Avatar, Badge, Breadcrumb, Button, Calendar, Card, Checkbox, Chip, ChipGroup, Collapsible, Combobox, Command, CommandPalette, DatePicker, DateRangePicker, Dialog, DirectionProvider, Divider, Drawer, Field, FileUpload, IconButton, Input, Media, Menu, NavGroup, NavItem, NumberField, Pagination, Popover, Progress, RadioGroup, Search, SegmentedControl, Select, Skeleton, Slider, Spinner, Stepper, Switch, Table, Tabs, Textarea, ToastProvider, ToastViewport, ToggleGroup, Tooltip, TreeView, createToastManager, useToast };
|
|
1657
|
-
export type { AccordionHeadingLevel, AccordionItemProps, AccordionPanelProps, AccordionProps, AccordionTriggerProps, AlertDialogProps, AlertProps, AvatarProps, BadgeProps, BreadcrumbItem, BreadcrumbProps, ButtonAppearance, ButtonProps, ButtonSize, CalendarDate, CalendarLabels, CalendarProps, CardProps, CheckboxProps, ChipGroupProps, ChipProps, CollapsiblePanelProps, CollapsibleProps, CollapsibleTriggerProps, ComboboxOption, ComboboxProps, CommandItem, CommandPaletteProps, CommandProps, DatePickerProps, DateRange, DateRangePickerProps, DialogContentProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogProps, DirectionProviderProps, DividerProps, DividerWeight, DrawerContentProps, DrawerDescriptionProps, DrawerFooterProps, DrawerHeaderProps, DrawerProps, DrawerSide, DrawerTriggerProps, FieldProps, FileRejection, FileUploadProps, IconButtonAppearance, IconButtonProps, InputProps, MediaImageProps, MediaVideoProps, MenuContentProps, MenuItemProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, NavGroupHeadingLevel, NavGroupItem, NavGroupProps, NavItemProps, NumberFieldProps, OverlayAlign, OverlaySide, PaginationProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProgressProps, RadioGroupOption, RadioGroupProps, SearchProps, SegmentedControlOption, SegmentedControlProps, SelectOption, SelectProps, SkeletonProps, SliderProps, SpinnerProps, StepperItem, StepperProps, SwitchProps, Tab, TableColumn, TableProps, TabsProps, TextareaProps, ToastActionOptions, ToastManager, ToastOptions, ToastPosition, ToastPromiseOptions, ToastProviderProps, ToastType, ToastUpdateOptions, ToastViewportProps, ToggleGroupItemProps, ToggleGroupProps, TooltipProps, TreeViewItem, TreeViewProps, Variant };
|
|
1729
|
+
export { Accordion, Alert, AlertDialog, Avatar, Badge, Breadcrumb, Button, Calendar, Card, Checkbox, Chip, ChipGroup, Collapsible, Combobox, Command, CommandPalette, DatePicker, DateRangePicker, DateTimePicker, Dialog, DirectionProvider, Divider, Drawer, Field, FileUpload, IconButton, Input, Media, Menu, NavGroup, NavItem, NumberField, Pagination, Popover, Progress, RadioGroup, Search, SegmentedControl, Select, Skeleton, Slider, Spinner, Stepper, Switch, Table, Tabs, Textarea, ToastProvider, ToastViewport, ToggleGroup, Tooltip, TreeView, createToastManager, useToast };
|
|
1730
|
+
export type { AccordionHeadingLevel, AccordionItemProps, AccordionPanelProps, AccordionProps, AccordionTriggerProps, AlertDialogProps, AlertProps, AvatarProps, BadgeProps, BreadcrumbItem, BreadcrumbProps, ButtonAppearance, ButtonProps, ButtonSize, CalendarDate, CalendarDateTime, CalendarLabels, CalendarProps, CardProps, CheckboxProps, ChipGroupProps, ChipProps, CollapsiblePanelProps, CollapsibleProps, CollapsibleTriggerProps, ComboboxOption, ComboboxProps, CommandItem, CommandPaletteProps, CommandProps, DatePickerProps, DateRange, DateRangePickerProps, DateTimePickerLabels, DateTimePickerProps, DialogContentProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogProps, DirectionProviderProps, DividerProps, DividerWeight, DrawerContentProps, DrawerDescriptionProps, DrawerFooterProps, DrawerHeaderProps, DrawerProps, DrawerSide, DrawerTriggerProps, FieldProps, FileRejection, FileUploadProps, IconButtonAppearance, IconButtonProps, InputProps, MediaImageProps, MediaVideoProps, MenuContentProps, MenuItemProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, NavGroupHeadingLevel, NavGroupItem, NavGroupProps, NavItemProps, NumberFieldProps, OverlayAlign, OverlaySide, PaginationProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProgressProps, RadioGroupOption, RadioGroupProps, SearchProps, SegmentedControlOption, SegmentedControlProps, SelectOption, SelectProps, SkeletonProps, SliderProps, SpinnerProps, StepperItem, StepperProps, SwitchProps, Tab, TableColumn, TableProps, TabsProps, TextareaProps, ToastActionOptions, ToastManager, ToastOptions, ToastPosition, ToastPromiseOptions, ToastProviderProps, ToastType, ToastUpdateOptions, ToastViewportProps, ToggleGroupItemProps, ToggleGroupProps, TooltipProps, TreeViewItem, TreeViewProps, Variant };
|