Skip to main content

Crate orbital_date_pickers

Crate orbital_date_pickers 

Source
Expand description

Orbital Date Pickers — plugin extensions for date/time selection.

Modules§

preview
Preview registration for gap stubs.

Structs§

DateCalendarAppearance
Visual and range options for super::date_calendar::DateCalendar.
DateCalendarBind
Value binding for super::date_calendar::DateCalendar.
DateCalendarPreviewProps
Props for the DateCalendarPreview component.
DateCalendarProps
Props for the DateCalendar component.
DateFieldAppearance
Formatting and interaction options for super::date_field::DateField.
DateFieldBind
Value binding for super::date_field::DateField.
DateFieldPreviewProps
Props for the DateFieldPreview component.
DateFieldProps
Props for the DateField component.
DatePickerFeatures
Opt-in date picker capabilities (single-tier; no license checks).
DateRangeCalendarAppearance
Visual and range options for super::date_range_calendar::DateRangeCalendar.
DateRangeCalendarBind
Value binding for super::date_range_calendar::DateRangeCalendar.
DateRangeCalendarPreviewProps
Props for the DateRangeCalendarPreview component.
DateRangeCalendarProps
Props for the DateRangeCalendar component.
DateRangeFieldAppearance
Formatting options for super::date_range_field::DateRangeField.
DateRangeFieldBind
Value binding for super::date_range_field::DateRangeField.
DateRangeFieldPreviewProps
Props for the DateRangeFieldPreview component.
DateRangeFieldProps
Props for the DateRangeField component.
DateRangePickerAppearance
Panel and field options for crate::DateRangePicker.
DateRangePickerBind
Value binding for crate::DateRangePicker.
DateRangePickerPreviewProps
Props for the DateRangePickerPreview component.
DateRangePickerProps
Props for the DateRangePicker component.
DateRangePickerSlots
Collected trigger slots for crate::DateRangePicker.
DateTimeCoordinatorBinds
Coordinated child binds for a combined date + time picker surface.
DateTimeFieldAppearance
Formatting and interaction options for super::date_time_field::DateTimeField.
DateTimeFieldBind
Value binding for super::date_time_field::DateTimeField.
DateTimeFieldPreviewProps
Props for the DateTimeFieldPreview component.
DateTimeFieldProps
Props for the DateTimeField component.
DateTimePickerAppearance
Formatting and panel options for crate::DateTimePicker.
DateTimePickerBind
Value binding for crate::DateTimePicker.
DateTimePickerPreviewProps
Props for the DateTimePickerPreview component.
DateTimePickerProps
Props for the DateTimePicker component.
DateTimeRange
Inclusive datetime range for range pickers and shortcuts.
DateTimeRangeFieldAppearance
Formatting options for super::date_time_range_field::DateTimeRangeField.
DateTimeRangeFieldBind
Value binding for super::date_time_range_field::DateTimeRangeField.
DateTimeRangeFieldPreviewProps
Props for the DateTimeRangeFieldPreview component.
DateTimeRangeFieldProps
Props for the DateTimeRangeField component.
DateTimeRangePickerAppearance
Panel and field options for crate::DateTimeRangePicker.
DateTimeRangePickerBind
Value binding for crate::DateTimeRangePicker.
DateTimeRangePickerPreviewProps
Props for the DateTimeRangePickerPreview component.
DateTimeRangePickerProps
Props for the DateTimeRangePicker component.
DatetimeLocaleContext
Locale, format, timezone, reference-date defaults, and localized chrome strings for picker subtrees.
DatetimeLocalePreviewProps
Props for the DatetimeLocalePreview component.
DatetimeLocaleProps
Props for the DatetimeLocale component.
DatetimeLocaleStrings
User-facing strings for date/time picker chrome (calendar headers, weekdays, meridiem).
DigitalClockAppearance
Visual and interaction options for super::digital_clock::DigitalClock.
DigitalClockBind
Value binding for super::digital_clock::DigitalClock.
DigitalClockPreviewProps
Props for the DigitalClockPreview component.
DigitalClockProps
Props for the DigitalClock component.
Locale
BCP-47 or Orbital locale identifier for datetime formatting context.
OpenTriggerSlot
Props for the OpenTriggerSlot slot.
OpenTriggerSlotBuilder
Builder for OpenTriggerSlot instances.
OrbitalDateTime
Canonical instant + explicit timezone context for picker/scheduler logic.
PickerClassNames
PickerFieldContext
Context for custom field slot content inside a popover picker trigger row.
PickerFieldSlot
Props for the PickerFieldSlot slot.
PickerFieldSlotBuilder
Builder for PickerFieldSlot instances.
PickerFieldSlotHostProps
Props for the PickerFieldSlotHost component.
PickerLayoutActionBarSlot
Props for the PickerLayoutActionBarSlot slot.
PickerLayoutActionBarSlotBuilder
Builder for PickerLayoutActionBarSlot instances.
PickerLayoutSlots
Collected layout slot children for crate::DateCalendar.
PickerLayoutToolbarSlot
Props for the PickerLayoutToolbarSlot slot.
PickerLayoutToolbarSlotBuilder
Builder for PickerLayoutToolbarSlot instances.
PickerShortcut
Shortcut preset shown on calendar/picker shortcut bars.
RangeCoordinatorBinds
Child endpoint signals coordinated with one master OptionBind<DateTimeRange>.
RangeSelection
In-progress or complete range selection on the calendar grid.
TimeClockAppearance
Visual and interaction options for super::time_clock::TimeClock.
TimeClockBind
Value binding for super::time_clock::TimeClock.
TimeClockPreviewProps
Props for the TimeClockPreview component.
TimeClockProps
Props for the TimeClock component.
TimeFieldAppearance
Formatting and interaction options for super::time_field::TimeField.
TimeFieldBind
Value binding for super::time_field::TimeField.
TimeFieldPreviewProps
Props for the TimeFieldPreview component.
TimeFieldProps
Props for the TimeField component.
TimeRangeFieldAppearance
Formatting options for super::time_range_field::TimeRangeField.
TimeRangeFieldBind
Value binding for super::time_range_field::TimeRangeField.
TimeRangeFieldPreviewProps
Props for the TimeRangeFieldPreview component.
TimeRangeFieldProps
Props for the TimeRangeField component.
TimeRangePickerAppearance
Panel and field options for crate::TimeRangePicker.
TimeRangePickerBind
Value binding for crate::TimeRangePicker.
TimeRangePickerPreviewProps
Props for the TimeRangePickerPreview component.
TimeRangePickerProps
Props for the TimeRangePicker component.

