@scottish-government/designsystem-react 0.11.0 → 0.11.1

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 (369) hide show
  1. package/@types/components/PageHeader.d.ts +2 -1
  2. package/CHANGELOG.md +8 -0
  3. package/dist/common/AbstractNotificationBanner/AbstractNotificationBanner.d.ts +9 -0
  4. package/dist/common/AbstractNotificationBanner/AbstractNotificationBanner.jsx +62 -0
  5. package/dist/common/AbstractNotificationBanner/index.d.ts +1 -0
  6. package/dist/common/AbstractNotificationBanner/index.js +8 -0
  7. package/dist/common/ActionLink/ActionLink.d.ts +5 -0
  8. package/dist/common/ActionLink/ActionLink.jsx +19 -0
  9. package/dist/common/ActionLink/index.d.ts +1 -0
  10. package/dist/common/ActionLink/index.js +8 -0
  11. package/dist/common/ConditionalWrapper/ConditionalWrapper.d.ts +8 -0
  12. package/dist/common/ConditionalWrapper/ConditionalWrapper.jsx +8 -0
  13. package/dist/common/ConditionalWrapper/index.d.ts +1 -0
  14. package/dist/common/ConditionalWrapper/index.js +8 -0
  15. package/dist/common/FileIcon/FileIcon.d.ts +6 -0
  16. package/dist/common/FileIcon/FileIcon.jsx +46 -0
  17. package/dist/common/FileIcon/index.d.ts +1 -0
  18. package/dist/common/FileIcon/index.js +8 -0
  19. package/dist/common/HintText/HintText.d.ts +5 -0
  20. package/dist/common/HintText/HintText.jsx +9 -0
  21. package/dist/common/HintText/index.d.ts +1 -0
  22. package/dist/common/HintText/index.js +8 -0
  23. package/dist/common/Icon/Icon.d.ts +6 -0
  24. package/dist/common/Icon/Icon.jsx +51 -0
  25. package/dist/common/Icon/index.d.ts +1 -0
  26. package/dist/common/Icon/index.js +8 -0
  27. package/dist/common/ScreenReaderText/ScreenReaderText.d.ts +5 -0
  28. package/dist/common/ScreenReaderText/ScreenReaderText.jsx +9 -0
  29. package/dist/common/ScreenReaderText/index.d.ts +1 -0
  30. package/dist/common/ScreenReaderText/index.js +8 -0
  31. package/dist/common/WrapperTag/WrapperTag.d.ts +8 -0
  32. package/dist/common/WrapperTag/WrapperTag.jsx +11 -0
  33. package/dist/common/WrapperTag/index.d.ts +1 -0
  34. package/dist/common/WrapperTag/index.js +8 -0
  35. package/dist/common/index.d.ts +8 -0
  36. package/dist/common/index.js +22 -0
  37. package/dist/components/Accordion/Accordion.d.ts +10 -0
  38. package/dist/components/Accordion/index.d.ts +1 -0
  39. package/dist/components/Accordion/index.js +8 -0
  40. package/dist/components/AspectBox/AspectBox.d.ts +6 -0
  41. package/dist/components/AspectBox/index.d.ts +1 -0
  42. package/dist/components/AspectBox/index.js +8 -0
  43. package/dist/components/BackToTop/BackToTop.d.ts +5 -0
  44. package/dist/components/BackToTop/index.d.ts +1 -0
  45. package/dist/components/BackToTop/index.js +8 -0
  46. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +9 -0
  47. package/dist/components/Breadcrumbs/index.d.ts +1 -0
  48. package/dist/components/Breadcrumbs/index.js +8 -0
  49. package/dist/components/Button/Button.d.ts +5 -0
  50. package/dist/components/Button/ButtonGroup.d.ts +5 -0
  51. package/dist/components/Button/ButtonGroup.jsx +13 -0
  52. package/dist/components/Button/index.d.ts +2 -0
  53. package/dist/components/Button/index.js +10 -0
  54. package/dist/components/CategoryItem/CategoryItem.d.ts +5 -0
  55. package/dist/components/CategoryItem/index.d.ts +1 -0
  56. package/dist/components/CategoryItem/index.js +8 -0
  57. package/dist/components/CategoryList/CategoryList.d.ts +6 -0
  58. package/dist/components/CategoryList/index.d.ts +1 -0
  59. package/dist/components/CategoryList/index.js +8 -0
  60. package/dist/components/Checkbox/Checkbox.d.ts +5 -0
  61. package/dist/components/Checkbox/CheckboxGroup.d.ts +6 -0
  62. package/dist/components/Checkbox/index.d.ts +2 -0
  63. package/dist/components/Checkbox/index.js +10 -0
  64. package/dist/components/ConfirmationMessage/ConfirmationMessage.d.ts +5 -0
  65. package/dist/components/ConfirmationMessage/index.d.ts +1 -0
  66. package/dist/components/ConfirmationMessage/index.js +8 -0
  67. package/dist/components/ContentsNav/ContentsNav.d.ts +10 -0
  68. package/dist/components/ContentsNav/index.d.ts +1 -0
  69. package/dist/components/ContentsNav/index.js +8 -0
  70. package/dist/components/CookieBanner/CookieBanner.d.ts +9 -0
  71. package/dist/components/CookieBanner/index.d.ts +1 -0
  72. package/dist/components/CookieBanner/index.js +8 -0
  73. package/dist/components/DatePicker/DatePicker.d.ts +5 -0
  74. package/dist/components/DatePicker/DatePicker.jsx +2 -2
  75. package/dist/components/DatePicker/index.d.ts +1 -0
  76. package/dist/components/DatePicker/index.js +8 -0
  77. package/dist/components/Details/Details.d.ts +5 -0
  78. package/dist/components/Details/index.d.ts +1 -0
  79. package/dist/components/Details/index.js +8 -0
  80. package/dist/components/ErrorMessage/ErrorMessage.d.ts +5 -0
  81. package/dist/components/ErrorMessage/index.d.ts +1 -0
  82. package/dist/components/ErrorMessage/index.js +8 -0
  83. package/dist/components/ErrorSummary/ErrorSummary.d.ts +9 -0
  84. package/dist/components/ErrorSummary/index.d.ts +1 -0
  85. package/dist/components/ErrorSummary/index.js +8 -0
  86. package/dist/components/FeatureHeader/FeatureHeader.d.ts +13 -0
  87. package/dist/components/FeatureHeader/FeatureHeader.jsx +70 -0
  88. package/dist/components/FeatureHeader/index.d.ts +1 -0
  89. package/dist/components/FeatureHeader/index.js +8 -0
  90. package/dist/components/FileDownload/FileDownload.d.ts +5 -0
  91. package/dist/components/FileDownload/index.d.ts +1 -0
  92. package/dist/components/FileDownload/index.js +8 -0
  93. package/dist/components/HideThisPage/HideThisPage.d.ts +6 -0
  94. package/dist/components/HideThisPage/index.d.ts +1 -0
  95. package/dist/components/HideThisPage/index.js +8 -0
  96. package/dist/components/InsetText/InsetText.d.ts +5 -0
  97. package/dist/components/InsetText/index.d.ts +1 -0
  98. package/dist/components/InsetText/index.js +8 -0
  99. package/dist/components/NotificationBanner/NotificationBanner.d.ts +9 -0
  100. package/dist/components/NotificationBanner/index.d.ts +1 -0
  101. package/dist/components/NotificationBanner/index.js +8 -0
  102. package/dist/components/NotificationPanel/NotificationPanel.d.ts +5 -0
  103. package/dist/components/NotificationPanel/index.d.ts +1 -0
  104. package/dist/components/NotificationPanel/index.js +8 -0
  105. package/dist/components/PageHeader/PageHeader.d.ts +5 -0
  106. package/dist/components/PageHeader/PageHeader.jsx +2 -2
  107. package/dist/components/PageHeader/index.d.ts +1 -0
  108. package/dist/components/PageHeader/index.js +8 -0
  109. package/dist/components/PageMetadata/PageMetadata.d.ts +9 -0
  110. package/dist/components/PageMetadata/index.d.ts +1 -0
  111. package/dist/components/PageMetadata/index.js +8 -0
  112. package/dist/components/Pagination/Pagination.d.ts +7 -0
  113. package/dist/components/Pagination/index.d.ts +1 -0
  114. package/dist/components/Pagination/index.js +8 -0
  115. package/dist/components/PhaseBanner/PhaseBanner.d.ts +5 -0
  116. package/dist/components/PhaseBanner/index.d.ts +1 -0
  117. package/dist/components/PhaseBanner/index.js +8 -0
  118. package/dist/components/Question/Question.d.ts +5 -0
  119. package/dist/components/Question/Question.jsx +1 -1
  120. package/dist/components/Question/index.d.ts +1 -0
  121. package/dist/components/Question/index.js +8 -0
  122. package/dist/components/RadioButton/RadioButton.d.ts +5 -0
  123. package/dist/components/RadioButton/RadioGroup.d.ts +6 -0
  124. package/dist/components/RadioButton/index.d.ts +2 -0
  125. package/dist/components/RadioButton/index.js +10 -0
  126. package/dist/components/SearchFacets/SearchFacets.d.ts +14 -0
  127. package/dist/components/SearchFacets/index.d.ts +1 -0
  128. package/dist/components/SearchFacets/index.js +8 -0
  129. package/dist/components/SearchFilters/SearchFilters.d.ts +16 -0
  130. package/dist/components/SearchFilters/SearchFilters.jsx +6 -6
  131. package/dist/components/SearchFilters/index.d.ts +1 -0
  132. package/dist/components/SearchFilters/index.js +8 -0
  133. package/dist/components/SearchResult/SearchResult.d.ts +28 -0
  134. package/dist/components/SearchResult/SearchResult.jsx +2 -2
  135. package/dist/components/SearchResult/index.d.ts +1 -0
  136. package/dist/components/SearchResult/index.js +8 -0
  137. package/dist/components/SearchSort/SearchSort.d.ts +10 -0
  138. package/dist/components/SearchSort/SearchSort.jsx +2 -2
  139. package/dist/components/SearchSort/index.d.ts +1 -0
  140. package/dist/components/SearchSort/index.js +8 -0
  141. package/dist/components/Select/Select.d.ts +5 -0
  142. package/dist/components/Select/Select.jsx +1 -1
  143. package/dist/components/Select/index.d.ts +1 -0
  144. package/dist/components/Select/index.js +8 -0
  145. package/dist/components/SequentialNavigation/SequentialNavigation.d.ts +13 -0
  146. package/dist/components/SequentialNavigation/index.d.ts +1 -0
  147. package/dist/components/SequentialNavigation/index.js +8 -0
  148. package/dist/components/SideNavigation/SideNavigation.d.ts +13 -0
  149. package/dist/components/SideNavigation/index.d.ts +1 -0
  150. package/dist/components/SideNavigation/index.js +8 -0
  151. package/dist/components/SiteFooter/SiteFooter.d.ts +22 -0
  152. package/dist/components/SiteFooter/index.d.ts +1 -0
  153. package/dist/components/SiteFooter/index.js +8 -0
  154. package/dist/components/SiteHeader/SiteHeader.d.ts +22 -0
  155. package/dist/components/SiteHeader/SiteHeader.jsx +1 -2
  156. package/dist/components/SiteHeader/index.d.ts +1 -0
  157. package/dist/components/SiteHeader/index.js +8 -0
  158. package/dist/components/SiteNavigation/SiteNavigation.d.ts +9 -0
  159. package/dist/components/SiteNavigation/index.d.ts +1 -0
  160. package/dist/components/SiteNavigation/index.js +8 -0
  161. package/dist/components/SiteSearch/SiteSearch.d.ts +5 -0
  162. package/dist/components/SiteSearch/SiteSearch.jsx +1 -1
  163. package/dist/components/SiteSearch/index.d.ts +1 -0
  164. package/dist/components/SiteSearch/index.js +8 -0
  165. package/dist/components/SkipLinks/SkipLinks.d.ts +10 -0
  166. package/dist/components/SkipLinks/SkipLinks.jsx +42 -0
  167. package/dist/components/SkipLinks/index.d.ts +1 -0
  168. package/dist/components/SkipLinks/index.js +8 -0
  169. package/dist/components/SummaryCard/SummaryCard.d.ts +10 -0
  170. package/dist/components/SummaryCard/index.d.ts +1 -0
  171. package/dist/components/SummaryCard/index.js +8 -0
  172. package/dist/components/SummaryList/SummaryList.d.ts +18 -0
  173. package/dist/components/SummaryList/index.d.ts +1 -0
  174. package/dist/components/SummaryList/index.js +8 -0
  175. package/dist/components/Table/Table.d.ts +5 -0
  176. package/dist/components/Table/index.d.ts +1 -0
  177. package/dist/components/Table/index.js +8 -0
  178. package/dist/components/Tabs/Tabs.d.ts +10 -0
  179. package/dist/components/Tabs/index.d.ts +1 -0
  180. package/dist/components/Tabs/index.js +8 -0
  181. package/dist/components/Tag/Tag.d.ts +5 -0
  182. package/dist/components/Tag/index.d.ts +1 -0
  183. package/dist/components/Tag/index.js +8 -0
  184. package/dist/components/TaskList/TaskList.d.ts +13 -0
  185. package/dist/components/TaskList/TaskList.jsx +1 -1
  186. package/dist/components/TaskList/index.d.ts +1 -0
  187. package/dist/components/TaskList/index.js +8 -0
  188. package/dist/components/TextInput/TextInput.d.ts +5 -0
  189. package/dist/components/TextInput/TextInput.jsx +2 -2
  190. package/dist/components/TextInput/index.d.ts +1 -0
  191. package/dist/components/TextInput/index.js +8 -0
  192. package/dist/components/Textarea/Textarea.d.ts +5 -0
  193. package/dist/components/Textarea/Textarea.jsx +1 -1
  194. package/dist/components/Textarea/index.d.ts +1 -0
  195. package/dist/components/Textarea/index.js +8 -0
  196. package/dist/components/WarningText/WarningText.d.ts +5 -0
  197. package/dist/components/WarningText/index.d.ts +1 -0
  198. package/dist/components/WarningText/index.js +8 -0
  199. package/dist/components/index.d.ts +46 -0
  200. package/dist/components/index.js +101 -0
  201. package/dist/hooks/index.d.ts +1 -0
  202. package/dist/hooks/index.js +8 -0
  203. package/dist/hooks/useTracking/index.d.ts +1 -0
  204. package/dist/hooks/useTracking/index.js +8 -0
  205. package/dist/hooks/useTracking/useTracking.d.ts +1 -0
  206. package/dist/hooks/useTracking/useTracking.js +21 -0
  207. package/dist/images/documents/audio.d.ts +4 -0
  208. package/dist/images/documents/csv.d.ts +4 -0
  209. package/dist/images/documents/excel.d.ts +4 -0
  210. package/dist/images/documents/file.d.ts +4 -0
  211. package/dist/images/documents/generic.d.ts +4 -0
  212. package/dist/images/documents/geodata.d.ts +4 -0
  213. package/dist/images/documents/ical.d.ts +4 -0
  214. package/dist/images/documents/ico.d.ts +4 -0
  215. package/dist/images/documents/image.d.ts +4 -0
  216. package/dist/images/documents/index.d.ts +22 -0
  217. package/dist/images/documents/odf.d.ts +4 -0
  218. package/dist/images/documents/odg.d.ts +4 -0
  219. package/dist/images/documents/odp.d.ts +4 -0
  220. package/dist/images/documents/ods.d.ts +4 -0
  221. package/dist/images/documents/odt.d.ts +4 -0
  222. package/dist/images/documents/pdf.d.ts +4 -0
  223. package/dist/images/documents/ppt.d.ts +4 -0
  224. package/dist/images/documents/rtf.d.ts +4 -0
  225. package/dist/images/documents/text.d.ts +4 -0
  226. package/dist/images/documents/video.d.ts +4 -0
  227. package/dist/images/documents/word.d.ts +4 -0
  228. package/dist/images/documents/xml.d.ts +4 -0
  229. package/dist/images/documents/zip.d.ts +4 -0
  230. package/dist/images/icons/arrow_upward.d.ts +4 -0
  231. package/dist/images/icons/calendar_today.d.ts +4 -0
  232. package/dist/images/icons/cancel.d.ts +4 -0
  233. package/dist/images/icons/check_circle.d.ts +4 -0
  234. package/dist/images/icons/chevron_left.d.ts +4 -0
  235. package/dist/images/icons/chevron_right.d.ts +4 -0
  236. package/dist/images/icons/close.d.ts +4 -0
  237. package/dist/images/icons/description.d.ts +4 -0
  238. package/dist/images/icons/double_chevron_left.d.ts +4 -0
  239. package/dist/images/icons/double_chevron_right.d.ts +4 -0
  240. package/dist/images/icons/error.d.ts +4 -0
  241. package/dist/images/icons/expand_less.d.ts +4 -0
  242. package/dist/images/icons/expand_more.d.ts +4 -0
  243. package/dist/images/icons/index.d.ts +17 -0
  244. package/dist/images/icons/list.d.ts +4 -0
  245. package/dist/images/icons/menu.d.ts +4 -0
  246. package/dist/images/icons/priority_high.d.ts +4 -0
  247. package/dist/images/icons/search.d.ts +4 -0
  248. package/dist/images/index.d.ts +2 -0
  249. package/dist/images/index.js +38 -0
  250. package/dist/index.d.ts +4 -0
  251. package/dist/index.js +40 -0
  252. package/dist/tsconfig.tsbuildinfo +1 -1
  253. package/dist/utils/context.d.ts +4 -0
  254. package/package.json +24 -22
  255. package/src/common/{AbstractNotificationBanner.test.tsx → AbstractNotificationBanner/AbstractNotificationBanner.test.tsx} +1 -1
  256. package/src/common/{AbstractNotificationBanner.tsx → AbstractNotificationBanner/AbstractNotificationBanner.tsx} +2 -2
  257. package/src/common/AbstractNotificationBanner/index.ts +1 -0
  258. package/src/common/ActionLink/index.ts +1 -0
  259. package/src/common/ConditionalWrapper/index.ts +1 -0
  260. package/src/common/{FileIcon.tsx → FileIcon/FileIcon.tsx} +1 -1
  261. package/src/common/FileIcon/index.ts +1 -0
  262. package/src/common/HintText/index.ts +1 -0
  263. package/src/common/{Icon.tsx → Icon/Icon.tsx} +1 -1
  264. package/src/common/Icon/index.ts +1 -0
  265. package/src/common/ScreenReaderText/index.ts +1 -0
  266. package/src/common/WrapperTag/index.ts +1 -0
  267. package/src/common/index.ts +8 -0
  268. package/src/components/Accordion/index.ts +1 -0
  269. package/src/components/AspectBox/index.ts +1 -0
  270. package/src/components/BackToTop/index.ts +1 -0
  271. package/src/components/Breadcrumbs/index.ts +1 -0
  272. package/src/components/{ButtonGroup → Button}/ButtonGroup.stories.tsx +1 -1
  273. package/src/components/Button/index.ts +2 -0
  274. package/src/components/CategoryItem/index.ts +1 -0
  275. package/src/components/CategoryList/CategoryList.stories.tsx +1 -1
  276. package/src/components/CategoryList/CategoryList.test.tsx +1 -1
  277. package/src/components/CategoryList/index.ts +1 -0
  278. package/src/components/Checkbox/index.ts +2 -0
  279. package/src/components/ConfirmationMessage/index.ts +1 -0
  280. package/src/components/ContentsNav/index.ts +1 -0
  281. package/src/components/CookieBanner/CookieBanner.Buttons.stories.tsx +1 -1
  282. package/src/components/CookieBanner/CookieBanner.stories.tsx +1 -1
  283. package/src/components/CookieBanner/index.ts +1 -0
  284. package/src/components/DatePicker/DatePicker.tsx +2 -2
  285. package/src/components/DatePicker/index.ts +1 -0
  286. package/src/components/Details/index.ts +1 -0
  287. package/src/components/ErrorMessage/index.ts +1 -0
  288. package/src/components/ErrorSummary/index.ts +1 -0
  289. package/src/components/FeatureHeader/FeatureHeader.stories.tsx +60 -0
  290. package/src/components/FeatureHeader/FeatureHeader.tsx +94 -0
  291. package/src/components/FeatureHeader/index.ts +1 -0
  292. package/src/components/FileDownload/index.ts +1 -0
  293. package/src/components/HideThisPage/index.ts +1 -0
  294. package/src/components/InsetText/index.ts +1 -0
  295. package/src/components/NotificationBanner/index.ts +1 -0
  296. package/src/components/NotificationPanel/index.ts +1 -0
  297. package/src/components/PageHeader/PageHeader.stories.tsx +1 -1
  298. package/src/components/PageHeader/PageHeader.tsx +2 -1
  299. package/src/components/PageHeader/index.ts +1 -0
  300. package/src/components/PageMetadata/index.ts +1 -0
  301. package/src/components/Pagination/index.ts +1 -0
  302. package/src/components/PhaseBanner/index.ts +1 -0
  303. package/src/components/Question/Question.stories.tsx +2 -3
  304. package/src/components/Question/Question.tsx +2 -2
  305. package/src/components/Question/index.ts +1 -0
  306. package/src/components/RadioButton/RadioGroup.stories.tsx +1 -2
  307. package/src/components/RadioButton/RadioGroup.test.tsx +1 -2
  308. package/src/components/RadioButton/index.ts +2 -0
  309. package/src/components/SearchFacets/index.ts +1 -0
  310. package/src/components/SearchFilters/SearchFilters.Panel.stories.tsx +2 -2
  311. package/src/components/SearchFilters/SearchFilters.stories.tsx +2 -2
  312. package/src/components/SearchFilters/SearchFilters.test.tsx +1 -1
  313. package/src/components/SearchFilters/SearchFilters.tsx +4 -4
  314. package/src/components/SearchFilters/index.ts +1 -0
  315. package/src/components/SearchResult/SearchResult.tsx +2 -2
  316. package/src/components/SearchResult/index.ts +1 -0
  317. package/src/components/SearchSort/SearchSort.tsx +2 -2
  318. package/src/components/SearchSort/index.ts +1 -0
  319. package/src/components/Select/Select.tsx +1 -1
  320. package/src/components/Select/index.ts +1 -0
  321. package/src/components/SequentialNavigation/index.ts +1 -0
  322. package/src/components/SideNavigation/index.ts +1 -0
  323. package/src/components/SiteFooter/index.ts +1 -0
  324. package/src/components/SiteHeader/SiteHeader.stories.tsx +3 -3
  325. package/src/components/SiteHeader/SiteHeader.test.tsx +3 -3
  326. package/src/components/SiteHeader/SiteHeader.tsx +1 -3
  327. package/src/components/SiteHeader/index.ts +1 -0
  328. package/src/components/SiteNavigation/index.ts +1 -0
  329. package/src/components/SiteSearch/SiteSearch.tsx +1 -1
  330. package/src/components/SiteSearch/index.ts +1 -0
  331. package/src/components/SkipLinks/SkipLinks.tsx +10 -0
  332. package/src/components/SkipLinks/index.ts +1 -0
  333. package/src/components/SummaryCard/SummaryCard.stories.tsx +1 -1
  334. package/src/components/SummaryCard/SummaryCard.test.tsx +2 -2
  335. package/src/components/SummaryCard/index.ts +1 -0
  336. package/src/components/SummaryList/index.ts +1 -0
  337. package/src/components/Table/index.ts +1 -0
  338. package/src/components/Tabs/index.ts +1 -0
  339. package/src/components/Tag/index.ts +1 -0
  340. package/src/components/TaskList/TaskList.tsx +1 -1
  341. package/src/components/TaskList/index.ts +1 -0
  342. package/src/components/TextInput/TextInput.tsx +2 -2
  343. package/src/components/TextInput/index.ts +1 -0
  344. package/src/components/Textarea/Textarea.tsx +1 -1
  345. package/src/components/Textarea/index.ts +1 -0
  346. package/src/components/WarningText/index.ts +1 -0
  347. package/src/components/index.ts +46 -0
  348. package/src/hooks/index.ts +1 -0
  349. package/src/hooks/useTracking/index.ts +1 -0
  350. package/src/images/index.ts +2 -0
  351. package/src/index.ts +4 -0
  352. package/tsconfig.json +14 -14
  353. package/vite.config.ts +2 -1
  354. /package/src/common/{ActionLink.test.tsx → ActionLink/ActionLink.test.tsx} +0 -0
  355. /package/src/common/{ActionLink.tsx → ActionLink/ActionLink.tsx} +0 -0
  356. /package/src/common/{ConditionalWrapper.test.tsx → ConditionalWrapper/ConditionalWrapper.test.tsx} +0 -0
  357. /package/src/common/{ConditionalWrapper.tsx → ConditionalWrapper/ConditionalWrapper.tsx} +0 -0
  358. /package/src/common/{FileIcon.test.tsx → FileIcon/FileIcon.test.tsx} +0 -0
  359. /package/src/common/{HintText.test.tsx → HintText/HintText.test.tsx} +0 -0
  360. /package/src/common/{HintText.tsx → HintText/HintText.tsx} +0 -0
  361. /package/src/common/{Icon.test.tsx → Icon/Icon.test.tsx} +0 -0
  362. /package/src/common/{ScreenReaderText.test.tsx → ScreenReaderText/ScreenReaderText.test.tsx} +0 -0
  363. /package/src/common/{ScreenReaderText.tsx → ScreenReaderText/ScreenReaderText.tsx} +0 -0
  364. /package/src/common/{WrapperTag.test.tsx → WrapperTag/WrapperTag.test.tsx} +0 -0
  365. /package/src/common/{WrapperTag.tsx → WrapperTag/WrapperTag.tsx} +0 -0
  366. /package/src/components/{ButtonGroup → Button}/ButtonGroup.test.tsx +0 -0
  367. /package/src/components/{ButtonGroup → Button}/ButtonGroup.tsx +0 -0
  368. /package/src/hooks/{useTracking.test.tsx → useTracking/useTracking.test.tsx} +0 -0
  369. /package/src/hooks/{useTracking.ts → useTracking/useTracking.ts} +0 -0
