@primer/react 38.0.0-rc.195178541 → 38.0.0-rc.2
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 +193 -2
- package/dist/browser.esm.js +3 -3
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +3 -3
- package/dist/browser.umd.js.map +1 -1
- package/dist/components.css +1311 -350
- package/generated/components.json +560 -766
- package/lib/ActionList/ActionList-167cf6c7.css +2 -0
- package/lib/ActionList/ActionList-167cf6c7.css.map +1 -0
- package/lib/ActionList/ActionList.module.css.js +2 -2
- package/lib/ActionList/ActionListContainerContext.d.ts +1 -1
- package/lib/ActionList/ActionListContainerContext.d.ts.map +1 -1
- package/lib/ActionList/Description.d.ts.map +1 -1
- package/lib/ActionList/Description.js +1 -2
- package/lib/ActionList/Divider.d.ts.map +1 -1
- package/lib/ActionList/Divider.js +1 -2
- package/lib/ActionList/Group.d.ts.map +1 -1
- package/lib/ActionList/Group.js +1 -6
- package/lib/ActionList/Item.d.ts.map +1 -1
- package/lib/ActionList/Item.js +6 -3
- package/lib/ActionList/LinkItem.d.ts +1 -1
- package/lib/ActionList/LinkItem.d.ts.map +1 -1
- package/lib/ActionList/LinkItem.js +3 -2
- package/lib/ActionList/List.d.ts.map +1 -1
- package/lib/ActionList/List.js +3 -5
- package/lib/ActionList/Selection.js +2 -1
- package/lib/ActionList/Visuals.d.ts.map +1 -1
- package/lib/ActionList/Visuals.js +0 -7
- package/lib/ActionList/shared.d.ts +2 -1
- package/lib/ActionList/shared.d.ts.map +1 -1
- package/lib/Autocomplete/AutocompleteMenu.js +7 -7
- package/lib/Avatar/Avatar.d.ts.map +1 -1
- package/lib/Avatar/Avatar.js +39 -41
- package/lib/AvatarStack/AvatarStack-802bdd7c.css +2 -0
- package/lib/AvatarStack/AvatarStack-802bdd7c.css.map +1 -0
- package/lib/AvatarStack/AvatarStack.d.ts +4 -3
- package/lib/AvatarStack/AvatarStack.d.ts.map +1 -1
- package/lib/AvatarStack/AvatarStack.js +10 -6
- package/lib/AvatarStack/AvatarStack.module.css.js +1 -1
- package/lib/Banner/Banner-6396546f.css +2 -0
- package/lib/Banner/Banner-6396546f.css.map +1 -0
- package/lib/Banner/Banner.d.ts.map +1 -1
- package/lib/Banner/Banner.js +3 -1
- package/lib/Banner/Banner.module.css.js +2 -2
- package/lib/{BaseStyles-7880c337.css → BaseStyles-79fd37c4.css} +2 -2
- package/lib/BaseStyles-79fd37c4.css.map +1 -0
- package/lib/BaseStyles.module.css.js +1 -1
- package/lib/Blankslate/{Blankslate-a68ed307.css → Blankslate-2be5efdc.css} +2 -2
- package/lib/Blankslate/Blankslate-2be5efdc.css.map +1 -0
- package/lib/Blankslate/Blankslate.js +38 -40
- package/lib/Blankslate/Blankslate.module.css.js +1 -1
- package/lib/BranchName/BranchName.d.ts +6 -3
- package/lib/BranchName/BranchName.d.ts.map +1 -1
- package/lib/BranchName/BranchName.js +1 -3
- package/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/lib/Breadcrumbs/Breadcrumbs.js +5 -5
- package/lib/Button/{ButtonBase-ec78dde7.css → ButtonBase-0a7871f4.css} +2 -2
- package/lib/Button/{ButtonBase-ec78dde7.css.map → ButtonBase-0a7871f4.css.map} +1 -1
- package/lib/Button/ButtonBase.js +2 -2
- package/lib/Button/ButtonBase.module.css.js +1 -1
- package/lib/ButtonGroup/ButtonGroup.d.ts.map +1 -1
- package/lib/ButtonGroup/ButtonGroup.js +24 -61
- package/lib/Checkbox/Checkbox.js +187 -56
- package/lib/CircleBadge/CircleBadge.d.ts +4 -0
- package/lib/CircleBadge/CircleBadge.d.ts.map +1 -1
- package/lib/CircleBadge/CircleBadge.js +4 -0
- package/lib/ConfirmationDialog/ConfirmationDialog.d.ts +8 -0
- package/lib/ConfirmationDialog/ConfirmationDialog.d.ts.map +1 -1
- package/lib/ConfirmationDialog/ConfirmationDialog.js +6 -2
- package/lib/CounterLabel/CounterLabel.d.ts.map +1 -1
- package/lib/CounterLabel/CounterLabel.js +43 -87
- package/lib/DataTable/Pagination-b6f8418c.css +2 -0
- package/lib/DataTable/Pagination-b6f8418c.css.map +1 -0
- package/lib/DataTable/Pagination.d.ts.map +1 -1
- package/lib/DataTable/Pagination.js +81 -88
- package/lib/DataTable/Pagination.module.css.js +7 -0
- package/lib/DataTable/Table.d.ts +1 -1
- package/lib/DataTable/Table.d.ts.map +1 -1
- package/lib/DataTable/Table.js +18 -26
- package/lib/DataTable/storyHelpers.d.ts +1 -1
- package/lib/DataTable/storyHelpers.d.ts.map +1 -1
- package/lib/DataTable/useTable.js +63 -82
- package/lib/Details/Details.d.ts +2 -3
- package/lib/Details/Details.d.ts.map +1 -1
- package/lib/Details/Details.js +33 -82
- package/lib/FeatureFlags/DefaultFeatureFlags.d.ts.map +1 -1
- package/lib/FeatureFlags/DefaultFeatureFlags.js +2 -3
- package/lib/FeatureFlags/FeatureFlags.js +10 -12
- package/lib/FilteredActionList/FilteredActionList-96b126d7.css +2 -0
- package/lib/FilteredActionList/FilteredActionList-96b126d7.css.map +1 -0
- package/lib/FilteredActionList/{FilteredActionListWithModernActionList.d.ts → FilteredActionList.d.ts} +9 -4
- package/lib/FilteredActionList/FilteredActionList.d.ts.map +1 -0
- package/lib/FilteredActionList/{FilteredActionListWithModernActionList.js → FilteredActionList.js} +156 -42
- package/lib/FilteredActionList/FilteredActionList.module.css.js +2 -2
- package/lib/FilteredActionList/FilteredActionListLoaders.js +1 -1
- package/lib/FilteredActionList/index.d.ts +3 -2
- package/lib/FilteredActionList/index.d.ts.map +1 -1
- package/lib/FilteredActionList/types.d.ts +159 -0
- package/lib/FilteredActionList/types.d.ts.map +1 -0
- package/lib/FilteredActionList/useAnnouncements.d.ts +5 -2
- package/lib/FilteredActionList/useAnnouncements.d.ts.map +1 -1
- package/lib/FilteredActionList/useAnnouncements.js +112 -65
- package/lib/FormControl/FormControl.d.ts.map +1 -1
- package/lib/FormControl/FormControl.js +3 -12
- package/lib/Header/Header.d.ts.map +1 -1
- package/lib/Header/Header.js +64 -170
- package/lib/InlineMessage/InlineMessage.d.ts +1 -1
- package/lib/InlineMessage/InlineMessage.d.ts.map +1 -1
- package/lib/InlineMessage/InlineMessage.js +31 -69
- package/lib/Label/Label.d.ts.map +1 -1
- package/lib/Label/Label.js +10 -8
- package/lib/LabelGroup/LabelGroup.d.ts +1 -2
- package/lib/LabelGroup/LabelGroup.d.ts.map +1 -1
- package/lib/LabelGroup/LabelGroup.js +13 -16
- package/lib/NavList/NavList.js +219 -53
- package/lib/Overlay/Overlay-40e80d0e.css +2 -0
- package/lib/Overlay/Overlay-40e80d0e.css.map +1 -0
- package/lib/Overlay/Overlay.module.css.js +1 -1
- package/lib/PageHeader/PageHeader.d.ts.map +1 -1
- package/lib/PageHeader/PageHeader.js +21 -30
- package/lib/PageLayout/PageLayout.d.ts.map +1 -1
- package/lib/PageLayout/PageLayout.js +466 -476
- package/lib/Pagehead/Pagehead.d.ts +1 -1
- package/lib/Pagehead/Pagehead.d.ts.map +1 -1
- package/lib/Pagehead/Pagehead.js +2 -11
- package/lib/PointerBox/PointerBox.d.ts +9 -1
- package/lib/PointerBox/PointerBox.d.ts.map +1 -1
- package/lib/PointerBox/PointerBox.js +5 -1
- package/lib/Popover/Popover-b609f443.css +2 -0
- package/lib/Popover/Popover-b609f443.css.map +1 -0
- package/lib/Popover/Popover.d.ts +5 -0
- package/lib/Popover/Popover.d.ts.map +1 -1
- package/lib/Popover/Popover.js +40 -21
- package/lib/Popover/Popover.module.css.js +1 -1
- package/lib/Portal/Portal.d.ts.map +1 -1
- package/lib/Portal/Portal.js +1 -0
- package/lib/ProgressBar/ProgressBar-36f689cb.css +2 -0
- package/lib/ProgressBar/ProgressBar-36f689cb.css.map +1 -0
- package/lib/ProgressBar/ProgressBar.d.ts +3 -4
- package/lib/ProgressBar/ProgressBar.d.ts.map +1 -1
- package/lib/ProgressBar/ProgressBar.js +53 -49
- package/lib/ProgressBar/ProgressBar.module.css.js +1 -1
- package/lib/ProgressBar/index.d.ts +2 -2
- package/lib/ProgressBar/index.d.ts.map +1 -1
- package/lib/Radio/{Radio-b2a92b7d.css → Radio-df9a5c02.css} +2 -2
- package/lib/Radio/{Radio-b2a92b7d.css.map → Radio-df9a5c02.css.map} +1 -1
- package/lib/Radio/Radio.d.ts.map +1 -1
- package/lib/Radio/Radio.js +40 -91
- package/lib/Radio/Radio.module.css.js +1 -1
- package/lib/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/lib/SegmentedControl/SegmentedControl.js +23 -25
- package/lib/SegmentedControl/SegmentedControlButton.d.ts.map +1 -1
- package/lib/SegmentedControl/SegmentedControlButton.js +70 -72
- package/lib/SegmentedControl/SegmentedControlIconButton.d.ts.map +1 -1
- package/lib/SegmentedControl/SegmentedControlIconButton.js +110 -112
- package/lib/Select/Select.d.ts +1 -1
- package/lib/Select/Select.d.ts.map +1 -1
- package/lib/Select/Select.js +79 -83
- package/lib/SelectPanel/SelectPanel-e11ce210.css +2 -0
- package/lib/SelectPanel/SelectPanel-e11ce210.css.map +1 -0
- package/lib/SelectPanel/SelectPanel.d.ts +8 -4
- package/lib/SelectPanel/SelectPanel.d.ts.map +1 -1
- package/lib/SelectPanel/SelectPanel.js +66 -29
- package/lib/SelectPanel/SelectPanel.module.css.js +2 -2
- package/lib/SelectPanel/SelectPanelMessage.d.ts +13 -0
- package/lib/SelectPanel/SelectPanelMessage.d.ts.map +1 -1
- package/lib/SelectPanel/SelectPanelMessage.js +10 -4
- package/lib/SelectPanel/index.d.ts +1 -0
- package/lib/SelectPanel/index.d.ts.map +1 -1
- package/lib/SideNav.d.ts +2 -3
- package/lib/SideNav.d.ts.map +1 -1
- package/lib/SideNav.js +4 -11
- package/lib/Skeleton/SkeletonBox.d.ts +2 -2
- package/lib/Skeleton/SkeletonBox.d.ts.map +1 -1
- package/lib/Skeleton/SkeletonBox.js +25 -24
- package/lib/SkeletonAvatar/SkeletonAvatar-e00fff32.css +2 -0
- package/lib/SkeletonAvatar/SkeletonAvatar-e00fff32.css.map +1 -0
- package/lib/SkeletonAvatar/SkeletonAvatar.d.ts +12 -0
- package/lib/SkeletonAvatar/SkeletonAvatar.d.ts.map +1 -0
- package/lib/{experimental/Skeleton → SkeletonAvatar}/SkeletonAvatar.js +5 -5
- package/lib/{experimental/Skeleton → SkeletonAvatar}/SkeletonAvatar.module.css.js +1 -1
- package/lib/SkeletonAvatar/index.d.ts +3 -0
- package/lib/SkeletonAvatar/index.d.ts.map +1 -0
- package/lib/SkeletonText/SkeletonText-5cf908c1.css +2 -0
- package/lib/SkeletonText/SkeletonText-5cf908c1.css.map +1 -0
- package/lib/{experimental/Skeleton → SkeletonText}/SkeletonText.d.ts +5 -4
- package/lib/SkeletonText/SkeletonText.d.ts.map +1 -0
- package/lib/SkeletonText/SkeletonText.js +142 -0
- package/lib/SkeletonText/SkeletonText.module.css.js +7 -0
- package/lib/SkeletonText/index.d.ts +3 -0
- package/lib/SkeletonText/index.d.ts.map +1 -0
- package/lib/Spinner/Spinner.d.ts +1 -1
- package/lib/Spinner/Spinner.d.ts.map +1 -1
- package/lib/Spinner/Spinner.js +13 -51
- package/lib/SplitPageLayout/SplitPageLayout.d.ts +1 -2
- package/lib/SplitPageLayout/SplitPageLayout.d.ts.map +1 -1
- package/{lib-esm/Stack/Stack-83ac2229.css → lib/Stack/Stack-9e7b935d.css} +2 -2
- package/lib/Stack/Stack-9e7b935d.css.map +1 -0
- package/lib/Stack/Stack.d.ts +5 -0
- package/lib/Stack/Stack.d.ts.map +1 -1
- package/lib/Stack/Stack.js +125 -112
- package/lib/Stack/Stack.module.css.js +1 -1
- package/lib/StateLabel/StateLabel-50420ff5.css +2 -0
- package/lib/StateLabel/StateLabel-50420ff5.css.map +1 -0
- package/lib/StateLabel/StateLabel.d.ts +7 -7
- package/lib/StateLabel/StateLabel.d.ts.map +1 -1
- package/lib/StateLabel/StateLabel.js +56 -130
- package/lib/StateLabel/StateLabel.module.css.js +7 -0
- package/lib/SubNav/SubNav.d.ts +8 -16
- package/lib/SubNav/SubNav.d.ts.map +1 -1
- package/lib/SubNav/SubNav.js +74 -215
- package/lib/TabNav/TabNav-83c6145e.css +2 -0
- package/lib/TabNav/TabNav-83c6145e.css.map +1 -0
- package/lib/TabNav/TabNav.module.css.js +1 -1
- package/lib/Text/Text.d.ts.map +1 -1
- package/lib/Text/Text.js +2 -3
- package/lib/TextInput/TextInput.d.ts +1 -1
- package/lib/TextInput/TextInput.d.ts.map +1 -1
- package/lib/TextInputWithTokens/TextInputWithTokens.d.ts +6 -0
- package/lib/TextInputWithTokens/TextInputWithTokens.d.ts.map +1 -1
- package/lib/TextInputWithTokens/TextInputWithTokens.js +343 -331
- package/lib/Textarea/Textarea.d.ts +24 -0
- package/lib/Textarea/Textarea.d.ts.map +1 -1
- package/lib/Textarea/Textarea.js +72 -44
- package/lib/Timeline/Timeline.d.ts +1 -1
- package/lib/Timeline/Timeline.d.ts.map +1 -1
- package/lib/Timeline/Timeline.js +92 -264
- package/lib/ToggleSwitch/ToggleSwitch-4b23d166.css +2 -0
- package/lib/ToggleSwitch/ToggleSwitch-4b23d166.css.map +1 -0
- package/lib/ToggleSwitch/ToggleSwitch.d.ts +14 -5
- package/lib/ToggleSwitch/ToggleSwitch.d.ts.map +1 -1
- package/lib/ToggleSwitch/ToggleSwitch.js +263 -275
- package/lib/ToggleSwitch/ToggleSwitch.module.css.js +7 -0
- package/lib/ToggleSwitch/ToggleSwitchStoryWrapper.d.ts.map +1 -1
- package/lib/Token/IssueLabelToken-0dbbbcdf.css +2 -0
- package/lib/Token/IssueLabelToken-0dbbbcdf.css.map +1 -0
- package/lib/Token/IssueLabelToken.d.ts.map +1 -1
- package/lib/Token/IssueLabelToken.js +7 -65
- package/lib/Token/IssueLabelToken.module.css.js +1 -1
- package/lib/Token/Token.d.ts.map +1 -1
- package/lib/Token/Token.js +120 -128
- package/lib/Token/TokenBase.js +78 -83
- package/lib/Token/_RemoveTokenButton.js +106 -26
- package/lib/Token/index.d.ts +0 -1
- package/lib/Token/index.d.ts.map +1 -1
- package/lib/Tooltip/Tooltip.js +15 -17
- package/lib/TooltipV2/Tooltip-5a80d7b2.css +2 -0
- package/lib/TooltipV2/Tooltip-5a80d7b2.css.map +1 -0
- package/lib/TooltipV2/Tooltip.d.ts.map +1 -1
- package/lib/TooltipV2/Tooltip.js +3 -3
- package/lib/TooltipV2/Tooltip.module.css.js +1 -1
- package/lib/TreeView/TreeView.js +20 -22
- package/lib/TreeView/shared.js +2 -2
- package/lib/VisuallyHidden/VisuallyHidden.d.ts +2 -3
- package/lib/VisuallyHidden/VisuallyHidden.d.ts.map +1 -1
- package/lib/VisuallyHidden/VisuallyHidden.js +17 -51
- package/lib/_VisuallyHidden-5c0a2499.css +2 -0
- package/lib/_VisuallyHidden-5c0a2499.css.map +1 -0
- package/lib/_VisuallyHidden.d.ts +3 -2
- package/lib/_VisuallyHidden.d.ts.map +1 -1
- package/lib/_VisuallyHidden.js +63 -26
- package/lib/_VisuallyHidden.module.css.js +7 -0
- package/lib/deprecated/ActionList/List.d.ts.map +1 -1
- package/lib/deprecated/ActionList/List.js +115 -138
- package/lib/deprecated/ActionMenu.js +19 -21
- package/lib/deprecated/UnderlineNav/UnderlineNav.d.ts +2 -3
- package/lib/deprecated/UnderlineNav/UnderlineNav.d.ts.map +1 -1
- package/lib/deprecated/UnderlineNav/UnderlineNav.js +2 -3
- package/lib/deprecated/index.d.ts +2 -0
- package/lib/deprecated/index.d.ts.map +1 -1
- package/lib/deprecated/index.js +2 -0
- package/lib/experimental/IssueLabel/IssueLabel-6581d1bd.css +2 -0
- package/lib/experimental/IssueLabel/IssueLabel-6581d1bd.css.map +1 -0
- package/lib/experimental/IssueLabel/IssueLabel.d.ts +28 -13
- package/lib/experimental/IssueLabel/IssueLabel.d.ts.map +1 -1
- package/lib/experimental/IssueLabel/IssueLabel.js +129 -135
- package/lib/experimental/IssueLabel/IssueLabel.module.css.js +1 -1
- package/lib/experimental/UnderlinePanels/UnderlinePanels.d.ts.map +1 -1
- package/lib/experimental/UnderlinePanels/UnderlinePanels.js +30 -40
- package/lib/experimental/index.d.ts +6 -1
- package/lib/experimental/index.d.ts.map +1 -1
- package/lib/experimental/index.js +4 -4
- package/lib/hooks/useMenuKeyboardNavigation.js +23 -43
- package/lib/hooks/useMnemonics.js +37 -77
- package/lib/hooks/useOpenAndCloseFocus.js +7 -14
- package/lib/hooks/useOverflow.js +7 -11
- package/lib/hooks/useScrollFlash.js +25 -14
- package/lib/index.d.ts +6 -9
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +10 -16
- package/lib/internal/components/BoxWithFallback.js +40 -35
- package/lib/internal/components/ButtonReset-904f2483.css +2 -0
- package/lib/internal/components/ButtonReset-904f2483.css.map +1 -0
- package/lib/internal/components/ButtonReset.d.ts +1 -2
- package/lib/internal/components/ButtonReset.d.ts.map +1 -1
- package/lib/internal/components/ButtonReset.js +49 -13
- package/lib/internal/components/ButtonReset.module.css.js +7 -0
- package/lib/internal/components/Caret-e686f04c.css +2 -0
- package/lib/internal/components/Caret-e686f04c.css.map +1 -0
- package/{lib-esm → lib/internal/components}/Caret.d.ts +1 -3
- package/lib/internal/components/Caret.d.ts.map +1 -0
- package/lib/{Caret.js → internal/components/Caret.js} +14 -48
- package/lib/internal/components/Caret.module.css.js +7 -0
- package/lib/internal/components/LiveRegion.js +8 -10
- package/lib/internal/components/{TextInputWrapper-ca608f70.css → TextInputWrapper-889df5d3.css} +2 -2
- package/{lib-esm/internal/components/TextInputWrapper-ca608f70.css.map → lib/internal/components/TextInputWrapper-889df5d3.css.map} +1 -1
- package/lib/internal/components/TextInputWrapper.module.css.js +1 -1
- package/lib/internal/components/UnderlineTabbedInterface.d.ts.map +1 -1
- package/lib/internal/components/UnderlineTabbedInterface.js +60 -108
- package/lib/internal/utils/getGlobalFocusStyles.js +1 -1
- package/lib/live-region/Announce.js +2 -2
- package/lib/test-helpers.js +3 -0
- package/lib/utils/form-story-helpers.d.ts +1 -1
- package/lib/utils/form-story-helpers.d.ts.map +1 -1
- package/lib-esm/ActionList/ActionList-167cf6c7.css +2 -0
- package/lib-esm/ActionList/ActionList-167cf6c7.css.map +1 -0
- package/lib-esm/ActionList/ActionList.module.css.js +2 -2
- package/lib-esm/ActionList/ActionListContainerContext.d.ts +1 -1
- package/lib-esm/ActionList/Description.js +1 -2
- package/lib-esm/ActionList/Divider.js +1 -2
- package/lib-esm/ActionList/Group.js +1 -6
- package/lib-esm/ActionList/Item.js +6 -3
- package/lib-esm/ActionList/LinkItem.d.ts +1 -1
- package/lib-esm/ActionList/LinkItem.js +3 -2
- package/lib-esm/ActionList/List.js +3 -5
- package/lib-esm/ActionList/Selection.js +2 -1
- package/lib-esm/ActionList/Visuals.js +0 -7
- package/lib-esm/ActionList/shared.d.ts +2 -1
- package/lib-esm/Autocomplete/AutocompleteMenu.js +1 -1
- package/lib-esm/Avatar/Avatar.js +39 -41
- package/lib-esm/AvatarStack/AvatarStack-802bdd7c.css +2 -0
- package/lib-esm/AvatarStack/AvatarStack-802bdd7c.css.map +1 -0
- package/lib-esm/AvatarStack/AvatarStack.d.ts +4 -3
- package/lib-esm/AvatarStack/AvatarStack.js +10 -6
- package/lib-esm/AvatarStack/AvatarStack.module.css.js +1 -1
- package/lib-esm/Banner/Banner-6396546f.css +2 -0
- package/lib-esm/Banner/Banner-6396546f.css.map +1 -0
- package/lib-esm/Banner/Banner.js +3 -1
- package/lib-esm/Banner/Banner.module.css.js +2 -2
- package/lib-esm/{BaseStyles-7880c337.css → BaseStyles-79fd37c4.css} +2 -2
- package/lib-esm/BaseStyles-79fd37c4.css.map +1 -0
- package/lib-esm/BaseStyles.module.css.js +1 -1
- package/lib-esm/Blankslate/{Blankslate-a68ed307.css → Blankslate-2be5efdc.css} +2 -2
- package/lib-esm/Blankslate/Blankslate-2be5efdc.css.map +1 -0
- package/lib-esm/Blankslate/Blankslate.js +38 -40
- package/lib-esm/Blankslate/Blankslate.module.css.js +1 -1
- package/lib-esm/BranchName/BranchName.d.ts +6 -3
- package/lib-esm/BranchName/BranchName.js +1 -3
- package/lib-esm/Breadcrumbs/Breadcrumbs.js +5 -5
- package/lib-esm/Button/{ButtonBase-ec78dde7.css → ButtonBase-0a7871f4.css} +2 -2
- package/lib-esm/Button/{ButtonBase-ec78dde7.css.map → ButtonBase-0a7871f4.css.map} +1 -1
- package/lib-esm/Button/ButtonBase.js +2 -2
- package/lib-esm/Button/ButtonBase.module.css.js +1 -1
- package/lib-esm/ButtonGroup/ButtonGroup.js +24 -61
- package/lib-esm/Checkbox/Checkbox.js +187 -56
- package/lib-esm/CircleBadge/CircleBadge.d.ts +4 -0
- package/lib-esm/CircleBadge/CircleBadge.js +4 -0
- package/lib-esm/ConfirmationDialog/ConfirmationDialog.d.ts +8 -0
- package/lib-esm/ConfirmationDialog/ConfirmationDialog.js +6 -2
- package/lib-esm/CounterLabel/CounterLabel.js +43 -87
- package/lib-esm/DataTable/Pagination-b6f8418c.css +2 -0
- package/lib-esm/DataTable/Pagination-b6f8418c.css.map +1 -0
- package/lib-esm/DataTable/Pagination.js +81 -84
- package/lib-esm/DataTable/Pagination.module.css.js +5 -0
- package/lib-esm/DataTable/Table.d.ts +1 -1
- package/lib-esm/DataTable/Table.js +18 -26
- package/lib-esm/DataTable/storyHelpers.d.ts +1 -1
- package/lib-esm/DataTable/useTable.js +64 -83
- package/lib-esm/Details/Details.d.ts +2 -3
- package/lib-esm/Details/Details.js +33 -82
- package/lib-esm/FeatureFlags/DefaultFeatureFlags.js +2 -3
- package/lib-esm/FeatureFlags/FeatureFlags.js +10 -12
- package/lib-esm/FilteredActionList/FilteredActionList-96b126d7.css +2 -0
- package/lib-esm/FilteredActionList/FilteredActionList-96b126d7.css.map +1 -0
- package/lib-esm/FilteredActionList/{FilteredActionListWithModernActionList.d.ts → FilteredActionList.d.ts} +9 -4
- package/lib-esm/FilteredActionList/{FilteredActionListWithModernActionList.js → FilteredActionList.js} +156 -42
- package/lib-esm/FilteredActionList/FilteredActionList.module.css.js +2 -2
- package/lib-esm/FilteredActionList/FilteredActionListLoaders.js +1 -1
- package/lib-esm/FilteredActionList/index.d.ts +3 -2
- package/lib-esm/FilteredActionList/types.d.ts +159 -0
- package/lib-esm/FilteredActionList/useAnnouncements.d.ts +5 -2
- package/lib-esm/FilteredActionList/useAnnouncements.js +112 -65
- package/lib-esm/FormControl/FormControl.js +3 -12
- package/lib-esm/Header/Header.js +64 -170
- package/lib-esm/InlineMessage/InlineMessage.d.ts +1 -1
- package/lib-esm/InlineMessage/InlineMessage.js +31 -69
- package/lib-esm/Label/Label.js +10 -8
- package/lib-esm/LabelGroup/LabelGroup.d.ts +1 -2
- package/lib-esm/LabelGroup/LabelGroup.js +13 -16
- package/lib-esm/NavList/NavList.js +219 -53
- package/lib-esm/Overlay/Overlay-40e80d0e.css +2 -0
- package/lib-esm/Overlay/Overlay-40e80d0e.css.map +1 -0
- package/lib-esm/Overlay/Overlay.module.css.js +1 -1
- package/lib-esm/PageHeader/PageHeader.js +21 -30
- package/lib-esm/PageLayout/PageLayout.js +466 -476
- package/lib-esm/Pagehead/Pagehead.d.ts +1 -1
- package/lib-esm/Pagehead/Pagehead.js +2 -11
- package/lib-esm/PointerBox/PointerBox.d.ts +9 -1
- package/lib-esm/PointerBox/PointerBox.js +5 -1
- package/lib-esm/Popover/Popover-b609f443.css +2 -0
- package/lib-esm/Popover/Popover-b609f443.css.map +1 -0
- package/lib-esm/Popover/Popover.d.ts +5 -0
- package/lib-esm/Popover/Popover.js +40 -21
- package/lib-esm/Popover/Popover.module.css.js +1 -1
- package/lib-esm/Portal/Portal.js +1 -0
- package/lib-esm/ProgressBar/ProgressBar-36f689cb.css +2 -0
- package/lib-esm/ProgressBar/ProgressBar-36f689cb.css.map +1 -0
- package/lib-esm/ProgressBar/ProgressBar.d.ts +3 -4
- package/lib-esm/ProgressBar/ProgressBar.js +53 -49
- package/lib-esm/ProgressBar/ProgressBar.module.css.js +1 -1
- package/lib-esm/ProgressBar/index.d.ts +2 -2
- package/lib-esm/Radio/{Radio-b2a92b7d.css → Radio-df9a5c02.css} +2 -2
- package/lib-esm/Radio/{Radio-b2a92b7d.css.map → Radio-df9a5c02.css.map} +1 -1
- package/lib-esm/Radio/Radio.js +40 -91
- package/lib-esm/Radio/Radio.module.css.js +1 -1
- package/lib-esm/SegmentedControl/SegmentedControl.js +23 -25
- package/lib-esm/SegmentedControl/SegmentedControlButton.js +70 -72
- package/lib-esm/SegmentedControl/SegmentedControlIconButton.js +110 -112
- package/lib-esm/Select/Select.d.ts +1 -1
- package/lib-esm/Select/Select.js +79 -83
- package/lib-esm/SelectPanel/SelectPanel-e11ce210.css +2 -0
- package/lib-esm/SelectPanel/SelectPanel-e11ce210.css.map +1 -0
- package/lib-esm/SelectPanel/SelectPanel.d.ts +8 -4
- package/lib-esm/SelectPanel/SelectPanel.js +64 -27
- package/lib-esm/SelectPanel/SelectPanel.module.css.js +2 -2
- package/lib-esm/SelectPanel/SelectPanelMessage.d.ts +13 -0
- package/lib-esm/SelectPanel/SelectPanelMessage.js +10 -4
- package/lib-esm/SelectPanel/index.d.ts +1 -0
- package/lib-esm/SideNav.d.ts +2 -3
- package/lib-esm/SideNav.js +4 -11
- package/lib-esm/Skeleton/SkeletonBox.d.ts +2 -2
- package/lib-esm/Skeleton/SkeletonBox.js +25 -24
- package/lib-esm/SkeletonAvatar/SkeletonAvatar-e00fff32.css +2 -0
- package/lib-esm/SkeletonAvatar/SkeletonAvatar-e00fff32.css.map +1 -0
- package/lib-esm/SkeletonAvatar/SkeletonAvatar.d.ts +12 -0
- package/lib-esm/{experimental/Skeleton → SkeletonAvatar}/SkeletonAvatar.js +5 -5
- package/lib-esm/SkeletonAvatar/SkeletonAvatar.module.css.js +5 -0
- package/lib-esm/SkeletonAvatar/index.d.ts +3 -0
- package/lib-esm/SkeletonText/SkeletonText-5cf908c1.css +2 -0
- package/lib-esm/SkeletonText/SkeletonText-5cf908c1.css.map +1 -0
- package/lib-esm/{experimental/Skeleton → SkeletonText}/SkeletonText.d.ts +5 -4
- package/lib-esm/SkeletonText/SkeletonText.js +140 -0
- package/lib-esm/SkeletonText/SkeletonText.module.css.js +5 -0
- package/lib-esm/SkeletonText/index.d.ts +3 -0
- package/lib-esm/Spinner/Spinner.d.ts +1 -1
- package/lib-esm/Spinner/Spinner.js +13 -47
- package/lib-esm/SplitPageLayout/SplitPageLayout.d.ts +1 -2
- package/{lib/Stack/Stack-83ac2229.css → lib-esm/Stack/Stack-9e7b935d.css} +2 -2
- package/lib-esm/Stack/Stack-9e7b935d.css.map +1 -0
- package/lib-esm/Stack/Stack.d.ts +5 -0
- package/lib-esm/Stack/Stack.js +125 -112
- package/lib-esm/Stack/Stack.module.css.js +1 -1
- package/lib-esm/StateLabel/StateLabel-50420ff5.css +2 -0
- package/lib-esm/StateLabel/StateLabel-50420ff5.css.map +1 -0
- package/lib-esm/StateLabel/StateLabel.d.ts +7 -7
- package/lib-esm/StateLabel/StateLabel.js +57 -127
- package/lib-esm/StateLabel/StateLabel.module.css.js +5 -0
- package/lib-esm/SubNav/SubNav.d.ts +8 -16
- package/lib-esm/SubNav/SubNav.js +74 -215
- package/lib-esm/TabNav/TabNav-83c6145e.css +2 -0
- package/lib-esm/TabNav/TabNav-83c6145e.css.map +1 -0
- package/lib-esm/TabNav/TabNav.module.css.js +1 -1
- package/lib-esm/Text/Text.js +2 -3
- package/lib-esm/TextInput/TextInput.d.ts +1 -1
- package/lib-esm/TextInputWithTokens/TextInputWithTokens.d.ts +6 -0
- package/lib-esm/TextInputWithTokens/TextInputWithTokens.js +343 -331
- package/lib-esm/Textarea/Textarea.d.ts +24 -0
- package/lib-esm/Textarea/Textarea.js +72 -44
- package/lib-esm/Timeline/Timeline.d.ts +1 -1
- package/lib-esm/Timeline/Timeline.js +92 -264
- package/lib-esm/ToggleSwitch/ToggleSwitch-4b23d166.css +2 -0
- package/lib-esm/ToggleSwitch/ToggleSwitch-4b23d166.css.map +1 -0
- package/lib-esm/ToggleSwitch/ToggleSwitch.d.ts +14 -5
- package/lib-esm/ToggleSwitch/ToggleSwitch.js +263 -274
- package/lib-esm/ToggleSwitch/ToggleSwitch.module.css.js +5 -0
- package/lib-esm/Token/IssueLabelToken-0dbbbcdf.css +2 -0
- package/lib-esm/Token/IssueLabelToken-0dbbbcdf.css.map +1 -0
- package/lib-esm/Token/IssueLabelToken.js +7 -65
- package/lib-esm/Token/IssueLabelToken.module.css.js +1 -1
- package/lib-esm/Token/Token.js +120 -128
- package/lib-esm/Token/TokenBase.js +78 -83
- package/lib-esm/Token/_RemoveTokenButton.js +106 -26
- package/lib-esm/Token/index.d.ts +0 -1
- package/lib-esm/Tooltip/Tooltip.js +15 -17
- package/lib-esm/TooltipV2/Tooltip-5a80d7b2.css +2 -0
- package/lib-esm/TooltipV2/Tooltip-5a80d7b2.css.map +1 -0
- package/lib-esm/TooltipV2/Tooltip.js +3 -3
- package/lib-esm/TooltipV2/Tooltip.module.css.js +1 -1
- package/lib-esm/TreeView/TreeView.js +20 -22
- package/lib-esm/TreeView/shared.js +2 -2
- package/lib-esm/VisuallyHidden/VisuallyHidden.d.ts +2 -3
- package/lib-esm/VisuallyHidden/VisuallyHidden.js +17 -51
- package/lib-esm/_VisuallyHidden-5c0a2499.css +2 -0
- package/lib-esm/_VisuallyHidden-5c0a2499.css.map +1 -0
- package/lib-esm/_VisuallyHidden.d.ts +3 -2
- package/lib-esm/_VisuallyHidden.js +63 -22
- package/lib-esm/_VisuallyHidden.module.css.js +5 -0
- package/lib-esm/deprecated/ActionList/List.js +116 -138
- package/lib-esm/deprecated/ActionMenu.js +19 -21
- package/lib-esm/deprecated/UnderlineNav/UnderlineNav.d.ts +2 -3
- package/lib-esm/deprecated/UnderlineNav/UnderlineNav.js +2 -3
- package/lib-esm/deprecated/index.d.ts +2 -0
- package/lib-esm/deprecated/index.js +1 -0
- package/lib-esm/experimental/IssueLabel/IssueLabel-6581d1bd.css +2 -0
- package/lib-esm/experimental/IssueLabel/IssueLabel-6581d1bd.css.map +1 -0
- package/lib-esm/experimental/IssueLabel/IssueLabel.d.ts +28 -13
- package/lib-esm/experimental/IssueLabel/IssueLabel.js +129 -135
- package/lib-esm/experimental/IssueLabel/IssueLabel.module.css.js +1 -1
- package/lib-esm/experimental/UnderlinePanels/UnderlinePanels.js +30 -40
- package/lib-esm/experimental/index.d.ts +6 -1
- package/lib-esm/experimental/index.js +3 -3
- package/lib-esm/hooks/useMenuKeyboardNavigation.js +23 -43
- package/lib-esm/hooks/useMnemonics.js +37 -77
- package/lib-esm/hooks/useOpenAndCloseFocus.js +7 -14
- package/lib-esm/hooks/useOverflow.js +7 -11
- package/lib-esm/hooks/useScrollFlash.js +25 -14
- package/lib-esm/index.d.ts +6 -9
- package/lib-esm/index.js +1 -4
- package/lib-esm/internal/components/BoxWithFallback.js +40 -35
- package/lib-esm/internal/components/ButtonReset-904f2483.css +2 -0
- package/lib-esm/internal/components/ButtonReset-904f2483.css.map +1 -0
- package/lib-esm/internal/components/ButtonReset.d.ts +1 -2
- package/lib-esm/internal/components/ButtonReset.js +49 -9
- package/lib-esm/internal/components/ButtonReset.module.css.js +5 -0
- package/lib-esm/internal/components/Caret-e686f04c.css +2 -0
- package/lib-esm/internal/components/Caret-e686f04c.css.map +1 -0
- package/{lib → lib-esm/internal/components}/Caret.d.ts +1 -3
- package/lib-esm/{Caret.js → internal/components/Caret.js} +14 -44
- package/lib-esm/internal/components/Caret.module.css.js +5 -0
- package/lib-esm/internal/components/LiveRegion.js +8 -10
- package/lib-esm/internal/components/{TextInputWrapper-ca608f70.css → TextInputWrapper-889df5d3.css} +2 -2
- package/{lib/internal/components/TextInputWrapper-ca608f70.css.map → lib-esm/internal/components/TextInputWrapper-889df5d3.css.map} +1 -1
- package/lib-esm/internal/components/TextInputWrapper.module.css.js +1 -1
- package/lib-esm/internal/components/UnderlineTabbedInterface.js +60 -108
- package/lib-esm/internal/utils/getGlobalFocusStyles.js +1 -1
- package/lib-esm/live-region/Announce.js +2 -2
- package/lib-esm/test-helpers.js +3 -0
- package/lib-esm/utils/form-story-helpers.d.ts +1 -1
- package/package.json +31 -34
- package/lib/ActionList/ActionList-49cba224.css +0 -2
- package/lib/ActionList/ActionList-49cba224.css.map +0 -1
- package/lib/AvatarPair/AvatarPair-68990abe.css +0 -2
- package/lib/AvatarPair/AvatarPair-68990abe.css.map +0 -1
- package/lib/AvatarPair/AvatarPair.d.ts +0 -8
- package/lib/AvatarPair/AvatarPair.d.ts.map +0 -1
- package/lib/AvatarPair/AvatarPair.js +0 -92
- package/lib/AvatarPair/AvatarPair.module.css.js +0 -7
- package/lib/AvatarPair/index.d.ts +0 -3
- package/lib/AvatarPair/index.d.ts.map +0 -1
- package/lib/AvatarStack/AvatarStack-f0712fca.css +0 -2
- package/lib/AvatarStack/AvatarStack-f0712fca.css.map +0 -1
- package/lib/Banner/Banner-43e2cd6a.css +0 -2
- package/lib/Banner/Banner-43e2cd6a.css.map +0 -1
- package/lib/BaseStyles-7880c337.css.map +0 -1
- package/lib/Blankslate/Blankslate-a68ed307.css.map +0 -1
- package/lib/Caret.d.ts.map +0 -1
- package/lib/CircleOcticon/CircleOcticon.d.ts +0 -13
- package/lib/CircleOcticon/CircleOcticon.d.ts.map +0 -1
- package/lib/CircleOcticon/CircleOcticon.js +0 -96
- package/lib/CircleOcticon/index.d.ts +0 -3
- package/lib/CircleOcticon/index.d.ts.map +0 -1
- package/lib/FilteredActionList/FilteredActionList-e1dde781.css +0 -2
- package/lib/FilteredActionList/FilteredActionList-e1dde781.css.map +0 -1
- package/lib/FilteredActionList/FilteredActionListEntry.d.ts +0 -7
- package/lib/FilteredActionList/FilteredActionListEntry.d.ts.map +0 -1
- package/lib/FilteredActionList/FilteredActionListEntry.js +0 -40
- package/lib/FilteredActionList/FilteredActionListWithDeprecatedActionList.d.ts +0 -23
- package/lib/FilteredActionList/FilteredActionListWithDeprecatedActionList.d.ts.map +0 -1
- package/lib/FilteredActionList/FilteredActionListWithDeprecatedActionList.js +0 -219
- package/lib/FilteredActionList/FilteredActionListWithModernActionList.d.ts.map +0 -1
- package/lib/Overlay/Overlay-aeb12fc3.css +0 -2
- package/lib/Overlay/Overlay-aeb12fc3.css.map +0 -1
- package/lib/Popover/Popover-e16fd997.css +0 -2
- package/lib/Popover/Popover-e16fd997.css.map +0 -1
- package/lib/ProgressBar/ProgressBar-430cdef7.css +0 -2
- package/lib/ProgressBar/ProgressBar-430cdef7.css.map +0 -1
- package/lib/SelectPanel/SelectPanel-bfde365c.css +0 -2
- package/lib/SelectPanel/SelectPanel-bfde365c.css.map +0 -1
- package/lib/SelectPanel/types.d.ts +0 -4
- package/lib/SelectPanel/types.d.ts.map +0 -1
- package/lib/Stack/Stack-83ac2229.css.map +0 -1
- package/lib/TabNav/TabNav-9753d6ed.css +0 -2
- package/lib/TabNav/TabNav-9753d6ed.css.map +0 -1
- package/lib/Token/AvatarToken-ff45cc85.css +0 -2
- package/lib/Token/AvatarToken-ff45cc85.css.map +0 -1
- package/lib/Token/AvatarToken.d.ts +0 -8
- package/lib/Token/AvatarToken.d.ts.map +0 -1
- package/lib/Token/AvatarToken.js +0 -99
- package/lib/Token/AvatarToken.module.css.js +0 -7
- package/lib/Token/IssueLabelToken-99c9b914.css +0 -2
- package/lib/Token/IssueLabelToken-99c9b914.css.map +0 -1
- package/lib/TooltipV2/Tooltip-59734b6f.css +0 -2
- package/lib/TooltipV2/Tooltip-59734b6f.css.map +0 -1
- package/lib/experimental/IssueLabel/IssueLabel-5507fbf3.css +0 -2
- package/lib/experimental/IssueLabel/IssueLabel-5507fbf3.css.map +0 -1
- package/lib/experimental/Skeleton/SkeletonAvatar-e00fff32.css +0 -2
- package/lib/experimental/Skeleton/SkeletonAvatar-e00fff32.css.map +0 -1
- package/lib/experimental/Skeleton/SkeletonAvatar.d.ts +0 -8
- package/lib/experimental/Skeleton/SkeletonAvatar.d.ts.map +0 -1
- package/lib/experimental/Skeleton/SkeletonText-5cf908c1.css +0 -2
- package/lib/experimental/Skeleton/SkeletonText-5cf908c1.css.map +0 -1
- package/lib/experimental/Skeleton/SkeletonText.d.ts.map +0 -1
- package/lib/experimental/Skeleton/SkeletonText.js +0 -149
- package/lib/experimental/Skeleton/SkeletonText.module.css.js +0 -7
- package/lib/experimental/Skeleton/index.d.ts +0 -4
- package/lib/experimental/Skeleton/index.d.ts.map +0 -1
- package/lib/internal/utils/toggleStyledComponent.d.ts +0 -20
- package/lib/internal/utils/toggleStyledComponent.d.ts.map +0 -1
- package/lib/internal/utils/toggleSxComponent.d.ts +0 -15
- package/lib/internal/utils/toggleSxComponent.d.ts.map +0 -1
- package/lib/internal/utils/toggleSxComponent.js +0 -83
- package/lib/node_modules/@github/mini-throttle/dist/index.js +0 -43
- package/lib-esm/ActionList/ActionList-49cba224.css +0 -2
- package/lib-esm/ActionList/ActionList-49cba224.css.map +0 -1
- package/lib-esm/AvatarPair/AvatarPair-68990abe.css +0 -2
- package/lib-esm/AvatarPair/AvatarPair-68990abe.css.map +0 -1
- package/lib-esm/AvatarPair/AvatarPair.d.ts +0 -8
- package/lib-esm/AvatarPair/AvatarPair.js +0 -86
- package/lib-esm/AvatarPair/AvatarPair.module.css.js +0 -5
- package/lib-esm/AvatarPair/index.d.ts +0 -3
- package/lib-esm/AvatarStack/AvatarStack-f0712fca.css +0 -2
- package/lib-esm/AvatarStack/AvatarStack-f0712fca.css.map +0 -1
- package/lib-esm/Banner/Banner-43e2cd6a.css +0 -2
- package/lib-esm/Banner/Banner-43e2cd6a.css.map +0 -1
- package/lib-esm/BaseStyles-7880c337.css.map +0 -1
- package/lib-esm/Blankslate/Blankslate-a68ed307.css.map +0 -1
- package/lib-esm/CircleOcticon/CircleOcticon.d.ts +0 -13
- package/lib-esm/CircleOcticon/CircleOcticon.js +0 -94
- package/lib-esm/CircleOcticon/index.d.ts +0 -3
- package/lib-esm/FilteredActionList/FilteredActionList-e1dde781.css +0 -2
- package/lib-esm/FilteredActionList/FilteredActionList-e1dde781.css.map +0 -1
- package/lib-esm/FilteredActionList/FilteredActionListEntry.d.ts +0 -7
- package/lib-esm/FilteredActionList/FilteredActionListEntry.js +0 -38
- package/lib-esm/FilteredActionList/FilteredActionListWithDeprecatedActionList.d.ts +0 -23
- package/lib-esm/FilteredActionList/FilteredActionListWithDeprecatedActionList.js +0 -213
- package/lib-esm/Overlay/Overlay-aeb12fc3.css +0 -2
- package/lib-esm/Overlay/Overlay-aeb12fc3.css.map +0 -1
- package/lib-esm/Popover/Popover-e16fd997.css +0 -2
- package/lib-esm/Popover/Popover-e16fd997.css.map +0 -1
- package/lib-esm/ProgressBar/ProgressBar-430cdef7.css +0 -2
- package/lib-esm/ProgressBar/ProgressBar-430cdef7.css.map +0 -1
- package/lib-esm/SelectPanel/SelectPanel-bfde365c.css +0 -2
- package/lib-esm/SelectPanel/SelectPanel-bfde365c.css.map +0 -1
- package/lib-esm/SelectPanel/types.d.ts +0 -4
- package/lib-esm/Stack/Stack-83ac2229.css.map +0 -1
- package/lib-esm/TabNav/TabNav-9753d6ed.css +0 -2
- package/lib-esm/TabNav/TabNav-9753d6ed.css.map +0 -1
- package/lib-esm/Token/AvatarToken-ff45cc85.css +0 -2
- package/lib-esm/Token/AvatarToken-ff45cc85.css.map +0 -1
- package/lib-esm/Token/AvatarToken.d.ts +0 -8
- package/lib-esm/Token/AvatarToken.js +0 -97
- package/lib-esm/Token/AvatarToken.module.css.js +0 -5
- package/lib-esm/Token/IssueLabelToken-99c9b914.css +0 -2
- package/lib-esm/Token/IssueLabelToken-99c9b914.css.map +0 -1
- package/lib-esm/TooltipV2/Tooltip-59734b6f.css +0 -2
- package/lib-esm/TooltipV2/Tooltip-59734b6f.css.map +0 -1
- package/lib-esm/experimental/IssueLabel/IssueLabel-5507fbf3.css +0 -2
- package/lib-esm/experimental/IssueLabel/IssueLabel-5507fbf3.css.map +0 -1
- package/lib-esm/experimental/Skeleton/SkeletonAvatar-e00fff32.css +0 -2
- package/lib-esm/experimental/Skeleton/SkeletonAvatar-e00fff32.css.map +0 -1
- package/lib-esm/experimental/Skeleton/SkeletonAvatar.d.ts +0 -8
- package/lib-esm/experimental/Skeleton/SkeletonAvatar.module.css.js +0 -5
- package/lib-esm/experimental/Skeleton/SkeletonText-5cf908c1.css +0 -2
- package/lib-esm/experimental/Skeleton/SkeletonText-5cf908c1.css.map +0 -1
- package/lib-esm/experimental/Skeleton/SkeletonText.js +0 -143
- package/lib-esm/experimental/Skeleton/SkeletonText.module.css.js +0 -5
- package/lib-esm/experimental/Skeleton/index.d.ts +0 -4
- package/lib-esm/internal/utils/toggleStyledComponent.d.ts +0 -20
- package/lib-esm/internal/utils/toggleSxComponent.d.ts +0 -15
- package/lib-esm/internal/utils/toggleSxComponent.js +0 -77
- package/lib-esm/node_modules/@github/mini-throttle/dist/index.js +0 -40
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { c } from 'react-compiler-runtime';
|
|
2
|
-
import { AlertIcon, GitMergeQueueIcon, IssueDraftIcon, GitPullRequestDraftIcon, GitMergeIcon, GitPullRequestClosedIcon, SkipIcon, IssueClosedIcon, GitPullRequestIcon, IssueOpenedIcon
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import sx from '../sx.js';
|
|
2
|
+
import { AlertIcon, GitMergeQueueIcon, IssueDraftIcon, GitPullRequestDraftIcon, GitMergeIcon, GitPullRequestClosedIcon, SkipIcon, IssueClosedIcon, GitPullRequestIcon, IssueOpenedIcon } from '@primer/octicons-react';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { clsx } from 'clsx';
|
|
5
|
+
import classes from './StateLabel.module.css.js';
|
|
7
6
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
7
|
import Octicon from '../Octicon/Octicon.js';
|
|
9
8
|
|
|
@@ -35,93 +34,10 @@ const labelMap = {
|
|
|
35
34
|
open: '',
|
|
36
35
|
closed: ''
|
|
37
36
|
};
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
variants: {
|
|
41
|
-
issueClosed: {
|
|
42
|
-
backgroundColor: 'done.emphasis',
|
|
43
|
-
color: 'fg.onEmphasis',
|
|
44
|
-
boxShadow: 'var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-done-emphasis, transparent)'
|
|
45
|
-
},
|
|
46
|
-
issueClosedNotPlanned: {
|
|
47
|
-
backgroundColor: 'neutral.emphasis',
|
|
48
|
-
color: 'fg.onEmphasis',
|
|
49
|
-
boxShadow: 'var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-neutral-emphasis, transparent)'
|
|
50
|
-
},
|
|
51
|
-
pullClosed: {
|
|
52
|
-
backgroundColor: 'closed.emphasis',
|
|
53
|
-
color: 'fg.onEmphasis',
|
|
54
|
-
boxShadow: 'var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-closed-emphasis, transparent)'
|
|
55
|
-
},
|
|
56
|
-
pullMerged: {
|
|
57
|
-
backgroundColor: 'done.emphasis',
|
|
58
|
-
color: 'fg.onEmphasis',
|
|
59
|
-
boxShadow: 'var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-done-emphasis, transparent)'
|
|
60
|
-
},
|
|
61
|
-
pullQueued: {
|
|
62
|
-
backgroundColor: 'attention.emphasis',
|
|
63
|
-
color: 'fg.onEmphasis',
|
|
64
|
-
boxShadow: 'var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-attention-emphasis, transparent)'
|
|
65
|
-
},
|
|
66
|
-
issueOpened: {
|
|
67
|
-
backgroundColor: 'open.emphasis',
|
|
68
|
-
color: 'fg.onEmphasis',
|
|
69
|
-
boxShadow: 'var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-open-emphasis, transparent)'
|
|
70
|
-
},
|
|
71
|
-
pullOpened: {
|
|
72
|
-
backgroundColor: 'open.emphasis',
|
|
73
|
-
color: 'fg.onEmphasis',
|
|
74
|
-
boxShadow: 'var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-open-emphasis, transparent)'
|
|
75
|
-
},
|
|
76
|
-
draft: {
|
|
77
|
-
backgroundColor: 'neutral.emphasis',
|
|
78
|
-
color: 'fg.onEmphasis',
|
|
79
|
-
boxShadow: 'var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-neutral-emphasis, transparent)'
|
|
80
|
-
},
|
|
81
|
-
issueDraft: {
|
|
82
|
-
backgroundColor: 'neutral.emphasis',
|
|
83
|
-
color: 'fg.onEmphasis',
|
|
84
|
-
boxShadow: 'var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-neutral-emphasis, transparent)'
|
|
85
|
-
},
|
|
86
|
-
unavailable: {
|
|
87
|
-
backgroundColor: 'neutral.emphasis',
|
|
88
|
-
color: 'fg.onEmphasis',
|
|
89
|
-
boxShadow: 'var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-neutral-emphasis, transparent)'
|
|
90
|
-
},
|
|
91
|
-
open: {
|
|
92
|
-
backgroundColor: 'open.emphasis',
|
|
93
|
-
color: 'fg.onEmphasis',
|
|
94
|
-
boxShadow: 'var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-open-emphasis, transparent)'
|
|
95
|
-
},
|
|
96
|
-
closed: {
|
|
97
|
-
backgroundColor: 'done.emphasis',
|
|
98
|
-
color: 'fg.onEmphasis',
|
|
99
|
-
boxShadow: 'var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-done-emphasis, transparent)'
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
const sizeVariants = variant({
|
|
104
|
-
prop: 'variant',
|
|
105
|
-
variants: {
|
|
106
|
-
small: {
|
|
107
|
-
paddingX: 2,
|
|
108
|
-
paddingY: 1,
|
|
109
|
-
fontSize: 0
|
|
110
|
-
},
|
|
111
|
-
normal: {
|
|
112
|
-
paddingX: '12px',
|
|
113
|
-
paddingY: 2,
|
|
114
|
-
fontSize: 1
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
const StateLabelBase = styled.span.withConfig({
|
|
119
|
-
displayName: "StateLabel__StateLabelBase",
|
|
120
|
-
componentId: "sc-qthdln-0"
|
|
121
|
-
})(["display:inline-flex;align-items:center;font-weight:", ";line-height:16px;color:", ";text-align:center;border-radius:", ";", ";", ";", ";"], get('fontWeights.bold'), get('colors.canvas.default'), get('radii.3'), colorVariants, sizeVariants, sx);
|
|
122
|
-
function StateLabel(t0) {
|
|
123
|
-
const $ = c(17);
|
|
37
|
+
const StateLabel = /*#__PURE__*/forwardRef((t0, ref) => {
|
|
38
|
+
const $ = c(22);
|
|
124
39
|
let children;
|
|
40
|
+
let className;
|
|
125
41
|
let rest;
|
|
126
42
|
let status;
|
|
127
43
|
let t1;
|
|
@@ -130,67 +46,81 @@ function StateLabel(t0) {
|
|
|
130
46
|
children,
|
|
131
47
|
status,
|
|
132
48
|
variant: t1,
|
|
49
|
+
className,
|
|
133
50
|
...rest
|
|
134
51
|
} = t0);
|
|
135
52
|
$[0] = t0;
|
|
136
53
|
$[1] = children;
|
|
137
|
-
$[2] =
|
|
138
|
-
$[3] =
|
|
139
|
-
$[4] =
|
|
54
|
+
$[2] = className;
|
|
55
|
+
$[3] = rest;
|
|
56
|
+
$[4] = status;
|
|
57
|
+
$[5] = t1;
|
|
140
58
|
} else {
|
|
141
59
|
children = $[1];
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
60
|
+
className = $[2];
|
|
61
|
+
rest = $[3];
|
|
62
|
+
status = $[4];
|
|
63
|
+
t1 = $[5];
|
|
145
64
|
}
|
|
146
65
|
const variantProp = t1 === undefined ? "normal" : t1;
|
|
147
66
|
let t2;
|
|
148
|
-
if ($[
|
|
67
|
+
if ($[6] !== variantProp) {
|
|
149
68
|
t2 = variantProp === "small" ? {
|
|
150
69
|
width: "1em"
|
|
151
70
|
} : {};
|
|
152
|
-
$[
|
|
153
|
-
$[
|
|
71
|
+
$[6] = variantProp;
|
|
72
|
+
$[7] = t2;
|
|
154
73
|
} else {
|
|
155
|
-
t2 = $[
|
|
74
|
+
t2 = $[7];
|
|
156
75
|
}
|
|
157
76
|
const octiconProps = t2;
|
|
158
77
|
const noIconStatus = status === "open" || status === "closed";
|
|
159
78
|
let t3;
|
|
160
|
-
if ($[
|
|
161
|
-
t3 =
|
|
79
|
+
if ($[8] !== className) {
|
|
80
|
+
t3 = clsx(classes.StateLabel, className);
|
|
81
|
+
$[8] = className;
|
|
82
|
+
$[9] = t3;
|
|
83
|
+
} else {
|
|
84
|
+
t3 = $[9];
|
|
85
|
+
}
|
|
86
|
+
let t4;
|
|
87
|
+
if ($[10] !== noIconStatus || $[11] !== octiconProps || $[12] !== status) {
|
|
88
|
+
t4 = !noIconStatus && /*#__PURE__*/jsx(Octicon, {
|
|
162
89
|
...octiconProps,
|
|
163
|
-
icon: octiconMap[status]
|
|
90
|
+
icon: octiconMap[status],
|
|
164
91
|
"aria-label": labelMap[status],
|
|
165
|
-
|
|
166
|
-
mr: 1
|
|
167
|
-
}
|
|
92
|
+
className: classes.Icon
|
|
168
93
|
});
|
|
169
|
-
$[
|
|
170
|
-
$[
|
|
171
|
-
$[
|
|
172
|
-
$[
|
|
94
|
+
$[10] = noIconStatus;
|
|
95
|
+
$[11] = octiconProps;
|
|
96
|
+
$[12] = status;
|
|
97
|
+
$[13] = t4;
|
|
173
98
|
} else {
|
|
174
|
-
|
|
99
|
+
t4 = $[13];
|
|
175
100
|
}
|
|
176
|
-
let
|
|
177
|
-
if ($[
|
|
178
|
-
|
|
101
|
+
let t5;
|
|
102
|
+
if ($[14] !== children || $[15] !== ref || $[16] !== rest || $[17] !== status || $[18] !== t3 || $[19] !== t4 || $[20] !== variantProp) {
|
|
103
|
+
t5 = /*#__PURE__*/jsxs("span", {
|
|
179
104
|
...rest,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
105
|
+
ref: ref,
|
|
106
|
+
className: t3,
|
|
107
|
+
"data-variant": variantProp,
|
|
108
|
+
"data-status": status,
|
|
109
|
+
children: [t4, children]
|
|
183
110
|
});
|
|
184
|
-
$[
|
|
185
|
-
$[
|
|
186
|
-
$[
|
|
187
|
-
$[
|
|
188
|
-
$[
|
|
189
|
-
$[
|
|
111
|
+
$[14] = children;
|
|
112
|
+
$[15] = ref;
|
|
113
|
+
$[16] = rest;
|
|
114
|
+
$[17] = status;
|
|
115
|
+
$[18] = t3;
|
|
116
|
+
$[19] = t4;
|
|
117
|
+
$[20] = variantProp;
|
|
118
|
+
$[21] = t5;
|
|
190
119
|
} else {
|
|
191
|
-
|
|
120
|
+
t5 = $[21];
|
|
192
121
|
}
|
|
193
|
-
return
|
|
194
|
-
}
|
|
122
|
+
return t5;
|
|
123
|
+
});
|
|
124
|
+
StateLabel.displayName = 'StateLabel';
|
|
195
125
|
|
|
196
126
|
export { StateLabel as default };
|
|
@@ -1,27 +1,19 @@
|
|
|
1
1
|
import type { To } from 'history';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
|
|
4
|
-
import type { SxProp } from '../sx';
|
|
5
|
-
type StyledSubNavProps = React.ComponentProps<'nav'> & {
|
|
3
|
+
export type SubNavProps = React.ComponentProps<'nav'> & {
|
|
6
4
|
actions?: React.ReactNode;
|
|
7
5
|
align?: 'right';
|
|
8
6
|
full?: boolean;
|
|
9
7
|
label?: string;
|
|
10
|
-
}
|
|
11
|
-
type
|
|
12
|
-
type
|
|
8
|
+
};
|
|
9
|
+
export type SubNavLinksProps = React.ComponentProps<'div'>;
|
|
10
|
+
export type SubNavLinkProps = React.ComponentProps<'a'> & {
|
|
13
11
|
to?: To;
|
|
14
12
|
selected?: boolean;
|
|
15
|
-
}
|
|
16
|
-
declare const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export type SubNavProps = ComponentProps<typeof SubNav>;
|
|
20
|
-
export type SubNavLinksProps = ComponentProps<typeof SubNavLinks>;
|
|
21
|
-
export type SubNavLinkProps = ComponentProps<typeof SubNavLink>;
|
|
22
|
-
declare const _default: React.ForwardRefExoticComponent<Omit<StyledSubNavProps, "ref"> & React.RefAttributes<HTMLElement>> & {
|
|
23
|
-
Link: React.ForwardRefExoticComponent<Omit<StyledSubNavLinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
24
|
-
Links: React.ForwardRefExoticComponent<Omit<StyledSubNavLinksProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<SubNavProps, "ref"> & React.RefAttributes<HTMLElement>> & {
|
|
15
|
+
Link: React.ForwardRefExoticComponent<Omit<SubNavLinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
16
|
+
Links: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
17
|
};
|
|
26
18
|
export default _default;
|
|
27
19
|
//# sourceMappingURL=SubNav.d.ts.map
|
package/lib-esm/SubNav/SubNav.js
CHANGED
|
@@ -2,25 +2,21 @@ import { c } from 'react-compiler-runtime';
|
|
|
2
2
|
import { clsx } from 'clsx';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import styles from './SubNav.module.css.js';
|
|
5
|
-
import { defaultSxProp } from '../utils/defaultSxProp.js';
|
|
6
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
|
-
import Box from '../Box/Box.js';
|
|
8
6
|
|
|
9
7
|
const SubNav = /*#__PURE__*/React.forwardRef(function SubNav(t0, forwardRef) {
|
|
10
|
-
const $ = c(
|
|
8
|
+
const $ = c(20);
|
|
11
9
|
let actions;
|
|
12
10
|
let children;
|
|
13
11
|
let className;
|
|
14
12
|
let label;
|
|
15
13
|
let rest;
|
|
16
|
-
let t1;
|
|
17
14
|
if ($[0] !== t0) {
|
|
18
15
|
({
|
|
19
16
|
actions,
|
|
20
17
|
className,
|
|
21
18
|
children,
|
|
22
19
|
label,
|
|
23
|
-
sx: t1,
|
|
24
20
|
...rest
|
|
25
21
|
} = t0);
|
|
26
22
|
$[0] = t0;
|
|
@@ -29,309 +25,172 @@ const SubNav = /*#__PURE__*/React.forwardRef(function SubNav(t0, forwardRef) {
|
|
|
29
25
|
$[3] = className;
|
|
30
26
|
$[4] = label;
|
|
31
27
|
$[5] = rest;
|
|
32
|
-
$[6] = t1;
|
|
33
28
|
} else {
|
|
34
29
|
actions = $[1];
|
|
35
30
|
children = $[2];
|
|
36
31
|
className = $[3];
|
|
37
32
|
label = $[4];
|
|
38
33
|
rest = $[5];
|
|
39
|
-
t1 = $[6];
|
|
40
34
|
}
|
|
41
|
-
|
|
42
|
-
if (
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} else {
|
|
49
|
-
t2 = $[8];
|
|
50
|
-
}
|
|
51
|
-
let t3;
|
|
52
|
-
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
53
|
-
t3 = clsx("SubNav-body", styles.Body);
|
|
54
|
-
$[9] = t3;
|
|
55
|
-
} else {
|
|
56
|
-
t3 = $[9];
|
|
57
|
-
}
|
|
58
|
-
let t4;
|
|
59
|
-
if ($[10] !== children) {
|
|
60
|
-
t4 = /*#__PURE__*/jsx("div", {
|
|
61
|
-
className: t3,
|
|
62
|
-
children: children
|
|
63
|
-
});
|
|
64
|
-
$[10] = children;
|
|
65
|
-
$[11] = t4;
|
|
66
|
-
} else {
|
|
67
|
-
t4 = $[11];
|
|
68
|
-
}
|
|
69
|
-
let t5;
|
|
70
|
-
if ($[12] !== actions) {
|
|
71
|
-
t5 = actions && /*#__PURE__*/jsx("div", {
|
|
72
|
-
className: clsx("SubNav-actions", styles.Actions),
|
|
73
|
-
children: actions
|
|
74
|
-
});
|
|
75
|
-
$[12] = actions;
|
|
76
|
-
$[13] = t5;
|
|
77
|
-
} else {
|
|
78
|
-
t5 = $[13];
|
|
79
|
-
}
|
|
80
|
-
let t6;
|
|
81
|
-
if ($[14] !== forwardRef || $[15] !== label || $[16] !== rest || $[17] !== sxProp || $[18] !== t2 || $[19] !== t4 || $[20] !== t5) {
|
|
82
|
-
t6 = /*#__PURE__*/jsxs(Box, {
|
|
83
|
-
as: "nav",
|
|
84
|
-
ref: forwardRef,
|
|
85
|
-
sx: sxProp,
|
|
86
|
-
className: t2,
|
|
87
|
-
"aria-label": label,
|
|
88
|
-
...rest,
|
|
89
|
-
children: [t4, t5]
|
|
90
|
-
});
|
|
91
|
-
$[14] = forwardRef;
|
|
92
|
-
$[15] = label;
|
|
93
|
-
$[16] = rest;
|
|
94
|
-
$[17] = sxProp;
|
|
95
|
-
$[18] = t2;
|
|
96
|
-
$[19] = t4;
|
|
97
|
-
$[20] = t5;
|
|
98
|
-
$[21] = t6;
|
|
99
|
-
} else {
|
|
100
|
-
t6 = $[21];
|
|
101
|
-
}
|
|
102
|
-
return t6;
|
|
35
|
+
let t1;
|
|
36
|
+
if ($[6] !== className) {
|
|
37
|
+
t1 = clsx(className, "SubNav", styles.SubNav);
|
|
38
|
+
$[6] = className;
|
|
39
|
+
$[7] = t1;
|
|
40
|
+
} else {
|
|
41
|
+
t1 = $[7];
|
|
103
42
|
}
|
|
104
43
|
let t2;
|
|
105
|
-
if ($[
|
|
106
|
-
t2 = clsx(
|
|
107
|
-
$[
|
|
108
|
-
$[23] = t2;
|
|
44
|
+
if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
45
|
+
t2 = clsx("SubNav-body", styles.Body);
|
|
46
|
+
$[8] = t2;
|
|
109
47
|
} else {
|
|
110
|
-
t2 = $[
|
|
48
|
+
t2 = $[8];
|
|
111
49
|
}
|
|
112
50
|
let t3;
|
|
113
|
-
if ($[
|
|
114
|
-
t3 =
|
|
115
|
-
|
|
116
|
-
} else {
|
|
117
|
-
t3 = $[24];
|
|
118
|
-
}
|
|
119
|
-
let t4;
|
|
120
|
-
if ($[25] !== children) {
|
|
121
|
-
t4 = /*#__PURE__*/jsx("div", {
|
|
122
|
-
className: t3,
|
|
51
|
+
if ($[9] !== children) {
|
|
52
|
+
t3 = /*#__PURE__*/jsx("div", {
|
|
53
|
+
className: t2,
|
|
123
54
|
children: children
|
|
124
55
|
});
|
|
125
|
-
$[
|
|
126
|
-
$[
|
|
56
|
+
$[9] = children;
|
|
57
|
+
$[10] = t3;
|
|
127
58
|
} else {
|
|
128
|
-
|
|
59
|
+
t3 = $[10];
|
|
129
60
|
}
|
|
130
|
-
let
|
|
131
|
-
if ($[
|
|
132
|
-
|
|
61
|
+
let t4;
|
|
62
|
+
if ($[11] !== actions) {
|
|
63
|
+
t4 = actions && /*#__PURE__*/jsx("div", {
|
|
133
64
|
className: clsx("SubNav-actions", styles.Actions),
|
|
134
65
|
children: actions
|
|
135
66
|
});
|
|
136
|
-
$[
|
|
137
|
-
$[
|
|
67
|
+
$[11] = actions;
|
|
68
|
+
$[12] = t4;
|
|
138
69
|
} else {
|
|
139
|
-
|
|
70
|
+
t4 = $[12];
|
|
140
71
|
}
|
|
141
|
-
let
|
|
142
|
-
if ($[
|
|
143
|
-
|
|
72
|
+
let t5;
|
|
73
|
+
if ($[13] !== forwardRef || $[14] !== label || $[15] !== rest || $[16] !== t1 || $[17] !== t3 || $[18] !== t4) {
|
|
74
|
+
t5 = /*#__PURE__*/jsxs("nav", {
|
|
144
75
|
ref: forwardRef,
|
|
145
|
-
className:
|
|
76
|
+
className: t1,
|
|
146
77
|
"aria-label": label,
|
|
147
78
|
...rest,
|
|
148
|
-
children: [
|
|
79
|
+
children: [t3, t4]
|
|
149
80
|
});
|
|
150
|
-
$[
|
|
151
|
-
$[
|
|
152
|
-
$[
|
|
153
|
-
$[
|
|
154
|
-
$[
|
|
155
|
-
$[
|
|
156
|
-
$[
|
|
81
|
+
$[13] = forwardRef;
|
|
82
|
+
$[14] = label;
|
|
83
|
+
$[15] = rest;
|
|
84
|
+
$[16] = t1;
|
|
85
|
+
$[17] = t3;
|
|
86
|
+
$[18] = t4;
|
|
87
|
+
$[19] = t5;
|
|
157
88
|
} else {
|
|
158
|
-
|
|
89
|
+
t5 = $[19];
|
|
159
90
|
}
|
|
160
|
-
return
|
|
91
|
+
return t5;
|
|
161
92
|
});
|
|
162
93
|
SubNav.displayName = 'SubNav';
|
|
163
94
|
|
|
164
95
|
// SubNav.Links
|
|
165
96
|
|
|
166
97
|
const SubNavLinks = /*#__PURE__*/React.forwardRef((t0, forwardRef) => {
|
|
167
|
-
const $ = c(
|
|
98
|
+
const $ = c(11);
|
|
168
99
|
let children;
|
|
169
100
|
let className;
|
|
170
101
|
let rest;
|
|
171
|
-
let t1;
|
|
172
102
|
if ($[0] !== t0) {
|
|
173
103
|
({
|
|
174
104
|
children,
|
|
175
105
|
className,
|
|
176
|
-
sx: t1,
|
|
177
106
|
...rest
|
|
178
107
|
} = t0);
|
|
179
108
|
$[0] = t0;
|
|
180
109
|
$[1] = children;
|
|
181
110
|
$[2] = className;
|
|
182
111
|
$[3] = rest;
|
|
183
|
-
$[4] = t1;
|
|
184
112
|
} else {
|
|
185
113
|
children = $[1];
|
|
186
114
|
className = $[2];
|
|
187
115
|
rest = $[3];
|
|
188
|
-
t1 = $[4];
|
|
189
116
|
}
|
|
190
|
-
|
|
191
|
-
if (
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
$[5] = className;
|
|
196
|
-
$[6] = t2;
|
|
197
|
-
} else {
|
|
198
|
-
t2 = $[6];
|
|
199
|
-
}
|
|
200
|
-
let t3;
|
|
201
|
-
if ($[7] !== children || $[8] !== forwardRef || $[9] !== rest || $[10] !== sxProp || $[11] !== t2) {
|
|
202
|
-
t3 = /*#__PURE__*/jsx(Box, {
|
|
203
|
-
as: "div",
|
|
204
|
-
ref: forwardRef,
|
|
205
|
-
sx: sxProp,
|
|
206
|
-
className: t2,
|
|
207
|
-
...rest,
|
|
208
|
-
children: children
|
|
209
|
-
});
|
|
210
|
-
$[7] = children;
|
|
211
|
-
$[8] = forwardRef;
|
|
212
|
-
$[9] = rest;
|
|
213
|
-
$[10] = sxProp;
|
|
214
|
-
$[11] = t2;
|
|
215
|
-
$[12] = t3;
|
|
216
|
-
} else {
|
|
217
|
-
t3 = $[12];
|
|
218
|
-
}
|
|
219
|
-
return t3;
|
|
220
|
-
}
|
|
221
|
-
let t2;
|
|
222
|
-
if ($[13] !== className) {
|
|
223
|
-
t2 = clsx(className, styles.Links);
|
|
224
|
-
$[13] = className;
|
|
225
|
-
$[14] = t2;
|
|
117
|
+
let t1;
|
|
118
|
+
if ($[4] !== className) {
|
|
119
|
+
t1 = clsx(className, styles.Links);
|
|
120
|
+
$[4] = className;
|
|
121
|
+
$[5] = t1;
|
|
226
122
|
} else {
|
|
227
|
-
|
|
123
|
+
t1 = $[5];
|
|
228
124
|
}
|
|
229
|
-
let
|
|
230
|
-
if ($[
|
|
231
|
-
|
|
125
|
+
let t2;
|
|
126
|
+
if ($[6] !== children || $[7] !== forwardRef || $[8] !== rest || $[9] !== t1) {
|
|
127
|
+
t2 = /*#__PURE__*/jsx("div", {
|
|
232
128
|
ref: forwardRef,
|
|
233
|
-
className:
|
|
129
|
+
className: t1,
|
|
234
130
|
...rest,
|
|
235
131
|
children: children
|
|
236
132
|
});
|
|
237
|
-
$[
|
|
238
|
-
$[
|
|
239
|
-
$[
|
|
240
|
-
$[
|
|
241
|
-
$[
|
|
133
|
+
$[6] = children;
|
|
134
|
+
$[7] = forwardRef;
|
|
135
|
+
$[8] = rest;
|
|
136
|
+
$[9] = t1;
|
|
137
|
+
$[10] = t2;
|
|
242
138
|
} else {
|
|
243
|
-
|
|
139
|
+
t2 = $[10];
|
|
244
140
|
}
|
|
245
|
-
return
|
|
141
|
+
return t2;
|
|
246
142
|
});
|
|
247
143
|
SubNavLinks.displayName = 'SubNav.Links';
|
|
248
144
|
|
|
249
145
|
// SubNav.Link
|
|
250
146
|
|
|
251
147
|
const SubNavLink = /*#__PURE__*/React.forwardRef((t0, forwardRef) => {
|
|
252
|
-
const $ = c(
|
|
148
|
+
const $ = c(11);
|
|
253
149
|
let children;
|
|
254
150
|
let className;
|
|
255
151
|
let rest;
|
|
256
|
-
let t1;
|
|
257
152
|
if ($[0] !== t0) {
|
|
258
153
|
({
|
|
259
154
|
children,
|
|
260
155
|
className,
|
|
261
|
-
sx: t1,
|
|
262
156
|
...rest
|
|
263
157
|
} = t0);
|
|
264
158
|
$[0] = t0;
|
|
265
159
|
$[1] = children;
|
|
266
160
|
$[2] = className;
|
|
267
161
|
$[3] = rest;
|
|
268
|
-
$[4] = t1;
|
|
269
162
|
} else {
|
|
270
163
|
children = $[1];
|
|
271
164
|
className = $[2];
|
|
272
165
|
rest = $[3];
|
|
273
|
-
t1 = $[4];
|
|
274
|
-
}
|
|
275
|
-
const sxProp = t1 === undefined ? defaultSxProp : t1;
|
|
276
|
-
if (sxProp !== defaultSxProp) {
|
|
277
|
-
let t2;
|
|
278
|
-
if ($[5] !== className) {
|
|
279
|
-
t2 = clsx(className, styles.Link);
|
|
280
|
-
$[5] = className;
|
|
281
|
-
$[6] = t2;
|
|
282
|
-
} else {
|
|
283
|
-
t2 = $[6];
|
|
284
|
-
}
|
|
285
|
-
let t3;
|
|
286
|
-
if ($[7] !== children || $[8] !== forwardRef || $[9] !== rest || $[10] !== sxProp || $[11] !== t2) {
|
|
287
|
-
t3 = /*#__PURE__*/jsx(Box, {
|
|
288
|
-
as: "a",
|
|
289
|
-
ref: forwardRef,
|
|
290
|
-
sx: sxProp,
|
|
291
|
-
className: t2,
|
|
292
|
-
"data-selected": rest.selected,
|
|
293
|
-
"aria-current": rest.selected,
|
|
294
|
-
...rest,
|
|
295
|
-
children: children
|
|
296
|
-
});
|
|
297
|
-
$[7] = children;
|
|
298
|
-
$[8] = forwardRef;
|
|
299
|
-
$[9] = rest;
|
|
300
|
-
$[10] = sxProp;
|
|
301
|
-
$[11] = t2;
|
|
302
|
-
$[12] = t3;
|
|
303
|
-
} else {
|
|
304
|
-
t3 = $[12];
|
|
305
|
-
}
|
|
306
|
-
return t3;
|
|
307
166
|
}
|
|
308
|
-
let
|
|
309
|
-
if ($[
|
|
310
|
-
|
|
311
|
-
$[
|
|
312
|
-
$[
|
|
167
|
+
let t1;
|
|
168
|
+
if ($[4] !== className) {
|
|
169
|
+
t1 = clsx(className, styles.Link);
|
|
170
|
+
$[4] = className;
|
|
171
|
+
$[5] = t1;
|
|
313
172
|
} else {
|
|
314
|
-
|
|
173
|
+
t1 = $[5];
|
|
315
174
|
}
|
|
316
|
-
let
|
|
317
|
-
if ($[
|
|
318
|
-
|
|
175
|
+
let t2;
|
|
176
|
+
if ($[6] !== children || $[7] !== forwardRef || $[8] !== rest || $[9] !== t1) {
|
|
177
|
+
t2 = /*#__PURE__*/jsx("a", {
|
|
319
178
|
ref: forwardRef,
|
|
320
|
-
className:
|
|
179
|
+
className: t1,
|
|
321
180
|
"data-selected": rest.selected,
|
|
322
181
|
"aria-current": rest.selected,
|
|
323
182
|
...rest,
|
|
324
183
|
children: children
|
|
325
184
|
});
|
|
326
|
-
$[
|
|
327
|
-
$[
|
|
328
|
-
$[
|
|
329
|
-
$[
|
|
330
|
-
$[
|
|
185
|
+
$[6] = children;
|
|
186
|
+
$[7] = forwardRef;
|
|
187
|
+
$[8] = rest;
|
|
188
|
+
$[9] = t1;
|
|
189
|
+
$[10] = t2;
|
|
331
190
|
} else {
|
|
332
|
-
|
|
191
|
+
t2 = $[10];
|
|
333
192
|
}
|
|
334
|
-
return
|
|
193
|
+
return t2;
|
|
335
194
|
});
|
|
336
195
|
SubNavLink.displayName = 'SubNav.Link';
|
|
337
196
|
var SubNav$1 = Object.assign(SubNav, {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
.prc-TabNav-TabNavTabList-0QtIV{display:flex;margin-bottom:-1px;overflow:auto}.prc-TabNav-TabNavNav-rTAFO{border-bottom:var(--borderWidth-thin,.0625rem) solid var(--borderColor-default,var(--color-border-default));margin-top:0}.prc-TabNav-TabNavLink-jXRq9{background-color:transparent;border:var(--borderWidth-thin,.0625rem) solid transparent;border-bottom:0;font-size:var(--text-body-size-medium,.875rem);line-height:20px;padding:var(--base-size-8,.5rem) var(--base-size-12,.75rem)}.prc-TabNav-TabNavLink-jXRq9,.prc-TabNav-TabNavLink-jXRq9:hover{color:var(--fgColor-default,var(--color-fg-default))}.prc-TabNav-TabNavLink-jXRq9,.prc-TabNav-TabNavLink-jXRq9:focus,.prc-TabNav-TabNavLink-jXRq9:hover{-webkit-text-decoration:none;text-decoration:none}.prc-TabNav-TabNavLink-jXRq9:focus{box-shadow:none;outline:2px solid var(--focus-outlineColor,var(--color-accent-fg));outline-offset:-6px}.prc-TabNav-TabNavLink-jXRq9.prc-TabNav-Selected-94A5r{background-color:var(--bgColor-default,var(--color-canvas-default));border-color:var(--borderColor-default,var(--color-border-default));border-top-left-radius:var(--borderRadius-medium,.375rem);border-top-right-radius:var(--borderRadius-medium,.375rem);color:var(--fgColor-default,var(--color-fg-default))}
|
|
2
|
+
/*# sourceMappingURL=TabNav-83c6145e.css.map */
|