@databiosphere/findable-ui 10.2.0 → 12.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (513) hide show
  1. package/.github/workflows/run-checks.yml +13 -0
  2. package/lib/apis/azul/common/constants.d.ts +0 -4
  3. package/lib/apis/azul/common/constants.js +0 -4
  4. package/lib/apis/azul/common/entities.d.ts +5 -5
  5. package/lib/apis/azul/common/filterTransformer.d.ts +3 -3
  6. package/lib/apis/azul/common/filterTransformer.js +1 -1
  7. package/lib/common/analytics/analytics.d.ts +1 -1
  8. package/lib/common/analytics/entities.d.ts +2 -2
  9. package/lib/common/entities.d.ts +5 -5
  10. package/lib/components/ComponentCreator/ComponentCreator.d.ts +0 -1
  11. package/lib/components/Detail/components/AccessibilityBadge/accessibilityBadge.d.ts +0 -1
  12. package/lib/components/Detail/components/DetailViewTable/detailViewTable.d.ts +1 -1
  13. package/lib/components/Detail/components/Table/components/TableBody/tableBody.d.ts +1 -2
  14. package/lib/components/Detail/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.d.ts +1 -2
  15. package/lib/components/Detail/components/Table/components/TableRows/tableRows.d.ts +1 -2
  16. package/lib/components/Detail/components/Table/table.d.ts +1 -2
  17. package/lib/components/Detail/detail.stories.d.ts +4 -2
  18. package/lib/components/Error/error.d.ts +0 -1
  19. package/lib/components/Error/error.js +1 -1
  20. package/lib/components/Error/error.stories.d.ts +3 -3
  21. package/lib/components/Error/error.styles.d.ts +11 -12
  22. package/lib/components/ErrorBoundary/errorBoundary.d.ts +1 -1
  23. package/lib/components/Export/common/entities.d.ts +2 -2
  24. package/lib/components/Export/components/DownloadCurlCommand/components/DownloadCurlCommandForm/downloadCurlCommandForm.styles.d.ts +1 -2
  25. package/lib/components/Export/components/ExportForm/common/entities.d.ts +2 -2
  26. package/lib/components/Export/components/ExportForm/components/ExportFileSummaryForm/exportFileSummaryForm.d.ts +0 -1
  27. package/lib/components/Export/components/ExportForm/components/ExportFileSummaryForm/exportFileSummaryForm.js +1 -1
  28. package/lib/components/Export/components/ExportForm/components/ExportManifestDownloadFormatForm/exportManifestDownloadFormatForm.d.ts +0 -1
  29. package/lib/components/Export/components/ExportForm/components/ExportSpeciesForm/exportSpeciesForm.d.ts +0 -1
  30. package/lib/components/Export/components/ExportForm/exportForm.d.ts +3 -3
  31. package/lib/components/Export/components/ExportForm/exportForm.styles.d.ts +11 -40
  32. package/lib/components/Export/components/ExportMethod/exportMethod.stories.d.ts +4 -2
  33. package/lib/components/Export/components/ExportMethod/exportMethod.styles.d.ts +3 -4
  34. package/lib/components/Export/components/ExportSummary/components/ExportCurrentQuery/exportCurrentQuery.d.ts +1 -2
  35. package/lib/components/Export/components/ExportSummary/components/ExportSelectedDataSummary/exportSelectedDataSummary.d.ts +2 -2
  36. package/lib/components/Export/components/ExportSummary/exportSummary.styles.d.ts +4 -5
  37. package/lib/components/Export/components/ExportToTerra/components/ExportToTerraForm/exportToTerraForm.d.ts +0 -1
  38. package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.styles.d.ts +3 -4
  39. package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/NIHAccountExpiryWarning/nihAccountExpiryWarning.d.ts +0 -1
  40. package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.d.ts +0 -1
  41. package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.styles.d.ts +8 -9
  42. package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestDownload/fileManifestDownload.d.ts +0 -1
  43. package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestSpreadsheet/fileManifestSpreadsheet.d.ts +0 -1
  44. package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.d.ts +0 -1
  45. package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.styles.d.ts +6 -11
  46. package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadForm/manifestDownloadForm.d.ts +0 -1
  47. package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadReady/manifestDownloadReady.styles.d.ts +1 -1
  48. package/lib/components/Export/export.styles.d.ts +13 -14
  49. package/lib/components/Filter/common/entities.d.ts +3 -3
  50. package/lib/components/Filter/components/ClearAllFilters/clearAllFilters.d.ts +0 -1
  51. package/lib/components/Filter/components/Filter/filter.stories.d.ts +4 -2
  52. package/lib/components/Filter/components/Filter/filter.styles.d.ts +2 -2
  53. package/lib/components/Filter/components/FilterLabel/filterLabel.stories.d.ts +4 -2
  54. package/lib/components/Filter/components/FilterLabel/filterLabel.styles.d.ts +4 -35
  55. package/lib/components/Filter/components/FilterList/filterList.styles.d.ts +4 -12
  56. package/lib/components/Filter/components/FilterMenu/filterMenu.d.ts +0 -1
  57. package/lib/components/Filter/components/FilterMenu/filterMenu.stories.d.ts +4 -2
  58. package/lib/components/Filter/components/FilterMenu/filterMenu.styles.d.ts +8 -41
  59. package/lib/components/Filter/components/FilterMenuSearch/filterMenuSearch.d.ts +0 -1
  60. package/lib/components/Filter/components/FilterMenuSearch/filterMenuSearch.styles.d.ts +1 -1
  61. package/lib/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.d.ts +1 -1
  62. package/lib/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.styles.d.ts +2 -3
  63. package/lib/components/Filter/components/FilterTag/filterTag.d.ts +0 -1
  64. package/lib/components/Filter/components/FilterTag/filterTag.stories.d.ts +4 -2
  65. package/lib/components/Filter/components/FilterTag/filterTag.styles.d.ts +4 -21
  66. package/lib/components/Filter/components/FilterTags/filterTags.d.ts +0 -1
  67. package/lib/components/Filter/components/FilterTags/filterTags.stories.d.ts +4 -2
  68. package/lib/components/Filter/components/FilterTags/filterTags.styles.d.ts +2 -3
  69. package/lib/components/Filter/components/Filters/filters.d.ts +0 -1
  70. package/lib/components/Filter/components/Filters/filters.stories.d.ts +3 -3
  71. package/lib/components/Filter/components/Filters/filters.styles.d.ts +4 -5
  72. package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.d.ts +0 -1
  73. package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.styles.d.ts +2 -3
  74. package/lib/components/Filter/components/SearchAllFilters/common/constants.d.ts +2 -2
  75. package/lib/components/Filter/components/SearchAllFilters/common/entites.d.ts +2 -2
  76. package/lib/components/Filter/components/SearchAllFilters/components/AutocompletePopper/autocompletePopper.styles.d.ts +2 -12
  77. package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.d.ts +1 -1
  78. package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.stories.d.ts +3 -3
  79. package/lib/components/Filter/components/SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton.d.ts +0 -1
  80. package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.d.ts +0 -1
  81. package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.styles.d.ts +1 -1
  82. package/lib/components/Filter/components/VariableSizeList/VariableSizeList.d.ts +1 -2
  83. package/lib/components/Head/head.d.ts +0 -1
  84. package/lib/components/Index/components/AzulFileDownload/azulFileDownload.d.ts +0 -1
  85. package/lib/components/Index/components/AzulFileDownload/azulFileDownload.js +20 -51
  86. package/lib/components/Index/components/AzulFileDownload/azulFileDownload.stories.d.ts +4 -2
  87. package/lib/components/Index/components/AzulFileDownload/azulFileDownload.styles.d.ts +1 -1
  88. package/lib/components/Index/components/AzulFileDownload/common/constants.d.ts +3 -0
  89. package/lib/components/Index/components/AzulFileDownload/common/constants.js +3 -0
  90. package/lib/components/Index/components/Cell/cell.d.ts +0 -1
  91. package/lib/components/Index/components/Hero/components/ExportButton/exportButton.d.ts +0 -1
  92. package/lib/components/Index/components/Hero/components/ExportButton/exportButton.styles.d.ts +1 -2
  93. package/lib/components/Index/components/Hero/components/Summaries/summaries.stories.d.ts +4 -2
  94. package/lib/components/Index/components/Hero/components/Summaries/summaries.styles.d.ts +3 -4
  95. package/lib/components/Index/components/Hero/hero.stories.d.ts +4 -2
  96. package/lib/components/Index/components/Hero/hero.styles.d.ts +6 -7
  97. package/lib/components/Index/components/NTag/components/Tooltip/tooltip.d.ts +0 -1
  98. package/lib/components/Index/components/NTag/components/Tooltip/tooltip.styles.d.ts +2 -3
  99. package/lib/components/Index/components/NTagCell/nTagCell.d.ts +1 -2
  100. package/lib/components/Index/components/NTagCell/nTagCell.stories.d.ts +4 -2
  101. package/lib/components/Index/components/Tabs/tabs.d.ts +0 -1
  102. package/lib/components/Index/components/TitleCell/titleCell.styles.d.ts +1 -1
  103. package/lib/components/Index/index.stories.d.ts +3 -3
  104. package/lib/components/Index/index.styles.d.ts +2 -3
  105. package/lib/components/Layout/components/AppLayout/appLayout.styles.d.ts +2 -3
  106. package/lib/components/Layout/components/BackPage/backPageView.js +1 -1
  107. package/lib/components/Layout/components/BackPage/backPageView.stories.d.ts +4 -2
  108. package/lib/components/Layout/components/BackPage/backPageView.styles.d.ts +22 -23
  109. package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.d.ts +2 -1
  110. package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.js +3 -2
  111. package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.stories.d.ts +3 -3
  112. package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.d.ts +7 -15
  113. package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.js +3 -3
  114. package/lib/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.d.ts +6 -0
  115. package/lib/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.js +5 -0
  116. package/lib/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.styles.d.ts +4 -0
  117. package/lib/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.styles.js +13 -0
  118. package/lib/components/Layout/components/ContentLayout/common/entities.d.ts +1 -1
  119. package/lib/components/Layout/components/ContentLayout/contentLayout.styles.d.ts +16 -17
  120. package/lib/components/Layout/components/Floating/floating.d.ts +0 -1
  121. package/lib/components/Layout/components/Footer/footer.stories.d.ts +3 -3
  122. package/lib/components/Layout/components/Footer/footer.styles.d.ts +6 -6
  123. package/lib/components/Layout/components/Header/common/entities.d.ts +3 -2
  124. package/lib/components/Layout/components/Header/common/utils.d.ts +9 -1
  125. package/lib/components/Layout/components/Header/common/utils.js +16 -1
  126. package/lib/components/Layout/components/Header/components/Announcements/announcements.d.ts +0 -1
  127. package/lib/components/Layout/components/Header/components/Content/components/Actions/actions.styles.d.ts +2 -3
  128. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.d.ts +0 -1
  129. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.js +1 -1
  130. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.stories.d.ts +4 -2
  131. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.d.ts +16 -79
  132. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/Button/button.styles.d.ts +4 -35
  133. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Navigation/navigation.styles.d.ts +2 -3
  134. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Socials/socials.styles.d.ts +1 -2
  135. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/menu.js +1 -1
  136. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/Button/button.styles.d.ts +4 -35
  137. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.d.ts +0 -1
  138. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.d.ts +6 -6
  139. package/lib/components/Layout/components/Header/components/Content/components/Logo/logo.d.ts +0 -1
  140. package/lib/components/Layout/components/Header/components/Content/components/Logo/logo.styles.d.ts +1 -1
  141. package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.styles.d.ts +4 -5
  142. package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.js +1 -1
  143. package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.d.ts +7 -42
  144. package/lib/components/Layout/components/Header/components/Content/components/Navigation/navigation.styles.d.ts +2 -3
  145. package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.d.ts +6 -17
  146. package/lib/components/Layout/components/Header/components/Content/components/Socials/socials.styles.d.ts +1 -2
  147. package/lib/components/Layout/components/Header/components/Content/content.styles.d.ts +2 -3
  148. package/lib/components/Layout/components/Header/header.stories.d.ts +3 -3
  149. package/lib/components/Layout/components/Header/header.styles.d.ts +8 -8
  150. package/lib/components/Layout/components/Header/hooks/useHeaderVisibility.js +2 -1
  151. package/lib/components/Layout/components/Main/main.styles.d.ts +5 -6
  152. package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.d.ts +0 -1
  153. package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.js +1 -1
  154. package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.styles.d.ts +6 -7
  155. package/lib/components/Layout/components/Nav/nav.stories.d.ts +3 -3
  156. package/lib/components/Layout/components/Nav/nav.styles.d.ts +6 -14
  157. package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.d.ts +0 -1
  158. package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.d.ts +4 -32
  159. package/lib/components/Layout/components/Outline/outline.styles.d.ts +9 -104
  160. package/lib/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.d.ts +3 -4
  161. package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.d.ts +2 -2
  162. package/lib/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.d.ts +0 -1
  163. package/lib/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.stories.d.ts +4 -2
  164. package/lib/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.styles.d.ts +2 -3
  165. package/lib/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.d.ts +2 -3
  166. package/lib/components/Layout/components/Sidebar/sidebar.stories.d.ts +3 -3
  167. package/lib/components/Layout/components/Sidebar/sidebar.styles.d.ts +2 -3
  168. package/lib/components/Links/common/entities.d.ts +3 -4
  169. package/lib/components/Links/components/Link/components/ExploreViewLink/exploreViewLink.d.ts +0 -1
  170. package/lib/components/Links/links.stories.d.ts +4 -2
  171. package/lib/components/Loading/loading.d.ts +1 -2
  172. package/lib/components/Loading/loading.stories.d.ts +4 -2
  173. package/lib/components/Loading/loading.styles.d.ts +3 -4
  174. package/lib/components/Login/login.stories.d.ts +3 -3
  175. package/lib/components/Login/login.styles.d.ts +16 -17
  176. package/lib/components/NoResults/noResults.styles.d.ts +6 -7
  177. package/lib/components/Project/common/entities.d.ts +3 -3
  178. package/lib/components/Project/components/Citation/citation.d.ts +0 -1
  179. package/lib/components/Project/components/Citation/citation.stories.d.ts +1 -1
  180. package/lib/components/Project/components/Citation/citation.styles.d.ts +4 -5
  181. package/lib/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.d.ts +0 -1
  182. package/lib/components/Project/components/CollaboratingOrganizations/collaboratingOrganizations.stories.d.ts +4 -2
  183. package/lib/components/Project/components/Contacts/contacts.d.ts +0 -1
  184. package/lib/components/Project/components/Contacts/contacts.stories.d.ts +4 -2
  185. package/lib/components/Project/components/Contributors/contributors.d.ts +0 -1
  186. package/lib/components/Project/components/Contributors/contributors.stories.d.ts +4 -2
  187. package/lib/components/Project/components/DataCurators/dataCurators.d.ts +0 -1
  188. package/lib/components/Project/components/DataCurators/dataCurators.stories.d.ts +4 -2
  189. package/lib/components/Project/components/DataReleasePolicy/dataReleasePolicy.d.ts +0 -1
  190. package/lib/components/Project/components/DataReleasePolicy/dataReleasePolicy.stories.d.ts +4 -2
  191. package/lib/components/Project/components/Description/description.d.ts +0 -1
  192. package/lib/components/Project/components/Description/description.stories.d.ts +4 -2
  193. package/lib/components/Project/components/Details/details.d.ts +0 -1
  194. package/lib/components/Project/components/Details/details.stories.d.ts +4 -2
  195. package/lib/components/Project/components/Publications/publications.d.ts +0 -1
  196. package/lib/components/Project/components/Publications/publications.stories.d.ts +4 -2
  197. package/lib/components/Project/components/Sup/sup.styles.d.ts +2 -3
  198. package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.d.ts +0 -1
  199. package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.js +1 -1
  200. package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.stories.d.ts +4 -2
  201. package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.styles.d.ts +6 -7
  202. package/lib/components/Redirect/redirect.d.ts +0 -1
  203. package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.styles.d.ts +5 -33
  204. package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/constants.js +2 -2
  205. package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/entities.d.ts +4 -4
  206. package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/common/utils.d.ts +1 -1
  207. package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.d.ts +5 -6
  208. package/lib/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.js +1 -1
  209. package/lib/components/Support/components/SupportRequest/supportRequest.d.ts +0 -1
  210. package/lib/components/Support/components/ViewSupport/viewSupport.styles.d.ts +2 -3
  211. package/lib/components/Table/common/gridTable.styles.d.ts +4 -12
  212. package/lib/components/Table/common/utils.d.ts +2 -2
  213. package/lib/components/Table/common/utils.js +17 -11
  214. package/lib/components/Table/components/CheckboxMenu/checkboxMenu.d.ts +2 -3
  215. package/lib/components/Table/components/CheckboxMenu/checkboxMenu.stories.d.ts +4 -2
  216. package/lib/components/Table/components/CheckboxMenu/checkboxMenu.styles.d.ts +1 -1
  217. package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.d.ts +1 -2
  218. package/lib/components/Table/components/Pagination/pagination.d.ts +0 -1
  219. package/lib/components/Table/components/Pagination/pagination.stories.d.ts +4 -2
  220. package/lib/components/Table/components/Pagination/pagination.styles.d.ts +2 -3
  221. package/lib/components/Table/components/PaginationSummary/paginationSummary.d.ts +0 -1
  222. package/lib/components/Table/components/TableBody/tableBody.d.ts +1 -2
  223. package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.d.ts +1 -2
  224. package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.d.ts +7 -8
  225. package/lib/components/Table/components/TableCell/components/NTagCell/components/NTag/components/Tooltip/tooltip.d.ts +0 -1
  226. package/lib/components/Table/components/TableCell/components/NTagCell/components/NTag/components/Tooltip/tooltip.styles.d.ts +2 -3
  227. package/lib/components/Table/components/TableCell/components/NTagCell/nTagCell.d.ts +1 -2
  228. package/lib/components/Table/components/TableCell/components/RowSelectionCell/rowSelectionCell.d.ts +1 -2
  229. package/lib/components/Table/components/TableHead/components/HeadSelectionCell/headSelectionCell.d.ts +1 -2
  230. package/lib/components/Table/components/TableHead/tableHead.d.ts +1 -2
  231. package/lib/components/Table/components/TableRow/tableRow.styles.d.ts +4 -11
  232. package/lib/components/Table/components/TableRows/components/CollapsableRows/collapsableRows.d.ts +1 -2
  233. package/lib/components/Table/components/TableRows/components/VirtualizedRow/virtualizedRow.d.ts +0 -1
  234. package/lib/components/Table/components/TableRows/tableRows.d.ts +1 -2
  235. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.d.ts +1 -1
  236. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.styles.d.ts +2 -2
  237. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.d.ts +1 -2
  238. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.styles.d.ts +2 -3
  239. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.styles.d.ts +2 -3
  240. package/lib/components/Table/components/TableToolbar/components/RowPreview/rowPreview.d.ts +1 -2
  241. package/lib/components/Table/components/TableToolbar/components/RowSelection/components/DropdownMenu/dropdownMenu.d.ts +0 -1
  242. package/lib/components/Table/components/TableToolbar/components/RowSelection/components/DropdownMenu/dropdownMenu.styles.d.ts +1 -1
  243. package/lib/components/Table/components/TableToolbar/components/RowSelection/rowSelection.d.ts +1 -2
  244. package/lib/components/Table/components/TableToolbar/components/RowSelection/rowSelection.styles.d.ts +2 -3
  245. package/lib/components/Table/components/TableToolbar/tableToolbar.d.ts +1 -2
  246. package/lib/components/Table/components/TableToolbar/tableToolbar.styles.d.ts +3 -2
  247. package/lib/components/Table/features/RowPreview/entities.d.ts +1 -1
  248. package/lib/components/Table/features/entities.d.ts +5 -5
  249. package/lib/components/Table/table.d.ts +2 -3
  250. package/lib/components/Table/table.js +4 -4
  251. package/lib/components/Table/table.styles.d.ts +4 -12
  252. package/lib/components/TableCreator/tableCreator.d.ts +2 -3
  253. package/lib/components/TableCreator/tableCreator.styles.d.ts +2 -3
  254. package/lib/components/TempError/components/errorBox.d.ts +0 -1
  255. package/lib/components/TempError/tempError.d.ts +0 -1
  256. package/lib/components/common/Accordion/accordion.js +1 -1
  257. package/lib/components/common/Accordion/accordion.stories.d.ts +3 -3
  258. package/lib/components/common/Alert/alert.js +1 -1
  259. package/lib/components/common/Alert/alert.stories.d.ts +3 -3
  260. package/lib/components/common/Alert/alert.styles.d.ts +2 -2
  261. package/lib/components/common/Alert/components/AlertText/alertText.styles.d.ts +2 -3
  262. package/lib/components/common/AnchorLink/anchorLink.d.ts +0 -1
  263. package/lib/components/common/AnchorLink/anchorLink.styles.d.ts +23 -25
  264. package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.styles.d.ts +1 -1
  265. package/lib/components/common/Banner/components/CookieBanner/cookieBanner.styles.d.ts +1 -2
  266. package/lib/components/common/Banner/components/DismissibleBanner/dismissibleBanner.js +1 -1
  267. package/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.styles.d.ts +1 -1
  268. package/lib/components/common/Breadcrumbs/breadcrumbs.js +1 -1
  269. package/lib/components/common/Breadcrumbs/breadcrumbs.stories.d.ts +6 -4
  270. package/lib/components/common/Button/components/ButtonOutline/buttonOutline.styles.d.ts +1 -2
  271. package/lib/components/common/Button/components/ButtonText/buttonText.d.ts +0 -1
  272. package/lib/components/common/Button/components/ButtonText/buttonText.styles.d.ts +1 -2
  273. package/lib/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.d.ts +0 -1
  274. package/lib/components/common/Button/components/ButtonTextPrimary/buttonTextPrimary.styles.d.ts +1 -2
  275. package/lib/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.d.ts +0 -1
  276. package/lib/components/common/Button/components/ButtonTextUnderline/buttonTextUnderline.styles.d.ts +1 -2
  277. package/lib/components/common/Button/components/CallToActionButton/callToActionButton.d.ts +3 -1
  278. package/lib/components/common/Button/components/CallToActionButton/callToActionButton.js +2 -2
  279. package/lib/components/common/Button/components/CallToActionButton/callToActionButton.stories.d.ts +5 -3
  280. package/lib/components/common/Button/components/DropdownButton/dropdownButton.d.ts +0 -1
  281. package/lib/components/common/Button/components/DropdownButton/dropdownButton.styles.d.ts +1 -2
  282. package/lib/components/common/Button/components/FileDownloadButton/fileDownloadButton.d.ts +0 -1
  283. package/lib/components/common/Button/components/HelpIconButton/helpIconButton.d.ts +0 -1
  284. package/lib/components/common/Button/components/HelpIconButton/helpIconButton.stories.d.ts +1 -1
  285. package/lib/components/common/Button/components/HelpIconButton/helpIconButton.styles.d.ts +2 -1
  286. package/lib/components/common/Button/components/LoginButton/loginButton.d.ts +1 -2
  287. package/lib/components/common/Button/components/LoginButton/loginButton.styles.d.ts +3 -4
  288. package/lib/components/common/Button/components/NavigationButton/navigationButton.d.ts +0 -1
  289. package/lib/components/common/Button/components/NavigationButton/navigationButton.styles.d.ts +1 -2
  290. package/lib/components/common/Card/card.stories.d.ts +3 -3
  291. package/lib/components/common/Card/card.styles.d.ts +5 -6
  292. package/lib/components/common/Card/components/CardAction/cardAction.d.ts +0 -1
  293. package/lib/components/common/Card/components/CardActions/cardActions.styles.d.ts +2 -3
  294. package/lib/components/common/Card/components/CardMedia/cardMedia.d.ts +0 -1
  295. package/lib/components/common/Card/components/CardMedia/cardMedia.styles.d.ts +2 -3
  296. package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.d.ts +3 -4
  297. package/lib/components/common/Code/code.d.ts +0 -1
  298. package/lib/components/common/Code/code.stories.d.ts +4 -3
  299. package/lib/components/common/Code/code.styles.d.ts +2 -3
  300. package/lib/components/common/CopyToClipboard/copyToClipboard.d.ts +0 -1
  301. package/lib/components/common/CopyToClipboard/copyToClipboard.stories.d.ts +3 -3
  302. package/lib/components/common/CustomIcon/components/AddIcon/addIcon.d.ts +0 -1
  303. package/lib/components/common/CustomIcon/components/AddLinkIcon/addLinkIcon.d.ts +0 -1
  304. package/lib/components/common/CustomIcon/components/AlertIcon/alertIcon.d.ts +0 -1
  305. package/lib/components/common/CustomIcon/components/BackArrowIcon/backArrowIcon.d.ts +0 -1
  306. package/lib/components/common/CustomIcon/components/CheckedIcon/checkedIcon.d.ts +0 -1
  307. package/lib/components/common/CustomIcon/components/ContactSupportIcon/contactSupportIcon.d.ts +0 -1
  308. package/lib/components/common/CustomIcon/components/ContentCopyIcon/contentCopyIcon.d.ts +0 -1
  309. package/lib/components/common/CustomIcon/components/DiscourseIcon/discourseIcon.d.ts +0 -1
  310. package/lib/components/common/CustomIcon/components/DownloadIcon/downloadIcon.d.ts +0 -1
  311. package/lib/components/common/CustomIcon/components/EmailReadIcon/emailReadIcon.d.ts +0 -1
  312. package/lib/components/common/CustomIcon/components/ErrorIcon/errorIcon.d.ts +0 -1
  313. package/lib/components/common/CustomIcon/components/FacebookIcon/facebookIcon.d.ts +0 -1
  314. package/lib/components/common/CustomIcon/components/FeedbackIcon/feedbackIcon.d.ts +0 -1
  315. package/lib/components/common/CustomIcon/components/FormStatusCompletedIcon/formStatusCompletedIcon.d.ts +0 -1
  316. package/lib/components/common/CustomIcon/components/FormStatusIncompleteIcon/formStatusIncompleteIcon.d.ts +0 -1
  317. package/lib/components/common/CustomIcon/components/ForwardArrowIcon/forwardArrowIcon.d.ts +0 -1
  318. package/lib/components/common/CustomIcon/components/GitHubIcon/gitHubIcon.d.ts +0 -1
  319. package/lib/components/common/CustomIcon/components/GoogleIcon/googleIcon.d.ts +0 -1
  320. package/lib/components/common/CustomIcon/components/HelpIcon/helpIcon.d.ts +0 -1
  321. package/lib/components/common/CustomIcon/components/InProgressIcon/inProgressIcon.d.ts +0 -1
  322. package/lib/components/common/CustomIcon/components/IndeterminateIcon/indeterminateIcon.d.ts +0 -1
  323. package/lib/components/common/CustomIcon/components/InfoIcon/infoIcon.d.ts +0 -1
  324. package/lib/components/common/CustomIcon/components/InventoryIcon/inventoryIcon.d.ts +0 -1
  325. package/lib/components/common/CustomIcon/components/LinkedInIcon/linkedInIcon.d.ts +0 -1
  326. package/lib/components/common/CustomIcon/components/LoadingIcon/loadingIcon.d.ts +0 -1
  327. package/lib/components/common/CustomIcon/components/OpenInNewIcon/openInNewIcon.d.ts +0 -1
  328. package/lib/components/common/CustomIcon/components/RadioCheckedIcon/radioCheckedIcon.d.ts +0 -1
  329. package/lib/components/common/CustomIcon/components/RadioUncheckedIcon/radioUncheckedIcon.d.ts +0 -1
  330. package/lib/components/common/CustomIcon/components/RemoveIcon/removeIcon.d.ts +0 -1
  331. package/lib/components/common/CustomIcon/components/SearchIcon/searchIcon.d.ts +0 -1
  332. package/lib/components/common/CustomIcon/components/SearchOffIcon/searchOffIcon.d.ts +0 -1
  333. package/lib/components/common/CustomIcon/components/Segment/segment.d.ts +0 -1
  334. package/lib/components/common/CustomIcon/components/SlackIcon/slackIcon.d.ts +0 -1
  335. package/lib/components/common/CustomIcon/components/SouthIcon/southIcon.d.ts +0 -1
  336. package/lib/components/common/CustomIcon/components/SuccessIcon/successIcon.d.ts +0 -1
  337. package/lib/components/common/CustomIcon/components/UnLinkIcon/unLinkIcon.d.ts +0 -1
  338. package/lib/components/common/CustomIcon/components/UncheckedErrorIcon/uncheckedErrorIcon.d.ts +0 -1
  339. package/lib/components/common/CustomIcon/components/UncheckedIcon/uncheckedIcon.d.ts +0 -1
  340. package/lib/components/common/CustomIcon/components/UnfoldMoreIcon/unfoldMoreIcon.d.ts +0 -1
  341. package/lib/components/common/CustomIcon/components/WarningIcon/warningIcon.d.ts +0 -1
  342. package/lib/components/common/CustomIcon/components/XIcon/xIcon.d.ts +0 -1
  343. package/lib/components/common/CustomIcon/components/YouTubeIcon/youTubeIcon.d.ts +0 -1
  344. package/lib/components/common/Dialog/components/DialogTitle/dialogTitle.js +1 -1
  345. package/lib/components/common/Dot/dot.d.ts +0 -1
  346. package/lib/components/common/Dot/dot.styles.d.ts +2 -3
  347. package/lib/components/common/Drawer/components/DrawerTitle/drawerTitle.styles.d.ts +2 -3
  348. package/lib/components/common/Drawer/components/drawer.styles.d.ts +2 -3
  349. package/lib/components/common/DropdownMenu/common/entities.d.ts +2 -2
  350. package/lib/components/common/DropdownMenu/dropdownMenu.styles.d.ts +1 -1
  351. package/lib/components/common/EllipsisContent/ellipsisContent.styles.d.ts +3 -4
  352. package/lib/components/common/Form/components/Input/input.d.ts +0 -1
  353. package/lib/components/common/Form/components/Input/input.styles.d.ts +4 -19
  354. package/lib/components/common/Form/components/Select/components/DropDownIcon/dropDownIcon.d.ts +0 -1
  355. package/lib/components/common/Form/components/Select/select.d.ts +2 -2
  356. package/lib/components/common/Form/components/Select/select.styles.d.ts +4 -19
  357. package/lib/components/common/Form/components/UploadFile/uploadFile.d.ts +0 -1
  358. package/lib/components/common/Form/components/UploadFile/uploadFile.styles.d.ts +6 -39
  359. package/lib/components/common/IconBadge/iconBadge.d.ts +1 -1
  360. package/lib/components/common/IconBadge/iconBadge.styles.d.ts +2 -3
  361. package/lib/components/common/IconButton/iconButton.styles.d.ts +4 -30
  362. package/lib/components/common/Input/input.styles.d.ts +5 -20
  363. package/lib/components/common/KeyValuePairs/keyValuePairs.d.ts +5 -5
  364. package/lib/components/common/MDXMarkdown/components/Section/mdxSection.styles.d.ts +2 -3
  365. package/lib/components/common/Markdown/markdown.d.ts +3 -2
  366. package/lib/components/common/Markdown/markdown.js +3 -2
  367. package/lib/components/common/Paper/paper.d.ts +1 -1
  368. package/lib/components/common/Paper/paper.styles.d.ts +5 -6
  369. package/lib/components/common/Paper/paper.styles.js +1 -1
  370. package/lib/components/common/Progress/components/CircularProgress/circularProgress.styles.d.ts +2 -3
  371. package/lib/components/common/Progress/components/CircularProgress/components/CircularProgressTrack/circularProgressTrack.d.ts +0 -1
  372. package/lib/components/common/Progress/components/CircularProgress/components/CircularProgressTrack/circularProgressTrack.styles.d.ts +1 -1
  373. package/lib/components/common/RadioGroup/radioGroup.d.ts +3 -4
  374. package/lib/components/common/Section/components/CollapsableSection/collapsableSection.styles.d.ts +8 -40
  375. package/lib/components/common/Section/components/SectionDetailsEmpty/sectionDetailsEmpty.d.ts +0 -1
  376. package/lib/components/common/Section/components/SectionTitle/sectionTitle.d.ts +0 -1
  377. package/lib/components/common/Section/components/SectionTitle/sectionTitle.stories.d.ts +4 -2
  378. package/lib/components/common/Section/section.styles.d.ts +17 -17
  379. package/lib/components/common/Socials/socials.stories.d.ts +3 -4
  380. package/lib/components/common/Socials/socials.styles.d.ts +4 -4
  381. package/lib/components/common/Stack/components/Divider/divider.styles.d.ts +2 -11
  382. package/lib/components/common/StaticImage/staticImage.d.ts +1 -2
  383. package/lib/components/common/StaticImage/staticImage.stories.d.ts +4 -2
  384. package/lib/components/common/StatusBadge/statusBadge.d.ts +1 -1
  385. package/lib/components/common/StatusBadge/statusBadge.stories.d.ts +3 -4
  386. package/lib/components/common/StatusIcon/statusIcon.d.ts +1 -1
  387. package/lib/components/common/StatusIcon/statusIcon.stories.d.ts +4 -2
  388. package/lib/components/common/StatusIcon/statusIcon.styles.d.ts +2 -3
  389. package/lib/components/common/Tabs/tabs.d.ts +3 -3
  390. package/lib/components/common/Tabs/tabs.styles.d.ts +6 -34
  391. package/lib/components/common/Tag/tag.stories.d.ts +4 -2
  392. package/lib/components/common/Tag/tag.styles.d.ts +2 -2
  393. package/lib/components/common/Title/title.d.ts +1 -1
  394. package/lib/components/common/Title/title.styles.d.ts +2 -1
  395. package/lib/components/common/ToggleButtonGroup/toggleButtonGroup.d.ts +2 -3
  396. package/lib/components/common/ToggleButtonGroup/toggleButtonGroup.stories.d.ts +4 -2
  397. package/lib/components/common/Typography/common/entities.d.ts +1 -1
  398. package/lib/config/entities.d.ts +16 -16
  399. package/lib/entity/api/service.d.ts +3 -2
  400. package/lib/entity/apicf/service.d.ts +1 -1
  401. package/lib/entity/common/service.d.ts +2 -2
  402. package/lib/entity/service/model.d.ts +1 -1
  403. package/lib/hooks/useAsync.d.ts +1 -1
  404. package/lib/hooks/useAuthentication/common/entities.d.ts +1 -1
  405. package/lib/hooks/useAuthentication/useFetchGoogleProfile.d.ts +3 -3
  406. package/lib/hooks/useAuthentication/useFetchTerraNIHProfile.d.ts +2 -2
  407. package/lib/hooks/useAuthentication/useFetchTerraProfile.d.ts +2 -2
  408. package/lib/hooks/useAuthentication/useFetchTerraTermsOfService.d.ts +2 -2
  409. package/lib/hooks/useAuthentication/useTokenClient.d.ts +1 -1
  410. package/lib/hooks/useBreakpoint.d.ts +1 -1
  411. package/lib/hooks/useBreakpointHelper.d.ts +2 -2
  412. package/lib/hooks/useCategoryFilter.d.ts +2 -2
  413. package/lib/hooks/useCurrentBreakpoint.d.ts +1 -1
  414. package/lib/hooks/useEntityService.d.ts +1 -1
  415. package/lib/hooks/useExploreMode.d.ts +1 -1
  416. package/lib/hooks/useExportToTerraResponseURL.d.ts +1 -1
  417. package/lib/hooks/useFetchEntity.d.ts +1 -1
  418. package/lib/hooks/useFileLocation.d.ts +7 -1
  419. package/lib/hooks/useFileLocation.js +13 -14
  420. package/lib/hooks/useFileManifest/common/entities.d.ts +4 -4
  421. package/lib/hooks/useFileManifest/useFileManifest.d.ts +1 -1
  422. package/lib/hooks/useFileManifest/useRequestFileManifest.d.ts +1 -1
  423. package/lib/hooks/useRequestFileLocation.d.ts +2 -2
  424. package/lib/hooks/useResizeObserver.d.ts +1 -1
  425. package/lib/hooks/useScroll.d.ts +2 -2
  426. package/lib/providers/authentication.d.ts +2 -2
  427. package/lib/providers/config.d.ts +1 -1
  428. package/lib/providers/exploreState/entities.d.ts +4 -4
  429. package/lib/providers/exploreState/initializer/utils.js +1 -1
  430. package/lib/providers/exploreState/payloads/entities.d.ts +6 -6
  431. package/lib/providers/exploreState.d.ts +20 -20
  432. package/lib/providers/fileManifestState.d.ts +12 -12
  433. package/lib/providers/layoutState.d.ts +4 -4
  434. package/lib/theme/common/breakpoints.d.ts +4 -4
  435. package/lib/theme/common/components.js +8 -8
  436. package/lib/theme/common/palette.d.ts +33 -127
  437. package/lib/theme/common/palette.js +57 -69
  438. package/lib/types/error.d.ts +1 -1
  439. package/lib/utils/tests.d.ts +12 -0
  440. package/lib/utils/tests.js +17 -0
  441. package/lib/viewModelBuilders/common/entities.d.ts +1 -1
  442. package/lib/views/ContentView/contentView.stories.d.ts +3 -3
  443. package/lib/views/EntityDetailView/entityDetailView.d.ts +0 -1
  444. package/lib/views/ExploreView/exploreView.d.ts +0 -1
  445. package/lib/views/ExportMethodView/exportMethodView.d.ts +0 -1
  446. package/lib/views/ExportView/exportView.d.ts +1 -2
  447. package/lib/views/LoginView/loginView.d.ts +0 -1
  448. package/package.json +16 -14
  449. package/src/apis/azul/common/constants.ts +0 -5
  450. package/src/apis/azul/common/filterTransformer.ts +1 -1
  451. package/src/common/analytics/analytics.ts +1 -1
  452. package/src/common/analytics/readme-analytics.md +15 -0
  453. package/src/components/Detail/components/Table/table.tsx +1 -1
  454. package/src/components/Error/error.tsx +1 -1
  455. package/src/components/Export/components/DownloadCurlCommand/downloadCurlCommand.tsx +1 -1
  456. package/src/components/Export/components/ExportForm/components/ExportFileSummaryForm/exportFileSummaryForm.tsx +1 -1
  457. package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.tsx +1 -1
  458. package/src/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.tsx +1 -1
  459. package/src/components/Filter/components/VariableSizeList/VariableSizeList.tsx +1 -1
  460. package/src/components/Index/components/AzulFileDownload/azulFileDownload.tsx +44 -63
  461. package/src/components/Index/components/AzulFileDownload/common/constants.ts +4 -0
  462. package/src/components/Index/components/NTag/components/Tooltip/tooltip.tsx +1 -1
  463. package/src/components/Layout/components/BackPage/backPageView.tsx +1 -1
  464. package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.ts +3 -3
  465. package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.tsx +5 -1
  466. package/src/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.styles.ts +14 -0
  467. package/src/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.tsx +13 -0
  468. package/src/components/Layout/components/Header/common/entities.ts +1 -0
  469. package/src/components/Layout/components/Header/common/utils.ts +23 -1
  470. package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.tsx +1 -1
  471. package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/menu.tsx +1 -1
  472. package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.tsx +2 -2
  473. package/src/components/Layout/components/Header/hooks/useHeaderVisibility.ts +3 -1
  474. package/src/components/Layout/components/Nav/components/NavBarHero/navBarHero.tsx +2 -2
  475. package/src/components/Layout/components/Outline/outline.styles.ts +1 -1
  476. package/src/components/Loading/loading.styles.ts +1 -1
  477. package/src/components/Loading/loading.tsx +1 -1
  478. package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.tsx +1 -1
  479. package/src/components/Support/components/SupportRequest/components/SupportRequestForm/common/constants.ts +1 -1
  480. package/src/components/Support/components/SupportRequest/components/SupportRequestForm/common/utils.ts +1 -1
  481. package/src/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.tsx +1 -1
  482. package/src/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.tsx +1 -1
  483. package/src/components/Table/common/utils.ts +17 -15
  484. package/src/components/Table/components/TableCell/components/NTagCell/components/NTag/components/Tooltip/tooltip.tsx +1 -1
  485. package/src/components/common/Accordion/accordion.tsx +2 -2
  486. package/src/components/common/Alert/alert.tsx +1 -1
  487. package/src/components/common/Banner/components/CookieBanner/cookieBanner.tsx +1 -1
  488. package/src/components/common/Banner/components/DismissibleBanner/dismissibleBanner.tsx +1 -1
  489. package/src/components/common/Breadcrumbs/breadcrumbs.tsx +1 -1
  490. package/src/components/common/Button/components/CallToActionButton/callToActionButton.tsx +5 -0
  491. package/src/components/common/Code/code.tsx +1 -1
  492. package/src/components/common/CopyToClipboard/copyToClipboard.tsx +1 -1
  493. package/src/components/common/Dialog/components/DialogTitle/dialogTitle.tsx +1 -1
  494. package/src/components/common/Form/components/Input/input.tsx +1 -1
  495. package/src/components/common/Form/components/Select/select.tsx +2 -2
  496. package/src/components/common/IconBadge/iconBadge.styles.ts +1 -1
  497. package/src/components/common/Markdown/markdown.tsx +8 -2
  498. package/src/components/common/Section/components/CollapsableSection/collapsableSection.tsx +1 -1
  499. package/src/components/common/Stack/components/Divider/divider.styles.tsx +1 -1
  500. package/src/entity/api/service.ts +1 -1
  501. package/src/hooks/useCurrentBreakpoint.ts +1 -1
  502. package/src/hooks/useEntityList.ts +1 -1
  503. package/src/hooks/useEntityService.ts +1 -1
  504. package/src/hooks/useFileLocation.ts +16 -14
  505. package/src/hooks/useFileManifest/useRequestFileManifest.ts +1 -1
  506. package/src/hooks/useRequestFileLocation.ts +1 -1
  507. package/src/hooks/useResizeObserver.ts +1 -1
  508. package/src/hooks/useWindowResize.ts +1 -1
  509. package/src/theme/common/palette.ts +57 -57
  510. package/src/utils/tests.ts +19 -0
  511. package/tests/azulFileDownload.test.tsx +86 -0
  512. package/tests/useFileLocation.test.ts +32 -0
  513. package/tsconfig.json +4 -1
