@postenbring/hedwig-react 0.0.54 → 0.0.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/dist/_tsup-dts-rollup.d.mts +162 -190
  2. package/dist/_tsup-dts-rollup.d.ts +162 -190
  3. package/dist/accordion/index.mjs +2 -2
  4. package/dist/button/button.js +1 -1
  5. package/dist/button/button.js.map +1 -1
  6. package/dist/button/button.mjs +1 -1
  7. package/dist/button/index.js +1 -1
  8. package/dist/button/index.js.map +1 -1
  9. package/dist/button/index.mjs +1 -1
  10. package/dist/{chunk-2XSEQBJ5.mjs → chunk-5IIBIO3Y.mjs} +1 -1
  11. package/dist/chunk-5IIBIO3Y.mjs.map +1 -0
  12. package/dist/{chunk-MJ4LA23N.mjs → chunk-BDA6STW2.mjs} +2 -2
  13. package/dist/{chunk-52ULSP6E.mjs → chunk-GAKMKOPK.mjs} +3 -16
  14. package/dist/chunk-GAKMKOPK.mjs.map +1 -0
  15. package/dist/{chunk-5T3VUFL4.mjs → chunk-GVSLN5KE.mjs} +1 -1
  16. package/dist/chunk-GVSLN5KE.mjs.map +1 -0
  17. package/dist/{chunk-FL4LCX4F.mjs → chunk-IWV5GK63.mjs} +4 -4
  18. package/dist/{chunk-UVUIY2WB.mjs → chunk-J6ES2LO5.mjs} +2 -2
  19. package/dist/{chunk-UVUIY2WB.mjs.map → chunk-J6ES2LO5.mjs.map} +1 -1
  20. package/dist/{chunk-5GRZROYQ.mjs → chunk-LYRXA4WS.mjs} +8 -8
  21. package/dist/chunk-LYRXA4WS.mjs.map +1 -0
  22. package/dist/{chunk-KOO4VQ2N.mjs → chunk-OJ42PRYY.mjs} +2 -2
  23. package/dist/chunk-OJ42PRYY.mjs.map +1 -0
  24. package/dist/{chunk-T3EC54VN.mjs → chunk-PUFFEK6I.mjs} +2 -2
  25. package/dist/chunk-V4NGQVBQ.mjs +61 -0
  26. package/dist/chunk-V4NGQVBQ.mjs.map +1 -0
  27. package/dist/{chunk-LK62DXGG.mjs → chunk-ZSLWZUBI.mjs} +10 -3
  28. package/dist/chunk-ZSLWZUBI.mjs.map +1 -0
  29. package/dist/index-no-css.d.mts +1 -28
  30. package/dist/index-no-css.d.ts +1 -28
  31. package/dist/index-no-css.js +53 -132
  32. package/dist/index-no-css.js.map +1 -1
  33. package/dist/index-no-css.mjs +23 -77
  34. package/dist/index.d.mts +1 -28
  35. package/dist/index.d.ts +1 -28
  36. package/dist/index.js +54 -133
  37. package/dist/index.js.map +1 -1
  38. package/dist/index.mjs +24 -78
  39. package/dist/index.mjs.map +1 -1
  40. package/dist/modal/index.js.map +1 -1
  41. package/dist/modal/index.mjs +2 -2
  42. package/dist/modal/modal.js.map +1 -1
  43. package/dist/modal/modal.mjs +1 -1
  44. package/dist/navbar/index.js +9 -2
  45. package/dist/navbar/index.js.map +1 -1
  46. package/dist/navbar/index.mjs +2 -2
  47. package/dist/navbar/navbar-expandable-menu.js +9 -2
  48. package/dist/navbar/navbar-expandable-menu.js.map +1 -1
  49. package/dist/navbar/navbar-expandable-menu.mjs +1 -1
  50. package/dist/show-more/index.js.map +1 -1
  51. package/dist/show-more/index.mjs +1 -1
  52. package/dist/show-more/show-more.js.map +1 -1
  53. package/dist/show-more/show-more.mjs +1 -1
  54. package/dist/styled-html/index.js +1 -1
  55. package/dist/styled-html/index.js.map +1 -1
  56. package/dist/styled-html/index.mjs +1 -1
  57. package/dist/styled-html/styled-html.js +1 -1
  58. package/dist/styled-html/styled-html.js.map +1 -1
  59. package/dist/styled-html/styled-html.mjs +1 -1
  60. package/dist/text/index.d.mts +15 -0
  61. package/dist/text/index.d.ts +15 -0
  62. package/dist/text/index.js +179 -0
  63. package/dist/text/index.js.map +1 -0
  64. package/dist/text/index.mjs +36 -0
  65. package/dist/text/text.d.mts +2 -0
  66. package/dist/text/text.d.ts +2 -0
  67. package/dist/{typography/typography.js → text/text.js} +12 -12
  68. package/dist/text/text.js.map +1 -0
  69. package/dist/text/text.mjs +8 -0
  70. package/dist/warning-banner/index.js +2 -15
  71. package/dist/warning-banner/index.js.map +1 -1
  72. package/dist/warning-banner/index.mjs +1 -1
  73. package/dist/warning-banner/warning-banner.js +2 -15
  74. package/dist/warning-banner/warning-banner.js.map +1 -1
  75. package/dist/warning-banner/warning-banner.mjs +1 -1
  76. package/package.json +5 -5
  77. package/dist/chunk-2XSEQBJ5.mjs.map +0 -1
  78. package/dist/chunk-52ULSP6E.mjs.map +0 -1
  79. package/dist/chunk-5GRZROYQ.mjs.map +0 -1
  80. package/dist/chunk-5T3VUFL4.mjs.map +0 -1
  81. package/dist/chunk-KOO4VQ2N.mjs.map +0 -1
  82. package/dist/chunk-LK62DXGG.mjs.map +0 -1
  83. package/dist/chunk-NCYRNCGJ.mjs +0 -107
  84. package/dist/chunk-NCYRNCGJ.mjs.map +0 -1
  85. package/dist/typography/index.d.mts +0 -42
  86. package/dist/typography/index.d.ts +0 -42
  87. package/dist/typography/index.js +0 -252
  88. package/dist/typography/index.js.map +0 -1
  89. package/dist/typography/index.mjs +0 -90
  90. package/dist/typography/typography.d.mts +0 -2
  91. package/dist/typography/typography.d.ts +0 -2
  92. package/dist/typography/typography.js.map +0 -1
  93. package/dist/typography/typography.mjs +0 -8
  94. /package/dist/{chunk-MJ4LA23N.mjs.map → chunk-BDA6STW2.mjs.map} +0 -0
  95. /package/dist/{chunk-FL4LCX4F.mjs.map → chunk-IWV5GK63.mjs.map} +0 -0
  96. /package/dist/{chunk-T3EC54VN.mjs.map → chunk-PUFFEK6I.mjs.map} +0 -0
  97. /package/dist/{typography → text}/index.mjs.map +0 -0
  98. /package/dist/{typography/typography.mjs.map → text/text.mjs.map} +0 -0
