@geotab/zenith 3.9.0-beta.ssr.1 → 3.9.0

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 (144) hide show
  1. package/README.md +29 -8
  2. package/dist/card/card.d.ts +1 -1
  3. package/dist/card/card.js +1 -1
  4. package/dist/{title → card/components}/title.d.ts +1 -1
  5. package/dist/card/components/title.js +26 -0
  6. package/dist/card/helpers/getIconTypeFromStatus.d.ts +1 -1
  7. package/dist/chart/pieChart/centerTextPlugin.js +12 -6
  8. package/dist/chart/pieChart.js +20 -4
  9. package/dist/commonHelpers/hooks/useDeviceType.js +2 -1
  10. package/dist/commonHelpers/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
  11. package/dist/commonHelpers/hooks/useIsomorphicLayoutEffect.js +6 -0
  12. package/dist/commonHelpers/isDomEnv.js +1 -2
  13. package/dist/commonHelpers/useUniqueId.js +2 -2
  14. package/dist/commonHelpers/utils.d.ts +0 -9
  15. package/dist/commonHelpers/utils.js +1 -11
  16. package/dist/commonStyles/common.less +2 -0
  17. package/dist/commonStyles/fonts/notosarabic/LICENSE.txt +93 -0
  18. package/dist/commonStyles/fonts/notosarabic/NotoSansArabic-Bold.woff +0 -0
  19. package/dist/commonStyles/fonts/notosarabic/NotoSansArabic-Bold.woff2 +0 -0
  20. package/dist/commonStyles/fonts/notosarabic/NotoSansArabic-Medium.woff +0 -0
  21. package/dist/commonStyles/fonts/notosarabic/NotoSansArabic-Medium.woff2 +0 -0
  22. package/dist/commonStyles/fonts/notosarabic/NotoSansArabic-Regular.woff +0 -0
  23. package/dist/commonStyles/fonts/notosarabic/NotoSansArabic-Regular.woff2 +0 -0
  24. package/dist/commonStyles/fonts/notosarabic/NotoSansArabic-SemiBold.woff +0 -0
  25. package/dist/commonStyles/fonts/notosarabic/NotoSansArabic-SemiBold.woff2 +0 -0
  26. package/dist/commonStyles/fonts/notosarabic.less +43 -0
  27. package/dist/commonStyles/pillStyles/pillContent.less +3 -2
  28. package/dist/commonStyles/pillStyles/pillStyles.less +2 -1
  29. package/dist/commonStyles/pillStyles/pillTextContent.less +2 -2
  30. package/dist/commonStyles/typography/typography.less +310 -435
  31. package/dist/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +3 -5
  32. package/dist/dataGrid/withSelectableRows/components/bulkActions/bulkActions.js +38 -2
  33. package/dist/dateInputInner/dateInputInnerControlBlock.js +5 -2
  34. package/dist/dateRangeRaw/dateRangeRaw.js +5 -1
  35. package/dist/filtersBar/filtersBarActions/filtersBarActions.js +3 -1
  36. package/dist/header/components/collapsedItemsControl/utils/handleCustomMenuWrapper.js +1 -1
  37. package/dist/index.css +3510 -1914
  38. package/dist/index.d.ts +5 -5
  39. package/dist/index.js +24 -26
  40. package/dist/menu/components/menuItem.js +4 -4
  41. package/dist/menu/controlledMenu.js +4 -4
  42. package/dist/nav/nav.js +10 -5
  43. package/dist/selectRaw/selectRaw.js +1 -1
  44. package/dist/shield/shield.js +5 -3
  45. package/dist/table/children/useTableChildren.d.ts +1 -1
  46. package/dist/table/children/useTableChildren.js +3 -3
  47. package/dist/table/selectable/useSelectableRows.d.ts +0 -8
  48. package/dist/table/selectable/useSelectableRows.js +7 -14
  49. package/dist/table/table.js +7 -1
  50. package/dist/tooltip/tooltip.d.ts +2 -1
  51. package/dist/tooltip/tooltip.js +51 -55
  52. package/dist/utils/localization/languageProvider.js +5 -2
  53. package/dist/utils/localization/translations/ar.json +0 -1
  54. package/dist/utils/localization/translations/cs.json +0 -1
  55. package/dist/utils/localization/translations/da-DK.json +0 -1
  56. package/dist/utils/localization/translations/de.json +0 -1
  57. package/dist/utils/localization/translations/en.json +3 -1
  58. package/dist/utils/localization/translations/es.json +0 -1
  59. package/dist/utils/localization/translations/fi-FI.json +0 -1
  60. package/dist/utils/localization/translations/fr-FR.json +0 -1
  61. package/dist/utils/localization/translations/fr.json +0 -1
  62. package/dist/utils/localization/translations/hu-HU.json +0 -1
  63. package/dist/utils/localization/translations/id.json +0 -1
  64. package/dist/utils/localization/translations/it.json +0 -1
  65. package/dist/utils/localization/translations/ja.json +0 -1
  66. package/dist/utils/localization/translations/ko-KR.json +0 -1
  67. package/dist/utils/localization/translations/ms.json +0 -1
  68. package/dist/utils/localization/translations/nb-NO.json +0 -1
  69. package/dist/utils/localization/translations/nl.json +0 -1
  70. package/dist/utils/localization/translations/pl.json +0 -1
  71. package/dist/utils/localization/translations/pt-BR.json +0 -1
  72. package/dist/utils/localization/translations/pt-PT.json +0 -1
  73. package/dist/utils/localization/translations/ro-RO.json +0 -1
  74. package/dist/utils/localization/translations/sk-SK.json +0 -1
  75. package/dist/utils/localization/translations/sv.json +0 -1
  76. package/dist/utils/localization/translations/th.json +0 -1
  77. package/dist/utils/localization/translations/tr.json +0 -1
  78. package/dist/utils/localization/translations/zh-Hans.json +0 -1
  79. package/dist/utils/localization/translations/zh-TW.json +0 -1
  80. package/esm/card/card.d.ts +1 -1
  81. package/esm/card/card.js +1 -1
  82. package/esm/{title → card/components}/title.d.ts +1 -1
  83. package/esm/card/components/title.js +22 -0
  84. package/esm/card/helpers/getIconTypeFromStatus.d.ts +1 -1
  85. package/esm/chart/pieChart/centerTextPlugin.js +12 -6
  86. package/esm/chart/pieChart.js +21 -5
  87. package/esm/commonHelpers/hooks/useDeviceType.js +3 -2
  88. package/esm/commonHelpers/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
  89. package/esm/commonHelpers/hooks/useIsomorphicLayoutEffect.js +3 -0
  90. package/esm/commonHelpers/isDomEnv.js +1 -2
  91. package/esm/commonHelpers/useUniqueId.js +1 -1
  92. package/esm/commonHelpers/utils.d.ts +0 -9
  93. package/esm/commonHelpers/utils.js +0 -9
  94. package/esm/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +3 -5
  95. package/esm/dataGrid/withSelectableRows/components/bulkActions/bulkActions.js +38 -2
  96. package/esm/dateInputInner/dateInputInnerControlBlock.js +5 -2
  97. package/esm/dateRangeRaw/dateRangeRaw.js +5 -1
  98. package/esm/filtersBar/filtersBarActions/filtersBarActions.js +3 -1
  99. package/esm/header/components/collapsedItemsControl/utils/handleCustomMenuWrapper.js +1 -1
  100. package/esm/index.d.ts +5 -5
  101. package/esm/index.js +5 -5
  102. package/esm/menu/components/menuItem.js +1 -1
  103. package/esm/menu/controlledMenu.js +1 -1
  104. package/esm/nav/nav.js +10 -5
  105. package/esm/selectRaw/selectRaw.js +1 -1
  106. package/esm/shield/shield.js +5 -3
  107. package/esm/table/children/useTableChildren.d.ts +1 -1
  108. package/esm/table/children/useTableChildren.js +3 -3
  109. package/esm/table/selectable/useSelectableRows.d.ts +0 -8
  110. package/esm/table/selectable/useSelectableRows.js +7 -14
  111. package/esm/table/table.js +7 -1
  112. package/esm/tooltip/tooltip.d.ts +2 -1
  113. package/esm/tooltip/tooltip.js +51 -55
  114. package/esm/utils/localization/languageProvider.js +5 -2
  115. package/esm/utils/localization/translations/ar.json +0 -1
  116. package/esm/utils/localization/translations/cs.json +0 -1
  117. package/esm/utils/localization/translations/da-DK.json +0 -1
  118. package/esm/utils/localization/translations/de.json +0 -1
  119. package/esm/utils/localization/translations/en.json +3 -1
  120. package/esm/utils/localization/translations/es.json +0 -1
  121. package/esm/utils/localization/translations/fi-FI.json +0 -1
  122. package/esm/utils/localization/translations/fr-FR.json +0 -1
  123. package/esm/utils/localization/translations/fr.json +0 -1
  124. package/esm/utils/localization/translations/hu-HU.json +0 -1
  125. package/esm/utils/localization/translations/id.json +0 -1
  126. package/esm/utils/localization/translations/it.json +0 -1
  127. package/esm/utils/localization/translations/ja.json +0 -1
  128. package/esm/utils/localization/translations/ko-KR.json +0 -1
  129. package/esm/utils/localization/translations/ms.json +0 -1
  130. package/esm/utils/localization/translations/nb-NO.json +0 -1
  131. package/esm/utils/localization/translations/nl.json +0 -1
  132. package/esm/utils/localization/translations/pl.json +0 -1
  133. package/esm/utils/localization/translations/pt-BR.json +0 -1
  134. package/esm/utils/localization/translations/pt-PT.json +0 -1
  135. package/esm/utils/localization/translations/ro-RO.json +0 -1
  136. package/esm/utils/localization/translations/sk-SK.json +0 -1
  137. package/esm/utils/localization/translations/sv.json +0 -1
  138. package/esm/utils/localization/translations/th.json +0 -1
  139. package/esm/utils/localization/translations/tr.json +0 -1
  140. package/esm/utils/localization/translations/zh-Hans.json +0 -1
  141. package/esm/utils/localization/translations/zh-TW.json +0 -1
  142. package/package.json +38 -35
  143. package/dist/title/title.js +0 -27
  144. package/esm/title/title.js +0 -23
