@antv/g2 5.1.4 → 5.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/CHANGELOG.md +436 -0
  2. package/dist/g2.full.min.js +1 -0
  3. package/dist/g2.lite.min.js +1 -0
  4. package/dist/g2.min.js +1 -1
  5. package/esm/api/chart.d.ts +2 -163
  6. package/esm/api/library.d.ts +1 -162
  7. package/esm/api/library.js +1 -2
  8. package/esm/api/library.js.map +1 -1
  9. package/esm/api/runtime.d.ts +1 -1
  10. package/esm/api/runtime.js +6 -1
  11. package/esm/api/runtime.js.map +1 -1
  12. package/esm/api/utils.d.ts +1 -0
  13. package/esm/api/utils.js +25 -6
  14. package/esm/api/utils.js.map +1 -1
  15. package/esm/composition/repeatMatrix.js +4 -1
  16. package/esm/composition/repeatMatrix.js.map +1 -1
  17. package/esm/exports.d.ts +5 -0
  18. package/esm/exports.js +7 -0
  19. package/esm/exports.js.map +1 -0
  20. package/esm/index.d.ts +338 -7
  21. package/esm/index.js +9 -8
  22. package/esm/index.js.map +1 -1
  23. package/esm/interaction/fisheye.js +3 -1
  24. package/esm/interaction/fisheye.js.map +1 -1
  25. package/esm/interaction/legendFilter.d.ts +1 -1
  26. package/esm/interaction/legendFilter.js +72 -31
  27. package/esm/interaction/legendFilter.js.map +1 -1
  28. package/esm/interaction/tooltip.d.ts +2 -2
  29. package/esm/interaction/tooltip.js +37 -21
  30. package/esm/interaction/tooltip.js.map +1 -1
  31. package/esm/lib/auto.d.ts +3 -0
  32. package/esm/lib/auto.js +7 -0
  33. package/esm/lib/auto.js.map +1 -0
  34. package/esm/lib/core.d.ts +1 -0
  35. package/esm/lib/core.js +2 -1
  36. package/esm/lib/core.js.map +1 -1
  37. package/esm/lib/index.d.ts +1 -0
  38. package/esm/lib/index.js +1 -0
  39. package/esm/lib/index.js.map +1 -1
  40. package/esm/lib/std.d.ts +30 -29
  41. package/esm/mark/auto.d.ts +1 -0
  42. package/esm/mark/auto.js +26 -0
  43. package/esm/mark/auto.js.map +1 -0
  44. package/esm/mark/index.d.ts +1 -0
  45. package/esm/mark/index.js +1 -0
  46. package/esm/mark/index.js.map +1 -1
  47. package/esm/runtime/plot.js +11 -4
  48. package/esm/runtime/plot.js.map +1 -1
  49. package/esm/shape/connector/connector.js +1 -1
  50. package/esm/shape/connector/connector.js.map +1 -1
  51. package/esm/shape/index.d.ts +1 -1
  52. package/esm/spec/index.d.ts +3 -3
  53. package/esm/spec/mark.d.ts +4 -2
  54. package/esm/theme/academy.js +30 -358
  55. package/esm/theme/academy.js.map +1 -1
  56. package/esm/theme/classic.js +4 -433
  57. package/esm/theme/classic.js.map +1 -1
  58. package/esm/theme/classicDark.js +3 -404
  59. package/esm/theme/classicDark.js.map +1 -1
  60. package/esm/theme/create.d.ts +437 -0
  61. package/esm/theme/create.js +421 -0
  62. package/esm/theme/create.js.map +1 -0
  63. package/esm/theme/dark.d.ts +3 -0
  64. package/esm/theme/dark.js +76 -0
  65. package/esm/theme/dark.js.map +1 -0
  66. package/esm/theme/index.d.ts +1 -0
  67. package/esm/theme/index.js +1 -0
  68. package/esm/theme/index.js.map +1 -1
  69. package/esm/theme/light.js +52 -470
  70. package/esm/theme/light.js.map +1 -1
  71. package/esm/utils/event.d.ts +31 -32
  72. package/esm/utils/event.js +2 -12
  73. package/esm/utils/event.js.map +1 -1
  74. package/lib/api/chart.d.ts +2 -163
  75. package/lib/api/library.d.ts +1 -162
  76. package/lib/api/library.js +1 -2
  77. package/lib/api/library.js.map +1 -1
  78. package/lib/api/runtime.d.ts +1 -1
  79. package/lib/api/runtime.js +6 -1
  80. package/lib/api/runtime.js.map +1 -1
  81. package/lib/api/utils.d.ts +1 -0
  82. package/lib/api/utils.js +26 -7
  83. package/lib/api/utils.js.map +1 -1
  84. package/lib/composition/repeatMatrix.js +4 -1
  85. package/lib/composition/repeatMatrix.js.map +1 -1
  86. package/lib/exports.d.ts +5 -0
  87. package/lib/exports.js +39 -0
  88. package/lib/exports.js.map +1 -0
  89. package/lib/index.d.ts +338 -7
  90. package/lib/index.js +11 -28
  91. package/lib/index.js.map +1 -1
  92. package/lib/interaction/fisheye.js +3 -1
  93. package/lib/interaction/fisheye.js.map +1 -1
  94. package/lib/interaction/legendFilter.d.ts +1 -1
  95. package/lib/interaction/legendFilter.js +72 -31
  96. package/lib/interaction/legendFilter.js.map +1 -1
  97. package/lib/interaction/tooltip.d.ts +2 -2
  98. package/lib/interaction/tooltip.js +37 -21
  99. package/lib/interaction/tooltip.js.map +1 -1
  100. package/lib/lib/auto.d.ts +3 -0
  101. package/lib/lib/auto.js +11 -0
  102. package/lib/lib/auto.js.map +1 -0
  103. package/lib/lib/core.d.ts +1 -0
  104. package/lib/lib/core.js +1 -0
  105. package/lib/lib/core.js.map +1 -1
  106. package/lib/lib/index.d.ts +1 -0
  107. package/lib/lib/index.js +3 -1
  108. package/lib/lib/index.js.map +1 -1
  109. package/lib/lib/std.d.ts +30 -29
  110. package/lib/mark/auto.d.ts +1 -0
  111. package/lib/mark/auto.js +30 -0
  112. package/lib/mark/auto.js.map +1 -0
  113. package/lib/mark/index.d.ts +1 -0
  114. package/lib/mark/index.js +3 -1
  115. package/lib/mark/index.js.map +1 -1
  116. package/lib/runtime/plot.js +11 -4
  117. package/lib/runtime/plot.js.map +1 -1
  118. package/lib/shape/connector/connector.js +1 -1
  119. package/lib/shape/connector/connector.js.map +1 -1
  120. package/lib/shape/index.d.ts +1 -1
  121. package/lib/spec/index.d.ts +3 -3
  122. package/lib/spec/mark.d.ts +4 -2
  123. package/lib/theme/academy.js +30 -358
  124. package/lib/theme/academy.js.map +1 -1
  125. package/lib/theme/classic.js +4 -433
  126. package/lib/theme/classic.js.map +1 -1
  127. package/lib/theme/classicDark.js +3 -404
  128. package/lib/theme/classicDark.js.map +1 -1
  129. package/lib/theme/create.d.ts +437 -0
  130. package/lib/theme/create.js +425 -0
  131. package/lib/theme/create.js.map +1 -0
  132. package/lib/theme/dark.d.ts +3 -0
  133. package/lib/theme/dark.js +80 -0
  134. package/lib/theme/dark.js.map +1 -0
  135. package/lib/theme/index.d.ts +1 -0
  136. package/lib/theme/index.js +3 -1
  137. package/lib/theme/index.js.map +1 -1
  138. package/lib/theme/light.js +52 -470
  139. package/lib/theme/light.js.map +1 -1
  140. package/lib/utils/event.d.ts +31 -32
  141. package/lib/utils/event.js +2 -12
  142. package/lib/utils/event.js.map +1 -1
  143. package/package.json +23 -8
  144. package/src/api/chart.ts +1 -1
  145. package/src/api/library.ts +1 -2
  146. package/src/api/runtime.ts +7 -2
  147. package/src/api/utils.ts +22 -6
  148. package/src/composition/repeatMatrix.ts +11 -2
  149. package/src/exports.ts +32 -0
  150. package/src/index.ts +13 -41
  151. package/src/interaction/fisheye.ts +3 -1
  152. package/src/interaction/legendFilter.ts +81 -48
  153. package/src/interaction/tooltip.ts +56 -33
  154. package/src/lib/auto.ts +7 -0
  155. package/src/lib/core.ts +2 -1
  156. package/src/lib/index.ts +1 -0
  157. package/src/mark/auto.ts +22 -0
  158. package/src/mark/index.ts +1 -0
  159. package/src/runtime/plot.ts +34 -7
  160. package/src/shape/connector/connector.ts +1 -1
  161. package/src/shape/index.ts +1 -1
  162. package/src/spec/index.ts +3 -3
  163. package/src/spec/mark.ts +4 -0
  164. package/src/theme/academy.ts +74 -399
  165. package/src/theme/classic.ts +11 -438
  166. package/src/theme/classicDark.ts +10 -409
  167. package/src/theme/create.ts +439 -0
  168. package/src/theme/dark.ts +85 -0
  169. package/src/theme/index.ts +1 -0
  170. package/src/theme/light.ts +53 -473
  171. package/src/utils/event.ts +32 -45
  172. package/dist/g2-lite.min.js +0 -1