Enums§

ClockView
DayRangeRole
Visual role for a day cell in a range calendar.

Constants§

DEFAULT_FACE_SIZE
DEFAULT_MARKER_SIZE

Statics§

DATECALENDAR_PREVIEW_REGISTRATION
DATEFIELD_PREVIEW_REGISTRATION
DATEPICKERSACCESSIBILITYGUIDE_PREVIEW_REGISTRATION
DATEPICKERSCUSTOMCOMPONENTSGUIDE_PREVIEW_REGISTRATION
DATEPICKERSCUSTOMFIELDGUIDE_PREVIEW_REGISTRATION
DATEPICKERSCUSTOMLAYOUTGUIDE_PREVIEW_REGISTRATION
DATEPICKERSCUSTOMOPENGUIDE_PREVIEW_REGISTRATION
DATEPICKERSOVERVIEWGUIDE_PREVIEW_REGISTRATION
DATEPICKERSPLAYGROUNDGUIDE_PREVIEW_REGISTRATION
DATEPICKERSSHORTCUTSGUIDE_PREVIEW_REGISTRATION
DATEPICKERSTIMEZONEGUIDE_PREVIEW_REGISTRATION
DATEPICKERSVALIDATIONGUIDE_PREVIEW_REGISTRATION
DATERANGECALENDAR_PREVIEW_REGISTRATION
DATERANGEFIELD_PREVIEW_REGISTRATION
DATERANGEPICKER_PREVIEW_REGISTRATION
DATETIMEFIELD_PREVIEW_REGISTRATION
DATETIMELOCALE_PREVIEW_REGISTRATION
DATETIMEPICKER_PREVIEW_REGISTRATION
DATETIMERANGEFIELD_PREVIEW_REGISTRATION
DATETIMERANGEPICKER_PREVIEW_REGISTRATION
DIGITALCLOCK_PREVIEW_REGISTRATION
TIMECLOCK_PREVIEW_REGISTRATION
TIMEFIELD_PREVIEW_REGISTRATION
TIMERANGEFIELD_PREVIEW_REGISTRATION
TIMERANGEPICKER_PREVIEW_REGISTRATION

