@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
package/dist/Overlay/Overlay.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
|
-
import useIsomorphicLayoutEffect from "../utils/useIsomorphicLayoutEffect.js";
|
|
3
2
|
import { useMergedRefs } from "../hooks/useMergedRefs.js";
|
|
3
|
+
import useIsomorphicLayoutEffect from "../utils/useIsomorphicLayoutEffect.js";
|
|
4
4
|
import { useOverlay } from "../hooks/useOverlay.js";
|
|
5
|
+
import { useFeatureFlag } from "../FeatureFlags/useFeatureFlag.js";
|
|
5
6
|
import Portal_default from "../Portal/index.js";
|
|
6
7
|
import Overlay_module_css_default from "./Overlay.module.css.js";
|
|
7
|
-
import { useFeatureFlag } from "../FeatureFlags/useFeatureFlag.js";
|
|
8
8
|
import React, { useEffect, useRef } from "react";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
import { clsx } from "clsx";
|
|
11
|
-
|
|
11
|
+
//#region src/Overlay/Overlay.tsx
|
|
12
12
|
const animationDuration = 200;
|
|
13
13
|
function getSlideAnimationStartingVector(anchorSide) {
|
|
14
14
|
if (anchorSide !== null && anchorSide !== void 0 && anchorSide.endsWith("bottom")) return {
|
|
@@ -369,4 +369,5 @@ const Overlay = /*#__PURE__*/ React.forwardRef((t0, forwardedRef) => {
|
|
|
369
369
|
} else t13 = $[48];
|
|
370
370
|
return t13;
|
|
371
371
|
});
|
|
372
|
+
//#endregion
|
|
372
373
|
export { BaseOverlay, Overlay as default };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import "./Overlay-214d10dd.css";
|
|
2
|
-
|
|
2
|
+
//#region src/Overlay/Overlay.module.css.js
|
|
3
3
|
var Overlay_module_css_default = {
|
|
4
4
|
"Overlay": "prc-Overlay-Overlay-jfs-T",
|
|
5
5
|
"does-not-exist": "prc-Overlay-does-not-exist-pxAm4",
|
|
6
6
|
"overlay-appear": "prc-Overlay-overlay-appear-JpFey"
|
|
7
7
|
};
|
|
8
|
+
//#endregion
|
|
8
9
|
export { Overlay_module_css_default as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ResponsiveValue } from "../hooks/useResponsiveValue.js";
|
|
2
|
-
import { ForwardRefComponent } from "../utils/polymorphic.js";
|
|
3
1
|
import { AriaRole } from "../utils/types/AriaRole.js";
|
|
4
|
-
import { LinkProps as LinkProps$1 } from "../Link/Link.js";
|
|
5
2
|
import { FCWithSlotMarker } from "../utils/types/Slots.js";
|
|
3
|
+
import { ForwardRefComponent } from "../utils/polymorphic.js";
|
|
4
|
+
import { ResponsiveValue } from "../hooks/useResponsiveValue.js";
|
|
5
|
+
import { LinkProps as LinkProps$1 } from "../Link/Link.js";
|
|
6
6
|
import React from "react";
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
//#region src/PageHeader/PageHeader.d.ts
|
|
9
9
|
type ChildrenPropTypes = {
|
|
10
10
|
className?: string;
|
|
11
11
|
hidden?: boolean | ResponsiveValue<boolean>;
|
|
@@ -53,4 +53,5 @@ declare const PageHeader: ForwardRefComponent<"div", PageHeaderProps> & {
|
|
|
53
53
|
Description: React.FC<React.PropsWithChildren<ChildrenPropTypes>>;
|
|
54
54
|
Navigation: React.FC<React.PropsWithChildren<NavigationProps>>;
|
|
55
55
|
};
|
|
56
|
+
//#endregion
|
|
56
57
|
export { ActionsProps, ChildrenPropTypes, NavigationProps, PageHeader, PageHeaderProps, ParentLinkProps, TitleAreaProps, TitleProps };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
|
+
import { useMergedRefs } from "../hooks/useMergedRefs.js";
|
|
3
|
+
import { useProvidedRefOrCreate } from "../hooks/useProvidedRefOrCreate.js";
|
|
4
|
+
import { warning } from "../utils/warning.js";
|
|
5
|
+
import { isSlot } from "../utils/is-slot.js";
|
|
6
|
+
import { useFeatureFlag } from "../FeatureFlags/useFeatureFlag.js";
|
|
2
7
|
import { isResponsiveValue } from "../hooks/useResponsiveValue.js";
|
|
8
|
+
import { getResponsiveAttributes } from "../internal/utils/getResponsiveAttributes.js";
|
|
3
9
|
import Heading from "../Heading/Heading.js";
|
|
4
10
|
import Link from "../Link/Link.js";
|
|
5
|
-
import { getResponsiveAttributes } from "../internal/utils/getResponsiveAttributes.js";
|
|
6
11
|
import { areAllValuesTheSame, haveRegularAndWideSameValue } from "../utils/getBreakpointDeclarations.js";
|
|
7
|
-
import { warning } from "../utils/warning.js";
|
|
8
|
-
import { useMergedRefs } from "../hooks/useMergedRefs.js";
|
|
9
|
-
import { useProvidedRefOrCreate } from "../hooks/useProvidedRefOrCreate.js";
|
|
10
|
-
import { useFeatureFlag } from "../FeatureFlags/useFeatureFlag.js";
|
|
11
12
|
import PageHeader_module_css_default from "./PageHeader.module.css.js";
|
|
12
|
-
import { isSlot } from "../utils/is-slot.js";
|
|
13
13
|
import React, { useEffect, useRef } from "react";
|
|
14
14
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
import { clsx } from "clsx";
|
|
16
16
|
import { ArrowLeftIcon } from "@primer/octicons-react";
|
|
17
|
-
|
|
17
|
+
//#region src/PageHeader/PageHeader.tsx
|
|
18
18
|
const hiddenOnRegularAndWide = {
|
|
19
19
|
narrow: false,
|
|
20
20
|
regular: true,
|
|
@@ -687,4 +687,5 @@ function _temp(element) {
|
|
|
687
687
|
function _temp2(child_0) {
|
|
688
688
|
return child_0 instanceof HTMLElement && child_0.getAttribute("data-component") === "TitleArea";
|
|
689
689
|
}
|
|
690
|
+
//#endregion
|
|
690
691
|
export { PageHeader };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./PageHeader-b12247c8.css";
|
|
2
|
-
|
|
2
|
+
//#region src/PageHeader/PageHeader.module.css.js
|
|
3
3
|
var PageHeader_module_css_default = {
|
|
4
4
|
"PageHeader": "prc-PageHeader-PageHeader-YLwBQ",
|
|
5
5
|
"ContextArea": "prc-PageHeader-ContextArea-ueeWv",
|
|
@@ -17,4 +17,5 @@ var PageHeader_module_css_default = {
|
|
|
17
17
|
"Description": "prc-PageHeader-Description-w-ejP",
|
|
18
18
|
"Navigation": "prc-PageHeader-Navigation--uLav"
|
|
19
19
|
};
|
|
20
|
+
//#endregion
|
|
20
21
|
export { PageHeader_module_css_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
//#region src/PageLayout/DragHandle.d.ts
|
|
4
4
|
type DragHandleProps = {
|
|
5
5
|
/** Ref for imperative ARIA updates during drag */handleRef: React.RefObject<HTMLDivElement>; /** Called once when drag starts with initial cursor X position */
|
|
6
6
|
onDragStart: (clientX: number) => void; /** Called on each drag tick with cursor position (pointer) or delta (keyboard) */
|
|
@@ -41,4 +41,5 @@ type DragHandleProps = {
|
|
|
41
41
|
* (via the `onDrag` callback); this component only reports interactions.
|
|
42
42
|
*/
|
|
43
43
|
declare const DragHandle: React.NamedExoticComponent<DragHandleProps>;
|
|
44
|
+
//#endregion
|
|
44
45
|
export { DragHandle, DragHandleProps };
|
|
@@ -4,7 +4,7 @@ import { defaultFormatValueText } from "./usePaneWidth.js";
|
|
|
4
4
|
import { removeDraggingStyles, setDraggingStyles } from "./paneUtils.js";
|
|
5
5
|
import React, { memo } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
//#region src/PageLayout/DragHandle.tsx
|
|
8
8
|
const isArrowKey = (key) => key === "ArrowLeft" || key === "ArrowRight" || key === "ArrowUp" || key === "ArrowDown";
|
|
9
9
|
const isShrinkKey = (key) => key === "ArrowLeft" || key === "ArrowDown";
|
|
10
10
|
/**
|
|
@@ -220,4 +220,5 @@ const DragHandle = /*#__PURE__*/ memo(function DragHandle(t0) {
|
|
|
220
220
|
} else t16 = $[40];
|
|
221
221
|
return t16;
|
|
222
222
|
});
|
|
223
|
+
//#endregion
|
|
223
224
|
export { DragHandle };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ResponsiveValue } from "../hooks/useResponsiveValue.js";
|
|
2
1
|
import { FCWithSlotMarker, WithSlotMarker } from "../utils/types/Slots.js";
|
|
2
|
+
import { ResponsiveValue } from "../hooks/useResponsiveValue.js";
|
|
3
3
|
import { CustomWidthOptions, PaneWidth, PaneWidthValue } from "./usePaneWidth.js";
|
|
4
4
|
import React from "react";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
//#region src/PageLayout/PageLayout.d.ts
|
|
7
7
|
declare const SPACING_MAP: {
|
|
8
8
|
none: number;
|
|
9
9
|
condensed: number;
|
|
@@ -289,4 +289,5 @@ declare const PageLayout: React.FC<React.PropsWithChildren<PageLayoutProps>> & {
|
|
|
289
289
|
Sidebar: WithSlotMarker<typeof Sidebar>;
|
|
290
290
|
Footer: FCWithSlotMarker<React.PropsWithChildren<PageLayoutFooterProps>>;
|
|
291
291
|
};
|
|
292
|
+
//#endregion
|
|
292
293
|
export { PageLayout, PageLayoutContentProps, PageLayoutFooterProps, PageLayoutHeaderProps, PageLayoutPaneBaseProps, PageLayoutPaneProps, PageLayoutProps, PageLayoutSidebarBaseProps, PageLayoutSidebarProps };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
2
|
import { useMergedRefs } from "../hooks/useMergedRefs.js";
|
|
3
3
|
import { useId as useId$1 } from "../hooks/useId.js";
|
|
4
|
-
import {
|
|
4
|
+
import { warning } from "../utils/warning.js";
|
|
5
5
|
import { useSlots } from "../hooks/useSlots.js";
|
|
6
|
+
import { isResponsiveValue } from "../hooks/useResponsiveValue.js";
|
|
6
7
|
import { useOverflow } from "../hooks/useOverflow.js";
|
|
7
|
-
import { warning } from "../utils/warning.js";
|
|
8
8
|
import { getResponsiveAttributes } from "../internal/utils/getResponsiveAttributes.js";
|
|
9
9
|
import PageLayout_module_css_default from "./PageLayout.module.css.js";
|
|
10
10
|
import { isCustomWidthOptions, isPaneWidth, updateAriaValues, usePaneWidth } from "./usePaneWidth.js";
|
|
@@ -12,7 +12,7 @@ import { DragHandle } from "./DragHandle.js";
|
|
|
12
12
|
import React, { memo, useRef } from "react";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import { clsx } from "clsx";
|
|
15
|
-
|
|
15
|
+
//#region src/PageLayout/PageLayout.tsx
|
|
16
16
|
const PageLayoutContext = /*#__PURE__*/ React.createContext({
|
|
17
17
|
padding: "normal",
|
|
18
18
|
rowGap: "normal",
|
|
@@ -1275,4 +1275,5 @@ Content.__SLOT__ = Symbol("PageLayout.Content");
|
|
|
1275
1275
|
Pane.__SLOT__ = Symbol("PageLayout.Pane");
|
|
1276
1276
|
Sidebar.__SLOT__ = Symbol("PageLayout.Sidebar");
|
|
1277
1277
|
Footer.__SLOT__ = Symbol("PageLayout.Footer");
|
|
1278
|
+
//#endregion
|
|
1278
1279
|
export { PageLayout };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./PageLayout-3444a142.css";
|
|
2
|
-
|
|
2
|
+
//#region src/PageLayout/PageLayout.module.css.js
|
|
3
3
|
var PageLayout_module_css_default = {
|
|
4
4
|
"paneMaxWidthDiffBreakpoint": "1280",
|
|
5
5
|
"paneMaxWidthDiffDefault": "511",
|
|
@@ -27,4 +27,5 @@ var PageLayout_module_css_default = {
|
|
|
27
27
|
"Sidebar": "prc-PageLayout-Sidebar-iciWg",
|
|
28
28
|
"SidebarVerticalDivider": "prc-PageLayout-SidebarVerticalDivider-0Rl0V"
|
|
29
29
|
};
|
|
30
|
+
//#endregion
|
|
30
31
|
export { PageLayout_module_css_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PageLayout, PageLayoutContentProps, PageLayoutFooterProps, PageLayoutHeaderProps, PageLayoutPaneBaseProps, PageLayoutPaneProps, PageLayoutProps, PageLayoutSidebarBaseProps, PageLayoutSidebarProps } from "./PageLayout.js";
|
|
2
1
|
import { CustomWidthOptions, PaneWidth, PaneWidthValue, UsePaneWidthOptions, UsePaneWidthResult, defaultPaneWidth, usePaneWidth } from "./usePaneWidth.js";
|
|
2
|
+
import { PageLayout, PageLayoutContentProps, PageLayoutFooterProps, PageLayoutHeaderProps, PageLayoutPaneBaseProps, PageLayoutPaneProps, PageLayoutProps, PageLayoutSidebarBaseProps, PageLayoutSidebarProps } from "./PageLayout.js";
|
|
3
3
|
import { DragHandle, DragHandleProps } from "./DragHandle.js";
|
|
4
4
|
export { type CustomWidthOptions, DragHandle, type DragHandleProps, PageLayout, PageLayoutContentProps, PageLayoutFooterProps, PageLayoutHeaderProps, PageLayoutPaneBaseProps, PageLayoutPaneProps, PageLayoutProps, PageLayoutSidebarBaseProps, PageLayoutSidebarProps, type PaneWidth, type PaneWidthValue, type UsePaneWidthOptions, type UsePaneWidthResult, defaultPaneWidth, usePaneWidth };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/PageLayout/paneUtils.ts
|
|
2
2
|
const DATA_DRAGGING_ATTR = "data-dragging";
|
|
3
3
|
/** Apply visual feedback and performance optimizations during drag */
|
|
4
4
|
function setDraggingStyles({ handle, pane, contentWrapper }) {
|
|
@@ -16,4 +16,5 @@ function removeDraggingStyles({ handle, pane, contentWrapper }) {
|
|
|
16
16
|
pane === null || pane === void 0 || pane.removeAttribute(DATA_DRAGGING_ATTR);
|
|
17
17
|
contentWrapper === null || contentWrapper === void 0 || contentWrapper.removeAttribute(DATA_DRAGGING_ATTR);
|
|
18
18
|
}
|
|
19
|
+
//#endregion
|
|
19
20
|
export { removeDraggingStyles, setDraggingStyles };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
//#region src/PageLayout/usePaneWidth.d.ts
|
|
4
4
|
type Measurement = `${number}px`;
|
|
5
5
|
type CustomWidthOptions = {
|
|
6
6
|
min: Measurement;
|
|
@@ -76,4 +76,5 @@ declare function usePaneWidth({
|
|
|
76
76
|
currentWidth: controlledWidth,
|
|
77
77
|
formatValueText
|
|
78
78
|
}: UsePaneWidthOptions): UsePaneWidthResult;
|
|
79
|
+
//#endregion
|
|
79
80
|
export { CustomWidthOptions, PaneWidth, PaneWidthValue, UsePaneWidthOptions, UsePaneWidthResult, defaultPaneWidth, usePaneWidth };
|
|
@@ -3,7 +3,7 @@ import { canUseDOM } from "../utils/environment.js";
|
|
|
3
3
|
import useIsomorphicLayoutEffect from "../utils/useIsomorphicLayoutEffect.js";
|
|
4
4
|
import PageLayout_module_css_default from "./PageLayout.module.css.js";
|
|
5
5
|
import React, { startTransition } from "react";
|
|
6
|
-
|
|
6
|
+
//#region src/PageLayout/usePaneWidth.ts
|
|
7
7
|
/**
|
|
8
8
|
* Default value for --pane-max-width-diff CSS variable.
|
|
9
9
|
* Imported from CSS to ensure JS fallback matches the CSS default.
|
|
@@ -367,4 +367,5 @@ function usePaneWidth(t0) {
|
|
|
367
367
|
} else t15 = $[43];
|
|
368
368
|
return t15;
|
|
369
369
|
}
|
|
370
|
+
//#endregion
|
|
370
371
|
export { DEFAULT_MAX_WIDTH_DIFF, DEFAULT_SIDEBAR_MAX_WIDTH_DIFF, defaultFormatValueText, defaultPaneWidth, getDefaultPaneWidth, getMaxWidthDiffFromViewport, isCustomWidthOptions, isPaneWidth, updateAriaValues, usePaneWidth };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
//#region src/Pagehead/Pagehead.d.ts
|
|
4
4
|
declare const Pagehead: ({
|
|
5
5
|
as: BaseComponent,
|
|
6
6
|
className,
|
|
@@ -12,4 +12,5 @@ declare const Pagehead: ({
|
|
|
12
12
|
type PageheadProps = React.ComponentPropsWithoutRef<'div'> & {
|
|
13
13
|
as?: React.ElementType;
|
|
14
14
|
};
|
|
15
|
+
//#endregion
|
|
15
16
|
export { PageheadProps, Pagehead as default };
|
|
@@ -2,7 +2,7 @@ import { c } from "../utils/react-compiler-runtime.js";
|
|
|
2
2
|
import Pagehead_module_css_default from "./Pagehead.module.css.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
|
-
|
|
5
|
+
//#region src/Pagehead/Pagehead.tsx
|
|
6
6
|
const Pagehead = (t0) => {
|
|
7
7
|
const $ = c(10);
|
|
8
8
|
let className;
|
|
@@ -40,4 +40,5 @@ const Pagehead = (t0) => {
|
|
|
40
40
|
} else t3 = $[9];
|
|
41
41
|
return t3;
|
|
42
42
|
};
|
|
43
|
+
//#endregion
|
|
43
44
|
export { Pagehead as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import "./Pagehead-0744ffce.css";
|
|
2
|
-
|
|
2
|
+
//#region src/Pagehead/Pagehead.module.css.js
|
|
3
3
|
var Pagehead_module_css_default = { "Pagehead": "prc-Pagehead-Pagehead-DKxNa" };
|
|
4
|
+
//#endregion
|
|
4
5
|
export { Pagehead_module_css_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PageDataProps } from "./model.js";
|
|
2
1
|
import { ResponsiveValue } from "../hooks/useResponsiveValue.js";
|
|
2
|
+
import { PageDataProps } from "./model.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
//#region src/Pagination/Pagination.d.ts
|
|
6
6
|
type PageProps = {
|
|
7
7
|
key: string;
|
|
8
8
|
children: React.ReactNode;
|
|
@@ -33,4 +33,5 @@ declare function Pagination({
|
|
|
33
33
|
renderPage,
|
|
34
34
|
...rest
|
|
35
35
|
}: PaginationProps): React.JSX.Element;
|
|
36
|
+
//#endregion
|
|
36
37
|
export { PageProps, PaginationProps, Pagination as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
|
-
import { buildComponentData, buildPaginationModel } from "./model.js";
|
|
3
2
|
import { viewportRanges } from "../hooks/useResponsiveValue.js";
|
|
3
|
+
import { buildComponentData, buildPaginationModel } from "./model.js";
|
|
4
4
|
import Pagination_module_css_default from "./Pagination.module.css.js";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { clsx } from "clsx";
|
|
7
7
|
import { ChevronLeftIcon, ChevronRightIcon } from "@primer/octicons-react";
|
|
8
|
-
|
|
8
|
+
//#region src/Pagination/Pagination.tsx
|
|
9
9
|
const getViewportRangesToHidePages = (showPages) => {
|
|
10
10
|
if (showPages && typeof showPages !== "boolean") return Object.keys(showPages).filter((key) => !showPages[key]);
|
|
11
11
|
if (showPages) return [];
|
|
@@ -213,4 +213,5 @@ function defaultHrefBuilder(pageNum) {
|
|
|
213
213
|
return `#${pageNum}`;
|
|
214
214
|
}
|
|
215
215
|
function noop() {}
|
|
216
|
+
//#endregion
|
|
216
217
|
export { Pagination as default };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import "./Pagination-16a5b4c6.css";
|
|
2
|
-
|
|
2
|
+
//#region src/Pagination/Pagination.module.css.js
|
|
3
3
|
var Pagination_module_css_default = {
|
|
4
4
|
"Page": "prc-Pagination-Page-Etgqf",
|
|
5
5
|
"PaginationContainer": "prc-Pagination-PaginationContainer-HEhGo",
|
|
6
6
|
"TablePaginationSteps": "prc-Pagination-TablePaginationSteps-cAXs3"
|
|
7
7
|
};
|
|
8
|
+
//#endregion
|
|
8
9
|
export { Pagination_module_css_default as default };
|
package/dist/Pagination/index.js
CHANGED
package/dist/Pagination/model.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/Pagination/model.tsx
|
|
2
2
|
function buildPaginationModel(pageCount, currentPage, showPages, marginPageCount, surroundingPageCount) {
|
|
3
3
|
const prev = {
|
|
4
4
|
type: "PREV",
|
|
@@ -119,4 +119,5 @@ function buildComponentData(page, hrefBuilder, onClick) {
|
|
|
119
119
|
content
|
|
120
120
|
};
|
|
121
121
|
}
|
|
122
|
+
//#endregion
|
|
122
123
|
export { buildComponentData, buildPaginationModel };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { HTMLProps } from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
//#region src/Popover/Popover.d.ts
|
|
4
4
|
type CaretPosition = 'top' | 'bottom' | 'left' | 'right' | 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right' | 'left-bottom' | 'left-top' | 'right-bottom' | 'right-top';
|
|
5
5
|
type StyledPopoverProps = {
|
|
6
6
|
caret?: CaretPosition;
|
|
@@ -22,4 +22,5 @@ type PopoverContentProps = {
|
|
|
22
22
|
declare const _default: React.ForwardRefExoticComponent<Omit<PopoverProps, "ref"> & React.RefAttributes<HTMLDivElement>> & {
|
|
23
23
|
Content: React.FC<React.PropsWithChildren<PopoverContentProps>>;
|
|
24
24
|
};
|
|
25
|
+
//#endregion
|
|
25
26
|
export { PopoverContentProps, PopoverProps, _default as default };
|
package/dist/Popover/Popover.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
|
-
import Popover_module_css_default from "./Popover.module.css.js";
|
|
3
|
-
import { useOnEscapePress } from "../hooks/useOnEscapePress.js";
|
|
4
2
|
import { useOnOutsideClick } from "../hooks/useOnOutsideClick.js";
|
|
3
|
+
import { useOnEscapePress } from "../hooks/useOnEscapePress.js";
|
|
4
|
+
import Popover_module_css_default from "./Popover.module.css.js";
|
|
5
5
|
import React, { useRef } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import { clsx } from "clsx";
|
|
8
|
-
|
|
8
|
+
//#region src/Popover/Popover.tsx
|
|
9
9
|
const EMPTY_IGNORE_CLICK_REFS = [];
|
|
10
10
|
const PopoverContext = /*#__PURE__*/ React.createContext(false);
|
|
11
11
|
const Popover = /*#__PURE__*/ React.forwardRef(function Popover(t0, forwardRef) {
|
|
@@ -164,4 +164,5 @@ const PopoverContent = (t0) => {
|
|
|
164
164
|
PopoverContent.displayName = "Popover.Content";
|
|
165
165
|
var Popover_default = Object.assign(Popover, { Content: PopoverContent });
|
|
166
166
|
function _temp() {}
|
|
167
|
+
//#endregion
|
|
167
168
|
export { Popover_default as default };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import "./Popover-a93df39c.css";
|
|
2
|
-
|
|
2
|
+
//#region src/Popover/Popover.module.css.js
|
|
3
3
|
var Popover_module_css_default = {
|
|
4
4
|
"Popover": "prc-Popover-Popover-7QIH8",
|
|
5
5
|
"PopoverContent": "prc-Popover-PopoverContent-2x-Aj"
|
|
6
6
|
};
|
|
7
|
+
//#endregion
|
|
7
8
|
export { Popover_module_css_default as default };
|
package/dist/Portal/Portal.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
//#region src/Portal/Portal.d.ts
|
|
4
4
|
interface PortalProps {
|
|
5
5
|
/**
|
|
6
6
|
* Called when this portal is added to the DOM
|
|
@@ -18,4 +18,5 @@ interface PortalProps {
|
|
|
18
18
|
* @see https://reactjs.org/docs/portals.html
|
|
19
19
|
*/
|
|
20
20
|
declare const Portal: React.FC<React.PropsWithChildren<PortalProps>>;
|
|
21
|
+
//#endregion
|
|
21
22
|
export { Portal, PortalProps };
|
package/dist/Portal/Portal.js
CHANGED
|
@@ -4,7 +4,7 @@ import { PortalContext } from "./PortalContext.js";
|
|
|
4
4
|
import { DEFAULT_PORTAL_CONTAINER_NAME, ensureDefaultPortal, getPortalRoot } from "./portalRoot.js";
|
|
5
5
|
import React, { useContext, useSyncExternalStore } from "react";
|
|
6
6
|
import { createPortal } from "react-dom";
|
|
7
|
-
|
|
7
|
+
//#region src/Portal/Portal.tsx
|
|
8
8
|
const subscribe = () => () => {};
|
|
9
9
|
const getSnapshot = () => true;
|
|
10
10
|
const getServerSnapshot = () => false;
|
|
@@ -101,4 +101,5 @@ function _temp() {
|
|
|
101
101
|
div.style.zIndex = "1";
|
|
102
102
|
return div;
|
|
103
103
|
}
|
|
104
|
+
//#endregion
|
|
104
105
|
export { Portal };
|
package/dist/Portal/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PortalContext } from "./PortalContext.js";
|
|
2
2
|
import { registerPortalRoot } from "./portalRoot.js";
|
|
3
3
|
import { Portal } from "./Portal.js";
|
|
4
|
-
|
|
4
|
+
//#region src/Portal/index.ts
|
|
5
5
|
var Portal_default = Portal;
|
|
6
|
+
//#endregion
|
|
6
7
|
export { PortalContext, Portal_default as default, registerPortalRoot };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region src/Portal/portalRoot.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* Register a container to serve as a portal root.
|
|
3
4
|
* @param root The element that will be the root for portals created in this container
|
|
@@ -5,4 +6,5 @@
|
|
|
5
6
|
* If name is not specified, registers the default portal root.
|
|
6
7
|
*/
|
|
7
8
|
declare function registerPortalRoot(root: Element, name?: string): void;
|
|
9
|
+
//#endregion
|
|
8
10
|
export { registerPortalRoot };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/Portal/portalRoot.ts
|
|
2
2
|
const PRIMER_PORTAL_ROOT_ID = "__primerPortalRoot__";
|
|
3
3
|
const DEFAULT_PORTAL_CONTAINER_NAME = "__default__";
|
|
4
4
|
const portalRootRegistry = {};
|
|
@@ -32,4 +32,5 @@ function ensureDefaultPortal() {
|
|
|
32
32
|
function getPortalRoot(name) {
|
|
33
33
|
return portalRootRegistry[name];
|
|
34
34
|
}
|
|
35
|
+
//#endregion
|
|
35
36
|
export { DEFAULT_PORTAL_CONTAINER_NAME, ensureDefaultPortal, getPortalRoot, registerPortalRoot };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
//#region src/ProgressBar/ProgressBar.d.ts
|
|
4
4
|
type ProgressProp = {
|
|
5
5
|
className?: string;
|
|
6
6
|
progress?: string | number;
|
|
@@ -19,4 +19,5 @@ type ProgressBarProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
|
19
19
|
bg?: string;
|
|
20
20
|
className?: string;
|
|
21
21
|
} & StyledProgressContainerProps & ProgressProp;
|
|
22
|
+
//#endregion
|
|
22
23
|
export { ProgressBarItemProps, ProgressBarProps };
|
|
@@ -3,7 +3,7 @@ import ProgressBar_module_css_default from "./ProgressBar.module.css.js";
|
|
|
3
3
|
import React, { forwardRef } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
|
-
|
|
6
|
+
//#region src/ProgressBar/ProgressBar.tsx
|
|
7
7
|
const Item = /*#__PURE__*/ forwardRef((t0, forwardRef) => {
|
|
8
8
|
const $ = c(32);
|
|
9
9
|
let ariaLabel;
|
|
@@ -210,4 +210,5 @@ const ProgressBar = /*#__PURE__*/ forwardRef((t0, forwardRef) => {
|
|
|
210
210
|
return t7;
|
|
211
211
|
});
|
|
212
212
|
ProgressBar.displayName = "ProgressBar";
|
|
213
|
+
//#endregion
|
|
213
214
|
export { Item, ProgressBar };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import "./ProgressBar-3d1db6c7.css";
|
|
2
|
-
|
|
2
|
+
//#region src/ProgressBar/ProgressBar.module.css.js
|
|
3
3
|
var ProgressBar_module_css_default = {
|
|
4
4
|
"ProgressBarItem": "prc-ProgressBar-ProgressBarItem-mDIlB",
|
|
5
5
|
"shimmer": "prc-ProgressBar-shimmer-hIHBF",
|
|
6
6
|
"ProgressBarContainer": "prc-ProgressBar-ProgressBarContainer-tCYE2"
|
|
7
7
|
};
|
|
8
|
+
//#endregion
|
|
8
9
|
export { ProgressBar_module_css_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProgressBarItemProps, ProgressBarProps } from "./ProgressBar.js";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
//#region src/ProgressBar/index.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Collection of ProgressBar related components.
|
|
6
6
|
*/
|
|
@@ -25,4 +25,5 @@ declare const ProgressBar: import("react").ForwardRefExoticComponent<import("rea
|
|
|
25
25
|
bg?: string;
|
|
26
26
|
} & import("react").RefAttributes<HTMLSpanElement>>;
|
|
27
27
|
};
|
|
28
|
+
//#endregion
|
|
28
29
|
export { ProgressBar, type ProgressBarItemProps, type ProgressBarProps };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Item, ProgressBar as ProgressBar$1 } from "./ProgressBar.js";
|
|
2
|
-
|
|
2
|
+
//#region src/ProgressBar/index.ts
|
|
3
3
|
/**
|
|
4
4
|
* Collection of ProgressBar related components.
|
|
5
5
|
*/
|
|
6
6
|
const ProgressBar = Object.assign(ProgressBar$1, { Item });
|
|
7
|
+
//#endregion
|
|
7
8
|
export { ProgressBar };
|
package/dist/Radio/Radio.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { WithSlotMarker } from "../utils/types/Slots.js";
|
|
2
2
|
import React, { InputHTMLAttributes } from "react";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
//#region src/Radio/Radio.d.ts
|
|
5
5
|
type RadioProps = {
|
|
6
6
|
/**
|
|
7
7
|
* A unique value that is never shown to the user.
|
|
@@ -34,4 +34,5 @@ type RadioProps = {
|
|
|
34
34
|
*/
|
|
35
35
|
declare const Radio: React.ForwardRefExoticComponent<Omit<RadioProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
36
36
|
declare const _default: WithSlotMarker<typeof Radio>;
|
|
37
|
+
//#endregion
|
|
37
38
|
export { RadioProps, _default as default };
|
package/dist/Radio/Radio.js
CHANGED
|
@@ -5,7 +5,7 @@ import Radio_module_css_default from "./Radio.module.css.js";
|
|
|
5
5
|
import React, { useContext } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import { clsx } from "clsx";
|
|
8
|
-
|
|
8
|
+
//#region src/Radio/Radio.tsx
|
|
9
9
|
/**
|
|
10
10
|
* An accessible, native radio component for selecting one option from a list.
|
|
11
11
|
*/
|
|
@@ -97,4 +97,5 @@ const Radio = /*#__PURE__*/ React.forwardRef((t0, ref) => {
|
|
|
97
97
|
});
|
|
98
98
|
Radio.displayName = "Radio";
|
|
99
99
|
Radio.__SLOT__ = Symbol("Radio");
|
|
100
|
+
//#endregion
|
|
100
101
|
export { Radio as default };
|