@react-spectrum/s2 0.11.1 → 0.12.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/dist/Accordion.cjs +3 -3
- package/dist/Accordion.css +2 -2
- package/dist/Accordion.mjs +3 -3
- package/dist/ActionBar.cjs +61 -62
- package/dist/ActionBar.cjs.map +1 -1
- package/dist/ActionBar.css +62 -66
- package/dist/ActionBar.css.map +1 -1
- package/dist/ActionBar.mjs +61 -62
- package/dist/ActionBar.mjs.map +1 -1
- package/dist/ActionButton.cjs +356 -250
- package/dist/ActionButton.cjs.map +1 -1
- package/dist/ActionButton.css +208 -144
- package/dist/ActionButton.css.map +1 -1
- package/dist/ActionButton.mjs +357 -251
- package/dist/ActionButton.mjs.map +1 -1
- package/dist/ActionButtonGroup.cjs +16 -16
- package/dist/ActionButtonGroup.css +9 -9
- package/dist/ActionButtonGroup.mjs +16 -16
- package/dist/Add.cjs +10 -10
- package/dist/Add.css +6 -6
- package/dist/Add.mjs +10 -10
- package/dist/AlertDialog.cjs +3 -3
- package/dist/AlertDialog.css +3 -3
- package/dist/AlertDialog.mjs +3 -3
- package/dist/Asterisk.cjs +6 -6
- package/dist/Asterisk.css +4 -4
- package/dist/Asterisk.mjs +6 -6
- package/dist/Avatar.cjs +20 -16
- package/dist/Avatar.cjs.map +1 -1
- package/dist/Avatar.css +22 -14
- package/dist/Avatar.css.map +1 -1
- package/dist/Avatar.mjs +20 -16
- package/dist/Avatar.mjs.map +1 -1
- package/dist/AvatarGroup.cjs +135 -135
- package/dist/AvatarGroup.css +33 -33
- package/dist/AvatarGroup.mjs +135 -135
- package/dist/Badge.cjs +207 -207
- package/dist/Badge.css +127 -127
- package/dist/Badge.mjs +207 -207
- package/dist/Breadcrumbs.cjs +255 -255
- package/dist/Breadcrumbs.css +109 -109
- package/dist/Breadcrumbs.mjs +255 -255
- package/dist/Button.cjs +356 -354
- package/dist/Button.cjs.map +1 -1
- package/dist/Button.css +179 -179
- package/dist/Button.css.map +1 -1
- package/dist/Button.mjs +357 -356
- package/dist/Button.mjs.map +1 -1
- package/dist/ButtonGroup.cjs +21 -21
- package/dist/ButtonGroup.css +15 -15
- package/dist/ButtonGroup.mjs +21 -21
- package/dist/Calendar.cjs +127 -127
- package/dist/Calendar.cjs.map +1 -1
- package/dist/Calendar.css +134 -134
- package/dist/Calendar.css.map +1 -1
- package/dist/Calendar.mjs +127 -127
- package/dist/Calendar.mjs.map +1 -1
- package/dist/Card.cjs +335 -311
- package/dist/Card.cjs.map +1 -1
- package/dist/Card.css +213 -213
- package/dist/Card.css.map +1 -1
- package/dist/Card.mjs +335 -311
- package/dist/Card.mjs.map +1 -1
- package/dist/CardView.cjs +25 -19
- package/dist/CardView.cjs.map +1 -1
- package/dist/CardView.css +16 -16
- package/dist/CardView.css.map +1 -1
- package/dist/CardView.mjs +26 -20
- package/dist/CardView.mjs.map +1 -1
- package/dist/CenterBaseline.cjs +1 -1
- package/dist/CenterBaseline.css +2 -2
- package/dist/CenterBaseline.mjs +1 -1
- package/dist/Checkbox.cjs +171 -171
- package/dist/Checkbox.css +92 -92
- package/dist/Checkbox.mjs +171 -171
- package/dist/CheckboxGroup.cjs +46 -46
- package/dist/CheckboxGroup.css +38 -38
- package/dist/CheckboxGroup.mjs +46 -46
- package/dist/Checkmark.cjs +12 -12
- package/dist/Checkmark.css +8 -8
- package/dist/Checkmark.mjs +12 -12
- package/dist/Chevron.cjs +12 -12
- package/dist/Chevron.css +10 -10
- package/dist/Chevron.mjs +12 -12
- package/dist/ClearButton.cjs +29 -29
- package/dist/ClearButton.css +29 -29
- package/dist/ClearButton.mjs +29 -29
- package/dist/CloseButton.cjs +55 -55
- package/dist/CloseButton.css +46 -46
- package/dist/CloseButton.mjs +55 -55
- package/dist/ColorArea.cjs +25 -18
- package/dist/ColorArea.cjs.map +1 -1
- package/dist/ColorArea.css +16 -16
- package/dist/ColorArea.css.map +1 -1
- package/dist/ColorArea.mjs +26 -19
- package/dist/ColorArea.mjs.map +1 -1
- package/dist/ColorField.cjs +33 -33
- package/dist/ColorField.cjs.map +1 -1
- package/dist/ColorField.css +28 -28
- package/dist/ColorField.css.map +1 -1
- package/dist/ColorField.mjs +33 -33
- package/dist/ColorField.mjs.map +1 -1
- package/dist/ColorHandle.cjs +27 -27
- package/dist/ColorHandle.css +43 -43
- package/dist/ColorHandle.mjs +27 -27
- package/dist/ColorSlider.cjs +122 -121
- package/dist/ColorSlider.cjs.map +1 -1
- package/dist/ColorSlider.css +54 -54
- package/dist/ColorSlider.css.map +1 -1
- package/dist/ColorSlider.mjs +122 -121
- package/dist/ColorSlider.mjs.map +1 -1
- package/dist/ColorSwatch.cjs +30 -30
- package/dist/ColorSwatch.css +29 -29
- package/dist/ColorSwatch.mjs +30 -30
- package/dist/ColorSwatchPicker.cjs +28 -28
- package/dist/ColorSwatchPicker.css +46 -46
- package/dist/ColorSwatchPicker.mjs +28 -28
- package/dist/ColorWheel.cjs +26 -26
- package/dist/ColorWheel.css +17 -17
- package/dist/ColorWheel.mjs +26 -26
- package/dist/ComboBox.cjs +474 -452
- package/dist/ComboBox.cjs.map +1 -1
- package/dist/ComboBox.css +213 -185
- package/dist/ComboBox.css.map +1 -1
- package/dist/ComboBox.mjs +475 -453
- package/dist/ComboBox.mjs.map +1 -1
- package/dist/ContextualHelp.cjs +36 -33
- package/dist/ContextualHelp.cjs.map +1 -1
- package/dist/ContextualHelp.css +68 -60
- package/dist/ContextualHelp.css.map +1 -1
- package/dist/ContextualHelp.mjs +37 -34
- package/dist/ContextualHelp.mjs.map +1 -1
- package/dist/Cross.cjs +14 -14
- package/dist/Cross.css +10 -10
- package/dist/Cross.mjs +14 -14
- package/dist/CustomDialog.cjs +26 -26
- package/dist/CustomDialog.cjs.map +1 -1
- package/dist/CustomDialog.css +25 -25
- package/dist/CustomDialog.css.map +1 -1
- package/dist/CustomDialog.mjs +26 -26
- package/dist/CustomDialog.mjs.map +1 -1
- package/dist/Dash.cjs +10 -10
- package/dist/Dash.css +6 -6
- package/dist/Dash.mjs +10 -10
- package/dist/DateField.cjs +74 -74
- package/dist/DateField.cjs.map +1 -1
- package/dist/DateField.css +77 -77
- package/dist/DateField.css.map +1 -1
- package/dist/DateField.mjs +74 -74
- package/dist/DateField.mjs.map +1 -1
- package/dist/DatePicker.cjs +194 -191
- package/dist/DatePicker.cjs.map +1 -1
- package/dist/DatePicker.css +138 -126
- package/dist/DatePicker.css.map +1 -1
- package/dist/DatePicker.mjs +195 -192
- package/dist/DatePicker.mjs.map +1 -1
- package/dist/DateRangePicker.cjs +57 -57
- package/dist/DateRangePicker.cjs.map +1 -1
- package/dist/DateRangePicker.css +60 -60
- package/dist/DateRangePicker.css.map +1 -1
- package/dist/DateRangePicker.mjs +57 -57
- package/dist/DateRangePicker.mjs.map +1 -1
- package/dist/Dialog.cjs +17 -17
- package/dist/Dialog.cjs.map +1 -1
- package/dist/Dialog.css +88 -84
- package/dist/Dialog.css.map +1 -1
- package/dist/Dialog.mjs +17 -17
- package/dist/Dialog.mjs.map +1 -1
- package/dist/Disclosure.cjs +128 -147
- package/dist/Disclosure.cjs.map +1 -1
- package/dist/Disclosure.css +144 -112
- package/dist/Disclosure.css.map +1 -1
- package/dist/Disclosure.mjs +128 -147
- package/dist/Disclosure.mjs.map +1 -1
- package/dist/Divider.cjs +26 -26
- package/dist/Divider.css +25 -25
- package/dist/Divider.mjs +26 -26
- package/dist/DropZone.cjs +63 -63
- package/dist/DropZone.cjs.map +1 -1
- package/dist/DropZone.css +58 -58
- package/dist/DropZone.css.map +1 -1
- package/dist/DropZone.mjs +63 -63
- package/dist/DropZone.mjs.map +1 -1
- package/dist/Field.cjs +370 -370
- package/dist/Field.cjs.map +1 -1
- package/dist/Field.css +146 -142
- package/dist/Field.css.map +1 -1
- package/dist/Field.mjs +370 -370
- package/dist/Field.mjs.map +1 -1
- package/dist/Form.cjs +10 -10
- package/dist/Form.css +9 -9
- package/dist/Form.mjs +10 -10
- package/dist/FullscreenDialog.cjs +5 -5
- package/dist/FullscreenDialog.cjs.map +1 -1
- package/dist/FullscreenDialog.css +93 -93
- package/dist/FullscreenDialog.css.map +1 -1
- package/dist/FullscreenDialog.mjs +5 -5
- package/dist/FullscreenDialog.mjs.map +1 -1
- package/dist/IllustratedMessage.cjs +257 -257
- package/dist/IllustratedMessage.css +78 -78
- package/dist/IllustratedMessage.mjs +257 -257
- package/dist/Image.cjs +25 -17
- package/dist/Image.cjs.map +1 -1
- package/dist/Image.css +14 -14
- package/dist/Image.css.map +1 -1
- package/dist/Image.mjs +25 -17
- package/dist/Image.mjs.map +1 -1
- package/dist/InlineAlert.cjs +138 -153
- package/dist/InlineAlert.cjs.map +1 -1
- package/dist/InlineAlert.css +82 -151
- package/dist/InlineAlert.css.map +1 -1
- package/dist/InlineAlert.mjs +138 -153
- package/dist/InlineAlert.mjs.map +1 -1
- package/dist/Link.cjs +55 -55
- package/dist/Link.css +46 -46
- package/dist/Link.mjs +55 -55
- package/dist/LinkOut.cjs +8 -8
- package/dist/LinkOut.css +8 -8
- package/dist/LinkOut.mjs +8 -8
- package/dist/Menu.cjs +529 -501
- package/dist/Menu.cjs.map +1 -1
- package/dist/Menu.css +195 -191
- package/dist/Menu.css.map +1 -1
- package/dist/Menu.mjs +529 -502
- package/dist/Menu.mjs.map +1 -1
- package/dist/Meter.cjs +164 -164
- package/dist/Meter.css +93 -93
- package/dist/Meter.mjs +164 -164
- package/dist/Modal.cjs +90 -70
- package/dist/Modal.cjs.map +1 -1
- package/dist/Modal.css +76 -60
- package/dist/Modal.css.map +1 -1
- package/dist/Modal.mjs +90 -70
- package/dist/Modal.mjs.map +1 -1
- package/dist/NotificationBadge.cjs +59 -59
- package/dist/NotificationBadge.css +51 -51
- package/dist/NotificationBadge.mjs +59 -59
- package/dist/NumberField.cjs +116 -116
- package/dist/NumberField.cjs.map +1 -1
- package/dist/NumberField.css +100 -100
- package/dist/NumberField.css.map +1 -1
- package/dist/NumberField.mjs +116 -116
- package/dist/NumberField.mjs.map +1 -1
- package/dist/Picker.cjs +424 -349
- package/dist/Picker.cjs.map +1 -1
- package/dist/Picker.css +200 -180
- package/dist/Picker.css.map +1 -1
- package/dist/Picker.mjs +428 -353
- package/dist/Picker.mjs.map +1 -1
- package/dist/Popover.cjs +120 -116
- package/dist/Popover.cjs.map +1 -1
- package/dist/Popover.css +86 -82
- package/dist/Popover.css.map +1 -1
- package/dist/Popover.mjs +121 -118
- package/dist/Popover.mjs.map +1 -1
- package/dist/ProgressBar.cjs +174 -174
- package/dist/ProgressBar.css +101 -101
- package/dist/ProgressBar.mjs +174 -174
- package/dist/ProgressCircle.cjs +32 -32
- package/dist/ProgressCircle.css +24 -24
- package/dist/ProgressCircle.mjs +32 -32
- package/dist/Provider.cjs +11 -11
- package/dist/Provider.cjs.map +1 -1
- package/dist/Provider.css +13 -13
- package/dist/Provider.css.map +1 -1
- package/dist/Provider.mjs +11 -11
- package/dist/Provider.mjs.map +1 -1
- package/dist/Radio.cjs +155 -155
- package/dist/Radio.css +79 -79
- package/dist/Radio.mjs +155 -155
- package/dist/RadioGroup.cjs +43 -43
- package/dist/RadioGroup.css +38 -38
- package/dist/RadioGroup.mjs +43 -43
- package/dist/RangeCalendar.cjs +8 -8
- package/dist/RangeCalendar.cjs.map +1 -1
- package/dist/RangeCalendar.css +10 -10
- package/dist/RangeCalendar.css.map +1 -1
- package/dist/RangeCalendar.mjs +8 -8
- package/dist/RangeCalendar.mjs.map +1 -1
- package/dist/RangeSlider.cjs.map +1 -1
- package/dist/RangeSlider.mjs.map +1 -1
- package/dist/SearchField.cjs +43 -43
- package/dist/SearchField.cjs.map +1 -1
- package/dist/SearchField.css +46 -46
- package/dist/SearchField.css.map +1 -1
- package/dist/SearchField.mjs +43 -43
- package/dist/SearchField.mjs.map +1 -1
- package/dist/SegmentedControl.cjs +193 -224
- package/dist/SegmentedControl.cjs.map +1 -1
- package/dist/SegmentedControl.css +146 -118
- package/dist/SegmentedControl.css.map +1 -1
- package/dist/SegmentedControl.mjs +196 -227
- package/dist/SegmentedControl.mjs.map +1 -1
- package/dist/SelectBoxGroup.cjs +161 -159
- package/dist/SelectBoxGroup.cjs.map +1 -1
- package/dist/SelectBoxGroup.css +123 -123
- package/dist/SelectBoxGroup.css.map +1 -1
- package/dist/SelectBoxGroup.mjs +161 -159
- package/dist/SelectBoxGroup.mjs.map +1 -1
- package/dist/Slider.cjs +300 -300
- package/dist/Slider.css +151 -151
- package/dist/Slider.mjs +300 -300
- package/dist/StatusLight.cjs +126 -126
- package/dist/StatusLight.css +61 -61
- package/dist/StatusLight.mjs +126 -126
- package/dist/Switch.cjs +163 -163
- package/dist/Switch.css +74 -74
- package/dist/Switch.mjs +163 -163
- package/dist/TableView.cjs +340 -328
- package/dist/TableView.cjs.map +1 -1
- package/dist/TableView.css +176 -172
- package/dist/TableView.css.map +1 -1
- package/dist/TableView.mjs +340 -328
- package/dist/TableView.mjs.map +1 -1
- package/dist/Tabs.cjs +150 -190
- package/dist/Tabs.cjs.map +1 -1
- package/dist/Tabs.css +128 -100
- package/dist/Tabs.css.map +1 -1
- package/dist/Tabs.mjs +153 -193
- package/dist/Tabs.mjs.map +1 -1
- package/dist/TabsPicker.cjs +169 -161
- package/dist/TabsPicker.cjs.map +1 -1
- package/dist/TabsPicker.css +116 -124
- package/dist/TabsPicker.css.map +1 -1
- package/dist/TabsPicker.mjs +170 -162
- package/dist/TabsPicker.mjs.map +1 -1
- package/dist/TagGroup.cjs +226 -218
- package/dist/TagGroup.cjs.map +1 -1
- package/dist/TagGroup.css +147 -147
- package/dist/TagGroup.css.map +1 -1
- package/dist/TagGroup.mjs +226 -218
- package/dist/TagGroup.mjs.map +1 -1
- package/dist/TextField.cjs +65 -63
- package/dist/TextField.cjs.map +1 -1
- package/dist/TextField.css +58 -54
- package/dist/TextField.css.map +1 -1
- package/dist/TextField.mjs +65 -63
- package/dist/TextField.mjs.map +1 -1
- package/dist/TimeField.cjs +53 -53
- package/dist/TimeField.cjs.map +1 -1
- package/dist/TimeField.css +48 -48
- package/dist/TimeField.css.map +1 -1
- package/dist/TimeField.mjs +53 -53
- package/dist/TimeField.mjs.map +1 -1
- package/dist/Toast.cjs +120 -120
- package/dist/Toast.css +108 -108
- package/dist/Toast.mjs +120 -120
- package/dist/ToggleButton.cjs +3 -3
- package/dist/ToggleButton.css +12 -12
- package/dist/ToggleButton.mjs +3 -3
- package/dist/Tooltip.cjs +84 -83
- package/dist/Tooltip.cjs.map +1 -1
- package/dist/Tooltip.css +74 -70
- package/dist/Tooltip.css.map +1 -1
- package/dist/Tooltip.mjs +84 -83
- package/dist/Tooltip.mjs.map +1 -1
- package/dist/TreeView.cjs +150 -148
- package/dist/TreeView.cjs.map +1 -1
- package/dist/TreeView.css +147 -147
- package/dist/TreeView.css.map +1 -1
- package/dist/TreeView.mjs +151 -149
- package/dist/TreeView.mjs.map +1 -1
- package/dist/ar-AE.cjs +5 -0
- package/dist/ar-AE.cjs.map +1 -1
- package/dist/ar-AE.mjs +5 -0
- package/dist/ar-AE.mjs.map +1 -1
- package/dist/bg-BG.cjs +5 -0
- package/dist/bg-BG.cjs.map +1 -1
- package/dist/bg-BG.mjs +5 -0
- package/dist/bg-BG.mjs.map +1 -1
- package/dist/cs-CZ.cjs +5 -0
- package/dist/cs-CZ.cjs.map +1 -1
- package/dist/cs-CZ.mjs +5 -0
- package/dist/cs-CZ.mjs.map +1 -1
- package/dist/da-DK.cjs +5 -0
- package/dist/da-DK.cjs.map +1 -1
- package/dist/da-DK.mjs +5 -0
- package/dist/da-DK.mjs.map +1 -1
- package/dist/de-DE.cjs +5 -0
- package/dist/de-DE.cjs.map +1 -1
- package/dist/de-DE.mjs +5 -0
- package/dist/de-DE.mjs.map +1 -1
- package/dist/el-GR.cjs +5 -0
- package/dist/el-GR.cjs.map +1 -1
- package/dist/el-GR.mjs +5 -0
- package/dist/el-GR.mjs.map +1 -1
- package/dist/en-US.cjs +21 -16
- package/dist/en-US.cjs.map +1 -1
- package/dist/en-US.mjs +21 -16
- package/dist/en-US.mjs.map +1 -1
- package/dist/es-ES.cjs +5 -0
- package/dist/es-ES.cjs.map +1 -1
- package/dist/es-ES.mjs +5 -0
- package/dist/es-ES.mjs.map +1 -1
- package/dist/et-EE.cjs +5 -0
- package/dist/et-EE.cjs.map +1 -1
- package/dist/et-EE.mjs +5 -0
- package/dist/et-EE.mjs.map +1 -1
- package/dist/fi-FI.cjs +5 -0
- package/dist/fi-FI.cjs.map +1 -1
- package/dist/fi-FI.mjs +5 -0
- package/dist/fi-FI.mjs.map +1 -1
- package/dist/fr-FR.cjs +5 -0
- package/dist/fr-FR.cjs.map +1 -1
- package/dist/fr-FR.mjs +5 -0
- package/dist/fr-FR.mjs.map +1 -1
- package/dist/he-IL.cjs +5 -0
- package/dist/he-IL.cjs.map +1 -1
- package/dist/he-IL.mjs +5 -0
- package/dist/he-IL.mjs.map +1 -1
- package/dist/hr-HR.cjs +5 -0
- package/dist/hr-HR.cjs.map +1 -1
- package/dist/hr-HR.mjs +5 -0
- package/dist/hr-HR.mjs.map +1 -1
- package/dist/hu-HU.cjs +5 -0
- package/dist/hu-HU.cjs.map +1 -1
- package/dist/hu-HU.mjs +5 -0
- package/dist/hu-HU.mjs.map +1 -1
- package/dist/it-IT.cjs +5 -0
- package/dist/it-IT.cjs.map +1 -1
- package/dist/it-IT.mjs +5 -0
- package/dist/it-IT.mjs.map +1 -1
- package/dist/ja-JP.cjs +5 -0
- package/dist/ja-JP.cjs.map +1 -1
- package/dist/ja-JP.mjs +5 -0
- package/dist/ja-JP.mjs.map +1 -1
- package/dist/ko-KR.cjs +5 -0
- package/dist/ko-KR.cjs.map +1 -1
- package/dist/ko-KR.mjs +5 -0
- package/dist/ko-KR.mjs.map +1 -1
- package/dist/lt-LT.cjs +5 -0
- package/dist/lt-LT.cjs.map +1 -1
- package/dist/lt-LT.mjs +5 -0
- package/dist/lt-LT.mjs.map +1 -1
- package/dist/lv-LV.cjs +5 -0
- package/dist/lv-LV.cjs.map +1 -1
- package/dist/lv-LV.mjs +5 -0
- package/dist/lv-LV.mjs.map +1 -1
- package/dist/main.cjs +2 -0
- package/dist/main.cjs.map +1 -1
- package/dist/module.mjs +3 -3
- package/dist/module.mjs.map +1 -1
- package/dist/nb-NO.cjs +5 -0
- package/dist/nb-NO.cjs.map +1 -1
- package/dist/nb-NO.mjs +5 -0
- package/dist/nb-NO.mjs.map +1 -1
- package/dist/nl-NL.cjs +5 -0
- package/dist/nl-NL.cjs.map +1 -1
- package/dist/nl-NL.mjs +5 -0
- package/dist/nl-NL.mjs.map +1 -1
- package/dist/pl-PL.cjs +5 -0
- package/dist/pl-PL.cjs.map +1 -1
- package/dist/pl-PL.mjs +5 -0
- package/dist/pl-PL.mjs.map +1 -1
- package/dist/pt-BR.cjs +5 -0
- package/dist/pt-BR.cjs.map +1 -1
- package/dist/pt-BR.mjs +5 -0
- package/dist/pt-BR.mjs.map +1 -1
- package/dist/pt-PT.cjs +5 -0
- package/dist/pt-PT.cjs.map +1 -1
- package/dist/pt-PT.mjs +5 -0
- package/dist/pt-PT.mjs.map +1 -1
- package/dist/ro-RO.cjs +5 -0
- package/dist/ro-RO.cjs.map +1 -1
- package/dist/ro-RO.mjs +5 -0
- package/dist/ro-RO.mjs.map +1 -1
- package/dist/ru-RU.cjs +5 -0
- package/dist/ru-RU.cjs.map +1 -1
- package/dist/ru-RU.mjs +5 -0
- package/dist/ru-RU.mjs.map +1 -1
- package/dist/sk-SK.cjs +5 -0
- package/dist/sk-SK.cjs.map +1 -1
- package/dist/sk-SK.mjs +5 -0
- package/dist/sk-SK.mjs.map +1 -1
- package/dist/sl-SI.cjs +5 -0
- package/dist/sl-SI.cjs.map +1 -1
- package/dist/sl-SI.mjs +5 -0
- package/dist/sl-SI.mjs.map +1 -1
- package/dist/sr-SP.cjs +5 -0
- package/dist/sr-SP.cjs.map +1 -1
- package/dist/sr-SP.mjs +5 -0
- package/dist/sr-SP.mjs.map +1 -1
- package/dist/sv-SE.cjs +5 -0
- package/dist/sv-SE.cjs.map +1 -1
- package/dist/sv-SE.mjs +5 -0
- package/dist/sv-SE.mjs.map +1 -1
- package/dist/tr-TR.cjs +5 -0
- package/dist/tr-TR.cjs.map +1 -1
- package/dist/tr-TR.mjs +5 -0
- package/dist/tr-TR.mjs.map +1 -1
- package/dist/types.d.ts +147 -87
- package/dist/types.d.ts.map +1 -1
- package/dist/uk-UA.cjs +5 -0
- package/dist/uk-UA.cjs.map +1 -1
- package/dist/uk-UA.mjs +5 -0
- package/dist/uk-UA.mjs.map +1 -1
- package/dist/zh-CN.cjs +5 -0
- package/dist/zh-CN.cjs.map +1 -1
- package/dist/zh-CN.mjs +5 -0
- package/dist/zh-CN.mjs.map +1 -1
- package/dist/zh-TW.cjs +5 -0
- package/dist/zh-TW.cjs.map +1 -1
- package/dist/zh-TW.mjs +5 -0
- package/dist/zh-TW.mjs.map +1 -1
- package/icons/Icon.cjs +10 -10
- package/icons/Icon.css +9 -9
- package/icons/Icon.mjs +10 -10
- package/icons/Skeleton.cjs +2 -2
- package/icons/Skeleton.css +6 -6
- package/icons/Skeleton.mjs +2 -2
- package/package.json +20 -20
- package/page.css +7 -7
- package/src/ActionBar.tsx +5 -3
- package/src/ActionButton.tsx +112 -32
- package/src/Avatar.tsx +4 -1
- package/src/Button.tsx +27 -28
- package/src/Calendar.tsx +3 -0
- package/src/Card.tsx +22 -7
- package/src/CardView.tsx +9 -1
- package/src/ColorArea.tsx +10 -2
- package/src/ColorField.tsx +3 -2
- package/src/ColorSlider.tsx +3 -2
- package/src/ComboBox.tsx +69 -44
- package/src/ContextualHelp.tsx +36 -32
- package/src/CustomDialog.tsx +1 -1
- package/src/DateField.tsx +4 -0
- package/src/DatePicker.tsx +28 -20
- package/src/DateRangePicker.tsx +5 -1
- package/src/Dialog.tsx +6 -3
- package/src/Disclosure.tsx +20 -16
- package/src/DropZone.tsx +5 -2
- package/src/Field.tsx +4 -1
- package/src/FullscreenDialog.tsx +1 -1
- package/src/Image.tsx +30 -8
- package/src/InlineAlert.tsx +10 -27
- package/src/Menu.tsx +57 -45
- package/src/Modal.tsx +99 -74
- package/src/NumberField.tsx +3 -2
- package/src/Picker.tsx +114 -51
- package/src/Popover.tsx +57 -35
- package/src/Provider.tsx +1 -1
- package/src/RangeCalendar.tsx +3 -0
- package/src/RangeSlider.tsx +3 -0
- package/src/SearchField.tsx +2 -1
- package/src/SegmentedControl.tsx +16 -44
- package/src/SelectBoxGroup.tsx +21 -23
- package/src/TableView.tsx +7 -6
- package/src/Tabs.tsx +34 -70
- package/src/TabsPicker.tsx +35 -26
- package/src/TagGroup.tsx +44 -36
- package/src/TextField.tsx +11 -6
- package/src/TimeField.tsx +4 -0
- package/src/Tooltip.tsx +3 -0
- package/src/TreeView.tsx +2 -2
- package/src/index.ts +3 -2
- package/src/page.macro.ts +2 -2
- package/src/style-utils.ts +4 -3
- package/style/__tests__/style-macro.test.js +56 -56
- package/style/dist/spectrum-theme.cjs +36 -6
- package/style/dist/spectrum-theme.cjs.map +1 -1
- package/style/dist/spectrum-theme.mjs +36 -6
- package/style/dist/spectrum-theme.mjs.map +1 -1
- package/style/dist/types.d.ts +1 -0
- package/style/dist/types.d.ts.map +1 -1
- package/style/spectrum-theme.ts +10 -8
- package/style/tokens.ts +10 -0
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { CSSProperties, ReactNode, Context, RefAttributes, ForwardRefExoticComponent, HTMLAttributeReferrerPolicy, ComponentType, FunctionComponent, SVGProps, RefObject, JSX, ReactElement } from "react";
|
|
2
2
|
import { AriaLabelingProps, DOMProps, DOMRefValue, GlobalDOMAttributes, SpectrumLabelableProps, FocusableRefValue, LinkDOMProps, Key, LoadingState, HelpTextProps, Orientation, ValueBase, AsyncLoadable, LabelPosition, InputDOMProps, RangeValue } from "@react-types/shared";
|
|
3
|
-
import { ContextValue, SlotProps, FormProps as _FormProps1, ButtonProps as _ButtonProps1, DisclosurePanelProps as _DisclosurePanelProps1, DisclosureProps as _DisclosureProps1, DisclosureGroupProps, CheckboxProps as _CheckboxProps1, SeparatorProps, PopoverProps as _PopoverProps1, DialogProps as _DialogProps1, MenuItemProps as _MenuItemProps1, MenuProps as _MenuProps1, MenuSectionProps as _MenuSectionProps1, MenuTriggerProps as _MenuTriggerProps1, SubmenuTriggerProps as _SubmenuTriggerProps1,
|
|
3
|
+
import { ContextValue, SlotProps, ProgressBarProps as _ProgressBarProps1, FormProps as _FormProps1, LinkProps as _LinkProps1, ButtonProps as _ButtonProps1, DisclosurePanelProps as _DisclosurePanelProps1, DisclosureProps as _DisclosureProps1, DisclosureGroupProps, CheckboxProps as _CheckboxProps1, SeparatorProps, PopoverProps as _PopoverProps1, DialogProps as _DialogProps1, MenuItemProps as _MenuItemProps1, MenuProps as _MenuProps1, MenuSectionProps as _MenuSectionProps1, MenuTriggerProps as _MenuTriggerProps1, SubmenuTriggerProps as _SubmenuTriggerProps1, BreadcrumbProps as _BreadcrumbProps1, BreadcrumbsProps as _BreadcrumbsProps1, DialogTriggerProps as _DialogTriggerProps1, CalendarProps as _CalendarProps1, DateValue, GridListItemProps, GridListProps, CheckboxGroupProps as _CheckboxGroupProps1, ColorAreaProps as _ColorAreaProps1, ColorFieldProps as _ColorFieldProps1, InputProps, ColorSliderProps as _ColorSliderProps1, ColorSwatchProps as _ColorSwatchProps1, Color, ColorWheelProps as _ColorWheelProps1, ComboBoxProps as _ComboBoxProps1, ListBoxItemProps, ListBoxProps, SectionProps, DateFieldProps as _DateFieldProps1, DateRangePickerProps as _DateRangePickerProps1, DropZoneProps as _DropZoneProps1, MeterProps as _MeterProps1, NumberFieldProps as _NumberFieldProps1, SelectProps, RadioProps as _RadioProps1, RadioGroupProps as _RadioGroupProps1, RangeCalendarProps as _RangeCalendarProps2, SliderProps as _SliderProps1, SearchFieldProps as _SearchFieldProps1, SwitchProps as _SwitchProps1, Key as _Key1, CellProps as _CellProps1, ColumnProps as _ColumnProps1, RowProps as _RowProps1, TableBodyProps as _TableBodyProps1, TableHeaderProps as _TableHeaderProps1, TableProps, TabListProps as _TabListProps1, TabPanelProps as _TabPanelProps1, TabProps as _TabProps1, TabsProps as _TabsProps1, TagGroupProps as _TagGroupProps1, TagProps as _TagProps1, TagListProps, TextFieldProps as _TextFieldProps1, TimeFieldProps as _TimeFieldProps1, TimeValue, ToastOptions as _ToastOptions1, ToastRegionProps, ToggleButtonGroupProps as _ToggleButtonGroupProps1, ToggleButtonProps as _ToggleButtonProps1, TooltipProps as _TooltipProps1, TooltipTriggerComponentProps, TreeItemProps, TreeProps, TreeItemContentProps, TreeLoadMoreItemProps, DatePickerProps as _DatePickerProps1 } from "react-aria-components";
|
|
4
4
|
import { ColorScheme, Router } from "@react-types/provider";
|
|
5
5
|
import { TextFieldRef } from "@react-types/textfield";
|
|
6
6
|
import { RangeCalendarProps as _RangeCalendarProps1, CalendarProps as _CalendarProps2 } from "../";
|
|
@@ -9,7 +9,7 @@ import { ColumnSize } from "@react-types/table";
|
|
|
9
9
|
type StyleString<P = string> = string & {
|
|
10
10
|
properties: P;
|
|
11
11
|
};
|
|
12
|
-
declare const allowedOverrides: readonly ["margin", "marginStart", "marginEnd", "marginTop", "marginBottom", "marginX", "marginY", "flexGrow", "flexShrink", "flexBasis", "justifySelf", "alignSelf", "order", "gridArea", "gridRowStart", "gridRowEnd", "gridColumnStart", "gridColumnEnd", "position", "zIndex", "top", "bottom", "inset", "insetX", "insetY", "insetStart", "insetEnd"];
|
|
12
|
+
declare const allowedOverrides: readonly ["margin", "marginStart", "marginEnd", "marginTop", "marginBottom", "marginX", "marginY", "flexGrow", "flexShrink", "flexBasis", "justifySelf", "alignSelf", "order", "gridArea", "gridRowStart", "gridRowEnd", "gridColumnStart", "gridColumnEnd", "position", "zIndex", "top", "bottom", "inset", "insetX", "insetY", "insetStart", "insetEnd", "visibility"];
|
|
13
13
|
declare const widthProperties: readonly ["width", "minWidth", "maxWidth"];
|
|
14
14
|
declare const heightProperties: readonly ["size", "height", "minHeight", "maxHeight"];
|
|
15
15
|
type StylesProp = StyleString<(typeof allowedOverrides)[number] | (typeof widthProperties)[number]>;
|
|
@@ -127,6 +127,16 @@ export interface ImageProps extends UnsafeStyles, SlotProps {
|
|
|
127
127
|
* [See MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#referrerpolicy).
|
|
128
128
|
*/
|
|
129
129
|
referrerPolicy?: HTMLAttributeReferrerPolicy;
|
|
130
|
+
/**
|
|
131
|
+
* The intrinsic width of the image.
|
|
132
|
+
* [See MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/img#width).
|
|
133
|
+
*/
|
|
134
|
+
width?: number;
|
|
135
|
+
/**
|
|
136
|
+
* The intrinsic height of the image.
|
|
137
|
+
* [See MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/img#height).
|
|
138
|
+
*/
|
|
139
|
+
height?: number;
|
|
130
140
|
/** Spectrum-defined styles, returned by the `style()` macro. */
|
|
131
141
|
styles?: StyleString;
|
|
132
142
|
/** A function that is called to render a fallback when the image fails to load. */
|
|
@@ -141,6 +151,9 @@ interface ImageContextValue extends ImageProps {
|
|
|
141
151
|
hidden?: boolean;
|
|
142
152
|
}
|
|
143
153
|
export const ImageContext: Context<ContextValue<Partial<ImageContextValue>, HTMLDivElement>>;
|
|
154
|
+
/**
|
|
155
|
+
* An image with support for skeleton loading and custom error states.
|
|
156
|
+
*/
|
|
144
157
|
export const Image: ForwardRefExoticComponent<ImageProps & RefAttributes<HTMLDivElement>>;
|
|
145
158
|
export interface AvatarProps extends UnsafeStyles, DOMProps, SlotProps {
|
|
146
159
|
/** Text description of the avatar. */
|
|
@@ -210,6 +223,30 @@ export const NotificationBadge: React.ForwardRefExoticComponent<NotificationBadg
|
|
|
210
223
|
export function pressScale<R extends {
|
|
211
224
|
isPressed: boolean;
|
|
212
225
|
}>(ref: RefObject<HTMLElement | null>, style?: CSSProperties | ((renderProps: R) => CSSProperties)): (renderProps: R) => CSSProperties;
|
|
226
|
+
interface ProgressCircleStyleProps {
|
|
227
|
+
/**
|
|
228
|
+
* The size of the ProgressCircle.
|
|
229
|
+
*
|
|
230
|
+
* @default 'M'
|
|
231
|
+
*/
|
|
232
|
+
size?: 'S' | 'M' | 'L';
|
|
233
|
+
/** The static color style to apply. Useful when the button appears over a color background. */
|
|
234
|
+
staticColor?: 'black' | 'white' | 'auto';
|
|
235
|
+
/**
|
|
236
|
+
* Whether presentation is indeterminate when progress isn't known.
|
|
237
|
+
*/
|
|
238
|
+
isIndeterminate?: boolean;
|
|
239
|
+
}
|
|
240
|
+
export const ProgressCircleContext: Context<ContextValue<Partial<ProgressCircleProps>, DOMRefValue<HTMLDivElement>>>;
|
|
241
|
+
export interface ProgressCircleProps extends Omit<_ProgressBarProps1, 'children' | 'style' | 'valueLabel' | 'formatOptions' | 'label' | 'className' | keyof GlobalDOMAttributes>, ProgressCircleStyleProps, UnsafeStyles {
|
|
242
|
+
/** Spectrum-defined styles, returned by the `style()` macro. */
|
|
243
|
+
styles?: StylesPropWithHeight;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* ProgressCircles show the progression of a system operation such as downloading, uploading, or processing, in a visual way.
|
|
247
|
+
* They can represent determinate or indeterminate progress.
|
|
248
|
+
*/
|
|
249
|
+
export const ProgressCircle: ForwardRefExoticComponent<ProgressCircleProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
|
|
213
250
|
interface ContentProps extends UnsafeStyles, SlotProps {
|
|
214
251
|
children: ReactNode;
|
|
215
252
|
styles?: StyleString;
|
|
@@ -250,6 +287,48 @@ export interface FormProps extends FormStyleProps, Omit<_FormProps1, 'className'
|
|
|
250
287
|
* Forms allow users to enter data that can be submitted while providing alignment and styling for form fields.
|
|
251
288
|
*/
|
|
252
289
|
export const Form: ForwardRefExoticComponent<FormProps & RefAttributes<DOMRefValue<HTMLFormElement>>>;
|
|
290
|
+
interface ButtonStyleProps {
|
|
291
|
+
/**
|
|
292
|
+
* The [visual style](https://spectrum.adobe.com/page/button/#Options) of the button.
|
|
293
|
+
*
|
|
294
|
+
* @default 'primary'
|
|
295
|
+
*/
|
|
296
|
+
variant?: 'primary' | 'secondary' | 'accent' | 'negative' | 'premium' | 'genai';
|
|
297
|
+
/**
|
|
298
|
+
* The background style of the Button.
|
|
299
|
+
*
|
|
300
|
+
* @default 'fill'
|
|
301
|
+
*/
|
|
302
|
+
fillStyle?: 'fill' | 'outline';
|
|
303
|
+
/**
|
|
304
|
+
* The size of the Button.
|
|
305
|
+
*
|
|
306
|
+
* @default 'M'
|
|
307
|
+
*/
|
|
308
|
+
size?: 'S' | 'M' | 'L' | 'XL';
|
|
309
|
+
/** The static color style to apply. Useful when the Button appears over a color background. */
|
|
310
|
+
staticColor?: 'white' | 'black' | 'auto';
|
|
311
|
+
}
|
|
312
|
+
export interface ButtonProps extends Omit<_ButtonProps1, 'className' | 'style' | 'children' | 'onHover' | 'onHoverStart' | 'onHoverEnd' | 'onHoverChange' | 'onClick' | keyof GlobalDOMAttributes>, StyleProps, ButtonStyleProps {
|
|
313
|
+
/** The content to display in the Button. */
|
|
314
|
+
children: ReactNode;
|
|
315
|
+
}
|
|
316
|
+
export interface LinkButtonProps extends Omit<_LinkProps1, 'className' | 'style' | 'children' | 'onClick' | keyof GlobalDOMAttributes>, StyleProps, ButtonStyleProps {
|
|
317
|
+
/** The content to display in the Button. */
|
|
318
|
+
children: ReactNode;
|
|
319
|
+
}
|
|
320
|
+
export const ButtonContext: Context<ContextValue<Partial<ButtonProps>, FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
|
|
321
|
+
export const LinkButtonContext: Context<ContextValue<Partial<ButtonProps>, FocusableRefValue<HTMLAnchorElement, HTMLAnchorElement>>>;
|
|
322
|
+
/**
|
|
323
|
+
* Buttons allow users to perform an action.
|
|
324
|
+
* They have multiple styles for various needs, and are ideal for calling attention to
|
|
325
|
+
* where a user needs to do something in order to move forward in a flow.
|
|
326
|
+
*/
|
|
327
|
+
export const Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
|
|
328
|
+
/**
|
|
329
|
+
* A LinkButton combines the functionality of a link with the appearance of a button. Useful for allowing users to navigate to another page.
|
|
330
|
+
*/
|
|
331
|
+
export const LinkButton: ForwardRefExoticComponent<LinkButtonProps & RefAttributes<FocusableRefValue<HTMLAnchorElement, HTMLAnchorElement>>>;
|
|
253
332
|
interface ActionButtonStyleProps {
|
|
254
333
|
/**
|
|
255
334
|
* The size of the ActionButton.
|
|
@@ -262,7 +341,7 @@ interface ActionButtonStyleProps {
|
|
|
262
341
|
/** Whether the button should be displayed with a [quiet style](https://spectrum.adobe.com/page/action-button/#Quiet). */
|
|
263
342
|
isQuiet?: boolean;
|
|
264
343
|
}
|
|
265
|
-
export interface ActionButtonProps extends Omit<_ButtonProps1, 'className' | 'style' | 'children' | 'onHover' | 'onHoverStart' | 'onHoverEnd' | 'onHoverChange' | '
|
|
344
|
+
export interface ActionButtonProps extends Omit<_ButtonProps1, 'className' | 'style' | 'children' | 'onHover' | 'onHoverStart' | 'onHoverEnd' | 'onHoverChange' | 'onClick' | keyof GlobalDOMAttributes>, StyleProps, ActionButtonStyleProps {
|
|
266
345
|
/** The content to display in the ActionButton. */
|
|
267
346
|
children: ReactNode;
|
|
268
347
|
}
|
|
@@ -370,6 +449,9 @@ export interface ActionBarProps extends SlotProps {
|
|
|
370
449
|
scrollRef?: RefObject<HTMLElement | null>;
|
|
371
450
|
}
|
|
372
451
|
export const ActionBarContext: Context<ContextValue<Partial<ActionBarProps>, DOMRefValue<HTMLDivElement>>>;
|
|
452
|
+
/**
|
|
453
|
+
* Action bars are used for single and bulk selection patterns when a user needs to perform actions on one or more items at the same time.
|
|
454
|
+
*/
|
|
373
455
|
export const ActionBar: ForwardRefExoticComponent<ActionBarProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
|
|
374
456
|
interface CheckboxStyleProps {
|
|
375
457
|
/**
|
|
@@ -441,7 +523,8 @@ export interface ProviderProps extends UnsafeStyles {
|
|
|
441
523
|
*/
|
|
442
524
|
elementType?: keyof JSX.IntrinsicElements;
|
|
443
525
|
}
|
|
444
|
-
export
|
|
526
|
+
export const ColorSchemeContext: Context<"light dark" | ColorScheme | null>;
|
|
527
|
+
export function Provider(props: ProviderProps): JSX.Element;
|
|
445
528
|
export interface PopoverProps extends UnsafeStyles, Omit<_PopoverProps1, 'arrowSize' | 'isNonModal' | 'arrowBoundaryOffset' | 'isKeyboardDismissDisabled' | 'shouldCloseOnInteractOutside' | 'shouldUpdatePosition' | keyof GlobalDOMAttributes> {
|
|
446
529
|
styles?: StyleString;
|
|
447
530
|
/**
|
|
@@ -455,12 +538,20 @@ export interface PopoverProps extends UnsafeStyles, Omit<_PopoverProps1, 'arrowS
|
|
|
455
538
|
*/
|
|
456
539
|
size?: 'S' | 'M' | 'L';
|
|
457
540
|
}
|
|
458
|
-
|
|
541
|
+
type PopoverStylesProp = StyleString<((typeof widthProperties)[number] | (typeof heightProperties)[number])>;
|
|
542
|
+
interface PopoverDialogProps extends Pick<PopoverProps, 'children' | 'size' | 'hideArrow' | 'placement' | 'shouldFlip' | 'containerPadding' | 'offset' | 'crossOffset' | 'triggerRef' | 'isOpen' | 'onOpenChange'>, Omit<_DialogProps1, 'children' | 'className' | 'style' | keyof GlobalDOMAttributes>, UnsafeStyles {
|
|
543
|
+
/**
|
|
544
|
+
* The amount of padding around the contents of the dialog.
|
|
545
|
+
* @default 'default'
|
|
546
|
+
*/
|
|
547
|
+
padding?: 'default' | 'none';
|
|
548
|
+
/** Spectrum-defined styles, returned by the `style()` macro. */
|
|
549
|
+
styles?: PopoverStylesProp;
|
|
459
550
|
}
|
|
460
551
|
/**
|
|
461
552
|
* A popover is an overlay element positioned relative to a trigger.
|
|
462
553
|
*/
|
|
463
|
-
export const Popover: ForwardRefExoticComponent<PopoverDialogProps & RefAttributes<DOMRefValue<
|
|
554
|
+
export const Popover: ForwardRefExoticComponent<PopoverDialogProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
|
|
464
555
|
export interface MenuTriggerProps extends _MenuTriggerProps1 {
|
|
465
556
|
/**
|
|
466
557
|
* Alignment of the menu relative to the trigger.
|
|
@@ -517,7 +608,7 @@ export function MenuItem(props: MenuItemProps): ReactNode;
|
|
|
517
608
|
export function MenuTrigger(props: MenuTriggerProps): ReactNode;
|
|
518
609
|
export interface SubmenuTriggerProps extends Omit<_SubmenuTriggerProps1, 'delay'> {
|
|
519
610
|
}
|
|
520
|
-
export
|
|
611
|
+
export function SubmenuTrigger(props: SubmenuTriggerProps): JSX.Element;
|
|
521
612
|
export interface ActionMenuProps<T> extends Pick<MenuTriggerProps, 'isOpen' | 'defaultOpen' | 'onOpenChange' | 'align' | 'direction' | 'shouldFlip'>, Pick<MenuProps<T>, 'children' | 'items' | 'disabledKeys' | 'onAction'>, Pick<ActionButtonProps, 'isDisabled' | 'isQuiet' | 'autoFocus' | 'size'>, StyleProps, DOMProps, AriaLabelingProps {
|
|
522
613
|
menuSize?: 'S' | 'M' | 'L' | 'XL';
|
|
523
614
|
}
|
|
@@ -526,72 +617,6 @@ export const ActionMenuContext: Context<ContextValue<Partial<ActionMenuProps<any
|
|
|
526
617
|
* ActionMenu combines an ActionButton with a Menu for simple "more actions" use cases.
|
|
527
618
|
*/
|
|
528
619
|
export const ActionMenu: <T extends object>(props: ActionMenuProps<T> & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>) => React.ReactElement | null;
|
|
529
|
-
interface ProgressCircleStyleProps {
|
|
530
|
-
/**
|
|
531
|
-
* The size of the ProgressCircle.
|
|
532
|
-
*
|
|
533
|
-
* @default 'M'
|
|
534
|
-
*/
|
|
535
|
-
size?: 'S' | 'M' | 'L';
|
|
536
|
-
/** The static color style to apply. Useful when the button appears over a color background. */
|
|
537
|
-
staticColor?: 'black' | 'white' | 'auto';
|
|
538
|
-
/**
|
|
539
|
-
* Whether presentation is indeterminate when progress isn't known.
|
|
540
|
-
*/
|
|
541
|
-
isIndeterminate?: boolean;
|
|
542
|
-
}
|
|
543
|
-
export const ProgressCircleContext: Context<ContextValue<Partial<ProgressCircleProps>, DOMRefValue<HTMLDivElement>>>;
|
|
544
|
-
export interface ProgressCircleProps extends Omit<_ProgressBarProps1, 'children' | 'style' | 'valueLabel' | 'formatOptions' | 'label' | 'className' | keyof GlobalDOMAttributes>, ProgressCircleStyleProps, UnsafeStyles {
|
|
545
|
-
/** Spectrum-defined styles, returned by the `style()` macro. */
|
|
546
|
-
styles?: StylesPropWithHeight;
|
|
547
|
-
}
|
|
548
|
-
/**
|
|
549
|
-
* ProgressCircles show the progression of a system operation such as downloading, uploading, or processing, in a visual way.
|
|
550
|
-
* They can represent determinate or indeterminate progress.
|
|
551
|
-
*/
|
|
552
|
-
export const ProgressCircle: ForwardRefExoticComponent<ProgressCircleProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
|
|
553
|
-
interface ButtonStyleProps {
|
|
554
|
-
/**
|
|
555
|
-
* The [visual style](https://spectrum.adobe.com/page/button/#Options) of the button.
|
|
556
|
-
*
|
|
557
|
-
* @default 'primary'
|
|
558
|
-
*/
|
|
559
|
-
variant?: 'primary' | 'secondary' | 'accent' | 'negative' | 'premium' | 'genai';
|
|
560
|
-
/**
|
|
561
|
-
* The background style of the Button.
|
|
562
|
-
*
|
|
563
|
-
* @default 'fill'
|
|
564
|
-
*/
|
|
565
|
-
fillStyle?: 'fill' | 'outline';
|
|
566
|
-
/**
|
|
567
|
-
* The size of the Button.
|
|
568
|
-
*
|
|
569
|
-
* @default 'M'
|
|
570
|
-
*/
|
|
571
|
-
size?: 'S' | 'M' | 'L' | 'XL';
|
|
572
|
-
/** The static color style to apply. Useful when the Button appears over a color background. */
|
|
573
|
-
staticColor?: 'white' | 'black' | 'auto';
|
|
574
|
-
}
|
|
575
|
-
export interface ButtonProps extends Omit<_ButtonProps1, 'className' | 'style' | 'children' | 'onHover' | 'onHoverStart' | 'onHoverEnd' | 'onHoverChange' | 'onClick' | keyof GlobalDOMAttributes>, StyleProps, ButtonStyleProps {
|
|
576
|
-
/** The content to display in the Button. */
|
|
577
|
-
children: ReactNode;
|
|
578
|
-
}
|
|
579
|
-
export interface LinkButtonProps extends Omit<_LinkProps1, 'className' | 'style' | 'children' | 'onClick' | keyof GlobalDOMAttributes>, StyleProps, ButtonStyleProps {
|
|
580
|
-
/** The content to display in the Button. */
|
|
581
|
-
children: ReactNode;
|
|
582
|
-
}
|
|
583
|
-
export const ButtonContext: Context<ContextValue<Partial<ButtonProps>, FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
|
|
584
|
-
export const LinkButtonContext: Context<ContextValue<Partial<ButtonProps>, FocusableRefValue<HTMLAnchorElement, HTMLAnchorElement>>>;
|
|
585
|
-
/**
|
|
586
|
-
* Buttons allow users to perform an action.
|
|
587
|
-
* They have multiple styles for various needs, and are ideal for calling attention to
|
|
588
|
-
* where a user needs to do something in order to move forward in a flow.
|
|
589
|
-
*/
|
|
590
|
-
export const Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
|
|
591
|
-
/**
|
|
592
|
-
* A LinkButton combines the functionality of a link with the appearance of a button. Useful for allowing users to navigate to another page.
|
|
593
|
-
*/
|
|
594
|
-
export const LinkButton: ForwardRefExoticComponent<LinkButtonProps & RefAttributes<FocusableRefValue<HTMLAnchorElement, HTMLAnchorElement>>>;
|
|
595
620
|
interface ButtonGroupStyleProps {
|
|
596
621
|
/**
|
|
597
622
|
* The axis the ButtonGroup should align with. Setting this to 'vertical' will prevent
|
|
@@ -638,7 +663,7 @@ export interface DialogProps extends Omit<_DialogProps1, 'className' | 'style' |
|
|
|
638
663
|
*
|
|
639
664
|
* @default 'M'
|
|
640
665
|
*/
|
|
641
|
-
size?: 'S' | 'M' | 'L';
|
|
666
|
+
size?: 'S' | 'M' | 'L' | 'XL';
|
|
642
667
|
/** Whether pressing the escape key to close the dialog should be disabled. */
|
|
643
668
|
isKeyboardDismissDisabled?: boolean;
|
|
644
669
|
}
|
|
@@ -802,6 +827,9 @@ export interface CalendarProps<T extends DateValue> extends Omit<_CalendarProps1
|
|
|
802
827
|
visibleMonths?: number;
|
|
803
828
|
}
|
|
804
829
|
export const CalendarContext: React.Context<ContextValue<Partial<CalendarProps<any>>, HTMLDivElement>>;
|
|
830
|
+
/**
|
|
831
|
+
* Calendars display a grid of days in one or more months and allow users to select a single date.
|
|
832
|
+
*/
|
|
805
833
|
export const Calendar: <T extends DateValue>(props: CalendarProps<T> & React.RefAttributes<HTMLDivElement>) => ReactElement | null;
|
|
806
834
|
interface CardRenderProps {
|
|
807
835
|
/** The size of the Card. */
|
|
@@ -827,6 +855,9 @@ export interface CardProps extends Omit<GridListItemProps, 'className' | 'style'
|
|
|
827
855
|
variant?: 'primary' | 'secondary' | 'tertiary' | 'quiet';
|
|
828
856
|
}
|
|
829
857
|
export const CardContext: Context<ContextValue<Partial<CardProps>, DOMRefValue<HTMLDivElement>>>;
|
|
858
|
+
/**
|
|
859
|
+
* A Card summarizes an object that a user can select or navigate to.
|
|
860
|
+
*/
|
|
830
861
|
export const Card: ForwardRefExoticComponent<CardProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
|
|
831
862
|
export interface CardPreviewProps extends UnsafeStyles, DOMProps {
|
|
832
863
|
children: ReactNode;
|
|
@@ -839,7 +870,7 @@ export const AssetCard: ForwardRefExoticComponent<AssetCardProps & RefAttributes
|
|
|
839
870
|
export interface UserCardProps extends Omit<CardProps, 'density' | 'variant'> {
|
|
840
871
|
variant?: 'primary' | 'secondary' | 'tertiary';
|
|
841
872
|
}
|
|
842
|
-
export const UserCard: ForwardRefExoticComponent<
|
|
873
|
+
export const UserCard: ForwardRefExoticComponent<UserCardProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
|
|
843
874
|
export interface ProductCardProps extends Omit<CardProps, 'density' | 'variant'> {
|
|
844
875
|
variant?: 'primary' | 'secondary' | 'tertiary';
|
|
845
876
|
}
|
|
@@ -880,6 +911,9 @@ export interface CardViewProps<T> extends Omit<GridListProps<T>, 'layout' | 'key
|
|
|
880
911
|
renderActionBar?: (selectedKeys: 'all' | Set<Key>) => ReactElement;
|
|
881
912
|
}
|
|
882
913
|
export const CardViewContext: Context<ContextValue<Partial<CardViewProps<any>>, DOMRefValue<HTMLDivElement>>>;
|
|
914
|
+
/**
|
|
915
|
+
* A CardView displays a group of related objects, with support for selection and bulk actions.
|
|
916
|
+
*/
|
|
883
917
|
export const CardView: <T extends object>(props: CardViewProps<T> & RefAttributes<DOMRefValue<HTMLDivElement>>) => ReactElement | null;
|
|
884
918
|
export interface CheckboxGroupProps extends Omit<_CheckboxGroupProps1, 'className' | 'style' | 'children' | keyof GlobalDOMAttributes>, StyleProps, SpectrumLabelableProps, HelpTextProps {
|
|
885
919
|
/**
|
|
@@ -916,7 +950,7 @@ export const ColorAreaContext: Context<ContextValue<Partial<ColorAreaProps>, DOM
|
|
|
916
950
|
* A ColorArea allows users to adjust two channels of an RGB, HSL or HSB color value against a two-dimensional gradient background.
|
|
917
951
|
*/
|
|
918
952
|
export const ColorArea: ForwardRefExoticComponent<ColorAreaProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
|
|
919
|
-
export interface ColorFieldProps extends Omit<_ColorFieldProps1, 'children' | 'className' | 'style' | keyof GlobalDOMAttributes>, StyleProps, SpectrumLabelableProps, HelpTextProps {
|
|
953
|
+
export interface ColorFieldProps extends Omit<_ColorFieldProps1, 'children' | 'className' | 'style' | keyof GlobalDOMAttributes>, StyleProps, SpectrumLabelableProps, HelpTextProps, Pick<InputProps, 'placeholder'> {
|
|
920
954
|
/**
|
|
921
955
|
* The size of the color field.
|
|
922
956
|
*
|
|
@@ -999,7 +1033,7 @@ interface ComboboxStyleProps {
|
|
|
999
1033
|
*/
|
|
1000
1034
|
size?: 'S' | 'M' | 'L' | 'XL';
|
|
1001
1035
|
}
|
|
1002
|
-
export interface ComboBoxProps<T extends object> extends Omit<_ComboBoxProps1<T>, 'children' | 'style' | 'className' | 'defaultFilter' | 'allowsEmptyCollection' | keyof GlobalDOMAttributes>, ComboboxStyleProps, StyleProps, SpectrumLabelableProps, HelpTextProps, Pick<ListBoxProps<T>, 'items' | 'dependencies'>, Pick<_PopoverProps1, 'shouldFlip'>, Pick<AsyncLoadable, 'onLoadMore'> {
|
|
1036
|
+
export interface ComboBoxProps<T extends object> extends Omit<_ComboBoxProps1<T>, 'children' | 'style' | 'className' | 'defaultFilter' | 'allowsEmptyCollection' | keyof GlobalDOMAttributes>, ComboboxStyleProps, StyleProps, SpectrumLabelableProps, HelpTextProps, Pick<ListBoxProps<T>, 'items' | 'dependencies'>, Pick<_PopoverProps1, 'shouldFlip'>, Pick<AsyncLoadable, 'onLoadMore'>, Pick<InputProps, 'placeholder'> {
|
|
1003
1037
|
/** The contents of the collection. */
|
|
1004
1038
|
children: ReactNode | ((item: T) => ReactNode);
|
|
1005
1039
|
/**
|
|
@@ -1040,8 +1074,12 @@ export interface DateFieldProps<T extends DateValue> extends Omit<_DateFieldProp
|
|
|
1040
1074
|
size?: 'S' | 'M' | 'L' | 'XL';
|
|
1041
1075
|
}
|
|
1042
1076
|
export const DateFieldContext: Context<ContextValue<Partial<DateFieldProps<any>>, HTMLDivElement>>;
|
|
1077
|
+
/**
|
|
1078
|
+
* DateFields allow users to enter and edit date and time values using a keyboard.
|
|
1079
|
+
* Each part of a date value is displayed in an individually editable segment.
|
|
1080
|
+
*/
|
|
1043
1081
|
export const DateField: <T extends DateValue>(props: DateFieldProps<T> & RefAttributes<HTMLDivElement>) => ReactElement | null;
|
|
1044
|
-
export interface DateRangePickerProps<T extends DateValue> extends Omit<_DateRangePickerProps1<T>, 'children' | 'className' | 'style' | keyof GlobalDOMAttributes>, Pick<_RangeCalendarProps1<T>, 'createCalendar' | 'pageBehavior' | 'isDateUnavailable'>, StyleProps, SpectrumLabelableProps, HelpTextProps {
|
|
1082
|
+
export interface DateRangePickerProps<T extends DateValue> extends Omit<_DateRangePickerProps1<T>, 'children' | 'className' | 'style' | keyof GlobalDOMAttributes>, Pick<_RangeCalendarProps1<T>, 'createCalendar' | 'pageBehavior' | 'firstDayOfWeek' | 'isDateUnavailable'>, StyleProps, SpectrumLabelableProps, HelpTextProps {
|
|
1045
1083
|
/**
|
|
1046
1084
|
* The size of the DateField.
|
|
1047
1085
|
*
|
|
@@ -1055,6 +1093,10 @@ export interface DateRangePickerProps<T extends DateValue> extends Omit<_DateRan
|
|
|
1055
1093
|
maxVisibleMonths?: number;
|
|
1056
1094
|
}
|
|
1057
1095
|
export const DateRangePickerContext: Context<ContextValue<Partial<DateRangePickerProps<any>>, HTMLDivElement>>;
|
|
1096
|
+
/**
|
|
1097
|
+
* DateRangePickers combine two DateFields and a RangeCalendar popover to allow users
|
|
1098
|
+
* to enter or select a date and time range.
|
|
1099
|
+
*/
|
|
1058
1100
|
export const DateRangePicker: <T extends DateValue>(props: DateRangePickerProps<T> & RefAttributes<HTMLDivElement>) => ReactElement | null;
|
|
1059
1101
|
export interface CustomDialogProps extends Omit<_DialogProps1, 'className' | 'style' | keyof GlobalDOMAttributes>, StyleProps {
|
|
1060
1102
|
/**
|
|
@@ -1142,7 +1184,10 @@ export interface DropZoneProps extends Omit<_DropZoneProps1, 'className' | 'styl
|
|
|
1142
1184
|
children: ReactNode;
|
|
1143
1185
|
/** Whether the drop zone has been filled. */
|
|
1144
1186
|
isFilled?: boolean;
|
|
1145
|
-
/**
|
|
1187
|
+
/**
|
|
1188
|
+
* The message to replace the default banner message that is shown when the drop zone is filled.
|
|
1189
|
+
* @default 'Drop file to replace'
|
|
1190
|
+
*/
|
|
1146
1191
|
replaceMessage?: string;
|
|
1147
1192
|
/**
|
|
1148
1193
|
* The size of the DropZone.
|
|
@@ -1237,7 +1282,7 @@ export const MeterContext: Context<ContextValue<Partial<MeterProps>, DOMRefValue
|
|
|
1237
1282
|
* Their progress is determined by user actions, rather than system actions.
|
|
1238
1283
|
*/
|
|
1239
1284
|
export const Meter: ForwardRefExoticComponent<MeterProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
|
|
1240
|
-
interface NumberFieldProps extends Omit<_NumberFieldProps1, 'children' | 'className' | 'style' | keyof GlobalDOMAttributes>, StyleProps, SpectrumLabelableProps, HelpTextProps {
|
|
1285
|
+
interface NumberFieldProps extends Omit<_NumberFieldProps1, 'children' | 'className' | 'style' | keyof GlobalDOMAttributes>, StyleProps, SpectrumLabelableProps, HelpTextProps, Pick<InputProps, 'placeholder'> {
|
|
1241
1286
|
/**
|
|
1242
1287
|
* Whether to hide the increment and decrement buttons.
|
|
1243
1288
|
* @default false
|
|
@@ -1268,7 +1313,8 @@ interface PickerStyleProps {
|
|
|
1268
1313
|
*/
|
|
1269
1314
|
isQuiet?: boolean;
|
|
1270
1315
|
}
|
|
1271
|
-
|
|
1316
|
+
type SelectionMode = 'single' | 'multiple';
|
|
1317
|
+
export interface PickerProps<T extends object, M extends SelectionMode = 'single'> extends Omit<SelectProps<T, M>, 'children' | 'style' | 'className' | keyof GlobalDOMAttributes>, PickerStyleProps, StyleProps, SpectrumLabelableProps, HelpTextProps, Pick<ListBoxProps<T>, 'items' | 'dependencies'>, Pick<_PopoverProps1, 'shouldFlip'>, Pick<AsyncLoadable, 'onLoadMore'> {
|
|
1272
1318
|
/** The contents of the collection. */
|
|
1273
1319
|
children: ReactNode | ((item: T) => ReactNode);
|
|
1274
1320
|
/**
|
|
@@ -1288,11 +1334,11 @@ export interface PickerProps<T extends object> extends Omit<SelectProps<T>, 'chi
|
|
|
1288
1334
|
/** The current loading state of the Picker. */
|
|
1289
1335
|
loadingState?: LoadingState;
|
|
1290
1336
|
}
|
|
1291
|
-
export const PickerContext: React.Context<ContextValue<Partial<PickerProps<any>>, FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
|
|
1337
|
+
export const PickerContext: React.Context<ContextValue<Partial<PickerProps<any, "single">>, FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
|
|
1292
1338
|
/**
|
|
1293
1339
|
* Pickers allow users to choose a single option from a collapsible list of options when space is limited.
|
|
1294
1340
|
*/
|
|
1295
|
-
export const Picker: <T extends object>(props: PickerProps<T> & React.RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>) => React.ReactElement | null;
|
|
1341
|
+
export const Picker: <T extends object, M extends SelectionMode = "single">(props: PickerProps<T, M> & React.RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>) => React.ReactElement | null;
|
|
1296
1342
|
export interface PickerItemProps extends Omit<ListBoxItemProps, 'children' | 'style' | 'className' | 'onClick' | keyof GlobalDOMAttributes>, StyleProps {
|
|
1297
1343
|
children: ReactNode;
|
|
1298
1344
|
}
|
|
@@ -1382,6 +1428,9 @@ export interface RangeCalendarProps<T extends DateValue> extends Omit<_RangeCale
|
|
|
1382
1428
|
visibleMonths?: number;
|
|
1383
1429
|
}
|
|
1384
1430
|
export const RangeCalendarContext: Context<ContextValue<Partial<RangeCalendarProps<any>>, HTMLDivElement>>;
|
|
1431
|
+
/**
|
|
1432
|
+
* RangeCalendars display a grid of days in one or more months and allow users to select a contiguous range of dates.
|
|
1433
|
+
*/
|
|
1385
1434
|
export const RangeCalendar: <T extends DateValue>(props: RangeCalendarProps<T> & RefAttributes<HTMLDivElement>) => ReactElement | null;
|
|
1386
1435
|
interface SliderBaseProps<T> extends Omit<_SliderProps1<T>, 'children' | 'style' | 'className' | 'orientation' | keyof GlobalDOMAttributes>, Omit<SpectrumLabelableProps, 'necessityIndicator' | 'isRequired'>, StyleProps {
|
|
1387
1436
|
children?: ReactNode;
|
|
@@ -1436,8 +1485,11 @@ export interface RangeSliderProps extends Omit<SliderBaseProps<RangeValue<number
|
|
|
1436
1485
|
form?: string;
|
|
1437
1486
|
}
|
|
1438
1487
|
export const RangeSliderContext: Context<ContextValue<Partial<RangeSliderProps>, FocusableRefValue<HTMLDivElement, HTMLDivElement>>>;
|
|
1488
|
+
/**
|
|
1489
|
+
* RangeSliders allow users to quickly select a subset range. They should be used when the upper and lower bounds to the range are invariable.
|
|
1490
|
+
*/
|
|
1439
1491
|
export const RangeSlider: ForwardRefExoticComponent<RangeSliderProps & RefAttributes<FocusableRefValue<HTMLDivElement, HTMLDivElement>>>;
|
|
1440
|
-
export interface SearchFieldProps extends Omit<_SearchFieldProps1, 'className' | 'style' | 'children' | keyof GlobalDOMAttributes>, StyleProps, SpectrumLabelableProps, HelpTextProps {
|
|
1492
|
+
export interface SearchFieldProps extends Omit<_SearchFieldProps1, 'className' | 'style' | 'children' | keyof GlobalDOMAttributes>, StyleProps, SpectrumLabelableProps, HelpTextProps, Pick<InputProps, 'placeholder'> {
|
|
1441
1493
|
/**
|
|
1442
1494
|
* The size of the SearchField.
|
|
1443
1495
|
*
|
|
@@ -1753,7 +1805,7 @@ export const TagGroupContext: Context<ContextValue<Partial<TagGroupProps<any>>,
|
|
|
1753
1805
|
export const TagGroup: <T extends object>(props: TagGroupProps<T> & RefAttributes<DOMRefValue<HTMLDivElement>>) => React.ReactElement | null;
|
|
1754
1806
|
/** An individual Tag for TagGroups. */
|
|
1755
1807
|
export const Tag: (props: TagProps & RefAttributes<DOMRefValue<HTMLDivElement>>) => React.ReactElement | null;
|
|
1756
|
-
export interface TextFieldProps extends Omit<_TextFieldProps1, 'children' | 'className' | 'style' | keyof GlobalDOMAttributes>, StyleProps, SpectrumLabelableProps, HelpTextProps {
|
|
1808
|
+
export interface TextFieldProps extends Omit<_TextFieldProps1, 'children' | 'className' | 'style' | keyof GlobalDOMAttributes>, StyleProps, SpectrumLabelableProps, HelpTextProps, Pick<InputProps, 'placeholder'> {
|
|
1757
1809
|
/**
|
|
1758
1810
|
* The size of the text field.
|
|
1759
1811
|
*
|
|
@@ -1786,6 +1838,10 @@ export interface TimeFieldProps<T extends TimeValue> extends Omit<_TimeFieldProp
|
|
|
1786
1838
|
size?: 'S' | 'M' | 'L' | 'XL';
|
|
1787
1839
|
}
|
|
1788
1840
|
export const TimeFieldContext: Context<ContextValue<Partial<TimeFieldProps<any>>, HTMLDivElement>>;
|
|
1841
|
+
/**
|
|
1842
|
+
* TimeFields allow users to enter and edit time values using a keyboard.
|
|
1843
|
+
* Each part of the time is displayed in an individually editable segment.
|
|
1844
|
+
*/
|
|
1789
1845
|
export const TimeField: <T extends TimeValue>(props: TimeFieldProps<T> & RefAttributes<HTMLDivElement>) => ReactElement | null;
|
|
1790
1846
|
type ToastPlacement = 'top' | 'top end' | 'bottom' | 'bottom end';
|
|
1791
1847
|
export interface ToastContainerProps extends Omit<ToastRegionProps<SpectrumToastValue>, 'queue' | 'children'> {
|
|
@@ -1907,7 +1963,7 @@ export interface TreeViewItemContentProps extends Omit<TreeItemContentProps, 'ch
|
|
|
1907
1963
|
}
|
|
1908
1964
|
export const TreeViewItemContent: (props: TreeViewItemContentProps) => ReactNode;
|
|
1909
1965
|
export const TreeViewLoadMoreItem: (props: TreeViewLoadMoreItemProps) => ReactNode;
|
|
1910
|
-
export interface DatePickerProps<T extends DateValue> extends Omit<_DatePickerProps1<T>, 'children' | 'className' | 'style' | keyof GlobalDOMAttributes>, Pick<_CalendarProps2<T>, 'createCalendar' | 'pageBehavior' | 'isDateUnavailable'>, StyleProps, SpectrumLabelableProps, HelpTextProps {
|
|
1966
|
+
export interface DatePickerProps<T extends DateValue> extends Omit<_DatePickerProps1<T>, 'children' | 'className' | 'style' | keyof GlobalDOMAttributes>, Pick<_CalendarProps2<T>, 'createCalendar' | 'pageBehavior' | 'firstDayOfWeek' | 'isDateUnavailable'>, StyleProps, SpectrumLabelableProps, HelpTextProps {
|
|
1911
1967
|
/**
|
|
1912
1968
|
* The size of the DateField.
|
|
1913
1969
|
*
|
|
@@ -1921,10 +1977,14 @@ export interface DatePickerProps<T extends DateValue> extends Omit<_DatePickerPr
|
|
|
1921
1977
|
maxVisibleMonths?: number;
|
|
1922
1978
|
}
|
|
1923
1979
|
export const DatePickerContext: Context<ContextValue<Partial<DatePickerProps<any>>, HTMLDivElement>>;
|
|
1980
|
+
/**
|
|
1981
|
+
* DatePickers combine a DateField and a Calendar popover to allow users to enter or select a date and time value.
|
|
1982
|
+
*/
|
|
1924
1983
|
export const DatePicker: <T extends DateValue>(props: DatePickerProps<T> & RefAttributes<HTMLDivElement>) => ReactElement | null;
|
|
1925
1984
|
export { Autocomplete } from 'react-aria-components';
|
|
1926
1985
|
export { Collection } from 'react-aria-components';
|
|
1927
1986
|
export { FileTrigger } from 'react-aria-components';
|
|
1928
|
-
export
|
|
1987
|
+
export { parseColor } from 'react-aria-components';
|
|
1988
|
+
export type { AutocompleteProps, FileTriggerProps, TooltipTriggerComponentProps as TooltipTriggerProps, SortDescriptor, Color, Key, Selection } from 'react-aria-components';
|
|
1929
1989
|
|
|
1930
1990
|
//# sourceMappingURL=types.d.ts.map
|