@primer/react 38.47.0-rc.cdd1ab1f0 → 38.47.0-rc.fcdf0c9da
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 +2 -1
- package/dist/ActionBar/ActionBar.js +9 -8
- package/dist/ActionBar/ActionBar.module.css.js +2 -1
- package/dist/ActionBar/index.d.ts +3 -1
- package/dist/ActionBar/index.js +2 -1
- package/dist/ActionList/ActionList.module.css.js +2 -1
- package/dist/ActionList/ActionListContainerContext.js +2 -1
- package/dist/ActionList/Description.d.ts +2 -1
- package/dist/ActionList/Description.js +3 -2
- package/dist/ActionList/Divider.d.ts +2 -1
- package/dist/ActionList/Divider.js +2 -1
- package/dist/ActionList/Group.d.ts +3 -2
- package/dist/ActionList/Group.js +4 -3
- package/dist/ActionList/Group.module.css.js +2 -1
- package/dist/ActionList/GroupContext.js +2 -1
- package/dist/ActionList/GroupHeadingTrailingAction.d.ts +2 -1
- package/dist/ActionList/GroupHeadingTrailingAction.js +2 -1
- package/dist/ActionList/Heading.d.ts +2 -1
- package/dist/ActionList/Heading.js +5 -4
- package/dist/ActionList/Heading.module.css.js +2 -1
- package/dist/ActionList/Item.js +12 -11
- package/dist/ActionList/LinkItem.d.ts +2 -1
- package/dist/ActionList/LinkItem.js +4 -3
- package/dist/ActionList/List.js +10 -9
- package/dist/ActionList/Selection.js +6 -5
- package/dist/ActionList/TrailingAction.d.ts +2 -1
- package/dist/ActionList/TrailingAction.js +3 -2
- package/dist/ActionList/Visuals.d.ts +2 -1
- package/dist/ActionList/Visuals.js +3 -2
- package/dist/ActionList/index.d.ts +7 -7
- package/dist/ActionList/index.js +8 -7
- package/dist/ActionList/shared.d.ts +2 -1
- package/dist/ActionList/shared.js +2 -1
- package/dist/ActionMenu/ActionMenu.d.ts +4 -3
- package/dist/ActionMenu/ActionMenu.js +9 -8
- package/dist/ActionMenu/ActionMenu.module.css.js +2 -1
- package/dist/AnchoredOverlay/AnchoredOverlay.d.ts +3 -2
- package/dist/AnchoredOverlay/AnchoredOverlay.js +8 -7
- package/dist/AnchoredOverlay/AnchoredOverlay.module.css.js +2 -1
- package/dist/Autocomplete/Autocomplete.d.ts +4 -3
- package/dist/Autocomplete/Autocomplete.js +3 -2
- package/dist/Autocomplete/AutocompleteContext.js +2 -1
- package/dist/Autocomplete/AutocompleteInput.d.ts +3 -2
- package/dist/Autocomplete/AutocompleteInput.js +4 -3
- package/dist/Autocomplete/AutocompleteMenu.d.ts +3 -2
- package/dist/Autocomplete/AutocompleteMenu.js +6 -5
- package/dist/Autocomplete/AutocompleteMenu.module.css.js +2 -1
- package/dist/Autocomplete/AutocompleteOverlay.d.ts +3 -2
- package/dist/Autocomplete/AutocompleteOverlay.js +4 -3
- package/dist/Autocomplete/AutocompleteOverlay.module.css.js +2 -1
- package/dist/Avatar/Avatar.d.ts +2 -1
- package/dist/Avatar/Avatar.js +1 -0
- package/dist/Avatar/Avatar.module.css.js +2 -1
- package/dist/AvatarStack/AvatarStack.d.ts +2 -1
- package/dist/AvatarStack/AvatarStack.js +2 -1
- package/dist/AvatarStack/AvatarStack.module.css.js +2 -1
- package/dist/Banner/Banner.d.ts +2 -1
- package/dist/Banner/Banner.js +6 -5
- package/dist/Banner/Banner.module.css.js +2 -1
- package/dist/Banner/index.d.ts +3 -2
- package/dist/Banner/index.js +2 -1
- package/dist/BaseStyles.d.ts +2 -0
- package/dist/BaseStyles.js +2 -1
- package/dist/BaseStyles.module.css.js +2 -1
- package/dist/Blankslate/Blankslate.d.ts +2 -1
- package/dist/Blankslate/Blankslate.js +3 -2
- package/dist/Blankslate/Blankslate.module.css.js +2 -1
- package/dist/Blankslate/BlankslateContext.js +2 -1
- package/dist/Blankslate/index.d.ts +2 -1
- package/dist/Blankslate/index.js +2 -1
- package/dist/BranchName/BranchName.d.ts +2 -1
- package/dist/BranchName/BranchName.js +3 -2
- package/dist/BranchName/BranchName.module.css.js +2 -1
- package/dist/Breadcrumbs/Breadcrumbs.d.ts +2 -1
- package/dist/Breadcrumbs/Breadcrumbs.js +7 -6
- package/dist/Breadcrumbs/Breadcrumbs.module.css.js +2 -1
- package/dist/Button/Button.d.ts +3 -2
- package/dist/Button/Button.js +2 -1
- package/dist/Button/ButtonBase.d.ts +2 -1
- package/dist/Button/ButtonBase.js +4 -3
- package/dist/Button/ButtonBase.module.css.js +2 -1
- package/dist/Button/IconButton.d.ts +3 -2
- package/dist/Button/IconButton.js +4 -3
- package/dist/Button/LinkButton.d.ts +3 -2
- package/dist/Button/LinkButton.js +2 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/types.d.ts +2 -1
- package/dist/ButtonGroup/ButtonGroup.d.ts +2 -1
- package/dist/ButtonGroup/ButtonGroup.js +4 -3
- package/dist/ButtonGroup/ButtonGroup.module.css.js +2 -1
- package/dist/Card/Card.d.ts +2 -1
- package/dist/Card/Card.js +4 -3
- package/dist/Card/Card.module.css.js +2 -1
- package/dist/Card/index.d.ts +2 -1
- package/dist/Card/index.js +2 -1
- package/dist/Checkbox/Checkbox.d.ts +3 -2
- package/dist/Checkbox/Checkbox.js +4 -3
- package/dist/Checkbox/Checkbox.module.css.js +2 -1
- package/dist/Checkbox/shared.module.css.js +2 -1
- package/dist/CheckboxGroup/CheckboxGroup.d.ts +3 -2
- package/dist/CheckboxGroup/CheckboxGroup.js +7 -6
- package/dist/CheckboxGroup/CheckboxGroupContext.js +2 -1
- package/dist/CircleBadge/CircleBadge.d.ts +2 -0
- package/dist/CircleBadge/CircleBadge.js +2 -1
- package/dist/CircleBadge/CircleBadge.module.css.js +2 -1
- package/dist/ConfirmationDialog/ConfirmationDialog.d.ts +2 -1
- package/dist/ConfirmationDialog/ConfirmationDialog.js +2 -1
- package/dist/ConfirmationDialog/useConfirm.d.ts +2 -1
- package/dist/ConfirmationDialog/useConfirm.js +2 -1
- package/dist/CounterLabel/CounterLabel.d.ts +2 -1
- package/dist/CounterLabel/CounterLabel.js +2 -1
- package/dist/CounterLabel/CounterLabel.module.css.js +2 -1
- package/dist/DataTable/DataTable.d.ts +5 -4
- package/dist/DataTable/DataTable.js +4 -3
- package/dist/DataTable/ErrorDialog.d.ts +2 -1
- package/dist/DataTable/ErrorDialog.js +2 -1
- package/dist/DataTable/Pagination.d.ts +2 -1
- package/dist/DataTable/Pagination.js +3 -2
- package/dist/DataTable/Pagination.module.css.js +2 -1
- package/dist/DataTable/Table.d.ts +4 -3
- package/dist/DataTable/Table.js +5 -4
- package/dist/DataTable/Table.module.css.js +2 -1
- package/dist/DataTable/TableBulkActions.d.ts +2 -1
- package/dist/DataTable/TableBulkActions.js +3 -2
- package/dist/DataTable/TableBulkActions.module.css.js +2 -1
- package/dist/DataTable/TableGroup.d.ts +2 -1
- package/dist/DataTable/TableGroup.js +5 -4
- package/dist/DataTable/TableGroupContext.js +2 -1
- package/dist/DataTable/column.d.ts +2 -1
- package/dist/DataTable/column.js +2 -1
- package/dist/DataTable/index.d.ts +5 -4
- package/dist/DataTable/index.js +4 -3
- package/dist/DataTable/row.d.ts +2 -0
- package/dist/DataTable/sorting.d.ts +2 -0
- package/dist/DataTable/sorting.js +2 -1
- package/dist/DataTable/useTable.js +3 -2
- package/dist/DataTable/utils.d.ts +2 -0
- package/dist/Details/Details.d.ts +2 -1
- package/dist/Details/Details.js +3 -2
- package/dist/Details/Details.module.css.js +2 -1
- package/dist/Dialog/Dialog.d.ts +3 -2
- package/dist/Dialog/Dialog.js +8 -7
- package/dist/Dialog/Dialog.module.css.js +2 -1
- package/dist/Dialog/DialogContext.js +2 -1
- package/dist/FeatureFlags/DefaultFeatureFlags.d.ts +2 -1
- package/dist/FeatureFlags/DefaultFeatureFlags.js +2 -1
- package/dist/FeatureFlags/FeatureFlagContext.js +2 -1
- package/dist/FeatureFlags/FeatureFlagScope.d.ts +2 -0
- package/dist/FeatureFlags/FeatureFlagScope.js +2 -1
- package/dist/FeatureFlags/FeatureFlags.d.ts +2 -1
- package/dist/FeatureFlags/FeatureFlags.js +3 -2
- package/dist/FeatureFlags/useFeatureFlag.d.ts +2 -0
- package/dist/FeatureFlags/useFeatureFlag.js +2 -1
- package/dist/FilteredActionList/FilteredActionList.d.ts +2 -1
- package/dist/FilteredActionList/FilteredActionList.js +12 -11
- package/dist/FilteredActionList/FilteredActionList.module.css.js +2 -1
- package/dist/FilteredActionList/FilteredActionListInput.d.ts +2 -1
- package/dist/FilteredActionList/FilteredActionListInput.js +2 -1
- package/dist/FilteredActionList/FilteredActionListLoaders.d.ts +2 -1
- package/dist/FilteredActionList/FilteredActionListLoaders.js +2 -1
- package/dist/FilteredActionList/FilteredActionListLoaders.module.css.js +2 -1
- package/dist/FilteredActionList/constants.d.ts +2 -0
- package/dist/FilteredActionList/constants.js +2 -1
- package/dist/FilteredActionList/index.d.ts +3 -2
- package/dist/FilteredActionList/index.js +4 -3
- package/dist/FilteredActionList/types.d.ts +4 -3
- package/dist/FilteredActionList/useAnnouncements.js +2 -1
- package/dist/Flash/Flash.d.ts +2 -1
- package/dist/Flash/Flash.js +2 -1
- package/dist/Flash/Flash.module.css.js +2 -1
- package/dist/FormControl/FormControl.d.ts +2 -1
- package/dist/FormControl/FormControl.js +9 -8
- package/dist/FormControl/FormControl.module.css.js +2 -1
- package/dist/FormControl/FormControlCaption.d.ts +2 -1
- package/dist/FormControl/FormControlCaption.js +3 -2
- package/dist/FormControl/FormControlCaption.module.css.js +2 -1
- package/dist/FormControl/FormControlLabel.d.ts +2 -1
- package/dist/FormControl/FormControlLabel.js +2 -1
- package/dist/FormControl/FormControlLeadingVisual.js +2 -1
- package/dist/FormControl/FormControlLeadingVisual.module.css.js +2 -1
- package/dist/FormControl/_FormControlContext.d.ts +2 -1
- package/dist/FormControl/_FormControlContext.js +2 -1
- package/dist/FormControl/_FormControlContextProvider.js +2 -1
- package/dist/FormControl/_FormControlValidation.d.ts +2 -1
- package/dist/FormControl/_FormControlValidation.js +2 -1
- package/dist/FormControl/index.d.ts +3 -3
- package/dist/Header/Header.d.ts +2 -1
- package/dist/Header/Header.js +2 -1
- package/dist/Header/Header.module.css.js +2 -1
- package/dist/Heading/Heading.d.ts +2 -1
- package/dist/Heading/Heading.js +3 -2
- package/dist/Heading/Heading.module.css.js +2 -1
- package/dist/Hidden/Hidden.d.ts +2 -1
- package/dist/Hidden/Hidden.js +2 -1
- package/dist/Hidden/Hidden.module.css.js +2 -1
- package/dist/InlineMessage/InlineMessage.d.ts +2 -1
- package/dist/InlineMessage/InlineMessage.js +2 -1
- package/dist/InlineMessage/InlineMessage.module.css.js +2 -1
- package/dist/KeybindingHint/KeybindingHint.d.ts +2 -1
- package/dist/KeybindingHint/KeybindingHint.js +2 -1
- package/dist/KeybindingHint/KeybindingHint.module.css.js +2 -1
- package/dist/KeybindingHint/components/Chord.js +2 -1
- package/dist/KeybindingHint/components/Chord.module.css.js +2 -1
- package/dist/KeybindingHint/components/Key.js +2 -1
- package/dist/KeybindingHint/components/Sequence.js +2 -1
- package/dist/KeybindingHint/components/utils.js +2 -1
- package/dist/KeybindingHint/key-names.js +2 -1
- package/dist/KeybindingHint/platform.d.ts +2 -0
- package/dist/KeybindingHint/platform.js +2 -1
- package/dist/KeybindingHint/props.d.ts +2 -0
- package/dist/KeybindingHint/utils.d.ts +2 -1
- package/dist/KeybindingHint/utils.js +2 -1
- package/dist/Label/Label.d.ts +2 -1
- package/dist/Label/Label.js +2 -1
- package/dist/Label/Label.module.css.js +2 -1
- package/dist/Label/index.js +2 -1
- package/dist/LabelGroup/LabelGroup.d.ts +2 -1
- package/dist/LabelGroup/LabelGroup.js +4 -3
- package/dist/LabelGroup/LabelGroup.module.css.js +2 -1
- package/dist/Link/Link.d.ts +3 -2
- package/dist/Link/Link.js +4 -3
- package/dist/Link/Link.module.css.js +2 -1
- package/dist/NavList/NavList.d.ts +5 -4
- package/dist/NavList/NavList.js +9 -8
- package/dist/NavList/NavList.module.css.js +2 -1
- package/dist/Octicon/Octicon.d.ts +2 -1
- package/dist/Octicon/Octicon.js +2 -1
- package/dist/Overlay/Overlay.d.ts +3 -2
- package/dist/Overlay/Overlay.js +4 -3
- package/dist/Overlay/Overlay.module.css.js +2 -1
- package/dist/Overlay/constants.d.ts +2 -0
- package/dist/Overlay/constants.js +2 -1
- package/dist/PageHeader/PageHeader.d.ts +5 -4
- package/dist/PageHeader/PageHeader.js +8 -7
- package/dist/PageHeader/PageHeader.module.css.js +2 -1
- package/dist/PageLayout/DragHandle.d.ts +2 -1
- package/dist/PageLayout/DragHandle.js +2 -1
- package/dist/PageLayout/PageLayout.d.ts +3 -2
- package/dist/PageLayout/PageLayout.js +4 -3
- package/dist/PageLayout/PageLayout.module.css.js +2 -1
- package/dist/PageLayout/index.d.ts +1 -1
- package/dist/PageLayout/paneUtils.js +2 -1
- package/dist/PageLayout/usePaneWidth.d.ts +2 -1
- package/dist/PageLayout/usePaneWidth.js +2 -1
- package/dist/Pagehead/Pagehead.d.ts +2 -1
- package/dist/Pagehead/Pagehead.js +2 -1
- package/dist/Pagehead/Pagehead.module.css.js +2 -1
- package/dist/Pagination/Pagination.d.ts +3 -2
- package/dist/Pagination/Pagination.js +3 -2
- package/dist/Pagination/Pagination.module.css.js +2 -1
- package/dist/Pagination/index.js +2 -1
- package/dist/Pagination/model.d.ts +2 -0
- package/dist/Pagination/model.js +2 -1
- package/dist/Popover/Popover.d.ts +2 -1
- package/dist/Popover/Popover.js +4 -3
- package/dist/Popover/Popover.module.css.js +2 -1
- package/dist/Portal/Portal.d.ts +2 -1
- package/dist/Portal/Portal.js +2 -1
- package/dist/Portal/PortalContext.d.ts +2 -1
- package/dist/Portal/PortalContext.js +2 -1
- package/dist/Portal/index.js +2 -1
- package/dist/Portal/portalRoot.d.ts +2 -0
- package/dist/Portal/portalRoot.js +2 -1
- package/dist/ProgressBar/ProgressBar.d.ts +2 -1
- package/dist/ProgressBar/ProgressBar.js +2 -1
- package/dist/ProgressBar/ProgressBar.module.css.js +2 -1
- package/dist/ProgressBar/index.d.ts +2 -1
- package/dist/ProgressBar/index.js +2 -1
- package/dist/Radio/Radio.d.ts +2 -1
- package/dist/Radio/Radio.js +2 -1
- package/dist/Radio/Radio.module.css.js +2 -1
- package/dist/RadioGroup/RadioGroup.d.ts +3 -2
- package/dist/RadioGroup/RadioGroup.js +5 -4
- package/dist/RadioGroup/RadioGroupContext.js +2 -1
- package/dist/RelativeTime/RelativeTime.d.ts +2 -1
- package/dist/RelativeTime/RelativeTime.js +2 -1
- package/dist/ScrollableRegion/ScrollableRegion.d.ts +2 -1
- package/dist/ScrollableRegion/ScrollableRegion.js +2 -1
- package/dist/ScrollableRegion/ScrollableRegion.module.css.js +2 -1
- package/dist/SegmentedControl/SegmentedControl.d.ts +3 -2
- package/dist/SegmentedControl/SegmentedControl.js +10 -9
- package/dist/SegmentedControl/SegmentedControl.module.css.js +2 -1
- package/dist/SegmentedControl/SegmentedControlAction.d.ts +2 -1
- package/dist/SegmentedControl/SegmentedControlAction.js +3 -2
- package/dist/SegmentedControl/SegmentedControlActionContext.js +2 -1
- package/dist/SegmentedControl/SegmentedControlButton.d.ts +2 -1
- package/dist/SegmentedControl/SegmentedControlButton.js +3 -2
- package/dist/SegmentedControl/SegmentedControlDivider.d.ts +2 -1
- package/dist/SegmentedControl/SegmentedControlDivider.js +2 -1
- package/dist/SegmentedControl/SegmentedControlIconButton.d.ts +2 -1
- package/dist/SegmentedControl/SegmentedControlIconButton.js +3 -2
- package/dist/SegmentedControl/index.d.ts +3 -3
- package/dist/Select/Select.d.ts +3 -2
- package/dist/Select/Select.js +2 -1
- package/dist/Select/Select.module.css.js +2 -1
- package/dist/SelectPanel/SelectPanel.d.ts +3 -2
- package/dist/SelectPanel/SelectPanel.js +14 -13
- package/dist/SelectPanel/SelectPanel.module.css.js +2 -1
- package/dist/SelectPanel/SelectPanelMessage.d.ts +2 -1
- package/dist/SelectPanel/SelectPanelMessage.js +2 -1
- package/dist/SelectPanel/index.d.ts +1 -1
- package/dist/SideNav.d.ts +2 -1
- package/dist/SideNav.js +2 -1
- package/dist/SideNav.module.css.js +2 -1
- package/dist/Skeleton/SkeletonBox.d.ts +2 -1
- package/dist/Skeleton/SkeletonBox.js +2 -1
- package/dist/Skeleton/SkeletonBox.module.css.js +2 -1
- package/dist/Skeleton/skeleton.module.css.js +2 -1
- package/dist/SkeletonAvatar/SkeletonAvatar.d.ts +2 -1
- package/dist/SkeletonAvatar/SkeletonAvatar.js +3 -2
- package/dist/SkeletonAvatar/SkeletonAvatar.module.css.js +2 -1
- package/dist/SkeletonText/SkeletonText.d.ts +2 -1
- package/dist/SkeletonText/SkeletonText.js +3 -2
- package/dist/SkeletonText/SkeletonText.module.css.js +2 -1
- package/dist/Spinner/Spinner.d.ts +2 -1
- package/dist/Spinner/Spinner.js +2 -1
- package/dist/Spinner/Spinner.module.css.js +2 -1
- package/dist/SplitPageLayout/SplitPageLayout.d.ts +2 -1
- package/dist/SplitPageLayout/SplitPageLayout.js +2 -1
- package/dist/Stack/Stack.d.ts +2 -1
- package/dist/Stack/Stack.js +2 -1
- package/dist/Stack/Stack.module.css.js +2 -1
- package/dist/Stack/index.d.ts +3 -2
- package/dist/Stack/index.js +2 -1
- package/dist/StateLabel/StateLabel.d.ts +2 -1
- package/dist/StateLabel/StateLabel.js +2 -1
- package/dist/StateLabel/StateLabel.module.css.js +2 -1
- package/dist/SubNav/SubNav.d.ts +2 -1
- package/dist/SubNav/SubNav.js +2 -1
- package/dist/SubNav/SubNav.module.css.js +2 -1
- package/dist/TabNav/TabNav.d.ts +2 -1
- package/dist/TabNav/TabNav.js +2 -1
- package/dist/TabNav/TabNav.module.css.js +2 -1
- package/dist/Text/Text.d.ts +2 -1
- package/dist/Text/Text.js +2 -1
- package/dist/Text/Text.module.css.js +2 -1
- package/dist/TextInput/TextInput.d.ts +3 -2
- package/dist/TextInput/TextInput.js +9 -8
- package/dist/TextInput/TextInput.module.css.js +2 -1
- package/dist/TextInputWithTokens/TextInputWithTokens.d.ts +3 -2
- package/dist/TextInputWithTokens/TextInputWithTokens.js +5 -4
- package/dist/TextInputWithTokens/TextInputWithTokens.module.css.js +2 -1
- package/dist/Textarea/TextArea.module.css.js +2 -1
- package/dist/Textarea/Textarea.d.ts +3 -2
- package/dist/Textarea/Textarea.js +6 -5
- package/dist/ThemeContext.d.ts +2 -1
- package/dist/ThemeContext.js +2 -1
- package/dist/ThemeProvider.d.ts +2 -1
- package/dist/ThemeProvider.js +3 -2
- package/dist/Timeline/Timeline.d.ts +2 -1
- package/dist/Timeline/Timeline.js +2 -1
- package/dist/Timeline/Timeline.module.css.js +2 -1
- package/dist/Timeline/constants.d.ts +2 -0
- package/dist/ToggleSwitch/ToggleSwitch.d.ts +2 -1
- package/dist/ToggleSwitch/ToggleSwitch.js +4 -3
- package/dist/ToggleSwitch/ToggleSwitch.module.css.js +2 -1
- package/dist/Token/IssueLabelToken.d.ts +3 -2
- package/dist/Token/IssueLabelToken.js +3 -2
- package/dist/Token/IssueLabelToken.module.css.js +2 -1
- package/dist/Token/Token.d.ts +3 -2
- package/dist/Token/Token.js +4 -3
- package/dist/Token/Token.module.css.js +2 -1
- package/dist/Token/TokenBase.d.ts +2 -1
- package/dist/Token/TokenBase.js +2 -1
- package/dist/Token/TokenBase.module.css.js +2 -1
- package/dist/Token/_RemoveTokenButton.js +2 -1
- package/dist/Token/_RemoveTokenButton.module.css.js +2 -1
- package/dist/Token/_TokenTextContainer.js +2 -1
- package/dist/Token/_TokenTextContainer.module.css.js +2 -1
- package/dist/Token/constants.d.ts +2 -0
- package/dist/Token/constants.js +2 -1
- package/dist/Token/utils.js +2 -1
- package/dist/Tooltip/Tooltip.d.ts +2 -1
- package/dist/Tooltip/Tooltip.js +3 -2
- package/dist/Tooltip/Tooltip.module.css.js +2 -1
- package/dist/Tooltip/TooltipContext.js +2 -1
- package/dist/TooltipV2/Tooltip.d.ts +3 -2
- package/dist/TooltipV2/Tooltip.js +9 -8
- package/dist/TooltipV2/Tooltip.module.css.js +2 -1
- package/dist/TooltipV2/TooltipContext.js +2 -1
- package/dist/TopicTag/TopicTag.d.ts +2 -1
- package/dist/TopicTag/TopicTag.js +2 -1
- package/dist/TopicTag/TopicTag.module.css.js +2 -1
- package/dist/TopicTag/TopicTagGroup.d.ts +2 -1
- package/dist/TopicTag/TopicTagGroup.js +2 -1
- package/dist/TopicTag/TopicTagGroup.module.css.js +2 -1
- package/dist/TopicTag/index.d.ts +2 -1
- package/dist/TopicTag/index.js +2 -1
- package/dist/TreeView/TreeView.d.ts +2 -1
- package/dist/TreeView/TreeView.js +17 -16
- package/dist/TreeView/TreeView.module.css.js +2 -1
- package/dist/TreeView/shared.js +2 -1
- package/dist/TreeView/useRovingTabIndex.d.ts +2 -1
- package/dist/TreeView/useRovingTabIndex.js +2 -1
- package/dist/TreeView/useTreeItemCache.js +2 -1
- package/dist/TreeView/useTreeRovingTabIndex.js +2 -1
- package/dist/TreeView/useTypeahead.js +2 -1
- package/dist/Truncate/Truncate.d.ts +2 -1
- package/dist/Truncate/Truncate.js +2 -1
- package/dist/Truncate/Truncate.module.css.js +2 -1
- package/dist/UnderlineNav/UnderlineNav.d.ts +2 -1
- package/dist/UnderlineNav/UnderlineNav.js +6 -5
- package/dist/UnderlineNav/UnderlineNav.module.css.js +2 -1
- package/dist/UnderlineNav/UnderlineNavContext.js +2 -1
- package/dist/UnderlineNav/UnderlineNavItem.js +5 -4
- package/dist/UnderlineNav/UnderlineNavItem.module.css.js +2 -1
- package/dist/UnderlineNav/UnderlineNavItemsRegistry.d.ts +2 -1
- package/dist/UnderlineNav/UnderlineNavItemsRegistry.js +2 -1
- package/dist/UnderlineNav/index.d.ts +2 -1
- package/dist/UnderlineNav/index.js +2 -1
- package/dist/UnderlineNav/utils.js +2 -1
- package/dist/VisuallyHidden/VisuallyHidden.d.ts +2 -1
- package/dist/VisuallyHidden/VisuallyHidden.js +2 -1
- package/dist/VisuallyHidden/VisuallyHidden.module.css.js +2 -1
- package/dist/_VisuallyHidden.js +2 -1
- package/dist/_VisuallyHidden.module.css.js +2 -1
- package/dist/deprecated/ActionList/Divider.d.ts +2 -1
- package/dist/deprecated/ActionList/Divider.js +2 -1
- package/dist/deprecated/ActionList/Divider.module.css.js +2 -1
- package/dist/deprecated/ActionList/Group.d.ts +2 -1
- package/dist/deprecated/ActionList/Group.js +2 -1
- package/dist/deprecated/ActionList/Header.d.ts +2 -1
- package/dist/deprecated/ActionList/Header.js +2 -1
- package/dist/deprecated/ActionList/Header.module.css.js +2 -1
- package/dist/deprecated/ActionList/Item.d.ts +3 -2
- package/dist/deprecated/ActionList/Item.js +3 -2
- package/dist/deprecated/ActionList/Item.module.css.js +2 -1
- package/dist/deprecated/ActionList/List.d.ts +3 -2
- package/dist/deprecated/ActionList/List.js +2 -1
- package/dist/deprecated/ActionList/List.module.css.js +2 -1
- package/dist/deprecated/ActionList/index.d.ts +5 -4
- package/dist/deprecated/ActionList/index.js +3 -2
- package/dist/deprecated/ActionMenu.d.ts +4 -3
- package/dist/deprecated/ActionMenu.js +7 -6
- package/dist/deprecated/DialogV1/Dialog.d.ts +2 -1
- package/dist/deprecated/DialogV1/Dialog.js +3 -2
- package/dist/deprecated/DialogV1/Dialog.module.css.js +2 -1
- package/dist/deprecated/FilteredSearch/FilteredSearch.d.ts +2 -0
- package/dist/deprecated/FilteredSearch/FilteredSearch.js +2 -1
- package/dist/deprecated/FilteredSearch/FilteredSearch.module.css.js +2 -1
- package/dist/deprecated/UnderlineNav/UnderlineNav.d.ts +2 -1
- package/dist/deprecated/UnderlineNav/UnderlineNav.js +2 -1
- package/dist/deprecated/UnderlineNav/UnderlineNav.module.css.js +2 -1
- package/dist/deprecated/index.d.ts +1 -1
- package/dist/deprecated/index.js +4 -3
- package/dist/experimental/IssueLabel/IssueLabel.d.ts +2 -1
- package/dist/experimental/IssueLabel/IssueLabel.js +2 -1
- package/dist/experimental/IssueLabel/IssueLabel.module.css.js +2 -1
- package/dist/experimental/SelectPanel2/SelectPanel.d.ts +5 -4
- package/dist/experimental/SelectPanel2/SelectPanel.js +17 -16
- package/dist/experimental/SelectPanel2/SelectPanel.module.css.js +2 -1
- package/dist/experimental/Tabs/Tabs.d.ts +2 -1
- package/dist/experimental/Tabs/Tabs.js +2 -1
- package/dist/experimental/Tabs/TabsContext.js +2 -1
- package/dist/experimental/Tabs/index.d.ts +1 -1
- package/dist/experimental/Tabs/types.d.ts +2 -1
- package/dist/experimental/Tabs/useTab.d.ts +2 -1
- package/dist/experimental/Tabs/useTab.js +2 -1
- package/dist/experimental/Tabs/useTabList.d.ts +2 -1
- package/dist/experimental/Tabs/useTabList.js +2 -1
- package/dist/experimental/Tabs/useTabPanel.d.ts +2 -1
- package/dist/experimental/Tabs/useTabPanel.js +2 -1
- package/dist/experimental/Tabs/useTabs.js +2 -1
- package/dist/experimental/UnderlinePanels/UnderlinePanels.d.ts +2 -1
- package/dist/experimental/UnderlinePanels/UnderlinePanels.js +8 -7
- package/dist/experimental/UnderlinePanels/UnderlinePanels.module.css.js +2 -1
- package/dist/experimental/index.d.ts +6 -6
- package/dist/experimental/index.js +21 -20
- package/dist/hooks/MatchMediaContext.js +2 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useAnchoredPosition.d.ts +2 -1
- package/dist/hooks/useAnchoredPosition.js +3 -2
- package/dist/hooks/useControllableState.js +2 -1
- package/dist/hooks/useDetails.d.ts +2 -0
- package/dist/hooks/useDetails.js +2 -1
- package/dist/hooks/useDialog.js +2 -1
- package/dist/hooks/useFocusTrap.d.ts +2 -1
- package/dist/hooks/useFocusTrap.js +3 -2
- package/dist/hooks/useFocusZone.d.ts +2 -1
- package/dist/hooks/useFocusZone.js +2 -1
- package/dist/hooks/useId.d.ts +2 -0
- package/dist/hooks/useId.js +2 -1
- package/dist/hooks/useMedia.js +2 -1
- package/dist/hooks/useMenuInitialFocus.js +2 -1
- package/dist/hooks/useMenuKeyboardNavigation.js +2 -1
- package/dist/hooks/useMergedRefs.d.ts +2 -1
- package/dist/hooks/useMergedRefs.js +2 -1
- package/dist/hooks/useMnemonics.js +2 -1
- package/dist/hooks/useOnEscapePress.d.ts +2 -0
- package/dist/hooks/useOnEscapePress.js +2 -1
- package/dist/hooks/useOnOutsideClick.d.ts +2 -1
- package/dist/hooks/useOnOutsideClick.js +2 -1
- package/dist/hooks/useOpenAndCloseFocus.d.ts +2 -1
- package/dist/hooks/useOpenAndCloseFocus.js +2 -1
- package/dist/hooks/useOverflow.d.ts +2 -0
- package/dist/hooks/useOverflow.js +2 -1
- package/dist/hooks/useOverlay.d.ts +2 -1
- package/dist/hooks/useOverlay.js +4 -3
- package/dist/hooks/useProvidedRefOrCreate.d.ts +2 -1
- package/dist/hooks/useProvidedRefOrCreate.js +2 -1
- package/dist/hooks/useProvidedStateOrCreate.js +2 -1
- package/dist/hooks/useRefObjectAsForwardedRef.d.ts +2 -1
- package/dist/hooks/useRefObjectAsForwardedRef.js +2 -1
- package/dist/hooks/useRenderForcingRef.js +2 -1
- package/dist/hooks/useResizeObserver.d.ts +2 -1
- package/dist/hooks/useResizeObserver.js +2 -1
- package/dist/hooks/useResponsiveValue.d.ts +2 -0
- package/dist/hooks/useResponsiveValue.js +2 -1
- package/dist/hooks/useSafeTimeout.d.ts +2 -0
- package/dist/hooks/useSafeTimeout.js +2 -1
- package/dist/hooks/useScrollFlash.js +2 -1
- package/dist/hooks/useSlots.d.ts +2 -1
- package/dist/hooks/useSlots.js +2 -1
- package/dist/hooks/useSyncedState.d.ts +2 -0
- package/dist/hooks/useSyncedState.js +2 -1
- package/dist/index.d.ts +22 -22
- package/dist/index.js +49 -49
- package/dist/internal/components/ButtonReset.js +2 -1
- package/dist/internal/components/ButtonReset.module.css.js +2 -1
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.d.ts +2 -1
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.js +7 -6
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.module.css.js +2 -1
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.js +2 -1
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupContext.js +2 -1
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.d.ts +2 -1
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.js +2 -1
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.d.ts +2 -1
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.js +3 -2
- package/dist/internal/components/ConditionalWrapper.js +2 -1
- package/dist/internal/components/InputLabel.d.ts +2 -1
- package/dist/internal/components/InputLabel.js +2 -1
- package/dist/internal/components/InputLabel.module.css.js +2 -1
- package/dist/internal/components/InputValidation.js +2 -1
- package/dist/internal/components/InputValidation.module.css.js +2 -1
- package/dist/internal/components/OverflowObserverProvider.js +2 -1
- package/dist/internal/components/TextInputInnerAction.d.ts +2 -1
- package/dist/internal/components/TextInputInnerAction.js +4 -3
- package/dist/internal/components/TextInputInnerAction.module.css.js +2 -1
- package/dist/internal/components/TextInputInnerVisualSlot.js +2 -1
- package/dist/internal/components/TextInputInnerVisualSlot.module.css.js +2 -1
- package/dist/internal/components/TextInputWrapper.d.ts +2 -1
- package/dist/internal/components/TextInputWrapper.js +2 -1
- package/dist/internal/components/TextInputWrapper.module.css.js +2 -1
- package/dist/internal/components/ThemeProviderBase.js +2 -1
- package/dist/internal/components/UnderlineTabbedInterface.js +2 -1
- package/dist/internal/components/UnderlineTabbedInterface.module.css.js +2 -1
- package/dist/internal/components/UnstyledTextInput.js +2 -1
- package/dist/internal/components/UnstyledTextInput.module.css.js +2 -1
- package/dist/internal/components/ValidationAnimationContainer.js +2 -1
- package/dist/internal/components/ValidationAnimationContainer.module.css.js +2 -1
- package/dist/internal/hooks/useDevOnlyEffect.js +2 -1
- package/dist/internal/hooks/useEffectCallback.js +2 -1
- package/dist/internal/hooks/useEffectOnce.js +2 -1
- package/dist/internal/hooks/useOverflowObserver.js +2 -1
- package/dist/internal/hooks/useThemeProvider.js +2 -1
- package/dist/internal/internal-types.d.ts +2 -0
- package/dist/internal/utils/getResponsiveAttributes.js +2 -1
- package/dist/internal/utils/hasInteractiveNodes.js +2 -1
- package/dist/legacy-theme/ts/color-schemes.js +1 -0
- package/dist/live-region/Announce.d.ts +2 -1
- package/dist/live-region/Announce.js +2 -1
- package/dist/live-region/AriaAlert.d.ts +2 -1
- package/dist/live-region/AriaAlert.js +2 -1
- package/dist/live-region/AriaStatus.d.ts +2 -1
- package/dist/live-region/AriaStatus.js +2 -1
- package/dist/next/ThemeProvider.d.ts +2 -1
- package/dist/next/ThemeProvider.js +2 -1
- package/dist/next/index.d.ts +2 -2
- package/dist/next/index.js +1 -1
- package/dist/test-helpers.d.ts +2 -0
- package/dist/test-helpers.js +2 -1
- package/dist/theme.d.ts +2 -1
- package/dist/theme.js +2 -1
- package/dist/useTheme.d.ts +2 -1
- package/dist/useTheme.js +2 -1
- package/dist/utils/as-slot.d.ts +2 -1
- package/dist/utils/as-slot.js +2 -1
- package/dist/utils/character-counter.js +2 -1
- package/dist/utils/create-component.d.ts +2 -1
- package/dist/utils/create-component.js +2 -1
- package/dist/utils/descendant-registry.js +2 -1
- package/dist/utils/environment.js +2 -1
- package/dist/utils/getBreakpointDeclarations.js +2 -1
- package/dist/utils/invariant.js +2 -1
- package/dist/utils/is-slot.d.ts +2 -1
- package/dist/utils/is-slot.js +2 -1
- package/dist/utils/isNumeric.js +2 -1
- package/dist/utils/modern-polymorphic.d.ts +2 -1
- package/dist/utils/modern-polymorphic.js +2 -1
- package/dist/utils/polymorphic.d.ts +2 -1
- package/dist/utils/react-compiler-runtime.js +2 -1
- package/dist/utils/scroll.js +2 -1
- package/dist/utils/theme.js +2 -1
- package/dist/utils/types/AriaRole.d.ts +2 -0
- package/dist/utils/types/ComponentProps.d.ts +2 -0
- package/dist/utils/types/FormValidationStatus.d.ts +2 -0
- package/dist/utils/types/KeyPaths.d.ts +2 -0
- package/dist/utils/types/MandateProps.d.ts +2 -0
- package/dist/utils/types/Merge.d.ts +2 -0
- package/dist/utils/types/Slots.d.ts +2 -0
- package/dist/utils/types/ViewportRangeKeys.d.ts +2 -0
- package/dist/utils/useIsomorphicLayoutEffect.d.ts +2 -1
- package/dist/utils/useIsomorphicLayoutEffect.js +2 -1
- package/dist/utils/warning.js +2 -1
- package/package.json +3 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FCWithSlotMarker } from "../utils/types/Slots.js";
|
|
2
2
|
import { CheckboxOrRadioGroupLabelProps } from "../internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.js";
|
|
3
|
-
import { CheckboxOrRadioGroupProps } from "../internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.js";
|
|
4
3
|
import { CheckboxOrRadioGroupValidationProps } from "../internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.js";
|
|
4
|
+
import { CheckboxOrRadioGroupProps } from "../internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.js";
|
|
5
5
|
import React, { ChangeEvent, FC } from "react";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
//#region src/RadioGroup/RadioGroup.d.ts
|
|
8
8
|
type RadioGroupProps = {
|
|
9
9
|
/**
|
|
10
10
|
* An onChange handler that gets called when the selection changes
|
|
@@ -24,4 +24,5 @@ declare const _default: FC<React.PropsWithChildren<RadioGroupProps>> & {
|
|
|
24
24
|
Label: FCWithSlotMarker<React.PropsWithChildren<CheckboxOrRadioGroupLabelProps>>;
|
|
25
25
|
Validation: FCWithSlotMarker<React.PropsWithChildren<CheckboxOrRadioGroupValidationProps>>;
|
|
26
26
|
};
|
|
27
|
+
//#endregion
|
|
27
28
|
export { RadioGroupProps, _default as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
|
-
import
|
|
2
|
+
import { useRenderForcingRef } from "../hooks/useRenderForcingRef.js";
|
|
3
|
+
import { RadioGroupContext } from "./RadioGroupContext.js";
|
|
3
4
|
import CheckboxOrRadioGroupCaption from "../internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.js";
|
|
4
5
|
import CheckboxOrRadioGroupLabel from "../internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.js";
|
|
5
6
|
import CheckboxOrRadioGroupValidation from "../internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.js";
|
|
6
|
-
import
|
|
7
|
-
import { RadioGroupContext } from "./RadioGroupContext.js";
|
|
7
|
+
import CheckboxOrRadioGroup_default from "../internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.js";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
-
|
|
9
|
+
//#region src/RadioGroup/RadioGroup.tsx
|
|
10
10
|
const RadioGroup = (t0) => {
|
|
11
11
|
const $ = c(23);
|
|
12
12
|
let children;
|
|
@@ -98,4 +98,5 @@ var RadioGroup_default = Object.assign(RadioGroup, {
|
|
|
98
98
|
Label: CheckboxOrRadioGroupLabel,
|
|
99
99
|
Validation: CheckboxOrRadioGroupValidation
|
|
100
100
|
});
|
|
101
|
+
//#endregion
|
|
101
102
|
export { RadioGroup_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from "../utils/types/ComponentProps.js";
|
|
2
2
|
import { RelativeTimeElement } from "@github/relative-time-element";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
//#region src/RelativeTime/RelativeTime.d.ts
|
|
5
5
|
declare const RelativeTimeComponent: import("@lit-labs/react").ReactWebComponent<RelativeTimeElement, {}>;
|
|
6
6
|
declare function RelativeTime({
|
|
7
7
|
date,
|
|
@@ -11,4 +11,5 @@ declare function RelativeTime({
|
|
|
11
11
|
...props
|
|
12
12
|
}: RelativeTimeProps): import("react").JSX.Element;
|
|
13
13
|
type RelativeTimeProps = ComponentProps<typeof RelativeTimeComponent>;
|
|
14
|
+
//#endregion
|
|
14
15
|
export { RelativeTimeProps, RelativeTime as default };
|
|
@@ -2,7 +2,7 @@ import { c } from "../utils/react-compiler-runtime.js";
|
|
|
2
2
|
import { createComponent } from "../utils/create-component.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { RelativeTimeElement } from "@github/relative-time-element";
|
|
5
|
-
|
|
5
|
+
//#region src/RelativeTime/RelativeTime.tsx
|
|
6
6
|
const RelativeTimeComponent = createComponent(RelativeTimeElement, "relative-time");
|
|
7
7
|
const localeOptions = {
|
|
8
8
|
month: "short",
|
|
@@ -67,4 +67,5 @@ function RelativeTime(t0) {
|
|
|
67
67
|
} else t3 = $[15];
|
|
68
68
|
return t3;
|
|
69
69
|
}
|
|
70
|
+
//#endregion
|
|
70
71
|
export { RelativeTime as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
//#region src/ScrollableRegion/ScrollableRegion.d.ts
|
|
4
4
|
type Labelled = {
|
|
5
5
|
'aria-label': string;
|
|
6
6
|
'aria-labelledby'?: never;
|
|
@@ -16,4 +16,5 @@ declare function ScrollableRegion({
|
|
|
16
16
|
className,
|
|
17
17
|
...rest
|
|
18
18
|
}: ScrollableRegionProps): React.JSX.Element;
|
|
19
|
+
//#endregion
|
|
19
20
|
export { ScrollableRegion, type ScrollableRegionProps };
|
|
@@ -4,7 +4,7 @@ import ScrollableRegion_module_css_default from "./ScrollableRegion.module.css.j
|
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { clsx } from "clsx";
|
|
7
|
-
|
|
7
|
+
//#region src/ScrollableRegion/ScrollableRegion.tsx
|
|
8
8
|
function ScrollableRegion(t0) {
|
|
9
9
|
const $ = c(17);
|
|
10
10
|
let children;
|
|
@@ -67,4 +67,5 @@ function ScrollableRegion(t0) {
|
|
|
67
67
|
} else t3 = $[16];
|
|
68
68
|
return t3;
|
|
69
69
|
}
|
|
70
|
+
//#endregion
|
|
70
71
|
export { ScrollableRegion };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import "./ScrollableRegion-c1018dbe.css";
|
|
2
|
-
|
|
2
|
+
//#region src/ScrollableRegion/ScrollableRegion.module.css.js
|
|
3
3
|
var ScrollableRegion_module_css_default = { "ScrollableRegion": "prc-ScrollableRegion-ScrollableRegion--xtjK" };
|
|
4
|
+
//#endregion
|
|
4
5
|
export { ScrollableRegion_module_css_default as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { FCWithSlotMarker } from "../utils/types/Slots.js";
|
|
2
|
+
import { ResponsiveValue } from "../hooks/useResponsiveValue.js";
|
|
2
3
|
import { SegmentedControlDividerProps } from "./SegmentedControlDivider.js";
|
|
3
4
|
import { SegmentedControlActionProps } from "./SegmentedControlAction.js";
|
|
4
5
|
import { SegmentedControlButtonProps } from "./SegmentedControlButton.js";
|
|
5
6
|
import { SegmentedControlIconButtonProps } from "./SegmentedControlIconButton.js";
|
|
6
|
-
import { ResponsiveValue } from "../hooks/useResponsiveValue.js";
|
|
7
7
|
import { WidthOnlyViewportRangeKeys } from "../utils/types/ViewportRangeKeys.js";
|
|
8
8
|
import React from "react";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
//#region src/SegmentedControl/SegmentedControl.d.ts
|
|
11
11
|
type SegmentedControlProps = {
|
|
12
12
|
'aria-label'?: string;
|
|
13
13
|
'aria-labelledby'?: string;
|
|
@@ -24,4 +24,5 @@ declare const SegmentedControl: React.FC<React.PropsWithChildren<SegmentedContro
|
|
|
24
24
|
Divider: FCWithSlotMarker<SegmentedControlDividerProps>;
|
|
25
25
|
Action: FCWithSlotMarker<SegmentedControlActionProps>;
|
|
26
26
|
};
|
|
27
|
+
//#endregion
|
|
27
28
|
export { SegmentedControl, SegmentedControlProps };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
|
+
import useIsomorphicLayoutEffect from "../utils/useIsomorphicLayoutEffect.js";
|
|
3
|
+
import { isSlot } from "../utils/is-slot.js";
|
|
4
|
+
import { useSlots } from "../hooks/useSlots.js";
|
|
5
|
+
import { getResponsiveAttributes } from "../internal/utils/getResponsiveAttributes.js";
|
|
6
|
+
import { ActionList } from "../ActionList/index.js";
|
|
7
|
+
import { ActionMenu } from "../ActionMenu/ActionMenu.js";
|
|
8
|
+
import SegmentedControl_module_css_default from "./SegmentedControl.module.css.js";
|
|
2
9
|
import SegmentedControlButton from "./SegmentedControlButton.js";
|
|
3
10
|
import { SegmentedControlIconButton } from "./SegmentedControlIconButton.js";
|
|
11
|
+
import { SegmentedControlActionContext } from "./SegmentedControlActionContext.js";
|
|
4
12
|
import SegmentedControlAction from "./SegmentedControlAction.js";
|
|
5
13
|
import SegmentedControlDivider from "./SegmentedControlDivider.js";
|
|
6
|
-
import { SegmentedControlActionContext } from "./SegmentedControlActionContext.js";
|
|
7
|
-
import { ActionList } from "../ActionList/index.js";
|
|
8
|
-
import { ActionMenu } from "../ActionMenu/ActionMenu.js";
|
|
9
|
-
import { useSlots } from "../hooks/useSlots.js";
|
|
10
|
-
import { getResponsiveAttributes } from "../internal/utils/getResponsiveAttributes.js";
|
|
11
|
-
import SegmentedControl_module_css_default from "./SegmentedControl.module.css.js";
|
|
12
|
-
import { isSlot } from "../utils/is-slot.js";
|
|
13
|
-
import useIsomorphicLayoutEffect from "../utils/useIsomorphicLayoutEffect.js";
|
|
14
14
|
import React, { useRef, useState } from "react";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
import { clsx } from "clsx";
|
|
17
17
|
import { isElement } from "react-is";
|
|
18
|
-
|
|
18
|
+
//#region src/SegmentedControl/SegmentedControl.tsx
|
|
19
19
|
const Root = (t0) => {
|
|
20
20
|
const $ = c(39);
|
|
21
21
|
let ariaLabel;
|
|
@@ -289,4 +289,5 @@ function _temp7(childArg_0) {
|
|
|
289
289
|
if (/*#__PURE__*/ React.isValidElement(childArg_0) && (childArg_0.type === SegmentedControlButton || isSlot(childArg_0, SegmentedControlButton))) return childArg_0.props.children;
|
|
290
290
|
return /*#__PURE__*/ React.isValidElement(childArg_0) ? childArg_0.props["aria-label"] : null;
|
|
291
291
|
}
|
|
292
|
+
//#endregion
|
|
292
293
|
export { SegmentedControl };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./SegmentedControl-99b8e34e.css";
|
|
2
|
-
|
|
2
|
+
//#region src/SegmentedControl/SegmentedControl.module.css.js
|
|
3
3
|
var SegmentedControl_module_css_default = {
|
|
4
4
|
"SegmentedControl": "prc-SegmentedControl-SegmentedControl-lqIXp",
|
|
5
5
|
"Item": "prc-SegmentedControl-Item-tSCQh",
|
|
@@ -15,4 +15,5 @@ var SegmentedControl_module_css_default = {
|
|
|
15
15
|
"IconButton": "prc-SegmentedControl-IconButton-tlzDE",
|
|
16
16
|
"LeadingIcon": "prc-SegmentedControl-LeadingIcon-74n5s"
|
|
17
17
|
};
|
|
18
|
+
//#endregion
|
|
18
19
|
export { SegmentedControl_module_css_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementType } from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
//#region src/SegmentedControl/SegmentedControlAction.d.ts
|
|
4
4
|
interface SegmentedControlActionProps {
|
|
5
5
|
label: string;
|
|
6
6
|
icon: ElementType;
|
|
@@ -8,4 +8,5 @@ interface SegmentedControlActionProps {
|
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
loading?: boolean;
|
|
10
10
|
}
|
|
11
|
+
//#endregion
|
|
11
12
|
export { SegmentedControlActionProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
|
-
import { ActionList } from "../ActionList/index.js";
|
|
3
2
|
import { IconButton } from "../Button/IconButton.js";
|
|
3
|
+
import { ActionList } from "../ActionList/index.js";
|
|
4
4
|
import SegmentedControl_module_css_default from "./SegmentedControl.module.css.js";
|
|
5
5
|
import { SegmentedControlActionContext } from "./SegmentedControlActionContext.js";
|
|
6
6
|
import { useContext } from "react";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
|
|
8
|
+
//#region src/SegmentedControl/SegmentedControlAction.tsx
|
|
9
9
|
const SegmentedControlMenuAction = (t0) => {
|
|
10
10
|
const $ = c(6);
|
|
11
11
|
let children;
|
|
@@ -107,4 +107,5 @@ const SegmentedControlAction = (props) => {
|
|
|
107
107
|
};
|
|
108
108
|
SegmentedControlAction.displayName = "SegmentedControl.Action";
|
|
109
109
|
SegmentedControlAction.__SLOT__ = Symbol("SegmentedControl.Action");
|
|
110
|
+
//#endregion
|
|
110
111
|
export { SegmentedControlAction as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createContext } from "react";
|
|
2
|
-
|
|
2
|
+
//#region src/SegmentedControl/SegmentedControlActionContext.ts
|
|
3
3
|
const SegmentedControlActionContext = /*#__PURE__*/ createContext("inline");
|
|
4
|
+
//#endregion
|
|
4
5
|
export { SegmentedControlActionContext };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ButtonHTMLAttributes } from "react";
|
|
2
2
|
import { IconProps } from "@primer/octicons-react";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
//#region src/SegmentedControl/SegmentedControlButton.d.ts
|
|
5
5
|
type SegmentedControlButtonProps = {
|
|
6
6
|
/** The visible label rendered in the button */children: string; /** Whether the segment is selected. This is used for controlled `SegmentedControls`, and needs to be updated using the `onChange` handler on `SegmentedControl`. */
|
|
7
7
|
selected?: boolean; /** Whether the segment is selected. This is used for uncontrolled `SegmentedControls` to pick one `SegmentedControlButton` that is selected on the initial render. */
|
|
@@ -11,4 +11,5 @@ type SegmentedControlButtonProps = {
|
|
|
11
11
|
disabled?: boolean; /** Optional counter to display on the right side of the button */
|
|
12
12
|
count?: number | string;
|
|
13
13
|
} & ButtonHTMLAttributes<HTMLButtonElement | HTMLLIElement>;
|
|
14
|
+
//#endregion
|
|
14
15
|
export { SegmentedControlButtonProps };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
|
-
import SegmentedControl_module_css_default from "./SegmentedControl.module.css.js";
|
|
3
2
|
import CounterLabel from "../CounterLabel/CounterLabel.js";
|
|
3
|
+
import SegmentedControl_module_css_default from "./SegmentedControl.module.css.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
6
|
import { isElement } from "react-is";
|
|
7
|
-
|
|
7
|
+
//#region src/SegmentedControl/SegmentedControlButton.tsx
|
|
8
8
|
const SegmentedControlButton = (t0) => {
|
|
9
9
|
const $ = c(36);
|
|
10
10
|
let children;
|
|
@@ -154,4 +154,5 @@ const SegmentedControlButton = (t0) => {
|
|
|
154
154
|
return t12;
|
|
155
155
|
};
|
|
156
156
|
SegmentedControlButton.__SLOT__ = Symbol("SegmentedControl.Button");
|
|
157
|
+
//#endregion
|
|
157
158
|
export { SegmentedControlButton as default };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
//#region src/SegmentedControl/SegmentedControlDivider.d.ts
|
|
4
4
|
type SegmentedControlDividerProps = {
|
|
5
5
|
className?: string;
|
|
6
6
|
style?: React.CSSProperties;
|
|
7
7
|
};
|
|
8
|
+
//#endregion
|
|
8
9
|
export { SegmentedControlDividerProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
//#region src/SegmentedControl/SegmentedControlDivider.tsx
|
|
4
4
|
const SegmentedControlDivider = (t0) => {
|
|
5
5
|
const $ = c(3);
|
|
6
6
|
const { className, style } = t0;
|
|
@@ -20,4 +20,5 @@ const SegmentedControlDivider = (t0) => {
|
|
|
20
20
|
};
|
|
21
21
|
SegmentedControlDivider.displayName = "SegmentedControl.Divider";
|
|
22
22
|
SegmentedControlDivider.__SLOT__ = Symbol("SegmentedControl.Divider");
|
|
23
|
+
//#endregion
|
|
23
24
|
export { SegmentedControlDivider as default };
|
|
@@ -2,7 +2,7 @@ import { TooltipDirection } from "../TooltipV2/Tooltip.js";
|
|
|
2
2
|
import React, { ButtonHTMLAttributes } from "react";
|
|
3
3
|
import { IconProps } from "@primer/octicons-react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
//#region src/SegmentedControl/SegmentedControlIconButton.d.ts
|
|
6
6
|
type SegmentedControlIconButtonProps = {
|
|
7
7
|
'aria-label': string; /** The icon that represents the segmented control item */
|
|
8
8
|
icon: React.FunctionComponent<React.PropsWithChildren<IconProps>> | React.ReactElement<any>; /** Whether the segment is selected. This is used for controlled SegmentedControls, and needs to be updated using the onChange handler on SegmentedControl. */
|
|
@@ -12,4 +12,5 @@ type SegmentedControlIconButtonProps = {
|
|
|
12
12
|
tooltipDirection?: TooltipDirection; /** Whether the button is disabled. */
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
} & ButtonHTMLAttributes<HTMLButtonElement | HTMLLIElement>;
|
|
15
|
+
//#endregion
|
|
15
16
|
export { SegmentedControlIconButtonProps };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
|
-
import SegmentedControl_module_css_default from "./SegmentedControl.module.css.js";
|
|
3
2
|
import { Tooltip } from "../TooltipV2/Tooltip.js";
|
|
3
|
+
import SegmentedControl_module_css_default from "./SegmentedControl.module.css.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
6
|
import { isElement } from "react-is";
|
|
7
|
-
|
|
7
|
+
//#region src/SegmentedControl/SegmentedControlIconButton.tsx
|
|
8
8
|
const SegmentedControlIconButton = (t0) => {
|
|
9
9
|
const $ = c(35);
|
|
10
10
|
let Icon;
|
|
@@ -131,4 +131,5 @@ const SegmentedControlIconButton = (t0) => {
|
|
|
131
131
|
return t13;
|
|
132
132
|
};
|
|
133
133
|
SegmentedControlIconButton.__SLOT__ = Symbol("SegmentedControl.IconButton");
|
|
134
|
+
//#endregion
|
|
134
135
|
export { SegmentedControlIconButton, SegmentedControlIconButton as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SegmentedControlDividerProps } from "./SegmentedControlDivider.js";
|
|
2
|
+
import { SegmentedControlActionProps } from "./SegmentedControlAction.js";
|
|
2
3
|
import { SegmentedControlButtonProps } from "./SegmentedControlButton.js";
|
|
3
4
|
import { SegmentedControlIconButtonProps } from "./SegmentedControlIconButton.js";
|
|
4
|
-
import {
|
|
5
|
-
import { SegmentedControlDividerProps } from "./SegmentedControlDivider.js";
|
|
5
|
+
import { SegmentedControl, SegmentedControlProps } from "./SegmentedControl.js";
|
|
6
6
|
export { SegmentedControl, type SegmentedControlActionProps, type SegmentedControlButtonProps, type SegmentedControlDividerProps, type SegmentedControlIconButtonProps, SegmentedControlProps };
|
package/dist/Select/Select.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { StyledWrapperProps } from "../internal/components/TextInputWrapper.js";
|
|
2
1
|
import { ForwardRefComponent } from "../utils/polymorphic.js";
|
|
2
|
+
import { StyledWrapperProps } from "../internal/components/TextInputWrapper.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
//#region src/Select/Select.d.ts
|
|
6
6
|
type SelectProps = Omit<Omit<React.ComponentProps<'select'>, 'size'> & Omit<StyledWrapperProps, 'variant' | 'contrast'>, 'multiple' | 'hasLeadingVisual' | 'hasTrailingVisual' | 'as'> & {
|
|
7
7
|
placeholder?: string;
|
|
8
8
|
};
|
|
@@ -13,4 +13,5 @@ declare const _default: ForwardRefComponent<"select", SelectProps> & {
|
|
|
13
13
|
}>>;
|
|
14
14
|
OptGroup: React.FC<React.PropsWithChildren<React.HTMLProps<HTMLOptGroupElement>>>;
|
|
15
15
|
};
|
|
16
|
+
//#endregion
|
|
16
17
|
export { SelectProps, _default as default };
|
package/dist/Select/Select.js
CHANGED
|
@@ -4,7 +4,7 @@ import Select_module_css_default from "./Select.module.css.js";
|
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { clsx } from "clsx";
|
|
7
|
-
|
|
7
|
+
//#region src/Select/Select.tsx
|
|
8
8
|
const ArrowIndicatorSVG = (t0) => {
|
|
9
9
|
const $ = c(3);
|
|
10
10
|
const { className } = t0;
|
|
@@ -195,4 +195,5 @@ var Select_default = Object.assign(Select, {
|
|
|
195
195
|
Option,
|
|
196
196
|
OptGroup
|
|
197
197
|
});
|
|
198
|
+
//#endregion
|
|
198
199
|
export { Select_default as default };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import "./Select-ab428dc7.css";
|
|
2
|
-
|
|
2
|
+
//#region src/Select/Select.module.css.js
|
|
3
3
|
var Select_module_css_default = {
|
|
4
4
|
"Select": "prc-Select-Select-dJWwD",
|
|
5
5
|
"TextInputWrapper": "prc-Select-TextInputWrapper-5NYFF",
|
|
6
6
|
"Disabled": "prc-Select-Disabled-56BAq",
|
|
7
7
|
"ArrowIndicator": "prc-Select-ArrowIndicator-WjH-8"
|
|
8
8
|
};
|
|
9
|
+
//#endregion
|
|
9
10
|
export { Select_module_css_default as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { AlignContent, ButtonProps, LinkButtonProps, Size, VariantType } from "../Button/types.js";
|
|
2
|
-
import { SelectPanelMessageProps } from "./SelectPanelMessage.js";
|
|
3
2
|
import { AnchoredOverlayProps, AnchoredOverlayWrapperAnchorProps } from "../AnchoredOverlay/AnchoredOverlay.js";
|
|
3
|
+
import { SelectPanelMessageProps } from "./SelectPanelMessage.js";
|
|
4
4
|
import { FilteredActionListProps } from "../FilteredActionList/FilteredActionList.js";
|
|
5
5
|
import { ItemInput } from "../FilteredActionList/types.js";
|
|
6
6
|
import { OverlayProps } from "../Overlay/Overlay.js";
|
|
7
7
|
import React, { JSX } from "react";
|
|
8
8
|
import { IconProps } from "@primer/octicons-react";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
//#region src/SelectPanel/SelectPanel.d.ts
|
|
11
11
|
interface SelectPanelSingleSelection {
|
|
12
12
|
selected: ItemInput | undefined;
|
|
13
13
|
onSelectedChange: (selected: ItemInput | undefined) => void;
|
|
@@ -131,4 +131,5 @@ declare const SelectPanel: typeof Panel & {
|
|
|
131
131
|
} & React.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
132
132
|
Message: React.FC<SelectPanelMessageProps>;
|
|
133
133
|
};
|
|
134
|
+
//#endregion
|
|
134
135
|
export { InitialLoadingType, SelectPanel, SelectPanelProps, SelectPanelSecondaryAction };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { AnchoredOverlay } from "../AnchoredOverlay/AnchoredOverlay.js";
|
|
2
|
-
import { FilteredActionList } from "../FilteredActionList/index.js";
|
|
3
|
-
import Heading from "../Heading/Heading.js";
|
|
4
|
-
import { SelectPanelMessage } from "./SelectPanelMessage.js";
|
|
5
|
-
import { ButtonComponent } from "../Button/Button.js";
|
|
6
|
-
import { IconButton } from "../Button/IconButton.js";
|
|
7
|
-
import { LinkButton } from "../Button/LinkButton.js";
|
|
8
1
|
import { useProvidedRefOrCreate } from "../hooks/useProvidedRefOrCreate.js";
|
|
9
|
-
import { useId as useId$1 } from "../hooks/useId.js";
|
|
10
2
|
import { useProvidedStateOrCreate } from "../hooks/useProvidedStateOrCreate.js";
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
3
|
+
import { isAlphabetKey } from "../hooks/useMnemonics.js";
|
|
4
|
+
import { useId as useId$1 } from "../hooks/useId.js";
|
|
13
5
|
import { useFeatureFlag } from "../FeatureFlags/useFeatureFlag.js";
|
|
14
|
-
import
|
|
6
|
+
import useSafeTimeout from "../hooks/useSafeTimeout.js";
|
|
7
|
+
import { IconButton } from "../Button/IconButton.js";
|
|
8
|
+
import { LinkButton } from "../Button/LinkButton.js";
|
|
9
|
+
import { ButtonComponent } from "../Button/Button.js";
|
|
15
10
|
import { useResponsiveValue } from "../hooks/useResponsiveValue.js";
|
|
11
|
+
import Heading from "../Heading/Heading.js";
|
|
12
|
+
import { AnchoredOverlay } from "../AnchoredOverlay/AnchoredOverlay.js";
|
|
16
13
|
import { Banner } from "../Banner/index.js";
|
|
17
|
-
import { isAlphabetKey } from "../hooks/useMnemonics.js";
|
|
18
14
|
import { useFormControlContext } from "../FormControl/_FormControlContext.js";
|
|
15
|
+
import { FilteredActionListLoadingTypes } from "../FilteredActionList/constants.js";
|
|
16
|
+
import { FilteredActionList } from "../FilteredActionList/index.js";
|
|
17
|
+
import SelectPanel_module_css_default from "./SelectPanel.module.css.js";
|
|
18
|
+
import { SelectPanelMessage } from "./SelectPanelMessage.js";
|
|
19
19
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
20
20
|
import { announce, announceFromElement } from "@primer/live-region-element";
|
|
21
21
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
22
22
|
import { clsx } from "clsx";
|
|
23
23
|
import { SearchIcon, TriangleDownIcon, XIcon } from "@primer/octicons-react";
|
|
24
24
|
import { debounce } from "@github/mini-throttle";
|
|
25
|
-
|
|
25
|
+
//#region src/SelectPanel/SelectPanel.tsx
|
|
26
26
|
const SHORT_DELAY_MS = 500;
|
|
27
27
|
const LONG_DELAY_MS = 1e3;
|
|
28
28
|
const EMPTY_MESSAGE = {
|
|
@@ -695,4 +695,5 @@ const SelectPanel = Object.assign(Panel, {
|
|
|
695
695
|
SecondaryActionLink: SecondaryLink,
|
|
696
696
|
Message: SelectPanelMessage
|
|
697
697
|
});
|
|
698
|
+
//#endregion
|
|
698
699
|
export { SelectPanel };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./SelectPanel-00796bf3.css";
|
|
2
|
-
|
|
2
|
+
//#region src/SelectPanel/SelectPanel.module.css.js
|
|
3
3
|
var SelectPanel_module_css_default = {
|
|
4
4
|
"Overlay": "prc-SelectPanel-Overlay-tEbxh",
|
|
5
5
|
"Wrapper": "prc-SelectPanel-Wrapper-OD-e6",
|
|
@@ -23,4 +23,5 @@ var SelectPanel_module_css_default = {
|
|
|
23
23
|
"Backdrop": "prc-SelectPanel-Backdrop-ukvA6",
|
|
24
24
|
"TextInput": "prc-SelectPanel-TextInput--Qqkq"
|
|
25
25
|
};
|
|
26
|
+
//#endregion
|
|
26
27
|
export { SelectPanel_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
|
+
//#region src/SelectPanel/SelectPanelMessage.d.ts
|
|
5
5
|
type SelectPanelMessageProps = {
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
title: string;
|
|
@@ -20,4 +20,5 @@ type SelectPanelMessageProps = {
|
|
|
20
20
|
*/
|
|
21
21
|
action?: React.ReactElement<any>;
|
|
22
22
|
};
|
|
23
|
+
//#endregion
|
|
23
24
|
export { SelectPanelMessageProps };
|
|
@@ -5,7 +5,7 @@ import SelectPanel_module_css_default from "./SelectPanel.module.css.js";
|
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { clsx } from "clsx";
|
|
7
7
|
import { AlertIcon } from "@primer/octicons-react";
|
|
8
|
-
|
|
8
|
+
//#region src/SelectPanel/SelectPanelMessage.tsx
|
|
9
9
|
const SelectPanelMessage = (t0) => {
|
|
10
10
|
const $ = c(17);
|
|
11
11
|
const { variant, title, children, className, icon: CustomIcon, action } = t0;
|
|
@@ -79,4 +79,5 @@ const SelectPanelMessage = (t0) => {
|
|
|
79
79
|
} else t6 = $[16];
|
|
80
80
|
return t6;
|
|
81
81
|
};
|
|
82
|
+
//#endregion
|
|
82
83
|
export { SelectPanelMessage };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { SelectPanel, SelectPanelProps } from "./SelectPanel.js";
|
|
2
1
|
import { FilteredActionListItemProps, GroupedListProps, ItemInput, ListPropsBase } from "../FilteredActionList/types.js";
|
|
2
|
+
import { SelectPanel, SelectPanelProps } from "./SelectPanel.js";
|
|
3
3
|
export { type GroupedListProps, type ItemInput, type FilteredActionListItemProps as ItemProps, SelectPanel, type SelectPanelProps };
|
package/dist/SideNav.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { LinkProps } from "./Link/Link.js";
|
|
|
3
3
|
import React, { PropsWithChildren } from "react";
|
|
4
4
|
import { To } from "history";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
//#region src/SideNav.d.ts
|
|
7
7
|
type SideNavBaseProps = {
|
|
8
8
|
as?: React.ElementType;
|
|
9
9
|
variant?: 'lightweight' | 'normal';
|
|
@@ -52,4 +52,5 @@ declare const _default: typeof SideNav & {
|
|
|
52
52
|
displayName: string;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
+
//#endregion
|
|
55
56
|
export { SideNavLinkProps, SideNavProps, _default as default };
|
package/dist/SideNav.js
CHANGED
|
@@ -3,7 +3,7 @@ import Link from "./Link/Link.js";
|
|
|
3
3
|
import SideNav_module_css_default from "./SideNav.module.css.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
|
-
|
|
6
|
+
//#region src/SideNav.tsx
|
|
7
7
|
function SideNav(t0) {
|
|
8
8
|
const $ = c(10);
|
|
9
9
|
const { as: t1, variant: t2, className, bordered, children, "aria-label": ariaLabel } = t0;
|
|
@@ -93,4 +93,5 @@ const SideNavLink = (t0) => {
|
|
|
93
93
|
SideNavLink.displayName = "SideNav.Link";
|
|
94
94
|
/** @deprecated Use [NavList](https://primer.style/react/NavList) instead */
|
|
95
95
|
var SideNav_default = Object.assign(SideNav, { Link: SideNavLink });
|
|
96
|
+
//#endregion
|
|
96
97
|
export { SideNav_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./SideNav-baa2364d.css";
|
|
2
|
-
|
|
2
|
+
//#region src/SideNav.module.css.js
|
|
3
3
|
var SideNav_module_css_default = {
|
|
4
4
|
"SideNav": "prc-src-SideNav-AIeCp",
|
|
5
5
|
"SideNavBordered": "prc-src-SideNavBordered-SgvyS",
|
|
@@ -8,4 +8,5 @@ var SideNav_module_css_default = {
|
|
|
8
8
|
"SideNavVariant--lightweight": "prc-src-SideNavVariant--lightweight-H08O8",
|
|
9
9
|
"SideNavLinkFull": "prc-src-SideNavLinkFull-MqWHK"
|
|
10
10
|
};
|
|
11
|
+
//#endregion
|
|
11
12
|
export { SideNav_module_css_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { CSSProperties, HTMLProps } from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
//#region src/Skeleton/SkeletonBox.d.ts
|
|
4
4
|
type SkeletonBoxProps = {
|
|
5
5
|
/** Height of the skeleton "box". Accepts any valid CSS `height` value. */height?: CSSProperties['height']; /** Width of the skeleton "box". Accepts any valid CSS `width` value. */
|
|
6
6
|
width?: CSSProperties['width']; /** The className of the skeleton box */
|
|
@@ -9,4 +9,5 @@ type SkeletonBoxProps = {
|
|
|
9
9
|
'data-component'?: string;
|
|
10
10
|
} & HTMLProps<HTMLElement>;
|
|
11
11
|
declare const SkeletonBox: React.ForwardRefExoticComponent<Omit<SkeletonBoxProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
12
|
+
//#endregion
|
|
12
13
|
export { SkeletonBox, SkeletonBoxProps };
|
|
@@ -4,7 +4,7 @@ import skeleton_module_css_default from "./skeleton.module.css.js";
|
|
|
4
4
|
import React, { useEffect, useState } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { clsx } from "clsx";
|
|
7
|
-
|
|
7
|
+
//#region src/Skeleton/SkeletonBox.tsx
|
|
8
8
|
const SkeletonBox = /*#__PURE__*/ React.forwardRef(function SkeletonBox(t0, ref) {
|
|
9
9
|
const $ = c(25);
|
|
10
10
|
let className;
|
|
@@ -99,4 +99,5 @@ const SkeletonBox = /*#__PURE__*/ React.forwardRef(function SkeletonBox(t0, ref)
|
|
|
99
99
|
} else t8 = $[24];
|
|
100
100
|
return t8;
|
|
101
101
|
});
|
|
102
|
+
//#endregion
|
|
102
103
|
export { SkeletonBox };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import "./SkeletonBox-6305aba6.css";
|
|
2
|
-
|
|
2
|
+
//#region src/Skeleton/SkeletonBox.module.css.js
|
|
3
3
|
var SkeletonBox_module_css_default = { "SkeletonBox": "prc-Skeleton-SkeletonBox-e93nW" };
|
|
4
|
+
//#endregion
|
|
4
5
|
export { SkeletonBox_module_css_default as default };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import "./skeleton-bdbe6bf2.css";
|
|
2
|
-
|
|
2
|
+
//#region src/Skeleton/skeleton.module.css.js
|
|
3
3
|
var skeleton_module_css_default = {
|
|
4
4
|
"skeleton": "prc-Skeleton-skeleton-Hkezl",
|
|
5
5
|
"shimmer": "prc-Skeleton-shimmer-mE-VG"
|
|
6
6
|
};
|
|
7
|
+
//#endregion
|
|
7
8
|
export { skeleton_module_css_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AvatarProps } from "../Avatar/Avatar.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
//#region src/SkeletonAvatar/SkeletonAvatar.d.ts
|
|
5
5
|
interface SkeletonAvatarProps extends Omit<React.HTMLProps<HTMLElement>, 'size'> {
|
|
6
6
|
/** Class name for custom styling */
|
|
7
7
|
className?: string;
|
|
@@ -18,4 +18,5 @@ declare function SkeletonAvatar({
|
|
|
18
18
|
ref,
|
|
19
19
|
...rest
|
|
20
20
|
}: SkeletonAvatarProps): React.JSX.Element;
|
|
21
|
+
//#endregion
|
|
21
22
|
export { SkeletonAvatar, type SkeletonAvatarProps };
|