File tree Expand file tree Collapse file tree
entry_types/scrolled/package/src/contentElements/counter Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,24 +21,18 @@ storiesOfContentElement(module, {
2121 } ,
2222 variants : [
2323 {
24- name : 'Large' ,
24+ name : 'Legacy Text Size Large' ,
2525 configuration : {
2626 textSize : 'large' ,
2727 targetValue : 7
2828 }
2929 } ,
3030 {
31- name : 'Medium' ,
31+ name : 'Legacy Text Size Medium' ,
3232 configuration : {
3333 textSize : 'medium'
3434 }
3535 } ,
36- {
37- name : 'Small' ,
38- configuration : {
39- textSize : 'small'
40- }
41- } ,
4236 {
4337 name : 'XL Width' ,
4438 configuration : {
@@ -86,19 +80,40 @@ storiesOfContentElement(module, {
8680 }
8781 } ,
8882 {
89- name : 'Custom typography ' ,
83+ name : 'Wheel Animation ' ,
9084 configuration : {
91- textSize : 'small'
92- } ,
85+ countingAnimation : 'wheel'
86+ }
87+ } ,
88+ {
89+ name : 'Custom Sizes' ,
90+ configuration : {
91+ numberSize : 'xl' ,
92+ unitSize : 'sm' ,
93+ descriptionSize : 'lg'
94+ }
95+ } ,
96+ {
97+ name : 'Separate Colors' ,
9398 themeOptions : {
94- typography : {
95- counterNumberSm : {
96- fontSize : '40px'
97- } ,
98- counterDescriptionSm : {
99- fontSize : '18px'
99+ properties : {
100+ root : {
101+ paletteColorAccent : '#04f' ,
102+ paletteColorPrimary : '#f40' ,
103+ paletteColorSecondary : '#0a0'
100104 }
101105 }
106+ } ,
107+ configuration : {
108+ numberColor : 'accent' ,
109+ unitColor : 'primary' ,
110+ descriptionColor : 'secondary'
111+ }
112+ } ,
113+ {
114+ name : 'Right Aligned' ,
115+ configuration : {
116+ textAlign : 'right'
102117 }
103118 }
104119 ]
You can’t perform that action at this time.
0 commit comments