@digigov/react-core 1.0.0-079f34f3d → 1.0.0-290a96e2

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 (191) hide show
  1. package/Accordion/__snapshots__/index.test.tsx.snap +2 -2
  2. package/AdminAside/index.d.ts +1 -1
  3. package/AdminContainer/__snapshots__/index.test.tsx.snap +21 -11
  4. package/AdminContainer/index.d.ts +1 -1
  5. package/AdminMain/index.d.ts +1 -1
  6. package/AdminTopSection/index.d.ts +1 -1
  7. package/Aside/__snapshots__/index.test.tsx.snap +16 -7
  8. package/Aside/index.d.ts +5 -5
  9. package/Aside/index.js +9 -5
  10. package/BottomInfo/__snapshots__/index.test.tsx.snap +11 -15
  11. package/BottomInfo/index.d.ts +1 -1
  12. package/BottomInfoContainer/__snapshots__/index.test.tsx.snap +11 -15
  13. package/BottomInfoContainer/index.d.ts +1 -1
  14. package/BottomInfoContent/__snapshots__/index.test.tsx.snap +3 -6
  15. package/BottomInfoContent/index.d.ts +1 -1
  16. package/BottomInfoContent/index.js +2 -11
  17. package/ChipHeading/__snapshots__/index.test.tsx.snap +10 -5
  18. package/CircularProgress/__snapshots__/index.test.tsx.snap +12 -12
  19. package/CircularProgress/index.js +2 -2
  20. package/Container/__snapshots__/index.test.tsx.snap +32 -44
  21. package/Container/index.d.ts +12 -12
  22. package/Container/index.js +7 -6
  23. package/Drawer/__snapshots__/index.test.tsx.snap +10 -5
  24. package/DropdownContent/__snapshots__/index.test.tsx.snap +2 -2
  25. package/FieldContainer/index.d.ts +1 -1
  26. package/FooterContainer/__snapshots__/index.test.tsx.snap +10 -14
  27. package/FooterContainer/index.d.ts +1 -1
  28. package/FooterHeading/__snapshots__/index.test.tsx.snap +30 -15
  29. package/Grid/index.d.ts +64 -32
  30. package/Grid/index.js +1 -1
  31. package/Heading/__snapshots__/index.test.tsx.snap +190 -95
  32. package/HeadingCaption/__snapshots__/index.test.tsx.snap +40 -20
  33. package/Main/__snapshots__/index.test.tsx.snap +16 -7
  34. package/Main/index.d.ts +4 -4
  35. package/Main/index.js +7 -4
  36. package/ModalHeading/__snapshots__/index.test.tsx.snap +12 -6
  37. package/NavMenuContainer/__snapshots__/index.test.tsx.snap +13 -15
  38. package/NavMenuContainer/index.js +1 -0
  39. package/NavMenuContent/__snapshots__/index.test.tsx.snap +5 -3
  40. package/NavMenuContent/index.d.ts +1 -1
  41. package/NavMenuContent/index.js +3 -1
  42. package/NavMenuTitle/__snapshots__/index.test.tsx.snap +4 -3
  43. package/NavMenuTitle/index.js +2 -1
  44. package/NotificationBannerHeader/__snapshots__/index.test.tsx.snap +12 -6
  45. package/NotificationBannerHeading/__snapshots__/index.test.tsx.snap +10 -5
  46. package/PageTitleCaption/__snapshots__/index.test.tsx.snap +50 -25
  47. package/PageTitleHeading/__snapshots__/index.test.tsx.snap +50 -25
  48. package/TabsHeading/__snapshots__/index.test.tsx.snap +30 -15
  49. package/TabsListItem/__snapshots__/index.test.tsx.snap +25 -25
  50. package/TaskListItemHeading/__snapshots__/index.test.tsx.snap +66 -30
  51. package/TextInput/__snapshots__/index.test.tsx.snap +72 -72
  52. package/Unpurge/index.js +1 -1
  53. package/es/Accordion/__snapshots__/index.test.tsx.snap +2 -2
  54. package/es/AdminContainer/__snapshots__/index.test.tsx.snap +21 -11
  55. package/es/Aside/__snapshots__/index.test.tsx.snap +16 -7
  56. package/es/Aside/index.js +9 -5
  57. package/es/BottomInfo/__snapshots__/index.test.tsx.snap +11 -15
  58. package/es/BottomInfoContainer/__snapshots__/index.test.tsx.snap +11 -15
  59. package/es/BottomInfoContent/__snapshots__/index.test.tsx.snap +3 -6
  60. package/es/BottomInfoContent/index.js +2 -11
  61. package/es/ChipHeading/__snapshots__/index.test.tsx.snap +10 -5
  62. package/es/CircularProgress/__snapshots__/index.test.tsx.snap +12 -12
  63. package/es/CircularProgress/index.js +2 -2
  64. package/es/Container/__snapshots__/index.test.tsx.snap +32 -44
  65. package/es/Container/index.js +7 -6
  66. package/es/Drawer/__snapshots__/index.test.tsx.snap +10 -5
  67. package/es/DropdownContent/__snapshots__/index.test.tsx.snap +2 -2
  68. package/es/FooterContainer/__snapshots__/index.test.tsx.snap +10 -14
  69. package/es/FooterHeading/__snapshots__/index.test.tsx.snap +30 -15
  70. package/es/Grid/index.js +1 -1
  71. package/es/Heading/__snapshots__/index.test.tsx.snap +190 -95
  72. package/es/HeadingCaption/__snapshots__/index.test.tsx.snap +40 -20
  73. package/es/Main/__snapshots__/index.test.tsx.snap +16 -7
  74. package/es/Main/index.js +7 -4
  75. package/es/ModalHeading/__snapshots__/index.test.tsx.snap +12 -6
  76. package/es/NavMenuContainer/__snapshots__/index.test.tsx.snap +13 -15
  77. package/es/NavMenuContainer/index.js +1 -0
  78. package/es/NavMenuContent/__snapshots__/index.test.tsx.snap +5 -3
  79. package/es/NavMenuContent/index.js +3 -1
  80. package/es/NavMenuTitle/__snapshots__/index.test.tsx.snap +4 -3
  81. package/es/NavMenuTitle/index.js +2 -1
  82. package/es/NotificationBannerHeader/__snapshots__/index.test.tsx.snap +12 -6
  83. package/es/NotificationBannerHeading/__snapshots__/index.test.tsx.snap +10 -5
  84. package/es/PageTitleCaption/__snapshots__/index.test.tsx.snap +50 -25
  85. package/es/PageTitleHeading/__snapshots__/index.test.tsx.snap +50 -25
  86. package/es/TabsHeading/__snapshots__/index.test.tsx.snap +30 -15
  87. package/es/TabsListItem/__snapshots__/index.test.tsx.snap +25 -25
  88. package/es/TaskListItemHeading/__snapshots__/index.test.tsx.snap +66 -30
  89. package/es/TextInput/__snapshots__/index.test.tsx.snap +72 -72
  90. package/es/Unpurge/index.js +1 -1
  91. package/es/index.js +1 -1
  92. package/es/registry.js +0 -2
  93. package/esm/Accordion/__snapshots__/index.test.tsx.snap +2 -2
  94. package/esm/AdminContainer/__snapshots__/index.test.tsx.snap +21 -11
  95. package/esm/Aside/__snapshots__/index.test.tsx.snap +16 -7
  96. package/esm/Aside/index.js +9 -5
  97. package/esm/BottomInfo/__snapshots__/index.test.tsx.snap +11 -15
  98. package/esm/BottomInfoContainer/__snapshots__/index.test.tsx.snap +11 -15
  99. package/esm/BottomInfoContent/__snapshots__/index.test.tsx.snap +3 -6
  100. package/esm/BottomInfoContent/index.js +2 -11
  101. package/esm/ChipHeading/__snapshots__/index.test.tsx.snap +10 -5
  102. package/esm/CircularProgress/__snapshots__/index.test.tsx.snap +12 -12
  103. package/esm/CircularProgress/index.js +2 -2
  104. package/esm/Container/__snapshots__/index.test.tsx.snap +32 -44
  105. package/esm/Container/index.js +7 -6
  106. package/esm/Drawer/__snapshots__/index.test.tsx.snap +10 -5
  107. package/esm/DropdownContent/__snapshots__/index.test.tsx.snap +2 -2
  108. package/esm/FooterContainer/__snapshots__/index.test.tsx.snap +10 -14
  109. package/esm/FooterHeading/__snapshots__/index.test.tsx.snap +30 -15
  110. package/esm/Grid/index.js +1 -1
  111. package/esm/Heading/__snapshots__/index.test.tsx.snap +190 -95
  112. package/esm/HeadingCaption/__snapshots__/index.test.tsx.snap +40 -20
  113. package/esm/Main/__snapshots__/index.test.tsx.snap +16 -7
  114. package/esm/Main/index.js +7 -4
  115. package/esm/ModalHeading/__snapshots__/index.test.tsx.snap +12 -6
  116. package/esm/NavMenuContainer/__snapshots__/index.test.tsx.snap +13 -15
  117. package/esm/NavMenuContainer/index.js +1 -0
  118. package/esm/NavMenuContent/__snapshots__/index.test.tsx.snap +5 -3
  119. package/esm/NavMenuContent/index.js +3 -1
  120. package/esm/NavMenuTitle/__snapshots__/index.test.tsx.snap +4 -3
  121. package/esm/NavMenuTitle/index.js +2 -1
  122. package/esm/NotificationBannerHeader/__snapshots__/index.test.tsx.snap +12 -6
  123. package/esm/NotificationBannerHeading/__snapshots__/index.test.tsx.snap +10 -5
  124. package/esm/PageTitleCaption/__snapshots__/index.test.tsx.snap +50 -25
  125. package/esm/PageTitleHeading/__snapshots__/index.test.tsx.snap +50 -25
  126. package/esm/TabsHeading/__snapshots__/index.test.tsx.snap +30 -15
  127. package/esm/TabsListItem/__snapshots__/index.test.tsx.snap +25 -25
  128. package/esm/TaskListItemHeading/__snapshots__/index.test.tsx.snap +66 -30
  129. package/esm/TextInput/__snapshots__/index.test.tsx.snap +72 -72
  130. package/esm/Unpurge/index.js +1 -1
  131. package/esm/index.js +2 -2
  132. package/esm/registry.js +0 -2
  133. package/index.d.ts +1 -1
  134. package/index.js +1 -1
  135. package/package.json +3 -3
  136. package/registry.d.ts +0 -1
  137. package/registry.js +0 -3
  138. package/src/Accordion/__snapshots__/index.test.tsx.snap +2 -2
  139. package/src/AdminContainer/__snapshots__/index.test.tsx.snap +21 -11
  140. package/src/Aside/__snapshots__/index.test.tsx.snap +16 -7
  141. package/src/Aside/index.tsx +10 -7
  142. package/src/BottomInfo/__snapshots__/index.test.tsx.snap +11 -15
  143. package/src/BottomInfoContainer/__snapshots__/index.test.tsx.snap +11 -15
  144. package/src/BottomInfoContent/__snapshots__/index.test.tsx.snap +3 -6
  145. package/src/BottomInfoContent/index.tsx +1 -4
  146. package/src/ChipHeading/__snapshots__/index.test.tsx.snap +10 -5
  147. package/src/CircularProgress/__snapshots__/index.test.tsx.snap +12 -12
  148. package/src/CircularProgress/index.tsx +2 -2
  149. package/src/Container/__snapshots__/index.test.tsx.snap +32 -44
  150. package/src/Container/index.tsx +16 -23
  151. package/src/Drawer/__snapshots__/index.test.tsx.snap +10 -5
  152. package/src/DropdownContent/__snapshots__/index.test.tsx.snap +2 -2
  153. package/src/FooterContainer/__snapshots__/index.test.tsx.snap +10 -14
  154. package/src/FooterHeading/__snapshots__/index.test.tsx.snap +30 -15
  155. package/src/Grid/index.tsx +82 -39
  156. package/src/Heading/__snapshots__/index.test.tsx.snap +190 -95
  157. package/src/HeadingCaption/__snapshots__/index.test.tsx.snap +40 -20
  158. package/src/Main/__snapshots__/index.test.tsx.snap +16 -7
  159. package/src/Main/index.tsx +9 -6
  160. package/src/ModalHeading/__snapshots__/index.test.tsx.snap +12 -6
  161. package/src/NavMenuContainer/__snapshots__/index.test.tsx.snap +13 -15
  162. package/src/NavMenuContainer/index.tsx +1 -0
  163. package/src/NavMenuContent/__snapshots__/index.test.tsx.snap +5 -3
  164. package/src/NavMenuContent/index.tsx +1 -1
  165. package/src/NavMenuTitle/__snapshots__/index.test.tsx.snap +4 -3
  166. package/src/NavMenuTitle/index.tsx +2 -1
  167. package/src/NotificationBannerHeader/__snapshots__/index.test.tsx.snap +12 -6
  168. package/src/NotificationBannerHeading/__snapshots__/index.test.tsx.snap +10 -5
  169. package/src/PageTitleCaption/__snapshots__/index.test.tsx.snap +50 -25
  170. package/src/PageTitleHeading/__snapshots__/index.test.tsx.snap +50 -25
  171. package/src/TabsHeading/__snapshots__/index.test.tsx.snap +30 -15
  172. package/src/TabsListItem/__snapshots__/index.test.tsx.snap +25 -25
  173. package/src/TaskListItemHeading/__snapshots__/index.test.tsx.snap +66 -30
  174. package/src/TextInput/__snapshots__/index.test.tsx.snap +72 -72
  175. package/src/Unpurge/index.tsx +40 -0
  176. package/src/index.ts +1 -1
  177. package/src/registry.js +0 -2
  178. package/Icon/__snapshots__/index.test.tsx.snap +0 -343
  179. package/Icon/index.d.ts +0 -25
  180. package/Icon/index.js +0 -58
  181. package/Icon/index.test.d.ts +0 -1
  182. package/Icon/index.test.js +0 -88
  183. package/es/Icon/__snapshots__/index.test.tsx.snap +0 -343
  184. package/es/Icon/index.js +0 -34
  185. package/es/Icon/index.test.js +0 -82
  186. package/esm/Icon/__snapshots__/index.test.tsx.snap +0 -343
  187. package/esm/Icon/index.js +0 -34
  188. package/esm/Icon/index.test.js +0 -82
  189. package/src/Icon/__snapshots__/index.test.tsx.snap +0 -343
  190. package/src/Icon/index.test.tsx +0 -36
  191. package/src/Icon/index.tsx +0 -63
