@octaviaflow/type 1.0.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.
- package/README.md +239 -0
- package/es/index.js +850 -0
- package/index.scss +14 -0
- package/lib/index.js +922 -0
- package/package.json +59 -0
- package/scss/_classes.scss +42 -0
- package/scss/_default-type.scss +50 -0
- package/scss/_font-family.scss +105 -0
- package/scss/_prefix.scss +28 -0
- package/scss/_reset.scss +42 -0
- package/scss/_scale.scss +58 -0
- package/scss/_styles.scss +902 -0
- package/src/__tests__/__snapshots__/fontFamily-test.js.snap +13 -0
- package/src/__tests__/__snapshots__/fontFamily.test.js.snap +13 -0
- package/src/__tests__/__snapshots__/fontWeight-test.js.snap +11 -0
- package/src/__tests__/__snapshots__/fontWeight.test.js.snap +11 -0
- package/src/__tests__/__snapshots__/reset-test.js.snap +11 -0
- package/src/__tests__/__snapshots__/reset.test.js.snap +11 -0
- package/src/__tests__/__snapshots__/scale-test.js.snap +29 -0
- package/src/__tests__/__snapshots__/scale.test.js.snap +29 -0
- package/src/__tests__/__snapshots__/styles-test.js.snap +411 -0
- package/src/__tests__/__snapshots__/styles.test.js.snap +411 -0
- package/src/__tests__/exports-test.js +88 -0
- package/src/__tests__/exports.test.js +88 -0
- package/src/__tests__/fluid-test.js +71 -0
- package/src/__tests__/fluid.test.js +71 -0
- package/src/__tests__/fontFamily-test.js +33 -0
- package/src/__tests__/fontFamily.test.js +33 -0
- package/src/__tests__/fontWeight-test.js +33 -0
- package/src/__tests__/fontWeight.test.js +33 -0
- package/src/__tests__/reset-test.js +23 -0
- package/src/__tests__/reset.test.js +23 -0
- package/src/__tests__/scale-test.js +31 -0
- package/src/__tests__/scale.test.js +31 -0
- package/src/__tests__/styles-test.js +18 -0
- package/src/__tests__/styles.test.js +18 -0
- package/src/__tests__/tokens-test.js +21 -0
- package/src/__tests__/tokens.test.js +21 -0
- package/src/fluid.js +89 -0
- package/src/fontFamily.js +33 -0
- package/src/fontWeight.js +27 -0
- package/src/index.js +31 -0
- package/src/print.js +39 -0
- package/src/reset.js +32 -0
- package/src/scale.js +33 -0
- package/src/styles.js +491 -0
- package/src/tokens.js +132 -0
- package/telemetry.yml +16 -0
- package/umd/index.js +926 -0
package/lib/index.js
ADDED
|
@@ -0,0 +1,922 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var layout = require('@octaviaflow/layout');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Copyright OctaviaFlow
|
|
9
|
+
* Author: Vishal Kumar
|
|
10
|
+
* Created: 11/November/2025
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
// Font family fallbacks for: IBM Plex Mono, IBM Plex Sans, IBM Plex Sans
|
|
17
|
+
// Condensed, IBM Plex Sans Hebrew, and IBM Plex Serif
|
|
18
|
+
var fontFamilies = {
|
|
19
|
+
mono: "'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace",
|
|
20
|
+
sans: "'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif",
|
|
21
|
+
sansCondensed: "'IBM Plex Sans Condensed', 'Helvetica Neue', Arial, sans-serif",
|
|
22
|
+
sansHebrew: "'IBM Plex Sans Hebrew', 'Helvetica Hebrew', 'Arial Hebrew', sans-serif",
|
|
23
|
+
serif: "'IBM Plex Serif', 'Georgia', Times, serif"
|
|
24
|
+
};
|
|
25
|
+
function fontFamily(name) {
|
|
26
|
+
if (!fontFamilies[name]) {
|
|
27
|
+
throw new Error("Unable to find font family: `".concat(name, "`. Expected one of: ") + "[".concat(Object.keys(fontFamilies).join(', '), "]"));
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
fontFamily: fontFamilies[name]
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Copyright OctaviaFlow
|
|
36
|
+
* Author: Vishal Kumar
|
|
37
|
+
* Created: 11/November/2025
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
var fontWeights = {
|
|
44
|
+
light: 300,
|
|
45
|
+
regular: 400,
|
|
46
|
+
semibold: 600
|
|
47
|
+
};
|
|
48
|
+
function fontWeight(weight) {
|
|
49
|
+
if (!fontWeights[weight]) {
|
|
50
|
+
throw new Error("Unable to find font weight: `".concat(weight, "`. Expected one of: ") + "[".concat(Object.keys(fontWeights).join(', '), "]"));
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
fontWeight: fontWeights[weight]
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Copyright OctaviaFlow
|
|
59
|
+
* Author: Vishal Kumar
|
|
60
|
+
* Created: 11/November/2025
|
|
61
|
+
*
|
|
62
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
63
|
+
* LICENSE file in the root directory of this source tree.
|
|
64
|
+
*/
|
|
65
|
+
|
|
66
|
+
function print(block) {
|
|
67
|
+
return Object.keys(block).reduce(function (acc, key, index) {
|
|
68
|
+
// Short-circuit on the foreign key 'breakpoints'. This is used in our
|
|
69
|
+
// tokens for fluid type and should not be printed. In the future, we should
|
|
70
|
+
// tie this to media query outputs.
|
|
71
|
+
if (key === 'breakpoints') {
|
|
72
|
+
return acc;
|
|
73
|
+
}
|
|
74
|
+
var property = "".concat(paramCase(key), ": ").concat(block[key], ";");
|
|
75
|
+
if (index === 0) {
|
|
76
|
+
return property;
|
|
77
|
+
}
|
|
78
|
+
return acc + '\n' + property;
|
|
79
|
+
}, '');
|
|
80
|
+
}
|
|
81
|
+
function paramCase(string) {
|
|
82
|
+
var result = '';
|
|
83
|
+
for (var i = 0; i < string.length; i++) {
|
|
84
|
+
var character = string[i];
|
|
85
|
+
if (character === character.toUpperCase()) {
|
|
86
|
+
result += '-' + character.toLowerCase();
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
result += character;
|
|
90
|
+
}
|
|
91
|
+
return result;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Copyright OctaviaFlow
|
|
96
|
+
* Author: Vishal Kumar
|
|
97
|
+
* Created: 11/November/2025
|
|
98
|
+
*
|
|
99
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
100
|
+
* LICENSE file in the root directory of this source tree.
|
|
101
|
+
*/
|
|
102
|
+
var reset = {
|
|
103
|
+
html: {
|
|
104
|
+
fontSize: layout.px(layout.baseFontSize)
|
|
105
|
+
},
|
|
106
|
+
body: {
|
|
107
|
+
fontFamily: fontFamilies.sans,
|
|
108
|
+
fontWeight: fontWeights.regular,
|
|
109
|
+
textRendering: 'optimizeLegibility',
|
|
110
|
+
'-webkit-font-smoothing': 'antialiased',
|
|
111
|
+
'-moz-osx-font-smoothing': 'grayscale'
|
|
112
|
+
},
|
|
113
|
+
strong: {
|
|
114
|
+
fontWeight: fontWeights.semibold
|
|
115
|
+
},
|
|
116
|
+
code: {
|
|
117
|
+
fontFamily: fontFamilies.mono
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Copyright OctaviaFlow
|
|
123
|
+
* Author: Vishal Kumar
|
|
124
|
+
* Created: 11/November/2025
|
|
125
|
+
*
|
|
126
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
127
|
+
* LICENSE file in the root directory of this source tree.
|
|
128
|
+
*/
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Get the type size for the given step
|
|
132
|
+
* @param {number} step
|
|
133
|
+
* @returns {number}
|
|
134
|
+
*/
|
|
135
|
+
function getTypeSize(step) {
|
|
136
|
+
if (step <= 1) {
|
|
137
|
+
return 12;
|
|
138
|
+
}
|
|
139
|
+
// Yn = Yn-1 + {FLOOR[(n - 2) / 4] + 1} * 2
|
|
140
|
+
return getTypeSize(step - 1) + Math.floor((step - 2) / 4 + 1) * 2;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* The default type scale for 23 steps. Inlined as an array here through running
|
|
145
|
+
* the follow step:
|
|
146
|
+
*
|
|
147
|
+
* > Array.from({ length: 23 }, (_, i) => getTypeSize(i + 1))
|
|
148
|
+
*/
|
|
149
|
+
var scale = [12, 14, 16, 18, 20, 24, 28, 32, 36, 42, 48, 54, 60, 68, 76, 84, 92, 102, 112, 122, 132, 144, 156];
|
|
150
|
+
|
|
151
|
+
function _defineProperty(e, r, t) {
|
|
152
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
153
|
+
value: t,
|
|
154
|
+
enumerable: !0,
|
|
155
|
+
configurable: !0,
|
|
156
|
+
writable: !0
|
|
157
|
+
}) : e[r] = t, e;
|
|
158
|
+
}
|
|
159
|
+
function ownKeys(e, r) {
|
|
160
|
+
var t = Object.keys(e);
|
|
161
|
+
if (Object.getOwnPropertySymbols) {
|
|
162
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
163
|
+
r && (o = o.filter(function (r) {
|
|
164
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
165
|
+
})), t.push.apply(t, o);
|
|
166
|
+
}
|
|
167
|
+
return t;
|
|
168
|
+
}
|
|
169
|
+
function _objectSpread2(e) {
|
|
170
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
171
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
172
|
+
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
|
|
173
|
+
_defineProperty(e, r, t[r]);
|
|
174
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
175
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
return e;
|
|
179
|
+
}
|
|
180
|
+
function _objectWithoutProperties(e, t) {
|
|
181
|
+
if (null == e) return {};
|
|
182
|
+
var o,
|
|
183
|
+
r,
|
|
184
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
185
|
+
if (Object.getOwnPropertySymbols) {
|
|
186
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
187
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
188
|
+
}
|
|
189
|
+
return i;
|
|
190
|
+
}
|
|
191
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
192
|
+
if (null == r) return {};
|
|
193
|
+
var t = {};
|
|
194
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
195
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
196
|
+
t[n] = r[n];
|
|
197
|
+
}
|
|
198
|
+
return t;
|
|
199
|
+
}
|
|
200
|
+
function _toPrimitive(t, r) {
|
|
201
|
+
if ("object" != typeof t || !t) return t;
|
|
202
|
+
var e = t[Symbol.toPrimitive];
|
|
203
|
+
if (void 0 !== e) {
|
|
204
|
+
var i = e.call(t, r || "default");
|
|
205
|
+
if ("object" != typeof i) return i;
|
|
206
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
207
|
+
}
|
|
208
|
+
return ("string" === r ? String : Number)(t);
|
|
209
|
+
}
|
|
210
|
+
function _toPropertyKey(t) {
|
|
211
|
+
var i = _toPrimitive(t, "string");
|
|
212
|
+
return "symbol" == typeof i ? i : i + "";
|
|
213
|
+
}
|
|
214
|
+
function _typeof(o) {
|
|
215
|
+
"@babel/helpers - typeof";
|
|
216
|
+
|
|
217
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
218
|
+
return typeof o;
|
|
219
|
+
} : function (o) {
|
|
220
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
221
|
+
}, _typeof(o);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
var caption01$1 = {
|
|
225
|
+
fontSize: layout.rem(scale[0]),
|
|
226
|
+
fontWeight: fontWeights.regular,
|
|
227
|
+
lineHeight: 1.33333,
|
|
228
|
+
letterSpacing: layout.px(0.32)
|
|
229
|
+
};
|
|
230
|
+
var caption02$1 = {
|
|
231
|
+
fontSize: layout.rem(scale[1]),
|
|
232
|
+
fontWeight: fontWeights.regular,
|
|
233
|
+
lineHeight: 1.28572,
|
|
234
|
+
letterSpacing: layout.px(0.32)
|
|
235
|
+
};
|
|
236
|
+
var label01$1 = {
|
|
237
|
+
fontSize: layout.rem(scale[0]),
|
|
238
|
+
fontWeight: fontWeights.regular,
|
|
239
|
+
lineHeight: 1.33333,
|
|
240
|
+
letterSpacing: layout.px(0.32)
|
|
241
|
+
};
|
|
242
|
+
var label02$1 = {
|
|
243
|
+
fontSize: layout.rem(scale[1]),
|
|
244
|
+
fontWeight: fontWeights.regular,
|
|
245
|
+
lineHeight: 1.28572,
|
|
246
|
+
letterSpacing: layout.px(0.16)
|
|
247
|
+
};
|
|
248
|
+
var helperText01$1 = {
|
|
249
|
+
fontSize: layout.rem(scale[0]),
|
|
250
|
+
lineHeight: 1.33333,
|
|
251
|
+
letterSpacing: layout.px(0.32)
|
|
252
|
+
};
|
|
253
|
+
var helperText02$1 = {
|
|
254
|
+
fontSize: layout.rem(scale[1]),
|
|
255
|
+
lineHeight: 1.28572,
|
|
256
|
+
letterSpacing: layout.px(0.16)
|
|
257
|
+
};
|
|
258
|
+
var bodyShort01$1 = {
|
|
259
|
+
fontSize: layout.rem(scale[1]),
|
|
260
|
+
fontWeight: fontWeights.regular,
|
|
261
|
+
lineHeight: 1.28572,
|
|
262
|
+
letterSpacing: layout.px(0.16)
|
|
263
|
+
};
|
|
264
|
+
var bodyLong01$1 = {
|
|
265
|
+
fontSize: layout.rem(scale[1]),
|
|
266
|
+
fontWeight: fontWeights.regular,
|
|
267
|
+
lineHeight: 1.42857,
|
|
268
|
+
letterSpacing: layout.px(0.16)
|
|
269
|
+
};
|
|
270
|
+
var bodyShort02$1 = {
|
|
271
|
+
fontSize: layout.rem(scale[2]),
|
|
272
|
+
fontWeight: fontWeights.regular,
|
|
273
|
+
lineHeight: 1.375,
|
|
274
|
+
letterSpacing: 0
|
|
275
|
+
};
|
|
276
|
+
var bodyLong02$1 = {
|
|
277
|
+
fontSize: layout.rem(scale[2]),
|
|
278
|
+
fontWeight: fontWeights.regular,
|
|
279
|
+
lineHeight: 1.5,
|
|
280
|
+
letterSpacing: 0
|
|
281
|
+
};
|
|
282
|
+
var code01$1 = {
|
|
283
|
+
fontFamily: fontFamilies.mono,
|
|
284
|
+
fontSize: layout.rem(scale[0]),
|
|
285
|
+
fontWeight: fontWeights.regular,
|
|
286
|
+
lineHeight: 1.33333,
|
|
287
|
+
letterSpacing: layout.px(0.32)
|
|
288
|
+
};
|
|
289
|
+
var code02$1 = {
|
|
290
|
+
fontFamily: fontFamilies.mono,
|
|
291
|
+
fontSize: layout.rem(scale[1]),
|
|
292
|
+
fontWeight: fontWeights.regular,
|
|
293
|
+
lineHeight: 1.42857,
|
|
294
|
+
letterSpacing: layout.px(0.32)
|
|
295
|
+
};
|
|
296
|
+
var heading01$1 = {
|
|
297
|
+
fontSize: layout.rem(scale[1]),
|
|
298
|
+
fontWeight: fontWeights.semibold,
|
|
299
|
+
lineHeight: 1.42857,
|
|
300
|
+
letterSpacing: layout.px(0.16)
|
|
301
|
+
};
|
|
302
|
+
var productiveHeading01$1 = {
|
|
303
|
+
fontSize: layout.rem(scale[1]),
|
|
304
|
+
fontWeight: fontWeights.semibold,
|
|
305
|
+
lineHeight: 1.28572,
|
|
306
|
+
letterSpacing: layout.px(0.16)
|
|
307
|
+
};
|
|
308
|
+
var heading02$1 = {
|
|
309
|
+
fontSize: layout.rem(scale[2]),
|
|
310
|
+
fontWeight: fontWeights.semibold,
|
|
311
|
+
lineHeight: 1.5,
|
|
312
|
+
letterSpacing: 0
|
|
313
|
+
};
|
|
314
|
+
var productiveHeading02$1 = {
|
|
315
|
+
fontSize: layout.rem(scale[2]),
|
|
316
|
+
fontWeight: fontWeights.semibold,
|
|
317
|
+
lineHeight: 1.375,
|
|
318
|
+
letterSpacing: 0
|
|
319
|
+
};
|
|
320
|
+
var productiveHeading03$1 = {
|
|
321
|
+
fontSize: layout.rem(scale[4]),
|
|
322
|
+
fontWeight: fontWeights.regular,
|
|
323
|
+
lineHeight: 1.4,
|
|
324
|
+
letterSpacing: 0
|
|
325
|
+
};
|
|
326
|
+
var productiveHeading04$1 = {
|
|
327
|
+
fontSize: layout.rem(scale[6]),
|
|
328
|
+
fontWeight: fontWeights.regular,
|
|
329
|
+
lineHeight: 1.28572,
|
|
330
|
+
letterSpacing: 0
|
|
331
|
+
};
|
|
332
|
+
var productiveHeading05$1 = {
|
|
333
|
+
fontSize: layout.rem(scale[7]),
|
|
334
|
+
fontWeight: fontWeights.regular,
|
|
335
|
+
lineHeight: 1.25,
|
|
336
|
+
letterSpacing: 0
|
|
337
|
+
};
|
|
338
|
+
var productiveHeading06$1 = {
|
|
339
|
+
fontSize: layout.rem(scale[9]),
|
|
340
|
+
fontWeight: fontWeights.light,
|
|
341
|
+
lineHeight: 1.199,
|
|
342
|
+
letterSpacing: 0
|
|
343
|
+
};
|
|
344
|
+
var productiveHeading07$1 = {
|
|
345
|
+
fontSize: layout.rem(scale[11]),
|
|
346
|
+
fontWeight: fontWeights.light,
|
|
347
|
+
lineHeight: 1.199,
|
|
348
|
+
letterSpacing: 0
|
|
349
|
+
};
|
|
350
|
+
var expressiveHeading01$1 = _objectSpread2(_objectSpread2({}, heading01$1), {}, {
|
|
351
|
+
lineHeight: 1.25
|
|
352
|
+
});
|
|
353
|
+
var expressiveHeading02$1 = _objectSpread2(_objectSpread2({}, heading02$1), {}, {
|
|
354
|
+
lineHeight: 1.5
|
|
355
|
+
});
|
|
356
|
+
var expressiveHeading03$1 = {
|
|
357
|
+
fontSize: layout.rem(scale[4]),
|
|
358
|
+
fontWeight: fontWeights.regular,
|
|
359
|
+
lineHeight: 1.4,
|
|
360
|
+
letterSpacing: 0,
|
|
361
|
+
breakpoints: {
|
|
362
|
+
xlg: {
|
|
363
|
+
fontSize: layout.rem(scale[4]),
|
|
364
|
+
lineHeight: 1.4
|
|
365
|
+
},
|
|
366
|
+
max: {
|
|
367
|
+
fontSize: layout.rem(scale[5]),
|
|
368
|
+
lineHeight: 1.334
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
};
|
|
372
|
+
var expressiveHeading04$1 = {
|
|
373
|
+
fontSize: layout.rem(scale[6]),
|
|
374
|
+
fontWeight: fontWeights.regular,
|
|
375
|
+
lineHeight: 1.28572,
|
|
376
|
+
letterSpacing: 0,
|
|
377
|
+
breakpoints: {
|
|
378
|
+
xlg: {
|
|
379
|
+
fontSize: layout.rem(scale[7]),
|
|
380
|
+
fontWeight: fontWeights.regular,
|
|
381
|
+
lineHeight: 1.25
|
|
382
|
+
},
|
|
383
|
+
max: {
|
|
384
|
+
fontSize: layout.rem(scale[7]),
|
|
385
|
+
fontWeight: fontWeights.regular
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
};
|
|
389
|
+
var expressiveHeading05$1 = {
|
|
390
|
+
fontSize: layout.rem(scale[7]),
|
|
391
|
+
fontWeight: fontWeights.regular,
|
|
392
|
+
lineHeight: 1.25,
|
|
393
|
+
letterSpacing: 0,
|
|
394
|
+
breakpoints: {
|
|
395
|
+
md: {
|
|
396
|
+
fontSize: layout.rem(scale[8]),
|
|
397
|
+
fontWeight: fontWeights.light,
|
|
398
|
+
lineHeight: 1.22,
|
|
399
|
+
letterSpacing: 0
|
|
400
|
+
},
|
|
401
|
+
lg: {
|
|
402
|
+
fontSize: layout.rem(scale[9]),
|
|
403
|
+
lineHeight: 1.19,
|
|
404
|
+
letterSpacing: 0
|
|
405
|
+
},
|
|
406
|
+
xlg: {
|
|
407
|
+
fontSize: layout.rem(scale[10]),
|
|
408
|
+
lineHeight: 1.17,
|
|
409
|
+
letterSpacing: 0
|
|
410
|
+
},
|
|
411
|
+
max: {
|
|
412
|
+
fontSize: layout.rem(scale[12]),
|
|
413
|
+
letterSpacing: 0
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
var expressiveHeading06$1 = {
|
|
418
|
+
fontSize: layout.rem(scale[7]),
|
|
419
|
+
fontWeight: fontWeights.semibold,
|
|
420
|
+
lineHeight: 1.25,
|
|
421
|
+
letterSpacing: 0,
|
|
422
|
+
breakpoints: {
|
|
423
|
+
md: {
|
|
424
|
+
fontSize: layout.rem(scale[8]),
|
|
425
|
+
fontWeight: fontWeights.semibold,
|
|
426
|
+
lineHeight: 1.22,
|
|
427
|
+
letterSpacing: 0
|
|
428
|
+
},
|
|
429
|
+
lg: {
|
|
430
|
+
fontSize: layout.rem(scale[9]),
|
|
431
|
+
fontWeight: fontWeights.semibold,
|
|
432
|
+
lineHeight: 1.19,
|
|
433
|
+
letterSpacing: 0
|
|
434
|
+
},
|
|
435
|
+
xlg: {
|
|
436
|
+
fontSize: layout.rem(scale[10]),
|
|
437
|
+
fontWeight: fontWeights.semibold,
|
|
438
|
+
lineHeight: 1.17,
|
|
439
|
+
letterSpacing: 0
|
|
440
|
+
},
|
|
441
|
+
max: {
|
|
442
|
+
fontSize: layout.rem(scale[12]),
|
|
443
|
+
fontWeight: fontWeights.semibold,
|
|
444
|
+
letterSpacing: 0
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
};
|
|
448
|
+
var expressiveParagraph01$1 = {
|
|
449
|
+
fontSize: layout.rem(scale[5]),
|
|
450
|
+
fontWeight: fontWeights.light,
|
|
451
|
+
lineHeight: 1.334,
|
|
452
|
+
letterSpacing: 0,
|
|
453
|
+
breakpoints: {
|
|
454
|
+
lg: {
|
|
455
|
+
fontSize: layout.rem(scale[6]),
|
|
456
|
+
lineHeight: 1.28572
|
|
457
|
+
},
|
|
458
|
+
max: {
|
|
459
|
+
fontSize: layout.rem(scale[7]),
|
|
460
|
+
lineHeight: 1.25
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
};
|
|
464
|
+
var quotation01$1 = {
|
|
465
|
+
fontFamily: fontFamilies.serif,
|
|
466
|
+
fontSize: layout.rem(scale[4]),
|
|
467
|
+
fontWeight: fontWeights.regular,
|
|
468
|
+
lineHeight: 1.3,
|
|
469
|
+
letterSpacing: 0,
|
|
470
|
+
breakpoints: {
|
|
471
|
+
md: {
|
|
472
|
+
fontSize: layout.rem(scale[4]),
|
|
473
|
+
fontWeight: fontWeights.regular,
|
|
474
|
+
letterSpacing: 0
|
|
475
|
+
},
|
|
476
|
+
lg: {
|
|
477
|
+
fontSize: layout.rem(scale[5]),
|
|
478
|
+
fontWeight: fontWeights.regular,
|
|
479
|
+
lineHeight: 1.334,
|
|
480
|
+
letterSpacing: 0
|
|
481
|
+
},
|
|
482
|
+
xlg: {
|
|
483
|
+
fontSize: layout.rem(scale[6]),
|
|
484
|
+
fontWeight: fontWeights.regular,
|
|
485
|
+
lineHeight: 1.28572,
|
|
486
|
+
letterSpacing: 0
|
|
487
|
+
},
|
|
488
|
+
max: {
|
|
489
|
+
fontSize: layout.rem(scale[7]),
|
|
490
|
+
fontWeight: fontWeights.regular,
|
|
491
|
+
lineHeight: 1.25,
|
|
492
|
+
letterSpacing: 0
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
};
|
|
496
|
+
var quotation02$1 = {
|
|
497
|
+
fontFamily: fontFamilies.serif,
|
|
498
|
+
fontSize: layout.rem(scale[7]),
|
|
499
|
+
fontWeight: fontWeights.light,
|
|
500
|
+
lineHeight: 1.25,
|
|
501
|
+
letterSpacing: 0,
|
|
502
|
+
breakpoints: {
|
|
503
|
+
md: {
|
|
504
|
+
fontSize: layout.rem(scale[8]),
|
|
505
|
+
lineHeight: 1.22
|
|
506
|
+
},
|
|
507
|
+
lg: {
|
|
508
|
+
fontSize: layout.rem(scale[9]),
|
|
509
|
+
lineHeight: 1.19
|
|
510
|
+
},
|
|
511
|
+
xlg: {
|
|
512
|
+
fontSize: layout.rem(scale[10]),
|
|
513
|
+
lineHeight: 1.17
|
|
514
|
+
},
|
|
515
|
+
max: {
|
|
516
|
+
fontSize: layout.rem(scale[12])
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
};
|
|
520
|
+
var display01$1 = {
|
|
521
|
+
fontSize: layout.rem(scale[9]),
|
|
522
|
+
fontWeight: fontWeights.light,
|
|
523
|
+
lineHeight: 1.19,
|
|
524
|
+
letterSpacing: 0,
|
|
525
|
+
breakpoints: {
|
|
526
|
+
md: {
|
|
527
|
+
fontSize: layout.rem(scale[9])
|
|
528
|
+
},
|
|
529
|
+
lg: {
|
|
530
|
+
fontSize: layout.rem(scale[11])
|
|
531
|
+
},
|
|
532
|
+
xlg: {
|
|
533
|
+
fontSize: layout.rem(scale[12]),
|
|
534
|
+
lineHeight: 1.17
|
|
535
|
+
},
|
|
536
|
+
max: {
|
|
537
|
+
fontSize: layout.rem(scale[14]),
|
|
538
|
+
lineHeight: 1.13
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
};
|
|
542
|
+
var display02$1 = {
|
|
543
|
+
fontSize: layout.rem(scale[9]),
|
|
544
|
+
fontWeight: fontWeights.semibold,
|
|
545
|
+
lineHeight: 1.19,
|
|
546
|
+
letterSpacing: 0,
|
|
547
|
+
breakpoints: {
|
|
548
|
+
md: {
|
|
549
|
+
fontSize: layout.rem(scale[9])
|
|
550
|
+
},
|
|
551
|
+
lg: {
|
|
552
|
+
fontSize: layout.rem(scale[11])
|
|
553
|
+
},
|
|
554
|
+
xlg: {
|
|
555
|
+
fontSize: layout.rem(scale[12]),
|
|
556
|
+
lineHeight: 1.16
|
|
557
|
+
},
|
|
558
|
+
max: {
|
|
559
|
+
fontSize: layout.rem(scale[14]),
|
|
560
|
+
lineHeight: 1.13
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
};
|
|
564
|
+
var display03$1 = {
|
|
565
|
+
fontSize: layout.rem(scale[9]),
|
|
566
|
+
fontWeight: fontWeights.light,
|
|
567
|
+
lineHeight: 1.19,
|
|
568
|
+
letterSpacing: 0,
|
|
569
|
+
breakpoints: {
|
|
570
|
+
md: {
|
|
571
|
+
fontSize: layout.rem(scale[11]),
|
|
572
|
+
lineHeight: 1.18
|
|
573
|
+
},
|
|
574
|
+
lg: {
|
|
575
|
+
fontSize: layout.rem(scale[12]),
|
|
576
|
+
lineHeight: 1.16,
|
|
577
|
+
letterSpacing: layout.px(-0.64)
|
|
578
|
+
},
|
|
579
|
+
xlg: {
|
|
580
|
+
fontSize: layout.rem(scale[14]),
|
|
581
|
+
lineHeight: 1.13
|
|
582
|
+
},
|
|
583
|
+
max: {
|
|
584
|
+
fontSize: layout.rem(scale[15]),
|
|
585
|
+
lineHeight: 1.11,
|
|
586
|
+
letterSpacing: layout.px(-0.96)
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
};
|
|
590
|
+
var display04$1 = {
|
|
591
|
+
fontSize: layout.rem(scale[9]),
|
|
592
|
+
fontWeight: fontWeights.light,
|
|
593
|
+
lineHeight: 1.19,
|
|
594
|
+
letterSpacing: 0,
|
|
595
|
+
breakpoints: {
|
|
596
|
+
md: {
|
|
597
|
+
fontSize: layout.rem(scale[13]),
|
|
598
|
+
lineHeight: 1.15
|
|
599
|
+
},
|
|
600
|
+
lg: {
|
|
601
|
+
fontSize: layout.rem(scale[16]),
|
|
602
|
+
lineHeight: 1.11,
|
|
603
|
+
letterSpacing: layout.px(-0.64)
|
|
604
|
+
},
|
|
605
|
+
xlg: {
|
|
606
|
+
fontSize: layout.rem(scale[19]),
|
|
607
|
+
lineHeight: 1.07,
|
|
608
|
+
letterSpacing: layout.px(-0.64)
|
|
609
|
+
},
|
|
610
|
+
max: {
|
|
611
|
+
fontSize: layout.rem(scale[22]),
|
|
612
|
+
lineHeight: 1.05,
|
|
613
|
+
letterSpacing: layout.px(-0.96)
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
};
|
|
617
|
+
|
|
618
|
+
// Type changes - V11
|
|
619
|
+
|
|
620
|
+
// Small styles
|
|
621
|
+
// No changes for code-01, code-02, label-01, label-02
|
|
622
|
+
var legal01$1 = {
|
|
623
|
+
fontSize: layout.rem(scale[0]),
|
|
624
|
+
fontWeight: fontWeights.regular,
|
|
625
|
+
lineHeight: 1.33333,
|
|
626
|
+
letterSpacing: layout.px(0.32)
|
|
627
|
+
};
|
|
628
|
+
var legal02$1 = {
|
|
629
|
+
fontSize: layout.rem(scale[1]),
|
|
630
|
+
fontWeight: fontWeights.regular,
|
|
631
|
+
lineHeight: 1.28572,
|
|
632
|
+
letterSpacing: layout.px(0.16)
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
// Body styles
|
|
636
|
+
var bodyCompact01$1 = bodyShort01$1;
|
|
637
|
+
var bodyCompact02$1 = bodyShort02$1;
|
|
638
|
+
var body01$1 = bodyLong01$1;
|
|
639
|
+
var body02$1 = bodyLong02$1;
|
|
640
|
+
|
|
641
|
+
// Fixed heading styles
|
|
642
|
+
var headingCompact01$1 = productiveHeading01$1;
|
|
643
|
+
var headingCompact02$1 = productiveHeading02$1;
|
|
644
|
+
var heading03$1 = productiveHeading03$1;
|
|
645
|
+
var heading04$1 = productiveHeading04$1;
|
|
646
|
+
var heading05$1 = productiveHeading05$1;
|
|
647
|
+
var heading06$1 = productiveHeading06$1;
|
|
648
|
+
var heading07$1 = productiveHeading07$1;
|
|
649
|
+
|
|
650
|
+
// Fluid heading styles
|
|
651
|
+
var fluidHeading03$1 = expressiveHeading03$1;
|
|
652
|
+
var fluidHeading04$1 = expressiveHeading04$1;
|
|
653
|
+
var fluidHeading05$1 = expressiveHeading05$1;
|
|
654
|
+
var fluidHeading06$1 = expressiveHeading06$1;
|
|
655
|
+
|
|
656
|
+
// Additional fluid styles
|
|
657
|
+
var fluidParagraph01$1 = expressiveParagraph01$1;
|
|
658
|
+
var fluidQuotation01$1 = quotation01$1;
|
|
659
|
+
var fluidQuotation02$1 = quotation02$1;
|
|
660
|
+
var fluidDisplay01$1 = display01$1;
|
|
661
|
+
var fluidDisplay02$1 = display02$1;
|
|
662
|
+
var fluidDisplay03$1 = display03$1;
|
|
663
|
+
var fluidDisplay04$1 = display04$1;
|
|
664
|
+
|
|
665
|
+
var styles = /*#__PURE__*/Object.freeze({
|
|
666
|
+
__proto__: null,
|
|
667
|
+
caption01: caption01$1,
|
|
668
|
+
caption02: caption02$1,
|
|
669
|
+
label01: label01$1,
|
|
670
|
+
label02: label02$1,
|
|
671
|
+
helperText01: helperText01$1,
|
|
672
|
+
helperText02: helperText02$1,
|
|
673
|
+
bodyShort01: bodyShort01$1,
|
|
674
|
+
bodyLong01: bodyLong01$1,
|
|
675
|
+
bodyShort02: bodyShort02$1,
|
|
676
|
+
bodyLong02: bodyLong02$1,
|
|
677
|
+
code01: code01$1,
|
|
678
|
+
code02: code02$1,
|
|
679
|
+
heading01: heading01$1,
|
|
680
|
+
productiveHeading01: productiveHeading01$1,
|
|
681
|
+
heading02: heading02$1,
|
|
682
|
+
productiveHeading02: productiveHeading02$1,
|
|
683
|
+
productiveHeading03: productiveHeading03$1,
|
|
684
|
+
productiveHeading04: productiveHeading04$1,
|
|
685
|
+
productiveHeading05: productiveHeading05$1,
|
|
686
|
+
productiveHeading06: productiveHeading06$1,
|
|
687
|
+
productiveHeading07: productiveHeading07$1,
|
|
688
|
+
expressiveHeading01: expressiveHeading01$1,
|
|
689
|
+
expressiveHeading02: expressiveHeading02$1,
|
|
690
|
+
expressiveHeading03: expressiveHeading03$1,
|
|
691
|
+
expressiveHeading04: expressiveHeading04$1,
|
|
692
|
+
expressiveHeading05: expressiveHeading05$1,
|
|
693
|
+
expressiveHeading06: expressiveHeading06$1,
|
|
694
|
+
expressiveParagraph01: expressiveParagraph01$1,
|
|
695
|
+
quotation01: quotation01$1,
|
|
696
|
+
quotation02: quotation02$1,
|
|
697
|
+
display01: display01$1,
|
|
698
|
+
display02: display02$1,
|
|
699
|
+
display03: display03$1,
|
|
700
|
+
display04: display04$1,
|
|
701
|
+
legal01: legal01$1,
|
|
702
|
+
legal02: legal02$1,
|
|
703
|
+
bodyCompact01: bodyCompact01$1,
|
|
704
|
+
bodyCompact02: bodyCompact02$1,
|
|
705
|
+
body01: body01$1,
|
|
706
|
+
body02: body02$1,
|
|
707
|
+
headingCompact01: headingCompact01$1,
|
|
708
|
+
headingCompact02: headingCompact02$1,
|
|
709
|
+
heading03: heading03$1,
|
|
710
|
+
heading04: heading04$1,
|
|
711
|
+
heading05: heading05$1,
|
|
712
|
+
heading06: heading06$1,
|
|
713
|
+
heading07: heading07$1,
|
|
714
|
+
fluidHeading03: fluidHeading03$1,
|
|
715
|
+
fluidHeading04: fluidHeading04$1,
|
|
716
|
+
fluidHeading05: fluidHeading05$1,
|
|
717
|
+
fluidHeading06: fluidHeading06$1,
|
|
718
|
+
fluidParagraph01: fluidParagraph01$1,
|
|
719
|
+
fluidQuotation01: fluidQuotation01$1,
|
|
720
|
+
fluidQuotation02: fluidQuotation02$1,
|
|
721
|
+
fluidDisplay01: fluidDisplay01$1,
|
|
722
|
+
fluidDisplay02: fluidDisplay02$1,
|
|
723
|
+
fluidDisplay03: fluidDisplay03$1,
|
|
724
|
+
fluidDisplay04: fluidDisplay04$1
|
|
725
|
+
});
|
|
726
|
+
|
|
727
|
+
var _excluded = ["breakpoints"];
|
|
728
|
+
var breakpointNames = Object.keys(layout.breakpoints);
|
|
729
|
+
function next(name) {
|
|
730
|
+
return breakpointNames[breakpointNames.indexOf(name) + 1];
|
|
731
|
+
}
|
|
732
|
+
function fluid(selector) {
|
|
733
|
+
var fluidBreakpoints = selector.breakpoints,
|
|
734
|
+
styles = _objectWithoutProperties(selector, _excluded);
|
|
735
|
+
if (_typeof(fluidBreakpoints) !== 'object') {
|
|
736
|
+
return styles;
|
|
737
|
+
}
|
|
738
|
+
var fluidBreakpointNames = Object.keys(fluidBreakpoints);
|
|
739
|
+
if (fluidBreakpointNames.length === 0) {
|
|
740
|
+
return styles;
|
|
741
|
+
}
|
|
742
|
+
styles.fontSize = fluidTypeSize(styles, 'sm', fluidBreakpoints);
|
|
743
|
+
fluidBreakpointNames.forEach(function (name) {
|
|
744
|
+
styles[layout.breakpoint(name)] = _objectSpread2(_objectSpread2({}, fluidBreakpoints[name]), {}, {
|
|
745
|
+
fontSize: fluidTypeSize(styles, name, fluidBreakpoints)
|
|
746
|
+
});
|
|
747
|
+
});
|
|
748
|
+
return styles;
|
|
749
|
+
}
|
|
750
|
+
function fluidTypeSize(defaultStyles, fluidBreakpointName, fluidBreakpoints) {
|
|
751
|
+
var breakpoint = layout.breakpoints[fluidBreakpointName];
|
|
752
|
+
var fluidBreakpoint = fluidBreakpointName === 'sm' ? defaultStyles : fluidBreakpoints[fluidBreakpointName];
|
|
753
|
+
var maxFontSize = defaultStyles.fontSize;
|
|
754
|
+
var minFontSize = defaultStyles.fontSize;
|
|
755
|
+
if (fluidBreakpoint.fontSize) {
|
|
756
|
+
minFontSize = fluidBreakpoint.fontSize;
|
|
757
|
+
}
|
|
758
|
+
var maxViewportWidth = breakpoint.width;
|
|
759
|
+
var minViewportWidth = breakpoint.width;
|
|
760
|
+
var nextBreakpointAvailable = next(fluidBreakpointName);
|
|
761
|
+
var nextFluidBreakpointName = null;
|
|
762
|
+
while (nextBreakpointAvailable) {
|
|
763
|
+
if (fluidBreakpoints[nextBreakpointAvailable]) {
|
|
764
|
+
nextFluidBreakpointName = nextBreakpointAvailable;
|
|
765
|
+
break;
|
|
766
|
+
}
|
|
767
|
+
nextBreakpointAvailable = next(nextBreakpointAvailable);
|
|
768
|
+
}
|
|
769
|
+
if (nextFluidBreakpointName) {
|
|
770
|
+
var nextFluidBreakpoint = layout.breakpoints[nextFluidBreakpointName];
|
|
771
|
+
maxFontSize = fluidBreakpoints[nextFluidBreakpointName].fontSize;
|
|
772
|
+
maxViewportWidth = nextFluidBreakpoint.width;
|
|
773
|
+
return "calc(".concat(minFontSize, " + ").concat(subtract(maxFontSize, minFontSize), " * ((100vw - ").concat(minViewportWidth, ") / ").concat(subtract(maxViewportWidth, minViewportWidth), "))");
|
|
774
|
+
}
|
|
775
|
+
return minFontSize;
|
|
776
|
+
}
|
|
777
|
+
function subtract(a, b) {
|
|
778
|
+
return parseFloat(a) - parseFloat(b);
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* Copyright OctaviaFlow
|
|
783
|
+
* Author: Vishal Kumar
|
|
784
|
+
* Created: 11/November/2025
|
|
785
|
+
*
|
|
786
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
787
|
+
* LICENSE file in the root directory of this source tree.
|
|
788
|
+
*/
|
|
789
|
+
|
|
790
|
+
// Unstable tokens
|
|
791
|
+
var caption01 = 'caption01';
|
|
792
|
+
var caption02 = 'caption02';
|
|
793
|
+
var label01 = 'label01';
|
|
794
|
+
var label02 = 'label02';
|
|
795
|
+
var helperText01 = 'helperText01';
|
|
796
|
+
var helperText02 = 'helperText02';
|
|
797
|
+
var bodyShort01 = 'bodyShort01';
|
|
798
|
+
var bodyLong01 = 'bodyLong01';
|
|
799
|
+
var bodyShort02 = 'bodyShort02';
|
|
800
|
+
var bodyLong02 = 'bodyLong02';
|
|
801
|
+
var code01 = 'code01';
|
|
802
|
+
var code02 = 'code02';
|
|
803
|
+
var heading01 = 'heading01';
|
|
804
|
+
var productiveHeading01 = 'productiveHeading01';
|
|
805
|
+
var heading02 = 'heading02';
|
|
806
|
+
var productiveHeading02 = 'productiveHeading02';
|
|
807
|
+
var productiveHeading03 = 'productiveHeading03';
|
|
808
|
+
var productiveHeading04 = 'productiveHeading04';
|
|
809
|
+
var productiveHeading05 = 'productiveHeading05';
|
|
810
|
+
var productiveHeading06 = 'productiveHeading06';
|
|
811
|
+
var productiveHeading07 = 'productiveHeading07';
|
|
812
|
+
var expressiveHeading01 = 'expressiveHeading01';
|
|
813
|
+
var expressiveHeading02 = 'expressiveHeading02';
|
|
814
|
+
var expressiveHeading03 = 'expressiveHeading03';
|
|
815
|
+
var expressiveHeading04 = 'expressiveHeading04';
|
|
816
|
+
var expressiveHeading05 = 'expressiveHeading05';
|
|
817
|
+
var expressiveHeading06 = 'expressiveHeading06';
|
|
818
|
+
var expressiveParagraph01 = 'expressiveParagraph01';
|
|
819
|
+
var quotation01 = 'quotation01';
|
|
820
|
+
var quotation02 = 'quotation02';
|
|
821
|
+
var display01 = 'display01';
|
|
822
|
+
var display02 = 'display02';
|
|
823
|
+
var display03 = 'display03';
|
|
824
|
+
var display04 = 'display04';
|
|
825
|
+
// V11 Tokens
|
|
826
|
+
var legal01 = 'legal01';
|
|
827
|
+
var legal02 = 'legal02';
|
|
828
|
+
var bodyCompact01 = 'bodyCompact01';
|
|
829
|
+
var bodyCompact02 = 'bodyCompact02';
|
|
830
|
+
var body01 = 'body01';
|
|
831
|
+
var body02 = 'body02';
|
|
832
|
+
var headingCompact01 = 'headingCompact01';
|
|
833
|
+
var headingCompact02 = 'headingCompact02';
|
|
834
|
+
var heading03 = 'heading03';
|
|
835
|
+
var heading04 = 'heading04';
|
|
836
|
+
var heading05 = 'heading05';
|
|
837
|
+
var heading06 = 'heading06';
|
|
838
|
+
var heading07 = 'heading07';
|
|
839
|
+
var fluidHeading03 = 'fluidHeading03';
|
|
840
|
+
var fluidHeading04 = 'fluidHeading04';
|
|
841
|
+
var fluidHeading05 = 'fluidHeading05';
|
|
842
|
+
var fluidHeading06 = 'fluidHeading06';
|
|
843
|
+
var fluidParagraph01 = 'fluidParagraph01';
|
|
844
|
+
var fluidQuotation01 = 'fluidQuotation01';
|
|
845
|
+
var fluidQuotation02 = 'fluidQuotation02';
|
|
846
|
+
var fluidDisplay01 = 'fluidDisplay01';
|
|
847
|
+
var fluidDisplay02 = 'fluidDisplay02';
|
|
848
|
+
var fluidDisplay03 = 'fluidDisplay03';
|
|
849
|
+
var fluidDisplay04 = 'fluidDisplay04';
|
|
850
|
+
var unstable_tokens = [caption01, caption02, label01, label02, helperText01, helperText02, bodyShort01, bodyLong01, bodyShort02, bodyLong02, code01, code02, heading01, productiveHeading01, heading02, productiveHeading02, productiveHeading03, productiveHeading04, productiveHeading05, productiveHeading06, productiveHeading07, expressiveHeading01, expressiveHeading02, expressiveHeading03, expressiveHeading04, expressiveHeading05, expressiveHeading06, expressiveParagraph01, quotation01, quotation02, display01, display02, display03, display04,
|
|
851
|
+
// V11 Tokens
|
|
852
|
+
legal01, legal02, bodyCompact01, bodyCompact02, body01, body02, headingCompact01, headingCompact02, heading03, heading04, heading05, heading06, heading07, fluidHeading03, fluidHeading04, fluidHeading05, fluidHeading06, fluidParagraph01, fluidQuotation01, fluidQuotation02, fluidDisplay01, fluidDisplay02, fluidDisplay03, fluidDisplay04];
|
|
853
|
+
|
|
854
|
+
exports.body01 = body01$1;
|
|
855
|
+
exports.body02 = body02$1;
|
|
856
|
+
exports.bodyCompact01 = bodyCompact01$1;
|
|
857
|
+
exports.bodyCompact02 = bodyCompact02$1;
|
|
858
|
+
exports.bodyLong01 = bodyLong01$1;
|
|
859
|
+
exports.bodyLong02 = bodyLong02$1;
|
|
860
|
+
exports.bodyShort01 = bodyShort01$1;
|
|
861
|
+
exports.bodyShort02 = bodyShort02$1;
|
|
862
|
+
exports.caption01 = caption01$1;
|
|
863
|
+
exports.caption02 = caption02$1;
|
|
864
|
+
exports.code01 = code01$1;
|
|
865
|
+
exports.code02 = code02$1;
|
|
866
|
+
exports.display01 = display01$1;
|
|
867
|
+
exports.display02 = display02$1;
|
|
868
|
+
exports.display03 = display03$1;
|
|
869
|
+
exports.display04 = display04$1;
|
|
870
|
+
exports.expressiveHeading01 = expressiveHeading01$1;
|
|
871
|
+
exports.expressiveHeading02 = expressiveHeading02$1;
|
|
872
|
+
exports.expressiveHeading03 = expressiveHeading03$1;
|
|
873
|
+
exports.expressiveHeading04 = expressiveHeading04$1;
|
|
874
|
+
exports.expressiveHeading05 = expressiveHeading05$1;
|
|
875
|
+
exports.expressiveHeading06 = expressiveHeading06$1;
|
|
876
|
+
exports.expressiveParagraph01 = expressiveParagraph01$1;
|
|
877
|
+
exports.fluid = fluid;
|
|
878
|
+
exports.fluidDisplay01 = fluidDisplay01$1;
|
|
879
|
+
exports.fluidDisplay02 = fluidDisplay02$1;
|
|
880
|
+
exports.fluidDisplay03 = fluidDisplay03$1;
|
|
881
|
+
exports.fluidDisplay04 = fluidDisplay04$1;
|
|
882
|
+
exports.fluidHeading03 = fluidHeading03$1;
|
|
883
|
+
exports.fluidHeading04 = fluidHeading04$1;
|
|
884
|
+
exports.fluidHeading05 = fluidHeading05$1;
|
|
885
|
+
exports.fluidHeading06 = fluidHeading06$1;
|
|
886
|
+
exports.fluidParagraph01 = fluidParagraph01$1;
|
|
887
|
+
exports.fluidQuotation01 = fluidQuotation01$1;
|
|
888
|
+
exports.fluidQuotation02 = fluidQuotation02$1;
|
|
889
|
+
exports.fontFamilies = fontFamilies;
|
|
890
|
+
exports.fontFamily = fontFamily;
|
|
891
|
+
exports.fontWeight = fontWeight;
|
|
892
|
+
exports.fontWeights = fontWeights;
|
|
893
|
+
exports.getTypeSize = getTypeSize;
|
|
894
|
+
exports.heading01 = heading01$1;
|
|
895
|
+
exports.heading02 = heading02$1;
|
|
896
|
+
exports.heading03 = heading03$1;
|
|
897
|
+
exports.heading04 = heading04$1;
|
|
898
|
+
exports.heading05 = heading05$1;
|
|
899
|
+
exports.heading06 = heading06$1;
|
|
900
|
+
exports.heading07 = heading07$1;
|
|
901
|
+
exports.headingCompact01 = headingCompact01$1;
|
|
902
|
+
exports.headingCompact02 = headingCompact02$1;
|
|
903
|
+
exports.helperText01 = helperText01$1;
|
|
904
|
+
exports.helperText02 = helperText02$1;
|
|
905
|
+
exports.label01 = label01$1;
|
|
906
|
+
exports.label02 = label02$1;
|
|
907
|
+
exports.legal01 = legal01$1;
|
|
908
|
+
exports.legal02 = legal02$1;
|
|
909
|
+
exports.print = print;
|
|
910
|
+
exports.productiveHeading01 = productiveHeading01$1;
|
|
911
|
+
exports.productiveHeading02 = productiveHeading02$1;
|
|
912
|
+
exports.productiveHeading03 = productiveHeading03$1;
|
|
913
|
+
exports.productiveHeading04 = productiveHeading04$1;
|
|
914
|
+
exports.productiveHeading05 = productiveHeading05$1;
|
|
915
|
+
exports.productiveHeading06 = productiveHeading06$1;
|
|
916
|
+
exports.productiveHeading07 = productiveHeading07$1;
|
|
917
|
+
exports.quotation01 = quotation01$1;
|
|
918
|
+
exports.quotation02 = quotation02$1;
|
|
919
|
+
exports.reset = reset;
|
|
920
|
+
exports.scale = scale;
|
|
921
|
+
exports.styles = styles;
|
|
922
|
+
exports.unstable_tokens = unstable_tokens;
|