Skip to content

Commit 3780b28

Browse files
committed
docs(motion): touch up experiments for presentation
1 parent af02a3e commit 3780b28

File tree

5 files changed

+8
-15
lines changed

5 files changed

+8
-15
lines changed

packages/react-components/react-motion-components-preview/stories/src/Experiments/ExperimentsBlur.stories.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export const ExperimentsBlur = () => {
123123
ExperimentsBlur.parameters = {
124124
docs: {
125125
description: {
126-
story: description,
126+
// story: description,
127127
},
128128
},
129129
};
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
1-
[Experiments description]
2-
31
> **⚠️ Preview components are considered unstable**
4-
5-
```tsx
6-
// example code
7-
```

packages/react-components/react-motion-components-preview/stories/src/Experiments/ExperimentsReverseSlower.stories.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,7 @@ export const ExperimentsReverseSlower = () => {
225225

226226
return (
227227
<div>
228-
<p>
229-
The mouse down animation is reused for mouse up, <br />
230-
but in reverse and slower.
231-
</p>
228+
<p>The mouse down animation is reused for mouse up, but in reverse and slower.</p>
232229
{content}
233230
</div>
234231
);

packages/react-components/react-motion-components-preview/stories/src/Experiments/ExperimentsSlideUnder.stories.tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,14 @@ export const ExperimentsSlideUnder = () => {
130130
<option>-50%</option>
131131
</Select>
132132

133-
<Field className={classes.field}>
133+
{/* Not working with animateOpacity false */}
134+
{/* <Field className={classes.field}>
134135
<Switch
135136
label={<code>animateOpacity</code>}
136137
checked={animateOpacity}
137138
onChange={() => setAnimateOpacity(v => !v)}
138139
/>
139-
</Field>
140+
</Field> */}
140141
</div>
141142
<div className={classes.card}>
142143
<SlideUnder visible={visible} orientation={orientation} distance={distance} animateOpacity={animateOpacity}>

packages/react-components/react-motion-components-preview/stories/src/Experiments/ExperimentsWipe.stories.tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,14 @@ export const ExperimentsWipe = () => {
137137
<Label aria-hidden>{durationMax}</Label>
138138
</div>
139139

140-
<Field className={classes.field}>
140+
{/* It's not working with animateOpacity false */}
141+
{/* <Field className={classes.field}>
141142
<Switch
142143
label={<code>animateOpacity</code>}
143144
checked={animateOpacity}
144145
onChange={() => setAnimateOpacity(v => !v)}
145146
/>
146-
</Field>
147+
</Field> */}
147148

148149
{/* <Label htmlFor={radiusSliderId}>radius: {radius}</Label>
149150
<div className={classes.sliderWrapper}>

0 commit comments

Comments
 (0)