Skip to content

Commit 5f73957

Browse files
authored
fix: rename preview to unstable (#20530)
1 parent 149f0f2 commit 5f73957

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packages/react/src/components/Slider/Slider.stories.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Default.argTypes = {
3939
ariaLabelInput: {
4040
control: { type: 'text' },
4141
},
42-
preview_ariaLabelInputUpper: {
42+
unstable_ariaLabelInputUpper: {
4343
control: { type: 'text' },
4444
},
4545
light: {
@@ -98,7 +98,7 @@ Default.argTypes = {
9898
name: {
9999
control: { type: 'text' },
100100
},
101-
preview_nameUpper: {
101+
unstable_nameUpper: {
102102
control: { type: 'text' },
103103
},
104104
readOnly: {
@@ -120,7 +120,7 @@ Default.argTypes = {
120120
value: {
121121
control: { type: 'number' },
122122
},
123-
preview_valueUpper: {
123+
unstable_valueUpper: {
124124
control: { type: 'number' },
125125
},
126126
onBlur: {
@@ -157,7 +157,7 @@ Default.argTypes = {
157157

158158
Default.args = {
159159
ariaLabelInput: 'Lower bound',
160-
preview_ariaLabelInputUpper: 'Upper bound',
160+
unstable_ariaLabelInputUpper: 'Upper bound',
161161
disabled: false,
162162
hideTextInput: false,
163163
invalid: false,
@@ -169,7 +169,7 @@ Default.args = {
169169
step: 5,
170170
stepMultiplier: 5,
171171
value: 50,
172-
preview_valueUpper: undefined,
172+
unstable_valueUpper: undefined,
173173
warn: false,
174174
warnText: 'Warning message goes here',
175175
};
@@ -273,10 +273,10 @@ export const TwoHandleSlider = () => {
273273
return (
274274
<Slider
275275
ariaLabelInput="Lower bound"
276-
preview_ariaLabelInputUpper="Upper bound"
276+
unstable_ariaLabelInputUpper="Upper bound"
277277
labelText="Slider label"
278278
value={10}
279-
preview_valueUpper={90}
279+
unstable_valueUpper={90}
280280
min={0}
281281
max={100}
282282
step={1}
@@ -290,10 +290,10 @@ export const TwoHandleSliderWithHiddenInputs = () => {
290290
return (
291291
<Slider
292292
ariaLabelInput="Lower bound"
293-
preview_ariaLabelInputUpper="Upper bound"
293+
unstable_ariaLabelInputUpper="Upper bound"
294294
labelText="Slider label"
295295
value={10}
296-
preview_valueUpper={90}
296+
unstable_valueUpper={90}
297297
min={0}
298298
max={100}
299299
step={1}

0 commit comments

Comments
 (0)