@@ -1,61 +1,30 @@
1
1
  import { Box } from "@mui/material";
2
- import React, { useEffect, useRef, useState } from "react";
3
- import { API_FILE_LOCATION_FETCH } from "../../../../apis/azul/common/constants";
4
- import { useRequestFileLocation } from "../../../../hooks/useRequestFileLocation";
2
+ import React, { Fragment, useEffect, useRef, useState } from "react";
3
+ import { useFileLocation } from "../../../../hooks/useFileLocation";
5
4
  import { DownloadIcon } from "../../../common/CustomIcon/components/DownloadIcon/downloadIcon";
6
5
  import { LoadingIcon } from "../../../common/CustomIcon/components/LoadingIcon/loadingIcon";
7
6
  import { IconButton } from "../../../common/IconButton/iconButton";
8
7
  import { StyledIconButton } from "./azulFileDownload.styles";
8
+ import { AZUL_FILE_DOWNLOAD_TEST_ID, AZUL_FILE_REQUEST_DOWNLOAD_PENDING_TEST_ID, AZUL_FILE_REQUEST_DOWNLOAD_TEST_ID, } from "./common/constants";
9
9
  export const AzulFileDownload = ({ url, }) => {
10
+ const { fileUrl, isLoading, run } = useFileLocation(url);
10
11
  const downloadRef = useRef(null);
11
- // Used to prevent the download button from being clicked twice
12
- const [isDownloading, setIsDownloading] = useState(false);
13
- // Correct the file fetch URL as per the Azul spec.
14
- const azulFetchUrl = buildFetchFileUrl(url);
15
- const { data, isLoading, isSuccess, run } = useRequestFileLocation(azulFetchUrl);
16
- const fileLocation = data?.location;
12
+ const [isRequestPending, setIsRequestPending] = useState(false);
17
13
  // Initiates file download when file location request is successful.
18
14
  useEffect(() => {
19
- if (isSuccess && fileLocation && downloadRef.current) {
20
- const downloadEl = downloadRef.current;
21
- downloadEl.href = fileLocation;
22
- downloadEl.click();
23
- setIsDownloading(false);
24
- }
25
- }, [fileLocation, isLoading, isSuccess]);
26
- /**
27
- * Initiate file location request.
28
- */
29
- const onFileLocationRequested = async () => {
30
- // Prevent duplicate downloads
31
- setIsDownloading(true);
32
- run();
33
- };
34
- if (isDownloading)
35
- return (React.createElement(StyledIconButton, { color: "primary", Icon: LoadingIcon, size: "medium" }));
36
- return (React.createElement(React.Fragment, null,
37
- React.createElement(IconButton, { color: "primary", disabled: !url, Icon: isLoading ? LoadingIcon : DownloadIcon, onClick: onFileLocationRequested, size: "medium" }),
38
- React.createElement(Box, { component: "a", download: true, ref: downloadRef, sx: { display: "none" } })));
15
+ if (!fileUrl)
16
+ return;
17
+ if (!downloadRef.current)
18
+ return;
19
+ const downloadEl = downloadRef.current;
20
+ downloadEl.href = fileUrl;
21
+ downloadEl.click();
22
+ setIsRequestPending(false);
23
+ }, [fileUrl]);
24
+ return (React.createElement(Fragment, null,
25
+ isRequestPending ? (React.createElement(StyledIconButton, { color: "primary", "data-testid": AZUL_FILE_REQUEST_DOWNLOAD_PENDING_TEST_ID, Icon: LoadingIcon, size: "medium" })) : (React.createElement(IconButton, { color: "primary", "data-testid": AZUL_FILE_REQUEST_DOWNLOAD_TEST_ID, disabled: !url, Icon: isLoading ? LoadingIcon : DownloadIcon, onClick: () => {
26
+ setIsRequestPending(true);
27
+ run();
28
+ }, size: "medium" })),
29
+ React.createElement(Box, { component: "a", "data-testid": AZUL_FILE_DOWNLOAD_TEST_ID, download: true, ref: downloadRef, sx: { display: "none" } })));
39
30
  };