@@ -204,26 +204,6 @@ export { BaseButton as BaseButton_alias_1 }
204
204
  export { BaseButton as BaseButton_alias_2 }
205
205
  export { BaseButton as BaseButton_alias_3 }
206
206
 
207
- declare const Body_2: FunctionComponent<Omit<TypographyProps, "variant">>;
208
- export { Body_2 as Body }
209
- export { Body_2 as Body_alias_1 }
210
- export { Body_2 as Body_alias_2 }
211
-
212
- declare const BodySmall: FunctionComponent<Omit<TypographyProps, "variant">>;
213
- export { BodySmall }
214
- export { BodySmall as BodySmall_alias_1 }
215
- export { BodySmall as BodySmall_alias_2 }
216
-
217
- declare const BodySmallTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
218
- export { BodySmallTitle }
219
- export { BodySmallTitle as BodySmallTitle_alias_1 }
220
- export { BodySmallTitle as BodySmallTitle_alias_2 }
221
-
222
- declare const BodyTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
223
- export { BodyTitle }
224
- export { BodyTitle as BodyTitle_alias_1 }
225
- export { BodyTitle as BodyTitle_alias_2 }
226
-
227
207
  export declare const BoundedCheckbox: Story_7;
228
208
 
229
209
  export declare const BoundedRadiobutton: Story_11;
