@primer/react 38.46.1-rc.41e2a6837 → 38.47.0-rc.0f998b98f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -1
- package/dist/ActionBar/ActionBar.d.ts +1 -2
- package/dist/ActionBar/ActionBar.js +8 -9
- package/dist/ActionBar/ActionBar.module.css.js +1 -2
- package/dist/ActionBar/index.d.ts +1 -3
- package/dist/ActionBar/index.js +1 -2
- package/dist/ActionList/ActionList.module.css.js +1 -2
- package/dist/ActionList/ActionListContainerContext.js +1 -2
- package/dist/ActionList/Description.d.ts +1 -2
- package/dist/ActionList/Description.js +2 -3
- package/dist/ActionList/Divider.d.ts +1 -2
- package/dist/ActionList/Divider.js +1 -2
- package/dist/ActionList/Group.d.ts +2 -3
- package/dist/ActionList/Group.js +3 -4
- package/dist/ActionList/Group.module.css.js +1 -2
- package/dist/ActionList/GroupContext.js +1 -2
- package/dist/ActionList/GroupHeadingTrailingAction.d.ts +1 -2
- package/dist/ActionList/GroupHeadingTrailingAction.js +1 -2
- package/dist/ActionList/Heading.d.ts +1 -2
- package/dist/ActionList/Heading.js +4 -5
- package/dist/ActionList/Heading.module.css.js +1 -2
- package/dist/ActionList/Item.js +11 -12
- package/dist/ActionList/LinkItem.d.ts +1 -2
- package/dist/ActionList/LinkItem.js +3 -4
- package/dist/ActionList/List.js +9 -10
- package/dist/ActionList/Selection.js +5 -6
- package/dist/ActionList/TrailingAction.d.ts +1 -2
- package/dist/ActionList/TrailingAction.js +2 -3
- package/dist/ActionList/Visuals.d.ts +1 -2
- package/dist/ActionList/Visuals.js +2 -3
- package/dist/ActionList/index.d.ts +7 -7
- package/dist/ActionList/index.js +7 -8
- package/dist/ActionList/shared.d.ts +1 -2
- package/dist/ActionList/shared.js +1 -2
- package/dist/ActionMenu/ActionMenu.d.ts +3 -4
- package/dist/ActionMenu/ActionMenu.js +408 -170
- package/dist/ActionMenu/ActionMenu.module.css.js +1 -2
- package/dist/AnchoredOverlay/AnchoredOverlay.d.ts +2 -3
- package/dist/AnchoredOverlay/AnchoredOverlay.js +7 -8
- package/dist/AnchoredOverlay/AnchoredOverlay.module.css.js +1 -2
- package/dist/Autocomplete/Autocomplete.d.ts +3 -4
- package/dist/Autocomplete/Autocomplete.js +2 -3
- package/dist/Autocomplete/AutocompleteContext.js +1 -2
- package/dist/Autocomplete/AutocompleteInput.d.ts +2 -3
- package/dist/Autocomplete/AutocompleteInput.js +3 -4
- package/dist/Autocomplete/AutocompleteMenu.d.ts +2 -3
- package/dist/Autocomplete/AutocompleteMenu.js +5 -6
- package/dist/Autocomplete/AutocompleteMenu.module.css.js +1 -2
- package/dist/Autocomplete/AutocompleteOverlay.d.ts +2 -3
- package/dist/Autocomplete/AutocompleteOverlay.js +3 -4
- package/dist/Autocomplete/AutocompleteOverlay.module.css.js +1 -2
- package/dist/Avatar/Avatar.d.ts +1 -2
- package/dist/Avatar/Avatar.js +0 -1
- package/dist/Avatar/Avatar.module.css.js +1 -2
- package/dist/AvatarStack/AvatarStack.d.ts +1 -2
- package/dist/AvatarStack/AvatarStack.js +1 -2
- package/dist/AvatarStack/AvatarStack.module.css.js +1 -2
- package/dist/Banner/Banner.d.ts +1 -2
- package/dist/Banner/Banner.js +5 -6
- package/dist/Banner/Banner.module.css.js +1 -2
- package/dist/Banner/index.d.ts +2 -3
- package/dist/Banner/index.js +1 -2
- package/dist/BaseStyles.d.ts +0 -2
- package/dist/BaseStyles.js +1 -2
- package/dist/BaseStyles.module.css.js +1 -2
- package/dist/Blankslate/Blankslate.d.ts +1 -2
- package/dist/Blankslate/Blankslate.js +2 -3
- package/dist/Blankslate/Blankslate.module.css.js +1 -2
- package/dist/Blankslate/BlankslateContext.js +1 -2
- package/dist/Blankslate/index.d.ts +1 -2
- package/dist/Blankslate/index.js +1 -2
- package/dist/BranchName/BranchName.d.ts +1 -2
- package/dist/BranchName/BranchName.js +2 -3
- package/dist/BranchName/BranchName.module.css.js +1 -2
- package/dist/Breadcrumbs/Breadcrumbs.d.ts +1 -2
- package/dist/Breadcrumbs/Breadcrumbs.js +6 -7
- package/dist/Breadcrumbs/Breadcrumbs.module.css.js +1 -2
- package/dist/Button/Button.d.ts +2 -3
- package/dist/Button/Button.js +1 -2
- package/dist/Button/ButtonBase.d.ts +1 -2
- package/dist/Button/ButtonBase.js +3 -4
- package/dist/Button/ButtonBase.module.css.js +1 -2
- package/dist/Button/IconButton.d.ts +2 -3
- package/dist/Button/IconButton.js +3 -4
- package/dist/Button/LinkButton.d.ts +2 -3
- package/dist/Button/LinkButton.js +1 -2
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/types.d.ts +1 -2
- package/dist/ButtonGroup/ButtonGroup.d.ts +1 -2
- package/dist/ButtonGroup/ButtonGroup.js +3 -4
- package/dist/ButtonGroup/ButtonGroup.module.css.js +1 -2
- package/dist/Card/Card.d.ts +1 -2
- package/dist/Card/Card.js +3 -4
- package/dist/Card/Card.module.css.js +1 -2
- package/dist/Card/index.d.ts +1 -2
- package/dist/Card/index.js +1 -2
- package/dist/Checkbox/Checkbox.d.ts +2 -3
- package/dist/Checkbox/Checkbox.js +3 -4
- package/dist/Checkbox/Checkbox.module.css.js +1 -2
- package/dist/Checkbox/shared.module.css.js +1 -2
- package/dist/CheckboxGroup/CheckboxGroup.d.ts +2 -3
- package/dist/CheckboxGroup/CheckboxGroup.js +6 -7
- package/dist/CheckboxGroup/CheckboxGroupContext.js +1 -2
- package/dist/CircleBadge/CircleBadge.d.ts +0 -2
- package/dist/CircleBadge/CircleBadge.js +1 -2
- package/dist/CircleBadge/CircleBadge.module.css.js +1 -2
- package/dist/ConfirmationDialog/ConfirmationDialog.d.ts +1 -2
- package/dist/ConfirmationDialog/ConfirmationDialog.js +1 -2
- package/dist/ConfirmationDialog/useConfirm.d.ts +1 -2
- package/dist/ConfirmationDialog/useConfirm.js +1 -2
- package/dist/CounterLabel/CounterLabel.d.ts +1 -2
- package/dist/CounterLabel/CounterLabel.js +1 -2
- package/dist/CounterLabel/CounterLabel.module.css.js +1 -2
- package/dist/DataTable/DataTable.d.ts +5 -5
- package/dist/DataTable/DataTable.js +32 -30
- package/dist/DataTable/ErrorDialog.d.ts +1 -2
- package/dist/DataTable/ErrorDialog.js +1 -2
- package/dist/DataTable/Pagination.d.ts +1 -2
- package/dist/DataTable/Pagination.js +2 -3
- package/dist/DataTable/Pagination.module.css.js +1 -2
- package/dist/DataTable/Table.d.ts +3 -4
- package/dist/DataTable/Table.js +4 -5
- package/dist/DataTable/Table.module.css.js +1 -2
- package/dist/DataTable/TableBulkActions.d.ts +1 -2
- package/dist/DataTable/TableBulkActions.js +2 -3
- package/dist/DataTable/TableBulkActions.module.css.js +1 -2
- package/dist/DataTable/TableGroup.d.ts +3 -2
- package/dist/DataTable/TableGroup.js +195 -171
- package/dist/DataTable/TableGroupContext.js +1 -2
- package/dist/DataTable/column.d.ts +1 -2
- package/dist/DataTable/column.js +1 -2
- package/dist/DataTable/index.d.ts +4 -5
- package/dist/DataTable/index.js +3 -4
- package/dist/DataTable/row.d.ts +0 -2
- package/dist/DataTable/sorting.d.ts +0 -2
- package/dist/DataTable/sorting.js +1 -2
- package/dist/DataTable/useTable.js +2 -3
- package/dist/DataTable/utils.d.ts +0 -2
- package/dist/Details/Details.d.ts +1 -2
- package/dist/Details/Details.js +2 -3
- package/dist/Details/Details.module.css.js +1 -2
- package/dist/Dialog/Dialog.d.ts +2 -3
- package/dist/Dialog/Dialog.js +7 -8
- package/dist/Dialog/Dialog.module.css.js +1 -2
- package/dist/Dialog/DialogContext.js +1 -2
- package/dist/FeatureFlags/DefaultFeatureFlags.d.ts +1 -2
- package/dist/FeatureFlags/DefaultFeatureFlags.js +1 -2
- package/dist/FeatureFlags/FeatureFlagContext.js +1 -2
- package/dist/FeatureFlags/FeatureFlagScope.d.ts +0 -2
- package/dist/FeatureFlags/FeatureFlagScope.js +1 -2
- package/dist/FeatureFlags/FeatureFlags.d.ts +1 -2
- package/dist/FeatureFlags/FeatureFlags.js +2 -3
- package/dist/FeatureFlags/useFeatureFlag.d.ts +0 -2
- package/dist/FeatureFlags/useFeatureFlag.js +1 -2
- package/dist/FilteredActionList/FilteredActionList.d.ts +1 -2
- package/dist/FilteredActionList/FilteredActionList.js +11 -12
- package/dist/FilteredActionList/FilteredActionList.module.css.js +1 -2
- package/dist/FilteredActionList/FilteredActionListInput.d.ts +1 -2
- package/dist/FilteredActionList/FilteredActionListInput.js +1 -2
- package/dist/FilteredActionList/FilteredActionListLoaders.d.ts +1 -2
- package/dist/FilteredActionList/FilteredActionListLoaders.js +1 -2
- package/dist/FilteredActionList/FilteredActionListLoaders.module.css.js +1 -2
- package/dist/FilteredActionList/constants.d.ts +0 -2
- package/dist/FilteredActionList/constants.js +1 -2
- package/dist/FilteredActionList/index.d.ts +2 -3
- package/dist/FilteredActionList/index.js +3 -4
- package/dist/FilteredActionList/types.d.ts +3 -4
- package/dist/FilteredActionList/useAnnouncements.js +1 -2
- package/dist/Flash/Flash.d.ts +1 -2
- package/dist/Flash/Flash.js +1 -2
- package/dist/Flash/Flash.module.css.js +1 -2
- package/dist/FormControl/FormControl.d.ts +1 -2
- package/dist/FormControl/FormControl.js +8 -9
- package/dist/FormControl/FormControl.module.css.js +1 -2
- package/dist/FormControl/FormControlCaption.d.ts +1 -2
- package/dist/FormControl/FormControlCaption.js +2 -3
- package/dist/FormControl/FormControlCaption.module.css.js +1 -2
- package/dist/FormControl/FormControlLabel.d.ts +1 -2
- package/dist/FormControl/FormControlLabel.js +1 -2
- package/dist/FormControl/FormControlLeadingVisual.js +1 -2
- package/dist/FormControl/FormControlLeadingVisual.module.css.js +1 -2
- package/dist/FormControl/_FormControlContext.d.ts +1 -2
- package/dist/FormControl/_FormControlContext.js +1 -2
- package/dist/FormControl/_FormControlContextProvider.js +1 -2
- package/dist/FormControl/_FormControlValidation.d.ts +1 -2
- package/dist/FormControl/_FormControlValidation.js +1 -2
- package/dist/FormControl/index.d.ts +3 -3
- package/dist/Header/Header.d.ts +1 -2
- package/dist/Header/Header.js +1 -2
- package/dist/Header/Header.module.css.js +1 -2
- package/dist/Heading/Heading.d.ts +1 -2
- package/dist/Heading/Heading.js +2 -3
- package/dist/Heading/Heading.module.css.js +1 -2
- package/dist/Hidden/Hidden.d.ts +1 -2
- package/dist/Hidden/Hidden.js +1 -2
- package/dist/Hidden/Hidden.module.css.js +1 -2
- package/dist/InlineMessage/InlineMessage.d.ts +1 -2
- package/dist/InlineMessage/InlineMessage.js +1 -2
- package/dist/InlineMessage/InlineMessage.module.css.js +1 -2
- package/dist/KeybindingHint/KeybindingHint.d.ts +1 -2
- package/dist/KeybindingHint/KeybindingHint.js +1 -2
- package/dist/KeybindingHint/KeybindingHint.module.css.js +1 -2
- package/dist/KeybindingHint/components/Chord.js +1 -2
- package/dist/KeybindingHint/components/Chord.module.css.js +1 -2
- package/dist/KeybindingHint/components/Key.js +1 -2
- package/dist/KeybindingHint/components/Sequence.js +1 -2
- package/dist/KeybindingHint/components/utils.js +1 -2
- package/dist/KeybindingHint/key-names.js +1 -2
- package/dist/KeybindingHint/platform.d.ts +0 -2
- package/dist/KeybindingHint/platform.js +1 -2
- package/dist/KeybindingHint/props.d.ts +0 -2
- package/dist/KeybindingHint/utils.d.ts +1 -2
- package/dist/KeybindingHint/utils.js +1 -2
- package/dist/Label/Label.d.ts +1 -2
- package/dist/Label/Label.js +1 -2
- package/dist/Label/Label.module.css.js +1 -2
- package/dist/Label/index.js +1 -2
- package/dist/LabelGroup/LabelGroup.d.ts +1 -2
- package/dist/LabelGroup/LabelGroup.js +3 -4
- package/dist/LabelGroup/LabelGroup.module.css.js +1 -2
- package/dist/Link/Link.d.ts +2 -3
- package/dist/Link/Link.js +3 -4
- package/dist/Link/Link.module.css.js +1 -2
- package/dist/NavList/NavList.d.ts +4 -5
- package/dist/NavList/NavList.js +8 -9
- package/dist/NavList/NavList.module.css.js +1 -2
- package/dist/Octicon/Octicon.d.ts +1 -2
- package/dist/Octicon/Octicon.js +1 -2
- package/dist/Overlay/Overlay.d.ts +2 -3
- package/dist/Overlay/Overlay.js +3 -4
- package/dist/Overlay/Overlay.module.css.js +1 -2
- package/dist/Overlay/constants.d.ts +0 -2
- package/dist/Overlay/constants.js +1 -2
- package/dist/PageHeader/PageHeader.d.ts +4 -5
- package/dist/PageHeader/PageHeader.js +7 -8
- package/dist/PageHeader/PageHeader.module.css.js +1 -2
- package/dist/PageLayout/DragHandle.d.ts +1 -2
- package/dist/PageLayout/DragHandle.js +1 -2
- package/dist/PageLayout/PageLayout.d.ts +2 -3
- package/dist/PageLayout/PageLayout.js +3 -4
- package/dist/PageLayout/PageLayout.module.css.js +1 -2
- package/dist/PageLayout/index.d.ts +1 -1
- package/dist/PageLayout/paneUtils.js +1 -2
- package/dist/PageLayout/usePaneWidth.d.ts +1 -2
- package/dist/PageLayout/usePaneWidth.js +1 -2
- package/dist/Pagehead/Pagehead.d.ts +1 -2
- package/dist/Pagehead/Pagehead.js +1 -2
- package/dist/Pagehead/Pagehead.module.css.js +1 -2
- package/dist/Pagination/Pagination.d.ts +2 -3
- package/dist/Pagination/Pagination.js +2 -3
- package/dist/Pagination/Pagination.module.css.js +1 -2
- package/dist/Pagination/index.js +1 -2
- package/dist/Pagination/model.d.ts +0 -2
- package/dist/Pagination/model.js +1 -2
- package/dist/Popover/Popover.d.ts +1 -2
- package/dist/Popover/Popover.js +3 -4
- package/dist/Popover/Popover.module.css.js +1 -2
- package/dist/Portal/Portal.d.ts +1 -2
- package/dist/Portal/Portal.js +1 -2
- package/dist/Portal/PortalContext.d.ts +1 -2
- package/dist/Portal/PortalContext.js +1 -2
- package/dist/Portal/index.js +1 -2
- package/dist/Portal/portalRoot.d.ts +0 -2
- package/dist/Portal/portalRoot.js +1 -2
- package/dist/ProgressBar/ProgressBar.d.ts +1 -2
- package/dist/ProgressBar/ProgressBar.js +1 -2
- package/dist/ProgressBar/ProgressBar.module.css.js +1 -2
- package/dist/ProgressBar/index.d.ts +1 -2
- package/dist/ProgressBar/index.js +1 -2
- package/dist/Radio/Radio.d.ts +1 -2
- package/dist/Radio/Radio.js +1 -2
- package/dist/Radio/Radio.module.css.js +1 -2
- package/dist/RadioGroup/RadioGroup.d.ts +2 -3
- package/dist/RadioGroup/RadioGroup.js +4 -5
- package/dist/RadioGroup/RadioGroupContext.js +1 -2
- package/dist/RelativeTime/RelativeTime.d.ts +1 -2
- package/dist/RelativeTime/RelativeTime.js +1 -2
- package/dist/ScrollableRegion/ScrollableRegion.d.ts +1 -2
- package/dist/ScrollableRegion/ScrollableRegion.js +1 -2
- package/dist/ScrollableRegion/ScrollableRegion.module.css.js +1 -2
- package/dist/SegmentedControl/SegmentedControl.d.ts +2 -3
- package/dist/SegmentedControl/SegmentedControl.js +9 -10
- package/dist/SegmentedControl/SegmentedControl.module.css.js +1 -2
- package/dist/SegmentedControl/SegmentedControlAction.d.ts +1 -2
- package/dist/SegmentedControl/SegmentedControlAction.js +2 -3
- package/dist/SegmentedControl/SegmentedControlActionContext.js +1 -2
- package/dist/SegmentedControl/SegmentedControlButton.d.ts +1 -2
- package/dist/SegmentedControl/SegmentedControlButton.js +2 -3
- package/dist/SegmentedControl/SegmentedControlDivider.d.ts +1 -2
- package/dist/SegmentedControl/SegmentedControlDivider.js +1 -2
- package/dist/SegmentedControl/SegmentedControlIconButton.d.ts +1 -2
- package/dist/SegmentedControl/SegmentedControlIconButton.js +2 -3
- package/dist/SegmentedControl/index.d.ts +3 -3
- package/dist/Select/Select.d.ts +2 -3
- package/dist/Select/Select.js +1 -2
- package/dist/Select/Select.module.css.js +1 -2
- package/dist/SelectPanel/SelectPanel.d.ts +2 -3
- package/dist/SelectPanel/SelectPanel.js +13 -14
- package/dist/SelectPanel/SelectPanel.module.css.js +1 -2
- package/dist/SelectPanel/SelectPanelMessage.d.ts +1 -2
- package/dist/SelectPanel/SelectPanelMessage.js +1 -2
- package/dist/SelectPanel/index.d.ts +1 -1
- package/dist/SideNav.d.ts +1 -2
- package/dist/SideNav.js +1 -2
- package/dist/SideNav.module.css.js +1 -2
- package/dist/Skeleton/SkeletonBox.d.ts +1 -2
- package/dist/Skeleton/SkeletonBox.js +1 -2
- package/dist/Skeleton/SkeletonBox.module.css.js +1 -2
- package/dist/Skeleton/skeleton.module.css.js +1 -2
- package/dist/SkeletonAvatar/SkeletonAvatar.d.ts +1 -2
- package/dist/SkeletonAvatar/SkeletonAvatar.js +2 -3
- package/dist/SkeletonAvatar/SkeletonAvatar.module.css.js +1 -2
- package/dist/SkeletonText/SkeletonText.d.ts +1 -2
- package/dist/SkeletonText/SkeletonText.js +2 -3
- package/dist/SkeletonText/SkeletonText.module.css.js +1 -2
- package/dist/Spinner/Spinner.d.ts +1 -2
- package/dist/Spinner/Spinner.js +1 -2
- package/dist/Spinner/Spinner.module.css.js +1 -2
- package/dist/SplitPageLayout/SplitPageLayout.d.ts +1 -2
- package/dist/SplitPageLayout/SplitPageLayout.js +1 -2
- package/dist/Stack/Stack.d.ts +1 -2
- package/dist/Stack/Stack.js +1 -2
- package/dist/Stack/Stack.module.css.js +1 -2
- package/dist/Stack/index.d.ts +2 -3
- package/dist/Stack/index.js +1 -2
- package/dist/StateLabel/StateLabel.d.ts +1 -2
- package/dist/StateLabel/StateLabel.js +1 -2
- package/dist/StateLabel/StateLabel.module.css.js +1 -2
- package/dist/SubNav/SubNav.d.ts +1 -2
- package/dist/SubNav/SubNav.js +1 -2
- package/dist/SubNav/SubNav.module.css.js +1 -2
- package/dist/TabNav/TabNav.d.ts +1 -2
- package/dist/TabNav/TabNav.js +1 -2
- package/dist/TabNav/TabNav.module.css.js +1 -2
- package/dist/Text/Text.d.ts +1 -2
- package/dist/Text/Text.js +1 -2
- package/dist/Text/Text.module.css.js +1 -2
- package/dist/TextInput/TextInput.d.ts +2 -3
- package/dist/TextInput/TextInput.js +8 -9
- package/dist/TextInput/TextInput.module.css.js +1 -2
- package/dist/TextInputWithTokens/TextInputWithTokens.d.ts +2 -3
- package/dist/TextInputWithTokens/TextInputWithTokens.js +4 -5
- package/dist/TextInputWithTokens/TextInputWithTokens.module.css.js +1 -2
- package/dist/Textarea/TextArea.module.css.js +1 -2
- package/dist/Textarea/Textarea.d.ts +2 -3
- package/dist/Textarea/Textarea.js +5 -6
- package/dist/ThemeContext.d.ts +1 -2
- package/dist/ThemeContext.js +1 -2
- package/dist/ThemeProvider.d.ts +1 -2
- package/dist/ThemeProvider.js +2 -3
- package/dist/Timeline/Timeline.d.ts +1 -2
- package/dist/Timeline/Timeline.js +1 -2
- package/dist/Timeline/Timeline.module.css.js +1 -2
- package/dist/Timeline/constants.d.ts +0 -2
- package/dist/ToggleSwitch/ToggleSwitch.d.ts +1 -2
- package/dist/ToggleSwitch/ToggleSwitch.js +3 -4
- package/dist/ToggleSwitch/ToggleSwitch.module.css.js +1 -2
- package/dist/Token/IssueLabelToken.d.ts +2 -3
- package/dist/Token/IssueLabelToken.js +2 -3
- package/dist/Token/IssueLabelToken.module.css.js +1 -2
- package/dist/Token/Token.d.ts +2 -3
- package/dist/Token/Token.js +3 -4
- package/dist/Token/Token.module.css.js +1 -2
- package/dist/Token/TokenBase.d.ts +1 -2
- package/dist/Token/TokenBase.js +1 -2
- package/dist/Token/TokenBase.module.css.js +1 -2
- package/dist/Token/_RemoveTokenButton.js +1 -2
- package/dist/Token/_RemoveTokenButton.module.css.js +1 -2
- package/dist/Token/_TokenTextContainer.js +1 -2
- package/dist/Token/_TokenTextContainer.module.css.js +1 -2
- package/dist/Token/constants.d.ts +0 -2
- package/dist/Token/constants.js +1 -2
- package/dist/Token/utils.js +1 -2
- package/dist/Tooltip/Tooltip.d.ts +1 -2
- package/dist/Tooltip/Tooltip.js +2 -3
- package/dist/Tooltip/Tooltip.module.css.js +1 -2
- package/dist/Tooltip/TooltipContext.js +1 -2
- package/dist/TooltipV2/Tooltip.d.ts +2 -3
- package/dist/TooltipV2/Tooltip.js +8 -9
- package/dist/TooltipV2/Tooltip.module.css.js +1 -2
- package/dist/TooltipV2/TooltipContext.js +1 -2
- package/dist/TopicTag/TopicTag.d.ts +1 -2
- package/dist/TopicTag/TopicTag.js +1 -2
- package/dist/TopicTag/TopicTag.module.css.js +1 -2
- package/dist/TopicTag/TopicTagGroup.d.ts +1 -2
- package/dist/TopicTag/TopicTagGroup.js +1 -2
- package/dist/TopicTag/TopicTagGroup.module.css.js +1 -2
- package/dist/TopicTag/index.d.ts +1 -2
- package/dist/TopicTag/index.js +1 -2
- package/dist/TreeView/TreeView.d.ts +1 -2
- package/dist/TreeView/TreeView.js +16 -17
- package/dist/TreeView/TreeView.module.css.js +1 -2
- package/dist/TreeView/shared.js +1 -2
- package/dist/TreeView/useRovingTabIndex.d.ts +1 -2
- package/dist/TreeView/useRovingTabIndex.js +1 -2
- package/dist/TreeView/useTreeItemCache.js +1 -2
- package/dist/TreeView/useTreeRovingTabIndex.js +1 -2
- package/dist/TreeView/useTypeahead.js +1 -2
- package/dist/Truncate/Truncate.d.ts +1 -2
- package/dist/Truncate/Truncate.js +1 -2
- package/dist/Truncate/Truncate.module.css.js +1 -2
- package/dist/UnderlineNav/UnderlineNav.d.ts +1 -2
- package/dist/UnderlineNav/UnderlineNav.js +5 -6
- package/dist/UnderlineNav/UnderlineNav.module.css.js +1 -2
- package/dist/UnderlineNav/UnderlineNavContext.js +1 -2
- package/dist/UnderlineNav/UnderlineNavItem.js +4 -5
- package/dist/UnderlineNav/UnderlineNavItem.module.css.js +1 -2
- package/dist/UnderlineNav/UnderlineNavItemsRegistry.d.ts +1 -2
- package/dist/UnderlineNav/UnderlineNavItemsRegistry.js +1 -2
- package/dist/UnderlineNav/index.d.ts +1 -2
- package/dist/UnderlineNav/index.js +1 -2
- package/dist/UnderlineNav/utils.js +1 -2
- package/dist/VisuallyHidden/VisuallyHidden.d.ts +1 -2
- package/dist/VisuallyHidden/VisuallyHidden.js +1 -2
- package/dist/VisuallyHidden/VisuallyHidden.module.css.js +1 -2
- package/dist/_VisuallyHidden.js +1 -2
- package/dist/_VisuallyHidden.module.css.js +1 -2
- package/dist/deprecated/ActionList/Divider.d.ts +1 -2
- package/dist/deprecated/ActionList/Divider.js +1 -2
- package/dist/deprecated/ActionList/Divider.module.css.js +1 -2
- package/dist/deprecated/ActionList/Group.d.ts +1 -2
- package/dist/deprecated/ActionList/Group.js +1 -2
- package/dist/deprecated/ActionList/Header.d.ts +1 -2
- package/dist/deprecated/ActionList/Header.js +1 -2
- package/dist/deprecated/ActionList/Header.module.css.js +1 -2
- package/dist/deprecated/ActionList/Item.d.ts +2 -3
- package/dist/deprecated/ActionList/Item.js +2 -3
- package/dist/deprecated/ActionList/Item.module.css.js +1 -2
- package/dist/deprecated/ActionList/List.d.ts +2 -3
- package/dist/deprecated/ActionList/List.js +1 -2
- package/dist/deprecated/ActionList/List.module.css.js +1 -2
- package/dist/deprecated/ActionList/index.d.ts +4 -5
- package/dist/deprecated/ActionList/index.js +2 -3
- package/dist/deprecated/ActionMenu.d.ts +3 -4
- package/dist/deprecated/ActionMenu.js +6 -7
- package/dist/deprecated/DialogV1/Dialog.d.ts +1 -2
- package/dist/deprecated/DialogV1/Dialog.js +2 -3
- package/dist/deprecated/DialogV1/Dialog.module.css.js +1 -2
- package/dist/deprecated/FilteredSearch/FilteredSearch.d.ts +0 -2
- package/dist/deprecated/FilteredSearch/FilteredSearch.js +1 -2
- package/dist/deprecated/FilteredSearch/FilteredSearch.module.css.js +1 -2
- package/dist/deprecated/UnderlineNav/UnderlineNav.d.ts +1 -2
- package/dist/deprecated/UnderlineNav/UnderlineNav.js +1 -2
- package/dist/deprecated/UnderlineNav/UnderlineNav.module.css.js +1 -2
- package/dist/deprecated/index.d.ts +1 -1
- package/dist/deprecated/index.js +3 -4
- package/dist/experimental/IssueLabel/IssueLabel.d.ts +1 -2
- package/dist/experimental/IssueLabel/IssueLabel.js +1 -2
- package/dist/experimental/IssueLabel/IssueLabel.module.css.js +1 -2
- package/dist/experimental/SelectPanel2/SelectPanel.d.ts +4 -5
- package/dist/experimental/SelectPanel2/SelectPanel.js +16 -17
- package/dist/experimental/SelectPanel2/SelectPanel.module.css.js +1 -2
- package/dist/experimental/Tabs/Tabs.d.ts +1 -2
- package/dist/experimental/Tabs/Tabs.js +1 -2
- package/dist/experimental/Tabs/TabsContext.js +1 -2
- package/dist/experimental/Tabs/index.d.ts +1 -1
- package/dist/experimental/Tabs/types.d.ts +1 -2
- package/dist/experimental/Tabs/useTab.d.ts +1 -2
- package/dist/experimental/Tabs/useTab.js +1 -2
- package/dist/experimental/Tabs/useTabList.d.ts +1 -2
- package/dist/experimental/Tabs/useTabList.js +1 -2
- package/dist/experimental/Tabs/useTabPanel.d.ts +1 -2
- package/dist/experimental/Tabs/useTabPanel.js +1 -2
- package/dist/experimental/Tabs/useTabs.js +1 -2
- package/dist/experimental/UnderlinePanels/UnderlinePanels.d.ts +1 -2
- package/dist/experimental/UnderlinePanels/UnderlinePanels.js +7 -8
- package/dist/experimental/UnderlinePanels/UnderlinePanels.module.css.js +1 -2
- package/dist/experimental/index.d.ts +6 -6
- package/dist/experimental/index.js +20 -21
- package/dist/hooks/MatchMediaContext.js +1 -2
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useAnchoredPosition.d.ts +1 -2
- package/dist/hooks/useAnchoredPosition.js +2 -3
- package/dist/hooks/useControllableState.js +1 -2
- package/dist/hooks/useDetails.d.ts +0 -2
- package/dist/hooks/useDetails.js +1 -2
- package/dist/hooks/useDialog.js +1 -2
- package/dist/hooks/useFocusTrap.d.ts +1 -2
- package/dist/hooks/useFocusTrap.js +2 -3
- package/dist/hooks/useFocusZone.d.ts +1 -2
- package/dist/hooks/useFocusZone.js +1 -2
- package/dist/hooks/useId.d.ts +0 -2
- package/dist/hooks/useId.js +1 -2
- package/dist/hooks/useMedia.js +1 -2
- package/dist/hooks/useMenuInitialFocus.js +1 -2
- package/dist/hooks/useMenuKeyboardNavigation.js +1 -2
- package/dist/hooks/useMergedRefs.d.ts +1 -2
- package/dist/hooks/useMergedRefs.js +1 -2
- package/dist/hooks/useMnemonics.js +1 -2
- package/dist/hooks/useOnEscapePress.d.ts +0 -2
- package/dist/hooks/useOnEscapePress.js +1 -2
- package/dist/hooks/useOnOutsideClick.d.ts +1 -2
- package/dist/hooks/useOnOutsideClick.js +1 -2
- package/dist/hooks/useOpenAndCloseFocus.d.ts +1 -2
- package/dist/hooks/useOpenAndCloseFocus.js +1 -2
- package/dist/hooks/useOverflow.d.ts +0 -2
- package/dist/hooks/useOverflow.js +1 -2
- package/dist/hooks/useOverlay.d.ts +1 -2
- package/dist/hooks/useOverlay.js +3 -4
- package/dist/hooks/useProvidedRefOrCreate.d.ts +1 -2
- package/dist/hooks/useProvidedRefOrCreate.js +1 -2
- package/dist/hooks/useProvidedStateOrCreate.js +1 -2
- package/dist/hooks/useRefObjectAsForwardedRef.d.ts +1 -2
- package/dist/hooks/useRefObjectAsForwardedRef.js +1 -2
- package/dist/hooks/useRenderForcingRef.js +1 -2
- package/dist/hooks/useResizeObserver.d.ts +1 -2
- package/dist/hooks/useResizeObserver.js +1 -2
- package/dist/hooks/useResponsiveValue.d.ts +0 -2
- package/dist/hooks/useResponsiveValue.js +1 -2
- package/dist/hooks/useSafeTimeout.d.ts +0 -2
- package/dist/hooks/useSafeTimeout.js +1 -2
- package/dist/hooks/useScrollFlash.js +1 -2
- package/dist/hooks/useSlots.d.ts +1 -2
- package/dist/hooks/useSlots.js +1 -2
- package/dist/hooks/useSyncedState.d.ts +0 -2
- package/dist/hooks/useSyncedState.js +1 -2
- package/dist/index.d.ts +22 -22
- package/dist/index.js +49 -49
- package/dist/internal/components/ButtonReset.js +1 -2
- package/dist/internal/components/ButtonReset.module.css.js +1 -2
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.d.ts +1 -2
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.js +6 -7
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.module.css.js +1 -2
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.js +1 -2
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupContext.js +1 -2
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.d.ts +1 -2
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.js +1 -2
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.d.ts +1 -2
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.js +2 -3
- package/dist/internal/components/ConditionalWrapper.js +1 -2
- package/dist/internal/components/InputLabel.d.ts +1 -2
- package/dist/internal/components/InputLabel.js +1 -2
- package/dist/internal/components/InputLabel.module.css.js +1 -2
- package/dist/internal/components/InputValidation.js +1 -2
- package/dist/internal/components/InputValidation.module.css.js +1 -2
- package/dist/internal/components/OverflowObserverProvider.js +1 -2
- package/dist/internal/components/TextInputInnerAction.d.ts +1 -2
- package/dist/internal/components/TextInputInnerAction.js +3 -4
- package/dist/internal/components/TextInputInnerAction.module.css.js +1 -2
- package/dist/internal/components/TextInputInnerVisualSlot.js +1 -2
- package/dist/internal/components/TextInputInnerVisualSlot.module.css.js +1 -2
- package/dist/internal/components/TextInputWrapper.d.ts +1 -2
- package/dist/internal/components/TextInputWrapper.js +1 -2
- package/dist/internal/components/TextInputWrapper.module.css.js +1 -2
- package/dist/internal/components/ThemeProviderBase.js +1 -2
- package/dist/internal/components/UnderlineTabbedInterface.js +1 -2
- package/dist/internal/components/UnderlineTabbedInterface.module.css.js +1 -2
- package/dist/internal/components/UnstyledTextInput.js +1 -2
- package/dist/internal/components/UnstyledTextInput.module.css.js +1 -2
- package/dist/internal/components/ValidationAnimationContainer.js +1 -2
- package/dist/internal/components/ValidationAnimationContainer.module.css.js +1 -2
- package/dist/internal/hooks/useDevOnlyEffect.js +1 -2
- package/dist/internal/hooks/useEffectCallback.js +1 -2
- package/dist/internal/hooks/useEffectOnce.js +1 -2
- package/dist/internal/hooks/useOverflowObserver.js +1 -2
- package/dist/internal/hooks/useThemeProvider.js +1 -2
- package/dist/internal/internal-types.d.ts +0 -2
- package/dist/internal/utils/getResponsiveAttributes.js +1 -2
- package/dist/internal/utils/hasInteractiveNodes.js +1 -2
- package/dist/legacy-theme/ts/color-schemes.js +0 -1
- package/dist/live-region/Announce.d.ts +1 -2
- package/dist/live-region/Announce.js +1 -2
- package/dist/live-region/AriaAlert.d.ts +1 -2
- package/dist/live-region/AriaAlert.js +1 -2
- package/dist/live-region/AriaStatus.d.ts +1 -2
- package/dist/live-region/AriaStatus.js +1 -2
- package/dist/next/ThemeProvider.d.ts +1 -2
- package/dist/next/ThemeProvider.js +1 -2
- package/dist/next/index.d.ts +2 -2
- package/dist/next/index.js +1 -1
- package/dist/test-helpers.d.ts +0 -2
- package/dist/test-helpers.js +1 -2
- package/dist/theme.d.ts +1 -2
- package/dist/theme.js +1 -2
- package/dist/useTheme.d.ts +1 -2
- package/dist/useTheme.js +1 -2
- package/dist/utils/as-slot.d.ts +1 -2
- package/dist/utils/as-slot.js +1 -2
- package/dist/utils/character-counter.js +1 -2
- package/dist/utils/create-component.d.ts +1 -2
- package/dist/utils/create-component.js +1 -2
- package/dist/utils/descendant-registry.js +1 -2
- package/dist/utils/environment.js +1 -2
- package/dist/utils/getBreakpointDeclarations.js +1 -2
- package/dist/utils/invariant.js +1 -2
- package/dist/utils/is-slot.d.ts +1 -2
- package/dist/utils/is-slot.js +1 -2
- package/dist/utils/isNumeric.js +1 -2
- package/dist/utils/modern-polymorphic.d.ts +1 -2
- package/dist/utils/modern-polymorphic.js +1 -2
- package/dist/utils/polymorphic.d.ts +1 -2
- package/dist/utils/react-compiler-runtime.js +1 -2
- package/dist/utils/scroll.js +1 -2
- package/dist/utils/theme.js +1 -2
- package/dist/utils/types/AriaRole.d.ts +0 -2
- package/dist/utils/types/ComponentProps.d.ts +0 -2
- package/dist/utils/types/FormValidationStatus.d.ts +0 -2
- package/dist/utils/types/KeyPaths.d.ts +0 -2
- package/dist/utils/types/MandateProps.d.ts +0 -2
- package/dist/utils/types/Merge.d.ts +0 -2
- package/dist/utils/types/Slots.d.ts +0 -2
- package/dist/utils/types/ViewportRangeKeys.d.ts +0 -2
- package/dist/utils/useIsomorphicLayoutEffect.d.ts +1 -2
- package/dist/utils/useIsomorphicLayoutEffect.js +1 -2
- package/dist/utils/warning.js +1 -2
- package/generated/components.json +12 -2
- package/package.json +3 -3
|
@@ -6,7 +6,7 @@ import { Stack } from "../../../Stack/index.js";
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { clsx } from "clsx";
|
|
9
|
-
|
|
9
|
+
// src/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.tsx
|
|
10
10
|
const CheckboxOrRadioGroupLabel = (t0) => {
|
|
11
11
|
const $ = c(12);
|
|
12
12
|
const { children, className, visuallyHidden: t1 } = t0;
|
|
@@ -57,5 +57,4 @@ const CheckboxOrRadioGroupLabel = (t0) => {
|
|
|
57
57
|
return t8;
|
|
58
58
|
};
|
|
59
59
|
CheckboxOrRadioGroupLabel.__SLOT__ = Symbol("CheckboxOrRadioGroup.Label");
|
|
60
|
-
//#endregion
|
|
61
60
|
export { CheckboxOrRadioGroupLabel as default };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { FormValidationStatus } from "../../../utils/types/FormValidationStatus.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.d.ts
|
|
5
5
|
type CheckboxOrRadioGroupValidationProps = {
|
|
6
6
|
/** Changes the visual style to match the validation status */variant: FormValidationStatus;
|
|
7
7
|
};
|
|
8
|
-
//#endregion
|
|
9
8
|
export { CheckboxOrRadioGroupValidationProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c } from "../../../utils/react-compiler-runtime.js";
|
|
2
|
-
import CheckboxOrRadioGroupContext from "./CheckboxOrRadioGroupContext.js";
|
|
3
2
|
import InputValidation from "../InputValidation.js";
|
|
3
|
+
import CheckboxOrRadioGroupContext from "./CheckboxOrRadioGroupContext.js";
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.tsx
|
|
7
7
|
const CheckboxOrRadioGroupValidation = (t0) => {
|
|
8
8
|
const $ = c(5);
|
|
9
9
|
const { children, variant } = t0;
|
|
@@ -27,5 +27,4 @@ const CheckboxOrRadioGroupValidation = (t0) => {
|
|
|
27
27
|
return t3;
|
|
28
28
|
};
|
|
29
29
|
CheckboxOrRadioGroupValidation.__SLOT__ = Symbol("CheckboxOrRadioGroup.Validation");
|
|
30
|
-
//#endregion
|
|
31
30
|
export { CheckboxOrRadioGroupValidation as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c } from "../../utils/react-compiler-runtime.js";
|
|
2
2
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/internal/components/ConditionalWrapper.tsx
|
|
4
4
|
const ConditionalWrapper = (props) => {
|
|
5
5
|
const $ = c(9);
|
|
6
6
|
let children;
|
|
@@ -39,5 +39,4 @@ const ConditionalWrapper = (props) => {
|
|
|
39
39
|
return t0;
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
//#endregion
|
|
43
42
|
export { ConditionalWrapper };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/internal/components/InputLabel.d.ts
|
|
4
4
|
type BaseProps = {
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
required?: boolean;
|
|
@@ -18,5 +18,4 @@ type LegendOrSpanProps = BaseProps & {
|
|
|
18
18
|
as: 'legend' | 'span';
|
|
19
19
|
htmlFor?: undefined;
|
|
20
20
|
};
|
|
21
|
-
//#endregion
|
|
22
21
|
export { LabelProps, LegendOrSpanProps };
|
|
@@ -2,7 +2,7 @@ import { c } from "../../utils/react-compiler-runtime.js";
|
|
|
2
2
|
import InputLabel_module_css_default from "./InputLabel.module.css.js";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
|
-
|
|
5
|
+
// src/internal/components/InputLabel.tsx
|
|
6
6
|
function InputLabel(t0) {
|
|
7
7
|
const $ = c(28);
|
|
8
8
|
let children;
|
|
@@ -90,5 +90,4 @@ function InputLabel(t0) {
|
|
|
90
90
|
} else t6 = $[27];
|
|
91
91
|
return t6;
|
|
92
92
|
}
|
|
93
|
-
//#endregion
|
|
94
93
|
export { InputLabel };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import "./InputLabel-985ef80b.css";
|
|
2
|
-
|
|
2
|
+
// src/internal/components/InputLabel.module.css.js
|
|
3
3
|
var InputLabel_module_css_default = {
|
|
4
4
|
"Label": "prc-components-Label-2mrqP",
|
|
5
5
|
"RequiredText": "prc-components-RequiredText-7UsHS"
|
|
6
6
|
};
|
|
7
|
-
//#endregion
|
|
8
7
|
export { InputLabel_module_css_default as default };
|
|
@@ -4,7 +4,7 @@ import InputValidation_module_css_default from "./InputValidation.module.css.js"
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
6
|
import { AlertFillIcon, CheckCircleFillIcon } from "@primer/octicons-react";
|
|
7
|
-
|
|
7
|
+
// src/internal/components/InputValidation.tsx
|
|
8
8
|
const validationIconMap = {
|
|
9
9
|
success: CheckCircleFillIcon,
|
|
10
10
|
error: AlertFillIcon
|
|
@@ -96,5 +96,4 @@ const InputValidation = (t0) => {
|
|
|
96
96
|
} else t5 = $[23];
|
|
97
97
|
return t5;
|
|
98
98
|
};
|
|
99
|
-
//#endregion
|
|
100
99
|
export { InputValidation as default };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import "./InputValidation-dddeaafd.css";
|
|
2
|
-
|
|
2
|
+
// src/internal/components/InputValidation.module.css.js
|
|
3
3
|
var InputValidation_module_css_default = {
|
|
4
4
|
"InputValidation": "prc-components-InputValidation-kbli-",
|
|
5
5
|
"ValidationIcon": "prc-components-ValidationIcon-sv29w",
|
|
6
6
|
"ValidationText": "prc-components-ValidationText-JEfut"
|
|
7
7
|
};
|
|
8
|
-
//#endregion
|
|
9
8
|
export { InputValidation_module_css_default as default };
|
|
@@ -3,7 +3,7 @@ import useIsomorphicLayoutEffect from "../../utils/useIsomorphicLayoutEffect.js"
|
|
|
3
3
|
import { OverflowObserverContext } from "../hooks/useOverflowObserver.js";
|
|
4
4
|
import { useEffect, useRef } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/internal/components/OverflowObserverProvider.tsx
|
|
7
7
|
/**
|
|
8
8
|
* Owns a single `IntersectionObserver` shared by every descendant that calls `useIsClipped`, instead of each item
|
|
9
9
|
* creating its own observer. Each observed element maps to a set of change callbacks; one observer notification fans
|
|
@@ -153,5 +153,4 @@ function getIsOverflowing(entry) {
|
|
|
153
153
|
function supportsIntersectionObserver() {
|
|
154
154
|
return typeof IntersectionObserver !== "undefined";
|
|
155
155
|
}
|
|
156
|
-
//#endregion
|
|
157
156
|
export { OverflowObserverProvider };
|
|
@@ -2,7 +2,7 @@ import { ButtonProps } from "../../Button/types.js";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { IconProps } from "@primer/octicons-react";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/internal/components/TextInputInnerAction.d.ts
|
|
6
6
|
type TextInputActionProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'aria-label' | 'size' | 'tooltipDirection'> & {
|
|
7
7
|
/** @deprecated Text input action buttons should only use icon buttons */children?: React.ReactNode; /** Text that appears in a tooltip. If an icon is passed, this is also used as the label used by assistive technologies. */
|
|
8
8
|
['aria-label']?: string; /** Position of tooltip. If no position is passed or defaults to "n" */
|
|
@@ -14,5 +14,4 @@ type TextInputActionProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>,
|
|
|
14
14
|
*/
|
|
15
15
|
variant?: ButtonProps['variant'];
|
|
16
16
|
};
|
|
17
|
-
//#endregion
|
|
18
17
|
export { TextInputActionProps };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c } from "../../utils/react-compiler-runtime.js";
|
|
2
|
-
import { Tooltip } from "../../TooltipV2/Tooltip.js";
|
|
3
|
-
import { IconButton } from "../../Button/IconButton.js";
|
|
4
2
|
import { ButtonComponent } from "../../Button/Button.js";
|
|
3
|
+
import { IconButton } from "../../Button/IconButton.js";
|
|
4
|
+
import { Tooltip } from "../../TooltipV2/Tooltip.js";
|
|
5
5
|
import TextInputInnerAction_module_css_default from "./TextInputInnerAction.module.css.js";
|
|
6
6
|
import { forwardRef } from "react";
|
|
7
7
|
import { Fragment as Fragment$1, jsx } from "react/jsx-runtime";
|
|
8
8
|
import { clsx } from "clsx";
|
|
9
|
-
|
|
9
|
+
// src/internal/components/TextInputInnerAction.tsx
|
|
10
10
|
const ConditionalTooltip = (t0) => {
|
|
11
11
|
const $ = c(6);
|
|
12
12
|
const { "aria-label": ariaLabel, children, tooltipDirection } = t0;
|
|
@@ -132,5 +132,4 @@ const TextInputAction = /*#__PURE__*/ forwardRef((t0, forwardedRef) => {
|
|
|
132
132
|
} else t7 = $[27];
|
|
133
133
|
return t7;
|
|
134
134
|
});
|
|
135
|
-
//#endregion
|
|
136
135
|
export { TextInputAction as default };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import "./TextInputInnerAction-477e9b99.css";
|
|
2
|
-
|
|
2
|
+
// src/internal/components/TextInputInnerAction.module.css.js
|
|
3
3
|
var TextInputInnerAction_module_css_default = {
|
|
4
4
|
"Invisible": "prc-components-Invisible-bKOcl",
|
|
5
5
|
"TextInputAction": "prc-components-TextInputAction-CjGDX",
|
|
6
6
|
"ConditionalTooltip": "prc-components-ConditionalTooltip-1n0Zr"
|
|
7
7
|
};
|
|
8
|
-
//#endregion
|
|
9
8
|
export { TextInputInnerAction_module_css_default as default };
|
|
@@ -3,7 +3,7 @@ import Spinner from "../../Spinner/Spinner.js";
|
|
|
3
3
|
import TextInputInnerVisualSlot_module_css_default from "./TextInputInnerVisualSlot.module.css.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
|
-
|
|
6
|
+
// src/internal/components/TextInputInnerVisualSlot.tsx
|
|
7
7
|
const TextInputInnerVisualSlot = (t0) => {
|
|
8
8
|
const $ = c(21);
|
|
9
9
|
const { children, hasLoadingIndicator, showLoadingIndicator, visualPosition, id, componentPrefix: t1 } = t0;
|
|
@@ -87,5 +87,4 @@ const TextInputInnerVisualSlot = (t0) => {
|
|
|
87
87
|
} else t11 = $[20];
|
|
88
88
|
return t11;
|
|
89
89
|
};
|
|
90
|
-
//#endregion
|
|
91
90
|
export { TextInputInnerVisualSlot as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./TextInputInnerVisualSlot-4a14b955.css";
|
|
2
|
-
|
|
2
|
+
// src/internal/components/TextInputInnerVisualSlot.module.css.js
|
|
3
3
|
var TextInputInnerVisualSlot_module_css_default = {
|
|
4
4
|
"Spinner": "prc-components-Spinner-fIUBk",
|
|
5
5
|
"SpinnerLeading": "prc-components-SpinnerLeading-phYLe",
|
|
@@ -7,5 +7,4 @@ var TextInputInnerVisualSlot_module_css_default = {
|
|
|
7
7
|
"SpinnerVisible": "prc-components-SpinnerVisible-paqsj",
|
|
8
8
|
"Box": "prc-components-Box-XRSqm"
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { TextInputInnerVisualSlot_module_css_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormValidationStatus } from "../../utils/types/FormValidationStatus.js";
|
|
2
2
|
import React, { ComponentProps } from "react";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/internal/components/TextInputWrapper.d.ts
|
|
5
5
|
type TextInputSizes = 'small' | 'medium' | 'large';
|
|
6
6
|
type StyledTextInputBaseWrapperProps = {
|
|
7
7
|
block?: boolean;
|
|
@@ -29,5 +29,4 @@ declare const TextInputWrapper: React.ForwardRefExoticComponent<Omit<{
|
|
|
29
29
|
hasTrailingVisual?: boolean;
|
|
30
30
|
} & StyledTextInputBaseWrapperProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
31
31
|
type StyledWrapperProps = ComponentProps<typeof TextInputWrapper>;
|
|
32
|
-
//#endregion
|
|
33
32
|
export { StyledWrapperProps, TextInputSizes, TextInputWrapper, TextInputWrapper as default };
|
|
@@ -3,7 +3,7 @@ import TextInputWrapper_module_css_default from "./TextInputWrapper.module.css.j
|
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
|
-
|
|
6
|
+
// src/internal/components/TextInputWrapper.tsx
|
|
7
7
|
const TextInputBaseWrapper = /*#__PURE__*/ React.forwardRef(function TextInputBaseWrapper(t0, forwardRef) {
|
|
8
8
|
const $ = c(44);
|
|
9
9
|
let block;
|
|
@@ -194,5 +194,4 @@ const TextInputWrapper = /*#__PURE__*/ React.forwardRef(function TextInputWrappe
|
|
|
194
194
|
} else t6 = $[14];
|
|
195
195
|
return t6;
|
|
196
196
|
});
|
|
197
|
-
//#endregion
|
|
198
197
|
export { TextInputBaseWrapper, TextInputWrapper, TextInputWrapper as default };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import "./TextInputWrapper-b2f7f9fa.css";
|
|
2
|
-
|
|
2
|
+
// src/internal/components/TextInputWrapper.module.css.js
|
|
3
3
|
var TextInputWrapper_module_css_default = {
|
|
4
4
|
"TextInputBaseWrapper": "prc-components-TextInputBaseWrapper-wY-n0",
|
|
5
5
|
"TextInputWrapper": "prc-components-TextInputWrapper-Hpdqi"
|
|
6
6
|
};
|
|
7
|
-
//#endregion
|
|
8
7
|
export { TextInputWrapper_module_css_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c } from "../../utils/react-compiler-runtime.js";
|
|
2
2
|
import { ThemeContext } from "../../ThemeContext.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/internal/components/ThemeProviderBase.tsx
|
|
5
5
|
const ThemeProviderBase = (t0) => {
|
|
6
6
|
const $ = c(11);
|
|
7
7
|
const { children, contextOnly, value } = t0;
|
|
@@ -46,5 +46,4 @@ const ThemeProviderBase = (t0) => {
|
|
|
46
46
|
} else t3 = $[10];
|
|
47
47
|
return t3;
|
|
48
48
|
};
|
|
49
|
-
//#endregion
|
|
50
49
|
export { ThemeProviderBase };
|
|
@@ -5,7 +5,7 @@ import React, { forwardRef } from "react";
|
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { clsx } from "clsx";
|
|
7
7
|
import { isElement } from "react-is";
|
|
8
|
-
|
|
8
|
+
// src/internal/components/UnderlineTabbedInterface.tsx
|
|
9
9
|
function getTextContent(children) {
|
|
10
10
|
if (typeof children === "string" || typeof children === "number") return String(children);
|
|
11
11
|
if (Array.isArray(children)) return children.map(getTextContent).join("");
|
|
@@ -200,5 +200,4 @@ const UnderlineItem = /*#__PURE__*/ React.forwardRef((props, ref) => {
|
|
|
200
200
|
} else t6 = $[27];
|
|
201
201
|
return t6;
|
|
202
202
|
});
|
|
203
|
-
//#endregion
|
|
204
203
|
export { LoadingCounter, UnderlineItem, UnderlineItemList, UnderlineWrapper };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./UnderlineTabbedInterface-a5cd75c0.css";
|
|
2
|
-
|
|
2
|
+
// src/internal/components/UnderlineTabbedInterface.module.css.js
|
|
3
3
|
var UnderlineTabbedInterface_module_css_default = {
|
|
4
4
|
"UnderlineWrapper": "prc-components-UnderlineWrapper-eT-Yj",
|
|
5
5
|
"UnderlineItemList": "prc-components-UnderlineItemList-xKlKC",
|
|
@@ -7,5 +7,4 @@ var UnderlineTabbedInterface_module_css_default = {
|
|
|
7
7
|
"LoadingCounter": "prc-components-LoadingCounter-dBuLy",
|
|
8
8
|
"loadingCounterKeyFrames": "prc-components-loadingCounterKeyFrames-8tMlf"
|
|
9
9
|
};
|
|
10
|
-
//#endregion
|
|
11
10
|
export { UnderlineTabbedInterface_module_css_default as default };
|
|
@@ -3,7 +3,7 @@ import UnstyledTextInput_module_css_default from "./UnstyledTextInput.module.css
|
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { clsx } from "clsx";
|
|
6
|
-
|
|
6
|
+
// src/internal/components/UnstyledTextInput.tsx
|
|
7
7
|
const UnstyledTextInput = /*#__PURE__*/ React.forwardRef(function UnstyledTextInput(t0, forwardRef) {
|
|
8
8
|
const $ = c(9);
|
|
9
9
|
let className;
|
|
@@ -38,5 +38,4 @@ const UnstyledTextInput = /*#__PURE__*/ React.forwardRef(function UnstyledTextIn
|
|
|
38
38
|
return t2;
|
|
39
39
|
});
|
|
40
40
|
UnstyledTextInput.displayName = "UnstyledTextInput";
|
|
41
|
-
//#endregion
|
|
42
41
|
export { UnstyledTextInput as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "./UnstyledTextInput-8270f063.css";
|
|
2
|
-
|
|
2
|
+
// src/internal/components/UnstyledTextInput.module.css.js
|
|
3
3
|
var UnstyledTextInput_module_css_default = { "Input": "prc-components-Input-IwWrt" };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { UnstyledTextInput_module_css_default as default };
|
|
@@ -2,7 +2,7 @@ import { c } from "../../utils/react-compiler-runtime.js";
|
|
|
2
2
|
import ValidationAnimationContainer_module_css_default from "./ValidationAnimationContainer.module.css.js";
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/internal/components/ValidationAnimationContainer.tsx
|
|
6
6
|
const ValidationAnimationContainer = (t0) => {
|
|
7
7
|
const $ = c(14);
|
|
8
8
|
let children;
|
|
@@ -59,5 +59,4 @@ const ValidationAnimationContainer = (t0) => {
|
|
|
59
59
|
} else t2 = $[13];
|
|
60
60
|
return t2;
|
|
61
61
|
};
|
|
62
|
-
//#endregion
|
|
63
62
|
export { ValidationAnimationContainer as default };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import "./ValidationAnimationContainer-04125429.css";
|
|
2
|
-
|
|
2
|
+
// src/internal/components/ValidationAnimationContainer.module.css.js
|
|
3
3
|
var ValidationAnimationContainer_module_css_default = {
|
|
4
4
|
"Animation": "prc-components-Animation-e139d",
|
|
5
5
|
"fadeIn": "prc-components-fadeIn-RDp5O"
|
|
6
6
|
};
|
|
7
|
-
//#endregion
|
|
8
7
|
export { ValidationAnimationContainer_module_css_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect } from "react";
|
|
2
|
-
|
|
2
|
+
// src/internal/hooks/useDevOnlyEffect.ts
|
|
3
3
|
/**
|
|
4
4
|
* Runs an effect only in development. Selecting the implementation at module
|
|
5
5
|
* initialization avoids conditional Hook calls and uses a no-op in production.
|
|
@@ -12,5 +12,4 @@ import { useEffect } from "react";
|
|
|
12
12
|
* @param deps Dependency list, same semantics as `useEffect`.
|
|
13
13
|
*/
|
|
14
14
|
const useDevOnlyEffect = useEffect;
|
|
15
|
-
//#endregion
|
|
16
15
|
export { useDevOnlyEffect };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c } from "../../utils/react-compiler-runtime.js";
|
|
2
2
|
import { useEffect, useRef } from "react";
|
|
3
|
-
|
|
3
|
+
// src/internal/hooks/useEffectCallback.ts
|
|
4
4
|
/**
|
|
5
5
|
* Create a callback that can be used within an effect without re-running the
|
|
6
6
|
* effect when the values used change. The callback passed to this hook will
|
|
@@ -35,5 +35,4 @@ function useEffectCallback(callback) {
|
|
|
35
35
|
} else t2 = $[3];
|
|
36
36
|
return t2;
|
|
37
37
|
}
|
|
38
|
-
//#endregion
|
|
39
38
|
export { useEffectCallback };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c } from "../../utils/react-compiler-runtime.js";
|
|
2
2
|
import { useEffect, useRef } from "react";
|
|
3
|
-
|
|
3
|
+
// src/internal/hooks/useEffectOnce.ts
|
|
4
4
|
function useEffectOnce(callback) {
|
|
5
5
|
const $ = c(2);
|
|
6
6
|
const savedCallback = useRef(callback);
|
|
@@ -22,5 +22,4 @@ function useEffectOnce(callback) {
|
|
|
22
22
|
}
|
|
23
23
|
useEffect(t0, t1);
|
|
24
24
|
}
|
|
25
|
-
//#endregion
|
|
26
25
|
export { useEffectOnce };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c } from "../../utils/react-compiler-runtime.js";
|
|
2
2
|
import { createContext, useContext, useRef, useSyncExternalStore } from "react";
|
|
3
|
-
|
|
3
|
+
// src/internal/hooks/useOverflowObserver.ts
|
|
4
4
|
/** Provided by `OverflowObserverProvider`; `null` when no provider is present. Consumed via `useIsClipped`. */
|
|
5
5
|
const OverflowObserverContext = /*#__PURE__*/ createContext(null);
|
|
6
6
|
/**
|
|
@@ -52,5 +52,4 @@ function _temp2() {}
|
|
|
52
52
|
function _temp() {}
|
|
53
53
|
/** Stable server snapshot for `useIsClipped`: overflow is never measured during SSR. */
|
|
54
54
|
const getOverflowServerSnapshot = () => false;
|
|
55
|
-
//#endregion
|
|
56
55
|
export { OverflowObserverContext, useIsClipped };
|
|
@@ -2,7 +2,7 @@ import { c } from "../../utils/react-compiler-runtime.js";
|
|
|
2
2
|
import { useSyncedState } from "../../hooks/useSyncedState.js";
|
|
3
3
|
import { useTheme } from "../../useTheme.js";
|
|
4
4
|
import React from "react";
|
|
5
|
-
|
|
5
|
+
// src/internal/hooks/useThemeProvider.ts
|
|
6
6
|
const defaultColorMode = "day";
|
|
7
7
|
const defaultDayScheme = "light";
|
|
8
8
|
const defaultNightScheme = "dark";
|
|
@@ -67,5 +67,4 @@ function getSystemColorMode() {
|
|
|
67
67
|
var _window2, _window2$matchMedia;
|
|
68
68
|
return (_window2 = window) !== null && _window2 !== void 0 && (_window2$matchMedia = _window2.matchMedia) !== null && _window2$matchMedia !== void 0 && (_window2$matchMedia = _window2$matchMedia.call(_window2, "(prefers-color-scheme: dark)")) !== null && _window2$matchMedia !== void 0 && _window2$matchMedia.matches ? "night" : "day";
|
|
69
69
|
}
|
|
70
|
-
//#endregion
|
|
71
70
|
export { useThemeProvider };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/internal/utils/getResponsiveAttributes.ts
|
|
2
2
|
/**
|
|
3
3
|
* Transform the given property and values in to corresponding data attributes
|
|
4
4
|
* to be placed on a container. This function is helpful for coordinating
|
|
@@ -25,5 +25,4 @@ function getResponsiveAttributes(property, values) {
|
|
|
25
25
|
function serialize(property, value) {
|
|
26
26
|
return [property, value];
|
|
27
27
|
}
|
|
28
|
-
//#endregion
|
|
29
28
|
export { getResponsiveAttributes };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/internal/utils/hasInteractiveNodes.ts
|
|
2
2
|
const nonValidSelectors = {
|
|
3
3
|
disabled: "[disabled]",
|
|
4
4
|
hidden: "[hidden]",
|
|
@@ -38,5 +38,4 @@ function isNonValidInteractiveNode(node) {
|
|
|
38
38
|
const nodeStyle = getComputedStyle(node);
|
|
39
39
|
return nodeStyle.display === "none" || nodeStyle.visibility === "hidden";
|
|
40
40
|
}
|
|
41
|
-
//#endregion
|
|
42
41
|
export { hasInteractiveNodes };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PolymorphicProps } from "../utils/modern-polymorphic.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/live-region/Announce.d.ts
|
|
5
5
|
type AnnounceProps<As extends React.ElementType> = PolymorphicProps<As, 'div', {
|
|
6
6
|
/**
|
|
7
7
|
* Specify if the content of the element should be announced when this
|
|
@@ -31,5 +31,4 @@ type AnnounceProps<As extends React.ElementType> = PolymorphicProps<As, 'div', {
|
|
|
31
31
|
* will also announce any changes to the text content of `children`
|
|
32
32
|
*/
|
|
33
33
|
declare function Announce<As extends React.ElementType = 'div'>(props: AnnounceProps<As>): React.JSX.Element;
|
|
34
|
-
//#endregion
|
|
35
34
|
export { Announce, AnnounceProps };
|
|
@@ -4,7 +4,7 @@ import { useEffectCallback } from "../internal/hooks/useEffectCallback.js";
|
|
|
4
4
|
import { useEffect, useRef } from "react";
|
|
5
5
|
import { announceFromElement } from "@primer/live-region-element";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/live-region/Announce.tsx
|
|
8
8
|
/**
|
|
9
9
|
* `Announce` is a component that will announce the text content of the
|
|
10
10
|
* `children` passed in to screen readers using the given politeness level. It
|
|
@@ -156,5 +156,4 @@ function isVisible(element) {
|
|
|
156
156
|
const style = window.getComputedStyle(element);
|
|
157
157
|
return style.display !== "none" && style.visibility !== "hidden";
|
|
158
158
|
}
|
|
159
|
-
//#endregion
|
|
160
159
|
export { Announce };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PolymorphicProps } from "../utils/modern-polymorphic.js";
|
|
2
2
|
import React, { ElementType } from "react";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/live-region/AriaAlert.d.ts
|
|
5
5
|
type AriaAlertProps<As extends ElementType = 'div'> = PolymorphicProps<As, 'div', {
|
|
6
6
|
/**
|
|
7
7
|
* Specify if the content of the element should be announced when this
|
|
@@ -16,5 +16,4 @@ type AriaAlertProps<As extends ElementType = 'div'> = PolymorphicProps<As, 'div'
|
|
|
16
16
|
hidden?: boolean;
|
|
17
17
|
}>;
|
|
18
18
|
declare function AriaAlert<As extends ElementType = 'div'>(props: AriaAlertProps<As>): React.JSX.Element;
|
|
19
|
-
//#endregion
|
|
20
19
|
export { AriaAlert, AriaAlertProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
2
|
import { Announce } from "./Announce.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/live-region/AriaAlert.tsx
|
|
5
5
|
function AriaAlert(props) {
|
|
6
6
|
var _props$announceOnShow;
|
|
7
7
|
const $ = c(3);
|
|
@@ -19,5 +19,4 @@ function AriaAlert(props) {
|
|
|
19
19
|
} else t1 = $[2];
|
|
20
20
|
return t1;
|
|
21
21
|
}
|
|
22
|
-
//#endregion
|
|
23
22
|
export { AriaAlert };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PolymorphicProps } from "../utils/modern-polymorphic.js";
|
|
2
2
|
import React, { ElementType } from "react";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/live-region/AriaStatus.d.ts
|
|
5
5
|
type AriaStatusProps<As extends ElementType = 'div'> = PolymorphicProps<As, 'div', {
|
|
6
6
|
/**
|
|
7
7
|
* Specify if the content of the element should be announced when this
|
|
@@ -20,5 +20,4 @@ type AriaStatusProps<As extends ElementType = 'div'> = PolymorphicProps<As, 'div
|
|
|
20
20
|
delayMs?: number;
|
|
21
21
|
}>;
|
|
22
22
|
declare function AriaStatus<As extends ElementType = 'div'>(props: AriaStatusProps<As>): React.JSX.Element;
|
|
23
|
-
//#endregion
|
|
24
23
|
export { AriaStatus, AriaStatusProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c } from "../utils/react-compiler-runtime.js";
|
|
2
2
|
import { Announce } from "./Announce.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/live-region/AriaStatus.tsx
|
|
5
5
|
function AriaStatus(props) {
|
|
6
6
|
var _props$announceOnShow;
|
|
7
7
|
const $ = c(3);
|
|
@@ -19,5 +19,4 @@ function AriaStatus(props) {
|
|
|
19
19
|
} else t1 = $[2];
|
|
20
20
|
return t1;
|
|
21
21
|
}
|
|
22
|
-
//#endregion
|
|
23
22
|
export { AriaStatus };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ThemeProviderProps } from "../ThemeProvider.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/next/ThemeProvider.d.ts
|
|
5
5
|
declare const ThemeProvider: React.FC<React.PropsWithChildren<ThemeProviderProps>>;
|
|
6
|
-
//#endregion
|
|
7
6
|
export { ThemeProvider, ThemeProvider as default };
|
|
@@ -2,7 +2,7 @@ import { c } from "../utils/react-compiler-runtime.js";
|
|
|
2
2
|
import { ThemeProviderBase } from "../internal/components/ThemeProviderBase.js";
|
|
3
3
|
import { useThemeProvider } from "../internal/hooks/useThemeProvider.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/next/ThemeProvider.tsx
|
|
6
6
|
const ThemeProvider = (t0) => {
|
|
7
7
|
const $ = c(7);
|
|
8
8
|
let children;
|
|
@@ -31,5 +31,4 @@ const ThemeProvider = (t0) => {
|
|
|
31
31
|
} else t1 = $[6];
|
|
32
32
|
return t1;
|
|
33
33
|
};
|
|
34
|
-
//#endregion
|
|
35
34
|
export { ThemeProvider, ThemeProvider as default };
|
package/dist/next/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ThemeProvider } from "./ThemeProvider.js";
|
|
2
|
+
import { Tooltip, TooltipProps } from "../TooltipV2/Tooltip.js";
|
|
1
3
|
import { ThemeProviderProps } from "../ThemeProvider.js";
|
|
2
4
|
import { useColorSchemeVar, useTheme } from "../useTheme.js";
|
|
3
|
-
import { Tooltip, TooltipProps } from "../TooltipV2/Tooltip.js";
|
|
4
|
-
import { ThemeProvider } from "./ThemeProvider.js";
|
|
5
5
|
export { ThemeProvider, type ThemeProviderProps, Tooltip, type TooltipProps, useColorSchemeVar, useTheme };
|
package/dist/next/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useColorSchemeVar, useTheme } from "../useTheme.js";
|
|
3
2
|
import { Tooltip } from "../TooltipV2/Tooltip.js";
|
|
4
3
|
import { ThemeProvider } from "./ThemeProvider.js";
|
|
4
|
+
import { useColorSchemeVar, useTheme } from "../useTheme.js";
|
|
5
5
|
export { ThemeProvider, Tooltip, useColorSchemeVar, useTheme };
|
package/dist/test-helpers.d.ts
CHANGED