@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
package/dist/components.css
CHANGED
|
@@ -73,6 +73,16 @@ details-dialog:focus:not(:focus-visible):not(.focus-visible) {
|
|
|
73
73
|
color-scheme: dark;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
+
|
|
77
|
+
/* Low-specificity default link styling */
|
|
78
|
+
:where(a:not([class*='prc-']):not([class*='PRC-']):not([class*='Primer_Brand__'])) {
|
|
79
|
+
color: var(--fgColor-accent, var(--color-accent-fg));
|
|
80
|
+
text-decoration: none;
|
|
81
|
+
|
|
82
|
+
&:hover {
|
|
83
|
+
text-decoration: underline;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
76
86
|
}
|
|
77
87
|
|
|
78
88
|
.prc_VisuallyHidden_UNWQp {
|
|
@@ -631,7 +641,8 @@ details-dialog:focus:not(:focus-visible):not(.focus-visible) {
|
|
|
631
641
|
/* Inactive */
|
|
632
642
|
|
|
633
643
|
&:where([data-inactive]),
|
|
634
|
-
&:where([data-inactive]):hover
|
|
644
|
+
&:where([data-inactive]):hover,
|
|
645
|
+
&:where([data-inactive]):active {
|
|
635
646
|
color: var(--button-inactive-fgColor);
|
|
636
647
|
cursor: auto;
|
|
637
648
|
background-color: var(--button-inactive-bgColor);
|
|
@@ -686,14 +697,13 @@ details-dialog:focus:not(:focus-visible):not(.focus-visible) {
|
|
|
686
697
|
width: max-content;
|
|
687
698
|
max-width: 250px;
|
|
688
699
|
/* stylelint-disable-next-line primer/spacing */
|
|
689
|
-
padding:
|
|
700
|
+
padding: var(--overlay-paddingBlock-condensed) var(--overlay-padding-condensed);
|
|
690
701
|
margin: auto;
|
|
691
702
|
|
|
692
703
|
/* for scrollbar */
|
|
693
704
|
overflow: visible;
|
|
694
705
|
clip: auto;
|
|
695
|
-
|
|
696
|
-
font: normal normal 11px/1.5 var(--fontStack-system);
|
|
706
|
+
font: var(--text-body-shorthand-small);
|
|
697
707
|
color: var(--tooltip-fgColor);
|
|
698
708
|
text-align: center;
|
|
699
709
|
word-wrap: break-word;
|
|
@@ -701,9 +711,9 @@ details-dialog:focus:not(:focus-visible):not(.focus-visible) {
|
|
|
701
711
|
background: var(--tooltip-bgColor);
|
|
702
712
|
border: 0;
|
|
703
713
|
border-radius: var(--borderRadius-medium);
|
|
704
|
-
opacity: 0;
|
|
705
714
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
706
715
|
inset: auto;
|
|
716
|
+
text-wrap: balance;
|
|
707
717
|
}
|
|
708
718
|
|
|
709
719
|
/* class name in chrome is :popover-open */
|
|
@@ -767,31 +777,31 @@ details-dialog:focus:not(:focus-visible):not(.focus-visible) {
|
|
|
767
777
|
content: '';
|
|
768
778
|
}
|
|
769
779
|
|
|
770
|
-
/*
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
780
|
+
/* Only show animations if users don't have a preference for reduced motion */
|
|
781
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
782
|
+
/* Animation styles */
|
|
783
|
+
&:popover-open,
|
|
784
|
+
&:popover-open::before {
|
|
785
|
+
animation-name: prc_tooltip-appear_hLf77;
|
|
786
|
+
animation-duration: 0.1s;
|
|
787
|
+
animation-fill-mode: forwards;
|
|
788
|
+
animation-timing-function: ease-in;
|
|
789
|
+
animation-delay: 0s;
|
|
790
|
+
}
|
|
779
791
|
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
792
|
+
/* Animation styles */
|
|
793
|
+
&.\\:popover-open ,
|
|
794
|
+
&.\\:popover-open::before /* stylelint-disable-line selector-class-pattern */ {
|
|
795
|
+
animation-name: prc_tooltip-appear_hLf77;
|
|
796
|
+
animation-duration: 0.1s;
|
|
797
|
+
animation-fill-mode: forwards;
|
|
798
|
+
animation-timing-function: ease-in;
|
|
799
|
+
animation-delay: 0s;
|
|
800
|
+
}
|
|
788
801
|
}
|
|
789
802
|
}
|
|
790
803
|
|
|
791
804
|
.prc_KeybindingHintContainer_iabqv.prc_HasTextBefore_cCzYC {
|
|
792
|
-
/* Offset negative on the right right to make right spacing look like top and bottom spacing, only for keybinding hints and only when there is text */
|
|
793
|
-
/* stylelint-disable-next-line primer/spacing */
|
|
794
|
-
margin-right: -0.125em;
|
|
795
805
|
margin-left: var(--base-size-6);
|
|
796
806
|
}
|
|
797
807
|
|
|
@@ -828,6 +838,19 @@ details-dialog:focus:not(:focus-visible):not(.focus-visible) {
|
|
|
828
838
|
}
|
|
829
839
|
}
|
|
830
840
|
|
|
841
|
+
.prc_InternalVisuallyHidden_nlR9R {
|
|
842
|
+
position: absolute;
|
|
843
|
+
width: 1px;
|
|
844
|
+
height: 1px;
|
|
845
|
+
padding: 0;
|
|
846
|
+
/* stylelint-disable-next-line primer/spacing */
|
|
847
|
+
margin: -1px;
|
|
848
|
+
overflow: hidden;
|
|
849
|
+
clip: rect(0, 0, 0, 0);
|
|
850
|
+
white-space: nowrap;
|
|
851
|
+
border-width: 0;
|
|
852
|
+
}
|
|
853
|
+
|
|
831
854
|
.prc_KeybindingHint_0pyit {
|
|
832
855
|
position: relative;
|
|
833
856
|
padding: 0;
|
|
@@ -1860,6 +1883,11 @@ Add a border between the body and footer if:
|
|
|
1860
1883
|
flex: 0 1 auto;
|
|
1861
1884
|
min-inline-size: 0;
|
|
1862
1885
|
|
|
1886
|
+
&[data-shrink='false'],
|
|
1887
|
+
&[data-shrink-narrow='false'] {
|
|
1888
|
+
flex-shrink: 0;
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1863
1891
|
&[data-grow='true'],
|
|
1864
1892
|
&[data-grow-narrow='true'] {
|
|
1865
1893
|
flex-grow: 1;
|
|
@@ -1873,6 +1901,14 @@ Add a border between the body and footer if:
|
|
|
1873
1901
|
&[data-grow-regular='false'] {
|
|
1874
1902
|
flex-grow: 0;
|
|
1875
1903
|
}
|
|
1904
|
+
|
|
1905
|
+
&[data-shrink-regular='true'] {
|
|
1906
|
+
flex-shrink: 1;
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
&[data-shrink-regular='false'] {
|
|
1910
|
+
flex-shrink: 0;
|
|
1911
|
+
}
|
|
1876
1912
|
}
|
|
1877
1913
|
|
|
1878
1914
|
@media (--viewportRange-wide) {
|
|
@@ -1883,6 +1919,14 @@ Add a border between the body and footer if:
|
|
|
1883
1919
|
&[data-grow-wide='false'] {
|
|
1884
1920
|
flex-grow: 0;
|
|
1885
1921
|
}
|
|
1922
|
+
|
|
1923
|
+
&[data-shrink-wide='true'] {
|
|
1924
|
+
flex-shrink: 1;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
&[data-shrink-wide='false'] {
|
|
1928
|
+
flex-shrink: 0;
|
|
1929
|
+
}
|
|
1886
1930
|
}
|
|
1887
1931
|
}
|
|
1888
1932
|
|
|
@@ -1966,8 +2010,7 @@ Add a border between the body and footer if:
|
|
|
1966
2010
|
}
|
|
1967
2011
|
}
|
|
1968
2012
|
|
|
1969
|
-
&:focus
|
|
1970
|
-
&:focus-within {
|
|
2013
|
+
&:focus-visible {
|
|
1971
2014
|
@mixin focusOutline 2px;
|
|
1972
2015
|
}
|
|
1973
2016
|
|
|
@@ -2095,6 +2138,13 @@ Add a border between the body and footer if:
|
|
|
2095
2138
|
& .prc_Divider_rsZFG:first-child {
|
|
2096
2139
|
display: none;
|
|
2097
2140
|
}
|
|
2141
|
+
|
|
2142
|
+
/* if a list has a mix of items with and without descriptions, reset the label font-weight to normal */
|
|
2143
|
+
&:has([data-has-description='true']):has([data-has-description='false']) {
|
|
2144
|
+
& .prc_ItemLabel_TmBhn {
|
|
2145
|
+
font-weight: var(--base-text-weight-normal);
|
|
2146
|
+
}
|
|
2147
|
+
}
|
|
2098
2148
|
}
|
|
2099
2149
|
|
|
2100
2150
|
/* ActionListItem is a li that handles visual state, while ActionListItemContent controls actual state via button or link */
|
|
@@ -2503,6 +2553,13 @@ Add a border between the body and footer if:
|
|
|
2503
2553
|
cursor: pointer;
|
|
2504
2554
|
}
|
|
2505
2555
|
|
|
2556
|
+
/* large */
|
|
2557
|
+
|
|
2558
|
+
&[data-size='large'] {
|
|
2559
|
+
/* stylelint-disable-next-line primer/spacing */
|
|
2560
|
+
padding-block: var(--control-large-paddingBlock);
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2506
2563
|
/* collapsible item [aria-expanded] */
|
|
2507
2564
|
|
|
2508
2565
|
&[aria-expanded='true'] {
|
|
@@ -2901,6 +2958,7 @@ span wrapping svg or text */
|
|
|
2901
2958
|
|
|
2902
2959
|
.prc_Overlay_dVyJl {
|
|
2903
2960
|
position: absolute;
|
|
2961
|
+
max-width: calc(100vw - 2rem);
|
|
2904
2962
|
width: auto;
|
|
2905
2963
|
min-width: 192px;
|
|
2906
2964
|
height: auto;
|
|
@@ -2909,7 +2967,6 @@ span wrapping svg or text */
|
|
|
2909
2967
|
background-color: var(--overlay-bgColor);
|
|
2910
2968
|
border-radius: var(--borderRadius-large);
|
|
2911
2969
|
box-shadow: var(--shadow-floating-small);
|
|
2912
|
-
animation: prc_overlay-appear_DGY3B 200ms cubic-bezier(0.33, 1, 0.68, 1);
|
|
2913
2970
|
|
|
2914
2971
|
&:focus {
|
|
2915
2972
|
outline: none;
|
|
@@ -3070,6 +3127,12 @@ span wrapping svg or text */
|
|
|
3070
3127
|
}
|
|
3071
3128
|
}
|
|
3072
3129
|
|
|
3130
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
3131
|
+
.prc_Overlay_dVyJl {
|
|
3132
|
+
animation: prc_overlay-appear_DGY3B 200ms cubic-bezier(0.33, 1, 0.68, 1);
|
|
3133
|
+
}
|
|
3134
|
+
}
|
|
3135
|
+
|
|
3073
3136
|
.prc_ResponsiveCloseButtonContainer_NL5kN {
|
|
3074
3137
|
position: relative;
|
|
3075
3138
|
}
|
|
@@ -3294,21 +3357,46 @@ span wrapping svg or text */
|
|
|
3294
3357
|
flex-shrink: 0;
|
|
3295
3358
|
}
|
|
3296
3359
|
|
|
3360
|
+
/* With leading visual */
|
|
3297
3361
|
&:where([data-leading-visual]) {
|
|
3298
|
-
padding-left: var(--base-size-
|
|
3362
|
+
padding-left: var(--base-size-8);
|
|
3299
3363
|
}
|
|
3300
3364
|
|
|
3365
|
+
/* With trailing visual */
|
|
3301
3366
|
&:where([data-trailing-visual]:not([data-trailing-action])) {
|
|
3302
|
-
padding-right: var(--base-size-
|
|
3367
|
+
padding-right: var(--base-size-8);
|
|
3303
3368
|
}
|
|
3304
3369
|
|
|
3305
|
-
|
|
3306
|
-
&:where(:not([data-leading-visual]))
|
|
3307
|
-
|
|
3370
|
+
/* Only trailing visual */
|
|
3371
|
+
&:where(:not([data-leading-visual])[data-trailing-visual]),
|
|
3372
|
+
&:where(:not([data-leading-visual])[data-trailing-action]) {
|
|
3373
|
+
> input,
|
|
3374
|
+
> select {
|
|
3375
|
+
padding-left: var(--base-size-8);
|
|
3376
|
+
}
|
|
3308
3377
|
}
|
|
3309
3378
|
|
|
3379
|
+
/* Only leading visual */
|
|
3310
3380
|
&:where(:not([data-trailing-visual]):not([data-trailing-action])) > input,
|
|
3311
3381
|
&:where(:not([data-trailing-visual]):not([data-trailing-action])) > select {
|
|
3382
|
+
padding-right: var(--base-size-8);
|
|
3383
|
+
}
|
|
3384
|
+
|
|
3385
|
+
/* No visuals at all */
|
|
3386
|
+
&:where(:not([data-leading-visual]):not([data-trailing-visual]):not([data-trailing-action])) > input,
|
|
3387
|
+
&:where(:not([data-leading-visual]):not([data-trailing-visual]):not([data-trailing-action])) > select {
|
|
3388
|
+
padding-left: var(--base-size-12);
|
|
3389
|
+
padding-right: var(--base-size-12);
|
|
3390
|
+
}
|
|
3391
|
+
}
|
|
3392
|
+
|
|
3393
|
+
/* Large size input */
|
|
3394
|
+
.prc_TextInputWrapper_i1ofR:where([data-size='large']) {
|
|
3395
|
+
&:where([data-leading-visual]) {
|
|
3396
|
+
padding-left: var(--base-size-12);
|
|
3397
|
+
}
|
|
3398
|
+
|
|
3399
|
+
&:where([data-trailing-visual]:not([data-trailing-action])) {
|
|
3312
3400
|
padding-right: var(--base-size-12);
|
|
3313
3401
|
}
|
|
3314
3402
|
}
|
|
@@ -3419,96 +3507,9 @@ span wrapping svg or text */
|
|
|
3419
3507
|
}
|
|
3420
3508
|
}
|
|
3421
3509
|
|
|
3422
|
-
@keyframes prc_shimmer_DB3-6 {
|
|
3423
|
-
from {
|
|
3424
|
-
mask-position: 200%;
|
|
3425
|
-
}
|
|
3426
|
-
|
|
3427
|
-
to {
|
|
3428
|
-
mask-position: 0%;
|
|
3429
|
-
}
|
|
3430
|
-
}
|
|
3431
|
-
|
|
3432
|
-
.prc_SkeletonBox_nSZk3 {
|
|
3433
|
-
display: block;
|
|
3434
|
-
height: 1rem;
|
|
3435
|
-
background-color: var(--skeletonLoader-bgColor);
|
|
3436
|
-
border-radius: var(--borderRadius-small);
|
|
3437
|
-
animation: prc_shimmer_DB3-6;
|
|
3438
|
-
|
|
3439
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
3440
|
-
mask-image: linear-gradient(75deg, #000 30%, rgba(0, 0, 0, 0.65) 80%);
|
|
3441
|
-
mask-size: 200%;
|
|
3442
|
-
animation: prc_shimmer_DB3-6;
|
|
3443
|
-
animation-duration: var(--base-duration-1000);
|
|
3444
|
-
animation-iteration-count: infinite;
|
|
3445
|
-
}
|
|
3446
|
-
|
|
3447
|
-
@media (forced-colors: active) {
|
|
3448
|
-
outline: 1px solid transparent;
|
|
3449
|
-
outline-offset: -1px;
|
|
3450
|
-
}
|
|
3451
|
-
}
|
|
3452
|
-
|
|
3453
|
-
.prc_SkeletonAvatar_TYNvX {
|
|
3454
|
-
&:where([data-component='SkeletonAvatar']) {
|
|
3455
|
-
display: inline-block;
|
|
3456
|
-
width: var(--avatarSize-regular);
|
|
3457
|
-
height: var(--avatarSize-regular);
|
|
3458
|
-
/* stylelint-disable-next-line primer/typography */
|
|
3459
|
-
line-height: 1;
|
|
3460
|
-
border-radius: 50%;
|
|
3461
|
-
}
|
|
3462
|
-
|
|
3463
|
-
&:where([data-square]) {
|
|
3464
|
-
/* stylelint-disable-next-line primer/borders */
|
|
3465
|
-
border-radius: clamp(4px, var(--avatarSize-regular) - 24px, var(--borderRadius-medium));
|
|
3466
|
-
}
|
|
3467
|
-
|
|
3468
|
-
&:where([data-responsive]) {
|
|
3469
|
-
@media screen and (--viewportRange-narrow) {
|
|
3470
|
-
width: var(--avatarSize-narrow);
|
|
3471
|
-
height: var(--avatarSize-narrow);
|
|
3472
|
-
}
|
|
3473
|
-
|
|
3474
|
-
@media screen and (--viewportRange-regular) {
|
|
3475
|
-
width: var(--avatarSize-regular);
|
|
3476
|
-
height: var(--avatarSize-regular);
|
|
3477
|
-
}
|
|
3478
|
-
|
|
3479
|
-
@media screen and (--viewportRange-wide) {
|
|
3480
|
-
width: var(--avatarSize-wide);
|
|
3481
|
-
height: var(--avatarSize-wide);
|
|
3482
|
-
}
|
|
3483
|
-
}
|
|
3484
|
-
}
|
|
3485
|
-
|
|
3486
|
-
.prc_AvatarPair_Av0UV {
|
|
3487
|
-
position: relative;
|
|
3488
|
-
display: inline-flex;
|
|
3489
|
-
|
|
3490
|
-
[data-component='Avatar']:last-child,
|
|
3491
|
-
[data-component='SkeletonAvatar']:last-child {
|
|
3492
|
-
position: absolute;
|
|
3493
|
-
right: -15%;
|
|
3494
|
-
bottom: -9%;
|
|
3495
|
-
box-shadow: var(--avatar-shadow);
|
|
3496
|
-
}
|
|
3497
|
-
|
|
3498
|
-
[data-component='SkeletonAvatar']:last-child {
|
|
3499
|
-
box-shadow: inset var(--avatar-shadow);
|
|
3500
|
-
}
|
|
3501
|
-
}
|
|
3502
|
-
|
|
3503
|
-
.prc_AvatarChild_icdQd {
|
|
3504
|
-
background-color: var(--bgColor-default);
|
|
3505
|
-
}
|
|
3506
|
-
|
|
3507
3510
|
/* stylelint-disable selector-max-specificity */
|
|
3508
3511
|
.prc_AvatarStack_N-r3C {
|
|
3509
3512
|
--avatar-border-width: 1px;
|
|
3510
|
-
--overlap-size: calc(var(--avatar-stack-size) * 0.55);
|
|
3511
|
-
--overlap-size-avatar-three-plus: calc(var(--avatar-stack-size) * 0.85);
|
|
3512
3513
|
--mask-size: calc(100% + (var(--avatar-border-width) * 2));
|
|
3513
3514
|
--mask-start: -1;
|
|
3514
3515
|
--opacity-step: 15%;
|
|
@@ -3519,6 +3520,16 @@ span wrapping svg or text */
|
|
|
3519
3520
|
height: var(--avatar-stack-size);
|
|
3520
3521
|
isolation: isolate;
|
|
3521
3522
|
|
|
3523
|
+
&:where([data-variant='cascade']) {
|
|
3524
|
+
--overlap-size: calc(var(--avatar-stack-size) * 0.55);
|
|
3525
|
+
--overlap-size-avatar-three-plus: calc(var(--avatar-stack-size) * 0.85);
|
|
3526
|
+
}
|
|
3527
|
+
|
|
3528
|
+
&:where([data-variant='stack']) {
|
|
3529
|
+
--overlap-size: calc(var(--avatar-stack-size) * 0.55);
|
|
3530
|
+
--overlap-size-avatar-three-plus: calc(var(--avatar-stack-size) * 0.55);
|
|
3531
|
+
}
|
|
3532
|
+
|
|
3522
3533
|
&:where([data-responsive]) {
|
|
3523
3534
|
@media screen and (--viewportRange-narrow) {
|
|
3524
3535
|
--avatar-stack-size: var(--stackSize-narrow);
|
|
@@ -3533,13 +3544,23 @@ span wrapping svg or text */
|
|
|
3533
3544
|
}
|
|
3534
3545
|
}
|
|
3535
3546
|
|
|
3536
|
-
&:where([data-avatar-count='1']) {
|
|
3547
|
+
&:where([data-avatar-count='1'][data-shape='circle']) {
|
|
3537
3548
|
.prc_AvatarItem_nS1mt {
|
|
3538
3549
|
/* stylelint-disable-next-line primer/box-shadow */
|
|
3539
3550
|
box-shadow: 0 0 0 var(--avatar-border-width) var(--avatar-borderColor);
|
|
3540
3551
|
}
|
|
3541
3552
|
}
|
|
3542
3553
|
|
|
3554
|
+
&:where([data-avatar-count='1'][data-shape='square']) .prc_AvatarItem_nS1mt {
|
|
3555
|
+
/* stylelint-disable-next-line primer/box-shadow */
|
|
3556
|
+
box-shadow: 1px 0 rgba(0, 0, 0, 1);
|
|
3557
|
+
}
|
|
3558
|
+
|
|
3559
|
+
&:where([data-avatar-count='1'][data-shape='square'][data-align-right]) .prc_AvatarItem_nS1mt {
|
|
3560
|
+
/* stylelint-disable-next-line primer/box-shadow */
|
|
3561
|
+
box-shadow: -1px 0 rgba(0, 0, 0, 1);
|
|
3562
|
+
}
|
|
3563
|
+
|
|
3543
3564
|
&:where([data-avatar-count='2']) {
|
|
3544
3565
|
/*
|
|
3545
3566
|
MIN-WIDTH CALC FORMULA EXPLAINED:
|
|
@@ -3549,7 +3570,7 @@ span wrapping svg or text */
|
|
|
3549
3570
|
min-width: calc(var(--avatar-stack-size) + (var(--avatar-stack-size) - var(--overlap-size)));
|
|
3550
3571
|
}
|
|
3551
3572
|
|
|
3552
|
-
&:where([data-avatar-count='3']) {
|
|
3573
|
+
&:where([data-avatar-count='3'][data-variant='cascade']) {
|
|
3553
3574
|
/*
|
|
3554
3575
|
MIN-WIDTH CALC FORMULA EXPLAINED:
|
|
3555
3576
|
avatar size ➡️ var(--avatar-stack-size)
|
|
@@ -3562,7 +3583,16 @@ span wrapping svg or text */
|
|
|
3562
3583
|
);
|
|
3563
3584
|
}
|
|
3564
3585
|
|
|
3565
|
-
&:where([data-avatar-count='3
|
|
3586
|
+
&:where([data-avatar-count='3'][data-variant='stack']) {
|
|
3587
|
+
/*
|
|
3588
|
+
MIN-WIDTH CALC FORMULA EXPLAINED:
|
|
3589
|
+
avatar size ➡️ var(--avatar-stack-size)
|
|
3590
|
+
plus the visible part of the 2nd avatar & 3rd avatar ➡️ var(--avatar-stack-size) - var(--overlap-size-avatar-three-plus) * 2
|
|
3591
|
+
*/
|
|
3592
|
+
min-width: calc(var(--avatar-stack-size) + (var(--avatar-stack-size) - var(--overlap-size-avatar-three-plus)) * 2);
|
|
3593
|
+
}
|
|
3594
|
+
|
|
3595
|
+
&:where([data-avatar-count='3+'][data-variant='cascade']) {
|
|
3566
3596
|
/*
|
|
3567
3597
|
MIN-WIDTH CALC FORMULA EXPLAINED:
|
|
3568
3598
|
avatar size ➡️ var(--avatar-stack-size)
|
|
@@ -3575,6 +3605,17 @@ span wrapping svg or text */
|
|
|
3575
3605
|
);
|
|
3576
3606
|
}
|
|
3577
3607
|
|
|
3608
|
+
&:where([data-avatar-count='3+'][data-variant='stack']) {
|
|
3609
|
+
/*
|
|
3610
|
+
MIN-WIDTH CALC FORMULA EXPLAINED:
|
|
3611
|
+
avatar size ➡️ var(--avatar-stack-size)
|
|
3612
|
+
plus the visible part of the 2nd to 4th avatars ➡️ var(--avatar-stack-size) - var(--overlap-size-avatar-three-plus) * 3
|
|
3613
|
+
*/
|
|
3614
|
+
min-width: calc(var(--avatar-stack-size) + (var(--avatar-stack-size) - var(--overlap-size-avatar-three-plus)) * 3);
|
|
3615
|
+
|
|
3616
|
+
--overlap-size: var(--overlap-size-avatar-three-plus);
|
|
3617
|
+
}
|
|
3618
|
+
|
|
3578
3619
|
&:where([data-align-right]) {
|
|
3579
3620
|
--mask-start: 1;
|
|
3580
3621
|
|
|
@@ -3606,11 +3647,21 @@ span wrapping svg or text */
|
|
|
3606
3647
|
mask-position 0.2s ease-in-out,
|
|
3607
3648
|
mask-size 0.2s ease-in-out;
|
|
3608
3649
|
|
|
3609
|
-
&:is(img) {
|
|
3650
|
+
.prc_AvatarStack_N-r3C:where([data-shape='circle']) &:is(img) {
|
|
3610
3651
|
/* stylelint-disable-next-line primer/box-shadow */
|
|
3611
3652
|
box-shadow: 0 0 0 var(--avatar-border-width) transparent;
|
|
3612
3653
|
}
|
|
3613
3654
|
|
|
3655
|
+
.prc_AvatarStack_N-r3C:where([data-shape='square']) &:is(img) {
|
|
3656
|
+
/* stylelint-disable-next-line primer/box-shadow */
|
|
3657
|
+
box-shadow: 1px 0 rgba(255, 255, 255, 1);
|
|
3658
|
+
}
|
|
3659
|
+
|
|
3660
|
+
.prc_AvatarStack_N-r3C:where([data-shape='square'][data-align-right]) &:is(img) {
|
|
3661
|
+
/* stylelint-disable-next-line primer/box-shadow */
|
|
3662
|
+
box-shadow: -1px 0 rgba(255, 255, 255, 1);
|
|
3663
|
+
}
|
|
3664
|
+
|
|
3614
3665
|
&:first-child {
|
|
3615
3666
|
margin-inline-start: 0;
|
|
3616
3667
|
}
|
|
@@ -3618,8 +3669,6 @@ span wrapping svg or text */
|
|
|
3618
3669
|
&:nth-child(n + 2) {
|
|
3619
3670
|
/* stylelint-disable-next-line primer/spacing */
|
|
3620
3671
|
margin-inline-start: calc(var(--overlap-size) * -1);
|
|
3621
|
-
/* stylelint-disable-next-line declaration-property-value-no-unknown */
|
|
3622
|
-
mask-image: radial-gradient(at 50% 50%, rgb(0, 0, 0) 70%, rgba(0, 0, 0, 0) 71%), linear-gradient(rgb(0, 0, 0) 0 0);
|
|
3623
3672
|
mask-repeat: no-repeat, no-repeat;
|
|
3624
3673
|
mask-size:
|
|
3625
3674
|
var(--mask-size) var(--mask-size),
|
|
@@ -3641,23 +3690,58 @@ span wrapping svg or text */
|
|
|
3641
3690
|
padding: 0.1px;
|
|
3642
3691
|
}
|
|
3643
3692
|
|
|
3644
|
-
|
|
3693
|
+
/* Circular mask */
|
|
3694
|
+
.prc_AvatarStack_N-r3C:where([data-shape='circle']) &:nth-child(n + 2) {
|
|
3695
|
+
/* stylelint-disable-next-line declaration-property-value-no-unknown */
|
|
3696
|
+
mask-image: radial-gradient(at 50% 50%, rgb(0, 0, 0) 70%, rgba(0, 0, 0, 0) 71%), linear-gradient(rgb(0, 0, 0) 0 0);
|
|
3697
|
+
}
|
|
3698
|
+
|
|
3699
|
+
/* Square mask */
|
|
3700
|
+
.prc_AvatarStack_N-r3C:where([data-shape='square']) &:nth-child(n + 2) {
|
|
3701
|
+
/* stylelint-disable-next-line declaration-property-value-no-unknown */
|
|
3702
|
+
mask-image: linear-gradient(at 50% 50%, rgb(0, 0, 0) 70%, rgba(0, 0, 0, 0) 71%), linear-gradient(rgb(0, 0, 0) 0 0);
|
|
3703
|
+
}
|
|
3704
|
+
|
|
3705
|
+
/* Cascade variant override for nth-child(n + 3) */
|
|
3706
|
+
.prc_AvatarStack_N-r3C:where([data-variant='cascade']) &:nth-child(n + 3) {
|
|
3645
3707
|
--overlap-size: var(--overlap-size-avatar-three-plus);
|
|
3646
3708
|
|
|
3647
3709
|
/* stylelint-disable-next-line alpha-value-notation */
|
|
3648
3710
|
opacity: calc(100% - 2 * var(--opacity-step));
|
|
3649
3711
|
}
|
|
3650
3712
|
|
|
3651
|
-
|
|
3713
|
+
/* Cascade variant override for nth-child(n + 4) */
|
|
3714
|
+
.prc_AvatarStack_N-r3C:where([data-variant='cascade']) &:nth-child(n + 4) {
|
|
3652
3715
|
/* stylelint-disable-next-line alpha-value-notation */
|
|
3653
3716
|
opacity: calc(100% - 3 * var(--opacity-step));
|
|
3654
3717
|
}
|
|
3655
3718
|
|
|
3656
|
-
|
|
3719
|
+
/* Cascade variant override for nth-child(n + 5) */
|
|
3720
|
+
.prc_AvatarStack_N-r3C:where([data-variant='cascade']) &:nth-child(n + 5) {
|
|
3657
3721
|
/* stylelint-disable-next-line alpha-value-notation */
|
|
3658
3722
|
opacity: calc(100% - 4 * var(--opacity-step));
|
|
3659
3723
|
}
|
|
3660
3724
|
|
|
3725
|
+
.prc_AvatarStack_N-r3C:where([data-shape='square']) &:nth-child(1) {
|
|
3726
|
+
z-index: 5;
|
|
3727
|
+
}
|
|
3728
|
+
|
|
3729
|
+
.prc_AvatarStack_N-r3C:where([data-shape='square']) &:nth-child(2) {
|
|
3730
|
+
z-index: 4;
|
|
3731
|
+
}
|
|
3732
|
+
|
|
3733
|
+
.prc_AvatarStack_N-r3C:where([data-shape='square']) &:nth-child(3) {
|
|
3734
|
+
z-index: 3;
|
|
3735
|
+
}
|
|
3736
|
+
|
|
3737
|
+
.prc_AvatarStack_N-r3C:where([data-shape='square']) &:nth-child(4) {
|
|
3738
|
+
z-index: 2;
|
|
3739
|
+
}
|
|
3740
|
+
|
|
3741
|
+
.prc_AvatarStack_N-r3C:where([data-shape='square']) &:nth-child(5) {
|
|
3742
|
+
z-index: 1;
|
|
3743
|
+
}
|
|
3744
|
+
|
|
3661
3745
|
&:nth-child(n + 6) {
|
|
3662
3746
|
visibility: hidden;
|
|
3663
3747
|
opacity: 0;
|
|
@@ -3690,75 +3774,291 @@ span wrapping svg or text */
|
|
|
3690
3774
|
}
|
|
3691
3775
|
}
|
|
3692
3776
|
|
|
3693
|
-
.
|
|
3694
|
-
display:
|
|
3695
|
-
padding: var(--base-size-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
background-color: var(--bgColor-accent-muted);
|
|
3777
|
+
.prc_Banner_IR8eJ {
|
|
3778
|
+
display: grid;
|
|
3779
|
+
padding: var(--base-size-8);
|
|
3780
|
+
/* stylelint-disable-next-line primer/colors */
|
|
3781
|
+
background-color: var(--banner-bgColor);
|
|
3782
|
+
/* stylelint-disable-next-line primer/colors */
|
|
3783
|
+
border: var(--borderWidth-thin) solid var(--banner-borderColor);
|
|
3701
3784
|
border-radius: var(--borderRadius-medium);
|
|
3785
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
3786
|
+
align-items: start;
|
|
3702
3787
|
|
|
3703
|
-
|
|
3704
|
-
|
|
3788
|
+
@supports (container-type: inline-size) {
|
|
3789
|
+
container: banner / inline-size;
|
|
3705
3790
|
}
|
|
3706
|
-
}
|
|
3707
|
-
|
|
3708
|
-
.prc_BreadcrumbsBase_6gqOz {
|
|
3709
|
-
display: flex;
|
|
3710
|
-
justify-content: space-between;
|
|
3711
|
-
}
|
|
3712
3791
|
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
}
|
|
3792
|
+
&[data-variant='critical'] {
|
|
3793
|
+
--banner-bgColor: var(--bgColor-danger-muted);
|
|
3794
|
+
--banner-borderColor: var(--borderColor-danger-muted);
|
|
3795
|
+
--banner-icon-fgColor: var(--fgColor-danger);
|
|
3796
|
+
}
|
|
3718
3797
|
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3798
|
+
&[data-variant='info'] {
|
|
3799
|
+
--banner-bgColor: var(--bgColor-accent-muted);
|
|
3800
|
+
--banner-borderColor: var(--borderColor-accent-muted);
|
|
3801
|
+
--banner-icon-fgColor: var(--fgColor-accent);
|
|
3802
|
+
}
|
|
3724
3803
|
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
margin: 0 0.5em;
|
|
3730
|
-
font-size: var(--text-body-size-medium);
|
|
3731
|
-
content: '';
|
|
3732
|
-
/* stylelint-disable-next-line primer/borders, primer/colors */
|
|
3733
|
-
border-right: 0.1em solid var(--fgColor-muted);
|
|
3734
|
-
transform: rotate(15deg) translateY(0.0625em);
|
|
3804
|
+
&[data-variant='success'] {
|
|
3805
|
+
--banner-bgColor: var(--bgColor-success-muted);
|
|
3806
|
+
--banner-borderColor: var(--borderColor-success-muted);
|
|
3807
|
+
--banner-icon-fgColor: var(--fgColor-success);
|
|
3735
3808
|
}
|
|
3736
3809
|
|
|
3737
|
-
|
|
3738
|
-
|
|
3810
|
+
&[data-variant='upsell'] {
|
|
3811
|
+
--banner-bgColor: var(--bgColor-upsell-muted);
|
|
3812
|
+
--banner-borderColor: var(--borderColor-upsell-muted);
|
|
3813
|
+
--banner-icon-fgColor: var(--fgColor-upsell);
|
|
3739
3814
|
}
|
|
3740
3815
|
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3816
|
+
&[data-variant='warning'] {
|
|
3817
|
+
--banner-bgColor: var(--bgColor-attention-muted);
|
|
3818
|
+
--banner-borderColor: var(--borderColor-attention-muted);
|
|
3819
|
+
--banner-icon-fgColor: var(--fgColor-attention);
|
|
3745
3820
|
}
|
|
3746
3821
|
}
|
|
3747
3822
|
|
|
3748
|
-
|
|
3749
|
-
|
|
3823
|
+
/* BannerContainer -------------------------------------------------------- */
|
|
3824
|
+
|
|
3825
|
+
.prc_BannerContainer_lbx3d {
|
|
3750
3826
|
font-size: var(--text-body-size-medium);
|
|
3751
|
-
|
|
3752
|
-
|
|
3827
|
+
align-items: start;
|
|
3828
|
+
line-height: var(--text-body-lineHeight-medium);
|
|
3829
|
+
row-gap: var(--base-size-4);
|
|
3830
|
+
column-gap: var(--base-size-4);
|
|
3831
|
+
}
|
|
3753
3832
|
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3833
|
+
.prc_Banner_IR8eJ :where(.prc_BannerContainer_lbx3d) {
|
|
3834
|
+
display: flex;
|
|
3835
|
+
flex-wrap: wrap;
|
|
3836
|
+
justify-content: space-between;
|
|
3758
3837
|
}
|
|
3759
3838
|
|
|
3760
|
-
.
|
|
3761
|
-
|
|
3839
|
+
.prc_Banner_IR8eJ[data-dismissible]:not([data-title-hidden='']) .prc_BannerContainer_lbx3d {
|
|
3840
|
+
display: grid;
|
|
3841
|
+
grid-template-columns: auto;
|
|
3842
|
+
grid-template-rows: auto;
|
|
3843
|
+
}
|
|
3844
|
+
|
|
3845
|
+
/* BannerContent ---------------------------------------------------------- */
|
|
3846
|
+
|
|
3847
|
+
.prc_BannerContent_zTITK {
|
|
3848
|
+
display: grid;
|
|
3849
|
+
row-gap: var(--base-size-4);
|
|
3850
|
+
grid-column-start: 1;
|
|
3851
|
+
margin-block: var(--base-size-8);
|
|
3852
|
+
}
|
|
3853
|
+
|
|
3854
|
+
.prc_Banner_IR8eJ[data-title-hidden]:not(:has(.prc_BannerActions_XCfHL)) .prc_BannerContent_zTITK {
|
|
3855
|
+
margin-block: var(--base-size-6);
|
|
3856
|
+
}
|
|
3857
|
+
|
|
3858
|
+
@media screen and (min-width: 544px) {
|
|
3859
|
+
.prc_BannerContent_zTITK {
|
|
3860
|
+
flex: 1 1 0%;
|
|
3861
|
+
}
|
|
3862
|
+
}
|
|
3863
|
+
|
|
3864
|
+
.prc_BannerTitle_TcuJl {
|
|
3865
|
+
margin: 0;
|
|
3866
|
+
font-size: inherit;
|
|
3867
|
+
font-weight: var(--base-text-weight-semibold);
|
|
3868
|
+
}
|
|
3869
|
+
|
|
3870
|
+
/* BannerIcon ------------------------------------------------------------- */
|
|
3871
|
+
|
|
3872
|
+
.prc_BannerIcon_WuOyf {
|
|
3873
|
+
display: grid;
|
|
3874
|
+
place-items: center;
|
|
3875
|
+
padding: var(--base-size-8);
|
|
3876
|
+
}
|
|
3877
|
+
|
|
3878
|
+
.prc_BannerIcon_WuOyf svg {
|
|
3879
|
+
/* 20px is the line box height of the trailing action buttons */
|
|
3880
|
+
height: var(--base-size-20);
|
|
3881
|
+
/* stylelint-disable-next-line primer/colors */
|
|
3882
|
+
color: var(--banner-icon-fgColor);
|
|
3883
|
+
/* stylelint-disable-next-line primer/colors */
|
|
3884
|
+
fill: var(--banner-icon-fgColor);
|
|
3885
|
+
}
|
|
3886
|
+
|
|
3887
|
+
/* stylelint-disable-next-line selector-max-specificity */
|
|
3888
|
+
.prc_Banner_IR8eJ[data-title-hidden]:not(:has(.prc_BannerActions_XCfHL)) .prc_BannerIcon_WuOyf svg {
|
|
3889
|
+
height: var(--base-size-16);
|
|
3890
|
+
}
|
|
3891
|
+
|
|
3892
|
+
/* BannerDismiss ---------------------------------------------------------- */
|
|
3893
|
+
|
|
3894
|
+
.prc_BannerDismiss_uBZVm {
|
|
3895
|
+
display: grid;
|
|
3896
|
+
place-items: center;
|
|
3897
|
+
padding: var(--base-size-8);
|
|
3898
|
+
margin-inline-start: var(--base-size-4);
|
|
3899
|
+
}
|
|
3900
|
+
|
|
3901
|
+
:where(.prc_Banner_IR8eJ):has(.prc_BannerActions_XCfHL) .prc_BannerDismiss_uBZVm {
|
|
3902
|
+
margin-block: var(--base-size-2);
|
|
3903
|
+
}
|
|
3904
|
+
|
|
3905
|
+
.prc_BannerDismiss_uBZVm svg {
|
|
3906
|
+
/* stylelint-disable-next-line primer/colors */
|
|
3907
|
+
color: var(--banner-icon-fgColor);
|
|
3908
|
+
}
|
|
3909
|
+
|
|
3910
|
+
/* BannerActions ---------------------------------------------------------- */
|
|
3911
|
+
|
|
3912
|
+
.prc_BannerActionsContainer_ukGMH {
|
|
3913
|
+
display: flex;
|
|
3914
|
+
column-gap: var(--base-size-12);
|
|
3915
|
+
align-items: center;
|
|
3916
|
+
margin-block: var(--base-size-2);
|
|
3917
|
+
}
|
|
3918
|
+
|
|
3919
|
+
.prc_BannerActions_XCfHL :where([data-primary-action='trailing']) {
|
|
3920
|
+
display: none;
|
|
3921
|
+
}
|
|
3922
|
+
|
|
3923
|
+
@media screen and (--viewportRange-regular) {
|
|
3924
|
+
.prc_BannerActions_XCfHL :where([data-primary-action='trailing']) {
|
|
3925
|
+
display: flex;
|
|
3926
|
+
}
|
|
3927
|
+
|
|
3928
|
+
.prc_BannerActions_XCfHL :where([data-primary-action='leading']) {
|
|
3929
|
+
display: none;
|
|
3930
|
+
}
|
|
3931
|
+
}
|
|
3932
|
+
|
|
3933
|
+
.prc_Banner_IR8eJ[data-dismissible]:not([data-title-hidden]) .prc_BannerActions_XCfHL {
|
|
3934
|
+
margin-block-end: var(--base-size-6);
|
|
3935
|
+
}
|
|
3936
|
+
|
|
3937
|
+
/* stylelint-disable-next-line selector-max-specificity */
|
|
3938
|
+
.prc_Banner_IR8eJ[data-dismissible]:not([data-title-hidden]) .prc_BannerActionsContainer_ukGMH[data-primary-action='trailing'] {
|
|
3939
|
+
display: none;
|
|
3940
|
+
}
|
|
3941
|
+
|
|
3942
|
+
/* stylelint-disable-next-line selector-max-specificity */
|
|
3943
|
+
.prc_Banner_IR8eJ[data-dismissible]:not([data-title-hidden]) .prc_BannerActionsContainer_ukGMH[data-primary-action='leading'] {
|
|
3944
|
+
display: flex;
|
|
3945
|
+
}
|
|
3946
|
+
|
|
3947
|
+
/* Layout ------------------------------------------------------------------- */
|
|
3948
|
+
|
|
3949
|
+
@container banner (max-width: 500px) {
|
|
3950
|
+
.prc_BannerContainer_lbx3d {
|
|
3951
|
+
display: grid;
|
|
3952
|
+
}
|
|
3953
|
+
|
|
3954
|
+
.prc_BannerContainer_lbx3d:has(.prc_BannerActionsContainer_ukGMH) {
|
|
3955
|
+
grid-template-rows: auto auto;
|
|
3956
|
+
}
|
|
3957
|
+
|
|
3958
|
+
.prc_BannerActions_XCfHL {
|
|
3959
|
+
margin-block-end: var(--base-size-6);
|
|
3960
|
+
}
|
|
3961
|
+
|
|
3962
|
+
.prc_BannerActions_XCfHL [data-primary-action='trailing'] {
|
|
3963
|
+
display: none;
|
|
3964
|
+
}
|
|
3965
|
+
|
|
3966
|
+
.prc_BannerActions_XCfHL [data-primary-action='leading'] {
|
|
3967
|
+
display: flex;
|
|
3968
|
+
}
|
|
3969
|
+
}
|
|
3970
|
+
|
|
3971
|
+
@container banner (min-width: 500px) {
|
|
3972
|
+
.prc_BannerContainer_lbx3d {
|
|
3973
|
+
display: grid;
|
|
3974
|
+
grid-template-columns: auto auto;
|
|
3975
|
+
}
|
|
3976
|
+
|
|
3977
|
+
:where(.prc_Banner_IR8eJ):not([data-dismissible])
|
|
3978
|
+
:where(.prc_BannerActionsContainer_ukGMH[data-primary-action='trailing'])
|
|
3979
|
+
:where([data-variant='link']:only-child) {
|
|
3980
|
+
padding-inline: 0 var(--base-size-12);
|
|
3981
|
+
}
|
|
3982
|
+
|
|
3983
|
+
.prc_BannerActions_XCfHL [data-primary-action='trailing'] {
|
|
3984
|
+
display: flex;
|
|
3985
|
+
min-height: var(--base-size-32, 2rem);
|
|
3986
|
+
}
|
|
3987
|
+
|
|
3988
|
+
.prc_BannerActions_XCfHL [data-primary-action='leading'] {
|
|
3989
|
+
display: none;
|
|
3990
|
+
}
|
|
3991
|
+
}
|
|
3992
|
+
|
|
3993
|
+
.prc_BranchName_jFtg- {
|
|
3994
|
+
display: inline-block;
|
|
3995
|
+
padding: var(--base-size-2) var(--base-size-6);
|
|
3996
|
+
font-family: var(--fontStack-monospace);
|
|
3997
|
+
font-size: var(--text-body-size-small);
|
|
3998
|
+
color: var(--fgColor-link);
|
|
3999
|
+
text-decoration: none;
|
|
4000
|
+
background-color: var(--bgColor-accent-muted);
|
|
4001
|
+
border-radius: var(--borderRadius-medium);
|
|
4002
|
+
|
|
4003
|
+
&:is(:not(a)) {
|
|
4004
|
+
color: var(--fgColor-muted);
|
|
4005
|
+
}
|
|
4006
|
+
}
|
|
4007
|
+
|
|
4008
|
+
.prc_BreadcrumbsBase_6gqOz {
|
|
4009
|
+
display: flex;
|
|
4010
|
+
justify-content: space-between;
|
|
4011
|
+
}
|
|
4012
|
+
|
|
4013
|
+
.prc_BreadcrumbsList_K7eeK {
|
|
4014
|
+
padding-left: 0;
|
|
4015
|
+
margin-top: 0;
|
|
4016
|
+
margin-bottom: 0;
|
|
4017
|
+
}
|
|
4018
|
+
|
|
4019
|
+
.prc_ItemWrapper_Mfwuj {
|
|
4020
|
+
display: inline-block;
|
|
4021
|
+
font-size: var(--text-body-size-medium);
|
|
4022
|
+
white-space: nowrap;
|
|
4023
|
+
list-style: none;
|
|
4024
|
+
|
|
4025
|
+
&::after {
|
|
4026
|
+
display: inline-block;
|
|
4027
|
+
height: 0.8em;
|
|
4028
|
+
/* stylelint-disable-next-line primer/spacing */
|
|
4029
|
+
margin: 0 0.5em;
|
|
4030
|
+
font-size: var(--text-body-size-medium);
|
|
4031
|
+
content: '';
|
|
4032
|
+
/* stylelint-disable-next-line primer/borders, primer/colors */
|
|
4033
|
+
border-right: 0.1em solid var(--fgColor-muted);
|
|
4034
|
+
transform: rotate(15deg) translateY(0.0625em);
|
|
4035
|
+
}
|
|
4036
|
+
|
|
4037
|
+
&:first-child {
|
|
4038
|
+
margin-left: 0;
|
|
4039
|
+
}
|
|
4040
|
+
|
|
4041
|
+
&:last-child {
|
|
4042
|
+
&::after {
|
|
4043
|
+
content: none;
|
|
4044
|
+
}
|
|
4045
|
+
}
|
|
4046
|
+
}
|
|
4047
|
+
|
|
4048
|
+
.prc_Item_7BKO- {
|
|
4049
|
+
display: inline-block;
|
|
4050
|
+
font-size: var(--text-body-size-medium);
|
|
4051
|
+
color: var(--fgColor-link);
|
|
4052
|
+
text-decoration: none;
|
|
4053
|
+
|
|
4054
|
+
&:hover,
|
|
4055
|
+
&:focus {
|
|
4056
|
+
text-decoration: underline;
|
|
4057
|
+
}
|
|
4058
|
+
}
|
|
4059
|
+
|
|
4060
|
+
.prc_ItemSelected_9ZYcW {
|
|
4061
|
+
color: var(--fgColor-default);
|
|
3762
4062
|
pointer-events: none;
|
|
3763
4063
|
|
|
3764
4064
|
&:focus {
|
|
@@ -4022,82 +4322,48 @@ span wrapping svg or text */
|
|
|
4022
4322
|
transform: translateY(-50%);
|
|
4023
4323
|
}
|
|
4024
4324
|
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
--leading: calc(var(--font-size) * var(--line-height) - var(--font-size));
|
|
4029
|
-
|
|
4030
|
-
@supports (margin-block: mod(1px, 1px)) {
|
|
4031
|
-
--leading: mod(var(--font-size) * var(--line-height), var(--font-size));
|
|
4032
|
-
}
|
|
4033
|
-
|
|
4034
|
-
height: var(--font-size);
|
|
4035
|
-
border-radius: var(--borderRadius-small);
|
|
4036
|
-
/* stylelint-disable-next-line primer/spacing */
|
|
4037
|
-
margin-block: calc(var(--leading) / 2);
|
|
4038
|
-
|
|
4039
|
-
&:where([data-in-multiline]) {
|
|
4040
|
-
/* stylelint-disable-next-line primer/spacing */
|
|
4041
|
-
margin-block-end: calc(var(--leading) * 2);
|
|
4042
|
-
|
|
4043
|
-
&:last-child {
|
|
4044
|
-
min-width: 50px;
|
|
4045
|
-
max-width: 65%;
|
|
4046
|
-
margin-bottom: 0;
|
|
4047
|
-
}
|
|
4048
|
-
}
|
|
4049
|
-
|
|
4050
|
-
&:where([data-text-skeleton-size='display']),
|
|
4051
|
-
&:where([data-text-skeleton-size='titleLarge']) {
|
|
4052
|
-
border-radius: var(--borderRadius-medium);
|
|
4053
|
-
}
|
|
4054
|
-
|
|
4055
|
-
&:where([data-text-skeleton-size='display']) {
|
|
4056
|
-
--font-size: var(--text-display-size);
|
|
4057
|
-
--line-height: var(--text-display-lineHeight);
|
|
4058
|
-
}
|
|
4059
|
-
|
|
4060
|
-
&:where([data-text-skeleton-size='titleLarge']) {
|
|
4061
|
-
--font-size: var(--text-title-size-large);
|
|
4062
|
-
--line-height: var(--text-title-lineHeight-large);
|
|
4063
|
-
}
|
|
4064
|
-
|
|
4065
|
-
&:where([data-text-skeleton-size='titleMedium']) {
|
|
4066
|
-
--font-size: var(--text-title-size-medium);
|
|
4067
|
-
--line-height: var(--text-title-lineHeight-medium);
|
|
4325
|
+
@keyframes prc_shimmer_DB3-6 {
|
|
4326
|
+
from {
|
|
4327
|
+
mask-position: 200%;
|
|
4068
4328
|
}
|
|
4069
4329
|
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
--line-height: var(--text-title-lineHeight-small);
|
|
4330
|
+
to {
|
|
4331
|
+
mask-position: 0%;
|
|
4073
4332
|
}
|
|
4333
|
+
}
|
|
4074
4334
|
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4335
|
+
.prc_SkeletonBox_nSZk3 {
|
|
4336
|
+
display: block;
|
|
4337
|
+
height: 1rem;
|
|
4338
|
+
background-color: var(--skeletonLoader-bgColor);
|
|
4339
|
+
border-radius: var(--borderRadius-small);
|
|
4340
|
+
animation: prc_shimmer_DB3-6;
|
|
4079
4341
|
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4342
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
4343
|
+
mask-image: linear-gradient(75deg, #000 30%, rgba(0, 0, 0, 0.65) 80%);
|
|
4344
|
+
mask-size: 200%;
|
|
4345
|
+
animation: prc_shimmer_DB3-6;
|
|
4346
|
+
animation-duration: var(--base-duration-1000);
|
|
4347
|
+
animation-iteration-count: infinite;
|
|
4083
4348
|
}
|
|
4084
4349
|
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4350
|
+
@media (forced-colors: active) {
|
|
4351
|
+
outline: 1px solid transparent;
|
|
4352
|
+
outline-offset: -1px;
|
|
4088
4353
|
}
|
|
4089
4354
|
}
|
|
4090
4355
|
|
|
4091
|
-
.prc_SkeletonTextWrapper_QRoBW {
|
|
4092
|
-
/* stylelint-disable-next-line primer/spacing */
|
|
4093
|
-
padding-block: 0.1px;
|
|
4094
|
-
}
|
|
4095
|
-
|
|
4096
4356
|
.prc_LoadingSkeleton_x9WXt {
|
|
4097
4357
|
/* stylelint-disable-next-line primer/borders */
|
|
4098
4358
|
border-radius: 4px;
|
|
4099
4359
|
}
|
|
4100
4360
|
|
|
4361
|
+
.prc_Root_S5E74 {
|
|
4362
|
+
display: flex;
|
|
4363
|
+
flex-direction: column;
|
|
4364
|
+
overflow: hidden;
|
|
4365
|
+
}
|
|
4366
|
+
|
|
4101
4367
|
.prc_Container_2A9NQ {
|
|
4102
4368
|
display: flex;
|
|
4103
4369
|
height: 100%;
|
|
@@ -4105,6 +4371,22 @@ span wrapping svg or text */
|
|
|
4105
4371
|
flex-grow: 1;
|
|
4106
4372
|
}
|
|
4107
4373
|
|
|
4374
|
+
.prc_ActionListItem_39lnB:focus {
|
|
4375
|
+
background: var(--control-transparent-bgColor-selected);
|
|
4376
|
+
|
|
4377
|
+
&::after {
|
|
4378
|
+
@mixin activeIndicatorLine;
|
|
4379
|
+
}
|
|
4380
|
+
}
|
|
4381
|
+
|
|
4382
|
+
.prc_ActionListItem_39lnB:where([data-input-focused]):where([data-first-child]) {
|
|
4383
|
+
background: var(--control-transparent-bgColor-selected);
|
|
4384
|
+
|
|
4385
|
+
&::after {
|
|
4386
|
+
@mixin activeIndicatorLine;
|
|
4387
|
+
}
|
|
4388
|
+
}
|
|
4389
|
+
|
|
4108
4390
|
.prc_FullScreenTextInput_rCAiq {
|
|
4109
4391
|
@media screen and (--viewportRange-narrow) {
|
|
4110
4392
|
/* Ensures inputs don't zoom on mobile iPhone but are body-font size on iPad */
|
|
@@ -4114,6 +4396,26 @@ span wrapping svg or text */
|
|
|
4114
4396
|
}
|
|
4115
4397
|
}
|
|
4116
4398
|
|
|
4399
|
+
.prc_SelectAllContainer_w5otq {
|
|
4400
|
+
display: flex;
|
|
4401
|
+
align-items: center;
|
|
4402
|
+
padding-block: var(--base-size-4);
|
|
4403
|
+
padding-inline: var(--base-size-16);
|
|
4404
|
+
background: var(--bgColor-muted);
|
|
4405
|
+
border-bottom: var(--borderWidth-thin) solid var(--borderColor-default);
|
|
4406
|
+
}
|
|
4407
|
+
|
|
4408
|
+
.prc_SelectAllCheckbox_dq2yL {
|
|
4409
|
+
/* -1px hack to offset 1px border-bottom causing uneven alignment */
|
|
4410
|
+
/* stylelint-disable-next-line primer/spacing */
|
|
4411
|
+
margin: var(--base-size-4) var(--base-size-8) calc(var(--base-size-4) - 1px) 0;
|
|
4412
|
+
}
|
|
4413
|
+
|
|
4414
|
+
.prc_SelectAllLabel_l34LA {
|
|
4415
|
+
font-size: var(--text-body-size-medium);
|
|
4416
|
+
color: var(--fgColor-muted);
|
|
4417
|
+
}
|
|
4418
|
+
|
|
4117
4419
|
.prc_Overlay_arLk6 {
|
|
4118
4420
|
/* CSS variables values are passed in via styles */
|
|
4119
4421
|
--max-height: 0;
|
|
@@ -4146,7 +4448,20 @@ span wrapping svg or text */
|
|
|
4146
4448
|
}
|
|
4147
4449
|
|
|
4148
4450
|
.prc_Wrapper_43Iz8[data-variant='modal'] .prc_Title_-CZN1 {
|
|
4149
|
-
margin-top: var(--base-size-8);
|
|
4451
|
+
margin-top: var(--base-size-8);
|
|
4452
|
+
/* styling specific to the modal variant */
|
|
4453
|
+
}
|
|
4454
|
+
|
|
4455
|
+
/*
|
|
4456
|
+
* Align SelectPanel header text with AnchoredOverlay close button
|
|
4457
|
+
*
|
|
4458
|
+
* Ensures the title properly aligns with the close button position
|
|
4459
|
+
* in anchor variant on narrow viewports.
|
|
4460
|
+
*/
|
|
4461
|
+
.prc_Wrapper_43Iz8[data-variant='anchored'] .prc_Title_-CZN1 {
|
|
4462
|
+
@media screen and (--viewportRange-narrow) {
|
|
4463
|
+
margin-top: var(--base-size-8);
|
|
4464
|
+
}
|
|
4150
4465
|
}
|
|
4151
4466
|
|
|
4152
4467
|
.prc_Subtitle_tMSzu {
|
|
@@ -4202,6 +4517,8 @@ span wrapping svg or text */
|
|
|
4202
4517
|
}
|
|
4203
4518
|
|
|
4204
4519
|
.prc_FilteredActionList_wzS7m {
|
|
4520
|
+
/* inheriting height and maxHeight ensures that the FilteredActionList is never taller
|
|
4521
|
+
than the Overlay (which would break scrolling the items) */
|
|
4205
4522
|
height: inherit;
|
|
4206
4523
|
max-height: inherit;
|
|
4207
4524
|
}
|
|
@@ -4244,6 +4561,10 @@ span wrapping svg or text */
|
|
|
4244
4561
|
}
|
|
4245
4562
|
}
|
|
4246
4563
|
|
|
4564
|
+
.prc_MessageAction_qwola {
|
|
4565
|
+
margin-top: var(--base-size-8);
|
|
4566
|
+
}
|
|
4567
|
+
|
|
4247
4568
|
.prc_ResponsiveCloseButton_3mdX2 {
|
|
4248
4569
|
display: inline-grid;
|
|
4249
4570
|
}
|
|
@@ -4338,6 +4659,10 @@ span wrapping svg or text */
|
|
|
4338
4659
|
background-color: var(--overlay-backdrop-bgColor);
|
|
4339
4660
|
}
|
|
4340
4661
|
|
|
4662
|
+
.prc_TextInput_TjXuJ {
|
|
4663
|
+
margin: var(--base-size-8);
|
|
4664
|
+
}
|
|
4665
|
+
|
|
4341
4666
|
.prc_TokenBase_PfQzJ {
|
|
4342
4667
|
position: relative;
|
|
4343
4668
|
display: inline-flex;
|
|
@@ -5062,6 +5387,23 @@ span wrapping svg or text */
|
|
|
5062
5387
|
}
|
|
5063
5388
|
}
|
|
5064
5389
|
|
|
5390
|
+
.prc_Caret_PNu-B {
|
|
5391
|
+
pointer-events: none;
|
|
5392
|
+
position: absolute;
|
|
5393
|
+
}
|
|
5394
|
+
|
|
5395
|
+
.prc_CaretTriangle_Iu0GY {
|
|
5396
|
+
/* stylelint-disable-next-line primer/colors */
|
|
5397
|
+
fill: var(--caret-bg, var(--bgColor-default));
|
|
5398
|
+
}
|
|
5399
|
+
|
|
5400
|
+
.prc_CaretBorder_o3vP2 {
|
|
5401
|
+
fill: none;
|
|
5402
|
+
/* stylelint-disable-next-line primer/colors */
|
|
5403
|
+
stroke: var(--caret-border-color, var(--borderColor-default));
|
|
5404
|
+
stroke-width: var(--caret-border-width, var(--borderWidth-thin));
|
|
5405
|
+
}
|
|
5406
|
+
|
|
5065
5407
|
.prc_Popover_v1ShS {
|
|
5066
5408
|
position: absolute;
|
|
5067
5409
|
z-index: 100;
|
|
@@ -5078,13 +5420,13 @@ span wrapping svg or text */
|
|
|
5078
5420
|
|
|
5079
5421
|
.prc_PopoverContent_nMzFS {
|
|
5080
5422
|
position: relative;
|
|
5081
|
-
width: 232px;
|
|
5082
5423
|
padding: var(--base-size-24);
|
|
5083
5424
|
margin-right: auto;
|
|
5084
5425
|
margin-left: auto;
|
|
5085
5426
|
background-color: var(--overlay-bgColor);
|
|
5086
5427
|
border: var(--borderWidth-thin) solid var(--borderColor-default);
|
|
5087
5428
|
border-radius: var(--borderRadius-medium);
|
|
5429
|
+
overflow: hidden;
|
|
5088
5430
|
|
|
5089
5431
|
/* Carets */
|
|
5090
5432
|
&::before,
|
|
@@ -5243,31 +5585,95 @@ span wrapping svg or text */
|
|
|
5243
5585
|
}
|
|
5244
5586
|
}
|
|
5245
5587
|
|
|
5246
|
-
/* Right & Left: Top-oriented carets */
|
|
5247
|
-
:where([data-caret='right-top']) &,
|
|
5248
|
-
:where([data-caret='left-top']) & {
|
|
5249
|
-
&::before,
|
|
5250
|
-
&::after {
|
|
5251
|
-
top: var(--base-size-24);
|
|
5252
|
-
}
|
|
5588
|
+
/* Right & Left: Top-oriented carets */
|
|
5589
|
+
:where([data-caret='right-top']) &,
|
|
5590
|
+
:where([data-caret='left-top']) & {
|
|
5591
|
+
&::before,
|
|
5592
|
+
&::after {
|
|
5593
|
+
top: var(--base-size-24);
|
|
5594
|
+
}
|
|
5595
|
+
}
|
|
5596
|
+
|
|
5597
|
+
/* Right & Left: Bottom-oriented carets */
|
|
5598
|
+
:where([data-caret='right-bottom']) &,
|
|
5599
|
+
:where([data-caret='left-bottom']) & {
|
|
5600
|
+
&::before,
|
|
5601
|
+
&::after {
|
|
5602
|
+
top: auto;
|
|
5603
|
+
}
|
|
5604
|
+
|
|
5605
|
+
&::before {
|
|
5606
|
+
bottom: var(--base-size-16);
|
|
5607
|
+
}
|
|
5608
|
+
|
|
5609
|
+
&::after {
|
|
5610
|
+
/* stylelint-disable-next-line primer/spacing */
|
|
5611
|
+
bottom: calc(var(--base-size-16) + 1px);
|
|
5612
|
+
}
|
|
5613
|
+
}
|
|
5614
|
+
|
|
5615
|
+
&:where([data-width='xsmall']) {
|
|
5616
|
+
width: var(--overlay-width-xsmall);
|
|
5617
|
+
}
|
|
5618
|
+
|
|
5619
|
+
&:where([data-width='small']) {
|
|
5620
|
+
width: var(--overlay-width-small);
|
|
5621
|
+
}
|
|
5622
|
+
|
|
5623
|
+
&:where([data-width='medium']) {
|
|
5624
|
+
width: var(--overlay-width-medium);
|
|
5625
|
+
}
|
|
5626
|
+
|
|
5627
|
+
&:where([data-width='large']) {
|
|
5628
|
+
width: var(--overlay-width-large);
|
|
5629
|
+
}
|
|
5630
|
+
|
|
5631
|
+
&:where([data-width='xlarge']) {
|
|
5632
|
+
width: var(--overlay-width-xlarge);
|
|
5633
|
+
}
|
|
5634
|
+
|
|
5635
|
+
&:where([data-width='auto']) {
|
|
5636
|
+
width: auto;
|
|
5637
|
+
}
|
|
5638
|
+
|
|
5639
|
+
&:where([data-height='small']) {
|
|
5640
|
+
height: var(--overlay-height-small);
|
|
5641
|
+
}
|
|
5642
|
+
|
|
5643
|
+
&:where([data-height='medium']) {
|
|
5644
|
+
height: var(--overlay-height-medium);
|
|
5645
|
+
}
|
|
5646
|
+
|
|
5647
|
+
&:where([data-height='large']) {
|
|
5648
|
+
height: var(--overlay-height-large);
|
|
5649
|
+
}
|
|
5650
|
+
|
|
5651
|
+
&:where([data-height='xlarge']) {
|
|
5652
|
+
height: var(--overlay-height-xlarge);
|
|
5653
|
+
}
|
|
5654
|
+
|
|
5655
|
+
&:where([data-height='fit-content']) {
|
|
5656
|
+
height: fit-content;
|
|
5657
|
+
}
|
|
5658
|
+
|
|
5659
|
+
&:where([data-height='auto']) {
|
|
5660
|
+
height: auto;
|
|
5661
|
+
}
|
|
5662
|
+
|
|
5663
|
+
&:where([data-overflow='auto']) {
|
|
5664
|
+
overflow: auto;
|
|
5253
5665
|
}
|
|
5254
5666
|
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
&::before,
|
|
5259
|
-
&::after {
|
|
5260
|
-
top: auto;
|
|
5261
|
-
}
|
|
5667
|
+
&:where([data-overflow='hidden']) {
|
|
5668
|
+
overflow: hidden;
|
|
5669
|
+
}
|
|
5262
5670
|
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5671
|
+
&:where([data-overflow='scroll']) {
|
|
5672
|
+
overflow: scroll;
|
|
5673
|
+
}
|
|
5266
5674
|
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
bottom: calc(var(--base-size-16) + 1px);
|
|
5270
|
-
}
|
|
5675
|
+
&:where([data-overflow='visible']) {
|
|
5676
|
+
overflow: visible;
|
|
5271
5677
|
}
|
|
5272
5678
|
}
|
|
5273
5679
|
|
|
@@ -5301,9 +5707,11 @@ span wrapping svg or text */
|
|
|
5301
5707
|
display: flex;
|
|
5302
5708
|
overflow: hidden;
|
|
5303
5709
|
/* stylelint-disable-next-line primer/colors */
|
|
5304
|
-
background-color: var(--
|
|
5710
|
+
background-color: var(--progressBar-track-bgColor);
|
|
5305
5711
|
border-radius: var(--borderRadius-small);
|
|
5306
5712
|
gap: 2px;
|
|
5713
|
+
outline: solid 1px var(--progressBar-track-borderColor);
|
|
5714
|
+
outline-offset: -1px;
|
|
5307
5715
|
|
|
5308
5716
|
&:where([data-progress-display='inline']) {
|
|
5309
5717
|
display: inline-flex;
|
|
@@ -5320,6 +5728,15 @@ span wrapping svg or text */
|
|
|
5320
5728
|
&:where([data-progress-bar-size='large']) {
|
|
5321
5729
|
height: 10px;
|
|
5322
5730
|
}
|
|
5731
|
+
|
|
5732
|
+
/* Width support for containers */
|
|
5733
|
+
&:where([data-width='auto']) {
|
|
5734
|
+
width: auto;
|
|
5735
|
+
}
|
|
5736
|
+
|
|
5737
|
+
&:where([data-width='full']) {
|
|
5738
|
+
width: 100%;
|
|
5739
|
+
}
|
|
5323
5740
|
}
|
|
5324
5741
|
|
|
5325
5742
|
.prc_SegmentedControl_e7570 {
|
|
@@ -5627,87 +6044,453 @@ span wrapping svg or text */
|
|
|
5627
6044
|
outline: solid 1px var(--fgColor-accent);
|
|
5628
6045
|
}
|
|
5629
6046
|
|
|
5630
|
-
&[aria-current='page'],
|
|
5631
|
-
&[aria-selected='true'] {
|
|
5632
|
-
font-weight: var(--base-text-weight-medium);
|
|
5633
|
-
color: var(--fgColor-default);
|
|
5634
|
-
}
|
|
6047
|
+
&[aria-current='page'],
|
|
6048
|
+
&[aria-selected='true'] {
|
|
6049
|
+
font-weight: var(--base-text-weight-medium);
|
|
6050
|
+
color: var(--fgColor-default);
|
|
6051
|
+
}
|
|
6052
|
+
}
|
|
6053
|
+
}
|
|
6054
|
+
|
|
6055
|
+
.prc_SideNavLinkFull_HSWcY {
|
|
6056
|
+
display: flex;
|
|
6057
|
+
align-items: center;
|
|
6058
|
+
justify-content: space-between;
|
|
6059
|
+
}
|
|
6060
|
+
|
|
6061
|
+
.prc_StateLabel_ukDwa {
|
|
6062
|
+
display: inline-flex;
|
|
6063
|
+
align-items: center;
|
|
6064
|
+
font-weight: var(--base-text-weight-semibold);
|
|
6065
|
+
/* stylelint-disable-next-line primer/typography */
|
|
6066
|
+
line-height: 16px;
|
|
6067
|
+
color: var(--fgColor-onEmphasis);
|
|
6068
|
+
text-align: center;
|
|
6069
|
+
border-radius: var(--borderRadius-full);
|
|
6070
|
+
}
|
|
6071
|
+
|
|
6072
|
+
/* Size variants */
|
|
6073
|
+
.prc_StateLabel_ukDwa:where([data-variant='small']) {
|
|
6074
|
+
padding: var(--base-size-4) var(--base-size-8);
|
|
6075
|
+
font-size: var(--text-body-size-small);
|
|
6076
|
+
}
|
|
6077
|
+
|
|
6078
|
+
.prc_StateLabel_ukDwa:where([data-variant='normal']) {
|
|
6079
|
+
padding: var(--base-size-8) var(--base-size-12);
|
|
6080
|
+
font-size: var(--text-body-size-medium);
|
|
6081
|
+
}
|
|
6082
|
+
|
|
6083
|
+
/* Status color variants */
|
|
6084
|
+
.prc_StateLabel_ukDwa:where([data-status='issueClosed']) {
|
|
6085
|
+
background-color: var(--bgColor-done-emphasis);
|
|
6086
|
+
color: var(--fgColor-onEmphasis);
|
|
6087
|
+
box-shadow: var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-done-emphasis, transparent);
|
|
6088
|
+
}
|
|
6089
|
+
|
|
6090
|
+
.prc_StateLabel_ukDwa:where([data-status='issueClosedNotPlanned']) {
|
|
6091
|
+
background-color: var(--bgColor-neutral-emphasis);
|
|
6092
|
+
color: var(--fgColor-onEmphasis);
|
|
6093
|
+
box-shadow: var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-neutral-emphasis, transparent);
|
|
6094
|
+
}
|
|
6095
|
+
|
|
6096
|
+
.prc_StateLabel_ukDwa:where([data-status='pullClosed']) {
|
|
6097
|
+
background-color: var(--bgColor-closed-emphasis);
|
|
6098
|
+
color: var(--fgColor-onEmphasis);
|
|
6099
|
+
box-shadow: var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-closed-emphasis, transparent);
|
|
6100
|
+
}
|
|
6101
|
+
|
|
6102
|
+
.prc_StateLabel_ukDwa:where([data-status='pullMerged']) {
|
|
6103
|
+
background-color: var(--bgColor-done-emphasis);
|
|
6104
|
+
color: var(--fgColor-onEmphasis);
|
|
6105
|
+
box-shadow: var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-done-emphasis, transparent);
|
|
6106
|
+
}
|
|
6107
|
+
|
|
6108
|
+
.prc_StateLabel_ukDwa:where([data-status='pullQueued']) {
|
|
6109
|
+
background-color: var(--bgColor-attention-emphasis);
|
|
6110
|
+
color: var(--fgColor-onEmphasis);
|
|
6111
|
+
box-shadow: var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-attention-emphasis, transparent);
|
|
6112
|
+
}
|
|
6113
|
+
|
|
6114
|
+
.prc_StateLabel_ukDwa:where([data-status='issueOpened']) {
|
|
6115
|
+
background-color: var(--bgColor-open-emphasis);
|
|
6116
|
+
color: var(--fgColor-onEmphasis);
|
|
6117
|
+
box-shadow: var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-open-emphasis, transparent);
|
|
6118
|
+
}
|
|
6119
|
+
|
|
6120
|
+
.prc_StateLabel_ukDwa:where([data-status='pullOpened']) {
|
|
6121
|
+
background-color: var(--bgColor-open-emphasis);
|
|
6122
|
+
color: var(--fgColor-onEmphasis);
|
|
6123
|
+
box-shadow: var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-open-emphasis, transparent);
|
|
6124
|
+
}
|
|
6125
|
+
|
|
6126
|
+
.prc_StateLabel_ukDwa:where([data-status='draft']) {
|
|
6127
|
+
background-color: var(--bgColor-neutral-emphasis);
|
|
6128
|
+
color: var(--fgColor-onEmphasis);
|
|
6129
|
+
box-shadow: var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-neutral-emphasis, transparent);
|
|
6130
|
+
}
|
|
6131
|
+
|
|
6132
|
+
.prc_StateLabel_ukDwa:where([data-status='issueDraft']) {
|
|
6133
|
+
background-color: var(--bgColor-neutral-emphasis);
|
|
6134
|
+
color: var(--fgColor-onEmphasis);
|
|
6135
|
+
box-shadow: var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-neutral-emphasis, transparent);
|
|
6136
|
+
}
|
|
6137
|
+
|
|
6138
|
+
.prc_StateLabel_ukDwa:where([data-status='unavailable']) {
|
|
6139
|
+
background-color: var(--bgColor-neutral-emphasis);
|
|
6140
|
+
color: var(--fgColor-onEmphasis);
|
|
6141
|
+
box-shadow: var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-neutral-emphasis, transparent);
|
|
6142
|
+
}
|
|
6143
|
+
|
|
6144
|
+
.prc_StateLabel_ukDwa:where([data-status='open']) {
|
|
6145
|
+
background-color: var(--bgColor-open-emphasis);
|
|
6146
|
+
color: var(--fgColor-onEmphasis);
|
|
6147
|
+
box-shadow: var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-open-emphasis, transparent);
|
|
6148
|
+
}
|
|
6149
|
+
|
|
6150
|
+
.prc_StateLabel_ukDwa:where([data-status='closed']) {
|
|
6151
|
+
background-color: var(--bgColor-done-emphasis);
|
|
6152
|
+
color: var(--fgColor-onEmphasis);
|
|
6153
|
+
box-shadow: var(--boxShadow-thin, inset 0 0 0 1px) var(--borderColor-done-emphasis, transparent);
|
|
6154
|
+
}
|
|
6155
|
+
|
|
6156
|
+
.prc_Icon_NuDm4 {
|
|
6157
|
+
margin-right: var(--base-size-4);
|
|
6158
|
+
}
|
|
6159
|
+
|
|
6160
|
+
.prc_SubNav_rjui0 {
|
|
6161
|
+
display: flex;
|
|
6162
|
+
justify-content: space-between;
|
|
6163
|
+
}
|
|
6164
|
+
|
|
6165
|
+
.prc_Body_Nw122 {
|
|
6166
|
+
display: flex;
|
|
6167
|
+
/* stylelint-disable-next-line primer/spacing */
|
|
6168
|
+
margin-bottom: -1px;
|
|
6169
|
+
|
|
6170
|
+
& > * {
|
|
6171
|
+
margin-left: var(--base-size-8);
|
|
6172
|
+
}
|
|
6173
|
+
|
|
6174
|
+
& > *:first-child {
|
|
6175
|
+
margin-left: 0;
|
|
6176
|
+
}
|
|
6177
|
+
}
|
|
6178
|
+
|
|
6179
|
+
.prc_Actions_-IUp- {
|
|
6180
|
+
align-self: center;
|
|
6181
|
+
}
|
|
6182
|
+
|
|
6183
|
+
.prc_Links_5Qn65 {
|
|
6184
|
+
display: flex;
|
|
6185
|
+
}
|
|
6186
|
+
|
|
6187
|
+
.prc_Link_X843- {
|
|
6188
|
+
display: flex;
|
|
6189
|
+
min-height: 34px; /* custom values for SubNav */
|
|
6190
|
+
padding-right: var(--base-size-16);
|
|
6191
|
+
padding-left: var(--base-size-16);
|
|
6192
|
+
font-size: var(--text-body-size-medium);
|
|
6193
|
+
font-weight: var(--base-text-weight-medium);
|
|
6194
|
+
/* stylelint-disable-next-line primer/typography */
|
|
6195
|
+
line-height: 20px; /* custom values for SubNav */
|
|
6196
|
+
color: var(--fgColor-default);
|
|
6197
|
+
text-align: center;
|
|
6198
|
+
text-decoration: none;
|
|
6199
|
+
border-top: var(--borderWidth-thin) solid var(--borderColor-default);
|
|
6200
|
+
border-right: var(--borderWidth-thin) solid var(--borderColor-default);
|
|
6201
|
+
border-bottom: var(--borderWidth-thin) solid var(--borderColor-default);
|
|
6202
|
+
align-items: center;
|
|
6203
|
+
|
|
6204
|
+
&:first-of-type {
|
|
6205
|
+
border-left: var(--borderWidth-thin) solid var(--borderColor-default);
|
|
6206
|
+
border-top-left-radius: var(--borderRadius-medium);
|
|
6207
|
+
border-bottom-left-radius: var(--borderRadius-medium);
|
|
6208
|
+
}
|
|
6209
|
+
|
|
6210
|
+
&:last-of-type {
|
|
6211
|
+
border-top-right-radius: var(--borderRadius-medium);
|
|
6212
|
+
border-bottom-right-radius: var(--borderRadius-medium);
|
|
6213
|
+
}
|
|
6214
|
+
|
|
6215
|
+
&:hover,
|
|
6216
|
+
&:focus {
|
|
6217
|
+
text-decoration: none;
|
|
6218
|
+
background-color: var(--bgColor-muted);
|
|
6219
|
+
transition: background-color 0.2s ease;
|
|
6220
|
+
}
|
|
6221
|
+
|
|
6222
|
+
&:is([data-selected='true']) {
|
|
6223
|
+
color: var(--fgColor-onEmphasis);
|
|
6224
|
+
background-color: var(--bgColor-accent-emphasis);
|
|
6225
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6226
|
+
border-color: var(--bgColor-accent-emphasis);
|
|
6227
|
+
}
|
|
6228
|
+
}
|
|
6229
|
+
|
|
6230
|
+
.prc_ToggleSwitch_E4lp0 {
|
|
6231
|
+
--toggleSwitch-transition-duration: 80ms;
|
|
6232
|
+
--toggleSwitch-transition-easing: cubic-bezier(0.5, 1, 0.89, 1);
|
|
6233
|
+
|
|
6234
|
+
display: inline-flex;
|
|
6235
|
+
align-items: center;
|
|
6236
|
+
}
|
|
6237
|
+
|
|
6238
|
+
.prc_ToggleSwitch_E4lp0:where([data-status-label-position='start']) {
|
|
6239
|
+
flex-direction: row;
|
|
6240
|
+
}
|
|
6241
|
+
|
|
6242
|
+
.prc_ToggleSwitch_E4lp0:where([data-status-label-position='end']) {
|
|
6243
|
+
flex-direction: row-reverse;
|
|
6244
|
+
}
|
|
6245
|
+
|
|
6246
|
+
.prc_LoadingSpinner_jCYtC {
|
|
6247
|
+
display: inline-flex;
|
|
6248
|
+
}
|
|
6249
|
+
|
|
6250
|
+
.prc_LoadingSpinner_jCYtC:where([data-status-label-position='end']) {
|
|
6251
|
+
margin-right: 0;
|
|
6252
|
+
margin-left: var(--base-size-8);
|
|
6253
|
+
}
|
|
6254
|
+
|
|
6255
|
+
.prc_StatusText_hWpj2 {
|
|
6256
|
+
margin-left: var(--base-size-8);
|
|
6257
|
+
margin-right: var(--base-size-8);
|
|
6258
|
+
position: relative;
|
|
6259
|
+
color: var(--fgColor-default);
|
|
6260
|
+
font-size: var(--text-body-size-medium);
|
|
6261
|
+
cursor: pointer;
|
|
6262
|
+
}
|
|
6263
|
+
|
|
6264
|
+
.prc_StatusText_hWpj2:where([data-disabled='true']) {
|
|
6265
|
+
cursor: not-allowed;
|
|
6266
|
+
color: var(--fgColor-muted);
|
|
6267
|
+
}
|
|
6268
|
+
|
|
6269
|
+
.prc_StatusText_hWpj2:where([data-size='small']) {
|
|
6270
|
+
font-size: var(--text-body-size-small);
|
|
6271
|
+
}
|
|
6272
|
+
|
|
6273
|
+
.prc_StatusText_hWpj2:where([data-size='medium']) {
|
|
6274
|
+
font-size: var(--text-body-size-medium);
|
|
6275
|
+
}
|
|
6276
|
+
|
|
6277
|
+
.prc_StatusTextItem_fvvXa {
|
|
6278
|
+
display: block;
|
|
6279
|
+
text-align: right;
|
|
6280
|
+
}
|
|
6281
|
+
|
|
6282
|
+
.prc_StatusTextItem_fvvXa:where([data-hidden='true']) {
|
|
6283
|
+
visibility: hidden;
|
|
6284
|
+
height: 0;
|
|
6285
|
+
}
|
|
6286
|
+
|
|
6287
|
+
.prc_SwitchButton_5LRHX {
|
|
6288
|
+
cursor: pointer;
|
|
6289
|
+
user-select: none;
|
|
6290
|
+
appearance: none;
|
|
6291
|
+
text-decoration: none;
|
|
6292
|
+
padding: 0;
|
|
6293
|
+
transition-property: background-color, border-color;
|
|
6294
|
+
transition-duration: var(--toggleSwitch-transition-duration);
|
|
6295
|
+
transition-timing-function: var(--toggleSwitch-transition-easing);
|
|
6296
|
+
border-radius: var(--borderRadius-medium);
|
|
6297
|
+
border-style: solid;
|
|
6298
|
+
border-width: var(--borderWidth-thin);
|
|
6299
|
+
display: block;
|
|
6300
|
+
position: relative;
|
|
6301
|
+
overflow: hidden;
|
|
6302
|
+
|
|
6303
|
+
/* Default medium size */
|
|
6304
|
+
height: 32px;
|
|
6305
|
+
width: 64px;
|
|
6306
|
+
|
|
6307
|
+
/* Focus styles */
|
|
6308
|
+
&:focus-visible {
|
|
6309
|
+
outline: 2px solid var(--focus-outlineColor);
|
|
6310
|
+
outline-offset: 3px;
|
|
6311
|
+
}
|
|
6312
|
+
|
|
6313
|
+
&:focus:not(:focus-visible) {
|
|
6314
|
+
outline: solid 1px transparent;
|
|
6315
|
+
}
|
|
6316
|
+
|
|
6317
|
+
/* Touch device support */
|
|
6318
|
+
@media (pointer: coarse) {
|
|
6319
|
+
&::before {
|
|
6320
|
+
content: '';
|
|
6321
|
+
position: absolute;
|
|
6322
|
+
left: 0;
|
|
6323
|
+
right: 0;
|
|
6324
|
+
transform: translateY(-50%);
|
|
6325
|
+
top: 50%;
|
|
6326
|
+
min-height: 44px;
|
|
6327
|
+
}
|
|
6328
|
+
}
|
|
6329
|
+
|
|
6330
|
+
/* Reduced motion support */
|
|
6331
|
+
@media (prefers-reduced-motion) {
|
|
6332
|
+
transition: none;
|
|
6333
|
+
|
|
6334
|
+
* {
|
|
6335
|
+
transition: none;
|
|
6336
|
+
}
|
|
6337
|
+
}
|
|
6338
|
+
}
|
|
6339
|
+
|
|
6340
|
+
/* Size variants */
|
|
6341
|
+
.prc_SwitchButton_5LRHX:where([data-size='small']) {
|
|
6342
|
+
height: 24px;
|
|
6343
|
+
width: 48px;
|
|
6344
|
+
}
|
|
6345
|
+
|
|
6346
|
+
/* State variants */
|
|
6347
|
+
.prc_SwitchButton_5LRHX:where([data-disabled='true']) {
|
|
6348
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6349
|
+
background-color: var(--controlTrack-bgColor-disabled, var(--color-switch-track-disabled-bg, #8c959f));
|
|
6350
|
+
border-color: transparent;
|
|
6351
|
+
cursor: not-allowed;
|
|
6352
|
+
transition-property: none;
|
|
6353
|
+
|
|
6354
|
+
@media (forced-colors: active) {
|
|
6355
|
+
border-color: GrayText;
|
|
5635
6356
|
}
|
|
5636
6357
|
}
|
|
5637
6358
|
|
|
5638
|
-
.
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
6359
|
+
.prc_SwitchButton_5LRHX:where([data-checked='false']:not([data-disabled='true'])) {
|
|
6360
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6361
|
+
background-color: var(--controlTrack-bgColor-rest, var(--color-switch-track-bg, #eaeef2));
|
|
6362
|
+
border-color: var(--controlTrack-borderColor-rest);
|
|
5642
6363
|
}
|
|
5643
6364
|
|
|
5644
|
-
.
|
|
5645
|
-
|
|
5646
|
-
|
|
6365
|
+
.prc_SwitchButton_5LRHX:where([data-checked='false']:not([data-disabled='true']):hover),
|
|
6366
|
+
.prc_SwitchButton_5LRHX:where([data-checked='false']:not([data-disabled='true']):focus-visible) {
|
|
6367
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6368
|
+
background-color: var(--controlTrack-bgColor-hover, var(--color-switch-track-hover-bg, hsla(210deg, 24%, 90%, 1)));
|
|
5647
6369
|
}
|
|
5648
6370
|
|
|
5649
|
-
.
|
|
5650
|
-
|
|
5651
|
-
/* stylelint-disable-next-line primer/
|
|
5652
|
-
|
|
6371
|
+
.prc_SwitchButton_5LRHX:where([data-checked='false']:not([data-disabled='true']):active),
|
|
6372
|
+
.prc_SwitchButton_5LRHX:where([data-checked='false']:not([data-disabled='true']):active:focus-visible) {
|
|
6373
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6374
|
+
background-color: var(--controlTrack-bgColor-active, var(--color-switch-track-active-bg, hsla(210deg, 24%, 88%, 1)));
|
|
6375
|
+
}
|
|
5653
6376
|
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
6377
|
+
.prc_SwitchButton_5LRHX:where([data-checked='true']:not([data-disabled='true'])) {
|
|
6378
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6379
|
+
background-color: var(--control-checked-bgColor-rest, var(--color-switch-track-checked-bg, #0969da));
|
|
6380
|
+
border-color: var(--control-checked-borderColor-rest, transparent);
|
|
6381
|
+
}
|
|
5657
6382
|
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
6383
|
+
.prc_SwitchButton_5LRHX:where([data-checked='true']:not([data-disabled='true']):hover),
|
|
6384
|
+
.prc_SwitchButton_5LRHX:where([data-checked='true']:not([data-disabled='true']):focus-visible) {
|
|
6385
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6386
|
+
background-color: var(--control-checked-bgColor-hover, var(--color-switch-track-checked-hover-bg, #0860ca));
|
|
5661
6387
|
}
|
|
5662
6388
|
|
|
5663
|
-
.
|
|
5664
|
-
|
|
6389
|
+
.prc_SwitchButton_5LRHX:where([data-checked='true']:not([data-disabled='true']):active),
|
|
6390
|
+
.prc_SwitchButton_5LRHX:where([data-checked='true']:not([data-disabled='true']):active:focus-visible) {
|
|
6391
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6392
|
+
background-color: var(--control-checked-bgColor-active, var(--color-switch-track-checked-active-bg, #0757ba));
|
|
5665
6393
|
}
|
|
5666
6394
|
|
|
5667
|
-
.
|
|
6395
|
+
.prc_SwitchButtonContent_nv4lE {
|
|
5668
6396
|
display: flex;
|
|
6397
|
+
align-items: center;
|
|
6398
|
+
width: 100%;
|
|
6399
|
+
height: 100%;
|
|
6400
|
+
overflow: hidden;
|
|
5669
6401
|
}
|
|
5670
6402
|
|
|
5671
|
-
.
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
padding-left: var(--base-size-16);
|
|
5676
|
-
font-size: var(--text-body-size-medium);
|
|
5677
|
-
font-weight: var(--base-text-weight-medium);
|
|
6403
|
+
.prc_IconContainer_zLC02 {
|
|
6404
|
+
flex-grow: 1;
|
|
6405
|
+
flex-shrink: 0;
|
|
6406
|
+
flex-basis: 50%;
|
|
5678
6407
|
/* stylelint-disable-next-line primer/typography */
|
|
5679
|
-
line-height:
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
border-top: var(--borderWidth-thin) solid var(--borderColor-default);
|
|
5684
|
-
border-right: var(--borderWidth-thin) solid var(--borderColor-default);
|
|
5685
|
-
border-bottom: var(--borderWidth-thin) solid var(--borderColor-default);
|
|
5686
|
-
align-items: center;
|
|
6408
|
+
line-height: 0;
|
|
6409
|
+
transition-property: transform;
|
|
6410
|
+
transition-duration: var(--toggleSwitch-transition-duration);
|
|
6411
|
+
transition-timing-function: var(--toggleSwitch-transition-easing);
|
|
5687
6412
|
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
border-top-left-radius: var(--borderRadius-medium);
|
|
5691
|
-
border-bottom-left-radius: var(--borderRadius-medium);
|
|
6413
|
+
@media (prefers-reduced-motion) {
|
|
6414
|
+
transition: none;
|
|
5692
6415
|
}
|
|
6416
|
+
}
|
|
5693
6417
|
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
6418
|
+
.prc_LineIconContainer_7sQm8 {
|
|
6419
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6420
|
+
color: var(--control-checked-fgColor-rest, var(--color-switch-track-checked-fg, #fff));
|
|
6421
|
+
}
|
|
5698
6422
|
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
6423
|
+
.prc_LineIconContainer_7sQm8:where([data-disabled='true']) {
|
|
6424
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6425
|
+
color: var(--control-checked-fgColor-disabled, var(--color-switch-track-checked-disabled-fg, #fff));
|
|
6426
|
+
}
|
|
6427
|
+
|
|
6428
|
+
.prc_LineIconContainer_7sQm8:where([data-checked='true']) {
|
|
6429
|
+
transform: translateX(0);
|
|
6430
|
+
}
|
|
6431
|
+
|
|
6432
|
+
.prc_LineIconContainer_7sQm8:where([data-checked='false']) {
|
|
6433
|
+
transform: translateX(-100%);
|
|
6434
|
+
}
|
|
6435
|
+
|
|
6436
|
+
.prc_CircleIconContainer_gHYvi {
|
|
6437
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6438
|
+
color: var(--controlTrack-fgColor-rest, var(--color-switch-track-fg, #656d76));
|
|
6439
|
+
}
|
|
6440
|
+
|
|
6441
|
+
.prc_CircleIconContainer_gHYvi:where([data-disabled='true']) {
|
|
6442
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6443
|
+
color: var(--controlTrack-fgColor-disabled, var(--color-switch-track-disabled-fg, #fff));
|
|
6444
|
+
}
|
|
6445
|
+
|
|
6446
|
+
.prc_CircleIconContainer_gHYvi:where([data-checked='true']) {
|
|
6447
|
+
transform: translateX(100%);
|
|
6448
|
+
}
|
|
6449
|
+
|
|
6450
|
+
.prc_CircleIconContainer_gHYvi:where([data-checked='false']) {
|
|
6451
|
+
transform: translateX(0);
|
|
6452
|
+
}
|
|
6453
|
+
|
|
6454
|
+
.prc_ToggleKnob_2e7Rm {
|
|
6455
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6456
|
+
background-color: var(--controlKnob-bgColor-rest, var(--color-switch-knob-bg, #fff));
|
|
6457
|
+
border-width: var(--borderWidth-thin);
|
|
6458
|
+
border-style: solid;
|
|
6459
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6460
|
+
border-color: var(--controlKnob-borderColor-rest, var(--color-switch-knob-border, #858f99));
|
|
6461
|
+
/* Use calc to account for 1px border around the control */
|
|
6462
|
+
/* stylelint-disable-next-line primer/borders */
|
|
6463
|
+
border-radius: calc(var(--borderRadius-medium) - var(--borderWidth-thin));
|
|
6464
|
+
width: 50%;
|
|
6465
|
+
position: absolute;
|
|
6466
|
+
top: 0;
|
|
6467
|
+
bottom: 0;
|
|
6468
|
+
transition-property: transform;
|
|
6469
|
+
transition-duration: var(--toggleSwitch-transition-duration);
|
|
6470
|
+
transition-timing-function: var(--toggleSwitch-transition-easing);
|
|
6471
|
+
z-index: 1;
|
|
6472
|
+
|
|
6473
|
+
@media (prefers-reduced-motion) {
|
|
6474
|
+
transition: none;
|
|
5704
6475
|
}
|
|
6476
|
+
}
|
|
5705
6477
|
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
6478
|
+
.prc_ToggleKnob_2e7Rm:where([data-checked='false']) {
|
|
6479
|
+
transform: translateX(0);
|
|
6480
|
+
}
|
|
6481
|
+
|
|
6482
|
+
.prc_ToggleKnob_2e7Rm:where([data-checked='true']) {
|
|
6483
|
+
transform: translateX(100%);
|
|
6484
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6485
|
+
border-color: var(--controlKnob-borderColor-checked, var(--color-switch-knob-checked-border, #0969da));
|
|
6486
|
+
}
|
|
6487
|
+
|
|
6488
|
+
.prc_ToggleKnob_2e7Rm:where([data-disabled='true']) {
|
|
6489
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6490
|
+
border-color: var(--controlTrack-bgColor-disabled, var(--color-switch-track-disabled-bg, #8c959f));
|
|
6491
|
+
|
|
6492
|
+
@media (forced-colors: active) {
|
|
6493
|
+
color: GrayText;
|
|
5711
6494
|
}
|
|
5712
6495
|
}
|
|
5713
6496
|
|
|
@@ -5811,50 +6594,124 @@ span wrapping svg or text */
|
|
|
5811
6594
|
border-top: var(--borderWidth-thicker) solid var(--borderColor-default);
|
|
5812
6595
|
}
|
|
5813
6596
|
|
|
5814
|
-
.prc_IssueLabel_ZuoEW
|
|
5815
|
-
|
|
5816
|
-
|
|
6597
|
+
.prc_IssueLabel_ZuoEW {
|
|
6598
|
+
/* Color variables - dynamically set via inline CSS custom properties */
|
|
6599
|
+
--label-r: 153;
|
|
6600
|
+
--label-g: 153;
|
|
6601
|
+
--label-b: 153;
|
|
6602
|
+
--label-h: 0;
|
|
6603
|
+
--label-s: 0;
|
|
6604
|
+
--label-l: 60;
|
|
6605
|
+
--perceived-lightness: calc(
|
|
6606
|
+
((var(--label-r) * 0.2126) + (var(--label-g) * 0.7152) + (var(--label-b) * 0.0722)) / 255
|
|
6607
|
+
);
|
|
6608
|
+
--lightness-switch: max(0, min(calc((var(--perceived-lightness) - var(--lightness-threshold)) * -1000), 1));
|
|
5817
6609
|
|
|
5818
|
-
.prc_RemoveButton_H4Dmg:where([data-has-multiple-action-targets='true']) {
|
|
5819
6610
|
position: relative;
|
|
5820
|
-
|
|
6611
|
+
border-width: var(--borderWidth-thin);
|
|
6612
|
+
border-style: solid;
|
|
6613
|
+
}
|
|
6614
|
+
|
|
6615
|
+
/* Light mode styles */
|
|
6616
|
+
.prc_IssueLabel_ZuoEW:where([data-in-color-mode*='light'], [data-in-color-mode='auto']) {
|
|
6617
|
+
--lightness-threshold: 0.453;
|
|
6618
|
+
--border-threshold: 0.96;
|
|
6619
|
+
--border-alpha: max(0, min(calc((var(--perceived-lightness) - var(--border-threshold)) * 100), 1));
|
|
6620
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6621
|
+
background: rgb(var(--label-r), var(--label-g), var(--label-b));
|
|
6622
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6623
|
+
color: hsl(0deg, 0%, calc(var(--lightness-switch) * 100%));
|
|
6624
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6625
|
+
border-color: hsla(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) - 25) * 1%), var(--border-alpha));
|
|
5821
6626
|
}
|
|
5822
6627
|
|
|
5823
|
-
|
|
5824
|
-
|
|
6628
|
+
/* Dark mode styles */
|
|
6629
|
+
.prc_IssueLabel_ZuoEW:where([data-in-color-mode*='dark']) {
|
|
6630
|
+
--lightness-threshold: 0.6;
|
|
6631
|
+
--background-alpha: 0.18;
|
|
6632
|
+
--border-alpha: 0.3;
|
|
6633
|
+
--lighten-by: calc(((var(--lightness-threshold) - var(--perceived-lightness)) * 100) * var(--lightness-switch));
|
|
6634
|
+
|
|
6635
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6636
|
+
background: rgba(var(--label-r), var(--label-g), var(--label-b), var(--background-alpha));
|
|
6637
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6638
|
+
color: hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) + var(--lighten-by)) * 1%));
|
|
6639
|
+
/* stylelint-disable primer/colors */
|
|
6640
|
+
border-color: hsla(
|
|
6641
|
+
var(--label-h),
|
|
6642
|
+
calc(var(--label-s) * 1%),
|
|
6643
|
+
calc((var(--label-l) + var(--lighten-by)) * 1%),
|
|
6644
|
+
var(--border-alpha)
|
|
6645
|
+
);
|
|
6646
|
+
/* stylelint-enable primer/colors */
|
|
6647
|
+
}
|
|
6648
|
+
|
|
6649
|
+
/* Selected state */
|
|
6650
|
+
.prc_IssueLabel_ZuoEW:where(
|
|
6651
|
+
[data-selected='true'][data-in-color-mode*='light'],
|
|
6652
|
+
[data-selected='true'][data-in-color-mode='auto']
|
|
6653
|
+
) {
|
|
6654
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6655
|
+
background: hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) - 5) * 1%));
|
|
5825
6656
|
}
|
|
5826
6657
|
|
|
5827
|
-
.
|
|
5828
|
-
|
|
6658
|
+
.prc_IssueLabel_ZuoEW:where([data-selected='true']) {
|
|
6659
|
+
outline: none;
|
|
5829
6660
|
}
|
|
5830
6661
|
|
|
5831
|
-
.
|
|
5832
|
-
|
|
5833
|
-
|
|
6662
|
+
.prc_IssueLabel_ZuoEW:where([data-selected='true'])::after {
|
|
6663
|
+
content: '';
|
|
6664
|
+
position: absolute;
|
|
6665
|
+
z-index: 1;
|
|
6666
|
+
top: calc(var(--base-size-2) * -1);
|
|
6667
|
+
right: calc(var(--base-size-2) * -1);
|
|
6668
|
+
bottom: calc(var(--base-size-2) * -1);
|
|
6669
|
+
left: calc(var(--base-size-2) * -1);
|
|
6670
|
+
display: block;
|
|
6671
|
+
pointer-events: none;
|
|
6672
|
+
border-radius: var(--borderRadius-full);
|
|
5834
6673
|
}
|
|
5835
6674
|
|
|
5836
|
-
.
|
|
5837
|
-
|
|
6675
|
+
.prc_IssueLabel_ZuoEW:where(
|
|
6676
|
+
[data-selected='true'][data-in-color-mode*='light'],
|
|
6677
|
+
[data-selected='true'][data-in-color-mode='auto']
|
|
6678
|
+
)::after {
|
|
6679
|
+
/* stylelint-disable-next-line primer/box-shadow */
|
|
6680
|
+
box-shadow: 0 0 0 2px rgb(var(--label-r), var(--label-g), var(--label-b));
|
|
5838
6681
|
}
|
|
5839
6682
|
|
|
5840
|
-
.
|
|
5841
|
-
|
|
5842
|
-
|
|
6683
|
+
.prc_IssueLabel_ZuoEW:where([data-selected='true'][data-in-color-mode='dark'])::after {
|
|
6684
|
+
/* stylelint-disable-next-line primer/box-shadow */
|
|
6685
|
+
box-shadow: 0 0 0 2px hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) + var(--lighten-by)) * 1%));
|
|
6686
|
+
}
|
|
6687
|
+
|
|
6688
|
+
/* Interactive hover states */
|
|
6689
|
+
.prc_IssueLabel_ZuoEW:where(
|
|
6690
|
+
[data-cursor-is-interactive='true']:hover[data-in-color-mode*='light'],
|
|
6691
|
+
[data-cursor-is-interactive='true']:hover[data-in-color-mode='auto']
|
|
6692
|
+
) {
|
|
6693
|
+
background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
|
|
6694
|
+
linear-gradient(
|
|
6695
|
+
rgb(var(--label-r), var(--label-g), var(--label-b)),
|
|
6696
|
+
rgb(var(--label-r), var(--label-g), var(--label-b))
|
|
6697
|
+
);
|
|
6698
|
+
box-shadow: var(--shadow-resting-medium);
|
|
5843
6699
|
}
|
|
5844
6700
|
|
|
5845
|
-
.
|
|
5846
|
-
|
|
5847
|
-
|
|
6701
|
+
.prc_IssueLabel_ZuoEW:where([data-cursor-is-interactive='true']:hover[data-in-color-mode='dark']) {
|
|
6702
|
+
/* stylelint-disable-next-line primer/colors */
|
|
6703
|
+
background: hsla(var(--label-h), calc(var(--label-s) * 1%), calc(calc(var(--label-l) + 10) * 1%), 0.3);
|
|
6704
|
+
box-shadow: var(--shadow-resting-medium);
|
|
5848
6705
|
}
|
|
5849
6706
|
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
6707
|
+
/* Remove button styling */
|
|
6708
|
+
.prc_IssueLabel_ZuoEW:where([data-has-remove-button='true']) {
|
|
6709
|
+
padding-right: 0;
|
|
5853
6710
|
}
|
|
5854
6711
|
|
|
5855
|
-
.
|
|
5856
|
-
|
|
5857
|
-
|
|
6712
|
+
.prc_RemoveButton_H4Dmg:where([data-has-multiple-action-targets='true']) {
|
|
6713
|
+
position: relative;
|
|
6714
|
+
z-index: 1;
|
|
5858
6715
|
}
|
|
5859
6716
|
|
|
5860
6717
|
.prc_TreeViewRootUlStyles_eZtxW {
|
|
@@ -6124,6 +6981,110 @@ span wrapping svg or text */
|
|
|
6124
6981
|
width: var(--tree-item-loading-width, 67%);
|
|
6125
6982
|
}
|
|
6126
6983
|
|
|
6984
|
+
.prc_SkeletonAvatar_inefu {
|
|
6985
|
+
&:where([data-component='SkeletonAvatar']) {
|
|
6986
|
+
display: inline-block;
|
|
6987
|
+
width: var(--avatarSize-regular);
|
|
6988
|
+
height: var(--avatarSize-regular);
|
|
6989
|
+
/* stylelint-disable-next-line primer/typography */
|
|
6990
|
+
line-height: 1;
|
|
6991
|
+
border-radius: 50%;
|
|
6992
|
+
}
|
|
6993
|
+
|
|
6994
|
+
&:where([data-square]) {
|
|
6995
|
+
/* stylelint-disable-next-line primer/borders */
|
|
6996
|
+
border-radius: clamp(4px, var(--avatarSize-regular) - 24px, var(--borderRadius-medium));
|
|
6997
|
+
}
|
|
6998
|
+
|
|
6999
|
+
&:where([data-responsive]) {
|
|
7000
|
+
@media screen and (--viewportRange-narrow) {
|
|
7001
|
+
width: var(--avatarSize-narrow);
|
|
7002
|
+
height: var(--avatarSize-narrow);
|
|
7003
|
+
}
|
|
7004
|
+
|
|
7005
|
+
@media screen and (--viewportRange-regular) {
|
|
7006
|
+
width: var(--avatarSize-regular);
|
|
7007
|
+
height: var(--avatarSize-regular);
|
|
7008
|
+
}
|
|
7009
|
+
|
|
7010
|
+
@media screen and (--viewportRange-wide) {
|
|
7011
|
+
width: var(--avatarSize-wide);
|
|
7012
|
+
height: var(--avatarSize-wide);
|
|
7013
|
+
}
|
|
7014
|
+
}
|
|
7015
|
+
}
|
|
7016
|
+
|
|
7017
|
+
.prc_SkeletonText_tW5nH {
|
|
7018
|
+
--font-size: var(--text-body-size-medium);
|
|
7019
|
+
--line-height: var(--text-body-lineHeight-medium);
|
|
7020
|
+
--leading: calc(var(--font-size) * var(--line-height) - var(--font-size));
|
|
7021
|
+
|
|
7022
|
+
@supports (margin-block: mod(1px, 1px)) {
|
|
7023
|
+
--leading: mod(var(--font-size) * var(--line-height), var(--font-size));
|
|
7024
|
+
}
|
|
7025
|
+
|
|
7026
|
+
height: var(--font-size);
|
|
7027
|
+
border-radius: var(--borderRadius-small);
|
|
7028
|
+
/* stylelint-disable-next-line primer/spacing */
|
|
7029
|
+
margin-block: calc(var(--leading) / 2);
|
|
7030
|
+
|
|
7031
|
+
&:where([data-in-multiline]) {
|
|
7032
|
+
/* stylelint-disable-next-line primer/spacing */
|
|
7033
|
+
margin-block-end: calc(var(--leading) * 2);
|
|
7034
|
+
|
|
7035
|
+
&:last-child {
|
|
7036
|
+
min-width: 50px;
|
|
7037
|
+
max-width: 65%;
|
|
7038
|
+
margin-bottom: 0;
|
|
7039
|
+
}
|
|
7040
|
+
}
|
|
7041
|
+
|
|
7042
|
+
&:where([data-text-skeleton-size='display']),
|
|
7043
|
+
&:where([data-text-skeleton-size='titleLarge']) {
|
|
7044
|
+
border-radius: var(--borderRadius-medium);
|
|
7045
|
+
}
|
|
7046
|
+
|
|
7047
|
+
&:where([data-text-skeleton-size='display']) {
|
|
7048
|
+
--font-size: var(--text-display-size);
|
|
7049
|
+
--line-height: var(--text-display-lineHeight);
|
|
7050
|
+
}
|
|
7051
|
+
|
|
7052
|
+
&:where([data-text-skeleton-size='titleLarge']) {
|
|
7053
|
+
--font-size: var(--text-title-size-large);
|
|
7054
|
+
--line-height: var(--text-title-lineHeight-large);
|
|
7055
|
+
}
|
|
7056
|
+
|
|
7057
|
+
&:where([data-text-skeleton-size='titleMedium']) {
|
|
7058
|
+
--font-size: var(--text-title-size-medium);
|
|
7059
|
+
--line-height: var(--text-title-lineHeight-medium);
|
|
7060
|
+
}
|
|
7061
|
+
|
|
7062
|
+
&:where([data-text-skeleton-size='titleSmall']) {
|
|
7063
|
+
--font-size: var(--text-title-size-small);
|
|
7064
|
+
--line-height: var(--text-title-lineHeight-small);
|
|
7065
|
+
}
|
|
7066
|
+
|
|
7067
|
+
&:where([data-text-skeleton-size='subtitle']) {
|
|
7068
|
+
--font-size: var(--text-subtitle-size);
|
|
7069
|
+
--line-height: var(--text-subtitle-lineHeight);
|
|
7070
|
+
}
|
|
7071
|
+
|
|
7072
|
+
&:where([data-text-skeleton-size='bodyLarge']) {
|
|
7073
|
+
--font-size: var(--text-body-size-large);
|
|
7074
|
+
--line-height: var(--text-body-lineHeight-large);
|
|
7075
|
+
}
|
|
7076
|
+
|
|
7077
|
+
&:where([data-text-skeleton-size='bodySmall']) {
|
|
7078
|
+
--font-size: var(--text-body-size-small);
|
|
7079
|
+
--line-height: var(--text-body-lineHeight-small);
|
|
7080
|
+
}
|
|
7081
|
+
}
|
|
7082
|
+
|
|
7083
|
+
.prc_SkeletonTextWrapper_3Z0sU {
|
|
7084
|
+
/* stylelint-disable-next-line primer/spacing */
|
|
7085
|
+
padding-block: 0.1px;
|
|
7086
|
+
}
|
|
7087
|
+
|
|
6127
7088
|
.prc_UnderlineWrapper_oOh5J {
|
|
6128
7089
|
display: flex;
|
|
6129
7090
|
/* stylelint-disable-next-line primer/spacing */
|