@@ -367,16 +347,6 @@ declare interface ButtonPropsInternal extends React.ButtonHTMLAttributes<HTMLBut
367
347
  children?: React.ReactNode;
368
348
  }
369
349
 
370
- declare const Caption: FunctionComponent<Omit<TypographyProps, "variant">>;
371
- export { Caption }
372
- export { Caption as Caption_alias_1 }
373
- export { Caption as Caption_alias_2 }
374
-
375
- declare const CaptionTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
376
- export { CaptionTitle }
377
- export { CaptionTitle as CaptionTitle_alias_1 }
378
- export { CaptionTitle as CaptionTitle_alias_2 }
379
-
380
350
  export declare const Card_alias_2: Story_6;
381
351
 
382
352
  export declare const Card_alias_3: OverridableComponent<CardBaseProps & {
@@ -640,7 +610,7 @@ export declare const default_alias_25: Meta<typeof StyledHtml>;
640
610
 
641
611
  export declare const default_alias_26: Meta<typeof TabsComponent>;
642
612
 
643
- export declare const default_alias_27: Meta<typeof Typography>;
613
+ export declare const default_alias_27: Meta<typeof Text_2>;
644
614
 
645
615
  export declare const default_alias_28: Meta<typeof WarningBanner>;
646
616
 
@@ -805,35 +775,10 @@ export { FieldsetProps as FieldsetProps_alias_4 }
805
775
 
806
776
  export declare const FormWithErrorsOnSubmit: Story_10;
807
777
 
808
- declare const H1: FunctionComponent<Omit<TypographyProps, "variant">>;
809
- export { H1 }
810
- export { H1 as H1_alias_1 }
811
- export { H1 as H1_alias_2 }
812
-
813
- /**
814
- * Alternative: Named as the different typography levels
815
- *
816
- * ## Alias to @see Typography
817
- */
818
- declare const H1Display: FunctionComponent<Omit<TypographyProps, "variant">>;
819
- export { H1Display }
820
- export { H1Display as H1Display_alias_1 }
821
- export { H1Display as H1Display_alias_2 }
822
-
823
- declare const H2: FunctionComponent<Omit<TypographyProps, "variant">>;
824
- export { H2 }
825
- export { H2 as H2_alias_1 }
826
- export { H2 as H2_alias_2 }
827
-
828
- declare const H3: FunctionComponent<Omit<TypographyProps, "variant">>;
829
- export { H3 }
830
- export { H3 as H3_alias_1 }
831
- export { H3 as H3_alias_2 }
832
-
833
- declare const H3Title: FunctionComponent<Omit<TypographyProps, "variant">>;
834
- export { H3Title }
835
- export { H3Title as H3Title_alias_1 }
836
- export { H3Title as H3Title_alias_2 }
778
+ declare interface HeadingProps {
779
+ variant: "h1-display" | "h1" | "h2" | "h3" | "h3-title";
780
+ as: React_3.ElementType;
781
+ }
837
782
 
838
783
  export declare const Horizontal: Story_16;
839
784
 
@@ -1003,14 +948,35 @@ export declare const MessageTitle: OverridableComponent<object, HTMLParagraphEle
1003
948
  export declare const MinAndMax: Story_27;
1004
949
 
1005
950
  /**
1006
- * # 🚨 WORK IN PROGRESS 🚨
951
+ * A modal dialog is a window that forces the user to interact with it before they can return to other parts of the application.
1007
952
  *
1008
- * ## TODO
953
+ * Uses the native [`dialog`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element.
1009
954
  *
1010
- * - [ ] polyfill the dialog element for the %0.2 users that don't have it yet.
1011
- * - [x] Open the modal where there user is, not top of the page
1012
- * - [x] Support the `open` prop
1013
- * - [x] Support click outside to close
955
+ * Example
956
+ * ```
957
+ const modalRef = useRef<HTMLDialogElement>(null);
958
+ const onClose = () => modalRef.current?.close();
959
+
960
+ return (
961
+ <>
962
+ <PrimaryButton onClick={() => modalRef.current?.showModal()}>Open Modal</PrimaryButton>
963
+ <Modal ref={modalRef}>
964
+ <Modal.Header>Dialog header</Modal.Header>
965
+ <Modal.Content>
966
+ <p>
967
+ Dialog header Dialog description - a description of what is about to happen and maybe
968
+ something about the consequences.
969
+ </p>
970
+ </Modal.Content>
971
+ <Modal.Footer style={{ display: "flex", gap: 16 }}>
972
+ <PrimaryButton fill="outline" onClick={onClose}>
973
+ Close
974
+ </PrimaryButton>
975
+ </Modal.Footer>
976
+ </Modal>
977
+ </>
978
+ );
979
+ * ```
1014
980
  */
1015
981
  export declare const Modal_alias_3: ForwardRefExoticComponent<ModalProps & RefAttributes<HTMLDialogElement>>;
1016
982
 
@@ -1201,6 +1167,10 @@ export declare type OverridableComponent<ComponentProps, Element extends HTMLEle
1201
1167
 
1202
1168
  export declare const Paragraph: Story_16;
1203
1169
 
1170
+ declare interface ParagraphProps {
1171
+ variant?: "body" | "body-title" | "body-small" | "body-small-title" | "technical" | "technical-title" | "caption" | "caption-title";
1172
+ }
1173
+
1204
1174
  export declare const PlainCheckbox: Story_7;
1205
1175
 
1206
1176
  export declare const PlainInput: Story_10;
@@ -1311,7 +1281,7 @@ export declare const ShowMore: Story_22;
1311
1281
  * ))}