@@ -1,6 +1,7 @@
1
1
  declare namespace SGDS.Component {
2
2
  interface PageHeader extends React.AllHTMLAttributes<HTMLHeadingElement> {
3
3
  label?: string,
4
- title: string
4
+ title: string,
5
+ titleId?: string
5
6
  }
6
7
  }
package/CHANGELOG.md CHANGED
@@ -6,6 +6,14 @@ Changes are grouped under the labels: `Added`, `Changed`, `Deprecated`, `Fixed`,
6
6
  `Removed` and `Security`.
7
7
 
8
8
  ---
9
+ ## [0.12.0] - 2025-11-12
10
+
11
+ ### Added
12
+ - type definitions included in /dist
13
+ - optional 'titleId' prop added to PageHeader
14
+ ### Fixed
15
+ - include SGDS 'skip-links' script in SkipLinks
16
+
9
17
  ## [0.11.0] - 2025-10-22
10
18
 
11
19
  ### Added
@@ -0,0 +1,9 @@
1
+ declare const AbstractNotificationBanner: {
2
+ ({ children, className, hasColourIcon, hasInverseIcon, icon, isDismissable, title, ...props }: SGDS.Common.AbstractNotificationBanner): import("react").JSX.Element;
3
+ displayName: string;
4
+ Buttons: {
5
+ ({ children }: SGDS.Common.AbstractNotificationBanner.Buttons): import("react").JSX.Element;
6
+ displayName: string;
7
+ };
8
+ };
9
+ export default AbstractNotificationBanner;
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const react_1 = require("react");
7
+ const Icon_1 = __importDefault(require("../Icon"));
8
+ const ScreenReaderText_1 = __importDefault(require("../ScreenReaderText"));
9
+ const Buttons = ({ children }) => {
10
+ return (<div className="ds_button-group">{children}</div>);
11
+ };
12
+ const AbstractNotificationBanner = ({ children, className, hasColourIcon, hasInverseIcon, icon, isDismissable, title = 'Information', ...props }) => {
13
+ let content = [];
14
+ let buttons;
15
+ react_1.Children.forEach(children, (child) => {
16
+ const thisChild = child;
17
+ if (thisChild && thisChild.type === Buttons) {
18
+ buttons = thisChild;
19
+ }
20
+ else {
21
+ content.push(thisChild);
22
+ }
23
+ });
24
+ return (<div className={[
25
+ 'ds_notification',
26
+ className
27
+ ].join(' ')} data-module="ds-notification" {...props}>
28
+ <div className="ds_wrapper">
29
+ <div className={[
30
+ 'ds_notification__content',
31
+ isDismissable && 'ds_notification__content--has-close'
32
+ ].join(' ')}>
33
+ <h2 className="visually-hidden">{title}</h2>
34
+
35
+ {icon &&
36
+ <span className={[
37
+ 'ds_notification__icon',
38
+ hasInverseIcon && 'ds_notification__icon--inverse',
39
+ hasColourIcon && 'ds_notification__icon--colour'
40
+ ].join(' ')} aria-hidden="true">
41
+ <Icon_1.default icon={icon}/>
42
+ </span>}
43
+
44
+ <div className="ds_notification__text">
45
+ {content}
46
+ </div>
47
+
48
+ {isDismissable &&
49
+ <button type="button" className="ds_notification__close js-close-notification">
50
+ <ScreenReaderText_1.default>Close this notification</ScreenReaderText_1.default>
51
+ <Icon_1.default isFilled icon="Close" aria-hidden="true"/>
52
+ </button>}
53
+
54
+ {buttons}
55
+ </div>
56
+ </div>
57
+ </div>);
58
+ };
59
+ AbstractNotificationBanner.displayName = 'AbstractNotificationBanner';
60
+ AbstractNotificationBanner.Buttons = Buttons;
61
+ Buttons.displayName = 'Buttons';
62
+ exports.default = AbstractNotificationBanner;
@@ -0,0 +1 @@
1
+ export { default } from './AbstractNotificationBanner';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var AbstractNotificationBanner_1 = require("./AbstractNotificationBanner");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(AbstractNotificationBanner_1).default; } });
@@ -0,0 +1,5 @@
1
+ declare const ActionLink: {
2
+ ({ children, describedby, href, linkComponent, onclick }: SGDS.Common.ActionLink): string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | Iterable<import("react").ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
3
+ displayName: string;
4
+ };
5
+ export default ActionLink;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const ActionLink = ({ children, describedby, href, linkComponent, onclick }) => {
4
+ const CLASSNAME = 'ds_link';
5
+ function processChildren(children) {
6
+ if (linkComponent) {
7
+ return linkComponent({ className: CLASSNAME, href, children, onClick: onclick, 'aria-describedby': describedby });
8
+ }
9
+ else if (href) {
10
+ return <a aria-describedby={describedby} onClick={onclick} href={href} className={CLASSNAME}>{children}</a>;
11
+ }
12
+ else {
13
+ return <button type="button" aria-describedby={describedby} onClick={onclick} className={CLASSNAME}>{children}</button>;
14
+ }
15
+ }
16
+ return (processChildren(children));
17
+ };
18
+ ActionLink.displayName = 'ActionLink';
19
+ exports.default = ActionLink;
@@ -0,0 +1 @@
1
+ export { default } from './ActionLink';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var ActionLink_1 = require("./ActionLink");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(ActionLink_1).default; } });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Wraps all children in a specified HTML tag if a condition is met.
3
+ */
4
+ declare const ConditionalWrapper: {
5
+ ({ condition, wrapper, children }: SGDS.Common.ConditionalWrapper): any;
6
+ displayName: string;
7
+ };
8
+ export default ConditionalWrapper;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * Wraps all children in a specified HTML tag if a condition is met.
5
+ */
6
+ const ConditionalWrapper = ({ condition, wrapper, children }) => condition ? wrapper(children) : children;
7
+ ConditionalWrapper.displayName = 'ConditionalWrapper';
8
+ exports.default = ConditionalWrapper;
@@ -0,0 +1 @@
1
+ export { default } from './ConditionalWrapper';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var ConditionalWrapper_1 = require("./ConditionalWrapper");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(ConditionalWrapper_1).default; } });
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare const FileIcon: {
3
+ ({ ariaLabel, className, icon }: SGDS.Common.FileIcon): React.JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export default FileIcon;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __importDefault = (this && this.__importDefault) || function (mod) {
36
+ return (mod && mod.__esModule) ? mod : { "default": mod };
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ const react_1 = __importDefault(require("react"));
40
+ const FileIcons = __importStar(require("../../images/documents"));
41
+ const FileIcon = ({ ariaLabel = '', className, icon }) => {
42
+ const FileIconComponent = FileIcons[icon];
43
+ return (<FileIconComponent aria-label={ariaLabel} className={className}/>);
44
+ };
45
+ FileIcon.displayName = 'FileIcon';
46
+ exports.default = FileIcon;
@@ -0,0 +1 @@
1
+ export { default } from './FileIcon';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var FileIcon_1 = require("./FileIcon");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(FileIcon_1).default; } });
@@ -0,0 +1,5 @@
1
+ declare const HintText: {
2
+ ({ children, id, text, ...props }: SGDS.Common.HintText): import("react").JSX.Element;
3
+ displayName: string;
4
+ };
5
+ export default HintText;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const HintText = ({ children, id, text, ...props }) => {
4
+ return (<p className="ds_hint-text" dangerouslySetInnerHTML={text ? { __html: text } : undefined} id={id} {...props}>
5
+ {!text ? children : null}
6
+ </p>);
7
+ };
8
+ HintText.displayName = 'HintText';
9
+ exports.default = HintText;
@@ -0,0 +1 @@
1
+ export { default } from './HintText';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var HintText_1 = require("./HintText");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(HintText_1).default; } });
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare const Icon: {
3
+ ({ ariaLabel, className, isFilled, icon, iconSize }: SGDS.Common.Icon): React.JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export default Icon;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __importDefault = (this && this.__importDefault) || function (mod) {
36
+ return (mod && mod.__esModule) ? mod : { "default": mod };
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ const react_1 = __importDefault(require("react"));
40
+ const Icons = __importStar(require("../../images/icons"));
41
+ const Icon = ({ ariaLabel, className, isFilled, icon, iconSize }) => {
42
+ const IconComponent = Icons[icon];
43
+ return (<IconComponent aria-hidden={ariaLabel ? undefined : true} aria-label={ariaLabel} className={[
44
+ 'ds_icon',
45
+ className,
46
+ isFilled && 'ds_icon--fill',
47
+ iconSize && `ds_icon--${iconSize}`
48
+ ].join(' ')}/>);
49
+ };
50
+ Icon.displayName = 'Icon';
51
+ exports.default = Icon;
@@ -0,0 +1 @@
1
+ export { default } from './Icon';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var Icon_1 = require("./Icon");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(Icon_1).default; } });
@@ -0,0 +1,5 @@
1
+ declare const ScreenReaderText: {
2
+ ({ children, ...props }: SGDS.Common.ScreenReaderText): import("react").JSX.Element;
3
+ displayName: string;
4
+ };
5
+ export default ScreenReaderText;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const ScreenReaderText = ({ children, ...props }) => {
4
+ return (<span className="visually-hidden" {...props}>
5
+ {children}
6
+ </span>);
7
+ };
8
+ ScreenReaderText.displayName = 'ScreenReaderText';
9
+ exports.default = ScreenReaderText;
@@ -0,0 +1 @@
1
+ export { default } from './ScreenReaderText';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var ScreenReaderText_1 = require("./ScreenReaderText");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(ScreenReaderText_1).default; } });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Wraps all children in a specified HTML tag.
3
+ */
4
+ declare const WrapperTag: {
5
+ ({ children, tagName, ...props }: SGDS.Common.WrapperTag): import("react").JSX.Element;
6
+ displayName: string;
7
+ };
8
+ export default WrapperTag;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * Wraps all children in a specified HTML tag.
5
+ */
6
+ const WrapperTag = ({ children, tagName = 'div', ...props }) => {
7
+ const TagName = tagName;
8
+ return <TagName {...props}>{children}</TagName>;
9
+ };
10
+ WrapperTag.displayName = 'WrapperTag';
11
+ exports.default = WrapperTag;
@@ -0,0 +1 @@
1
+ export { default } from './WrapperTag';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var WrapperTag_1 = require("./WrapperTag");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(WrapperTag_1).default; } });
@@ -0,0 +1,8 @@
1
+ export { default as AbstractNotificationBanner } from "./AbstractNotificationBanner/AbstractNotificationBanner";
2
+ export { default as ActionLink } from "./ActionLink/ActionLink";
3
+ export { default as ConditionalWrapper } from "./ConditionalWrapper/ConditionalWrapper";
4
+ export { default as FileIcon } from "./FileIcon/FileIcon";
5
+ export { default as HintText } from "./HintText/HintText";
6
+ export { default as Icon } from "./Icon/Icon";
7
+ export { default as ScreenReaderText } from "./ScreenReaderText/ScreenReaderText";
8
+ export { default as WrapperTag } from "./WrapperTag/WrapperTag";
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WrapperTag = exports.ScreenReaderText = exports.Icon = exports.HintText = exports.FileIcon = exports.ConditionalWrapper = exports.ActionLink = exports.AbstractNotificationBanner = void 0;
7
+ var AbstractNotificationBanner_1 = require("./AbstractNotificationBanner/AbstractNotificationBanner");
8
+ Object.defineProperty(exports, "AbstractNotificationBanner", { enumerable: true, get: function () { return __importDefault(AbstractNotificationBanner_1).default; } });
9
+ var ActionLink_1 = require("./ActionLink/ActionLink");
10
+ Object.defineProperty(exports, "ActionLink", { enumerable: true, get: function () { return __importDefault(ActionLink_1).default; } });
11
+ var ConditionalWrapper_1 = require("./ConditionalWrapper/ConditionalWrapper");
12
+ Object.defineProperty(exports, "ConditionalWrapper", { enumerable: true, get: function () { return __importDefault(ConditionalWrapper_1).default; } });
13
+ var FileIcon_1 = require("./FileIcon/FileIcon");
14
+ Object.defineProperty(exports, "FileIcon", { enumerable: true, get: function () { return __importDefault(FileIcon_1).default; } });
15
+ var HintText_1 = require("./HintText/HintText");
16
+ Object.defineProperty(exports, "HintText", { enumerable: true, get: function () { return __importDefault(HintText_1).default; } });
17
+ var Icon_1 = require("./Icon/Icon");
18
+ Object.defineProperty(exports, "Icon", { enumerable: true, get: function () { return __importDefault(Icon_1).default; } });
19
+ var ScreenReaderText_1 = require("./ScreenReaderText/ScreenReaderText");
20
+ Object.defineProperty(exports, "ScreenReaderText", { enumerable: true, get: function () { return __importDefault(ScreenReaderText_1).default; } });
21
+ var WrapperTag_1 = require("./WrapperTag/WrapperTag");
22
+ Object.defineProperty(exports, "WrapperTag", { enumerable: true, get: function () { return __importDefault(WrapperTag_1).default; } });
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ declare const Accordion: {
3
+ ({ children, className, headingLevel, hideOpenAll, isSmall, ...props }: SGDS.Component.Accordion): React.JSX.Element;
4
+ displayName: string;
5
+ Item: {
6
+ ({ children, className, id: rawId, isOpen, heading, title, ...props }: SGDS.Component.Accordion.Item): React.JSX.Element;
7
+ displayName: string;
8
+ };
9
+ };
10
+ export default Accordion;
@@ -0,0 +1 @@
1
+ export { default } from './Accordion';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var Accordion_1 = require("./Accordion");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(Accordion_1).default; } });
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare const AspectBox: {
3
+ ({ children, className, ratio, ...props }: SGDS.Component.AspectBox): React.JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export default AspectBox;
@@ -0,0 +1 @@
1
+ export { default } from './AspectBox';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var AspectBox_1 = require("./AspectBox");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(AspectBox_1).default; } });
@@ -0,0 +1,5 @@
1
+ declare const BackToTop: {
2
+ ({ className, href, ...props }: SGDS.Component.BackToTop): import("react").JSX.Element;
3
+ displayName: string;
4
+ };
5
+ export default BackToTop;
@@ -0,0 +1 @@
1
+ export { default } from './BackToTop';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var BackToTop_1 = require("./BackToTop");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(BackToTop_1).default; } });
@@ -0,0 +1,9 @@
1
+ declare const Breadcrumbs: {
2
+ ({ children, ...props }: SGDS.Component.Breadcrumbs): import("react").JSX.Element;
3
+ displayName: string;
4
+ Item: {
5
+ ({ children, isHidden, href, linkComponent, ...props }: SGDS.Component.Breadcrumbs.Item): import("react").JSX.Element;
6
+ displayName: string;
7
+ };
8
+ };
9
+ export default Breadcrumbs;
@@ -0,0 +1 @@
1
+ export { default } from './Breadcrumbs';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var Breadcrumbs_1 = require("./Breadcrumbs");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(Breadcrumbs_1).default; } });
@@ -0,0 +1,5 @@
1
+ declare const Button: {
2
+ ({ buttonStyle, children, className, icon, hasLinkStyle, href, isIconLeft, isIconOnly, isSmall, type, width, ...props }: SGDS.Component.Button): import("react").JSX.Element;
3
+ displayName: string;
4
+ };
5
+ export default Button;
@@ -0,0 +1,5 @@
1
+ declare const ButtonGroup: {
2
+ ({ children, className, isInline, ...props }: SGDS.Component.ButtonGroup): import("react").JSX.Element;
3
+ displayName: string;
4
+ };
5
+ export default ButtonGroup;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const ButtonGroup = ({ children, className, isInline, ...props }) => {
4
+ return (<div className={[
5
+ "ds_button-group",
6
+ isInline ? "ds_button-group--inline" : undefined,
7
+ className
8
+ ].join(' ')} {...props}>
9
+ {children}
10
+ </div>);
11
+ };
12
+ ButtonGroup.displayName = 'ButtonGroup';
13
+ exports.default = ButtonGroup;
@@ -0,0 +1,2 @@
1
+ export { default } from './Button';
2
+ export { default as ButtonGroup } from './ButtonGroup';
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ButtonGroup = exports.default = void 0;
7
+ var Button_1 = require("./Button");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(Button_1).default; } });
9
+ var ButtonGroup_1 = require("./ButtonGroup");
10
+ Object.defineProperty(exports, "ButtonGroup", { enumerable: true, get: function () { return __importDefault(ButtonGroup_1).default; } });
@@ -0,0 +1,5 @@
1
+ declare const CategoryItem: {
2
+ ({ children, className, headingLevel, href, linkComponent, tagName, title, ...props }: SGDS.Component.CategoryItem): import("react").JSX.Element;
3
+ displayName: string;
4
+ };
5
+ export default CategoryItem;
@@ -0,0 +1 @@
1
+ export { default } from './CategoryItem';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var CategoryItem_1 = require("./CategoryItem");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(CategoryItem_1).default; } });
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare const CategoryList: {
3
+ ({ children, className, isGrid, isOrdered, ...props }: SGDS.Component.CategoryList): React.JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export default CategoryList;
@@ -0,0 +1 @@
1
+ export { default } from './CategoryList';