@@ -7,17 +7,23 @@ exports[`renders the ModalHeading with no props 1`] = `
7
7
  marginBottom={0}
8
8
  size="md"
9
9
  >
10
- <ForwardRef(Base)
10
+ <ForwardRef(Typography)
11
11
  as="h2"
12
12
  className="govgr-heading-md"
13
13
  marginBottom={0}
14
14
  >
15
- <h2
16
- className="govgr-heading-md govgr-mb-0"
15
+ <ForwardRef(Base)
16
+ as="h2"
17
+ className="govgr-heading-md"
18
+ marginBottom={0}
17
19
  >
18
- hello
19
- </h2>
20
- </ForwardRef(Base)>
20
+ <h2
21
+ className="govgr-heading-md govgr-mb-0"
22
+ >
23
+ hello
24
+ </h2>
25
+ </ForwardRef(Base)>
26
+ </ForwardRef(Typography)>
21
27
  </ForwardRef(Heading)>
22
28
  </ForwardRef(ModalHeading)>
23
29
  `;
@@ -13,26 +13,24 @@ exports[`renders the NavMenuContainer with no props 1`] = `
13
13
  >
14
14
  <ForwardRef(Container)
15
15
  grid={true}
16
+ spacing={4}
16
17
  >
17
- <ForwardRef(Base)
18
- as="div"
18
+ <ForwardRef(Grid)
19
19
  className="govgr-container"
20
+ container={true}
21
+ spacing={4}
20
22
  >
21
- <div
22
- className="govgr-container"
23
+ <ForwardRef(Base)
24
+ as="div"
25
+ className="govgr-container govgr-gap-4 govgr-grid"
23
26
  >
24
- <ForwardRef(Base)
25
- as="div"
26
- className="govgr-main-wrapper"
27
+ <div
28
+ className="govgr-container govgr-gap-4 govgr-grid"
27
29
  >
28
- <div
29
- className="govgr-main-wrapper"
30
- >
31
- hello
32
- </div>
33
- </ForwardRef(Base)>
34
- </div>
35
- </ForwardRef(Base)>
30
+ hello
31
+ </div>
32
+ </ForwardRef(Base)>
33
+ </ForwardRef(Grid)>
36
34
  </ForwardRef(Container)>
37
35
  </div>
38
36
  </ForwardRef(Base)>
@@ -25,6 +25,7 @@ export var NavMenuContainer = /*#__PURE__*/React.forwardRef(function NavMenuCont
25
25
  className: clsx(className, layout === 'horizontal' && 'govgr-nav-menu--horizontal', layout === 'vertical' && 'govgr-nav-menu--vertical', !active && 'govgr-nav-menu--hidden', true && 'govgr-nav-menu')
26
26
  }, /*#__PURE__*/React.createElement(Container, _extends({
27
27
  grid: layout === 'horizontal',
28
+ spacing: 4,
28
29
  ref: ref,
29
30
  className: className
30
31
  }, props), children));
@@ -5,14 +5,16 @@ exports[`renders the NavMenuContainerContent with no props 1`] = `
5
5
  <ForwardRef(Grid)
