@primer/react 38.47.0-rc.200a948c2 → 38.47.0-rc.b799e2245
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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 +8 -9
- 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 +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 +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 +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 +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/package.json +3 -3
package/dist/Header/Header.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ForwardRefComponent } from "../utils/polymorphic.js";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Location, Pathname } from "history";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/Header/Header.d.ts
|
|
6
6
|
type HeaderProps = React.ComponentProps<'header'> & {
|
|
7
7
|
as?: React.ElementType;
|
|
8
8
|
};
|
|
@@ -17,5 +17,4 @@ declare const _default: ForwardRefComponent<"header", HeaderProps> & {
|
|
|
17
17
|
Link: React.ForwardRefExoticComponent<Omit<HeaderLinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
18
18
|
Item: React.ForwardRefExoticComponent<Omit<HeaderItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
19
|
};
|
|
20
|
-
//#endregion
|
|
21
20
|
export { HeaderItemProps, HeaderLinkProps, HeaderProps, _default as default };
|
package/dist/Header/Header.js
CHANGED
|
@@ -3,7 +3,7 @@ import Header_module_css_default from "./Header.module.css.js";
|
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
|
-
|
|
6
|
+
// src/Header/Header.tsx
|
|
7
7
|
const Header = /*#__PURE__*/ React.forwardRef(function Header(t0, forwardRef) {
|
|
8
8
|
const $ = c(13);
|
|
9
9
|
let children;
|
|
@@ -143,5 +143,4 @@ var Header_default = Object.assign(Header, {
|
|
|
143
143
|
Link: HeaderLink,
|
|
144
144
|
Item: HeaderItem
|
|
145
145
|
});
|
|
146
|
-
//#endregion
|
|
147
146
|
export { Header_default as default };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import "./Header-aff64597.css";
|
|
2
|
-
|
|
2
|
+
// src/Header/Header.module.css.js
|
|
3
3
|
var Header_module_css_default = {
|
|
4
4
|
"Header": "prc-Header-Header-zcBYI",
|
|
5
5
|
"HeaderItem": "prc-Header-HeaderItem-BPQgk",
|
|
6
6
|
"HeaderLink": "prc-Header-HeaderLink-NpVNI"
|
|
7
7
|
};
|
|
8
|
-
//#endregion
|
|
9
8
|
export { Header_module_css_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from "../utils/types/ComponentProps.js";
|
|
2
2
|
import { ForwardRefComponent } from "../utils/polymorphic.js";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/Heading/Heading.d.ts
|
|
5
5
|
type HeadingLevels = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
6
6
|
type StyledHeadingProps = {
|
|
7
7
|
as?: HeadingLevels;
|
|
@@ -9,5 +9,4 @@ type StyledHeadingProps = {
|
|
|
9
9
|
};
|
|
10
10
|
declare const Heading: ForwardRefComponent<HeadingLevels, StyledHeadingProps>;
|
|
11
11
|
type HeadingProps = ComponentProps<typeof Heading>;
|
|
12
|
-
//#endregion
|
|
13
12
|
export { HeadingProps, Heading as default };
|
package/dist/Heading/Heading.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
|
-
import { useMergedRefs } from "../hooks/useMergedRefs.js";
|
|
3
2
|
import { useDevOnlyEffect } from "../internal/hooks/useDevOnlyEffect.js";
|
|
3
|
+
import { useMergedRefs } from "../hooks/useMergedRefs.js";
|
|
4
4
|
import Heading_module_css_default from "./Heading.module.css.js";
|
|
5
5
|
import React, { forwardRef } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import { clsx } from "clsx";
|
|
8
|
-
|
|
8
|
+
// src/Heading/Heading.tsx
|
|
9
9
|
const Heading = /*#__PURE__*/ forwardRef((t0, forwardedRef) => {
|
|
10
10
|
const $ = c(15);
|
|
11
11
|
let className;
|
|
@@ -67,5 +67,4 @@ const Heading = /*#__PURE__*/ forwardRef((t0, forwardedRef) => {
|
|
|
67
67
|
return t5;
|
|
68
68
|
});
|
|
69
69
|
Heading.displayName = "Heading";
|
|
70
|
-
//#endregion
|
|
71
70
|
export { Heading as default };
|
package/dist/Hidden/Hidden.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { CSSProperties } from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/Hidden/Hidden.d.ts
|
|
4
4
|
type Viewport = 'narrow' | 'regular' | 'wide';
|
|
5
5
|
type HiddenProps = {
|
|
6
6
|
when: Array<Viewport> | Viewport;
|
|
@@ -17,5 +17,4 @@ declare const Hidden: {
|
|
|
17
17
|
}: HiddenProps): React.JSX.Element;
|
|
18
18
|
displayName: string;
|
|
19
19
|
};
|
|
20
|
-
//#endregion
|
|
21
20
|
export { Hidden, HiddenProps };
|
package/dist/Hidden/Hidden.js
CHANGED
|
@@ -2,7 +2,7 @@ import { c } from "../utils/react-compiler-runtime.js";
|
|
|
2
2
|
import Hidden_module_css_default from "./Hidden.module.css.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
|
-
|
|
5
|
+
// src/Hidden/Hidden.tsx
|
|
6
6
|
function normalize(hiddenViewports) {
|
|
7
7
|
if (Array.isArray(hiddenViewports)) {
|
|
8
8
|
const breakpoints = {};
|
|
@@ -55,5 +55,4 @@ const Hidden = (t0) => {
|
|
|
55
55
|
return t7;
|
|
56
56
|
};
|
|
57
57
|
Hidden.displayName = "Hidden";
|
|
58
|
-
//#endregion
|
|
59
58
|
export { Hidden };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/InlineMessage/InlineMessage.d.ts
|
|
4
4
|
type MessageVariant = 'critical' | 'success' | 'unavailable' | 'warning';
|
|
5
5
|
type InlineMessageProps = React.ComponentPropsWithoutRef<'div'> & {
|
|
6
6
|
/**
|
|
@@ -24,5 +24,4 @@ declare function InlineMessage({
|
|
|
24
24
|
leadingVisual: LeadingVisual,
|
|
25
25
|
...rest
|
|
26
26
|
}: InlineMessageProps): React.JSX.Element;
|
|
27
|
-
//#endregion
|
|
28
27
|
export { InlineMessage, InlineMessageProps };
|
|
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
5
|
import { isValidElementType } from "react-is";
|
|
6
6
|
import { AlertFillIcon, AlertIcon, CheckCircleFillIcon, CheckCircleIcon, InfoIcon } from "@primer/octicons-react";
|
|
7
|
-
|
|
7
|
+
// src/InlineMessage/InlineMessage.tsx
|
|
8
8
|
const icons = {
|
|
9
9
|
warning: /* @__PURE__ */ jsx(AlertIcon, { className: InlineMessage_module_css_default.InlineMessageIcon }),
|
|
10
10
|
critical: /* @__PURE__ */ jsx(AlertIcon, { className: InlineMessage_module_css_default.InlineMessageIcon }),
|
|
@@ -102,5 +102,4 @@ function InlineMessage(t0) {
|
|
|
102
102
|
} else t4 = $[18];
|
|
103
103
|
return t4;
|
|
104
104
|
}
|
|
105
|
-
//#endregion
|
|
106
105
|
export { InlineMessage };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import "./InlineMessage-cd1e4c93.css";
|
|
2
|
-
|
|
2
|
+
// src/InlineMessage/InlineMessage.module.css.js
|
|
3
3
|
var InlineMessage_module_css_default = {
|
|
4
4
|
"InlineMessage": "prc-InlineMessage-InlineMessage-8xfK-",
|
|
5
5
|
"InlineMessageIcon": "prc-InlineMessage-InlineMessageIcon-rl8pZ"
|
|
6
6
|
};
|
|
7
|
-
//#endregion
|
|
8
7
|
export { InlineMessage_module_css_default as default };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { KeybindingHintProps } from "./props.js";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/KeybindingHint/KeybindingHint.d.ts
|
|
4
4
|
/** Indicates the presence of an available keybinding. */
|
|
5
5
|
declare const KeybindingHint: import("react").MemoExoticComponent<({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
8
|
}: KeybindingHintProps) => import("react").JSX.Element>;
|
|
9
|
-
//#endregion
|
|
10
9
|
export { KeybindingHint };
|
|
@@ -5,7 +5,7 @@ import KeybindingHint_module_css_default from "./KeybindingHint.module.css.js";
|
|
|
5
5
|
import { memo } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import { clsx } from "clsx";
|
|
8
|
-
|
|
8
|
+
// src/KeybindingHint/KeybindingHint.tsx
|
|
9
9
|
/** `kbd` element with style resets. */
|
|
10
10
|
const Kbd = (t0) => {
|
|
11
11
|
const $ = c(5);
|
|
@@ -64,5 +64,4 @@ const KeybindingHint = /*#__PURE__*/ memo((t0) => {
|
|
|
64
64
|
return t2;
|
|
65
65
|
});
|
|
66
66
|
KeybindingHint.displayName = "KeybindingHint";
|
|
67
|
-
//#endregion
|
|
68
67
|
export { KeybindingHint };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "./KeybindingHint-0856c11b.css";
|
|
2
|
-
|
|
2
|
+
// src/KeybindingHint/KeybindingHint.module.css.js
|
|
3
3
|
var KeybindingHint_module_css_default = { "KeybindingHint": "prc-KeybindingHint-KeybindingHint-qpYIs" };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { KeybindingHint_module_css_default as default };
|
|
@@ -6,7 +6,7 @@ import { splitChord } from "./utils.js";
|
|
|
6
6
|
import { Fragment } from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { clsx } from "clsx";
|
|
9
|
-
|
|
9
|
+
// src/KeybindingHint/components/Chord.tsx
|
|
10
10
|
const Chord = (t0) => {
|
|
11
11
|
const $ = c(13);
|
|
12
12
|
const { keys, format: t1, variant: t2, size: t3 } = t0;
|
|
@@ -63,5 +63,4 @@ const Chord = (t0) => {
|
|
|
63
63
|
} else t10 = $[12];
|
|
64
64
|
return t10;
|
|
65
65
|
};
|
|
66
|
-
//#endregion
|
|
67
66
|
export { Chord };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./Chord-d4edcc89.css";
|
|
2
|
-
|
|
2
|
+
// src/KeybindingHint/components/Chord.module.css.js
|
|
3
3
|
var Chord_module_css_default = {
|
|
4
4
|
"Chord": "prc-components-Chord-DdhWN",
|
|
5
5
|
"ChordNormal": "prc-components-ChordNormal-Ov9XG",
|
|
@@ -7,5 +7,4 @@ var Chord_module_css_default = {
|
|
|
7
7
|
"ChordOnPrimary": "prc-components-ChordOnPrimary-J2XUj",
|
|
8
8
|
"ChordSmall": "prc-components-ChordSmall-c-P-x"
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { Chord_module_css_default as default };
|
|
@@ -3,7 +3,7 @@ import VisuallyHidden from "../../_VisuallyHidden.js";
|
|
|
3
3
|
import { accessibleKeyName, condensedKeyName, fullKeyName } from "../key-names.js";
|
|
4
4
|
import { usePlatform } from "../platform.js";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/KeybindingHint/components/Key.tsx
|
|
7
7
|
/** Renders a single key with accessible alternative text. */
|
|
8
8
|
const Key = (t0) => {
|
|
9
9
|
const $ = c(14);
|
|
@@ -48,5 +48,4 @@ const Key = (t0) => {
|
|
|
48
48
|
} else t5 = $[13];
|
|
49
49
|
return t5;
|
|
50
50
|
};
|
|
51
|
-
//#endregion
|
|
52
51
|
export { Key };
|
|
@@ -2,11 +2,10 @@ import VisuallyHidden from "../../_VisuallyHidden.js";
|
|
|
2
2
|
import { Chord } from "./Chord.js";
|
|
3
3
|
import { Fragment } from "react";
|
|
4
4
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/KeybindingHint/components/Sequence.tsx
|
|
6
6
|
const splitSequence = (sequence) => sequence.split(" ");
|
|
7
7
|
const Sequence = ({ keys, ...chordProps }) => splitSequence(keys).map((c, i) => /* @__PURE__ */ jsxs(Fragment, { children: [i > 0 && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(VisuallyHidden, { children: "then" }), " "] }), /* @__PURE__ */ jsx(Chord, {
|
|
8
8
|
keys: c,
|
|
9
9
|
...chordProps
|
|
10
10
|
})] }, i));
|
|
11
|
-
//#endregion
|
|
12
11
|
export { Sequence };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { accessibleKeyName } from "../key-names.js";
|
|
2
|
-
|
|
2
|
+
// src/KeybindingHint/components/utils.ts
|
|
3
3
|
/**
|
|
4
4
|
* Consistent sort order for modifier keys. There should never be more than one non-modifier
|
|
5
5
|
* key in a chord, so we don't need to worry about sorting those - we just put them at
|
|
@@ -25,5 +25,4 @@ const splitSequence = (sequence) => sequence.split(" ");
|
|
|
25
25
|
const accessibleChordString = (chord, platform) => splitChord(chord).map((key) => accessibleKeyName(key, platform)).join(" ");
|
|
26
26
|
/** Plain string version of `Sequence` for use in `aria` string attributes. */
|
|
27
27
|
const accessibleSequenceString = (sequence, platform) => splitSequence(sequence).map((chord) => accessibleChordString(chord, platform)).join(" then ");
|
|
28
|
-
//#endregion
|
|
29
28
|
export { accessibleChordString, accessibleSequenceString, splitChord };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/KeybindingHint/key-names.ts
|
|
2
2
|
/** Converts the first character of the string to upper case and the remaining to lower case. */
|
|
3
3
|
const capitalize = ([first, ...rest]) => {
|
|
4
4
|
var _first$toUpperCase;
|
|
@@ -109,5 +109,4 @@ const accessibleKeyName = (key, platform) => {
|
|
|
109
109
|
" ": "space"
|
|
110
110
|
}[key]) !== null && _alt$meta$mod$pageup$ !== void 0 ? _alt$meta$mod$pageup$ : key.toLowerCase();
|
|
111
111
|
};
|
|
112
|
-
//#endregion
|
|
113
112
|
export { accessibleKeyName, condensedKeyName, fullKeyName };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/KeybindingHint/platform.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* The platform categories that affect how keyboard shortcut keys are displayed.
|
|
4
3
|
*
|
|
@@ -8,5 +7,4 @@
|
|
|
8
7
|
* consistent label.
|
|
9
8
|
*/
|
|
10
9
|
type Platform = 'apple' | 'windows' | 'other';
|
|
11
|
-
//#endregion
|
|
12
10
|
export { Platform };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createContext, useContext, useSyncExternalStore } from "react";
|
|
2
2
|
import { isMacOS } from "@primer/behaviors/utils";
|
|
3
|
-
|
|
3
|
+
// src/KeybindingHint/platform.ts
|
|
4
4
|
const subscribe = () => () => {};
|
|
5
5
|
/** SSR-unsafe detection of iOS/iPadOS (in addition to macOS, which is detected separately). */
|
|
6
6
|
const ssrUnsafeIsIOS = () => {
|
|
@@ -40,5 +40,4 @@ function usePlatform() {
|
|
|
40
40
|
const detected = useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
|
|
41
41
|
return override !== null && override !== void 0 ? override : detected;
|
|
42
42
|
}
|
|
43
|
-
//#endregion
|
|
44
43
|
export { usePlatform };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/KeybindingHint/props.d.ts
|
|
2
1
|
type KeybindingHintFormat = 'condensed' | 'full';
|
|
3
2
|
type KeybindingHintVariant = 'normal' | 'onEmphasis' | 'onPrimary';
|
|
4
3
|
interface KeybindingHintProps {
|
|
@@ -35,5 +34,4 @@ interface KeybindingHintProps {
|
|
|
35
34
|
*/
|
|
36
35
|
className?: string;
|
|
37
36
|
}
|
|
38
|
-
//#endregion
|
|
39
37
|
export { KeybindingHintFormat, KeybindingHintProps, KeybindingHintVariant };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Platform } from "./platform.js";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/KeybindingHint/utils.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* AVOID: `KeybindingHint` is nearly always sufficient for providing both visible and accessible keyboard hints.
|
|
6
6
|
* However, there may be cases where we need a plain string version, such as when building `aria-label` or
|
|
@@ -14,5 +14,4 @@ import { Platform } from "./platform.js";
|
|
|
14
14
|
* treated as `'other'`.
|
|
15
15
|
*/
|
|
16
16
|
declare const getAccessibleKeybindingHintString: (sequence: string, platform: Platform | boolean) => string;
|
|
17
|
-
//#endregion
|
|
18
17
|
export { getAccessibleKeybindingHintString };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { accessibleSequenceString } from "./components/utils.js";
|
|
2
|
-
|
|
2
|
+
// src/KeybindingHint/utils.ts
|
|
3
3
|
/**
|
|
4
4
|
* AVOID: `KeybindingHint` is nearly always sufficient for providing both visible and accessible keyboard hints.
|
|
5
5
|
* However, there may be cases where we need a plain string version, such as when building `aria-label` or
|
|
@@ -13,5 +13,4 @@ import { accessibleSequenceString } from "./components/utils.js";
|
|
|
13
13
|
* treated as `'other'`.
|
|
14
14
|
*/
|
|
15
15
|
const getAccessibleKeybindingHintString = (sequence, platform) => accessibleSequenceString(sequence, typeof platform === "boolean" ? platform ? "apple" : "other" : platform);
|
|
16
|
-
//#endregion
|
|
17
16
|
export { getAccessibleKeybindingHintString };
|
package/dist/Label/Label.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ForwardRefComponent } from "../utils/polymorphic.js";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/Label/Label.d.ts
|
|
4
4
|
type LabelProps = {
|
|
5
5
|
/** The color of the label */variant?: LabelColorOptions; /** How large the label is rendered */
|
|
6
6
|
size?: LabelSizeKeys;
|
|
@@ -8,5 +8,4 @@ type LabelProps = {
|
|
|
8
8
|
type LabelColorOptions = 'default' | 'primary' | 'secondary' | 'accent' | 'success' | 'attention' | 'severe' | 'danger' | 'done' | 'sponsors';
|
|
9
9
|
type LabelSizeKeys = 'small' | 'large';
|
|
10
10
|
declare const Label: ForwardRefComponent<"span", LabelProps>;
|
|
11
|
-
//#endregion
|
|
12
11
|
export { LabelColorOptions, LabelProps, Label as default };
|
package/dist/Label/Label.js
CHANGED
|
@@ -3,7 +3,7 @@ import Label_module_css_default from "./Label.module.css.js";
|
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
|
-
|
|
6
|
+
// src/Label/Label.tsx
|
|
7
7
|
const Label = /*#__PURE__*/ React.forwardRef(function Label(t0, ref) {
|
|
8
8
|
const $ = c(15);
|
|
9
9
|
let className;
|
|
@@ -55,5 +55,4 @@ const Label = /*#__PURE__*/ React.forwardRef(function Label(t0, ref) {
|
|
|
55
55
|
} else t5 = $[14];
|
|
56
56
|
return t5;
|
|
57
57
|
});
|
|
58
|
-
//#endregion
|
|
59
58
|
export { Label as default };
|
package/dist/Label/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/LabelGroup/LabelGroup.d.ts
|
|
4
4
|
type LabelGroupProps = {
|
|
5
5
|
/** Customize the element type of the rendered container */as?: React.ElementType; /** How hidden tokens should be shown. `'inline'` shows the hidden tokens after the visible tokens. `'overlay'` shows all tokens in an overlay that appears on top of the visible tokens. */
|
|
6
6
|
overflowStyle?: 'inline' | 'overlay'; /** How many tokens to show. `'auto'` truncates the tokens to fit in the parent container. Passing a number will truncate after that number tokens. If this is undefined, tokens will never be truncated. */
|
|
@@ -8,5 +8,4 @@ type LabelGroupProps = {
|
|
|
8
8
|
className?: string;
|
|
9
9
|
};
|
|
10
10
|
declare const LabelGroup: React.FC<React.PropsWithChildren<LabelGroupProps>>;
|
|
11
|
-
//#endregion
|
|
12
11
|
export { LabelGroupProps, LabelGroup as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import VisuallyHidden from "../_VisuallyHidden.js";
|
|
2
|
-
import { IconButton } from "../Button/IconButton.js";
|
|
3
|
-
import { ButtonComponent } from "../Button/Button.js";
|
|
4
2
|
import { AnchoredOverlay } from "../AnchoredOverlay/AnchoredOverlay.js";
|
|
3
|
+
import { ButtonComponent } from "../Button/Button.js";
|
|
4
|
+
import { IconButton } from "../Button/IconButton.js";
|
|
5
5
|
import LabelGroup_module_css_default from "./LabelGroup.module.css.js";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { clsx } from "clsx";
|
|
9
9
|
import { getFocusableChild } from "@primer/behaviors/utils";
|
|
10
10
|
import { XIcon } from "@primer/octicons-react";
|
|
11
|
-
|
|
11
|
+
// src/LabelGroup/LabelGroup.tsx
|
|
12
12
|
const getOverlayWidth = (buttonClientRect, containerRef, overlayPaddingPx) => {
|
|
13
13
|
var _containerRef$current;
|
|
14
14
|
return overlayPaddingPx + buttonClientRect.right - (((_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.getBoundingClientRect().left) || 0);
|
|
@@ -235,5 +235,4 @@ const LabelGroup = ({ children, visibleChildCount, overflowStyle = "overlay", as
|
|
|
235
235
|
});
|
|
236
236
|
};
|
|
237
237
|
LabelGroup.displayName = "LabelGroup";
|
|
238
|
-
//#endregion
|
|
239
238
|
export { LabelGroup as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./LabelGroup-db41f443.css";
|
|
2
|
-
|
|
2
|
+
// src/LabelGroup/LabelGroup.module.css.js
|
|
3
3
|
var LabelGroup_module_css_default = {
|
|
4
4
|
"Container": "prc-LabelGroup-Container-E-ePP",
|
|
5
5
|
"ItemWrapper": "prc-LabelGroup-ItemWrapper-GkO4t",
|
|
@@ -8,5 +8,4 @@ var LabelGroup_module_css_default = {
|
|
|
8
8
|
"OverlayInner": "prc-LabelGroup-OverlayInner-nDXRC",
|
|
9
9
|
"CloseButton": "prc-LabelGroup-CloseButton-IyLno"
|
|
10
10
|
};
|
|
11
|
-
//#endregion
|
|
12
11
|
export { LabelGroup_module_css_default as default };
|
package/dist/Link/Link.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ComponentProps as ComponentProps$1 } from "../utils/types/ComponentProps.js";
|
|
2
1
|
import { DistributiveOmit } from "../utils/modern-polymorphic.js";
|
|
2
|
+
import { ComponentProps as ComponentProps$1 } from "../utils/types/ComponentProps.js";
|
|
3
3
|
import React, { ForwardedRef } from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/Link/Link.d.ts
|
|
6
6
|
type StyledLinkProps<As extends React.ElementType = 'a'> = {
|
|
7
7
|
as?: As; /** @deprecated use CSS modules to style hover color */
|
|
8
8
|
hoverColor?: string;
|
|
@@ -15,5 +15,4 @@ declare const Link: (<As extends React.ElementType = "a">(props: DistributiveOmi
|
|
|
15
15
|
displayName: string;
|
|
16
16
|
};
|
|
17
17
|
type LinkProps = ComponentProps$1<typeof Link>;
|
|
18
|
-
//#endregion
|
|
19
18
|
export { LinkProps, Link as default };
|
package/dist/Link/Link.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
|
-
import { useMergedRefs } from "../hooks/useMergedRefs.js";
|
|
3
|
-
import { fixedForwardRef } from "../utils/modern-polymorphic.js";
|
|
4
2
|
import { useDevOnlyEffect } from "../internal/hooks/useDevOnlyEffect.js";
|
|
3
|
+
import { useMergedRefs } from "../hooks/useMergedRefs.js";
|
|
5
4
|
import Link_module_css_default from "./Link.module.css.js";
|
|
5
|
+
import { fixedForwardRef } from "../utils/modern-polymorphic.js";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
import { clsx } from "clsx";
|
|
9
|
-
|
|
9
|
+
// src/Link/Link.tsx
|
|
10
10
|
const UnwrappedLink = (props, ref) => {
|
|
11
11
|
const $ = c(17);
|
|
12
12
|
let className;
|
|
@@ -80,5 +80,4 @@ const UnwrappedLink = (props, ref) => {
|
|
|
80
80
|
};
|
|
81
81
|
const LinkComponent = fixedForwardRef(UnwrappedLink);
|
|
82
82
|
const Link = Object.assign(LinkComponent, { displayName: "Link" });
|
|
83
|
-
//#endregion
|
|
84
83
|
export { UnwrappedLink, Link as default };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { FCWithSlotMarker, WithSlotMarker } from "../utils/types/Slots.js";
|
|
2
|
-
import { ForwardRefComponent } from "../utils/polymorphic.js";
|
|
3
1
|
import { DistributiveOmit, PolymorphicProps } from "../utils/modern-polymorphic.js";
|
|
2
|
+
import { ActionListLeadingVisualProps, ActionListTrailingVisualProps, VisualProps } from "../ActionList/Visuals.js";
|
|
4
3
|
import { ActionListTrailingActionProps } from "../ActionList/TrailingAction.js";
|
|
5
4
|
import { ActionListGroupHeadingProps } from "../ActionList/Group.js";
|
|
6
5
|
import { ActionListDividerProps } from "../ActionList/Divider.js";
|
|
7
6
|
import { ActionListDescriptionProps } from "../ActionList/Description.js";
|
|
8
|
-
import {
|
|
7
|
+
import { ForwardRefComponent } from "../utils/polymorphic.js";
|
|
8
|
+
import { FCWithSlotMarker, WithSlotMarker } from "../utils/types/Slots.js";
|
|
9
9
|
import React from "react";
|
|
10
10
|
import { Icon } from "@primer/octicons-react";
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
// src/NavList/NavList.d.ts
|
|
13
13
|
type NavListHeadingLevels = 'h2' | 'h3';
|
|
14
14
|
type NavListProps = {
|
|
15
15
|
children: React.ReactNode; /** Disable the gap between items when the item gap feature is enabled. */
|
|
@@ -76,5 +76,4 @@ declare const NavList: React.ForwardRefExoticComponent<Omit<NavListProps, "ref">
|
|
|
76
76
|
GroupExpand: React.ForwardRefExoticComponent<NavListGroupExpandProps & React.RefAttributes<HTMLButtonElement>>;
|
|
77
77
|
GroupHeading: WithSlotMarker<React.FC<ActionListGroupHeadingProps>>;
|
|
78
78
|
};
|
|
79
|
-
//#endregion
|
|
80
79
|
export { NavList, NavListDividerProps, NavListGroupExpandProps, NavListGroupHeadingProps, NavListGroupProps, NavListHeadingProps, NavListItemProps, NavListLeadingVisualProps, NavListProps, NavListSubNavProps, NavListTrailingVisualProps };
|
package/dist/NavList/NavList.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
|
-
import
|
|
2
|
+
import { ActionList } from "../ActionList/index.js";
|
|
3
|
+
import { SubItem } from "../ActionList/Item.js";
|
|
4
|
+
import { ActionListContainerContext } from "../ActionList/ActionListContainerContext.js";
|
|
3
5
|
import { useId as useId$1 } from "../hooks/useId.js";
|
|
6
|
+
import useIsomorphicLayoutEffect from "../utils/useIsomorphicLayoutEffect.js";
|
|
7
|
+
import ActionList_module_css_default from "../ActionList/ActionList.module.css.js";
|
|
8
|
+
import NavList_module_css_default from "./NavList.module.css.js";
|
|
4
9
|
import { useSlots } from "../hooks/useSlots.js";
|
|
5
10
|
import { fixedForwardRef } from "../utils/modern-polymorphic.js";
|
|
11
|
+
import Heading$1 from "../Heading/Heading.js";
|
|
6
12
|
import _VisuallyHidden_module_css_default from "../_VisuallyHidden.module.css.js";
|
|
7
13
|
import { asSlot } from "../utils/as-slot.js";
|
|
8
|
-
import { ActionListContainerContext } from "../ActionList/ActionListContainerContext.js";
|
|
9
|
-
import Heading$1 from "../Heading/Heading.js";
|
|
10
|
-
import ActionList_module_css_default from "../ActionList/ActionList.module.css.js";
|
|
11
|
-
import { SubItem } from "../ActionList/Item.js";
|
|
12
|
-
import { ActionList } from "../ActionList/index.js";
|
|
13
|
-
import NavList_module_css_default from "./NavList.module.css.js";
|
|
14
14
|
import React, { createElement, isValidElement } from "react";
|
|
15
15
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
import { clsx } from "clsx";
|
|
17
17
|
import { ChevronDownIcon, PlusIcon } from "@primer/octicons-react";
|
|
18
18
|
import { flushSync } from "react-dom";
|
|
19
|
-
|
|
19
|
+
// src/NavList/NavList.tsx
|
|
20
20
|
const NavListHeadingLevelContext = /*#__PURE__*/ React.createContext(null);
|
|
21
21
|
function headingTagToLevel(as) {
|
|
22
22
|
return Number.parseInt(as.slice(1), 10);
|
|
@@ -643,5 +643,4 @@ const NavList = Object.assign(Root, {
|
|
|
643
643
|
GroupExpand,
|
|
644
644
|
GroupHeading
|
|
645
645
|
});
|
|
646
|
-
//#endregion
|
|
647
646
|
export { GroupExpand, NavList };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import "./NavList-b50d982b.css";
|
|
2
|
-
|
|
2
|
+
// src/NavList/NavList.module.css.js
|
|
3
3
|
var NavList_module_css_default = {
|
|
4
4
|
"Heading": "prc-NavList-Heading--JQMj",
|
|
5
5
|
"GroupHeading": "prc-NavList-GroupHeading-mN50z"
|
|
6
6
|
};
|
|
7
|
-
//#endregion
|
|
8
7
|
export { NavList_module_css_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { IconProps } from "@primer/octicons-react";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/Octicon/Octicon.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated Use the icon component directly from `@primer/octicons-react` instead
|
|
7
7
|
*/
|
|
@@ -16,5 +16,4 @@ declare const Octicon: React.ForwardRefExoticComponent<{
|
|
|
16
16
|
icon: React.ElementType;
|
|
17
17
|
as?: React.ElementType;
|
|
18
18
|
} & IconProps & React.RefAttributes<SVGSVGElement>>;
|
|
19
|
-
//#endregion
|
|
20
19
|
export { OcticonProps, Octicon as default };
|
package/dist/Octicon/Octicon.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/Octicon/Octicon.tsx
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated Use the icon component directly from `@primer/octicons-react` instead
|
|
7
7
|
*/
|
|
@@ -31,5 +31,4 @@ const Octicon = /*#__PURE__*/ React.forwardRef((props, ref) => {
|
|
|
31
31
|
} else t0 = $[6];
|
|
32
32
|
return t0;
|
|
33
33
|
});
|
|
34
|
-
//#endregion
|
|
35
34
|
export { Octicon as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AriaRole } from "../utils/types/AriaRole.js";
|
|
2
2
|
import { Merge } from "../utils/types/Merge.js";
|
|
3
|
-
import { ForwardRefComponent } from "../utils/polymorphic.js";
|
|
4
3
|
import { TouchOrMouseEvent } from "../hooks/useOnOutsideClick.js";
|
|
4
|
+
import { ForwardRefComponent } from "../utils/polymorphic.js";
|
|
5
5
|
import { heightMap, widthMap } from "./constants.js";
|
|
6
6
|
import React, { ComponentPropsWithRef } from "react";
|
|
7
7
|
import { AnchorSide } from "@primer/behaviors";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
// src/Overlay/Overlay.d.ts
|
|
10
10
|
type StyledOverlayProps = {
|
|
11
11
|
width?: keyof typeof widthMap;
|
|
12
12
|
height?: keyof typeof heightMap;
|
|
@@ -77,5 +77,4 @@ type internalOverlayProps = Merge<OwnOverlayProps, ContainerProps>;
|
|
|
77
77
|
*/
|
|
78
78
|
declare const Overlay: ForwardRefComponent<"div", internalOverlayProps>;
|
|
79
79
|
type OverlayProps = ComponentPropsWithRef<typeof Overlay>;
|
|
80
|
-
//#endregion
|
|
81
80
|
export { OverlayProps, Overlay as default };
|