diff --git a/.changeset/cyan-gorillas-carry.md b/.changeset/cyan-gorillas-carry.md new file mode 100644 index 00000000000..8207b8ce2bf --- /dev/null +++ b/.changeset/cyan-gorillas-carry.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Move Popover CSS modules feature flag from staff to ga diff --git a/.changeset/dirty-moles-own.md b/.changeset/dirty-moles-own.md new file mode 100644 index 00000000000..32e270dcdcd --- /dev/null +++ b/.changeset/dirty-moles-own.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Move Textarea CSS modules feature flag from staff to ga diff --git a/.changeset/few-rockets-retire.md b/.changeset/few-rockets-retire.md new file mode 100644 index 00000000000..1dc6adbf1de --- /dev/null +++ b/.changeset/few-rockets-retire.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Move UnstyledTextInput CSS modules feature flag from staff to ga diff --git a/.changeset/flat-candles-burn.md b/.changeset/flat-candles-burn.md new file mode 100644 index 00000000000..dc7883871f2 --- /dev/null +++ b/.changeset/flat-candles-burn.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Move SelectPanel2 CSS modules feature flag from staff to ga diff --git a/.changeset/large-socks-clean.md b/.changeset/large-socks-clean.md new file mode 100644 index 00000000000..5a8840f3f9f --- /dev/null +++ b/.changeset/large-socks-clean.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Move Breadcrumbs CSS modules feature flag from staff to ga diff --git a/.changeset/late-humans-guess.md b/.changeset/late-humans-guess.md new file mode 100644 index 00000000000..8ab8ca6247b --- /dev/null +++ b/.changeset/late-humans-guess.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Move ProgressBar CSS modules feature flag from staff to ga diff --git a/.changeset/lucky-snakes-jump.md b/.changeset/lucky-snakes-jump.md new file mode 100644 index 00000000000..bee7fddab90 --- /dev/null +++ b/.changeset/lucky-snakes-jump.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Move Dialog CSS modules feature flag from staff to ga diff --git a/.changeset/pink-bats-grow.md b/.changeset/pink-bats-grow.md new file mode 100644 index 00000000000..ecc62c6fe79 --- /dev/null +++ b/.changeset/pink-bats-grow.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Move Timeline CSS modules feature flag from staff to ga diff --git a/.changeset/tough-tigers-vanish.md b/.changeset/tough-tigers-vanish.md new file mode 100644 index 00000000000..dba4e19eef8 --- /dev/null +++ b/.changeset/tough-tigers-vanish.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Move DialogV1 CSS modules feature flag from staff to ga diff --git a/.changeset/tricky-avocados-live.md b/.changeset/tricky-avocados-live.md new file mode 100644 index 00000000000..5ae1b1e3382 --- /dev/null +++ b/.changeset/tricky-avocados-live.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Move TreeView CSS modules feature flag from staff to ga diff --git a/.changeset/wicked-zoos-bake.md b/.changeset/wicked-zoos-bake.md new file mode 100644 index 00000000000..f8bf16cf068 --- /dev/null +++ b/.changeset/wicked-zoos-bake.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Move CheckboxOrRadioGroup CSS modules feature flag from staff to ga diff --git a/packages/react/src/Breadcrumbs/Breadcrumbs.tsx b/packages/react/src/Breadcrumbs/Breadcrumbs.tsx index 0ca3e45afab..ee33f08a482 100644 --- a/packages/react/src/Breadcrumbs/Breadcrumbs.tsx +++ b/packages/react/src/Breadcrumbs/Breadcrumbs.tsx @@ -13,7 +13,7 @@ import {useFeatureFlag} from '../FeatureFlags' import type {ForwardRefComponent as PolymorphicForwardRefComponent} from '../utils/polymorphic' const SELECTED_CLASS = 'selected' -const CSS_MODULES_FLAG = 'primer_react_css_modules_staff' +const CSS_MODULES_FLAG = 'primer_react_css_modules_ga' const Wrapper = toggleStyledComponent( CSS_MODULES_FLAG, diff --git a/packages/react/src/Dialog/Dialog.tsx b/packages/react/src/Dialog/Dialog.tsx index 0152906ada3..f359932bf8b 100644 --- a/packages/react/src/Dialog/Dialog.tsx +++ b/packages/react/src/Dialog/Dialog.tsx @@ -172,7 +172,7 @@ export interface DialogHeaderProps extends DialogProps { dialogDescriptionId: string } -const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_staff' +const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_ga' const Backdrop = toggleStyledComponent( CSS_MODULES_FEATURE_FLAG, diff --git a/packages/react/src/DialogV1/Dialog.tsx b/packages/react/src/DialogV1/Dialog.tsx index 7361b223251..040e5b4165e 100644 --- a/packages/react/src/DialogV1/Dialog.tsx +++ b/packages/react/src/DialogV1/Dialog.tsx @@ -15,7 +15,7 @@ import {useFeatureFlag} from '../FeatureFlags' import {clsx} from 'clsx' import classes from './Dialog.module.css' -const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_staff' +const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_ga' // Dialog v1 const noop = () => null diff --git a/packages/react/src/Popover/Popover.tsx b/packages/react/src/Popover/Popover.tsx index cecae661e74..e20047f956e 100644 --- a/packages/react/src/Popover/Popover.tsx +++ b/packages/react/src/Popover/Popover.tsx @@ -32,7 +32,7 @@ type StyledPopoverProps = { open?: boolean } & SxProp -const CSS_MODULES_FLAG = 'primer_react_css_modules_staff' +const CSS_MODULES_FLAG = 'primer_react_css_modules_ga' const StyledPopover = styled.div.attrs(({className, caret = 'top'}) => { return { diff --git a/packages/react/src/ProgressBar/ProgressBar.tsx b/packages/react/src/ProgressBar/ProgressBar.tsx index 89c0fbfd1fa..d601669dbb6 100644 --- a/packages/react/src/ProgressBar/ProgressBar.tsx +++ b/packages/react/src/ProgressBar/ProgressBar.tsx @@ -21,7 +21,7 @@ const shimmer = keyframes` to { mask-position: 0%; } ` -const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_staff' +const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_ga' const ProgressItem = toggleStyledComponent( CSS_MODULES_FEATURE_FLAG, diff --git a/packages/react/src/Textarea/Textarea.tsx b/packages/react/src/Textarea/Textarea.tsx index ec3e02ea681..9bed4e867c8 100644 --- a/packages/react/src/Textarea/Textarea.tsx +++ b/packages/react/src/Textarea/Textarea.tsx @@ -42,7 +42,7 @@ export type TextareaProps = { } & TextareaHTMLAttributes & SxProp -const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_staff' +const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_ga' const StyledTextarea = toggleStyledComponent( CSS_MODULES_FEATURE_FLAG, diff --git a/packages/react/src/Timeline/Timeline.tsx b/packages/react/src/Timeline/Timeline.tsx index 51382de035a..1e1553488b7 100644 --- a/packages/react/src/Timeline/Timeline.tsx +++ b/packages/react/src/Timeline/Timeline.tsx @@ -10,7 +10,7 @@ import {useFeatureFlag} from '../FeatureFlags' import classes from './Timeline.module.css' import {defaultSxProp} from '../utils/defaultSxProp' -const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_staff' +const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_ga' type StyledTimelineProps = {clipSidebar?: boolean; className?: string} & SxProp diff --git a/packages/react/src/TreeView/TreeView.tsx b/packages/react/src/TreeView/TreeView.tsx index db2564f3a4a..4c0fd101249 100644 --- a/packages/react/src/TreeView/TreeView.tsx +++ b/packages/react/src/TreeView/TreeView.tsx @@ -27,7 +27,7 @@ import {SkeletonText} from '../experimental/Skeleton/SkeletonText' import {toggleStyledComponent} from '../internal/utils/toggleStyledComponent' import {useFeatureFlag} from '../FeatureFlags' -const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_staff' +const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_ga' // ---------------------------------------------------------------------------- // Context diff --git a/packages/react/src/experimental/SelectPanel2/SelectPanel.tsx b/packages/react/src/experimental/SelectPanel2/SelectPanel.tsx index 9ccece930c7..d4c71e629be 100644 --- a/packages/react/src/experimental/SelectPanel2/SelectPanel.tsx +++ b/packages/react/src/experimental/SelectPanel2/SelectPanel.tsx @@ -30,7 +30,7 @@ import {useFeatureFlag} from '../../FeatureFlags' import classes from './SelectPanel.module.css' -const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_staff' +const CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_ga' const SelectPanelContext = React.createContext<{ title: string diff --git a/packages/react/src/internal/components/CheckboxOrRadioGroup/FeatureFlag.tsx b/packages/react/src/internal/components/CheckboxOrRadioGroup/FeatureFlag.tsx index cb1d25fe232..e6a5b8afae0 100644 --- a/packages/react/src/internal/components/CheckboxOrRadioGroup/FeatureFlag.tsx +++ b/packages/react/src/internal/components/CheckboxOrRadioGroup/FeatureFlag.tsx @@ -1 +1 @@ -export const CSS_MODULES_FLAG = 'primer_react_css_modules_staff' +export const CSS_MODULES_FLAG = 'primer_react_css_modules_ga' diff --git a/packages/react/src/internal/components/UnstyledTextInput.tsx b/packages/react/src/internal/components/UnstyledTextInput.tsx index 8c3b42f6ef9..cc5d0430905 100644 --- a/packages/react/src/internal/components/UnstyledTextInput.tsx +++ b/packages/react/src/internal/components/UnstyledTextInput.tsx @@ -7,7 +7,7 @@ import {useFeatureFlag} from '../../FeatureFlags' import styles from './UnstyledTextInput.module.css' import {clsx} from 'clsx' -export const TEXT_INPUT_CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_staff' +export const TEXT_INPUT_CSS_MODULES_FEATURE_FLAG = 'primer_react_css_modules_ga' type ToggledUnstyledTextInputProps = React.ComponentPropsWithoutRef<'input'> & SxProp