Functions§

CustomRangeSummaryField
DateCalendar
Standalone calendar panel for date selection, bound to [OrbitalDateTime].
DateCalendarPreview
DateField
Segmented date input with locale-aware section masks, bound to [OrbitalDateTime].
DateFieldPreview
DatePickersAccessibilityGuide
Keyboard, ARIA, and labeling patterns for Orbital date and time pickers.
DatePickersCustomComponentsGuide
Customize calendar day cells and month navigation buttons with renderer callbacks.
DatePickersCustomFieldGuide
Replace the default segmented field with a custom control via use_picker_field.
DatePickersCustomLayoutGuide
Reorder picker panel sections and inject custom action bars with layout slots.
DatePickersCustomOpenGuide
Replace the default calendar icon trigger with a custom open button.
DatePickersOverviewGuide
Hub for the Orbital Date Pickers plugin — component family, first picker setup, and common questions.
DatePickersPlaygroundGuide
Interactive sandbox for picker format, timezone, and density combinations.
DatePickersShortcutsGuide
Add preset shortcut chips above calendar panels for one-click date selection.
DatePickersTimezoneGuide
Control how pickers interpret and display wall-clock time for the same UTC instant.
DatePickersValidationGuide
Constrain selectable dates with [DatePickerRule] and surface errors through Field.
DateRangeCalendar
Inline dual-month calendar for selecting a date range bound to DateTimeRange.
DateRangeCalendarPreview
DateRangeField
Segmented start/end date input bound to [DateTimeRange].
DateRangeFieldPreview
DateRangePicker
Range field with an anchored dual-month calendar panel, bound to [DateTimeRange].
DateRangePickerPreview
DateTimeField
Combined date and time segmented input bound to [OrbitalDateTime].
DateTimeFieldPreview
DateTimePicker
Side-by-side date and time pickers sharing one [OrbitalDateTime] bind.
DateTimePickerPreview
DateTimeRangeField
Segmented start/end datetime input bound to [DateTimeRange].
DateTimeRangeFieldPreview
DateTimeRangePicker
Datetime range field with side-by-side start/end DateTimePicker panels, bound to [DateTimeRange].
DateTimeRangePickerPreview
DatetimeLocale
Provides locale, format, timezone, and reference-date defaults to picker subtrees.
DatetimeLocalePreview
DigitalClock
Scrollable time list for selecting time-of-day, bound to [OrbitalDateTime].
DigitalClockPreview
PickerFieldSlotHost
Hosts custom picker field slot content with PickerFieldContext.
SegmentedDatetimeField
Low-level segmented datetime input shared by crate::DateField, crate::TimeField, and crate::DateTimeField.
TimeClock
Analog clock surface for selecting time-of-day, bound to [OrbitalDateTime].
TimeClockDial
Required Props
TimeClockPreview
TimeField
Segmented time input bound to [OrbitalDateTime] on a reference calendar day.
TimeFieldPreview
TimeRangeField
Segmented start/end time input bound to [DateTimeRange].
TimeRangeFieldPreview
TimeRangePicker
Time range field with side-by-side start/end TimePicker panels, bound to [DateTimeRange].
TimeRangePickerPreview
apply_range_click
Advance range selection after a day click.
commit_time
Apply hour/minute/second to an anchor day in the given timezone.
datetime_field_root_classes
Build field root class list for combined date-time segmented fields.
datetime_field_row_class
Row class pairing date and time segmented fields side by side.
datetime_picker_root_classes
Build root layout class list for [DateTimePicker].
datetime_picker_row_class
Row class pairing date and time pickers side by side.
datetime_range_picker_row_class
Row class for start/end datetime pickers in range pickers.
datetime_segment_class
Segment class for datetime combined fields.
datetime_separator_class
Separator class for datetime combined fields.
day_range_role
Classify a day for range highlighting.
field_root_classes
Build field root class list for segmented date/time fields.
format_slot_label
Format a time slot label for list display.
generate_time_slots
Generate (hour, minute) slots for a full day at the given step.
get_hours_from_point
Resolve hour from pointer coordinates on the clock face.
get_minutes_from_point
Resolve minute from pointer coordinates, snapped to minute_step.
hour_hand_degrees
Hand rotation angle in degrees for the current hour selection.
hour_markers
Hour markers for the analog dial (12 at top for 12-hour mode).
input_size_class
Map theme density to core Input size modifiers.
is_day_disabled
is_minute_step_disabled
Whether a minute value is disabled for the given step.
layout_root_classes
Build root layout class list for a picker shell.
marker_angle
Angle in radians for marker index of count evenly spaced labels (12 o’clock = index 0).
marker_position_fraction
Marker center offset from face center as a fraction of face size (for calc(50% + …)).
marker_position_style
CSS left / top values positioning a marker centered on the dial ring.
merge_date_preserve_time
Merge a new calendar day with the time-of-day from a previous value.
minute_display_index
Index of a minute label in the fixed 5-minute display ring.
minute_display_markers
Always-visible minute dial labels (00, 05, …, 55).
minute_hand_degrees
Hand rotation angle in degrees for a minute value (0–59).
minute_markers
Minute markers at the given step increment.
now_on_anchor
Current wall-clock time on the anchor day as (hour, minute, is_pm).
orbital_from_date
picker_class_names
Stable class names for picker shells and segmented fields.
picker_density_class
Density modifier class for picker layout roots.
picker_density_inner_class
Inner density class for descendant selectors on calendar/field nodes.
picker_style_sheet
Injected picker stylesheet and stable class names.
range_field_root_classes
Build root class list for range field wrappers.
range_to_selection
resolve_anchor
Calendar day anchor for time-only clock surfaces.
selection_to_range
snap_minute
Snap a minute value to the nearest step increment (minimum step 1).
tick_endpoints
SVG tick endpoints for the 12 hour marks on the dial border.
time_clock_root_classes
Build root class list for analog time clock surfaces.
time_segment_class
Segment and separator classes for time fields (time-specific BEM suffix).
time_separator_class
to_twelve_hour
Convert 24h hour to (12h display, AM/PM).
to_twenty_four_hour
Convert 12h display hour + meridiem to 24h hour.
today_and_yesterday_shortcuts
Common Today + Yesterday presets for shortcut bars.
today_for_timezone
today_shortcut
Shortcut preset for today’s calendar day at start-of-day in timezone.
use_datetime_coordinator
Wire date and time pickers to one master OptionBind<OrbitalDateTime>, preserving time-of-day when the calendar day changes.
use_datetime_locale
Returns the active DatetimeLocaleContext when inside DatetimeLocale.
use_datetime_locale_strings
Returns localized picker chrome strings from the nearest DatetimeLocale provider.
use_default_timezone
Default timezone from the nearest DatetimeLocale provider.
use_picker_field
Returns the active PickerFieldContext when inside a PickerFieldSlot on a range picker.
use_range_coordinator
Wire start/end field or picker proxies to one master range bind.
use_reference_date
Reference calendar day from the nearest DatetimeLocale provider.
weekend_day
yesterday_shortcut
Shortcut preset for yesterday at start-of-day in timezone.

Type Aliases§

CalendarDayRenderer
Type alias for custom day cell renderers forwarded to core orbital_core_components::Calendar.
CalendarMonthButtonRenderer
Type alias for custom month button renderers on core orbital_core_components::DatePicker.