@primer/react 38.20.1-rc.8029e422e → 38.21.0-rc.16bc58c2a
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 +15 -1
- package/dist/ActionBar/ActionBar-a41224b2.css +1 -1
- package/dist/ActionBar/ActionBar-a41224b2.css.map +1 -1
- package/dist/ActionList/ActionList-53389912.css +2 -0
- package/dist/ActionList/ActionList-53389912.css.map +1 -0
- package/dist/ActionList/ActionList.module.css.js +1 -1
- package/dist/ActionList/Group-2c8b5711.css +1 -1
- package/dist/ActionList/Group-2c8b5711.css.map +1 -1
- package/dist/ActionList/List.d.ts.map +1 -1
- package/dist/ActionList/List.js +55 -31
- package/dist/AnchoredOverlay/AnchoredOverlay.d.ts +5 -0
- package/dist/AnchoredOverlay/AnchoredOverlay.d.ts.map +1 -1
- package/dist/AnchoredOverlay/AnchoredOverlay.js +27 -12
- package/dist/Avatar/Avatar-61b19061.css +1 -1
- package/dist/Avatar/Avatar-61b19061.css.map +1 -1
- package/dist/AvatarStack/AvatarStack-8526f38a.css +1 -1
- package/dist/AvatarStack/AvatarStack-8526f38a.css.map +1 -1
- package/dist/AvatarStack/AvatarStack.d.ts.map +1 -1
- package/dist/AvatarStack/AvatarStack.js +2 -0
- package/dist/Banner/Banner-41040ab7.css +1 -1
- package/dist/Banner/Banner-41040ab7.css.map +1 -1
- package/dist/Banner/Banner.d.ts.map +1 -1
- package/dist/Banner/Banner.js +8 -0
- package/dist/BaseStyles-fda34843.css +1 -1
- package/dist/BaseStyles-fda34843.css.map +1 -1
- package/dist/BaseStyles.d.ts.map +1 -1
- package/dist/BaseStyles.js +1 -0
- package/dist/Blankslate/Blankslate-a039d79a.css +1 -1
- package/dist/Blankslate/Blankslate-a039d79a.css.map +1 -1
- package/dist/BranchName/BranchName-2fad4f4b.css +1 -1
- package/dist/BranchName/BranchName-2fad4f4b.css.map +1 -1
- package/dist/Breadcrumbs/Breadcrumbs-dbfc9d95.css +1 -1
- package/dist/Breadcrumbs/Breadcrumbs-dbfc9d95.css.map +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.js +8 -1
- package/dist/Button/ButtonBase-4da3fa22.css +1 -1
- package/dist/Button/ButtonBase-4da3fa22.css.map +1 -1
- package/dist/Card/Card-cec366f8.css +2 -0
- package/dist/Card/Card-cec366f8.css.map +1 -0
- package/dist/Card/Card.d.ts +10 -0
- package/dist/Card/Card.d.ts.map +1 -1
- package/dist/Card/Card.js +117 -103
- package/dist/Card/Card.module.css.js +1 -1
- package/dist/Card/index.d.ts +1 -0
- package/dist/Card/index.d.ts.map +1 -1
- package/dist/Checkbox/Checkbox-edc5dc3e.css +1 -1
- package/dist/Checkbox/Checkbox-edc5dc3e.css.map +1 -1
- package/dist/Checkbox/shared-edc41e16.css +1 -1
- package/dist/Checkbox/shared-edc41e16.css.map +1 -1
- package/dist/CircleBadge/CircleBadge-87549d20.css +1 -1
- package/dist/CircleBadge/CircleBadge-87549d20.css.map +1 -1
- package/dist/CounterLabel/CounterLabel-8c6e8ee4.css +1 -1
- package/dist/CounterLabel/CounterLabel-8c6e8ee4.css.map +1 -1
- package/dist/DataTable/Pagination-b6f8418c.css +1 -1
- package/dist/DataTable/Pagination-b6f8418c.css.map +1 -1
- package/dist/DataTable/Table-7f5cb3e4.css +1 -1
- package/dist/DataTable/Table-7f5cb3e4.css.map +1 -1
- package/dist/DataTable/storybook/data.d.ts.map +1 -1
- package/dist/Dialog/Dialog-f9bb927a.css +1 -1
- package/dist/Dialog/Dialog-f9bb927a.css.map +1 -1
- package/dist/Dialog/Dialog.d.ts.map +1 -1
- package/dist/Dialog/Dialog.js +3 -0
- package/dist/FilteredActionList/FilteredActionList-6808e67a.css +1 -1
- package/dist/FilteredActionList/FilteredActionList-6808e67a.css.map +1 -1
- package/dist/FilteredActionList/FilteredActionList.d.ts.map +1 -1
- package/dist/FilteredActionList/FilteredActionList.js +2 -0
- package/dist/Flash/Flash-a3596568.css +1 -1
- package/dist/Flash/Flash-a3596568.css.map +1 -1
- package/dist/FormControl/FormControl-fa33984d.css +1 -1
- package/dist/FormControl/FormControl-fa33984d.css.map +1 -1
- package/dist/FormControl/FormControlCaption-f58db5f7.css +1 -1
- package/dist/FormControl/FormControlCaption-f58db5f7.css.map +1 -1
- package/dist/FormControl/FormControlLeadingVisual-e217df71.css +1 -1
- package/dist/FormControl/FormControlLeadingVisual-e217df71.css.map +1 -1
- package/dist/Header/Header-aff64597.css +1 -1
- package/dist/Header/Header-aff64597.css.map +1 -1
- package/dist/InlineMessage/InlineMessage-80d97643.css +1 -1
- package/dist/InlineMessage/InlineMessage-80d97643.css.map +1 -1
- package/dist/KeybindingHint/components/Chord-d4edcc89.css +1 -1
- package/dist/KeybindingHint/components/Chord-d4edcc89.css.map +1 -1
- package/dist/Label/Label-7904957c.css +1 -1
- package/dist/Label/Label-7904957c.css.map +1 -1
- package/dist/LabelGroup/LabelGroup.d.ts.map +1 -1
- package/dist/LabelGroup/LabelGroup.js +7 -2
- package/dist/Link/Link-ba423096.css +1 -1
- package/dist/Link/Link-ba423096.css.map +1 -1
- package/dist/NavList/NavList-5dc067e3.css +1 -1
- package/dist/NavList/NavList-5dc067e3.css.map +1 -1
- package/dist/Overlay/Overlay-95cfd3c7.css +1 -1
- package/dist/Overlay/Overlay-95cfd3c7.css.map +1 -1
- package/dist/PageHeader/PageHeader-9f4a690a.css +1 -1
- package/dist/PageHeader/PageHeader-9f4a690a.css.map +1 -1
- package/dist/PageLayout/PageLayout-3444a142.css +1 -1
- package/dist/PageLayout/PageLayout-3444a142.css.map +1 -1
- package/dist/Pagehead/Pagehead-0744ffce.css +1 -1
- package/dist/Pagehead/Pagehead-0744ffce.css.map +1 -1
- package/dist/Pagination/Pagination-16a5b4c6.css +1 -1
- package/dist/Pagination/Pagination-16a5b4c6.css.map +1 -1
- package/dist/Popover/Popover-a93df39c.css +1 -1
- package/dist/Popover/Popover-a93df39c.css.map +1 -1
- package/dist/Portal/Portal.d.ts.map +1 -1
- package/dist/Portal/Portal.js +3 -0
- package/dist/Radio/Radio-4319e717.css +1 -1
- package/dist/Radio/Radio-4319e717.css.map +1 -1
- package/dist/SegmentedControl/SegmentedControl-6389d0da.css +1 -1
- package/dist/SegmentedControl/SegmentedControl-6389d0da.css.map +1 -1
- package/dist/SelectPanel/SelectPanel-00796bf3.css +1 -1
- package/dist/SelectPanel/SelectPanel-00796bf3.css.map +1 -1
- package/dist/SelectPanel/SelectPanel.d.ts.map +1 -1
- package/dist/SelectPanel/SelectPanel.js +3 -0
- package/dist/SideNav-baa2364d.css +1 -1
- package/dist/SideNav-baa2364d.css.map +1 -1
- package/dist/StateLabel/StateLabel-cd51ae39.css +1 -1
- package/dist/StateLabel/StateLabel-cd51ae39.css.map +1 -1
- package/dist/SubNav/SubNav-88128e5c.css +1 -1
- package/dist/SubNav/SubNav-88128e5c.css.map +1 -1
- package/dist/TabNav/TabNav-83c6145e.css +1 -1
- package/dist/TabNav/TabNav-83c6145e.css.map +1 -1
- package/dist/TextInput/TextInput-dff8f842.css +1 -1
- package/dist/TextInput/TextInput-dff8f842.css.map +1 -1
- package/dist/TextInputWithTokens/TextInputWithTokens-946ead3e.css +1 -1
- package/dist/TextInputWithTokens/TextInputWithTokens-946ead3e.css.map +1 -1
- package/dist/Textarea/TextArea-53e27580.css +1 -1
- package/dist/Textarea/TextArea-53e27580.css.map +1 -1
- package/dist/Timeline/Timeline-d1c91434.css +1 -1
- package/dist/Timeline/Timeline-d1c91434.css.map +1 -1
- package/dist/ToggleSwitch/ToggleSwitch-b5866af6.css +2 -0
- package/dist/ToggleSwitch/ToggleSwitch-b5866af6.css.map +1 -0
- package/dist/ToggleSwitch/ToggleSwitch.module.css.js +1 -1
- package/dist/Token/IssueLabelToken-10cfada5.css +1 -1
- package/dist/Token/IssueLabelToken-10cfada5.css.map +1 -1
- package/dist/Token/Token-b3c86dc0.css +1 -1
- package/dist/Token/Token-b3c86dc0.css.map +1 -1
- package/dist/Token/_RemoveTokenButton-a0d2969b.css +1 -1
- package/dist/Token/_RemoveTokenButton-a0d2969b.css.map +1 -1
- package/dist/Tooltip/Tooltip-dca4338d.css +1 -1
- package/dist/Tooltip/Tooltip-dca4338d.css.map +1 -1
- package/dist/TooltipV2/Tooltip.d.ts.map +1 -1
- package/dist/TooltipV2/Tooltip.js +1 -4
- package/dist/TopicTag/TopicTag-b15f6cf1.css +1 -1
- package/dist/TopicTag/TopicTag-b15f6cf1.css.map +1 -1
- package/dist/TreeView/TreeView-70baca82.css +1 -1
- package/dist/TreeView/TreeView-70baca82.css.map +1 -1
- package/dist/TreeView/TreeView.d.ts.map +1 -1
- package/dist/deprecated/ActionList/Divider-7c6b656a.css +1 -1
- package/dist/deprecated/ActionList/Divider-7c6b656a.css.map +1 -1
- package/dist/deprecated/ActionList/Header-493b1d76.css +1 -1
- package/dist/deprecated/ActionList/Header-493b1d76.css.map +1 -1
- package/dist/deprecated/ActionList/Item-f48bd3ee.css +2 -2
- package/dist/deprecated/ActionList/Item-f48bd3ee.css.map +1 -1
- package/dist/deprecated/ActionList/List-1ec9d6d9.css +1 -1
- package/dist/deprecated/ActionList/List-1ec9d6d9.css.map +1 -1
- package/dist/deprecated/DialogV1/Dialog-dce13989.css +1 -1
- package/dist/deprecated/DialogV1/Dialog-dce13989.css.map +1 -1
- package/dist/deprecated/UnderlineNav/UnderlineNav-0c1e0dff.css +1 -1
- package/dist/deprecated/UnderlineNav/UnderlineNav-0c1e0dff.css.map +1 -1
- package/dist/deprecated/utils/create-slots.d.ts.map +1 -1
- package/dist/experimental/IssueLabel/IssueLabel-2007d7e7.css +1 -1
- package/dist/experimental/IssueLabel/IssueLabel-2007d7e7.css.map +1 -1
- package/dist/experimental/SelectPanel2/SelectPanel-40b4ba73.css +1 -1
- package/dist/experimental/SelectPanel2/SelectPanel-40b4ba73.css.map +1 -1
- package/dist/experimental/SelectPanel2/SelectPanel.d.ts.map +1 -1
- package/dist/experimental/SelectPanel2/SelectPanel.js +4 -1
- package/dist/experimental/UnderlinePanels/UnderlinePanels.d.ts.map +1 -1
- package/dist/experimental/UnderlinePanels/UnderlinePanels.js +2 -0
- package/dist/hooks/useAnchoredPosition.js +1 -1
- package/dist/hooks/useFocusTrap.d.ts.map +1 -1
- package/dist/hooks/useFocusTrap.js +2 -0
- package/dist/hooks/useOnEscapePress.js +1 -1
- package/dist/hooks/useResponsiveValue.d.ts +2 -0
- package/dist/hooks/useResponsiveValue.d.ts.map +1 -1
- package/dist/hooks/useResponsiveValue.js +2 -0
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup-e38b5339.css +1 -1
- package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup-e38b5339.css.map +1 -1
- package/dist/internal/components/InputLabel-985ef80b.css +1 -1
- package/dist/internal/components/InputLabel-985ef80b.css.map +1 -1
- package/dist/internal/components/InputValidation-dddeaafd.css +1 -1
- package/dist/internal/components/InputValidation-dddeaafd.css.map +1 -1
- package/dist/internal/components/TextInputInnerAction-477e9b99.css +1 -1
- package/dist/internal/components/TextInputInnerAction-477e9b99.css.map +1 -1
- package/dist/internal/components/TextInputWrapper-889df5d3.css +1 -1
- package/dist/internal/components/TextInputWrapper-889df5d3.css.map +1 -1
- package/dist/internal/components/UnderlineTabbedInterface-4197ee28.css +1 -1
- package/dist/internal/components/UnderlineTabbedInterface-4197ee28.css.map +1 -1
- package/dist/utils/StressTest.d.ts.map +1 -1
- package/generated/components.json +22 -4
- package/generated/hooks.json +1 -0
- package/package.json +1 -1
- package/dist/ActionList/ActionList-e35e912e.css +0 -2
- package/dist/ActionList/ActionList-e35e912e.css.map +0 -1
- package/dist/Card/Card-65d85331.css +0 -2
- package/dist/Card/Card-65d85331.css.map +0 -1
- package/dist/ToggleSwitch/ToggleSwitch-fc4696f5.css +0 -2
- package/dist/ToggleSwitch/ToggleSwitch-fc4696f5.css.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Tooltip/Tooltip.module.css.js"],"names":[],"mappings":"AAEA,2BAEE,oBAAqB,CADrB,iBAEF,CAEA,iCAGE,YAAa,CAGb,8OAA2G,CAD3G,kBAAqB,CAJrB,iBAAkB,CAClB,eAAgB,CAKhB,2CAA4C,CAW5C,
|
|
1
|
+
{"version":3,"sources":["../src/Tooltip/Tooltip.module.css.js"],"names":[],"mappings":"AAEA,2BAEE,oBAAqB,CADrB,iBAEF,CAEA,iCAGE,YAAa,CAGb,8OAA2G,CAD3G,kBAAqB,CAJrB,iBAAkB,CAClB,eAAgB,CAKhB,2CAA4C,CAW5C,iEAA2D,CAC3D,gDAAyC,CAXzC,2DAAwD,CASxD,wBAAyB,CAJzB,qBAAsB,CAOtB,SAAU,CANV,wBAAyB,CAEzB,mBAAoB,CAPpB,iBAAkB,CAClB,4BAAqB,CAArB,oBAAqB,CACrB,gBAAiB,CACjB,mBAAoB,CAGpB,eAMF,CAGA,4CACE,GACE,SACF,CAEA,GACE,SACF,CACF,CAEA,oKAUE,kBAAmB,CAHnB,sBAAwB,CACxB,4BAA6B,CAF7B,+CAA8B,CAG9B,iCAAkC,CALlC,oBAAqB,CACrB,4BAAqB,CAArB,oBAMF,CAEA,wMAIE,kBACF,CAEA,gNAIE,kBACF,CAGA,8GAME,cAAe,CAFf,SAAU,CADV,QAIF,CAEA,qCAEE,QAAS,CACT,6CAA2C,CAF3C,UAGF,CAEA,qCACE,8CACF,CAGA,8GAIE,WAAY,CAEZ,iBAAkB,CAHlB,SAIF,CAEA,qCAEE,QAAS,CACT,6CAA2C,CAF3C,UAGF,CAEA,qCACE,8CACF,CAGA,wEAEE,yBACF,CAGA,oCAIE,gBAAiB,CAHjB,UAKF,CAGA,wEAPE,UAAW,CAGX,yBAUF,CANA,oCAEE,SAAU,CAEV,eAEF,CAEA,4CAKE,wBAAyB,CAHzB,eAAgB,CAChB,wBAAyB,CACzB,oBAAqB,CAHrB,iBAKF,CAEA,kJAGE,QAAS,CADT,UAAW,CAEX,0BACF,CAEA,kJAEE,UACF,CAEA,6CAEE,cAAe,CADf,OAEF,CAEA,4CACE,MAAO,CACP,aACF","file":"Tooltip-dca4338d.css","sourcesContent":["/* stylelint-disable primer/typography, primer/borders, selector-class-pattern */\n\n.Tooltip {\n position: relative;\n display: inline-block;\n}\n\n.Tooltip::after {\n position: absolute;\n z-index: 1000000;\n display: none;\n /* stylelint-disable-next-line primer/spacing */\n padding: 0.5em 0.75em;\n font: normal normal var(--text-body-size-small) / var(--text-body-lineHeight-small) var(--fontStack-system);\n -webkit-font-smoothing: subpixel-antialiased;\n color: var(--tooltip-fgColor, var(--fgColor-onEmphasis));\n text-align: center;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n overflow-wrap: break-word;\n white-space: pre;\n pointer-events: none;\n content: attr(aria-label);\n background: var(--tooltip-bgColor, var(--bgColor-emphasis));\n border-radius: var(--borderRadius-medium);\n opacity: 0;\n}\n\n/* delay animation for tooltip */\n@keyframes tooltip-appear {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n}\n\n.Tooltip:hover::after,\n.Tooltip:active::after,\n.Tooltip:focus::after,\n.Tooltip:focus-within::after {\n display: inline-block;\n text-decoration: none;\n animation-name: tooltip-appear;\n animation-duration: 0.1s;\n animation-fill-mode: forwards;\n animation-timing-function: ease-in;\n animation-delay: 0s;\n}\n\n.Tooltip--noDelay:hover::after,\n.Tooltip--noDelay:active::after,\n.Tooltip--noDelay:focus::after,\n.Tooltip--noDelay:focus-within::after {\n animation-delay: 0s;\n}\n\n.Tooltip--multiline:hover::after,\n.Tooltip--multiline:active::after,\n.Tooltip--multiline:focus::after,\n.Tooltip--multiline:focus-within::after {\n display: table-cell;\n}\n\n/* Tooltipped south */\n.Tooltip--s::after,\n.Tooltip--se::after,\n.Tooltip--sw::after {\n top: 100%;\n right: 50%;\n /* stylelint-disable-next-line primer/spacing */\n margin-top: 6px;\n}\n\n.Tooltip--se::after {\n right: auto;\n left: 50%;\n margin-left: calc(-1 * var(--base-size-16));\n}\n\n.Tooltip--sw::after {\n margin-right: calc(-1 * var(--base-size-16));\n}\n\n/* Tooltips above the object */\n.Tooltip--n::after,\n.Tooltip--ne::after,\n.Tooltip--nw::after {\n right: 50%;\n bottom: 100%;\n /* stylelint-disable-next-line primer/spacing */\n margin-bottom: 6px;\n}\n\n.Tooltip--ne::after {\n right: auto;\n left: 50%;\n margin-left: calc(-1 * var(--base-size-16));\n}\n\n.Tooltip--nw::after {\n margin-right: calc(-1 * var(--base-size-16));\n}\n\n/* Move the tooltip body to the center of the object. */\n.Tooltip--s::after,\n.Tooltip--n::after {\n transform: translateX(50%);\n}\n\n/* Tooltipped to the left */\n.Tooltip--w::after {\n right: 100%;\n bottom: 50%;\n /* stylelint-disable-next-line primer/spacing */\n margin-right: 6px;\n transform: translateY(50%);\n}\n\n/* tooltipped to the right */\n.Tooltip--e::after {\n bottom: 50%;\n left: 100%;\n /* stylelint-disable-next-line primer/spacing */\n margin-left: 6px;\n transform: translateY(50%);\n}\n\n.Tooltip--multiline::after {\n width: max-content;\n max-width: 250px;\n overflow-wrap: break-word;\n white-space: pre-line;\n border-collapse: separate;\n}\n\n.Tooltip--multiline.Tooltip--s::after,\n.Tooltip--multiline.Tooltip--n::after {\n right: auto;\n left: 50%;\n transform: translateX(-50%);\n}\n\n.Tooltip--multiline.Tooltip--w::after,\n.Tooltip--multiline.Tooltip--e::after {\n right: 100%;\n}\n\n.Tooltip--alignRight::after {\n right: 0;\n margin-right: 0;\n}\n\n.Tooltip--alignLeft::after {\n left: 0;\n margin-left: 0;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../src/TooltipV2/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiD,KAAK,yBAAyB,EAAC,MAAM,OAAO,CAAA;AAS3G,OAAO,EAAoD,KAAK,mBAAmB,EAAC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,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI,GAAG,GAAG,CAAA;AAChF,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,iBAAiB,CAAC;IACjD,SAAS,CAAC,EAAE,gBAAgB,CAAA;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,OAAO,GAAG,aAAa,CAAA;IAC9B,cAAc,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAA;IACjF;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;IACnC;;;;;;;;OAQG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAA;CACjC,CAAC,GACA,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;AAiEnC,eAAO,MAAM,cAAc;gBAAoC,MAAM;EAAM,CAAA;AAI3E,eAAO,MAAM,OAAO,EAAE,yBAAyB,CAC7C,KAAK,CAAC,eAAe,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CACvE,GACC,UAgSD,CAAA"}
|
|
@@ -203,10 +203,7 @@ const Tooltip = /*#__PURE__*/React.forwardRef(({
|
|
|
203
203
|
return /*#__PURE__*/jsx(TooltipContext.Provider, {
|
|
204
204
|
value: value,
|
|
205
205
|
children: /*#__PURE__*/jsxs(Fragment, {
|
|
206
|
-
children: [/*#__PURE__*/React.isValidElement(child) &&
|
|
207
|
-
/*#__PURE__*/
|
|
208
|
-
// eslint-disable-next-line react-hooks/refs
|
|
209
|
-
React.cloneElement(child, {
|
|
206
|
+
children: [/*#__PURE__*/React.isValidElement(child) && /*#__PURE__*/React.cloneElement(child, {
|
|
210
207
|
// @ts-expect-error it needs a non nullable ref
|
|
211
208
|
ref: triggerRef,
|
|
212
209
|
// If it is a type description, we use tooltip to describe the trigger
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.prc-TopicTag-TopicTag-LS-jX:where(a){-webkit-text-decoration:none;text-decoration:none}.prc-TopicTag-TopicTag-LS-jX:where(button){align-items:center;appearance:none;background:none;border:0;color:inherit;cursor:pointer;display:inline-flex;font:inherit;margin:0;padding:0;text-align:start}.prc-TopicTag-TopicTag-LS-jX:where(button)::-moz-focus-inner{border:0}.prc-TopicTag-TopicTag-LS-jX{background-color:var(--bgColor-accent-muted
|
|
1
|
+
.prc-TopicTag-TopicTag-LS-jX:where(a){-webkit-text-decoration:none;text-decoration:none}.prc-TopicTag-TopicTag-LS-jX:where(button){align-items:center;appearance:none;background:none;border:0;color:inherit;cursor:pointer;display:inline-flex;font:inherit;margin:0;padding:0;text-align:start}.prc-TopicTag-TopicTag-LS-jX:where(button)::-moz-focus-inner{border:0}.prc-TopicTag-TopicTag-LS-jX{background-color:var(--bgColor-accent-muted,#ddf4ff);border:var(--borderWidth-thin,.0625rem) solid var(--topicTag-borderColor,transparent);border-radius:var(--borderRadius-full,624.9375rem);color:var(--fgColor-accent,#0969da);display:inline-flex;font-size:var(--text-body-size-small,.75rem);font-weight:var(--base-text-weight-semibold,600);line-height:var(--text-body-lineHeight-small,1.625);padding:var(--base-size-2,.125rem) var(--base-size-12,.75rem);white-space:nowrap}.prc-TopicTag-TopicTag-LS-jX:hover{background-color:var(--bgColor-accent-emphasis,#0969da);color:var(--fgColor-onEmphasis,#fff)}.prc-TopicTag-TopicTag-LS-jX:where(a,button){cursor:pointer;-webkit-user-select:none;user-select:none}
|
|
2
2
|
/*# sourceMappingURL=TopicTag-b15f6cf1.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/TopicTag/TopicTag.module.css.js","../../postcss-preset-primer/src/mixins/buttonReset.css"],"names":[],"mappings":"AAEA,sCACE,4BAAqB,CAArB,oBACF,CAIA,2CCGE,kBAAmB,CANnB,eAAgB,CAChB,eAAgB,CAFhB,QAAS,CAMT,aAAc,CAHd,cAAe,CALf,mBAAoB,CAOpB,YAAa,CARb,QAAS,CAET,SAAU,CAKV,gBDEF,CCIE,6DACE,QACF,CDJF,6BACE,
|
|
1
|
+
{"version":3,"sources":["../src/TopicTag/TopicTag.module.css.js","../../postcss-preset-primer/src/mixins/buttonReset.css"],"names":[],"mappings":"AAEA,sCACE,4BAAqB,CAArB,oBACF,CAIA,2CCGE,kBAAmB,CANnB,eAAgB,CAChB,eAAgB,CAFhB,QAAS,CAMT,aAAc,CAHd,cAAe,CALf,mBAAoB,CAOpB,YAAa,CARb,QAAS,CAET,SAAU,CAKV,gBDEF,CCIE,6DACE,QACF,CDJF,6BACE,oDAA6C,CAO7C,qFAA8E,CAF9E,kDAAuC,CAJvC,mCAA4B,CAO5B,mBAAoB,CANpB,4CAAsC,CACtC,gDAA6C,CAC7C,mDAA8C,CAE9C,6DAA+C,CAG/C,kBAYF,CAVE,mCACE,uDAAgD,CAChD,oCACF,CAGA,6CACE,cAAe,CACf,wBAAiB,CAAjB,gBACF","file":"TopicTag-b15f6cf1.css","sourcesContent":["/* Add a reset for when TopicTag is an <a> element since our link styles apply an underline text-decoration by default */\n/* stylelint-disable-next-line selector-no-qualifying-type */\n.TopicTag:where(a) {\n text-decoration: none;\n}\n\n/* Add a reset for when TopicTag is a <button> element */\n/* stylelint-disable-next-line selector-no-qualifying-type */\n.TopicTag:where(button) {\n @mixin buttonReset;\n}\n\n.TopicTag {\n background-color: var(--bgColor-accent-muted);\n color: var(--fgColor-accent);\n font-size: var(--text-body-size-small);\n font-weight: var(--base-text-weight-semibold);\n line-height: var(--text-body-lineHeight-small);\n border-radius: var(--borderRadius-full);\n padding: var(--base-size-2) var(--base-size-12);\n border: var(--borderWidth-thin) solid var(--topicTag-borderColor, transparent);\n display: inline-flex;\n white-space: nowrap;\n\n &:hover {\n background-color: var(--bgColor-accent-emphasis);\n color: var(--fgColor-onEmphasis);\n }\n\n /* stylelint-disable-next-line selector-max-type */\n &:where(a, button) {\n cursor: pointer;\n user-select: none;\n }\n}\n","@define-mixin buttonReset {\n margin: 0;\n display: inline-flex;\n padding: 0;\n border: 0;\n appearance: none;\n background: none;\n cursor: pointer;\n text-align: start;\n font: inherit;\n color: inherit;\n align-items: center;\n\n /* stylelint-disable-next-line nesting-selector-no-missing-scoping-root */\n &::-moz-focus-inner {\n border: 0;\n }\n}\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.prc-TreeView-TreeViewRootUlStyles-Mzrmj{list-style:none;margin:0;padding:0}.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItem-Ter5f{outline:none}:is(.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItem-Ter5f):focus-visible>div,:is(.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItem-Ter5f).focus-visible>div{box-shadow:var(--boxShadow-thick,inset 0 0 0 .125rem) var(--fgColor-accent
|
|
1
|
+
.prc-TreeView-TreeViewRootUlStyles-Mzrmj{list-style:none;margin:0;padding:0}.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItem-Ter5f{outline:none}:is(.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItem-Ter5f):focus-visible>div,:is(.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItem-Ter5f).focus-visible>div{box-shadow:var(--boxShadow-thick,inset 0 0 0 .125rem) var(--fgColor-accent,#0969da)}@media (forced-colors:active){:is(.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItem-Ter5f):focus-visible>div,:is(.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItem-Ter5f).focus-visible>div{outline:2px solid HighlightText;outline-offset:-2}}[data-has-leading-action]:is(.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItem-Ter5f){--has-leading-action:1}.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemContainer-z6qqQ{--level:1;--toggle-width:1rem;--min-item-height:2rem;border-radius:var(--borderRadius-medium,.375rem);color:var(--fgColor-default,#1f2328);cursor:pointer;display:grid;font-size:var(--text-body-size-medium,.875rem);grid-template-areas:"spacer leadingAction toggle content trailingAction";grid-template-columns:var(--spacer-width) var(--leading-action-width) var(--toggle-width) 1fr;position:relative;width:100%;--leading-action-width:calc(var(--has-leading-action, 0)*1.5rem);--spacer-width:calc((var(--level) - 1)*(var(--toggle-width)/2))}:is(.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemContainer-z6qqQ):hover{background-color:var(--control-transparent-bgColor-hover,#818b981a)}@media (forced-colors:active){:is(.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemContainer-z6qqQ):hover{outline:2px solid transparent;outline-offset:-2px}}@media (pointer:coarse){.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemContainer-z6qqQ{--toggle-width:1.5rem;--min-item-height:2.75rem}}:is(.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemContainer-z6qqQ):has(.prc-TreeView-TreeViewItemSkeleton-FGlnx):hover{background-color:transparent;cursor:default}@media (forced-colors:active){:is(.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemContainer-z6qqQ):has(.prc-TreeView-TreeViewItemSkeleton-FGlnx):hover{outline:none}}.prc-TreeView-TreeViewRootUlStyles-Mzrmj:where([data-omit-spacer=true]) .prc-TreeView-TreeViewItemContainer-z6qqQ{grid-template-columns:0 0 0 1fr}.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItem-Ter5f[aria-current=true]>.prc-TreeView-TreeViewItemContainer-z6qqQ{background-color:var(--control-transparent-bgColor-selected,#818b9826)}:is(.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItem-Ter5f[aria-current=true]>.prc-TreeView-TreeViewItemContainer-z6qqQ):after{background-color:var(--fgColor-accent,#0969da);border-radius:var(--borderRadius-medium,.375rem);content:"";height:1.5rem;left:calc(var(--base-size-8,.5rem)*-1);position:absolute;top:calc(50% - var(--base-size-12,.75rem));width:.25rem}@media (forced-colors:active){:is(.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItem-Ter5f[aria-current=true]>.prc-TreeView-TreeViewItemContainer-z6qqQ):after{background-color:HighlightText}}.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemToggle-hq3Xq{align-items:flex-start;color:var(--fgColor-muted,#59636e);display:flex;grid-area:toggle;height:100%;justify-content:center;padding-top:calc(var(--min-item-height)/2 - var(--base-size-12,.75rem)/2)}.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemToggleHover-H9tbt:hover{background-color:var(--control-transparent-bgColor-hover,#818b981a)}.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemToggleEnd-nWt9I{border-bottom-left-radius:var(--borderRadius-medium,.375rem);border-top-left-radius:var(--borderRadius-medium,.375rem)}.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemContent-RKsCI{display:flex;gap:var(--stack-gap-condensed,.5rem);grid-area:content;height:100%;line-height:var(--custom-line-height,var(--text-body-lineHeight-medium,1.4285));padding:0 var(--base-size-8,.5rem);padding-bottom:calc((var(--min-item-height) - var(--custom-line-height, 1.3rem))/2);padding-top:calc((var(--min-item-height) - var(--custom-line-height, 1.3rem))/2)}.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemContentText-FFaKp{flex:1 1 auto;width:0}.prc-TreeView-TreeViewRootUlStyles-Mzrmj:where([data-truncate-text=true]) .prc-TreeView-TreeViewItemContentText-FFaKp{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prc-TreeView-TreeViewRootUlStyles-Mzrmj:where([data-truncate-text=false]) .prc-TreeView-TreeViewItemContentText-FFaKp{word-break:break-word}.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemVisual-naWzj{align-items:center;color:var(--fgColor-muted,#59636e);display:flex;height:var(--custom-line-height,1.3rem)}.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemLeadingAction-vmOIV{color:var(--fgColor-muted,#59636e);display:flex;grid-area:leadingAction}:is(.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemLeadingAction-vmOIV)>button{flex-shrink:1}.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemTrailingAction-h9M5g{color:var(--fgColor-muted,#59636e);display:flex;grid-area:trailingAction}.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemTrailingActionButton-pCTdP{flex-shrink:1}.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemLevelLine-F-0-2{border-color:var(--borderColor-muted,#d1d9e0b3);border-right:var(--borderWidth-thin,.0625rem) solid;height:100%;width:100%}@media (hover:hover){.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewItemLevelLine-F-0-2{border-color:transparent}.prc-TreeView-TreeViewRootUlStyles-Mzrmj:focus-within .prc-TreeView-TreeViewItemLevelLine-F-0-2,.prc-TreeView-TreeViewRootUlStyles-Mzrmj:hover .prc-TreeView-TreeViewItemLevelLine-F-0-2{border-color:var(--borderColor-muted,#d1d9e0b3)}}.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewDirectoryIcon-yP1oY{color:var(--treeViewItem-leadingVisual-iconColor-rest,#54aeff);display:grid}.prc-TreeView-TreeViewRootUlStyles-Mzrmj .prc-TreeView-TreeViewVisuallyHidden-1N8xK{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.prc-TreeView-TreeViewSkeletonItemContainerStyle-lKqwd{align-items:center;column-gap:.5rem;display:flex;height:2rem}@media (pointer:coarse){.prc-TreeView-TreeViewSkeletonItemContainerStyle-lKqwd{height:2.75rem}}.prc-TreeView-TreeViewSkeletonItemContainerStyle-lKqwd:nth-of-type(5n+1){--tree-item-loading-width:67%}.prc-TreeView-TreeViewSkeletonItemContainerStyle-lKqwd:nth-of-type(5n+2){--tree-item-loading-width:47%}.prc-TreeView-TreeViewSkeletonItemContainerStyle-lKqwd:nth-of-type(5n+3){--tree-item-loading-width:73%}.prc-TreeView-TreeViewSkeletonItemContainerStyle-lKqwd:nth-of-type(5n+4){--tree-item-loading-width:64%}.prc-TreeView-TreeViewSkeletonItemContainerStyle-lKqwd:nth-of-type(5n+5){--tree-item-loading-width:50%}.prc-TreeView-TreeItemSkeletonTextStyles-8VJ-g{width:var(--tree-item-loading-width,67%)}
|
|
2
2
|
/*# sourceMappingURL=TreeView-70baca82.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/TreeView/TreeView.module.css.js"],"names":[],"mappings":"AAAA,yCAGE,eAAgB,CADhB,QAAS,CADT,SAqPF,CApOE,0EACE,YAgBF,CAdE,kMAEE,
|
|
1
|
+
{"version":3,"sources":["../src/TreeView/TreeView.module.css.js"],"names":[],"mappings":"AAAA,yCAGE,eAAgB,CADhB,QAAS,CADT,SAqPF,CApOE,0EACE,YAgBF,CAdE,kMAEE,mFAOF,CALE,8BAJF,kMAKI,+BAAgC,CAEhC,iBAEJ,CADE,CAGF,wGACE,sBACF,CAGF,mFACE,SAAU,CACV,mBAAoB,CACpB,sBAAuB,CAQvB,gDAAyC,CAFzC,oCAA6B,CAC7B,cAAe,CAJf,YAAa,CAEb,8CAAuC,CAKvC,wEAAyE,CADzE,6FAA8F,CAP9F,iBAAkB,CAElB,UAAW,CAQX,gEAAmE,CACnE,+DA6BF,CA3BE,8FACE,mEAMF,CAJE,8BAHF,8FAII,6BAA8B,CAC9B,mBAEJ,CADE,CAGF,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CArBE,CAEA,yEACE,6BACF,CAEA,yEACE,6BACF,CAEA,yEACE,6BACF,CAEA,yEACE,6BACF,CAEA,yEACE,6BACF,CAGF,+CACE,wCACF","file":"TreeView-70baca82.css","sourcesContent":[".TreeViewRootUlStyles {\n padding: 0;\n margin: 0;\n list-style: none;\n\n /*\n * WARNING: This is a performance optimization.\n *\n * We define styles for the tree items at the root level of the tree\n * to avoid recomputing the styles for each item when the tree updates.\n * We're sacrificing maintainability for performance because TreeView\n * needs to be performant enough to handle large trees (thousands of items).\n *\n * This is intended to be a temporary solution until we can improve the\n * performance of our styling patterns.\n *\n * Do NOT copy this pattern without understanding the tradeoffs.\n */\n .TreeViewItem {\n outline: none;\n\n &:focus-visible > div,\n &:global(.focus-visible) > div {\n box-shadow: var(--boxShadow-thick) var(--fgColor-accent);\n\n @media (forced-colors: active) {\n outline: 2px solid HighlightText;\n /* stylelint-disable-next-line declaration-property-value-no-unknown */\n outline-offset: -2;\n }\n }\n\n &[data-has-leading-action] {\n --has-leading-action: 1;\n }\n }\n\n .TreeViewItemContainer {\n --level: 1;\n --toggle-width: 1rem;\n --min-item-height: 2rem;\n\n position: relative;\n display: grid;\n width: 100%;\n font-size: var(--text-body-size-medium);\n color: var(--fgColor-default);\n cursor: pointer;\n border-radius: var(--borderRadius-medium);\n grid-template-columns: var(--spacer-width) var(--leading-action-width) var(--toggle-width) 1fr;\n grid-template-areas: 'spacer leadingAction toggle content trailingAction';\n\n --leading-action-width: calc(var(--has-leading-action, 0) * 1.5rem);\n --spacer-width: calc(calc(var(--level) - 1) * (var(--toggle-width) / 2));\n\n &:hover {\n background-color: var(--control-transparent-bgColor-hover);\n\n @media (forced-colors: active) {\n outline: 2px solid transparent;\n outline-offset: -2px;\n }\n }\n\n @media (pointer: coarse) {\n --toggle-width: 1.5rem;\n --min-item-height: 2.75rem;\n }\n\n /*\n * NOTE: Uses descendant :has() - TreeViewItemSkeleton is nested inside\n * TreeViewItemContent > TreeViewItemContentText, not a direct child.\n * This is acceptable as the search is scoped to this element's subtree.\n */\n &:has(.TreeViewItemSkeleton):hover {\n cursor: default;\n background-color: transparent;\n\n @media (forced-colors: active) {\n outline: none;\n }\n }\n }\n\n &:where([data-omit-spacer='true']) .TreeViewItemContainer {\n grid-template-columns: 0 0 0 1fr;\n }\n\n .TreeViewItem[aria-current='true'] > .TreeViewItemContainer {\n background-color: var(--control-transparent-bgColor-selected);\n\n /* Current item indicator */\n /* stylelint-disable-next-line selector-max-specificity */\n &::after {\n position: absolute;\n top: calc(50% - var(--base-size-12));\n left: calc(-1 * var(--base-size-8));\n width: 0.25rem;\n height: 1.5rem;\n content: '';\n\n /*\n * Use fgColor accent for consistency across all themes. Using the \"correct\" variable,\n * --bgColor-accent-emphasis, causes vrt failures for dark high contrast mode\n */\n /* stylelint-disable-next-line primer/colors */\n background-color: var(--fgColor-accent);\n border-radius: var(--borderRadius-medium);\n\n @media (forced-colors: active) {\n background-color: HighlightText;\n }\n }\n }\n\n .TreeViewItemToggle {\n display: flex;\n height: 100%;\n\n /* The toggle should appear vertically centered for single-line items, but remain at the top for items that wrap\n across more lines. */\n /* stylelint-disable-next-line primer/spacing */\n padding-top: calc(var(--min-item-height) / 2 - var(--base-size-12) / 2);\n color: var(--fgColor-muted);\n grid-area: toggle;\n justify-content: center;\n align-items: flex-start;\n }\n\n .TreeViewItemToggleHover:hover {\n background-color: var(--control-transparent-bgColor-hover);\n }\n\n .TreeViewItemToggleEnd {\n border-top-left-radius: var(--borderRadius-medium);\n border-bottom-left-radius: var(--borderRadius-medium);\n }\n\n .TreeViewItemContent {\n display: flex;\n height: 100%;\n padding: 0 var(--base-size-8);\n\n /* The dynamic top and bottom padding to maintain the minimum item height for single line items */\n /* stylelint-disable-next-line primer/spacing */\n padding-top: calc((var(--min-item-height) - var(--custom-line-height, 1.3rem)) / 2);\n /* stylelint-disable-next-line primer/spacing */\n padding-bottom: calc((var(--min-item-height) - var(--custom-line-height, 1.3rem)) / 2);\n line-height: var(--custom-line-height, var(--text-body-lineHeight-medium, 1.4285));\n grid-area: content;\n gap: var(--stack-gap-condensed);\n }\n\n .TreeViewItemContentText {\n flex: 1 1 auto;\n width: 0;\n }\n\n &:where([data-truncate-text='true']) .TreeViewItemContentText {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n &:where([data-truncate-text='false']) .TreeViewItemContentText {\n /* stylelint-disable-next-line declaration-property-value-keyword-no-deprecated */\n word-break: break-word;\n }\n\n .TreeViewItemVisual {\n display: flex;\n\n /* The visual icons should appear vertically centered for single-line items, but remain at the top for items that wrap\n across more lines. */\n height: var(--custom-line-height, 1.3rem);\n color: var(--fgColor-muted);\n align-items: center;\n }\n\n .TreeViewItemLeadingAction {\n display: flex;\n color: var(--fgColor-muted);\n grid-area: leadingAction;\n\n & > button {\n flex-shrink: 1;\n }\n }\n\n .TreeViewItemTrailingAction {\n display: flex;\n color: var(--fgColor-muted);\n grid-area: trailingAction;\n }\n\n .TreeViewItemTrailingActionButton {\n flex-shrink: 1;\n }\n\n .TreeViewItemLevelLine {\n width: 100%;\n height: 100%;\n\n /*\n * On devices without hover, the nesting indicator lines\n * appear at all times.\n */\n border-color: var(--borderColor-muted);\n border-right: var(--borderWidth-thin) solid;\n }\n\n /*\n * On devices with :hover support, the nesting indicator lines\n * fade in when the user mouses over the entire component,\n * or when there's focus inside the component. This makes\n * sure the component remains simple when not in use.\n */\n @media (hover: hover) {\n .TreeViewItemLevelLine {\n border-color: transparent;\n }\n\n &:hover .TreeViewItemLevelLine,\n &:focus-within .TreeViewItemLevelLine {\n border-color: var(--borderColor-muted);\n }\n }\n\n .TreeViewDirectoryIcon {\n display: grid;\n color: var(--treeViewItem-leadingVisual-iconColor-rest);\n }\n\n .TreeViewVisuallyHidden {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n /* stylelint-disable-next-line primer/spacing */\n margin: -1px;\n overflow: hidden;\n /* stylelint-disable-next-line property-no-deprecated */\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n}\n\n.TreeViewSkeletonItemContainerStyle {\n display: flex;\n align-items: center;\n column-gap: 0.5rem;\n height: 2rem;\n\n @media (pointer: coarse) {\n height: 2.75rem;\n }\n\n &:nth-of-type(5n + 1) {\n --tree-item-loading-width: 67%;\n }\n\n &:nth-of-type(5n + 2) {\n --tree-item-loading-width: 47%;\n }\n\n &:nth-of-type(5n + 3) {\n --tree-item-loading-width: 73%;\n }\n\n &:nth-of-type(5n + 4) {\n --tree-item-loading-width: 64%;\n }\n\n &:nth-of-type(5n + 5) {\n --tree-item-loading-width: 50%;\n }\n}\n\n.TreeItemSkeletonTextStyles {\n width: var(--tree-item-loading-width, 67%);\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeView.d.ts","sourceRoot":"","sources":["../../src/TreeView/TreeView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,IAAI,EACV,MAAM,wBAAwB,CAAA;AAE/B,OAAO,KAA+B,MAAM,OAAO,CAAA;AAsBnD,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAA;AA4CpD,MAAM,MAAM,aAAa,GAAG;IAC1B,YAAY,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,YAAY,CAAC,CAAA;IACjD,iBAAiB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAA;IAC3D,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,IAAI,EAAE,IAAI,CAAA;IACV,KAAK,CAAC,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
1
|
-
.prc-ActionList-Divider-hCCoA{background:var(--borderColor-muted
|
|
1
|
+
.prc-ActionList-Divider-hCCoA{background:var(--borderColor-muted,#d1d9e0b3);height:var(--borderWidth-thin,.0625rem);margin-bottom:var(--base-size-8,.5rem);margin-top:calc(var(--base-size-8,.5rem) - 1px)}
|
|
2
2
|
/*# sourceMappingURL=Divider-7c6b656a.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/deprecated/ActionList/Divider.module.css.js"],"names":[],"mappings":"AAAA,8BAGE,
|
|
1
|
+
{"version":3,"sources":["../../src/deprecated/ActionList/Divider.module.css.js"],"names":[],"mappings":"AAAA,8BAGE,6CAAoC,CAFpC,uCAA+B,CAK/B,sCAAiC,CADjC,+CAEF","file":"Divider-7c6b656a.css","sourcesContent":[".Divider {\n height: var(--borderWidth-thin);\n /* stylelint-disable-next-line primer/colors */\n background: var(--borderColor-muted);\n /* stylelint-disable-next-line primer/spacing */\n margin-top: calc(var(--base-size-8) - 1px);\n margin-bottom: var(--base-size-8);\n}\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.prc-ActionList-Header-585kg{color:var(--fgColor-muted
|
|
1
|
+
.prc-ActionList-Header-585kg{color:var(--fgColor-muted,#59636e);font-size:var(--text-body-size-small,.75rem);font-weight:var(--text-title-weight-large,600);padding:6px var(--base-size-16,1rem)}.prc-ActionList-Header-585kg:where([data-filled]){background:var(--bgColor-muted,#f6f8fa);border-bottom:var(--borderWidth-thin,.0625rem) solid var(--bgColor-neutral-muted,#818b981f);border-top:var(--borderWidth-thin,.0625rem) solid var(--bgColor-neutral-muted,#818b981f);margin:var(--base-size-8,.5rem) 0}.prc-ActionList-Header-585kg:where([data-filled]):first-child{margin-top:0}
|
|
2
2
|
/*# sourceMappingURL=Header-493b1d76.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/deprecated/ActionList/Header.module.css.js"],"names":[],"mappings":"AAAA,6BAUE,
|
|
1
|
+
{"version":3,"sources":["../../src/deprecated/ActionList/Header.module.css.js"],"names":[],"mappings":"AAAA,6BAUE,kCAA2B,CAF3B,4CAAsC,CACtC,8CAA2C,CAF3C,oCAiBF,CAZE,kDACE,uCAAgC,CAKhC,2FAAyE,CAFzE,wFAAsE,CAFtE,iCASF,CAHE,8DACE,YACF","file":"Header-493b1d76.css","sourcesContent":[".Header {\n /* 6px vertical padding + 20px line height = 32px total height\n *\n * TODO: When rem-based spacing on a 4px scale lands, replace\n * hardcoded '6px' with 'calc((${get('space.s32')} - ${get('space.20')}) / 2)'.\n */\n /* stylelint-disable-next-line primer/spacing */\n padding: 6px var(--base-size-16);\n font-size: var(--text-body-size-small);\n font-weight: var(--text-title-weight-large);\n color: var(--fgColor-muted);\n\n &:where([data-filled]) {\n background: var(--bgColor-muted);\n margin: var(--base-size-8) 0;\n /* stylelint-disable-next-line primer/colors */\n border-top: var(--borderWidth-thin) solid var(--bgColor-neutral-muted);\n /* stylelint-disable-next-line primer/colors */\n border-bottom: var(--borderWidth-thin) solid var(--bgColor-neutral-muted);\n\n &:first-child {\n margin-top: 0;\n }\n }\n}\n"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
.prc-ActionList-DividedContent-qks5p{position:relative}.prc-ActionList-DividedContent-qks5p,.prc-ActionList-MainContent-XZAI3{display:flex;flex-grow:1;min-width:0}.prc-ActionList-MainContent-XZAI3{align-items:baseline;flex-direction:var(--main-content-flex-direction)}.prc-ActionList-Item-eN6NY{border-radius:var(--borderRadius-medium,.375rem);color:var(--fgColor-default
|
|
2
|
-
/* !important because all the :not's above give higher specificity */border-color:transparent!important}.prc-ActionList-Item-eN6NY[data-is-active-descendant=activated-directly]{background:var(--bgColor-accent-muted
|
|
1
|
+
.prc-ActionList-DividedContent-qks5p{position:relative}.prc-ActionList-DividedContent-qks5p,.prc-ActionList-MainContent-XZAI3{display:flex;flex-grow:1;min-width:0}.prc-ActionList-MainContent-XZAI3{align-items:baseline;flex-direction:var(--main-content-flex-direction)}.prc-ActionList-Item-eN6NY{border-radius:var(--borderRadius-medium,.375rem);color:var(--fgColor-default,#1f2328);display:flex;padding:6px var(--base-size-8,.5rem);-webkit-text-decoration:none;text-decoration:none;transition:background 33.333ms linear}.prc-ActionList-Item--danger-2UZJs{color:var(--fgColor-danger,#d1242f)}.prc-ActionList-Item--disabled-6k-1w{color:var(--fgColor-disabled,#818b98);cursor:default}@media (hover:hover) and (pointer:fine){.prc-ActionList-Item-eN6NY:hover{background:var(--item-hover-bg-override,var(--bgColor-muted,#f6f8fa));cursor:pointer}.prc-ActionList-Item--danger-2UZJs:hover{background:var(--item-hover-bg-override,var(--bgColor-danger-muted,#ffebe9));color:var(--fgColor-danger,#d1242f)}.prc-ActionList-Item--disabled-6k-1w:hover{background:transparent;cursor:default}}.prc-ActionList-Item-eN6NY:not(:first-of-type):not([data-component="ActionList.Divider"]+*):not([data-component="ActionList.Header"]+*){margin-top:0}.prc-ActionList-Item-eN6NY:not(:first-of-type):not([data-component="ActionList.Divider"]+*):not([data-component="ActionList.Header"]+*) :where([data-divider]){margin-top:1px}.prc-ActionList-Item-eN6NY:not(:first-of-type):not([data-component="ActionList.Divider"]+*):not([data-component="ActionList.Header"]+*) .prc-ActionList-DividedContent-qks5p:before{border-top-width:0;border:0 solid var(--borderColor-muted,#d1d9e0b3);content:" ";display:block;position:absolute;top:-7px;width:100%}:where([data-divider]) .prc-ActionList-DividedContent-qks5p:before{border-top-width:1px}.prc-ActionList-Item-eN6NY:hover .prc-ActionList-DividedContent-qks5p:before,:hover+.prc-ActionList-Item-eN6NY .prc-ActionList-DividedContent-qks5p:before{border-color:var(--item-hover-divider-border-color-override,transparent)!important}.prc-ActionList-Item-eN6NY:focus .prc-ActionList-DividedContent-qks5p:before,.prc-ActionList-Item-eN6NY[data-is-active-descendant] .prc-ActionList-DividedContent-qks5p:before,:focus+.prc-ActionList-Item-eN6NY .prc-ActionList-DividedContent-qks5p:before,[data-active-descendant]+.prc-ActionList-Item-eN6NY .prc-ActionList-DividedContent-qks5p:before{
|
|
2
|
+
/* !important because all the :not's above give higher specificity */border-color:transparent!important}.prc-ActionList-Item-eN6NY[data-is-active-descendant=activated-directly]{background:var(--bgColor-accent-muted,#ddf4ff)}.prc-ActionList-Item-eN6NY[data-is-active-descendant=activated-indirectly]{background:var(--bgColor-muted,#f6f8fa)}.prc-ActionList-Item-eN6NY:focus{outline:none}.prc-ActionList-Item-eN6NY:active,.prc-ActionList-Item-eN6NY:focus{background:var(--bgColor-accent-muted,#ddf4ff)}.prc-ActionList-MainContent--inline-112-0{flex-direction:row}.prc-ActionList-MainContent--block-l6ozE{flex-direction:column}.prc-ActionList-BaseVisualContainer-C06g1,.prc-ActionList-LeadingVisualContainer-2mC-O{align-items:center;display:flex;flex-shrink:0;height:20px;justify-content:center;margin-right:var(--base-size-8,.5rem);width:var(--base-size-16,1rem)}.prc-ActionList-LeadingVisualContainer-2mC-O{flex-direction:column}.prc-ActionList-LeadingVisualContainer-2mC-O svg{fill:var(--fgColor-muted,#59636e);font-size:var(--text-body-size-small,.75rem)}.prc-ActionList-LeadingVisualContainer-2mC-O:where([data-variant=danger]) svg{fill:var(--fgColor-danger,#d1242f)}.prc-ActionList-LeadingVisualContainer-2mC-O:where([data-disabled]) svg{fill:var(--fgColor-disabled,#818b98)}.prc-ActionList-TrailingContent-0Uf2c{align-items:center;color:var(--fgColor-muted,#59636e);display:flex;flex-shrink:0;height:20px;justify-content:center;margin-left:var(--base-size-8,.5rem);margin-right:0;width:auto}.prc-ActionList-TrailingContent-0Uf2c:where([data-variant=danger]){color:var(--fgColor-muted,#59636e)}.prc-ActionList-TrailingContent-0Uf2c:where([data-disabled]){color:var(--fgColor-disabled,#818b98)}.prc-ActionList-TrailingContent-0Uf2c div:nth-child(2){margin-left:var(--base-size-8,.5rem)}.prc-ActionList-TrailingContent-0Uf2c svg{fill:var(--fgColor-muted,#59636e);font-size:var(--text-body-size-small,.75rem)}.prc-ActionList-TrailingContent-0Uf2c:where([data-variant=danger]) svg{fill:var(--fgColor-danger,#d1242f)}.prc-ActionList-TrailingContent-0Uf2c:where([data-disabled]) svg{fill:var(--fgColor-disabled,#818b98)}.prc-ActionList-DescriptionContainer-RBvTf{flex-basis:var(--description-container-flex-basis);flex-grow:1;font-size:var(--text-body-size-small,.75rem);line-height:16px;margin-left:var(--description-container-margin-left);min-width:0}.prc-ActionList-DescriptionContainer-RBvTf,.prc-ActionList-MultiSelectIcon-XFUmo{color:var(--fgColor-muted,#59636e)}.prc-ActionList-MultiSelectIcon-XFUmo rect{fill:var(--bgColor-default,#fff);stroke:var(--borderColor-default,#d1d9e0);shape-rendering:auto}.prc-ActionList-MultiSelectIcon-XFUmo path{fill:var(--fgColor-onEmphasis,#fff);box-shadow:var(--shadow-resting-small,0 1px 1px 0 #1f23280a,0 1px 2px 0 #1f232808);opacity:0}.prc-ActionList-MultiSelectIcon-XFUmo:where([data-selected]) rect{fill:var(--bgColor-accent-emphasis,#0969da);stroke:var(--bgColor-accent-emphasis,#0969da)}.prc-ActionList-MultiSelectIcon-XFUmo:where([data-selected]) path{opacity:1}.prc-ActionList-Item-eN6NY[data-divider]:not(:first-of-type):not([data-component="ActionList.Divider"]+.prc-ActionList-Item-eN6NY):not([data-component="ActionList.Header"]+.prc-ActionList-Item-eN6NY) .prc-ActionList-DividedContent-qks5p:before{border-top-width:var(--borderWidth-thin,.0625rem)}.prc-ActionList-Item-eN6NY[data-divider]:not(:first-of-type):not([data-component="ActionList.Divider"]+.prc-ActionList-Item-eN6NY):not([data-component="ActionList.Header"]+.prc-ActionList-Item-eN6NY){margin-top:1px}
|
|
3
3
|
/*# sourceMappingURL=Item-f48bd3ee.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/deprecated/ActionList/Item.module.css.js"],"names":[],"mappings":"AACA,qCAKE,iBAEF,CAEA,uEARE,YAAa,CAKb,WAAY,CAJZ,WAaF,CANA,kCACE,oBAAqB,CAGrB,iDAEF,CAEA,2BAKE,gDAAyC,CACzC,
|
|
1
|
+
{"version":3,"sources":["../../src/deprecated/ActionList/Item.module.css.js"],"names":[],"mappings":"AACA,qCAKE,iBAEF,CAEA,uEARE,YAAa,CAKb,WAAY,CAJZ,WAaF,CANA,kCACE,oBAAqB,CAGrB,iDAEF,CAEA,2BAKE,gDAAyC,CACzC,oCAA6B,CAF7B,YAAa,CADb,oCAA+B,CAM/B,4BAAqB,CAArB,oBAAqB,CADrB,qCAEF,CAEA,mCACE,mCACF,CAEA,qCACE,qCAA8B,CAC9B,cACF,CAEA,wCACE,iCAEE,qEAA+D,CAC/D,cACF,CAEA,yCACE,4EAAsE,CACtE,mCACF,CAEA,2CACE,sBAAuB,CACvB,cACF,CACF,CAGA,wIACE,YAMF,CAJE,+JAEE,cACF,CAIF,oLAQE,kBAAwC,CACxC,iDAAmB,CAPnB,WAAY,CACZ,aAAc,CACd,iBAAkB,CAGlB,QAAS,CAFT,UAKF,CAGE,mEAEE,oBACF,CAIF,2JAIE,kFACF,CAGA;EAIE,oEAAoE,CACpE,kCACF,CAGA,yEACE,8CACF,CAEA,2EACE,uCACF,CAEA,iCAEE,YACF,CAEA,mEAJE,8CAMF,CAEA,0CACE,kBACF,CAEA,yCACE,qBACF,CAaA,uFAJE,kBAAmB,CAFnB,YAAa,CAGb,aAAc,CANd,WAAY,CAIZ,sBAAuB,CAFvB,qCAAgC,CADhC,8BAkBF,CAVA,6CAQE,qBAEF,CAEA,iDACE,iCAA0B,CAC1B,4CACF,CAEA,8EACE,kCACF,CAEA,wEACE,oCACF,CAEA,sCASE,kBAAmB,CAPnB,kCAA2B,CAK3B,YAAa,CAGb,aAAc,CAPd,WAAY,CAKZ,sBAAuB,CAHvB,oCAA+B,CAC/B,cAAe,CAFf,UAOF,CAEA,mEACE,kCACF,CAEA,6DACE,qCACF,CAEA,uDACE,oCACF,CAEA,0CACE,iCAA0B,CAC1B,4CACF,CAEA,uEACE,kCACF,CAEA,iEACE,oCACF,CAEA,2CASE,kDAAmD,CAHnD,WAAY,CAJZ,4CAAsC,CAEtC,gBAAiB,CAIjB,oDAAqD,CAHrD,WAKF,CAEA,iFAXE,kCAaF,CAEA,2CACE,gCAA4B,CAC5B,yCAAkC,CAClC,oBACF,CAEA,2CACE,mCAA+B,CAC/B,kFAAuC,CACvC,SACF,CAEA,kEACE,2CAAoC,CACpC,6CACF,CAEA,kEACE,SACF,CAGA,oPAIE,iDACF,CAEA,wMAIE,cACF","file":"Item-f48bd3ee.css","sourcesContent":["/* stylelint-disable selector-max-specificity */\n.DividedContent {\n display: flex;\n min-width: 0;\n\n /* Required for dividers */\n position: relative;\n flex-grow: 1;\n}\n\n.MainContent {\n align-items: baseline;\n display: flex;\n min-width: 0;\n flex-direction: var(--main-content-flex-direction);\n flex-grow: 1;\n}\n\n.Item {\n /* 6px vertical padding + 20px line height = 32px total height */\n /* stylelint-disable-next-line primer/spacing */\n padding: 6px var(--base-size-8);\n display: flex;\n border-radius: var(--borderRadius-medium);\n color: var(--fgColor-default);\n /* 2 frames on a 60hz monitor */\n transition: background 33.333ms linear;\n text-decoration: none;\n}\n\n.Item--danger {\n color: var(--fgColor-danger);\n}\n\n.Item--disabled {\n color: var(--fgColor-disabled);\n cursor: default;\n}\n\n@media (hover: hover) and (pointer: fine) {\n .Item:hover {\n /* allow override in case another item in the list is active/focused */\n background: var(--item-hover-bg-override, var(--bgColor-muted));\n cursor: pointer;\n }\n\n .Item--danger:hover {\n background: var(--item-hover-bg-override, var(--bgColor-danger-muted));\n color: var(--fgColor-danger);\n }\n\n .Item--disabled:hover {\n background: transparent;\n cursor: default;\n }\n}\n\n/* Item dividers */\n.Item:not(:first-of-type):not([data-component='ActionList.Divider'] + *):not([data-component='ActionList.Header'] + *) {\n margin-top: 0;\n\n :where([data-divider]) {\n /* stylelint-disable-next-line primer/spacing */\n margin-top: 1px;\n }\n}\n\n/* stylelint-disable-next-line selector-max-compound-selectors */\n.Item:not(:first-of-type):not([data-component='ActionList.Divider'] + *):not([data-component='ActionList.Header'] + *)\n .DividedContent::before {\n content: ' ';\n display: block;\n position: absolute;\n width: 100%;\n /* stylelint-disable-next-line primer/spacing */\n top: -7px;\n border: 0 solid var(--borderColor-muted);\n border-top-width: 0;\n}\n\n:where([data-divider]) {\n .DividedContent::before {\n /* stylelint-disable-next-line primer/borders */\n border-top-width: 1px;\n }\n}\n\n/* Item dividers should not be visible above/below hovered items */\n.Item:hover .DividedContent::before,\n:hover + .Item .DividedContent::before {\n /* allow override in case another item in the list is active/focused */\n /* stylelint-disable-next-line primer/colors */\n border-color: var(--item-hover-divider-border-color-override, transparent) !important;\n}\n\n/* Item dividers should not be visible above/below focused items */\n.Item:focus .DividedContent::before,\n:focus + .Item .DividedContent::before,\n.Item[data-is-active-descendant] .DividedContent::before,\n[data-active-descendant] + .Item .DividedContent::before {\n /* !important because all the :not's above give higher specificity */\n border-color: transparent !important;\n}\n\n/* Active Descendant */\n.Item[data-is-active-descendant='activated-directly'] {\n background: var(--bgColor-accent-muted);\n}\n\n.Item[data-is-active-descendant='activated-indirectly'] {\n background: var(--bgColor-muted);\n}\n\n.Item:focus {\n background: var(--bgColor-accent-muted);\n outline: none;\n}\n\n.Item:active {\n background: var(--bgColor-accent-muted);\n}\n\n.MainContent--inline {\n flex-direction: row;\n}\n\n.MainContent--block {\n flex-direction: column;\n}\n\n.BaseVisualContainer {\n /* Match visual height to adjacent text line height. */\n height: 20px;\n width: var(--base-size-16);\n margin-right: var(--base-size-8);\n display: flex;\n justify-content: center;\n align-items: center;\n flex-shrink: 0;\n}\n\n.LeadingVisualContainer {\n /* Match visual height to adjacent text line height. */\n height: 20px;\n width: var(--base-size-16);\n margin-right: var(--base-size-8);\n align-items: center;\n flex-shrink: 0;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\n.LeadingVisualContainer svg {\n fill: var(--fgColor-muted);\n font-size: var(--text-body-size-small);\n}\n\n.LeadingVisualContainer:where([data-variant='danger']) svg {\n fill: var(--fgColor-danger);\n}\n\n.LeadingVisualContainer:where([data-disabled]) svg {\n fill: var(--fgColor-disabled);\n}\n\n.TrailingContent {\n /* Match visual height to adjacent text line height. */\n color: var(--fgColor-muted);\n height: 20px;\n width: auto;\n margin-left: var(--base-size-8);\n margin-right: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-shrink: 0;\n}\n\n.TrailingContent:where([data-variant='danger']) {\n color: var(--fgColor-muted);\n}\n\n.TrailingContent:where([data-disabled]) {\n color: var(--fgColor-disabled);\n}\n\n.TrailingContent div:nth-child(2) {\n margin-left: var(--base-size-8);\n}\n\n.TrailingContent svg {\n fill: var(--fgColor-muted);\n font-size: var(--text-body-size-small);\n}\n\n.TrailingContent:where([data-variant='danger']) svg {\n fill: var(--fgColor-danger);\n}\n\n.TrailingContent:where([data-disabled]) svg {\n fill: var(--fgColor-disabled);\n}\n\n.DescriptionContainer {\n color: var(--fgColor-muted);\n font-size: var(--text-body-size-small);\n /* stylelint-disable-next-line primer/typography */\n line-height: 16px;\n min-width: 0;\n flex-grow: 1;\n /* stylelint-disable-next-line primer/spacing */\n margin-left: var(--description-container-margin-left);\n flex-basis: var(--description-container-flex-basis);\n}\n\n.MultiSelectIcon {\n color: var(--fgColor-muted);\n}\n\n.MultiSelectIcon rect {\n fill: var(--bgColor-default);\n stroke: var(--borderColor-default);\n shape-rendering: auto; /* this is a workaround to override global style in github/github, see primer/react#1666 */\n}\n\n.MultiSelectIcon path {\n fill: var(--fgColor-onEmphasis);\n box-shadow: var(--shadow-resting-small);\n opacity: 0;\n}\n\n.MultiSelectIcon:where([data-selected]) rect {\n fill: var(--bgColor-accent-emphasis);\n stroke: var(--bgColor-accent-emphasis);\n}\n\n.MultiSelectIcon:where([data-selected]) path {\n opacity: 1;\n}\n\n/* stylelint-disable-next-line selector-max-compound-selectors */\n.Item[data-divider]:not(:first-of-type):not([data-component='ActionList.Divider'] + .Item):not(\n [data-component='ActionList.Header'] + .Item\n )\n .DividedContent::before {\n border-top-width: var(--borderWidth-thin);\n}\n\n.Item[data-divider]:not(:first-of-type):not([data-component='ActionList.Divider'] + .Item):not(\n [data-component='ActionList.Header'] + .Item\n ) {\n /* stylelint-disable-next-line primer/spacing */\n margin-top: 1px;\n}\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.prc-ActionList-List-0R5kQ:focus-within,.prc-ActionList-List-0R5kQ[data-has-active-descendant]{--item-hover-bg-override:none;--item-hover-divider-border-color-override:var(--borderColor-muted
|
|
1
|
+
.prc-ActionList-List-0R5kQ:focus-within,.prc-ActionList-List-0R5kQ[data-has-active-descendant]{--item-hover-bg-override:none;--item-hover-divider-border-color-override:var(--borderColor-muted,#d1d9e0b3)}
|
|
2
2
|
/*# sourceMappingURL=List-1ec9d6d9.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/deprecated/ActionList/List.module.css.js"],"names":[],"mappings":"AAAA,+FAEE,6BAA8B,CAC9B,
|
|
1
|
+
{"version":3,"sources":["../../src/deprecated/ActionList/List.module.css.js"],"names":[],"mappings":"AAAA,+FAEE,6BAA8B,CAC9B,6EACF","file":"List-1ec9d6d9.css","sourcesContent":[".List[data-has-active-descendant],\n.List:focus-within {\n --item-hover-bg-override: none;\n --item-hover-divider-border-color-override: var(--borderColor-muted);\n}\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.prc-DialogV1-Overlay-nYh-4:before{background:var(--overlay-backdrop-bgColor
|
|
1
|
+
.prc-DialogV1-Overlay-nYh-4:before{background:var(--overlay-backdrop-bgColor,#c8d1da66);bottom:0;content:" ";cursor:default;display:block;left:0;position:fixed;right:0;top:0;z-index:99}.prc-DialogV1-CloseIcon-NbiwR{position:absolute;right:var(--base-size-16,1rem);top:var(--base-size-8,.5rem)}.prc-DialogV1-Dialog-XiEJf{background-color:var(--bgColor-default,#fff);border-radius:var(--borderRadius-medium,.375rem);box-shadow:var(--shadow-floating-large,0 0 0 1px #d1d9e000,0 40px 80px 0 #25292e3d);left:50%;margin:10vh auto;max-height:80vh;outline:none;position:fixed;top:0;transform:translateX(-50%);z-index:999}.prc-DialogV1-Dialog-XiEJf:where([data-width=default]){width:440px}.prc-DialogV1-Dialog-XiEJf:where([data-width=narrow]){width:320px}.prc-DialogV1-Dialog-XiEJf:where([data-width=wide]){width:640px}@media screen and (max-width:750px){.prc-DialogV1-Dialog-XiEJf{border-radius:0;height:100dvh;margin:0;width:100dvw}}.prc-DialogV1-Header-r20Rf{background:var(--bgColor-muted,#f6f8fa);border-bottom:var(--borderWidth-thin,.0625rem) solid var(--borderColor-default,#d1d9e0);border-radius:var(--borderRadius-medium,.375rem) var(--borderRadius-medium,.375rem) 0 0;display:flex;padding:var(--base-size-16,1rem)}@media screen and (max-width:750px){.prc-DialogV1-Header-r20Rf{border-radius:0}}.prc-DialogV1-HeaderChild-tk8Zn{font-size:var(--text-body-size-medium,.875rem);font-weight:var(--base-text-weight-semibold,600)}
|
|
2
2
|
/*# sourceMappingURL=Dialog-dce13989.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/deprecated/DialogV1/Dialog.module.css.js"],"names":[],"mappings":"AACE,mCAUE,
|
|
1
|
+
{"version":3,"sources":["../../src/deprecated/DialogV1/Dialog.module.css.js"],"names":[],"mappings":"AACE,mCAUE,oDAA2C,CAN3C,QAAS,CAKT,WAAY,CADZ,cAAe,CADf,aAAc,CAFd,MAAO,CAJP,cAAe,CAEf,OAAQ,CADR,KAAM,CAIN,UAKF,CAGF,8BACE,iBAAkB,CAElB,8BAA0B,CAD1B,4BAEF,CAEA,2BAOE,4CAAwC,CACxC,gDAAyC,CAEzC,mFAAwC,CAPxC,QAAS,CAGT,gBAAiB,CADjB,eAAgB,CAIhB,YAAa,CARb,cAAe,CACf,KAAM,CASN,0BAA2B,CAP3B,WA6BF,CApBE,uDAEE,WACF,CAEA,sDACE,WACF,CAEA,oDAEE,WACF,CAEA,oCA3BF,2BA+BI,eAAgB,CAFhB,aAAc,CACd,QAAS,CAFT,YAKJ,CADE,CAGF,2BAGE,uCAAgC,CAChC,uFAAuE,CACvE,uFAAwE,CAJxE,YAAa,CACb,gCAQF,CAHE,oCAPF,2BAQI,eAEJ,CADE,CAGF,gCACE,8CAAuC,CACvC,gDACF","file":"Dialog-dce13989.css","sourcesContent":[".Overlay {\n &::before {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 99;\n display: block;\n cursor: default;\n content: ' ';\n background: var(--overlay-backdrop-bgColor);\n }\n}\n\n.CloseIcon {\n position: absolute;\n top: var(--base-size-8);\n right: var(--base-size-16);\n}\n\n.Dialog {\n position: fixed;\n top: 0;\n left: 50%;\n z-index: 999;\n max-height: 80vh;\n margin: 10vh auto;\n background-color: var(--bgColor-default);\n border-radius: var(--borderRadius-medium);\n outline: none;\n box-shadow: var(--shadow-floating-large);\n transform: translateX(-50%);\n\n &:where([data-width='default']) {\n /* stylelint-disable-next-line primer/responsive-widths */\n width: 440px;\n }\n\n &:where([data-width='narrow']) {\n width: 320px;\n }\n\n &:where([data-width='wide']) {\n /* stylelint-disable-next-line primer/responsive-widths */\n width: 640px;\n }\n\n @media screen and (max-width: 750px) {\n width: 100dvw;\n height: 100dvh;\n margin: 0;\n border-radius: 0;\n }\n}\n\n.Header {\n display: flex;\n padding: var(--base-size-16);\n background: var(--bgColor-muted);\n border-bottom: var(--borderWidth-thin) solid var(--borderColor-default);\n border-radius: var(--borderRadius-medium) var(--borderRadius-medium) 0 0;\n\n @media screen and (max-width: 750px) {\n border-radius: 0;\n }\n}\n\n.HeaderChild {\n font-size: var(--text-body-size-medium);\n font-weight: var(--base-text-weight-semibold);\n}\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.prc-UnderlineNav-UnderlineNav-1AFnH{border-bottom:var(--borderWidth-thin,.0625rem) solid var(--borderColor-muted
|
|
1
|
+
.prc-UnderlineNav-UnderlineNav-1AFnH{border-bottom:var(--borderWidth-thin,.0625rem) solid var(--borderColor-muted,#d1d9e0b3);display:flex;justify-content:space-between}.prc-UnderlineNav-UnderlineNav-1AFnH.prc-UnderlineNav-UnderlineNav--right-gSEmk{justify-content:flex-end}.prc-UnderlineNav-UnderlineNav-1AFnH.prc-UnderlineNav-UnderlineNav--right-gSEmk .prc-UnderlineNav-UnderlineNavItem-TFW6v{margin-left:var(--base-size-16,1rem);margin-right:0}.prc-UnderlineNav-UnderlineNav-1AFnH.prc-UnderlineNav-UnderlineNav--right-gSEmk .prc-UnderlineNav-UnderlineNavActions-DASST{flex:1 1 auto}.prc-UnderlineNav-UnderlineNav-1AFnH.prc-UnderlineNav-UnderlineNav--full-ah6i4{display:block}.prc-UnderlineNav-UnderlineNav-1AFnH .prc-UnderlineNav-UnderlineNavBody-NCFdZ{display:flex;margin-bottom:-1px}.prc-UnderlineNav-UnderlineNav-1AFnH .prc-UnderlineNav-UnderlineNavActions-DASST{align-self:center}.prc-UnderlineNav-UnderlineNavLink-u9IaZ{border-bottom:2px solid transparent;color:var(--fgColor-default,#1f2328);font-size:var(--text-body-size-medium,.875rem);line-height:var(--text-title-lineHeight-large,1.5);margin-right:var(--base-size-16,1rem);padding:var(--base-size-16,1rem) var(--base-size-8,.5rem);text-align:center;-webkit-text-decoration:none;text-decoration:none}.prc-UnderlineNav-UnderlineNavLink-u9IaZ:focus:not(:disabled){box-shadow:none;outline:2px solid var(--fgColor-accent,#0969da);outline-offset:-8px}.prc-UnderlineNav-UnderlineNavLink-u9IaZ:focus:not(:disabled):not(:focus-visible){outline:1px solid transparent}.prc-UnderlineNav-UnderlineNavLink-u9IaZ:focus-visible:not(:disabled){box-shadow:none;outline:2px solid var(--fgColor-accent,#0969da);outline-offset:-8px}.prc-UnderlineNav-UnderlineNavLink-u9IaZ:focus,.prc-UnderlineNav-UnderlineNavLink-u9IaZ:hover{border-bottom-color:var(--borderColor-muted,#d1d9e0b3);color:var(--fgColor-default,#1f2328);-webkit-text-decoration:none;text-decoration:none;transition:border-bottom-color .2s ease}.prc-UnderlineNav-UnderlineNavLink-u9IaZ:focus .prc-UnderlineNav-UnderlineNavOcticon-oU5sK,.prc-UnderlineNav-UnderlineNavLink-u9IaZ:hover .prc-UnderlineNav-UnderlineNavOcticon-oU5sK{color:var(--fgColor-muted,#59636e)}.prc-UnderlineNav-UnderlineNavLink-u9IaZ:where([data-selected]){border-bottom-color:var(--underlineNav-borderColor-active,#fd8c73);color:var(--fgColor-default,#1f2328)}.prc-UnderlineNav-UnderlineNavLink-u9IaZ:where([data-selected]) .prc-UnderlineNav-UnderlineNavOcticon-oU5sK{color:var(--fgColor-default,#1f2328)}
|
|
2
2
|
/*# sourceMappingURL=UnderlineNav-0c1e0dff.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/deprecated/UnderlineNav/UnderlineNav.module.css.js"],"names":[],"mappings":"AAAA,qCAGE,
|
|
1
|
+
{"version":3,"sources":["../../src/deprecated/UnderlineNav/UnderlineNav.module.css.js"],"names":[],"mappings":"AAAA,qCAGE,uFAAqE,CAFrE,YAAa,CACb,6BA6BF,CA1BE,gFACE,wBACF,CAEA,yHAEE,oCAAgC,CADhC,cAEF,CAEA,4HACE,aACF,CAEA,+EACE,aACF,CAEA,8EACE,YAAa,CAEb,kBACF,CAEA,iFACE,iBACF,CAGF,yCAQE,mCAAoC,CAHpC,oCAA6B,CAF7B,8CAAuC,CACvC,kDAA+C,CAF/C,qCAAiC,CADjC,yDAA+C,CAK/C,iBAAkB,CAGlB,4BAAqB,CAArB,oBAoBF,CAjBE,8DACE,eAAgB,CAChB,+CAAwC,CACxC,mBAMF,CAHE,kFACE,6BACF,CAIF,sEACE,eAAgB,CAChB,+CAAwC,CACxC,mBACF,CAGF,8FAIE,sDAA6C,CAF7C,oCAA6B,CAC7B,4BAAqB,CAArB,oBAAqB,CAErB,uCACF,CAEA,sLAEE,kCACF,CAEA,gEAEE,kEAA2D,CAD3D,oCAEF,CAEA,4GACE,oCACF","file":"UnderlineNav-0c1e0dff.css","sourcesContent":[".UnderlineNav {\n display: flex;\n justify-content: space-between;\n border-bottom: var(--borderWidth-thin) solid var(--borderColor-muted);\n\n &.UnderlineNav--right {\n justify-content: flex-end;\n }\n\n &.UnderlineNav--right .UnderlineNavItem {\n margin-right: 0;\n margin-left: var(--base-size-16);\n }\n\n &.UnderlineNav--right .UnderlineNavActions {\n flex: 1 1 auto;\n }\n\n &.UnderlineNav--full {\n display: block;\n }\n\n .UnderlineNavBody {\n display: flex;\n /* stylelint-disable-next-line primer/spacing */\n margin-bottom: -1px;\n }\n\n .UnderlineNavActions {\n align-self: center;\n }\n}\n\n.UnderlineNavLink {\n padding: var(--base-size-16) var(--base-size-8);\n margin-right: var(--base-size-16);\n font-size: var(--text-body-size-medium);\n line-height: var(--text-title-lineHeight-large);\n color: var(--fgColor-default);\n text-align: center;\n /* stylelint-disable-next-line primer/borders */\n border-bottom: 2px solid transparent;\n text-decoration: none;\n\n /* fallback :focus state */\n &:focus:not(:disabled) {\n box-shadow: none;\n outline: 2px solid var(--fgColor-accent);\n outline-offset: -8px;\n\n /* remove fallback :focus if :focus-visible is supported */\n &:not(:focus-visible) {\n outline: solid 1px transparent;\n }\n }\n\n /* default focus state */\n &:focus-visible:not(:disabled) {\n box-shadow: none;\n outline: 2px solid var(--fgColor-accent);\n outline-offset: -8px;\n }\n}\n\n.UnderlineNavLink:hover,\n.UnderlineNavLink:focus {\n color: var(--fgColor-default);\n text-decoration: none;\n border-bottom-color: var(--borderColor-muted);\n transition: border-bottom-color 0.2s ease;\n}\n\n.UnderlineNavLink:hover .UnderlineNavOcticon,\n.UnderlineNavLink:focus .UnderlineNavOcticon {\n color: var(--fgColor-muted);\n}\n\n.UnderlineNavLink:where([data-selected]) {\n color: var(--fgColor-default);\n border-bottom-color: var(--underlineNav-borderColor-active);\n}\n\n.UnderlineNavLink:where([data-selected]) .UnderlineNavOcticon {\n color: var(--fgColor-default);\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-slots.d.ts","sourceRoot":"","sources":["../../../src/deprecated/utils/create-slots.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB;;;;;;;GAOG;AACH,QAAA,MAAM,WAAW,GAAI,SAAS,SAAS,MAAM,EAAE,WAAW,SAAS,EAAE;;;kBA0BvD,CAAC,KAAK,KAxBf,GAAG,mCAwBmB,KAAK,KAAK,CAAC,SAAS;;
|
|
1
|
+
{"version":3,"file":"create-slots.d.ts","sourceRoot":"","sources":["../../../src/deprecated/utils/create-slots.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB;;;;;;;GAOG;AACH,QAAA,MAAM,WAAW,GAAI,SAAS,SAAS,MAAM,EAAE,WAAW,SAAS,EAAE;;;kBA0BvD,CAAC,KAAK,KAxBf,GAAG,mCAwBmB,KAAK,KAAK,CAAC,SAAS;;WA+C/B,CAAC,SAAS;QAAC,IAAI,EAAE,SAAS,CAAC;QAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,OAAO,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,CAAA;KAAC;CAazG,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer primer.components.IssueLabel{.prc-IssueLabel-IssueLabel-tPs7V{align-items:center;background-color:var(--label-bgColor-rest);border:0;border-radius:var(--borderRadius-full,624.9375rem);box-shadow:var(--boxShadow-thin,inset 0 0 0 .0625rem) transparent;color:var(--label-fgColor);display:inline-flex;font-size:var(--text-body-size-small,.75rem);font-weight:var(--base-text-weight-semibold,600);line-height:var(--text-body-lineHeight-small,1.625);min-height:var(--base-size-20,1.25rem);padding-block:0;padding-inline:var(--base-size-8,.5rem);white-space:nowrap}.prc-IssueLabel-IssueLabel-tPs7V:where(button,a){-webkit-text-decoration:none;text-decoration:none}.prc-IssueLabel-IssueLabel-tPs7V:where(button,a):hover{background-color:var(--label-bgColor-hover);color:var(--label-fgColor-hover);cursor:pointer}.prc-IssueLabel-IssueLabel-tPs7V:where(button,a):active{background-color:var(--label-bgColor-active);color:var(--label-fgColor-active)}.prc-IssueLabel-IssueLabel-tPs7V:where(button,a):focus-visible{box-shadow:none;outline:2px solid var(--focus-outlineColor,var(--color-accent-fg));outline-offset:2px}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=pink]{--label-bgColor-rest:var(--label-pink-bgColor-rest,#ffe5f1);--label-bgColor-hover:var(--label-pink-bgColor-hover,#fdc9e2);--label-bgColor-active:var(--label-pink-bgColor-active,#f8a5cf);--label-fgColor:var(--label-pink-fgColor-rest,#b12f79);--label-fgColor-hover:var(--label-pink-fgColor-hover,#8e2e66);--label-fgColor-active:var(--label-pink-fgColor-active,#6e2b53)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=plum]{--label-bgColor-rest:var(--label-plum-bgColor-rest,#f8e5ff);--label-bgColor-hover:var(--label-plum-bgColor-hover,#f0cdfe);--label-bgColor-active:var(--label-plum-bgColor-active,#e2a7fb);--label-fgColor:var(--label-plum-fgColor-rest,#961edc);--label-fgColor-hover:var(--label-plum-fgColor-hover,#7d1eb8);--label-fgColor-active:var(--label-plum-fgColor-active,#651d96)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=purple]{--label-bgColor-rest:var(--label-purple-bgColor-rest,#f1e5ff);--label-bgColor-hover:var(--label-purple-bgColor-hover,#e6d2fe);--label-bgColor-active:var(--label-purple-bgColor-active,#d1b1fc);--label-fgColor:var(--label-purple-fgColor-rest,#783ae4);--label-fgColor-hover:var(--label-purple-fgColor-hover,#6223d7);--label-fgColor-active:var(--label-purple-fgColor-active,#4f21ab)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=indigo]{--label-bgColor-rest:var(--label-indigo-bgColor-rest,#e5e9ff);--label-bgColor-hover:var(--label-indigo-bgColor-hover,#d2d7fe);--label-bgColor-active:var(--label-indigo-bgColor-active,#b1b9fb);--label-fgColor:var(--label-indigo-fgColor-rest,#494edf);--label-fgColor-hover:var(--label-indigo-fgColor-hover,#393cd5);--label-fgColor-active:var(--label-indigo-fgColor-active,#2d2db4)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=blue]{--label-bgColor-rest:var(--label-blue-bgColor-rest,#d1f0ff);--label-bgColor-hover:var(--label-blue-bgColor-hover,#ade1ff);--label-bgColor-active:var(--label-blue-bgColor-active,#75c8ff);--label-fgColor:var(--label-blue-fgColor-rest,#005fcc);--label-fgColor-hover:var(--label-blue-fgColor-hover,#004db3);--label-fgColor-active:var(--label-blue-fgColor-active,#003d99)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=cyan]{--label-bgColor-rest:var(--label-cyan-bgColor-rest,#bdf4ff);--label-bgColor-hover:var(--label-cyan-bgColor-hover,#7ae9ff);--label-bgColor-active:var(--label-cyan-bgColor-active,#00d0fa);--label-fgColor:var(--label-cyan-fgColor-rest,#006a80);--label-fgColor-hover:var(--label-cyan-fgColor-hover,#00596b);--label-fgColor-active:var(--label-cyan-fgColor-active,#004857)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=teal]{--label-bgColor-rest:var(--label-teal-bgColor-rest,#c7f5ef);--label-bgColor-hover:var(--label-teal-bgColor-hover,#89ebe1);--label-bgColor-active:var(--label-teal-bgColor-active,#22d3c7);--label-fgColor:var(--label-teal-fgColor-rest,#106e75);--label-fgColor-hover:var(--label-teal-fgColor-hover,#0d5b63);--label-fgColor-active:var(--label-teal-fgColor-active,#0a4852)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=pine]{--label-bgColor-rest:var(--label-pine-bgColor-rest,#bff8db);--label-bgColor-hover:var(--label-pine-bgColor-hover,#80efb9);--label-bgColor-active:var(--label-pine-bgColor-active,#1dd781);--label-fgColor:var(--label-pine-fgColor-rest,#156f4b);--label-fgColor-hover:var(--label-pine-fgColor-hover,#135d41);--label-fgColor-active:var(--label-pine-fgColor-active,#114b36)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=green]{--label-bgColor-rest:var(--label-green-bgColor-rest,#caf7ca);--label-bgColor-hover:var(--label-green-bgColor-hover,#9ceda0);--label-bgColor-active:var(--label-green-bgColor-active,#54d961);--label-fgColor:var(--label-green-fgColor-rest,#2b6e3f);--label-fgColor-hover:var(--label-green-fgColor-hover,#285c3b);--label-fgColor-active:var(--label-green-fgColor-active,#254b34)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=lime]{--label-bgColor-rest:var(--label-lime-bgColor-rest,#e3f2b5);--label-bgColor-hover:var(--label-lime-bgColor-hover,#c7e580);--label-bgColor-active:var(--label-lime-bgColor-active,#9bd039);--label-fgColor:var(--label-lime-fgColor-rest,#476c28);--label-fgColor-hover:var(--label-lime-fgColor-hover,#3a5b25);--label-fgColor-active:var(--label-lime-fgColor-active,#2f4a21)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=olive]{--label-bgColor-rest:var(--label-olive-bgColor-rest,#f0f0ad);--label-bgColor-hover:var(--label-olive-bgColor-hover,#dbe170);--label-bgColor-active:var(--label-olive-bgColor-active,#b9c832);--label-fgColor:var(--label-olive-fgColor-rest,#56682c);--label-fgColor-hover:var(--label-olive-fgColor-hover,#495a2b);--label-fgColor-active:var(--label-olive-fgColor-active,#3b4927)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=lemon]{--label-bgColor-rest:var(--label-lemon-bgColor-rest,#f7eea1);--label-bgColor-hover:var(--label-lemon-bgColor-hover,#f0db3d);--label-bgColor-active:var(--label-lemon-bgColor-active,#d8bd0e);--label-fgColor:var(--label-lemon-fgColor-rest,#786002);--label-fgColor-hover:var(--label-lemon-fgColor-hover,#654f01);--label-fgColor-active:var(--label-lemon-fgColor-active,#523f00)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=yellow]{--label-bgColor-rest:var(--label-yellow-bgColor-rest,#ffec9e);--label-bgColor-hover:var(--label-yellow-bgColor-hover,#ffd642);--label-bgColor-active:var(--label-yellow-bgColor-active,#ebb400);--label-fgColor:var(--label-yellow-fgColor-rest,#805900);--label-fgColor-hover:var(--label-yellow-fgColor-hover,#704d00);--label-fgColor-active:var(--label-yellow-fgColor-active,#5c3d00)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=orange]{--label-bgColor-rest:var(--label-orange-bgColor-rest,#ffe7d1);--label-bgColor-hover:var(--label-orange-bgColor-hover,#fecfaa);--label-bgColor-active:var(--label-orange-bgColor-active,#fbaf74);--label-fgColor:var(--label-orange-fgColor-rest,#a24610);--label-fgColor-hover:var(--label-orange-fgColor-hover,#8d3c11);--label-fgColor-active:var(--label-orange-fgColor-active,#70300f)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=red]{--label-bgColor-rest:var(--label-red-bgColor-rest,#ffe2e0);--label-bgColor-hover:var(--label-red-bgColor-hover,#fecdcd);--label-bgColor-active:var(--label-red-bgColor-active,#fda5a7);--label-fgColor:var(--label-red-fgColor-rest,#c50d28);--label-fgColor-hover:var(--label-red-fgColor-hover,#a60c29);--label-fgColor-active:var(--label-red-fgColor-active,#880c27)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=coral]{--label-bgColor-rest:var(--label-coral-bgColor-rest,#ffe5db);--label-bgColor-hover:var(--label-coral-bgColor-hover,#fecebe);--label-bgColor-active:var(--label-coral-bgColor-active,#fcab92);--label-fgColor:var(--label-coral-fgColor-rest,#ba2e12);--label-fgColor-hover:var(--label-coral-fgColor-hover,#9b2712);--label-fgColor-active:var(--label-coral-fgColor-active,#7e2011)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=gray]{--label-bgColor-rest:var(--label-gray-bgColor-rest,#e8ecf2);--label-bgColor-hover:var(--label-gray-bgColor-hover,#d2dae4);--label-bgColor-active:var(--label-gray-bgColor-active,#b4c0cf);--label-fgColor:var(--label-gray-fgColor-rest,#5c6570);--label-fgColor-hover:var(--label-gray-fgColor-hover,#4e535a);--label-fgColor-active:var(--label-gray-fgColor-active,#424448)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=brown]{--label-bgColor-rest:var(--label-brown-bgColor-rest,#eeeae2);--label-bgColor-hover:var(--label-brown-bgColor-hover,#dfd7c8);--label-bgColor-active:var(--label-brown-bgColor-active,#cbbda4);--label-fgColor:var(--label-brown-fgColor-rest,#755f43);--label-fgColor-hover:var(--label-brown-fgColor-hover,#64513a);--label-fgColor-active:var(--label-brown-fgColor-active,#51412f)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=auburn]{--label-bgColor-rest:var(--label-auburn-bgColor-rest,#f2e9e9);--label-bgColor-hover:var(--label-auburn-bgColor-hover,#e6d6d5);--label-bgColor-active:var(--label-auburn-bgColor-active,#d4b7b5);--label-fgColor:var(--label-auburn-fgColor-rest,#8a5551);--label-fgColor-hover:var(--label-auburn-fgColor-hover,#744744);--label-fgColor-active:var(--label-auburn-fgColor-active,#5d3937)}[data-color-mode=dark] .prc-IssueLabel-IssueLabel-tPs7V:not([data-variant]){--label-bgColor-rest:var(--label-bgColor-dark-rest);--label-bgColor-hover:var(--label-bgColor-dark-hover);--label-bgColor-active:var(--label-bgColor-dark-active);--label-fgColor:var(--label-fgColor-dark);--label-fgColor-hover:var(--label-fgColor-dark-hover);--label-fgColor-active:var(--label-fgColor-dark-active)}[data-color-mode=light] .prc-IssueLabel-IssueLabel-tPs7V:not([data-variant]){--label-bgColor-rest:var(--label-bgColor-light-rest);--label-bgColor-hover:var(--label-bgColor-light-hover);--label-bgColor-active:var(--label-bgColor-light-active);--label-fgColor:var(--label-fgColor-light);--label-fgColor-hover:var(--label-fgColor-light-hover);--label-fgColor-active:var(--label-fgColor-light-active)}@media (prefers-color-scheme:light){[data-color-mode=auto][data-light-theme*=light] .prc-IssueLabel-IssueLabel-tPs7V:not([data-variant]){--label-bgColor-rest:var(--label-bgColor-light-rest);--label-bgColor-hover:var(--label-bgColor-light-hover);--label-bgColor-active:var(--label-bgColor-light-active);--label-fgColor:var(--label-fgColor-light);--label-fgColor-hover:var(--label-fgColor-light-hover);--label-fgColor-active:var(--label-fgColor-light-active)}[data-color-mode=auto][data-light-theme*=dark] .prc-IssueLabel-IssueLabel-tPs7V:not([data-variant]){--label-bgColor-rest:var(--label-bgColor-dark-rest);--label-bgColor-hover:var(--label-bgColor-dark-hover);--label-bgColor-active:var(--label-bgColor-dark-active);--label-fgColor:var(--label-fgColor-dark);--label-fgColor-hover:var(--label-fgColor-dark-hover);--label-fgColor-active:var(--label-fgColor-dark-active)}}@media (prefers-color-scheme:dark){[data-color-mode=auto][data-dark-theme*=light] .prc-IssueLabel-IssueLabel-tPs7V:not([data-variant]){--label-bgColor-rest:var(--label-bgColor-light-rest);--label-bgColor-hover:var(--label-bgColor-light-hover);--label-bgColor-active:var(--label-bgColor-light-active);--label-fgColor:var(--label-fgColor-light);--label-fgColor-hover:var(--label-fgColor-light-hover);--label-fgColor-active:var(--label-fgColor-light-active)}[data-color-mode=auto][data-dark-theme*=dark] .prc-IssueLabel-IssueLabel-tPs7V:not([data-variant]){--label-bgColor-rest:var(--label-bgColor-dark-rest);--label-bgColor-hover:var(--label-bgColor-dark-hover);--label-bgColor-active:var(--label-bgColor-dark-active);--label-fgColor:var(--label-fgColor-dark);--label-fgColor-hover:var(--label-fgColor-dark-hover);--label-fgColor-active:var(--label-fgColor-dark-active)}}}
|
|
1
|
+
@layer primer.components.IssueLabel{.prc-IssueLabel-IssueLabel-tPs7V{align-items:center;background-color:var(--label-bgColor-rest);border:0;border-radius:var(--borderRadius-full,624.9375rem);box-shadow:var(--boxShadow-thin,inset 0 0 0 .0625rem) transparent;color:var(--label-fgColor);display:inline-flex;font-size:var(--text-body-size-small,.75rem);font-weight:var(--base-text-weight-semibold,600);line-height:var(--text-body-lineHeight-small,1.625);min-height:var(--base-size-20,1.25rem);padding-block:0;padding-inline:var(--base-size-8,.5rem);white-space:nowrap}.prc-IssueLabel-IssueLabel-tPs7V:where(button,a){-webkit-text-decoration:none;text-decoration:none}.prc-IssueLabel-IssueLabel-tPs7V:where(button,a):hover{background-color:var(--label-bgColor-hover);color:var(--label-fgColor-hover);cursor:pointer}.prc-IssueLabel-IssueLabel-tPs7V:where(button,a):active{background-color:var(--label-bgColor-active);color:var(--label-fgColor-active)}.prc-IssueLabel-IssueLabel-tPs7V:where(button,a):focus-visible{box-shadow:none;outline:2px solid var(--focus-outline-color,var(--focus-outlineColor,#0969da));outline-offset:2px}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=pink]{--label-bgColor-rest:var(--label-pink-bgColor-rest,#ffe5f1);--label-bgColor-hover:var(--label-pink-bgColor-hover,#fdc9e2);--label-bgColor-active:var(--label-pink-bgColor-active,#f8a5cf);--label-fgColor:var(--label-pink-fgColor-rest,#b12f79);--label-fgColor-hover:var(--label-pink-fgColor-hover,#8e2e66);--label-fgColor-active:var(--label-pink-fgColor-active,#6e2b53)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=plum]{--label-bgColor-rest:var(--label-plum-bgColor-rest,#f8e5ff);--label-bgColor-hover:var(--label-plum-bgColor-hover,#f0cdfe);--label-bgColor-active:var(--label-plum-bgColor-active,#e2a7fb);--label-fgColor:var(--label-plum-fgColor-rest,#961edc);--label-fgColor-hover:var(--label-plum-fgColor-hover,#7d1eb8);--label-fgColor-active:var(--label-plum-fgColor-active,#651d96)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=purple]{--label-bgColor-rest:var(--label-purple-bgColor-rest,#f1e5ff);--label-bgColor-hover:var(--label-purple-bgColor-hover,#e6d2fe);--label-bgColor-active:var(--label-purple-bgColor-active,#d1b1fc);--label-fgColor:var(--label-purple-fgColor-rest,#783ae4);--label-fgColor-hover:var(--label-purple-fgColor-hover,#6223d7);--label-fgColor-active:var(--label-purple-fgColor-active,#4f21ab)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=indigo]{--label-bgColor-rest:var(--label-indigo-bgColor-rest,#e5e9ff);--label-bgColor-hover:var(--label-indigo-bgColor-hover,#d2d7fe);--label-bgColor-active:var(--label-indigo-bgColor-active,#b1b9fb);--label-fgColor:var(--label-indigo-fgColor-rest,#494edf);--label-fgColor-hover:var(--label-indigo-fgColor-hover,#393cd5);--label-fgColor-active:var(--label-indigo-fgColor-active,#2d2db4)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=blue]{--label-bgColor-rest:var(--label-blue-bgColor-rest,#d1f0ff);--label-bgColor-hover:var(--label-blue-bgColor-hover,#ade1ff);--label-bgColor-active:var(--label-blue-bgColor-active,#75c8ff);--label-fgColor:var(--label-blue-fgColor-rest,#005fcc);--label-fgColor-hover:var(--label-blue-fgColor-hover,#004db3);--label-fgColor-active:var(--label-blue-fgColor-active,#003d99)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=cyan]{--label-bgColor-rest:var(--label-cyan-bgColor-rest,#bdf4ff);--label-bgColor-hover:var(--label-cyan-bgColor-hover,#7ae9ff);--label-bgColor-active:var(--label-cyan-bgColor-active,#00d0fa);--label-fgColor:var(--label-cyan-fgColor-rest,#006a80);--label-fgColor-hover:var(--label-cyan-fgColor-hover,#00596b);--label-fgColor-active:var(--label-cyan-fgColor-active,#004857)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=teal]{--label-bgColor-rest:var(--label-teal-bgColor-rest,#c7f5ef);--label-bgColor-hover:var(--label-teal-bgColor-hover,#89ebe1);--label-bgColor-active:var(--label-teal-bgColor-active,#22d3c7);--label-fgColor:var(--label-teal-fgColor-rest,#106e75);--label-fgColor-hover:var(--label-teal-fgColor-hover,#0d5b63);--label-fgColor-active:var(--label-teal-fgColor-active,#0a4852)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=pine]{--label-bgColor-rest:var(--label-pine-bgColor-rest,#bff8db);--label-bgColor-hover:var(--label-pine-bgColor-hover,#80efb9);--label-bgColor-active:var(--label-pine-bgColor-active,#1dd781);--label-fgColor:var(--label-pine-fgColor-rest,#156f4b);--label-fgColor-hover:var(--label-pine-fgColor-hover,#135d41);--label-fgColor-active:var(--label-pine-fgColor-active,#114b36)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=green]{--label-bgColor-rest:var(--label-green-bgColor-rest,#caf7ca);--label-bgColor-hover:var(--label-green-bgColor-hover,#9ceda0);--label-bgColor-active:var(--label-green-bgColor-active,#54d961);--label-fgColor:var(--label-green-fgColor-rest,#2b6e3f);--label-fgColor-hover:var(--label-green-fgColor-hover,#285c3b);--label-fgColor-active:var(--label-green-fgColor-active,#254b34)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=lime]{--label-bgColor-rest:var(--label-lime-bgColor-rest,#e3f2b5);--label-bgColor-hover:var(--label-lime-bgColor-hover,#c7e580);--label-bgColor-active:var(--label-lime-bgColor-active,#9bd039);--label-fgColor:var(--label-lime-fgColor-rest,#476c28);--label-fgColor-hover:var(--label-lime-fgColor-hover,#3a5b25);--label-fgColor-active:var(--label-lime-fgColor-active,#2f4a21)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=olive]{--label-bgColor-rest:var(--label-olive-bgColor-rest,#f0f0ad);--label-bgColor-hover:var(--label-olive-bgColor-hover,#dbe170);--label-bgColor-active:var(--label-olive-bgColor-active,#b9c832);--label-fgColor:var(--label-olive-fgColor-rest,#56682c);--label-fgColor-hover:var(--label-olive-fgColor-hover,#495a2b);--label-fgColor-active:var(--label-olive-fgColor-active,#3b4927)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=lemon]{--label-bgColor-rest:var(--label-lemon-bgColor-rest,#f7eea1);--label-bgColor-hover:var(--label-lemon-bgColor-hover,#f0db3d);--label-bgColor-active:var(--label-lemon-bgColor-active,#d8bd0e);--label-fgColor:var(--label-lemon-fgColor-rest,#786002);--label-fgColor-hover:var(--label-lemon-fgColor-hover,#654f01);--label-fgColor-active:var(--label-lemon-fgColor-active,#523f00)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=yellow]{--label-bgColor-rest:var(--label-yellow-bgColor-rest,#ffec9e);--label-bgColor-hover:var(--label-yellow-bgColor-hover,#ffd642);--label-bgColor-active:var(--label-yellow-bgColor-active,#ebb400);--label-fgColor:var(--label-yellow-fgColor-rest,#805900);--label-fgColor-hover:var(--label-yellow-fgColor-hover,#704d00);--label-fgColor-active:var(--label-yellow-fgColor-active,#5c3d00)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=orange]{--label-bgColor-rest:var(--label-orange-bgColor-rest,#ffe7d1);--label-bgColor-hover:var(--label-orange-bgColor-hover,#fecfaa);--label-bgColor-active:var(--label-orange-bgColor-active,#fbaf74);--label-fgColor:var(--label-orange-fgColor-rest,#a24610);--label-fgColor-hover:var(--label-orange-fgColor-hover,#8d3c11);--label-fgColor-active:var(--label-orange-fgColor-active,#70300f)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=red]{--label-bgColor-rest:var(--label-red-bgColor-rest,#ffe2e0);--label-bgColor-hover:var(--label-red-bgColor-hover,#fecdcd);--label-bgColor-active:var(--label-red-bgColor-active,#fda5a7);--label-fgColor:var(--label-red-fgColor-rest,#c50d28);--label-fgColor-hover:var(--label-red-fgColor-hover,#a60c29);--label-fgColor-active:var(--label-red-fgColor-active,#880c27)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=coral]{--label-bgColor-rest:var(--label-coral-bgColor-rest,#ffe5db);--label-bgColor-hover:var(--label-coral-bgColor-hover,#fecebe);--label-bgColor-active:var(--label-coral-bgColor-active,#fcab92);--label-fgColor:var(--label-coral-fgColor-rest,#ba2e12);--label-fgColor-hover:var(--label-coral-fgColor-hover,#9b2712);--label-fgColor-active:var(--label-coral-fgColor-active,#7e2011)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=gray]{--label-bgColor-rest:var(--label-gray-bgColor-rest,#e8ecf2);--label-bgColor-hover:var(--label-gray-bgColor-hover,#d2dae4);--label-bgColor-active:var(--label-gray-bgColor-active,#b4c0cf);--label-fgColor:var(--label-gray-fgColor-rest,#5c6570);--label-fgColor-hover:var(--label-gray-fgColor-hover,#4e535a);--label-fgColor-active:var(--label-gray-fgColor-active,#424448)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=brown]{--label-bgColor-rest:var(--label-brown-bgColor-rest,#eeeae2);--label-bgColor-hover:var(--label-brown-bgColor-hover,#dfd7c8);--label-bgColor-active:var(--label-brown-bgColor-active,#cbbda4);--label-fgColor:var(--label-brown-fgColor-rest,#755f43);--label-fgColor-hover:var(--label-brown-fgColor-hover,#64513a);--label-fgColor-active:var(--label-brown-fgColor-active,#51412f)}.prc-IssueLabel-IssueLabel-tPs7V[data-variant=auburn]{--label-bgColor-rest:var(--label-auburn-bgColor-rest,#f2e9e9);--label-bgColor-hover:var(--label-auburn-bgColor-hover,#e6d6d5);--label-bgColor-active:var(--label-auburn-bgColor-active,#d4b7b5);--label-fgColor:var(--label-auburn-fgColor-rest,#8a5551);--label-fgColor-hover:var(--label-auburn-fgColor-hover,#744744);--label-fgColor-active:var(--label-auburn-fgColor-active,#5d3937)}[data-color-mode=dark] .prc-IssueLabel-IssueLabel-tPs7V:not([data-variant]){--label-bgColor-rest:var(--label-bgColor-dark-rest);--label-bgColor-hover:var(--label-bgColor-dark-hover);--label-bgColor-active:var(--label-bgColor-dark-active);--label-fgColor:var(--label-fgColor-dark);--label-fgColor-hover:var(--label-fgColor-dark-hover);--label-fgColor-active:var(--label-fgColor-dark-active)}[data-color-mode=light] .prc-IssueLabel-IssueLabel-tPs7V:not([data-variant]){--label-bgColor-rest:var(--label-bgColor-light-rest);--label-bgColor-hover:var(--label-bgColor-light-hover);--label-bgColor-active:var(--label-bgColor-light-active);--label-fgColor:var(--label-fgColor-light);--label-fgColor-hover:var(--label-fgColor-light-hover);--label-fgColor-active:var(--label-fgColor-light-active)}@media (prefers-color-scheme:light){[data-color-mode=auto][data-light-theme*=light] .prc-IssueLabel-IssueLabel-tPs7V:not([data-variant]){--label-bgColor-rest:var(--label-bgColor-light-rest);--label-bgColor-hover:var(--label-bgColor-light-hover);--label-bgColor-active:var(--label-bgColor-light-active);--label-fgColor:var(--label-fgColor-light);--label-fgColor-hover:var(--label-fgColor-light-hover);--label-fgColor-active:var(--label-fgColor-light-active)}[data-color-mode=auto][data-light-theme*=dark] .prc-IssueLabel-IssueLabel-tPs7V:not([data-variant]){--label-bgColor-rest:var(--label-bgColor-dark-rest);--label-bgColor-hover:var(--label-bgColor-dark-hover);--label-bgColor-active:var(--label-bgColor-dark-active);--label-fgColor:var(--label-fgColor-dark);--label-fgColor-hover:var(--label-fgColor-dark-hover);--label-fgColor-active:var(--label-fgColor-dark-active)}}@media (prefers-color-scheme:dark){[data-color-mode=auto][data-dark-theme*=light] .prc-IssueLabel-IssueLabel-tPs7V:not([data-variant]){--label-bgColor-rest:var(--label-bgColor-light-rest);--label-bgColor-hover:var(--label-bgColor-light-hover);--label-bgColor-active:var(--label-bgColor-light-active);--label-fgColor:var(--label-fgColor-light);--label-fgColor-hover:var(--label-fgColor-light-hover);--label-fgColor-active:var(--label-fgColor-light-active)}[data-color-mode=auto][data-dark-theme*=dark] .prc-IssueLabel-IssueLabel-tPs7V:not([data-variant]){--label-bgColor-rest:var(--label-bgColor-dark-rest);--label-bgColor-hover:var(--label-bgColor-dark-hover);--label-bgColor-active:var(--label-bgColor-dark-active);--label-fgColor:var(--label-fgColor-dark);--label-fgColor-hover:var(--label-fgColor-dark-hover);--label-fgColor-active:var(--label-fgColor-dark-active)}}}
|
|
2
2
|
/*# sourceMappingURL=IssueLabel-2007d7e7.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/experimental/IssueLabel/IssueLabel.module.css.js","../../../postcss-preset-primer/src/mixins/focusOutline.css"],"names":[],"mappings":"AAAA,oCACE,iCAgBE,kBAAmB,CANnB,0CAA2C,CAC3C,QAAS,CACT,kDAAuC,CAGvC,iEAA6C,CAR7C,0BAA2B,CAN3B,mBAAoB,CAEpB,4CAAsC,CACtC,gDAA6C,CAC7C,mDAA8C,CAH9C,sCAA+B,CAgB/B,eAAgB,CADhB,uCAAkC,CATlC,kBA8MF,CAjME,iDACE,4BAAqB,CAArB,oBAoBF,CAlBE,uDAKE,2CAA4C,CAH5C,gCA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D,CACxD,iEAA0D,CAC1D,wDAAiD,CACjD,+DAAwD,CACxD,iEACF,CAEA,sDACE,6DAAsD,CACtD,+DAAwD,CACxD,iEAA0D,CAC1D,wDAAiD,CACjD,+DAAwD,CACxD,iEACF,CAEA,mDACE,0DAAmD,CACnD,4DAAqD,CACrD,8DAAuD,CACvD,qDAA8C,CAC9C,4DAAqD,CACrD,8DACF,CAEA,qDACE,4DAAqD,CACrD,8DAAuD,CACvD,gEAAyD,CACzD,uDAAgD,CAChD,8DAAuD,CACvD,gEACF,CAEA,oDACE,2DAAoD,CACpD,6DAAsD,CACtD,+DAAwD,CACxD,sDAA+C,CAC/C,6DAAsD,CACtD,+DACF,CAEA,qDACE,4DAAqD,CACrD,8DAAuD,CACvD,gEAAyD,CACzD,uDAAgD,CAChD,8DAAuD,CACvD,gEACF,CAEA,sDACE,6DAAsD,CACtD,+DAAwD,CACxD,iEAA0D,CAC1D,wDAAiD,CACjD,+DAAwD,CACxD,iEACF,CAGF,4EACE,mDAAoD,CACpD,qDAAsD,CACtD,uDAAwD,CACxD,yCAA0C,CAC1C,qDAAsD,CACtD,uDACF,CAEA,6EACE,oDAAqD,CACrD,sDAAuD,CACvD,wDAAyD,CACzD,0CAA2C,CAC3C,sDAAuD,CACvD,wDACF,CAEA,oCACE,qGACE,oDAAqD,CACrD,sDAAuD,CACvD,wDAAyD,CACzD,0CAA2C,CAC3C,sDAAuD,CACvD,wDACF,CAEA,oGACE,mDAAoD,CACpD,qDAAsD,CACtD,uDAAwD,CACxD,yCAA0C,CAC1C,qDAAsD,CACtD,uDACF,CACF,CAEA,mCACE,oGACE,oDAAqD,CACrD,sDAAuD,CACvD,wDAAyD,CACzD,0CAA2C,CAC3C,sDAAuD,CACvD,wDACF,CAEA,mGACE,mDAAoD,CACpD,qDAAsD,CACtD,uDAAwD,CACxD,yCAA0C,CAC1C,qDAAsD,CACtD,uDACF,CACF,CACF","file":"IssueLabel-2007d7e7.css","sourcesContent":["@layer primer.components.IssueLabel {\n .IssueLabel {\n display: inline-flex;\n min-height: var(--base-size-20);\n font-size: var(--text-body-size-small);\n font-weight: var(--base-text-weight-semibold);\n line-height: var(--text-body-lineHeight-small);\n /* stylelint-disable-next-line primer/colors */\n color: var(--label-fgColor);\n white-space: nowrap;\n /* stylelint-disable-next-line primer/colors */\n background-color: var(--label-bgColor-rest);\n border: 0;\n border-radius: var(--borderRadius-full);\n\n /* use color var for box-shadow (border) in future for high contrast themes */\n box-shadow: var(--boxShadow-thin) transparent;\n align-items: center;\n padding-inline: var(--base-size-8);\n padding-block: 0;\n\n /* stylelint-disable-next-line selector-max-type */\n &:where(button, a) {\n text-decoration: none;\n\n &:hover {\n /* stylelint-disable-next-line primer/colors */\n color: var(--label-fgColor-hover);\n cursor: pointer;\n /* stylelint-disable-next-line primer/colors */\n background-color: var(--label-bgColor-hover);\n }\n\n &:active {\n /* stylelint-disable-next-line primer/colors */\n color: var(--label-fgColor-active);\n /* stylelint-disable-next-line primer/colors */\n background-color: var(--label-bgColor-active);\n }\n\n &:focus-visible {\n @mixin focusOutline 2px;\n }\n }\n\n &[data-variant='pink'] {\n --label-bgColor-rest: var(--label-pink-bgColor-rest);\n --label-bgColor-hover: var(--label-pink-bgColor-hover);\n --label-bgColor-active: var(--label-pink-bgColor-active);\n --label-fgColor: var(--label-pink-fgColor-rest);\n --label-fgColor-hover: var(--label-pink-fgColor-hover);\n --label-fgColor-active: var(--label-pink-fgColor-active);\n }\n\n &[data-variant='plum'] {\n --label-bgColor-rest: var(--label-plum-bgColor-rest);\n --label-bgColor-hover: var(--label-plum-bgColor-hover);\n --label-bgColor-active: var(--label-plum-bgColor-active);\n --label-fgColor: var(--label-plum-fgColor-rest);\n --label-fgColor-hover: var(--label-plum-fgColor-hover);\n --label-fgColor-active: var(--label-plum-fgColor-active);\n }\n\n &[data-variant='purple'] {\n --label-bgColor-rest: var(--label-purple-bgColor-rest);\n --label-bgColor-hover: var(--label-purple-bgColor-hover);\n --label-bgColor-active: var(--label-purple-bgColor-active);\n --label-fgColor: var(--label-purple-fgColor-rest);\n --label-fgColor-hover: var(--label-purple-fgColor-hover);\n --label-fgColor-active: var(--label-purple-fgColor-active);\n }\n\n &[data-variant='indigo'] {\n --label-bgColor-rest: var(--label-indigo-bgColor-rest);\n --label-bgColor-hover: var(--label-indigo-bgColor-hover);\n --label-bgColor-active: var(--label-indigo-bgColor-active);\n --label-fgColor: var(--label-indigo-fgColor-rest);\n --label-fgColor-hover: var(--label-indigo-fgColor-hover);\n --label-fgColor-active: var(--label-indigo-fgColor-active);\n }\n\n &[data-variant='blue'] {\n --label-bgColor-rest: var(--label-blue-bgColor-rest);\n --label-bgColor-hover: var(--label-blue-bgColor-hover);\n --label-bgColor-active: var(--label-blue-bgColor-active);\n --label-fgColor: var(--label-blue-fgColor-rest);\n --label-fgColor-hover: var(--label-blue-fgColor-hover);\n --label-fgColor-active: var(--label-blue-fgColor-active);\n }\n\n &[data-variant='cyan'] {\n --label-bgColor-rest: var(--label-cyan-bgColor-rest);\n --label-bgColor-hover: var(--label-cyan-bgColor-hover);\n --label-bgColor-active: var(--label-cyan-bgColor-active);\n --label-fgColor: var(--label-cyan-fgColor-rest);\n --label-fgColor-hover: var(--label-cyan-fgColor-hover);\n --label-fgColor-active: var(--label-cyan-fgColor-active);\n }\n\n &[data-variant='teal'] {\n --label-bgColor-rest: var(--label-teal-bgColor-rest);\n --label-bgColor-hover: var(--label-teal-bgColor-hover);\n --label-bgColor-active: var(--label-teal-bgColor-active);\n --label-fgColor: var(--label-teal-fgColor-rest);\n --label-fgColor-hover: var(--label-teal-fgColor-hover);\n --label-fgColor-active: var(--label-teal-fgColor-active);\n }\n\n &[data-variant='pine'] {\n --label-bgColor-rest: var(--label-pine-bgColor-rest);\n --label-bgColor-hover: var(--label-pine-bgColor-hover);\n --label-bgColor-active: var(--label-pine-bgColor-active);\n --label-fgColor: var(--label-pine-fgColor-rest);\n --label-fgColor-hover: var(--label-pine-fgColor-hover);\n --label-fgColor-active: var(--label-pine-fgColor-active);\n }\n\n &[data-variant='green'] {\n --label-bgColor-rest: var(--label-green-bgColor-rest);\n --label-bgColor-hover: var(--label-green-bgColor-hover);\n --label-bgColor-active: var(--label-green-bgColor-active);\n --label-fgColor: var(--label-green-fgColor-rest);\n --label-fgColor-hover: var(--label-green-fgColor-hover);\n --label-fgColor-active: var(--label-green-fgColor-active);\n }\n\n &[data-variant='lime'] {\n --label-bgColor-rest: var(--label-lime-bgColor-rest);\n --label-bgColor-hover: var(--label-lime-bgColor-hover);\n --label-bgColor-active: var(--label-lime-bgColor-active);\n --label-fgColor: var(--label-lime-fgColor-rest);\n --label-fgColor-hover: var(--label-lime-fgColor-hover);\n --label-fgColor-active: var(--label-lime-fgColor-active);\n }\n\n &[data-variant='olive'] {\n --label-bgColor-rest: var(--label-olive-bgColor-rest);\n --label-bgColor-hover: var(--label-olive-bgColor-hover);\n --label-bgColor-active: var(--label-olive-bgColor-active);\n --label-fgColor: var(--label-olive-fgColor-rest);\n --label-fgColor-hover: var(--label-olive-fgColor-hover);\n --label-fgColor-active: var(--label-olive-fgColor-active);\n }\n\n &[data-variant='lemon'] {\n --label-bgColor-rest: var(--label-lemon-bgColor-rest);\n --label-bgColor-hover: var(--label-lemon-bgColor-hover);\n --label-bgColor-active: var(--label-lemon-bgColor-active);\n --label-fgColor: var(--label-lemon-fgColor-rest);\n --label-fgColor-hover: var(--label-lemon-fgColor-hover);\n --label-fgColor-active: var(--label-lemon-fgColor-active);\n }\n\n &[data-variant='yellow'] {\n --label-bgColor-rest: var(--label-yellow-bgColor-rest);\n --label-bgColor-hover: var(--label-yellow-bgColor-hover);\n --label-bgColor-active: var(--label-yellow-bgColor-active);\n --label-fgColor: var(--label-yellow-fgColor-rest);\n --label-fgColor-hover: var(--label-yellow-fgColor-hover);\n --label-fgColor-active: var(--label-yellow-fgColor-active);\n }\n\n &[data-variant='orange'] {\n --label-bgColor-rest: var(--label-orange-bgColor-rest);\n --label-bgColor-hover: var(--label-orange-bgColor-hover);\n --label-bgColor-active: var(--label-orange-bgColor-active);\n --label-fgColor: var(--label-orange-fgColor-rest);\n --label-fgColor-hover: var(--label-orange-fgColor-hover);\n --label-fgColor-active: var(--label-orange-fgColor-active);\n }\n\n &[data-variant='red'] {\n --label-bgColor-rest: var(--label-red-bgColor-rest);\n --label-bgColor-hover: var(--label-red-bgColor-hover);\n --label-bgColor-active: var(--label-red-bgColor-active);\n --label-fgColor: var(--label-red-fgColor-rest);\n --label-fgColor-hover: var(--label-red-fgColor-hover);\n --label-fgColor-active: var(--label-red-fgColor-active);\n }\n\n &[data-variant='coral'] {\n --label-bgColor-rest: var(--label-coral-bgColor-rest);\n --label-bgColor-hover: var(--label-coral-bgColor-hover);\n --label-bgColor-active: var(--label-coral-bgColor-active);\n --label-fgColor: var(--label-coral-fgColor-rest);\n --label-fgColor-hover: var(--label-coral-fgColor-hover);\n --label-fgColor-active: var(--label-coral-fgColor-active);\n }\n\n &[data-variant='gray'] {\n --label-bgColor-rest: var(--label-gray-bgColor-rest);\n --label-bgColor-hover: var(--label-gray-bgColor-hover);\n --label-bgColor-active: var(--label-gray-bgColor-active);\n --label-fgColor: var(--label-gray-fgColor-rest);\n --label-fgColor-hover: var(--label-gray-fgColor-hover);\n --label-fgColor-active: var(--label-gray-fgColor-active);\n }\n\n &[data-variant='brown'] {\n --label-bgColor-rest: var(--label-brown-bgColor-rest);\n --label-bgColor-hover: var(--label-brown-bgColor-hover);\n --label-bgColor-active: var(--label-brown-bgColor-active);\n --label-fgColor: var(--label-brown-fgColor-rest);\n --label-fgColor-hover: var(--label-brown-fgColor-hover);\n --label-fgColor-active: var(--label-brown-fgColor-active);\n }\n\n &[data-variant='auburn'] {\n --label-bgColor-rest: var(--label-auburn-bgColor-rest);\n --label-bgColor-hover: var(--label-auburn-bgColor-hover);\n --label-bgColor-active: var(--label-auburn-bgColor-active);\n --label-fgColor: var(--label-auburn-fgColor-rest);\n --label-fgColor-hover: var(--label-auburn-fgColor-hover);\n --label-fgColor-active: var(--label-auburn-fgColor-active);\n }\n }\n\n [data-color-mode='dark'] .IssueLabel:not([data-variant]) {\n --label-bgColor-rest: var(--label-bgColor-dark-rest);\n --label-bgColor-hover: var(--label-bgColor-dark-hover);\n --label-bgColor-active: var(--label-bgColor-dark-active);\n --label-fgColor: var(--label-fgColor-dark);\n --label-fgColor-hover: var(--label-fgColor-dark-hover);\n --label-fgColor-active: var(--label-fgColor-dark-active);\n }\n\n [data-color-mode='light'] .IssueLabel:not([data-variant]) {\n --label-bgColor-rest: var(--label-bgColor-light-rest);\n --label-bgColor-hover: var(--label-bgColor-light-hover);\n --label-bgColor-active: var(--label-bgColor-light-active);\n --label-fgColor: var(--label-fgColor-light);\n --label-fgColor-hover: var(--label-fgColor-light-hover);\n --label-fgColor-active: var(--label-fgColor-light-active);\n }\n\n @media (prefers-color-scheme: light) {\n [data-color-mode='auto'][data-light-theme*='light'] .IssueLabel:not([data-variant]) {\n --label-bgColor-rest: var(--label-bgColor-light-rest);\n --label-bgColor-hover: var(--label-bgColor-light-hover);\n --label-bgColor-active: var(--label-bgColor-light-active);\n --label-fgColor: var(--label-fgColor-light);\n --label-fgColor-hover: var(--label-fgColor-light-hover);\n --label-fgColor-active: var(--label-fgColor-light-active);\n }\n\n [data-color-mode='auto'][data-light-theme*='dark'] .IssueLabel:not([data-variant]) {\n --label-bgColor-rest: var(--label-bgColor-dark-rest);\n --label-bgColor-hover: var(--label-bgColor-dark-hover);\n --label-bgColor-active: var(--label-bgColor-dark-active);\n --label-fgColor: var(--label-fgColor-dark);\n --label-fgColor-hover: var(--label-fgColor-dark-hover);\n --label-fgColor-active: var(--label-fgColor-dark-active);\n }\n }\n\n @media (prefers-color-scheme: dark) {\n [data-color-mode='auto'][data-dark-theme*='light'] .IssueLabel:not([data-variant]) {\n --label-bgColor-rest: var(--label-bgColor-light-rest);\n --label-bgColor-hover: var(--label-bgColor-light-hover);\n --label-bgColor-active: var(--label-bgColor-light-active);\n --label-fgColor: var(--label-fgColor-light);\n --label-fgColor-hover: var(--label-fgColor-light-hover);\n --label-fgColor-active: var(--label-fgColor-light-active);\n }\n\n [data-color-mode='auto'][data-dark-theme*='dark'] .IssueLabel:not([data-variant]) {\n --label-bgColor-rest: var(--label-bgColor-dark-rest);\n --label-bgColor-hover: var(--label-bgColor-dark-hover);\n --label-bgColor-active: var(--label-bgColor-dark-active);\n --label-fgColor: var(--label-fgColor-dark);\n --label-fgColor-hover: var(--label-fgColor-dark-hover);\n --label-fgColor-active: var(--label-fgColor-dark-active);\n }\n }\n}\n","@define-mixin focusOutline $outlineOffset: -2px, $outlineColor: var(--focus-outlineColor) {\n outline: 2px solid $outlineColor;\n outline-offset: $outlineOffset;\n box-shadow: none;\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../../src/experimental/IssueLabel/IssueLabel.module.css.js","../../../postcss-preset-primer/src/mixins/focusOutline.css"],"names":[],"mappings":"AAAA,oCACE,iCAgBE,kBAAmB,CANnB,0CAA2C,CAC3C,QAAS,CACT,kDAAuC,CAGvC,iEAA6C,CAR7C,0BAA2B,CAN3B,mBAAoB,CAEpB,4CAAsC,CACtC,gDAA6C,CAC7C,mDAA8C,CAH9C,sCAA+B,CAgB/B,eAAgB,CADhB,uCAAkC,CATlC,kBA8MF,CAjME,iDACE,4BAAqB,CAArB,oBAoBF,CAlBE,uDAKE,2CAA4C,CAH5C,gCAAiC,CACjC,cAGF,CAEA,wDAIE,4CAA6C,CAF7C,iCAGF,CAEA,+DCrCJ,eAAgB,CAFhB,8EAAgC,CAChC,kBDwCI,CAGF,oDACE,2DAAoD,CACpD,6DAAsD,CACtD,+DAAwD,CACxD,sDAA+C,CAC/C,6DAAsD,CACtD,+DACF,CAEA,oDACE,2DAAoD,CACpD,6DAAsD,CACtD,+DAAwD,CACxD,sDAA+C,CAC/C,6DAAsD,CACtD,+DACF,CAEA,sDACE,6DAAsD,CACtD,+DAAwD,CACxD,iEAA0D,CAC1D,wDAAiD,CACjD,+DAAwD,CACxD,iEACF,CAEA,sDACE,6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C,CAC/C,6DAAsD,CACtD,+DACF,CAEA,qDACE,4DAAqD,CACrD,8DAAuD,CACvD,gEAAyD,CACzD,uDAAgD,CAChD,8DAAuD,CACvD,gEACF,CAEA,sDACE,6DAAsD,CACtD,+DAAwD,CACxD,iEAA0D,CAC1D,wDAAiD,CACjD,+DAAwD,CACxD,iEACF,CAGF,4EACE,mDAAoD,CACpD,qDAAsD,CACtD,uDAAwD,CACxD,yCAA0C,CAC1C,qDAAsD,CACtD,uDACF,CAEA,6EACE,oDAAqD,CACrD,sDAAuD,CACvD,wDAAyD,CACzD,0CAA2C,CAC3C,sDAAuD,CACvD,wDACF,CAEA,oCACE,qGACE,oDAAqD,CACrD,sDAAuD,CACvD,wDAAyD,CACzD,0CAA2C,CAC3C,sDAAuD,CACvD,wDACF,CAEA,oGACE,mDAAoD,CACpD,qDAAsD,CACtD,uDAAwD,CACxD,yCAA0C,CAC1C,qDAAsD,CACtD,uDACF,CACF,CAEA,mCACE,oGACE,oDAAqD,CACrD,sDAAuD,CACvD,wDAAyD,CACzD,0CAA2C,CAC3C,sDAAuD,CACvD,wDACF,CAEA,mGACE,mDAAoD,CACpD,qDAAsD,CACtD,uDAAwD,CACxD,yCAA0C,CAC1C,qDAAsD,CACtD,uDACF,CACF,CACF","file":"IssueLabel-2007d7e7.css","sourcesContent":["@layer primer.components.IssueLabel {\n .IssueLabel {\n display: inline-flex;\n min-height: var(--base-size-20);\n font-size: var(--text-body-size-small);\n font-weight: var(--base-text-weight-semibold);\n line-height: var(--text-body-lineHeight-small);\n /* stylelint-disable-next-line primer/colors */\n color: var(--label-fgColor);\n white-space: nowrap;\n /* stylelint-disable-next-line primer/colors */\n background-color: var(--label-bgColor-rest);\n border: 0;\n border-radius: var(--borderRadius-full);\n\n /* use color var for box-shadow (border) in future for high contrast themes */\n box-shadow: var(--boxShadow-thin) transparent;\n align-items: center;\n padding-inline: var(--base-size-8);\n padding-block: 0;\n\n /* stylelint-disable-next-line selector-max-type */\n &:where(button, a) {\n text-decoration: none;\n\n &:hover {\n /* stylelint-disable-next-line primer/colors */\n color: var(--label-fgColor-hover);\n cursor: pointer;\n /* stylelint-disable-next-line primer/colors */\n background-color: var(--label-bgColor-hover);\n }\n\n &:active {\n /* stylelint-disable-next-line primer/colors */\n color: var(--label-fgColor-active);\n /* stylelint-disable-next-line primer/colors */\n background-color: var(--label-bgColor-active);\n }\n\n &:focus-visible {\n @mixin focusOutline 2px;\n }\n }\n\n &[data-variant='pink'] {\n --label-bgColor-rest: var(--label-pink-bgColor-rest);\n --label-bgColor-hover: var(--label-pink-bgColor-hover);\n --label-bgColor-active: var(--label-pink-bgColor-active);\n --label-fgColor: var(--label-pink-fgColor-rest);\n --label-fgColor-hover: var(--label-pink-fgColor-hover);\n --label-fgColor-active: var(--label-pink-fgColor-active);\n }\n\n &[data-variant='plum'] {\n --label-bgColor-rest: var(--label-plum-bgColor-rest);\n --label-bgColor-hover: var(--label-plum-bgColor-hover);\n --label-bgColor-active: var(--label-plum-bgColor-active);\n --label-fgColor: var(--label-plum-fgColor-rest);\n --label-fgColor-hover: var(--label-plum-fgColor-hover);\n --label-fgColor-active: var(--label-plum-fgColor-active);\n }\n\n &[data-variant='purple'] {\n --label-bgColor-rest: var(--label-purple-bgColor-rest);\n --label-bgColor-hover: var(--label-purple-bgColor-hover);\n --label-bgColor-active: var(--label-purple-bgColor-active);\n --label-fgColor: var(--label-purple-fgColor-rest);\n --label-fgColor-hover: var(--label-purple-fgColor-hover);\n --label-fgColor-active: var(--label-purple-fgColor-active);\n }\n\n &[data-variant='indigo'] {\n --label-bgColor-rest: var(--label-indigo-bgColor-rest);\n --label-bgColor-hover: var(--label-indigo-bgColor-hover);\n --label-bgColor-active: var(--label-indigo-bgColor-active);\n --label-fgColor: var(--label-indigo-fgColor-rest);\n --label-fgColor-hover: var(--label-indigo-fgColor-hover);\n --label-fgColor-active: var(--label-indigo-fgColor-active);\n }\n\n &[data-variant='blue'] {\n --label-bgColor-rest: var(--label-blue-bgColor-rest);\n --label-bgColor-hover: var(--label-blue-bgColor-hover);\n --label-bgColor-active: var(--label-blue-bgColor-active);\n --label-fgColor: var(--label-blue-fgColor-rest);\n --label-fgColor-hover: var(--label-blue-fgColor-hover);\n --label-fgColor-active: var(--label-blue-fgColor-active);\n }\n\n &[data-variant='cyan'] {\n --label-bgColor-rest: var(--label-cyan-bgColor-rest);\n --label-bgColor-hover: var(--label-cyan-bgColor-hover);\n --label-bgColor-active: var(--label-cyan-bgColor-active);\n --label-fgColor: var(--label-cyan-fgColor-rest);\n --label-fgColor-hover: var(--label-cyan-fgColor-hover);\n --label-fgColor-active: var(--label-cyan-fgColor-active);\n }\n\n &[data-variant='teal'] {\n --label-bgColor-rest: var(--label-teal-bgColor-rest);\n --label-bgColor-hover: var(--label-teal-bgColor-hover);\n --label-bgColor-active: var(--label-teal-bgColor-active);\n --label-fgColor: var(--label-teal-fgColor-rest);\n --label-fgColor-hover: var(--label-teal-fgColor-hover);\n --label-fgColor-active: var(--label-teal-fgColor-active);\n }\n\n &[data-variant='pine'] {\n --label-bgColor-rest: var(--label-pine-bgColor-rest);\n --label-bgColor-hover: var(--label-pine-bgColor-hover);\n --label-bgColor-active: var(--label-pine-bgColor-active);\n --label-fgColor: var(--label-pine-fgColor-rest);\n --label-fgColor-hover: var(--label-pine-fgColor-hover);\n --label-fgColor-active: var(--label-pine-fgColor-active);\n }\n\n &[data-variant='green'] {\n --label-bgColor-rest: var(--label-green-bgColor-rest);\n --label-bgColor-hover: var(--label-green-bgColor-hover);\n --label-bgColor-active: var(--label-green-bgColor-active);\n --label-fgColor: var(--label-green-fgColor-rest);\n --label-fgColor-hover: var(--label-green-fgColor-hover);\n --label-fgColor-active: var(--label-green-fgColor-active);\n }\n\n &[data-variant='lime'] {\n --label-bgColor-rest: var(--label-lime-bgColor-rest);\n --label-bgColor-hover: var(--label-lime-bgColor-hover);\n --label-bgColor-active: var(--label-lime-bgColor-active);\n --label-fgColor: var(--label-lime-fgColor-rest);\n --label-fgColor-hover: var(--label-lime-fgColor-hover);\n --label-fgColor-active: var(--label-lime-fgColor-active);\n }\n\n &[data-variant='olive'] {\n --label-bgColor-rest: var(--label-olive-bgColor-rest);\n --label-bgColor-hover: var(--label-olive-bgColor-hover);\n --label-bgColor-active: var(--label-olive-bgColor-active);\n --label-fgColor: var(--label-olive-fgColor-rest);\n --label-fgColor-hover: var(--label-olive-fgColor-hover);\n --label-fgColor-active: var(--label-olive-fgColor-active);\n }\n\n &[data-variant='lemon'] {\n --label-bgColor-rest: var(--label-lemon-bgColor-rest);\n --label-bgColor-hover: var(--label-lemon-bgColor-hover);\n --label-bgColor-active: var(--label-lemon-bgColor-active);\n --label-fgColor: var(--label-lemon-fgColor-rest);\n --label-fgColor-hover: var(--label-lemon-fgColor-hover);\n --label-fgColor-active: var(--label-lemon-fgColor-active);\n }\n\n &[data-variant='yellow'] {\n --label-bgColor-rest: var(--label-yellow-bgColor-rest);\n --label-bgColor-hover: var(--label-yellow-bgColor-hover);\n --label-bgColor-active: var(--label-yellow-bgColor-active);\n --label-fgColor: var(--label-yellow-fgColor-rest);\n --label-fgColor-hover: var(--label-yellow-fgColor-hover);\n --label-fgColor-active: var(--label-yellow-fgColor-active);\n }\n\n &[data-variant='orange'] {\n --label-bgColor-rest: var(--label-orange-bgColor-rest);\n --label-bgColor-hover: var(--label-orange-bgColor-hover);\n --label-bgColor-active: var(--label-orange-bgColor-active);\n --label-fgColor: var(--label-orange-fgColor-rest);\n --label-fgColor-hover: var(--label-orange-fgColor-hover);\n --label-fgColor-active: var(--label-orange-fgColor-active);\n }\n\n &[data-variant='red'] {\n --label-bgColor-rest: var(--label-red-bgColor-rest);\n --label-bgColor-hover: var(--label-red-bgColor-hover);\n --label-bgColor-active: var(--label-red-bgColor-active);\n --label-fgColor: var(--label-red-fgColor-rest);\n --label-fgColor-hover: var(--label-red-fgColor-hover);\n --label-fgColor-active: var(--label-red-fgColor-active);\n }\n\n &[data-variant='coral'] {\n --label-bgColor-rest: var(--label-coral-bgColor-rest);\n --label-bgColor-hover: var(--label-coral-bgColor-hover);\n --label-bgColor-active: var(--label-coral-bgColor-active);\n --label-fgColor: var(--label-coral-fgColor-rest);\n --label-fgColor-hover: var(--label-coral-fgColor-hover);\n --label-fgColor-active: var(--label-coral-fgColor-active);\n }\n\n &[data-variant='gray'] {\n --label-bgColor-rest: var(--label-gray-bgColor-rest);\n --label-bgColor-hover: var(--label-gray-bgColor-hover);\n --label-bgColor-active: var(--label-gray-bgColor-active);\n --label-fgColor: var(--label-gray-fgColor-rest);\n --label-fgColor-hover: var(--label-gray-fgColor-hover);\n --label-fgColor-active: var(--label-gray-fgColor-active);\n }\n\n &[data-variant='brown'] {\n --label-bgColor-rest: var(--label-brown-bgColor-rest);\n --label-bgColor-hover: var(--label-brown-bgColor-hover);\n --label-bgColor-active: var(--label-brown-bgColor-active);\n --label-fgColor: var(--label-brown-fgColor-rest);\n --label-fgColor-hover: var(--label-brown-fgColor-hover);\n --label-fgColor-active: var(--label-brown-fgColor-active);\n }\n\n &[data-variant='auburn'] {\n --label-bgColor-rest: var(--label-auburn-bgColor-rest);\n --label-bgColor-hover: var(--label-auburn-bgColor-hover);\n --label-bgColor-active: var(--label-auburn-bgColor-active);\n --label-fgColor: var(--label-auburn-fgColor-rest);\n --label-fgColor-hover: var(--label-auburn-fgColor-hover);\n --label-fgColor-active: var(--label-auburn-fgColor-active);\n }\n }\n\n [data-color-mode='dark'] .IssueLabel:not([data-variant]) {\n --label-bgColor-rest: var(--label-bgColor-dark-rest);\n --label-bgColor-hover: var(--label-bgColor-dark-hover);\n --label-bgColor-active: var(--label-bgColor-dark-active);\n --label-fgColor: var(--label-fgColor-dark);\n --label-fgColor-hover: var(--label-fgColor-dark-hover);\n --label-fgColor-active: var(--label-fgColor-dark-active);\n }\n\n [data-color-mode='light'] .IssueLabel:not([data-variant]) {\n --label-bgColor-rest: var(--label-bgColor-light-rest);\n --label-bgColor-hover: var(--label-bgColor-light-hover);\n --label-bgColor-active: var(--label-bgColor-light-active);\n --label-fgColor: var(--label-fgColor-light);\n --label-fgColor-hover: var(--label-fgColor-light-hover);\n --label-fgColor-active: var(--label-fgColor-light-active);\n }\n\n @media (prefers-color-scheme: light) {\n [data-color-mode='auto'][data-light-theme*='light'] .IssueLabel:not([data-variant]) {\n --label-bgColor-rest: var(--label-bgColor-light-rest);\n --label-bgColor-hover: var(--label-bgColor-light-hover);\n --label-bgColor-active: var(--label-bgColor-light-active);\n --label-fgColor: var(--label-fgColor-light);\n --label-fgColor-hover: var(--label-fgColor-light-hover);\n --label-fgColor-active: var(--label-fgColor-light-active);\n }\n\n [data-color-mode='auto'][data-light-theme*='dark'] .IssueLabel:not([data-variant]) {\n --label-bgColor-rest: var(--label-bgColor-dark-rest);\n --label-bgColor-hover: var(--label-bgColor-dark-hover);\n --label-bgColor-active: var(--label-bgColor-dark-active);\n --label-fgColor: var(--label-fgColor-dark);\n --label-fgColor-hover: var(--label-fgColor-dark-hover);\n --label-fgColor-active: var(--label-fgColor-dark-active);\n }\n }\n\n @media (prefers-color-scheme: dark) {\n [data-color-mode='auto'][data-dark-theme*='light'] .IssueLabel:not([data-variant]) {\n --label-bgColor-rest: var(--label-bgColor-light-rest);\n --label-bgColor-hover: var(--label-bgColor-light-hover);\n --label-bgColor-active: var(--label-bgColor-light-active);\n --label-fgColor: var(--label-fgColor-light);\n --label-fgColor-hover: var(--label-fgColor-light-hover);\n --label-fgColor-active: var(--label-fgColor-light-active);\n }\n\n [data-color-mode='auto'][data-dark-theme*='dark'] .IssueLabel:not([data-variant]) {\n --label-bgColor-rest: var(--label-bgColor-dark-rest);\n --label-bgColor-hover: var(--label-bgColor-dark-hover);\n --label-bgColor-active: var(--label-bgColor-dark-active);\n --label-fgColor: var(--label-fgColor-dark);\n --label-fgColor-hover: var(--label-fgColor-dark-hover);\n --label-fgColor-active: var(--label-fgColor-dark-active);\n }\n }\n}\n","@define-mixin focusOutline $outlineOffset: -2px, $outlineColor: var(--focus-outline-color, var(--focus-outlineColor)) {\n outline: 2px solid $outlineColor;\n outline-offset: $outlineOffset;\n box-shadow: none;\n}\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.prc-SelectPanel2-Overlay--Q-FI{border:none;color:var(--fgColor-default
|
|
1
|
+
.prc-SelectPanel2-Overlay--Q-FI{border:none;color:var(--fgColor-default,#1f2328);padding:0;--max-height:0;--position-top:0;--position-left:0}.prc-SelectPanel2-Overlay--Q-FI:where([open]){display:flex}.prc-SelectPanel2-Overlay--Q-FI:where([data-variant=anchored]),.prc-SelectPanel2-Overlay--Q-FI:where([data-variant=full-screen]){left:var(--position-left);margin:0;top:var(--position-top)}:is(.prc-SelectPanel2-Overlay--Q-FI:where([data-variant=anchored]),.prc-SelectPanel2-Overlay--Q-FI:where([data-variant=full-screen]))::backdrop{background-color:transparent}.prc-SelectPanel2-Overlay--Q-FI:where([data-variant=modal]){bottom:0;left:0;right:0;top:0}.prc-SelectPanel2-Overlay--Q-FI:where([data-variant=modal])::backdrop{background-color:var(--overlay-backdrop-bgColor,#c8d1da66)}.prc-SelectPanel2-Overlay--Q-FI:where([data-variant=full-screen]){border-radius:unset;height:100%;left:0;margin:0;max-height:100vh;max-width:100vw;top:0;width:100%}.prc-SelectPanel2-Overlay--Q-FI:where([data-variant=bottom-sheet]){border-bottom-left-radius:0;border-bottom-right-radius:0;bottom:0;left:0;margin:0;max-height:calc(100vh - 64px);max-width:100vw;top:auto;width:100%}.prc-SelectPanel2-Form-bZ9HS{width:100%}.prc-SelectPanel2-Container-e5e6-,.prc-SelectPanel2-Form-bZ9HS{display:flex;flex-direction:column}.prc-SelectPanel2-Container-e5e6-{flex-grow:1;flex-shrink:1;justify-content:space-between;overflow:hidden}.prc-SelectPanel2-Container-e5e6- ul{flex-grow:1;overflow-y:auto}.prc-SelectPanel2-Container-e5e6- li:not(:focus,[data-is-active-descendant],[data-active]){contain-intrinsic-size:auto 32px;content-visibility:auto}.prc-SelectPanel2-HeaderContent-MsaAS{align-items:center;display:flex;justify-content:space-between;margin-bottom:0}.prc-SelectPanel2-HeaderContent-MsaAS:where([data-description]){align-items:flex-start}.prc-SelectPanel2-HeaderContent-MsaAS:where([data-search-input]){margin-bottom:var(--base-size-8,.5rem)}.prc-SelectPanel2-TitleWrapper-HzPu3{margin-left:var(--base-size-8,.5rem);margin-top:0}.prc-SelectPanel2-TitleWrapper-HzPu3:where([data-description]){margin-top:2px}.prc-SelectPanel2-TitleWrapper-HzPu3:where([data-on-back]){margin-left:var(--base-size-4,.25rem)}.prc-SelectPanel2-TextInput-lHH1n{padding-left:var(--base-size-8,.5rem)!important}.prc-SelectPanel2-TextInput-lHH1n:has(input:placeholder-shown) .TextInput-action{display:none}.prc-SelectPanel2-Checkbox-AYR38{margin-top:0}.prc-SelectPanel2-FlexBox-gWPRg{display:flex}.prc-SelectPanel2-Title-T-h3f{font-size:var(--text-body-size-medium,.875rem);font-weight:var(--base-text-weight-semibold,600)}.prc-SelectPanel2-Description-qTXfi{display:block;font-size:var(--text-body-size-small,.75rem)}.prc-SelectPanel2-ClearAction-tQj-f,.prc-SelectPanel2-Description-qTXfi{color:var(--fgColor-muted,#59636e)}.prc-SelectPanel2-ClearAction-tQj-f{background:none}.prc-SelectPanel2-Footer-TibV0{align-items:center;border-top:var(--borderWidth-thin,.0625rem) solid;border-top-color:var(--borderColor-default,#d1d9e0);display:flex;flex-shrink:0;justify-content:space-between;min-height:44px;padding:var(--base-size-16,1rem)}.prc-SelectPanel2-Footer-TibV0:where([data-hide-primary-actions]){padding:var(--base-size-8,.5rem)}.prc-SelectPanel2-FooterContent-UjAOM{flex-grow:0}.prc-SelectPanel2-FooterContent-UjAOM:where([data-hide-primary-actions]){flex-grow:1}.prc-SelectPanel2-FooterActions-T6yQR,.prc-SelectPanel2-SecondaryCheckbox-omkf-{display:flex;gap:var(--stack-gap-condensed,.5rem)}.prc-SelectPanel2-SecondaryCheckbox-omkf-{align-items:center}.prc-SelectPanel2-SmallText-c42ay{font-size:var(--text-body-size-small,.75rem)}.prc-SelectPanel2-SelectPanelLoading-mtyhD{align-items:center;display:flex;flex-direction:column;gap:var(--stack-gap-normal,1rem);height:100%;justify-content:center;min-height:min(calc(var(--max-height) - 150px),324px)}.prc-SelectPanel2-LoadingText-DB0wN{color:var(--fgColor-muted,#59636e);font-size:var(--text-body-size-medium,.875rem)}.prc-SelectPanel2-MessageFull-nY-qF{align-items:center;display:flex;flex-direction:column;flex-grow:1;gap:var(--base-size-4,.25rem);height:100%;justify-content:center;min-height:min(calc(var(--max-height) - 150px),324px);padding-left:var(--base-size-24,1.5rem);padding-right:var(--base-size-24,1.5rem);text-align:center}.prc-SelectPanel2-MessageFull-nY-qF a{color:inherit;-webkit-text-decoration:underline;text-decoration:underline}.prc-SelectPanel2-Octicon-zt-zU{margin-bottom:var(--base-size-8,.5rem)}.prc-SelectPanel2-Octicon-zt-zU.prc-SelectPanel2-Error-ZrZQQ{color:var(--fgColor-danger,#d1242f)}.prc-SelectPanel2-Octicon-zt-zU.prc-SelectPanel2-Warning-PDsVF{color:var(--fgColor-attention,#9a6700)}.prc-SelectPanel2-MessageTitle-T7v9d{font-size:var(--text-body-size-medium,.875rem);font-weight:var(--base-text-weight-medium,500)}.prc-SelectPanel2-MessageContent-UZ9vY{align-items:center;color:var(--fgColor-muted,#59636e);flex-direction:column;font-size:var(--text-body-size-medium,.875rem)}.prc-SelectPanel2-MessageContent-UZ9vY,.prc-SelectPanel2-MessageInline-sErQf{display:flex;gap:var(--stack-gap-condensed,.5rem)}.prc-SelectPanel2-MessageInline-sErQf{border-bottom:var(--borderWidth-thin,.0625rem) solid;font-size:var(--text-body-size-small,.75rem);padding:var(--base-size-12,.75rem) var(--base-size-16,1rem)}.prc-SelectPanel2-MessageInline-sErQf a{color:inherit;-webkit-text-decoration:underline;text-decoration:underline}.prc-SelectPanel2-MessageInline-sErQf:where([data-variant=error]){background-color:var(--bgColor-danger-muted,#ffebe9);border-color:var(--borderColor-danger-muted,#ff818266);color:var(--fgColor-danger,#d1242f)}.prc-SelectPanel2-MessageInline-sErQf:where([data-variant=warning]){background-color:var(--bgColor-attention-muted,#fff8c5);border-color:var(--borderColor-attention-muted,#d4a72c66);color:var(--fgColor-attention,#9a6700)}.prc-SelectPanel2-Header-LKyEJ{border-bottom:var(--borderWidth-thin,.0625rem) solid;border-bottom-color:var(--borderColor-default,#d1d9e0);display:flex;flex-direction:column;padding:var(--base-size-8,.5rem)}
|
|
2
2
|
/*# sourceMappingURL=SelectPanel-40b4ba73.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/experimental/SelectPanel2/SelectPanel.module.css.js"],"names":[],"mappings":"AAAA,gCAGE,WAAY,CADZ,
|
|
1
|
+
{"version":3,"sources":["../../src/experimental/SelectPanel2/SelectPanel.module.css.js"],"names":[],"mappings":"AAAA,gCAGE,WAAY,CADZ,oCAA6B,CAD7B,SAAU,CAKV,cAAe,CACf,gBAAiB,CACjB,iBAoDF,CAlDE,8CACE,YACF,CAEA,iIAKE,yBAA0B,CAC1B,QAAS,CAHT,uBAQF,CAHE,gJACE,4BACF,CAGF,4DAIE,QAAS,CAFT,MAAO,CACP,OAAQ,CAFR,KAIF,CAEA,sEACE,0DACF,CAEA,kEAQE,mBAAoB,CAHpB,WAAY,CAHZ,MAAO,CAKP,QAAS,CADT,gBAAiB,CAFjB,eAAgB,CAHhB,KAAM,CAEN,UAMF,CAEA,mEASE,2BAA4B,CAD5B,4BAA6B,CAN7B,QAAS,CACT,MAAO,CAIP,QAAS,CADT,6BAA8B,CAD9B,eAAgB,CAJhB,QAAS,CAGT,UAMF,CAGF,6BAEE,UAEF,CAEA,+DALE,YAAa,CAEb,qBAwBF,CArBA,kCAKE,WAAY,CADZ,aAAc,CAEd,6BAA8B,CAJ9B,eAmBF,CAbE,qCAEE,WAAY,CADZ,eAEF,CAMA,2FAEE,gCAAiC,CADjC,uBAEF,CAGF,sCAGE,kBAAmB,CAFnB,YAAa,CACb,6BAA8B,CAE9B,eASF,CAPE,gEACE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D,CAFhD,sCAGF,CAGF,+BAIE,oDAA4C,CAC5C,sDAA+C,CAJ/C,YAAa,CAEb,qBAAsB,CADtB,gCAIF","file":"SelectPanel-40b4ba73.css","sourcesContent":[".Overlay {\n padding: 0;\n color: var(--fgColor-default);\n border: none;\n\n /* CSS variables values are passed in via styles */\n --max-height: 0;\n --position-top: 0;\n --position-left: 0;\n\n &:where([open]) {\n display: flex; /* to fit children */\n }\n\n &:where([data-variant='anchored']),\n &:where([data-variant='full-screen']) {\n /* stylelint-disable-next-line primer/spacing */\n top: var(--position-top);\n /* stylelint-disable-next-line primer/spacing */\n left: var(--position-left);\n margin: 0;\n\n &::backdrop {\n background-color: transparent;\n }\n }\n\n &:where([data-variant='modal']) {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n\n &:where([data-variant='modal'])::backdrop {\n background-color: var(--overlay-backdrop-bgColor);\n }\n\n &:where([data-variant='full-screen']) {\n top: 0;\n left: 0;\n width: 100%;\n max-width: 100vw;\n height: 100%;\n max-height: 100vh;\n margin: 0;\n border-radius: unset;\n }\n\n &:where([data-variant='bottom-sheet']) {\n top: auto;\n bottom: 0;\n left: 0;\n width: 100%;\n max-width: 100vw;\n max-height: calc(100vh - 64px);\n margin: 0;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n }\n}\n\n.Form {\n display: flex;\n width: 100%;\n flex-direction: column;\n}\n\n.Container {\n display: flex;\n overflow: hidden;\n flex-direction: column;\n flex-shrink: 1;\n flex-grow: 1;\n justify-content: space-between;\n\n ul {\n overflow-y: auto;\n flex-grow: 1;\n }\n\n /* Allow the browser to skip rendering for off-screen items, reducing style recalc and layout costs in long lists.\n Exclude items that show the active indicator line, as content-visibility: auto applies paint containment\n which clips the absolutely-positioned ::after pseudo-element that renders outside the item bounds. */\n /* stylelint-disable-next-line selector-no-qualifying-type */\n li:not(:focus, [data-is-active-descendant], [data-active]) {\n content-visibility: auto;\n contain-intrinsic-size: auto 32px;\n }\n}\n\n.HeaderContent {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 0;\n\n &:where([data-description]) {\n align-items: flex-start;\n }\n\n &:where([data-search-input]) {\n margin-bottom: var(--base-size-8);\n }\n}\n\n.TitleWrapper {\n margin-top: 0;\n margin-left: var(--base-size-8);\n\n &:where([data-description]) {\n /* stylelint-disable-next-line primer/spacing */\n margin-top: 2px;\n }\n\n &:where([data-on-back]) {\n margin-left: var(--base-size-4);\n }\n}\n\n.TextInput {\n padding-left: var(--base-size-8) !important;\n\n /* stylelint-disable-next-line selector-class-pattern, selector-no-qualifying-type */\n &:has(input:placeholder-shown) :global(.TextInput-action) {\n display: none;\n }\n}\n\n.Checkbox {\n margin-top: 0;\n}\n\n.FlexBox {\n display: flex;\n}\n\n.Title {\n font-size: var(--text-body-size-medium);\n font-weight: var(--base-text-weight-semibold);\n}\n\n.Description {\n display: block;\n font-size: var(--text-body-size-small);\n color: var(--fgColor-muted);\n}\n\n.ClearAction {\n color: var(--fgColor-muted);\n background: none;\n}\n\n.Footer {\n display: flex;\n min-height: 44px;\n padding: var(--base-size-16);\n border-top: var(--borderWidth-thin) solid;\n border-top-color: var(--borderColor-default);\n justify-content: space-between;\n align-items: center;\n flex-shrink: 0;\n\n &:where([data-hide-primary-actions]) {\n padding: var(--base-size-8);\n }\n}\n\n.FooterContent {\n flex-grow: 0;\n\n &:where([data-hide-primary-actions]) {\n flex-grow: 1;\n }\n}\n\n.FooterActions {\n display: flex;\n gap: var(--stack-gap-condensed);\n}\n\n.SecondaryCheckbox {\n display: flex;\n align-items: center;\n gap: var(--stack-gap-condensed);\n}\n\n.SmallText {\n font-size: var(--text-body-size-small);\n}\n\n.SelectPanelLoading {\n display: flex;\n height: 100%;\n\n /* maxHeight of dialog - (header & footer) */\n min-height: min(calc(var(--max-height) - 150px), 324px);\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: var(--stack-gap-normal);\n}\n\n.LoadingText {\n font-size: var(--text-body-size-medium);\n color: var(--fgColor-muted);\n}\n\n.MessageFull {\n display: flex;\n height: 100%;\n\n /* maxHeight of dialog - (header & footer) */\n min-height: min(calc(var(--max-height) - 150px), 324px);\n padding-right: var(--base-size-24);\n padding-left: var(--base-size-24);\n text-align: center;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n flex-grow: 1;\n gap: var(--base-size-4);\n\n a {\n color: inherit;\n text-decoration: underline;\n }\n}\n\n.Octicon {\n margin-bottom: var(--base-size-8);\n\n &.Error {\n color: var(--fgColor-danger);\n }\n\n &.Warning {\n color: var(--fgColor-attention);\n }\n}\n\n.MessageTitle {\n font-size: var(--text-body-size-medium);\n font-weight: var(--base-text-weight-medium);\n}\n\n.MessageContent {\n display: flex;\n font-size: var(--text-body-size-medium);\n color: var(--fgColor-muted);\n flex-direction: column;\n gap: var(--stack-gap-condensed);\n align-items: center;\n}\n\n.MessageInline {\n display: flex;\n padding-top: var(--base-size-12);\n padding-right: var(--base-size-16);\n padding-bottom: var(--base-size-12);\n padding-left: var(--base-size-16);\n font-size: var(--text-body-size-small);\n border-bottom: var(--borderWidth-thin) solid;\n gap: var(--stack-gap-condensed);\n\n a {\n color: inherit;\n text-decoration: underline;\n }\n\n &:where([data-variant='error']) {\n color: var(--fgColor-danger);\n background-color: var(--bgColor-danger-muted);\n border-color: var(--borderColor-danger-muted);\n }\n\n &:where([data-variant='warning']) {\n color: var(--fgColor-attention);\n background-color: var(--bgColor-attention-muted);\n border-color: var(--borderColor-attention-muted);\n }\n}\n\n.Header {\n display: flex;\n padding: var(--base-size-8);\n flex-direction: column;\n border-bottom: var(--borderWidth-thin) solid;\n border-bottom-color: var(--borderColor-default);\n}\n"]}
|