@khanacademy/wonder-blocks-typography 1.1.25

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/dist/index.js ADDED
@@ -0,0 +1,759 @@
1
+ module.exports =
2
+ /******/ (function(modules) { // webpackBootstrap
3
+ /******/ // The module cache
4
+ /******/ var installedModules = {};
5
+ /******/
6
+ /******/ // The require function
7
+ /******/ function __webpack_require__(moduleId) {
8
+ /******/
9
+ /******/ // Check if module is in cache
10
+ /******/ if(installedModules[moduleId]) {
11
+ /******/ return installedModules[moduleId].exports;
12
+ /******/ }
13
+ /******/ // Create a new module (and put it into the cache)
14
+ /******/ var module = installedModules[moduleId] = {
15
+ /******/ i: moduleId,
16
+ /******/ l: false,
17
+ /******/ exports: {}
18
+ /******/ };
19
+ /******/
20
+ /******/ // Execute the module function
21
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22
+ /******/
23
+ /******/ // Flag the module as loaded
24
+ /******/ module.l = true;
25
+ /******/
26
+ /******/ // Return the exports of the module
27
+ /******/ return module.exports;
28
+ /******/ }
29
+ /******/
30
+ /******/
31
+ /******/ // expose the modules object (__webpack_modules__)
32
+ /******/ __webpack_require__.m = modules;
33
+ /******/
34
+ /******/ // expose the module cache
35
+ /******/ __webpack_require__.c = installedModules;
36
+ /******/
37
+ /******/ // define getter function for harmony exports
38
+ /******/ __webpack_require__.d = function(exports, name, getter) {
39
+ /******/ if(!__webpack_require__.o(exports, name)) {
40
+ /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
41
+ /******/ }
42
+ /******/ };
43
+ /******/
44
+ /******/ // define __esModule on exports
45
+ /******/ __webpack_require__.r = function(exports) {
46
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
47
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48
+ /******/ }
49
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
50
+ /******/ };
51
+ /******/
52
+ /******/ // create a fake namespace object
53
+ /******/ // mode & 1: value is a module id, require it
54
+ /******/ // mode & 2: merge all properties of value into the ns
55
+ /******/ // mode & 4: return value when already ns object
56
+ /******/ // mode & 8|1: behave like require
57
+ /******/ __webpack_require__.t = function(value, mode) {
58
+ /******/ if(mode & 1) value = __webpack_require__(value);
59
+ /******/ if(mode & 8) return value;
60
+ /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
61
+ /******/ var ns = Object.create(null);
62
+ /******/ __webpack_require__.r(ns);
63
+ /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
64
+ /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
65
+ /******/ return ns;
66
+ /******/ };
67
+ /******/
68
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
69
+ /******/ __webpack_require__.n = function(module) {
70
+ /******/ var getter = module && module.__esModule ?
71
+ /******/ function getDefault() { return module['default']; } :
72
+ /******/ function getModuleExports() { return module; };
73
+ /******/ __webpack_require__.d(getter, 'a', getter);
74
+ /******/ return getter;
75
+ /******/ };
76
+ /******/
77
+ /******/ // Object.prototype.hasOwnProperty.call
78
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
79
+ /******/
80
+ /******/ // __webpack_public_path__
81
+ /******/ __webpack_require__.p = "";
82
+ /******/
83
+ /******/
84
+ /******/ // Load entry module and return exports
85
+ /******/ return __webpack_require__(__webpack_require__.s = 5);
86
+ /******/ })
87
+ /************************************************************************/
88
+ /******/ ([
89
+ /* 0 */
90
+ /***/ (function(module, exports) {
91
+
92
+ function _extends() {
93
+ module.exports = _extends = Object.assign || function (target) {
94
+ for (var i = 1; i < arguments.length; i++) {
95
+ var source = arguments[i];
96
+
97
+ for (var key in source) {
98
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
99
+ target[key] = source[key];
100
+ }
101
+ }
102
+ }
103
+
104
+ return target;
105
+ };
106
+
107
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
108
+ return _extends.apply(this, arguments);
109
+ }
110
+
111
+ module.exports = _extends;
112
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
113
+
114
+ /***/ }),
115
+ /* 1 */
116
+ /***/ (function(module, exports) {
117
+
118
+ module.exports = require("react");
119
+
120
+ /***/ }),
121
+ /* 2 */
122
+ /***/ (function(module, exports) {
123
+
124
+ function _objectWithoutPropertiesLoose(source, excluded) {
125
+ if (source == null) return {};
126
+ var target = {};
127
+ var sourceKeys = Object.keys(source);
128
+ var key, i;
129
+
130
+ for (i = 0; i < sourceKeys.length; i++) {
131
+ key = sourceKeys[i];
132
+ if (excluded.indexOf(key) >= 0) continue;
133
+ target[key] = source[key];
134
+ }
135
+
136
+ return target;
137
+ }
138
+
139
+ module.exports = _objectWithoutPropertiesLoose;
140
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
141
+
142
+ /***/ }),
143
+ /* 3 */
144
+ /***/ (function(module, exports) {
145
+
146
+ module.exports = require("@khanacademy/wonder-blocks-core");
147
+
148
+ /***/ }),
149
+ /* 4 */
150
+ /***/ (function(module, exports) {
151
+
152
+ module.exports = require("aphrodite");
153
+
154
+ /***/ }),
155
+ /* 5 */
156
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
157
+
158
+ "use strict";
159
+ // ESM COMPAT FLAG
160
+ __webpack_require__.r(__webpack_exports__);
161
+
162
+ // EXPORTS
163
+ __webpack_require__.d(__webpack_exports__, "Title", function() { return /* reexport */ title_Title; });
164
+ __webpack_require__.d(__webpack_exports__, "HeadingLarge", function() { return /* reexport */ heading_large_HeadingLarge; });
165
+ __webpack_require__.d(__webpack_exports__, "HeadingMedium", function() { return /* reexport */ heading_medium_HeadingMedium; });
166
+ __webpack_require__.d(__webpack_exports__, "HeadingSmall", function() { return /* reexport */ heading_small_HeadingSmall; });
167
+ __webpack_require__.d(__webpack_exports__, "HeadingXSmall", function() { return /* reexport */ heading_xsmall_HeadingXSmall; });
168
+ __webpack_require__.d(__webpack_exports__, "BodySerifBlock", function() { return /* reexport */ body_serif_block_BodySerifBlock; });
169
+ __webpack_require__.d(__webpack_exports__, "BodySerif", function() { return /* reexport */ body_serif_BodySerif; });
170
+ __webpack_require__.d(__webpack_exports__, "BodyMonospace", function() { return /* reexport */ body_monospace_BodyMonospace; });
171
+ __webpack_require__.d(__webpack_exports__, "Body", function() { return /* reexport */ body_Body; });
172
+ __webpack_require__.d(__webpack_exports__, "LabelLarge", function() { return /* reexport */ label_large_LabelLarge; });
173
+ __webpack_require__.d(__webpack_exports__, "LabelMedium", function() { return /* reexport */ label_medium_LabelMedium; });
174
+ __webpack_require__.d(__webpack_exports__, "LabelSmall", function() { return /* reexport */ label_small_LabelSmall; });
175
+ __webpack_require__.d(__webpack_exports__, "LabelXSmall", function() { return /* reexport */ label_xsmall_LabelXSmall; });
176
+ __webpack_require__.d(__webpack_exports__, "Tagline", function() { return /* reexport */ tagline_Tagline; });
177
+ __webpack_require__.d(__webpack_exports__, "Caption", function() { return /* reexport */ caption_Caption; });
178
+ __webpack_require__.d(__webpack_exports__, "Footnote", function() { return /* reexport */ footnote_Footnote; });
179
+ __webpack_require__.d(__webpack_exports__, "styles", function() { return /* reexport */ styles; });
180
+
181
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/extends.js
182
+ var helpers_extends = __webpack_require__(0);
183
+ var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);
184
+
185
+ // EXTERNAL MODULE: external "aphrodite"
186
+ var external_aphrodite_ = __webpack_require__(4);
187
+
188
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/util/styles.js
189
+
190
+
191
+ const Regular = 400;
192
+ const Bold = 700;
193
+ const Black = 900;
194
+ const mobile = "@media (max-width: 1023px)";
195
+ const desktop = "@media (min-width: 1024px)";
196
+ const common = {
197
+ display: "block"
198
+ };
199
+ const SansFamily = 'Lato, "Noto Sans", sans-serif'; // TODO(kevinb): Use Minion Pro here
200
+
201
+ const SerifFamily = '"Noto Serif", serif';
202
+ const InconsolataFamily = "Inconsolata, monospace";
203
+ const styles = external_aphrodite_["StyleSheet"].create({
204
+ Title: extends_default()({}, common, {
205
+ fontFamily: SansFamily,
206
+ fontWeight: Black,
207
+ [desktop]: {
208
+ fontSize: 36,
209
+ lineHeight: "40px"
210
+ },
211
+ [mobile]: {
212
+ fontSize: 28,
213
+ lineHeight: "32px"
214
+ }
215
+ }),
216
+ Tagline: extends_default()({}, common, {
217
+ fontFamily: SansFamily,
218
+ fontWeight: Regular,
219
+ fontSize: 20,
220
+ lineHeight: "24px"
221
+ }),
222
+ HeadingLarge: extends_default()({}, common, {
223
+ fontFamily: SansFamily,
224
+ fontWeight: Bold,
225
+ [desktop]: {
226
+ fontSize: 28,
227
+ lineHeight: "32px"
228
+ },
229
+ [mobile]: {
230
+ fontSize: 24,
231
+ lineHeight: "28px"
232
+ }
233
+ }),
234
+ HeadingMedium: extends_default()({}, common, {
235
+ fontFamily: SansFamily,
236
+ fontWeight: Bold,
237
+ [desktop]: {
238
+ fontSize: 24,
239
+ lineHeight: "28px"
240
+ },
241
+ [mobile]: {
242
+ fontSize: 22,
243
+ lineHeight: "26px"
244
+ }
245
+ }),
246
+ HeadingSmall: extends_default()({}, common, {
247
+ fontFamily: SansFamily,
248
+ fontWeight: Bold,
249
+ fontSize: 20,
250
+ lineHeight: "24px"
251
+ }),
252
+ HeadingXSmall: extends_default()({}, common, {
253
+ fontFamily: SansFamily,
254
+ fontWeight: Bold,
255
+ fontSize: 12,
256
+ lineHeight: "16px",
257
+ letterSpacing: 0.6,
258
+ textTransform: "uppercase"
259
+ }),
260
+ BodySerifBlock: extends_default()({}, common, {
261
+ fontFamily: SerifFamily,
262
+ fontWeight: Regular,
263
+ fontSize: 22,
264
+ lineHeight: "28px"
265
+ }),
266
+ BodySerif: extends_default()({}, common, {
267
+ fontFamily: SerifFamily,
268
+ fontWeight: Regular,
269
+ fontSize: 18,
270
+ lineHeight: "22px"
271
+ }),
272
+ BodyMonospace: extends_default()({}, common, {
273
+ fontFamily: InconsolataFamily,
274
+ fontWeight: Regular,
275
+ fontSize: 17,
276
+ lineHeight: "22px"
277
+ }),
278
+ Body: extends_default()({}, common, {
279
+ fontFamily: SansFamily,
280
+ fontWeight: Regular,
281
+ fontSize: 16,
282
+ lineHeight: "22px"
283
+ }),
284
+ LabelLarge: extends_default()({}, common, {
285
+ fontFamily: SansFamily,
286
+ fontWeight: Bold,
287
+ fontSize: 16,
288
+ lineHeight: "20px"
289
+ }),
290
+ LabelMedium: extends_default()({}, common, {
291
+ fontFamily: SansFamily,
292
+ fontWeight: Regular,
293
+ fontSize: 16,
294
+ lineHeight: "20px"
295
+ }),
296
+ LabelSmall: extends_default()({}, common, {
297
+ fontFamily: SansFamily,
298
+ fontWeight: Regular,
299
+ fontSize: 14,
300
+ lineHeight: "18px"
301
+ }),
302
+ LabelXSmall: extends_default()({}, common, {
303
+ fontFamily: SansFamily,
304
+ fontWeight: Regular,
305
+ fontSize: 12,
306
+ lineHeight: "16px"
307
+ }),
308
+ Caption: extends_default()({}, common, {
309
+ fontFamily: SansFamily,
310
+ fontWeight: Regular,
311
+ fontSize: 14,
312
+ lineHeight: "20px"
313
+ }),
314
+ Footnote: extends_default()({}, common, {
315
+ fontFamily: SansFamily,
316
+ fontWeight: Regular,
317
+ fontSize: 12,
318
+ lineHeight: "18px"
319
+ })
320
+ });
321
+
322
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
323
+ var objectWithoutPropertiesLoose = __webpack_require__(2);
324
+ var objectWithoutPropertiesLoose_default = /*#__PURE__*/__webpack_require__.n(objectWithoutPropertiesLoose);
325
+
326
+ // EXTERNAL MODULE: external "react"
327
+ var external_react_ = __webpack_require__(1);
328
+
329
+ // EXTERNAL MODULE: external "@khanacademy/wonder-blocks-core"
330
+ var wonder_blocks_core_ = __webpack_require__(3);
331
+
332
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/components/title.js
333
+
334
+
335
+ const _excluded = ["style", "children"];
336
+
337
+
338
+
339
+ // TODO(alex): Once style prop validation works, if all of the style prop flow
340
+ // types are the same then switch to using functional components.
341
+ class title_Title extends external_react_["Component"] {
342
+ render() {
343
+ const _this$props = this.props,
344
+ {
345
+ style,
346
+ children
347
+ } = _this$props,
348
+ otherProps = objectWithoutPropertiesLoose_default()(_this$props, _excluded);
349
+
350
+ return /*#__PURE__*/external_react_["createElement"](wonder_blocks_core_["Text"], extends_default()({}, otherProps, {
351
+ style: [styles.Title, style]
352
+ }), children);
353
+ }
354
+
355
+ }
356
+ title_Title.defaultProps = {
357
+ tag: "h1"
358
+ };
359
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/components/heading-large.js
360
+
361
+
362
+ const heading_large_excluded = ["style", "children"];
363
+
364
+
365
+
366
+ class heading_large_HeadingLarge extends external_react_["Component"] {
367
+ render() {
368
+ const _this$props = this.props,
369
+ {
370
+ style,
371
+ children
372
+ } = _this$props,
373
+ otherProps = objectWithoutPropertiesLoose_default()(_this$props, heading_large_excluded);
374
+
375
+ return /*#__PURE__*/external_react_["createElement"](wonder_blocks_core_["Text"], extends_default()({}, otherProps, {
376
+ style: [styles.HeadingLarge, style]
377
+ }), children);
378
+ }
379
+
380
+ }
381
+ heading_large_HeadingLarge.defaultProps = {
382
+ tag: "h2"
383
+ };
384
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/components/heading-medium.js
385
+
386
+
387
+ const heading_medium_excluded = ["style", "children"];
388
+
389
+
390
+
391
+ class heading_medium_HeadingMedium extends external_react_["Component"] {
392
+ render() {
393
+ const _this$props = this.props,
394
+ {
395
+ style,
396
+ children
397
+ } = _this$props,
398
+ otherProps = objectWithoutPropertiesLoose_default()(_this$props, heading_medium_excluded);
399
+
400
+ return /*#__PURE__*/external_react_["createElement"](wonder_blocks_core_["Text"], extends_default()({}, otherProps, {
401
+ style: [styles.HeadingMedium, style]
402
+ }), children);
403
+ }
404
+
405
+ }
406
+ heading_medium_HeadingMedium.defaultProps = {
407
+ tag: "h3"
408
+ };
409
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/components/heading-small.js
410
+
411
+
412
+ const heading_small_excluded = ["style", "children"];
413
+
414
+
415
+
416
+ class heading_small_HeadingSmall extends external_react_["Component"] {
417
+ render() {
418
+ const _this$props = this.props,
419
+ {
420
+ style,
421
+ children
422
+ } = _this$props,
423
+ otherProps = objectWithoutPropertiesLoose_default()(_this$props, heading_small_excluded);
424
+
425
+ return /*#__PURE__*/external_react_["createElement"](wonder_blocks_core_["Text"], extends_default()({}, otherProps, {
426
+ style: [styles.HeadingSmall, style]
427
+ }), children);
428
+ }
429
+
430
+ }
431
+ heading_small_HeadingSmall.defaultProps = {
432
+ tag: "h4"
433
+ };
434
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/components/heading-xsmall.js
435
+
436
+
437
+ const heading_xsmall_excluded = ["style", "children"];
438
+
439
+
440
+
441
+ class heading_xsmall_HeadingXSmall extends external_react_["Component"] {
442
+ render() {
443
+ const _this$props = this.props,
444
+ {
445
+ style,
446
+ children
447
+ } = _this$props,
448
+ otherProps = objectWithoutPropertiesLoose_default()(_this$props, heading_xsmall_excluded);
449
+
450
+ return /*#__PURE__*/external_react_["createElement"](wonder_blocks_core_["Text"], extends_default()({}, otherProps, {
451
+ style: [styles.HeadingXSmall, style]
452
+ }), children);
453
+ }
454
+
455
+ }
456
+ heading_xsmall_HeadingXSmall.defaultProps = {
457
+ tag: "h4"
458
+ };
459
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/components/body-serif-block.js
460
+
461
+
462
+ const body_serif_block_excluded = ["style", "children"];
463
+
464
+
465
+
466
+ class body_serif_block_BodySerifBlock extends external_react_["Component"] {
467
+ render() {
468
+ const _this$props = this.props,
469
+ {
470
+ style,
471
+ children
472
+ } = _this$props,
473
+ otherProps = objectWithoutPropertiesLoose_default()(_this$props, body_serif_block_excluded);
474
+
475
+ return /*#__PURE__*/external_react_["createElement"](wonder_blocks_core_["Text"], extends_default()({}, otherProps, {
476
+ style: [styles.BodySerifBlock, style]
477
+ }), children);
478
+ }
479
+
480
+ }
481
+ body_serif_block_BodySerifBlock.defaultProps = {
482
+ tag: "span"
483
+ };
484
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/components/body-serif.js
485
+
486
+
487
+ const body_serif_excluded = ["style", "children"];
488
+
489
+
490
+
491
+ class body_serif_BodySerif extends external_react_["Component"] {
492
+ render() {
493
+ const _this$props = this.props,
494
+ {
495
+ style,
496
+ children
497
+ } = _this$props,
498
+ otherProps = objectWithoutPropertiesLoose_default()(_this$props, body_serif_excluded);
499
+
500
+ return /*#__PURE__*/external_react_["createElement"](wonder_blocks_core_["Text"], extends_default()({}, otherProps, {
501
+ style: [styles.BodySerif, style]
502
+ }), children);
503
+ }
504
+
505
+ }
506
+ body_serif_BodySerif.defaultProps = {
507
+ tag: "span"
508
+ };
509
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/components/body-monospace.js
510
+
511
+
512
+ const body_monospace_excluded = ["style", "children"];
513
+
514
+
515
+
516
+ class body_monospace_BodyMonospace extends external_react_["Component"] {
517
+ render() {
518
+ const _this$props = this.props,
519
+ {
520
+ style,
521
+ children
522
+ } = _this$props,
523
+ otherProps = objectWithoutPropertiesLoose_default()(_this$props, body_monospace_excluded);
524
+
525
+ return /*#__PURE__*/external_react_["createElement"](wonder_blocks_core_["Text"], extends_default()({}, otherProps, {
526
+ style: [styles.BodyMonospace, style]
527
+ }), children);
528
+ }
529
+
530
+ }
531
+ body_monospace_BodyMonospace.defaultProps = {
532
+ tag: "span"
533
+ };
534
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/components/body.js
535
+
536
+
537
+ const body_excluded = ["style", "children"];
538
+
539
+
540
+
541
+ class body_Body extends external_react_["Component"] {
542
+ render() {
543
+ const _this$props = this.props,
544
+ {
545
+ style,
546
+ children
547
+ } = _this$props,
548
+ otherProps = objectWithoutPropertiesLoose_default()(_this$props, body_excluded);
549
+
550
+ return /*#__PURE__*/external_react_["createElement"](wonder_blocks_core_["Text"], extends_default()({}, otherProps, {
551
+ style: [styles.Body, style]
552
+ }), children);
553
+ }
554
+
555
+ }
556
+ body_Body.defaultProps = {
557
+ tag: "span"
558
+ };
559
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/components/label-large.js
560
+
561
+
562
+ const label_large_excluded = ["style", "children"];
563
+
564
+
565
+
566
+ class label_large_LabelLarge extends external_react_["Component"] {
567
+ render() {
568
+ const _this$props = this.props,
569
+ {
570
+ style,
571
+ children
572
+ } = _this$props,
573
+ otherProps = objectWithoutPropertiesLoose_default()(_this$props, label_large_excluded);
574
+
575
+ return /*#__PURE__*/external_react_["createElement"](wonder_blocks_core_["Text"], extends_default()({}, otherProps, {
576
+ style: [styles.LabelLarge, style]
577
+ }), children);
578
+ }
579
+
580
+ }
581
+ label_large_LabelLarge.defaultProps = {
582
+ tag: "span"
583
+ };
584
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/components/label-medium.js
585
+
586
+
587
+ const label_medium_excluded = ["style", "children"];
588
+
589
+
590
+
591
+ class label_medium_LabelMedium extends external_react_["Component"] {
592
+ render() {
593
+ const _this$props = this.props,
594
+ {
595
+ style,
596
+ children
597
+ } = _this$props,
598
+ otherProps = objectWithoutPropertiesLoose_default()(_this$props, label_medium_excluded);
599
+
600
+ return /*#__PURE__*/external_react_["createElement"](wonder_blocks_core_["Text"], extends_default()({}, otherProps, {
601
+ style: [styles.LabelMedium, style]
602
+ }), children);
603
+ }
604
+
605
+ }
606
+ label_medium_LabelMedium.defaultProps = {
607
+ tag: "span"
608
+ };
609
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/components/label-small.js
610
+
611
+
612
+ const label_small_excluded = ["style", "children"];
613
+
614
+
615
+
616
+ class label_small_LabelSmall extends external_react_["Component"] {
617
+ render() {
618
+ const _this$props = this.props,
619
+ {
620
+ style,
621
+ children
622
+ } = _this$props,
623
+ otherProps = objectWithoutPropertiesLoose_default()(_this$props, label_small_excluded);
624
+
625
+ return /*#__PURE__*/external_react_["createElement"](wonder_blocks_core_["Text"], extends_default()({}, otherProps, {
626
+ style: [styles.LabelSmall, style]
627
+ }), children);
628
+ }
629
+
630
+ }
631
+ label_small_LabelSmall.defaultProps = {
632
+ tag: "span"
633
+ };
634
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/components/label-xsmall.js
635
+
636
+
637
+ const label_xsmall_excluded = ["style", "children"];
638
+
639
+
640
+
641
+ class label_xsmall_LabelXSmall extends external_react_["Component"] {
642
+ render() {
643
+ const _this$props = this.props,
644
+ {
645
+ style,
646
+ children
647
+ } = _this$props,
648
+ otherProps = objectWithoutPropertiesLoose_default()(_this$props, label_xsmall_excluded);
649
+
650
+ return /*#__PURE__*/external_react_["createElement"](wonder_blocks_core_["Text"], extends_default()({}, otherProps, {
651
+ style: [styles.LabelXSmall, style]
652
+ }), children);
653
+ }
654
+
655
+ }
656
+ label_xsmall_LabelXSmall.defaultProps = {
657
+ tag: "span"
658
+ };
659
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/components/tagline.js
660
+
661
+
662
+ const tagline_excluded = ["style", "children"];
663
+
664
+
665
+
666
+ class tagline_Tagline extends external_react_["Component"] {
667
+ render() {
668
+ const _this$props = this.props,
669
+ {
670
+ style,
671
+ children
672
+ } = _this$props,
673
+ otherProps = objectWithoutPropertiesLoose_default()(_this$props, tagline_excluded);
674
+
675
+ return /*#__PURE__*/external_react_["createElement"](wonder_blocks_core_["Text"], extends_default()({}, otherProps, {
676
+ style: [styles.Tagline, style]
677
+ }), children);
678
+ }
679
+
680
+ }
681
+ tagline_Tagline.defaultProps = {
682
+ tag: "span"
683
+ };
684
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/components/caption.js
685
+
686
+
687
+ const caption_excluded = ["style", "children"];
688
+
689
+
690
+
691
+ class caption_Caption extends external_react_["Component"] {
692
+ render() {
693
+ const _this$props = this.props,
694
+ {
695
+ style,
696
+ children
697
+ } = _this$props,
698
+ otherProps = objectWithoutPropertiesLoose_default()(_this$props, caption_excluded);
699
+
700
+ return /*#__PURE__*/external_react_["createElement"](wonder_blocks_core_["Text"], extends_default()({}, otherProps, {
701
+ style: [styles.Caption, style]
702
+ }), children);
703
+ }
704
+
705
+ }
706
+ caption_Caption.defaultProps = {
707
+ tag: "span"
708
+ };
709
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/components/footnote.js
710
+
711
+
712
+ const footnote_excluded = ["style", "children"];
713
+
714
+
715
+
716
+ class footnote_Footnote extends external_react_["Component"] {
717
+ render() {
718
+ const _this$props = this.props,
719
+ {
720
+ style,
721
+ children
722
+ } = _this$props,
723
+ otherProps = objectWithoutPropertiesLoose_default()(_this$props, footnote_excluded);
724
+
725
+ return /*#__PURE__*/external_react_["createElement"](wonder_blocks_core_["Text"], extends_default()({}, otherProps, {
726
+ style: [styles.Footnote, style]
727
+ }), children);
728
+ }
729
+
730
+ }
731
+ footnote_Footnote.defaultProps = {
732
+ tag: "span"
733
+ };
734
+ // CONCATENATED MODULE: ./packages/wonder-blocks-typography/src/index.js
735
+
736
+
737
+
738
+
739
+
740
+
741
+
742
+
743
+
744
+
745
+
746
+
747
+
748
+
749
+
750
+
751
+
752
+ /**
753
+ * Typography components for headings or titles.
754
+ */
755
+
756
+
757
+
758
+ /***/ })
759
+ /******/ ]);