生态产品多个设计器现已发布候选版本

查看生态总览
Skip to content

TimePicker ​

Data entry component. This page is the API reference, generated from the source code. Usage guidance and live examples are on the Chinese page.

Anatomy ​

Parts in bold are required.

data-scope="time-picker": root · label · control · tag-list · segment-group · segment · trigger · clear-trigger · positioner · content · preset-group · preset · column · item · footer · confirm-trigger · hidden-input

API reference ​

Descriptions of individual props, events and slots are written in Chinese and appear on the Chinese page.

Artifacts ​

LayerValue
Custom element<xh-time-picker>
Vue componentsXhTimePickerClearTrigger XhTimePickerColumn XhTimePickerConfirmTrigger XhTimePickerContent XhTimePickerControl XhTimePickerFooter XhTimePickerHiddenInput XhTimePickerItem XhTimePickerItemDeleteTrigger XhTimePickerLabel XhTimePickerOverflowTag XhTimePickerPositioner XhTimePickerPreset XhTimePickerPresetGroup XhTimePickerRoot XhTimePickerSegment XhTimePickerSegmentGroup XhTimePickerTag XhTimePickerTagLabel XhTimePickerTagList XhTimePickerTrigger
ComposableuseTimePicker
State machinetimePickerMachine
Skin@xihan-ui/styles/time-picker.css

Props ​

PropTypeRequired
labelledboolean
ariaLabelstring
valuestring | string[]
defaultValuestring | string[]
selectionModeTimePickerSelectionMode
maxSelectednumber
maxTagCountnumber
openboolean
defaultOpenboolean
minstring
maxstring
localestring
hourCycleTimeHourCycle
granularityTimeGranularity
timeStepTimeStep
presetsTimePickerPreset[]
disabledboolean
readOnlyboolean
invalidboolean
requiredboolean
namestring
placeholderstring
variantControlVariant
toneTone
sizeSize
placementPlacement
dirDirection
offsetnumber
isTimeUnavailableTimeUnavailablePredicate
translationsPartial<TimePickerTranslations>
onValueChange(details: TimePickerValueChangeDetails) => void
onClear() => void
onOpenChange(details: TimePickerOpenChangeDetails) => void

TimePickerPreset ​

Elements of presets.

FieldTypeRequired
valuestringYes
labelstringYes
disabledboolean

Events ​

Custom elements put the payload in detail; Vue emits an event of the same name.

EventPayload
value-changeTimePickerValueChangeDetails
clear``
open-changeTimePickerOpenChangeDetails

Slots ​

Only slots with a payload are listed.

Vue componentSlotPayload
XhTimePickerColumndefaultTimePickerColumnSlotProps
XhTimePickerPresetdefault—
XhTimePickerPresetGroupdefaultTimePickerPresetsSlotProps
XhTimePickerRootdefaultTimePickerRootSlotProps
XhTimePickerRootlabel—

React adapter props ​

Only the props each component declares itself: DOM attributes inherited from ComponentPropsWithRef are left out, and root props already listed in the Props table are not repeated. The Vue counterpart is the slot table above.

React componentPropTypeRequired
XhTimePickerColumnunitTimePickerColumnUnitYes
XhTimePickerColumnchildrenSlotChildren<TimePickerColumnSlotProps>
XhTimePickerItemvaluestringYes
XhTimePickerPositionercontainer() => Element | null
XhTimePickerPresetvaluestringYes
XhTimePickerPresetGroupchildrenSlotChildren<TimePickerPresetsSlotProps>
XhTimePickerRootlabelReactNode
XhTimePickerRootchildrenSlotChildren<TimePickerRootSlotProps>
XhTimePickerSegmentsegmentTimeSegmentTypeYes
XhTimePickerTagvaluestringYes

State ​

Public state is written to data-state.

PartValues
root'open' | 'closed'
control'open' | 'closed'
trigger'open' | 'closed'
positioner'open' | 'closed'
content'open' | 'closed'
preset'checked' | 'unchecked'
column'open' | 'closed'
item'checked' | 'unchecked'

The following names are internal to the state machine.

States: open · closed

