@databiosphere/findable-ui 41.2.0 → 42.0.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 (465) hide show
  1. package/.release-please-manifest.json +1 -1
  2. package/CHANGELOG.md +32 -0
  3. package/lib/components/DataDictionary/components/Description/description.styles.d.ts +1 -1
  4. package/lib/components/DataDictionary/components/Description/description.styles.js +5 -10
  5. package/lib/components/DataDictionary/components/Entity/entity.js +2 -2
  6. package/lib/components/DataDictionary/components/Entity/entity.styles.js +2 -2
  7. package/lib/components/DataDictionary/components/Filters/components/ColumnFilterTags/columnFilterTags.styles.d.ts +1 -1
  8. package/lib/components/DataDictionary/components/Filters/filters.styles.d.ts +1 -1
  9. package/lib/components/DataDictionary/components/Layout/components/FiltersLayout/filtersLayout.styles.js +2 -2
  10. package/lib/components/DataDictionary/components/Layout/components/TitleLayout/titleLayout.styles.js +2 -2
  11. package/lib/components/DataDictionary/components/Outline/outline.styles.js +4 -4
  12. package/lib/components/DataDictionary/components/Table/table.styles.d.ts +1 -1
  13. package/lib/components/DataDictionary/components/Title/title.styles.d.ts +1 -1
  14. package/lib/components/DataDictionary/components/Tooltip/components/Title/constants.d.ts +1 -2
  15. package/lib/components/DataDictionary/components/Tooltip/components/Title/constants.js +0 -4
  16. package/lib/components/DataDictionary/components/Tooltip/components/Title/title.js +4 -4
  17. package/lib/components/DataDictionary/components/Tooltip/constants.js +8 -7
  18. package/lib/components/DataDictionary/dataDictionary.styles.js +2 -2
  19. package/lib/components/Detail/components/Table/table.js +2 -3
  20. package/lib/components/Error/error.js +4 -3
  21. package/lib/components/Error/error.styles.js +4 -4
  22. package/lib/components/Export/components/ExportForm/exportForm.styles.d.ts +3 -3
  23. package/lib/components/Export/components/ExportForm/exportForm.styles.js +11 -11
  24. package/lib/components/Export/components/ExportMethod/exportMethod.js +4 -3
  25. package/lib/components/Export/components/ExportMethod/exportMethod.styles.d.ts +0 -4
  26. package/lib/components/Export/components/ExportMethod/exportMethod.styles.js +0 -6
  27. package/lib/components/Export/components/ExportSummary/exportSummary.styles.js +6 -5
  28. package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.js +5 -3
  29. package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.styles.js +1 -1
  30. package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.js +2 -2
  31. package/lib/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.styles.js +10 -10
  32. package/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.styles.js +7 -7
  33. package/lib/components/Export/export.styles.d.ts +1 -1
  34. package/lib/components/Export/export.styles.js +6 -6
  35. package/lib/components/Filter/components/ClearAllFilters/clearAllFilters.styles.d.ts +1 -1
  36. package/lib/components/Filter/components/FilterCountChip/filterCountChip.styles.d.ts +1 -1
  37. package/lib/components/Filter/components/FilterLabel/filterLabel.styles.d.ts +1 -1
  38. package/lib/components/Filter/components/FilterLabel/filterLabel.styles.js +2 -3
  39. package/lib/components/Filter/components/FilterList/filterList.styles.d.ts +1 -1
  40. package/lib/components/Filter/components/FilterMenuSearch/filterMenuSearch.styles.js +2 -2
  41. package/lib/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.js +3 -2
  42. package/lib/components/Filter/components/FilterRange/filterRange.styles.js +2 -2
  43. package/lib/components/Filter/components/FilterTag/filterTag.styles.d.ts +1 -1
  44. package/lib/components/Filter/components/FilterTag/filterTag.styles.js +2 -1
  45. package/lib/components/Filter/components/Filters/filters.js +1 -1
  46. package/lib/components/Filter/components/Filters/filters.styles.d.ts +1 -1
  47. package/lib/components/Filter/components/Filters/filters.styles.js +4 -4
  48. package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.styles.js +2 -1
  49. package/lib/components/Filter/components/SearchAllFilters/components/AutocompletePopper/autocompletePopper.styles.js +4 -4
  50. package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.js +7 -8
  51. package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.js +2 -2
  52. package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.js +5 -6
  53. package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.styles.js +2 -2
  54. package/lib/components/Filter/components/SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton.js +3 -4
  55. package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.styles.js +3 -3
  56. package/lib/components/Filter/components/VariableSizeListItem/variableSizeListItem.js +2 -2
  57. package/lib/components/Filter/components/controls/Controls/controls.js +1 -1
  58. package/lib/components/Filter/components/controls/Controls/controls.styles.d.ts +1 -1
  59. package/lib/components/Filter/components/surfaces/drawer/components/ButtonBase/buttonBase.styles.d.ts +1 -1
  60. package/lib/components/Filter/components/surfaces/drawer/components/ButtonBase/buttonBase.styles.js +2 -2
  61. package/lib/components/Filter/components/surfaces/drawer/components/IconButton/iconButton.styles.d.ts +1 -1
  62. package/lib/components/Filter/components/views/select/components/ListItemButton/listItemButton.d.ts +1 -1
  63. package/lib/components/Filter/components/views/select/components/ListItemButton/listItemButton.styles.d.ts +1 -1
  64. package/lib/components/Filter/components/views/select/components/ListItemText/components/Count/count.js +1 -1
  65. package/lib/components/Filter/components/views/select/components/ListItemText/components/Term/term.js +1 -1
  66. package/lib/components/Index/components/EntityView/components/controls/ExportButton/exportButton.styles.js +2 -2
  67. package/lib/components/Index/components/EntityView/components/controls/FilterButton/filterButton.styles.d.ts +1 -1
  68. package/lib/components/Index/components/EntityView/components/controls/FilterButton/filterButton.styles.js +2 -2
  69. package/lib/components/Index/components/EntityView/components/layout/Summary/summary.js +2 -2
  70. package/lib/components/Index/components/EntityView/components/layout/Summary/summary.styles.d.ts +1 -1
  71. package/lib/components/Index/components/EntityView/components/layout/Summary/summary.styles.js +2 -1
  72. package/lib/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.styles.d.ts +1 -1
  73. package/lib/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.styles.js +2 -2
  74. package/lib/components/Index/components/EntityView/components/views/ChartView/chartView.js +1 -1
  75. package/lib/components/Index/components/EntityView/components/views/ChartView/chartView.styles.d.ts +1 -1
  76. package/lib/components/Index/components/EntityView/components/views/ChartView/components/Chart/chart.styles.d.ts +1 -1
  77. package/lib/components/Index/components/EntityView/components/views/ChartView/components/Chart/chart.styles.js +4 -4
  78. package/lib/components/Index/index.styles.d.ts +4 -4
  79. package/lib/components/Index/index.styles.js +2 -2
  80. package/lib/components/Layout/components/BackPage/backPageView.styles.js +11 -10
  81. package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.js +3 -3
  82. package/lib/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.styles.js +2 -2
  83. package/lib/components/Layout/components/BackPage/components/BackPageHero/components/SubTitle/subTitle.js +2 -2
  84. package/lib/components/Layout/components/ContentLayout/contentLayout.styles.js +18 -19
  85. package/lib/components/Layout/components/Footer/components/VersionInfo/components/Tooltip/components/Title/title.js +2 -2
  86. package/lib/components/Layout/components/Footer/components/VersionInfo/versionInfo.styles.d.ts +1 -1
  87. package/lib/components/Layout/components/Footer/components/VersionInfo/versionInfo.styles.js +2 -2
  88. package/lib/components/Layout/components/Footer/footer.styles.js +8 -8
  89. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.d.ts +4 -4
  90. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.js +2 -1
  91. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/Button/button.styles.d.ts +1 -1
  92. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Navigation/navigation.styles.js +3 -3
  93. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/Button/button.styles.d.ts +1 -1
  94. package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.js +4 -4
  95. package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.styles.js +6 -5
  96. package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.d.ts +1 -1
  97. package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.js +7 -7
  98. package/lib/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/navigationMenuItems.js +5 -5
  99. package/lib/components/Layout/components/Header/components/Content/components/Navigation/navigation.styles.js +2 -2
  100. package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.js +2 -2
  101. package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.d.ts +1 -1
  102. package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.js +4 -4
  103. package/lib/components/Layout/components/Header/header.styles.js +2 -2
  104. package/lib/components/Layout/components/Nav/components/NavBarHero/navBarHero.styles.js +2 -1
  105. package/lib/components/Layout/components/Nav/nav.styles.d.ts +1 -1
  106. package/lib/components/Layout/components/Nav/nav.styles.js +8 -6
  107. package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.d.ts +1 -1
  108. package/lib/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.js +5 -4
  109. package/lib/components/Layout/components/Outline/outline.styles.d.ts +2 -2
  110. package/lib/components/Layout/components/Outline/outline.styles.js +8 -8
  111. package/lib/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.js +6 -6
  112. package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.js +5 -5
  113. package/lib/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.js +2 -2
  114. package/lib/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.styles.js +2 -2
  115. package/lib/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.js +2 -2
  116. package/lib/components/Layout/components/Sidebar/sidebar.js +4 -5
  117. package/lib/components/Layout/components/Sidebar/sidebar.styles.js +2 -2
  118. package/lib/components/Links/components/Link/link.js +2 -1
  119. package/lib/components/Loading/loading.js +2 -1
  120. package/lib/components/Loading/loading.styles.js +2 -2
  121. package/lib/components/Login/components/Button/button.styles.d.ts +1 -1
  122. package/lib/components/Login/components/Section/components/Consent/consent.js +2 -2
  123. package/lib/components/Login/components/Section/components/Consent/consent.styles.d.ts +1 -1
  124. package/lib/components/Login/components/Section/components/Consent/consent.styles.js +1 -1
  125. package/lib/components/Login/components/Section/components/Warning/warning.js +1 -1
  126. package/lib/components/Login/login.js +6 -5
  127. package/lib/components/Login/login.styles.d.ts +2 -12
  128. package/lib/components/Login/login.styles.js +4 -13
  129. package/lib/components/MarkdownRenderer/components/Table/table.styles.js +2 -2
  130. package/lib/components/MarkdownRenderer/markdownRenderer.js +1 -1
  131. package/lib/components/NoResults/noResults.js +1 -1
  132. package/lib/components/NoResults/noResults.styles.js +2 -2
  133. package/lib/components/Project/components/Contacts/contacts.js +2 -1
  134. package/lib/components/Project/components/Details/details.js +3 -2
  135. package/lib/components/Project/components/SupplementaryLinks/supplementaryLinks.styles.js +2 -1
  136. package/lib/components/Stepper/components/Step/components/StepContent/stepContent.styles.js +2 -2
  137. package/lib/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.styles.d.ts +1 -1
  138. package/lib/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.styles.js +3 -3
  139. package/lib/components/Stepper/components/Step/components/StepIcon/stepIcon.styles.js +5 -5
  140. package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/constants.js +1 -1
  141. package/lib/components/Stepper/components/Step/components/StepLabel/components/Label/label.styles.d.ts +1 -1
  142. package/lib/components/Stepper/components/Step/components/StepLabel/components/Optional/constants.js +1 -1
  143. package/lib/components/Stepper/components/Step/step.styles.d.ts +1 -1
  144. package/lib/components/Stepper/components/Step/step.styles.js +5 -5
  145. package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.styles.d.ts +1 -1
  146. package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.styles.js +5 -6
  147. package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.js +4 -4
  148. package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.d.ts +0 -4
  149. package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.js +0 -5
  150. package/lib/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.js +3 -3
  151. package/lib/components/Support/components/ViewSupport/viewSupport.styles.js +6 -6
  152. package/lib/components/Table/common/gridTable.styles.js +1 -2
  153. package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.styles.d.ts +1 -1
  154. package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.styles.js +2 -2
  155. package/lib/components/Table/components/PaginationSummary/paginationSummary.js +5 -4
  156. package/lib/components/Table/components/TableCell/components/BasicCell/basicCell.js +3 -2
  157. package/lib/components/Table/components/TableCell/components/CodeCell/codeCell.styles.d.ts +1 -1
  158. package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.js +2 -2
  159. package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.js +5 -5
  160. package/lib/components/Table/components/TableCell/components/LinkCell/stories/args.js +1 -1
  161. package/lib/components/Table/components/TableCell/components/NTagCell/nTagCell.js +2 -2
  162. package/lib/components/Table/components/TableFeatures/ColumnFilter/columnFilter.js +1 -1
  163. package/lib/components/Table/components/TableFeatures/ColumnFilter/columnFilter.styles.d.ts +1 -1
  164. package/lib/components/Table/components/TableFeatures/ColumnFilter/components/ColumnFilterTag/columnFilterTag.styles.d.ts +1 -1
  165. package/lib/components/Table/components/TablePagination/tablePagination.js +1 -1
  166. package/lib/components/Table/components/TablePagination/tablePagination.styles.d.ts +1 -1
  167. package/lib/components/Table/components/TableRow/tableRow.styles.js +2 -2
  168. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.js +2 -2
  169. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.styles.js +5 -5
  170. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.js +2 -2
  171. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.styles.js +5 -5
  172. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.js +2 -2
  173. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.styles.js +1 -1
  174. package/lib/components/Table/components/TableToolbar/components/RowSelection/rowSelection.js +2 -2
  175. package/lib/components/Table/table.js +2 -3
  176. package/lib/components/Table/table.styles.js +2 -2
  177. package/lib/components/common/Accordion/accordion.js +2 -2
  178. package/lib/components/common/Alert/alert.styles.js +3 -3
  179. package/lib/components/common/Banner/banner.styles.js +4 -4
  180. package/lib/components/common/Banner/components/CookieBanner/cookieBanner.styles.js +4 -4
  181. package/lib/components/common/Button/components/DropdownButton/dropdownButton.styles.d.ts +1 -1
  182. package/lib/components/common/Button/components/HelpIconButton/helpIconButton.styles.js +2 -1
  183. package/lib/components/common/Button/components/NavigationButton/navigationButton.styles.js +5 -4
  184. package/lib/components/common/Card/card.styles.js +2 -2
  185. package/lib/components/common/Card/components/CardActions/cardActions.styles.js +2 -2
  186. package/lib/components/common/Card/components/CardSecondaryText/cardSecondaryText.d.ts +2 -5
  187. package/lib/components/common/Card/components/CardSecondaryText/cardSecondaryText.js +3 -3
  188. package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.d.ts +2 -5
  189. package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.js +4 -4
  190. package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.d.ts +2 -2
  191. package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.js +1 -1
  192. package/lib/components/common/Card/components/CardText/cardText.d.ts +2 -5
  193. package/lib/components/common/Card/components/CardText/cardText.js +3 -3
  194. package/lib/components/common/Card/components/CardTitle/cardTitle.d.ts +2 -5
  195. package/lib/components/common/Card/components/CardTitle/cardTitle.js +3 -3
  196. package/lib/components/common/Code/code.styles.js +10 -9
  197. package/lib/components/common/Dot/dot.styles.js +2 -1
  198. package/lib/components/common/Form/components/Input/input.js +2 -2
  199. package/lib/components/common/Form/components/Input/input.styles.d.ts +1 -1
  200. package/lib/components/common/Form/components/Input/input.styles.js +4 -4
  201. package/lib/components/common/Form/components/Select/select.js +2 -2
  202. package/lib/components/common/Form/components/Select/select.styles.d.ts +1 -1
  203. package/lib/components/common/Form/components/Select/select.styles.js +3 -3
  204. package/lib/components/common/Form/components/UploadFile/uploadFile.js +3 -3
  205. package/lib/components/common/Form/components/UploadFile/uploadFile.styles.d.ts +1 -1
  206. package/lib/components/common/Form/components/UploadFile/uploadFile.styles.js +10 -10
  207. package/lib/components/common/IconBadge/iconBadge.styles.js +13 -13
  208. package/lib/components/common/IconButton/iconButton.styles.d.ts +1 -1
  209. package/lib/components/common/IconButton/iconButton.styles.js +3 -3
  210. package/lib/components/common/Input/input.js +2 -2
  211. package/lib/components/common/Input/input.styles.d.ts +1 -1
  212. package/lib/components/common/Input/input.styles.js +3 -2
  213. package/lib/components/common/KeyValuePairs/components/KeyElType/keyElType.js +1 -1
  214. package/lib/components/common/KeyValuePairs/components/ValueElType/valueElType.js +1 -1
  215. package/lib/components/common/LoginDialog/constants.js +2 -2
  216. package/lib/components/common/MDXMarkdown/components/Section/mdxSection.styles.js +4 -4
  217. package/lib/components/common/Paper/components/FlatPaper/flatPaper.styles.d.ts +1 -1
  218. package/lib/components/common/Paper/components/FluidPaper/fluidPaper.styles.d.ts +1 -1
  219. package/lib/components/common/Paper/components/FluidPaper/fluidPaper.styles.js +2 -2
  220. package/lib/components/common/Paper/components/RoundedPaper/roundedPaper.styles.d.ts +1 -1
  221. package/lib/components/common/Paper/paper.styles.js +24 -24
  222. package/lib/components/common/Progress/components/CircularProgress/components/CircularProgressTrack/circularProgressTrack.styles.js +6 -6
  223. package/lib/components/common/Section/components/CollapsableSection/collapsableSection.js +8 -8
  224. package/lib/components/common/Section/components/CollapsableSection/collapsableSection.styles.d.ts +1 -1
  225. package/lib/components/common/Section/components/CollapsableSection/collapsableSection.styles.js +6 -5
  226. package/lib/components/common/Section/components/SectionTitle/sectionTitle.js +2 -1
  227. package/lib/components/common/Section/section.styles.d.ts +1 -1
  228. package/lib/components/common/Section/section.styles.js +4 -4
  229. package/lib/components/common/Socials/socials.styles.js +3 -3
  230. package/lib/components/common/StatusIcon/statusIcon.styles.js +13 -12
  231. package/lib/components/common/Tabs/tabs.styles.d.ts +1 -1
  232. package/lib/components/common/Tag/tag.d.ts +3 -6
  233. package/lib/components/common/Tag/tag.js +3 -2
  234. package/lib/components/common/Tag/tag.stories.d.ts +1 -1
  235. package/lib/components/common/Tag/tag.styles.d.ts +10 -2
  236. package/lib/components/common/Tag/tag.styles.js +4 -3
  237. package/lib/components/common/Title/title.js +1 -1
  238. package/lib/components/common/Typography/TypographyWordBreak/TypographyWordBreak.js +2 -1
  239. package/lib/styles/common/constants/app.d.ts +3 -0
  240. package/lib/styles/common/constants/app.js +3 -0
  241. package/lib/styles/common/constants/colorMixes.d.ts +1 -0
  242. package/lib/styles/common/constants/colorMixes.js +1 -0
  243. package/lib/styles/common/constants/font.d.ts +18 -0
  244. package/lib/styles/common/constants/font.js +18 -0
  245. package/lib/styles/common/constants/palette.d.ts +45 -45
  246. package/lib/styles/common/constants/palette.js +45 -45
  247. package/lib/styles/common/constants/shadows.js +3 -3
  248. package/lib/styles/common/mixins/breakpoints.d.ts +9 -7
  249. package/lib/styles/common/mixins/breakpoints.js +8 -7
  250. package/lib/styles/common/mui/typography.d.ts +32 -3
  251. package/lib/styles/common/mui/typography.js +22 -10
  252. package/lib/theme/common/breakpoints.d.ts +6 -27
  253. package/lib/theme/common/breakpoints.js +14 -36
  254. package/lib/theme/common/components.d.ts +2 -226
  255. package/lib/theme/common/components.js +1045 -1223
  256. package/lib/theme/common/fontStyles.d.ts +8 -0
  257. package/lib/theme/common/fontStyles.js +12 -0
  258. package/lib/theme/common/palette.d.ts +2 -42
  259. package/lib/theme/common/palette.js +22 -73
  260. package/lib/theme/common/typography.d.ts +2 -70
  261. package/lib/theme/common/typography.js +78 -126
  262. package/lib/theme/components/muiAlert.d.ts +2 -2
  263. package/lib/theme/components/muiAlert.js +95 -96
  264. package/lib/theme/components/muiAlertTitle.js +2 -2
  265. package/lib/theme/components/muiTableCell.d.ts +2 -2
  266. package/lib/theme/components/muiTableCell.js +43 -46
  267. package/lib/theme/theme.d.ts +0 -7
  268. package/lib/theme/theme.js +22 -100
  269. package/lib/theme/types.d.ts +4 -0
  270. package/lib/theme/types.js +1 -0
  271. package/package.json +1 -1
  272. package/src/components/DataDictionary/components/Description/description.styles.ts +5 -13
  273. package/src/components/DataDictionary/components/Entity/entity.styles.ts +2 -2
  274. package/src/components/DataDictionary/components/Entity/entity.tsx +2 -2
  275. package/src/components/DataDictionary/components/Layout/components/FiltersLayout/filtersLayout.styles.ts +2 -2
  276. package/src/components/DataDictionary/components/Layout/components/TitleLayout/titleLayout.styles.ts +2 -2
  277. package/src/components/DataDictionary/components/Outline/outline.styles.ts +4 -8
  278. package/src/components/DataDictionary/components/Tooltip/components/Title/constants.ts +1 -6
  279. package/src/components/DataDictionary/components/Tooltip/components/Title/title.tsx +8 -4
  280. package/src/components/DataDictionary/components/Tooltip/constants.ts +8 -7
  281. package/src/components/DataDictionary/dataDictionary.styles.ts +2 -5
  282. package/src/components/Detail/components/Table/table.tsx +2 -3
  283. package/src/components/Error/error.styles.ts +4 -4
  284. package/src/components/Error/error.tsx +10 -3
  285. package/src/components/Export/components/ExportForm/exportForm.styles.ts +12 -12
  286. package/src/components/Export/components/ExportMethod/exportMethod.styles.ts +0 -7
  287. package/src/components/Export/components/ExportMethod/exportMethod.tsx +14 -3
  288. package/src/components/Export/components/ExportSummary/exportSummary.styles.ts +6 -5
  289. package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.styles.ts +1 -1
  290. package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.tsx +9 -8
  291. package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.styles.ts +10 -15
  292. package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.tsx +5 -2
  293. package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.styles.ts +7 -7
  294. package/src/components/Export/export.styles.ts +7 -7
  295. package/src/components/Filter/components/FilterLabel/filterLabel.styles.ts +2 -3
  296. package/src/components/Filter/components/FilterMenuSearch/filterMenuSearch.styles.ts +2 -2
  297. package/src/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.tsx +4 -3
  298. package/src/components/Filter/components/FilterRange/filterRange.styles.ts +2 -2
  299. package/src/components/Filter/components/FilterTag/filterTag.styles.ts +2 -1
  300. package/src/components/Filter/components/Filters/filters.styles.ts +4 -4
  301. package/src/components/Filter/components/Filters/filters.tsx +1 -1
  302. package/src/components/Filter/components/HighlightedLabel/highlightedLabel.styles.ts +2 -1
  303. package/src/components/Filter/components/SearchAllFilters/components/AutocompletePopper/autocompletePopper.styles.ts +4 -4
  304. package/src/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.tsx +7 -11
  305. package/src/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.tsx +3 -3
  306. package/src/components/Filter/components/SearchAllFilters/searchAllFilters.styles.ts +2 -2
  307. package/src/components/Filter/components/SearchAllFilters/searchAllFilters.tsx +7 -8
  308. package/src/components/Filter/components/SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton.tsx +3 -7
  309. package/src/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.styles.ts +3 -3
  310. package/src/components/Filter/components/VariableSizeListItem/variableSizeListItem.tsx +3 -3
  311. package/src/components/Filter/components/controls/Controls/controls.tsx +1 -1
  312. package/src/components/Filter/components/surfaces/drawer/components/ButtonBase/buttonBase.styles.ts +2 -2
  313. package/src/components/Filter/components/views/select/components/ListItemText/components/Count/count.tsx +1 -1
  314. package/src/components/Filter/components/views/select/components/ListItemText/components/Term/term.tsx +1 -1
  315. package/src/components/Index/components/EntityView/components/controls/ExportButton/exportButton.styles.ts +2 -2
  316. package/src/components/Index/components/EntityView/components/controls/FilterButton/filterButton.styles.ts +2 -2
  317. package/src/components/Index/components/EntityView/components/layout/Summary/summary.styles.ts +2 -1
  318. package/src/components/Index/components/EntityView/components/layout/Summary/summary.tsx +2 -2
  319. package/src/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.styles.ts +2 -2
  320. package/src/components/Index/components/EntityView/components/views/ChartView/chartView.tsx +1 -1
  321. package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/chart.styles.ts +4 -4
  322. package/src/components/Index/index.styles.ts +2 -2
  323. package/src/components/Layout/components/BackPage/backPageView.styles.ts +11 -10
  324. package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.ts +3 -3
  325. package/src/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.styles.ts +2 -2
  326. package/src/components/Layout/components/BackPage/components/BackPageHero/components/SubTitle/subTitle.tsx +6 -2
  327. package/src/components/Layout/components/ContentLayout/contentLayout.styles.ts +20 -36
  328. package/src/components/Layout/components/Footer/components/VersionInfo/components/Tooltip/components/Title/title.tsx +5 -2
  329. package/src/components/Layout/components/Footer/components/VersionInfo/versionInfo.styles.ts +2 -2
  330. package/src/components/Layout/components/Footer/footer.styles.ts +8 -8
  331. package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.ts +2 -1
  332. package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Navigation/navigation.styles.ts +3 -6
  333. package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.ts +4 -7
  334. package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.styles.ts +6 -8
  335. package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.ts +8 -12
  336. package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/navigationMenuItems.tsx +5 -10
  337. package/src/components/Layout/components/Header/components/Content/components/Navigation/navigation.styles.ts +2 -2
  338. package/src/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.ts +4 -4
  339. package/src/components/Layout/components/Header/components/Content/components/Slogan/slogan.tsx +5 -2
  340. package/src/components/Layout/components/Header/header.styles.ts +2 -2
  341. package/src/components/Layout/components/Nav/components/NavBarHero/navBarHero.styles.ts +2 -1
  342. package/src/components/Layout/components/Nav/nav.styles.ts +8 -10
  343. package/src/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.ts +5 -4
  344. package/src/components/Layout/components/Outline/outline.styles.ts +10 -13
  345. package/src/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.ts +7 -10
  346. package/src/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.ts +5 -8
  347. package/src/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.tsx +5 -2
  348. package/src/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.styles.ts +2 -2
  349. package/src/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.ts +2 -2
  350. package/src/components/Layout/components/Sidebar/sidebar.styles.ts +2 -2
  351. package/src/components/Layout/components/Sidebar/sidebar.tsx +4 -8
  352. package/src/components/Links/components/Link/link.tsx +2 -1
  353. package/src/components/Loading/loading.styles.ts +2 -2
  354. package/src/components/Loading/loading.tsx +6 -1
  355. package/src/components/Login/components/Section/components/Consent/consent.styles.ts +1 -1
  356. package/src/components/Login/components/Section/components/Consent/consent.tsx +4 -2
  357. package/src/components/Login/components/Section/components/Warning/warning.tsx +1 -1
  358. package/src/components/Login/login.styles.ts +5 -19
  359. package/src/components/Login/login.tsx +30 -7
  360. package/src/components/MarkdownRenderer/components/Table/table.styles.ts +2 -2
  361. package/src/components/MarkdownRenderer/markdownRenderer.tsx +1 -1
  362. package/src/components/NoResults/noResults.styles.ts +2 -2
  363. package/src/components/NoResults/noResults.tsx +1 -1
  364. package/src/components/Project/components/Contacts/contacts.tsx +7 -1
  365. package/src/components/Project/components/Details/details.tsx +7 -2
  366. package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.styles.ts +2 -1
  367. package/src/components/Stepper/components/Step/components/StepContent/stepContent.styles.ts +2 -2
  368. package/src/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.styles.ts +3 -6
  369. package/src/components/Stepper/components/Step/components/StepIcon/stepIcon.styles.ts +5 -9
  370. package/src/components/Stepper/components/Step/components/StepLabel/components/Label/constants.ts +1 -1
  371. package/src/components/Stepper/components/Step/components/StepLabel/components/Optional/constants.ts +1 -1
  372. package/src/components/Stepper/components/Step/step.styles.ts +6 -6
  373. package/src/components/Support/components/SupportRequest/components/Dialog/dialog.styles.ts +5 -6
  374. package/src/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.ts +0 -6
  375. package/src/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.tsx +12 -4
  376. package/src/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.tsx +8 -6
  377. package/src/components/Support/components/ViewSupport/viewSupport.styles.ts +6 -10
  378. package/src/components/Table/common/gridTable.styles.ts +1 -2
  379. package/src/components/Table/components/DownloadEntityResults/downloadEntityResults.styles.ts +2 -2
  380. package/src/components/Table/components/PaginationSummary/paginationSummary.tsx +9 -4
  381. package/src/components/Table/components/TableCell/components/BasicCell/basicCell.tsx +10 -2
  382. package/src/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.ts +5 -5
  383. package/src/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.tsx +3 -3
  384. package/src/components/Table/components/TableCell/components/LinkCell/stories/args.ts +1 -1
  385. package/src/components/Table/components/TableCell/components/NTagCell/nTagCell.tsx +6 -3
  386. package/src/components/Table/components/TableFeatures/ColumnFilter/columnFilter.tsx +1 -1
  387. package/src/components/Table/components/TablePagination/tablePagination.tsx +1 -1
  388. package/src/components/Table/components/TableRow/tableRow.styles.ts +2 -2
  389. package/src/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.styles.ts +5 -5
  390. package/src/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.tsx +6 -2
  391. package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.styles.ts +6 -6
  392. package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.tsx +3 -3
  393. package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.styles.ts +1 -1
  394. package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.tsx +5 -2
  395. package/src/components/Table/components/TableToolbar/components/RowSelection/rowSelection.tsx +2 -2
  396. package/src/components/Table/table.styles.ts +2 -2
  397. package/src/components/Table/table.tsx +2 -3
  398. package/src/components/common/Accordion/accordion.tsx +4 -2
  399. package/src/components/common/Alert/alert.styles.ts +3 -6
  400. package/src/components/common/Banner/banner.styles.ts +4 -4
  401. package/src/components/common/Banner/components/CookieBanner/cookieBanner.styles.ts +4 -4
  402. package/src/components/common/Button/components/HelpIconButton/helpIconButton.styles.ts +2 -1
  403. package/src/components/common/Button/components/NavigationButton/navigationButton.styles.ts +5 -4
  404. package/src/components/common/Card/card.styles.ts +2 -2
  405. package/src/components/common/Card/components/CardActions/cardActions.styles.ts +2 -2
  406. package/src/components/common/Card/components/CardSecondaryText/cardSecondaryText.tsx +7 -16
  407. package/src/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.ts +1 -1
  408. package/src/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.tsx +9 -17
  409. package/src/components/common/Card/components/CardText/cardText.tsx +8 -14
  410. package/src/components/common/Card/components/CardTitle/cardTitle.tsx +9 -14
  411. package/src/components/common/Code/code.styles.ts +11 -10
  412. package/src/components/common/Dot/dot.styles.ts +2 -1
  413. package/src/components/common/Form/components/Input/input.styles.ts +4 -4
  414. package/src/components/common/Form/components/Input/input.tsx +6 -2
  415. package/src/components/common/Form/components/Select/select.styles.ts +3 -3
  416. package/src/components/common/Form/components/Select/select.tsx +6 -2
  417. package/src/components/common/Form/components/UploadFile/uploadFile.styles.ts +10 -17
  418. package/src/components/common/Form/components/UploadFile/uploadFile.tsx +7 -3
  419. package/src/components/common/IconBadge/iconBadge.styles.ts +13 -22
  420. package/src/components/common/IconButton/iconButton.styles.ts +3 -3
  421. package/src/components/common/Input/input.styles.ts +3 -2
  422. package/src/components/common/Input/input.tsx +6 -2
  423. package/src/components/common/KeyValuePairs/components/KeyElType/keyElType.tsx +1 -1
  424. package/src/components/common/KeyValuePairs/components/ValueElType/valueElType.tsx +1 -1
  425. package/src/components/common/LoginDialog/constants.ts +2 -2
  426. package/src/components/common/MDXMarkdown/components/Section/mdxSection.styles.ts +4 -8
  427. package/src/components/common/Paper/components/FluidPaper/fluidPaper.styles.ts +2 -2
  428. package/src/components/common/Paper/paper.styles.ts +24 -24
  429. package/src/components/common/Progress/components/CircularProgress/components/CircularProgressTrack/circularProgressTrack.styles.ts +6 -12
  430. package/src/components/common/Section/components/CollapsableSection/collapsableSection.styles.ts +6 -5
  431. package/src/components/common/Section/components/CollapsableSection/collapsableSection.tsx +11 -8
  432. package/src/components/common/Section/components/SectionTitle/sectionTitle.tsx +3 -2
  433. package/src/components/common/Section/section.styles.ts +5 -5
  434. package/src/components/common/Socials/socials.styles.ts +3 -3
  435. package/src/components/common/StatusIcon/statusIcon.styles.ts +13 -12
  436. package/src/components/common/Tag/tag.styles.ts +4 -3
  437. package/src/components/common/Tag/tag.tsx +14 -11
  438. package/src/components/common/Title/title.tsx +1 -1
  439. package/src/components/common/Typography/TypographyWordBreak/TypographyWordBreak.tsx +2 -1
  440. package/src/styles/common/constants/app.ts +3 -0
  441. package/src/styles/common/constants/colorMixes.ts +1 -0
  442. package/src/styles/common/constants/font.ts +18 -0
  443. package/src/styles/common/constants/palette.ts +45 -45
  444. package/src/styles/common/constants/shadows.ts +3 -3
  445. package/src/styles/common/mixins/breakpoints.ts +19 -14
  446. package/src/styles/common/mui/typography.ts +26 -14
  447. package/src/theme/common/breakpoints.ts +16 -38
  448. package/src/theme/common/components.ts +1046 -1249
  449. package/src/theme/common/fontStyles.ts +17 -0
  450. package/src/theme/common/palette.ts +30 -75
  451. package/src/theme/common/typography.ts +85 -147
  452. package/src/theme/components/muiAlert.ts +96 -97
  453. package/src/theme/components/muiAlertTitle.ts +2 -2
  454. package/src/theme/components/muiTableCell.ts +44 -47
  455. package/src/theme/theme.ts +25 -107
  456. package/src/theme/types.ts +5 -0
  457. package/tests/theme.test.ts +465 -0
  458. package/tests/tsconfig.json +1 -1
  459. package/types/data-explorer-ui.d.ts +73 -48
  460. package/lib/styles/common/mixins/colors.d.ts +0 -25
  461. package/lib/styles/common/mixins/colors.js +0 -32
  462. package/lib/styles/common/mixins/fonts.d.ts +0 -16
  463. package/lib/styles/common/mixins/fonts.js +0 -30
  464. package/src/styles/common/mixins/colors.ts +0 -71
  465. package/src/styles/common/mixins/fonts.ts +0 -52