1312
1282
  * </ul>
1313
1283
  * {moreItemsAvailable ?
1314
- * <ShowMoreButton className="mt-small-2" onClick={onShowMoreItems} lang="en" /> :
1284
+ * <ShowMoreButton className="mt-8" onClick={onShowMoreItems} lang="en" /> :
1315
1285
  * null
1316
1286
  * }
1317
1287
  * </>
@@ -1464,7 +1434,7 @@ declare type Story_25 = StoryObj<typeof StyledHtml>;
1464
1434
 
1465
1435
  declare type Story_26 = StoryObj<typeof TabsComponent>;
1466
1436
 
1467
- declare type Story_27 = StoryObj<typeof Typography>;
1437
+ declare type Story_27 = StoryObj<typeof Text_2>;
1468
1438
 
1469
1439
  declare type Story_28 = StoryObj<typeof WarningBanner>;
1470
1440
 
@@ -1635,27 +1605,26 @@ export { TabsProps as TabsProps_alias_1 }
1635
1605
  export { TabsProps as TabsProps_alias_2 }
1636
1606
  export { TabsProps as TabsProps_alias_3 }
1637
1607
 
1638
- declare const Technical: FunctionComponent<Omit<TypographyProps, "variant">>;
1639
- export { Technical }
1640
- export { Technical as Technical_alias_1 }
1641
- export { Technical as Technical_alias_2 }
1642
-
1643
- declare const TechnicalTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
1644
- export { TechnicalTitle }
1645
- export { TechnicalTitle as TechnicalTitle_alias_1 }
1646
- export { TechnicalTitle as TechnicalTitle_alias_2 }
1647
-
1648
1608
  /**
1649
- * Alternative: Named `Text`
1609
+ * Text component
1610
+ *
1611
+ * If the variant is `h1-display`, `h1`, `h2`, `h3`, or `h3-title` the `as` prop is required.
1650
1612
  *
1651
- * ## Alias to @see Typography
1613
+ * This to force the consumer to consider which semantic html element to use. E.g. `<h1>` or `<h2>`
1652
1614
  *
1653
- * Only one component will remain
1615
+ * @example
1616
+ * ```tsx
1617
+ * <Text variant="h1-display" as="h1">Hello world</Text>
1618
+ * <Text variant="body">
1619
+ * This is a body text
1620
+ * </Text>
1621
+ * ```
1654
1622
  */
