@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,214 +0,0 @@
|
|
|
1
|
-
export declare const inlineAlertCn: ((options?: {
|
|
2
|
-
variant?: "success" | "warning" | "error" | "info" | undefined;
|
|
3
|
-
arrangement?: "single" | "compact" | "multi" | undefined;
|
|
4
|
-
hasButton?: boolean | undefined;
|
|
5
|
-
hasCloseButton?: boolean | undefined;
|
|
6
|
-
} | undefined) => string) & {
|
|
7
|
-
variants: () => ("variant" | "hasButton" | "arrangement" | "hasCloseButton")[];
|
|
8
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
9
|
-
variant: {
|
|
10
|
-
info: {
|
|
11
|
-
"__@@Component_Sprinkles__": boolean;
|
|
12
|
-
baseSprinkles: string;
|
|
13
|
-
variantSprinkles: string;
|
|
14
|
-
compoundVariantSprinkles: string;
|
|
15
|
-
};
|
|
16
|
-
warning: {
|
|
17
|
-
"__@@Component_Sprinkles__": boolean;
|
|
18
|
-
baseSprinkles: string;
|
|
19
|
-
variantSprinkles: string;
|
|
20
|
-
compoundVariantSprinkles: string;
|
|
21
|
-
};
|
|
22
|
-
error: {
|
|
23
|
-
"__@@Component_Sprinkles__": boolean;
|
|
24
|
-
baseSprinkles: string;
|
|
25
|
-
variantSprinkles: string;
|
|
26
|
-
compoundVariantSprinkles: string;
|
|
27
|
-
};
|
|
28
|
-
success: {
|
|
29
|
-
"__@@Component_Sprinkles__": boolean;
|
|
30
|
-
baseSprinkles: string;
|
|
31
|
-
variantSprinkles: string;
|
|
32
|
-
compoundVariantSprinkles: string;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
arrangement: {
|
|
36
|
-
single: ({
|
|
37
|
-
"__@@Component_Sprinkles__": boolean;
|
|
38
|
-
baseSprinkles: string;
|
|
39
|
-
variantSprinkles: string;
|
|
40
|
-
compoundVariantSprinkles: string;
|
|
41
|
-
} | {
|
|
42
|
-
minHeight: number;
|
|
43
|
-
})[];
|
|
44
|
-
multi: {
|
|
45
|
-
justifyContent: "space-between";
|
|
46
|
-
};
|
|
47
|
-
compact: ({
|
|
48
|
-
"__@@Component_Sprinkles__": boolean;
|
|
49
|
-
baseSprinkles: string;
|
|
50
|
-
variantSprinkles: string;
|
|
51
|
-
compoundVariantSprinkles: string;
|
|
52
|
-
} | {
|
|
53
|
-
width: number;
|
|
54
|
-
})[];
|
|
55
|
-
};
|
|
56
|
-
hasButton: {
|
|
57
|
-
true: {};
|
|
58
|
-
};
|
|
59
|
-
hasCloseButton: {
|
|
60
|
-
true: {};
|
|
61
|
-
};
|
|
62
|
-
}>;
|
|
63
|
-
};
|
|
64
|
-
export declare const inlineStartCn: ((options?: {
|
|
65
|
-
arrangement?: "single" | "compact" | "multi" | undefined;
|
|
66
|
-
} | undefined) => string) & {
|
|
67
|
-
variants: () => "arrangement"[];
|
|
68
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
69
|
-
arrangement: {
|
|
70
|
-
single: {
|
|
71
|
-
"__@@Component_Sprinkles__": boolean;
|
|
72
|
-
baseSprinkles: string;
|
|
73
|
-
variantSprinkles: string;
|
|
74
|
-
compoundVariantSprinkles: string;
|
|
75
|
-
};
|
|
76
|
-
multi: {
|
|
77
|
-
"__@@Component_Sprinkles__": boolean;
|
|
78
|
-
baseSprinkles: string;
|
|
79
|
-
variantSprinkles: string;
|
|
80
|
-
compoundVariantSprinkles: string;
|
|
81
|
-
};
|
|
82
|
-
compact: {
|
|
83
|
-
"__@@Component_Sprinkles__": boolean;
|
|
84
|
-
baseSprinkles: string;
|
|
85
|
-
variantSprinkles: string;
|
|
86
|
-
compoundVariantSprinkles: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
}>;
|
|
90
|
-
};
|
|
91
|
-
export declare const inlineAlertTitleCn: ((options?: {
|
|
92
|
-
size?: "sm" | "md" | undefined;
|
|
93
|
-
} | undefined) => string) & {
|
|
94
|
-
variants: () => "size"[];
|
|
95
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
96
|
-
size: {
|
|
97
|
-
sm: {
|
|
98
|
-
"__@@Component_Sprinkles__": boolean;
|
|
99
|
-
baseSprinkles: string;
|
|
100
|
-
variantSprinkles: string;
|
|
101
|
-
compoundVariantSprinkles: string;
|
|
102
|
-
};
|
|
103
|
-
md: {
|
|
104
|
-
"__@@Component_Sprinkles__": boolean;
|
|
105
|
-
baseSprinkles: string;
|
|
106
|
-
variantSprinkles: string;
|
|
107
|
-
compoundVariantSprinkles: string;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
}>;
|
|
111
|
-
};
|
|
112
|
-
export declare const inlineAlertIconCn: ((options?: {
|
|
113
|
-
variant?: "success" | "warning" | "error" | "info" | undefined;
|
|
114
|
-
} | undefined) => string) & {
|
|
115
|
-
variants: () => "variant"[];
|
|
116
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
117
|
-
variant: {
|
|
118
|
-
info: {
|
|
119
|
-
"__@@Component_Sprinkles__": boolean;
|
|
120
|
-
baseSprinkles: string;
|
|
121
|
-
variantSprinkles: string;
|
|
122
|
-
compoundVariantSprinkles: string;
|
|
123
|
-
};
|
|
124
|
-
warning: {
|
|
125
|
-
"__@@Component_Sprinkles__": boolean;
|
|
126
|
-
baseSprinkles: string;
|
|
127
|
-
variantSprinkles: string;
|
|
128
|
-
compoundVariantSprinkles: string;
|
|
129
|
-
};
|
|
130
|
-
error: {
|
|
131
|
-
"__@@Component_Sprinkles__": boolean;
|
|
132
|
-
baseSprinkles: string;
|
|
133
|
-
variantSprinkles: string;
|
|
134
|
-
compoundVariantSprinkles: string;
|
|
135
|
-
};
|
|
136
|
-
success: {
|
|
137
|
-
"__@@Component_Sprinkles__": boolean;
|
|
138
|
-
baseSprinkles: string;
|
|
139
|
-
variantSprinkles: string;
|
|
140
|
-
compoundVariantSprinkles: string;
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
}>;
|
|
144
|
-
};
|
|
145
|
-
export declare const inlineAlertEndCn: ((options?: {
|
|
146
|
-
arrangement?: "single" | "compact" | "multi" | undefined;
|
|
147
|
-
} | undefined) => string) & {
|
|
148
|
-
variants: () => "arrangement"[];
|
|
149
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
150
|
-
arrangement: {
|
|
151
|
-
single: {};
|
|
152
|
-
multi: {
|
|
153
|
-
"__@@Component_Sprinkles__": boolean;
|
|
154
|
-
baseSprinkles: string;
|
|
155
|
-
variantSprinkles: string;
|
|
156
|
-
compoundVariantSprinkles: string;
|
|
157
|
-
};
|
|
158
|
-
compact: {
|
|
159
|
-
"__@@Component_Sprinkles__": boolean;
|
|
160
|
-
baseSprinkles: string;
|
|
161
|
-
variantSprinkles: string;
|
|
162
|
-
compoundVariantSprinkles: string;
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
}>;
|
|
166
|
-
};
|
|
167
|
-
export declare const inlineAlertDescriptionCn: ((options?: {
|
|
168
|
-
size?: "sm" | "md" | undefined;
|
|
169
|
-
} | undefined) => string) & {
|
|
170
|
-
variants: () => "size"[];
|
|
171
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
172
|
-
size: {
|
|
173
|
-
sm: {
|
|
174
|
-
"__@@Component_Sprinkles__": boolean;
|
|
175
|
-
baseSprinkles: string;
|
|
176
|
-
variantSprinkles: string;
|
|
177
|
-
compoundVariantSprinkles: string;
|
|
178
|
-
};
|
|
179
|
-
md: {
|
|
180
|
-
"__@@Component_Sprinkles__": boolean;
|
|
181
|
-
baseSprinkles: string;
|
|
182
|
-
variantSprinkles: string;
|
|
183
|
-
compoundVariantSprinkles: string;
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
}>;
|
|
187
|
-
};
|
|
188
|
-
export declare const contentCn: ((options?: {
|
|
189
|
-
arrangement?: "single" | "compact" | "multi" | undefined;
|
|
190
|
-
} | undefined) => string) & {
|
|
191
|
-
variants: () => "arrangement"[];
|
|
192
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
193
|
-
arrangement: {
|
|
194
|
-
single: {
|
|
195
|
-
"__@@Component_Sprinkles__": boolean;
|
|
196
|
-
baseSprinkles: string;
|
|
197
|
-
variantSprinkles: string;
|
|
198
|
-
compoundVariantSprinkles: string;
|
|
199
|
-
};
|
|
200
|
-
multi: {
|
|
201
|
-
"__@@Component_Sprinkles__": boolean;
|
|
202
|
-
baseSprinkles: string;
|
|
203
|
-
variantSprinkles: string;
|
|
204
|
-
compoundVariantSprinkles: string;
|
|
205
|
-
};
|
|
206
|
-
compact: {
|
|
207
|
-
"__@@Component_Sprinkles__": boolean;
|
|
208
|
-
baseSprinkles: string;
|
|
209
|
-
variantSprinkles: string;
|
|
210
|
-
compoundVariantSprinkles: string;
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
|
-
}>;
|
|
214
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { StylingProps } from "../../utils";
|
|
2
|
-
export interface InlineAlertProps extends StylingProps {
|
|
3
|
-
/**
|
|
4
|
-
* The variant of the alert.
|
|
5
|
-
*
|
|
6
|
-
* @default "info"
|
|
7
|
-
*/
|
|
8
|
-
variant?: "info" | "warning" | "error" | "success";
|
|
9
|
-
/** The title of the alert. */
|
|
10
|
-
title: string;
|
|
11
|
-
/** The description of the alert. */
|
|
12
|
-
description: string;
|
|
13
|
-
/**
|
|
14
|
-
* The label of the action button. When provided, the action button will be
|
|
15
|
-
* rendered.
|
|
16
|
-
*/
|
|
17
|
-
actionLabel?: string;
|
|
18
|
-
/** The callback fired when the action button is clicked. */
|
|
19
|
-
onAction?: () => void;
|
|
20
|
-
/**
|
|
21
|
-
* The callback fired when the close button is clicked. When provided, the
|
|
22
|
-
* close button will be rendered.
|
|
23
|
-
*/
|
|
24
|
-
onClose?: () => void;
|
|
25
|
-
/**
|
|
26
|
-
* The arrangement of the variable.
|
|
27
|
-
*
|
|
28
|
-
* @default "single"
|
|
29
|
-
* @typedef {"single" | "multi" | "compact"} Arrangement
|
|
30
|
-
*/
|
|
31
|
-
arrangement?: "single" | "multi" | "compact";
|
|
32
|
-
/**
|
|
33
|
-
* The size of the alert.
|
|
34
|
-
*
|
|
35
|
-
* @default "sm"
|
|
36
|
-
*/
|
|
37
|
-
size?: "sm" | "md";
|
|
38
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
ar: {
|
|
3
|
-
"bui.inlineAlert.close": string;
|
|
4
|
-
};
|
|
5
|
-
cs: {
|
|
6
|
-
"bui.inlineAlert.close": string;
|
|
7
|
-
};
|
|
8
|
-
cy: {
|
|
9
|
-
"bui.inlineAlert.close": string;
|
|
10
|
-
};
|
|
11
|
-
da: {
|
|
12
|
-
"bui.inlineAlert.close": string;
|
|
13
|
-
};
|
|
14
|
-
de: {
|
|
15
|
-
"bui.inlineAlert.close": string;
|
|
16
|
-
};
|
|
17
|
-
el: {
|
|
18
|
-
"bui.inlineAlert.close": string;
|
|
19
|
-
};
|
|
20
|
-
en_GB: {
|
|
21
|
-
"bui.inlineAlert.close": string;
|
|
22
|
-
};
|
|
23
|
-
en: {
|
|
24
|
-
"bui.inlineAlert.close": string;
|
|
25
|
-
};
|
|
26
|
-
es: {
|
|
27
|
-
"bui.inlineAlert.close": string;
|
|
28
|
-
};
|
|
29
|
-
fi: {
|
|
30
|
-
"bui.inlineAlert.close": string;
|
|
31
|
-
};
|
|
32
|
-
fr_CA: {
|
|
33
|
-
"bui.inlineAlert.close": string;
|
|
34
|
-
};
|
|
35
|
-
fr: {
|
|
36
|
-
"bui.inlineAlert.close": string;
|
|
37
|
-
};
|
|
38
|
-
he: {
|
|
39
|
-
"bui.inlineAlert.close": string;
|
|
40
|
-
};
|
|
41
|
-
hr: {
|
|
42
|
-
"bui.inlineAlert.close": string;
|
|
43
|
-
};
|
|
44
|
-
id: {
|
|
45
|
-
"bui.inlineAlert.close": string;
|
|
46
|
-
};
|
|
47
|
-
it: {
|
|
48
|
-
"bui.inlineAlert.close": string;
|
|
49
|
-
};
|
|
50
|
-
ja: {
|
|
51
|
-
"bui.inlineAlert.close": string;
|
|
52
|
-
};
|
|
53
|
-
ko: {
|
|
54
|
-
"bui.inlineAlert.close": string;
|
|
55
|
-
};
|
|
56
|
-
ms: {
|
|
57
|
-
"bui.inlineAlert.close": string;
|
|
58
|
-
};
|
|
59
|
-
nb_NO: {
|
|
60
|
-
"bui.inlineAlert.close": string;
|
|
61
|
-
};
|
|
62
|
-
nl: {
|
|
63
|
-
"bui.inlineAlert.close": string;
|
|
64
|
-
};
|
|
65
|
-
pl: {
|
|
66
|
-
"bui.inlineAlert.close": string;
|
|
67
|
-
};
|
|
68
|
-
pt_PT: {
|
|
69
|
-
"bui.inlineAlert.close": string;
|
|
70
|
-
};
|
|
71
|
-
pt: {
|
|
72
|
-
"bui.inlineAlert.close": string;
|
|
73
|
-
};
|
|
74
|
-
ru: {
|
|
75
|
-
"bui.inlineAlert.close": string;
|
|
76
|
-
};
|
|
77
|
-
sk: {
|
|
78
|
-
"bui.inlineAlert.close": string;
|
|
79
|
-
};
|
|
80
|
-
sl: {
|
|
81
|
-
"bui.inlineAlert.close": string;
|
|
82
|
-
};
|
|
83
|
-
sv: {
|
|
84
|
-
"bui.inlineAlert.close": string;
|
|
85
|
-
};
|
|
86
|
-
th: {
|
|
87
|
-
"bui.inlineAlert.close": string;
|
|
88
|
-
};
|
|
89
|
-
tr: {
|
|
90
|
-
"bui.inlineAlert.close": string;
|
|
91
|
-
};
|
|
92
|
-
uk: {
|
|
93
|
-
"bui.inlineAlert.close": string;
|
|
94
|
-
};
|
|
95
|
-
zh_Hans: {
|
|
96
|
-
"bui.inlineAlert.close": string;
|
|
97
|
-
};
|
|
98
|
-
zh_Hant: {
|
|
99
|
-
"bui.inlineAlert.close": string;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
export default _default;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export declare const inlineToolbarContentCn: string;
|
|
2
|
-
export declare const inlineToolbarBtnCn: ((options?: {
|
|
3
|
-
isFocusVisible?: boolean | undefined;
|
|
4
|
-
isHovered?: boolean | undefined;
|
|
5
|
-
isDisabled?: boolean | undefined;
|
|
6
|
-
} | undefined) => string) & {
|
|
7
|
-
variants: () => ("isHovered" | "isDisabled" | "isFocusVisible")[];
|
|
8
|
-
classNames: import("@baseline-ui/css").RecipeClassNames<{
|
|
9
|
-
isFocusVisible: {
|
|
10
|
-
true: ({
|
|
11
|
-
"__@@Component_Sprinkles__": boolean;
|
|
12
|
-
baseSprinkles: string;
|
|
13
|
-
variantSprinkles: string;
|
|
14
|
-
compoundVariantSprinkles: string;
|
|
15
|
-
} | {
|
|
16
|
-
boxShadow: `inset 0 0 0 1px var(--${string})`;
|
|
17
|
-
zIndex: number;
|
|
18
|
-
})[];
|
|
19
|
-
};
|
|
20
|
-
isHovered: {
|
|
21
|
-
true: {
|
|
22
|
-
"__@@Component_Sprinkles__": boolean;
|
|
23
|
-
baseSprinkles: string;
|
|
24
|
-
variantSprinkles: string;
|
|
25
|
-
compoundVariantSprinkles: string;
|
|
26
|
-
};
|
|
27
|
-
false: {
|
|
28
|
-
backgroundColor: "transparent";
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
isDisabled: {
|
|
32
|
-
true: (string | {
|
|
33
|
-
"__@@Component_Sprinkles__": boolean;
|
|
34
|
-
baseSprinkles: string;
|
|
35
|
-
variantSprinkles: string;
|
|
36
|
-
compoundVariantSprinkles: string;
|
|
37
|
-
})[];
|
|
38
|
-
};
|
|
39
|
-
}>;
|
|
40
|
-
};
|
|
41
|
-
export declare const arrowInlineCn: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
42
|
-
placement: {
|
|
43
|
-
bottom: {
|
|
44
|
-
top: number;
|
|
45
|
-
};
|
|
46
|
-
left: string;
|
|
47
|
-
right: string;
|
|
48
|
-
top: string;
|
|
49
|
-
};
|
|
50
|
-
}>;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import type { Rect, StylingProps } from "../../utils";
|
|
2
|
-
import type { IconProps } from "../Icon";
|
|
3
|
-
import type { AriaToolbarProps } from "@react-aria/toolbar";
|
|
4
|
-
import type React from "react";
|
|
5
|
-
import type { AriaPopoverProps, Key } from "react-aria";
|
|
6
|
-
import type { OverlayTriggerProps } from "react-stately";
|
|
7
|
-
export interface Item {
|
|
8
|
-
id: string;
|
|
9
|
-
"aria-label"?: string;
|
|
10
|
-
label?: string;
|
|
11
|
-
icon?: React.FC<IconProps>;
|
|
12
|
-
}
|
|
13
|
-
export interface InlineToolbarProps extends StylingProps, Omit<AriaPopoverProps, "triggerRef" | "popoverRef" | "isNonModal" | "maxHeight" | "arrowSize" | "arrowBoundaryOffset" | "offset">, Omit<OverlayTriggerProps, "defaultOpen" | "isOpen">, Omit<AriaToolbarProps, "orientation"> {
|
|
14
|
-
/**
|
|
15
|
-
* The children of the InlineToolbar component. This should be a single
|
|
16
|
-
* element that will be used as the trigger for the InlineToolbar. Any text
|
|
17
|
-
* selected within this element will be used to determine the position of the
|
|
18
|
-
* InlineToolbar.
|
|
19
|
-
*/
|
|
20
|
-
children: React.JSX.Element;
|
|
21
|
-
/**
|
|
22
|
-
* The items to display in the InlineToolbar. This can be an array of items or
|
|
23
|
-
* a function that returns an array of items. If a function is provided, it
|
|
24
|
-
* will be called with the current selection as an argument.
|
|
25
|
-
*
|
|
26
|
-
* The signature of `Item` is:
|
|
27
|
-
*
|
|
28
|
-
* ```js
|
|
29
|
-
* interface Item {
|
|
30
|
-
* id: string;
|
|
31
|
-
* "aria-label"?: string;
|
|
32
|
-
* label?: string;
|
|
33
|
-
* icon?: React.FC<IconProps>;
|
|
34
|
-
* }
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* The `id` property is required and will be passed to the `onAction` callback
|
|
38
|
-
* when the item is selected. The `aria-label` property will be used as the
|
|
39
|
-
* `aria-label` for the button when you render an icon-only button.
|
|
40
|
-
*/
|
|
41
|
-
items: Item[] | ((selection: Selection | null) => Item[]);
|
|
42
|
-
/**
|
|
43
|
-
* Callback that is called when an item is selected. The `id` of the selected
|
|
44
|
-
* item and the current selection will be passed as arguments.
|
|
45
|
-
*/
|
|
46
|
-
onAction?: (id: string, selection: Selection) => void;
|
|
47
|
-
/**
|
|
48
|
-
* The keys that should be disabled in the InlineToolbar. This can be used to
|
|
49
|
-
* disable certain items when the selection changes.
|
|
50
|
-
*/
|
|
51
|
-
disabledKeys?: Iterable<Key> | ((selection: Selection | null) => Iterable<Key>);
|
|
52
|
-
/**
|
|
53
|
-
* Whether the InlineToolbar should be disabled. This can be used to disable
|
|
54
|
-
* the InlineToolbar when the selection changes.
|
|
55
|
-
*/
|
|
56
|
-
isDisabled?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Client rect to be used as anchor for the popover content when no child
|
|
59
|
-
* element is provided. This will make the position controlled by the
|
|
60
|
-
* `anchorRect` instead of the selection.
|
|
61
|
-
*/
|
|
62
|
-
anchorRect?: Rect;
|
|
63
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const kbdKeyCn: string;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { StylingProps } from "../../utils";
|
|
2
|
-
export interface KbdProps extends Omit<StylingProps, "data-block-id" | "data-block-class"> {
|
|
3
|
-
/**
|
|
4
|
-
* The keyboard shortcut to display. Can be:
|
|
5
|
-
*
|
|
6
|
-
* - A single key: "K", "Enter", "Shift"
|
|
7
|
-
* - A Windows-style shortcut: "Ctrl+K", "Ctrl+Shift+P" (will be converted to
|
|
8
|
-
* OS-specific format)
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* Ctrl+K -> "⌘K" on Mac (with shouldUseSymbol), "Cmd+K" on Mac (without shouldUseSymbol)
|
|
12
|
-
*/
|
|
13
|
-
children: string;
|
|
14
|
-
/**
|
|
15
|
-
* Whether to use symbols for modifier keys (e.g., "⌘" instead of "Cmd"). Only
|
|
16
|
-
* applies when the shortcut contains modifiers like Ctrl, Alt, Shift.
|
|
17
|
-
*
|
|
18
|
-
* @default false
|
|
19
|
-
*/
|
|
20
|
-
shouldUseSymbol?: boolean;
|
|
21
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export declare const linkCn: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
2
|
-
variant: {
|
|
3
|
-
default: {
|
|
4
|
-
textDecoration: "none";
|
|
5
|
-
};
|
|
6
|
-
inline: {
|
|
7
|
-
textDecoration: "underline";
|
|
8
|
-
textDecorationColor: `var(--${string})`;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
isHovered: {
|
|
12
|
-
true: {
|
|
13
|
-
color: `var(--${string})`;
|
|
14
|
-
textDecorationColor: `var(--${string})`;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
isFocusVisible: {
|
|
18
|
-
true: {
|
|
19
|
-
outline: `2px solid var(--${string})`;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
isDisabled: {
|
|
23
|
-
true: {
|
|
24
|
-
color: `var(--${string})`;
|
|
25
|
-
cursor: "not-allowed";
|
|
26
|
-
textDecorationColor: `var(--${string})`;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
size: {
|
|
30
|
-
sm: {};
|
|
31
|
-
md: {};
|
|
32
|
-
lg: {};
|
|
33
|
-
};
|
|
34
|
-
type: {
|
|
35
|
-
body: {};
|
|
36
|
-
label: {};
|
|
37
|
-
};
|
|
38
|
-
isActive: {
|
|
39
|
-
true: {};
|
|
40
|
-
};
|
|
41
|
-
}>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { StylingProps } from "../../utils";
|
|
2
|
-
import type { AriaRole } from "react";
|
|
3
|
-
import type React from "react";
|
|
4
|
-
import type { AriaLinkOptions } from "react-aria";
|
|
5
|
-
export interface LinkProps extends AriaLinkOptions, StylingProps {
|
|
6
|
-
/** The link's style variant. */
|
|
7
|
-
variant?: "default" | "inline";
|
|
8
|
-
/** The children to render. */
|
|
9
|
-
children: React.ReactNode;
|
|
10
|
-
/** The size of the link. */
|
|
11
|
-
size?: "sm" | "md" | "lg";
|
|
12
|
-
/**
|
|
13
|
-
* The type of the link.
|
|
14
|
-
*
|
|
15
|
-
* @default "body"
|
|
16
|
-
*/
|
|
17
|
-
type?: "body" | "label";
|
|
18
|
-
/** The title of the link, for providing additional information. */
|
|
19
|
-
title?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Optional ARIA role, useful for specifying a different role for the link.
|
|
22
|
-
*
|
|
23
|
-
* @default "link"
|
|
24
|
-
*/
|
|
25
|
-
role?: AriaRole;
|
|
26
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { MenuItem } from "../Menu/Menu.types";
|
|
3
|
-
import type { ListItem } from "../shared/types/List";
|
|
4
|
-
import type { Node } from "@react-types/shared";
|
|
5
|
-
import type { ListState, TreeState } from "react-stately";
|
|
6
|
-
export declare const DefaultListOption: React.ForwardRefExoticComponent<DefaultListOptionProps & React.RefAttributes<HTMLLIElement>>;
|
|
7
|
-
interface DefaultListOptionProps {
|
|
8
|
-
item: Node<ListItem | MenuItem>;
|
|
9
|
-
liProps: React.ComponentProps<"li">;
|
|
10
|
-
labelProps: React.ComponentProps<"span">;
|
|
11
|
-
isFocusVisible: boolean;
|
|
12
|
-
isDisabled: boolean;
|
|
13
|
-
isSelected: boolean;
|
|
14
|
-
showSelectedIcon?: boolean;
|
|
15
|
-
description?: string;
|
|
16
|
-
descriptionProps?: React.ComponentProps<"span">;
|
|
17
|
-
selectionMode?: "single" | "multiple";
|
|
18
|
-
isFocused?: boolean;
|
|
19
|
-
isPressed?: boolean;
|
|
20
|
-
_state: ListState<ListItem> | TreeState<MenuItem>;
|
|
21
|
-
}
|
|
22
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { ListBoxProps } from "./ListBox.types";
|
|
3
|
-
import type { DropIndicatorProps } from "react-aria";
|
|
4
|
-
import type { DroppableCollectionState, Orientation } from "react-stately";
|
|
5
|
-
export declare const DropIndicator: React.FC<DropIndicatorProps & {
|
|
6
|
-
dropState: DroppableCollectionState;
|
|
7
|
-
renderDropIndicator?: ListBoxProps["renderDropIndicator"];
|
|
8
|
-
orientation?: Orientation;
|
|
9
|
-
dropIndicatorClassName?: string;
|
|
10
|
-
dropIndicatorStyle?: React.CSSProperties;
|
|
11
|
-
}>;
|