@@ -3,7 +3,7 @@ import React from "react";
3
3
  import { ONBOARDING_STEP, useAuthenticationForm, } from "../../../../../../hooks/authentication/terra/useAuthenticationForm";
4
4
  import { useAuth } from "../../../../../../providers/authentication/auth/hook";
5
5
  import { AUTH_STATUS } from "../../../../../../providers/authentication/auth/types";
6
- import { TEXT_BODY_400_2_LINES } from "../../../../../../theme/common/typography";
6
+ import { TYPOGRAPHY_PROPS } from "../../../../../../styles/common/mui/typography";
7
7
  import { FluidPaper, GridPaper, } from "../../../../../common/Paper/paper.styles";
8
8
  import { SectionTitle } from "../../../../../common/Section/components/SectionTitle/sectionTitle";
9
9
  import { AcceptTerraTOS } from "./components/FormStep/components/AcceptTerraTOS/acceptTerraTOS";
@@ -22,7 +22,7 @@ export const TerraSetUpForm = () => {
22
22
  React.createElement(Section, null,
23
23
  React.createElement(SectionContent, null,
24
24
  React.createElement(SectionTitle, { title: "Complete your setup" }),
25
- React.createElement(Typography, { color: "ink.light", variant: TEXT_BODY_400_2_LINES }, "Follow these steps to unlock the full potential of the data explorer."))),
25
+ React.createElement(Typography, { color: TYPOGRAPHY_PROPS.COLOR.INK_LIGHT, variant: TYPOGRAPHY_PROPS.VARIANT.BODY_400_2_LINES }, "Follow these steps to unlock the full potential of the data explorer."))),
26
26
  React.createElement(CreateTerraAccount, { active: isStepActive(onboardingStatusByStep, ONBOARDING_STEP.TERRA_ACCOUNT), completed: isStepCompleted(onboardingStatusByStep, ONBOARDING_STEP.TERRA_ACCOUNT), step: ONBOARDING_STEP.TERRA_ACCOUNT }),