1655
- declare const Text_2: OverridableComponent<TypographyProps, HTMLDivElement>;
1623
+ declare const Text_2: OverridableComponent<TextProps, HTMLDivElement>;
1656
1624
  export { Text_2 as Text }
1657
1625
  export { Text_2 as Text_alias_1 }
1658
1626
  export { Text_2 as Text_alias_2 }
1627
+ export { Text_2 as Text_alias_3 }
1659
1628
 
1660
1629
  declare const Textarea: ForwardRefExoticComponent<TextareaProps & RefAttributes<HTMLTextAreaElement>>;
1661
1630
  export { Textarea }
@@ -1671,72 +1640,168 @@ export { TextareaProps as TextareaProps_alias_2 }
1671
1640
  export { TextareaProps as TextareaProps_alias_3 }
1672
1641
  export { TextareaProps as TextareaProps_alias_4 }
1673
1642
 
1674
- declare const TextBody: FunctionComponent<Omit<TypographyProps, "variant">>;
1643
+ /**
1644
+ * # 🚨 Unstable alternative
1645
+ *
1646
+ * named as the different typography levels with Text prefix
1647
+ *
1648
+ * ## Alias to @see Text
1649
+ */
1650
+ declare const TextBody: FunctionComponent<Omit<TextProps, "variant">>;
1675
1651
  export { TextBody }
1676
1652
  export { TextBody as TextBody_alias_1 }
1677
1653
  export { TextBody as TextBody_alias_2 }
1678
1654
 
1679
- declare const TextBodySmall: FunctionComponent<Omit<TypographyProps, "variant">>;
1655
+ /**
1656
+ * # 🚨 Unstable alternative
1657
+ *
1658
+ * named as the different typography levels with Text prefix
1659
+ *
1660
+ * ## Alias to @see Text
1661
+ */
1662
+ declare const TextBodySmall: FunctionComponent<Omit<TextProps, "variant">>;
1680
1663
  export { TextBodySmall }
1681
1664
  export { TextBodySmall as TextBodySmall_alias_1 }
1682
1665
  export { TextBodySmall as TextBodySmall_alias_2 }
1683
1666
 
1684
- declare const TextBodySmallTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
1667
+ /**
1668
+ * # 🚨 Unstable alternative
1669
+ *
1670
+ * named as the different typography levels with Text prefix
1671
+ *
1672
+ * ## Alias to @see Text
1673
+ */
1674
+ declare const TextBodySmallTitle: FunctionComponent<Omit<TextProps, "variant">>;
1685
1675
  export { TextBodySmallTitle }
1686
1676
  export { TextBodySmallTitle as TextBodySmallTitle_alias_1 }
1687
1677
  export { TextBodySmallTitle as TextBodySmallTitle_alias_2 }
1688
1678
 
1689
- declare const TextBodyTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
1679
+ /**
1680
+ * # 🚨 Unstable alternative
1681
+ *
1682
+ * named as the different typography levels with Text prefix
1683
+ *
1684
+ * ## Alias to @see Text
1685
+ */
1686
+ declare const TextBodyTitle: FunctionComponent<Omit<TextProps, "variant">>;
1690
1687
  export { TextBodyTitle }
1691
1688
  export { TextBodyTitle as TextBodyTitle_alias_1 }
1692
1689
  export { TextBodyTitle as TextBodyTitle_alias_2 }
1693
1690
 
