@primer/react 38.47.0-rc.fcdf0c9da → 39.0.0-rc.00628b8df
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 +11 -1
- 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 +51 -59
- 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 +8 -9
- package/dist/ActionMenu/ActionMenu.module.css.js +1 -2
- package/dist/AnchoredOverlay/AnchoredOverlay.d.ts +2 -3
- package/dist/AnchoredOverlay/AnchoredOverlay.js +8 -18
- 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 +23 -31
- 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 +49 -64
- 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 +4 -5
- package/dist/DataTable/DataTable.js +3 -4
- 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 +1 -2
- package/dist/DataTable/TableGroup.js +4 -5
- 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 +10 -17
- 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 -4
- 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 +25 -45
- 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 +36 -47
- 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 +28 -27
- 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 +1 -2
- 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 +113 -121
- 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 +4 -5
- package/dist/Timeline/Timeline.js +62 -142
- 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 +84 -96
- 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 +12 -12
- 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 +15 -23
- 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 +53 -62
- 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 +3 -4
- 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 +16 -11
- 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/package.json +6 -7
|
@@ -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 };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "./Header-493b1d76.css";
|
|
2
|
-
|
|
2
|
+
// src/deprecated/ActionList/Header.module.css.js
|
|
3
3
|
var Header_module_css_default = { "Header": "prc-ActionList-Header-585kg" };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { Header_module_css_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AriaRole } from "../../utils/types/AriaRole.js";
|
|
2
1
|
import { ItemInput } from "./List.js";
|
|
2
|
+
import { AriaRole } from "../../utils/types/AriaRole.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/deprecated/ActionList/Item.d.ts
|
|
6
6
|
/**
|
|
7
7
|
* Contract for props passed to the `Item` component.
|
|
8
8
|
*/
|
|
@@ -88,5 +88,4 @@ interface ItemProps {
|
|
|
88
88
|
*/
|
|
89
89
|
item?: ItemInput;
|
|
90
90
|
}
|
|
91
|
-
//#endregion
|
|
92
91
|
export { ItemProps };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { c } from "../../utils/react-compiler-runtime.js";
|
|
2
|
-
import { useId as useId$1 } from "../../hooks/useId.js";
|
|
3
2
|
import Truncate_default from "../../Truncate/Truncate.js";
|
|
3
|
+
import { useId as useId$1 } from "../../hooks/useId.js";
|
|
4
4
|
import Item_module_css_default from "./Item.module.css.js";
|
|
5
5
|
import React from "react";
|
|
6
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { clsx } from "clsx";
|
|
8
8
|
import { isValidElementType } from "react-is";
|
|
9
9
|
import { CheckIcon } from "@primer/octicons-react";
|
|
10
|
-
|
|
10
|
+
// src/deprecated/ActionList/Item.tsx
|
|
11
11
|
/**
|
|
12
12
|
* An actionable or selectable `Item` with an optional icon and description.
|
|
13
13
|
*/
|
|
@@ -304,5 +304,4 @@ const Item = /*#__PURE__*/ React.forwardRef((itemProps, ref) => {
|
|
|
304
304
|
return t22;
|
|
305
305
|
});
|
|
306
306
|
Item.displayName = "ActionList.Item";
|
|
307
|
-
//#endregion
|
|
308
307
|
export { Item };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./Item-f48bd3ee.css";
|
|
2
|
-
|
|
2
|
+
// src/deprecated/ActionList/Item.module.css.js
|
|
3
3
|
var Item_module_css_default = {
|
|
4
4
|
"DividedContent": "prc-ActionList-DividedContent-qks5p",
|
|
5
5
|
"MainContent": "prc-ActionList-MainContent-XZAI3",
|
|
@@ -14,5 +14,4 @@ var Item_module_css_default = {
|
|
|
14
14
|
"DescriptionContainer": "prc-ActionList-DescriptionContainer-RBvTf",
|
|
15
15
|
"MultiSelectIcon": "prc-ActionList-MultiSelectIcon-XFUmo"
|
|
16
16
|
};
|
|
17
|
-
//#endregion
|
|
18
17
|
export { Item_module_css_default as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AriaRole } from "../../utils/types/AriaRole.js";
|
|
2
|
-
import { Merge } from "../../utils/types/Merge.js";
|
|
3
2
|
import { Group, GroupProps } from "./Group.js";
|
|
4
3
|
import { ItemProps } from "./Item.js";
|
|
4
|
+
import { Merge } from "../../utils/types/Merge.js";
|
|
5
5
|
import React, { Key } from "react";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// src/deprecated/ActionList/List.d.ts
|
|
8
8
|
type RenderItemFn = (props: ItemProps) => React.ReactElement<any>;
|
|
9
9
|
type ItemInput = Merge<React.ComponentPropsWithoutRef<'div'>, ItemProps> | ((Partial<ItemProps> & {
|
|
10
10
|
renderItem: RenderItemFn;
|
|
@@ -88,5 +88,4 @@ interface GroupedListProps extends ListPropsBase {
|
|
|
88
88
|
* Contract for props passed to the `List` component.
|
|
89
89
|
*/
|
|
90
90
|
type ListProps = ListPropsBase | GroupedListProps;
|
|
91
|
-
//#endregion
|
|
92
91
|
export { GroupedListProps, ItemInput, ListProps, ListPropsBase, RenderItemFn };
|
|
@@ -6,7 +6,7 @@ import List_module_css_default from "./List.module.css.js";
|
|
|
6
6
|
import React, { createElement } from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { clsx } from "clsx";
|
|
9
|
-
|
|
9
|
+
// src/deprecated/ActionList/List.tsx
|
|
10
10
|
/**
|
|
11
11
|
* Asserts that the given value fulfills the `GroupedListProps` contract.
|
|
12
12
|
* @param props A value which fulfills either the `ListPropsBase` or the `GroupedListProps` contract.
|
|
@@ -158,5 +158,4 @@ List.displayName = "ActionList";
|
|
|
158
158
|
function _temp(groupAccumulator, groupMetadata) {
|
|
159
159
|
return groupAccumulator.set(groupMetadata.groupId, groupMetadata);
|
|
160
160
|
}
|
|
161
|
-
//#endregion
|
|
162
161
|
export { List };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "./List-1ec9d6d9.css";
|
|
2
|
-
|
|
2
|
+
// src/deprecated/ActionList/List.module.css.js
|
|
3
3
|
var List_module_css_default = { "List": "prc-ActionList-List-0R5kQ" };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { List_module_css_default as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Group, GroupProps } from "./Group.js";
|
|
2
|
-
import { ForwardRefComponent } from "../../utils/polymorphic.js";
|
|
3
|
-
import { ItemProps } from "./Item.js";
|
|
4
1
|
import { GroupedListProps, ItemInput, ListProps } from "./List.js";
|
|
2
|
+
import { ItemProps } from "./Item.js";
|
|
3
|
+
import { ForwardRefComponent } from "../../utils/polymorphic.js";
|
|
4
|
+
import { Group, GroupProps } from "./Group.js";
|
|
5
5
|
import { Divider } from "./Divider.js";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// src/deprecated/ActionList/index.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* @deprecated Use ActionList with composable API instead. See https://primer.style/react/ActionList for more details.
|
|
10
10
|
*/
|
|
@@ -13,5 +13,4 @@ declare const ActionList: import("react").ForwardRefExoticComponent<ListProps &
|
|
|
13
13
|
Item: ForwardRefComponent<"div", ItemProps>; /** Visually separates `Item`s or `Group`s in an `ActionList`. */
|
|
14
14
|
Divider: typeof Divider;
|
|
15
15
|
};
|
|
16
|
-
//#endregion
|
|
17
16
|
export { ActionList, type ListProps as ActionListProps, type GroupProps, type GroupedListProps, type ItemInput, type ItemProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { List } from "./List.js";
|
|
1
2
|
import { Group } from "./Group.js";
|
|
2
3
|
import { Item } from "./Item.js";
|
|
3
4
|
import { Divider } from "./Divider.js";
|
|
4
|
-
|
|
5
|
-
//#region src/deprecated/ActionList/index.ts
|
|
5
|
+
// src/deprecated/ActionList/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated Use ActionList with composable API instead. See https://primer.style/react/ActionList for more details.
|
|
8
8
|
*/
|
|
@@ -14,5 +14,4 @@ const ActionList = Object.assign(List, {
|
|
|
14
14
|
/** Visually separates `Item`s or `Group`s in an `ActionList`. */
|
|
15
15
|
Divider
|
|
16
16
|
});
|
|
17
|
-
//#endregion
|
|
18
17
|
export { ActionList };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ItemProps } from "./ActionList/Item.js";
|
|
2
1
|
import { GroupedListProps, ListPropsBase } from "./ActionList/List.js";
|
|
2
|
+
import { ItemProps } from "./ActionList/Item.js";
|
|
3
3
|
import { Divider } from "./ActionList/Divider.js";
|
|
4
|
-
import { AnchoredOverlayWrapperAnchorProps } from "../AnchoredOverlay/AnchoredOverlay.js";
|
|
5
4
|
import { OverlayProps } from "../Overlay/Overlay.js";
|
|
5
|
+
import { AnchoredOverlayWrapperAnchorProps } from "../AnchoredOverlay/AnchoredOverlay.js";
|
|
6
6
|
import React, { JSX } from "react";
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
// src/deprecated/ActionMenu.d.ts
|
|
9
9
|
interface ActionMenuBaseProps extends Partial<Omit<GroupedListProps, keyof ListPropsBase>>, ListPropsBase {
|
|
10
10
|
/**
|
|
11
11
|
* Content that is passed into the renderAnchor component, which is a button by default.
|
|
@@ -52,5 +52,4 @@ declare const ActionMenu: {
|
|
|
52
52
|
displayName: string;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
//#endregion
|
|
56
55
|
export { ActionMenu, ActionMenuProps };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import { useProvidedStateOrCreate } from "../hooks/useProvidedStateOrCreate.js";
|
|
4
|
-
import { ButtonComponent } from "../Button/Button.js";
|
|
5
|
-
import { AnchoredOverlay } from "../AnchoredOverlay/AnchoredOverlay.js";
|
|
2
|
+
import { List } from "./ActionList/List.js";
|
|
6
3
|
import { Item } from "./ActionList/Item.js";
|
|
7
4
|
import { Divider } from "./ActionList/Divider.js";
|
|
8
|
-
import {
|
|
5
|
+
import { ButtonComponent } from "../Button/Button.js";
|
|
6
|
+
import { AnchoredOverlay } from "../AnchoredOverlay/AnchoredOverlay.js";
|
|
7
|
+
import { useProvidedStateOrCreate } from "../hooks/useProvidedStateOrCreate.js";
|
|
8
|
+
import { useProvidedRefOrCreate } from "../hooks/useProvidedRefOrCreate.js";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
|
-
|
|
10
|
+
// src/deprecated/ActionMenu.tsx
|
|
11
11
|
const ActionMenuItem = (props) => {
|
|
12
12
|
const $ = c(2);
|
|
13
13
|
let t0;
|
|
@@ -160,5 +160,4 @@ const ActionMenu = Object.assign(ActionMenuBase, {
|
|
|
160
160
|
Divider,
|
|
161
161
|
Item: ActionMenuItem
|
|
162
162
|
});
|
|
163
|
-
//#endregion
|
|
164
163
|
export { ActionMenu };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps as ComponentProps$1 } from "../../utils/types/ComponentProps.js";
|
|
2
2
|
import React, { HTMLAttributes } from "react";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/deprecated/DialogV1/Dialog.d.ts
|
|
5
5
|
type StyledDialogBaseProps = {
|
|
6
6
|
narrow?: boolean;
|
|
7
7
|
wide?: boolean;
|
|
@@ -36,5 +36,4 @@ declare const _default: React.ForwardRefExoticComponent<{
|
|
|
36
36
|
} & StyledDialogBaseProps & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>> & {
|
|
37
37
|
Header: typeof DialogHeader;
|
|
38
38
|
};
|
|
39
|
-
//#endregion
|
|
40
39
|
export { DialogHeaderProps, DialogProps, _default as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { c } from "../../utils/react-compiler-runtime.js";
|
|
2
|
-
import { useMergedRefs } from "../../hooks/useMergedRefs.js";
|
|
3
2
|
import { IconButton } from "../../Button/IconButton.js";
|
|
4
3
|
import useDialog from "../../hooks/useDialog.js";
|
|
4
|
+
import { useMergedRefs } from "../../hooks/useMergedRefs.js";
|
|
5
5
|
import Dialog_module_css_default from "./Dialog.module.css.js";
|
|
6
6
|
import React, { forwardRef, useRef } from "react";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { clsx } from "clsx";
|
|
9
9
|
import { XIcon } from "@primer/octicons-react";
|
|
10
|
-
|
|
10
|
+
// src/deprecated/DialogV1/Dialog.tsx
|
|
11
11
|
const noop = () => null;
|
|
12
12
|
function DialogHeader(t0) {
|
|
13
13
|
const $ = c(14);
|
|
@@ -170,5 +170,4 @@ const Dialog = /*#__PURE__*/ forwardRef((t0, forwardedRef) => {
|
|
|
170
170
|
DialogHeader.displayName = "Dialog.Header";
|
|
171
171
|
Dialog.displayName = "Dialog";
|
|
172
172
|
var Dialog_default = Object.assign(Dialog, { Header: DialogHeader });
|
|
173
|
-
//#endregion
|
|
174
173
|
export { Dialog_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./Dialog-dce13989.css";
|
|
2
|
-
|
|
2
|
+
// src/deprecated/DialogV1/Dialog.module.css.js
|
|
3
3
|
var Dialog_module_css_default = {
|
|
4
4
|
"Overlay": "prc-DialogV1-Overlay-nYh-4",
|
|
5
5
|
"CloseIcon": "prc-DialogV1-CloseIcon-NbiwR",
|
|
@@ -7,5 +7,4 @@ var Dialog_module_css_default = {
|
|
|
7
7
|
"Header": "prc-DialogV1-Header-r20Rf",
|
|
8
8
|
"HeaderChild": "prc-DialogV1-HeaderChild-tk8Zn"
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { Dialog_module_css_default as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/deprecated/FilteredSearch/FilteredSearch.d.ts
|
|
2
1
|
type FilteredSearchProps = React.HTMLAttributes<HTMLElement>;
|
|
3
2
|
/**
|
|
4
3
|
* @deprecated A new filter component is in progress.
|
|
@@ -9,5 +8,4 @@ declare function FilteredSearch({
|
|
|
9
8
|
className,
|
|
10
9
|
...rest
|
|
11
10
|
}: FilteredSearchProps): import("react").JSX.Element;
|
|
12
|
-
//#endregion
|
|
13
11
|
export { type FilteredSearchProps, FilteredSearch as default };
|