@@ -1,414 +1,89 @@
1
+ import { deepMix } from '@antv/util';
1
2
  import { ThemeComponent as TC, Theme } from '../runtime';
3
+ import { create } from './create';
2
4
 
3
- export type AcademyOptions = Theme;
4
-
5
- const COLORS = {
6
- BLACK: '#000',
7
- WHITE: '#fff',
8
- STROKE: '#888',
9
- };
10
-
11
- const BACKGROUND_COLOR = 'transparent';
5
+ const defaults = create({
6
+ colorBlack: '#000',
7
+ colorWhite: '#fff',
8
+ colorStroke: '#888',
9
+ colorDefault: '#4e79a7',
10
+ colorBackground: 'transparent',
11
+ category10: 'tableau10',
12
+ category20: 'tableau10',
13
+ padding1: 8,
14
+ padding2: 12,
15
+ padding3: 20,
16
+ alpha90: 0.9,
17
+ alpha65: 0.65,
18
+ alpha45: 0.45,
19
+ alpha25: 0.25,
20
+ alpha10: 0.1,
21
+ });
12
22
 
13
- const DEFAULT_COLOR = '#4e79a7';
23
+ export type AcademyOptions = Theme;
14
24
 
15
25
  export const Academy: TC<AcademyOptions> = (options) => {
16
- const defaultOptions: Theme = {
17
- color: DEFAULT_COLOR,
18
- size: 1,
19
- category10: 'tableau10',
20
- category20: 'tableau10',
21
- enter: {
22
- duration: 300,
23
- fill: 'both',
24
- delay: 0,
25
- },
26
- update: {
27
- duration: 300,
28
- fill: 'both',
29
- delay: 0,
30
- },
31
- exit: {
32
- duration: 300,
33
- fill: 'both',
34
- delay: 0,
35
- },
36
- view: {
37
- viewFill: BACKGROUND_COLOR,
38
- plotFill: 'transparent',
39
- mainFill: 'transparent',
40
- contentFill: 'transparent',
41
- },
42
- line: {
43
- line: {
44
- fill: '',
45
- strokeOpacity: 1,
46
- lineWidth: 1,
47
- connectStroke: '#aaa',
48
- },
49
- },
50
- point: {
51
- point: {
52
- r: 3,
53
- fillOpacity: 0.95,
54
- lineWidth: 0,
55
- },
56
- hollow: {
57
- r: 3,
58
- strokeOpacity: 0.95,
59
- lineWidth: 1,
60
- },
61
- plus: {
62
- r: 3,
63
- strokeOpacity: 0.95,
64
- lineWidth: 3,
65
- },
66
- diamond: {
67
- r: 3,
68
- strokeOpacity: 0.95,
69
- lineWidth: 1,
70
- },
71
- },
72
- interval: {
73
- rect: {
74
- fillOpacity: 0.95,
75
- },
76
- hollow: {
77
- fill: '',
78
- strokeOpacity: 1,
79
- lineWidth: 2,
80
- },
81
- },
82
- area: {
83
- area: {
84
- fillOpacity: 0.85,
85
- lineWidth: 0,
86
- connectFill: COLORS.BLACK,
87
- connectFillOpacity: 0.1,
88
- },
89
- },
90
- polygon: {
91
- polygon: {
92
- fillOpacity: 0.95,
93
- },
94
- },
95
- cell: {
96
- cell: {
97
- fillOpacity: 0.95,
98
- },
99
- hollow: {
100
- fill: '',
101
- strokeOpacity: 1,
102
- lineWidth: 2,
103
- },
104
- },
105
- rect: {
106
- rect: {
107
- fillOpacity: 0.95,
108
- },
109
- hollow: {
110
- fill: '',
111
- strokeOpacity: 1,
112
- lineWidth: 2,
113
- },
114
- },
115
- link: {
116
- link: {
117
- fill: '',
118
- strokeOpacity: 1,
119
- },
120
- },
121
- vector: {
122
- vector: {
123
- fillOpacity: 1,
124
- },
125
- },
126
- box: {
127
- box: {
128
- fillOpacity: 0.95,
129
- stroke: '#1D2129',
130
- lineWidth: 1,
131
- },
132
- },
133
- text: {
134
- text: {
135
- fill: '#1D2129',
26
+ return deepMix(
27
+ {},
28
+ defaults,
29
+ {
30
+ text: { text: { fontSize: 10 } },
31
+ axis: {
32
+ gridLineDash: [0, 0],
33
+ gridLineWidth: 1,
34
+ gridStroke: '#ddd',
35
+ gridStrokeOpacity: 1,
36
+ labelOpacity: 1,
37
+ labelStrokeOpacity: 1,
38
+ labelFontSize: 10,
39
+ line: true,
40
+ lineLineWidth: 1,
41
+ lineStroke: '#888',
42
+ lineStrokeOpacity: 1,
43
+ tickLength: 5,
44
+ tickStrokeOpacity: 1,
45
+ titleOpacity: 1,
46
+ titleStrokeOpacity: 1,
47
+ titleFillOpacity: 1,
48
+ titleFontSize: 11,
49
+ titleFontWeight: 'bold',
50
+ },
51
+ axisLeft: {
52
+ gridFilter: (_, i) => i !== 0,
53
+ },
54
+ axisRight: {
55
+ gridFilter: (_, i) => i !== 0,
56
+ },
57
+ legendCategory: {
58
+ itemLabelFillOpacity: 1,
59
+ itemLabelFontSize: 10,
60
+ itemValueFillOpacity: 1,
61
+ itemValueFontSize: 10,
62
+ titleFillOpacity: 1,
63
+ titleFontSize: 11,
64
+ titleFontWeight: 'bold',
65
+ },
66
+ legendContinuous: {
67
+ handleLabelFontSize: 10,
68
+ labelFillOpacity: 0.45,
69
+ labelFontSize: 10,
70
+ },
71
+ label: {
136
72
  fontSize: 10,
137
- strokeWidth: 0,
138
- connectorStroke: COLORS.STROKE,
139
- connectorStrokeOpacity: 0.45,
140
- connectorLineWidth: 1,
141
- backgroundFill: COLORS.STROKE,
142
- backgroundFillOpacity: 0.15,
143
- backgroundPadding: [2, 4],
144
- startMarkerSymbol: 'circle',
145
- startMarkerSize: 4,
146
- endMarkerSymbol: 'circle',
147
- endMarkerSize: 4,
148
73
  },
149
- badge: {
150
- fill: '#1D2129',
151
- fillOpacity: 0.65,
152
- strokeWidth: 0,
74
+ innerLabel: {
153
75
  fontSize: 10,
154
- textAlign: 'center',
155
- textBaseline: 'middle',
156
- markerFill: COLORS.STROKE,
157
- markerFillOpacity: 0.25,
158
- markerStrokeOpacity: 0,
159
- },
160
- },
161
- lineX: {
162
- line: {
163
- stroke: COLORS.STROKE,
164
- strokeOpacity: 0.45,
165
- lineWidth: 1,
166
76
  },
167
- },
168
- lineY: {
169
- line: {
170
- stroke: COLORS.STROKE,
171
- strokeOpacity: 0.45,
172
- lineWidth: 1,
173
- },
174
- },
175
- rangeX: {
176
- range: {
177
- fill: COLORS.STROKE,
178
- fillOpacity: 0.15,
179
- lineWidth: 0,
180
- },
181
- },
182
- rangeY: {
183
- range: {
184
- fill: COLORS.STROKE,
185
- fillOpacity: 0.15,
186
- lineWidth: 0,
77
+ htmlLabel: {
78
+ fontSize: 10,
187
79
  },
188
- },
189
- connector: {
190
- connector: {
191
- stroke: COLORS.STROKE,
192
- strokeOpacity: 0.45,
193
- lineWidth: 1,
194
- connectLength1: 12,
195
- endMarker: true,
196
- endMarkerSize: 6,
197
- endMarkerFill: COLORS.STROKE,
198
- endMarkerFillOpacity: 0.95,
80
+ slider: {
81
+ handleLabelFontSize: 10,
82
+ trackFillOpacity: 0.05,
199
83
  },
200
84
  },
201
- axis: {
202
- arrow: false,
203
- gridLineDash: [0, 0],
204
- gridLineWidth: 1,
205
- gridStroke: '#ddd',
206
- gridStrokeOpacity: 1,
207
- labelAlign: 'horizontal',
208
- labelAutoRotate: false,
209
- labelFill: COLORS.BLACK,
210
- labelFillOpacity: 1,
211
- labelFontSize: 10,
212
- labelFontWeight: 'normal',
213
- labelSpacing: 4,
214
- line: true,
215
- lineLineWidth: 1,
216
- lineStroke: '#888',
217
- lineStrokeOpacity: 1,
218
- tickLength: 5,
219
- tickLineWidth: 1,
220
- tickStroke: COLORS.STROKE,
221
- tickStrokeOpacity: 1,
222
- titleFill: COLORS.BLACK,
223
- titleFillOpacity: 1,
224
- titleFontSize: 11,
225
- titleFontWeight: 'bold',
226
- titleSpacing: 12,
227
- titleTransformOrigin: 'center',
228
- },
229
- axisTop: {
230
- gridDirection: 'positive',
231
- labelDirection: 'negative',
232
- tickDirection: 'negative',
233
- titlePosition: 'top',
234
- titleSpacing: 0,
235
- titleTextBaseline: 'middle',
236
- labelSpacing: 4,
237
- },
238
- axisBottom: {
239
- gridDirection: 'negative',
240
- labelDirection: 'positive',
241
- labelSpacing: 4,
242
- tickDirection: 'positive',
243
- titlePosition: 'bottom',
244
- titleSpacing: 4,
245
- titleTextBaseline: 'bottom',
246
- },
247
- axisLeft: {
248
- gridDirection: 'positive',
249
- labelDirection: 'negative',
250
- labelSpacing: 4,
251
- tickDirection: 'negative',
252
- titlePosition: 'left',
253
- titleSpacing: 4,
254
- titleTextBaseline: 'middle',
255
- titleDirection: 'vertical',
256
- titleTransformOrigin: 'center',
257
- },
258
- axisRight: {
259
- gridDirection: 'negative',
260
- labelDirection: 'positive',
261
- labelSpacing: 4,
262
- tickDirection: 'positive',
263
- titlePosition: 'right',
264
- titleSpacing: 0,
265
- titleTextBaseline: 'top',
266
- titleDirection: 'vertical',
267
- titleTransformOrigin: 'center',
268
- },
269
- axisLinear: {
270
- girdClosed: true,
271
- gridConnect: 'arc',
272
- gridDirection: 'negative',
273
- gridType: 'surround',
274
- titlePosition: 'top',
275
- titleTextBaseline: 'bottom',
276
- },
277
- axisArc: {
278
- title: false,
279
- titlePosition: 'inner',
280
- line: false,
281
- tick: true,
282
- labelSpacing: 4,
283
- },
284
- axisRadar: {
285
- girdClosed: true,
286
- gridStrokeOpacity: 0.3,
287
- gridType: 'surround',
288
- label: false,
289
- tick: false,
290
- titlePosition: 'start',
291
- },
292
- legendCategory: {
293
- backgroundFill: 'transparent',
294
- itemBackgroundFill: 'transparent',
295
- itemLabelFill: COLORS.BLACK,
296
- itemLabelFillOpacity: 1,
297
- itemLabelFontSize: 10,
298
- itemLabelFontWeight: 'normal',
299
- // legend marker
300
- // itemMarkerFill: DEFAULT_COLOR,
301
- itemMarkerFillOpacity: 1,
302
- itemMarkerSize: 8,
303
- itemSpacing: [5, 4],
304
- itemValueFill: COLORS.BLACK,
305
- itemValueFillOpacity: 1,
306
- itemValueFontSize: 10,
307
- itemValueFontWeight: 'normal',
308
- // [todo] rename legend navigator
309
- navButtonFill: COLORS.BLACK,
310
- navButtonFillOpacity: 0.45,
311
- navButtonSize: 6,
312
- navPageNumFill: COLORS.BLACK,
313
- navPageNumFillOpacity: 0.45,
314
- navPageNumFontSize: 10,
315
- padding: 8,
316
- title: true,
317
- titleFill: COLORS.BLACK,
318
- titleFillOpacity: 1,
319
- titleFontSize: 11,
320
- titleFontWeight: 'bold',
321
- titleSpacing: 4,
322
- rowPadding: 0,
323
- colPadding: 8,
324
- },
325
- legendContinuous: {
326
- handleHeight: 12,
327
- handleLabelFill: COLORS.BLACK,
328
- handleLabelFillOpacity: 0.45,
329
- handleLabelFontSize: 10,
330
- handleLabelFontWeight: 'normal',
331
- handleMarkerFill: COLORS.BLACK,
332
- handleMarkerFillOpacity: 0.6,
333
- handleMarkerLineWidth: 1,
334
- handleMarkerStroke: COLORS.BLACK,
335
- handleMarkerStrokeOpacity: 0.25,
336
- handleWidth: 10,
337
- labelFill: COLORS.BLACK,
338
- labelFillOpacity: 0.45,
339
- labelFontSize: 10,
340
- labelFontWeight: 'normal',
341
- title: true,
342
- titleSpacing: 4,
343
- ribbonFill: '#aaa',
344
- handle: true,
345
- handleLabel: false,
346
- handleShape: 'slider',
347
- handleIconSize: 12 / 1.8,
348
- indicator: false,
349
- titleFontWeight: 'bold',
350
- },
351
- label: {
352
- fill: COLORS.BLACK,
353
- fillOpacity: 0.65,
354
- fontSize: 10,
355
- fontWeight: 'normal',
356
- stroke: undefined,
357
- offset: 12,
358
- connectorStroke: COLORS.BLACK,
359
- connectorStrokeOpacity: 0.45,
360
- connectorLineWidth: 1,
361
- connectorLength: 12,
362
- connectorLength2: 8,
363
- connectorDistance: 4,
364
- },
365
- innerLabel: {
366
- fill: COLORS.WHITE,
367
- fontSize: 10,
368
- fillOpacity: 0.85,
369
- fontWeight: 'normal',
370
- stroke: undefined,
371
- offset: 0,
372
- },
373
- htmlLabel: {
374
- fontSize: 12,
375
- opacity: 0.65,
376
- color: COLORS.BLACK,
377
- fontWeight: 'normal',
378
- },
379
- slider: {
380
- trackSize: 16,
381
- trackFill: COLORS.STROKE,
382
- trackFillOpacity: 0.05,
383
- selectionFill: DEFAULT_COLOR,
384
- selectionFillOpacity: 0.15,
385
- handleIconSize: 10,
386
- handleIconFill: '#f7f7f7',
387
- handleIconFillOpacity: 1,
388
- handleIconStroke: COLORS.BLACK,
389
- handleIconStrokeOpacity: 0.25,
390
- handleIconLineWidth: 1,
391
- handleIconRadius: 2,
392
- handleLabelFill: COLORS.BLACK,
393
- handleLabelFillOpacity: 0.45,
394
- handleLabelFontSize: 10,
395
- handleLabelFontWeight: 'normal',
396
- },
397
- scrollbar: {},
398
- title: {
399
- titleFill: COLORS.BLACK,
400
- titleFillOpacity: 0.85,
401
- titleFontSize: 14,
402
- titleFontWeight: 'bold',
403
- titleTextBaseline: 'top',
404
- subtitleFill: COLORS.BLACK,
405
- subtitleFillOpacity: 0.65,
406
- subtitleFontSize: 12,
407
- subtitleFontWeight: 'normal',
408
- subtitleTextBaseline: 'top',
409
- },
410
- };
411
- return Object.assign({}, defaultOptions, options);
85
+ options,
86
+ );
412
87
  };
413
88
 
414
89
  Academy.props = {};