1694
- declare const TextCaption: FunctionComponent<Omit<TypographyProps, "variant">>;
1691
+ /**
1692
+ * 🚨 Unstable alterentative: Named as the different typography levels with Text prefix
1693
+ *
1694
+ * ## Alias to @see Text
1695
+ */
1696
+ declare const TextCaption: FunctionComponent<Omit<TextProps, "variant">>;
1695
1697
  export { TextCaption }
1696
1698
  export { TextCaption as TextCaption_alias_1 }
1697
1699
  export { TextCaption as TextCaption_alias_2 }
1698
1700
 
1699
- declare const TextCaptionTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
1701
+ /**
1702
+ * 🚨 Unstable alterentative: Named as the different typography levels with Text prefix
1703
+ *
1704
+ * ## Alias to @see Text
1705
+ */
1706
+ declare const TextCaptionTitle: FunctionComponent<Omit<TextProps, "variant">>;
1700
1707
  export { TextCaptionTitle }
1701
1708
  export { TextCaptionTitle as TextCaptionTitle_alias_1 }
1702
1709
  export { TextCaptionTitle as TextCaptionTitle_alias_2 }
1703
1710
 
1704
- declare const TextH1: FunctionComponent<Omit<TypographyProps, "variant">>;
1711
+ /**
1712
+ * # 🚨 Unstable alternative
1713
+ *
1714
+ * named as the different typography levels with Text prefix
1715
+ *
1716
+ * ## Alias to @see Text
1717
+ */
1718
+ declare const TextH1: FunctionComponent<Omit<TextProps, "variant">>;
1705
1719
  export { TextH1 }
1706
1720
  export { TextH1 as TextH1_alias_1 }
1707
1721
  export { TextH1 as TextH1_alias_2 }
1708
1722
 
1709
1723
  /**
1710
- * Alternative: Named as the different typography levels with Text prefix
1724
+ * # 🚨 Unstable alternative
1711
1725
  *
1712
- * ## Alias to @see Typography
1726
+ * named as the different typography levels with Text prefix
1727
+ *
1728
+ * ## Alias to @see Text
1713
1729
  */
1714
- declare const TextH1Display: FunctionComponent<Omit<TypographyProps, "variant">>;
1730
+ declare const TextH1Display: FunctionComponent<Omit<TextProps, "variant">>;
1715
1731
  export { TextH1Display }
1716
1732
  export { TextH1Display as TextH1Display_alias_1 }
1717
1733
  export { TextH1Display as TextH1Display_alias_2 }
1718
1734
 
1719
- declare const TextH2: FunctionComponent<Omit<TypographyProps, "variant">>;
1735
+ /**
1736
+ * # 🚨 Unstable alternative
1737
+ *
1738
+ * named as the different typography levels with Text prefix
1739
+ *
1740
+ * ## Alias to @see Text
1741
+ */
1742
+ declare const TextH2: FunctionComponent<Omit<TextProps, "variant">>;
1720
1743
  export { TextH2 }
1721
1744
  export { TextH2 as TextH2_alias_1 }
1722
1745
  export { TextH2 as TextH2_alias_2 }
1723
1746
 
1724
- declare const TextH3: FunctionComponent<Omit<TypographyProps, "variant">>;
1747
+ /**
1748
+ * # 🚨 Unstable alternative
1749
+ *
1750
+ * named as the different typography levels with Text prefix
1751
+ *
1752
+ * ## Alias to @see Text
1753
+ */
1754
+ declare const TextH3: FunctionComponent<Omit<TextProps, "variant">>;
1725
1755
  export { TextH3 }
1726
1756
  export { TextH3 as TextH3_alias_1 }
1727
1757
  export { TextH3 as TextH3_alias_2 }
1728
1758
 
1729
- declare const TextH3Title: FunctionComponent<Omit<TypographyProps, "variant">>;
1759
+ /**
1760
+ * # 🚨 Unstable alternative
1761
+ *
1762
+ * named as the different typography levels with Text prefix
1763
+ *
1764
+ * ## Alias to @see Text
1765
+ */
1766
+ declare const TextH3Title: FunctionComponent<Omit<TextProps, "variant">>;
1730
1767
  export { TextH3Title }
