@@ -190,7 +190,7 @@ export const argtypes = (variants: IThemeObjectVariants, themeSelected: string):
190
190
} ,
191
191
pageControlVariant : {
192
192
description : 'PageControl variant' ,
193
- type : { name : 'string' , required : true } ,
193
+ type : { name : 'string' } ,
194
194
control : { type : 'select' } ,
195
195
options : Object . keys ( variants [ themeSelected ] . PageControlVariant || { } ) ,
196
196
table : {
@@ -202,9 +202,9 @@ export const argtypes = (variants: IThemeObjectVariants, themeSelected: string):
202
202
} ,
203
203
pageControlArrowsControlVariant : {
204
204
description : 'PageControl arrows control variant' ,
205
- type : { name : 'string' , required : true } ,
205
+ type : { name : 'string' } ,
206
206
control : { type : 'select' } ,
207
- options : Object . keys ( variants [ themeSelected ] . PageControlAutomateVariant || { } ) ,
207
+ options : Object . keys ( variants [ themeSelected ] . ArrowsControlVariant || { } ) ,
208
208
table : {
209
209
type : {
210
210
summary : 'string' ,
@@ -302,6 +302,18 @@ export const argtypes = (variants: IThemeObjectVariants, themeSelected: string):
302
302
category : CATEGORY_CONTROL . MODIFIERS ,
303
303
} ,
304
304
} ,
305
+ screenReaderText : {
306
+ description :
307
+ 'Screen reader carousel text. Can be build using the current bar and the bars length using the keywords "{{currentPage}}" and "{{numPages}}"' ,
308
+ type : { name : 'string' } ,
309
+ control : { type : 'text' } ,
310
+ table : {
311
+ type : {
312
+ summary : 'string' ,
313
+ } ,
314
+ category : CATEGORY_CONTROL . ACCESIBILITY ,
315
+ } ,
316
+ } ,
305
317
dataTestId : {
306
318
description : 'String used for testing' ,
307
319
control : { type : 'text' } ,
0 commit comments