Events: OPEN · TOGGLE · CLOSE · CONTROLLED.OPEN · CONTROLLED.CLOSE · VALUE.SET · VALUE.ADD · VALUE.REMOVE · VALUE.TOGGLE · TAG_LIST.TRACKED · VALUE.CLEAR · SEGMENT.STEP · SEGMENT.DIGIT · SEGMENT.CLEAR · SEGMENT.PERIOD · SEGMENT.FOCUS · SEGMENT.BLUR · OPTION.FOCUS · ITEM.SELECT · FORM.RESET · PRESS.START · PRESS.END

Guards: isOpenControlled · canEdit · closesOnPreset · canPress

connect API ​

getXxxProps() returns the host attributes of the matching part.

MemberType
openboolean
valuestring[]
selectionModeTimePickerSelectionMode
draftValuestring
emptyboolean
outOfRangeboolean
disabledboolean
readOnlyboolean
invalidboolean
hourCycleTimeHourCycle
granularityTimeGranularity
timeStepResolvedTimeStep
segmentsTimeSegmentType[]
focusedSegmentTimeSegmentType | null
columnsTimePickerColumn[]
focusedColumnTimePickerColumnUnit | null
focusedItemstring | null
presetsreadonly TimePickerPresetState[]
canClearboolean
canAddboolean
tagsTimePickerTagMeta[]
overflowCountnumber
overflowTextstring
translationsTimePickerTranslations
getSegmentText(props: TimePickerSegmentProps) => string
getItemText(props: TimePickerItemProps) => string
isItemSelected(props: TimePickerItemProps) => boolean
isItemDisabled(props: TimePickerItemProps) => boolean
setOpen(next: boolean) => void
setValue(next: string[]) => void
clear() => void
add() => void
deselect(value: string) => void
getRootProps() => T['element']
getLabelProps() => T['label']
getControlProps() => T['element']
getTagListProps() => T['element']
getTagProps(props: TimePickerTagProps) => T['element']
getTagLabelProps() => T['element']
getOverflowTagProps() => T['element']
getItemDeleteTriggerProps(props: TimePickerTagProps) => T['button']
getSegmentGroupProps() => T['element']
getSegmentProps(props: TimePickerSegmentProps) => T['element']
getTriggerProps() => T['button']
getClearTriggerProps() => T['button']
getPositionerProps() => T['element']
getContentProps() => T['element']
getPresetGroupProps() => T['element']
getPresetProps(props: TimePickerPresetProps) => T['element']
getColumnProps(props: TimePickerColumnProps) => T['element']
getItemProps(props: TimePickerItemProps) => T['element']
getFooterProps() => T['element']
getConfirmTriggerProps() => T['button']
getHiddenInputProps(props?: TimePickerHiddenInputProps) => T['input']

Accessibility ​

Keyboard ​

Specification: W3C APG. Each row is a stable behavior id that the conformance tests cover; the conditions and effects are described on the Chinese page.

KeysBehavior
Backspacetime-picker.kbd.remove-last
ArrowDown / ArrowUptime-picker.kbd.open
Enter / Spacetime-picker.kbd.toggle
ArrowDowntime-picker.kbd.item-next
ArrowUptime-picker.kbd.item-prev
Hometime-picker.kbd.item-first
Endtime-picker.kbd.item-last
ArrowRighttime-picker.kbd.column-next
ArrowLefttime-picker.kbd.column-prev
Enter / Spacetime-picker.kbd.select
ArrowUp / ArrowDown / Home / Endtime-picker.kbd.preset-move
Enter / Spacetime-picker.kbd.preset-pick
Escapetime-picker.kbd.escape
Tab / Shift+Tabtime-picker.kbd.tab
ArrowUptime-picker.kbd.segment-increment
ArrowDowntime-picker.kbd.segment-decrement
ArrowRighttime-picker.kbd.segment-next
ArrowLefttime-picker.kbd.segment-prev
Hometime-picker.kbd.segment-first
Endtime-picker.kbd.segment-last
0-9time-picker.kbd.segment-digit
Backspace / Deletetime-picker.kbd.segment-clear
a / ptime-picker.kbd.segment-period
Alt+ArrowDowntime-picker.kbd.segment-open
Entertime-picker.kbd.segment-close
Enter / Spacetime-picker.kbd.press

ARIA ​

These attributes are produced by connect.