40
- /**
41
- * Prepend "/fetch" to the path of the specified file URL, if not already included. See #1596.
42
- * @param fileUrl - Original file URL as returned from Azul.
43
- * @returns Complete and correct URL to use when requesting file location from Azul or undefined if no fileUrl is passed.
44
- */
45
- function buildFetchFileUrl(fileUrl) {
46
- if (!fileUrl) {
47
- return;
48
- }
49
- try {
50
- const url = new URL(fileUrl);
51
- const path = url.pathname;
52
- if (!path.includes(API_FILE_LOCATION_FETCH)) {
53
- url.pathname = `${API_FILE_LOCATION_FETCH}${path}`;
54
- }
55
- return url.toString();
56
- }
57
- catch (error) {
58
- //console.log("error parsing file URL", fileUrl);
59
- return;
60
- }
61
- }
@@ -1,3 +1,5 @@
1
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("./azulFileDownload").AzulFileDownloadProps>;
1
+ import { ComponentMeta } from "@storybook/react";
2
+ import { AzulFileDownload } from "./azulFileDownload";
3
+ declare const _default: ComponentMeta<typeof AzulFileDownload>;
2
4
  export default _default;
3
- export declare const AzulFileDownloadStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./azulFileDownload").AzulFileDownloadProps>;
5
+ export declare const AzulFileDownloadStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./azulFileDownload").AzulFileDownloadProps>;
@@ -1,3 +1,3 @@
1
1
  export declare const StyledIconButton: import("@emotion/styled").StyledComponent<import("../../../common/IconButton/iconButton").IconButtonProps & {
2
- theme?: import("@emotion/react").Theme | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
3
  }, {}, {}>;
