@baseline-ui/core 0.60.0 → 0.60.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +10201 -11
- package/dist/react-aria.d.ts +708 -2
- package/dist/react-stately.d.ts +319 -2
- package/package.json +6 -6
- package/sbom.json +1 -1
- package/dist/components/Accordion/Accordion.css.d.ts +0 -44
- package/dist/components/Accordion/Accordion.d.ts +0 -11
- package/dist/components/Accordion/Accordion.types.d.ts +0 -70
- package/dist/components/Accordion/AccordionBase.d.ts +0 -5
- package/dist/components/Accordion/AccordionHeader.d.ts +0 -6
- package/dist/components/Accordion/AccordionItem.d.ts +0 -3
- package/dist/components/Accordion/index.d.ts +0 -3
- package/dist/components/ActionButton/ActionButton.css.d.ts +0 -216
- package/dist/components/ActionButton/ActionButton.d.ts +0 -4
- package/dist/components/ActionButton/ActionButton.types.d.ts +0 -44
- package/dist/components/ActionButton/index.d.ts +0 -2
- package/dist/components/ActionGroup/ActionGroup.css.d.ts +0 -2
- package/dist/components/ActionGroup/ActionGroup.d.ts +0 -11
- package/dist/components/ActionGroup/ActionGroup.types.d.ts +0 -43
- package/dist/components/ActionGroup/index.d.ts +0 -3
- package/dist/components/ActionIconButton/ActionIconButton.css.d.ts +0 -116
- package/dist/components/ActionIconButton/ActionIconButton.d.ts +0 -3
- package/dist/components/ActionIconButton/ActionIconButton.types.d.ts +0 -56
- package/dist/components/ActionIconButton/index.d.ts +0 -2
- package/dist/components/Actionable/Actionable.css.d.ts +0 -2
- package/dist/components/Actionable/Actionable.d.ts +0 -3
- package/dist/components/Actionable/Actionable.types.d.ts +0 -15
- package/dist/components/Actionable/index.d.ts +0 -3
- package/dist/components/AlertDialog/AlertDialog.css.d.ts +0 -26
- package/dist/components/AlertDialog/AlertDialog.d.ts +0 -3
- package/dist/components/AlertDialog/AlertDialog.types.d.ts +0 -77
- package/dist/components/AlertDialog/index.d.ts +0 -3
- package/dist/components/AudioPlayer/AudioPlayer.css.d.ts +0 -3
- package/dist/components/AudioPlayer/AudioPlayer.d.ts +0 -3
- package/dist/components/AudioPlayer/AudioPlayer.types.d.ts +0 -27
- package/dist/components/AudioPlayer/index.d.ts +0 -3
- package/dist/components/Avatar/Avatar.css.d.ts +0 -19
- package/dist/components/Avatar/Avatar.d.ts +0 -3
- package/dist/components/Avatar/Avatar.types.d.ts +0 -31
- package/dist/components/Avatar/index.d.ts +0 -2
- package/dist/components/Box/Box.d.ts +0 -3
- package/dist/components/Box/Box.types.d.ts +0 -12
- package/dist/components/Box/index.d.ts +0 -3
- package/dist/components/ButtonSelect/ButtonSelect.css.d.ts +0 -3
- package/dist/components/ButtonSelect/ButtonSelect.d.ts +0 -3
- package/dist/components/ButtonSelect/ButtonSelect.types.d.ts +0 -56
- package/dist/components/ButtonSelect/index.d.ts +0 -3
- package/dist/components/Calendar/Calendar.css.d.ts +0 -135
- package/dist/components/Calendar/Calendar.d.ts +0 -4
- package/dist/components/Calendar/Calendar.types.d.ts +0 -22
- package/dist/components/Calendar/CalendarCell.d.ts +0 -9
- package/dist/components/Calendar/CalendarHeader.d.ts +0 -6
- package/dist/components/Calendar/RangeCalendar.d.ts +0 -4
- package/dist/components/Calendar/index.d.ts +0 -3
- package/dist/components/Calendar/intl/index.d.ts +0 -267
- package/dist/components/Checkbox/Checkbox.css.d.ts +0 -103
- package/dist/components/Checkbox/Checkbox.d.ts +0 -3
- package/dist/components/Checkbox/Checkbox.types.d.ts +0 -17
- package/dist/components/Checkbox/index.d.ts +0 -2
- package/dist/components/Code/Code.css.d.ts +0 -2
- package/dist/components/Code/Code.d.ts +0 -3
- package/dist/components/Code/Code.types.d.ts +0 -6
- package/dist/components/Code/index.d.ts +0 -3
- package/dist/components/ColorInput/ColorArea.d.ts +0 -4
- package/dist/components/ColorInput/ColorFieldInput.d.ts +0 -13
- package/dist/components/ColorInput/ColorInput.css.d.ts +0 -165
- package/dist/components/ColorInput/ColorInput.d.ts +0 -3
- package/dist/components/ColorInput/ColorInput.types.d.ts +0 -137
- package/dist/components/ColorInput/ColorInputButton.d.ts +0 -21
- package/dist/components/ColorInput/ColorPresetList.d.ts +0 -16
- package/dist/components/ColorInput/ColorSlider.d.ts +0 -3
- package/dist/components/ColorInput/CustomColors.d.ts +0 -15
- package/dist/components/ColorInput/IconColorInput.d.ts +0 -3
- package/dist/components/ColorInput/Picker.d.ts +0 -8
- package/dist/components/ColorInput/__tests__/data.d.ts +0 -8
- package/dist/components/ColorInput/hooks/useColorTrigger.d.ts +0 -13
- package/dist/components/ColorInput/index.d.ts +0 -4
- package/dist/components/ColorInput/intl/index.d.ts +0 -399
- package/dist/components/ColorInput/utils.d.ts +0 -44
- package/dist/components/ColorSwatch/ColorSwatch.css.d.ts +0 -39
- package/dist/components/ColorSwatch/ColorSwatch.d.ts +0 -3
- package/dist/components/ColorSwatch/ColorSwatch.types.d.ts +0 -44
- package/dist/components/ColorSwatch/index.d.ts +0 -2
- package/dist/components/ColorSwatchPicker/ColorSwatchPicker.css.d.ts +0 -2
- package/dist/components/ColorSwatchPicker/ColorSwatchPicker.d.ts +0 -3
- package/dist/components/ColorSwatchPicker/ColorSwatchPicker.types.d.ts +0 -46
- package/dist/components/ColorSwatchPicker/index.d.ts +0 -3
- package/dist/components/ComboBox/ComboBox.css.d.ts +0 -203
- package/dist/components/ComboBox/ComboBox.d.ts +0 -3
- package/dist/components/ComboBox/ComboBox.types.d.ts +0 -96
- package/dist/components/ComboBox/index.d.ts +0 -3
- package/dist/components/ComboBox/useOnValueChange.d.ts +0 -6
- package/dist/components/DateField/DateField.d.ts +0 -6
- package/dist/components/DateField/DateField.types.d.ts +0 -17
- package/dist/components/DateField/index.d.ts +0 -3
- package/dist/components/DateField/intl/index.d.ts +0 -102
- package/dist/components/DateFormat/DateFormat.d.ts +0 -3
- package/dist/components/DateFormat/DateFormat.types.d.ts +0 -5
- package/dist/components/DateFormat/index.d.ts +0 -2
- package/dist/components/DeviceProvider/DeviceProvider.d.ts +0 -6
- package/dist/components/DeviceProvider/DeviceProvider.types.d.ts +0 -12
- package/dist/components/DeviceProvider/index.d.ts +0 -2
- package/dist/components/Dialog/Dialog.css.d.ts +0 -53
- package/dist/components/Dialog/Dialog.d.ts +0 -6
- package/dist/components/Dialog/Dialog.types.d.ts +0 -37
- package/dist/components/Dialog/DialogTitle.d.ts +0 -3
- package/dist/components/Dialog/index.d.ts +0 -3
- package/dist/components/Dialog/useDeferredLabel.d.ts +0 -7
- package/dist/components/Disclosure/Disclosure.css.d.ts +0 -116
- package/dist/components/Disclosure/Disclosure.d.ts +0 -3
- package/dist/components/Disclosure/Disclosure.types.d.ts +0 -30
- package/dist/components/Disclosure/index.d.ts +0 -3
- package/dist/components/DomNodeRenderer/DomNodeRenderer.d.ts +0 -3
- package/dist/components/DomNodeRenderer/DomNodeRenderer.types.d.ts +0 -11
- package/dist/components/DomNodeRenderer/index.d.ts +0 -2
- package/dist/components/Drawer/Drawer.css.d.ts +0 -31
- package/dist/components/Drawer/Drawer.d.ts +0 -3
- package/dist/components/Drawer/Drawer.types.d.ts +0 -24
- package/dist/components/Drawer/index.d.ts +0 -3
- package/dist/components/Editor/Editor.css.d.ts +0 -131
- package/dist/components/Editor/Editor.d.ts +0 -3
- package/dist/components/Editor/Editor.types.d.ts +0 -159
- package/dist/components/Editor/EditorToolbar.d.ts +0 -15
- package/dist/components/Editor/HelpDialog.d.ts +0 -5
- package/dist/components/Editor/RichEditor.d.ts +0 -24
- package/dist/components/Editor/elements/AddLink.d.ts +0 -10
- package/dist/components/Editor/elements/Mention.d.ts +0 -46
- package/dist/components/Editor/elements/Paragraph.d.ts +0 -2
- package/dist/components/Editor/elements/PlainEditor.d.ts +0 -11
- package/dist/components/Editor/index.d.ts +0 -2
- package/dist/components/Editor/utils.d.ts +0 -93
- package/dist/components/FileUpload/FileUpload.css.d.ts +0 -69
- package/dist/components/FileUpload/FileUpload.d.ts +0 -3
- package/dist/components/FileUpload/FileUpload.types.d.ts +0 -38
- package/dist/components/FileUpload/hooks/useFileUpload.d.ts +0 -22
- package/dist/components/FileUpload/index.d.ts +0 -2
- package/dist/components/FrameProvider/FrameProvider.d.ts +0 -20
- package/dist/components/FrameProvider/FrameProvider.types.d.ts +0 -40
- package/dist/components/FrameProvider/index.d.ts +0 -2
- package/dist/components/FreehandCanvas/FreehandCanvas.css.d.ts +0 -78
- package/dist/components/FreehandCanvas/FreehandCanvas.d.ts +0 -4
- package/dist/components/FreehandCanvas/FreehandCanvas.types.d.ts +0 -116
- package/dist/components/FreehandCanvas/hooks/usePathsData.d.ts +0 -27
- package/dist/components/FreehandCanvas/index.d.ts +0 -2
- package/dist/components/FreehandCanvas/intl/index.d.ts +0 -135
- package/dist/components/GridList/GridList.css.d.ts +0 -22
- package/dist/components/GridList/GridList.d.ts +0 -3
- package/dist/components/GridList/GridList.types.d.ts +0 -84
- package/dist/components/GridList/GridListItem.d.ts +0 -20
- package/dist/components/GridList/index.d.ts +0 -3
- package/dist/components/Group/Group.d.ts +0 -3
- package/dist/components/Group/Group.types.d.ts +0 -19
- package/dist/components/Group/index.d.ts +0 -2
- package/dist/components/I18nProvider/I18Provider.types.d.ts +0 -11
- package/dist/components/I18nProvider/I18nProvider.css.d.ts +0 -1
- package/dist/components/I18nProvider/I18nProvider.d.ts +0 -10
- package/dist/components/I18nProvider/index.d.ts +0 -4
- package/dist/components/Icon/Icon.d.ts +0 -4
- package/dist/components/Icon/Icon.types.d.ts +0 -36
- package/dist/components/Icon/index.d.ts +0 -2
- package/dist/components/ImageDropZone/ImageDropZone.css.d.ts +0 -76
- package/dist/components/ImageDropZone/ImageDropZone.d.ts +0 -3
- package/dist/components/ImageDropZone/ImageDropZone.types.d.ts +0 -50
- package/dist/components/ImageDropZone/index.d.ts +0 -2
- package/dist/components/ImageDropZone/intl/index.d.ts +0 -135
- package/dist/components/ImageGallery/AdaptiveText.d.ts +0 -13
- package/dist/components/ImageGallery/ImageGallery.css.d.ts +0 -86
- package/dist/components/ImageGallery/ImageGallery.d.ts +0 -18
- package/dist/components/ImageGallery/ImageGallery.types.d.ts +0 -130
- package/dist/components/ImageGallery/ImageGalleryDragPreview.d.ts +0 -22
- package/dist/components/ImageGallery/ImageGalleryItem.d.ts +0 -3
- package/dist/components/ImageGallery/index.d.ts +0 -2
- package/dist/components/ImageGallery/utils.d.ts +0 -10
- package/dist/components/InlineAlert/InlineAlert.css.d.ts +0 -214
- package/dist/components/InlineAlert/InlineAlert.d.ts +0 -3
- package/dist/components/InlineAlert/InlineAlert.types.d.ts +0 -38
- package/dist/components/InlineAlert/index.d.ts +0 -2
- package/dist/components/InlineAlert/intl/index.d.ts +0 -102
- package/dist/components/InlineToolbar/InlineToolbar.css.d.ts +0 -50
- package/dist/components/InlineToolbar/InlineToolbar.d.ts +0 -3
- package/dist/components/InlineToolbar/InlineToolbar.types.d.ts +0 -63
- package/dist/components/InlineToolbar/InlineToolbarButton.d.ts +0 -3
- package/dist/components/InlineToolbar/index.d.ts +0 -2
- package/dist/components/Kbd/Kbd.css.d.ts +0 -1
- package/dist/components/Kbd/Kbd.d.ts +0 -3
- package/dist/components/Kbd/Kbd.types.d.ts +0 -21
- package/dist/components/Kbd/index.d.ts +0 -2
- package/dist/components/Link/Link.css.d.ts +0 -41
- package/dist/components/Link/Link.d.ts +0 -3
- package/dist/components/Link/Link.types.d.ts +0 -26
- package/dist/components/Link/index.d.ts +0 -2
- package/dist/components/ListBox/DefaultListOption.d.ts +0 -22
- package/dist/components/ListBox/DropIndicator.d.ts +0 -11
- package/dist/components/ListBox/ListBox.css.d.ts +0 -91
- package/dist/components/ListBox/ListBox.d.ts +0 -6
- package/dist/components/ListBox/ListBox.types.d.ts +0 -104
- package/dist/components/ListBox/ListBoxSection.d.ts +0 -14
- package/dist/components/ListBox/ListOption.d.ts +0 -17
- package/dist/components/ListBox/hooks/useDragAndDrop.d.ts +0 -3
- package/dist/components/ListBox/hooks/useDragAutoScroll.d.ts +0 -5
- package/dist/components/ListBox/hooks/useDragDrop.d.ts +0 -33
- package/dist/components/ListBox/hooks/useSharedList.d.ts +0 -8
- package/dist/components/ListBox/index.d.ts +0 -4
- package/dist/components/Markdown/Markdown.css.d.ts +0 -3
- package/dist/components/Markdown/Markdown.d.ts +0 -3
- package/dist/components/Markdown/Markdown.types.d.ts +0 -7
- package/dist/components/Markdown/index.d.ts +0 -3
- package/dist/components/Menu/Menu.css.d.ts +0 -2
- package/dist/components/Menu/Menu.d.ts +0 -3
- package/dist/components/Menu/Menu.types.d.ts +0 -63
- package/dist/components/Menu/index.d.ts +0 -2
- package/dist/components/MessageFormat/MessageFormat.d.ts +0 -3
- package/dist/components/MessageFormat/MessageFormat.types.d.ts +0 -14
- package/dist/components/MessageFormat/index.d.ts +0 -2
- package/dist/components/Modal/Modal.css.d.ts +0 -39
- package/dist/components/Modal/Modal.d.ts +0 -11
- package/dist/components/Modal/Modal.types.d.ts +0 -70
- package/dist/components/Modal/ModalClose.d.ts +0 -4
- package/dist/components/Modal/ModalContent.d.ts +0 -13
- package/dist/components/Modal/ModalContentCore.d.ts +0 -3
- package/dist/components/Modal/ModalTrigger.d.ts +0 -4
- package/dist/components/Modal/hooks/useDialogPosition.d.ts +0 -13
- package/dist/components/Modal/index.d.ts +0 -5
- package/dist/components/NumberFormat/NumberFormat.d.ts +0 -3
- package/dist/components/NumberFormat/NumberFormat.types.d.ts +0 -5
- package/dist/components/NumberFormat/index.d.ts +0 -2
- package/dist/components/NumberInput/NumberInput.css.d.ts +0 -9
- package/dist/components/NumberInput/NumberInput.d.ts +0 -3
- package/dist/components/NumberInput/NumberInput.types.d.ts +0 -26
- package/dist/components/NumberInput/index.d.ts +0 -2
- package/dist/components/Pagination/Pagination.css.d.ts +0 -84
- package/dist/components/Pagination/Pagination.d.ts +0 -3
- package/dist/components/Pagination/Pagination.types.d.ts +0 -25
- package/dist/components/Pagination/index.d.ts +0 -2
- package/dist/components/Pagination/intl/index.d.ts +0 -201
- package/dist/components/Panel/Panel.css.d.ts +0 -1
- package/dist/components/Panel/Panel.d.ts +0 -2
- package/dist/components/Panel/Panel.types.d.ts +0 -72
- package/dist/components/Panel/PanelContext.d.ts +0 -6
- package/dist/components/Panel/PanelGroup.d.ts +0 -2
- package/dist/components/Panel/PanelResizeHandle.d.ts +0 -5
- package/dist/components/Panel/index.d.ts +0 -4
- package/dist/components/PointPicker/Grid.d.ts +0 -7
- package/dist/components/PointPicker/PointPicker.css.d.ts +0 -37
- package/dist/components/PointPicker/PointPicker.d.ts +0 -22
- package/dist/components/PointPicker/PointPicker.types.d.ts +0 -116
- package/dist/components/PointPicker/PointPickerContent/PointPickerContent.d.ts +0 -3
- package/dist/components/PointPicker/PointPickerContent/PointPickerIndicator.d.ts +0 -8
- package/dist/components/PointPicker/PointPickerContent/hooks/useCoordinatesRelativeToWindow.d.ts +0 -4
- package/dist/components/PointPicker/PointPickerContent/hooks/usePointPickerKeyboard.d.ts +0 -3
- package/dist/components/PointPicker/PointPickerContent/index.d.ts +0 -1
- package/dist/components/PointPicker/PointPickerDisplay/Floater.d.ts +0 -7
- package/dist/components/PointPicker/PointPickerDisplay/MagnifierContent.d.ts +0 -8
- package/dist/components/PointPicker/PointPickerDisplay/PointPickerDisplay.d.ts +0 -3
- package/dist/components/PointPicker/PointPickerDisplay/hooks/useIndicatorWidthObserver.d.ts +0 -1
- package/dist/components/PointPicker/PointPickerDisplay/index.d.ts +0 -1
- package/dist/components/PointPicker/PointsVisualiser/PointsVisualiser.d.ts +0 -11
- package/dist/components/PointPicker/PointsVisualiser/canvasUtils.d.ts +0 -20
- package/dist/components/PointPicker/PointsVisualiser/hooks/usePointProximity.d.ts +0 -12
- package/dist/components/PointPicker/hooks/usePointPicker.d.ts +0 -4
- package/dist/components/PointPicker/index.d.ts +0 -5
- package/dist/components/PointPicker/workers/canvas.worker.d.ts +0 -1
- package/dist/components/PointPicker/workers/pointProximity.worker.d.ts +0 -1
- package/dist/components/Popover/Arrow.d.ts +0 -7
- package/dist/components/Popover/Popover.css.d.ts +0 -55
- package/dist/components/Popover/Popover.d.ts +0 -10
- package/dist/components/Popover/Popover.types.d.ts +0 -133
- package/dist/components/Popover/PopoverContent.d.ts +0 -3
- package/dist/components/Popover/PopoverContentCore.d.ts +0 -7
- package/dist/components/Popover/PopoverTrigger.d.ts +0 -8
- package/dist/components/Popover/hooks/usePopoverScrollReposition.d.ts +0 -22
- package/dist/components/Popover/hooks/usePopoverTransition.d.ts +0 -23
- package/dist/components/Popover/index.d.ts +0 -4
- package/dist/components/Portal/Portal.d.ts +0 -3
- package/dist/components/Portal/Portal.types.d.ts +0 -4
- package/dist/components/Portal/index.d.ts +0 -2
- package/dist/components/PortalContainerProvider/PortalContainerProvider.d.ts +0 -4
- package/dist/components/PortalContainerProvider/PortalContainerProvider.types.d.ts +0 -12
- package/dist/components/PortalContainerProvider/index.d.ts +0 -1
- package/dist/components/Preview/Preview.css.d.ts +0 -50
- package/dist/components/Preview/Preview.d.ts +0 -3
- package/dist/components/Preview/Preview.types.d.ts +0 -59
- package/dist/components/Preview/index.d.ts +0 -2
- package/dist/components/ProgressBar/ProgressBar.css.d.ts +0 -48
- package/dist/components/ProgressBar/ProgressBar.d.ts +0 -3
- package/dist/components/ProgressBar/ProgressBar.types.d.ts +0 -20
- package/dist/components/ProgressBar/index.d.ts +0 -2
- package/dist/components/ProgressSpinner/ProgressSpinner.css.d.ts +0 -9
- package/dist/components/ProgressSpinner/ProgressSpinner.d.ts +0 -3
- package/dist/components/ProgressSpinner/ProgressSpinner.types.d.ts +0 -16
- package/dist/components/ProgressSpinner/index.d.ts +0 -2
- package/dist/components/RadioGroup/RadioGroup.css.d.ts +0 -26
- package/dist/components/RadioGroup/RadioGroup.d.ts +0 -3
- package/dist/components/RadioGroup/RadioGroup.types.d.ts +0 -67
- package/dist/components/RadioGroup/RadioItem.d.ts +0 -11
- package/dist/components/RadioGroup/index.d.ts +0 -2
- package/dist/components/Reaction/Reaction.css.d.ts +0 -74
- package/dist/components/Reaction/Reaction.d.ts +0 -3
- package/dist/components/Reaction/Reaction.types.d.ts +0 -13
- package/dist/components/Reaction/index.d.ts +0 -2
- package/dist/components/ScrollControlButton/ScrollControlButton.css.d.ts +0 -1
- package/dist/components/ScrollControlButton/ScrollControlButton.d.ts +0 -3
- package/dist/components/ScrollControlButton/ScrollControlButton.types.d.ts +0 -31
- package/dist/components/ScrollControlButton/index.d.ts +0 -3
- package/dist/components/SearchInput/SearchInput.css.d.ts +0 -64
- package/dist/components/SearchInput/SearchInput.d.ts +0 -3
- package/dist/components/SearchInput/SearchInput.types.d.ts +0 -27
- package/dist/components/SearchInput/index.d.ts +0 -2
- package/dist/components/Select/IconSelect.d.ts +0 -3
- package/dist/components/Select/Select.css.d.ts +0 -58
- package/dist/components/Select/Select.d.ts +0 -9
- package/dist/components/Select/Select.types.d.ts +0 -87
- package/dist/components/Select/SelectButton.d.ts +0 -3
- package/dist/components/Select/index.d.ts +0 -3
- package/dist/components/Separator/Separator.css.d.ts +0 -19
- package/dist/components/Separator/Separator.d.ts +0 -3
- package/dist/components/Separator/Separator.types.d.ts +0 -12
- package/dist/components/Separator/index.d.ts +0 -2
- package/dist/components/Skeleton/Skeleton.css.d.ts +0 -1
- package/dist/components/Skeleton/Skeleton.d.ts +0 -3
- package/dist/components/Skeleton/Skeleton.types.d.ts +0 -7
- package/dist/components/Skeleton/index.d.ts +0 -2
- package/dist/components/Slider/IconSlider.d.ts +0 -3
- package/dist/components/Slider/Slider.css.d.ts +0 -133
- package/dist/components/Slider/Slider.d.ts +0 -3
- package/dist/components/Slider/Slider.types.d.ts +0 -42
- package/dist/components/Slider/index.d.ts +0 -3
- package/dist/components/StatusCard/StatusCard.css.d.ts +0 -87
- package/dist/components/StatusCard/StatusCard.d.ts +0 -10
- package/dist/components/StatusCard/StatusCard.types.d.ts +0 -34
- package/dist/components/StatusCard/index.d.ts +0 -3
- package/dist/components/Switch/Switch.css.d.ts +0 -67
- package/dist/components/Switch/Switch.d.ts +0 -3
- package/dist/components/Switch/Switch.types.d.ts +0 -15
- package/dist/components/Switch/index.d.ts +0 -2
- package/dist/components/Table/Table.css.d.ts +0 -111
- package/dist/components/Table/Table.d.ts +0 -8
- package/dist/components/Table/Table.types.d.ts +0 -26
- package/dist/components/Table/hooks/useTableDragAndDrop.d.ts +0 -8
- package/dist/components/Table/index.d.ts +0 -3
- package/dist/components/Tabs/TabItem.d.ts +0 -3
- package/dist/components/Tabs/TabPanel.d.ts +0 -9
- package/dist/components/Tabs/Tabs.css.d.ts +0 -122
- package/dist/components/Tabs/Tabs.d.ts +0 -3
- package/dist/components/Tabs/Tabs.types.d.ts +0 -66
- package/dist/components/Tabs/TabsBase.d.ts +0 -7
- package/dist/components/Tabs/index.d.ts +0 -3
- package/dist/components/Tag/Tag.css.d.ts +0 -215
- package/dist/components/Tag/Tag.d.ts +0 -3
- package/dist/components/Tag/Tag.types.d.ts +0 -43
- package/dist/components/Tag/TagContext.d.ts +0 -15
- package/dist/components/Tag/index.d.ts +0 -2
- package/dist/components/TagGroup/TagGroup.css.d.ts +0 -1
- package/dist/components/TagGroup/TagGroup.d.ts +0 -3
- package/dist/components/TagGroup/TagGroup.types.d.ts +0 -38
- package/dist/components/TagGroup/index.d.ts +0 -2
- package/dist/components/TaggedPagination/TaggedPagination.css.d.ts +0 -70
- package/dist/components/TaggedPagination/TaggedPagination.d.ts +0 -3
- package/dist/components/TaggedPagination/TaggedPagination.types.d.ts +0 -50
- package/dist/components/TaggedPagination/index.d.ts +0 -2
- package/dist/components/Text/Text.css.d.ts +0 -51
- package/dist/components/Text/Text.d.ts +0 -3
- package/dist/components/Text/Text.types.d.ts +0 -24
- package/dist/components/Text/index.d.ts +0 -2
- package/dist/components/TextInput/TextInput.css.d.ts +0 -183
- package/dist/components/TextInput/TextInput.d.ts +0 -3
- package/dist/components/TextInput/TextInput.types.d.ts +0 -18
- package/dist/components/TextInput/index.d.ts +0 -2
- package/dist/components/TextInput/utils/getMessage.d.ts +0 -12
- package/dist/components/TextInput/utils/getStatusIcon.d.ts +0 -6
- package/dist/components/ThemeProvider/ThemeProvider.context.d.ts +0 -6
- package/dist/components/ThemeProvider/ThemeProvider.css.d.ts +0 -1
- package/dist/components/ThemeProvider/ThemeProvider.d.ts +0 -3
- package/dist/components/ThemeProvider/ThemeProvider.types.d.ts +0 -29
- package/dist/components/ThemeProvider/hooks/useUserPreferences.d.ts +0 -19
- package/dist/components/ThemeProvider/index.d.ts +0 -6
- package/dist/components/TimeField/DateTimeSegment.d.ts +0 -5
- package/dist/components/TimeField/TimeField.css.d.ts +0 -16
- package/dist/components/TimeField/TimeField.d.ts +0 -3
- package/dist/components/TimeField/TimeField.types.d.ts +0 -6
- package/dist/components/TimeField/index.d.ts +0 -3
- package/dist/components/Toast/Toast.css.d.ts +0 -34
- package/dist/components/Toast/Toast.d.ts +0 -3
- package/dist/components/Toast/Toast.types.d.ts +0 -14
- package/dist/components/Toast/index.d.ts +0 -4
- package/dist/components/ToggleButton/ToggleButton.css.d.ts +0 -74
- package/dist/components/ToggleButton/ToggleButton.d.ts +0 -3
- package/dist/components/ToggleButton/ToggleButton.types.d.ts +0 -27
- package/dist/components/ToggleButton/index.d.ts +0 -2
- package/dist/components/ToggleIconButton/ToggleIconButton.css.d.ts +0 -149
- package/dist/components/ToggleIconButton/ToggleIconButton.d.ts +0 -3
- package/dist/components/ToggleIconButton/ToggleIconButton.types.d.ts +0 -30
- package/dist/components/ToggleIconButton/index.d.ts +0 -2
- package/dist/components/Toolbar/CollapsibleToolbar.d.ts +0 -3
- package/dist/components/Toolbar/Toolbar.css.d.ts +0 -2
- package/dist/components/Toolbar/Toolbar.d.ts +0 -3
- package/dist/components/Toolbar/Toolbar.types.d.ts +0 -47
- package/dist/components/Toolbar/WrappedToolbar.d.ts +0 -3
- package/dist/components/Toolbar/hooks/useFormattedList.d.ts +0 -3
- package/dist/components/Toolbar/hooks/useInputAwareToolbar.d.ts +0 -6
- package/dist/components/Toolbar/index.d.ts +0 -3
- package/dist/components/Tooltip/Tooltip.css.d.ts +0 -44
- package/dist/components/Tooltip/Tooltip.d.ts +0 -3
- package/dist/components/Tooltip/Tooltip.types.d.ts +0 -55
- package/dist/components/Tooltip/TooltipContent.d.ts +0 -15
- package/dist/components/Tooltip/index.d.ts +0 -3
- package/dist/components/TreeView/TreeItem.d.ts +0 -7
- package/dist/components/TreeView/TreeView.css.d.ts +0 -34
- package/dist/components/TreeView/TreeView.d.ts +0 -8
- package/dist/components/TreeView/TreeView.types.d.ts +0 -95
- package/dist/components/TreeView/index.d.ts +0 -2
- package/dist/components/UNSAFE_ListBox/ListBox.css.d.ts +0 -92
- package/dist/components/UNSAFE_ListBox/ListBox.d.ts +0 -13
- package/dist/components/UNSAFE_ListBox/ListBox.types.d.ts +0 -84
- package/dist/components/UNSAFE_ListBox/ListBoxUI.d.ts +0 -19
- package/dist/components/UNSAFE_ListBox/hooks/useDragAndDrop.d.ts +0 -3
- package/dist/components/UNSAFE_ListBox/index.d.ts +0 -3
- package/dist/components/Virtualizer/LocaleAwareGridLayout.d.ts +0 -17
- package/dist/components/Virtualizer/Virtualizer.types.d.ts +0 -6
- package/dist/components/Virtualizer/index.d.ts +0 -36
- package/dist/components/index.d.ts +0 -81
- package/dist/components/shared/buttons.d.ts +0 -30
- package/dist/components/shared/collection.d.ts +0 -3
- package/dist/components/shared/components/DragPreviewContent.d.ts +0 -12
- package/dist/components/shared/components/IconWithTooltip.d.ts +0 -8
- package/dist/components/shared/components/ListCollectionBuilder.d.ts +0 -9
- package/dist/components/shared/components/OverlayEventLeakPreventionLayer.d.ts +0 -8
- package/dist/components/shared/components/SharedInput/SharedInput.d.ts +0 -3
- package/dist/components/shared/components/SharedInput/SharedInput.types.d.ts +0 -34
- package/dist/components/shared/components/SharedInput/index.d.ts +0 -1
- package/dist/components/shared/tooltips.d.ts +0 -11
- package/dist/components/shared/types/IconComponent.d.ts +0 -21
- package/dist/components/shared/types/List.d.ts +0 -17
- package/dist/hooks/index.d.ts +0 -13
- package/dist/hooks/useDevice.d.ts +0 -20
- package/dist/hooks/useI18n.d.ts +0 -59
- package/dist/hooks/useImage.d.ts +0 -23
- package/dist/hooks/useIntersectionObserver.d.ts +0 -44
- package/dist/hooks/useIsFirstRender.d.ts +0 -21
- package/dist/hooks/useIsTouchDevice.d.ts +0 -7
- package/dist/hooks/useLiveInteractionModality.d.ts +0 -13
- package/dist/hooks/useLocalStorage.d.ts +0 -20
- package/dist/hooks/useMedia.d.ts +0 -13
- package/dist/hooks/useMutationObserver.d.ts +0 -20
- package/dist/hooks/usePortalContainer.d.ts +0 -11
- package/dist/hooks/usePreventFocus.d.ts +0 -23
- package/dist/hooks/useResizeObserver.d.ts +0 -38
- package/dist/hooks/useTextSelection.d.ts +0 -29
- package/dist/hooks/useUndoRedo.d.ts +0 -44
- package/dist/utils/a11y.d.ts +0 -1
- package/dist/utils/classNames.d.ts +0 -17
- package/dist/utils/colors.d.ts +0 -11
- package/dist/utils/constants.d.ts +0 -1
- package/dist/utils/devWarn.d.ts +0 -1
- package/dist/utils/dom.d.ts +0 -130
- package/dist/utils/index.d.ts +0 -18
- package/dist/utils/invariant.d.ts +0 -18
- package/dist/utils/isInIframe.d.ts +0 -12
- package/dist/utils/isInShadowDOM.d.ts +0 -11
- package/dist/utils/isRect.d.ts +0 -7
- package/dist/utils/keyboards.d.ts +0 -13
- package/dist/utils/math.d.ts +0 -1
- package/dist/utils/objects.d.ts +0 -20
- package/dist/utils/overlays.d.ts +0 -6
- package/dist/utils/reactAriaCompat.d.ts +0 -22
- package/dist/utils/reactAriaComponentsCompat.d.ts +0 -4
- package/dist/utils/resolveAriaLabelAttrs.d.ts +0 -22
- package/dist/utils/resolvePublicUrl.d.ts +0 -1
- package/dist/utils/strings.d.ts +0 -6
- package/dist/utils/style.d.ts +0 -5
- package/dist/utils/styleMixins.css.d.ts +0 -16
- package/dist/utils/svgs.d.ts +0 -15
- package/dist/utils/types/Shared.d.ts +0 -34
- package/dist/utils/validations.d.ts +0 -13
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
export declare const btnSizeCn: ((options?: {
|
|
2
|
-
size?: "xs" | "sm" | "lg" | "md" | "xxs" | undefined;
|
|
3
|
-
} | undefined) => string) & {
|
|
4
|
-
variants: () => "size"[];
|
|
5
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
6
|
-
size: {
|
|
7
|
-
xxs: {
|
|
8
|
-
minHeight: number;
|
|
9
|
-
};
|
|
10
|
-
xs: {
|
|
11
|
-
minHeight: number;
|
|
12
|
-
};
|
|
13
|
-
sm: {
|
|
14
|
-
minHeight: number;
|
|
15
|
-
};
|
|
16
|
-
md: {
|
|
17
|
-
minHeight: number;
|
|
18
|
-
};
|
|
19
|
-
lg: {
|
|
20
|
-
minHeight: number;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
}>;
|
|
24
|
-
};
|
|
25
|
-
export declare const toolbarIconButtonCn: ((options?: {
|
|
26
|
-
isHovered?: boolean | undefined;
|
|
27
|
-
isFocusVisible?: boolean | undefined;
|
|
28
|
-
isSelected?: boolean | undefined;
|
|
29
|
-
isDisabled?: boolean | undefined;
|
|
30
|
-
} | undefined) => string) & {
|
|
31
|
-
variants: () => ("isSelected" | "isHovered" | "isDisabled" | "isFocusVisible")[];
|
|
32
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
33
|
-
isHovered: {
|
|
34
|
-
true: {};
|
|
35
|
-
};
|
|
36
|
-
isFocusVisible: {
|
|
37
|
-
true: {};
|
|
38
|
-
};
|
|
39
|
-
isSelected: {
|
|
40
|
-
true: {};
|
|
41
|
-
};
|
|
42
|
-
isDisabled: {
|
|
43
|
-
true: (string | {
|
|
44
|
-
"__@@Component_Sprinkles__": boolean;
|
|
45
|
-
baseSprinkles: string;
|
|
46
|
-
variantSprinkles: string;
|
|
47
|
-
compoundVariantSprinkles: string;
|
|
48
|
-
} | {
|
|
49
|
-
backgroundColor: `var(--${string})`;
|
|
50
|
-
})[];
|
|
51
|
-
};
|
|
52
|
-
}>;
|
|
53
|
-
};
|
|
54
|
-
export declare const primaryIconButtonCn: ((options?: {
|
|
55
|
-
isHovered?: boolean | undefined;
|
|
56
|
-
isFocusVisible?: boolean | undefined;
|
|
57
|
-
isDisabled?: boolean | undefined;
|
|
58
|
-
isSelected?: boolean | undefined;
|
|
59
|
-
} | undefined) => string) & {
|
|
60
|
-
variants: () => ("isSelected" | "isHovered" | "isDisabled" | "isFocusVisible")[];
|
|
61
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
62
|
-
isHovered: {
|
|
63
|
-
true: {};
|
|
64
|
-
};
|
|
65
|
-
isFocusVisible: {
|
|
66
|
-
true: {};
|
|
67
|
-
};
|
|
68
|
-
isDisabled: {
|
|
69
|
-
true: (string | {
|
|
70
|
-
"__@@Component_Sprinkles__": boolean;
|
|
71
|
-
baseSprinkles: string;
|
|
72
|
-
variantSprinkles: string;
|
|
73
|
-
compoundVariantSprinkles: string;
|
|
74
|
-
})[];
|
|
75
|
-
};
|
|
76
|
-
isSelected: {
|
|
77
|
-
true: {};
|
|
78
|
-
};
|
|
79
|
-
}>;
|
|
80
|
-
};
|
|
81
|
-
export declare const secondaryIconButtonCn: ((options?: {
|
|
82
|
-
isHovered?: boolean | undefined;
|
|
83
|
-
isFocusVisible?: boolean | undefined;
|
|
84
|
-
isSelected?: boolean | undefined;
|
|
85
|
-
isDisabled?: boolean | undefined;
|
|
86
|
-
} | undefined) => string) & {
|
|
87
|
-
variants: () => ("isSelected" | "isHovered" | "isDisabled" | "isFocusVisible")[];
|
|
88
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
89
|
-
isHovered: {
|
|
90
|
-
true: {};
|
|
91
|
-
};
|
|
92
|
-
isFocusVisible: {
|
|
93
|
-
true: {
|
|
94
|
-
"__@@Component_Sprinkles__": boolean;
|
|
95
|
-
baseSprinkles: string;
|
|
96
|
-
variantSprinkles: string;
|
|
97
|
-
compoundVariantSprinkles: string;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
isSelected: {
|
|
101
|
-
true: {
|
|
102
|
-
"__@@Component_Sprinkles__": boolean;
|
|
103
|
-
baseSprinkles: string;
|
|
104
|
-
variantSprinkles: string;
|
|
105
|
-
compoundVariantSprinkles: string;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
isDisabled: {
|
|
109
|
-
true: (string | {
|
|
110
|
-
"__@@Component_Sprinkles__": boolean;
|
|
111
|
-
baseSprinkles: string;
|
|
112
|
-
variantSprinkles: string;
|
|
113
|
-
compoundVariantSprinkles: string;
|
|
114
|
-
})[];
|
|
115
|
-
};
|
|
116
|
-
}>;
|
|
117
|
-
};
|
|
118
|
-
export declare const tertiaryIconButtonCn: ((options?: {
|
|
119
|
-
isHovered?: boolean | undefined;
|
|
120
|
-
isFocusVisible?: boolean | undefined;
|
|
121
|
-
isSelected?: boolean | undefined;
|
|
122
|
-
isDisabled?: boolean | undefined;
|
|
123
|
-
} | undefined) => string) & {
|
|
124
|
-
variants: () => ("isSelected" | "isHovered" | "isDisabled" | "isFocusVisible")[];
|
|
125
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
126
|
-
isHovered: {
|
|
127
|
-
true: {};
|
|
128
|
-
};
|
|
129
|
-
isFocusVisible: {
|
|
130
|
-
true: {
|
|
131
|
-
"__@@Component_Sprinkles__": boolean;
|
|
132
|
-
baseSprinkles: string;
|
|
133
|
-
variantSprinkles: string;
|
|
134
|
-
compoundVariantSprinkles: string;
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
isSelected: {
|
|
138
|
-
true: {};
|
|
139
|
-
};
|
|
140
|
-
isDisabled: {
|
|
141
|
-
true: (string | {
|
|
142
|
-
"__@@Component_Sprinkles__": boolean;
|
|
143
|
-
baseSprinkles: string;
|
|
144
|
-
variantSprinkles: string;
|
|
145
|
-
compoundVariantSprinkles: string;
|
|
146
|
-
})[];
|
|
147
|
-
};
|
|
148
|
-
}>;
|
|
149
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { StylingProps } from "../../utils";
|
|
2
|
-
import type { StylingWithUIState } from "../ActionButton/ActionButton.types";
|
|
3
|
-
import type { ActionIconButtonProps } from "../ActionIconButton";
|
|
4
|
-
import type { IconProps } from "../Icon";
|
|
5
|
-
import type { ToggleButtonProps } from "../ToggleButton";
|
|
6
|
-
import type React from "react";
|
|
7
|
-
import type { ToggleProps } from "react-stately";
|
|
8
|
-
export interface ToggleIconButtonProps extends Omit<StylingProps, "style" | "className">, Omit<ToggleProps, "children">, Omit<ToggleButtonProps, "size" | "iconStart" | "label" | "variant">, Pick<ActionIconButtonProps, "tooltip">, StylingWithUIState<{
|
|
9
|
-
isSelected?: boolean;
|
|
10
|
-
}> {
|
|
11
|
-
/**
|
|
12
|
-
* The available sizes for a variable.
|
|
13
|
-
*
|
|
14
|
-
* @default "md"
|
|
15
|
-
*/
|
|
16
|
-
size?: "xxs" | "xs" | "sm" | "md" | "lg";
|
|
17
|
-
/** Represents the variant of a component. */
|
|
18
|
-
variant?: "primary" | "secondary" | "tertiary" | "toolbar";
|
|
19
|
-
/**
|
|
20
|
-
* The icon to be displayed on the button. You can pass an object with
|
|
21
|
-
* `selected` and `unselected` keys to display different icons based on the
|
|
22
|
-
* state of the button.
|
|
23
|
-
*/
|
|
24
|
-
icon: React.FC<IconProps> | {
|
|
25
|
-
selected: React.FC<IconProps>;
|
|
26
|
-
unselected: React.FC<IconProps>;
|
|
27
|
-
};
|
|
28
|
-
/** Indicates whether focusing should be prevented on press. */
|
|
29
|
-
preventFocusOnPress?: boolean;
|
|
30
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type { StylingProps } from "../../utils";
|
|
2
|
-
import type { MenuProps } from "../Menu";
|
|
3
|
-
import type { KeyboardProps } from "@react-aria/interactions";
|
|
4
|
-
import type { AriaToolbarProps } from "@react-aria/toolbar";
|
|
5
|
-
import type React from "react";
|
|
6
|
-
export interface ToolbarProps extends StylingProps, AriaToolbarProps {
|
|
7
|
-
/** The children of the toolbar. */
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* Identifies the element (or elements) whose contents or presence are
|
|
11
|
-
* controlled by the current element.
|
|
12
|
-
*/
|
|
13
|
-
"aria-controls"?: string;
|
|
14
|
-
/**
|
|
15
|
-
* This prop is used to determine if the toolbar should be collapsible. If
|
|
16
|
-
* true, the buttons in the toolbar will be hidden behind a menu when the
|
|
17
|
-
* toolbar is too small to display all of the buttons.
|
|
18
|
-
*
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
|
-
isCollapsible?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* The props to pass to the Menu component when the toolbar is collapsible.
|
|
24
|
-
* This prop is only relevant when `isCollapsible` is true.
|
|
25
|
-
*/
|
|
26
|
-
collapsibleMenuProps?: Omit<MenuProps, "items" | "onAction" | "placement" | "disabledKeys">;
|
|
27
|
-
/**
|
|
28
|
-
* A boolean indicating whether to render a spacer element in the collapsible
|
|
29
|
-
* toolbar between the toolbar buttons and the menu trigger. This prop is only
|
|
30
|
-
* relevant when `isCollapsible` is true.
|
|
31
|
-
*/
|
|
32
|
-
renderSpacer?: boolean;
|
|
33
|
-
/** The callback to call when any key is pressed. */
|
|
34
|
-
onKeyDown?: KeyboardProps["onKeyDown"];
|
|
35
|
-
/**
|
|
36
|
-
* When set to true, the toolbar will act as a normal toolbar and will not
|
|
37
|
-
* contain the navigation within it when the user presses tab again.
|
|
38
|
-
*
|
|
39
|
-
* When set to false, the toolbar will allow for navigating through all
|
|
40
|
-
* elements within it if the user presses tab, and move to the next focusable
|
|
41
|
-
* element outside of the toolbar only after user navigates through all
|
|
42
|
-
* elements within the toolbar.
|
|
43
|
-
*
|
|
44
|
-
* @default true
|
|
45
|
-
*/
|
|
46
|
-
isSingleTabStop?: boolean;
|
|
47
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export declare const ARROW_HEIGHT = 8;
|
|
2
|
-
export declare const arrowCn: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
3
|
-
placement: {
|
|
4
|
-
bottom: {
|
|
5
|
-
transform: "translate(-50%, -7px)";
|
|
6
|
-
};
|
|
7
|
-
left: {
|
|
8
|
-
transform: "translate(10px, -50%) rotate(90deg)";
|
|
9
|
-
right: number;
|
|
10
|
-
};
|
|
11
|
-
right: {
|
|
12
|
-
transform: "translate(-10px, -50%) rotate(270deg)";
|
|
13
|
-
left: number;
|
|
14
|
-
};
|
|
15
|
-
top: {
|
|
16
|
-
transform: "translate(-50%, 7px) rotate(180deg)";
|
|
17
|
-
bottom: number;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
variant: {
|
|
21
|
-
default: {
|
|
22
|
-
borderBottomColor: `var(--${string})`;
|
|
23
|
-
};
|
|
24
|
-
inverse: {
|
|
25
|
-
borderBottomColor: `var(--${string})`;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
}>;
|
|
29
|
-
export declare const tooltipContentCn: ((options?: {
|
|
30
|
-
size?: "sm" | "md" | undefined;
|
|
31
|
-
variant?: "default" | "inverse" | undefined;
|
|
32
|
-
} | undefined) => string) & {
|
|
33
|
-
variants: () => ("size" | "variant")[];
|
|
34
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
35
|
-
size: {
|
|
36
|
-
md: string;
|
|
37
|
-
sm: string;
|
|
38
|
-
};
|
|
39
|
-
variant: {
|
|
40
|
-
default: string;
|
|
41
|
-
inverse: string;
|
|
42
|
-
};
|
|
43
|
-
}>;
|
|
44
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { StylingProps } from "../../utils";
|
|
2
|
-
import type { DOMAttributes } from "@react-types/shared";
|
|
3
|
-
import type React from "react";
|
|
4
|
-
import type { AriaPositionProps, AriaTooltipProps, FocusableOptions } from "react-aria";
|
|
5
|
-
import type { TooltipTriggerProps } from "react-stately";
|
|
6
|
-
export interface TooltipProps extends StylingProps, TooltipTriggerProps, AriaTooltipProps, Omit<AriaPositionProps, "overlayRef" | "targetRef" | "maxHeight" | "isOpen" | "arrowSize"> {
|
|
7
|
-
/** The content of the tooltip. */
|
|
8
|
-
text?: string;
|
|
9
|
-
/** The tooltip trigger element. */
|
|
10
|
-
children: React.ReactNode | ((props: {
|
|
11
|
-
triggerProps: DOMAttributes;
|
|
12
|
-
triggerRef: React.RefObject<HTMLElement>;
|
|
13
|
-
}) => React.ReactNode);
|
|
14
|
-
/**
|
|
15
|
-
* The delay time for the tooltip to show up.
|
|
16
|
-
*
|
|
17
|
-
* @default 1000
|
|
18
|
-
*/
|
|
19
|
-
delay?: number;
|
|
20
|
-
/**
|
|
21
|
-
* The delay time for the tooltip to hide.
|
|
22
|
-
*
|
|
23
|
-
* @default 500
|
|
24
|
-
*/
|
|
25
|
-
closeDelay?: number;
|
|
26
|
-
/**
|
|
27
|
-
* Represents the size of an element.
|
|
28
|
-
*
|
|
29
|
-
* @default md
|
|
30
|
-
*/
|
|
31
|
-
size?: "sm" | "md";
|
|
32
|
-
/**
|
|
33
|
-
* The variant that can be applied to an element.
|
|
34
|
-
*
|
|
35
|
-
* @default default
|
|
36
|
-
*/
|
|
37
|
-
variant?: "default" | "inverse";
|
|
38
|
-
/**
|
|
39
|
-
* Indicates whether to include an arrow in the output.
|
|
40
|
-
*
|
|
41
|
-
* @default true
|
|
42
|
-
*/
|
|
43
|
-
includeArrow?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* The container element for the modal. By default, the modal is rendered as a
|
|
46
|
-
* child of the body element.
|
|
47
|
-
*
|
|
48
|
-
* @default document.body
|
|
49
|
-
*/
|
|
50
|
-
portalContainer?: HTMLElement;
|
|
51
|
-
}
|
|
52
|
-
export interface FocusableProps extends FocusableOptions, StylingProps {
|
|
53
|
-
/** The content of the focusable element. */
|
|
54
|
-
children: React.ReactNode;
|
|
55
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { TooltipProps } from "./Tooltip.types";
|
|
3
|
-
import type { DOMAttributes } from "@react-types/shared";
|
|
4
|
-
import type { PlacementAxis } from "react-aria";
|
|
5
|
-
import type { TooltipTriggerState } from "react-stately";
|
|
6
|
-
export declare const TooltipContent: React.ForwardRefExoticComponent<TooltipContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
interface TooltipContentProps extends Pick<TooltipProps, "variant" | "size" | "includeArrow"> {
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
state: TooltipTriggerState;
|
|
10
|
-
arrowProps: DOMAttributes;
|
|
11
|
-
overlayProps: DOMAttributes;
|
|
12
|
-
placement: PlacementAxis;
|
|
13
|
-
tooltipProps: DOMAttributes;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { TreeListItem, TreeViewProps } from "./TreeView.types";
|
|
3
|
-
interface TreeLeafProps extends Pick<TreeViewProps, "actionsPosition" | "onPrimaryAction" | "onSecondaryAction" | "primaryActionIcon" | "secondaryActionIcon" | "primaryActionAriaLabel" | "secondaryActionAriaLabel" | "onRename" | "renderItemTitle"> {
|
|
4
|
-
item: TreeListItem;
|
|
5
|
-
}
|
|
6
|
-
export declare const TreeLeaf: React.FC<TreeLeafProps>;
|
|
7
|
-
export {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export declare const treeItemCn: ((options?: {
|
|
2
|
-
isSelected?: boolean | undefined;
|
|
3
|
-
isHovered?: boolean | undefined;
|
|
4
|
-
isRenaming?: boolean | undefined;
|
|
5
|
-
isFocusVisible?: boolean | undefined;
|
|
6
|
-
} | undefined) => string) & {
|
|
7
|
-
variants: () => ("isSelected" | "isHovered" | "isFocusVisible" | "isRenaming")[];
|
|
8
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
9
|
-
isSelected: {
|
|
10
|
-
true: {
|
|
11
|
-
"__@@Component_Sprinkles__": boolean;
|
|
12
|
-
baseSprinkles: string;
|
|
13
|
-
variantSprinkles: string;
|
|
14
|
-
compoundVariantSprinkles: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
isHovered: {
|
|
18
|
-
true: {};
|
|
19
|
-
};
|
|
20
|
-
isRenaming: {
|
|
21
|
-
true: {};
|
|
22
|
-
};
|
|
23
|
-
isFocusVisible: {
|
|
24
|
-
true: {
|
|
25
|
-
"__@@Component_Sprinkles__": boolean;
|
|
26
|
-
baseSprinkles: string;
|
|
27
|
-
variantSprinkles: string;
|
|
28
|
-
compoundVariantSprinkles: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
}>;
|
|
32
|
-
};
|
|
33
|
-
export declare const treeItemAliasCn: string;
|
|
34
|
-
export declare const chevronButtonCn: string;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { TreeViewProps } from "./TreeView.types";
|
|
3
|
-
import type { Key } from "@react-types/shared";
|
|
4
|
-
export declare const RenamingContext: React.Context<{
|
|
5
|
-
renamingKey: Key | null;
|
|
6
|
-
setRenamingKey: (key: Key | null) => void;
|
|
7
|
-
}>;
|
|
8
|
-
export declare const TreeView: React.ForwardRefExoticComponent<TreeViewProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import type { StylingProps } from "../../utils";
|
|
2
|
-
import type { ListOption } from "../shared/types/List";
|
|
3
|
-
import type { ToggleIconButtonProps } from "../ToggleIconButton";
|
|
4
|
-
import type { AriaLabelingProps } from "@react-types/shared";
|
|
5
|
-
import type { Key, ReactNode } from "react";
|
|
6
|
-
import type { TreeProps } from "react-stately";
|
|
7
|
-
export interface TreeListItem extends ListOption {
|
|
8
|
-
children?: TreeListItem[];
|
|
9
|
-
}
|
|
10
|
-
export interface TreeViewProps extends StylingProps, Omit<AriaLabelingProps, "aria-describedby" | "aria-details">, Omit<TreeProps<TreeListItem>, "items" | "children" | "disabledKeys" | "defaultSelectedKeys" | "onSelectionChange" | "collection" | "selectionMode"> {
|
|
11
|
-
/**
|
|
12
|
-
* The items to display in the tree view. Each item can be a leaf or a
|
|
13
|
-
* section.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```tsx
|
|
17
|
-
* const treeItems = {
|
|
18
|
-
* id: "root",
|
|
19
|
-
* label: "Root item",
|
|
20
|
-
* children: [
|
|
21
|
-
* {
|
|
22
|
-
* id: "documents",
|
|
23
|
-
* label: "Documents",
|
|
24
|
-
* icon: EllipseIcon,
|
|
25
|
-
* children: [
|
|
26
|
-
* {
|
|
27
|
-
* id: "work",
|
|
28
|
-
* icon: EllipseIcon,
|
|
29
|
-
* label: "Work",
|
|
30
|
-
* children: [
|
|
31
|
-
* {
|
|
32
|
-
* id: "project-a",
|
|
33
|
-
* icon: EllipseIcon,
|
|
34
|
-
* label: "Project A",
|
|
35
|
-
* },
|
|
36
|
-
* ],
|
|
37
|
-
* },
|
|
38
|
-
* {
|
|
39
|
-
* id: "personal",
|
|
40
|
-
* icon: EllipseIcon,
|
|
41
|
-
* label: "Personal",
|
|
42
|
-
* },
|
|
43
|
-
* ],
|
|
44
|
-
* },
|
|
45
|
-
* {
|
|
46
|
-
* id: "downloads",
|
|
47
|
-
* icon: EllipseIcon,
|
|
48
|
-
* label: "Downloads",
|
|
49
|
-
* },
|
|
50
|
-
* ],
|
|
51
|
-
* };
|
|
52
|
-
* ```;
|
|
53
|
-
*/
|
|
54
|
-
items: TreeListItem;
|
|
55
|
-
/**
|
|
56
|
-
* The callback function that is called when the primary action is triggered.
|
|
57
|
-
* If not provided, the primary action will not be shown.
|
|
58
|
-
*/
|
|
59
|
-
onPrimaryAction?: (key: Key) => void;
|
|
60
|
-
/**
|
|
61
|
-
* The callback function that is called when the secondary action is
|
|
62
|
-
* triggered. If not provided, the secondary action will not be shown.
|
|
63
|
-
*/
|
|
64
|
-
onSecondaryAction?: (key: Key) => void;
|
|
65
|
-
/** The icon to use for the primary action. */
|
|
66
|
-
primaryActionIcon?: ToggleIconButtonProps["icon"] | ((key: Key) => ToggleIconButtonProps["icon"]);
|
|
67
|
-
/** The icon to use for the secondary action. */
|
|
68
|
-
secondaryActionIcon?: ToggleIconButtonProps["icon"] | ((key: Key) => ToggleIconButtonProps["icon"]);
|
|
69
|
-
/** The aria label for the primary action. */
|
|
70
|
-
primaryActionAriaLabel?: string | ((key: Key) => string);
|
|
71
|
-
/** The aria label for the secondary action. */
|
|
72
|
-
secondaryActionAriaLabel?: string | ((key: Key) => string);
|
|
73
|
-
/**
|
|
74
|
-
* The position of the actions.
|
|
75
|
-
*
|
|
76
|
-
* @default "start"
|
|
77
|
-
*/
|
|
78
|
-
actionsPosition?: "start" | "end";
|
|
79
|
-
/**
|
|
80
|
-
* The callback function that is called when the item is renamed. The rename
|
|
81
|
-
* functionality is disabled if not provided.
|
|
82
|
-
*/
|
|
83
|
-
onRename?: (options: {
|
|
84
|
-
key: Key;
|
|
85
|
-
value: string;
|
|
86
|
-
}) => void;
|
|
87
|
-
/** The callback function that is called when the item is clicked. */
|
|
88
|
-
onAction?: (key: Key) => void;
|
|
89
|
-
/**
|
|
90
|
-
* The callback function that is called to render the item title.
|
|
91
|
-
*
|
|
92
|
-
* @default item => item.label
|
|
93
|
-
*/
|
|
94
|
-
renderItemTitle?: (item: TreeListItem) => ReactNode;
|
|
95
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
export declare const resetCn: string;
|
|
2
|
-
export declare const listBoxSectionLiCn: string;
|
|
3
|
-
export declare const listBoxOptionCn: ((options?: {
|
|
4
|
-
isSelected?: undefined;
|
|
5
|
-
isFocused?: boolean | undefined;
|
|
6
|
-
isFirstChild?: boolean | undefined;
|
|
7
|
-
isLastChild?: boolean | undefined;
|
|
8
|
-
isHovered?: boolean | undefined;
|
|
9
|
-
isDisabled?: boolean | undefined;
|
|
10
|
-
} | undefined) => string) & {
|
|
11
|
-
variants: () => ("isSelected" | "isFocused" | "isHovered" | "isFirstChild" | "isLastChild" | "isDisabled")[];
|
|
12
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
13
|
-
isSelected: {};
|
|
14
|
-
isFocused: {
|
|
15
|
-
true: {
|
|
16
|
-
"__@@Component_Sprinkles__": boolean;
|
|
17
|
-
baseSprinkles: string;
|
|
18
|
-
variantSprinkles: string;
|
|
19
|
-
compoundVariantSprinkles: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
isFirstChild: {
|
|
23
|
-
true: {
|
|
24
|
-
borderTopWidth: number;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
isLastChild: {
|
|
28
|
-
true: {
|
|
29
|
-
borderBottomWidth: number;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
isHovered: {
|
|
33
|
-
true: {
|
|
34
|
-
"__@@Component_Sprinkles__": boolean;
|
|
35
|
-
baseSprinkles: string;
|
|
36
|
-
variantSprinkles: string;
|
|
37
|
-
compoundVariantSprinkles: string;
|
|
38
|
-
};
|
|
39
|
-
false: {
|
|
40
|
-
"__@@Component_Sprinkles__": boolean;
|
|
41
|
-
baseSprinkles: string;
|
|
42
|
-
variantSprinkles: string;
|
|
43
|
-
compoundVariantSprinkles: string;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
isDisabled: {
|
|
47
|
-
true: (string | {
|
|
48
|
-
"__@@Component_Sprinkles__": boolean;
|
|
49
|
-
baseSprinkles: string;
|
|
50
|
-
variantSprinkles: string;
|
|
51
|
-
compoundVariantSprinkles: string;
|
|
52
|
-
})[];
|
|
53
|
-
};
|
|
54
|
-
}>;
|
|
55
|
-
};
|
|
56
|
-
export declare const listBoxCn: string;
|
|
57
|
-
export declare const listBoxHelperTextCn: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
58
|
-
isDisabled: {
|
|
59
|
-
true: string;
|
|
60
|
-
};
|
|
61
|
-
}>;
|
|
62
|
-
export declare const dropIndicatorCn: ((options?: {
|
|
63
|
-
isDropTarget?: boolean | undefined;
|
|
64
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
65
|
-
} | undefined) => string) & {
|
|
66
|
-
variants: () => ("isDropTarget" | "orientation")[];
|
|
67
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
68
|
-
isDropTarget: {
|
|
69
|
-
true: {
|
|
70
|
-
"__@@Component_Sprinkles__": boolean;
|
|
71
|
-
baseSprinkles: string;
|
|
72
|
-
variantSprinkles: string;
|
|
73
|
-
compoundVariantSprinkles: string;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
orientation: {
|
|
77
|
-
vertical: {
|
|
78
|
-
"__@@Component_Sprinkles__": boolean;
|
|
79
|
-
baseSprinkles: string;
|
|
80
|
-
variantSprinkles: string;
|
|
81
|
-
compoundVariantSprinkles: string;
|
|
82
|
-
};
|
|
83
|
-
horizontal: {
|
|
84
|
-
"__@@Component_Sprinkles__": boolean;
|
|
85
|
-
baseSprinkles: string;
|
|
86
|
-
variantSprinkles: string;
|
|
87
|
-
compoundVariantSprinkles: string;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
}>;
|
|
91
|
-
};
|
|
92
|
-
export declare const listBoxSectionHeaderCn: string;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { ListItem } from "../shared/types/List";
|
|
3
|
-
import type { CollectionRenderProps, UNSAFE_ListBoxProps as ListBoxProps } from "./ListBox.types";
|
|
4
|
-
import type { PressEvent } from "react-aria-components";
|
|
5
|
-
export declare const ListOptionContext: React.Context<{
|
|
6
|
-
onPress?: (e: PressEvent, key: string) => void;
|
|
7
|
-
}>;
|
|
8
|
-
export declare const UNSAFE_ListBox: React.ForwardRefExoticComponent<ListBoxProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
type ListCollectionItemContextValue = {
|
|
10
|
-
item?: ListItem;
|
|
11
|
-
} & CollectionRenderProps;
|
|
12
|
-
export declare const ListCollectionItem: React.FC<ListCollectionItemContextValue>;
|
|
13
|
-
export {};
|