Skip to content

Commit 3dd1e5e

Browse files
authored
chore(SelectPanel): Move SelectPanel component css module feature flag to staff (#5397)
* Move SelectPanel to staff * Create fuzzy-owls-dance.md
1 parent 167c8d4 commit 3dd1e5e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.changeset/fuzzy-owls-dance.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": patch
3+
---
4+
5+
Move Textarea component css module feature flag to staff

packages/react/src/experimental/SelectPanel2/SelectPanel.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import {useFeatureFlag} from '../../FeatureFlags'
3030

3131
import classes from './SelectPanel.module.css'
3232

33-
const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_team'
33+
const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_staff'
3434

3535
const SelectPanelContext = React.createContext<{
3636
title: string
@@ -232,7 +232,7 @@ const Panel: React.FC<SelectPanelProps> = ({
232232
[internalOpen, anchorRef.current, dialogRef.current],
233233
)
234234

235-
/*
235+
/*
236236
We want to cancel and close the panel when user clicks outside.
237237
See decision log: https://github.com/github/primer/discussions/2614#discussioncomment-8544561
238238
*/
@@ -468,7 +468,7 @@ const SelectPanelHeader: React.FC<React.ComponentPropsWithoutRef<'div'> & {onBac
468468
data-description={description ? true : undefined}
469469
data-on-back={onBack ? true : undefined}
470470
>
471-
{/* heading element is intentionally hardcoded to h1, it is not customisable
471+
{/* heading element is intentionally hardcoded to h1, it is not customisable
472472
see https://github.com/github/primer/issues/2578 for context
473473
*/}
474474
<Heading

0 commit comments

Comments
 (0)