1731
1768
  export { TextH3Title as TextH3Title_alias_1 }
1732
1769
  export { TextH3Title as TextH3Title_alias_2 }
1733
1770
 
1734
- declare const TextTechnical: FunctionComponent<Omit<TypographyProps, "variant">>;
1771
+ declare type TextProps = (HeadingProps | ParagraphProps) & {
1772
+ children: React_3.ReactNode;
1773
+ /**
1774
+ * The font-size of the component. By default it's `fluid` which means it's smaller on mobile and larger on desktop.
1775
+ *
1776
+ * But you can lock it to either the min or the max size.
1777
+ */
1778
+ size?: "min" | "max" | "fluid";
1779
+ /**
1780
+ * 🚧 Experimental spacing
1781
+ */
1782
+ _unstableSpacing?: boolean;
1783
+ };
1784
+ export { TextProps }
1785
+ export { TextProps as TextProps_alias_1 }
1786
+ export { TextProps as TextProps_alias_2 }
1787
+ export { TextProps as TextProps_alias_3 }
1788
+
1789
+ /**
1790
+ * 🚨 Unstable alterentative: Named as the different typography levels with Text prefix
1791
+ *
1792
+ * ## Alias to @see Text
1793
+ */
1794
+ declare const TextTechnical: FunctionComponent<Omit<TextProps, "variant">>;
1735
1795
  export { TextTechnical }
1736
1796
  export { TextTechnical as TextTechnical_alias_1 }
1737
1797
  export { TextTechnical as TextTechnical_alias_2 }
1738
1798
 
1739
- declare const TextTechnicalTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
1799
+ /**
1800
+ * 🚨 Unstable alterentative: Named as the different typography levels with Text prefix
1801
+ *
1802
+ * ## Alias to @see Text
1803
+ */
1804
+ declare const TextTechnicalTitle: FunctionComponent<Omit<TextProps, "variant">>;
1740
1805
  export { TextTechnicalTitle }
1741
1806
  export { TextTechnicalTitle as TextTechnicalTitle_alias_1 }
1742
1807
  export { TextTechnicalTitle as TextTechnicalTitle_alias_2 }
@@ -1767,99 +1832,6 @@ export declare const TrackingNumberSearch: Story_10;
1767
1832
  */
1768
1833
  export declare const TwoElements: Story_4;
1769
1834
 
