@itwin/itwinui-react 3.0.0-dev.10 → 3.0.0-dev.11
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/CHANGELOG.md +24 -0
- package/cjs/core/Alert/Alert.d.ts +1 -1
- package/cjs/core/Alert/Alert.js +4 -3
- package/cjs/core/Avatar/Avatar.js +2 -1
- package/cjs/core/Breadcrumbs/Breadcrumbs.js +2 -2
- package/cjs/core/Buttons/{Button/Button.d.ts → Button.d.ts} +2 -2
- package/cjs/core/Buttons/{Button/Button.js → Button.js} +1 -1
- package/{esm/core/Buttons/DropdownButton → cjs/core/Buttons}/DropdownButton.d.ts +3 -3
- package/cjs/core/Buttons/{DropdownButton/DropdownButton.js → DropdownButton.js} +7 -7
- package/{esm/core/Buttons/IconButton → cjs/core/Buttons}/IconButton.d.ts +2 -2
- package/cjs/core/Buttons/{IconButton/IconButton.js → IconButton.js} +6 -3
- package/{esm/core/Buttons/IdeasButton → cjs/core/Buttons}/IdeasButton.d.ts +1 -1
- package/cjs/core/Buttons/{IdeasButton/IdeasButton.js → IdeasButton.js} +3 -3
- package/cjs/core/Buttons/{SplitButton/SplitButton.d.ts → SplitButton.d.ts} +3 -3
- package/cjs/core/Buttons/{SplitButton/SplitButton.js → SplitButton.js} +14 -13
- package/cjs/core/Carousel/Carousel.d.ts +2 -2
- package/cjs/core/Carousel/CarouselNavigation.d.ts +2 -2
- package/cjs/core/Carousel/CarouselNavigation.js +9 -9
- package/cjs/core/Checkbox/Checkbox.js +7 -7
- package/cjs/core/ColorPicker/ColorBuilder.js +3 -3
- package/cjs/core/ColorPicker/ColorInputPanel.js +26 -26
- package/cjs/core/ColorPicker/ColorPicker.js +5 -3
- package/cjs/core/ComboBox/ComboBox.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBox.js +17 -18
- package/cjs/core/ComboBox/ComboBoxEndIcon.js +2 -1
- package/cjs/core/ComboBox/ComboBoxInput.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxInput.js +10 -10
- package/cjs/core/ComboBox/ComboBoxInputContainer.js +6 -6
- package/cjs/core/ComboBox/ComboBoxMenu.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxMenu.js +11 -11
- package/cjs/core/ComboBox/helpers.d.ts +1 -1
- package/cjs/core/DatePicker/DatePicker.js +12 -10
- package/cjs/core/Dialog/DialogBackdrop.js +4 -4
- package/cjs/core/Dialog/DialogTitleBar.js +2 -2
- package/cjs/core/{utils/components → Divider}/Divider.d.ts +1 -1
- package/cjs/core/{utils/components → Divider}/Divider.js +1 -1
- package/cjs/core/DropdownMenu/DropdownMenu.d.ts +1 -1
- package/cjs/core/DropdownMenu/DropdownMenu.js +4 -3
- package/cjs/core/ExpandableBlock/ExpandableBlock.d.ts +1 -1
- package/cjs/core/ExpandableBlock/ExpandableBlock.js +3 -2
- package/cjs/core/FileUpload/FileUploadCard.js +3 -2
- package/cjs/core/FileUpload/FileUploadTemplate.js +1 -1
- package/cjs/core/{utils/components → Flex}/Flex.d.ts +2 -2
- package/cjs/core/{utils/components → Flex}/Flex.js +1 -1
- package/cjs/core/Header/Header.js +11 -11
- package/cjs/core/Header/HeaderBasicButton.d.ts +1 -1
- package/cjs/core/Header/HeaderButton.d.ts +2 -2
- package/cjs/core/Header/HeaderDropdownButton.d.ts +1 -1
- package/cjs/core/Header/HeaderDropdownButton.js +6 -6
- package/cjs/core/Header/HeaderSplitButton.d.ts +1 -1
- package/cjs/core/Header/HeaderSplitButton.js +7 -7
- package/{esm/core/utils/components → cjs/core/Icon}/Icon.d.ts +2 -2
- package/cjs/core/{utils/components → Icon}/Icon.js +1 -1
- package/cjs/core/InformationPanel/InformationPanelHeader.js +7 -7
- package/cjs/core/Input/Input.d.ts +0 -1
- package/cjs/core/Input/Input.js +0 -1
- package/cjs/core/InputGroup/InputGroup.d.ts +1 -1
- package/cjs/core/InputGroup/InputGroup.js +6 -6
- package/cjs/core/InputWithDecorations/InputWithDecorations.d.ts +1 -1
- package/cjs/core/InputWithDecorations/InputWithDecorations.js +2 -2
- package/cjs/core/LabeledInput/LabeledInput.d.ts +4 -4
- package/cjs/core/LabeledInput/LabeledInput.js +11 -13
- package/cjs/core/LabeledSelect/LabeledSelect.d.ts +1 -1
- package/cjs/core/LabeledSelect/LabeledSelect.js +7 -6
- package/cjs/core/LabeledTextarea/LabeledTextarea.d.ts +1 -1
- package/cjs/core/LabeledTextarea/LabeledTextarea.js +2 -2
- package/{esm/core/utils/components → cjs/core/LinkAction}/LinkAction.d.ts +2 -2
- package/cjs/core/{utils/components → LinkAction}/LinkAction.js +1 -1
- package/cjs/core/Menu/MenuItem.js +2 -1
- package/cjs/core/Menu/MenuItemSkeleton.js +2 -1
- package/cjs/core/Modal/Modal.js +5 -5
- package/cjs/core/NonIdealState/ErrorPage.js +17 -15
- package/{esm/core/utils/components → cjs/core/Popover}/Popover.d.ts +3 -7
- package/cjs/core/{utils/components → Popover}/Popover.js +10 -6
- package/cjs/core/RadioTiles/RadioTileGroup.d.ts +1 -1
- package/cjs/core/RadioTiles/RadioTileGroup.js +4 -4
- package/cjs/core/SearchBox/SearchBox.d.ts +3 -2
- package/cjs/core/SearchBox/SearchBox.js +4 -3
- package/cjs/core/Select/Select.d.ts +1 -1
- package/cjs/core/Select/Select.js +25 -24
- package/cjs/core/Select/SelectTagContainer.js +2 -2
- package/cjs/core/SideNavigation/SideNavigation.js +5 -5
- package/cjs/core/SideNavigation/SidenavButton.d.ts +1 -1
- package/cjs/core/SideNavigation/SidenavButton.js +2 -2
- package/cjs/core/Slider/Slider.d.ts +1 -1
- package/cjs/core/Slider/Thumb.d.ts +1 -1
- package/cjs/core/Slider/Thumb.js +4 -4
- package/cjs/core/StatusMessage/StatusMessage.d.ts +1 -1
- package/cjs/core/StatusMessage/StatusMessage.js +2 -1
- package/cjs/core/Stepper/StepperStep.js +7 -7
- package/cjs/core/Stepper/WorkflowDiagramStep.js +5 -5
- package/cjs/core/Table/SubRowExpander.d.ts +1 -1
- package/cjs/core/Table/SubRowExpander.js +2 -2
- package/cjs/core/Table/Table.d.ts +1 -1
- package/cjs/core/Table/Table.js +49 -49
- package/cjs/core/Table/TableCell.d.ts +1 -1
- package/cjs/core/Table/TablePaginator.js +27 -25
- package/cjs/core/Table/TableRowMemoized.d.ts +1 -1
- package/cjs/core/Table/actionHandlers/expandHandler.d.ts +1 -1
- package/cjs/core/Table/actionHandlers/filterHandler.d.ts +1 -1
- package/cjs/core/Table/actionHandlers/resizeHandler.d.ts +17 -17
- package/cjs/core/Table/actionHandlers/selectHandler.d.ts +8 -8
- package/cjs/core/Table/cells/DefaultCell.d.ts +1 -1
- package/cjs/core/Table/cells/EditableCell.d.ts +1 -1
- package/cjs/core/Table/columns/actionColumn.d.ts +2 -2
- package/cjs/core/Table/columns/actionColumn.js +10 -10
- package/cjs/core/Table/columns/expanderColumn.d.ts +1 -1
- package/cjs/core/Table/columns/expanderColumn.js +4 -4
- package/cjs/core/Table/columns/selectionColumn.d.ts +1 -1
- package/cjs/core/Table/columns/selectionColumn.js +5 -5
- package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +1 -1
- package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.js +23 -19
- package/cjs/core/Table/filters/FilterButtonBar.js +3 -3
- package/cjs/core/Table/filters/FilterToggle.d.ts +1 -1
- package/cjs/core/Table/filters/FilterToggle.js +4 -3
- package/cjs/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +3 -3
- package/cjs/core/Table/filters/TextFilter/TextFilter.js +2 -2
- package/cjs/core/Table/filters/customFilterFunctions.d.ts +1 -1
- package/cjs/core/Table/filters/defaultFilterFunctions.d.ts +1 -1
- package/cjs/core/Table/filters/types.d.ts +1 -1
- package/cjs/core/Table/hooks/useColumnDragAndDrop.d.ts +1 -1
- package/cjs/core/Table/hooks/useExpanderCell.d.ts +1 -1
- package/cjs/core/Table/hooks/useResizeColumns.d.ts +1 -1
- package/cjs/core/Table/hooks/useScrollToRow.d.ts +1 -1
- package/cjs/core/Table/hooks/useScrollToRow.js +1 -1
- package/cjs/core/Table/hooks/useSelectionCell.d.ts +1 -1
- package/cjs/core/Table/hooks/useStickyColumns.d.ts +1 -1
- package/cjs/core/Table/hooks/useSubRowFiltering.d.ts +1 -1
- package/cjs/core/Table/hooks/useSubRowSelection.d.ts +1 -1
- package/cjs/core/Table/utils.d.ts +1 -1
- package/cjs/core/Tag/Tag.js +2 -2
- package/cjs/core/Textarea/Textarea.js +2 -2
- package/cjs/core/Tile/Tile.d.ts +2 -2
- package/cjs/core/Tile/Tile.js +9 -8
- package/cjs/core/Toast/Toast.js +2 -2
- package/cjs/core/TransferList/TransferList.d.ts +1 -1
- package/cjs/core/TransferList/TransferList.js +6 -5
- package/cjs/core/Tree/TreeNodeExpander.d.ts +1 -1
- package/cjs/core/Tree/TreeNodeExpander.js +2 -2
- package/{esm/core/Typography/Anchor → cjs/core/Typography}/Anchor.d.ts +1 -1
- package/cjs/core/Typography/{Anchor/Anchor.js → Anchor.js} +1 -1
- package/{esm/core/Typography/Blockquote → cjs/core/Typography}/Blockquote.d.ts +1 -1
- package/cjs/core/Typography/{Blockquote/Blockquote.js → Blockquote.js} +1 -1
- package/cjs/core/Typography/{Code/Code.d.ts → Code.d.ts} +1 -1
- package/cjs/core/Typography/{Code/Code.js → Code.js} +1 -1
- package/{esm/core/Typography/Kbd → cjs/core/Typography}/Kbd.d.ts +1 -1
- package/cjs/core/Typography/{Kbd/Kbd.js → Kbd.js} +1 -1
- package/{esm/core/Typography/Text → cjs/core/Typography}/Text.d.ts +1 -1
- package/cjs/core/Typography/{Text/Text.js → Text.js} +1 -1
- package/{esm/core/utils/components → cjs/core/VisuallyHidden}/VisuallyHidden.d.ts +1 -1
- package/cjs/core/{utils/components → VisuallyHidden}/VisuallyHidden.js +1 -1
- package/cjs/core/utils/components/AutoclearingHiddenLiveRegion.js +1 -1
- package/cjs/core/utils/components/InputContainer.js +4 -4
- package/cjs/core/utils/components/index.d.ts +0 -6
- package/cjs/core/utils/components/index.js +0 -6
- package/cjs/core/utils/hooks/useGlobals.d.ts +1 -1
- package/cjs/index.d.ts +113 -1
- package/cjs/index.js +951 -4
- package/cjs/styles.js +5 -4
- package/esm/core/Alert/Alert.d.ts +1 -1
- package/esm/core/Alert/Alert.js +2 -2
- package/esm/core/Avatar/Avatar.js +2 -6
- package/esm/core/Breadcrumbs/Breadcrumbs.js +1 -1
- package/esm/core/Buttons/{Button/Button.d.ts → Button.d.ts} +2 -2
- package/esm/core/Buttons/{Button/Button.js → Button.js} +1 -1
- package/{cjs/core/Buttons/DropdownButton → esm/core/Buttons}/DropdownButton.d.ts +3 -3
- package/esm/core/Buttons/{DropdownButton/DropdownButton.js → DropdownButton.js} +3 -3
- package/{cjs/core/Buttons/IconButton → esm/core/Buttons}/IconButton.d.ts +2 -2
- package/esm/core/Buttons/{IconButton/IconButton.js → IconButton.js} +3 -2
- package/{cjs/core/Buttons/IdeasButton → esm/core/Buttons}/IdeasButton.d.ts +1 -1
- package/esm/core/Buttons/{IdeasButton/IdeasButton.js → IdeasButton.js} +2 -2
- package/esm/core/Buttons/{SplitButton/SplitButton.d.ts → SplitButton.d.ts} +3 -3
- package/esm/core/Buttons/{SplitButton/SplitButton.js → SplitButton.js} +5 -5
- package/esm/core/Carousel/Carousel.d.ts +2 -2
- package/esm/core/Carousel/CarouselNavigation.d.ts +2 -2
- package/esm/core/Carousel/CarouselNavigation.js +1 -1
- package/esm/core/Checkbox/Checkbox.js +1 -1
- package/esm/core/ColorPicker/ColorBuilder.js +1 -1
- package/esm/core/ColorPicker/ColorInputPanel.js +2 -2
- package/esm/core/ColorPicker/ColorPicker.js +5 -3
- package/esm/core/ComboBox/ComboBox.d.ts +1 -1
- package/esm/core/ComboBox/ComboBox.js +4 -4
- package/esm/core/ComboBox/ComboBoxEndIcon.js +2 -1
- package/esm/core/ComboBox/ComboBoxInput.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxInput.js +1 -1
- package/esm/core/ComboBox/ComboBoxInputContainer.js +1 -1
- package/esm/core/ComboBox/ComboBoxMenu.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxMenu.js +1 -1
- package/esm/core/ComboBox/helpers.d.ts +1 -1
- package/esm/core/DatePicker/DatePicker.js +7 -5
- package/esm/core/Dialog/DialogBackdrop.js +1 -1
- package/esm/core/Dialog/DialogTitleBar.js +1 -1
- package/esm/core/{utils/components → Divider}/Divider.d.ts +1 -1
- package/esm/core/{utils/components → Divider}/Divider.js +1 -1
- package/esm/core/DropdownMenu/DropdownMenu.d.ts +1 -1
- package/esm/core/DropdownMenu/DropdownMenu.js +2 -3
- package/esm/core/ExpandableBlock/ExpandableBlock.d.ts +1 -1
- package/esm/core/ExpandableBlock/ExpandableBlock.js +1 -1
- package/esm/core/FileUpload/FileUploadCard.js +2 -2
- package/esm/core/FileUpload/FileUploadTemplate.js +1 -1
- package/esm/core/{utils/components → Flex}/Flex.d.ts +2 -2
- package/esm/core/{utils/components → Flex}/Flex.js +1 -1
- package/esm/core/Header/Header.js +2 -2
- package/esm/core/Header/HeaderBasicButton.d.ts +1 -1
- package/esm/core/Header/HeaderButton.d.ts +2 -2
- package/esm/core/Header/HeaderDropdownButton.d.ts +1 -1
- package/esm/core/Header/HeaderDropdownButton.js +1 -1
- package/esm/core/Header/HeaderSplitButton.d.ts +1 -1
- package/esm/core/Header/HeaderSplitButton.js +1 -1
- package/{cjs/core/utils/components → esm/core/Icon}/Icon.d.ts +2 -2
- package/esm/core/{utils/components → Icon}/Icon.js +1 -1
- package/esm/core/InformationPanel/InformationPanelHeader.js +1 -1
- package/esm/core/Input/Input.d.ts +0 -1
- package/esm/core/Input/Input.js +0 -1
- package/esm/core/InputGroup/InputGroup.d.ts +1 -1
- package/esm/core/InputGroup/InputGroup.js +3 -3
- package/esm/core/InputWithDecorations/InputWithDecorations.d.ts +1 -1
- package/esm/core/InputWithDecorations/InputWithDecorations.js +1 -1
- package/esm/core/LabeledInput/LabeledInput.d.ts +4 -4
- package/esm/core/LabeledInput/LabeledInput.js +5 -4
- package/esm/core/LabeledSelect/LabeledSelect.d.ts +1 -1
- package/esm/core/LabeledSelect/LabeledSelect.js +3 -2
- package/esm/core/LabeledTextarea/LabeledTextarea.d.ts +1 -1
- package/esm/core/LabeledTextarea/LabeledTextarea.js +2 -2
- package/{cjs/core/utils/components → esm/core/LinkAction}/LinkAction.d.ts +2 -2
- package/esm/core/{utils/components → LinkAction}/LinkAction.js +1 -1
- package/esm/core/Menu/MenuItem.js +1 -1
- package/esm/core/Menu/MenuItemSkeleton.js +2 -1
- package/esm/core/Modal/Modal.js +1 -1
- package/esm/core/NonIdealState/ErrorPage.js +2 -2
- package/{cjs/core/utils/components → esm/core/Popover}/Popover.d.ts +3 -7
- package/esm/core/{utils/components → Popover}/Popover.js +9 -5
- package/esm/core/RadioTiles/RadioTileGroup.d.ts +1 -1
- package/esm/core/RadioTiles/RadioTileGroup.js +1 -1
- package/esm/core/SearchBox/SearchBox.d.ts +3 -2
- package/esm/core/SearchBox/SearchBox.js +2 -2
- package/esm/core/Select/Select.d.ts +1 -1
- package/esm/core/Select/Select.js +6 -5
- package/esm/core/Select/SelectTagContainer.js +1 -1
- package/esm/core/SideNavigation/SideNavigation.js +2 -2
- package/esm/core/SideNavigation/SidenavButton.d.ts +1 -1
- package/esm/core/SideNavigation/SidenavButton.js +1 -1
- package/esm/core/Slider/Slider.d.ts +1 -1
- package/esm/core/Slider/Thumb.d.ts +1 -1
- package/esm/core/Slider/Thumb.js +1 -1
- package/esm/core/StatusMessage/StatusMessage.d.ts +1 -1
- package/esm/core/StatusMessage/StatusMessage.js +2 -1
- package/esm/core/Stepper/StepperStep.js +1 -1
- package/esm/core/Stepper/WorkflowDiagramStep.js +1 -1
- package/esm/core/Table/SubRowExpander.d.ts +1 -1
- package/esm/core/Table/SubRowExpander.js +1 -1
- package/esm/core/Table/Table.d.ts +1 -1
- package/esm/core/Table/Table.js +1 -1
- package/esm/core/Table/TableCell.d.ts +1 -1
- package/esm/core/Table/TablePaginator.js +5 -3
- package/esm/core/Table/TableRowMemoized.d.ts +1 -1
- package/esm/core/Table/actionHandlers/expandHandler.d.ts +1 -1
- package/esm/core/Table/actionHandlers/filterHandler.d.ts +1 -1
- package/esm/core/Table/actionHandlers/resizeHandler.d.ts +17 -17
- package/esm/core/Table/actionHandlers/selectHandler.d.ts +8 -8
- package/esm/core/Table/cells/DefaultCell.d.ts +1 -1
- package/esm/core/Table/cells/EditableCell.d.ts +1 -1
- package/esm/core/Table/columns/actionColumn.d.ts +2 -2
- package/esm/core/Table/columns/actionColumn.js +4 -4
- package/esm/core/Table/columns/expanderColumn.d.ts +1 -1
- package/esm/core/Table/columns/expanderColumn.js +1 -1
- package/esm/core/Table/columns/selectionColumn.d.ts +1 -1
- package/esm/core/Table/columns/selectionColumn.js +1 -1
- package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +1 -1
- package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.js +6 -5
- package/esm/core/Table/filters/FilterButtonBar.js +1 -1
- package/esm/core/Table/filters/FilterToggle.d.ts +1 -1
- package/esm/core/Table/filters/FilterToggle.js +3 -7
- package/esm/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +1 -1
- package/esm/core/Table/filters/TextFilter/TextFilter.js +1 -1
- package/esm/core/Table/filters/customFilterFunctions.d.ts +1 -1
- package/esm/core/Table/filters/defaultFilterFunctions.d.ts +1 -1
- package/esm/core/Table/filters/types.d.ts +1 -1
- package/esm/core/Table/hooks/useColumnDragAndDrop.d.ts +1 -1
- package/esm/core/Table/hooks/useExpanderCell.d.ts +1 -1
- package/esm/core/Table/hooks/useResizeColumns.d.ts +1 -1
- package/esm/core/Table/hooks/useScrollToRow.d.ts +1 -1
- package/esm/core/Table/hooks/useScrollToRow.js +1 -1
- package/esm/core/Table/hooks/useSelectionCell.d.ts +1 -1
- package/esm/core/Table/hooks/useStickyColumns.d.ts +1 -1
- package/esm/core/Table/hooks/useSubRowFiltering.d.ts +1 -1
- package/esm/core/Table/hooks/useSubRowSelection.d.ts +1 -1
- package/esm/core/Table/utils.d.ts +1 -1
- package/esm/core/Tag/Tag.js +1 -1
- package/esm/core/Textarea/Textarea.js +1 -1
- package/esm/core/Tile/Tile.d.ts +2 -2
- package/esm/core/Tile/Tile.js +4 -4
- package/esm/core/Toast/Toast.js +1 -1
- package/esm/core/TransferList/TransferList.d.ts +1 -1
- package/esm/core/TransferList/TransferList.js +3 -2
- package/esm/core/Tree/TreeNodeExpander.d.ts +1 -1
- package/esm/core/Tree/TreeNodeExpander.js +1 -1
- package/{cjs/core/Typography/Anchor → esm/core/Typography}/Anchor.d.ts +1 -1
- package/esm/core/Typography/{Anchor/Anchor.js → Anchor.js} +1 -1
- package/{cjs/core/Typography/Blockquote → esm/core/Typography}/Blockquote.d.ts +1 -1
- package/esm/core/Typography/{Blockquote/Blockquote.js → Blockquote.js} +1 -1
- package/esm/core/Typography/{Code/Code.d.ts → Code.d.ts} +1 -1
- package/esm/core/Typography/{Code/Code.js → Code.js} +1 -1
- package/{cjs/core/Typography/Kbd → esm/core/Typography}/Kbd.d.ts +1 -1
- package/esm/core/Typography/{Kbd/Kbd.js → Kbd.js} +1 -1
- package/{cjs/core/Typography/Text → esm/core/Typography}/Text.d.ts +1 -1
- package/esm/core/Typography/{Text/Text.js → Text.js} +1 -1
- package/{cjs/core/utils/components → esm/core/VisuallyHidden}/VisuallyHidden.d.ts +1 -1
- package/esm/core/{utils/components → VisuallyHidden}/VisuallyHidden.js +1 -1
- package/esm/core/utils/components/AutoclearingHiddenLiveRegion.js +1 -1
- package/esm/core/utils/components/InputContainer.js +2 -2
- package/esm/core/utils/components/index.d.ts +0 -6
- package/esm/core/utils/components/index.js +0 -6
- package/esm/core/utils/hooks/useGlobals.d.ts +1 -1
- package/esm/index.d.ts +113 -1
- package/esm/index.js +124 -1
- package/esm/styles.js +5 -4
- package/package.json +8 -9
- package/styles.css +15 -15
- package/cjs/core/Alert/index.d.ts +0 -3
- package/cjs/core/Alert/index.js +0 -15
- package/cjs/core/Avatar/index.d.ts +0 -3
- package/cjs/core/Avatar/index.js +0 -15
- package/cjs/core/AvatarGroup/index.d.ts +0 -3
- package/cjs/core/AvatarGroup/index.js +0 -15
- package/cjs/core/Backdrop/index.d.ts +0 -1
- package/cjs/core/Backdrop/index.js +0 -14
- package/cjs/core/Badge/index.d.ts +0 -3
- package/cjs/core/Badge/index.js +0 -15
- package/cjs/core/Breadcrumbs/index.d.ts +0 -3
- package/cjs/core/Breadcrumbs/index.js +0 -15
- package/cjs/core/ButtonGroup/index.d.ts +0 -3
- package/cjs/core/ButtonGroup/index.js +0 -15
- package/cjs/core/Buttons/Button/index.d.ts +0 -3
- package/cjs/core/Buttons/Button/index.js +0 -15
- package/cjs/core/Buttons/DropdownButton/index.d.ts +0 -3
- package/cjs/core/Buttons/DropdownButton/index.js +0 -15
- package/cjs/core/Buttons/IconButton/index.d.ts +0 -3
- package/cjs/core/Buttons/IconButton/index.js +0 -15
- package/cjs/core/Buttons/IdeasButton/index.d.ts +0 -3
- package/cjs/core/Buttons/IdeasButton/index.js +0 -15
- package/cjs/core/Buttons/SplitButton/index.d.ts +0 -3
- package/cjs/core/Buttons/SplitButton/index.js +0 -15
- package/cjs/core/Buttons/index.d.ts +0 -5
- package/cjs/core/Buttons/index.js +0 -47
- package/cjs/core/Carousel/index.d.ts +0 -3
- package/cjs/core/Carousel/index.js +0 -15
- package/cjs/core/Checkbox/index.d.ts +0 -3
- package/cjs/core/Checkbox/index.js +0 -15
- package/cjs/core/ColorPicker/index.d.ts +0 -7
- package/cjs/core/ColorPicker/index.js +0 -48
- package/cjs/core/ComboBox/index.d.ts +0 -3
- package/cjs/core/ComboBox/index.js +0 -15
- package/cjs/core/DatePicker/index.d.ts +0 -3
- package/cjs/core/DatePicker/index.js +0 -21
- package/cjs/core/Dialog/index.d.ts +0 -3
- package/cjs/core/Dialog/index.js +0 -15
- package/cjs/core/DropdownMenu/index.d.ts +0 -4
- package/cjs/core/DropdownMenu/index.js +0 -15
- package/cjs/core/ExpandableBlock/index.d.ts +0 -3
- package/cjs/core/ExpandableBlock/index.js +0 -15
- package/cjs/core/Fieldset/index.d.ts +0 -3
- package/cjs/core/Fieldset/index.js +0 -15
- package/cjs/core/FileUpload/index.d.ts +0 -6
- package/cjs/core/FileUpload/index.js +0 -40
- package/cjs/core/Footer/index.d.ts +0 -4
- package/cjs/core/Footer/index.js +0 -21
- package/cjs/core/Header/index.d.ts +0 -6
- package/cjs/core/Header/index.js +0 -40
- package/cjs/core/InformationPanel/index.d.ts +0 -7
- package/cjs/core/InformationPanel/index.js +0 -48
- package/cjs/core/Input/index.d.ts +0 -3
- package/cjs/core/Input/index.js +0 -15
- package/cjs/core/InputGrid/index.d.ts +0 -3
- package/cjs/core/InputGrid/index.js +0 -15
- package/cjs/core/InputGroup/index.d.ts +0 -3
- package/cjs/core/InputGroup/index.js +0 -15
- package/cjs/core/InputWithDecorations/index.d.ts +0 -3
- package/cjs/core/InputWithDecorations/index.js +0 -15
- package/cjs/core/Label/index.d.ts +0 -3
- package/cjs/core/Label/index.js +0 -15
- package/cjs/core/LabeledInput/index.d.ts +0 -3
- package/cjs/core/LabeledInput/index.js +0 -15
- package/cjs/core/LabeledSelect/index.d.ts +0 -3
- package/cjs/core/LabeledSelect/index.js +0 -15
- package/cjs/core/LabeledTextarea/index.d.ts +0 -3
- package/cjs/core/LabeledTextarea/index.js +0 -15
- package/cjs/core/List/index.d.ts +0 -2
- package/cjs/core/List/index.js +0 -21
- package/cjs/core/Menu/index.d.ts +0 -5
- package/cjs/core/Menu/index.js +0 -47
- package/cjs/core/Modal/index.d.ts +0 -5
- package/cjs/core/Modal/index.js +0 -29
- package/cjs/core/NonIdealState/index.d.ts +0 -5
- package/cjs/core/NonIdealState/index.js +0 -22
- package/cjs/core/NotificationMarker/index.d.ts +0 -3
- package/cjs/core/NotificationMarker/index.js +0 -15
- package/cjs/core/Overlay/index.d.ts +0 -1
- package/cjs/core/Overlay/index.js +0 -14
- package/cjs/core/ProgressIndicators/index.d.ts +0 -2
- package/cjs/core/ProgressIndicators/index.js +0 -21
- package/cjs/core/Radio/index.d.ts +0 -3
- package/cjs/core/Radio/index.js +0 -15
- package/cjs/core/RadioTiles/index.d.ts +0 -4
- package/cjs/core/RadioTiles/index.js +0 -22
- package/cjs/core/SearchBox/index.d.ts +0 -3
- package/cjs/core/SearchBox/index.js +0 -15
- package/cjs/core/Select/index.d.ts +0 -4
- package/cjs/core/Select/index.js +0 -15
- package/cjs/core/SideNavigation/index.d.ts +0 -6
- package/cjs/core/SideNavigation/index.js +0 -40
- package/cjs/core/SkipToContentLink/index.d.ts +0 -3
- package/cjs/core/SkipToContentLink/index.js +0 -15
- package/cjs/core/Slider/index.d.ts +0 -3
- package/cjs/core/Slider/index.js +0 -15
- package/cjs/core/StatusMessage/index.d.ts +0 -3
- package/cjs/core/StatusMessage/index.js +0 -15
- package/cjs/core/Stepper/index.d.ts +0 -3
- package/cjs/core/Stepper/index.js +0 -21
- package/cjs/core/Surface/index.d.ts +0 -3
- package/cjs/core/Surface/index.js +0 -15
- package/cjs/core/Tabs/index.d.ts +0 -2
- package/cjs/core/Tabs/index.js +0 -21
- package/cjs/core/Tag/index.d.ts +0 -4
- package/cjs/core/Tag/index.js +0 -22
- package/cjs/core/Textarea/index.d.ts +0 -3
- package/cjs/core/Textarea/index.js +0 -15
- package/cjs/core/ThemeProvider/index.d.ts +0 -4
- package/cjs/core/ThemeProvider/index.js +0 -15
- package/cjs/core/Tile/index.d.ts +0 -3
- package/cjs/core/Tile/index.js +0 -15
- package/cjs/core/TimePicker/index.d.ts +0 -4
- package/cjs/core/TimePicker/index.js +0 -15
- package/cjs/core/Toast/index.d.ts +0 -1
- package/cjs/core/Toast/index.js +0 -14
- package/cjs/core/ToggleSwitch/index.d.ts +0 -3
- package/cjs/core/ToggleSwitch/index.js +0 -15
- package/cjs/core/Tooltip/index.d.ts +0 -3
- package/cjs/core/Tooltip/index.js +0 -15
- package/cjs/core/TransferList/index.d.ts +0 -3
- package/cjs/core/TransferList/index.js +0 -15
- package/cjs/core/Tree/index.d.ts +0 -4
- package/cjs/core/Tree/index.js +0 -28
- package/cjs/core/Typography/Anchor/index.d.ts +0 -3
- package/cjs/core/Typography/Anchor/index.js +0 -15
- package/cjs/core/Typography/Blockquote/index.d.ts +0 -3
- package/cjs/core/Typography/Blockquote/index.js +0 -15
- package/cjs/core/Typography/Code/index.d.ts +0 -3
- package/cjs/core/Typography/Code/index.js +0 -15
- package/cjs/core/Typography/Kbd/index.d.ts +0 -3
- package/cjs/core/Typography/Kbd/index.js +0 -21
- package/cjs/core/Typography/Text/index.d.ts +0 -3
- package/cjs/core/Typography/Text/index.js +0 -15
- package/cjs/core/Typography/index.d.ts +0 -5
- package/cjs/core/Typography/index.js +0 -54
- package/cjs/core/index.d.ts +0 -68
- package/cjs/core/index.js +0 -916
- package/esm/core/Alert/index.d.ts +0 -3
- package/esm/core/Alert/index.js +0 -6
- package/esm/core/Avatar/index.d.ts +0 -3
- package/esm/core/Avatar/index.js +0 -6
- package/esm/core/AvatarGroup/index.d.ts +0 -3
- package/esm/core/AvatarGroup/index.js +0 -6
- package/esm/core/Backdrop/index.d.ts +0 -1
- package/esm/core/Backdrop/index.js +0 -5
- package/esm/core/Badge/index.d.ts +0 -3
- package/esm/core/Badge/index.js +0 -6
- package/esm/core/Breadcrumbs/index.d.ts +0 -3
- package/esm/core/Breadcrumbs/index.js +0 -6
- package/esm/core/ButtonGroup/index.d.ts +0 -3
- package/esm/core/ButtonGroup/index.js +0 -6
- package/esm/core/Buttons/Button/index.d.ts +0 -3
- package/esm/core/Buttons/Button/index.js +0 -6
- package/esm/core/Buttons/DropdownButton/index.d.ts +0 -3
- package/esm/core/Buttons/DropdownButton/index.js +0 -6
- package/esm/core/Buttons/IconButton/index.d.ts +0 -3
- package/esm/core/Buttons/IconButton/index.js +0 -6
- package/esm/core/Buttons/IdeasButton/index.d.ts +0 -3
- package/esm/core/Buttons/IdeasButton/index.js +0 -6
- package/esm/core/Buttons/SplitButton/index.d.ts +0 -3
- package/esm/core/Buttons/SplitButton/index.js +0 -6
- package/esm/core/Buttons/index.d.ts +0 -5
- package/esm/core/Buttons/index.js +0 -9
- package/esm/core/Carousel/index.d.ts +0 -3
- package/esm/core/Carousel/index.js +0 -6
- package/esm/core/Checkbox/index.d.ts +0 -3
- package/esm/core/Checkbox/index.js +0 -6
- package/esm/core/ColorPicker/index.d.ts +0 -7
- package/esm/core/ColorPicker/index.js +0 -10
- package/esm/core/ComboBox/index.d.ts +0 -3
- package/esm/core/ComboBox/index.js +0 -6
- package/esm/core/DatePicker/index.d.ts +0 -3
- package/esm/core/DatePicker/index.js +0 -6
- package/esm/core/Dialog/index.d.ts +0 -3
- package/esm/core/Dialog/index.js +0 -6
- package/esm/core/DropdownMenu/index.d.ts +0 -4
- package/esm/core/DropdownMenu/index.js +0 -6
- package/esm/core/ExpandableBlock/index.d.ts +0 -3
- package/esm/core/ExpandableBlock/index.js +0 -6
- package/esm/core/Fieldset/index.d.ts +0 -3
- package/esm/core/Fieldset/index.js +0 -6
- package/esm/core/FileUpload/index.d.ts +0 -6
- package/esm/core/FileUpload/index.js +0 -9
- package/esm/core/Footer/index.d.ts +0 -4
- package/esm/core/Footer/index.js +0 -6
- package/esm/core/Header/index.d.ts +0 -6
- package/esm/core/Header/index.js +0 -9
- package/esm/core/InformationPanel/index.d.ts +0 -7
- package/esm/core/InformationPanel/index.js +0 -10
- package/esm/core/Input/index.d.ts +0 -3
- package/esm/core/Input/index.js +0 -6
- package/esm/core/InputGrid/index.d.ts +0 -3
- package/esm/core/InputGrid/index.js +0 -6
- package/esm/core/InputGroup/index.d.ts +0 -3
- package/esm/core/InputGroup/index.js +0 -6
- package/esm/core/InputWithDecorations/index.d.ts +0 -3
- package/esm/core/InputWithDecorations/index.js +0 -6
- package/esm/core/Label/index.d.ts +0 -3
- package/esm/core/Label/index.js +0 -6
- package/esm/core/LabeledInput/index.d.ts +0 -3
- package/esm/core/LabeledInput/index.js +0 -6
- package/esm/core/LabeledSelect/index.d.ts +0 -3
- package/esm/core/LabeledSelect/index.js +0 -6
- package/esm/core/LabeledTextarea/index.d.ts +0 -3
- package/esm/core/LabeledTextarea/index.js +0 -6
- package/esm/core/List/index.d.ts +0 -2
- package/esm/core/List/index.js +0 -6
- package/esm/core/Menu/index.d.ts +0 -5
- package/esm/core/Menu/index.js +0 -9
- package/esm/core/Modal/index.d.ts +0 -5
- package/esm/core/Modal/index.js +0 -8
- package/esm/core/NonIdealState/index.d.ts +0 -5
- package/esm/core/NonIdealState/index.js +0 -7
- package/esm/core/NotificationMarker/index.d.ts +0 -3
- package/esm/core/NotificationMarker/index.js +0 -6
- package/esm/core/Overlay/index.d.ts +0 -1
- package/esm/core/Overlay/index.js +0 -5
- package/esm/core/ProgressIndicators/index.d.ts +0 -2
- package/esm/core/ProgressIndicators/index.js +0 -6
- package/esm/core/Radio/index.d.ts +0 -3
- package/esm/core/Radio/index.js +0 -6
- package/esm/core/RadioTiles/index.d.ts +0 -4
- package/esm/core/RadioTiles/index.js +0 -7
- package/esm/core/SearchBox/index.d.ts +0 -3
- package/esm/core/SearchBox/index.js +0 -6
- package/esm/core/Select/index.d.ts +0 -4
- package/esm/core/Select/index.js +0 -6
- package/esm/core/SideNavigation/index.d.ts +0 -6
- package/esm/core/SideNavigation/index.js +0 -9
- package/esm/core/SkipToContentLink/index.d.ts +0 -3
- package/esm/core/SkipToContentLink/index.js +0 -6
- package/esm/core/Slider/index.d.ts +0 -3
- package/esm/core/Slider/index.js +0 -6
- package/esm/core/StatusMessage/index.d.ts +0 -3
- package/esm/core/StatusMessage/index.js +0 -6
- package/esm/core/Stepper/index.d.ts +0 -3
- package/esm/core/Stepper/index.js +0 -6
- package/esm/core/Surface/index.d.ts +0 -3
- package/esm/core/Surface/index.js +0 -6
- package/esm/core/Tabs/index.d.ts +0 -2
- package/esm/core/Tabs/index.js +0 -6
- package/esm/core/Tag/index.d.ts +0 -4
- package/esm/core/Tag/index.js +0 -7
- package/esm/core/Textarea/index.d.ts +0 -3
- package/esm/core/Textarea/index.js +0 -6
- package/esm/core/ThemeProvider/index.d.ts +0 -4
- package/esm/core/ThemeProvider/index.js +0 -6
- package/esm/core/Tile/index.d.ts +0 -3
- package/esm/core/Tile/index.js +0 -6
- package/esm/core/TimePicker/index.d.ts +0 -4
- package/esm/core/TimePicker/index.js +0 -6
- package/esm/core/Toast/index.d.ts +0 -1
- package/esm/core/Toast/index.js +0 -5
- package/esm/core/ToggleSwitch/index.d.ts +0 -3
- package/esm/core/ToggleSwitch/index.js +0 -6
- package/esm/core/Tooltip/index.d.ts +0 -3
- package/esm/core/Tooltip/index.js +0 -6
- package/esm/core/TransferList/index.d.ts +0 -3
- package/esm/core/TransferList/index.js +0 -6
- package/esm/core/Tree/index.d.ts +0 -4
- package/esm/core/Tree/index.js +0 -7
- package/esm/core/Typography/Anchor/index.d.ts +0 -3
- package/esm/core/Typography/Anchor/index.js +0 -6
- package/esm/core/Typography/Blockquote/index.d.ts +0 -3
- package/esm/core/Typography/Blockquote/index.js +0 -6
- package/esm/core/Typography/Code/index.d.ts +0 -3
- package/esm/core/Typography/Code/index.js +0 -6
- package/esm/core/Typography/Kbd/index.d.ts +0 -3
- package/esm/core/Typography/Kbd/index.js +0 -6
- package/esm/core/Typography/Text/index.d.ts +0 -3
- package/esm/core/Typography/Text/index.js +0 -6
- package/esm/core/Typography/index.d.ts +0 -5
- package/esm/core/Typography/index.js +0 -9
- package/esm/core/index.d.ts +0 -68
- package/esm/core/index.js +0 -132
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { CellProps, Row, TableInstance, TableState } from 'react-table';
|
|
2
|
+
import type { CellProps, Row, TableInstance, TableState } from '../../react-table/react-table.js';
|
|
3
3
|
/**
|
|
4
4
|
* Memoization is needed to avoid unnecessary re-renders of all rows when additional data is added when lazy-loading.
|
|
5
5
|
* Using `isLast` here instead of passing data length to avoid re-renders of all rows when more data is added. Now only the last row re-renders.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { TableInstance, TableState } from 'react-table';
|
|
1
|
+
import type { TableInstance, TableState } from '../../../react-table/react-table.js';
|
|
2
2
|
export declare const onExpandHandler: <T extends Record<string, unknown>>(newState: TableState<T>, instance?: TableInstance<T> | undefined, onExpand?: ((expandedData: T[] | undefined, tableState?: TableState<T> | undefined) => void) | undefined) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ActionType, TableInstance, TableState } from 'react-table';
|
|
1
|
+
import type { ActionType, TableInstance, TableState } from '../../../react-table/react-table.js';
|
|
2
2
|
import type { TableFilterValue } from '../filters/index.js';
|
|
3
3
|
export declare const onFilterHandler: <T extends Record<string, unknown>>(newState: TableState<T>, action: ActionType, previousState: TableState<T>, currentFilter: TableFilterValue<T>[], instance?: TableInstance<T> | undefined) => TableFilterValue<T>[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { ActionType, TableState } from 'react-table';
|
|
1
|
+
import type { ActionType, TableState } from '../../../react-table/react-table.js';
|
|
2
2
|
export declare const onTableResizeStart: <T extends Record<string, unknown>>(state: TableState<T>) => {
|
|
3
3
|
isTableResizing: boolean;
|
|
4
|
-
hiddenColumns?: import("react-table").IdType<T>[] | undefined;
|
|
4
|
+
hiddenColumns?: import("../../../react-table/react-table.js").IdType<T>[] | undefined;
|
|
5
5
|
columnResizing: {
|
|
6
6
|
startX?: number | undefined;
|
|
7
7
|
columnWidth?: number | undefined;
|
|
@@ -17,18 +17,18 @@ export declare const onTableResizeStart: <T extends Record<string, unknown>>(sta
|
|
|
17
17
|
isScrolledToLeft?: boolean | undefined;
|
|
18
18
|
};
|
|
19
19
|
lastSelectedRowId?: string | undefined;
|
|
20
|
-
columnOrder: import("react-table").IdType<T>[];
|
|
21
|
-
expanded: Record<import("react-table").IdType<T>, boolean>;
|
|
22
|
-
filters: import("react-table").Filters<T>;
|
|
20
|
+
columnOrder: import("../../../react-table/react-table.js").IdType<T>[];
|
|
21
|
+
expanded: Record<import("../../../react-table/react-table.js").IdType<T>, boolean>;
|
|
22
|
+
filters: import("../../../react-table/react-table.js").Filters<T>;
|
|
23
23
|
globalFilter: any;
|
|
24
|
-
groupBy: import("react-table").IdType<T>[];
|
|
24
|
+
groupBy: import("../../../react-table/react-table.js").IdType<T>[];
|
|
25
25
|
pageSize: number;
|
|
26
26
|
pageIndex: number;
|
|
27
|
-
selectedRowIds: Record<import("react-table").IdType<T>, boolean>;
|
|
27
|
+
selectedRowIds: Record<import("../../../react-table/react-table.js").IdType<T>, boolean>;
|
|
28
28
|
rowState: Record<string, {
|
|
29
|
-
cellState: import("react-table").UseRowStateLocalState<T, unknown>;
|
|
29
|
+
cellState: import("../../../react-table/react-table.js").UseRowStateLocalState<T, unknown>;
|
|
30
30
|
}>;
|
|
31
|
-
sortBy: import("react-table").SortingRule<T>[];
|
|
31
|
+
sortBy: import("../../../react-table/react-table.js").SortingRule<T>[];
|
|
32
32
|
};
|
|
33
33
|
export declare const onTableResizeEnd: <T extends Record<string, unknown>>(state: TableState<T>, action: ActionType) => {
|
|
34
34
|
isTableResizing: boolean;
|
|
@@ -41,23 +41,23 @@ export declare const onTableResizeEnd: <T extends Record<string, unknown>>(state
|
|
|
41
41
|
nextHeaderIdWidths?: [string, number][] | undefined;
|
|
42
42
|
isResizingColumn?: string | undefined;
|
|
43
43
|
};
|
|
44
|
-
hiddenColumns?: import("react-table").IdType<T>[] | undefined;
|
|
44
|
+
hiddenColumns?: import("../../../react-table/react-table.js").IdType<T>[] | undefined;
|
|
45
45
|
columnReorderStartIndex: number;
|
|
46
46
|
sticky: {
|
|
47
47
|
isScrolledToRight?: boolean | undefined;
|
|
48
48
|
isScrolledToLeft?: boolean | undefined;
|
|
49
49
|
};
|
|
50
50
|
lastSelectedRowId?: string | undefined;
|
|
51
|
-
columnOrder: import("react-table").IdType<T>[];
|
|
52
|
-
expanded: Record<import("react-table").IdType<T>, boolean>;
|
|
53
|
-
filters: import("react-table").Filters<T>;
|
|
51
|
+
columnOrder: import("../../../react-table/react-table.js").IdType<T>[];
|
|
52
|
+
expanded: Record<import("../../../react-table/react-table.js").IdType<T>, boolean>;
|
|
53
|
+
filters: import("../../../react-table/react-table.js").Filters<T>;
|
|
54
54
|
globalFilter: any;
|
|
55
|
-
groupBy: import("react-table").IdType<T>[];
|
|
55
|
+
groupBy: import("../../../react-table/react-table.js").IdType<T>[];
|
|
56
56
|
pageSize: number;
|
|
57
57
|
pageIndex: number;
|
|
58
|
-
selectedRowIds: Record<import("react-table").IdType<T>, boolean>;
|
|
58
|
+
selectedRowIds: Record<import("../../../react-table/react-table.js").IdType<T>, boolean>;
|
|
59
59
|
rowState: Record<string, {
|
|
60
|
-
cellState: import("react-table").UseRowStateLocalState<T, unknown>;
|
|
60
|
+
cellState: import("../../../react-table/react-table.js").UseRowStateLocalState<T, unknown>;
|
|
61
61
|
}>;
|
|
62
|
-
sortBy: import("react-table").SortingRule<T>[];
|
|
62
|
+
sortBy: import("../../../react-table/react-table.js").SortingRule<T>[];
|
|
63
63
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActionType, TableInstance, TableState } from 'react-table';
|
|
1
|
+
import type { ActionType, TableInstance, TableState } from '../../../react-table/react-table.js';
|
|
2
2
|
/**
|
|
3
3
|
* Handles selection when toggling a row (Ctrl click or checkbox click)
|
|
4
4
|
*/
|
|
@@ -9,7 +9,7 @@ export declare const onToggleHandler: <T extends Record<string, unknown>>(newSta
|
|
|
9
9
|
export declare const onSingleSelectHandler: <T extends Record<string, unknown>>(state: TableState<T>, action: ActionType, instance?: TableInstance<T> | undefined, onSelect?: ((selectedData: T[] | undefined, tableState?: TableState<T> | undefined) => void) | undefined, isRowDisabled?: ((rowData: T) => boolean) | undefined) => {
|
|
10
10
|
lastSelectedRowId: any;
|
|
11
11
|
selectedRowIds: Record<string, boolean>;
|
|
12
|
-
hiddenColumns?: import("react-table").IdType<T>[] | undefined;
|
|
12
|
+
hiddenColumns?: import("../../../react-table/react-table.js").IdType<T>[] | undefined;
|
|
13
13
|
columnResizing: {
|
|
14
14
|
startX?: number | undefined;
|
|
15
15
|
columnWidth?: number | undefined;
|
|
@@ -25,17 +25,17 @@ export declare const onSingleSelectHandler: <T extends Record<string, unknown>>(
|
|
|
25
25
|
isScrolledToRight?: boolean | undefined;
|
|
26
26
|
isScrolledToLeft?: boolean | undefined;
|
|
27
27
|
};
|
|
28
|
-
columnOrder: import("react-table").IdType<T>[];
|
|
29
|
-
expanded: Record<import("react-table").IdType<T>, boolean>;
|
|
30
|
-
filters: import("react-table").Filters<T>;
|
|
28
|
+
columnOrder: import("../../../react-table/react-table.js").IdType<T>[];
|
|
29
|
+
expanded: Record<import("../../../react-table/react-table.js").IdType<T>, boolean>;
|
|
30
|
+
filters: import("../../../react-table/react-table.js").Filters<T>;
|
|
31
31
|
globalFilter: any;
|
|
32
|
-
groupBy: import("react-table").IdType<T>[];
|
|
32
|
+
groupBy: import("../../../react-table/react-table.js").IdType<T>[];
|
|
33
33
|
pageSize: number;
|
|
34
34
|
pageIndex: number;
|
|
35
35
|
rowState: Record<string, {
|
|
36
|
-
cellState: import("react-table").UseRowStateLocalState<T, unknown>;
|
|
36
|
+
cellState: import("../../../react-table/react-table.js").UseRowStateLocalState<T, unknown>;
|
|
37
37
|
}>;
|
|
38
|
-
sortBy: import("react-table").SortingRule<T>[];
|
|
38
|
+
sortBy: import("../../../react-table/react-table.js").SortingRule<T>[];
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
41
|
* Handles selection when clicked on a row while shift key is pressed.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { CellRendererProps } from 'react-table';
|
|
2
|
+
import type { CellRendererProps } from '../../../react-table/react-table.js';
|
|
3
3
|
export type DefaultCellProps<T extends Record<string, unknown>> = {
|
|
4
4
|
/**
|
|
5
5
|
* Custom icon to be displayed at the beginning of the cell.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { CellRendererProps } from 'react-table';
|
|
2
|
+
import type { CellRendererProps } from '../../../react-table/react-table.js';
|
|
3
3
|
export type EditableCellProps<T extends Record<string, unknown>> = CellRendererProps<T> & {
|
|
4
4
|
/**
|
|
5
5
|
* Callback function when cell is edited. It is called only when `onBlur` event is fired.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { HeaderProps } from 'react-table';
|
|
3
|
-
import type { DropdownMenuProps } from '../../DropdownMenu/
|
|
2
|
+
import type { HeaderProps } from '../../../react-table/react-table.js';
|
|
3
|
+
import type { DropdownMenuProps } from '../../DropdownMenu/DropdownMenu.js';
|
|
4
4
|
type ActionColumnProps = {
|
|
5
5
|
columnManager?: boolean | {
|
|
6
6
|
dropdownMenuProps: Omit<DropdownMenuProps, 'menuItems' | 'children'>;
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import { Checkbox } from '../../Checkbox/
|
|
6
|
+
import { Checkbox } from '../../Checkbox/Checkbox.js';
|
|
7
7
|
import { SvgColumnManager } from '../../utils/index.js';
|
|
8
|
-
import { DropdownMenu } from '../../DropdownMenu/
|
|
9
|
-
import { IconButton } from '../../Buttons/IconButton
|
|
10
|
-
import { MenuItem } from '../../Menu/
|
|
8
|
+
import { DropdownMenu } from '../../DropdownMenu/DropdownMenu.js';
|
|
9
|
+
import { IconButton } from '../../Buttons/IconButton.js';
|
|
10
|
+
import { MenuItem } from '../../Menu/MenuItem.js';
|
|
11
11
|
import { tableResizeStartAction } from '../Table.js';
|
|
12
12
|
import { SELECTION_CELL_ID } from './selectionColumn.js';
|
|
13
13
|
import { EXPANDER_CELL_ID } from './expanderColumn.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { CellProps, CellRendererProps, Row } from 'react-table';
|
|
2
|
+
import type { CellProps, CellRendererProps, Row } from '../../../react-table/react-table.js';
|
|
3
3
|
export declare const EXPANDER_CELL_ID = "iui-table-expander";
|
|
4
4
|
/**
|
|
5
5
|
* Expander column that adds sub-content expander column to the Table.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { SvgChevronRight } from '../../utils/index.js';
|
|
7
|
-
import { IconButton } from '../../Buttons/
|
|
7
|
+
import { IconButton } from '../../Buttons/IconButton.js';
|
|
8
8
|
import { DefaultCell } from '../cells/index.js';
|
|
9
9
|
export const EXPANDER_CELL_ID = 'iui-table-expander';
|
|
10
10
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { CellProps, CellRendererProps, HeaderProps } from 'react-table';
|
|
2
|
+
import type { CellProps, CellRendererProps, HeaderProps } from '../../../react-table/react-table.js';
|
|
3
3
|
export declare const SELECTION_CELL_ID = "iui-table-checkbox-selector";
|
|
4
4
|
/**
|
|
5
5
|
* Selection column that adds selection checkbox column to the Table.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import { Checkbox } from '../../Checkbox/
|
|
6
|
+
import { Checkbox } from '../../Checkbox/Checkbox.js';
|
|
7
7
|
import { DefaultCell } from '../cells/index.js';
|
|
8
8
|
export const SELECTION_CELL_ID = 'iui-table-checkbox-selector';
|
|
9
9
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { LabeledInput } from '../../../LabeledInput/
|
|
2
|
+
import type { LabeledInput } from '../../../LabeledInput/LabeledInput.js';
|
|
3
3
|
import type { PolymorphicForwardRefComponent } from '../../../utils/index.js';
|
|
4
4
|
import type { DatePickerLocalizedNames } from '../../../DatePicker/DatePicker.js';
|
|
5
5
|
export type DatePickerInputProps = {
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import {
|
|
7
|
-
import { DatePicker } from '../../../DatePicker/
|
|
8
|
-
import { InputGrid } from '../../../InputGrid/
|
|
9
|
-
import { Label } from '../../../Label/
|
|
10
|
-
import { InputWithDecorations } from '../../../InputWithDecorations/
|
|
6
|
+
import { SvgCalendar, isBefore, useId } from '../../../utils/index.js';
|
|
7
|
+
import { DatePicker } from '../../../DatePicker/DatePicker.js';
|
|
8
|
+
import { InputGrid } from '../../../InputGrid/InputGrid.js';
|
|
9
|
+
import { Label } from '../../../Label/Label.js';
|
|
10
|
+
import { InputWithDecorations } from '../../../InputWithDecorations/InputWithDecorations.js';
|
|
11
|
+
import { Popover } from '../../../Popover/Popover.js';
|
|
11
12
|
const DatePickerInput = React.forwardRef((props, forwardedRef) => {
|
|
12
13
|
const uid = useId();
|
|
13
14
|
const {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
7
|
import { Box, useGlobals } from '../../utils/index.js';
|
|
8
|
-
import { Button } from '../../Buttons/
|
|
8
|
+
import { Button } from '../../Buttons/Button.js';
|
|
9
9
|
const defaultStrings = {
|
|
10
10
|
filter: 'Filter',
|
|
11
11
|
clear: 'Clear',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { HeaderGroup } from 'react-table';
|
|
2
|
+
import type { HeaderGroup } from '../../../react-table/react-table.js';
|
|
3
3
|
import type { CommonProps } from '../../utils/index.js';
|
|
4
4
|
export type FilterToggleProps<T extends Record<string, unknown>> = {
|
|
5
5
|
column: HeaderGroup<T>;
|
|
@@ -4,13 +4,9 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
SvgFilterHollow,
|
|
11
|
-
SvgFilter,
|
|
12
|
-
} from '../../utils/index.js';
|
|
13
|
-
import { IconButton } from '../../Buttons/index.js';
|
|
7
|
+
import { useGlobals, SvgFilterHollow, SvgFilter } from '../../utils/index.js';
|
|
8
|
+
import { IconButton } from '../../Buttons/IconButton.js';
|
|
9
|
+
import { Popover } from '../../Popover/Popover.js';
|
|
14
10
|
/**
|
|
15
11
|
* Handles showing filter icon and opening filter component.
|
|
16
12
|
*/
|
|
@@ -6,7 +6,7 @@ import * as React from 'react';
|
|
|
6
6
|
import { useGlobals } from '../../../utils/index.js';
|
|
7
7
|
import { FilterButtonBar } from '../FilterButtonBar.js';
|
|
8
8
|
import { BaseFilter } from '../BaseFilter.js';
|
|
9
|
-
import { LabeledInput } from '../../../LabeledInput/
|
|
9
|
+
import { LabeledInput } from '../../../LabeledInput/LabeledInput.js';
|
|
10
10
|
const defaultStrings = {
|
|
11
11
|
from: 'From',
|
|
12
12
|
to: 'To',
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { useGlobals } from '../../../utils/index.js';
|
|
7
|
-
import { Input } from '../../../Input/
|
|
7
|
+
import { Input } from '../../../Input/Input.js';
|
|
8
8
|
import { FilterButtonBar } from '../FilterButtonBar.js';
|
|
9
9
|
import { BaseFilter } from '../BaseFilter.js';
|
|
10
10
|
export const TextFilter = (props) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IdType, Row } from 'react-table';
|
|
1
|
+
import type { IdType, Row } from '../../../react-table/react-table.js';
|
|
2
2
|
export declare const customFilterFunctions: {
|
|
3
3
|
betweenDate: {
|
|
4
4
|
<T extends Record<string, unknown>>(rows: Row<T>[], ids: IdType<T>[], filterValue: [Date?, Date?] | undefined): Row<T>[];
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
25
25
|
* SOFTWARE.
|
|
26
26
|
*/
|
|
27
|
-
import type { IdType, Row } from 'react-table';
|
|
27
|
+
import type { IdType, Row } from '../../../react-table/react-table.js';
|
|
28
28
|
export declare const defaultFilterFunctions: {
|
|
29
29
|
text: {
|
|
30
30
|
<T extends Record<string, unknown>>(rows: Row<T>[], ids: IdType<T>[], filterValue: string): Row<T>[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FieldType, FilterType, TableFilterProps } from 'react-table';
|
|
1
|
+
import type { FieldType, FilterType, TableFilterProps } from '../../../react-table/react-table.js';
|
|
2
2
|
export interface TableFilterValue<T extends Record<string, unknown>> {
|
|
3
3
|
/**
|
|
4
4
|
* Id of the column.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Hooks } from 'react-table';
|
|
1
|
+
import type { Hooks } from '../../../react-table/react-table.js';
|
|
2
2
|
export declare const useColumnDragAndDrop: <T extends Record<string, unknown>>(isEnabled: boolean) => (hooks: Hooks<T>) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { CellProps, Hooks, Row } from 'react-table';
|
|
2
|
+
import type { CellProps, Hooks, Row } from '../../../react-table/react-table.js';
|
|
3
3
|
export declare const useExpanderCell: <T extends Record<string, unknown>>(subComponent?: ((row: Row<T>) => React.ReactNode) | undefined, expanderCell?: ((cellProps: CellProps<T>) => React.ReactNode) | undefined, isRowDisabled?: ((rowData: T) => boolean) | undefined) => (hooks: Hooks<T>) => void;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* SOFTWARE.
|
|
31
31
|
*/
|
|
32
32
|
import type * as React from 'react';
|
|
33
|
-
import type { Hooks } from 'react-table';
|
|
33
|
+
import type { Hooks } from '../../../react-table/react-table.js';
|
|
34
34
|
export declare const useResizeColumns: {
|
|
35
35
|
<T extends Record<string, unknown>>(ownerDocument: React.RefObject<Document | undefined>): (hooks: Hooks<T>) => void;
|
|
36
36
|
pluginName: string;
|
|
@@ -37,7 +37,7 @@ export function useScrollToRow({
|
|
|
37
37
|
) {
|
|
38
38
|
return;
|
|
39
39
|
}
|
|
40
|
-
rowRefs.current[pageRef.current[scrollToIndex]
|
|
40
|
+
rowRefs.current[pageRef.current[scrollToIndex]?.id]?.scrollIntoView();
|
|
41
41
|
}, [enableVirtualization, scrollToIndex]);
|
|
42
42
|
const tableRowRef = React.useCallback((row) => {
|
|
43
43
|
return (element) => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Hooks } from 'react-table';
|
|
1
|
+
import type { Hooks } from '../../../react-table/react-table.js';
|
|
2
2
|
export declare const useSelectionCell: <T extends Record<string, unknown>>(isSelectable: boolean, selectionMode: 'multi' | 'single', isRowDisabled?: ((rowData: T) => boolean) | undefined, density?: 'default' | 'condensed' | 'extra-condensed') => (hooks: Hooks<T>) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Hooks } from 'react-table';
|
|
1
|
+
import type { Hooks } from '../../../react-table/react-table.js';
|
|
2
2
|
export declare const useStickyColumns: <T extends Record<string, unknown>>(hooks: Hooks<T>) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Hooks } from 'react-table';
|
|
1
|
+
import type { Hooks } from '../../../react-table/react-table.js';
|
|
2
2
|
export declare const useSubRowFiltering: <T extends Record<string, unknown>>(hasAnySubRows: boolean) => (hooks: Hooks<T>) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Hooks } from 'react-table';
|
|
1
|
+
import type { Hooks } from '../../../react-table/react-table.js';
|
|
2
2
|
export declare const useSubRowSelection: <T extends Record<string, unknown>>(hooks: Hooks<T>) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ColumnInstance } from 'react-table';
|
|
1
|
+
import type { ColumnInstance } from '../../react-table/react-table.js';
|
|
2
2
|
export declare const getCellStyle: <T extends Record<string, unknown>>(column: ColumnInstance<T>, isTableResizing: boolean) => React.CSSProperties | undefined;
|
|
3
3
|
export declare const getStickyStyle: <T extends Record<string, unknown>>(column: ColumnInstance<T>, columnList: ColumnInstance<T>[]) => React.CSSProperties;
|
package/esm/core/Tag/Tag.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { SvgCloseSmall, Box } from '../utils/index.js';
|
|
8
|
-
import { IconButton } from '../Buttons/
|
|
8
|
+
import { IconButton } from '../Buttons/IconButton.js';
|
|
9
9
|
/**
|
|
10
10
|
* Tag for showing categories, filters etc.
|
|
11
11
|
* @example
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import { Input } from '../Input/
|
|
6
|
+
import { Input } from '../Input/Input.js';
|
|
7
7
|
/**
|
|
8
8
|
* Basic textarea component
|
|
9
9
|
* @example
|
package/esm/core/Tile/Tile.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { PolymorphicForwardRefComponent } from '../utils/index.js';
|
|
3
|
-
import { IconButton } from '../Buttons/
|
|
3
|
+
import { IconButton } from '../Buttons/IconButton.js';
|
|
4
4
|
type TileWrapperOwnProps = {
|
|
5
5
|
/**
|
|
6
6
|
* Status of the tile.
|
|
@@ -253,7 +253,7 @@ export declare const Tile: PolymorphicForwardRefComponent<"div", TileLegacyProps
|
|
|
253
253
|
isActive?: boolean | undefined;
|
|
254
254
|
label?: React.ReactNode;
|
|
255
255
|
iconProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> | undefined;
|
|
256
|
-
} & Omit<import("../Buttons/Button
|
|
256
|
+
} & Omit<import("../Buttons/Button.js").ButtonProps, "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps"> & {
|
|
257
257
|
as?: "button" | undefined;
|
|
258
258
|
}, "ref">>;
|
|
259
259
|
/**
|
package/esm/core/Tile/Tile.js
CHANGED
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
SvgMore,
|
|
10
10
|
SvgNew,
|
|
11
11
|
SvgCheckmark,
|
|
12
|
-
LinkAction,
|
|
13
12
|
useSafeContext,
|
|
14
13
|
supportsHas,
|
|
15
14
|
polymorphic,
|
|
16
15
|
Box,
|
|
17
16
|
} from '../utils/index.js';
|
|
18
|
-
import { DropdownMenu } from '../DropdownMenu/
|
|
19
|
-
import { IconButton } from '../Buttons/
|
|
20
|
-
import { ProgressRadial } from '../ProgressIndicators/
|
|
17
|
+
import { DropdownMenu } from '../DropdownMenu/DropdownMenu.js';
|
|
18
|
+
import { IconButton } from '../Buttons/IconButton.js';
|
|
19
|
+
import { ProgressRadial } from '../ProgressIndicators/ProgressRadial.js';
|
|
20
|
+
import { LinkAction } from '../LinkAction/LinkAction.js';
|
|
21
21
|
const TileContext = React.createContext(undefined);
|
|
22
22
|
TileContext.displayName = 'TileContext';
|
|
23
23
|
const TileWrapper = React.forwardRef((props, forwardedRef) => {
|
package/esm/core/Toast/Toast.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
useSafeContext,
|
|
14
14
|
ButtonBase,
|
|
15
15
|
} from '../utils/index.js';
|
|
16
|
-
import { IconButton } from '../Buttons/
|
|
16
|
+
import { IconButton } from '../Buttons/IconButton.js';
|
|
17
17
|
import { ToasterStateContext } from './Toaster.js';
|
|
18
18
|
const isMotionOk = () =>
|
|
19
19
|
getWindow()?.matchMedia?.('(prefers-reduced-motion: no-preference)')?.matches;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { PolymorphicForwardRefComponent } from '../utils/index.js';
|
|
3
|
-
import { ListItem } from '../List/
|
|
3
|
+
import { ListItem } from '../List/ListItem.js';
|
|
4
4
|
type TransferListListboxWrapperOwnProps = {};
|
|
5
5
|
type TransferListItemOwnProps = {
|
|
6
6
|
/**
|
|
@@ -12,8 +12,9 @@ import {
|
|
|
12
12
|
Box,
|
|
13
13
|
polymorphic,
|
|
14
14
|
} from '../utils/index.js';
|
|
15
|
-
import { List
|
|
16
|
-
import {
|
|
15
|
+
import { List } from '../List/List.js';
|
|
16
|
+
import { ListItem } from '../List/ListItem.js';
|
|
17
|
+
import { Label } from '../Label/Label.js';
|
|
17
18
|
// ----------------------------------------------------------------------------
|
|
18
19
|
// TransferListComponent
|
|
19
20
|
const TransferListComponent = polymorphic('iui-transfer-list-wrapper');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PolymorphicForwardRefComponent } from '../utils/index.js';
|
|
2
|
-
import type { IconButtonProps } from '../Buttons/IconButton
|
|
2
|
+
import type { IconButtonProps } from '../Buttons/IconButton.js';
|
|
3
3
|
type TreeNodeExpanderProps = {
|
|
4
4
|
isExpanded?: boolean;
|
|
5
5
|
} & IconButtonProps;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
7
|
import { SvgChevronRight } from '../utils/index.js';
|
|
8
|
-
import { IconButton } from '../Buttons/IconButton
|
|
8
|
+
import { IconButton } from '../Buttons/IconButton.js';
|
|
9
9
|
export const TreeNodeExpander = React.forwardRef((props, ref) => {
|
|
10
10
|
const { isExpanded, ...rest } = props;
|
|
11
11
|
return React.createElement(
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
* <Anchor as={Link} to='/'>Home</Anchor>
|
|
13
13
|
* <Anchor as='button' onClick={() => {}}>click me</Anchor>
|
|
14
14
|
*/
|
|
15
|
-
export declare const Anchor: import("
|
|
15
|
+
export declare const Anchor: import("../utils/props.js").PolymorphicForwardRefComponent<"a", {}>;
|
|
16
16
|
export default Anchor;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
3
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { polymorphic } from '
|
|
5
|
+
import { polymorphic } from '../utils/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* A consistently styled anchor component.
|
|
8
8
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { Box } from '
|
|
7
|
+
import { Box } from '../utils/index.js';
|
|
8
8
|
/**
|
|
9
9
|
* Basic blockquote component
|
|
10
10
|
* @example
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* @example
|
|
4
4
|
* <p>Some <Code>inline code</Code> in a paragraph</p>
|
|
5
5
|
*/
|
|
6
|
-
export declare const Code: import("
|
|
6
|
+
export declare const Code: import("../utils/props.js").PolymorphicForwardRefComponent<"code", {}>;
|
|
7
7
|
export default Code;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
3
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { polymorphic } from '
|
|
5
|
+
import { polymorphic } from '../utils/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* Inline code element.
|
|
8
8
|
* @example
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { Box } from '
|
|
7
|
+
import { Box } from '../utils/index.js';
|
|
8
8
|
/**
|
|
9
9
|
* Some predefined strings for common keyboard keys.
|
|
10
10
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { Box } from '
|
|
7
|
+
import { Box } from '../utils/index.js';
|
|
8
8
|
/**
|
|
9
9
|
* Polymorphic typography component to render any kind of text as any kind of element.
|
|
10
10
|
* Users should decide which element to render based on the context of their app. Link to heading levels docs: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements#accessibility_concerns
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import { Box } from '
|
|
7
|
+
import { Box } from '../utils/components/Box.js';
|
|
8
8
|
/**
|
|
9
9
|
* Hides content visually but keeps it still accessible to screen readers
|
|
10
10
|
* and other assistive technologies.
|