PartAttributeValue
controlaria-disabled'true' | 'false'
controlaria-invalid'true' | 'false'
controlaria-labelprops.ariaLabel
controlaria-labelledbyid of the label part | undefined
controlrole'group'
segmentaria-disabled'true' | 'false'
segmentaria-invalid'true' | 'false'
segmentaria-labeltranslations[segment]
segmentaria-readonly'true' | 'false'
segmentaria-required'true' | 'false'
segmentaria-valuemaxrange.max
segmentaria-valueminrange.min
segmentaria-valuenowsegmentNumber(draft, segment, hourCycle)
segmentaria-valuetexttimeSegmentText(draft, segment, { hourCycle, locale })
segmentrole'spinbutton'
triggeraria-controlsid of the content part
triggeraria-expanded'true' | 'false'
triggeraria-haspopup'dialog'
triggeraria-labelprops.ariaLabel
triggeraria-labelledbyid of the label part | undefined
clear-triggeraria-labeltranslations.clearTrigger
contentaria-hidden!open || undefined
contentaria-labelprops.ariaLabel
contentaria-labelledbyid of the label part | undefined
contentaria-modal'false'
contentrole'dialog'
preset-grouparia-disabled'true' | 'false'
preset-grouparia-labeltranslations.presets
preset-grouparia-multiselectable'false'
preset-grouparia-orientation'vertical'
preset-grouprole'listbox'
presetaria-disabled'true' | 'false'
presetaria-selected'true' | 'false'
presetrole'option'
columnaria-disabled'true' | 'false'
columnaria-labeltranslations[unit]
columnaria-multiselectable'false'
columnaria-orientation'vertical'
columnrole'listbox'
itemaria-disabled'true' | 'false'
itemaria-selected'true' | 'false'
itemrole'option'

Style reference ​

Skin ​

@xihan-ui/styles/time-picker.css is written against [data-scope="time-picker"][data-part="root"] part selectors; the published build uses the mount class .xh-scope-time-picker in place of data-scope (same specificity) and sits in the xihan.components and xihan.motion layers. Put overrides in xihan.overrides; the part selectors work as usual.

Data attributes ​

Produced by connect; valueless attributes are omitted while their condition does not hold.

PartAttributeValue
rootdata-disabled'' (present only while the condition holds)
rootdata-empty'' (present only while the condition holds)
rootdata-invalid'' (present only while the condition holds)
rootdata-out-of-range'' (present only while the condition holds)
rootdata-readonly'' (present only while the condition holds)
rootdata-sizeprops.size
rootdata-state'open' | 'closed'
rootdata-toneprops.tone
rootdata-variantprops.variant
labeldata-disabled'' (present only while the condition holds)
controldata-disabled'' (present only while the condition holds)
controldata-empty'' (present only while the condition holds)
controldata-invalid'' (present only while the condition holds)
controldata-readonly'' (present only while the condition holds)
controldata-state'open' | 'closed'
controldata-variantprops.variant
controldata-xh-action-owner''
controldata-xh-field-chrome''
controldata-xh-field-layout'multi-tag' | undefined
controldata-xh-field-sizeprops.size
tag-listdata-disabled'' (present only while the condition holds)
tag-listdata-instant'' (present only while the condition holds)
tag-listdata-placeholder-shown'' (present only while the condition holds)
tag-listdata-placeholder-textprops.placeholder | undefined | undefined
tag-listdata-xh-tag-list''
segment-groupdata-disabled'' (present only while the condition holds)
segment-groupdata-invalid'' (present only while the condition holds)
segment-groupdata-placeholder-shown'' (present only while the condition holds)
segment-groupdata-placeholder-textprops.placeholder | undefined
segment-groupdata-readonly'' (present only while the condition holds)
segmentdata-disabled'' (present only while the condition holds)
segmentdata-focus'' (present only while the condition holds)
segmentdata-invalid'' (present only while the condition holds)
segmentdata-placeholder'' (present only while the condition holds)
segmentdata-readonly'' (present only while the condition holds)
triggerdata-disabled'' (present only while the condition holds)
triggerdata-pressed'' (present only while the condition holds)
triggerdata-state'open' | 'closed'
triggerdata-xh-action-control''
triggerdata-xh-action-display'always'
triggerdata-xh-action-profile'field-inset'
triggerdata-xh-action-sizeprops.size
triggerdata-xh-action-variant'ghost'
clear-triggerdata-pressed'' (present only while the condition holds)
clear-triggerdata-xh-action-control''
clear-triggerdata-xh-action-display'has-value'
clear-triggerdata-xh-action-has-value'' (present only while the condition holds)
clear-triggerdata-xh-action-profile'field-inset'
clear-triggerdata-xh-action-sizeprops.size
clear-triggerdata-xh-action-variant'ghost'
positionerdata-hidden'' (present only while the condition holds)
positionerdata-placementactual placement computed by the positioning engine
positionerdata-positioned'' (present only while the condition holds)
positionerdata-sizeprops.size
positionerdata-state'open' | 'closed'
positionerdata-toneprops.tone
positionerdata-variantprops.variant
contentdata-instant'' (present only while the condition holds)
contentdata-placementactual placement computed by the positioning engine
contentdata-state'open' | 'closed'
presetdata-disabled'' (present only while the condition holds)
presetdata-pressed'' (present only while the condition holds)
presetdata-state'checked' | 'unchecked'
presetdata-xh-collection-context'overlay'
presetdata-xh-collection-item''
presetdata-xh-collection-sizeprops.size
columndata-disabled'' (present only while the condition holds)
columndata-state'open' | 'closed'
itemdata-disabled'' (present only while the condition holds)
itemdata-highlighted'' (present only while the condition holds)
itemdata-pressed'' (present only while the condition holds)
itemdata-state'checked' | 'unchecked'
itemdata-xh-collection-context'overlay'
itemdata-xh-collection-item''
itemdata-xh-collection-sizeprops.size
confirm-triggerdata-disabled'' (present only while the condition holds)
confirm-triggerdata-pressed'' (present only while the condition holds)
confirm-triggerdata-xh-action-control''
confirm-triggerdata-xh-action-display'always'
confirm-triggerdata-xh-action-profile'text'
confirm-triggerdata-xh-action-size'xs'
confirm-triggerdata-xh-action-variant'solid'
confirm-triggerdata-xh-ink-surface''
overflow-tagdata-countString(overflowCount)
tagdata-valuev