1770
- /**
1771
- * ## 🚨 WORK IN PROGRESS 🚨
1772
- */
1773
- declare const Typography: OverridableComponent<TypographyProps, HTMLDivElement>;
1774
- export { Typography }
1775
- export { Typography as Typography_alias_1 }
1776
- export { Typography as Typography_alias_2 }
1777
- export { Typography as Typography_alias_3 }
1778
-
1779
- declare const TypographyBody: FunctionComponent<Omit<TypographyProps, "variant">>;
1780
- export { TypographyBody }
1781
- export { TypographyBody as TypographyBody_alias_1 }
1782
- export { TypographyBody as TypographyBody_alias_2 }
1783
-
1784
- declare const TypographyBodySmall: FunctionComponent<Omit<TypographyProps, "variant">>;
1785
- export { TypographyBodySmall }
1786
- export { TypographyBodySmall as TypographyBodySmall_alias_1 }
1787
- export { TypographyBodySmall as TypographyBodySmall_alias_2 }
1788
-
1789
- declare const TypographyBodySmallTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
1790
- export { TypographyBodySmallTitle }
1791
- export { TypographyBodySmallTitle as TypographyBodySmallTitle_alias_1 }
1792
- export { TypographyBodySmallTitle as TypographyBodySmallTitle_alias_2 }
1793
-
1794
- declare const TypographyBodyTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
1795
- export { TypographyBodyTitle }
1796
- export { TypographyBodyTitle as TypographyBodyTitle_alias_1 }
1797
- export { TypographyBodyTitle as TypographyBodyTitle_alias_2 }
1798
-
1799
- declare const TypographyCaption: FunctionComponent<Omit<TypographyProps, "variant">>;
1800
- export { TypographyCaption }
1801
- export { TypographyCaption as TypographyCaption_alias_1 }
1802
- export { TypographyCaption as TypographyCaption_alias_2 }
1803
-
1804
- declare const TypographyCaptionTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
1805
- export { TypographyCaptionTitle }
1806
- export { TypographyCaptionTitle as TypographyCaptionTitle_alias_1 }
1807
- export { TypographyCaptionTitle as TypographyCaptionTitle_alias_2 }
1808
-
1809
- declare const TypographyH1: FunctionComponent<Omit<TypographyProps, "variant">>;
1810
- export { TypographyH1 }
1811
- export { TypographyH1 as TypographyH1_alias_1 }
1812
- export { TypographyH1 as TypographyH1_alias_2 }
1813
-
1814
- /**
1815
- * Alternative: Named as the different typography levels with Typography prefix
1816
- *
1817
- * ## Alias to @see Typography
1818
- */
1819
- declare const TypographyH1Display: FunctionComponent<Omit<TypographyProps, "variant">>;
1820
- export { TypographyH1Display }
1821
- export { TypographyH1Display as TypographyH1Display_alias_1 }
1822
- export { TypographyH1Display as TypographyH1Display_alias_2 }
1823
-
1824
- declare const TypographyH2: FunctionComponent<Omit<TypographyProps, "variant">>;
1825
- export { TypographyH2 }
1826
- export { TypographyH2 as TypographyH2_alias_1 }
1827
- export { TypographyH2 as TypographyH2_alias_2 }
1828
-
1829
- declare const TypographyH3: FunctionComponent<Omit<TypographyProps, "variant">>;
1830
- export { TypographyH3 }
1831
- export { TypographyH3 as TypographyH3_alias_1 }
1832
- export { TypographyH3 as TypographyH3_alias_2 }
1833
-
1834
- declare const TypographyH3Title: FunctionComponent<Omit<TypographyProps, "variant">>;
1835
- export { TypographyH3Title }
1836
- export { TypographyH3Title as TypographyH3Title_alias_1 }
1837
- export { TypographyH3Title as TypographyH3Title_alias_2 }
1838
-
1839
- declare interface TypographyProps {
1840
- children: React_3.ReactNode;
1841
- variant?: "h1-display" | "h1" | "h2" | "h3" | "h3-title" | "body" | "body-title" | "body-small" | "body-small-title" | "technical" | "technical-title" | "caption" | "caption-title";
1842
- size?: "min" | "max" | "fluid";
1843
- /**
1844
- * 🚧 Experimental spacing
1845
- */
1846
- _unstableSpacing?: boolean;
1847
- }
1848
- export { TypographyProps }
1849
- export { TypographyProps as TypographyProps_alias_1 }
1850
- export { TypographyProps as TypographyProps_alias_2 }
1851
- export { TypographyProps as TypographyProps_alias_3 }
1852
-
1853
- declare const TypographyTechnical: FunctionComponent<Omit<TypographyProps, "variant">>;
1854
- export { TypographyTechnical }
1855
- export { TypographyTechnical as TypographyTechnical_alias_1 }
1856
- export { TypographyTechnical as TypographyTechnical_alias_2 }
1857
-
1858
- declare const TypographyTechnicalTitle: FunctionComponent<Omit<TypographyProps, "variant">>;
1859
- export { TypographyTechnicalTitle }
1860
- export { TypographyTechnicalTitle as TypographyTechnicalTitle_alias_1 }
1861
- export { TypographyTechnicalTitle as TypographyTechnicalTitle_alias_2 }
1862
-
1863
1835
  export declare const Underline: Story_15;
1864
1836
 
1865
1837
  /**