6
6
  className="govgr-nav-menu__content"
7
7
  item={true}
8
- md={2}
8
+ sm={8}
9
+ spacing={2}
10
+ xs={12}
9
11
  >
10
12
  <ForwardRef(Base)
11
13
  as="div"
12
- className="govgr-nav-menu__content md:govgr-grid__col-span-2"
14
+ className="govgr-nav-menu__content xs:govgr-grid__col-span-12 sm:govgr-grid__col-span-8"
13
15
  >
14
16
  <div
15
- className="govgr-nav-menu__content md:govgr-grid__col-span-2"
17
+ className="govgr-nav-menu__content xs:govgr-grid__col-span-12 sm:govgr-grid__col-span-8"
16
18
  >
17
19
  hello
18
20
  </div>
@@ -17,7 +17,9 @@ export var NavMenuContent = /*#__PURE__*/React.forwardRef(function NavMenuConten
17
17
 
18
18
  return /*#__PURE__*/React.createElement(Grid, _extends({
19
19
  item: true,
20
- md: 2,
20
+ xs: 12,
21
+ sm: 8,
22
+ spacing: 2,
21
23
  ref: ref,
22
24
  className: clsx(className, true && 'govgr-nav-menu__content')
23
25
  }, props), children);
@@ -5,14 +5,15 @@ exports[`renders the NavMenuTitle with no props 1`] = `
5
5
  <ForwardRef(Grid)
6
6
  className="govgr-nav-menu__title"
7
7
  item={true}
8
- md={1}
8
+ sm={4}
9
+ xs={12}
9
10
  >
10
11
  <ForwardRef(Base)
11
12
  as="div"
12
- className="govgr-nav-menu__title md:govgr-grid__col-span-1"
13
+ className="govgr-nav-menu__title xs:govgr-grid__col-span-12 sm:govgr-grid__col-span-4"
13
14
  >
14
15
  <div
15
- className="govgr-nav-menu__title md:govgr-grid__col-span-1"
16
+ className="govgr-nav-menu__title xs:govgr-grid__col-span-12 sm:govgr-grid__col-span-4"
16
17
  >
17
18
  <ForwardRef(Heading)
18
19
  className="govgr-nav-menu__title-heading"
@@ -18,7 +18,8 @@ export var NavMenuTitle = /*#__PURE__*/React.forwardRef(function NavMenuTitle(_r
18
18
 
19
19
  return /*#__PURE__*/React.createElement(Grid, _extends({
20
20
  item: true,
21
- md: 1,
21
+ xs: 12,
22
+ sm: 4,
22
23
  ref: ref,
23
24
  className: clsx(className, true && 'govgr-nav-menu__title')
24
25
  }, props), /*#__PURE__*/React.createElement(Heading, {
@@ -15,17 +15,23 @@ exports[`renders the NotificationBannerHeader with no props 1`] = `
15
15
  marginBottom={0}
16
16
  size="sm"
17
17
  >
18
- <ForwardRef(Base)
18
+ <ForwardRef(Typography)
19
19
  as="h2"
20
20
  className="govgr-notification-banner__title govgr-heading-sm"
21
21
  marginBottom={0}
22
22
  >
23
- <h2
24
- className="govgr-notification-banner__title govgr-heading-sm govgr-mb-0"
23
+ <ForwardRef(Base)
24
+ as="h2"
25
+ className="govgr-notification-banner__title govgr-heading-sm"
26
+ marginBottom={0}
25
27
  >
26
- hello
27
- </h2>
28
- </ForwardRef(Base)>
28
+ <h2
29
+ className="govgr-notification-banner__title govgr-heading-sm govgr-mb-0"
30
+ >
31
+ hello
32
+ </h2>
33
+ </ForwardRef(Base)>
34
+ </ForwardRef(Typography)>
29
35
  </ForwardRef(Heading)>
30
36
  </div>
31
37
  </ForwardRef(Base)>
@@ -7,16 +7,21 @@ exports[`renders the NotificationBannerHeading with no props 1`] = `
7
7
  element="h3"
8
8
  size="md"
9
9
  >
10
- <ForwardRef(Base)
10
+ <ForwardRef(Typography)
11
11
  as="h3"
12
12
  className="govgr-notification-banner__heading govgr-heading-md"
13
13
  >
14
- <h3
14
+ <ForwardRef(Base)
15
+ as="h3"
15
16
  className="govgr-notification-banner__heading govgr-heading-md"
16
17
  >
17
- hello
18
- </h3>
19
- </ForwardRef(Base)>
18
+ <h3
19
+ className="govgr-notification-banner__heading govgr-heading-md"
20
+ >
21
+ hello
22
+ </h3>
23
+ </ForwardRef(Base)>
24
+ </ForwardRef(Typography)>
20
25
  </ForwardRef(Heading)>
21
26
  </ForwardRef(NotificationBannerHeading)>
22
27
  `;
@@ -3,16 +3,21 @@
3
3
  exports[`renders the PageTitleHeading with no props 1`] = `
4
4
  <ForwardRef(PageTitleHeading)>
5
5
  <ForwardRef(Heading)>
6
- <ForwardRef(Base)
6
+ <ForwardRef(Typography)
7
7
  as="h1"
8
8
  className="govgr-heading-xl"
9
9
  >
10
- <h1
10
+ <ForwardRef(Base)
11
+ as="h1"
11
12
  className="govgr-heading-xl"
12
13
  >
13
- hello
14
- </h1>
15
- </ForwardRef(Base)>
14
+ <h1
15
+ className="govgr-heading-xl"
16
+ >
17
+ hello
18
+ </h1>
19
+ </ForwardRef(Base)>
20
+ </ForwardRef(Typography)>
16
21
  </ForwardRef(Heading)>
17
22
  </ForwardRef(PageTitleHeading)>
18
23
  `;
@@ -24,16 +29,21 @@ exports[`renders the PageTitleHeading with size=l 1`] = `
24
29
  <ForwardRef(Heading)
25
30
  size="lg"
26
31
  >
27
- <ForwardRef(Base)
32
+ <ForwardRef(Typography)
28
33
  as="h2"
29
34
  className="govgr-heading-lg"
30
35
  >
31
- <h2
36
+ <ForwardRef(Base)
37
+ as="h2"
32
38
  className="govgr-heading-lg"
33
39
  >
34
- hello
35
- </h2>
36
- </ForwardRef(Base)>
40
+ <h2
41
+ className="govgr-heading-lg"
42
+ >
43
+ hello
44
+ </h2>
45
+ </ForwardRef(Base)>
46
+ </ForwardRef(Typography)>
37
47
  </ForwardRef(Heading)>
38
48
  </ForwardRef(PageTitleHeading)>
39
49
  `;
@@ -45,16 +55,21 @@ exports[`renders the PageTitleHeading with size=m 1`] = `
45
55
  <ForwardRef(Heading)
46
56
  size="md"
47
57
  >
48
- <ForwardRef(Base)
58
+ <ForwardRef(Typography)
49
59
  as="h3"
50
60
  className="govgr-heading-md"
51
61
  >
52
- <h3
62
+ <ForwardRef(Base)
63
+ as="h3"
53
64
  className="govgr-heading-md"
54
65
  >
55
- hello
56
- </h3>
57
- </ForwardRef(Base)>
66
+ <h3
67
+ className="govgr-heading-md"
68
+ >
69
+ hello
70
+ </h3>
71
+ </ForwardRef(Base)>
72
+ </ForwardRef(Typography)>
58
73
  </ForwardRef(Heading)>
59
74
  </ForwardRef(PageTitleHeading)>
60
75
  `;
@@ -66,16 +81,21 @@ exports[`renders the PageTitleHeading with size=s 1`] = `
66
81
  <ForwardRef(Heading)
67
82
  size="sm"
68
83
  >
69
- <ForwardRef(Base)
84
+ <ForwardRef(Typography)
70
85
  as="h4"
71
86
  className="govgr-heading-sm"
72
87
  >
73
- <h4
88
+ <ForwardRef(Base)
89
+ as="h4"
74
90
  className="govgr-heading-sm"
75
91
  >
76
- hello
77
- </h4>
78
- </ForwardRef(Base)>
92
+ <h4
93
+ className="govgr-heading-sm"
94
+ >
95
+ hello
96
+ </h4>
97
+ </ForwardRef(Base)>
98
+ </ForwardRef(Typography)>
79
99
  </ForwardRef(Heading)>
80
100
  </ForwardRef(PageTitleHeading)>
81
101
  `;
@@ -87,16 +107,21 @@ exports[`renders the PageTitleHeading with size=xl 1`] = `
87
107
  <ForwardRef(Heading)
88
108
  size="xl"
89
109
  >
90
- <ForwardRef(Base)
110
+ <ForwardRef(Typography)
91
111
  as="h1"
92
112
  className="govgr-heading-xl"
93
113
  >
94
- <h1
114
+ <ForwardRef(Base)
115
+ as="h1"
95
116
  className="govgr-heading-xl"
96
117
  >
97
- hello
98
- </h1>
99
- </ForwardRef(Base)>
118
+ <h1
119
+ className="govgr-heading-xl"
120
+ >
121
+ hello
122
+ </h1>
123
+ </ForwardRef(Base)>
124
+ </ForwardRef(Typography)>
100
125
  </ForwardRef(Heading)>
101
126
  </ForwardRef(PageTitleHeading)>
102
127
  `;
@@ -3,16 +3,21 @@
3
3
  exports[`renders the PageTitleHeading with no props 1`] = `
4
4
  <ForwardRef(PageTitleHeading)>
5
5
  <ForwardRef(Heading)>
6
- <ForwardRef(Base)
6
+ <ForwardRef(Typography)
7
7
  as="h1"
8
8
  className="govgr-heading-xl"
9
9
  >
10
- <h1
10
+ <ForwardRef(Base)
11
+ as="h1"
11
12
  className="govgr-heading-xl"
12
13
  >
13
- hello
14
- </h1>
15
- </ForwardRef(Base)>
14
+ <h1
15
+ className="govgr-heading-xl"
16
+ >
17
+ hello
18
+ </h1>
19
+ </ForwardRef(Base)>
20
+ </ForwardRef(Typography)>
16
21
  </ForwardRef(Heading)>
17
22
  </ForwardRef(PageTitleHeading)>
18
23
  `;
@@ -24,16 +29,21 @@ exports[`renders the PageTitleHeading with size=l 1`] = `
24
29
  <ForwardRef(Heading)
25
30
  size="lg"
26
31
  >
27
- <ForwardRef(Base)
32
+ <ForwardRef(Typography)
28
33
  as="h2"
29
34
  className="govgr-heading-lg"
30
35
  >
31
- <h2
36
+ <ForwardRef(Base)
37
+ as="h2"
32
38
  className="govgr-heading-lg"
33
39
  >
34
- hello
35
- </h2>
36
- </ForwardRef(Base)>
40
+ <h2
41
+ className="govgr-heading-lg"
42
+ >
43
+ hello
44
+ </h2>
45
+ </ForwardRef(Base)>
46
+ </ForwardRef(Typography)>
37
47
  </ForwardRef(Heading)>
38
48
  </ForwardRef(PageTitleHeading)>
39
49
  `;
@@ -45,16 +55,21 @@ exports[`renders the PageTitleHeading with size=m 1`] = `
45
55
  <ForwardRef(Heading)
46
56
  size="md"
47
57
  >
48
- <ForwardRef(Base)
58
+ <ForwardRef(Typography)
49
59
  as="h3"
50
60
  className="govgr-heading-md"
51
61
  >
52
- <h3
62
+ <ForwardRef(Base)
63
+ as="h3"
53
64
  className="govgr-heading-md"
54
65
  >
55
- hello
56
- </h3>
57
- </ForwardRef(Base)>
66
+ <h3
67
+ className="govgr-heading-md"
68
+ >
69
+ hello
70
+ </h3>
71
+ </ForwardRef(Base)>
72
+ </ForwardRef(Typography)>
58
73
  </ForwardRef(Heading)>
59
74
  </ForwardRef(PageTitleHeading)>
60
75
  `;
@@ -66,16 +81,21 @@ exports[`renders the PageTitleHeading with size=s 1`] = `
66
81
  <ForwardRef(Heading)
67
82
  size="sm"
68
83
  >
69
- <ForwardRef(Base)
84
+ <ForwardRef(Typography)
70
85
  as="h4"
71
86
  className="govgr-heading-sm"
72
87
  >
73
- <h4
88
+ <ForwardRef(Base)
89
+ as="h4"
74
90
  className="govgr-heading-sm"
75
91
  >
76
- hello
77
- </h4>
78
- </ForwardRef(Base)>
92
+ <h4
93
+ className="govgr-heading-sm"
94
+ >
95
+ hello
96
+ </h4>
97
+ </ForwardRef(Base)>
98
+ </ForwardRef(Typography)>
79
99
  </ForwardRef(Heading)>
80
100
  </ForwardRef(PageTitleHeading)>
81
101
  `;
@@ -87,16 +107,21 @@ exports[`renders the PageTitleHeading with size=xl 1`] = `
87
107
  <ForwardRef(Heading)
88
108
  size="xl"
89
109
  >
90
- <ForwardRef(Base)
110
+ <ForwardRef(Typography)
91
111
  as="h1"
92
112
  className="govgr-heading-xl"
93
113
  >
94
- <h1
114
+ <ForwardRef(Base)
115
+ as="h1"
95
116
  className="govgr-heading-xl"
96
117
  >
97
- hello
98
- </h1>
99
- </ForwardRef(Base)>
118
+ <h1
119
+ className="govgr-heading-xl"
120
+ >
121
+ hello
122
+ </h1>
123
+ </ForwardRef(Base)>
124
+ </ForwardRef(Typography)>
100
125
  </ForwardRef(Heading)>
101
126
  </ForwardRef(PageTitleHeading)>
102
127
  `;
@@ -15,16 +15,21 @@ exports[`renders the TabsHeading with no props 1`] = `
15
15
  <ForwardRef(Heading)
16
16
  size="sm"
17
17
  >
18
- <ForwardRef(Base)
18
+ <ForwardRef(Typography)
19
19
  as="h4"
20
20
  className="govgr-heading-sm"
21
21
  >
22
- <h4
22
+ <ForwardRef(Base)
23
+ as="h4"
23
24
  className="govgr-heading-sm"
24
25
  >
25
- hello
26
- </h4>
27
- </ForwardRef(Base)>
26
+ <h4
27
+ className="govgr-heading-sm"
28
+ >
29
+ hello
30
+ </h4>
31
+ </ForwardRef(Base)>
32
+ </ForwardRef(Typography)>
28
33
  </ForwardRef(Heading)>
29
34
  </div>
30
35
  </ForwardRef(Base)>
@@ -49,16 +54,21 @@ exports[`renders the TabsHeading with size=m 1`] = `
49
54
  <ForwardRef(Heading)
50
55
  size="md"
51
56
  >
52
- <ForwardRef(Base)
57
+ <ForwardRef(Typography)
53
58
  as="h3"
54
59
  className="govgr-heading-md"
55
60
  >
56
- <h3
61
+ <ForwardRef(Base)
62
+ as="h3"
57
63
  className="govgr-heading-md"
58
64
  >
59
- hello
60
- </h3>
61
- </ForwardRef(Base)>
65
+ <h3
66
+ className="govgr-heading-md"
67
+ >
68
+ hello
69
+ </h3>
70
+ </ForwardRef(Base)>
71
+ </ForwardRef(Typography)>
62
72
  </ForwardRef(Heading)>
63
73
  </div>
64
74
  </ForwardRef(Base)>
@@ -83,16 +93,21 @@ exports[`renders the TabsHeading with size=s 1`] = `
83
93
  <ForwardRef(Heading)
84
94
  size="sm"
85
95
  >
86
- <ForwardRef(Base)
96
+ <ForwardRef(Typography)
87
97
  as="h4"
88
98
  className="govgr-heading-sm"
89
99
  >
90
- <h4
100
+ <ForwardRef(Base)
101
+ as="h4"
91
102
  className="govgr-heading-sm"
92
103
  >
93
- hello
94
- </h4>
95
- </ForwardRef(Base)>
104
+ <h4
105
+ className="govgr-heading-sm"
106
+ >
107
+ hello
108
+ </h4>
109
+ </ForwardRef(Base)>
110
+ </ForwardRef(Typography)>
96
111
  </ForwardRef(Heading)>
97
112
  </div>
98
113
  </ForwardRef(Base)>