@@ -0,0 +1,3 @@
1
+ export declare const AZUL_FILE_DOWNLOAD_TEST_ID = "azul-file-download";
2
+ export declare const AZUL_FILE_REQUEST_DOWNLOAD_PENDING_TEST_ID = "azul-file-request-download-pending";
3
+ export declare const AZUL_FILE_REQUEST_DOWNLOAD_TEST_ID = "azul-file-request-download";
@@ -0,0 +1,3 @@
1
+ export const AZUL_FILE_DOWNLOAD_TEST_ID = "azul-file-download";
2
+ export const AZUL_FILE_REQUEST_DOWNLOAD_PENDING_TEST_ID = "azul-file-request-download-pending";
3
+ export const AZUL_FILE_REQUEST_DOWNLOAD_TEST_ID = "azul-file-request-download";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface CellProps {
3
2
  value?: number | string | string[];
4
3
  }
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const ExportButton: () => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const Button: import("@emotion/styled").StyledComponent<Omit<import("../../../../../common/Button/button").ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement> & {
3
- theme?: import("@emotion/react").Theme | undefined;
2
+ theme?: import("@emotion/react").Theme;
4
3
  }, {}, {}>;
@@ -1,3 +1,5 @@
1
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("./summaries").SummariesProps>;
1
+ import { ComponentMeta } from "@storybook/react";
2
+ import { Summaries } from "./summaries";
3
+ declare const _default: ComponentMeta<typeof Summaries>;
2
4
  export default _default;
