Skip to content

Commit ead70cd

Browse files
committed
oops
1 parent f95b026 commit ead70cd

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

apps/storybook/stories/radio-group.stories.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import styles from './radio-group.stories.module.css';
44

55
export default { title: 'Components/RadioGroup' };
66

7-
export const Styled = () => (
7+
export const LegacyStyled = () => (
88
<Label>
99
Favourite pet
1010
<RadioGroup.Root className={styles.root} defaultValue="1">
@@ -30,7 +30,7 @@ export const Styled = () => (
3030
</Label>
3131
);
3232

33-
export const Controlled = () => {
33+
export const LegacyControlled = () => {
3434
const [value, setValue] = React.useState('2');
3535

3636
return (
@@ -48,7 +48,7 @@ export const Controlled = () => {
4848
);
4949
};
5050

51-
export const Unset = () => (
51+
export const LegacyUnset = () => (
5252
<Label>
5353
Favourite pet
5454
<RadioGroup.Root className={styles.root}>
@@ -74,7 +74,7 @@ export const Unset = () => (
7474
</Label>
7575
);
7676

77-
export const WithinForm = () => {
77+
export const LegacyWithinForm = () => {
7878
const [data, setData] = React.useState({ optional: '', required: '', stopprop: '' });
7979

8080
return (
@@ -156,7 +156,7 @@ export const WithinForm = () => {
156156
);
157157
};
158158

159-
export const Animated = () => {
159+
export const LegacyAnimated = () => {
160160
const indicatorClass = [styles.indicator, styles.animatedIndicator].join(' ');
161161
return (
162162
<Label>
@@ -185,7 +185,7 @@ export const Animated = () => {
185185
);
186186
};
187187

188-
export const Chromatic = () => {
188+
export const LegacyChromatic = () => {
189189
const manualFocusRef = React.useRef<React.ElementRef<typeof RadioGroup.Item>>(null);
190190

191191
React.useEffect(() => {
@@ -411,6 +411,6 @@ export const Chromatic = () => {
411411
</>
412412
);
413413
};
414-
Chromatic.parameters = { chromatic: { disable: false } };
414+
LegacyChromatic.parameters = { chromatic: { disable: false } };
415415

416416
const Label = (props: any) => <LabelPrimitive.Root {...props} className={styles.label} />;

packages/react/checkbox/src/checkbox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,8 @@ export {
391391
CheckboxBubbleInput,
392392
//
393393
Checkbox as Root,
394-
CheckboxProvider as Trigger,
395-
CheckboxTrigger as Provider,
394+
CheckboxProvider as Provider,
395+
CheckboxTrigger as Trigger,
396396
CheckboxIndicator as Indicator,
397397
CheckboxBubbleInput as BubbleInput,
398398
};

0 commit comments

Comments
 (0)