CSS variables ​

The public override slots, generated from what the standalone skin actually consumes.

VariablePartCSS propertyStateDefault from
--xh-time-picker-action-bgclear-trigger
trigger
--xh-ink-surface
background-color
default
xh-ink-surface
--xh-_action-variant-bg-rest
--xh-time-picker-action-bg-activeclear-trigger
trigger
background-colordisabled
is(:active, [data-pressed])
loading
not([data-disabled])
not([data-loading])
pressed
--xh-_action-variant-bg-pressed
--xh-time-picker-action-bg-hoverclear-trigger
trigger
--xh-ink-surface
background-color
disabled
hover
loading
not([data-disabled])
not([data-loading])
state=open
xh-ink-surface
--xh-_action-variant-bg-hover
--xh-time-picker-action-fgclear-trigger
trigger
colordefault--xh-fg-field-clear
--xh-fg-muted
--xh-time-picker-action-fg-hoverclear-trigger
trigger
colordisabled
hover
loading
not([data-disabled])
not([data-loading])
state=open
--xh-fg-default
--xh-time-picker-action-font-sizeclear-trigger
trigger
font-sizedefault--xh-text-secondary-size
--xh-time-picker-action-radiusclear-trigger
trigger
border-radiusdefault--xh-shape-circle
--xh-shape-inset
--xh-time-picker-action-sizeclear-trigger
trigger
block-size
inline-size
min-inline-size
default
xh-action-profile=field-inset
--xh-_action-profile-visual-size
--xh-time-picker-column-dividercolumn
preset-group
border-inline-end
border-inline-start
default--xh-material-solid-border
--xh-time-picker-column-gapcolumn
item
gap
inset-block
default--xh-space-2
--xh-time-picker-column-hcolumnblock-size
padding-block
default--xh-overlay-time-column-h
--xh-time-picker-column-min-wcolumnmin-inline-sizedefault--xh-overlay-time-column-w
--xh-time-picker-column-pxcolumnpadding-inlinedefault--xh-space-1
--xh-time-picker-column-pycolumnpadding-blockdefault--xh-space-1
--xh-time-picker-confirm-trigger-bgconfirm-trigger--xh-ink-surface
background-color
default
xh-ink-surface
--xh-_action-variant-bg-rest
--xh-time-picker-confirm-trigger-bg-activeconfirm-triggerbackground-colordisabled
is(:active, [data-pressed])
loading
not([data-disabled])
not([data-loading])
pressed
--xh-_action-variant-bg-pressed
--xh-time-picker-confirm-trigger-bg-hoverconfirm-triggerbackground-colordisabled
hover
loading
not([data-disabled])
not([data-loading])
--xh-_action-variant-bg-hover
--xh-time-picker-confirm-trigger-fgconfirm-triggercolordefault
disabled
hover
is(:active, [data-pressed])
loading
not([data-disabled])
not([data-loading])
pressed
--xh-_action-variant-fg-hover
--xh-_action-variant-fg-pressed
--xh-_action-variant-fg-rest
--xh-time-picker-confirm-trigger-font-sizeconfirm-triggerfont-sizedefault--xh-text-caption-size
--xh-time-picker-confirm-trigger-hconfirm-triggerblock-size
inline-size
default
xh-action-profile=field-inset
--xh-_action-profile-visual-size
--xh-time-picker-confirm-trigger-marginconfirm-trigger
content
margindefault--xh-space-2
--xh-time-picker-confirm-trigger-pxconfirm-triggerpadding-inlinedefault--xh-space-2
--xh-time-picker-confirm-trigger-radiusconfirm-triggerborder-radiusdefault--xh-shape-control
--xh-time-picker-confirm-trigger-shadowconfirm-triggerbox-shadowdefault
disabled
hover
is(:active, [data-pressed])
loading
not([data-disabled])
not([data-loading])
pressed
none
--xh-time-picker-content-bgcontentbackgrounddefault--xh-bg-surface
--xh-time-picker-content-bordercontentborderdefault--xh-border-default
--xh-time-picker-content-fgcontentcolordefault--xh-fg-default
--xh-time-picker-content-max-hcontentmax-block-sizedefaultnone
--xh-time-picker-content-pxcontentpadding-inlinedefault--xh-space-0
--xh-time-picker-content-pycontentpadding-blockdefault--xh-space-0
--xh-time-picker-content-radiuscontentborder-radiusdefault--xh-shape-overlay
--xh-time-picker-content-shadowcontentbox-shadowdefault--xh-elevation-floating
--xh-time-picker-control-bgcontrolbackground-colorxh-field-chrome--xh-_field-variant-bg-rest
--xh-time-picker-control-bg-disabledcontrolbackground-colordisabled
xh-field-chrome
--xh-_field-variant-bg-disabled
--xh-time-picker-control-bg-hovercontrolbackground-colordisabled
hover
invalid
loading
not(:focus-within)
not([data-disabled])
not([data-invalid])
not([data-loading])
not([data-readonly])
readonly
xh-field-chrome
--xh-_field-variant-bg-hover
--xh-time-picker-control-bg-readonlycontrolbackground-colorreadonly
xh-field-chrome
--xh-_field-variant-bg-read-only
--xh-time-picker-control-bordercontrolborderxh-field-chrome--xh-_field-variant-border-rest
--xh-time-picker-control-border-focuscontrolborder-color
box-shadow
disabled
focus-within
not([data-disabled])
xh-field-chrome
--xh-_field-variant-border-focus
--xh-time-picker-control-border-hovercontrolborder-colordisabled
hover
invalid
loading
not(:focus-within)
not([data-disabled])
not([data-invalid])
not([data-loading])
not([data-readonly])
readonly
xh-field-chrome
--xh-_field-variant-border-hover
--xh-time-picker-control-border-invalidcontrolborder-colorinvalid
xh-field-chrome
--xh-_field-variant-border-invalid
--xh-time-picker-control-fgcontrolcolorxh-field-chrome--xh-fg-default
--xh-time-picker-control-gapcontrolgapxh-field-chrome--xh-_time-picker-gap
--xh-time-picker-control-hcontrolblock-size
min-block-size
has([data-xh-field-input][data-xh-field-layout='multi-tag'])
has([data-xh-field-input][data-xh-field-layout='single-line'])
has([data-xh-field-input][data-xh-field-layout='textarea'])
xh-field-chrome
xh-field-input
xh-field-layout=multi-tag
xh-field-layout=single-line
xh-field-layout=textarea
--xh-_time-picker-control-h
--xh-time-picker-control-max-hcontrolmax-block-sizexh-field-layout=multi-tag--xh-viewport-h-sm
--xh-time-picker-control-min-wcontrol
root
min-inline-sizedefault
xh-field-chrome
--xh-control-min-w
--xh-time-picker-control-pxcontrolpadding-inlinexh-field-chrome--xh-_time-picker-control-px
--xh-time-picker-control-radiuscontrolborder-radiusxh-field-chrome--xh-shape-control
--xh-time-picker-control-shadowcontrolbox-shadowxh-field-chromenone
--xh-time-picker-control-wrootinline-size
min-inline-size
default--xh-control-w
--xh-time-picker-font-sizecontrolfont-sizedefault--xh-_time-picker-font-size
--xh-time-picker-footer-borderfooterborder-block-startdefault--xh-material-solid-border
--xh-time-picker-footer-fgfootercolordefault--xh-fg-muted
--xh-time-picker-footer-font-sizefooterfont-sizedefault--xh-text-caption-size
--xh-time-picker-footer-gapfootergap
inline-size
default--xh-space-2
--xh-time-picker-footer-pxfooterinline-sizedefault--xh-space-2
--xh-time-picker-footer-pyfooterpadding-blockdefault--xh-space-2
--xh-time-picker-gaplabel
root
gap
margin-block-end
default--xh-space-1
--xh-time-picker-icon-sizecontrol
positioner
root
--xh-icon-sizedefault
is([data-part='root'], [data-part='positioner'])
size=lg
size=sm
xh-field-chrome
--xh-_field-size-glyph-size
--xh-glyph-size-lg
--xh-glyph-size-md
--xh-glyph-size-sm
--xh-time-picker-item-bg-hoveritembackground-colordisabled
error
highlighted
hover
is(:focus-visible, [data-highlighted])
is([aria-selected='true'], [data-selected])
not([aria-disabled='true'], [data-disabled], [aria-busy='true'], [data-error])
selected
xh-collection-context=overlay
--xh-bg-subtle
--xh-time-picker-item-bg-presseditembackground-colordisabled
error
is(:active, [data-pressed])
is([aria-selected='true'], [data-selected])
not([aria-disabled='true'], [data-disabled], [aria-busy='true'], [data-error])
pressed
selected
xh-collection-context=overlay
--xh-bg-subtle-hover
--xh-time-picker-item-check-fgitembackground-colordefault--xh-_time-picker-check-fg
--xh-time-picker-item-check-sizeitemblock-size
inline-size
padding-inline
default--xh-control-indicator-size
--xh-time-picker-item-fgitemcolordefault
disabled
error
highlighted
hover
is(:active, [data-pressed])
is(:focus-visible, [data-highlighted])
is([aria-selected='true'], [data-selected])
not([aria-disabled='true'], [data-disabled], [aria-busy='true'], [data-error])
pressed
selected
xh-collection-context=overlay
--xh-material-frosted-fg
--xh-time-picker-item-fg-selecteditemcolordisabled
error
highlighted
hover
is(:active, [data-pressed])
is(:focus-visible, [data-highlighted])
is([aria-selected='true'], [data-selected])
not([aria-disabled='true'], [data-disabled], [aria-busy='true'], [data-error])
pressed
selected
xh-collection-context=overlay
--xh-time-picker-item-fg
--xh-time-picker-item-font-sizeitemfont-sizedefault--xh-_time-picker-font-size
--xh-time-picker-item-font-weight-selecteditemfont-weightdisabled
error
highlighted
hover
is(:active, [data-pressed])
is(:focus-visible, [data-highlighted])
is([aria-selected='true'], [data-selected])
not([aria-disabled='true'], [data-disabled], [aria-busy='true'], [data-error])
pressed
selected
xh-collection-context=overlay
--xh-font-weight-medium
--xh-time-picker-item-hcolumn
item
block-size
padding-block
default--xh-control-action-size
--xh-time-picker-item-pxitempadding-inlinedefault--xh-space-0_5
--xh-time-picker-item-radiusitemborder-radiusdefault--xh-shape-inset
--xh-time-picker-label-fglabelcolordefault--xh-fg-muted
--xh-time-picker-label-fg-disabledlabelcolordisabled--xh-fg-muted
--xh-time-picker-label-font-sizelabelfont-sizedefault--xh-text-label-size
--xh-time-picker-label-font-weightlabelfont-weightdefault--xh-text-label-weight
--xh-time-picker-label-gaplabelmargin-block-enddefault--xh-space-2
--xh-time-picker-layerpositionerz-indexdefault--xh-_layer
--xh-time-picker-literal-fgsegment-groupcolornot([data-scope])--xh-fg-subtle
--xh-time-picker-placeholder-fgsegment
segment-group
tag-list
colorplaceholder
placeholder-shown
--xh-fg-subtle
--xh-time-picker-preset-bgpresetbackground-colordefault
disabled
error
is([aria-selected='true'], [data-selected])
not([aria-disabled='true'], [data-disabled], [aria-busy='true'], [data-error])
selected
xh-collection-context=overlay
--xh-bg-subtle
--xh-time-picker-preset-bg-hoverpresetbackground-colordisabled
error
highlighted
hover
is(:focus-visible, [data-highlighted])
is([aria-selected='true'], [data-selected])
not([aria-disabled='true'], [data-disabled], [aria-busy='true'], [data-error])
selected
xh-collection-context=overlay
--xh-bg-subtle-hover
--xh-time-picker-preset-bg-pressedpresetbackground-colordisabled
error
is(:active, [data-pressed])
is([aria-selected='true'], [data-selected])
not([aria-disabled='true'], [data-disabled], [aria-busy='true'], [data-error])
pressed
selected
xh-collection-context=overlay
--xh-bg-subtle-active
--xh-time-picker-preset-check-fgpresetbackground-colordefault--xh-_time-picker-check-fg
--xh-time-picker-preset-check-sizepresetblock-size
inline-size
padding-inline-end
default--xh-control-indicator-sm
--xh-time-picker-preset-fgpresetcolordefault
disabled
error
is([aria-selected='true'], [data-selected])
not([aria-disabled='true'], [data-disabled], [aria-busy='true'], [data-error])
selected
xh-collection-context=overlay
--xh-fg-muted
--xh-time-picker-preset-fg-disabledpresetbackground-color
color
default
disabled
--xh-fg-disabled
--xh-time-picker-preset-fg-hoverpresetcolordisabled
error
highlighted
hover
is(:active, [data-pressed])
is(:focus-visible, [data-highlighted])
is([aria-selected='true'], [data-selected])
not([aria-disabled='true'], [data-disabled], [aria-busy='true'], [data-error])
pressed
selected
xh-collection-context=overlay
--xh-fg-default
--xh-time-picker-preset-font-sizepresetfont-sizedefault--xh-text-caption-size
--xh-time-picker-preset-group-gappreset-groupgapdefault--xh-space-1
--xh-time-picker-preset-group-hpreset-groupmax-block-sizedefault--xh-overlay-time-column-h
--xh-time-picker-preset-group-pxpreset-grouppadding-inlinedefault--xh-space-2
--xh-time-picker-preset-group-pypreset-grouppadding-blockdefault--xh-space-2_5
--xh-time-picker-preset-hpresetblock-size
line-height
default--xh-control-action-size
--xh-time-picker-preset-pxpresetinset-inline-end
padding-inline
padding-inline-end
default--xh-space-2
--xh-time-picker-preset-radiuspresetborder-radiusdefault--xh-shape-control
--xh-time-picker-segment-bg-focussegmentbackgrounddisabled
focus
focus-visible
not([data-disabled])
--xh-_time-picker-segment-bg
--xh-time-picker-segment-bg-hoversegmentbackgrounddisabled
focus
hover
not([data-focus], [data-disabled])
--xh-bg-subtle
--xh-time-picker-segment-bg-invalid-focussegmentbackgroundfocus
invalid
is([data-focus], :focus-visible)
--xh-bg-subtle
--xh-time-picker-segment-fg-focussegmentcolordisabled
focus
focus-visible
not([data-disabled])
placeholder
--xh-_time-picker-segment-fg
--xh-time-picker-segment-fg-invalidsegmentcolorinvalid--xh-fg-danger
--xh-time-picker-segment-fg-invalid-focussegmentcolorfocus
invalid
is([data-focus], :focus-visible)
--xh-fg-danger
--xh-time-picker-segment-pxsegmentpadding-inlinedefault--xh-space-0_5
--xh-time-picker-segment-radiussegmentborder-radiusdefault--xh-shape-inset
--xh-time-picker-tag-list-gaptag-listgapxh-tag-list--xh-space-1

Released under The MIT License