@@ -107,9 +107,9 @@ const metadata: Meta<IgcRangeSliderComponent> = {
107107 table : { defaultValue : { summary : '0' } } ,
108108 } ,
109109 tickOrientation : {
110- type : '"mirror " | "start " | "end "' ,
110+ type : '"end " | "mirror " | "start "' ,
111111 description : 'Changes the orientation of the ticks.' ,
112- options : [ 'mirror ' , 'start ' , 'end ' ] ,
112+ options : [ 'end ' , 'mirror ' , 'start ' ] ,
113113 control : { type : 'inline-radio' } ,
114114 table : { defaultValue : { summary : 'end' } } ,
115115 } ,
@@ -139,10 +139,10 @@ const metadata: Meta<IgcRangeSliderComponent> = {
139139 control : 'text' ,
140140 } ,
141141 tickLabelRotation : {
142- type : '0 | 90 | -90 ' ,
142+ type : '"0" | "90" ' ,
143143 description :
144144 'The degrees for the rotation of the tick labels. Defaults to 0.' ,
145- options : [ '0' , '90' , '-90' ] ,
145+ options : [ '0' , '90' ] ,
146146 control : { type : 'inline-radio' } ,
147147 table : { defaultValue : { summary : '0' } } ,
148148 } ,
@@ -220,7 +220,7 @@ interface IgcRangeSliderArgs {
220220 /** The number of secondary ticks. It defaults to 0 which means no secondary ticks are displayed. */
221221 secondaryTicks : number ;
222222 /** Changes the orientation of the ticks. */
223- tickOrientation : 'mirror ' | 'start ' | 'end ' ;
223+ tickOrientation : 'end ' | 'mirror ' | 'start ' ;
224224 /** Hides the primary tick labels. */
225225 hidePrimaryLabels : boolean ;
226226 /** Hides the secondary tick labels. */
@@ -230,7 +230,7 @@ interface IgcRangeSliderArgs {
230230 /** String format used for the thumb and tick label values in the slider. */
231231 valueFormat : string ;
232232 /** The degrees for the rotation of the tick labels. Defaults to 0. */
233- tickLabelRotation : 0 | 90 | - 90 ;
233+ tickLabelRotation : '0' | '90' ;
234234}
235235type Story = StoryObj < IgcRangeSliderArgs > ;
236236
0 commit comments