27
27
  React.createElement(AcceptTerraTOS, { active: isStepActive(onboardingStatusByStep, ONBOARDING_STEP.TERRA_TOS), completed: isStepCompleted(onboardingStatusByStep, ONBOARDING_STEP.TERRA_TOS), step: ONBOARDING_STEP.TERRA_TOS }),
28
28
  onboardingStatusByStep.has(ONBOARDING_STEP.NIH_ACCOUNT) && (React.createElement(ConnectTerraToNIHAccount, { active: isStepActive(onboardingStatusByStep, ONBOARDING_STEP.NIH_ACCOUNT), completed: isStepCompleted(onboardingStatusByStep, ONBOARDING_STEP.NIH_ACCOUNT), step: ONBOARDING_STEP.NIH_ACCOUNT })))));
@@ -1,9 +1,9 @@
1
1
  import styled from "@emotion/styled";
2
- import { inkLight, smokeMain, successMain, white, } from "../../../../../../styles/common/mixins/colors";
2
+ import { PALETTE } from "../../../../../../styles/common/constants/palette";
3
3
  import { sectionPadding } from "../../../../../common/Section/section.styles";
4
4
  export const Section = styled("div") `
5
5
  ${sectionPadding};
6
- background-color: ${white};
6
+ background-color: ${PALETTE.COMMON_WHITE};
7
7
  display: grid;
8
8
  gap: 16px;
9
9
  grid-template-columns: auto 1fr;
@@ -13,7 +13,7 @@ export const SectionContent = styled("div") `
13
13
  gap: 4px;