3
- export declare const SummariesStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./summaries").SummariesProps>;
5
+ export declare const SummariesStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./summaries").SummariesProps>;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  export declare const Summary: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
5
  export declare const Dot: import("@emotion/styled").StyledComponent<import("../../../../../common/Dot/dot").DotProps & {
7
- theme?: import("@emotion/react").Theme | undefined;
6
+ theme?: import("@emotion/react").Theme;
8
7
  }, {}, {}>;
@@ -1,3 +1,5 @@
1
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("./hero").HeroProps>;
1
+ import { ComponentMeta } from "@storybook/react";
2
+ import { Hero } from "./hero";
3
+ declare const _default: ComponentMeta<typeof Hero>;
2
4
  export default _default;
3
- export declare const HeroStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./hero").HeroProps>;
5
+ export declare const HeroStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./hero").HeroProps>;
@@ -1,17 +1,16 @@
1
- /// <reference types="react" />
2
1
  interface Props {
3
2
  buttonWidget: boolean;
4
3
  }
5
4
  export declare const HeroLayout: import("@emotion/styled").StyledComponent<{
6
- theme?: import("@emotion/react").Theme | undefined;
7
- as?: import("react").ElementType<any> | undefined;
5
+ theme?: import("@emotion/react").Theme;
6
+ as?: React.ElementType;
8
7
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
8
  export declare const Widgets: import("@emotion/styled").StyledComponent<{
10
- theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any> | undefined;
9
+ theme?: import("@emotion/react").Theme;
10
+ as?: React.ElementType;
12
11
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
13
12
  export declare const SummaryWidget: import("@emotion/styled").StyledComponent<{
14
- theme?: import("@emotion/react").Theme | undefined;
15
- as?: import("react").ElementType<any> | undefined;
13
+ theme?: import("@emotion/react").Theme;
14
+ as?: React.ElementType;
16
15
  } & Props, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
17
16
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TooltipProps as MTooltipProps } from "@mui/material";
3
2
  export interface TooltipProps extends MTooltipProps {
4
3
  className?: string;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const TooltipContent: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { TypographyProps } from "../../../common/Typography/common/entities";
3
- export declare type MetadataValue = string;
2
+ export type MetadataValue = string;
4
3
  export interface NTagCellProps {
5
4
  label: string;
6
5
  TypographyProps?: TypographyProps;
@@ -1,3 +1,5 @@
1
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("./nTagCell").NTagCellProps>;
1
+ import { ComponentMeta } from "@storybook/react";
2
+ import { NTagCell } from "./nTagCell";
3
+ declare const _default: ComponentMeta<typeof NTagCell>;
2
4
  export default _default;
3
- export declare const NTagCellStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./nTagCell").NTagCellProps>;
5
+ export declare const NTagCellStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./nTagCell").NTagCellProps>;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const Tabs: () => JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  export declare const TitleCell: import("@emotion/styled").StyledComponent<import("../../../common/Grid/grid").GridProps & {
2
- theme?: import("@emotion/react").Theme | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
3
  }, {}, {}>;
@@ -1,6 +1,6 @@
1
- import { StoryObj } from "@storybook/react";
1
+ import { Meta, StoryObj } from "@storybook/react";
2
2
  import { Index } from "./index";
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("./index").IndexProps>;
3
+ declare const _default: Meta<typeof Index>;
4
4
  export default _default;
5
- declare type Story = StoryObj<typeof Index>;
5
+ type Story = StoryObj<typeof Index>;
6
6
  export declare const IndexStory: Story;
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  interface Props {
3
2
  marginTop: number;
4
3
  }
5
4
  export declare const Index: import("@emotion/styled").StyledComponent<{
6
- theme?: import("@emotion/react").Theme | undefined;
7
- as?: import("react").ElementType<any> | undefined;
5
+ theme?: import("@emotion/react").Theme;
6
+ as?: import("react").ElementType;
8
7
  } & Props, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
8
  export {};
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const AppLayout: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,5 +1,5 @@
1
1
  import React, { Fragment } from "react";
2
- import { BackPageContent, BackPageContentMainColumn, BackPageContentSideColumn, BackPageHero, BackPageTabs, BackPageView as BackPageLayout, DetailPageOverviewContent, DetailPageOverviewContentMainColumn, DetailPageOverviewContentSideColumn, } from "./backPageView.styles";
2
+ import { BackPageContent, BackPageContentMainColumn, BackPageContentSideColumn, BackPageHero, BackPageView as BackPageLayout, BackPageTabs, DetailPageOverviewContent, DetailPageOverviewContentMainColumn, DetailPageOverviewContentSideColumn, } from "./backPageView.styles";
3
3
  export const BackPageView = ({ isDetailOverview = false, mainColumn, sideColumn, Tabs, top, }) => {
4
4
  const Content = isDetailOverview
5
5
  ? DetailPageOverviewContent
@@ -1,3 +1,5 @@
1
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("./backPageView").BackPageViewProps>;
1
+ import { ComponentMeta } from "@storybook/react";
2
+ import { BackPageView } from "./backPageView";
3
+ declare const _default: ComponentMeta<typeof BackPageView>;
2
4
  export default _default;
3
- export declare const BackPageViewStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./backPageView").BackPageViewProps>;
5
+ export declare const BackPageViewStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./backPageView").BackPageViewProps>;
@@ -1,47 +1,46 @@
1
- /// <reference types="react" />
2
1
  export declare const BackPageView: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
5
  export declare const BackPageHero: import("@emotion/styled").StyledComponent<{
7
- theme?: import("@emotion/react").Theme | undefined;
8
- as?: import("react").ElementType<any> | undefined;
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
9
8
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
9
  export declare const BackPageTabs: import("@emotion/styled").StyledComponent<{
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
10
+ theme?: import("@emotion/react").Theme;
11
+ as?: React.ElementType;
13
12
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
13
  export declare const BackPageContent: import("@emotion/styled").StyledComponent<{
15
- theme?: import("@emotion/react").Theme | undefined;
16
- as?: import("react").ElementType<any> | undefined;
14
+ theme?: import("@emotion/react").Theme;
15
+ as?: React.ElementType;
17
16
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
18
17
  export declare const DetailPageOverviewContent: import("@emotion/styled").StyledComponent<{
19
- theme?: import("@emotion/react").Theme | undefined;
20
- as?: import("react").ElementType<any> | undefined;
18
+ theme?: import("@emotion/react").Theme;
19
+ as?: React.ElementType;
21
20
  } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
22
- theme?: import("@emotion/react").Theme | undefined;
21
+ theme?: import("@emotion/react").Theme;
23
22
  }, {}, {}>;
24
23
  export declare const BackPageContentSingleColumn: import("@emotion/styled").StyledComponent<{
25
- theme?: import("@emotion/react").Theme | undefined;
26
- as?: import("react").ElementType<any> | undefined;
24
+ theme?: import("@emotion/react").Theme;
25
+ as?: React.ElementType;
27
26
  } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
28
- theme?: import("@emotion/react").Theme | undefined;
27
+ theme?: import("@emotion/react").Theme;
29
28
  }, {}, {}>;
30
29
  export declare const BackPageContentMainColumn: import("@emotion/styled").StyledComponent<{
31
- theme?: import("@emotion/react").Theme | undefined;
32
- as?: import("react").ElementType<any> | undefined;
30
+ theme?: import("@emotion/react").Theme;
31
+ as?: React.ElementType;
33
32
  } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
34
- theme?: import("@emotion/react").Theme | undefined;
33
+ theme?: import("@emotion/react").Theme;
35
34
  }, {}, {}>;
36
35
  export declare const BackPageContentSideColumn: import("@emotion/styled").StyledComponent<{
37
- theme?: import("@emotion/react").Theme | undefined;
38
- as?: import("react").ElementType<any> | undefined;
36
+ theme?: import("@emotion/react").Theme;
37
+ as?: React.ElementType;
39
38
  } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
40
- theme?: import("@emotion/react").Theme | undefined;
39
+ theme?: import("@emotion/react").Theme;
41
40
  }, {}, {}>;
42
41
  export declare const DetailPageOverviewContentMainColumn: import("@emotion/styled").StyledComponent<import("../../../common/Sections/sections").SectionsProps & {
43
- theme?: import("@emotion/react").Theme | undefined;
42
+ theme?: import("@emotion/react").Theme;
44
43
  }, {}, {}>;
45
44
  export declare const DetailPageOverviewContentSideColumn: import("@emotion/styled").StyledComponent<import("../../../common/Sections/sections").SectionsProps & {
46
- theme?: import("@emotion/react").Theme | undefined;
45
+ theme?: import("@emotion/react").Theme;
47
46
  }, {}, {}>;
@@ -5,10 +5,11 @@ import { CallToAction } from "../../../../../common/Button/components/CallToActi
5
5
  * Back page hero component comprising breadcrumbs, title, status and tabs.
6
6
  */
7
7
  export interface BackPageHeroProps {
8
+ actions?: ReactNode;
8
9
  breadcrumbs?: Breadcrumb[];
9
10
  callToAction?: CallToAction;
10
11
  children?: ReactNode;
11
12
  subTitle?: ReactNode;
12
13
  title?: ReactNode;
13
14
  }
14
- export declare const BackPageHero: ({ breadcrumbs, callToAction, children, subTitle, title, }: BackPageHeroProps) => JSX.Element;
15
+ export declare const BackPageHero: ({ actions, breadcrumbs, callToAction, children, subTitle, title, }: BackPageHeroProps) => JSX.Element;
@@ -3,14 +3,15 @@ import { Breadcrumbs, } from "../../../../../common/Breadcrumbs/breadcrumbs";
3
3
  import { Title } from "../../../../../common/Title/title";
4
4
  import { BackPageHeroHeadline, CallToActionButton, HeroHeader, } from "./backPageHero.styles";
5
5
  import { SubTitle } from "./components/SubTitle/subTitle";
6
- export const BackPageHero = ({ breadcrumbs, callToAction, children, subTitle, title, }) => {
7
- const HeroHeadline = callToAction ? BackPageHeroHeadline : Fragment;
6
+ export const BackPageHero = ({ actions, breadcrumbs, callToAction, children, subTitle, title, }) => {
7
+ const HeroHeadline = actions || callToAction ? BackPageHeroHeadline : Fragment;
8
8
  return (React.createElement(React.Fragment, null,
9
9
  (breadcrumbs || title) && (React.createElement(HeroHeadline, null,
10
10
  React.createElement(HeroHeader, { gap: 1 },
11
11
  breadcrumbs && React.createElement(Breadcrumbs, { breadcrumbs: breadcrumbs }),
12
12
  title && React.createElement(Title, { title: title }),
13
13
  React.createElement(SubTitle, { subTitle: subTitle })),
14
+ actions,
14
15
  callToAction && React.createElement(CallToActionButton, { callToAction: callToAction }))),
15
16
  children));
16
17
  };
@@ -1,6 +1,6 @@
1
- import { StoryObj } from "@storybook/react";
1
+ import { Meta, StoryObj } from "@storybook/react";
2
2
  import { BackPageHero } from "./backPageHero";
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("./backPageHero").BackPageHeroProps>;
3
+ declare const _default: Meta<typeof BackPageHero>;
4
4
  export default _default;
5
- declare type Story = StoryObj<typeof BackPageHero>;
5
+ type Story = StoryObj<typeof BackPageHero>;
6
6
  export declare const BackPageHeroStory: Story;
@@ -1,20 +1,12 @@
1
- /// <reference types="react" />
2
1
  export declare const BackPageHeroHeadline: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
- export declare const HeroHeader: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
7
- children?: import("react").ReactNode;
8
- direction?: import("@mui/system").ResponsiveStyleValue<"row" | "column" | "column-reverse" | "row-reverse"> | undefined;
9
- spacing?: import("@mui/system").ResponsiveStyleValue<string | number> | undefined;
10
- divider?: import("react").ReactNode;
11
- useFlexGap?: boolean | undefined;
12
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
13
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
14
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
15
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "direction" | ("fontSize" | "fontWeight" | "lineHeight" | "textTransform" | "p" | "color" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontStyle" | "letterSpacing" | "textAlign") | "sx" | "spacing" | "divider" | "useFlexGap"> & {
16
- theme?: import("@emotion/react").Theme | undefined;
5
+ export declare const HeroHeader: import("@emotion/styled").StyledComponent<import("@mui/material").StackOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
7
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/material").StackOwnProps> & {
8
+ theme?: import("@emotion/react").Theme;
17
9
  }, {}, {}>;
18
10
  export declare const CallToActionButton: import("@emotion/styled").StyledComponent<import("../../../../../common/Button/components/CallToActionButton/callToActionButton").CallToActionButtonProps & {
19
- theme?: import("@emotion/react").Theme | undefined;
11
+ theme?: import("@emotion/react").Theme;
20
12
  }, {}, {}>;
@@ -1,6 +1,6 @@
1
1
  import styled from "@emotion/styled";
2
2
  import { Stack } from "@mui/material";
3
- import { TABLET } from "../../../../../../theme/common/breakpoints";
3
+ import { mediaTabletUp } from "../../../../../../styles/common/mixins/breakpoints";
4
4
  import { CallToActionButton as CTAButton } from "../../../../../common/Button/components/CallToActionButton/callToActionButton";
5
5
  export const BackPageHeroHeadline = styled.div `
6
6
  display: contents;
@@ -9,7 +9,7 @@ export const BackPageHeroHeadline = styled.div `
9
9
  grid-column: 1 / -1; // Title and breadcrumbs consume full width of available grid.
10
10
  }
11
11
 
12
- ${({ theme }) => theme.breakpoints.up(TABLET)} {
12
+ ${mediaTabletUp} {
13
13
  display: flex;
14
14
  flex: 1;
15
15
  gap: 88px;
@@ -26,7 +26,7 @@ export const CallToActionButton = styled(CTAButton) `
26
26
  align-self: center;
27
27
  justify-self: flex-start;
28
28
 
29
- ${({ theme }) => theme.breakpoints.up(TABLET)} {
29
+ ${mediaTabletUp} {
30
30
  justify-self: flex-end;
31
31
  }
32
32
  `;
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from "react";
2
+ export interface ActionsProps {
3
+ children: ReactNode;
4
+ className?: string;
5
+ }
6
+ export declare const Actions: ({ children, className }: ActionsProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { BackPageHeroActions } from "./actions.styles";
3
+ export const Actions = ({ children, className }) => {
4
+ return (React.createElement(BackPageHeroActions, { className: className }, children));
5
+ };
@@ -0,0 +1,4 @@
1
+ export declare const BackPageHeroActions: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,13 @@
1
+ import styled from "@emotion/styled";
2
+ import { mediaTabletUp } from "../../../../../../../../styles/common/mixins/breakpoints";
3
+ export const BackPageHeroActions = styled.div `
4
+ align-items: center;
5
+ align-self: center;
6
+ display: flex;
7
+ gap: 16px;
8
+ justify-self: flex-start;
9
+
10
+ ${mediaTabletUp} {
11
+ justify-self: flex-end;
12
+ }
13
+ `;
@@ -8,4 +8,4 @@ export declare enum PANEL_BACKGROUND_COLOR {
8
8
  SMOKE_LIGHT = "SMOKE_LIGHT",
9
9
  SMOKE_LIGHTEST = "SMOKE_LIGHTEST"
10
10
  }
11
- export declare type PanelBackgroundColor = keyof typeof PANEL_BACKGROUND_COLOR;
11
+ export type PanelBackgroundColor = keyof typeof PANEL_BACKGROUND_COLOR;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PanelBackgroundColor } from "./common/entities";
3
2
  interface LayoutProps {
4
3
  panelColor?: PanelBackgroundColor;
@@ -8,35 +7,35 @@ interface GridProps {
8
7
  panelColor?: PanelBackgroundColor;
9
8
  }
10
9
  export declare const ContentLayout: import("@emotion/styled").StyledComponent<{
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
10
+ theme?: import("@emotion/react").Theme;
11
+ as?: React.ElementType;
13
12
  } & LayoutProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
13
  export declare const NavigationGrid: import("@emotion/styled").StyledComponent<{
15
- theme?: import("@emotion/react").Theme | undefined;
16
- as?: import("react").ElementType<any> | undefined;
14
+ theme?: import("@emotion/react").Theme;
15
+ as?: React.ElementType;
17
16
  } & GridProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
18
17
  export declare const ContentGrid: import("@emotion/styled").StyledComponent<{
19
- theme?: import("@emotion/react").Theme | undefined;
20
- as?: import("react").ElementType<any> | undefined;
18
+ theme?: import("@emotion/react").Theme;
19
+ as?: React.ElementType;
21
20
  } & GridProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
22
21
  export declare const OutlineGrid: import("@emotion/styled").StyledComponent<{
23
- theme?: import("@emotion/react").Theme | undefined;
24
- as?: import("react").ElementType<any> | undefined;
22
+ theme?: import("@emotion/react").Theme;
23
+ as?: import("react").ElementType;
25
24
  } & GridProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
26
25
  export declare const Positioner: import("@emotion/styled").StyledComponent<{
27
- theme?: import("@emotion/react").Theme | undefined;
28
- as?: import("react").ElementType<any> | undefined;
26
+ theme?: import("@emotion/react").Theme;
27
+ as?: React.ElementType;
29
28
  } & GridProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
30
29
  export declare const Navigation: import("@emotion/styled").StyledComponent<{
31
- theme?: import("@emotion/react").Theme | undefined;
32
- as?: import("react").ElementType<any> | undefined;
30
+ theme?: import("@emotion/react").Theme;
31
+ as?: React.ElementType;
33
32
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
34
33
  export declare const Content: import("@emotion/styled").StyledComponent<{
35
- theme?: import("@emotion/react").Theme | undefined;
36
- as?: import("react").ElementType<any> | undefined;
34
+ theme?: import("@emotion/react").Theme;
35
+ as?: React.ElementType;
37
36
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
38
37
  export declare const Outline: import("@emotion/styled").StyledComponent<{
39
- theme?: import("@emotion/react").Theme | undefined;
40
- as?: import("react").ElementType<any> | undefined;
38
+ theme?: import("@emotion/react").Theme;
39
+ as?: React.ElementType;
41
40
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
42
41
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ComponentsConfig } from "../../../../config/entities";
3
2
  export interface FloatingProps {
4
3
  components?: ComponentsConfig;
@@ -1,6 +1,6 @@
1
- import { StoryObj } from "@storybook/react";
1
+ import { Meta, StoryObj } from "@storybook/react";
2
2
  import { Footer } from "./footer";
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("./footer").FooterProps>;
3
+ declare const _default: Meta<typeof Footer>;
4
4
  export default _default;
5
- declare type Story = StoryObj<typeof Footer>;
5
+ type Story = StoryObj<typeof Footer>;
6
6
  export declare const FooterStory: Story;
@@ -1,12 +1,12 @@
1
- /// <reference types="react" />
2
- export declare const AppBar: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").AppBarTypeMap<{}, "header">>;
1
+ import { AppBar as MAppBar } from "@mui/material";
2
+ export declare const AppBar: typeof MAppBar;
3
3
  export declare const Links: import("@emotion/styled").StyledComponent<{
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
4
+ theme?: import("@emotion/react").Theme;
5
+ as?: React.ElementType;
6
6
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
7
  export declare const Link: import("@emotion/styled").StyledComponent<import("../../../Links/components/Link/link").LinkProps & {
8
- theme?: import("@emotion/react").Theme | undefined;
8
+ theme?: import("@emotion/react").Theme;
9
9
  }, {}, {}>;
10
10
  export declare const Socials: import("@emotion/styled").StyledComponent<import("../../../common/Socials/socials").SocialsProps & import("react").RefAttributes<HTMLDivElement> & {
11
- theme?: import("@emotion/react").Theme | undefined;
11
+ theme?: import("@emotion/react").Theme;
12
12
  }, {}, {}>;