@ornikar/bumper 2.6.0 → 2.7.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/CHANGELOG.md +14 -0
- package/dist/definitions/components/typography/Typography.d.ts +44 -0
- package/dist/definitions/components/typography/Typography.d.ts.map +1 -0
- package/dist/definitions/components/typography/utils/{getTypeAndWeightValues.d.ts → getVariantAndWeightValues.d.ts} +2 -2
- package/dist/definitions/components/typography/utils/getVariantAndWeightValues.d.ts.map +1 -0
- package/dist/definitions/index.d.ts +2 -2
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/story-components/StoryTitle.d.ts +2 -2
- package/dist/definitions/tamagui.config.d.ts +3 -3
- package/dist/definitions/tokens/fonts.d.ts +7 -5
- package/dist/definitions/tokens/fonts.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +86 -31
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +86 -31
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +86 -31
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +86 -31
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +86 -31
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +86 -31
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +86 -31
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +86 -31
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/breakpoints/breakpoints.stories.tsx +1 -1
- package/src/components/primitives/Pressable.stories.tsx +1 -1
- package/src/components/typography/Typography.stories.tsx +45 -17
- package/src/components/typography/{Typograhy.tsx → Typography.tsx} +53 -27
- package/src/components/typography/__snapshots__/Typography.stories.tsx.snap +599 -60
- package/src/components/typography/__snapshots_web__/Typography.stories.tsx.snap +228 -1
- package/src/components/typography/utils/{getTypeAndWeightValues.test.tsx → getVariantAndWeightValues.test.tsx} +32 -2
- package/src/components/typography/utils/{getTypeAndWeightValues.tsx → getVariantAndWeightValues.tsx} +14 -3
- package/src/index.ts +2 -2
- package/src/story-components/StoryTitle.tsx +1 -1
- package/src/themes/__snapshots__/light.stories.tsx.snap +1 -1
- package/src/themes/light.stories.tsx +1 -1
- package/src/tokens/fonts.ts +45 -10
- package/src/tokens/palettes/__snapshots__/deepPurpleColorPalette.stories.tsx.snap +1 -1
- package/src/tokens/palettes/deepPurpleColorPalette.stories.tsx +1 -1
- package/dist/definitions/components/typography/Typograhy.d.ts +0 -40
- package/dist/definitions/components/typography/Typograhy.d.ts.map +0 -1
- package/dist/definitions/components/typography/utils/getTypeAndWeightValues.d.ts.map +0 -1
|
@@ -163,7 +163,6 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
163
163
|
</span>
|
|
164
164
|
</span>
|
|
165
165
|
</span>
|
|
166
|
-
|
|
167
166
|
</span>
|
|
168
167
|
</div>
|
|
169
168
|
<div
|
|
@@ -295,6 +294,26 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
295
294
|
</span>
|
|
296
295
|
</div>
|
|
297
296
|
</div>
|
|
297
|
+
<div
|
|
298
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _marginBottom-t-space-spa1366020313"
|
|
299
|
+
>
|
|
300
|
+
<span
|
|
301
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347208 _lineHeight-f-lineHeigh1544154447 _letterSpacing-f-letterSpa1195674554 _fontWeight-f-weight-se1074390495"
|
|
302
|
+
data-disable-theme="true"
|
|
303
|
+
>
|
|
304
|
+
heading 2xs - semibold
|
|
305
|
+
</span>
|
|
306
|
+
<div
|
|
307
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _paddingTop-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingRight-t-space-spa94482166 _paddingLeft-t-space-spa94482166 _borderTopLeftRadius-t-radius-ra1673638410 _borderTopRightRadius-t-radius-ra1673638410 _borderBottomRightRadius-t-radius-ra1673638410 _borderBottomLeftRadius-t-radius-ra1673638410 _backgroundColor-bg--base--m757972454 _marginTop-t-space-spa94482162"
|
|
308
|
+
>
|
|
309
|
+
<span
|
|
310
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head1944327746 _lineHeight-f-lineHeigh2126319479 _letterSpacing-f-letterSpa2008047564 _fontWeight-f-weight-se1074390495"
|
|
311
|
+
data-disable-theme="true"
|
|
312
|
+
>
|
|
313
|
+
The quick brown fox jumps over the lazy dog
|
|
314
|
+
</span>
|
|
315
|
+
</div>
|
|
316
|
+
</div>
|
|
298
317
|
</div>
|
|
299
318
|
<div
|
|
300
319
|
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _paddingTop-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingRight-t-space-spa94482162 _paddingLeft-t-space-spa94482162"
|
|
@@ -596,6 +615,214 @@ exports[`bumper/Typography/Typography Typography 1`] = `
|
|
|
596
615
|
</div>
|
|
597
616
|
</div>
|
|
598
617
|
</div>
|
|
618
|
+
<div
|
|
619
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _paddingTop-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingRight-t-space-spa94482162 _paddingLeft-t-space-spa94482162"
|
|
620
|
+
>
|
|
621
|
+
<span
|
|
622
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-spa94482162 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347201 _lineHeight-f-lineHeigh1544154440 _letterSpacing-f-letterSpa1195674547 _fontWeight-f-weight-se1074390495"
|
|
623
|
+
data-disable-theme="true"
|
|
624
|
+
>
|
|
625
|
+
Content Caps
|
|
626
|
+
</span>
|
|
627
|
+
<div
|
|
628
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _marginBottom-t-space-spa1366020313"
|
|
629
|
+
>
|
|
630
|
+
<span
|
|
631
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347208 _lineHeight-f-lineHeigh1544154447 _letterSpacing-f-letterSpa1195674554 _fontWeight-f-weight-se1074390495"
|
|
632
|
+
data-disable-theme="true"
|
|
633
|
+
>
|
|
634
|
+
content caps 3xl - bold
|
|
635
|
+
</span>
|
|
636
|
+
<div
|
|
637
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _paddingTop-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingRight-t-space-spa94482166 _paddingLeft-t-space-spa94482166 _borderTopLeftRadius-t-radius-ra1673638410 _borderTopRightRadius-t-radius-ra1673638410 _borderBottomRightRadius-t-radius-ra1673638410 _borderBottomLeftRadius-t-radius-ra1673638410 _backgroundColor-bg--base--m757972454 _marginTop-t-space-spa94482162"
|
|
638
|
+
>
|
|
639
|
+
<span
|
|
640
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _fontSize-f-size-cont1048365027 _lineHeight-f-lineHeigh1404119176 _letterSpacing-f-letterSpa1744401475 _fontWeight-f-weight-bo3448"
|
|
641
|
+
data-disable-theme="true"
|
|
642
|
+
>
|
|
643
|
+
The quick brown fox jumps over the lazy dog
|
|
644
|
+
</span>
|
|
645
|
+
</div>
|
|
646
|
+
</div>
|
|
647
|
+
<div
|
|
648
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _marginBottom-t-space-spa1366020313"
|
|
649
|
+
>
|
|
650
|
+
<span
|
|
651
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347208 _lineHeight-f-lineHeigh1544154447 _letterSpacing-f-letterSpa1195674554 _fontWeight-f-weight-se1074390495"
|
|
652
|
+
data-disable-theme="true"
|
|
653
|
+
>
|
|
654
|
+
content caps 2xl - bold
|
|
655
|
+
</span>
|
|
656
|
+
<div
|
|
657
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _paddingTop-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingRight-t-space-spa94482166 _paddingLeft-t-space-spa94482166 _borderTopLeftRadius-t-radius-ra1673638410 _borderTopRightRadius-t-radius-ra1673638410 _borderBottomRightRadius-t-radius-ra1673638410 _borderBottomLeftRadius-t-radius-ra1673638410 _backgroundColor-bg--base--m757972454 _marginTop-t-space-spa94482162"
|
|
658
|
+
>
|
|
659
|
+
<span
|
|
660
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _fontSize-f-size-cont1048365988 _lineHeight-f-lineHeigh1404118215 _letterSpacing-f-letterSpa1744402436 _fontWeight-f-weight-bo3448"
|
|
661
|
+
data-disable-theme="true"
|
|
662
|
+
>
|
|
663
|
+
The quick brown fox jumps over the lazy dog
|
|
664
|
+
</span>
|
|
665
|
+
</div>
|
|
666
|
+
</div>
|
|
667
|
+
<div
|
|
668
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _marginBottom-t-space-spa1366020313"
|
|
669
|
+
>
|
|
670
|
+
<span
|
|
671
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347208 _lineHeight-f-lineHeigh1544154447 _letterSpacing-f-letterSpa1195674554 _fontWeight-f-weight-se1074390495"
|
|
672
|
+
data-disable-theme="true"
|
|
673
|
+
>
|
|
674
|
+
content caps xl - bold
|
|
675
|
+
</span>
|
|
676
|
+
<div
|
|
677
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _paddingTop-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingRight-t-space-spa94482166 _paddingLeft-t-space-spa94482166 _borderTopLeftRadius-t-radius-ra1673638410 _borderTopRightRadius-t-radius-ra1673638410 _borderBottomRightRadius-t-radius-ra1673638410 _borderBottomLeftRadius-t-radius-ra1673638410 _backgroundColor-bg--base--m757972454 _marginTop-t-space-spa94482162"
|
|
678
|
+
>
|
|
679
|
+
<span
|
|
680
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _fontSize-f-size-cont1213109886 _lineHeight-f-lineHeigh599485619 _letterSpacing-f-letterSpa1883393758 _fontWeight-f-weight-bo3448"
|
|
681
|
+
data-disable-theme="true"
|
|
682
|
+
>
|
|
683
|
+
The quick brown fox jumps over the lazy dog
|
|
684
|
+
</span>
|
|
685
|
+
</div>
|
|
686
|
+
</div>
|
|
687
|
+
<div
|
|
688
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _marginBottom-t-space-spa1366020313"
|
|
689
|
+
>
|
|
690
|
+
<span
|
|
691
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347208 _lineHeight-f-lineHeigh1544154447 _letterSpacing-f-letterSpa1195674554 _fontWeight-f-weight-se1074390495"
|
|
692
|
+
data-disable-theme="true"
|
|
693
|
+
>
|
|
694
|
+
content caps l - bold
|
|
695
|
+
</span>
|
|
696
|
+
<div
|
|
697
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _paddingTop-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingRight-t-space-spa94482166 _paddingLeft-t-space-spa94482166 _borderTopLeftRadius-t-radius-ra1673638410 _borderTopRightRadius-t-radius-ra1673638410 _borderBottomRightRadius-t-radius-ra1673638410 _borderBottomLeftRadius-t-radius-ra1673638410 _backgroundColor-bg--base--m757972454 _marginTop-t-space-spa94482162"
|
|
698
|
+
>
|
|
699
|
+
<span
|
|
700
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _fontSize-f-size-cont593321890 _lineHeight-f-lineHeigh1366135091 _letterSpacing-f-letterSpa199301954 _fontWeight-f-weight-bo3448"
|
|
701
|
+
data-disable-theme="true"
|
|
702
|
+
>
|
|
703
|
+
The quick brown fox jumps over the lazy dog
|
|
704
|
+
</span>
|
|
705
|
+
</div>
|
|
706
|
+
</div>
|
|
707
|
+
<div
|
|
708
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _marginBottom-t-space-spa1366020313"
|
|
709
|
+
>
|
|
710
|
+
<span
|
|
711
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347208 _lineHeight-f-lineHeigh1544154447 _letterSpacing-f-letterSpa1195674554 _fontWeight-f-weight-se1074390495"
|
|
712
|
+
data-disable-theme="true"
|
|
713
|
+
>
|
|
714
|
+
content caps m - bold
|
|
715
|
+
</span>
|
|
716
|
+
<div
|
|
717
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _paddingTop-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingRight-t-space-spa94482166 _paddingLeft-t-space-spa94482166 _borderTopLeftRadius-t-radius-ra1673638410 _borderTopRightRadius-t-radius-ra1673638410 _borderBottomRightRadius-t-radius-ra1673638410 _borderBottomLeftRadius-t-radius-ra1673638410 _backgroundColor-bg--base--m757972454 _marginTop-t-space-spa94482162"
|
|
718
|
+
>
|
|
719
|
+
<span
|
|
720
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _fontSize-f-size-cont593321891 _lineHeight-f-lineHeigh1366135090 _letterSpacing-f-letterSpa199301955 _fontWeight-f-weight-bo3448"
|
|
721
|
+
data-disable-theme="true"
|
|
722
|
+
>
|
|
723
|
+
The quick brown fox jumps over the lazy dog
|
|
724
|
+
</span>
|
|
725
|
+
</div>
|
|
726
|
+
</div>
|
|
727
|
+
<div
|
|
728
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _marginBottom-t-space-spa1366020313"
|
|
729
|
+
>
|
|
730
|
+
<span
|
|
731
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347208 _lineHeight-f-lineHeigh1544154447 _letterSpacing-f-letterSpa1195674554 _fontWeight-f-weight-se1074390495"
|
|
732
|
+
data-disable-theme="true"
|
|
733
|
+
>
|
|
734
|
+
content caps s - bold
|
|
735
|
+
</span>
|
|
736
|
+
<div
|
|
737
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _paddingTop-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingRight-t-space-spa94482166 _paddingLeft-t-space-spa94482166 _borderTopLeftRadius-t-radius-ra1673638410 _borderTopRightRadius-t-radius-ra1673638410 _borderBottomRightRadius-t-radius-ra1673638410 _borderBottomLeftRadius-t-radius-ra1673638410 _backgroundColor-bg--base--m757972454 _marginTop-t-space-spa94482162"
|
|
738
|
+
>
|
|
739
|
+
<span
|
|
740
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _fontSize-f-size-cont593321897 _lineHeight-f-lineHeigh1366135084 _letterSpacing-f-letterSpa199301961 _fontWeight-f-weight-bo3448"
|
|
741
|
+
data-disable-theme="true"
|
|
742
|
+
>
|
|
743
|
+
The quick brown fox jumps over the lazy dog
|
|
744
|
+
</span>
|
|
745
|
+
</div>
|
|
746
|
+
</div>
|
|
747
|
+
<div
|
|
748
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _marginBottom-t-space-spa1366020313"
|
|
749
|
+
>
|
|
750
|
+
<span
|
|
751
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347208 _lineHeight-f-lineHeigh1544154447 _letterSpacing-f-letterSpa1195674554 _fontWeight-f-weight-se1074390495"
|
|
752
|
+
data-disable-theme="true"
|
|
753
|
+
>
|
|
754
|
+
content caps xs - bold
|
|
755
|
+
</span>
|
|
756
|
+
<div
|
|
757
|
+
class="_display-flex _alignItems-stretch _flexDirection-column _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _paddingTop-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingRight-t-space-spa94482166 _paddingLeft-t-space-spa94482166 _borderTopLeftRadius-t-radius-ra1673638410 _borderTopRightRadius-t-radius-ra1673638410 _borderBottomRightRadius-t-radius-ra1673638410 _borderBottomLeftRadius-t-radius-ra1673638410 _backgroundColor-bg--base--m757972454 _marginTop-t-space-spa94482162"
|
|
758
|
+
>
|
|
759
|
+
<span
|
|
760
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family _fontSize-f-size-cont1213109893 _lineHeight-f-lineHeigh599485626 _letterSpacing-f-letterSpa1883393765 _fontWeight-f-weight-bo3448"
|
|
761
|
+
data-disable-theme="true"
|
|
762
|
+
>
|
|
763
|
+
The quick brown fox jumps over the lazy dog
|
|
764
|
+
</span>
|
|
765
|
+
</div>
|
|
766
|
+
</div>
|
|
767
|
+
</div>
|
|
768
|
+
<div
|
|
769
|
+
class="is_VStack _display-flex _alignItems-stretch _flexBasis-auto _boxSizing-border-box _position-relative _minHeight-0px _minWidth-0px _flexShrink-0 _flexDirection-column _paddingTop-t-space-spa94482162 _paddingBottom-t-space-spa94482162 _paddingRight-t-space-spa94482162 _paddingLeft-t-space-spa94482162"
|
|
770
|
+
>
|
|
771
|
+
<span
|
|
772
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-t-space-spa94482162 _marginLeft-0px _fontFamily-f-family _fontSize-f-size-head100347201 _lineHeight-f-lineHeigh1544154440 _letterSpacing-f-letterSpa1195674547 _fontWeight-f-weight-se1074390495"
|
|
773
|
+
data-disable-theme="true"
|
|
774
|
+
>
|
|
775
|
+
Accessibility
|
|
776
|
+
</span>
|
|
777
|
+
<span
|
|
778
|
+
aria-level="1"
|
|
779
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
780
|
+
data-disable-theme="true"
|
|
781
|
+
role="heading"
|
|
782
|
+
>
|
|
783
|
+
role: heading aria-level: 1
|
|
784
|
+
</span>
|
|
785
|
+
<span
|
|
786
|
+
aria-level="2"
|
|
787
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
788
|
+
data-disable-theme="true"
|
|
789
|
+
role="heading"
|
|
790
|
+
>
|
|
791
|
+
role: heading aria-level: 2
|
|
792
|
+
</span>
|
|
793
|
+
<span
|
|
794
|
+
aria-level="3"
|
|
795
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
796
|
+
data-disable-theme="true"
|
|
797
|
+
role="heading"
|
|
798
|
+
>
|
|
799
|
+
role: heading aria-level: 3
|
|
800
|
+
</span>
|
|
801
|
+
<span
|
|
802
|
+
aria-level="4"
|
|
803
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
804
|
+
data-disable-theme="true"
|
|
805
|
+
role="heading"
|
|
806
|
+
>
|
|
807
|
+
role: heading aria-level: 4
|
|
808
|
+
</span>
|
|
809
|
+
<span
|
|
810
|
+
aria-level="5"
|
|
811
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
812
|
+
data-disable-theme="true"
|
|
813
|
+
role="heading"
|
|
814
|
+
>
|
|
815
|
+
role: heading aria-level: 5
|
|
816
|
+
</span>
|
|
817
|
+
<span
|
|
818
|
+
aria-level="6"
|
|
819
|
+
class="font_GTStandard _WebkitFontSmoothing-_platformweb_antialiased _display-inline _boxSizing-border-box _wordWrap-break-word _whiteSpace-pre-wrap _marginTop-0px _marginRight-0px _marginBottom-0px _marginLeft-0px _fontFamily-f-family"
|
|
820
|
+
data-disable-theme="true"
|
|
821
|
+
role="heading"
|
|
822
|
+
>
|
|
823
|
+
role: heading aria-level: 6
|
|
824
|
+
</span>
|
|
825
|
+
</div>
|
|
599
826
|
</div>
|
|
600
827
|
</span>
|
|
601
828
|
</span>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BODY_VARIANTS, HEADING_VARIANTS, LABEL_VARIANTS } from '../../../tokens/fonts';
|
|
2
|
-
import { getVariantAndWeightValues } from './
|
|
1
|
+
import { BODY_VARIANTS, CONTENT_CAPS_VARIANTS, HEADING_VARIANTS, LABEL_VARIANTS } from '../../../tokens/fonts';
|
|
2
|
+
import { getVariantAndWeightValues } from './getVariantAndWeightValues';
|
|
3
3
|
|
|
4
4
|
describe('getVariantAndWeightValues', () => {
|
|
5
5
|
describe('when variant is a body size', () => {
|
|
@@ -78,6 +78,29 @@ describe('getVariantAndWeightValues', () => {
|
|
|
78
78
|
});
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
+
describe('when variant is a content caps size', () => {
|
|
82
|
+
it.each(CONTENT_CAPS_VARIANTS.map((size) => [size, undefined, null, null, { weight: 'bold', variant: size }]))(
|
|
83
|
+
'should return weight "bold" for label variant "%s"',
|
|
84
|
+
(variant, weight, ancestorWeight, ancestorVariant, expected) => {
|
|
85
|
+
expect(getVariantAndWeightValues(weight, variant, ancestorWeight, ancestorVariant)).toEqual(expected);
|
|
86
|
+
},
|
|
87
|
+
);
|
|
88
|
+
|
|
89
|
+
it('should ignore weight prop for label sizes and always return bold', () => {
|
|
90
|
+
expect(getVariantAndWeightValues('regular', 'content-caps-m', null, null)).toEqual({
|
|
91
|
+
weight: 'bold',
|
|
92
|
+
variant: 'content-caps-m',
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
it('should ignore ancestor weight for label sizes and always return bold', () => {
|
|
97
|
+
expect(getVariantAndWeightValues(undefined, 'content-caps-m', 'bold', null)).toEqual({
|
|
98
|
+
weight: 'bold',
|
|
99
|
+
variant: 'content-caps-m',
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
|
|
81
104
|
describe('when variant comes from ancestor', () => {
|
|
82
105
|
it('should use ancestor variant when variant prop is undefined', () => {
|
|
83
106
|
expect(getVariantAndWeightValues(undefined, undefined, null, 'body-m')).toEqual({
|
|
@@ -113,6 +136,13 @@ describe('getVariantAndWeightValues', () => {
|
|
|
113
136
|
variant: 'body-m',
|
|
114
137
|
});
|
|
115
138
|
});
|
|
139
|
+
|
|
140
|
+
it('should use ancestor weight when ancestor variant is a content caps size', () => {
|
|
141
|
+
expect(getVariantAndWeightValues(undefined, undefined, 'bold', 'content-caps-m')).toEqual({
|
|
142
|
+
weight: 'bold',
|
|
143
|
+
variant: 'content-caps-m',
|
|
144
|
+
});
|
|
145
|
+
});
|
|
116
146
|
});
|
|
117
147
|
|
|
118
148
|
describe('when no variant is provided', () => {
|
package/src/components/typography/utils/{getTypeAndWeightValues.tsx → getVariantAndWeightValues.tsx}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { FontVariants } from '../../../tokens/fonts';
|
|
2
|
-
import { BODY_VARIANTS } from '../../../tokens/fonts';
|
|
2
|
+
import { BODY_VARIANTS, CONTENT_CAPS_VARIANTS, HEADING_VARIANTS, LABEL_VARIANTS } from '../../../tokens/fonts';
|
|
3
3
|
import type {
|
|
4
4
|
InternalTypographyProps,
|
|
5
5
|
TypographyTextProps,
|
|
6
6
|
TypographyVariantContextValue,
|
|
7
7
|
TypographyWeightContextValue,
|
|
8
|
-
} from '../
|
|
8
|
+
} from '../Typography';
|
|
9
9
|
|
|
10
10
|
interface VariantAndWeightValues {
|
|
11
11
|
weight: InternalTypographyProps['weight'] | undefined;
|
|
@@ -25,7 +25,18 @@ export function getVariantAndWeightValues(
|
|
|
25
25
|
const computedWeight = weightProp || typographyWeightAncestorValue || undefined;
|
|
26
26
|
return { weight: computedWeight, variant: computedVariant };
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
// Content Caps variant have fixed weights so we override any provided weight
|
|
29
|
+
if ((CONTENT_CAPS_VARIANTS as readonly string[]).includes(computedVariant)) {
|
|
30
|
+
return { weight: 'bold', variant: computedVariant };
|
|
31
|
+
}
|
|
32
|
+
// Heading variants have fixed weights so we override any provided weight
|
|
33
|
+
if ((HEADING_VARIANTS as readonly string[]).includes(computedVariant)) {
|
|
34
|
+
return { weight: 'semibold', variant: computedVariant };
|
|
35
|
+
}
|
|
36
|
+
// Label variants have fixed weights so we override any provided weight
|
|
37
|
+
if ((LABEL_VARIANTS as readonly string[]).includes(computedVariant)) {
|
|
38
|
+
return { weight: 'semibold', variant: computedVariant };
|
|
39
|
+
}
|
|
29
40
|
}
|
|
30
41
|
|
|
31
42
|
return { weight: weightProp, variant: undefined };
|
package/src/index.ts
CHANGED
|
@@ -12,8 +12,8 @@ export type { ViewProps } from './components/primitives/View';
|
|
|
12
12
|
export { View } from './components/primitives/View';
|
|
13
13
|
|
|
14
14
|
// Typography
|
|
15
|
-
export type { TypographyTextProps } from './components/typography/
|
|
16
|
-
export { Typography } from './components/typography/
|
|
15
|
+
export type { TypographyTextProps } from './components/typography/Typography';
|
|
16
|
+
export { Typography } from './components/typography/Typography';
|
|
17
17
|
|
|
18
18
|
// Breakpoints
|
|
19
19
|
export { useBreakpointValue } from './components/breakpoints/hooks/useBreakpointValue';
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryFn } from '@storybook/react';
|
|
|
2
2
|
import type { GetThemeValueForKey } from '@tamagui/core';
|
|
3
3
|
import { VStack } from '../components/primitives/Stack';
|
|
4
4
|
import { View } from '../components/primitives/View';
|
|
5
|
-
import { Typography } from '../components/typography/
|
|
5
|
+
import { Typography } from '../components/typography/Typography';
|
|
6
6
|
import { StorySection } from '../story-components/StorySection';
|
|
7
7
|
import { light } from './light';
|
|
8
8
|
|
package/src/tokens/fonts.ts
CHANGED
|
@@ -7,15 +7,26 @@ export const HEADING_VARIANTS = [
|
|
|
7
7
|
'heading-m',
|
|
8
8
|
'heading-s',
|
|
9
9
|
'heading-xs',
|
|
10
|
+
'heading-2xs',
|
|
10
11
|
] as const;
|
|
11
12
|
export const BODY_VARIANTS = ['body-xl', 'body-l', 'body-m', 'body-s', 'body-xs'] as const;
|
|
12
13
|
export const LABEL_VARIANTS = ['label-xl', 'label-l', 'label-m', 'label-s'] as const;
|
|
13
|
-
export const
|
|
14
|
+
export const CONTENT_CAPS_VARIANTS = [
|
|
15
|
+
'content-caps-3xl',
|
|
16
|
+
'content-caps-2xl',
|
|
17
|
+
'content-caps-xl',
|
|
18
|
+
'content-caps-l',
|
|
19
|
+
'content-caps-m',
|
|
20
|
+
'content-caps-s',
|
|
21
|
+
'content-caps-xs',
|
|
22
|
+
] as const;
|
|
23
|
+
export const VARIANTS = [...HEADING_VARIANTS, ...BODY_VARIANTS, ...LABEL_VARIANTS, ...CONTENT_CAPS_VARIANTS] as const;
|
|
14
24
|
|
|
15
25
|
export type FontVariants = (typeof VARIANTS)[number];
|
|
16
26
|
export type BodyFontVariants = (typeof BODY_VARIANTS)[number];
|
|
17
27
|
export type LabelFontVariants = (typeof LABEL_VARIANTS)[number];
|
|
18
28
|
export type HeadingFontVariants = (typeof HEADING_VARIANTS)[number];
|
|
29
|
+
export type ContentCapsVariants = (typeof CONTENT_CAPS_VARIANTS)[number];
|
|
19
30
|
|
|
20
31
|
export type GTStandardFontWeight = '500' | '600' | '700';
|
|
21
32
|
|
|
@@ -29,9 +40,10 @@ const size: Record<FontVariants, number> = {
|
|
|
29
40
|
'heading-2xl': 56,
|
|
30
41
|
'heading-xl': 48,
|
|
31
42
|
'heading-l': 38,
|
|
32
|
-
'heading-m':
|
|
33
|
-
'heading-s':
|
|
34
|
-
'heading-xs':
|
|
43
|
+
'heading-m': 28,
|
|
44
|
+
'heading-s': 24,
|
|
45
|
+
'heading-xs': 20,
|
|
46
|
+
'heading-2xs': 20,
|
|
35
47
|
'body-xl': 24,
|
|
36
48
|
'body-l': 18,
|
|
37
49
|
'body-m': 16,
|
|
@@ -41,24 +53,39 @@ const size: Record<FontVariants, number> = {
|
|
|
41
53
|
'label-l': 16,
|
|
42
54
|
'label-m': 14,
|
|
43
55
|
'label-s': 12,
|
|
56
|
+
'content-caps-3xl': 40,
|
|
57
|
+
'content-caps-2xl': 32,
|
|
58
|
+
'content-caps-xl': 24,
|
|
59
|
+
'content-caps-l': 18,
|
|
60
|
+
'content-caps-m': 16,
|
|
61
|
+
'content-caps-s': 14,
|
|
62
|
+
'content-caps-xs': 12,
|
|
44
63
|
};
|
|
45
64
|
|
|
46
65
|
const lineHeight: Record<FontVariants, number> = {
|
|
47
66
|
'heading-2xl': 64,
|
|
48
67
|
'heading-xl': 56,
|
|
49
|
-
'heading-l':
|
|
68
|
+
'heading-l': 44,
|
|
50
69
|
'heading-m': 32,
|
|
51
|
-
'heading-s':
|
|
52
|
-
'heading-xs':
|
|
70
|
+
'heading-s': 28,
|
|
71
|
+
'heading-xs': 24,
|
|
72
|
+
'heading-2xs': 20,
|
|
53
73
|
'body-xl': 32,
|
|
54
74
|
'body-l': 26,
|
|
55
75
|
'body-m': 24,
|
|
56
76
|
'body-s': 20,
|
|
57
77
|
'body-xs': 16,
|
|
58
78
|
'label-xl': 26,
|
|
59
|
-
'label-l':
|
|
60
|
-
'label-m':
|
|
61
|
-
'label-s':
|
|
79
|
+
'label-l': 20,
|
|
80
|
+
'label-m': 18,
|
|
81
|
+
'label-s': 14,
|
|
82
|
+
'content-caps-3xl': 40,
|
|
83
|
+
'content-caps-2xl': 40,
|
|
84
|
+
'content-caps-xl': 28,
|
|
85
|
+
'content-caps-l': 20,
|
|
86
|
+
'content-caps-m': 18,
|
|
87
|
+
'content-caps-s': 16,
|
|
88
|
+
'content-caps-xs': 14,
|
|
62
89
|
};
|
|
63
90
|
|
|
64
91
|
const letterSpacing: Record<FontVariants, number> = {
|
|
@@ -68,6 +95,7 @@ const letterSpacing: Record<FontVariants, number> = {
|
|
|
68
95
|
'heading-m': 0,
|
|
69
96
|
'heading-s': 0,
|
|
70
97
|
'heading-xs': 0,
|
|
98
|
+
'heading-2xs': 0,
|
|
71
99
|
'body-xl': 0.3,
|
|
72
100
|
'body-l': 0.3,
|
|
73
101
|
'body-m': 0.3,
|
|
@@ -77,6 +105,13 @@ const letterSpacing: Record<FontVariants, number> = {
|
|
|
77
105
|
'label-l': 0,
|
|
78
106
|
'label-m': 0,
|
|
79
107
|
'label-s': 0,
|
|
108
|
+
'content-caps-3xl': 0,
|
|
109
|
+
'content-caps-2xl': 0,
|
|
110
|
+
'content-caps-xl': 0,
|
|
111
|
+
'content-caps-l': 0,
|
|
112
|
+
'content-caps-m': 0,
|
|
113
|
+
'content-caps-s': 0,
|
|
114
|
+
'content-caps-xs': 0,
|
|
80
115
|
};
|
|
81
116
|
|
|
82
117
|
const weight: Record<string, GTStandardFontWeight> = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Meta, StoryFn } from '@storybook/react';
|
|
2
2
|
import type { GetThemeValueForKey } from '@tamagui/core';
|
|
3
3
|
import { View } from '../../components/primitives/View';
|
|
4
|
-
import { Typography } from '../../components/typography/
|
|
4
|
+
import { Typography } from '../../components/typography/Typography';
|
|
5
5
|
import { StorySection } from '../../story-components/StorySection';
|
|
6
6
|
import { deepPurpleColorPalette } from './deepPurpleColorPalette';
|
|
7
7
|
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { GetProps } from '@tamagui/core';
|
|
2
|
-
import { type Except } from 'type-fest';
|
|
3
|
-
import type { BodyFontVariants, FontVariants, HeadingFontVariants, LabelFontVariants } from '../../tokens/fonts';
|
|
4
|
-
export type TypographyVariantContextValue = FontVariants | null;
|
|
5
|
-
export type TypographyWeightContextValue = 'regular' | 'bold' | null;
|
|
6
|
-
export type TypograhyColorContextValue = TypograhyColorProps | null;
|
|
7
|
-
declare const InternalTypography: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
8
|
-
variant?: "heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s" | undefined;
|
|
9
|
-
weight?: "bold" | "semibold" | "regular" | undefined;
|
|
10
|
-
}, import("@tamagui/core").StaticConfigPublic>;
|
|
11
|
-
export type InternalTypographyProps = GetProps<typeof InternalTypography>;
|
|
12
|
-
type ContainsOneString<T extends string> = `${string}${T}${string}`;
|
|
13
|
-
type TypograhyColorProps = ContainsOneString<'$content.'>;
|
|
14
|
-
type TypographyExcludedFontStyleProps = 'fontFamily' | 'fontSize' | 'lineHeight' | 'fontStyle' | 'fontVariant' | 'fontWeight';
|
|
15
|
-
type TypographyPropsWithoutFontStyleProps = Except<InternalTypographyProps, TypographyExcludedFontStyleProps | 'color'> & {
|
|
16
|
-
color?: TypograhyColorProps;
|
|
17
|
-
};
|
|
18
|
-
export interface BodyProps extends TypographyPropsWithoutFontStyleProps {
|
|
19
|
-
variant?: BodyFontVariants;
|
|
20
|
-
weight?: Exclude<InternalTypographyProps['weight'], 'semibold'>;
|
|
21
|
-
}
|
|
22
|
-
export interface HeadingLabelProps extends TypographyPropsWithoutFontStyleProps {
|
|
23
|
-
variant: HeadingFontVariants | LabelFontVariants;
|
|
24
|
-
weight?: never;
|
|
25
|
-
}
|
|
26
|
-
export type TypographyTextProps = BodyProps | HeadingLabelProps;
|
|
27
|
-
export declare const Typography: {
|
|
28
|
-
Text: import("@tamagui/core").TamaguiComponent<(Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
29
|
-
variant?: "heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s" | undefined;
|
|
30
|
-
weight?: "bold" | "semibold" | "regular" | undefined;
|
|
31
|
-
}>, keyof BodyProps> & BodyProps) | (Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
32
|
-
variant?: "heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s" | undefined;
|
|
33
|
-
weight?: "bold" | "semibold" | "regular" | undefined;
|
|
34
|
-
}>, keyof HeadingLabelProps> & HeadingLabelProps), import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps & TypographyTextProps, import("@tamagui/core").TextStylePropsBase, {
|
|
35
|
-
variant?: "heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s" | undefined;
|
|
36
|
-
weight?: "bold" | "semibold" | "regular" | undefined;
|
|
37
|
-
}, import("@tamagui/core").StaticConfigPublic>;
|
|
38
|
-
};
|
|
39
|
-
export {};
|
|
40
|
-
//# sourceMappingURL=Typograhy.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Typograhy.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Typograhy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAuB,MAAM,eAAe,CAAC;AAGnE,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAGjH,MAAM,MAAM,6BAA6B,GAAG,YAAY,GAAG,IAAI,CAAC;AAChE,MAAM,MAAM,4BAA4B,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC;AACrE,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,GAAG,IAAI,CAAC;AAMpE,QAAA,MAAM,kBAAkB;;;8CAgCtB,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAG1E,KAAK,iBAAiB,CAAC,CAAC,SAAS,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,GAAG,MAAM,EAAE,CAAC;AACpE,KAAK,mBAAmB,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAG1D,KAAK,gCAAgC,GACjC,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,WAAW,GACX,aAAa,GACb,YAAY,CAAC;AACjB,KAAK,oCAAoC,GAAG,MAAM,CAChD,uBAAuB,EACvB,gCAAgC,GAAG,OAAO,CAC3C,GAAG;IACF,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF,MAAM,WAAW,SAAU,SAAQ,oCAAoC;IACrE,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC,uBAAuB,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC;CACjE;AACD,MAAM,WAAW,iBAAkB,SAAQ,oCAAoC;IAC7E,OAAO,EAAE,mBAAmB,GAAG,iBAAiB,CAAC;IACjD,MAAM,CAAC,EAAE,KAAK,CAAC;CAChB;AACD,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,iBAAiB,CAAC;AAiDhE,eAAO,MAAM,UAAU;;;;;;;;;;;CAEtB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getTypeAndWeightValues.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/utils/getTypeAndWeightValues.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,KAAK,EACV,uBAAuB,EACvB,mBAAmB,EACnB,6BAA6B,EAC7B,4BAA4B,EAC7B,MAAM,cAAc,CAAC;AAEtB,UAAU,sBAAsB;IAC9B,MAAM,EAAE,uBAAuB,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC;IACtD,OAAO,EAAE,YAAY,GAAG,SAAS,CAAC;CACnC;AAED,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,mBAAmB,CAAC,QAAQ,CAAC,EACzC,WAAW,EAAE,mBAAmB,CAAC,SAAS,CAAC,EAC3C,6BAA6B,EAAE,4BAA4B,EAC3D,8BAA8B,EAAE,6BAA6B,GAC5D,sBAAsB,CAYxB"}
|