@primer/react 38.46.0 → 38.47.0-rc.0f998b98f
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 +12 -0
- package/dist/ActionBar/ActionBar.d.ts +1 -2
- package/dist/ActionBar/ActionBar.js +8 -9
- package/dist/ActionBar/ActionBar.module.css.js +1 -2
- package/dist/ActionBar/index.d.ts +1 -3
- package/dist/ActionBar/index.js +1 -2
- package/dist/ActionList/ActionList.module.css.js +1 -2
- package/dist/ActionList/ActionListContainerContext.js +1 -2
- package/dist/ActionList/Description.d.ts +1 -2
- package/dist/ActionList/Description.js +2 -3
- package/dist/ActionList/Divider.d.ts +1 -2
- package/dist/ActionList/Divider.js +1 -2
- package/dist/ActionList/Group.d.ts +2 -3
- package/dist/ActionList/Group.js +3 -4
- package/dist/ActionList/Group.module.css.js +1 -2
- package/dist/ActionList/GroupContext.js +1 -2
- package/dist/ActionList/GroupHeadingTrailingAction.d.ts +1 -2
- package/dist/ActionList/GroupHeadingTrailingAction.js +1 -2
- package/dist/ActionList/Heading.d.ts +1 -2
- package/dist/ActionList/Heading.js +4 -5
- package/dist/ActionList/Heading.module.css.js +1 -2
- package/dist/ActionList/Item.js +11 -12
- package/dist/ActionList/LinkItem.d.ts +1 -2
- package/dist/ActionList/LinkItem.js +3 -4
- package/dist/ActionList/List.js +9 -10
- package/dist/ActionList/Selection.js +5 -6
- package/dist/ActionList/TrailingAction.d.ts +1 -2
- package/dist/ActionList/TrailingAction.js +2 -3
- package/dist/ActionList/Visuals.d.ts +1 -2
- package/dist/ActionList/Visuals.js +2 -3
- package/dist/ActionList/index.d.ts +7 -7
- package/dist/ActionList/index.js +7 -8
- package/dist/ActionList/shared.d.ts +1 -2
- package/dist/ActionList/shared.js +1 -2
- package/dist/ActionMenu/ActionMenu.d.ts +3 -4
- package/dist/ActionMenu/ActionMenu.js +408 -170
- package/dist/ActionMenu/ActionMenu.module.css.js +1 -2
- package/dist/AnchoredOverlay/AnchoredOverlay.d.ts +2 -3
- package/dist/AnchoredOverlay/AnchoredOverlay.js +7 -8
- package/dist/AnchoredOverlay/AnchoredOverlay.module.css.js +1 -2
- package/dist/Autocomplete/Autocomplete.d.ts +3 -4
- package/dist/Autocomplete/Autocomplete.js +2 -3
- package/dist/Autocomplete/AutocompleteContext.js +1 -2
- package/dist/Autocomplete/AutocompleteInput.d.ts +2 -3
- package/dist/Autocomplete/AutocompleteInput.js +3 -4
- package/dist/Autocomplete/AutocompleteMenu.d.ts +2 -3
- package/dist/Autocomplete/AutocompleteMenu.js +5 -6
- package/dist/Autocomplete/AutocompleteMenu.module.css.js +1 -2
- package/dist/Autocomplete/AutocompleteOverlay.d.ts +2 -3
- package/dist/Autocomplete/AutocompleteOverlay.js +3 -4
- package/dist/Autocomplete/AutocompleteOverlay.module.css.js +1 -2
- package/dist/Avatar/Avatar.d.ts +1 -2
- package/dist/Avatar/Avatar.js +0 -1
- package/dist/Avatar/Avatar.module.css.js +1 -2
- package/dist/AvatarStack/AvatarStack.d.ts +1 -2
- package/dist/AvatarStack/AvatarStack.js +1 -2
- package/dist/AvatarStack/AvatarStack.module.css.js +1 -2
- package/dist/Banner/Banner.d.ts +1 -2
- package/dist/Banner/Banner.js +5 -6
- package/dist/Banner/Banner.module.css.js +1 -2
- package/dist/Banner/index.d.ts +2 -3
- package/dist/Banner/index.js +1 -2
- package/dist/BaseStyles.d.ts +0 -2
- package/dist/BaseStyles.js +1 -2
- package/dist/BaseStyles.module.css.js +1 -2
- package/dist/Blankslate/Blankslate.d.ts +1 -2
- package/dist/Blankslate/Blankslate.js +2 -3
- package/dist/Blankslate/Blankslate.module.css.js +1 -2
- package/dist/Blankslate/BlankslateContext.js +1 -2
- package/dist/Blankslate/index.d.ts +1 -2
- package/dist/Blankslate/index.js +1 -2
- package/dist/BranchName/BranchName.d.ts +1 -2
- package/dist/BranchName/BranchName.js +2 -3
- package/dist/BranchName/BranchName.module.css.js +1 -2
- package/dist/Breadcrumbs/Breadcrumbs.d.ts +1 -2
- package/dist/Breadcrumbs/Breadcrumbs.js +6 -7
- package/dist/Breadcrumbs/Breadcrumbs.module.css.js +1 -2
- package/dist/Button/Button.d.ts +2 -3
- package/dist/Button/Button.js +1 -2
- package/dist/Button/ButtonBase.d.ts +1 -2
- package/dist/Button/ButtonBase.js +3 -4
- package/dist/Button/ButtonBase.module.css.js +1 -2
- package/dist/Button/IconButton.d.ts +2 -3
- package/dist/Button/IconButton.js +3 -4
- package/dist/Button/LinkButton.d.ts +2 -3
- package/dist/Button/LinkButton.js +1 -2
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/types.d.ts +1 -2
- package/dist/ButtonGroup/ButtonGroup.d.ts +1 -2
- package/dist/ButtonGroup/ButtonGroup.js +3 -4
- package/dist/ButtonGroup/ButtonGroup.module.css.js +1 -2
- package/dist/Card/Card.d.ts +1 -2
- package/dist/Card/Card.js +3 -4
- package/dist/Card/Card.module.css.js +1 -2
- package/dist/Card/index.d.ts +1 -2
- package/dist/Card/index.js +1 -2
- package/dist/Checkbox/Checkbox.d.ts +2 -3
- package/dist/Checkbox/Checkbox.js +3 -4
- package/dist/Checkbox/Checkbox.module.css.js +1 -2
- package/dist/Checkbox/shared.module.css.js +1 -2
- package/dist/CheckboxGroup/CheckboxGroup.d.ts +2 -3
- package/dist/CheckboxGroup/CheckboxGroup.js +6 -7
- package/dist/CheckboxGroup/CheckboxGroupContext.js +1 -2
- package/dist/CircleBadge/CircleBadge.d.ts +0 -2
- package/dist/CircleBadge/CircleBadge.js +1 -2
- package/dist/CircleBadge/CircleBadge.module.css.js +1 -2
- package/dist/ConfirmationDialog/ConfirmationDialog.d.ts +1 -2
- package/dist/ConfirmationDialog/ConfirmationDialog.js +1 -2
- package/dist/ConfirmationDialog/useConfirm.d.ts +1 -2
- package/dist/ConfirmationDialog/useConfirm.js +1 -2
- package/dist/CounterLabel/CounterLabel.d.ts +1 -2
- package/dist/CounterLabel/CounterLabel.js +1 -2
- package/dist/CounterLabel/CounterLabel.module.css.js +1 -2
- package/dist/DataTable/DataTable.d.ts +5 -5
- package/dist/DataTable/DataTable.js +32 -30
- package/dist/DataTable/ErrorDialog.d.ts +1 -2
- package/dist/DataTable/ErrorDialog.js +1 -2
- package/dist/DataTable/Pagination.d.ts +1 -2
- package/dist/DataTable/Pagination.js +2 -3
- package/dist/DataTable/Pagination.module.css.js +1 -2
- package/dist/DataTable/Table.d.ts +3 -4
- package/dist/DataTable/Table.js +4 -5
- package/dist/DataTable/Table.module.css.js +1 -2
- package/dist/DataTable/TableBulkActions.d.ts +1 -2
- package/dist/DataTable/TableBulkActions.js +2 -3
- package/dist/DataTable/TableBulkActions.module.css.js +1 -2
- package/dist/DataTable/TableGroup.d.ts +3 -2
- package/dist/DataTable/TableGroup.js +195 -171
- package/dist/DataTable/TableGroupContext.js +1 -2
- package/dist/DataTable/column.d.ts +1 -2
- package/dist/DataTable/column.js +1 -2
- package/dist/DataTable/index.d.ts +4 -5
- package/dist/DataTable/index.js +3 -4
- package/dist/DataTable/row.d.ts +0 -2
- package/dist/DataTable/sorting.d.ts +0 -2
- package/dist/DataTable/sorting.js +1 -2
- package/dist/DataTable/useTable.js +2 -3
- package/dist/DataTable/utils.d.ts +0 -2
- package/dist/Details/Details.d.ts +1 -2
- package/dist/Details/Details.js +2 -3
- package/dist/Details/Details.module.css.js +1 -2
- package/dist/Dialog/Dialog.d.ts +2 -3
- package/dist/Dialog/Dialog.js +7 -8
- package/dist/Dialog/Dialog.module.css.js +1 -2
- package/dist/Dialog/DialogContext.js +1 -2
- package/dist/FeatureFlags/DefaultFeatureFlags.d.ts +1 -2
- package/dist/FeatureFlags/DefaultFeatureFlags.js +1 -2
- package/dist/FeatureFlags/FeatureFlagContext.js +1 -2
- package/dist/FeatureFlags/FeatureFlagScope.d.ts +0 -2
- package/dist/FeatureFlags/FeatureFlagScope.js +1 -2
- package/dist/FeatureFlags/FeatureFlags.d.ts +1 -2
- package/dist/FeatureFlags/FeatureFlags.js +2 -3
- package/dist/FeatureFlags/useFeatureFlag.d.ts +0 -2
- package/dist/FeatureFlags/useFeatureFlag.js +1 -2
- package/dist/FilteredActionList/FilteredActionList.d.ts +1 -2
- package/dist/FilteredActionList/FilteredActionList.js +11 -12
- package/dist/FilteredActionList/FilteredActionList.module.css.js +1 -2
- package/dist/FilteredActionList/FilteredActionListInput.d.ts +1 -2
- package/dist/FilteredActionList/FilteredActionListInput.js +1 -2
- package/dist/FilteredActionList/FilteredActionListLoaders.d.ts +1 -2
- package/dist/FilteredActionList/FilteredActionListLoaders.js +1 -2
- package/dist/FilteredActionList/FilteredActionListLoaders.module.css.js +1 -2
- package/dist/FilteredActionList/constants.d.ts +0 -2
- package/dist/FilteredActionList/constants.js +1 -2
- package/dist/FilteredActionList/index.d.ts +2 -3
- package/dist/FilteredActionList/index.js +3 -4
- package/dist/FilteredActionList/types.d.ts +3 -4
- package/dist/FilteredActionList/useAnnouncements.js +1 -2
- package/dist/Flash/Flash.d.ts +1 -2
- package/dist/Flash/Flash.js +1 -2
- package/dist/Flash/Flash.module.css.js +1 -2
- package/dist/FormControl/FormControl.d.ts +1 -2
- package/dist/FormControl/FormControl.js +8 -9
- package/dist/FormControl/FormControl.module.css.js +1 -2
- package/dist/FormControl/FormControlCaption.d.ts +1 -2
- package/dist/FormControl/FormControlCaption.js +2 -3
- package/dist/FormControl/FormControlCaption.module.css.js +1 -2
- package/dist/FormControl/FormControlLabel.d.ts +1 -2
- package/dist/FormControl/FormControlLabel.js +1 -2
- package/dist/FormControl/FormControlLeadingVisual.js +1 -2
- package/dist/FormControl/FormControlLeadingVisual.module.css.js +1 -2
- package/dist/FormControl/_FormControlContext.d.ts +1 -2
- package/dist/FormControl/_FormControlContext.js +1 -2
- package/dist/FormControl/_FormControlContextProvider.js +1 -2
- package/dist/FormControl/_FormControlValidation.d.ts +1 -2
- package/dist/FormControl/_FormControlValidation.js +1 -2
- package/dist/FormControl/index.d.ts +3 -3
- package/dist/Header/Header.d.ts +1 -2
- package/dist/Header/Header.js +1 -2
- package/dist/Header/Header.module.css.js +1 -2
- package/dist/Heading/Heading.d.ts +1 -2
- package/dist/Heading/Heading.js +2 -3
- package/dist/Heading/Heading.module.css.js +1 -2
- package/dist/Hidden/Hidden.d.ts +1 -2
- package/dist/Hidden/Hidden.js +1 -2
- package/dist/Hidden/Hidden.module.css.js +1 -2
- package/dist/InlineMessage/InlineMessage.d.ts +1 -2
- package/dist/InlineMessage/InlineMessage.js +1 -2
- package/dist/InlineMessage/InlineMessage.module.css.js +1 -2
- package/dist/KeybindingHint/KeybindingHint.d.ts +1 -2
- package/dist/KeybindingHint/KeybindingHint.js +1 -2
- package/dist/KeybindingHint/KeybindingHint.module.css.js +1 -2
- package/dist/KeybindingHint/components/Chord.js +1 -2
- package/dist/KeybindingHint/components/Chord.module.css.js +1 -2
- package/dist/KeybindingHint/components/Key.js +1 -2
- package/dist/KeybindingHint/components/Sequence.js +1 -2
- package/dist/KeybindingHint/components/utils.js +1 -2
- package/dist/KeybindingHint/key-names.js +1 -2
- package/dist/KeybindingHint/platform.d.ts +0 -2
- package/dist/KeybindingHint/platform.js +1 -2
- package/dist/KeybindingHint/props.d.ts +0 -2
- package/dist/KeybindingHint/utils.d.ts +1 -2
- package/dist/KeybindingHint/utils.js +1 -2
- package/dist/Label/Label.d.ts +1 -2
- package/dist/Label/Label.js +1 -2
- package/dist/Label/Label.module.css.js +1 -2
- package/dist/Label/index.js +1 -2
- package/dist/LabelGroup/LabelGroup.d.ts +1 -2
- package/dist/LabelGroup/LabelGroup.js +3 -4
- package/dist/LabelGroup/LabelGroup.module.css.js +1 -2
- package/dist/Link/Link.d.ts +2 -3
- package/dist/Link/Link.js +3 -4
- package/dist/Link/Link.module.css.js +1 -2
- package/dist/NavList/NavList.d.ts +4 -5
- package/dist/NavList/NavList.js +8 -9
- package/dist/NavList/NavList.module.css.js +1 -2
- package/dist/Octicon/Octicon.d.ts +1 -2
- package/dist/Octicon/Octicon.js +1 -2
- package/dist/Overlay/Overlay.d.ts +2 -3
- package/dist/Overlay/Overlay.js +3 -4
- package/dist/Overlay/Overlay.module.css.js +1 -2
- package/dist/Overlay/constants.d.ts +0 -2
- package/dist/Overlay/constants.js +1 -2
- package/dist/PageHeader/PageHeader.d.ts +4 -5
- package/dist/PageHeader/PageHeader.js +7 -8
- package/dist/PageHeader/PageHeader.module.css.js +1 -2
- package/dist/PageLayout/DragHandle.d.ts +1 -2
- package/dist/PageLayout/DragHandle.js +1 -2
- package/dist/PageLayout/PageLayout.d.ts +2 -3
- package/dist/PageLayout/PageLayout.js +3 -4
- package/dist/PageLayout/PageLayout.module.css.js +1 -2
- package/dist/PageLayout/index.d.ts +1 -1
- package/dist/PageLayout/paneUtils.js +1 -2
- package/dist/PageLayout/usePaneWidth.d.ts +1 -2
- package/dist/PageLayout/usePaneWidth.js +1 -2
- package/dist/Pagehead/Pagehead.d.ts +1 -2
- package/dist/Pagehead/Pagehead.js +1 -2
- package/dist/Pagehead/Pagehead.module.css.js +1 -2
- package/dist/Pagination/Pagination.d.ts +2 -3
- package/dist/Pagination/Pagination.js +2 -3
- package/dist/Pagination/Pagination.module.css.js +1 -2
- package/dist/Pagination/index.js +1 -2
- package/dist/Pagination/model.d.ts +0 -2
- package/dist/Pagination/model.js +2 -3
- package/dist/Popover/Popover.d.ts +1 -2
- package/dist/Popover/Popover.js +3 -4
- package/dist/Popover/Popover.module.css.js +1 -2
- package/dist/Portal/Portal.d.ts +1 -2
- package/dist/Portal/Portal.js +1 -2
- package/dist/Portal/PortalContext.d.ts +1 -2
- package/dist/Portal/PortalContext.js +1 -2
- package/dist/Portal/index.js +1 -2
- package/dist/Portal/portalRoot.d.ts +0 -2
- package/dist/Portal/portalRoot.js +1 -2
- package/dist/ProgressBar/ProgressBar.d.ts +1 -2
- package/dist/ProgressBar/ProgressBar.js +1 -2
- package/dist/ProgressBar/ProgressBar.module.css.js +1 -2
- package/dist/ProgressBar/index.d.ts +1 -2
- package/dist/ProgressBar/index.js +1 -2
- package/dist/Radio/Radio.d.ts +1 -2
- package/dist/Radio/Radio.js +1 -2
- package/dist/Radio/Radio.module.css.js +1 -2
- package/dist/RadioGroup/RadioGroup.d.ts +2 -3
- package/dist/RadioGroup/RadioGroup.js +4 -5
- package/dist/RadioGroup/RadioGroupContext.js +1 -2
- package/dist/RelativeTime/RelativeTime.d.ts +1 -2
- package/dist/RelativeTime/RelativeTime.js +1 -2
- package/dist/ScrollableRegion/ScrollableRegion.d.ts +1 -2
- package/dist/ScrollableRegion/ScrollableRegion.js +1 -2
- package/dist/ScrollableRegion/ScrollableRegion.module.css.js +1 -2
- package/dist/SegmentedControl/SegmentedControl.d.ts +2 -3
- package/dist/SegmentedControl/SegmentedControl.js +9 -10
- package/dist/SegmentedControl/SegmentedControl.module.css.js +1 -2
- package/dist/SegmentedControl/SegmentedControlAction.d.ts +1 -2
- package/dist/SegmentedControl/SegmentedControlAction.js +2 -3
- package/dist/SegmentedControl/SegmentedControlActionContext.js +1 -2
- package/dist/SegmentedControl/SegmentedControlButton.d.ts +1 -2
- package/dist/SegmentedControl/SegmentedControlButton.js +2 -3
- package/dist/SegmentedControl/SegmentedControlDivider.d.ts +1 -2
- package/dist/SegmentedControl/SegmentedControlDivider.js +1 -2
- package/dist/SegmentedControl/SegmentedControlIconButton.d.ts +1 -2
- package/dist/SegmentedControl/SegmentedControlIconButton.js +2 -3
- package/dist/SegmentedControl/index.d.ts +3 -3
- package/dist/Select/Select.d.ts +2 -3
- package/dist/Select/Select.js +1 -2
- package/dist/Select/Select.module.css.js +1 -2
- package/dist/SelectPanel/SelectPanel.d.ts +2 -3
- package/dist/SelectPanel/SelectPanel.js +13 -14
- package/dist/SelectPanel/SelectPanel.module.css.js +1 -2
- package/dist/SelectPanel/SelectPanelMessage.d.ts +1 -2
- package/dist/SelectPanel/SelectPanelMessage.js +1 -2
- package/dist/SelectPanel/index.d.ts +1 -1
- package/dist/SideNav.d.ts +1 -2
- package/dist/SideNav.js +1 -2
- package/dist/SideNav.module.css.js +1 -2
- package/dist/Skeleton/SkeletonBox.d.ts +1 -2
- package/dist/Skeleton/SkeletonBox.js +1 -2
- package/dist/Skeleton/SkeletonBox.module.css.js +1 -2
- package/dist/Skeleton/skeleton.module.css.js +1 -2
- package/dist/SkeletonAvatar/SkeletonAvatar.d.ts +1 -2
- package/dist/SkeletonAvatar/SkeletonAvatar.js +2 -3
- package/dist/SkeletonAvatar/SkeletonAvatar.module.css.js +1 -2
- package/dist/SkeletonText/SkeletonText.d.ts +1 -2
- package/dist/SkeletonText/SkeletonText.js +2 -3
- package/dist/SkeletonText/SkeletonText.module.css.js +1 -2
- package/dist/Spinner/Spinner.d.ts +1 -2
- package/dist/Spinner/Spinner.js +1 -2
- package/dist/Spinner/Spinner.module.css.js +1 -2
- package/dist/SplitPageLayout/SplitPageLayout.d.ts +1 -2
- package/dist/SplitPageLayout/SplitPageLayout.js +1 -2
- package/dist/Stack/Stack.d.ts +1 -2
- package/dist/Stack/Stack.js +1 -2
- package/dist/Stack/Stack.module.css.js +1 -2
- package/dist/Stack/index.d.ts +2 -3
- package/dist/Stack/index.js +1 -2
- package/dist/StateLabel/StateLabel.d.ts +1 -2
- package/dist/StateLabel/StateLabel.js +1 -2
- package/dist/StateLabel/StateLabel.module.css.js +1 -2
- package/dist/SubNav/SubNav.d.ts +1 -2
- package/dist/SubNav/SubNav.js +1 -2
- package/dist/SubNav/SubNav.module.css.js +1 -2
- package/dist/TabNav/TabNav.d.ts +1 -2
- package/dist/TabNav/TabNav.js +1 -2
- package/dist/TabNav/TabNav.module.css.js +1 -2
- package/dist/Text/Text.d.ts +1 -2
- package/dist/Text/Text.js +1 -2
- package/dist/Text/Text.module.css.js +1 -2
- package/dist/TextInput/TextInput.d.ts +2 -3
- package/dist/TextInput/TextInput.js +8 -9
- package/dist/TextInput/TextInput.module.css.js +1 -2
- package/dist/TextInputWithTokens/TextInputWithTokens.d.ts +2 -3
- package/dist/TextInputWithTokens/TextInputWithTokens.js +4 -5
- package/dist/TextInputWithTokens/TextInputWithTokens.module.css.js +1 -2
- package/dist/Textarea/TextArea.module.css.js +1 -2
- package/dist/Textarea/Textarea.d.ts +2 -3
- package/dist/Textarea/Textarea.js +5 -6
- package/dist/ThemeContext.d.ts +1 -2
- package/dist/ThemeContext.js +1 -2
- package/dist/ThemeProvider.d.ts +1 -2
- package/dist/ThemeProvider.js +2 -3
- package/dist/Timeline/Timeline.d.ts +1 -2
- package/dist/Timeline/Timeline.js +1 -2
- package/dist/Timeline/Timeline.module.css.js +1 -2
- package/dist/Timeline/constants.d.ts +0 -2
- package/dist/ToggleSwitch/ToggleSwitch.d.ts +1 -2
- package/dist/ToggleSwitch/ToggleSwitch.js +3 -4
- package/dist/ToggleSwitch/ToggleSwitch.module.css.js +1 -2
- package/dist/Token/IssueLabelToken.d.ts +2 -3
- package/dist/Token/IssueLabelToken.js +2 -3
- package/dist/Token/IssueLabelToken.module.css.js +1 -2
- package/dist/Token/Token.d.ts +2 -3
- package/dist/Token/Token.js +3 -4
- package/dist/Token/Token.module.css.js +1 -2
- package/dist/Token/TokenBase.d.ts +1 -2
- package/dist/Token/TokenBase.js +1 -2
- package/dist/Token/TokenBase.module.css.js +1 -2
- package/dist/Token/_RemoveTokenButton.js +1 -2
- package/dist/Token/_RemoveTokenButton.module.css.js +1 -2
- package/dist/Token/_TokenTextContainer.js +1 -2
- package/dist/Token/_TokenTextContainer.module.css.js +1 -2
- package/dist/Token/constants.d.ts +0 -2
- package/dist/Token/constants.js +1 -2
- package/dist/Token/utils.js +1 -2
- package/dist/Tooltip/Tooltip.d.ts +1 -2
- package/dist/Tooltip/Tooltip.js +2 -3
- package/dist/Tooltip/Tooltip.module.css.js +1 -2
- package/dist/Tooltip/TooltipContext.js +1 -2
- package/dist/TooltipV2/Tooltip.d.ts +2 -3
- package/dist/TooltipV2/Tooltip.js +8 -9
- package/dist/TooltipV2/Tooltip.module.css.js +1 -2
- package/dist/TooltipV2/TooltipContext.js +1 -2
- package/dist/TopicTag/TopicTag.d.ts +1 -2
- package/dist/TopicTag/TopicTag.js +1 -2
- package/dist/TopicTag/TopicTag.module.css.js +1 -2
- package/dist/TopicTag/TopicTagGroup.d.ts +1 -2
- package/dist/TopicTag/TopicTagGroup.js +1 -2
- package/dist/TopicTag/TopicTagGroup.module.css.js +1 -2
- package/dist/TopicTag/index.d.ts +1 -2
- package/dist/TopicTag/index.js +1 -2
- package/dist/TreeView/TreeView.d.ts +1 -2
- package/dist/TreeView/TreeView.js +16 -17
- package/dist/TreeView/TreeView.module.css.js +1 -2
- package/dist/TreeView/shared.js +1 -2
- package/dist/TreeView/useRovingTabIndex.d.ts +1 -2
- package/dist/TreeView/useRovingTabIndex.js +1 -2
- package/dist/TreeView/useTreeItemCache.js +1 -2
- package/dist/TreeView/useTreeRovingTabIndex.js +1 -2
- package/dist/TreeView/useTypeahead.js +1 -2
- package/dist/Truncate/Truncate.d.ts +1 -2
- package/dist/Truncate/Truncate.js +1 -2
- package/dist/Truncate/Truncate.module.css.js +1 -2
- package/dist/UnderlineNav/UnderlineNav.d.ts +1 -2
- package/dist/UnderlineNav/UnderlineNav.js +5 -6
- package/dist/UnderlineNav/UnderlineNav.module.css.js +1 -2
- package/dist/UnderlineNav/UnderlineNavContext.js +1 -2
- package/dist/UnderlineNav/UnderlineNavItem.js +4 -5
- package/dist/UnderlineNav/UnderlineNavItem.module.css.js +1 -2
- package/dist/UnderlineNav/UnderlineNavItemsRegistry.d.ts +1 -2
- package/dist/UnderlineNav/UnderlineNavItemsRegistry.js +1 -2
- package/dist/UnderlineNav/index.d.ts +1 -2
- package/dist/UnderlineNav/index.js +1 -2
- package/dist/UnderlineNav/utils.js +1 -2
- package/dist/VisuallyHidden/VisuallyHidden.d.ts +1 -2
- package/dist/VisuallyHidden/VisuallyHidden.js +1 -2
- package/dist/VisuallyHidden/VisuallyHidden.module.css.js +1 -2
- package/dist/_VisuallyHidden.js +1 -2
- package/dist/_VisuallyHidden.module.css.js +1 -2
- package/dist/deprecated/ActionList/Divider.d.ts +1 -2
- package/dist/deprecated/ActionList/Divider.js +1 -2
- package/dist/deprecated/ActionList/Divider.module.css.js +1 -2
- package/dist/deprecated/ActionList/Group.d.ts +1 -2
- package/dist/deprecated/ActionList/Group.js +1 -2
- package/dist/deprecated/ActionList/Header.d.ts +1 -2
- package/dist/deprecated/ActionList/Header.js +1 -2
- package/dist/deprecated/ActionList/Header.module.css.js +1 -2
- package/dist/deprecated/ActionList/Item.d.ts +2 -3
- package/dist/deprecated/ActionList/Item.js +2 -3
- package/dist/deprecated/ActionList/Item.module.css.js +1 -2
- package/dist/deprecated/ActionList/List.d.ts +2 -3
- package/dist/deprecated/ActionList/List.js +1 -2
- package/dist/deprecated/ActionList/List.module.css.js +1 -2
- package/dist/deprecated/ActionList/index.d.ts +4 -5
- package/dist/deprecated/ActionList/index.js +2 -3
- package/dist/deprecated/ActionMenu.d.ts +3 -4
- package/dist/deprecated/ActionMenu.js +6 -7
- package/dist/deprecated/DialogV1/Dialog.d.ts +1 -2
- package/dist/deprecated/DialogV1/Dialog.js +2 -3
- package/dist/deprecated/DialogV1/Dialog.module.css.js +1 -2
- package/dist/deprecated/FilteredSearch/FilteredSearch.d.ts +0 -2
- package/dist/deprecated/FilteredSearch/FilteredSearch.js +1 -2
- package/dist/deprecated/FilteredSearch/FilteredSearch.module.css.js +1 -2
- package/dist/deprecated/UnderlineNav/UnderlineNav.d.ts +1 -2
- package/dist/deprecated/UnderlineNav/UnderlineNav.js +1 -2
- package/dist/deprecated/UnderlineNav/UnderlineNav.module.css.js +1 -2
- package/dist/deprecated/index.d.ts +1 -1
- package/dist/deprecated/index.js +3 -4
- package/dist/experimental/IssueLabel/IssueLabel.d.ts +1 -2
- package/dist/experimental/IssueLabel/IssueLabel.js +1 -2
- package/dist/experimental/IssueLabel/IssueLabel.module.css.js +1 -2
- package/dist/experimental/SelectPanel2/SelectPanel.d.ts +4 -5
- package/dist/experimental/SelectPanel2/SelectPanel.js +16 -17
- package/dist/experimental/SelectPanel2/SelectPanel.module.css.js +1 -2
- package/dist/experimental/Tabs/Tabs.d.ts +1 -2
- package/dist/experimental/Tabs/Tabs.js +1 -2
- package/dist/experimental/Tabs/TabsContext.js +1 -2
- package/dist/experimental/Tabs/index.d.ts +1 -1
- package/dist/experimental/Tabs/types.d.ts +1 -2
- package/dist/experimental/Tabs/useTab.d.ts +1 -2
- package/dist/experimental/Tabs/useTab.js +1 -2
- package/dist/experimental/Tabs/useTabList.d.ts +1 -2
- package/dist/experimental/Tabs/useTabList.js +1 -2
- package/dist/experimental/Tabs/useTabPanel.d.ts +1 -2
- package/dist/experimental/Tabs/useTabPanel.js +1 -2
- package/dist/experimental/Tabs/useTabs.js +1 -2
- package/dist/experimental/UnderlinePanels/UnderlinePanels.d.ts +1 -2
- package/dist/experimental/UnderlinePanels/UnderlinePanels.js +7 -8
- package/dist/experimental/UnderlinePanels/UnderlinePanels.module.css.js +1 -2
- package/dist/experimental/index.d.ts +6 -6
- package/dist/experimental/index.js +20 -21
- package/dist/hooks/MatchMediaContext.js +1 -2
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useAnchoredPosition.d.ts +1 -2
- package/dist/hooks/useAnchoredPosition.js +2 -3
- package/dist/hooks/useControllableState.js +1 -2
- package/dist/hooks/useDetails.d.ts +0 -2
- package/dist/hooks/useDetails.js +1 -2
- package/dist/hooks/useDialog.js +1 -2
- package/dist/hooks/useFocusTrap.d.ts +1 -2
- package/dist/hooks/useFocusTrap.js +2 -3
- package/dist/hooks/useFocusZone.d.ts +1 -2
- package/dist/hooks/useFocusZone.js +1 -2
- package/dist/hooks/useId.d.ts +0 -2
- package/dist/hooks/useId.js +1 -2
- package/dist/hooks/useMedia.js +1 -2
- package/dist/hooks/useMenuInitialFocus.js +1 -2
- package/dist/hooks/useMenuKeyboardNavigation.js +1 -2
- package/dist/hooks/useMergedRefs.d.ts +1 -2
- package/dist/hooks/useMergedRefs.js +1 -2
- package/dist/hooks/useMnemonics.js +1 -2
- package/dist/hooks/useOnEscapePress.d.ts +0 -2
- package/dist/hooks/useOnEscapePress.js +1 -2
- package/dist/hooks/useOnOutsideClick.d.ts +1 -2
- package/dist/hooks/useOnOutsideClick.js +1 -2
- package/dist/hooks/useOpenAndCloseFocus.d.ts +1 -2
- package/dist/hooks/useOpenAndCloseFocus.js +1 -2
- package/dist/hooks/useOverflow.d.ts +0 -2
- package/dist/hooks/useOverflow.js +1 -2
- package/dist/hooks/useOverlay.d.ts +1 -2
- package/dist/hooks/useOverlay.js +3 -4
- package/dist/hooks/useProvidedRefOrCreate.d.ts +1 -2
- package/dist/hooks/useProvidedRefOrCreate.js +1 -2
- package/dist/hooks/useProvidedStateOrCreate.js +1 -2
- package/dist/hooks/useRefObjectAsForwardedRef.d.ts +1 -2
- package/dist/hooks/useRefObjectAsForwardedRef.js +1 -2
- package/dist/hooks/useRenderForcingRef.js +1 -2
- package/dist/hooks/useResizeObserver.d.ts +1 -2
- package/dist/hooks/useResizeObserver.js +1 -2
- package/dist/hooks/useResponsiveValue.d.ts +0 -2
- package/dist/hooks/useResponsiveValue.js +1 -2
- package/dist/hooks/useSafeTimeout.d.ts +0 -2
- package/dist/hooks/useSafeTimeout.js +1 -2
- package/dist/hooks/useScrollFlash.js +1 -2
- package/dist/hooks/useSlots.d.ts +1 -2
- package/dist/hooks/useSlots.js +1 -2
- package/dist/hooks/useSyncedState.d.ts +0 -2
- package/dist/hooks/useSyncedState.js +1 -2
- package/dist/index.d.ts +22 -22
- package/dist/index.js +49 -49
- package/dist/internal/components/ButtonReset.js +1 -2
- package/dist/internal/components/ButtonReset.module.css.js +1 -2
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.d.ts +1 -2
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.js +6 -7
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.module.css.js +1 -2
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.js +1 -2
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupContext.js +1 -2
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.d.ts +1 -2
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.js +1 -2
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.d.ts +1 -2
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.js +2 -3
- package/dist/internal/components/ConditionalWrapper.js +1 -2
- package/dist/internal/components/InputLabel.d.ts +1 -2
- package/dist/internal/components/InputLabel.js +1 -2
- package/dist/internal/components/InputLabel.module.css.js +1 -2
- package/dist/internal/components/InputValidation.js +1 -2
- package/dist/internal/components/InputValidation.module.css.js +1 -2
- package/dist/internal/components/OverflowObserverProvider.js +1 -2
- package/dist/internal/components/TextInputInnerAction.d.ts +1 -2
- package/dist/internal/components/TextInputInnerAction.js +3 -4
- package/dist/internal/components/TextInputInnerAction.module.css.js +1 -2
- package/dist/internal/components/TextInputInnerVisualSlot.js +1 -2
- package/dist/internal/components/TextInputInnerVisualSlot.module.css.js +1 -2
- package/dist/internal/components/TextInputWrapper.d.ts +1 -2
- package/dist/internal/components/TextInputWrapper.js +1 -2
- package/dist/internal/components/TextInputWrapper.module.css.js +1 -2
- package/dist/internal/components/ThemeProviderBase.js +1 -2
- package/dist/internal/components/UnderlineTabbedInterface.js +1 -2
- package/dist/internal/components/UnderlineTabbedInterface.module.css.js +1 -2
- package/dist/internal/components/UnstyledTextInput.js +1 -2
- package/dist/internal/components/UnstyledTextInput.module.css.js +1 -2
- package/dist/internal/components/ValidationAnimationContainer.js +1 -2
- package/dist/internal/components/ValidationAnimationContainer.module.css.js +1 -2
- package/dist/internal/hooks/useDevOnlyEffect.js +1 -2
- package/dist/internal/hooks/useEffectCallback.js +1 -2
- package/dist/internal/hooks/useEffectOnce.js +1 -2
- package/dist/internal/hooks/useOverflowObserver.js +1 -2
- package/dist/internal/hooks/useThemeProvider.js +1 -2
- package/dist/internal/internal-types.d.ts +0 -2
- package/dist/internal/utils/getResponsiveAttributes.js +1 -2
- package/dist/internal/utils/hasInteractiveNodes.js +1 -2
- package/dist/legacy-theme/ts/color-schemes.js +0 -1
- package/dist/live-region/Announce.d.ts +1 -2
- package/dist/live-region/Announce.js +1 -2
- package/dist/live-region/AriaAlert.d.ts +1 -2
- package/dist/live-region/AriaAlert.js +1 -2
- package/dist/live-region/AriaStatus.d.ts +1 -2
- package/dist/live-region/AriaStatus.js +1 -2
- package/dist/next/ThemeProvider.d.ts +1 -2
- package/dist/next/ThemeProvider.js +1 -2
- package/dist/next/index.d.ts +2 -2
- package/dist/next/index.js +1 -1
- package/dist/test-helpers.d.ts +0 -2
- package/dist/test-helpers.js +1 -2
- package/dist/theme.d.ts +1 -2
- package/dist/theme.js +1 -2
- package/dist/useTheme.d.ts +1 -2
- package/dist/useTheme.js +1 -2
- package/dist/utils/as-slot.d.ts +1 -2
- package/dist/utils/as-slot.js +1 -2
- package/dist/utils/character-counter.js +1 -2
- package/dist/utils/create-component.d.ts +1 -2
- package/dist/utils/create-component.js +1 -2
- package/dist/utils/descendant-registry.js +1 -2
- package/dist/utils/environment.js +1 -2
- package/dist/utils/getBreakpointDeclarations.js +1 -2
- package/dist/utils/invariant.js +1 -2
- package/dist/utils/is-slot.d.ts +1 -2
- package/dist/utils/is-slot.js +1 -2
- package/dist/utils/isNumeric.js +1 -2
- package/dist/utils/modern-polymorphic.d.ts +1 -2
- package/dist/utils/modern-polymorphic.js +1 -2
- package/dist/utils/polymorphic.d.ts +1 -2
- package/dist/utils/react-compiler-runtime.js +1 -2
- package/dist/utils/scroll.js +1 -2
- package/dist/utils/theme.js +1 -2
- package/dist/utils/types/AriaRole.d.ts +0 -2
- package/dist/utils/types/ComponentProps.d.ts +0 -2
- package/dist/utils/types/FormValidationStatus.d.ts +0 -2
- package/dist/utils/types/KeyPaths.d.ts +0 -2
- package/dist/utils/types/MandateProps.d.ts +0 -2
- package/dist/utils/types/Merge.d.ts +0 -2
- package/dist/utils/types/Slots.d.ts +0 -2
- package/dist/utils/types/ViewportRangeKeys.d.ts +0 -2
- package/dist/utils/useIsomorphicLayoutEffect.d.ts +1 -2
- package/dist/utils/useIsomorphicLayoutEffect.js +1 -2
- package/dist/utils/warning.js +1 -2
- package/generated/components.json +12 -2
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementType } from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/TopicTag/TopicTag.d.ts
|
|
4
4
|
type TopicTagProps<As extends ElementType> = {
|
|
5
5
|
/**
|
|
6
6
|
* The HTML element or React component to render as the root element
|
|
@@ -17,5 +17,4 @@ declare function TopicTag<As extends ElementType = 'a'>({
|
|
|
17
17
|
className,
|
|
18
18
|
...rest
|
|
19
19
|
}: TopicTagProps<As>): import("react").JSX.Element;
|
|
20
|
-
//#endregion
|
|
21
20
|
export { TopicTag, type TopicTagProps };
|
|
@@ -2,7 +2,7 @@ import { c } from "../utils/react-compiler-runtime.js";
|
|
|
2
2
|
import TopicTag_module_css_default from "./TopicTag.module.css.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
|
-
|
|
5
|
+
// src/TopicTag/TopicTag.tsx
|
|
6
6
|
function TopicTag(t0) {
|
|
7
7
|
const $ = c(12);
|
|
8
8
|
let as;
|
|
@@ -44,5 +44,4 @@ function TopicTag(t0) {
|
|
|
44
44
|
} else t2 = $[11];
|
|
45
45
|
return t2;
|
|
46
46
|
}
|
|
47
|
-
//#endregion
|
|
48
47
|
export { TopicTag };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "./TopicTag-b15f6cf1.css";
|
|
2
|
-
|
|
2
|
+
// src/TopicTag/TopicTag.module.css.js
|
|
3
3
|
var TopicTag_module_css_default = { "TopicTag": "prc-TopicTag-TopicTag-LS-jX" };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { TopicTag_module_css_default as default };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/TopicTag/TopicTagGroup.d.ts
|
|
4
4
|
type TopicTagGroupProps = React.HTMLAttributes<HTMLElement>;
|
|
5
5
|
declare function TopicTagGroup({
|
|
6
6
|
children,
|
|
7
7
|
className,
|
|
8
8
|
...rest
|
|
9
9
|
}: TopicTagGroupProps): React.JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
10
|
export { TopicTagGroup, type TopicTagGroupProps };
|
|
@@ -2,7 +2,7 @@ import { c } from "../utils/react-compiler-runtime.js";
|
|
|
2
2
|
import TopicTagGroup_module_css_default from "./TopicTagGroup.module.css.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
|
-
|
|
5
|
+
// src/TopicTag/TopicTagGroup.tsx
|
|
6
6
|
function TopicTagGroup(t0) {
|
|
7
7
|
const $ = c(10);
|
|
8
8
|
let children;
|
|
@@ -39,5 +39,4 @@ function TopicTagGroup(t0) {
|
|
|
39
39
|
} else t2 = $[9];
|
|
40
40
|
return t2;
|
|
41
41
|
}
|
|
42
|
-
//#endregion
|
|
43
42
|
export { TopicTagGroup };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "./TopicTagGroup-785f4d65.css";
|
|
2
|
-
|
|
2
|
+
// src/TopicTag/TopicTagGroup.module.css.js
|
|
3
3
|
var TopicTagGroup_module_css_default = { "TopicTagGroup": "prc-TopicTag-TopicTagGroup-CPva9" };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { TopicTagGroup_module_css_default as default };
|
package/dist/TopicTag/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { TopicTag as TopicTag$1, TopicTagProps } from "./TopicTag.js";
|
|
2
2
|
import { TopicTagGroup, TopicTagGroupProps } from "./TopicTagGroup.js";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/TopicTag/index.d.ts
|
|
5
5
|
declare const TopicTag: typeof TopicTag$1 & {
|
|
6
6
|
Group: typeof TopicTagGroup;
|
|
7
7
|
};
|
|
8
|
-
//#endregion
|
|
9
8
|
export { TopicTag, type TopicTagGroupProps, type TopicTagProps };
|
package/dist/TopicTag/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TopicTag as TopicTag$1 } from "./TopicTag.js";
|
|
2
2
|
import { TopicTagGroup } from "./TopicTagGroup.js";
|
|
3
|
-
|
|
3
|
+
// src/TopicTag/index.ts
|
|
4
4
|
const TopicTag = Object.assign(TopicTag$1, { Group: TopicTagGroup });
|
|
5
|
-
//#endregion
|
|
6
5
|
export { TopicTag };
|
|
@@ -3,7 +3,7 @@ import { DistributiveOmit } from "../utils/modern-polymorphic.js";
|
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { Icon } from "@primer/octicons-react";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/TreeView/TreeView.d.ts
|
|
7
7
|
type TreeViewProps = {
|
|
8
8
|
'aria-label'?: React.AriaAttributes['aria-label'];
|
|
9
9
|
'aria-labelledby'?: React.AriaAttributes['aria-labelledby'];
|
|
@@ -72,5 +72,4 @@ declare const TreeView: React.FC<TreeViewProps> & {
|
|
|
72
72
|
DirectoryIcon: () => React.JSX.Element;
|
|
73
73
|
ErrorDialog: React.FC<TreeViewErrorDialogProps>;
|
|
74
74
|
};
|
|
75
|
-
//#endregion
|
|
76
75
|
export { SubTreeState, TreeView, TreeViewErrorDialogProps, TreeViewItemProps, TreeViewProps, TreeViewSecondaryActions, TreeViewSubTreeProps, TreeViewVisualProps };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { isSlot } from "../utils/is-slot.js";
|
|
4
|
-
import { useSlots } from "../hooks/useSlots.js";
|
|
1
|
+
import TreeView_module_css_default from "./TreeView.module.css.js";
|
|
2
|
+
import { ConfirmationDialog } from "../ConfirmationDialog/ConfirmationDialog.js";
|
|
5
3
|
import Spinner from "../Spinner/Spinner.js";
|
|
6
|
-
import { fixedForwardRef } from "../utils/modern-polymorphic.js";
|
|
7
4
|
import Text_default from "../Text/Text.js";
|
|
8
5
|
import VisuallyHidden from "../_VisuallyHidden.js";
|
|
9
|
-
import { usePlatform } from "../KeybindingHint/platform.js";
|
|
10
|
-
import { getAccessibleKeybindingHintString } from "../KeybindingHint/utils.js";
|
|
11
|
-
import useSafeTimeout from "../hooks/useSafeTimeout.js";
|
|
12
|
-
import { Tooltip } from "../TooltipV2/Tooltip.js";
|
|
13
|
-
import { IconButton } from "../Button/IconButton.js";
|
|
14
|
-
import { ButtonComponent } from "../Button/Button.js";
|
|
15
|
-
import { Dialog } from "../Dialog/Dialog.js";
|
|
16
|
-
import { ConfirmationDialog } from "../ConfirmationDialog/ConfirmationDialog.js";
|
|
17
|
-
import { ActionList } from "../ActionList/index.js";
|
|
18
|
-
import TreeView_module_css_default from "./TreeView.module.css.js";
|
|
19
6
|
import { useControllableState } from "../hooks/useControllableState.js";
|
|
7
|
+
import { useId as useId$1 } from "../hooks/useId.js";
|
|
8
|
+
import useSafeTimeout from "../hooks/useSafeTimeout.js";
|
|
9
|
+
import { useSlots } from "../hooks/useSlots.js";
|
|
20
10
|
import { getAccessibleName } from "./shared.js";
|
|
21
11
|
import { getFirstChildElement } from "./useRovingTabIndex.js";
|
|
22
12
|
import { useTreeRovingTabIndex } from "./useTreeRovingTabIndex.js";
|
|
23
13
|
import { useTypeahead } from "./useTypeahead.js";
|
|
24
14
|
import { SkeletonAvatar } from "../SkeletonAvatar/SkeletonAvatar.js";
|
|
25
15
|
import { SkeletonText } from "../SkeletonText/SkeletonText.js";
|
|
16
|
+
import { Dialog } from "../Dialog/Dialog.js";
|
|
17
|
+
import { ButtonComponent } from "../Button/Button.js";
|
|
18
|
+
import { IconButton } from "../Button/IconButton.js";
|
|
19
|
+
import { ActionList } from "../ActionList/index.js";
|
|
20
|
+
import { getAccessibleKeybindingHintString } from "../KeybindingHint/utils.js";
|
|
21
|
+
import { usePlatform } from "../KeybindingHint/platform.js";
|
|
22
|
+
import { Tooltip } from "../TooltipV2/Tooltip.js";
|
|
23
|
+
import { isSlot } from "../utils/is-slot.js";
|
|
24
|
+
import { AriaStatus } from "../live-region/AriaStatus.js";
|
|
25
|
+
import { fixedForwardRef } from "../utils/modern-polymorphic.js";
|
|
26
26
|
import React, { useCallback, useEffect } from "react";
|
|
27
27
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
28
28
|
import { clsx } from "clsx";
|
|
29
29
|
import { ChevronDownIcon, ChevronRightIcon, FileDirectoryFillIcon, FileDirectoryOpenFillIcon } from "@primer/octicons-react";
|
|
30
|
-
|
|
30
|
+
// src/TreeView/TreeView.tsx
|
|
31
31
|
const RootContext = /*#__PURE__*/ React.createContext({
|
|
32
32
|
isWithinTree: false,
|
|
33
33
|
announceUpdate: () => {},
|
|
@@ -654,5 +654,4 @@ const TreeView = Object.assign(Root, {
|
|
|
654
654
|
DirectoryIcon,
|
|
655
655
|
ErrorDialog
|
|
656
656
|
});
|
|
657
|
-
//#endregion
|
|
658
657
|
export { TreeView };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./TreeView-1bf45a33.css";
|
|
2
|
-
|
|
2
|
+
// src/TreeView/TreeView.module.css.js
|
|
3
3
|
var TreeView_module_css_default = {
|
|
4
4
|
"TreeViewRootUlStyles": "prc-TreeView-TreeViewRootUlStyles-Mzrmj",
|
|
5
5
|
"TreeViewItem": "prc-TreeView-TreeViewItem-Ter5f",
|
|
@@ -19,5 +19,4 @@ var TreeView_module_css_default = {
|
|
|
19
19
|
"TreeViewSkeletonItemContainerStyle": "prc-TreeView-TreeViewSkeletonItemContainerStyle-lKqwd",
|
|
20
20
|
"TreeItemSkeletonTextStyles": "prc-TreeView-TreeItemSkeletonTextStyles-8VJ-g"
|
|
21
21
|
};
|
|
22
|
-
//#endregion
|
|
23
22
|
export { TreeView_module_css_default as default };
|
package/dist/TreeView/shared.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/TreeView/shared.ts
|
|
2
2
|
/**
|
|
3
3
|
* Returns the accessible name of an element
|
|
4
4
|
*/
|
|
@@ -10,5 +10,4 @@ function getAccessibleName(element) {
|
|
|
10
10
|
if (labelledby) return (_document$getElementB = (_document$getElementB2 = document.getElementById(labelledby)) === null || _document$getElementB2 === void 0 ? void 0 : _document$getElementB2.textContent) !== null && _document$getElementB !== void 0 ? _document$getElementB : "";
|
|
11
11
|
return element.textContent;
|
|
12
12
|
}
|
|
13
|
-
//#endregion
|
|
14
13
|
export { getAccessibleName };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/TreeView/useRovingTabIndex.d.ts
|
|
4
4
|
declare function useRovingTabIndex({
|
|
5
5
|
containerRef,
|
|
6
6
|
mouseDownRef,
|
|
@@ -10,5 +10,4 @@ declare function useRovingTabIndex({
|
|
|
10
10
|
mouseDownRef?: React.RefObject<boolean>;
|
|
11
11
|
preventScroll?: boolean;
|
|
12
12
|
}, dependencies?: React.DependencyList): void;
|
|
13
|
-
//#endregion
|
|
14
13
|
export { useRovingTabIndex };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
2
|
import { FocusKeys, useFocusZone } from "../hooks/useFocusZone.js";
|
|
3
3
|
import { getScrollContainer } from "../utils/scroll.js";
|
|
4
|
-
|
|
4
|
+
// src/TreeView/useRovingTabIndex.ts
|
|
5
5
|
function useRovingTabIndex(t0, t1) {
|
|
6
6
|
const $ = c(12);
|
|
7
7
|
const { containerRef, mouseDownRef, preventScroll: t2 } = t0;
|
|
@@ -167,5 +167,4 @@ function getPreviousPageElement(element) {
|
|
|
167
167
|
const offset = items.indexOf(element) - pageSize * page;
|
|
168
168
|
return items[Math.max(0, (page - 1) * pageSize + offset)];
|
|
169
169
|
}
|
|
170
|
-
//#endregion
|
|
171
170
|
export { getElementState, getFirstChildElement, getFirstElement, getLastElement, getNextFocusableElement, getParentElement, getVisibleElement, useRovingTabIndex };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
2
|
import React from "react";
|
|
3
|
-
|
|
3
|
+
// src/TreeView/useTreeItemCache.ts
|
|
4
4
|
/**
|
|
5
5
|
* A hook that caches tree items to avoid expensive querySelectorAll calls on every keypress.
|
|
6
6
|
* The cache is invalidated when the tree structure changes (via MutationObserver).
|
|
@@ -66,5 +66,4 @@ function useTreeItemCache(containerRef) {
|
|
|
66
66
|
function _temp(mutation) {
|
|
67
67
|
return mutation.type === "childList" || mutation.type === "attributes" && mutation.attributeName === "role";
|
|
68
68
|
}
|
|
69
|
-
//#endregion
|
|
70
69
|
export { useTreeItemCache };
|
|
@@ -2,7 +2,7 @@ import { c } from "../utils/react-compiler-runtime.js";
|
|
|
2
2
|
import { getNextFocusableElement } from "./useRovingTabIndex.js";
|
|
3
3
|
import { useEffect } from "react";
|
|
4
4
|
import { isEditableElement } from "@primer/behaviors/utils";
|
|
5
|
-
|
|
5
|
+
// src/TreeView/useTreeRovingTabIndex.ts
|
|
6
6
|
const TREE_ITEM = "[role=\"treeitem\"]";
|
|
7
7
|
const CURRENT_TREE_ITEM = `${TREE_ITEM}[aria-current]:not([aria-current="false"])`;
|
|
8
8
|
const TABBABLE_TREE_ITEM = `${TREE_ITEM}[tabindex="0"]`;
|
|
@@ -151,5 +151,4 @@ function useTreeRovingTabIndex(t0) {
|
|
|
151
151
|
}
|
|
152
152
|
useEffect(t2, t3);
|
|
153
153
|
}
|
|
154
|
-
//#endregion
|
|
155
154
|
export { useTreeRovingTabIndex };
|
|
@@ -3,7 +3,7 @@ import useSafeTimeout from "../hooks/useSafeTimeout.js";
|
|
|
3
3
|
import { getAccessibleName } from "./shared.js";
|
|
4
4
|
import { useTreeItemCache } from "./useTreeItemCache.js";
|
|
5
5
|
import React from "react";
|
|
6
|
-
|
|
6
|
+
// src/TreeView/useTypeahead.ts
|
|
7
7
|
function useTypeahead(t0) {
|
|
8
8
|
const $ = c(12);
|
|
9
9
|
const { containerRef, onFocusChange } = t0;
|
|
@@ -95,5 +95,4 @@ function _temp(element) {
|
|
|
95
95
|
function wrapArray(array, startIndex) {
|
|
96
96
|
return array.map((_, index) => array[(startIndex + index) % array.length]);
|
|
97
97
|
}
|
|
98
|
-
//#endregion
|
|
99
98
|
export { useTypeahead };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DistributiveOmit, PolymorphicProps } from "../utils/modern-polymorphic.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/Truncate/Truncate.d.ts
|
|
5
5
|
type TruncateOwnProps = {
|
|
6
6
|
title: string;
|
|
7
7
|
inline?: boolean;
|
|
@@ -14,5 +14,4 @@ type TruncateProps<As extends React.ElementType = 'div'> = PolymorphicProps<As,
|
|
|
14
14
|
declare const _default: <As extends React.ElementType = "div">(props: DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "div" : As>, "as"> & Omit<TruncateOwnProps, "as"> & {
|
|
15
15
|
as?: As | undefined;
|
|
16
16
|
} & React.RefAttributes<any>) => React.ReactNode;
|
|
17
|
-
//#endregion
|
|
18
17
|
export { TruncateProps, _default as default };
|
|
@@ -3,7 +3,7 @@ import { fixedForwardRef } from "../utils/modern-polymorphic.js";
|
|
|
3
3
|
import Truncate_module_css_default from "./Truncate.module.css.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
|
-
|
|
6
|
+
// src/Truncate/Truncate.tsx
|
|
7
7
|
function Truncate(props, ref) {
|
|
8
8
|
const $ = c(29);
|
|
9
9
|
let children;
|
|
@@ -95,5 +95,4 @@ function Truncate(props, ref) {
|
|
|
95
95
|
}
|
|
96
96
|
Truncate.displayName = "Truncate";
|
|
97
97
|
var Truncate_default = fixedForwardRef(Truncate);
|
|
98
|
-
//#endregion
|
|
99
98
|
export { Truncate_default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "./Truncate-030d5f52.css";
|
|
2
|
-
|
|
2
|
+
// src/Truncate/Truncate.module.css.js
|
|
3
3
|
var Truncate_module_css_default = { "Truncate": "prc-Truncate-Truncate-2G1eo" };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { Truncate_module_css_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/UnderlineNav/UnderlineNav.d.ts
|
|
4
4
|
type UnderlineNavProps = {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
'aria-label'?: React.AriaAttributes['aria-label'];
|
|
@@ -23,5 +23,4 @@ type UnderlineNavProps = {
|
|
|
23
23
|
*/
|
|
24
24
|
hideIconsBreakpoint?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | null;
|
|
25
25
|
};
|
|
26
|
-
//#endregion
|
|
27
26
|
export { UnderlineNavProps };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
|
-
import CounterLabel from "../CounterLabel/CounterLabel.js";
|
|
3
|
-
import { invariant } from "../utils/invariant.js";
|
|
4
2
|
import VisuallyHidden from "../_VisuallyHidden.js";
|
|
5
|
-
import { useDevOnlyEffect } from "../internal/hooks/useDevOnlyEffect.js";
|
|
6
3
|
import { ActionList } from "../ActionList/index.js";
|
|
7
4
|
import { ActionMenu } from "../ActionMenu/ActionMenu.js";
|
|
8
|
-
import
|
|
5
|
+
import CounterLabel from "../CounterLabel/CounterLabel.js";
|
|
9
6
|
import { LoadingCounter, UnderlineItemList, UnderlineWrapper } from "../internal/components/UnderlineTabbedInterface.js";
|
|
10
7
|
import { OverflowObserverProvider } from "../internal/components/OverflowObserverProvider.js";
|
|
8
|
+
import { invariant } from "../utils/invariant.js";
|
|
11
9
|
import UnderlineNav_module_css_default from "./UnderlineNav.module.css.js";
|
|
12
10
|
import { UnderlineNavContext } from "./UnderlineNavContext.js";
|
|
13
11
|
import { UnderlineNavItemsRegistry } from "./UnderlineNavItemsRegistry.js";
|
|
12
|
+
import { SkeletonText } from "../SkeletonText/SkeletonText.js";
|
|
13
|
+
import { useDevOnlyEffect } from "../internal/hooks/useDevOnlyEffect.js";
|
|
14
14
|
import { getValidChildren, isCurrent } from "./utils.js";
|
|
15
15
|
import { forwardRef, useRef, useState } from "react";
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
import { clsx } from "clsx";
|
|
18
|
-
|
|
18
|
+
// src/UnderlineNav/UnderlineNav.tsx
|
|
19
19
|
const UnderlineNav = /*#__PURE__*/ forwardRef((t0, forwardedRef) => {
|
|
20
20
|
const $ = c(52);
|
|
21
21
|
const { as: t1, "aria-label": ariaLabel, loadingCounters: t2, variant: t3, className, children, hideIconsBreakpoint: t4 } = t0;
|
|
@@ -250,5 +250,4 @@ function _temp2(t0) {
|
|
|
250
250
|
function _temp3(child) {
|
|
251
251
|
return isCurrent(child.props);
|
|
252
252
|
}
|
|
253
|
-
//#endregion
|
|
254
253
|
export { UnderlineNav };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./UnderlineNav-a06bbc74.css";
|
|
2
|
-
|
|
2
|
+
// src/UnderlineNav/UnderlineNav.module.css.js
|
|
3
3
|
var UnderlineNav_module_css_default = {
|
|
4
4
|
"UnderlineWrapper": "prc-UnderlineNav-UnderlineWrapper-GWONT",
|
|
5
5
|
"detect-overflow": "prc-UnderlineNav-detect-overflow-6HuSH",
|
|
@@ -11,5 +11,4 @@ var UnderlineNav_module_css_default = {
|
|
|
11
11
|
"MoreButtonDivider": "prc-UnderlineNav-MoreButtonDivider-dN0a-",
|
|
12
12
|
"MoreButton": "prc-UnderlineNav-MoreButton-Y8soj"
|
|
13
13
|
};
|
|
14
|
-
//#endregion
|
|
15
14
|
export { UnderlineNav_module_css_default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createContext } from "react";
|
|
2
|
-
|
|
2
|
+
// src/UnderlineNav/UnderlineNavContext.tsx
|
|
3
3
|
const UnderlineNavContext = /*#__PURE__*/ createContext({ loadingCounters: false });
|
|
4
|
-
//#endregion
|
|
5
4
|
export { UnderlineNavContext };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
|
-
import { UnderlineItem } from "../internal/components/UnderlineTabbedInterface.js";
|
|
3
|
-
import { useIsClipped } from "../internal/hooks/useOverflowObserver.js";
|
|
4
2
|
import { UnderlineNavContext } from "./UnderlineNavContext.js";
|
|
5
|
-
import {
|
|
3
|
+
import { UnderlineItem } from "../internal/components/UnderlineTabbedInterface.js";
|
|
6
4
|
import UnderlineNavItem_module_css_default from "./UnderlineNavItem.module.css.js";
|
|
5
|
+
import { UnderlineNavItemsRegistry } from "./UnderlineNavItemsRegistry.js";
|
|
6
|
+
import { useIsClipped } from "../internal/hooks/useOverflowObserver.js";
|
|
7
7
|
import { forwardRef, useContext, useRef } from "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
-
|
|
9
|
+
// src/UnderlineNav/UnderlineNavItem.tsx
|
|
10
10
|
const UnderlineNavItem = /*#__PURE__*/ forwardRef((allProps, forwardedRef) => {
|
|
11
11
|
const $ = c(33);
|
|
12
12
|
let Icon;
|
|
@@ -120,5 +120,4 @@ const UnderlineNavItem = /*#__PURE__*/ forwardRef((allProps, forwardedRef) => {
|
|
|
120
120
|
return t8;
|
|
121
121
|
});
|
|
122
122
|
UnderlineNavItem.displayName = "UnderlineNavItem";
|
|
123
|
-
//#endregion
|
|
124
123
|
export { UnderlineNavItem };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "./UnderlineNavItem-402cd41c.css";
|
|
2
|
-
|
|
2
|
+
// src/UnderlineNav/UnderlineNavItem.module.css.js
|
|
3
3
|
var UnderlineNavItem_module_css_default = { "UnderlineNavItem": "prc-UnderlineNav-UnderlineNavItem-syRjR" };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { UnderlineNavItem_module_css_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IconProps } from "@primer/octicons-react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/UnderlineNav/UnderlineNavItemsRegistry.d.ts
|
|
4
4
|
type LinkProps = {
|
|
5
5
|
download?: string;
|
|
6
6
|
href?: string;
|
|
@@ -43,5 +43,4 @@ type UnderlineNavItemProps = {
|
|
|
43
43
|
*/
|
|
44
44
|
counter?: number | string;
|
|
45
45
|
} & LinkProps;
|
|
46
|
-
//#endregion
|
|
47
46
|
export { UnderlineNavItemProps };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { createDescendantRegistry } from "../utils/descendant-registry.js";
|
|
2
|
-
|
|
2
|
+
// src/UnderlineNav/UnderlineNavItemsRegistry.ts
|
|
3
3
|
/** Registry of currently-overflowing underline items. If an item is not overflowing, its value will be `null`. */
|
|
4
4
|
const UnderlineNavItemsRegistry = createDescendantRegistry();
|
|
5
|
-
//#endregion
|
|
6
5
|
export { UnderlineNavItemsRegistry };
|
|
@@ -2,9 +2,8 @@ import { ForwardRefComponent } from "../utils/polymorphic.js";
|
|
|
2
2
|
import { UnderlineNavProps } from "./UnderlineNav.js";
|
|
3
3
|
import { UnderlineNavItemProps } from "./UnderlineNavItemsRegistry.js";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/UnderlineNav/index.d.ts
|
|
6
6
|
declare const UnderlineNav: import("react").ForwardRefExoticComponent<UnderlineNavProps & import("react").RefAttributes<unknown>> & {
|
|
7
7
|
Item: ForwardRefComponent<"a", UnderlineNavItemProps>;
|
|
8
8
|
};
|
|
9
|
-
//#endregion
|
|
10
9
|
export { UnderlineNav, type UnderlineNavItemProps, type UnderlineNavProps };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { UnderlineNav as UnderlineNav$1 } from "./UnderlineNav.js";
|
|
2
2
|
import { UnderlineNavItem } from "./UnderlineNavItem.js";
|
|
3
|
-
|
|
3
|
+
// src/UnderlineNav/index.ts
|
|
4
4
|
const UnderlineNav = Object.assign(UnderlineNav$1, { Item: UnderlineNavItem });
|
|
5
|
-
//#endregion
|
|
6
5
|
export { UnderlineNav };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
2
|
+
// src/UnderlineNav/utils.ts
|
|
3
3
|
const getValidChildren = (children) => {
|
|
4
4
|
return React.Children.toArray(children).filter((child) => /*#__PURE__*/ React.isValidElement(child));
|
|
5
5
|
};
|
|
6
6
|
const isCurrent = (props) => props["aria-current"] !== void 0 && props["aria-current"] !== false && props["aria-current"] !== "false";
|
|
7
|
-
//#endregion
|
|
8
7
|
export { getValidChildren, isCurrent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/VisuallyHidden/VisuallyHidden.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Provides a component that implements the "visually hidden" technique. This is
|
|
6
6
|
* analogous to the common `sr-only` class. Children that are rendered inside
|
|
@@ -19,5 +19,4 @@ declare const VisuallyHidden: ({
|
|
|
19
19
|
type VisuallyHiddenProps = React.PropsWithChildren<HTMLAttributes<HTMLSpanElement> & {
|
|
20
20
|
className?: string;
|
|
21
21
|
}>;
|
|
22
|
-
//#endregion
|
|
23
22
|
export { VisuallyHidden, VisuallyHiddenProps };
|
|
@@ -2,7 +2,7 @@ import { c } from "../utils/react-compiler-runtime.js";
|
|
|
2
2
|
import VisuallyHidden_module_css_default from "./VisuallyHidden.module.css.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
|
-
|
|
5
|
+
// src/VisuallyHidden/VisuallyHidden.tsx
|
|
6
6
|
/**
|
|
7
7
|
* Provides a component that implements the "visually hidden" technique. This is
|
|
8
8
|
* analogous to the common `sr-only` class. Children that are rendered inside
|
|
@@ -49,5 +49,4 @@ const VisuallyHidden = (t0) => {
|
|
|
49
49
|
} else t2 = $[9];
|
|
50
50
|
return t2;
|
|
51
51
|
};
|
|
52
|
-
//#endregion
|
|
53
52
|
export { VisuallyHidden };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "./VisuallyHidden-ce2a3270.css";
|
|
2
|
-
|
|
2
|
+
// src/VisuallyHidden/VisuallyHidden.module.css.js
|
|
3
3
|
var VisuallyHidden_module_css_default = { "VisuallyHidden": "prc-VisuallyHidden-VisuallyHidden-Q0qSB" };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { VisuallyHidden_module_css_default as default };
|
package/dist/_VisuallyHidden.js
CHANGED
|
@@ -2,7 +2,7 @@ import { c } from "./utils/react-compiler-runtime.js";
|
|
|
2
2
|
import _VisuallyHidden_module_css_default from "./_VisuallyHidden.module.css.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
|
-
|
|
5
|
+
// src/_VisuallyHidden.tsx
|
|
6
6
|
function VisuallyHidden(t0) {
|
|
7
7
|
const $ = c(14);
|
|
8
8
|
let as;
|
|
@@ -49,5 +49,4 @@ function VisuallyHidden(t0) {
|
|
|
49
49
|
} else t3 = $[13];
|
|
50
50
|
return t3;
|
|
51
51
|
}
|
|
52
|
-
//#endregion
|
|
53
52
|
export { VisuallyHidden as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "./_VisuallyHidden-1f156b61.css";
|
|
2
|
-
|
|
2
|
+
// src/_VisuallyHidden.module.css.js
|
|
3
3
|
var _VisuallyHidden_module_css_default = { "InternalVisuallyHidden": "prc-src-InternalVisuallyHidden-2YaI6" };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { _VisuallyHidden_module_css_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/deprecated/ActionList/Divider.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Visually separates `Items or `Groups in an `ActionList`.
|
|
6
6
|
*/
|
|
@@ -8,5 +8,4 @@ declare function Divider(): JSX.Element;
|
|
|
8
8
|
declare namespace Divider {
|
|
9
9
|
var renderItem: typeof Divider;
|
|
10
10
|
}
|
|
11
|
-
//#endregion
|
|
12
11
|
export { Divider };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c } from "../../utils/react-compiler-runtime.js";
|
|
2
2
|
import Divider_module_css_default from "./Divider.module.css.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/deprecated/ActionList/Divider.tsx
|
|
5
5
|
/**
|
|
6
6
|
* Visually separates `Items or `Groups in an `ActionList`.
|
|
7
7
|
*/
|
|
@@ -24,5 +24,4 @@ function Divider() {
|
|
|
24
24
|
* alternative to `items={[{renderItem: () => <ActionList.Divider />}]}`.
|
|
25
25
|
*/
|
|
26
26
|
Divider.renderItem = Divider;
|
|
27
|
-
//#endregion
|
|
28
27
|
export { Divider };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "./Divider-7c6b656a.css";
|
|
2
|
-
|
|
2
|
+
// src/deprecated/ActionList/Divider.module.css.js
|
|
3
3
|
var Divider_module_css_default = { "Divider": "prc-ActionList-Divider-hCCoA" };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { Divider_module_css_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HeaderProps } from "./Header.js";
|
|
2
2
|
import React, { JSX } from "react";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/deprecated/ActionList/Group.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Contract for props passed to the `Group` component.
|
|
7
7
|
*/
|
|
@@ -32,5 +32,4 @@ declare function Group({
|
|
|
32
32
|
groupId: _groupId,
|
|
33
33
|
...props
|
|
34
34
|
}: GroupProps): JSX.Element;
|
|
35
|
-
//#endregion
|
|
36
35
|
export { Group, GroupProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c } from "../../utils/react-compiler-runtime.js";
|
|
2
2
|
import { Header } from "./Header.js";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/deprecated/ActionList/Group.tsx
|
|
5
5
|
/**
|
|
6
6
|
* Collects related `Items` in an `ActionList`.
|
|
7
7
|
*/
|
|
@@ -43,5 +43,4 @@ function Group(t0) {
|
|
|
43
43
|
} else t2 = $[9];
|
|
44
44
|
return t2;
|
|
45
45
|
}
|
|
46
|
-
//#endregion
|
|
47
46
|
export { Group };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { JSX } from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/deprecated/ActionList/Header.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Contract for props passed to the `Header` component.
|
|
6
6
|
*/
|
|
@@ -21,5 +21,4 @@ interface HeaderProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
|
21
21
|
*/
|
|
22
22
|
auxiliaryText?: string;
|
|
23
23
|
}
|
|
24
|
-
//#endregion
|
|
25
24
|
export { HeaderProps };
|
|
@@ -2,7 +2,7 @@ import { c } from "../../utils/react-compiler-runtime.js";
|
|
|
2
2
|
import Header_module_css_default from "./Header.module.css.js";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
|
-
|
|
5
|
+
// src/deprecated/ActionList/Header.tsx
|
|
6
6
|
/**
|
|
7
7
|
* Displays the name and description of a `Group`.
|
|
8
8
|
*/
|
|
@@ -66,5 +66,4 @@ function Header(t0) {
|
|
|
66
66
|
} else t5 = $[15];
|
|
67
67
|
return t5;
|
|
68
68
|
}
|
|
69
|
-
//#endregion
|
|
70
69
|
export { Header };
|