attributesDefaults.js in Gutenify – Visual Site Builder Blocks & Starter Templates 0.0.3, at src/components/blocks/count-down/attributesDefaults.js
| 1 | const attributesDefaults = { |
| 2 | blockClientId: '', |
| 3 | dateTime: new Date(), |
| 4 | showDays: true, |
| 5 | showHour: true, |
| 6 | showMinute: true, |
| 7 | showSecond: true, |
| 8 | showLabel: true, |
| 9 | customLabel: false, |
| 10 | customLabelDays: 'Days', |
| 11 | customLabelHours: 'Hours', |
| 12 | customLabelMinutes: 'Minutes', |
| 13 | customLabelSeconds: 'Seconds', |
| 14 | expireActions: [], |
| 15 | expireMessage: '', |
| 16 | expireURL: '', |
| 17 | containerWidth: { |
| 18 | desktop: { |
| 19 | value: '', |
| 20 | unit: '%' |
| 21 | }, |
| 22 | tablet: { |
| 23 | value: '', |
| 24 | unit: '%' |
| 25 | }, |
| 26 | mobile: { |
| 27 | value: '', |
| 28 | unit: '%' |
| 29 | } |
| 30 | }, |
| 31 | containerWidthUnit: '', |
| 32 | counterPosition: '', |
| 33 | borderAttrs: { |
| 34 | color: '#297cba', |
| 35 | width: 1 |
| 36 | }, |
| 37 | backgroundAttrs: { |
| 38 | color: '#297cba', |
| 39 | }, |
| 40 | boxSpacing:{ |
| 41 | desktop: { |
| 42 | value: 5 |
| 43 | }, |
| 44 | tablet: { |
| 45 | value: '' |
| 46 | }, |
| 47 | mobile: { |
| 48 | value: '' |
| 49 | } |
| 50 | }, |
| 51 | digitAttrs: { |
| 52 | color: '#fff', |
| 53 | typographyChange: false, |
| 54 | typography: { |
| 55 | fontFamily:'', |
| 56 | size: { |
| 57 | desktop: { |
| 58 | value: '15', |
| 59 | unit: 'px' |
| 60 | }, |
| 61 | tablet: { |
| 62 | value: '', |
| 63 | unit: 'px' |
| 64 | }, |
| 65 | mobile: { |
| 66 | value: '', |
| 67 | unit: 'px' |
| 68 | } |
| 69 | }, |
| 70 | weight: '', |
| 71 | transform: '', |
| 72 | style: '', |
| 73 | decoration: '', |
| 74 | lineHeight: { |
| 75 | desktop: { |
| 76 | value: '', |
| 77 | unit: 'px' |
| 78 | }, |
| 79 | tablet: { |
| 80 | value: '', |
| 81 | unit: 'px' |
| 82 | }, |
| 83 | mobile: { |
| 84 | value: '', |
| 85 | unit: 'px' |
| 86 | } |
| 87 | }, |
| 88 | letterSpacing: { |
| 89 | desktop: { |
| 90 | value: '', |
| 91 | unit: 'px' |
| 92 | }, |
| 93 | tablet: { |
| 94 | value: '', |
| 95 | unit: 'px' |
| 96 | }, |
| 97 | mobile: { |
| 98 | value: '', |
| 99 | unit: 'px' |
| 100 | } |
| 101 | } |
| 102 | } |
| 103 | }, |
| 104 | titleAttrs: { |
| 105 | color: '#fff', |
| 106 | typographyChange: false, |
| 107 | typography: { |
| 108 | fontFamily:'', |
| 109 | size: { |
| 110 | desktop: { |
| 111 | value: '15', |
| 112 | unit: 'px' |
| 113 | }, |
| 114 | tablet: { |
| 115 | value: '', |
| 116 | unit: 'px' |
| 117 | }, |
| 118 | mobile: { |
| 119 | value: '', |
| 120 | unit: 'px' |
| 121 | } |
| 122 | }, |
| 123 | weight: '', |
| 124 | transform: '', |
| 125 | style: '', |
| 126 | decoration: '', |
| 127 | lineHeight: { |
| 128 | desktop: { |
| 129 | value: '', |
| 130 | unit: 'px' |
| 131 | }, |
| 132 | tablet: { |
| 133 | value: '', |
| 134 | unit: 'px' |
| 135 | }, |
| 136 | mobile: { |
| 137 | value: '', |
| 138 | unit: 'px' |
| 139 | } |
| 140 | }, |
| 141 | letterSpacing: { |
| 142 | desktop: { |
| 143 | value: '', |
| 144 | unit: 'px' |
| 145 | }, |
| 146 | tablet: { |
| 147 | value: '', |
| 148 | unit: 'px' |
| 149 | }, |
| 150 | mobile: { |
| 151 | value: '', |
| 152 | unit: 'px' |
| 153 | } |
| 154 | } |
| 155 | } |
| 156 | } |
| 157 | }; |
| 158 | export default attributesDefaults; |