14
14
  grid-row: 1;
15
15
 
16
- .MuiTypography-text-body-400-2lines {
16
+ .MuiTypography-body-400-2lines {
17
17
  p {
18
18
  margin: 0;
19
19
  }
@@ -26,27 +26,27 @@ export const SectionStatus = styled("div") `
26
26
  line-height: 0;
27
27
 
28
28
  .MuiSvgIcon-fontSizeMedium {
29
- color: ${successMain};
29
+ color: ${PALETTE.SUCCESS_MAIN};
30
30
  }
31
31
 
32
32
  .MuiStepIcon-root {
33
- border: 2px solid ${smokeMain};
33
+ border: 2px solid ${PALETTE.SMOKE_MAIN};
34
34
  border-radius: 50%;
35
- color: ${white};
35
+ color: ${PALETTE.COMMON_WHITE};
36
36
 
37
37
  .MuiStepIcon-text {
38
- fill: ${smokeMain};
38
+ fill: ${PALETTE.SMOKE_MAIN};
39
39
  font-size: 14px;
40
40
  font-weight: 700;
41
41
  line-height: 20px;
42
42
  }
43
43
 
44
44
  &.Mui-active {
45
- border: 2px solid ${inkLight};
46
- color: ${white};
45
+ border: 2px solid ${PALETTE.INK_LIGHT};
46
+ color: ${PALETTE.COMMON_WHITE};
47
47
 
48
48
  .MuiStepIcon-text {
49
- fill: ${inkLight};
49
+ fill: ${PALETTE.INK_LIGHT};
50
50
  }
51
51
  }
52
52
  }
@@ -1,15 +1,15 @@
1
1
  import styled from "@emotion/styled";
2
2
  import { TableContainer as MTableContainer } from "@mui/material";
3
- import { mediaTabletUp } from "../../../../../../styles/common/mixins/breakpoints";
4
- import { white } from "../../../../../../styles/common/mixins/colors";
5
- import { textBodyLarge500 } from "../../../../../../styles/common/mixins/fonts";
3
+ import { FONT } from "../../../../../../styles/common/constants/font";
4
+ import { PALETTE } from "../../../../../../styles/common/constants/palette";
5
+ import { bpUpSm } from "../../../../../../styles/common/mixins/breakpoints";
6
6
  export const SectionTitle = styled("h4") `
7
- ${textBodyLarge500}
8
- background-color: ${white};
7
+ background-color: ${PALETTE.COMMON_WHITE};
8
+ font: ${FONT.BODY_LARGE_500};
9
9
  margin: 0;
10
10
  padding: 20px 16px;
11
11
 
12
- ${mediaTabletUp} {
12
+ ${bpUpSm} {
13
13
  padding: 20px;
14
14
  }
15
15
  `;
@@ -23,7 +23,7 @@ export const TableContainer = styled(MTableContainer) `
23
23
  min-height: 56px;
24
24
  }
25
25
 
26
- ${mediaTabletUp} {
26
+ ${bpUpSm} {
27
27
  td,
28
28
  th {
29
29
  padding: 12px 20px;
@@ -1,4 +1,4 @@
1
- import { ThemeProps } from "../../theme/theme";
1
+ import { ThemeProps } from "../../theme/types";
2
2
  export declare const sectionMargin: ({ theme }: ThemeProps) => import("@emotion/react").SerializedStyles;
3
3
  export declare const Section: import("@emotion/styled").StyledComponent<{
4
4
  theme?: import("@emotion/react").Theme;
@@ -1,13 +1,13 @@
1
1
  import { css } from "@emotion/react";
2
2
  import styled from "@emotion/styled";
3
- import { mediaTabletUp } from "../../styles/common/mixins/breakpoints";
4
- import { inkLight } from "../../styles/common/mixins/colors";
5
- import { textBodySmall4002Lines } from "../../styles/common/mixins/fonts";
3
+ import { FONT } from "../../styles/common/constants/font";
4
+ import { PALETTE } from "../../styles/common/constants/palette";
5
+ import { bpUpSm } from "../../styles/common/mixins/breakpoints";
6
6
  import { SectionContent as MDXSectionContent } from "../common/MDXMarkdown/components/Section/mdxSection.styles";
7
7
  import { SectionActions as DXSectionActions, sectionMarginXsm, } from "../common/Section/section.styles";
8
8
  export const sectionMargin = ({ theme }) => css `
9
9
  ${sectionMarginXsm}
10
- ${mediaTabletUp({ theme })} {
10
+ ${bpUpSm({ theme })} {
11
11
  margin: 16px 20px;
12
12
  }
13
13
  `;
@@ -25,6 +25,6 @@ export const SectionActions = styled(DXSectionActions) `
25
25
  `;
26
26
  export const SectionFootnote = styled.div `
27
27
  ${sectionMargin}
28
- ${textBodySmall4002Lines}
29
- color: ${inkLight};
28
+ color: ${PALETTE.INK_LIGHT};
29
+ font: ${FONT.BODY_SMALL_400_2_LINES};
30
30
  `;
@@ -1,5 +1,5 @@
1
1
  export declare const StyledButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
2
2
  ref?: ((instance: HTMLButtonElement | 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<HTMLButtonElement> | null | undefined;
3
- }, "style" | "size" | "href" | "className" | "classes" | "children" | "color" | "sx" | "tabIndex" | "disabled" | "action" | "loading" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & {
3
+ }, "style" | "size" | "href" | "className" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "disableFocusRipple" | "loading" | "loadingIndicator" | "variant" | "disableElevation" | "endIcon" | "fullWidth" | "loadingPosition" | "startIcon"> & {
4
4
  theme?: import("@emotion/react").Theme;
5
5
  }, {}, {}>;
@@ -1,3 +1,3 @@
1
1
  export declare const StyledChip: import("@emotion/styled").StyledComponent<import("@mui/material").ChipOwnProps & import("@mui/material").ChipSlotsAndSlotProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
2
  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;
3
- }, "label" | "style" | "size" | "className" | "classes" | "children" | "color" | "sx" | "tabIndex" | "disabled" | "variant" | "avatar" | "clickable" | "deleteIcon" | "icon" | "onDelete" | "skipFocusWhenDisabled" | "slots" | "slotProps"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
3
+ }, "label" | "style" | "size" | "className" | "classes" | "children" | "disabled" | "sx" | "tabIndex" | "color" | "variant" | "slots" | "slotProps" | "icon" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1,6 +1,6 @@
1
1
  import { FilterLabelProps } from "./filterLabel";
2
2
  export declare const StyledButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
3
3
  ref?: ((instance: HTMLButtonElement | 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<HTMLButtonElement> | null | undefined;
4
- }, "style" | "size" | "href" | "className" | "classes" | "children" | "color" | "sx" | "tabIndex" | "disabled" | "action" | "loading" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & {
4
+ }, "style" | "size" | "href" | "className" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "disableFocusRipple" | "loading" | "loadingIndicator" | "variant" | "disableElevation" | "endIcon" | "fullWidth" | "loadingPosition" | "startIcon"> & {
5
5
  theme?: import("@emotion/react").Theme;
6
6
  } & Pick<FilterLabelProps, "isOpen" | "surfaceType">, {}, {}>;
@@ -2,7 +2,6 @@ import { css } from "@emotion/react";
2
2
  import styled from "@emotion/styled";
3
3
  import { Button } from "@mui/material";
4
4
  import { PALETTE } from "../../../../styles/common/constants/palette";
5
- import { inkLight, smokeMain } from "../../../../styles/common/mixins/colors";
6
5
  import { SURFACE_TYPE } from "../surfaces/types";
7
6
  export const StyledButton = styled(Button, {
8
7
  shouldForwardProp: (prop) => prop !== "isOpen" && prop !== "surfaceType",
@@ -15,7 +14,7 @@ export const StyledButton = styled(Button, {
15
14
  text-align: left;
16
15
 
17
16
  :hover {
18
- background-color: ${smokeMain};
17
+ background-color: ${PALETTE.SMOKE_MAIN};
19
18
  }
20
19
 
21
20
  &.Mui-disabled {
@@ -23,7 +22,7 @@ export const StyledButton = styled(Button, {
23
22
  }
24
23
 
25
24
  & .MuiButton-endIcon {
26
- color: ${inkLight};
25
+ color: ${PALETTE.INK_LIGHT};
27
26
  margin-right: -4px;
28
27
  transform: rotate(-90deg);
29
28
  }
@@ -2,6 +2,6 @@ export declare const MuiListItemButtonRoot: import("@emotion/react").SerializedS
2
2
  export declare const MuiListItemTextRoot: import("@emotion/react").SerializedStyles;
3
3
  export declare const StyledList: import("@emotion/styled").StyledComponent<import("@mui/material").ListOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
4
4
  ref?: ((instance: HTMLUListElement | 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<HTMLUListElement> | null | undefined;
5
- }, "style" | "className" | "classes" | "children" | "sx" | "dense" | "subheader" | "disablePadding"> & {
5
+ }, "style" | "className" | "classes" | "children" | "sx" | "dense" | "disablePadding" | "subheader"> & {
6
6
  theme?: import("@emotion/react").Theme;
7
7
  }, {}, {}>;
@@ -1,6 +1,6 @@
1
1
  import { css } from "@emotion/react";
2
2
  import styled from "@emotion/styled";
3
- import { inkLight } from "../../../../styles/common/mixins/colors";
3
+ import { PALETTE } from "../../../../styles/common/constants/palette";
4
4
  import { Input } from "../../../common/Input/input";
5
5
  import { SURFACE_TYPE } from "../surfaces/types";
6
6
  export const StyledInput = styled(Input, {
@@ -9,7 +9,7 @@ export const StyledInput = styled(Input, {
9
9
  padding: 0 16px;
10
10
 
11
11
  .MuiOutlinedInput-input {
12
- color: ${inkLight};
12
+ color: ${PALETTE.INK_LIGHT};
13
13
  }
14
14
 
15
15
  ${({ surfaceType }) => surfaceType === SURFACE_TYPE.MENU &&
@@ -1,10 +1,11 @@
1
1
  import { Typography } from "@mui/material";
2
2
  import React, { forwardRef } from "react";
3
+ import { TYPOGRAPHY_PROPS } from "../../../../styles/common/mui/typography";
3
4
  import { ButtonTextPrimary } from "../../../common/Button/components/ButtonTextPrimary/buttonTextPrimary";
4
5
  import { FilterNoResultsFound as FilterNoResults } from "./filterNoResultsFound.styles";
5
6
  export const FilterNoResultsFound = forwardRef(function FilterNoResultsFound({ onClearSearchTerm }, ref) {
6
7
  return (React.createElement(FilterNoResults, { ref: ref },
7
- React.createElement(Typography, { component: "div", variant: "text-body-500" }, "No results found!"),
8
- React.createElement(Typography, { component: "div", color: "ink.light", mb: onClearSearchTerm ? 2 : 0, mt: 1, variant: "text-body-400" }, "Try adjusting your search or filter to find what you\u2019re looking for."),
8
+ React.createElement(Typography, { component: "div", variant: TYPOGRAPHY_PROPS.VARIANT.BODY_500 }, "No results found!"),
9
+ React.createElement(Typography, { color: TYPOGRAPHY_PROPS.COLOR.INK_LIGHT, component: "div", mb: onClearSearchTerm ? 2 : 0, mt: 1, variant: TYPOGRAPHY_PROPS.VARIANT.BODY_400 }, "Try adjusting your search or filter to find what you\u2019re looking for."),
9
10
  onClearSearchTerm && (React.createElement(ButtonTextPrimary, { onClick: onClearSearchTerm }, "Clear Search"))));
10
11
  });
@@ -1,7 +1,7 @@
1
1
  import { css } from "@emotion/react";
2
2
  import styled from "@emotion/styled";
3
+ import { FONT } from "../../../../styles/common/constants/font";
3
4
  import { PALETTE } from "../../../../styles/common/constants/palette";
4
- import { textBody400 } from "../../../../styles/common/mixins/fonts";
5
5
  import { SURFACE_TYPE } from "../surfaces/types";
6
6
  export const StyledForm = styled("form") `
7
7
  padding: 16px;
@@ -42,8 +42,8 @@ export const StyledForm = styled("form") `
42
42
  grid-template-rows: subgrid;
43
43
 
44
44
  .MuiInputLabel-root {
45
- ${textBody400};
46
45
  color: ${PALETTE.INK_MAIN};
46
+ font: ${FONT.BODY_400};
47
47
  max-width: unset;
48
48
  position: relative;
49
49
  transform: unset;
@@ -1,5 +1,5 @@
1
1
  export declare const SupersededTag: import("@emotion/styled").StyledComponent<import("@mui/material").ChipOwnProps & import("@mui/material").ChipSlotsAndSlotProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
2
  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;
3
- }, "label" | "style" | "size" | "className" | "classes" | "children" | "color" | "sx" | "tabIndex" | "disabled" | "variant" | "avatar" | "clickable" | "deleteIcon" | "icon" | "onDelete" | "skipFocusWhenDisabled" | "slots" | "slotProps"> & {
3
+ }, "label" | "style" | "size" | "className" | "classes" | "children" | "disabled" | "sx" | "tabIndex" | "color" | "variant" | "slots" | "slotProps" | "icon" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & {
4
4
  theme?: import("@emotion/react").Theme;
5
5
  }, {}, {}>;
@@ -1,5 +1,6 @@
1
1
  import styled from "@emotion/styled";
2
2
  import { Chip } from "@mui/material";
3
+ import { PALETTE } from "../../../../styles/common/constants/palette";
3
4
  export const SupersededTag = styled(Chip) `
4
- background-color: ${({ theme }) => theme.palette.smoke.dark};
5
+ background-color: ${PALETTE.SMOKE_DARK};
5
6
  `;
@@ -53,7 +53,7 @@ export const Filters = ({ categoryFilters, className, disabled = false, onFilter
53
53
  }, [windowHeight]);
54
54
  return (React.createElement(FilterList, { className: className, "data-testid": TEST_IDS.FILTERS, disabled: disabled, height: height, ref: filterListRef, surfaceType: surfaceType }, categoryFilters.map(({ categoryViews, label }, i) => (React.createElement(Fragment, { key: i },
55
55
  i !== 0 && React.createElement(Divider, null),
56
- label && (React.createElement(StyledTypography, { color: TYPOGRAPHY_PROPS.COLOR.INK_LIGHT, variant: TYPOGRAPHY_PROPS.VARIANT.TEXT_UPPERCASE_500 }, label)),
56
+ label && (React.createElement(StyledTypography, { color: TYPOGRAPHY_PROPS.COLOR.INK_LIGHT, variant: TYPOGRAPHY_PROPS.VARIANT.UPPERCASE_500 }, label)),
57
57
  categoryViews.map((categoryView) => (React.createElement(Filter, { key: categoryView.key, categorySection: label, categoryView: categoryView, closeAncestor: onClose, onFilter: onFilter, surfaceType: surfaceType, trackFilterOpened: trackFilterOpened, tags: renderFilterTags(categoryView, onFilter) }))))))));
58
58
  };
59
59
  /**
@@ -8,7 +8,7 @@ export declare const Filters: import("@emotion/styled").StyledComponent<{
8
8
  } & Props & Pick<FiltersProps, "disabled" | "surfaceType">, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
9
  export declare const StyledTypography: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
10
10
  ref?: ((instance: HTMLSpanElement | 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<HTMLSpanElement> | null | undefined;
11
- }, "p" | "style" | "order" | "bottom" | "height" | "left" | "right" | "top" | "width" | "className" | "classes" | "children" | "color" | "fontSize" | "sx" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "overflow" | "visibility" | "align" | "bgcolor" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "padding" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
11
+ }, "p" | "style" | "order" | "bottom" | "height" | "left" | "right" | "top" | "width" | "className" | "classes" | "children" | "sx" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "align" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
12
12
  theme?: import("@emotion/react").Theme;
13
13
  }, {}, {}>;
14
14
  export {};
@@ -1,12 +1,12 @@
1
1
  import { css } from "@emotion/react";
2
2
  import styled from "@emotion/styled";
3
3
  import { Typography } from "@mui/material";
4
- import { inkMain } from "../../../../styles/common/mixins/colors";
5
- import { textBody500 } from "../../../../styles/common/mixins/fonts";
4
+ import { FONT } from "../../../../styles/common/constants/font";
5
+ import { PALETTE } from "../../../../styles/common/constants/palette";
6
6
  import { SURFACE_TYPE } from "../surfaces/types";
7
7
  export const Filters = styled("div") `
8
- ${textBody500};
9
- color: ${inkMain};
8
+ color: ${PALETTE.INK_MAIN};
9
+ font: ${FONT.BODY_500};
10
10
  height: ${({ height }) => height}px;
11
11
  margin: 8px 0;
12
12
  overflow: auto;
@@ -1,7 +1,8 @@
1
1
  import { css } from "@emotion/react";
2
2
  import styled from "@emotion/styled";
3
+ import { PALETTE } from "../../../../styles/common/constants/palette";
3
4
  export const MatchHighlight = styled.mark `
4
- background: ${({ theme }) => theme.palette.warning.light};
5
+ background: ${PALETTE.WARNING_LIGHT};
5
6
  color: inherit;
6
7
  padding: 2px 0;
7
8
 
@@ -1,11 +1,11 @@
1
1
  import styled from "@emotion/styled";
2
2
  import { Popper as MPopper } from "@mui/material";
3
- import { mediaDesktopSmallDown } from "../../../../../../styles/common/mixins/breakpoints";
4
- import { smokeLight } from "../../../../../../styles/common/mixins/colors";
3
+ import { PALETTE } from "../../../../../../styles/common/constants/palette";
4
+ import { bpDownMd } from "../../../../../../styles/common/mixins/breakpoints";
5
5
  export const AutocompletePopper = styled(MPopper) `
6
- ${mediaDesktopSmallDown} {
6
+ ${bpDownMd} {
7
7
  .MuiPaper-root {
8
- background-color: ${smokeLight};
8
+ background-color: ${PALETTE.SMOKE_LIGHT};
9
9
 
10
10
  .MuiList-root {
11
11
  margin: 0;
@@ -3,7 +3,6 @@ import React, { createContext, forwardRef, useCallback, useContext, useEffect, u
3
3
  import { VariableSizeList as List, } from "react-window";
4
4
  import { BREAKPOINT_FN_NAME, useBreakpointHelper, } from "../../../../../../hooks/useBreakpointHelper";
5
5
  import { useWindowResize } from "../../../../../../hooks/useWindowResize";
6
- import { DESKTOP_SM } from "../../../../../../theme/common/breakpoints";
7
6
  import { LIST_ITEM_HEIGHT, LIST_MARGIN, MAX_DISPLAYABLE_LIST_ITEMS, MAX_LIST_HEIGHT_PX, } from "../../../../common/constants";
8
7
  import { getSortMatchesFn } from "../../../../common/utils";
9
8
  import { StyledList } from "../../../FilterList/filterList.styles";
@@ -36,7 +35,7 @@ const OuterElement = forwardRef(function OuterElement({ children, ...props }, re
36
35
  export const VariableSizeList = forwardRef(function VariableSizeList({ autocompleteListProps, height: initHeight = MAX_LIST_HEIGHT_PX, itemSize = LIST_ITEM_HEIGHT, onFilter, overscanCount = MAX_DISPLAYABLE_LIST_ITEMS * 2, searchTerm, selectCategoryViews, width = "100%", }, autocompleteListRef) {
37
36
  const filteredItems = applyMenuFilter(selectCategoryViews, searchTerm);
38
37
  let resizeRequired = true;
39
- const desktopSmDown = useBreakpointHelper(BREAKPOINT_FN_NAME.DOWN, DESKTOP_SM);
38
+ const bpDownMd = useBreakpointHelper(BREAKPOINT_FN_NAME.DOWN, "md");
40
39
  const { height: windowHeight } = useWindowResize();
41
40
  const [height, setHeight] = useState(initHeight);
42
41
  const itemSizeByItemKeyRef = useRef(new Map());
@@ -48,8 +47,8 @@ export const VariableSizeList = forwardRef(function VariableSizeList({ autocompl
48
47
  // Sets height of list.
49
48
  useEffect(() => {
50
49
  if (innerRef.current && outerRef.current)
51
- setHeight(calculateListHeight(outerRef.current, innerRef.current, windowHeight, desktopSmDown));
52
- }, [desktopSmDown, windowHeight]);
50
+ setHeight(calculateListHeight(outerRef.current, innerRef.current, windowHeight, bpDownMd));
51
+ }, [bpDownMd, windowHeight]);
53
52
  // Clears VariableSizeList cache (offsets and measurements) when values are updated (filtered).
54
53
  // Facilitates correct positioning of list items when list is updated.
55
54
  useEffect(() => {
@@ -73,7 +72,7 @@ export const VariableSizeList = forwardRef(function VariableSizeList({ autocompl
73
72
  outerRef.current) {
74
73
  // Set height of list.
75
74
  resizeRequired = false;
76
- setHeight(calculateListHeight(outerRef.current, innerRef.current, windowHeight, desktopSmDown));
75
+ setHeight(calculateListHeight(outerRef.current, innerRef.current, windowHeight, bpDownMd));
77
76
  }
78
77
  listRef.current?.resetAfterIndex(0); // Facilitates correct positioning of list items when list scrolls.
79
78
  });
@@ -120,13 +119,13 @@ function applyMenuFilter(selectCategoryViews, inputValue) {
120
119
  * @param outerListElem - Outer list element to reference list position from.
121
120
  * @param innerListElem - Element containing list items.
122
121
  * @param windowHeight - Window height.
123
- * @param desktopSmDown - True if viewport is small desktop or smaller.
122
+ * @param bpDownMd - True if viewport is "md" or smaller.
124
123
  * @returns calculated height.
125
124
  */
126
- function calculateListHeight(outerListElem, innerListElem, windowHeight, desktopSmDown) {
125
+ function calculateListHeight(outerListElem, innerListElem, windowHeight, bpDownMd) {
127
126
  // Calculate max possible list height, based on window height and top position of the list element.
128
127
  const maxHeight = windowHeight - outerListElem.getBoundingClientRect().top;
129
- if (desktopSmDown) {
128
+ if (bpDownMd) {
130
129
  return maxHeight;
131
130
  }
132
131
  // Grab the first and last element in the list.
@@ -1,8 +1,8 @@
1
1
  import { Checkbox, ListItemButton, ListItemText, ListSubheader, Typography, } from "@mui/material";
2
2
  import React, { useEffect, useRef } from "react";
3
3
  import { VIEW_KIND } from "../../../../../../common/categories/views/types";
4
+ import { TYPOGRAPHY_PROPS } from "../../../../../../styles/common/mui/typography";
4
5
  import { TEST_IDS } from "../../../../../../tests/testIds";
5
- import { TEXT_BODY_SMALL_400 } from "../../../../../../theme/common/typography";
6
6
  import { CheckedIcon } from "../../../../../common/CustomIcon/components/CheckedIcon/checkedIcon";
7
7
  import { UncheckedIcon } from "../../../../../common/CustomIcon/components/UncheckedIcon/uncheckedIcon";
8
8
  import { FilterNoResultsFound } from "../../../FilterNoResultsFound/filterNoResultsFound";
@@ -22,7 +22,7 @@ export default function VariableSizeListItem({ item, onFilter, onUpdateItemSizeB
22
22
  const { categoryKey, matchRanges, value: { count, key: valueKey, label, selected }, } = item;
23
23
  return (React.createElement(ListItemButton, { "data-testid": TEST_IDS.FILTER_ITEM, ref: setRef, key: key, onClick: () => onFilter(categoryKey, valueKey, !selected, undefined, VIEW_KIND.SELECT, searchTerm), selected: selected, style: style },
24
24
  React.createElement(Checkbox, { checked: selected, checkedIcon: React.createElement(CheckedIcon, null), icon: React.createElement(UncheckedIcon, null) }),
25
- React.createElement(ListItemText, { disableTypography: true, primary: React.createElement(HighlightedLabel, { label: label, ranges: matchRanges, testId: TEST_IDS.FILTER_TERM }), secondary: React.createElement(Typography, { color: "ink.light", "data-testid": TEST_IDS.FILTER_COUNT, variant: TEXT_BODY_SMALL_400 }, count) })));
25
+ React.createElement(ListItemText, { disableTypography: true, primary: React.createElement(HighlightedLabel, { label: label, ranges: matchRanges, testId: TEST_IDS.FILTER_TERM }), secondary: React.createElement(Typography, { color: TYPOGRAPHY_PROPS.COLOR.INK_LIGHT, "data-testid": TEST_IDS.FILTER_COUNT, variant: TYPOGRAPHY_PROPS.VARIANT.BODY_SMALL_400 }, count) })));
26
26
  }
27
27
  else if (item.type === ITEM_TYPE.CATEGORY) {
28
28
  return (React.createElement(ListSubheader, { key: key, ref: setRef, style: style }, item.categoryLabel));
@@ -3,7 +3,6 @@ import { isSelectCategoryView } from "../../../../common/categories/views/select
3
3
  import { SELECTOR } from "../../../../common/selectors";
4
4
  import { BREAKPOINT_FN_NAME, useBreakpointHelper, } from "../../../../hooks/useBreakpointHelper";
5
5
  import { TEST_IDS } from "../../../../tests/testIds";
6
- import { DESKTOP_SM } from "../../../../theme/common/breakpoints";
7
6
  import { useDrawer } from "../../../common/Drawer/provider/hook";
8
7
  import { SearchCloseButton } from "../SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton";
9
8
  import { SearchAllFiltersSearch } from "../SearchAllFiltersSearch/searchAllFiltersSearch";
@@ -31,14 +30,14 @@ const Listbox = React.forwardRef(function Listbox(props, ref) {
31
30
  });
32
31
  export const SearchAllFilters = ({ categoryViews, onFilter, }) => {
33
32
  const { open: isDrawerOpen } = useDrawer();
34
- const desktopSmUp = useBreakpointHelper(BREAKPOINT_FN_NAME.UP, DESKTOP_SM);
33
+ const bpUpMd = useBreakpointHelper(BREAKPOINT_FN_NAME.UP, "md");
35
34
  const autocompleteRef = useRef(null);
36
35
  const [open, setOpen] = useState(false);
37
36
  const [searchTerm, setSearchTerm] = useState("");
38
37
  const selectCategoryViews = categoryViews.filter((view) => isSelectCategoryView(view));
39
- // Handles background scroll action (desktop only).
38
+ // Handles background scroll action ("md" and up).
40
39
  const handleBackgroundScroll = (overflowStyle) => {
41
- if (desktopSmUp) {
40
+ if (bpUpMd) {
42
41
  setElementsOverflowStyle([
43
42
  document.querySelector(SELECTOR.BODY),
44
43
  document.getElementById(SELECTOR.SIDEBAR_POSITIONER),
@@ -90,7 +89,7 @@ export const SearchAllFilters = ({ categoryViews, onFilter, }) => {
90
89
  searchTerm,
91
90
  selectCategoryViews,
92
91
  } },
93
- React.createElement(Autocomplete, { clearOnBlur: desktopSmUp, "data-testid": TEST_IDS.SEARCH_ALL_FILTERS, filterOptions: (options) => options, freeSolo: true, ListboxComponent: Listbox, onBlur: desktopSmUp ? onCloseSearch : undefined, onClose: desktopSmUp ? onCloseSearch : undefined, onFocus: onOpenSearch, onOpen: onOpen, open: open, options: [""], PopperComponent: AutocompletePopper, ref: autocompleteRef, renderInput: (props) => renderInput({
92
+ React.createElement(Autocomplete, { clearOnBlur: bpUpMd, "data-testid": TEST_IDS.SEARCH_ALL_FILTERS, filterOptions: (options) => options, freeSolo: true, ListboxComponent: Listbox, onBlur: bpUpMd ? onCloseSearch : undefined, onClose: bpUpMd ? onCloseSearch : undefined, onFocus: onOpenSearch, onOpen: onOpen, open: open, options: [""], PopperComponent: AutocompletePopper, ref: autocompleteRef, renderInput: (props) => renderInput({
94
93
  ...props,
95
94
  InputProps: {
96
95
  ...props.InputProps,
@@ -100,5 +99,5 @@ export const SearchAllFilters = ({ categoryViews, onFilter, }) => {
100
99
  ...props.inputProps,
101
100
  onChange,
102
101
  },
103
- }), slotProps: desktopSmUp ? DEFAULT_SLOT_PROPS : DRAWER_SLOT_PROPS })));
102
+ }), slotProps: bpUpMd ? DEFAULT_SLOT_PROPS : DRAWER_SLOT_PROPS })));
104
103
  };
@@ -1,12 +1,12 @@
1
1
  import styled from "@emotion/styled";
2
2
  import { Autocomplete as MAutocomplete } from "@mui/material";
3
- import { inkMain } from "../../../../styles/common/mixins/colors";
3
+ import { PALETTE } from "../../../../styles/common/constants/palette";
4
4
  export const Autocomplete = styled(MAutocomplete) `
5
5
  &.Mui-expanded {
6
6
  .MuiOutlinedInput-root {
7
7
  .MuiIconButton-root {
8
8
  .MuiSvgIcon-root {
9
- color: ${inkMain};
9
+ color: ${PALETTE.INK_MAIN};
10
10
  }
11
11
  }
12
12
  }
@@ -2,13 +2,12 @@ import { CloseRounded } from "@mui/icons-material";
2
2
  import { IconButton } from "@mui/material";
3
3
  import React, { Fragment, useContext } from "react";
4
4
  import { BREAKPOINT_FN_NAME, useBreakpointHelper, } from "../../../../../../hooks/useBreakpointHelper";
5
- import { DESKTOP_SM } from "../../../../../../theme/common/breakpoints";
6
5
  import { ListboxContext } from "../../../SearchAllFilters/searchAllFilters";
7
6
  export const SearchCloseButton = () => {
8
- const desktopSmDown = useBreakpointHelper(BREAKPOINT_FN_NAME.DOWN, DESKTOP_SM);
7
+ const bpDownMd = useBreakpointHelper(BREAKPOINT_FN_NAME.DOWN, "md");
9
8
  const { onClearSearch, onCloseSearch, open, searchTerm } = useContext(ListboxContext);
10
- const showButton = open && (desktopSmDown || searchTerm);
11
- const onClickFn = desktopSmDown ? onCloseSearch : onClearSearch;
9
+ const showButton = open && (bpDownMd || searchTerm);
10
+ const onClickFn = bpDownMd ? onCloseSearch : onClearSearch;
12
11
  return (React.createElement(Fragment, null, showButton && (React.createElement(IconButton, { onClick: onClickFn, size: "large" },
13
12
  React.createElement(CloseRounded, { fontSize: "small" })))));
14
13
  };
@@ -1,6 +1,6 @@
1
1
  import styled from "@emotion/styled";
2
2
  import { TextField } from "@mui/material";
3
- import { inkLight, inkMain } from "../../../../styles/common/mixins/colors";
3
+ import { PALETTE } from "../../../../styles/common/constants/palette";
4
4
  export const InputField = styled(TextField) `
5
5
  && {
6
6
  display: flex;
@@ -9,7 +9,7 @@ export const InputField = styled(TextField) `
9
9
 
10
10
  .MuiInputBase-root {
11
11
  & ::placeholder {
12
- color: ${inkLight};
12
+ color: ${PALETTE.INK_LIGHT};
13
13
  opacity: 0.8;
14
14
  }
15
15
 
@@ -25,7 +25,7 @@ export const InputField = styled(TextField) `
25
25
  padding: 0 0 0 12px;
26
26
 
27
27
  .MuiAutocomplete-input {
28
- color: ${inkMain};
28
+ color: ${PALETTE.INK_MAIN};
29
29
  padding: 10px 14px 10px 0;
30
30
  }
31
31
  }
@@ -2,8 +2,8 @@ import { Checkbox, ListItemButton, ListItemText, Typography, } from "@mui/materi
2
2
  import React, { useEffect, useRef } from "react";
3
3
  import { VIEW_KIND } from "../../../../common/categories/views/types";
4
4
  import { SELECT_CATEGORY_KEY } from "../../../../providers/exploreState/constants";
5
+ import { TYPOGRAPHY_PROPS } from "../../../../styles/common/mui/typography";
5
6
  import { TEST_IDS } from "../../../../tests/testIds";
6
- import { TEXT_BODY_SMALL_400 } from "../../../../theme/common/typography";
7
7
  import { CheckedIcon } from "../../../common/CustomIcon/components/CheckedIcon/checkedIcon";
8
8
  import { UncheckedIcon } from "../../../common/CustomIcon/components/UncheckedIcon/uncheckedIcon";
9
9
  import { HighlightedLabel } from "../HighlightedLabel/highlightedLabel";
@@ -20,5 +20,5 @@ export default function VariableSizeListItem({ categoryKey, categorySection, mat
20
20
  };
21
21
  return (React.createElement(ListItemButton, { "data-testid": TEST_IDS.FILTER_ITEM, ref: listItemRef, onClick: handleItemClicked, selected: selected, style: style },
22
22
  React.createElement(Checkbox, { checked: selected, checkedIcon: React.createElement(CheckedIcon, null), icon: React.createElement(UncheckedIcon, null) }),
23
- React.createElement(ListItemText, { disableTypography: true, primary: React.createElement(HighlightedLabel, { label: label, ranges: labelRanges, testId: TEST_IDS.FILTER_TERM }), secondary: categoryKey !== SELECT_CATEGORY_KEY.SAVED_FILTERS && (React.createElement(Typography, { color: "ink.light", "data-testid": TEST_IDS.FILTER_COUNT, variant: TEXT_BODY_SMALL_400 }, count)) })));
23
+ React.createElement(ListItemText, { disableTypography: true, primary: React.createElement(HighlightedLabel, { label: label, ranges: labelRanges, testId: TEST_IDS.FILTER_TERM }), secondary: categoryKey !== SELECT_CATEGORY_KEY.SAVED_FILTERS && (React.createElement(Typography, { color: TYPOGRAPHY_PROPS.COLOR.INK_LIGHT, "data-testid": TEST_IDS.FILTER_COUNT, variant: TYPOGRAPHY_PROPS.VARIANT.BODY_SMALL_400 }, count)) })));
24
24
  }
@@ -9,6 +9,6 @@ import { StyledGrid } from "./controls.styles";
9
9
  */
10
10
  export const Controls = ({ className, onFilter, }) => {
11
11
  return (React.createElement(StyledGrid, { className: className, container: true },
12
- React.createElement(Typography, { variant: TYPOGRAPHY_PROPS.VARIANT.TEXT_BODY_LARGE_500 }, "Filters"),
12
+ React.createElement(Typography, { variant: TYPOGRAPHY_PROPS.VARIANT.BODY_LARGE_500 }, "Filters"),
13
13
  React.createElement(MButton, { ...BUTTON_PROPS.PRIMARY_TEXT, onClick: () => onFilter(CLEAR_ALL, undefined, false) }, "Clear All")));
14
14
  };
@@ -2,6 +2,6 @@ export declare const StyledGrid: import("@emotion/styled").StyledComponent<impor
2
2
  sx?: import("@mui/material").SxProps<import("@mui/material").Theme>;
3
3
  } & import("@mui/system").SystemProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
4
  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;
5
- }, "sx" | ("p" | "order" | "bottom" | "height" | "left" | "right" | "top" | "width" | "color" | "fontSize" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "overflow" | "visibility" | "bgcolor" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "padding" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | keyof import("@mui/material").GridBaseProps> & {
5
+ }, "sx" | ("p" | "order" | "bottom" | "height" | "left" | "right" | "top" | "width" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | keyof import("@mui/material").GridBaseProps> & {
6
6
  theme?: import("@emotion/react").Theme;
7
7
  }, {}, {}>;