@@ -1,563 +1,438 @@
1
- //**********//
2
- // MyGeotab //
3
- //**********//
4
-
5
- //body-label
6
- //label-01
7
- //body-04
8
- //body-s-400
9
- @base-font-size: 12;
10
- @base-line-height: 16;
11
- @base-letter-spacing: 0.32;
12
- @base-font-weight: 400;
13
- @base-font-style: normal;
14
-
15
- //body-01,
16
- //body-l-400
17
- @body-font-size: 16;
18
- @body-line-height: 24;
19
- @body-letter-spacing: 0;
20
-
21
- //body-02-short,
22
- //body-m-400-short
23
- @body-short-font-size: 14;
24
-
25
- //body-02-tall,
26
- //body-m-400-tall
27
- @body-tall-font-size: 14;
28
- @body-tall-line-height: 28;
29
-
30
- //body-03,
31
- //body-s-700
32
- @body-03-weight: 700;
33
-
34
- //body-05,
35
- //body-s-400-italic
36
- @body-05-style: italic;
37
-
38
- //heading-01
39
- //heading-xl-300
40
- @heading-01-font-size: 28;
41
- @heading-01-font-mobile-size: 20;
42
- @heading-01-line-height: 36;
43
- @heading-01-weight: 300;
44
-
45
- //heading-02
46
- //heading-l-400
47
- @heading-02-font-size: 20;
48
- @heading-02-line-height: 24;
49
-
50
- //heading-03
51
- //heading-m-300
52
- @heading-03-font-size: 20;
53
- @heading-03-font-mobile-size: 18;
54
- @heading-03-line-height: 28;
55
-
56
- //heading-04
57
- //heading-s-500
58
- @heading-04-font-size: 16;
59
- @heading-04-line-height: 24;
60
- @heading-04-weight: 500;
61
-
62
- //heading-05
63
- //heading-xs-500
64
- @heading-05-font-size: 14;
65
- @heading-05-letter-spacing: 0.16;
66
- @heading-05-weight: 500;
67
-
68
- //heading-06
69
- @heading-06-letter-spacing: 0;
70
- @heading-06-text-trasnform: uppercase;
71
-
72
- //data-01
73
- //data-xxl
74
- @data-01-font-size: 32;
75
- @data-01-line-height: 40;
76
-
77
- //data-02
78
- //data-xl
79
- @data-02-font-size: 24;
80
- @data-02-line-height: 32;
81
-
82
- //data-03
83
- //data-l
84
- @data-03-font-size: 20;
85
- @data-03-line-height: 24;
86
-
87
- //data-04
88
- //data-m
89
- @data-04-font-size: 18;
90
- @data-04-line-height: 21;
91
-
92
- //data-05
93
- //data-s
94
- @data-05-font-size: 16;
95
- @data-05-line-height: 18;
96
-
97
- //data-06
98
- //data-xs
99
- @data-06-font-size: 14;
100
- @data-06-line-height: 16;
101
-
102
- //*******//
103
- // Drive //
104
- //*******//
105
-
106
- //label-01-drive
107
- //label-400-drive
108
- @drive-base-font-size: 16;
109
- @drive-base-font-mobile-size: 14;
110
- @drive-base-line-height: 18;
111
- @drive-base-letter-spacing: 0.32;
112
- @drive-base-font-weight: 400;
113
- @drive-base-font-style: normal;
114
-
115
- //body-01-drive
116
- //body-l-400-drive
117
- @body-01-drive-font-size: 20;
118
- @body-01-drive-font-mobile-size: 18;
119
- @body-01-drive-line-height: 30;
120
- @body-01-drive-line-height-mobile: 28;
121
- @body-01-drive-letter-spacing: 0;
122
-
123
- //body-02-short-drive
124
- //body-m-400-short-drive
125
- @body-02-short-drive-font-size: 18;
126
- @body-02-short-drive-font-mobile-size: 16;
127
- @body-02-short-drive-line-height: 22;
128
- @body-02-short-drive-line-height-mobile: 20;
129
-
130
- //body-02-tall-drive
131
- //body-m-400-tall-drive
132
- @body-02-tall-drive-font-size: 18;
133
- @body-02-tall-drive-font-mobile-size: 16;
134
- @body-02-tall-drive-line-height: 28;
135
- @body-02-tall-drive-line-height-mobile: 26;
136
-
137
- //body-03-drive,
138
- //body-s-700-drive
139
- @body-03-drive-line-height: 22;
140
- @body-03-drive-weight: 700;
141
-
142
- //body-04-drive,
143
- //body-s-400-drive
144
- @body-04-drive-line-height: 22;
145
- @body-04-drive-line-height-mobile: 20;
146
-
147
- //body-05-drive
148
- //body-s-400-italic-drive
149
- @body-05-drive-line-height: 20;
150
- @body-05-drive-style: italic;
151
-
152
- //heading-01-drive
153
- //heading-xl-300-drive
154
- @heading-01-drive-font-size: 26;
155
- @heading-01-drive-font-mobile-size: 24;
156
- @heading-01-drive-line-height: 34;
157
- @heading-01-drive-line-height-mobile: 32;
158
- @heading-01-drive-weight: 300;
159
-
160
- //heading-02-drive
161
- //heading-l-400-drive
162
- @heading-02-drive-font-size: 24;
163
- @heading-02-drive-font-mobile-size: 22;
164
- @heading-02-drive-line-height: 30;
165
- @heading-02-drive-line-height-mobile: 28;
166
-
167
- //heading-03-drive
168
- //heading-m-300-drive
169
- @heading-03-drive-font-size: 20;
170
- @heading-03-drive-font-mobile-size: 18;
171
- @heading-03-drive-line-height: 26;
172
- @heading-03-drive-mobile-line-height: 24;
173
-
174
- //heading-04-drive
175
- //heading-m-500-drive
176
- @heading-04-drive-font-size: 20;
177
- @heading-04-drive-font-mobile-size: 18;
178
- @heading-04-drive-line-height: 28;
179
- @heading-04-drive-mobile-line-height: 26;
180
- @heading-04-drive-weight: 500;
181
-
182
- //heading-05-drive
183
- //heading-s-500-drive
184
- @heading-05-drive-font-size: 18;
185
- @heading-05-drive-font-mobile-size: 16;
186
- @heading-05-drive-line-height: 22;
187
- @heading-05-drive-mobile-line-height: 20;
188
- @heading-05-drive-letter-spacing: 0.16;
189
-
190
- //heading-06-drive
191
- @heading-06-drive-font-size: 14;
192
- @heading-06-drive-letter-spacing: 0;
193
-
194
- //heading-07-drive
195
- //heading-s-300-drive
196
- @heading-07-drive-font-size: 18;
197
- @heading-07-drive-font-mobile-size: 16;
198
- @heading-07-drive-line-height: 20;
199
- @heading-07-drive-mobile-line-height: 18;
200
-
201
- //data-01-drive
202
- //data-xl-drive
203
- @data-01-drive-font-size: 34;
204
- @data-01-drive-mobile-size: 32;
205
- @data-01-drive-line-height: 42;
206
- @data-01-drive-mobile-line-height: 40;
207
-
208
- //data-02-drive
209
- //data-l-drive
210
- @data-02-drive-font-size: 22;
211
- @data-02-drive-mobile-size: 20;
212
- @data-02-drive-line-height: 26;
213
- @data-02-drive-mobile-line-height: 24;
214
-
215
- //data-03-drive
216
- //data-m-drive
217
- @data-03-drive-font-size: 20;
218
- @data-03-drive-mobile-size: 16;
219
- @data-03-drive-line-height: 22;
220
- @data-03-drive-mobile-line-height: 21;
221
-
222
- //data-04-drive
223
- //data-s-drive
224
- @data-04-drive-font-size: 18;
225
- @data-04-drive-mobile-size: 16;
226
- @data-04-drive-line-height: 26;
227
- @data-04-drive-mobile-line-height: 24;
228
-
229
- //*************************************************************//
230
- // Do not add raw values here, use the variables above instead //
231
- //*************************************************************//
232
-
233
- .zenith-font(@font,
234
- @size: @base-font-size,
235
- @line-height: @base-line-height,
236
- @letter-spacing: @base-letter-spacing,
237
- @weight: @base-font-weight,
238
- @style: @base-font-style,
1
+ .font(
2
+ @font: Roboto,
3
+ @size,
4
+ @line-height: 16px,
5
+ @letter-spacing: 0,
6
+ @weight: 400,
7
+ @style: normal,
239
8
  @text-transform: none,
240
9
  ) {
241
10
  font-family: @font;
242
- font-size: (@size / @rem);
11
+ font-size: @size;
243
12
  font-style: @style;
244
13
  font-weight: @weight;
245
- letter-spacing: (@letter-spacing / @rem);
246
- line-height: (@line-height / @rem);
14
+ letter-spacing: @letter-spacing;
15
+ line-height: @line-height;
247
16
  text-transform: @text-transform;
248
17
  text-decoration: none;
249
- }
250
18
 
251
- .zenith-drive-font(@font,
252
- @size: @drive-base-font-size,
253
- @line-height: @drive-base-line-height,
254
- @letter-spacing: @drive-base-letter-spacing,
255
- @weight: @drive-base-font-weight,
256
- @style: @drive-base-font-style,
257
- @text-transform: none,
258
- ) {
259
- font-family: @font;
260
- font-size: (@size / @rem);
261
- font-style: @style;
262
- font-weight: @weight;
263
- letter-spacing: (@letter-spacing / @rem);
264
- line-height: (@line-height / @rem);
265
- text-transform: @text-transform;
266
- text-decoration: none;
19
+ html:lang(ar) & {
20
+ font-family: var(--arabic-font-family);
21
+ }
267
22
  }
268
23
 
269
- // MyGeotab
24
+ :root {
25
+ --main-font: Roboto, "Segoe UI", Segoe, "Helvetica Neue", Helvetica, sans-serif;
26
+ --main-font-data: "Roboto Mono", "Segoe UI", Segoe, "Helvetica Neue", Helvetica, sans-serif;
27
+ --data-font-drive: "Roboto Mono", "Segoe UI", Segoe, "Helvetica Neue", Helvetica, sans-serif;
28
+ --arabic-font-family: "Noto Sans Arabic", Roboto, "Segoe UI", Segoe, "Helvetica Neue", Helvetica, sans-serif;
29
+ }
270
30
 
271
31
  // Labels
272
32
  .label-01,
273
- .body-label-400,
274
- .body-04,
275
- .body-s-400 {
276
- .zenith-font(@main-font-family);
33
+ .body-label-400 {
34
+ .font(var(--main-font), 12px, @line-height: 16px, @letter-spacing: 0.32px, @weight: 400);
35
+ }
36
+
37
+ // Labels Drive
38
+ .label-01-tablet-drive,
39
+ .tablet-label-400-drive {
40
+ .font(var(--main-font), 16px, @line-height: 18px, @letter-spacing: 0.32px, @weight: 400);
41
+ }
42
+
43
+ .label-01-mobile-drive,
44
+ .mobile-label-400-drive {
45
+ .font(var(--main-font), 14px, @line-height: 18px, @letter-spacing: 0.32px, @weight: 400);
46
+ }
47
+
48
+ @media (max-width: 640px) {
49
+ .tablet-label-400-drive {
50
+ .font(var(--main-font), 14px, @line-height: 18px, @letter-spacing: 0.32px, @weight: 400);
51
+ }
277
52
  }
278
53
 
279
54
  // Body
280
55
  .body-01,
281
56
  .body-l-400 {
282
- .zenith-font(@main-font-family, @body-font-size, @body-line-height, @body-letter-spacing);
57
+ .font(var(--main-font), 16px, @line-height: 24px, @letter-spacing: 0, @weight: 400);
283
58
  }
284
59
 
285
60
  .body-02-short,
286
61
  .body-m-400-short {
287
- .zenith-font(@main-font-family, @body-short-font-size, @base-line-height, @body-letter-spacing);
62
+ .font(var(--main-font), 14px, @line-height: 16px, @letter-spacing: 0, @weight: 400);
288
63
  }
289
64
 
290
65
  .body-02-tall,
291
66
  .body-m-400-tall {
292
- .zenith-font(@main-font-family, @body-tall-font-size, @body-tall-line-height, @body-letter-spacing);
67
+ .font(var(--main-font), 14px, @line-height: 28px, @weight: 400, @letter-spacing: 0);
293
68
  }
294
69
 
295
70
  .body-03,
296
71
  .body-s-700 {
297
- .zenith-font(@main-font-family, @weight: @body-03-weight);
72
+ .font(var(--main-font), 12px, @line-height: 16px, @letter-spacing: 0.32px, @weight: 700);
73
+ }
74
+
75
+ .body-04,
76
+ .body-s-400 {
77
+ .font(var(--main-font), 12px, @line-height: 16px, @letter-spacing: 0.32px, @weight: 400);
298
78
  }
299
79
 
300
80
  .body-05,
301
81
  .body-s-400-italic {
302
- .zenith-font(@main-font-family, @style: @body-05-style);
82
+ .font(var(--main-font), 12px, @line-height: 16px, @letter-spacing: 0.32px, @weight: 400, @style: italic);
303
83
  }
304
84
 
305
- // Headings
306
- .heading-01-desktop,//this is here only until we update the mygeotab use of heading-01-desktop to heading-xl-300
307
- .heading-01,
308
- .heading-xl-300 {
309
- .zenith-font(@main-font-family, @heading-01-font-size, @heading-01-line-height, @weight: @heading-01-weight);
85
+ // Body Drive
86
+ .body-01-tablet-drive,
87
+ .tablet-body-l-400-drive {
88
+ .font(var(--main-font), 20px, @line-height: 30px, @letter-spacing: 0, @weight: 400);
310
89
  }
311
90
 
312
- .heading-02,
313
- .heading-l-400 {
314
- .zenith-font(@main-font-family, @heading-02-font-size, @heading-02-line-height);
91
+ .body-01-mobile-drive,
92
+ .mobile-body-l-400-drive {
93
+ .font(var(--main-font), 18px, @line-height: 28px, @letter-spacing: 0, @weight: 400);
315
94
  }
316
95
 
317
- .heading-03,
318
- .heading-m-300 {
319
- .zenith-font(@main-font-family, @heading-03-font-size, @heading-03-line-height, @weight: @heading-01-weight);
96
+ @media (max-width: 640px) {
97
+ .tablet-body-l-400-drive {
98
+ .font(var(--main-font), 18px, @line-height: 28px, @letter-spacing: 0, @weight: 400);
99
+ }
320
100
  }
321
101
 
322
- .heading-04,
323
- .heading-s-500 {
324
- .zenith-font(@main-font-family, @heading-04-font-size, @heading-04-line-height, @weight: @heading-04-weight);
102
+ .body-02-short-tablet-drive,
103
+ .tablet-body-m-400-short-drive {
104
+ .font(var(--main-font), 18px, @line-height: 22px, @weight: 400);
325
105
  }
326
106
 
327
- .heading-05,
328
- .heading-xs-500 {
329
- .zenith-font(@main-font-family, @heading-05-font-size, @base-line-height, @heading-05-letter-spacing, @heading-05-weight);
107
+ .body-02-short-mobile-drive,
108
+ .mobile-body-m-400-short-drive {
109
+ .font(var(--main-font), 16px, @line-height: 20px, @weight: 400);
330
110
  }
331
111
 
332
- .heading-06 {
333
- .zenith-font(@main-font-family, @body-tall-font-size, @body-line-height, @heading-06-letter-spacing, @heading-05-weight);
112
+ @media (max-width: 640px) {
113
+ .tablet-body-m-400-short-drive {
114
+ .font(var(--main-font), 16px, @line-height: 20px, @weight: 400);
115
+ }
334
116
  }
335
117
 
336
- .heading-07,
337
- .heading-xs-300 {
338
- .zenith-font(@main-font-family, @heading-05-font-size, @base-line-height, @heading-05-letter-spacing, @weight: @heading-01-weight);
118
+ .body-02-tall-tablet-drive,
119
+ .tablet-body-m-400-tall-drive {
120
+ .font(var(--main-font), 18px, @line-height: 28px, @weight: 400);
339
121
  }
340
122
 
341
- // Data
342
- .data-01,
343
- .data-xxl {
344
- .zenith-font(@main-font-family, @data-01-font-size, @data-01-line-height);
123
+ .body-02-tall-mobile-drive,
124
+ .mobile-body-m-400-tall-drive {
125
+ .font(var(--main-font), 16px, @line-height: 26px, @weight: 400);
345
126
  }
346
127
 
347
- .data-02,
348
- .data-xl {
349
- .zenith-font(@main-font-family, @data-02-font-size, @data-02-line-height);
128
+ @media (max-width: 640px) {
129
+ .tablet-body-m-400-tall-drive {
130
+ .font(var(--main-font), 16px, @line-height: 26px, @weight: 400);
131
+ }
350
132
  }
351
133
 
352
- .data-03,
353
- .data-l {
354
- .zenith-font(@main-font-family, @data-03-font-size, @data-03-line-height);
134
+ .body-03-tablet-drive,
135
+ .tablet-body-s-700-drive {
136
+ .font(var(--main-font), 16px, @line-height: 22px, @letter-spacing: 0.32px, @weight: 700);
355
137
  }
356
138
 
357
- .data-04,
358
- .data-m {
359
- .zenith-font(@main-font-family, @data-04-font-size, @data-04-line-height);
139
+ .body-03-mobile-drive,
140
+ .mobile-body-s-700-drive {
141
+ .font(var(--main-font), 14px, @line-height: 18px, @letter-spacing: 0.32px, @weight: 700);
360
142
  }
361
143
 
362
- .data-05,
363
- .data-s {
364
- .zenith-font(@main-font-family, @data-05-font-size, @data-05-line-height);
144
+ @media (max-width: 640px) {
145
+ .tablet-body-s-700-drive {
146
+ .font(var(--main-font), 14px, @line-height: 18px, @letter-spacing: 0.32px, @weight: 700);
147
+ }
365
148
  }
366
149
 
367
- .data-06,
368
- .data-xs {
369
- .zenith-font(@main-font-family, @data-06-font-size, @data-06-line-height);
150
+ .body-04-tablet-drive,
151
+ .tablet-body-s-400-drive {
152
+ .font(var(--main-font), 16px, @line-height: 22px, @letter-spacing: 0.32px, @weight: 400);
370
153
  }
371
154
 
372
- // Drive
373
-
374
- // Labels Drive
375
- .label-01-drive,
376
- .label-400-drive {
377
- .zenith-drive-font(@driver-font-family);
155
+ .body-04-mobile-drive,
156
+ .mobile-body-s-400-drive {
157
+ .font(var(--main-font), 14px, @line-height: 20px, @letter-spacing: 0.32px, @weight: 400);
378
158
  }
379
159
 
380
- // Body Drive
381
- .body-01-drive,
382
- .body-l-400-drive {
383
- .zenith-drive-font(@driver-font-family, @body-01-drive-font-size, @body-01-drive-line-height, @body-01-drive-letter-spacing);
160
+ @media (max-width: 640px) {
161
+ .tablet-body-s-400-drive {
162
+ .font(var(--main-font), 14px, @line-height: 20px, @letter-spacing: 0.32px, @weight: 400);
163
+ }
384
164
  }
385
165
 
386
- .body-02-short-drive,
387
- .body-m-400-short-drive {
388
- .zenith-drive-font(@driver-font-family, @body-02-short-drive-font-size, @body-02-short-drive-line-height);
166
+ .body-05-tablet-drive,
167
+ .tablet-body-s-400-italic-drive {
168
+ .font(var(--main-font), 16px, @line-height: 20px, @letter-spacing: 0.32px, @weight: 400, @style: italic);
389
169
  }
390
170
 
391
- .body-02-tall-drive,
392
- .body-m-400-tall-drive {
393
- .zenith-drive-font(@driver-font-family, @body-02-tall-drive-font-size, @body-02-tall-drive-line-height);
171
+ .body-05-mobile-drive,
172
+ .mobile-body-s-400-italic-drive {
173
+ .font(var(--main-font), 14px, @line-height: 18px, @letter-spacing: 0.32px, @weight: 400, @style: italic);
394
174
  }
395
175
 
396
- .body-03-drive,
397
- .body-s-700-drive {
398
- .zenith-drive-font(@driver-font-family, @line-height: @body-03-drive-line-height, @weight: @body-03-drive-weight);
176
+ @media (max-width: 640px) {
177
+ .tablet-body-s-400-italic-drive {
178
+ .font(var(--main-font), 14px, @line-height: 18px, @letter-spacing: 0.32px, @weight: 400, @style: italic);
179
+ }
399
180
  }
400
181
 
401
- .body-04-drive,
402
- .body-s-400-drive {
403
- .zenith-drive-font(@driver-font-family, @line-height: @body-04-drive-line-height);
182
+ // Headings
183
+ .heading-01-desktop,
184
+ .heading-xl-300 {
185
+ .font(var(--main-font), 28px, @line-height: 36px, @weight: 300);
404
186
  }
405
187
 
406
- .body-05-drive,
407
- .body-s-400-italic-drive {
408
- .zenith-drive-font(@driver-font-family, @line-height: @body-05-drive-line-height, @style: @body-05-drive-style);
188
+ .heading-01-mobile,
189
+ .heading-xl-300-mobile {
190
+ .font(var(--main-font), 20px, @line-height: 36px, @weight: 300);
409
191
  }
410
192
 
411
- // Headings Drive
412
- .heading-01-drive,
413
- .heading-xl-300-drive {
414
- .zenith-drive-font(@driver-font-family, @heading-01-drive-font-size, @heading-01-drive-line-height, @weight: @heading-01-drive-weight);
193
+ @media (max-width: 640px) {
194
+ .heading-xl-300 {
195
+ .font(var(--main-font), 20px, @line-height: 36px, @weight: 300);
196
+ }
415
197
  }
416
198
 
417
- .heading-02-drive,
418
- .heading-l-400-drive {
419
- .zenith-drive-font(@driver-font-family, @heading-02-drive-font-size, @heading-02-drive-line-height);
199
+ .heading-02,
200
+ .heading-l-400 {
201
+ .font(var(--main-font), 20px, @line-height: 24px, @weight: 400);
420
202
  }
421
203
 
422
- .heading-03-drive,
423
- .heading-m-300-drive {
424
- .zenith-drive-font(@driver-font-family, @heading-03-drive-font-size, @heading-03-drive-line-height, @weight: @heading-01-drive-weight);
204
+ .heading-03-desktop,
205
+ .heading-m-300 {
206
+ .font(var(--main-font), 20px, @line-height: 28px, @weight: 300);
425
207
  }
426
208
 
427
- .heading-04-drive,
428
- .heading-m-500-drive {
429
- .zenith-drive-font(@driver-font-family, @heading-04-drive-font-size, @heading-04-drive-line-height, @weight: @heading-04-drive-weight);
209
+ .heading-03-mobile,
210
+ .heading-m-300-mobile {
211
+ .font(var(--main-font), 18px, @line-height: 28px, @weight: 300);
430
212
  }
431
213
 
432
- .heading-05-drive,
433
- .heading-s-500-drive {
434
- .zenith-drive-font(@driver-font-family, @heading-05-drive-font-size, @heading-05-drive-line-height, @heading-05-drive-letter-spacing, @weight: @heading-04-drive-weight);
214
+ @media (max-width: 640px) {
215
+ .heading-m-300 {
216
+ .font(var(--main-font), 18px, @line-height: 28px, @weight: 300);
217
+ }
435
218
  }
436
219
 
437
- .heading-06-drive {
438
- .zenith-drive-font(@driver-font-family, @heading-06-drive-font-size, @body-line-height, @heading-06-drive-letter-spacing, @weight: @heading-04-drive-weight, @text-transform: @heading-06-text-trasnform);
220
+ .heading-04,
221
+ .heading-s-500 {
222
+ .font(var(--main-font), 16px, @line-height: 24px, @weight: 500);
439
223
  }
440
224
 
441
- .heading-07-drive,
442
- .heading-s-300-drive {
443
- .zenith-drive-font(@driver-font-family, @heading-07-drive-font-size, @heading-07-drive-line-height, @heading-05-drive-letter-spacing, @weight: @heading-01-drive-weight);
225
+ .heading-05,
226
+ .heading-xs-500 {
227
+ .font(var(--main-font), 14px, @line-height: 16px, 0.16px, 500);
444
228
  }
445
229
 
446
- // Data Drive
447
- .data-01-drive,
448
- .data-xl-drive {
449
- .zenith-drive-font(@driver-font-family, @data-01-drive-font-size, @data-01-drive-line-height);
230
+ .heading-06 {
231
+ .font(var(--main-font), 14px, @line-height: 24px, 0, 500, normal, uppercase);
450
232
  }
451
233
 
452
- .data-02-drive,
453
- .data-l-drive {
454
- .zenith-drive-font(@driver-font-family, @data-02-drive-font-size, @data-02-drive-line-height);
234
+ .heading-07,
235
+ .heading-xs-300 {
236
+ .font(var(--main-font), 14px, @line-height: 16px, 0.16px, 300);
455
237
  }
456
238
 
457
- .data-03-drive,
458
- .data-m-drive {
459
- .zenith-drive-font(@driver-font-family, @data-03-drive-font-size, @data-03-drive-line-height);
239
+ // Headings Drive
240
+ .heading-01-tablet-drive,
241
+ .tablet-heading-xl-300-drive {
242
+ .font(var(--main-font), 26px, 34px, @weight: 300);
460
243
  }
461
244
 
462
- .data-04-drive,
463
- .data-s-drive {
464
- .zenith-drive-font(@driver-font-family, @data-04-drive-font-size, @data-04-drive-line-height);
245
+ .heading-01-mobile-drive,
246
+ .mobile-heading-xl-300-drive {
247
+ .font(var(--main-font), 24px, 32px, @weight: 300);
465
248
  }
466
249
 
467
- // Responsive overrides (mobile — max-width: 640px)
468
250
  @media (max-width: 640px) {
469
- // MyGeotab
470
- .heading-xl-300 {
471
- .zenith-font(@main-font-family, @heading-01-font-mobile-size, @heading-01-line-height, @weight: @heading-01-weight);
251
+ .tablet-heading-xl-300-drive {
252
+ .font(var(--main-font), 24px, 32px, @weight: 300);
472
253
  }
254
+ }
473
255
 
474
- .heading-m-300 {
475
- .zenith-font(@main-font-family, @heading-03-font-mobile-size, @heading-03-line-height, @weight: @heading-01-weight);
476
- }
256
+ .heading-02-tablet-drive,
257
+ .tablet-heading-l-400-drive {
258
+ .font(var(--main-font), 24px, 30px, @weight: 400);
259
+ }
477
260
 
478
- // Drive
479
- .label-01-drive,
480
- .label-400-drive {
481
- .zenith-drive-font(@driver-font-family, @drive-base-font-mobile-size);
482
- }
261
+ .heading-02-mobile-drive,
262
+ .mobile-heading-l-400-drive {
263
+ .font(var(--main-font), 22px, 28px, @weight: 400);
264
+ }
483
265
 
484
- .body-01-drive,
485
- .body-l-400-drive {
486
- .zenith-drive-font(@driver-font-family, @body-01-drive-font-mobile-size, @body-01-drive-line-height-mobile, @body-01-drive-letter-spacing);
266
+ @media (max-width: 640px) {
267
+ .tablet-heading-l-400-drive {
268
+ .font(var(--main-font), 22px, 28px, @weight: 400);
487
269
  }
270
+ }
488
271
 
489
- .body-02-short-drive,
490
- .body-m-400-short-drive {
491
- .zenith-drive-font(@driver-font-family, @body-02-short-drive-font-mobile-size, @body-02-short-drive-line-height-mobile);
492
- }
272
+ .heading-03-tablet-drive,
273
+ .tablet-heading-m-300-drive {
274
+ .font(var(--main-font), 20px, 26px, @weight: 300);
275
+ }
493
276
 
494
- .body-02-tall-drive,
495
- .body-m-400-tall-drive {
496
- .zenith-drive-font(@driver-font-family, @body-02-tall-drive-font-mobile-size, @body-02-tall-drive-line-height-mobile);
497
- }
277
+ .heading-03-mobile-drive,
278
+ .mobile-heading-m-300-drive {
279
+ .font(var(--main-font), 18px, 24px, @weight: 300);
280
+ }
498
281
 
499
- .body-03-drive,
500
- .body-s-700-drive {
501
- .zenith-drive-font(@driver-font-family, @drive-base-font-mobile-size, @line-height: @body-03-drive-line-height, @weight: @body-03-drive-weight);
282
+ @media (max-width: 640px) {
283
+ .tablet-heading-m-300-drive {
284
+ .font(var(--main-font), 18px, 24px, @weight: 300);
502
285
  }
286
+ }
503
287
 
504
- .body-04-drive,
505
- .body-s-400-drive {
506
- .zenith-drive-font(@driver-font-family, @drive-base-font-mobile-size, @body-04-drive-line-height-mobile);
507
- }
288
+ .heading-04-tablet-drive,
289
+ .tablet-heading-m-500-drive {
290
+ .font(var(--main-font), 20px, 28px, @weight: 500);
291
+ }
508
292
 
509
- .body-05-drive,
510
- .body-s-400-italic-drive {
511
- .zenith-drive-font(@driver-font-family, @drive-base-font-mobile-size, @body-05-drive-line-height, @style: @body-05-drive-style);
512
- }
293
+ .heading-04-mobile-drive,
294
+ .mobile-heading-m-500-drive {
295
+ .font(var(--main-font), 18px, 26px, @weight: 500);
296
+ }
513
297
 
514
- .heading-01-drive,
515
- .heading-xl-300-drive {
516
- .zenith-drive-font(@driver-font-family, @heading-01-drive-font-mobile-size, @heading-01-drive-line-height-mobile, @weight: @heading-01-drive-weight);
298
+ @media (max-width: 640px) {
299
+ .tablet-heading-m-500-drive {
300
+ .font(var(--main-font), 18px, 26px, @weight: 500);
517
301
  }
302
+ }
518
303
 
519
- .heading-02-drive,
520
- .heading-l-400-drive {
521
- .zenith-drive-font(@driver-font-family, @heading-02-drive-font-mobile-size, @heading-02-drive-line-height-mobile);
522
- }
304
+ .heading-05-tablet-drive,
305
+ .tablet-heading-s-500-drive {
306
+ .font(var(--main-font), 18px, 22px, 0.16px, 500);
307
+ }
523
308
 
524
- .heading-03-drive,
525
- .heading-m-300-drive {
526
- .zenith-drive-font(@driver-font-family, @heading-03-drive-font-mobile-size, @heading-03-drive-mobile-line-height, @weight: @heading-01-drive-weight);
527
- }
309
+ .heading-05-mobile-drive,
310
+ .mobile-heading-s-500-drive {
311
+ .font(var(--main-font), 16px, 20px, 0.16px, 500);
312
+ }
528
313
 
529
- .heading-04-drive,
530
- .heading-m-500-drive {
531
- .zenith-drive-font(@driver-font-family, @heading-04-drive-font-mobile-size, @heading-04-drive-mobile-line-height, @weight: @heading-04-drive-weight);
314
+ @media (max-width: 640px) {
315
+ .tablet-heading-s-500-drive {
316
+ .font(var(--main-font), 16px, 20px, 0.16px, 500);
532
317
  }
318
+ }
533
319
 
534
- .heading-05-drive,
535
- .heading-s-500-drive {
536
- .zenith-drive-font(@driver-font-family, @heading-05-drive-font-mobile-size, @heading-05-drive-mobile-line-height, @heading-05-drive-letter-spacing, @weight: @heading-04-drive-weight);
537
- }
320
+ .heading-06-tablet-drive {
321
+ .font(var(--main-font), 14px, 22px, 0, 500, normal, uppercase);
322
+ }
323
+
324
+ .heading-06-mobile-drive {
325
+ .font(var(--main-font), 12px, 20px, 0, 500, normal, uppercase);
326
+ }
327
+
328
+ .heading-07-tablet-drive,
329
+ .tablet-heading-s-300-drive {
330
+ .font(var(--main-font), 18px, 20px, 0.16px, 300);
331
+ }
538
332
 
539
- .heading-07-drive,
540
- .heading-s-300-drive {
541
- .zenith-drive-font(@driver-font-family, @heading-07-drive-font-mobile-size, @heading-07-drive-mobile-line-height, @heading-05-drive-letter-spacing, @weight: @heading-01-drive-weight);
333
+ .heading-07-mobile-drive,
334
+ .mobile-heading-s-300-drive {
335
+ .font(var(--main-font), 16px, 18px, 0.16px, 300);
336
+ }
337
+
338
+ @media (max-width: 640px) {
339
+ .tablet-heading-s-300-drive {
340
+ .font(var(--main-font), 16px, 18px, 0.16px, 300);
542
341
  }
342
+ }
343
+
344
+ // Data
345
+ .data-01,
346
+ .data-xxl {
347
+ .font(var(--main-font-data), 32px, @line-height: 40px);
348
+ }
349
+
350
+ .data-02,
351
+ .data-xl {
352
+ .font(var(--main-font-data), 24px, 32px);
353
+ }
354
+
355
+ .data-03,
356
+ .data-l {
357
+ .font(var(--main-font-data), 20px, 24px);
358
+ }
359
+
360
+ .data-04,
361
+ .data-m {
362
+ .font(var(--main-font-data), 18px, 21px);
363
+ }
364
+
365
+ .data-05,
366
+ .data-s {
367
+ .font(var(--main-font-data), 16px, 18px);
368
+ }
369
+
370
+ .data-06,
371
+ .data-xs {
372
+ .font(var(--main-font-data), 14px, 16px);
373
+ }
374
+
375
+ // Data Drive
376
+ .data-01-tablet-drive,
377
+ .tablet-data-xl-drive {
378
+ .font(var(--data-font-drive), 34px, 42px);
379
+ }
543
380
 
544
- .data-01-drive,
545
- .data-xl-drive {
546
- .zenith-drive-font(@driver-font-family, @data-01-drive-mobile-size, @data-01-drive-mobile-line-height);
381
+ .data-01-mobile-drive,
382
+ .mobile-data-xl-drive {
383
+ .font(var(--data-font-drive), 32px, 40px);
384
+ }
385
+
386
+ @media (max-width: 640px) {
387
+ .tablet-data-xl-drive {
388
+ .font(var(--data-font-drive), 32px, 40px);
547
389
  }
390
+ }
391
+
392
+ .data-02-tablet-drive,
393
+ .tablet-data-l-drive {
394
+ .font(var(--data-font-drive), 22px, 26px);
395
+ }
548
396
 
549
- .data-02-drive,
550
- .data-l-drive {
551
- .zenith-drive-font(@driver-font-family, @data-02-drive-mobile-size, @data-02-drive-mobile-line-height);
397
+ .data-02-mobile-drive,
398
+ .mobile-data-l-drive {
399
+ .font(var(--data-font-drive), 20px, 24px);
400
+ }
401
+
402
+ @media (max-width: 640px) {
403
+ .tablet-data-l-drive {
404
+ .font(var(--data-font-drive), 20px, 24px);
552
405
  }
406
+ }
553
407
 
554
- .data-03-drive,
555
- .data-m-drive {
556
- .zenith-drive-font(@driver-font-family, @data-03-drive-mobile-size, @data-03-drive-mobile-line-height);
408
+ .data-03-tablet-drive,
409
+ .tablet-data-m-drive {
410
+ .font(var(--data-font-drive), 20px, 22px);
411
+ }
412
+
413
+ .data-03-mobile-drive,
414
+ .mobile-data-m-drive {
415
+ .font(var(--data-font-drive), 16px, 21px);
416
+ }
417
+
418
+ @media (max-width: 640px) {
419
+ .tablet-data-m-drive {
420
+ .font(var(--data-font-drive), 16px, 21px);
557
421
  }
422
+ }
558
423
 
559
- .data-04-drive,
560
- .data-s-drive {
561
- .zenith-drive-font(@driver-font-family, @data-04-drive-mobile-size, @data-04-drive-mobile-line-height);
424
+ .data-04-tablet-drive,
425
+ .tablet-data-s-drive {
426
+ .font(var(--data-font-drive), 18px, 26px);
427
+ }
428
+
429
+ .data-04-mobile-drive,
430
+ .mobile-data-s-drive {
431
+ .font(var(--data-font-drive), 16px, 24px);
432
+ }
433
+
434
+ @media (max-width: 640px) {
435
+ .tablet-data-s-drive {
436
+ .font(var(--data-font-drive), 16px, 24px);
562
437
  }
563
438
  }