@gooddata/sdk-ui-kit 11.16.0-alpha.5 → 11.16.0-alpha.6
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/esm/@ui/@utils/keyboardNavigation.d.ts +8 -8
- package/esm/@ui/@utils/keyboardNavigation.d.ts.map +1 -1
- package/esm/@ui/@utils/keyboardNavigation.js +1 -1
- package/esm/@ui/@utils/keyboardNavigation.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/SkeletonItemFactory.d.ts +4 -4
- package/esm/@ui/UiAsyncTable/UiAsyncTable/SkeletonItemFactory.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/SkeletonItemFactory.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/SkeletonItemFactory.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.d.ts +2 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBody.d.ts +2 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBody.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBody.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBody.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBulkActions.d.ts +2 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBulkActions.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBulkActions.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBulkActions.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.d.ts +2 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.js +2 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableFilter.d.ts +2 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableFilter.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableFilter.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableFilter.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableHeader.d.ts +2 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableHeader.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableHeader.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableHeader.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.d.ts +2 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.d.ts +2 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/useAsyncTableResponsiveColumns.d.ts +3 -3
- package/esm/@ui/UiAsyncTable/UiAsyncTable/useAsyncTableResponsiveColumns.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/useAsyncTableResponsiveColumns.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/useAsyncTableResponsiveColumns.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/utils.d.ts +3 -3
- package/esm/@ui/UiAsyncTable/UiAsyncTable/utils.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/utils.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/utils.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTableTitle/UiAsyncTableTitle.d.ts +2 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTableTitle/UiAsyncTableTitle.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTableTitle/UiAsyncTableTitle.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTableTitle/UiAsyncTableTitle.js.map +1 -1
- package/esm/@ui/UiAsyncTable/types.d.ts +35 -35
- package/esm/@ui/UiAsyncTable/types.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/types.js +1 -1
- package/esm/@ui/UiAsyncTable/types.js.map +1 -1
- package/esm/@ui/UiBadge/UiBadge.d.ts +2 -2
- package/esm/@ui/UiBadge/UiBadge.d.ts.map +1 -1
- package/esm/@ui/UiBadge/UiBadge.js +1 -1
- package/esm/@ui/UiBadge/UiBadge.js.map +1 -1
- package/esm/@ui/UiButton/UiButton.d.ts +2 -2
- package/esm/@ui/UiButton/UiButton.d.ts.map +1 -1
- package/esm/@ui/UiButton/UiButton.js +2 -2
- package/esm/@ui/UiButton/UiButton.js.map +1 -1
- package/esm/@ui/UiCard/UiCard.d.ts +2 -2
- package/esm/@ui/UiCard/UiCard.d.ts.map +1 -1
- package/esm/@ui/UiCard/UiCard.js +1 -1
- package/esm/@ui/UiCard/UiCard.js.map +1 -1
- package/esm/@ui/UiCheckbox/UiCheckbox.d.ts +2 -2
- package/esm/@ui/UiCheckbox/UiCheckbox.d.ts.map +1 -1
- package/esm/@ui/UiCheckbox/UiCheckbox.js +1 -1
- package/esm/@ui/UiCheckbox/UiCheckbox.js.map +1 -1
- package/esm/@ui/UiChip/ChipContent.d.ts +2 -2
- package/esm/@ui/UiChip/ChipContent.d.ts.map +1 -1
- package/esm/@ui/UiChip/ChipContent.js +1 -1
- package/esm/@ui/UiChip/ChipContent.js.map +1 -1
- package/esm/@ui/UiChip/ChipDeleteButton.d.ts +2 -2
- package/esm/@ui/UiChip/ChipDeleteButton.d.ts.map +1 -1
- package/esm/@ui/UiChip/ChipDeleteButton.js +1 -1
- package/esm/@ui/UiChip/ChipDeleteButton.js.map +1 -1
- package/esm/@ui/UiChip/UiChip.d.ts +2 -2
- package/esm/@ui/UiChip/UiChip.d.ts.map +1 -1
- package/esm/@ui/UiChip/UiChip.js +1 -1
- package/esm/@ui/UiChip/UiChip.js.map +1 -1
- package/esm/@ui/UiChip/types.d.ts +3 -3
- package/esm/@ui/UiChip/types.d.ts.map +1 -1
- package/esm/@ui/UiChip/types.js +1 -1
- package/esm/@ui/UiChip/types.js.map +1 -1
- package/esm/@ui/UiCombobox/UiCombobox.d.ts +2 -2
- package/esm/@ui/UiCombobox/UiCombobox.d.ts.map +1 -1
- package/esm/@ui/UiCombobox/UiCombobox.js.map +1 -1
- package/esm/@ui/UiCombobox/UiComboboxList.d.ts +2 -2
- package/esm/@ui/UiCombobox/UiComboboxList.d.ts.map +1 -1
- package/esm/@ui/UiCombobox/UiComboboxList.js +1 -1
- package/esm/@ui/UiCombobox/UiComboboxList.js.map +1 -1
- package/esm/@ui/UiCombobox/UiComboboxListItem.d.ts +3 -3
- package/esm/@ui/UiCombobox/UiComboboxListItem.d.ts.map +1 -1
- package/esm/@ui/UiCombobox/UiComboboxListItem.js +1 -1
- package/esm/@ui/UiCombobox/UiComboboxListItem.js.map +1 -1
- package/esm/@ui/UiCombobox/index.d.ts +3 -3
- package/esm/@ui/UiCombobox/index.d.ts.map +1 -1
- package/esm/@ui/UiCombobox/index.js +1 -1
- package/esm/@ui/UiCombobox/index.js.map +1 -1
- package/esm/@ui/UiDate/UiDate.d.ts +2 -2
- package/esm/@ui/UiDate/UiDate.d.ts.map +1 -1
- package/esm/@ui/UiDate/UiDate.js +1 -1
- package/esm/@ui/UiDate/UiDate.js.map +1 -1
- package/esm/@ui/UiDrawer/UiDrawer.d.ts +2 -2
- package/esm/@ui/UiDrawer/UiDrawer.d.ts.map +1 -1
- package/esm/@ui/UiDrawer/UiDrawer.js.map +1 -1
- package/esm/@ui/UiDrawer/types.d.ts +1 -1
- package/esm/@ui/UiDrawer/types.d.ts.map +1 -1
- package/esm/@ui/UiDropdownIconButton/UiDropdownIconButton.d.ts +3 -3
- package/esm/@ui/UiDropdownIconButton/UiDropdownIconButton.d.ts.map +1 -1
- package/esm/@ui/UiDropdownIconButton/UiDropdownIconButton.js +1 -1
- package/esm/@ui/UiDropdownIconButton/UiDropdownIconButton.js.map +1 -1
- package/esm/@ui/UiFloatingElement/utils.js +1 -1
- package/esm/@ui/UiFloatingElement/utils.js.map +1 -1
- package/esm/@ui/UiIcon/UiIcon.d.ts +7 -4
- package/esm/@ui/UiIcon/UiIcon.d.ts.map +1 -1
- package/esm/@ui/UiIcon/UiIcon.js +5 -4
- package/esm/@ui/UiIcon/UiIcon.js.map +1 -1
- package/esm/@ui/UiIconButton/UiIconButton.d.ts +3 -3
- package/esm/@ui/UiIconButton/UiIconButton.d.ts.map +1 -1
- package/esm/@ui/UiIconButton/UiIconButton.js +1 -1
- package/esm/@ui/UiIconButton/UiIconButton.js.map +1 -1
- package/esm/@ui/UiIconButton/UiIconButtonRenderer.d.ts +4 -4
- package/esm/@ui/UiIconButton/UiIconButtonRenderer.d.ts.map +1 -1
- package/esm/@ui/UiIconButton/UiIconButtonRenderer.js +2 -2
- package/esm/@ui/UiIconButton/UiIconButtonRenderer.js.map +1 -1
- package/esm/@ui/UiListbox/UiListbox.d.ts +2 -2
- package/esm/@ui/UiListbox/UiListbox.d.ts.map +1 -1
- package/esm/@ui/UiListbox/UiListbox.js +14 -11
- package/esm/@ui/UiListbox/UiListbox.js.map +1 -1
- package/esm/@ui/UiListbox/defaults/DefaultUiListboxInteractiveItemComponent.d.ts +2 -2
- package/esm/@ui/UiListbox/defaults/DefaultUiListboxInteractiveItemComponent.d.ts.map +1 -1
- package/esm/@ui/UiListbox/defaults/DefaultUiListboxInteractiveItemComponent.js.map +1 -1
- package/esm/@ui/UiListbox/defaults/DefaultUiListboxStaticItemComponent.d.ts +2 -2
- package/esm/@ui/UiListbox/defaults/DefaultUiListboxStaticItemComponent.d.ts.map +1 -1
- package/esm/@ui/UiListbox/defaults/DefaultUiListboxStaticItemComponent.js.map +1 -1
- package/esm/@ui/UiListbox/types.d.ts +6 -6
- package/esm/@ui/UiListbox/types.d.ts.map +1 -1
- package/esm/@ui/UiListbox/types.js +1 -1
- package/esm/@ui/UiListbox/types.js.map +1 -1
- package/esm/@ui/UiMenu/UiMenu.d.ts +2 -2
- package/esm/@ui/UiMenu/UiMenu.d.ts.map +1 -1
- package/esm/@ui/UiMenu/UiMenu.js +1 -1
- package/esm/@ui/UiMenu/UiMenu.js.map +1 -1
- package/esm/@ui/UiMenu/hooks.d.ts +4 -4
- package/esm/@ui/UiMenu/hooks.d.ts.map +1 -1
- package/esm/@ui/UiMenu/hooks.js +1 -1
- package/esm/@ui/UiMenu/hooks.js.map +1 -1
- package/esm/@ui/UiMenu/types.d.ts +1 -1
- package/esm/@ui/UiMenu/types.d.ts.map +1 -1
- package/esm/@ui/UiMenu/types.js +1 -1
- package/esm/@ui/UiMenu/types.js.map +1 -1
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.d.ts +4 -4
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.d.ts.map +1 -1
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.js +1 -1
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.js.map +1 -1
- package/esm/@ui/UiPaginationButton/UiPaginationButton.d.ts +2 -2
- package/esm/@ui/UiPaginationButton/UiPaginationButton.d.ts.map +1 -1
- package/esm/@ui/UiPaginationButton/UiPaginationButton.js +2 -2
- package/esm/@ui/UiPaginationButton/UiPaginationButton.js.map +1 -1
- package/esm/@ui/UiPopover/UiPopover.d.ts +4 -4
- package/esm/@ui/UiPopover/UiPopover.d.ts.map +1 -1
- package/esm/@ui/UiPopover/UiPopover.js +1 -1
- package/esm/@ui/UiPopover/UiPopover.js.map +1 -1
- package/esm/@ui/UiSkeleton/UiSkeleton.d.ts +2 -2
- package/esm/@ui/UiSkeleton/UiSkeleton.d.ts.map +1 -1
- package/esm/@ui/UiSkeleton/UiSkeleton.js +1 -1
- package/esm/@ui/UiSkeleton/UiSkeleton.js.map +1 -1
- package/esm/@ui/UiSubmenuHeader/UiSubmenuHeader.d.ts +2 -2
- package/esm/@ui/UiSubmenuHeader/UiSubmenuHeader.d.ts.map +1 -1
- package/esm/@ui/UiSubmenuHeader/UiSubmenuHeader.js.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabActionsButton.d.ts.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabActionsButton.js +2 -2
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabActionsButton.js.map +1 -1
- package/esm/@ui/UiTag/UiTag.d.ts.map +1 -1
- package/esm/@ui/UiTag/UiTag.js +3 -3
- package/esm/@ui/UiTag/UiTag.js.map +1 -1
- package/esm/@ui/UiTags/UiTag.d.ts +6 -6
- package/esm/@ui/UiTags/UiTag.d.ts.map +1 -1
- package/esm/@ui/UiTags/UiTag.js +1 -1
- package/esm/@ui/UiTags/UiTag.js.map +1 -1
- package/esm/@ui/UiTags/UiTags.d.ts +2 -2
- package/esm/@ui/UiTags/UiTags.d.ts.map +1 -1
- package/esm/@ui/UiTags/UiTags.js +1 -1
- package/esm/@ui/UiTags/UiTags.js.map +1 -1
- package/esm/@ui/UiTags/hooks/useResponsiveTags.d.ts +4 -4
- package/esm/@ui/UiTags/hooks/useResponsiveTags.d.ts.map +1 -1
- package/esm/@ui/UiTags/hooks/useResponsiveTags.js +1 -1
- package/esm/@ui/UiTags/hooks/useResponsiveTags.js.map +1 -1
- package/esm/@ui/UiTags/interactions.d.ts +4 -4
- package/esm/@ui/UiTags/interactions.d.ts.map +1 -1
- package/esm/@ui/UiTags/interactions.js +1 -1
- package/esm/@ui/UiTags/interactions.js.map +1 -1
- package/esm/@ui/UiTags/types.d.ts +7 -7
- package/esm/@ui/UiTags/types.d.ts.map +1 -1
- package/esm/@ui/UiTags/types.js +1 -1
- package/esm/@ui/UiTags/types.js.map +1 -1
- package/esm/@ui/UiTooltip/UiTooltip.d.ts +2 -2
- package/esm/@ui/UiTooltip/UiTooltip.d.ts.map +1 -1
- package/esm/@ui/UiTooltip/UiTooltip.js +1 -1
- package/esm/@ui/UiTooltip/UiTooltip.js.map +1 -1
- package/esm/@ui/UiTooltip/types.d.ts +1 -1
- package/esm/@ui/UiTooltip/types.d.ts.map +1 -1
- package/esm/@ui/UiTooltip/types.js +1 -1
- package/esm/@ui/UiTooltip/types.js.map +1 -1
- package/esm/@ui/UiTreeview/UITreeviewItem.d.ts +2 -2
- package/esm/@ui/UiTreeview/UITreeviewItem.d.ts.map +1 -1
- package/esm/@ui/UiTreeview/UITreeviewItem.js +1 -1
- package/esm/@ui/UiTreeview/UITreeviewItem.js.map +1 -1
- package/esm/@ui/UiTreeview/UiTreeviewRoot.d.ts +2 -2
- package/esm/@ui/UiTreeview/UiTreeviewRoot.d.ts.map +1 -1
- package/esm/@ui/UiTreeview/UiTreeviewRoot.js.map +1 -1
- package/esm/ChartSorting/AttributeDropdown/AttributeDropdown.d.ts +2 -2
- package/esm/ChartSorting/AttributeDropdown/AttributeDropdown.d.ts.map +1 -1
- package/esm/ChartSorting/AttributeDropdown/AttributeDropdown.js +1 -1
- package/esm/ChartSorting/AttributeDropdown/AttributeDropdown.js.map +1 -1
- package/esm/ChartSorting/ChartSorting.d.ts +6 -5
- package/esm/ChartSorting/ChartSorting.d.ts.map +1 -1
- package/esm/ChartSorting/ChartSorting.js +1 -1
- package/esm/ChartSorting/ChartSorting.js.map +1 -1
- package/esm/ChartSorting/ChartSortingDropdown.d.ts +2 -2
- package/esm/ChartSorting/ChartSortingDropdown.d.ts.map +1 -1
- package/esm/ChartSorting/ChartSortingDropdown.js +1 -1
- package/esm/ChartSorting/ChartSortingDropdown.js.map +1 -1
- package/esm/ChartSorting/ChartSortingDropdownBody.d.ts +2 -2
- package/esm/ChartSorting/ChartSortingDropdownBody.d.ts.map +1 -1
- package/esm/ChartSorting/ChartSortingDropdownBody.js.map +1 -1
- package/esm/ChartSorting/MeasureDropdown/MeasureDropdown.d.ts +2 -2
- package/esm/ChartSorting/MeasureDropdown/MeasureDropdown.d.ts.map +1 -1
- package/esm/ChartSorting/MeasureDropdown/MeasureDropdown.js +1 -1
- package/esm/ChartSorting/MeasureDropdown/MeasureDropdown.js.map +1 -1
- package/esm/ChartSorting/index.d.ts +1 -1
- package/esm/ChartSorting/index.d.ts.map +1 -1
- package/esm/ChartSorting/index.js +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/EmbedInsightContent.d.ts.map +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/EmbedInsightContent.js +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/EmbedInsightContent.js.map +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/HeightSetting.js +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/HeightSetting.js.map +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/LocaleSetting.js +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/LocaleSetting.js.map +1 -1
- package/esm/Dialog/HubspotConversionTouchPointDialogBase.d.ts +1 -1
- package/esm/Dialog/HubspotConversionTouchPointDialogBase.d.ts.map +1 -1
- package/esm/Dialog/HubspotConversionTouchPointDialogBase.js +1 -1
- package/esm/Dialog/HubspotConversionTouchPointDialogBase.js.map +1 -1
- package/esm/Dropdown/Dropdown.d.ts +1 -1
- package/esm/Dropdown/Dropdown.d.ts.map +1 -1
- package/esm/Dropdown/Dropdown.js +1 -1
- package/esm/Dropdown/Dropdown.js.map +1 -1
- package/esm/Dropdown/DropdownButtonKeyboardWrapper.d.ts +1 -1
- package/esm/Dropdown/DropdownButtonKeyboardWrapper.d.ts.map +1 -1
- package/esm/Dropdown/DropdownButtonKeyboardWrapper.js +1 -1
- package/esm/Dropdown/DropdownButtonKeyboardWrapper.js.map +1 -1
- package/esm/Dropdown/DropdownList.d.ts.map +1 -1
- package/esm/Dropdown/DropdownList.js +1 -1
- package/esm/Dropdown/DropdownList.js.map +1 -1
- package/esm/EditableLabel/EditableLabel.js.map +1 -1
- package/esm/Form/Checkbox.d.ts +2 -2
- package/esm/Form/Checkbox.d.ts.map +1 -1
- package/esm/Form/Checkbox.js +1 -1
- package/esm/Form/Checkbox.js.map +1 -1
- package/esm/Form/Input.d.ts +5 -5
- package/esm/Form/Input.d.ts.map +1 -1
- package/esm/Form/Input.js +1 -1
- package/esm/Form/Input.js.map +1 -1
- package/esm/Form/InputPure.d.ts +3 -3
- package/esm/Form/InputPure.d.ts.map +1 -1
- package/esm/Form/InputPure.js.map +1 -1
- package/esm/Form/InputWithNumberFormat.d.ts +6 -5
- package/esm/Form/InputWithNumberFormat.d.ts.map +1 -1
- package/esm/Form/InputWithNumberFormat.js +1 -2
- package/esm/Form/InputWithNumberFormat.js.map +1 -1
- package/esm/Form/index.d.ts +4 -4
- package/esm/Form/index.d.ts.map +1 -1
- package/esm/Header/Header.js.map +1 -1
- package/esm/Header/HeaderChatButton.js +1 -1
- package/esm/Header/HeaderChatButton.js.map +1 -1
- package/esm/List/guid.d.ts.map +1 -1
- package/esm/List/guid.js +1 -1
- package/esm/List/guid.js.map +1 -1
- package/esm/Messages/index.d.ts +1 -1
- package/esm/Messages/index.d.ts.map +1 -1
- package/esm/Messages/index.js +1 -1
- package/esm/Messages/toasts/useToastMessage.d.ts +2 -2
- package/esm/Messages/toasts/useToastMessage.d.ts.map +1 -1
- package/esm/Messages/toasts/useToastMessage.js +1 -1
- package/esm/Messages/toasts/useToastMessage.js.map +1 -1
- package/esm/Overlay/Overlay.js +1 -1
- package/esm/Overlay/Overlay.js.map +1 -1
- package/esm/RecurrenceForm/useCronValidation.d.ts +2 -2
- package/esm/RecurrenceForm/useCronValidation.d.ts.map +1 -1
- package/esm/RecurrenceForm/useCronValidation.js +1 -1
- package/esm/RecurrenceForm/useCronValidation.js.map +1 -1
- package/esm/RichText/hooks/useEvaluatedMetricsAndAttributes.d.ts.map +1 -1
- package/esm/RichText/hooks/useEvaluatedMetricsAndAttributes.js +2 -1
- package/esm/RichText/hooks/useEvaluatedMetricsAndAttributes.js.map +1 -1
- package/esm/ZoomContext/ZoomContext.d.ts +2 -2
- package/esm/ZoomContext/ZoomContext.d.ts.map +1 -1
- package/esm/ZoomContext/ZoomContext.js +1 -1
- package/esm/ZoomContext/ZoomContext.js.map +1 -1
- package/esm/index.d.ts +21 -21
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -1
- package/esm/measureNumberFormat/hooks/useCurrencyFormatDefaults.d.ts +2 -2
- package/esm/measureNumberFormat/hooks/useCurrencyFormatDefaults.d.ts.map +1 -1
- package/esm/measureNumberFormat/hooks/useCurrencyFormatDefaults.js +1 -1
- package/esm/measureNumberFormat/hooks/useCurrencyFormatDefaults.js.map +1 -1
- package/esm/measureNumberFormat/hooks/useMetricTypePresets.d.ts +4 -4
- package/esm/measureNumberFormat/hooks/useMetricTypePresets.d.ts.map +1 -1
- package/esm/measureNumberFormat/hooks/useMetricTypePresets.js +1 -1
- package/esm/measureNumberFormat/hooks/useMetricTypePresets.js.map +1 -1
- package/esm/measureNumberFormat/presetsDropdown/PresetsDropdown.js +1 -1
- package/esm/measureNumberFormat/presetsDropdown/PresetsDropdown.js.map +1 -1
- package/esm/sdk-ui-kit.d.ts +905 -901
- package/package.json +15 -15
package/esm/sdk-ui-kit.d.ts
CHANGED
|
@@ -372,51 +372,19 @@ export declare const Button: ForwardRefExoticComponent<IButtonProps & RefAttribu
|
|
|
372
372
|
/**
|
|
373
373
|
* @internal
|
|
374
374
|
*/
|
|
375
|
-
export declare function ChartSortingDialog(props:
|
|
375
|
+
export declare function ChartSortingDialog(props: IChartSortingOwnProps): JSX.Element;
|
|
376
376
|
|
|
377
377
|
/**
|
|
378
378
|
* @internal
|
|
379
379
|
*/
|
|
380
|
-
export declare
|
|
381
|
-
|
|
382
|
-
availableSorts: IAvailableSortsGroup[];
|
|
383
|
-
bucketItems: IBucketItemDescriptors;
|
|
384
|
-
onApply: (sortItems: ISortItem[]) => void;
|
|
385
|
-
onCancel: () => void;
|
|
386
|
-
buttonNode?: HTMLElement | string;
|
|
387
|
-
locale?: string;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* @internal
|
|
392
|
-
*/
|
|
393
|
-
export declare type ChartSortingProps = ChartSortingOwnProps & WrappedComponentProps;
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* @internal
|
|
397
|
-
*/
|
|
398
|
-
export declare const ChartSortingWithIntl: FC<WithIntlProps<ChartSortingProps>> & {
|
|
399
|
-
WrappedComponent: ComponentType<ChartSortingProps>;
|
|
380
|
+
export declare const ChartSortingWithIntl: FC<WithIntlProps<IChartSortingProps>> & {
|
|
381
|
+
WrappedComponent: ComponentType<IChartSortingProps>;
|
|
400
382
|
};
|
|
401
383
|
|
|
402
384
|
/**
|
|
403
385
|
* @internal
|
|
404
386
|
*/
|
|
405
|
-
export declare const Checkbox: NamedExoticComponent<
|
|
406
|
-
|
|
407
|
-
/**
|
|
408
|
-
* @internal
|
|
409
|
-
*/
|
|
410
|
-
export declare interface CheckboxProps {
|
|
411
|
-
id?: string;
|
|
412
|
-
disabled?: boolean;
|
|
413
|
-
name?: string;
|
|
414
|
-
text?: string;
|
|
415
|
-
title?: string;
|
|
416
|
-
value?: boolean;
|
|
417
|
-
labelSize?: LabelSize;
|
|
418
|
-
onChange?: (e: boolean) => void;
|
|
419
|
-
}
|
|
387
|
+
export declare const Checkbox: NamedExoticComponent<ICheckboxProps>;
|
|
420
388
|
|
|
421
389
|
/**
|
|
422
390
|
* @internal
|
|
@@ -669,13 +637,13 @@ export declare const defaultThemeMetadataObject: IThemeDefinition;
|
|
|
669
637
|
/**
|
|
670
638
|
* @internal
|
|
671
639
|
*/
|
|
672
|
-
export declare function DefaultUiListboxInteractiveItemComponent<T>({ item, isFocused, isSelected, isCompact, onSelect, }:
|
|
640
|
+
export declare function DefaultUiListboxInteractiveItemComponent<T>({ item, isFocused, isSelected, isCompact, onSelect, }: IUiListboxInteractiveItemProps<T>): ReactNode;
|
|
673
641
|
|
|
674
642
|
/**
|
|
675
643
|
* By default just renders the data.
|
|
676
644
|
* @internal
|
|
677
645
|
*/
|
|
678
|
-
export declare function DefaultUiListboxStaticItemComponent<T>({ item }:
|
|
646
|
+
export declare function DefaultUiListboxStaticItemComponent<T>({ item }: IUiListboxStaticItemProps<T>): ReactNode;
|
|
679
647
|
|
|
680
648
|
/**
|
|
681
649
|
* Container for rendering custom content in menu.
|
|
@@ -1805,6 +1773,39 @@ export declare interface IButtonProps {
|
|
|
1805
1773
|
describedByFromValidation?: boolean;
|
|
1806
1774
|
}
|
|
1807
1775
|
|
|
1776
|
+
/**
|
|
1777
|
+
* @internal
|
|
1778
|
+
*/
|
|
1779
|
+
export declare interface IChartSortingOwnProps {
|
|
1780
|
+
currentSort: ISortItem[];
|
|
1781
|
+
availableSorts: IAvailableSortsGroup[];
|
|
1782
|
+
bucketItems: IBucketItemDescriptors;
|
|
1783
|
+
onApply: (sortItems: ISortItem[]) => void;
|
|
1784
|
+
onCancel: () => void;
|
|
1785
|
+
buttonNode?: HTMLElement | string;
|
|
1786
|
+
locale?: string;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
/**
|
|
1790
|
+
* @internal
|
|
1791
|
+
*/
|
|
1792
|
+
export declare interface IChartSortingProps extends IChartSortingOwnProps, WrappedComponentProps {
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
/**
|
|
1796
|
+
* @internal
|
|
1797
|
+
*/
|
|
1798
|
+
export declare interface ICheckboxProps {
|
|
1799
|
+
id?: string;
|
|
1800
|
+
disabled?: boolean;
|
|
1801
|
+
name?: string;
|
|
1802
|
+
text?: string;
|
|
1803
|
+
title?: string;
|
|
1804
|
+
value?: boolean;
|
|
1805
|
+
labelSize?: LabelSize;
|
|
1806
|
+
onChange?: (e: boolean) => void;
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1808
1809
|
/**
|
|
1809
1810
|
* @internal
|
|
1810
1811
|
*/
|
|
@@ -2857,7 +2858,7 @@ export declare interface IDropdownButtonRenderProps {
|
|
|
2857
2858
|
buttonRef: MutableRefObject<HTMLElement | null>;
|
|
2858
2859
|
openDropdown: () => void;
|
|
2859
2860
|
closeDropdown: () => void;
|
|
2860
|
-
toggleDropdown: (desiredState?:
|
|
2861
|
+
toggleDropdown: (desiredState?: unknown) => void;
|
|
2861
2862
|
/**
|
|
2862
2863
|
* Props supporting accessibility that can be just passed through to the rendered element
|
|
2863
2864
|
*/
|
|
@@ -3674,6 +3675,72 @@ export declare interface IInputPureAccessibilityConfig extends IAccessibilityCon
|
|
|
3674
3675
|
ariaInvalid?: AriaAttributes["aria-invalid"];
|
|
3675
3676
|
}
|
|
3676
3677
|
|
|
3678
|
+
/**
|
|
3679
|
+
* @internal
|
|
3680
|
+
*/
|
|
3681
|
+
export declare interface IInputPureProps extends IDomNativeProps {
|
|
3682
|
+
className?: string;
|
|
3683
|
+
clearOnEsc?: boolean;
|
|
3684
|
+
disabled?: boolean;
|
|
3685
|
+
hasError?: boolean;
|
|
3686
|
+
hasWarning?: boolean;
|
|
3687
|
+
isSearch?: boolean;
|
|
3688
|
+
isSmall?: boolean;
|
|
3689
|
+
maxlength?: number;
|
|
3690
|
+
onChange?: (value: string | number, e?: ChangeEvent<HTMLInputElement>) => void;
|
|
3691
|
+
onKeyDown?: (e: KeyboardEvent_2) => void;
|
|
3692
|
+
onEscKeyPress?: (e: KeyboardEvent_2) => void;
|
|
3693
|
+
onEnterKeyPress?: () => void;
|
|
3694
|
+
onBlur?: (e: FocusEvent_2<HTMLInputElement>) => void;
|
|
3695
|
+
onFocus?: (e: FocusEvent_2<HTMLInputElement>) => void;
|
|
3696
|
+
placeholder?: string;
|
|
3697
|
+
prefix?: string;
|
|
3698
|
+
readonly?: boolean;
|
|
3699
|
+
suffix?: string;
|
|
3700
|
+
label?: ReactNode;
|
|
3701
|
+
labelPositionTop?: boolean;
|
|
3702
|
+
value?: string | number;
|
|
3703
|
+
id?: string;
|
|
3704
|
+
name?: string;
|
|
3705
|
+
type?: string;
|
|
3706
|
+
required?: boolean;
|
|
3707
|
+
accessibilityType?: string;
|
|
3708
|
+
accessibilityConfig?: IInputPureAccessibilityConfig;
|
|
3709
|
+
autocomplete?: string;
|
|
3710
|
+
iconButton?: IconType;
|
|
3711
|
+
onIconButtonClick?: (e: MouseEvent_2<HTMLButtonElement>) => void;
|
|
3712
|
+
iconButtonLabel?: string;
|
|
3713
|
+
dataTestId?: string;
|
|
3714
|
+
}
|
|
3715
|
+
|
|
3716
|
+
/**
|
|
3717
|
+
* @internal
|
|
3718
|
+
*/
|
|
3719
|
+
export declare interface IInputState {
|
|
3720
|
+
value: string | number;
|
|
3721
|
+
}
|
|
3722
|
+
|
|
3723
|
+
/**
|
|
3724
|
+
* @internal
|
|
3725
|
+
*/
|
|
3726
|
+
export declare interface IInputWithNumberFormatOwnProps {
|
|
3727
|
+
separators?: Separators;
|
|
3728
|
+
}
|
|
3729
|
+
|
|
3730
|
+
/**
|
|
3731
|
+
* @internal
|
|
3732
|
+
*/
|
|
3733
|
+
export declare interface IInputWithNumberFormatProps extends IInputWithNumberFormatOwnProps, IInputPureProps {
|
|
3734
|
+
}
|
|
3735
|
+
|
|
3736
|
+
/**
|
|
3737
|
+
* @internal
|
|
3738
|
+
*/
|
|
3739
|
+
export declare interface IInputWithNumberFormatState {
|
|
3740
|
+
value: number;
|
|
3741
|
+
isFocused: boolean;
|
|
3742
|
+
}
|
|
3743
|
+
|
|
3677
3744
|
/**
|
|
3678
3745
|
* @internal
|
|
3679
3746
|
*/
|
|
@@ -4563,7 +4630,7 @@ export declare interface INoDataProps {
|
|
|
4563
4630
|
/**
|
|
4564
4631
|
* @internal
|
|
4565
4632
|
*/
|
|
4566
|
-
export declare class Input extends PureComponent<
|
|
4633
|
+
export declare class Input extends PureComponent<IInputPureProps, IInputState> {
|
|
4567
4634
|
static defaultProps: {
|
|
4568
4635
|
autofocus: boolean;
|
|
4569
4636
|
className: string;
|
|
@@ -4588,8 +4655,8 @@ export declare class Input extends PureComponent<InputPureProps, InputState> {
|
|
|
4588
4655
|
value: string;
|
|
4589
4656
|
};
|
|
4590
4657
|
inputNodeRef: InputPure | null;
|
|
4591
|
-
constructor(props:
|
|
4592
|
-
UNSAFE_componentWillReceiveProps(nextProps:
|
|
4658
|
+
constructor(props: IInputPureProps);
|
|
4659
|
+
UNSAFE_componentWillReceiveProps(nextProps: IInputPureProps): void;
|
|
4593
4660
|
onChange: (value: string | number, e?: ChangeEvent<HTMLInputElement>) => void;
|
|
4594
4661
|
valueChanged(value: string | number, e?: ChangeEvent<HTMLInputElement>): void;
|
|
4595
4662
|
render(): JSX.Element;
|
|
@@ -4598,7 +4665,7 @@ export declare class Input extends PureComponent<InputPureProps, InputState> {
|
|
|
4598
4665
|
/**
|
|
4599
4666
|
* @internal
|
|
4600
4667
|
*/
|
|
4601
|
-
export declare class InputPure extends PureComponent<
|
|
4668
|
+
export declare class InputPure extends PureComponent<IInputPureProps> implements IDomNative {
|
|
4602
4669
|
inputNodeRef: HTMLInputElement | null;
|
|
4603
4670
|
private autofocusDispatcher;
|
|
4604
4671
|
private readonly a11yIdBase;
|
|
@@ -4627,7 +4694,7 @@ export declare class InputPure extends PureComponent<InputPureProps> implements
|
|
|
4627
4694
|
};
|
|
4628
4695
|
componentDidMount(): void;
|
|
4629
4696
|
componentWillUnmount(): void;
|
|
4630
|
-
componentDidUpdate(prevProps: Readonly<
|
|
4697
|
+
componentDidUpdate(prevProps: Readonly<IInputPureProps>): void;
|
|
4631
4698
|
onChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
4632
4699
|
onKeyPress: (e: KeyboardEvent_2) => void;
|
|
4633
4700
|
onClear: (e?: ChangeEvent<HTMLInputElement>) => void;
|
|
@@ -4653,72 +4720,7 @@ export declare class InputPure extends PureComponent<InputPureProps> implements
|
|
|
4653
4720
|
/**
|
|
4654
4721
|
* @internal
|
|
4655
4722
|
*/
|
|
4656
|
-
export declare
|
|
4657
|
-
className?: string;
|
|
4658
|
-
clearOnEsc?: boolean;
|
|
4659
|
-
disabled?: boolean;
|
|
4660
|
-
hasError?: boolean;
|
|
4661
|
-
hasWarning?: boolean;
|
|
4662
|
-
isSearch?: boolean;
|
|
4663
|
-
isSmall?: boolean;
|
|
4664
|
-
maxlength?: number;
|
|
4665
|
-
onChange?: (value: string | number, e?: ChangeEvent<HTMLInputElement>) => void;
|
|
4666
|
-
onKeyDown?: (e: KeyboardEvent_2) => void;
|
|
4667
|
-
onEscKeyPress?: (e: KeyboardEvent_2) => void;
|
|
4668
|
-
onEnterKeyPress?: () => void;
|
|
4669
|
-
onBlur?: (e: FocusEvent_2<HTMLInputElement>) => void;
|
|
4670
|
-
onFocus?: (e: FocusEvent_2<HTMLInputElement>) => void;
|
|
4671
|
-
placeholder?: string;
|
|
4672
|
-
prefix?: string;
|
|
4673
|
-
readonly?: boolean;
|
|
4674
|
-
suffix?: string;
|
|
4675
|
-
label?: ReactNode;
|
|
4676
|
-
labelPositionTop?: boolean;
|
|
4677
|
-
value?: string | number;
|
|
4678
|
-
id?: string;
|
|
4679
|
-
name?: string;
|
|
4680
|
-
type?: string;
|
|
4681
|
-
required?: boolean;
|
|
4682
|
-
accessibilityType?: string;
|
|
4683
|
-
accessibilityConfig?: IInputPureAccessibilityConfig;
|
|
4684
|
-
autocomplete?: string;
|
|
4685
|
-
iconButton?: IconType;
|
|
4686
|
-
onIconButtonClick?: (e: MouseEvent_2<HTMLButtonElement>) => void;
|
|
4687
|
-
iconButtonLabel?: string;
|
|
4688
|
-
dataTestId?: string;
|
|
4689
|
-
}
|
|
4690
|
-
|
|
4691
|
-
/**
|
|
4692
|
-
* @internal
|
|
4693
|
-
*/
|
|
4694
|
-
export declare interface InputState {
|
|
4695
|
-
value: string | number;
|
|
4696
|
-
}
|
|
4697
|
-
|
|
4698
|
-
/**
|
|
4699
|
-
* @internal
|
|
4700
|
-
*/
|
|
4701
|
-
export declare const InputWithNumberFormat: NamedExoticComponent<InputWithNumberFormatProps>;
|
|
4702
|
-
|
|
4703
|
-
/**
|
|
4704
|
-
* @internal
|
|
4705
|
-
*/
|
|
4706
|
-
export declare interface InputWithNumberFormatOwnProps {
|
|
4707
|
-
separators?: Separators;
|
|
4708
|
-
}
|
|
4709
|
-
|
|
4710
|
-
/**
|
|
4711
|
-
* @internal
|
|
4712
|
-
*/
|
|
4713
|
-
export declare type InputWithNumberFormatProps = InputWithNumberFormatOwnProps & InputPureProps;
|
|
4714
|
-
|
|
4715
|
-
/**
|
|
4716
|
-
* @internal
|
|
4717
|
-
*/
|
|
4718
|
-
export declare interface InputWithNumberFormatState {
|
|
4719
|
-
value: number;
|
|
4720
|
-
isFocused: boolean;
|
|
4721
|
-
}
|
|
4723
|
+
export declare const InputWithNumberFormat: NamedExoticComponent<IInputWithNumberFormatProps>;
|
|
4722
4724
|
|
|
4723
4725
|
/**
|
|
4724
4726
|
* @internal
|
|
@@ -5880,67 +5882,306 @@ export declare interface ITypographyProps {
|
|
|
5880
5882
|
/**
|
|
5881
5883
|
* @internal
|
|
5882
5884
|
*/
|
|
5883
|
-
export declare interface
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
|
|
5885
|
+
export declare interface IUiAsyncTableAccessibilityConfig<T> {
|
|
5886
|
+
getCheckboxItemAriaLabel?: (item: T) => string;
|
|
5887
|
+
checkboxAllAriaLabel?: string;
|
|
5888
|
+
searchAriaLabel?: string;
|
|
5889
|
+
gridAriaLabel?: string;
|
|
5887
5890
|
}
|
|
5888
5891
|
|
|
5889
5892
|
/**
|
|
5890
5893
|
* @internal
|
|
5891
5894
|
*/
|
|
5892
|
-
export declare interface
|
|
5893
|
-
|
|
5895
|
+
export declare interface IUiAsyncTableBulkAction {
|
|
5896
|
+
label: string;
|
|
5897
|
+
onClick: () => void;
|
|
5898
|
+
accessibilityConfig?: IAccessibilityConfigBase;
|
|
5894
5899
|
}
|
|
5895
5900
|
|
|
5896
5901
|
/**
|
|
5897
5902
|
* @internal
|
|
5898
5903
|
*/
|
|
5899
|
-
export declare interface
|
|
5900
|
-
|
|
5901
|
-
|
|
5904
|
+
export declare interface IUiAsyncTableColumn<T> {
|
|
5905
|
+
key?: keyof T;
|
|
5906
|
+
label?: string;
|
|
5907
|
+
width?: number;
|
|
5908
|
+
renderMenu?: UiAsyncTableMenuRenderer<T>;
|
|
5909
|
+
renderButton?: (item: T) => ReactNode;
|
|
5910
|
+
renderRoleIcon?: (item: T) => ReactNode;
|
|
5911
|
+
renderPrefixIcon?: (item: T) => ReactNode;
|
|
5912
|
+
renderSuffixIcon?: (item: T) => ReactNode;
|
|
5913
|
+
renderBadge?: (item: T) => ReactNode;
|
|
5914
|
+
getMultiLineTextContent?: (item: T) => Array<string>;
|
|
5915
|
+
getTextContent?: (item: T) => string | ReactNode;
|
|
5916
|
+
getTextTitle?: (item: T) => string;
|
|
5917
|
+
getTextHref?: (item: T) => string | undefined;
|
|
5918
|
+
bold?: boolean;
|
|
5919
|
+
sortable?: boolean;
|
|
5920
|
+
align?: "left" | "center" | "right";
|
|
5921
|
+
getAccessibilityConfig?: (item: T) => IUiAsyncTableColumnAccessibilityConfig;
|
|
5902
5922
|
}
|
|
5903
5923
|
|
|
5904
|
-
/**
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
creatable?: boolean;
|
|
5924
|
+
/**
|
|
5925
|
+
* @internal
|
|
5926
|
+
*/
|
|
5927
|
+
export declare interface IUiAsyncTableColumnAccessibilityConfig {
|
|
5928
|
+
ariaLabel?: string;
|
|
5910
5929
|
}
|
|
5911
5930
|
|
|
5912
|
-
/**
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
options: IUiComboboxOption[];
|
|
5918
|
-
/**
|
|
5919
|
-
* The selected value of the combobox. Use when controlled.
|
|
5920
|
-
*/
|
|
5921
|
-
value?: string;
|
|
5922
|
-
/**
|
|
5923
|
-
* The default value of the combobox. Use when uncontrolled.
|
|
5924
|
-
*/
|
|
5925
|
-
defaultValue?: string;
|
|
5926
|
-
/**
|
|
5927
|
-
* Event handler called when the selected value of the combobox changes.
|
|
5928
|
-
*/
|
|
5929
|
-
onValueChange?: (value: string) => void;
|
|
5930
|
-
/**
|
|
5931
|
-
* When enabled, the combobox will include a "creatable" option for the current input
|
|
5932
|
-
* if there are multiple matching options and none of them matches the input exactly.
|
|
5933
|
-
*/
|
|
5934
|
-
creatable?: boolean;
|
|
5931
|
+
/**
|
|
5932
|
+
* @internal
|
|
5933
|
+
*/
|
|
5934
|
+
export declare interface IUiAsyncTableColumnDefinitionResponsive<T> extends IUiAsyncTableColumn<T> {
|
|
5935
|
+
minWidth?: number;
|
|
5935
5936
|
}
|
|
5936
5937
|
|
|
5937
|
-
/**
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
|
|
5938
|
+
/**
|
|
5939
|
+
* @internal
|
|
5940
|
+
*/
|
|
5941
|
+
export declare interface IUiAsyncTableEmptyStateProps {
|
|
5942
|
+
title?: string;
|
|
5943
|
+
description?: string;
|
|
5944
|
+
icon?: IconType;
|
|
5945
|
+
}
|
|
5946
|
+
|
|
5947
|
+
/**
|
|
5948
|
+
* @internal
|
|
5949
|
+
*/
|
|
5950
|
+
export declare interface IUiAsyncTableFilter {
|
|
5951
|
+
label: string;
|
|
5952
|
+
options: Array<IUiAsyncTableFilterOption>;
|
|
5953
|
+
onItemsSelect: (options: Array<IUiAsyncTableFilterOption>) => void;
|
|
5954
|
+
selected?: Array<IUiAsyncTableFilterOption>;
|
|
5955
|
+
isMultiSelect?: boolean;
|
|
5956
|
+
}
|
|
5957
|
+
|
|
5958
|
+
/**
|
|
5959
|
+
* @internal
|
|
5960
|
+
*/
|
|
5961
|
+
export declare interface IUiAsyncTableFilterOption {
|
|
5962
|
+
value: string;
|
|
5963
|
+
label?: string;
|
|
5964
|
+
secondaryLabel?: string;
|
|
5965
|
+
}
|
|
5966
|
+
|
|
5967
|
+
/**
|
|
5968
|
+
* @internal
|
|
5969
|
+
*/
|
|
5970
|
+
export declare interface IUiAsyncTableProps<T extends {
|
|
5971
|
+
id: string;
|
|
5972
|
+
}> {
|
|
5973
|
+
items: T[];
|
|
5974
|
+
totalItemsCount?: number;
|
|
5975
|
+
columns: Array<IUiAsyncTableColumn<T>>;
|
|
5976
|
+
onItemClick?: (item: T) => void;
|
|
5977
|
+
scrollToIndex?: number;
|
|
5978
|
+
width?: number;
|
|
5979
|
+
maxHeight?: number;
|
|
5980
|
+
variant?: UiAsyncTableVariant;
|
|
5981
|
+
isMobileView?: boolean;
|
|
5982
|
+
skeletonItemsCount?: number;
|
|
5983
|
+
isLoading?: boolean;
|
|
5984
|
+
hasNextPage?: boolean;
|
|
5985
|
+
loadNextPage?: () => void;
|
|
5986
|
+
filters?: Array<IUiAsyncTableFilter>;
|
|
5987
|
+
isFiltersTooLarge?: boolean;
|
|
5988
|
+
sortBy?: keyof T;
|
|
5989
|
+
sortDirection?: SortDirection;
|
|
5990
|
+
onSort?: (key: keyof T) => void;
|
|
5991
|
+
onSearch?: (search: string) => void;
|
|
5992
|
+
renderToolbarCustomElement?: () => ReactNode;
|
|
5993
|
+
bulkActions?: Array<IUiAsyncTableBulkAction>;
|
|
5994
|
+
selectedItemIds?: Array<string>;
|
|
5995
|
+
setSelectedItemIds?: (items: Array<string>) => void;
|
|
5996
|
+
renderItem?: (item: T) => ReactNode;
|
|
5997
|
+
renderHeader?: () => ReactNode;
|
|
5998
|
+
renderEmptyState?: () => ReactNode;
|
|
5999
|
+
locale?: string;
|
|
6000
|
+
accessibilityConfig?: IUiAsyncTableAccessibilityConfig<T>;
|
|
6001
|
+
}
|
|
6002
|
+
|
|
6003
|
+
/**
|
|
6004
|
+
* @internal
|
|
6005
|
+
*/
|
|
6006
|
+
export declare interface IUiAsyncTableTitleAction {
|
|
6007
|
+
renderAction: () => ReactNode;
|
|
6008
|
+
}
|
|
6009
|
+
|
|
6010
|
+
/**
|
|
6011
|
+
* @internal
|
|
6012
|
+
*/
|
|
6013
|
+
export declare interface IUiAsyncTableTitleProps {
|
|
6014
|
+
title: string;
|
|
6015
|
+
renderIcon?: () => ReactNode;
|
|
6016
|
+
onSearch?: (search: string) => void;
|
|
6017
|
+
actions: Array<IUiAsyncTableTitleAction>;
|
|
6018
|
+
scrollToStart: () => void;
|
|
6019
|
+
}
|
|
6020
|
+
|
|
6021
|
+
/**
|
|
6022
|
+
* @internal
|
|
6023
|
+
*/
|
|
6024
|
+
export declare interface IUiAutofocusOptions {
|
|
6025
|
+
active?: boolean;
|
|
6026
|
+
refocusKey?: unknown;
|
|
6027
|
+
initialFocus?: string | RefObject<HTMLElement | null>;
|
|
6028
|
+
}
|
|
6029
|
+
|
|
6030
|
+
/**
|
|
6031
|
+
* @internal
|
|
6032
|
+
*/
|
|
6033
|
+
export declare interface IUiBadgeProps {
|
|
6034
|
+
label: string;
|
|
6035
|
+
}
|
|
6036
|
+
|
|
6037
|
+
/**
|
|
6038
|
+
* @internal
|
|
6039
|
+
*/
|
|
6040
|
+
export declare interface IUiButtonAccessibilityConfig extends IAccessibilityConfigBase {
|
|
6041
|
+
iconAriaHidden?: boolean;
|
|
6042
|
+
}
|
|
6043
|
+
|
|
6044
|
+
/**
|
|
6045
|
+
* @internal
|
|
6046
|
+
*/
|
|
6047
|
+
export declare interface IUiButtonProps {
|
|
6048
|
+
id?: string;
|
|
6049
|
+
size?: SizeSmall | SizeMedium | SizeLarge;
|
|
6050
|
+
variant?: VariantPrimary | VariantSecondary | VariantTertiary | VariantPopOut | VariantDanger | VariantTooltip | VariantLink;
|
|
6051
|
+
disableIconAnimation?: boolean;
|
|
6052
|
+
iconBefore?: IconType;
|
|
6053
|
+
iconBeforeSize?: number;
|
|
6054
|
+
badgeAfter?: number;
|
|
6055
|
+
iconAfter?: IconType;
|
|
6056
|
+
iconAfterSize?: number;
|
|
6057
|
+
label: string;
|
|
6058
|
+
isDisabled?: boolean;
|
|
6059
|
+
isLoading?: boolean;
|
|
6060
|
+
isSelected?: boolean;
|
|
6061
|
+
tooltip?: ReactNode;
|
|
6062
|
+
onClick?: (e: MouseEvent_2<HTMLButtonElement>) => void;
|
|
6063
|
+
onKeyDown?: (e: KeyboardEvent_2<HTMLButtonElement>) => void;
|
|
6064
|
+
dataId?: string;
|
|
6065
|
+
dataTestId?: string;
|
|
6066
|
+
accessibilityConfig?: IUiButtonAccessibilityConfig;
|
|
6067
|
+
maxWidth?: number;
|
|
6068
|
+
tabIndex?: number;
|
|
6069
|
+
}
|
|
6070
|
+
|
|
6071
|
+
/**
|
|
6072
|
+
* @internal
|
|
6073
|
+
*/
|
|
6074
|
+
export declare interface IUiCardProps {
|
|
6075
|
+
elevation?: "1" | "2";
|
|
6076
|
+
tabIndex?: number;
|
|
6077
|
+
children?: ReactNode;
|
|
6078
|
+
}
|
|
6079
|
+
|
|
6080
|
+
/**
|
|
6081
|
+
* @internal
|
|
6082
|
+
*/
|
|
6083
|
+
export declare interface IUiCheckboxProps {
|
|
6084
|
+
checked: boolean;
|
|
6085
|
+
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
6086
|
+
preventDefault?: boolean;
|
|
6087
|
+
indeterminate?: boolean;
|
|
6088
|
+
disabled?: boolean;
|
|
6089
|
+
accessibilityConfig?: IAccessibilityConfigBase;
|
|
6090
|
+
tabIndex?: number;
|
|
6091
|
+
label?: string;
|
|
6092
|
+
}
|
|
6093
|
+
|
|
6094
|
+
/**
|
|
6095
|
+
* @internal
|
|
6096
|
+
*/
|
|
6097
|
+
export declare interface IUiChipAccessibilityConfig extends IAccessibilityConfigBase, IDropdownButtonAccessibilityConfig {
|
|
6098
|
+
deleteAriaLabel?: string;
|
|
6099
|
+
deleteAriaDescribedBy?: string;
|
|
6100
|
+
}
|
|
6101
|
+
|
|
6102
|
+
/**
|
|
6103
|
+
* @internal
|
|
6104
|
+
*/
|
|
6105
|
+
export declare interface IUiChipProps {
|
|
6106
|
+
label: string;
|
|
6107
|
+
tag?: string;
|
|
6108
|
+
isDeletable?: boolean;
|
|
6109
|
+
isActive?: boolean;
|
|
6110
|
+
isLocked?: boolean;
|
|
6111
|
+
isExpandable?: boolean;
|
|
6112
|
+
isDisabled?: boolean;
|
|
6113
|
+
maxWidth?: number;
|
|
6114
|
+
iconBefore?: IconType;
|
|
6115
|
+
onClick?: () => void;
|
|
6116
|
+
onDelete?: () => void;
|
|
6117
|
+
onKeyDown?: KeyboardEventHandler<HTMLButtonElement>;
|
|
6118
|
+
onDeleteKeyDown?: KeyboardEventHandler<HTMLButtonElement>;
|
|
6119
|
+
accessibilityConfig?: IUiChipAccessibilityConfig;
|
|
6120
|
+
dataTestId?: string;
|
|
6121
|
+
buttonRef?: MutableRefObject<HTMLButtonElement>;
|
|
6122
|
+
renderChipContent?: (content: ReactNode) => ReactNode;
|
|
6123
|
+
renderDeleteButton?: (button: ReactNode) => ReactNode;
|
|
6124
|
+
}
|
|
6125
|
+
|
|
6126
|
+
/** @internal */
|
|
6127
|
+
export declare interface IUiComboboxListItemProps extends HTMLAttributes<HTMLLIElement> {
|
|
6128
|
+
option: IUiComboboxOption;
|
|
6129
|
+
index: number;
|
|
6130
|
+
}
|
|
6131
|
+
|
|
6132
|
+
/** @internal */
|
|
6133
|
+
export declare interface IUiComboboxListProps extends Omit<HTMLAttributes<HTMLUListElement>, "children"> {
|
|
6134
|
+
/**
|
|
6135
|
+
* The children to render for each option. Renders a `UiComboboxListItem` when not provided.
|
|
6136
|
+
*/
|
|
6137
|
+
children?: (option: IUiComboboxOption, index: number) => ReactNode;
|
|
6138
|
+
}
|
|
6139
|
+
|
|
6140
|
+
/** @internal */
|
|
6141
|
+
export declare interface IUiComboboxOption {
|
|
6142
|
+
id: string;
|
|
6143
|
+
label: string;
|
|
6144
|
+
disabled?: boolean;
|
|
6145
|
+
creatable?: boolean;
|
|
6146
|
+
}
|
|
6147
|
+
|
|
6148
|
+
/** @internal */
|
|
6149
|
+
export declare interface IUiComboboxParams {
|
|
6150
|
+
/**
|
|
6151
|
+
* The options to display in the combobox.
|
|
6152
|
+
*/
|
|
6153
|
+
options: IUiComboboxOption[];
|
|
6154
|
+
/**
|
|
6155
|
+
* The selected value of the combobox. Use when controlled.
|
|
6156
|
+
*/
|
|
6157
|
+
value?: string;
|
|
6158
|
+
/**
|
|
6159
|
+
* The default value of the combobox. Use when uncontrolled.
|
|
6160
|
+
*/
|
|
6161
|
+
defaultValue?: string;
|
|
6162
|
+
/**
|
|
6163
|
+
* Event handler called when the selected value of the combobox changes.
|
|
6164
|
+
*/
|
|
6165
|
+
onValueChange?: (value: string) => void;
|
|
6166
|
+
/**
|
|
6167
|
+
* When enabled, the combobox will include a "creatable" option for the current input
|
|
6168
|
+
* if there are multiple matching options and none of them matches the input exactly.
|
|
6169
|
+
*/
|
|
6170
|
+
creatable?: boolean;
|
|
6171
|
+
}
|
|
6172
|
+
|
|
6173
|
+
/** @internal */
|
|
6174
|
+
export declare interface IUiComboboxProps extends IUiComboboxParams {
|
|
6175
|
+
children?: ReactNode;
|
|
6176
|
+
}
|
|
6177
|
+
|
|
6178
|
+
/** @internal */
|
|
6179
|
+
export declare interface IUiComboboxState {
|
|
6180
|
+
inputValue: string;
|
|
6181
|
+
onInputChange: (value: string) => void;
|
|
6182
|
+
onInputKeyDown: (event: KeyboardEvent_2<HTMLInputElement>) => void;
|
|
6183
|
+
onInputBlur: () => void;
|
|
6184
|
+
availableOptions: IUiComboboxOption[];
|
|
5944
6185
|
activeIndex: number | null;
|
|
5945
6186
|
setActiveIndex: (index: number | null) => void;
|
|
5946
6187
|
activeOption: IUiComboboxOption | undefined;
|
|
@@ -5958,6 +6199,38 @@ export declare interface IUiComboboxState {
|
|
|
5958
6199
|
creatable: boolean;
|
|
5959
6200
|
}
|
|
5960
6201
|
|
|
6202
|
+
/**
|
|
6203
|
+
* @internal
|
|
6204
|
+
*/
|
|
6205
|
+
export declare interface IUiDateProps {
|
|
6206
|
+
date: Date | string | number;
|
|
6207
|
+
locale?: string;
|
|
6208
|
+
relativeThresholdMs?: number;
|
|
6209
|
+
absoluteOptions?: Intl.DateTimeFormatOptions;
|
|
6210
|
+
allowRelative?: boolean;
|
|
6211
|
+
}
|
|
6212
|
+
|
|
6213
|
+
/**
|
|
6214
|
+
* @internal
|
|
6215
|
+
*/
|
|
6216
|
+
export declare interface IUiDrawerProps extends IUiAutofocusOptions {
|
|
6217
|
+
open?: boolean;
|
|
6218
|
+
mode?: "absolute" | "fixed";
|
|
6219
|
+
node?: HTMLElement;
|
|
6220
|
+
dataTestId?: string;
|
|
6221
|
+
zIndex?: number;
|
|
6222
|
+
children?: ReactNode;
|
|
6223
|
+
anchor?: "left" | "right";
|
|
6224
|
+
transition?: UiDrawerTransitionProps;
|
|
6225
|
+
onEscapeKey?: (e: KeyboardEvent_2) => void;
|
|
6226
|
+
onClickOutside?: (e: MouseEvent_2) => void;
|
|
6227
|
+
closeLabel?: string;
|
|
6228
|
+
showCloseButton?: boolean;
|
|
6229
|
+
onClickClose?: () => void;
|
|
6230
|
+
returnFocusTo?: string | RefObject<HTMLElement | null> | (() => HTMLElement | null);
|
|
6231
|
+
accessibilityConfig?: IAccessibilityConfigBase;
|
|
6232
|
+
}
|
|
6233
|
+
|
|
5961
6234
|
/**
|
|
5962
6235
|
* Props passed to the body render function.
|
|
5963
6236
|
*
|
|
@@ -6017,6 +6290,13 @@ export declare interface IUiDropdownButtonRenderProps {
|
|
|
6017
6290
|
};
|
|
6018
6291
|
}
|
|
6019
6292
|
|
|
6293
|
+
/**
|
|
6294
|
+
* @internal
|
|
6295
|
+
*/
|
|
6296
|
+
export declare interface IUiDropdownIconButtonProps extends IUiIconButtonPublicProps {
|
|
6297
|
+
isDropdownOpen: boolean;
|
|
6298
|
+
}
|
|
6299
|
+
|
|
6020
6300
|
/**
|
|
6021
6301
|
* Props for the UiDropdown component.
|
|
6022
6302
|
*
|
|
@@ -6176,6 +6456,51 @@ export declare type IUiFocusManagerProps = {
|
|
|
6176
6456
|
children: ReactNode;
|
|
6177
6457
|
};
|
|
6178
6458
|
|
|
6459
|
+
/**
|
|
6460
|
+
* @internal
|
|
6461
|
+
*/
|
|
6462
|
+
export declare interface IUiIconButtonPublicProps {
|
|
6463
|
+
icon: IconType;
|
|
6464
|
+
iconColor?: ThemeColor;
|
|
6465
|
+
label?: string;
|
|
6466
|
+
size?: SizeXSmall | SizeSmall | SizeMedium | SizeLarge | SizeXLarge | SizeXXLarge;
|
|
6467
|
+
disableAnimation?: boolean;
|
|
6468
|
+
variant?: VariantPrimary | VariantSecondary | VariantTertiary | VariantPopOut | VariantDanger | VariantTable | VariantBare;
|
|
6469
|
+
isDisabled?: boolean;
|
|
6470
|
+
isActive?: boolean;
|
|
6471
|
+
onClick?: (e: MouseEvent_2<HTMLButtonElement>) => void;
|
|
6472
|
+
onKeyDown?: (e: KeyboardEvent_2<HTMLButtonElement>) => void;
|
|
6473
|
+
dataId?: string;
|
|
6474
|
+
dataTestId?: string;
|
|
6475
|
+
ariaAttributes?: IDropdownButtonRenderProps["ariaAttributes"];
|
|
6476
|
+
accessibilityConfig?: IDropdownButtonRenderProps["accessibilityConfig"];
|
|
6477
|
+
tabIndex?: number;
|
|
6478
|
+
id?: string;
|
|
6479
|
+
}
|
|
6480
|
+
|
|
6481
|
+
/**
|
|
6482
|
+
* @internal
|
|
6483
|
+
*/
|
|
6484
|
+
export declare interface IUiIconProps {
|
|
6485
|
+
type: IconType;
|
|
6486
|
+
color?: ThemeColor | "currentColor";
|
|
6487
|
+
size?: number;
|
|
6488
|
+
disableAnimation?: boolean;
|
|
6489
|
+
backgroundSize?: number;
|
|
6490
|
+
backgroundColor?: ThemeColor;
|
|
6491
|
+
backgroundType?: BackgroundType;
|
|
6492
|
+
backgroundShape?: BackgroundShape;
|
|
6493
|
+
/**
|
|
6494
|
+
* SVGs are inline by default. The icon can be set to block to behave better in flex layouts and similar.
|
|
6495
|
+
* @defaultValue "inline"
|
|
6496
|
+
*/
|
|
6497
|
+
layout?: "block" | "inline";
|
|
6498
|
+
accessibilityConfig?: {
|
|
6499
|
+
ariaLabel?: AriaAttributes["aria-label"];
|
|
6500
|
+
ariaHidden?: boolean;
|
|
6501
|
+
};
|
|
6502
|
+
}
|
|
6503
|
+
|
|
6179
6504
|
/**
|
|
6180
6505
|
* @internal
|
|
6181
6506
|
*/
|
|
@@ -6225,11 +6550,50 @@ export declare interface IUiListboxInteractiveItem<T> {
|
|
|
6225
6550
|
tooltip?: string;
|
|
6226
6551
|
}
|
|
6227
6552
|
|
|
6553
|
+
/**
|
|
6554
|
+
* @internal
|
|
6555
|
+
*/
|
|
6556
|
+
export declare interface IUiListboxInteractiveItemProps<T> {
|
|
6557
|
+
item: IUiListboxInteractiveItem<T>;
|
|
6558
|
+
isFocused: boolean;
|
|
6559
|
+
isSelected: boolean;
|
|
6560
|
+
isCompact: boolean;
|
|
6561
|
+
onSelect: (e: MouseEvent_2) => void;
|
|
6562
|
+
}
|
|
6563
|
+
|
|
6228
6564
|
/**
|
|
6229
6565
|
* @internal
|
|
6230
6566
|
*/
|
|
6231
6567
|
export declare type IUiListboxItem<InteractiveItemData, StaticItemData = ReactNode> = IUiListboxStaticItem<StaticItemData> | IUiListboxInteractiveItem<InteractiveItemData>;
|
|
6232
6568
|
|
|
6569
|
+
/**
|
|
6570
|
+
* @internal
|
|
6571
|
+
*/
|
|
6572
|
+
export declare interface IUiListboxProps<InteractiveItemData, StaticItemData = ReactNode> {
|
|
6573
|
+
items: IUiListboxItem<InteractiveItemData, StaticItemData>[];
|
|
6574
|
+
dataTestId?: string;
|
|
6575
|
+
itemDataTestId?: string | ((item: IUiListboxItem<InteractiveItemData, StaticItemData>) => string | undefined);
|
|
6576
|
+
width?: number;
|
|
6577
|
+
maxWidth?: number;
|
|
6578
|
+
maxHeight?: number;
|
|
6579
|
+
onSelect?: (item: IUiListboxInteractiveItem<InteractiveItemData>, mods: {
|
|
6580
|
+
type?: "mouse" | "keyboard";
|
|
6581
|
+
newTab?: boolean;
|
|
6582
|
+
}) => void;
|
|
6583
|
+
onClose?: () => void;
|
|
6584
|
+
onUnhandledKeyDown?: (event: KeyboardEvent_2, context: IUiListboxContext<InteractiveItemData, StaticItemData>) => void;
|
|
6585
|
+
selectedItemId?: string;
|
|
6586
|
+
InteractiveItemComponent?: ComponentType<IUiListboxInteractiveItemProps<InteractiveItemData>>;
|
|
6587
|
+
StaticItemComponent?: ComponentType<IUiListboxStaticItemProps<StaticItemData>>;
|
|
6588
|
+
shouldKeyboardActionPreventDefault?: boolean;
|
|
6589
|
+
shouldKeyboardActionStopPropagation?: boolean;
|
|
6590
|
+
shouldCloseOnSelect?: boolean;
|
|
6591
|
+
isDisabledFocusable?: boolean;
|
|
6592
|
+
isCompact?: boolean;
|
|
6593
|
+
ariaAttributes: UiListboxAriaAttributes;
|
|
6594
|
+
reference?: RefObject<HTMLUListElement | null>;
|
|
6595
|
+
}
|
|
6596
|
+
|
|
6233
6597
|
/**
|
|
6234
6598
|
* @internal
|
|
6235
6599
|
*/
|
|
@@ -6239,6 +6603,13 @@ export declare interface IUiListboxStaticItem<T> {
|
|
|
6239
6603
|
data: T;
|
|
6240
6604
|
}
|
|
6241
6605
|
|
|
6606
|
+
/**
|
|
6607
|
+
* @internal
|
|
6608
|
+
*/
|
|
6609
|
+
export declare interface IUiListboxStaticItemProps<T> {
|
|
6610
|
+
item: IUiListboxStaticItem<T>;
|
|
6611
|
+
}
|
|
6612
|
+
|
|
6242
6613
|
/**
|
|
6243
6614
|
* @internal
|
|
6244
6615
|
*/
|
|
@@ -6401,6 +6772,30 @@ export declare interface IUiMenuPluggableComponents<T extends IUiMenuItemData =
|
|
|
6401
6772
|
MenuHeader: ComponentType;
|
|
6402
6773
|
}
|
|
6403
6774
|
|
|
6775
|
+
/**
|
|
6776
|
+
* @internal
|
|
6777
|
+
*/
|
|
6778
|
+
export declare interface IUiMenuProps<T extends IUiMenuItemData = object, M = object> extends Partial<IUiMenuPluggableComponents<T>> {
|
|
6779
|
+
items: IUiMenuItem<T>[];
|
|
6780
|
+
size?: SizeSmall | SizeMedium;
|
|
6781
|
+
dataTestId?: ((context: IUiMenuContext<T>) => string | undefined) | string;
|
|
6782
|
+
itemDataTestId?: ((item: IUiMenuItem<T>) => string | undefined) | string;
|
|
6783
|
+
maxWidth?: number;
|
|
6784
|
+
maxHeight?: ((context: IUiMenuContext<T>) => number | undefined) | number;
|
|
6785
|
+
containerBottomPadding?: "none" | "small" | "medium";
|
|
6786
|
+
containerTopPadding?: "none" | "small" | "medium";
|
|
6787
|
+
onSelect?: (item: IUiMenuInteractiveItem<T>, event: MouseEvent_2 | KeyboardEvent_2) => void;
|
|
6788
|
+
onLevelChange?: (level: number, item?: IUiMenuContentItem<T> | IUiMenuInteractiveItem<T>) => void;
|
|
6789
|
+
onClose?: () => void;
|
|
6790
|
+
onUnhandledKeyDown?: (event: KeyboardEvent_2, context: IUiMenuContext<T>) => void;
|
|
6791
|
+
shouldKeyboardActionPreventDefault?: boolean;
|
|
6792
|
+
shouldKeyboardActionStopPropagation?: boolean;
|
|
6793
|
+
shouldCloseOnSelect?: boolean;
|
|
6794
|
+
isDisabledFocusable?: boolean;
|
|
6795
|
+
ariaAttributes: Omit<IDropdownBodyRenderProps["ariaAttributes"], "role">;
|
|
6796
|
+
menuCtxData?: M;
|
|
6797
|
+
}
|
|
6798
|
+
|
|
6404
6799
|
/**
|
|
6405
6800
|
* @internal
|
|
6406
6801
|
*/
|
|
@@ -6444,6 +6839,153 @@ export declare interface IUiPagedVirtualListImperativeHandle<T> {
|
|
|
6444
6839
|
scrollToItem: (item: T) => void;
|
|
6445
6840
|
}
|
|
6446
6841
|
|
|
6842
|
+
/**
|
|
6843
|
+
* @internal
|
|
6844
|
+
*/
|
|
6845
|
+
export declare interface IUiPagedVirtualListProps<T> {
|
|
6846
|
+
maxHeight: number;
|
|
6847
|
+
items?: T[];
|
|
6848
|
+
itemHeight: number;
|
|
6849
|
+
itemsGap: number;
|
|
6850
|
+
containerPadding?: number;
|
|
6851
|
+
itemPadding: number;
|
|
6852
|
+
skeletonItemsCount: number;
|
|
6853
|
+
hasNextPage?: boolean;
|
|
6854
|
+
loadNextPage?: () => void;
|
|
6855
|
+
customKeyboardNavigationHandler?: (event: KeyboardEvent_2<Element>) => void;
|
|
6856
|
+
onKeyDownSelect?: (item: T) => void;
|
|
6857
|
+
onKeyDownConfirm?: (item: T) => void;
|
|
6858
|
+
closeDropdown?: () => void;
|
|
6859
|
+
isLoading?: boolean;
|
|
6860
|
+
/**
|
|
6861
|
+
* An item in the list that should be scrolled into view when the component renders.
|
|
6862
|
+
* By default, items are compared by object identity (i.e., `===`).
|
|
6863
|
+
* To customize how the target item is found (e.g., by ID), provide a `scrollToItemKeyExtractor` as well.
|
|
6864
|
+
*/
|
|
6865
|
+
scrollToItem?: T;
|
|
6866
|
+
/**
|
|
6867
|
+
* A function that extracts a unique key from each item for comparison with `scrollToItem`.
|
|
6868
|
+
* This is useful when the provided `scrollToItem` may not be the same object reference as items in the list.
|
|
6869
|
+
* If not provided, object identity (`===`) is used for comparison.
|
|
6870
|
+
*/
|
|
6871
|
+
scrollToItemKeyExtractor?: (item: T) => string | number;
|
|
6872
|
+
scrollToIndex?: number;
|
|
6873
|
+
shouldLoadNextPage?: (lastItemIndex: number, itemsCount: number, skeletonItemsCount: number) => boolean;
|
|
6874
|
+
children: (item: T, focusedIndex?: number) => ReactNode;
|
|
6875
|
+
scrollbarHoverEffect?: boolean;
|
|
6876
|
+
SkeletonItem?: ComponentType<IUiPagedVirtualListSkeletonItemProps>;
|
|
6877
|
+
representAs?: "grid" | "listbox";
|
|
6878
|
+
listboxProps?: Record<string, any>;
|
|
6879
|
+
tabIndex?: number;
|
|
6880
|
+
focusedItem?: T;
|
|
6881
|
+
focusedAction?: string;
|
|
6882
|
+
getIsItemSelected?: (item: T) => boolean;
|
|
6883
|
+
}
|
|
6884
|
+
|
|
6885
|
+
/**
|
|
6886
|
+
* @internal
|
|
6887
|
+
*/
|
|
6888
|
+
export declare interface IUiPagedVirtualListSkeletonItemProps {
|
|
6889
|
+
itemHeight: number;
|
|
6890
|
+
}
|
|
6891
|
+
|
|
6892
|
+
/**
|
|
6893
|
+
* Props for the UiPaginationButton component.
|
|
6894
|
+
*
|
|
6895
|
+
* @internal
|
|
6896
|
+
*/
|
|
6897
|
+
export declare interface IUiPaginationButtonProps {
|
|
6898
|
+
/**
|
|
6899
|
+
* Direction of the arrow icon.
|
|
6900
|
+
* - "previous" shows left arrow (paginationLeft)
|
|
6901
|
+
* - "next" shows right arrow (paginationRight)
|
|
6902
|
+
*/
|
|
6903
|
+
direction: UiPaginationButtonDirection;
|
|
6904
|
+
/**
|
|
6905
|
+
* Accessible label for the button.
|
|
6906
|
+
*/
|
|
6907
|
+
label: string;
|
|
6908
|
+
/**
|
|
6909
|
+
* Size of the button.
|
|
6910
|
+
* - "small" (22x22) - for desktop views
|
|
6911
|
+
* - "large" (32x32) - for mobile views
|
|
6912
|
+
* @defaultValue "small"
|
|
6913
|
+
*/
|
|
6914
|
+
size?: UiPaginationButtonSize;
|
|
6915
|
+
/**
|
|
6916
|
+
* Whether the button is disabled.
|
|
6917
|
+
*/
|
|
6918
|
+
isDisabled?: boolean;
|
|
6919
|
+
/**
|
|
6920
|
+
* Whether the button is in active/selected state.
|
|
6921
|
+
*/
|
|
6922
|
+
isActive?: boolean;
|
|
6923
|
+
/**
|
|
6924
|
+
* Click handler.
|
|
6925
|
+
*/
|
|
6926
|
+
onClick?: (e: MouseEvent_2<HTMLButtonElement>) => void;
|
|
6927
|
+
/**
|
|
6928
|
+
* Keyboard event handler.
|
|
6929
|
+
*/
|
|
6930
|
+
onKeyDown?: (e: KeyboardEvent_2<HTMLButtonElement>) => void;
|
|
6931
|
+
/**
|
|
6932
|
+
* Data attribute for tracking/analytics.
|
|
6933
|
+
*/
|
|
6934
|
+
dataId?: string;
|
|
6935
|
+
/**
|
|
6936
|
+
* Data attribute for testing.
|
|
6937
|
+
*/
|
|
6938
|
+
dataTestId?: string;
|
|
6939
|
+
/**
|
|
6940
|
+
* Tab index for keyboard navigation.
|
|
6941
|
+
*/
|
|
6942
|
+
tabIndex?: number;
|
|
6943
|
+
/**
|
|
6944
|
+
* HTML id attribute.
|
|
6945
|
+
*/
|
|
6946
|
+
id?: string;
|
|
6947
|
+
/**
|
|
6948
|
+
* Accessibility configuration for ARIA attributes.
|
|
6949
|
+
*/
|
|
6950
|
+
accessibilityConfig?: IAccessibilityConfigBase;
|
|
6951
|
+
}
|
|
6952
|
+
|
|
6953
|
+
/**
|
|
6954
|
+
* @internal
|
|
6955
|
+
*/
|
|
6956
|
+
export declare interface IUiPopoverProps {
|
|
6957
|
+
anchor: ReactElement<any>;
|
|
6958
|
+
width?: "default" | number;
|
|
6959
|
+
disabled?: boolean;
|
|
6960
|
+
tabIndex?: number;
|
|
6961
|
+
accessibilityConfig?: IAccessibilityConfigBase;
|
|
6962
|
+
title?: string | ReactNode;
|
|
6963
|
+
content?: ReactNode | ((args: {
|
|
6964
|
+
onClose: () => void;
|
|
6965
|
+
}) => ReactNode);
|
|
6966
|
+
footer?: ReactNode | ((args: {
|
|
6967
|
+
onClose: () => void;
|
|
6968
|
+
}) => ReactNode);
|
|
6969
|
+
triggerBy?: IUiTooltipProps["triggerBy"];
|
|
6970
|
+
closeText?: string;
|
|
6971
|
+
closeVisible?: boolean;
|
|
6972
|
+
initialFocus?: RefObject<HTMLElement> | string;
|
|
6973
|
+
returnFocusTo?: RefObject<HTMLElement> | string;
|
|
6974
|
+
returnFocusAfterClose?: boolean;
|
|
6975
|
+
/**
|
|
6976
|
+
* customize if you know that dialog content has some custom focusIn logic which modifies focused element, eg. table which shifts its focus from table wrapper to first table cell
|
|
6977
|
+
* default is check if active element is exactly focused element.
|
|
6978
|
+
*/
|
|
6979
|
+
focusCheckFn?: (element: HTMLElement) => boolean;
|
|
6980
|
+
/**
|
|
6981
|
+
* Enable focus trap to prevent tabbing out of the popover
|
|
6982
|
+
* When true, uses UiFocusManager's focus trap instead of tabOutHandler
|
|
6983
|
+
*/
|
|
6984
|
+
enableFocusTrap?: boolean;
|
|
6985
|
+
onOpen?: () => void;
|
|
6986
|
+
onClose?: () => void;
|
|
6987
|
+
}
|
|
6988
|
+
|
|
6447
6989
|
/**
|
|
6448
6990
|
* @internal
|
|
6449
6991
|
*/
|
|
@@ -6458,6 +7000,40 @@ export declare interface IUiSettings {
|
|
|
6458
7000
|
displayAccountPage: boolean;
|
|
6459
7001
|
}
|
|
6460
7002
|
|
|
7003
|
+
/**
|
|
7004
|
+
* @internal
|
|
7005
|
+
*/
|
|
7006
|
+
export declare interface IUiSkeletonProps {
|
|
7007
|
+
/**
|
|
7008
|
+
* Number of items to render.
|
|
7009
|
+
*/
|
|
7010
|
+
itemsCount?: number;
|
|
7011
|
+
/**
|
|
7012
|
+
* Height of the item, or items.
|
|
7013
|
+
*/
|
|
7014
|
+
itemHeight?: (number | string) | (number | string)[];
|
|
7015
|
+
/**
|
|
7016
|
+
* Width of the item, or items.
|
|
7017
|
+
*/
|
|
7018
|
+
itemWidth?: (number | string) | (number | string)[];
|
|
7019
|
+
/**
|
|
7020
|
+
* Padding of the item, or items.
|
|
7021
|
+
*/
|
|
7022
|
+
itemPadding?: number | number[];
|
|
7023
|
+
/**
|
|
7024
|
+
* Gap between the items.
|
|
7025
|
+
*/
|
|
7026
|
+
itemsGap?: number;
|
|
7027
|
+
/**
|
|
7028
|
+
* Whether to render the skeleton in a row or column.
|
|
7029
|
+
*/
|
|
7030
|
+
direction?: "row" | "column";
|
|
7031
|
+
/**
|
|
7032
|
+
* Border radius of the item.
|
|
7033
|
+
*/
|
|
7034
|
+
itemBorderRadius?: number;
|
|
7035
|
+
}
|
|
7036
|
+
|
|
6461
7037
|
/**
|
|
6462
7038
|
* @internal
|
|
6463
7039
|
*/
|
|
@@ -6467,6 +7043,22 @@ export declare interface IUiStaticTreeViewProps<Level> extends IUiTreeViewProps<
|
|
|
6467
7043
|
ItemComponent?: ComponentType<IUiTreeviewItemProps<Level>>;
|
|
6468
7044
|
}
|
|
6469
7045
|
|
|
7046
|
+
/**
|
|
7047
|
+
* @internal
|
|
7048
|
+
*/
|
|
7049
|
+
export declare interface IUiSubmenuHeaderProps {
|
|
7050
|
+
title?: string;
|
|
7051
|
+
onBack?: (e: MouseEvent_2<HTMLButtonElement>) => void;
|
|
7052
|
+
onClose?: (e: MouseEvent_2<HTMLButtonElement>) => void;
|
|
7053
|
+
backAriaLabel?: string;
|
|
7054
|
+
closeAriaLabel?: string;
|
|
7055
|
+
useShortenedTitle?: boolean;
|
|
7056
|
+
textColor?: string;
|
|
7057
|
+
backgroundColor?: string;
|
|
7058
|
+
height?: SizeMedium | SizeLarge;
|
|
7059
|
+
titleId?: string;
|
|
7060
|
+
}
|
|
7061
|
+
|
|
6470
7062
|
/**
|
|
6471
7063
|
* @internal
|
|
6472
7064
|
*/
|
|
@@ -6609,6 +7201,100 @@ export declare interface IUiTagAccessibilityConfig extends IAccessibilityConfigB
|
|
|
6609
7201
|
deleteAriaLabel?: string;
|
|
6610
7202
|
}
|
|
6611
7203
|
|
|
7204
|
+
/**
|
|
7205
|
+
* @internal
|
|
7206
|
+
*/
|
|
7207
|
+
export declare interface IUiTagDef {
|
|
7208
|
+
id: string;
|
|
7209
|
+
label: string;
|
|
7210
|
+
isDeletable?: boolean;
|
|
7211
|
+
}
|
|
7212
|
+
|
|
7213
|
+
/**
|
|
7214
|
+
* @internal
|
|
7215
|
+
*/
|
|
7216
|
+
export declare interface IUiTagsProps {
|
|
7217
|
+
tags: Array<IUiTagDef>;
|
|
7218
|
+
tagOptions?: Array<IUiTagDef>;
|
|
7219
|
+
addLabel?: string;
|
|
7220
|
+
nameLabel?: string;
|
|
7221
|
+
cancelLabel?: string;
|
|
7222
|
+
closeLabel?: string;
|
|
7223
|
+
saveLabel?: string;
|
|
7224
|
+
moreLabel?: string;
|
|
7225
|
+
noTagsLabel?: string;
|
|
7226
|
+
removeLabel?: string;
|
|
7227
|
+
creatableLabel?: string;
|
|
7228
|
+
readOnly?: boolean;
|
|
7229
|
+
canCreateTag?: boolean;
|
|
7230
|
+
canDeleteTags?: boolean;
|
|
7231
|
+
mode?: "single-line" | "multi-line";
|
|
7232
|
+
onTagClick?: (tag: IUiTagDef) => void;
|
|
7233
|
+
onTagAdd?: (tag: IUiTagDef) => void;
|
|
7234
|
+
onTagRemove?: (tag: IUiTagDef) => void;
|
|
7235
|
+
accessibilityConfig?: IAccessibilityConfigBase;
|
|
7236
|
+
}
|
|
7237
|
+
|
|
7238
|
+
/**
|
|
7239
|
+
* @internal
|
|
7240
|
+
*/
|
|
7241
|
+
export declare interface IUiTooltipProps {
|
|
7242
|
+
/** Tooltip content id */
|
|
7243
|
+
id?: string;
|
|
7244
|
+
/** Position of the tooltip arrow relative to the tooltip, controls also the position of the tooltip */
|
|
7245
|
+
arrowPlacement?: TooltipArrowPlacement;
|
|
7246
|
+
/** Anchor element to be used as reference for the tooltip */
|
|
7247
|
+
anchor: ReactNode;
|
|
7248
|
+
/** Content to be rendered inside the tooltip */
|
|
7249
|
+
content: ReactNode | ((args: {
|
|
7250
|
+
onClose: () => void;
|
|
7251
|
+
type: "screen-reader" | "live";
|
|
7252
|
+
}) => ReactNode);
|
|
7253
|
+
/** Whether tooltip should show on hover, focus or click */
|
|
7254
|
+
triggerBy?: Array<"hover" | "focus" | "click">;
|
|
7255
|
+
/** Delay in milliseconds before showing tooltip on hover */
|
|
7256
|
+
hoverOpenDelay?: number;
|
|
7257
|
+
/** Delay in milliseconds before hiding tooltip after hover out */
|
|
7258
|
+
hoverCloseDelay?: number;
|
|
7259
|
+
/** Whether to show the arrow pointer */
|
|
7260
|
+
showArrow?: boolean;
|
|
7261
|
+
/** Width of the tooltip in pixels, 'same-as-anchor' to match anchor width, if not specified tooltip will be as wide as content */
|
|
7262
|
+
width?: number | "same-as-anchor";
|
|
7263
|
+
/** Distance in pixels between tooltip and anchor element, default is arrow height */
|
|
7264
|
+
offset?: number;
|
|
7265
|
+
/** Whether tooltip should automatically adjust position if it would render outside viewport */
|
|
7266
|
+
optimalPlacement?: boolean;
|
|
7267
|
+
/** ARIA attributes configuration for accessibility */
|
|
7268
|
+
accessibilityConfig?: IAccessibilityConfigBase;
|
|
7269
|
+
/**
|
|
7270
|
+
* Tooltip styling variant
|
|
7271
|
+
* @defaultValue "default"
|
|
7272
|
+
*/
|
|
7273
|
+
variant?: "default" | "error" | "none";
|
|
7274
|
+
/**
|
|
7275
|
+
* Tooltip behaviour of position
|
|
7276
|
+
*/
|
|
7277
|
+
behaviour?: "tooltip" | "popover";
|
|
7278
|
+
/** If the tooltip is disabled, only the anchor element will be shown */
|
|
7279
|
+
disabled?: boolean;
|
|
7280
|
+
/**
|
|
7281
|
+
* Occurs when the tooltip is opened
|
|
7282
|
+
*/
|
|
7283
|
+
onOpen?: () => void;
|
|
7284
|
+
/**
|
|
7285
|
+
* Occurs when the tooltip is closed
|
|
7286
|
+
*/
|
|
7287
|
+
onClose?: () => void;
|
|
7288
|
+
/**
|
|
7289
|
+
* Controls the open state of the tooltip, overrides the triggerBy prop if set
|
|
7290
|
+
*/
|
|
7291
|
+
isOpen?: boolean;
|
|
7292
|
+
/**
|
|
7293
|
+
* Custom styles for the anchor wrapper element
|
|
7294
|
+
*/
|
|
7295
|
+
anchorWrapperStyles?: CSSProperties;
|
|
7296
|
+
}
|
|
7297
|
+
|
|
6612
7298
|
/**
|
|
6613
7299
|
* @internal
|
|
6614
7300
|
*/
|
|
@@ -6760,6 +7446,18 @@ export declare interface IUserIconProps extends IIconProps {
|
|
|
6760
7446
|
backgroundColor?: string;
|
|
6761
7447
|
}
|
|
6762
7448
|
|
|
7449
|
+
/**
|
|
7450
|
+
* @internal
|
|
7451
|
+
*/
|
|
7452
|
+
export declare interface IUseToastMessageType {
|
|
7453
|
+
addSuccess: AddMessageType;
|
|
7454
|
+
addProgress: AddMessageType;
|
|
7455
|
+
addWarning: AddMessageType;
|
|
7456
|
+
addError: AddMessageType;
|
|
7457
|
+
removeMessage: (id: string) => void;
|
|
7458
|
+
removeAllMessages: () => void;
|
|
7459
|
+
}
|
|
7460
|
+
|
|
6763
7461
|
/**
|
|
6764
7462
|
* @internal
|
|
6765
7463
|
*/
|
|
@@ -6903,7 +7601,7 @@ export declare function LocaleSetting({ isChecked, selectedLocal, onChecked, onL
|
|
|
6903
7601
|
/**
|
|
6904
7602
|
* @internal
|
|
6905
7603
|
*/
|
|
6906
|
-
export declare const makeHorizontalKeyboardNavigation: <T extends KeyboardEvent_2
|
|
7604
|
+
export declare const makeHorizontalKeyboardNavigation: <T extends KeyboardEvent_2 = KeyboardEvent_2<Element>>(handlers: {
|
|
6907
7605
|
onUnhandledKeyDown?: ((event: T) => void) | undefined;
|
|
6908
7606
|
onFocusPrevious?: ((event: T) => void) | undefined;
|
|
6909
7607
|
onFocusNext?: ((event: T) => void) | undefined;
|
|
@@ -6919,12 +7617,12 @@ export declare const makeKeyboardNavigation: <ActionKeysMap extends {
|
|
|
6919
7617
|
code: string | string[];
|
|
6920
7618
|
modifiers?: IModifier[];
|
|
6921
7619
|
}>;
|
|
6922
|
-
}>(actionKeysMap: ActionKeysMap) => <T extends KeyboardEvent_2
|
|
7620
|
+
}>(actionKeysMap: ActionKeysMap) => <T extends KeyboardEvent_2 = KeyboardEvent_2>(handlers: { [action in keyof ActionKeysMap | "onUnhandledKeyDown"]?: (event: T) => void; }, options?: IHandleActionOptions) => (event: T) => void;
|
|
6923
7621
|
|
|
6924
7622
|
/**
|
|
6925
7623
|
* @internal
|
|
6926
7624
|
*/
|
|
6927
|
-
export declare const makeLinearKeyboardNavigation: <T extends KeyboardEvent_2
|
|
7625
|
+
export declare const makeLinearKeyboardNavigation: <T extends KeyboardEvent_2 = KeyboardEvent_2<Element>>(handlers: {
|
|
6928
7626
|
onClose?: ((event: T) => void) | undefined;
|
|
6929
7627
|
onSelect?: ((event: T) => void) | undefined;
|
|
6930
7628
|
onUnhandledKeyDown?: ((event: T) => void) | undefined;
|
|
@@ -6937,7 +7635,7 @@ export declare const makeLinearKeyboardNavigation: <T extends KeyboardEvent_2 |
|
|
|
6937
7635
|
/**
|
|
6938
7636
|
* @internal
|
|
6939
7637
|
*/
|
|
6940
|
-
export declare const makeMenuKeyboardNavigation: <T extends KeyboardEvent_2
|
|
7638
|
+
export declare const makeMenuKeyboardNavigation: <T extends KeyboardEvent_2 = KeyboardEvent_2<Element>>(handlers: {
|
|
6941
7639
|
onClose?: ((event: T) => void) | undefined;
|
|
6942
7640
|
onSelect?: ((event: T) => void) | undefined;
|
|
6943
7641
|
onUnhandledKeyDown?: ((event: T) => void) | undefined;
|
|
@@ -6952,7 +7650,7 @@ export declare const makeMenuKeyboardNavigation: <T extends KeyboardEvent_2 | Ke
|
|
|
6952
7650
|
/**
|
|
6953
7651
|
* @internal
|
|
6954
7652
|
*/
|
|
6955
|
-
export declare const makeTabsKeyboardNavigation: <T extends KeyboardEvent_2
|
|
7653
|
+
export declare const makeTabsKeyboardNavigation: <T extends KeyboardEvent_2 = KeyboardEvent_2<Element>>(handlers: {
|
|
6956
7654
|
onSelect?: ((event: T) => void) | undefined;
|
|
6957
7655
|
onUnhandledKeyDown?: ((event: T) => void) | undefined;
|
|
6958
7656
|
onFocusPrevious?: ((event: T) => void) | undefined;
|
|
@@ -7747,26 +8445,7 @@ export declare type TypographyTagName = "h1" | "h2" | "h3" | "p";
|
|
|
7747
8445
|
*/
|
|
7748
8446
|
export declare function UiAsyncTable<T extends {
|
|
7749
8447
|
id: string;
|
|
7750
|
-
}>(props:
|
|
7751
|
-
|
|
7752
|
-
/**
|
|
7753
|
-
* @internal
|
|
7754
|
-
*/
|
|
7755
|
-
export declare interface UiAsyncTableAccessibilityConfig<T> {
|
|
7756
|
-
getCheckboxItemAriaLabel?: (item: T) => string;
|
|
7757
|
-
checkboxAllAriaLabel?: string;
|
|
7758
|
-
searchAriaLabel?: string;
|
|
7759
|
-
gridAriaLabel?: string;
|
|
7760
|
-
}
|
|
7761
|
-
|
|
7762
|
-
/**
|
|
7763
|
-
* @internal
|
|
7764
|
-
*/
|
|
7765
|
-
export declare interface UiAsyncTableBulkAction {
|
|
7766
|
-
label: string;
|
|
7767
|
-
onClick: () => void;
|
|
7768
|
-
accessibilityConfig?: IAccessibilityConfigBase;
|
|
7769
|
-
}
|
|
8448
|
+
}>(props: IUiAsyncTableProps<T>): JSX.Element;
|
|
7770
8449
|
|
|
7771
8450
|
/**
|
|
7772
8451
|
* @internal
|
|
@@ -7776,115 +8455,13 @@ export declare const UiAsyncTableCheckboxColumnWidth = 34;
|
|
|
7776
8455
|
/**
|
|
7777
8456
|
* @internal
|
|
7778
8457
|
*/
|
|
7779
|
-
export declare
|
|
7780
|
-
key?: keyof T;
|
|
7781
|
-
label?: string;
|
|
7782
|
-
width?: number;
|
|
7783
|
-
renderMenu?: UiAsyncTableMenuRenderer<T>;
|
|
7784
|
-
renderButton?: (item: T) => ReactNode;
|
|
7785
|
-
renderRoleIcon?: (item: T) => ReactNode;
|
|
7786
|
-
renderPrefixIcon?: (item: T) => ReactNode;
|
|
7787
|
-
renderSuffixIcon?: (item: T) => ReactNode;
|
|
7788
|
-
renderBadge?: (item: T) => ReactNode;
|
|
7789
|
-
getMultiLineTextContent?: (item: T) => Array<string>;
|
|
7790
|
-
getTextContent?: (item: T) => string | ReactNode;
|
|
7791
|
-
getTextTitle?: (item: T) => string;
|
|
7792
|
-
getTextHref?: (item: T) => string | undefined;
|
|
7793
|
-
bold?: boolean;
|
|
7794
|
-
sortable?: boolean;
|
|
7795
|
-
align?: "left" | "center" | "right";
|
|
7796
|
-
getAccessibilityConfig?: (item: T) => UiAsyncTableColumnAccessibilityConfig;
|
|
7797
|
-
}
|
|
7798
|
-
|
|
7799
|
-
/**
|
|
7800
|
-
* @internal
|
|
7801
|
-
*/
|
|
7802
|
-
export declare interface UiAsyncTableColumnAccessibilityConfig {
|
|
7803
|
-
ariaLabel?: string;
|
|
7804
|
-
}
|
|
7805
|
-
|
|
7806
|
-
/**
|
|
7807
|
-
* @internal
|
|
7808
|
-
*/
|
|
7809
|
-
export declare interface UiAsyncTableColumnDefinitionResponsive<T> extends UiAsyncTableColumn<T> {
|
|
7810
|
-
minWidth?: number;
|
|
7811
|
-
}
|
|
7812
|
-
|
|
7813
|
-
/**
|
|
7814
|
-
* @internal
|
|
7815
|
-
*/
|
|
7816
|
-
export declare function UiAsyncTableEmptyState({ title, description, icon }: UiAsyncTableEmptyStateProps): JSX.Element;
|
|
7817
|
-
|
|
7818
|
-
/**
|
|
7819
|
-
* @internal
|
|
7820
|
-
*/
|
|
7821
|
-
export declare interface UiAsyncTableEmptyStateProps {
|
|
7822
|
-
title?: string;
|
|
7823
|
-
description?: string;
|
|
7824
|
-
icon?: IconType;
|
|
7825
|
-
}
|
|
7826
|
-
|
|
7827
|
-
/**
|
|
7828
|
-
* @internal
|
|
7829
|
-
*/
|
|
7830
|
-
export declare interface UiAsyncTableFilter {
|
|
7831
|
-
label: string;
|
|
7832
|
-
options: Array<UiAsyncTableFilterOption>;
|
|
7833
|
-
onItemsSelect: (options: Array<UiAsyncTableFilterOption>) => void;
|
|
7834
|
-
selected?: Array<UiAsyncTableFilterOption>;
|
|
7835
|
-
isMultiSelect?: boolean;
|
|
7836
|
-
}
|
|
7837
|
-
|
|
7838
|
-
/**
|
|
7839
|
-
* @internal
|
|
7840
|
-
*/
|
|
7841
|
-
export declare interface UiAsyncTableFilterOption {
|
|
7842
|
-
value: string;
|
|
7843
|
-
label?: string;
|
|
7844
|
-
secondaryLabel?: string;
|
|
7845
|
-
}
|
|
8458
|
+
export declare function UiAsyncTableEmptyState({ title, description, icon, }: IUiAsyncTableEmptyStateProps): JSX.Element;
|
|
7846
8459
|
|
|
7847
8460
|
/**
|
|
7848
8461
|
* @internal
|
|
7849
8462
|
*/
|
|
7850
8463
|
export declare type UiAsyncTableMenuRenderer<T> = (item: T, closeDropdown: () => void) => ReactNode;
|
|
7851
8464
|
|
|
7852
|
-
/**
|
|
7853
|
-
* @internal
|
|
7854
|
-
*/
|
|
7855
|
-
export declare interface UiAsyncTableProps<T extends {
|
|
7856
|
-
id: string;
|
|
7857
|
-
}> {
|
|
7858
|
-
items: T[];
|
|
7859
|
-
totalItemsCount?: number;
|
|
7860
|
-
columns: Array<UiAsyncTableColumn<T>>;
|
|
7861
|
-
onItemClick?: (item: T) => void;
|
|
7862
|
-
scrollToIndex?: number;
|
|
7863
|
-
width?: number;
|
|
7864
|
-
maxHeight?: number;
|
|
7865
|
-
variant?: UiAsyncTableVariant;
|
|
7866
|
-
isMobileView?: boolean;
|
|
7867
|
-
skeletonItemsCount?: number;
|
|
7868
|
-
isLoading?: boolean;
|
|
7869
|
-
hasNextPage?: boolean;
|
|
7870
|
-
loadNextPage?: () => void;
|
|
7871
|
-
filters?: Array<UiAsyncTableFilter>;
|
|
7872
|
-
isFiltersTooLarge?: boolean;
|
|
7873
|
-
sortBy?: keyof T;
|
|
7874
|
-
sortDirection?: SortDirection;
|
|
7875
|
-
onSort?: (key: keyof T) => void;
|
|
7876
|
-
onSearch?: (search: string) => void;
|
|
7877
|
-
renderToolbarCustomElement?: () => ReactNode;
|
|
7878
|
-
bulkActions?: Array<UiAsyncTableBulkAction>;
|
|
7879
|
-
selectedItemIds?: Array<string>;
|
|
7880
|
-
setSelectedItemIds?: (items: Array<string>) => void;
|
|
7881
|
-
renderItem?: (item: T) => ReactNode;
|
|
7882
|
-
renderHeader?: () => ReactNode;
|
|
7883
|
-
renderEmptyState?: () => ReactNode;
|
|
7884
|
-
locale?: string;
|
|
7885
|
-
accessibilityConfig?: UiAsyncTableAccessibilityConfig<T>;
|
|
7886
|
-
}
|
|
7887
|
-
|
|
7888
8465
|
/**
|
|
7889
8466
|
* @internal
|
|
7890
8467
|
*/
|
|
@@ -7903,25 +8480,7 @@ export declare const UiAsyncTableScrollbarWidth = 10;
|
|
|
7903
8480
|
/**
|
|
7904
8481
|
* @internal
|
|
7905
8482
|
*/
|
|
7906
|
-
export declare function UiAsyncTableTitle({ title, onSearch, renderIcon, actions }:
|
|
7907
|
-
|
|
7908
|
-
/**
|
|
7909
|
-
* @internal
|
|
7910
|
-
*/
|
|
7911
|
-
export declare interface UiAsyncTableTitleAction {
|
|
7912
|
-
renderAction: () => ReactNode;
|
|
7913
|
-
}
|
|
7914
|
-
|
|
7915
|
-
/**
|
|
7916
|
-
* @internal
|
|
7917
|
-
*/
|
|
7918
|
-
export declare interface UiAsyncTableTitleProps {
|
|
7919
|
-
title: string;
|
|
7920
|
-
renderIcon?: () => ReactNode;
|
|
7921
|
-
onSearch?: (search: string) => void;
|
|
7922
|
-
actions: Array<UiAsyncTableTitleAction>;
|
|
7923
|
-
scrollToStart: () => void;
|
|
7924
|
-
}
|
|
8483
|
+
export declare function UiAsyncTableTitle({ title, onSearch, renderIcon, actions }: IUiAsyncTableTitleProps): JSX.Element;
|
|
7925
8484
|
|
|
7926
8485
|
/**
|
|
7927
8486
|
* Variant for UiAsyncTable component.
|
|
@@ -7945,46 +8504,12 @@ export declare function UiAutofocus({ root, children, ...options }: {
|
|
|
7945
8504
|
/**
|
|
7946
8505
|
* @internal
|
|
7947
8506
|
*/
|
|
7948
|
-
export declare function UiBadge({ label }:
|
|
7949
|
-
|
|
7950
|
-
/**
|
|
7951
|
-
* @internal
|
|
7952
|
-
*/
|
|
7953
|
-
export declare interface UiBadgeProps {
|
|
7954
|
-
label: string;
|
|
7955
|
-
}
|
|
7956
|
-
|
|
7957
|
-
/**
|
|
7958
|
-
* @internal
|
|
7959
|
-
*/
|
|
7960
|
-
export declare const UiButton: ForwardRefExoticComponent<UiButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
8507
|
+
export declare function UiBadge({ label }: IUiBadgeProps): JSX.Element;
|
|
7961
8508
|
|
|
7962
|
-
/**
|
|
7963
|
-
* @internal
|
|
7964
|
-
*/
|
|
7965
|
-
export declare
|
|
7966
|
-
id?: string;
|
|
7967
|
-
size?: SizeSmall | SizeMedium | SizeLarge;
|
|
7968
|
-
variant?: VariantPrimary | VariantSecondary | VariantTertiary | VariantPopOut | VariantDanger | VariantTooltip | VariantLink;
|
|
7969
|
-
disableIconAnimation?: boolean;
|
|
7970
|
-
iconBefore?: IconType;
|
|
7971
|
-
iconBeforeSize?: number;
|
|
7972
|
-
badgeAfter?: number;
|
|
7973
|
-
iconAfter?: IconType;
|
|
7974
|
-
iconAfterSize?: number;
|
|
7975
|
-
label: string;
|
|
7976
|
-
isDisabled?: boolean;
|
|
7977
|
-
isLoading?: boolean;
|
|
7978
|
-
isSelected?: boolean;
|
|
7979
|
-
tooltip?: ReactNode;
|
|
7980
|
-
onClick?: (e: MouseEvent_2<HTMLButtonElement>) => void;
|
|
7981
|
-
onKeyDown?: (e: KeyboardEvent_2<HTMLButtonElement>) => void;
|
|
7982
|
-
dataId?: string;
|
|
7983
|
-
dataTestId?: string;
|
|
7984
|
-
accessibilityConfig?: IUiButtonAccessibilityConfig;
|
|
7985
|
-
maxWidth?: number;
|
|
7986
|
-
tabIndex?: number;
|
|
7987
|
-
}
|
|
8509
|
+
/**
|
|
8510
|
+
* @internal
|
|
8511
|
+
*/
|
|
8512
|
+
export declare const UiButton: ForwardRefExoticComponent<IUiButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
7988
8513
|
|
|
7989
8514
|
/**
|
|
7990
8515
|
* A presentational container that visually groups multiple {@link UiButton} or {@link UiIconButton} components as a segmented control.
|
|
@@ -8018,64 +8543,17 @@ export declare type UiButtonSegmentedControlProps = Omit<ComponentPropsWithRef<"
|
|
|
8018
8543
|
/**
|
|
8019
8544
|
* @internal
|
|
8020
8545
|
*/
|
|
8021
|
-
export declare const UiCard: ForwardRefExoticComponent<
|
|
8022
|
-
|
|
8023
|
-
/**
|
|
8024
|
-
* @internal
|
|
8025
|
-
*/
|
|
8026
|
-
export declare interface UiCardProps {
|
|
8027
|
-
elevation?: "1" | "2";
|
|
8028
|
-
tabIndex?: number;
|
|
8029
|
-
children?: ReactNode;
|
|
8030
|
-
}
|
|
8031
|
-
|
|
8032
|
-
/**
|
|
8033
|
-
* @internal
|
|
8034
|
-
*/
|
|
8035
|
-
export declare function UiCheckbox({ checked, onChange, preventDefault, indeterminate, disabled, accessibilityConfig, tabIndex, label, }: UiCheckboxProps): JSX.Element;
|
|
8036
|
-
|
|
8037
|
-
/**
|
|
8038
|
-
* @internal
|
|
8039
|
-
*/
|
|
8040
|
-
export declare interface UiCheckboxProps {
|
|
8041
|
-
checked: boolean;
|
|
8042
|
-
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
8043
|
-
preventDefault?: boolean;
|
|
8044
|
-
indeterminate?: boolean;
|
|
8045
|
-
disabled?: boolean;
|
|
8046
|
-
accessibilityConfig?: IAccessibilityConfigBase;
|
|
8047
|
-
tabIndex?: number;
|
|
8048
|
-
label?: string;
|
|
8049
|
-
}
|
|
8546
|
+
export declare const UiCard: ForwardRefExoticComponent<IUiCardProps & RefAttributes<HTMLDivElement>>;
|
|
8050
8547
|
|
|
8051
8548
|
/**
|
|
8052
8549
|
* @internal
|
|
8053
8550
|
*/
|
|
8054
|
-
export declare function
|
|
8551
|
+
export declare function UiCheckbox({ checked, onChange, preventDefault, indeterminate, disabled, accessibilityConfig, tabIndex, label, }: IUiCheckboxProps): JSX.Element;
|
|
8055
8552
|
|
|
8056
8553
|
/**
|
|
8057
8554
|
* @internal
|
|
8058
8555
|
*/
|
|
8059
|
-
export declare
|
|
8060
|
-
label: string;
|
|
8061
|
-
tag?: string;
|
|
8062
|
-
isDeletable?: boolean;
|
|
8063
|
-
isActive?: boolean;
|
|
8064
|
-
isLocked?: boolean;
|
|
8065
|
-
isExpandable?: boolean;
|
|
8066
|
-
isDisabled?: boolean;
|
|
8067
|
-
maxWidth?: number;
|
|
8068
|
-
iconBefore?: IconType;
|
|
8069
|
-
onClick?: () => void;
|
|
8070
|
-
onDelete?: () => void;
|
|
8071
|
-
onKeyDown?: KeyboardEventHandler<HTMLButtonElement>;
|
|
8072
|
-
onDeleteKeyDown?: KeyboardEventHandler<HTMLButtonElement>;
|
|
8073
|
-
accessibilityConfig?: IUiChipAccessibilityConfig;
|
|
8074
|
-
dataTestId?: string;
|
|
8075
|
-
buttonRef?: MutableRefObject<HTMLButtonElement>;
|
|
8076
|
-
renderChipContent?: (content: ReactNode) => ReactNode;
|
|
8077
|
-
renderDeleteButton?: (button: ReactNode) => ReactNode;
|
|
8078
|
-
}
|
|
8556
|
+
export declare function UiChip({ label, tag, isDeletable, isActive, isLocked, isExpandable, isDisabled, maxWidth, iconBefore, onClick, onDelete, onKeyDown, onDeleteKeyDown, accessibilityConfig, dataTestId, buttonRef, renderChipContent, renderDeleteButton, }: IUiChipProps): JSX.Element;
|
|
8079
8557
|
|
|
8080
8558
|
/**
|
|
8081
8559
|
* A composable combobox component that enables users to select from a filtered list of options.
|
|
@@ -8101,7 +8579,7 @@ export declare interface UiChipProps {
|
|
|
8101
8579
|
* </UiCombobox>
|
|
8102
8580
|
* ```
|
|
8103
8581
|
*/
|
|
8104
|
-
export declare function UiCombobox({ children, ...props }:
|
|
8582
|
+
export declare function UiCombobox({ children, ...props }: IUiComboboxProps): JSX.Element;
|
|
8105
8583
|
|
|
8106
8584
|
/** @internal */
|
|
8107
8585
|
export declare const UiComboboxInput: ForwardRefExoticComponent<UiComboboxInputProps & RefAttributes<HTMLInputElement>>;
|
|
@@ -8110,10 +8588,10 @@ export declare const UiComboboxInput: ForwardRefExoticComponent<UiComboboxInputP
|
|
|
8110
8588
|
export declare type UiComboboxInputProps = InputHTMLAttributes<HTMLInputElement>;
|
|
8111
8589
|
|
|
8112
8590
|
/** @internal */
|
|
8113
|
-
export declare function UiComboboxList({ children, className, ...htmlProps }:
|
|
8591
|
+
export declare function UiComboboxList({ children, className, ...htmlProps }: IUiComboboxListProps): JSX.Element;
|
|
8114
8592
|
|
|
8115
8593
|
/** @internal */
|
|
8116
|
-
export declare function UiComboboxListItem(props:
|
|
8594
|
+
export declare function UiComboboxListItem(props: IUiComboboxListItemProps): JSX.Element;
|
|
8117
8595
|
|
|
8118
8596
|
/**
|
|
8119
8597
|
* Renders the "creatable" label suffix within a combobox list item.
|
|
@@ -8137,72 +8615,21 @@ export declare function UiComboboxListItemLabel(props: UiComboboxListItemLabelPr
|
|
|
8137
8615
|
/** @internal */
|
|
8138
8616
|
export declare type UiComboboxListItemLabelProps = HTMLAttributes<HTMLSpanElement>;
|
|
8139
8617
|
|
|
8140
|
-
/** @internal */
|
|
8141
|
-
export declare interface UiComboboxListItemProps extends HTMLAttributes<HTMLLIElement> {
|
|
8142
|
-
option: IUiComboboxOption;
|
|
8143
|
-
index: number;
|
|
8144
|
-
}
|
|
8145
|
-
|
|
8146
|
-
/** @internal */
|
|
8147
|
-
export declare interface UiComboboxListProps extends Omit<HTMLAttributes<HTMLUListElement>, "children"> {
|
|
8148
|
-
/**
|
|
8149
|
-
* The children to render for each option. Renders a `UiComboboxListItem` when not provided.
|
|
8150
|
-
*/
|
|
8151
|
-
children?: (option: IUiComboboxOption, index: number) => ReactNode;
|
|
8152
|
-
}
|
|
8153
|
-
|
|
8154
8618
|
/** @internal */
|
|
8155
8619
|
export declare function UiComboboxPopup({ style, className, children, ...htmlProps }: UiComboboxPopupProps): JSX.Element | null;
|
|
8156
8620
|
|
|
8157
8621
|
/** @internal */
|
|
8158
8622
|
export declare type UiComboboxPopupProps = HTMLAttributes<HTMLDivElement>;
|
|
8159
8623
|
|
|
8160
|
-
/** @internal */
|
|
8161
|
-
export declare interface UiComboboxProps extends IUiComboboxParams {
|
|
8162
|
-
children?: ReactNode;
|
|
8163
|
-
}
|
|
8164
|
-
|
|
8165
|
-
/**
|
|
8166
|
-
* @internal
|
|
8167
|
-
*/
|
|
8168
|
-
export declare function UiDate({ date, locale, relativeThresholdMs, absoluteOptions, allowRelative, }: UiDateProps): JSX.Element;
|
|
8169
|
-
|
|
8170
|
-
/**
|
|
8171
|
-
* @internal
|
|
8172
|
-
*/
|
|
8173
|
-
export declare interface UiDateProps {
|
|
8174
|
-
date: Date | string | number;
|
|
8175
|
-
locale?: string;
|
|
8176
|
-
relativeThresholdMs?: number;
|
|
8177
|
-
absoluteOptions?: Intl.DateTimeFormatOptions;
|
|
8178
|
-
allowRelative?: boolean;
|
|
8179
|
-
}
|
|
8180
|
-
|
|
8181
8624
|
/**
|
|
8182
8625
|
* @internal
|
|
8183
8626
|
*/
|
|
8184
|
-
export declare function
|
|
8627
|
+
export declare function UiDate({ date, locale, relativeThresholdMs, absoluteOptions, allowRelative, }: IUiDateProps): JSX.Element;
|
|
8185
8628
|
|
|
8186
8629
|
/**
|
|
8187
8630
|
* @internal
|
|
8188
8631
|
*/
|
|
8189
|
-
export declare
|
|
8190
|
-
open?: boolean;
|
|
8191
|
-
mode?: "absolute" | "fixed";
|
|
8192
|
-
node?: HTMLElement;
|
|
8193
|
-
dataTestId?: string;
|
|
8194
|
-
zIndex?: number;
|
|
8195
|
-
children?: ReactNode;
|
|
8196
|
-
anchor?: "left" | "right";
|
|
8197
|
-
transition?: UiDrawerTransitionProps;
|
|
8198
|
-
onEscapeKey?: (e: KeyboardEvent_2) => void;
|
|
8199
|
-
onClickOutside?: (e: MouseEvent_2) => void;
|
|
8200
|
-
closeLabel?: string;
|
|
8201
|
-
showCloseButton?: boolean;
|
|
8202
|
-
onClickClose?: () => void;
|
|
8203
|
-
returnFocusTo?: string | RefObject<HTMLElement | null> | (() => HTMLElement | null);
|
|
8204
|
-
accessibilityConfig?: IAccessibilityConfigBase;
|
|
8205
|
-
}
|
|
8632
|
+
export declare function UiDrawer({ open, zIndex, node, mode, dataTestId, children, anchor, transition, onEscapeKey, onClickOutside, closeLabel, showCloseButton, onClickClose, refocusKey, initialFocus, returnFocusTo, accessibilityConfig, }: IUiDrawerProps): JSX.Element | null;
|
|
8206
8633
|
|
|
8207
8634
|
/**
|
|
8208
8635
|
* @internal
|
|
@@ -8234,14 +8661,7 @@ export declare function UiDropdown({ renderButton, renderBody, isOpen: isOpenPro
|
|
|
8234
8661
|
/**
|
|
8235
8662
|
* @internal
|
|
8236
8663
|
*/
|
|
8237
|
-
export declare const UiDropdownIconButton: ForwardRefExoticComponent<
|
|
8238
|
-
|
|
8239
|
-
/**
|
|
8240
|
-
* @internal
|
|
8241
|
-
*/
|
|
8242
|
-
export declare interface UiDropdownIconButtonProps extends UiIconButtonPublicProps {
|
|
8243
|
-
isDropdownOpen: boolean;
|
|
8244
|
-
}
|
|
8664
|
+
export declare const UiDropdownIconButton: ForwardRefExoticComponent<IUiDropdownIconButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
8245
8665
|
|
|
8246
8666
|
/**
|
|
8247
8667
|
* A low-level component for rendering floating elements (dropdowns, popovers, tooltips, etc.)
|
|
@@ -8279,60 +8699,17 @@ export declare function UiFocusTrap({ root, children, focusCheckFn, }: {
|
|
|
8279
8699
|
/**
|
|
8280
8700
|
* @internal
|
|
8281
8701
|
*/
|
|
8282
|
-
export declare function UiIcon({ type,
|
|
8283
|
-
|
|
8284
|
-
/**
|
|
8285
|
-
* @internal
|
|
8286
|
-
*/
|
|
8287
|
-
export declare const UiIconButton: ForwardRefExoticComponent<UiIconButtonPublicProps & RefAttributes<HTMLButtonElement>>;
|
|
8288
|
-
|
|
8289
|
-
/**
|
|
8290
|
-
* @internal
|
|
8291
|
-
*/
|
|
8292
|
-
export declare type UiIconButtonProps = UiIconButtonPublicProps;
|
|
8702
|
+
export declare function UiIcon({ type, color, layout, disableAnimation, accessibilityConfig, size, backgroundSize, backgroundColor, backgroundType, backgroundShape, }: IUiIconProps): JSX.Element;
|
|
8293
8703
|
|
|
8294
8704
|
/**
|
|
8295
8705
|
* @internal
|
|
8296
8706
|
*/
|
|
8297
|
-
export declare
|
|
8298
|
-
icon: IconType;
|
|
8299
|
-
iconColor?: ThemeColor;
|
|
8300
|
-
label?: string;
|
|
8301
|
-
size?: SizeXSmall | SizeSmall | SizeMedium | SizeLarge | SizeXLarge | SizeXXLarge;
|
|
8302
|
-
disableAnimation?: boolean;
|
|
8303
|
-
variant?: VariantPrimary | VariantSecondary | VariantTertiary | VariantPopOut | VariantDanger | VariantTable | VariantBare;
|
|
8304
|
-
isDisabled?: boolean;
|
|
8305
|
-
isActive?: boolean;
|
|
8306
|
-
onClick?: (e: MouseEvent_2<HTMLButtonElement>) => void;
|
|
8307
|
-
onKeyDown?: (e: KeyboardEvent_2<HTMLButtonElement>) => void;
|
|
8308
|
-
dataId?: string;
|
|
8309
|
-
dataTestId?: string;
|
|
8310
|
-
ariaAttributes?: IDropdownButtonRenderProps["ariaAttributes"];
|
|
8311
|
-
accessibilityConfig?: IDropdownButtonRenderProps["accessibilityConfig"];
|
|
8312
|
-
tabIndex?: number;
|
|
8313
|
-
id?: string;
|
|
8314
|
-
}
|
|
8707
|
+
export declare const UiIconButton: ForwardRefExoticComponent<IUiIconButtonPublicProps & RefAttributes<HTMLButtonElement>>;
|
|
8315
8708
|
|
|
8316
8709
|
/**
|
|
8317
8710
|
* @internal
|
|
8318
8711
|
*/
|
|
8319
|
-
export declare
|
|
8320
|
-
type: IconType;
|
|
8321
|
-
color?: ThemeColor | "currentColor";
|
|
8322
|
-
label?: string;
|
|
8323
|
-
size?: number;
|
|
8324
|
-
ariaHidden?: boolean;
|
|
8325
|
-
disableAnimation?: boolean;
|
|
8326
|
-
backgroundSize?: number;
|
|
8327
|
-
backgroundColor?: ThemeColor;
|
|
8328
|
-
backgroundType?: BackgroundType;
|
|
8329
|
-
backgroundShape?: BackgroundShape;
|
|
8330
|
-
/**
|
|
8331
|
-
* SVGs are inline by default. The icon can be set to block to behave better in flex layouts and similar.
|
|
8332
|
-
* @defaultValue "inline"
|
|
8333
|
-
*/
|
|
8334
|
-
layout?: "block" | "inline";
|
|
8335
|
-
}
|
|
8712
|
+
export declare type UiIconButtonProps = IUiIconButtonPublicProps;
|
|
8336
8713
|
|
|
8337
8714
|
/**
|
|
8338
8715
|
* @internal
|
|
@@ -8361,7 +8738,7 @@ export declare function UiLink({ variant, flipUnderline, fullWidth, dataTestId,
|
|
|
8361
8738
|
*
|
|
8362
8739
|
* @internal
|
|
8363
8740
|
*/
|
|
8364
|
-
export declare function UiListbox<InteractiveItemData, StaticItemData>({ items, dataTestId, itemDataTestId, width, maxWidth, maxHeight, onSelect, onClose, onUnhandledKeyDown, selectedItemId, InteractiveItemComponent, StaticItemComponent, shouldKeyboardActionPreventDefault, shouldKeyboardActionStopPropagation, shouldCloseOnSelect, isDisabledFocusable, isCompact, reference, ariaAttributes, }:
|
|
8741
|
+
export declare function UiListbox<InteractiveItemData, StaticItemData>({ items, dataTestId, itemDataTestId, width, maxWidth, maxHeight, onSelect, onClose, onUnhandledKeyDown, selectedItemId, InteractiveItemComponent, StaticItemComponent, shouldKeyboardActionPreventDefault, shouldKeyboardActionStopPropagation, shouldCloseOnSelect, isDisabledFocusable, isCompact, reference, ariaAttributes, }: IUiListboxProps<InteractiveItemData, StaticItemData>): ReactNode;
|
|
8365
8742
|
|
|
8366
8743
|
/**
|
|
8367
8744
|
* @internal
|
|
@@ -8370,144 +8747,24 @@ export declare type UiListboxAriaAttributes = Omit<IDropdownBodyRenderProps["ari
|
|
|
8370
8747
|
"aria-controls"?: string;
|
|
8371
8748
|
};
|
|
8372
8749
|
|
|
8373
|
-
/**
|
|
8374
|
-
* @internal
|
|
8375
|
-
*/
|
|
8376
|
-
export declare interface UiListboxInteractiveItemProps<T> {
|
|
8377
|
-
item: IUiListboxInteractiveItem<T>;
|
|
8378
|
-
isFocused: boolean;
|
|
8379
|
-
isSelected: boolean;
|
|
8380
|
-
isCompact: boolean;
|
|
8381
|
-
onSelect: (e: MouseEvent_2) => void;
|
|
8382
|
-
}
|
|
8383
|
-
|
|
8384
|
-
/**
|
|
8385
|
-
* @internal
|
|
8386
|
-
*/
|
|
8387
|
-
export declare interface UiListboxProps<InteractiveItemData, StaticItemData = ReactNode> {
|
|
8388
|
-
items: IUiListboxItem<InteractiveItemData, StaticItemData>[];
|
|
8389
|
-
dataTestId?: string;
|
|
8390
|
-
itemDataTestId?: string;
|
|
8391
|
-
width?: number;
|
|
8392
|
-
maxWidth?: number;
|
|
8393
|
-
maxHeight?: number;
|
|
8394
|
-
onSelect?: (item: IUiListboxInteractiveItem<InteractiveItemData>, mods: {
|
|
8395
|
-
type?: "mouse" | "keyboard";
|
|
8396
|
-
newTab?: boolean;
|
|
8397
|
-
}) => void;
|
|
8398
|
-
onClose?: () => void;
|
|
8399
|
-
onUnhandledKeyDown?: (event: KeyboardEvent_2, context: IUiListboxContext<InteractiveItemData, StaticItemData>) => void;
|
|
8400
|
-
selectedItemId?: string;
|
|
8401
|
-
InteractiveItemComponent?: ComponentType<UiListboxInteractiveItemProps<InteractiveItemData>>;
|
|
8402
|
-
StaticItemComponent?: ComponentType<UiListboxStaticItemProps<StaticItemData>>;
|
|
8403
|
-
shouldKeyboardActionPreventDefault?: boolean;
|
|
8404
|
-
shouldKeyboardActionStopPropagation?: boolean;
|
|
8405
|
-
shouldCloseOnSelect?: boolean;
|
|
8406
|
-
isDisabledFocusable?: boolean;
|
|
8407
|
-
isCompact?: boolean;
|
|
8408
|
-
ariaAttributes: UiListboxAriaAttributes;
|
|
8409
|
-
reference?: RefObject<HTMLUListElement | null>;
|
|
8410
|
-
}
|
|
8411
|
-
|
|
8412
|
-
/**
|
|
8413
|
-
* @internal
|
|
8414
|
-
*/
|
|
8415
|
-
export declare interface UiListboxStaticItemProps<T> {
|
|
8416
|
-
item: IUiListboxStaticItem<T>;
|
|
8417
|
-
}
|
|
8418
|
-
|
|
8419
8750
|
/**
|
|
8420
8751
|
* An accessible menu component that can be navigated by keyboard.
|
|
8421
8752
|
* Usable in a <Dropdown /> component.
|
|
8422
8753
|
* Should implement https://www.w3.org/WAI/ARIA/apg/patterns/menubar/
|
|
8423
8754
|
*
|
|
8424
|
-
* @internal
|
|
8425
|
-
*/
|
|
8426
|
-
export declare function UiMenu<T extends IUiMenuItemData = object, M extends object = object>(props:
|
|
8427
|
-
|
|
8428
|
-
/**
|
|
8429
|
-
* @internal
|
|
8430
|
-
*/
|
|
8431
|
-
export declare interface UiMenuProps<T extends IUiMenuItemData = object, M = object> extends Partial<IUiMenuPluggableComponents<T>> {
|
|
8432
|
-
items: IUiMenuItem<T>[];
|
|
8433
|
-
size?: SizeSmall | SizeMedium;
|
|
8434
|
-
dataTestId?: ((context: IUiMenuContext<T>) => string | undefined) | string;
|
|
8435
|
-
itemDataTestId?: ((item: IUiMenuItem<T>) => string | undefined) | string;
|
|
8436
|
-
maxWidth?: number;
|
|
8437
|
-
maxHeight?: ((context: IUiMenuContext<T>) => number | undefined) | number;
|
|
8438
|
-
containerBottomPadding?: "none" | "small" | "medium";
|
|
8439
|
-
containerTopPadding?: "none" | "small" | "medium";
|
|
8440
|
-
onSelect?: (item: IUiMenuInteractiveItem<T>, event: MouseEvent_2 | KeyboardEvent_2) => void;
|
|
8441
|
-
onLevelChange?: (level: number, item?: IUiMenuContentItem<T> | IUiMenuInteractiveItem<T>) => void;
|
|
8442
|
-
onClose?: () => void;
|
|
8443
|
-
onUnhandledKeyDown?: (event: KeyboardEvent_2, context: IUiMenuContext<T>) => void;
|
|
8444
|
-
shouldKeyboardActionPreventDefault?: boolean;
|
|
8445
|
-
shouldKeyboardActionStopPropagation?: boolean;
|
|
8446
|
-
shouldCloseOnSelect?: boolean;
|
|
8447
|
-
isDisabledFocusable?: boolean;
|
|
8448
|
-
ariaAttributes: Omit<IDropdownBodyRenderProps["ariaAttributes"], "role">;
|
|
8449
|
-
menuCtxData?: M;
|
|
8450
|
-
}
|
|
8451
|
-
|
|
8452
|
-
/**
|
|
8453
|
-
* @internal
|
|
8454
|
-
*/
|
|
8455
|
-
export declare function UiNavigationBypass({ label, items, onItemClick, style }: IUiNavigationBypassProps): JSX.Element;
|
|
8456
|
-
|
|
8457
|
-
/**
|
|
8458
|
-
* @internal
|
|
8459
|
-
*/
|
|
8460
|
-
export declare const UiPagedVirtualList: <T>(props: UiPagedVirtualListProps<T> & RefAttributes<IUiPagedVirtualListImperativeHandle<T>>) => ReactNode;
|
|
8461
|
-
|
|
8462
|
-
/**
|
|
8463
|
-
* @internal
|
|
8464
|
-
*/
|
|
8465
|
-
export declare interface UiPagedVirtualListProps<T> {
|
|
8466
|
-
maxHeight: number;
|
|
8467
|
-
items?: T[];
|
|
8468
|
-
itemHeight: number;
|
|
8469
|
-
itemsGap: number;
|
|
8470
|
-
containerPadding?: number;
|
|
8471
|
-
itemPadding: number;
|
|
8472
|
-
skeletonItemsCount: number;
|
|
8473
|
-
hasNextPage?: boolean;
|
|
8474
|
-
loadNextPage?: () => void;
|
|
8475
|
-
customKeyboardNavigationHandler?: (event: KeyboardEvent_2<Element>) => void;
|
|
8476
|
-
onKeyDownSelect?: (item: T) => void;
|
|
8477
|
-
onKeyDownConfirm?: (item: T) => void;
|
|
8478
|
-
closeDropdown?: () => void;
|
|
8479
|
-
isLoading?: boolean;
|
|
8480
|
-
/**
|
|
8481
|
-
* An item in the list that should be scrolled into view when the component renders.
|
|
8482
|
-
* By default, items are compared by object identity (i.e., `===`).
|
|
8483
|
-
* To customize how the target item is found (e.g., by ID), provide a `scrollToItemKeyExtractor` as well.
|
|
8484
|
-
*/
|
|
8485
|
-
scrollToItem?: T;
|
|
8486
|
-
/**
|
|
8487
|
-
* A function that extracts a unique key from each item for comparison with `scrollToItem`.
|
|
8488
|
-
* This is useful when the provided `scrollToItem` may not be the same object reference as items in the list.
|
|
8489
|
-
* If not provided, object identity (`===`) is used for comparison.
|
|
8490
|
-
*/
|
|
8491
|
-
scrollToItemKeyExtractor?: (item: T) => string | number;
|
|
8492
|
-
scrollToIndex?: number;
|
|
8493
|
-
shouldLoadNextPage?: (lastItemIndex: number, itemsCount: number, skeletonItemsCount: number) => boolean;
|
|
8494
|
-
children: (item: T, focusedIndex?: number) => ReactNode;
|
|
8495
|
-
scrollbarHoverEffect?: boolean;
|
|
8496
|
-
SkeletonItem?: ComponentType<UiPagedVirtualListSkeletonItemProps>;
|
|
8497
|
-
representAs?: "grid" | "listbox";
|
|
8498
|
-
listboxProps?: Record<string, any>;
|
|
8499
|
-
tabIndex?: number;
|
|
8500
|
-
focusedItem?: T;
|
|
8501
|
-
focusedAction?: string;
|
|
8502
|
-
getIsItemSelected?: (item: T) => boolean;
|
|
8503
|
-
}
|
|
8755
|
+
* @internal
|
|
8756
|
+
*/
|
|
8757
|
+
export declare function UiMenu<T extends IUiMenuItemData = object, M extends object = object>(props: IUiMenuProps<T, M>): ReactNode;
|
|
8504
8758
|
|
|
8505
8759
|
/**
|
|
8506
8760
|
* @internal
|
|
8507
8761
|
*/
|
|
8508
|
-
export declare
|
|
8509
|
-
|
|
8510
|
-
|
|
8762
|
+
export declare function UiNavigationBypass({ label, items, onItemClick, style }: IUiNavigationBypassProps): JSX.Element;
|
|
8763
|
+
|
|
8764
|
+
/**
|
|
8765
|
+
* @internal
|
|
8766
|
+
*/
|
|
8767
|
+
export declare const UiPagedVirtualList: <T>(props: IUiPagedVirtualListProps<T> & RefAttributes<IUiPagedVirtualListImperativeHandle<T>>) => ReactNode;
|
|
8511
8768
|
|
|
8512
8769
|
/**
|
|
8513
8770
|
* A circular button used for pagination navigation (previous/next).
|
|
@@ -8518,7 +8775,7 @@ export declare interface UiPagedVirtualListSkeletonItemProps {
|
|
|
8518
8775
|
*
|
|
8519
8776
|
* @internal
|
|
8520
8777
|
*/
|
|
8521
|
-
export declare const UiPaginationButton: ForwardRefExoticComponent<
|
|
8778
|
+
export declare const UiPaginationButton: ForwardRefExoticComponent<IUiPaginationButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
8522
8779
|
|
|
8523
8780
|
/**
|
|
8524
8781
|
* Direction of the pagination button arrow.
|
|
@@ -8527,67 +8784,6 @@ export declare const UiPaginationButton: ForwardRefExoticComponent<UiPaginationB
|
|
|
8527
8784
|
*/
|
|
8528
8785
|
export declare type UiPaginationButtonDirection = "previous" | "next";
|
|
8529
8786
|
|
|
8530
|
-
/**
|
|
8531
|
-
* Props for the UiPaginationButton component.
|
|
8532
|
-
*
|
|
8533
|
-
* @internal
|
|
8534
|
-
*/
|
|
8535
|
-
export declare interface UiPaginationButtonProps {
|
|
8536
|
-
/**
|
|
8537
|
-
* Direction of the arrow icon.
|
|
8538
|
-
* - "previous" shows left arrow (paginationLeft)
|
|
8539
|
-
* - "next" shows right arrow (paginationRight)
|
|
8540
|
-
*/
|
|
8541
|
-
direction: UiPaginationButtonDirection;
|
|
8542
|
-
/**
|
|
8543
|
-
* Accessible label for the button.
|
|
8544
|
-
*/
|
|
8545
|
-
label: string;
|
|
8546
|
-
/**
|
|
8547
|
-
* Size of the button.
|
|
8548
|
-
* - "small" (22x22) - for desktop views
|
|
8549
|
-
* - "large" (32x32) - for mobile views
|
|
8550
|
-
* @defaultValue "small"
|
|
8551
|
-
*/
|
|
8552
|
-
size?: UiPaginationButtonSize;
|
|
8553
|
-
/**
|
|
8554
|
-
* Whether the button is disabled.
|
|
8555
|
-
*/
|
|
8556
|
-
isDisabled?: boolean;
|
|
8557
|
-
/**
|
|
8558
|
-
* Whether the button is in active/selected state.
|
|
8559
|
-
*/
|
|
8560
|
-
isActive?: boolean;
|
|
8561
|
-
/**
|
|
8562
|
-
* Click handler.
|
|
8563
|
-
*/
|
|
8564
|
-
onClick?: (e: MouseEvent_2<HTMLButtonElement>) => void;
|
|
8565
|
-
/**
|
|
8566
|
-
* Keyboard event handler.
|
|
8567
|
-
*/
|
|
8568
|
-
onKeyDown?: (e: KeyboardEvent_2<HTMLButtonElement>) => void;
|
|
8569
|
-
/**
|
|
8570
|
-
* Data attribute for tracking/analytics.
|
|
8571
|
-
*/
|
|
8572
|
-
dataId?: string;
|
|
8573
|
-
/**
|
|
8574
|
-
* Data attribute for testing.
|
|
8575
|
-
*/
|
|
8576
|
-
dataTestId?: string;
|
|
8577
|
-
/**
|
|
8578
|
-
* Tab index for keyboard navigation.
|
|
8579
|
-
*/
|
|
8580
|
-
tabIndex?: number;
|
|
8581
|
-
/**
|
|
8582
|
-
* HTML id attribute.
|
|
8583
|
-
*/
|
|
8584
|
-
id?: string;
|
|
8585
|
-
/**
|
|
8586
|
-
* Accessibility configuration for ARIA attributes.
|
|
8587
|
-
*/
|
|
8588
|
-
accessibilityConfig?: IAccessibilityConfigBase;
|
|
8589
|
-
}
|
|
8590
|
-
|
|
8591
8787
|
/**
|
|
8592
8788
|
* Size variant for UiPaginationButton.
|
|
8593
8789
|
*
|
|
@@ -8598,43 +8794,7 @@ export declare type UiPaginationButtonSize = "small" | "large";
|
|
|
8598
8794
|
/**
|
|
8599
8795
|
* @internal
|
|
8600
8796
|
*/
|
|
8601
|
-
export declare function UiPopover({ accessibilityConfig, anchor, width, title, tabIndex, disabled, content, footer, closeText, closeVisible, initialFocus, returnFocusTo, triggerBy, returnFocusAfterClose, focusCheckFn, enableFocusTrap, onOpen, onClose, }:
|
|
8602
|
-
|
|
8603
|
-
/**
|
|
8604
|
-
* @internal
|
|
8605
|
-
*/
|
|
8606
|
-
export declare interface UiPopoverProps {
|
|
8607
|
-
anchor: ReactElement<any>;
|
|
8608
|
-
width?: "default" | number;
|
|
8609
|
-
disabled?: boolean;
|
|
8610
|
-
tabIndex?: number;
|
|
8611
|
-
accessibilityConfig?: IAccessibilityConfigBase;
|
|
8612
|
-
title?: string | ReactNode;
|
|
8613
|
-
content?: ReactNode | ((args: {
|
|
8614
|
-
onClose: () => void;
|
|
8615
|
-
}) => ReactNode);
|
|
8616
|
-
footer?: ReactNode | ((args: {
|
|
8617
|
-
onClose: () => void;
|
|
8618
|
-
}) => ReactNode);
|
|
8619
|
-
triggerBy?: UiTooltipProps["triggerBy"];
|
|
8620
|
-
closeText?: string;
|
|
8621
|
-
closeVisible?: boolean;
|
|
8622
|
-
initialFocus?: RefObject<HTMLElement> | string;
|
|
8623
|
-
returnFocusTo?: RefObject<HTMLElement> | string;
|
|
8624
|
-
returnFocusAfterClose?: boolean;
|
|
8625
|
-
/**
|
|
8626
|
-
* customize if you know that dialog content has some custom focusIn logic which modifies focused element, eg. table which shifts its focus from table wrapper to first table cell
|
|
8627
|
-
* default is check if active element is exactly focused element.
|
|
8628
|
-
*/
|
|
8629
|
-
focusCheckFn?: (element: HTMLElement) => boolean;
|
|
8630
|
-
/**
|
|
8631
|
-
* Enable focus trap to prevent tabbing out of the popover
|
|
8632
|
-
* When true, uses UiFocusManager's focus trap instead of tabOutHandler
|
|
8633
|
-
*/
|
|
8634
|
-
enableFocusTrap?: boolean;
|
|
8635
|
-
onOpen?: () => void;
|
|
8636
|
-
onClose?: () => void;
|
|
8637
|
-
}
|
|
8797
|
+
export declare function UiPopover({ accessibilityConfig, anchor, width, title, tabIndex, disabled, content, footer, closeText, closeVisible, initialFocus, returnFocusTo, triggerBy, returnFocusAfterClose, focusCheckFn, enableFocusTrap, onOpen, onClose, }: IUiPopoverProps): JSX.Element;
|
|
8638
8798
|
|
|
8639
8799
|
/**
|
|
8640
8800
|
* @internal
|
|
@@ -8659,41 +8819,7 @@ export declare function UiSearchResultsAnnouncement({ totalResults, resultValues
|
|
|
8659
8819
|
/**
|
|
8660
8820
|
* @internal
|
|
8661
8821
|
*/
|
|
8662
|
-
export declare function UiSkeleton({ itemsCount, itemHeight, itemPadding, itemWidth, itemsGap, direction, itemBorderRadius, }:
|
|
8663
|
-
|
|
8664
|
-
/**
|
|
8665
|
-
* @internal
|
|
8666
|
-
*/
|
|
8667
|
-
export declare interface UiSkeletonProps {
|
|
8668
|
-
/**
|
|
8669
|
-
* Number of items to render.
|
|
8670
|
-
*/
|
|
8671
|
-
itemsCount?: number;
|
|
8672
|
-
/**
|
|
8673
|
-
* Height of the item, or items.
|
|
8674
|
-
*/
|
|
8675
|
-
itemHeight?: (number | string) | (number | string)[];
|
|
8676
|
-
/**
|
|
8677
|
-
* Width of the item, or items.
|
|
8678
|
-
*/
|
|
8679
|
-
itemWidth?: (number | string) | (number | string)[];
|
|
8680
|
-
/**
|
|
8681
|
-
* Padding of the item, or items.
|
|
8682
|
-
*/
|
|
8683
|
-
itemPadding?: number | number[];
|
|
8684
|
-
/**
|
|
8685
|
-
* Gap between the items.
|
|
8686
|
-
*/
|
|
8687
|
-
itemsGap?: number;
|
|
8688
|
-
/**
|
|
8689
|
-
* Whether to render the skeleton in a row or column.
|
|
8690
|
-
*/
|
|
8691
|
-
direction?: "row" | "column";
|
|
8692
|
-
/**
|
|
8693
|
-
* Border radius of the item.
|
|
8694
|
-
*/
|
|
8695
|
-
itemBorderRadius?: number;
|
|
8696
|
-
}
|
|
8822
|
+
export declare function UiSkeleton({ itemsCount, itemHeight, itemPadding, itemWidth, itemsGap, direction, itemBorderRadius, }: IUiSkeletonProps): JSX.Element;
|
|
8697
8823
|
|
|
8698
8824
|
/**
|
|
8699
8825
|
* @internal
|
|
@@ -8722,23 +8848,7 @@ export declare function UiStaticTreeview<Level>(props: IUiStaticTreeViewProps<Le
|
|
|
8722
8848
|
* Title can render as Typography h3 or ShortenedText h3.
|
|
8723
8849
|
* @internal
|
|
8724
8850
|
*/
|
|
8725
|
-
export declare function UiSubmenuHeader({ title, onBack, onClose, backAriaLabel, closeAriaLabel, useShortenedTitle, textColor, backgroundColor, height, titleId, }:
|
|
8726
|
-
|
|
8727
|
-
/**
|
|
8728
|
-
* @internal
|
|
8729
|
-
*/
|
|
8730
|
-
export declare interface UiSubmenuHeaderProps {
|
|
8731
|
-
title?: string;
|
|
8732
|
-
onBack?: (e: MouseEvent_2<HTMLButtonElement>) => void;
|
|
8733
|
-
onClose?: (e: MouseEvent_2<HTMLButtonElement>) => void;
|
|
8734
|
-
backAriaLabel?: string;
|
|
8735
|
-
closeAriaLabel?: string;
|
|
8736
|
-
useShortenedTitle?: boolean;
|
|
8737
|
-
textColor?: string;
|
|
8738
|
-
backgroundColor?: string;
|
|
8739
|
-
height?: SizeMedium | SizeLarge;
|
|
8740
|
-
titleId?: string;
|
|
8741
|
-
}
|
|
8851
|
+
export declare function UiSubmenuHeader({ title, onBack, onClose, backAriaLabel, closeAriaLabel, useShortenedTitle, textColor, backgroundColor, height, titleId, }: IUiSubmenuHeaderProps): JSX.Element;
|
|
8742
8852
|
|
|
8743
8853
|
/**
|
|
8744
8854
|
* @internal
|
|
@@ -8758,15 +8868,6 @@ export declare function UiTabs<TTabProps extends Record<any, any> = EmptyObject,
|
|
|
8758
8868
|
*/
|
|
8759
8869
|
export declare const UiTag: ForwardRefExoticComponent<UiTagProps & RefAttributes<HTMLButtonElement>>;
|
|
8760
8870
|
|
|
8761
|
-
/**
|
|
8762
|
-
* @internal
|
|
8763
|
-
*/
|
|
8764
|
-
export declare interface UiTagDef {
|
|
8765
|
-
id: string;
|
|
8766
|
-
label: string;
|
|
8767
|
-
isDeletable?: boolean;
|
|
8768
|
-
}
|
|
8769
|
-
|
|
8770
8871
|
/**
|
|
8771
8872
|
* @internal
|
|
8772
8873
|
*/
|
|
@@ -8790,97 +8891,12 @@ export declare type UiTagProps = {
|
|
|
8790
8891
|
/**
|
|
8791
8892
|
* @internal
|
|
8792
8893
|
*/
|
|
8793
|
-
export declare function UiTags({ tags, tagOptions, addLabel, nameLabel, cancelLabel, closeLabel, saveLabel, noTagsLabel, moreLabel, removeLabel, creatableLabel, mode, canDeleteTags, canCreateTag, readOnly, onTagClick, onTagAdd, onTagRemove, accessibilityConfig, }:
|
|
8794
|
-
|
|
8795
|
-
/**
|
|
8796
|
-
* @internal
|
|
8797
|
-
*/
|
|
8798
|
-
export declare interface UiTagsProps {
|
|
8799
|
-
tags: Array<UiTagDef>;
|
|
8800
|
-
tagOptions?: Array<UiTagDef>;
|
|
8801
|
-
addLabel?: string;
|
|
8802
|
-
nameLabel?: string;
|
|
8803
|
-
cancelLabel?: string;
|
|
8804
|
-
closeLabel?: string;
|
|
8805
|
-
saveLabel?: string;
|
|
8806
|
-
moreLabel?: string;
|
|
8807
|
-
noTagsLabel?: string;
|
|
8808
|
-
removeLabel?: string;
|
|
8809
|
-
creatableLabel?: string;
|
|
8810
|
-
readOnly?: boolean;
|
|
8811
|
-
canCreateTag?: boolean;
|
|
8812
|
-
canDeleteTags?: boolean;
|
|
8813
|
-
mode?: "single-line" | "multi-line";
|
|
8814
|
-
onTagClick?: (tag: UiTagDef) => void;
|
|
8815
|
-
onTagAdd?: (tag: UiTagDef) => void;
|
|
8816
|
-
onTagRemove?: (tag: UiTagDef) => void;
|
|
8817
|
-
accessibilityConfig?: IAccessibilityConfigBase;
|
|
8818
|
-
}
|
|
8819
|
-
|
|
8820
|
-
/**
|
|
8821
|
-
* @internal
|
|
8822
|
-
*/
|
|
8823
|
-
export declare function UiTooltip({ id, anchor, content, behaviour, arrowPlacement, triggerBy, hoverOpenDelay, hoverCloseDelay, showArrow, width, offset: offsetProp, optimalPlacement, accessibilityConfig, variant, disabled, isOpen: isOpenProp, onOpen, onClose, anchorWrapperStyles, }: UiTooltipProps): JSX.Element;
|
|
8894
|
+
export declare function UiTags({ tags, tagOptions, addLabel, nameLabel, cancelLabel, closeLabel, saveLabel, noTagsLabel, moreLabel, removeLabel, creatableLabel, mode, canDeleteTags, canCreateTag, readOnly, onTagClick, onTagAdd, onTagRemove, accessibilityConfig, }: IUiTagsProps): JSX.Element;
|
|
8824
8895
|
|
|
8825
8896
|
/**
|
|
8826
8897
|
* @internal
|
|
8827
8898
|
*/
|
|
8828
|
-
export declare
|
|
8829
|
-
/** Tooltip content id */
|
|
8830
|
-
id?: string;
|
|
8831
|
-
/** Position of the tooltip arrow relative to the tooltip, controls also the position of the tooltip */
|
|
8832
|
-
arrowPlacement?: TooltipArrowPlacement;
|
|
8833
|
-
/** Anchor element to be used as reference for the tooltip */
|
|
8834
|
-
anchor: ReactNode;
|
|
8835
|
-
/** Content to be rendered inside the tooltip */
|
|
8836
|
-
content: ReactNode | ((args: {
|
|
8837
|
-
onClose: () => void;
|
|
8838
|
-
type: "screen-reader" | "live";
|
|
8839
|
-
}) => ReactNode);
|
|
8840
|
-
/** Whether tooltip should show on hover, focus or click */
|
|
8841
|
-
triggerBy?: Array<"hover" | "focus" | "click">;
|
|
8842
|
-
/** Delay in milliseconds before showing tooltip on hover */
|
|
8843
|
-
hoverOpenDelay?: number;
|
|
8844
|
-
/** Delay in milliseconds before hiding tooltip after hover out */
|
|
8845
|
-
hoverCloseDelay?: number;
|
|
8846
|
-
/** Whether to show the arrow pointer */
|
|
8847
|
-
showArrow?: boolean;
|
|
8848
|
-
/** Width of the tooltip in pixels, 'same-as-anchor' to match anchor width, if not specified tooltip will be as wide as content */
|
|
8849
|
-
width?: number | "same-as-anchor";
|
|
8850
|
-
/** Distance in pixels between tooltip and anchor element, default is arrow height */
|
|
8851
|
-
offset?: number;
|
|
8852
|
-
/** Whether tooltip should automatically adjust position if it would render outside viewport */
|
|
8853
|
-
optimalPlacement?: boolean;
|
|
8854
|
-
/** ARIA attributes configuration for accessibility */
|
|
8855
|
-
accessibilityConfig?: IAccessibilityConfigBase;
|
|
8856
|
-
/**
|
|
8857
|
-
* Tooltip styling variant
|
|
8858
|
-
* @defaultValue "default"
|
|
8859
|
-
*/
|
|
8860
|
-
variant?: "default" | "error" | "none";
|
|
8861
|
-
/**
|
|
8862
|
-
* Tooltip behaviour of position
|
|
8863
|
-
*/
|
|
8864
|
-
behaviour?: "tooltip" | "popover";
|
|
8865
|
-
/** If the tooltip is disabled, only the anchor element will be shown */
|
|
8866
|
-
disabled?: boolean;
|
|
8867
|
-
/**
|
|
8868
|
-
* Occurs when the tooltip is opened
|
|
8869
|
-
*/
|
|
8870
|
-
onOpen?: () => void;
|
|
8871
|
-
/**
|
|
8872
|
-
* Occurs when the tooltip is closed
|
|
8873
|
-
*/
|
|
8874
|
-
onClose?: () => void;
|
|
8875
|
-
/**
|
|
8876
|
-
* Controls the open state of the tooltip, overrides the triggerBy prop if set
|
|
8877
|
-
*/
|
|
8878
|
-
isOpen?: boolean;
|
|
8879
|
-
/**
|
|
8880
|
-
* Custom styles for the anchor wrapper element
|
|
8881
|
-
*/
|
|
8882
|
-
anchorWrapperStyles?: CSSProperties;
|
|
8883
|
-
}
|
|
8899
|
+
export declare function UiTooltip({ id, anchor, content, behaviour, arrowPlacement, triggerBy, hoverOpenDelay, hoverCloseDelay, showArrow, width, offset: offsetProp, optimalPlacement, accessibilityConfig, variant, disabled, isOpen: isOpenProp, onOpen, onClose, anchorWrapperStyles, }: IUiTooltipProps): JSX.Element;
|
|
8884
8900
|
|
|
8885
8901
|
/**
|
|
8886
8902
|
* @internal
|
|
@@ -8962,9 +8978,9 @@ export declare function unwrapGroupItems<T extends IUiMenuItemData = object>(ite
|
|
|
8962
8978
|
*
|
|
8963
8979
|
* @internal
|
|
8964
8980
|
*/
|
|
8965
|
-
export declare function useAsyncTableResponsiveColumns<T>(columns: Array<
|
|
8981
|
+
export declare function useAsyncTableResponsiveColumns<T>(columns: Array<IUiAsyncTableColumnDefinitionResponsive<T>>, hasCheckbox?: boolean): {
|
|
8966
8982
|
ref: RefObject<HTMLDivElement | null>;
|
|
8967
|
-
columns:
|
|
8983
|
+
columns: IUiAsyncTableColumnDefinitionResponsive<T>[];
|
|
8968
8984
|
};
|
|
8969
8985
|
|
|
8970
8986
|
/**
|
|
@@ -9011,13 +9027,13 @@ export declare function useComboboxState(): IUiComboboxState;
|
|
|
9011
9027
|
export declare function useCurrencyFormatDefaults({ metricType, currencyFormatOverride, onFormatChange, shouldBootstrap, fallbackFormat, }: UseCurrencyFormatDefaultsConfig): void;
|
|
9012
9028
|
|
|
9013
9029
|
/** @internal */
|
|
9014
|
-
export declare
|
|
9030
|
+
export declare type UseCurrencyFormatDefaultsConfig = {
|
|
9015
9031
|
metricType?: MetricType;
|
|
9016
9032
|
currencyFormatOverride?: string | null;
|
|
9017
9033
|
onFormatChange: (format: string | null) => void;
|
|
9018
9034
|
shouldBootstrap: boolean;
|
|
9019
9035
|
fallbackFormat?: string;
|
|
9020
|
-
}
|
|
9036
|
+
};
|
|
9021
9037
|
|
|
9022
9038
|
/**
|
|
9023
9039
|
* @internal
|
|
@@ -9153,7 +9169,7 @@ export declare function useMetricTypePresets({ metricType, currencyFormatOverrid
|
|
|
9153
9169
|
* Configuration for the useMetricTypePresets hook.
|
|
9154
9170
|
* @internal
|
|
9155
9171
|
*/
|
|
9156
|
-
export declare
|
|
9172
|
+
export declare type UseMetricTypePresetsConfig = {
|
|
9157
9173
|
/**
|
|
9158
9174
|
* The metric type. When "CURRENCY", currency-specific presets are shown.
|
|
9159
9175
|
* When undefined, standard numeric presets are shown.
|
|
@@ -9170,13 +9186,13 @@ export declare interface UseMetricTypePresetsConfig {
|
|
|
9170
9186
|
formatMessage: (descriptor: {
|
|
9171
9187
|
id: string;
|
|
9172
9188
|
}) => string;
|
|
9173
|
-
}
|
|
9189
|
+
};
|
|
9174
9190
|
|
|
9175
9191
|
/**
|
|
9176
9192
|
* Result from the useMetricTypePresets hook.
|
|
9177
9193
|
* @internal
|
|
9178
9194
|
*/
|
|
9179
|
-
export declare
|
|
9195
|
+
export declare type UseMetricTypePresetsResult = {
|
|
9180
9196
|
/**
|
|
9181
9197
|
* Format presets based on metric type.
|
|
9182
9198
|
* For CURRENCY: currency presets with optional inherit preset.
|
|
@@ -9193,7 +9209,7 @@ export declare interface UseMetricTypePresetsResult {
|
|
|
9193
9209
|
* The inherit preset if available (only for CURRENCY with override).
|
|
9194
9210
|
*/
|
|
9195
9211
|
inheritPreset: IFormatPreset | null;
|
|
9196
|
-
}
|
|
9212
|
+
};
|
|
9197
9213
|
|
|
9198
9214
|
/**
|
|
9199
9215
|
* Hook to get current instance of the {@link OverlayController}
|
|
@@ -9279,19 +9295,7 @@ export declare function useStandardPresets(formatMessage: (descriptor: {
|
|
|
9279
9295
|
/**
|
|
9280
9296
|
* @internal
|
|
9281
9297
|
*/
|
|
9282
|
-
export declare const useToastMessage: () =>
|
|
9283
|
-
|
|
9284
|
-
/**
|
|
9285
|
-
* @internal
|
|
9286
|
-
*/
|
|
9287
|
-
export declare interface UseToastMessageType {
|
|
9288
|
-
addSuccess: AddMessageType;
|
|
9289
|
-
addProgress: AddMessageType;
|
|
9290
|
-
addWarning: AddMessageType;
|
|
9291
|
-
addError: AddMessageType;
|
|
9292
|
-
removeMessage: (id: string) => void;
|
|
9293
|
-
removeAllMessages: () => void;
|
|
9294
|
-
}
|
|
9298
|
+
export declare const useToastMessage: () => IUseToastMessageType;
|
|
9295
9299
|
|
|
9296
9300
|
/**
|
|
9297
9301
|
* @internal
|
|
@@ -9445,8 +9449,8 @@ export declare function ZoomProvider({ children }: ZoomProviderProps): JSX.Eleme
|
|
|
9445
9449
|
* @internal
|
|
9446
9450
|
* Props for the ZoomProvider component
|
|
9447
9451
|
*/
|
|
9448
|
-
export declare
|
|
9452
|
+
export declare type ZoomProviderProps = {
|
|
9449
9453
|
children: ReactNode;
|
|
9450
|
-
}
|
|
9454
|
+
};
|
|
9451
9455
|
|
|
9452
9456
|
export { }
|