@databiosphere/findable-ui 41.2.0 → 42.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 (464) hide show
  1. package/.release-please-manifest.json +1 -1
  2. package/CHANGELOG.md +25 -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 -5
  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 +2 -2
  148. package/lib/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.js +2 -2
  149. package/lib/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.js +3 -3
  150. package/lib/components/Support/components/ViewSupport/viewSupport.styles.js +6 -6
  151. package/lib/components/Table/common/gridTable.styles.js +1 -2
  152. package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.styles.d.ts +1 -1
  153. package/lib/components/Table/components/DownloadEntityResults/downloadEntityResults.styles.js +2 -2
  154. package/lib/components/Table/components/PaginationSummary/paginationSummary.js +5 -4
  155. package/lib/components/Table/components/TableCell/components/BasicCell/basicCell.js +3 -2
  156. package/lib/components/Table/components/TableCell/components/CodeCell/codeCell.styles.d.ts +1 -1
  157. package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.js +2 -2
  158. package/lib/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.js +5 -5
  159. package/lib/components/Table/components/TableCell/components/LinkCell/stories/args.js +1 -1
  160. package/lib/components/Table/components/TableCell/components/NTagCell/nTagCell.js +2 -2
  161. package/lib/components/Table/components/TableFeatures/ColumnFilter/columnFilter.js +1 -1
  162. package/lib/components/Table/components/TableFeatures/ColumnFilter/columnFilter.styles.d.ts +1 -1
  163. package/lib/components/Table/components/TableFeatures/ColumnFilter/components/ColumnFilterTag/columnFilterTag.styles.d.ts +1 -1
  164. package/lib/components/Table/components/TablePagination/tablePagination.js +1 -1
  165. package/lib/components/Table/components/TablePagination/tablePagination.styles.d.ts +1 -1
  166. package/lib/components/Table/components/TableRow/tableRow.styles.js +2 -2
  167. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.js +2 -2
  168. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.styles.js +5 -5
  169. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.js +2 -2
  170. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.styles.js +5 -5
  171. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.js +2 -2
  172. package/lib/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.styles.js +1 -1
  173. package/lib/components/Table/components/TableToolbar/components/RowSelection/rowSelection.js +2 -2
  174. package/lib/components/Table/table.js +2 -3
  175. package/lib/components/Table/table.styles.js +2 -2
  176. package/lib/components/common/Accordion/accordion.js +2 -2
  177. package/lib/components/common/Alert/alert.styles.js +3 -3
  178. package/lib/components/common/Banner/banner.styles.js +4 -4
  179. package/lib/components/common/Banner/components/CookieBanner/cookieBanner.styles.js +4 -4
  180. package/lib/components/common/Button/components/DropdownButton/dropdownButton.styles.d.ts +1 -1
  181. package/lib/components/common/Button/components/HelpIconButton/helpIconButton.styles.js +2 -1
  182. package/lib/components/common/Button/components/NavigationButton/navigationButton.styles.js +5 -4
  183. package/lib/components/common/Card/card.styles.js +2 -2
  184. package/lib/components/common/Card/components/CardActions/cardActions.styles.js +2 -2
  185. package/lib/components/common/Card/components/CardSecondaryText/cardSecondaryText.d.ts +2 -5
  186. package/lib/components/common/Card/components/CardSecondaryText/cardSecondaryText.js +3 -3
  187. package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.d.ts +2 -5
  188. package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.js +4 -4
  189. package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.d.ts +2 -2
  190. package/lib/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.js +1 -1
  191. package/lib/components/common/Card/components/CardText/cardText.d.ts +2 -5
  192. package/lib/components/common/Card/components/CardText/cardText.js +3 -3
  193. package/lib/components/common/Card/components/CardTitle/cardTitle.d.ts +2 -5
  194. package/lib/components/common/Card/components/CardTitle/cardTitle.js +3 -3
  195. package/lib/components/common/Code/code.styles.js +10 -9
  196. package/lib/components/common/Dot/dot.styles.js +2 -1
  197. package/lib/components/common/Form/components/Input/input.js +2 -2
  198. package/lib/components/common/Form/components/Input/input.styles.d.ts +1 -1
  199. package/lib/components/common/Form/components/Input/input.styles.js +4 -4
  200. package/lib/components/common/Form/components/Select/select.js +2 -2
  201. package/lib/components/common/Form/components/Select/select.styles.d.ts +1 -1
  202. package/lib/components/common/Form/components/Select/select.styles.js +3 -3
  203. package/lib/components/common/Form/components/UploadFile/uploadFile.js +3 -3
  204. package/lib/components/common/Form/components/UploadFile/uploadFile.styles.d.ts +1 -1
  205. package/lib/components/common/Form/components/UploadFile/uploadFile.styles.js +10 -10
  206. package/lib/components/common/IconBadge/iconBadge.styles.js +13 -13
  207. package/lib/components/common/IconButton/iconButton.styles.d.ts +1 -1
  208. package/lib/components/common/IconButton/iconButton.styles.js +3 -3
  209. package/lib/components/common/Input/input.js +2 -2
  210. package/lib/components/common/Input/input.styles.d.ts +1 -1
  211. package/lib/components/common/Input/input.styles.js +3 -2
  212. package/lib/components/common/KeyValuePairs/components/KeyElType/keyElType.js +1 -1
  213. package/lib/components/common/KeyValuePairs/components/ValueElType/valueElType.js +1 -1
  214. package/lib/components/common/LoginDialog/constants.js +2 -2
  215. package/lib/components/common/MDXMarkdown/components/Section/mdxSection.styles.js +4 -4
  216. package/lib/components/common/Paper/components/FlatPaper/flatPaper.styles.d.ts +1 -1
  217. package/lib/components/common/Paper/components/FluidPaper/fluidPaper.styles.d.ts +1 -1
  218. package/lib/components/common/Paper/components/FluidPaper/fluidPaper.styles.js +2 -2
  219. package/lib/components/common/Paper/components/RoundedPaper/roundedPaper.styles.d.ts +1 -1
  220. package/lib/components/common/Paper/paper.styles.js +24 -24
  221. package/lib/components/common/Progress/components/CircularProgress/components/CircularProgressTrack/circularProgressTrack.styles.js +6 -6
  222. package/lib/components/common/Section/components/CollapsableSection/collapsableSection.js +8 -8
  223. package/lib/components/common/Section/components/CollapsableSection/collapsableSection.styles.d.ts +1 -1
  224. package/lib/components/common/Section/components/CollapsableSection/collapsableSection.styles.js +6 -5
  225. package/lib/components/common/Section/components/SectionTitle/sectionTitle.js +2 -1
  226. package/lib/components/common/Section/section.styles.d.ts +1 -1
  227. package/lib/components/common/Section/section.styles.js +4 -4
  228. package/lib/components/common/Socials/socials.styles.js +3 -3
  229. package/lib/components/common/StatusIcon/statusIcon.styles.js +13 -12
  230. package/lib/components/common/Tabs/tabs.styles.d.ts +1 -1
  231. package/lib/components/common/Tag/tag.d.ts +3 -6
  232. package/lib/components/common/Tag/tag.js +3 -2
  233. package/lib/components/common/Tag/tag.stories.d.ts +1 -1
  234. package/lib/components/common/Tag/tag.styles.d.ts +10 -2
  235. package/lib/components/common/Tag/tag.styles.js +4 -3
  236. package/lib/components/common/Title/title.js +1 -1
  237. package/lib/components/common/Typography/TypographyWordBreak/TypographyWordBreak.js +2 -1
  238. package/lib/styles/common/constants/app.d.ts +3 -0
  239. package/lib/styles/common/constants/app.js +3 -0
  240. package/lib/styles/common/constants/colorMixes.d.ts +1 -0
  241. package/lib/styles/common/constants/colorMixes.js +1 -0
  242. package/lib/styles/common/constants/font.d.ts +18 -0
  243. package/lib/styles/common/constants/font.js +18 -0
  244. package/lib/styles/common/constants/palette.d.ts +45 -45
  245. package/lib/styles/common/constants/palette.js +45 -45
  246. package/lib/styles/common/constants/shadows.js +3 -3
  247. package/lib/styles/common/mixins/breakpoints.d.ts +9 -7
  248. package/lib/styles/common/mixins/breakpoints.js +8 -7
  249. package/lib/styles/common/mui/typography.d.ts +32 -3
  250. package/lib/styles/common/mui/typography.js +22 -10
  251. package/lib/theme/common/breakpoints.d.ts +6 -27
  252. package/lib/theme/common/breakpoints.js +14 -36
  253. package/lib/theme/common/components.d.ts +2 -226
  254. package/lib/theme/common/components.js +1045 -1223
  255. package/lib/theme/common/fontStyles.d.ts +8 -0
  256. package/lib/theme/common/fontStyles.js +12 -0
  257. package/lib/theme/common/palette.d.ts +2 -42
  258. package/lib/theme/common/palette.js +22 -73
  259. package/lib/theme/common/typography.d.ts +2 -70
  260. package/lib/theme/common/typography.js +78 -126
  261. package/lib/theme/components/muiAlert.d.ts +2 -2
  262. package/lib/theme/components/muiAlert.js +95 -96
  263. package/lib/theme/components/muiAlertTitle.js +2 -2
  264. package/lib/theme/components/muiTableCell.d.ts +2 -2
  265. package/lib/theme/components/muiTableCell.js +43 -46
  266. package/lib/theme/theme.d.ts +0 -7
  267. package/lib/theme/theme.js +22 -100
  268. package/lib/theme/types.d.ts +4 -0
  269. package/lib/theme/types.js +1 -0
  270. package/package.json +1 -1
  271. package/src/components/DataDictionary/components/Description/description.styles.ts +5 -8
  272. package/src/components/DataDictionary/components/Entity/entity.styles.ts +2 -2
  273. package/src/components/DataDictionary/components/Entity/entity.tsx +2 -2
  274. package/src/components/DataDictionary/components/Layout/components/FiltersLayout/filtersLayout.styles.ts +2 -2
  275. package/src/components/DataDictionary/components/Layout/components/TitleLayout/titleLayout.styles.ts +2 -2
  276. package/src/components/DataDictionary/components/Outline/outline.styles.ts +4 -8
  277. package/src/components/DataDictionary/components/Tooltip/components/Title/constants.ts +1 -6
  278. package/src/components/DataDictionary/components/Tooltip/components/Title/title.tsx +8 -4
  279. package/src/components/DataDictionary/components/Tooltip/constants.ts +8 -7
  280. package/src/components/DataDictionary/dataDictionary.styles.ts +2 -5
  281. package/src/components/Detail/components/Table/table.tsx +2 -3
  282. package/src/components/Error/error.styles.ts +4 -4
  283. package/src/components/Error/error.tsx +10 -3
  284. package/src/components/Export/components/ExportForm/exportForm.styles.ts +12 -12
  285. package/src/components/Export/components/ExportMethod/exportMethod.styles.ts +0 -7
  286. package/src/components/Export/components/ExportMethod/exportMethod.tsx +14 -3
  287. package/src/components/Export/components/ExportSummary/exportSummary.styles.ts +6 -5
  288. package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.styles.ts +1 -1
  289. package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/components/FormStep/formStep.tsx +9 -8
  290. package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.styles.ts +10 -15
  291. package/src/components/Export/components/ExportToTerra/components/TerraSetUpForm/terraSetUpForm.tsx +5 -2
  292. package/src/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.styles.ts +7 -7
  293. package/src/components/Export/export.styles.ts +7 -7
  294. package/src/components/Filter/components/FilterLabel/filterLabel.styles.ts +2 -3
  295. package/src/components/Filter/components/FilterMenuSearch/filterMenuSearch.styles.ts +2 -2
  296. package/src/components/Filter/components/FilterNoResultsFound/filterNoResultsFound.tsx +4 -3
  297. package/src/components/Filter/components/FilterRange/filterRange.styles.ts +2 -2
  298. package/src/components/Filter/components/FilterTag/filterTag.styles.ts +2 -1
  299. package/src/components/Filter/components/Filters/filters.styles.ts +4 -4
  300. package/src/components/Filter/components/Filters/filters.tsx +1 -1
  301. package/src/components/Filter/components/HighlightedLabel/highlightedLabel.styles.ts +2 -1
  302. package/src/components/Filter/components/SearchAllFilters/components/AutocompletePopper/autocompletePopper.styles.ts +4 -4
  303. package/src/components/Filter/components/SearchAllFilters/components/VariableSizeList/VariableSizeList.tsx +7 -11
  304. package/src/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.tsx +3 -3
  305. package/src/components/Filter/components/SearchAllFilters/searchAllFilters.styles.ts +2 -2
  306. package/src/components/Filter/components/SearchAllFilters/searchAllFilters.tsx +7 -8
  307. package/src/components/Filter/components/SearchAllFiltersSearch/components/SearchCloseButton/searchCloseButton.tsx +3 -7
  308. package/src/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.styles.ts +3 -3
  309. package/src/components/Filter/components/VariableSizeListItem/variableSizeListItem.tsx +3 -3
  310. package/src/components/Filter/components/controls/Controls/controls.tsx +1 -1
  311. package/src/components/Filter/components/surfaces/drawer/components/ButtonBase/buttonBase.styles.ts +2 -2
  312. package/src/components/Filter/components/views/select/components/ListItemText/components/Count/count.tsx +1 -1
  313. package/src/components/Filter/components/views/select/components/ListItemText/components/Term/term.tsx +1 -1
  314. package/src/components/Index/components/EntityView/components/controls/ExportButton/exportButton.styles.ts +2 -2
  315. package/src/components/Index/components/EntityView/components/controls/FilterButton/filterButton.styles.ts +2 -2
  316. package/src/components/Index/components/EntityView/components/layout/Summary/summary.styles.ts +2 -1
  317. package/src/components/Index/components/EntityView/components/layout/Summary/summary.tsx +2 -2
  318. package/src/components/Index/components/EntityView/components/slots/EntityViewSlot/entityViewSlot.styles.ts +2 -2
  319. package/src/components/Index/components/EntityView/components/views/ChartView/chartView.tsx +1 -1
  320. package/src/components/Index/components/EntityView/components/views/ChartView/components/Chart/chart.styles.ts +4 -4
  321. package/src/components/Index/index.styles.ts +2 -2
  322. package/src/components/Layout/components/BackPage/backPageView.styles.ts +11 -10
  323. package/src/components/Layout/components/BackPage/components/BackPageHero/backPageHero.styles.ts +3 -3
  324. package/src/components/Layout/components/BackPage/components/BackPageHero/components/Actions/actions.styles.ts +2 -2
  325. package/src/components/Layout/components/BackPage/components/BackPageHero/components/SubTitle/subTitle.tsx +6 -2
  326. package/src/components/Layout/components/ContentLayout/contentLayout.styles.ts +20 -36
  327. package/src/components/Layout/components/Footer/components/VersionInfo/components/Tooltip/components/Title/title.tsx +5 -2
  328. package/src/components/Layout/components/Footer/components/VersionInfo/versionInfo.styles.ts +2 -2
  329. package/src/components/Layout/components/Footer/footer.styles.ts +8 -8
  330. package/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.styles.ts +2 -1
  331. package/src/components/Layout/components/Header/components/Content/components/Actions/components/Menu/components/Content/components/Navigation/navigation.styles.ts +3 -6
  332. package/src/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchBar/searchBar.styles.ts +4 -7
  333. package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationDrawer/navigationDrawer.styles.ts +6 -8
  334. package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenu/navigationMenu.styles.ts +8 -12
  335. package/src/components/Layout/components/Header/components/Content/components/Navigation/components/NavigationMenuItems/navigationMenuItems.tsx +5 -10
  336. package/src/components/Layout/components/Header/components/Content/components/Navigation/navigation.styles.ts +2 -2
  337. package/src/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.ts +4 -4
  338. package/src/components/Layout/components/Header/components/Content/components/Slogan/slogan.tsx +5 -2
  339. package/src/components/Layout/components/Header/header.styles.ts +2 -2
  340. package/src/components/Layout/components/Nav/components/NavBarHero/navBarHero.styles.ts +2 -1
  341. package/src/components/Layout/components/Nav/nav.styles.ts +8 -10
  342. package/src/components/Layout/components/Outline/components/ContentsTab/contentsTab.styles.ts +5 -4
  343. package/src/components/Layout/components/Outline/outline.styles.ts +10 -13
  344. package/src/components/Layout/components/Sidebar/components/SidebarButton/sidebarButton.styles.ts +7 -10
  345. package/src/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.styles.ts +5 -8
  346. package/src/components/Layout/components/Sidebar/components/SidebarLabel/sidebarLabel.tsx +5 -2
  347. package/src/components/Layout/components/Sidebar/components/SidebarPositioner/sidebarPositioner.styles.ts +2 -2
  348. package/src/components/Layout/components/Sidebar/components/SidebarTools/sidebarTools.styles.ts +2 -2
  349. package/src/components/Layout/components/Sidebar/sidebar.styles.ts +2 -2
  350. package/src/components/Layout/components/Sidebar/sidebar.tsx +4 -8
  351. package/src/components/Links/components/Link/link.tsx +2 -1
  352. package/src/components/Loading/loading.styles.ts +2 -2
  353. package/src/components/Loading/loading.tsx +6 -1
  354. package/src/components/Login/components/Section/components/Consent/consent.styles.ts +1 -1
  355. package/src/components/Login/components/Section/components/Consent/consent.tsx +4 -2
  356. package/src/components/Login/components/Section/components/Warning/warning.tsx +1 -1
  357. package/src/components/Login/login.styles.ts +5 -19
  358. package/src/components/Login/login.tsx +30 -7
  359. package/src/components/MarkdownRenderer/components/Table/table.styles.ts +2 -2
  360. package/src/components/MarkdownRenderer/markdownRenderer.tsx +1 -1
  361. package/src/components/NoResults/noResults.styles.ts +2 -2
  362. package/src/components/NoResults/noResults.tsx +1 -1
  363. package/src/components/Project/components/Contacts/contacts.tsx +7 -1
  364. package/src/components/Project/components/Details/details.tsx +7 -2
  365. package/src/components/Project/components/SupplementaryLinks/supplementaryLinks.styles.ts +2 -1
  366. package/src/components/Stepper/components/Step/components/StepContent/stepContent.styles.ts +2 -2
  367. package/src/components/Stepper/components/Step/components/StepIcon/components/CompletedIcon/completedIcon.styles.ts +3 -6
  368. package/src/components/Stepper/components/Step/components/StepIcon/stepIcon.styles.ts +5 -9
  369. package/src/components/Stepper/components/Step/components/StepLabel/components/Label/constants.ts +1 -1
  370. package/src/components/Stepper/components/Step/components/StepLabel/components/Optional/constants.ts +1 -1
  371. package/src/components/Stepper/components/Step/step.styles.ts +6 -6
  372. package/src/components/Support/components/SupportRequest/components/Dialog/dialog.styles.ts +5 -6
  373. package/src/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.styles.ts +2 -2
  374. package/src/components/Support/components/SupportRequest/components/SupportRequestForm/supportRequestForm.tsx +5 -2
  375. package/src/components/Support/components/SupportRequest/components/SupportRequestSubmitted/supportRequestSubmitted.tsx +8 -6
  376. package/src/components/Support/components/ViewSupport/viewSupport.styles.ts +6 -10
  377. package/src/components/Table/common/gridTable.styles.ts +1 -2
  378. package/src/components/Table/components/DownloadEntityResults/downloadEntityResults.styles.ts +2 -2
  379. package/src/components/Table/components/PaginationSummary/paginationSummary.tsx +9 -4
  380. package/src/components/Table/components/TableCell/components/BasicCell/basicCell.tsx +10 -2
  381. package/src/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.styles.ts +5 -5
  382. package/src/components/Table/components/TableCell/components/CollapsableCell/collapsableCell.tsx +3 -3
  383. package/src/components/Table/components/TableCell/components/LinkCell/stories/args.ts +1 -1
  384. package/src/components/Table/components/TableCell/components/NTagCell/nTagCell.tsx +6 -3
  385. package/src/components/Table/components/TableFeatures/ColumnFilter/columnFilter.tsx +1 -1
  386. package/src/components/Table/components/TablePagination/tablePagination.tsx +1 -1
  387. package/src/components/Table/components/TableRow/tableRow.styles.ts +2 -2
  388. package/src/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.styles.ts +5 -5
  389. package/src/components/Table/components/TableToolbar/components/RowPreview/components/RowDrawer/rowDrawer.tsx +6 -2
  390. package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.styles.ts +6 -6
  391. package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/components/RowDetail/rowDetail.tsx +3 -3
  392. package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.styles.ts +1 -1
  393. package/src/components/Table/components/TableToolbar/components/RowPreview/components/Section/section.tsx +5 -2
  394. package/src/components/Table/components/TableToolbar/components/RowSelection/rowSelection.tsx +2 -2
  395. package/src/components/Table/table.styles.ts +2 -2
  396. package/src/components/Table/table.tsx +2 -3
  397. package/src/components/common/Accordion/accordion.tsx +4 -2
  398. package/src/components/common/Alert/alert.styles.ts +3 -6
  399. package/src/components/common/Banner/banner.styles.ts +4 -4
  400. package/src/components/common/Banner/components/CookieBanner/cookieBanner.styles.ts +4 -4
  401. package/src/components/common/Button/components/HelpIconButton/helpIconButton.styles.ts +2 -1
  402. package/src/components/common/Button/components/NavigationButton/navigationButton.styles.ts +5 -4
  403. package/src/components/common/Card/card.styles.ts +2 -2
  404. package/src/components/common/Card/components/CardActions/cardActions.styles.ts +2 -2
  405. package/src/components/common/Card/components/CardSecondaryText/cardSecondaryText.tsx +7 -16
  406. package/src/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.styles.ts +1 -1
  407. package/src/components/common/Card/components/CardSecondaryTitle/cardSecondaryTitle.tsx +9 -17
  408. package/src/components/common/Card/components/CardText/cardText.tsx +8 -14
  409. package/src/components/common/Card/components/CardTitle/cardTitle.tsx +9 -14
  410. package/src/components/common/Code/code.styles.ts +11 -10
  411. package/src/components/common/Dot/dot.styles.ts +2 -1
  412. package/src/components/common/Form/components/Input/input.styles.ts +4 -4
  413. package/src/components/common/Form/components/Input/input.tsx +6 -2
  414. package/src/components/common/Form/components/Select/select.styles.ts +3 -3
  415. package/src/components/common/Form/components/Select/select.tsx +6 -2
  416. package/src/components/common/Form/components/UploadFile/uploadFile.styles.ts +10 -17
  417. package/src/components/common/Form/components/UploadFile/uploadFile.tsx +7 -3
  418. package/src/components/common/IconBadge/iconBadge.styles.ts +13 -22
  419. package/src/components/common/IconButton/iconButton.styles.ts +3 -3
  420. package/src/components/common/Input/input.styles.ts +3 -2
  421. package/src/components/common/Input/input.tsx +6 -2
  422. package/src/components/common/KeyValuePairs/components/KeyElType/keyElType.tsx +1 -1
  423. package/src/components/common/KeyValuePairs/components/ValueElType/valueElType.tsx +1 -1
  424. package/src/components/common/LoginDialog/constants.ts +2 -2
  425. package/src/components/common/MDXMarkdown/components/Section/mdxSection.styles.ts +4 -8
  426. package/src/components/common/Paper/components/FluidPaper/fluidPaper.styles.ts +2 -2
  427. package/src/components/common/Paper/paper.styles.ts +24 -24
  428. package/src/components/common/Progress/components/CircularProgress/components/CircularProgressTrack/circularProgressTrack.styles.ts +6 -12
  429. package/src/components/common/Section/components/CollapsableSection/collapsableSection.styles.ts +6 -5
  430. package/src/components/common/Section/components/CollapsableSection/collapsableSection.tsx +11 -8
  431. package/src/components/common/Section/components/SectionTitle/sectionTitle.tsx +3 -2
  432. package/src/components/common/Section/section.styles.ts +5 -5
  433. package/src/components/common/Socials/socials.styles.ts +3 -3
  434. package/src/components/common/StatusIcon/statusIcon.styles.ts +13 -12
  435. package/src/components/common/Tag/tag.styles.ts +4 -3
  436. package/src/components/common/Tag/tag.tsx +14 -11
  437. package/src/components/common/Title/title.tsx +1 -1
  438. package/src/components/common/Typography/TypographyWordBreak/TypographyWordBreak.tsx +2 -1
  439. package/src/styles/common/constants/app.ts +3 -0
  440. package/src/styles/common/constants/colorMixes.ts +1 -0
  441. package/src/styles/common/constants/font.ts +18 -0
  442. package/src/styles/common/constants/palette.ts +45 -45
  443. package/src/styles/common/constants/shadows.ts +3 -3
  444. package/src/styles/common/mixins/breakpoints.ts +19 -14
  445. package/src/styles/common/mui/typography.ts +26 -14
  446. package/src/theme/common/breakpoints.ts +16 -38
  447. package/src/theme/common/components.ts +1046 -1249
  448. package/src/theme/common/fontStyles.ts +17 -0
  449. package/src/theme/common/palette.ts +30 -75
  450. package/src/theme/common/typography.ts +85 -147
  451. package/src/theme/components/muiAlert.ts +96 -97
  452. package/src/theme/components/muiAlertTitle.ts +2 -2
  453. package/src/theme/components/muiTableCell.ts +44 -47
  454. package/src/theme/theme.ts +25 -107
  455. package/src/theme/types.ts +5 -0
  456. package/tests/theme.test.ts +465 -0
  457. package/tests/tsconfig.json +1 -1
  458. package/types/data-explorer-ui.d.ts +73 -48
  459. package/lib/styles/common/mixins/colors.d.ts +0 -25
  460. package/lib/styles/common/mixins/colors.js +0 -32
  461. package/lib/styles/common/mixins/fonts.d.ts +0 -16
  462. package/lib/styles/common/mixins/fonts.js +0 -30
  463. package/src/styles/common/mixins/colors.ts +0 -71
  464. package/src/styles/common/mixins/fonts.ts +0 -52
@@ -16,6 +16,7 @@ export const COLOR_MIXES = {
16
16
  INK_MAIN_64: `color-mix(in srgb, ${PALETTE.INK_MAIN} 64%, transparent)`,
17
17
  INK_MAIN_80: `color-mix(in srgb, ${PALETTE.INK_MAIN} 80%, transparent)`,
18
18
  PRIMARY_DARK_08: `color-mix(in srgb, ${PALETTE.PRIMARY_DARK} 8%, transparent)`,
19
+ PRIMARY_MAIN_90: `color-mix(in srgb, ${PALETTE.PRIMARY_MAIN} 90%, transparent)`,
19
20
  SUCCESS_MAIN_32: `color-mix(in srgb, ${PALETTE.SUCCESS_MAIN} 32%, transparent)`,
20
21
  WARNING_MAIN_32: `color-mix(in srgb, ${PALETTE.WARNING_MAIN} 32%, transparent)`,
21
22
  };
@@ -0,0 +1,18 @@
1
+ export declare const FONT: {
2
+ readonly BODY_400: "var(--font-body-400)";
3
+ readonly BODY_400_2_LINES: "var(--font-body-400-2lines)";
4
+ readonly BODY_500: "var(--font-body-500)";
5
+ readonly BODY_LARGE_400: "var(--font-body-large-400)";
6
+ readonly BODY_LARGE_400_2_LINES: "var(--font-body-large-400-2lines)";
7
+ readonly BODY_LARGE_500: "var(--font-body-large-500)";
8
+ readonly BODY_SMALL_400: "var(--font-body-small-400)";
9
+ readonly BODY_SMALL_400_2_LINES: "var(--font-body-small-400-2lines)";
10
+ readonly BODY_SMALL_500: "var(--font-body-small-500)";
11
+ readonly HEADING: "var(--font-heading)";
12
+ readonly HEADING_LARGE: "var(--font-heading-large)";
13
+ readonly HEADING_SMALL: "var(--font-heading-small)";
14
+ readonly HEADING_XLARGE: "var(--font-heading-xlarge)";
15
+ readonly HEADING_XSMALL: "var(--font-heading-xsmall)";
16
+ readonly INHERIT: "var(--font-inherit)";
17
+ readonly UPPERCASE_500: "var(--font-uppercase-500)";
18
+ };
@@ -0,0 +1,18 @@
1
+ export const FONT = {
2
+ BODY_400: `var(--font-body-400)`,
3
+ BODY_400_2_LINES: `var(--font-body-400-2lines)`,
4
+ BODY_500: `var(--font-body-500)`,
5
+ BODY_LARGE_400: `var(--font-body-large-400)`,
6
+ BODY_LARGE_400_2_LINES: `var(--font-body-large-400-2lines)`,
7
+ BODY_LARGE_500: `var(--font-body-large-500)`,
8
+ BODY_SMALL_400: `var(--font-body-small-400)`,
9
+ BODY_SMALL_400_2_LINES: `var(--font-body-small-400-2lines)`,
10
+ BODY_SMALL_500: `var(--font-body-small-500)`,
11
+ HEADING: `var(--font-heading)`,
12
+ HEADING_LARGE: `var(--font-heading-large)`,
13
+ HEADING_SMALL: `var(--font-heading-small)`,
14
+ HEADING_XLARGE: `var(--font-heading-xlarge)`,
15
+ HEADING_XSMALL: `var(--font-heading-xsmall)`,
16
+ INHERIT: `var(--font-inherit)`,
17
+ UPPERCASE_500: `var(--font-uppercase-500)`,
18
+ };
@@ -1,47 +1,47 @@
1
1
  export declare const PALETTE: {
2
- readonly ALERT_LIGHT: "var(--mui-palette-alert-light)";
3
- readonly ALERT_LIGHTEST: "var(--mui-palette-alert-lightest)";
4
- readonly ALERT_MAIN: "var(--mui-palette-alert-main)";
5
- readonly BACKGROUND_DEFAULT: "var(--mui-palette-background-default)";
6
- readonly BACKGROUND_PAPER: "var(--mui-palette-background-paper)";
7
- readonly COMMON_BACKGROUND: "var(--mui-palette-common-background)";
8
- readonly COMMON_BLACK: "var(--mui-palette-common-black)";
9
- readonly COMMON_WHITE: "var(--mui-palette-common-white)";
10
- readonly ERROR_CONTRAST_TEXT: "var(--mui-palette-error-contrastText)";
11
- readonly ERROR_DARK: "var(--mui-palette-error-dark)";
12
- readonly ERROR_LIGHT: "var(--mui-palette-error-light)";
13
- readonly ERROR_MAIN: "var(--mui-palette-error-main)";
14
- readonly INFO_CONTRAST_TEXT: "var(--mui-palette-info-contrastText)";
15
- readonly INFO_DARK: "var(--mui-palette-info-dark)";
16
- readonly INFO_LIGHT: "var(--mui-palette-info-light)";
17
- readonly INFO_LIGHTEST: "var(--mui-palette-info-lightest)";
18
- readonly INFO_MAIN: "var(--mui-palette-info-main)";
19
- readonly INK_LIGHT: "var(--mui-palette-ink-light)";
20
- readonly INK_MAIN: "var(--mui-palette-ink-main)";
21
- readonly PRIMARY_CONTRAST_TEXT: "var(--mui-palette-primary-contrastText)";
22
- readonly PRIMARY_DARK: "var(--mui-palette-primary-dark)";
23
- readonly PRIMARY_LIGHT: "var(--mui-palette-primary-light)";
24
- readonly PRIMARY_LIGHTEST: "var(--mui-palette-primary-lightest)";
25
- readonly PRIMARY_MAIN: "var(--mui-palette-primary-main)";
26
- readonly SECONDARY_CONTRAST_TEXT: "var(--mui-palette-secondary-contrastText)";
27
- readonly SECONDARY_DARK: "var(--mui-palette-secondary-dark)";
28
- readonly SECONDARY_LIGHT: "var(--mui-palette-secondary-light)";
29
- readonly SECONDARY_MAIN: "var(--mui-palette-secondary-main)";
30
- readonly SMOKE_DARK: "var(--mui-palette-smoke-dark)";
31
- readonly SMOKE_LIGHT: "var(--mui-palette-smoke-light)";
32
- readonly SMOKE_LIGHTEST: "var(--mui-palette-smoke-lightest)";
33
- readonly SMOKE_MAIN: "var(--mui-palette-smoke-main)";
34
- readonly SUCCESS_CONTRAST_TEXT: "var(--mui-palette-success-contrastText)";
35
- readonly SUCCESS_DARK: "var(--mui-palette-success-dark)";
36
- readonly SUCCESS_LIGHT: "var(--mui-palette-success-light)";
37
- readonly SUCCESS_LIGHTEST: "var(--mui-palette-success-lightest)";
38
- readonly SUCCESS_MAIN: "var(--mui-palette-success-main)";
39
- readonly TEXT_DISABLED: "var(--mui-palette-text-disabled)";
40
- readonly TEXT_PRIMARY: "var(--mui-palette-text-primary)";
41
- readonly TEXT_SECONDARY: "var(--mui-palette-text-secondary)";
42
- readonly WARNING_CONTRAST_TEXT: "var(--mui-palette-warning-contrastText)";
43
- readonly WARNING_DARK: "var(--mui-palette-warning-dark)";
44
- readonly WARNING_LIGHT: "var(--mui-palette-warning-light)";
45
- readonly WARNING_LIGHTEST: "var(--mui-palette-warning-lightest)";
46
- readonly WARNING_MAIN: "var(--mui-palette-warning-main)";
2
+ readonly ALERT_LIGHT: "var(--palette-alert-light)";
3
+ readonly ALERT_LIGHTEST: "var(--palette-alert-lightest)";
4
+ readonly ALERT_MAIN: "var(--palette-alert-main)";
5
+ readonly BACKGROUND_DEFAULT: "var(--palette-background-default)";
6
+ readonly BACKGROUND_PAPER: "var(--palette-background-paper)";
7
+ readonly COMMON_BACKGROUND: "var(--palette-common-background)";
8
+ readonly COMMON_BLACK: "var(--palette-common-black)";
9
+ readonly COMMON_WHITE: "var(--palette-common-white)";
10
+ readonly ERROR_CONTRAST_TEXT: "var(--palette-error-contrastText)";
11
+ readonly ERROR_DARK: "var(--palette-error-dark)";
12
+ readonly ERROR_LIGHT: "var(--palette-error-light)";
13
+ readonly ERROR_MAIN: "var(--palette-error-main)";
14
+ readonly INFO_CONTRAST_TEXT: "var(--palette-info-contrastText)";
15
+ readonly INFO_DARK: "var(--palette-info-dark)";
16
+ readonly INFO_LIGHT: "var(--palette-info-light)";
17
+ readonly INFO_LIGHTEST: "var(--palette-info-lightest)";
18
+ readonly INFO_MAIN: "var(--palette-info-main)";
19
+ readonly INK_LIGHT: "var(--palette-ink-light)";
20
+ readonly INK_MAIN: "var(--palette-ink-main)";
21
+ readonly PRIMARY_CONTRAST_TEXT: "var(--palette-primary-contrastText)";
22
+ readonly PRIMARY_DARK: "var(--palette-primary-dark)";
23
+ readonly PRIMARY_LIGHT: "var(--palette-primary-light)";
24
+ readonly PRIMARY_LIGHTEST: "var(--palette-primary-lightest)";
25
+ readonly PRIMARY_MAIN: "var(--palette-primary-main)";
26
+ readonly SECONDARY_CONTRAST_TEXT: "var(--palette-secondary-contrastText)";
27
+ readonly SECONDARY_DARK: "var(--palette-secondary-dark)";
28
+ readonly SECONDARY_LIGHT: "var(--palette-secondary-light)";
29
+ readonly SECONDARY_MAIN: "var(--palette-secondary-main)";
30
+ readonly SMOKE_DARK: "var(--palette-smoke-dark)";
31
+ readonly SMOKE_LIGHT: "var(--palette-smoke-light)";
32
+ readonly SMOKE_LIGHTEST: "var(--palette-smoke-lightest)";
33
+ readonly SMOKE_MAIN: "var(--palette-smoke-main)";
34
+ readonly SUCCESS_CONTRAST_TEXT: "var(--palette-success-contrastText)";
35
+ readonly SUCCESS_DARK: "var(--palette-success-dark)";
36
+ readonly SUCCESS_LIGHT: "var(--palette-success-light)";
37
+ readonly SUCCESS_LIGHTEST: "var(--palette-success-lightest)";
38
+ readonly SUCCESS_MAIN: "var(--palette-success-main)";
39
+ readonly TEXT_DISABLED: "var(--palette-text-disabled)";
40
+ readonly TEXT_PRIMARY: "var(--palette-text-primary)";
41
+ readonly TEXT_SECONDARY: "var(--palette-text-secondary)";
42
+ readonly WARNING_CONTRAST_TEXT: "var(--palette-warning-contrastText)";
43
+ readonly WARNING_DARK: "var(--palette-warning-dark)";
44
+ readonly WARNING_LIGHT: "var(--palette-warning-light)";
45
+ readonly WARNING_LIGHTEST: "var(--palette-warning-lightest)";
46
+ readonly WARNING_MAIN: "var(--palette-warning-main)";
47
47
  };
@@ -1,47 +1,47 @@
1
1
  export const PALETTE = {
2
- ALERT_LIGHT: `var(--mui-palette-alert-light)`,
3
- ALERT_LIGHTEST: `var(--mui-palette-alert-lightest)`,
4
- ALERT_MAIN: `var(--mui-palette-alert-main)`,
5
- BACKGROUND_DEFAULT: `var(--mui-palette-background-default)`,
6
- BACKGROUND_PAPER: `var(--mui-palette-background-paper)`,
7
- COMMON_BACKGROUND: `var(--mui-palette-common-background)`,
8
- COMMON_BLACK: `var(--mui-palette-common-black)`,
9
- COMMON_WHITE: `var(--mui-palette-common-white)`,
10
- ERROR_CONTRAST_TEXT: `var(--mui-palette-error-contrastText)`,
11
- ERROR_DARK: `var(--mui-palette-error-dark)`,
12
- ERROR_LIGHT: `var(--mui-palette-error-light)`,
13
- ERROR_MAIN: `var(--mui-palette-error-main)`,
14
- INFO_CONTRAST_TEXT: `var(--mui-palette-info-contrastText)`,
15
- INFO_DARK: `var(--mui-palette-info-dark)`,
16
- INFO_LIGHT: `var(--mui-palette-info-light)`,
17
- INFO_LIGHTEST: `var(--mui-palette-info-lightest)`,
18
- INFO_MAIN: `var(--mui-palette-info-main)`,
19
- INK_LIGHT: `var(--mui-palette-ink-light)`,
20
- INK_MAIN: `var(--mui-palette-ink-main)`,
21
- PRIMARY_CONTRAST_TEXT: `var(--mui-palette-primary-contrastText)`,
22
- PRIMARY_DARK: `var(--mui-palette-primary-dark)`,
23
- PRIMARY_LIGHT: `var(--mui-palette-primary-light)`,
24
- PRIMARY_LIGHTEST: `var(--mui-palette-primary-lightest)`,
25
- PRIMARY_MAIN: `var(--mui-palette-primary-main)`,
26
- SECONDARY_CONTRAST_TEXT: `var(--mui-palette-secondary-contrastText)`,
27
- SECONDARY_DARK: `var(--mui-palette-secondary-dark)`,
28
- SECONDARY_LIGHT: `var(--mui-palette-secondary-light)`,
29
- SECONDARY_MAIN: `var(--mui-palette-secondary-main)`,
30
- SMOKE_DARK: `var(--mui-palette-smoke-dark)`,
31
- SMOKE_LIGHT: `var(--mui-palette-smoke-light)`,
32
- SMOKE_LIGHTEST: `var(--mui-palette-smoke-lightest)`,
33
- SMOKE_MAIN: `var(--mui-palette-smoke-main)`,
34
- SUCCESS_CONTRAST_TEXT: `var(--mui-palette-success-contrastText)`,
35
- SUCCESS_DARK: `var(--mui-palette-success-dark)`,
36
- SUCCESS_LIGHT: `var(--mui-palette-success-light)`,
37
- SUCCESS_LIGHTEST: `var(--mui-palette-success-lightest)`,
38
- SUCCESS_MAIN: `var(--mui-palette-success-main)`,
39
- TEXT_DISABLED: `var(--mui-palette-text-disabled)`,
40
- TEXT_PRIMARY: `var(--mui-palette-text-primary)`,
41
- TEXT_SECONDARY: `var(--mui-palette-text-secondary)`,
42
- WARNING_CONTRAST_TEXT: `var(--mui-palette-warning-contrastText)`,
43
- WARNING_DARK: `var(--mui-palette-warning-dark)`,
44
- WARNING_LIGHT: `var(--mui-palette-warning-light)`,
45
- WARNING_LIGHTEST: `var(--mui-palette-warning-lightest)`,
46
- WARNING_MAIN: `var(--mui-palette-warning-main)`,
2
+ ALERT_LIGHT: `var(--palette-alert-light)`,
3
+ ALERT_LIGHTEST: `var(--palette-alert-lightest)`,
4
+ ALERT_MAIN: `var(--palette-alert-main)`,
5
+ BACKGROUND_DEFAULT: `var(--palette-background-default)`,
6
+ BACKGROUND_PAPER: `var(--palette-background-paper)`,
7
+ COMMON_BACKGROUND: `var(--palette-common-background)`,
8
+ COMMON_BLACK: `var(--palette-common-black)`,
9
+ COMMON_WHITE: `var(--palette-common-white)`,
10
+ ERROR_CONTRAST_TEXT: `var(--palette-error-contrastText)`,
11
+ ERROR_DARK: `var(--palette-error-dark)`,
12
+ ERROR_LIGHT: `var(--palette-error-light)`,
13
+ ERROR_MAIN: `var(--palette-error-main)`,
14
+ INFO_CONTRAST_TEXT: `var(--palette-info-contrastText)`,
15
+ INFO_DARK: `var(--palette-info-dark)`,
16
+ INFO_LIGHT: `var(--palette-info-light)`,
17
+ INFO_LIGHTEST: `var(--palette-info-lightest)`,
18
+ INFO_MAIN: `var(--palette-info-main)`,
19
+ INK_LIGHT: `var(--palette-ink-light)`,
20
+ INK_MAIN: `var(--palette-ink-main)`,
21
+ PRIMARY_CONTRAST_TEXT: `var(--palette-primary-contrastText)`,
22
+ PRIMARY_DARK: `var(--palette-primary-dark)`,
23
+ PRIMARY_LIGHT: `var(--palette-primary-light)`,
24
+ PRIMARY_LIGHTEST: `var(--palette-primary-lightest)`,
25
+ PRIMARY_MAIN: `var(--palette-primary-main)`,
26
+ SECONDARY_CONTRAST_TEXT: `var(--palette-secondary-contrastText)`,
27
+ SECONDARY_DARK: `var(--palette-secondary-dark)`,
28
+ SECONDARY_LIGHT: `var(--palette-secondary-light)`,
29
+ SECONDARY_MAIN: `var(--palette-secondary-main)`,
30
+ SMOKE_DARK: `var(--palette-smoke-dark)`,
31
+ SMOKE_LIGHT: `var(--palette-smoke-light)`,
32
+ SMOKE_LIGHTEST: `var(--palette-smoke-lightest)`,
33
+ SMOKE_MAIN: `var(--palette-smoke-main)`,
34
+ SUCCESS_CONTRAST_TEXT: `var(--palette-success-contrastText)`,
35
+ SUCCESS_DARK: `var(--palette-success-dark)`,
36
+ SUCCESS_LIGHT: `var(--palette-success-light)`,
37
+ SUCCESS_LIGHTEST: `var(--palette-success-lightest)`,
38
+ SUCCESS_MAIN: `var(--palette-success-main)`,
39
+ TEXT_DISABLED: `var(--palette-text-disabled)`,
40
+ TEXT_PRIMARY: `var(--palette-text-primary)`,
41
+ TEXT_SECONDARY: `var(--palette-text-secondary)`,
42
+ WARNING_CONTRAST_TEXT: `var(--palette-warning-contrastText)`,
43
+ WARNING_DARK: `var(--palette-warning-dark)`,
44
+ WARNING_LIGHT: `var(--palette-warning-light)`,
45
+ WARNING_LIGHTEST: `var(--palette-warning-lightest)`,
46
+ WARNING_MAIN: `var(--palette-warning-main)`,
47
47
  };
@@ -1,5 +1,5 @@
1
1
  export const SHADOWS = {
2
- "00": `var(--mui-shadows-0)`,
3
- "01": `var(--mui-shadows-1)`,
4
- "02": `var(--mui-shadows-2)`,
2
+ "00": `var(--shadows-0)`,
3
+ "01": `var(--shadows-1)`,
4
+ "02": `var(--shadows-2)`,
5
5
  };
@@ -1,9 +1,11 @@
1
- import { ThemeProps } from "../../../theme/theme";
1
+ import { ThemeProps } from "../../../theme/types";
2
2
  export declare const bpDown820: ({ theme }: ThemeProps) => string;
3
3
  export declare const bpDown1024: ({ theme }: ThemeProps) => string;
4
- export declare const mediaDesktopSmallDown: ({ theme }: ThemeProps) => string;
5
- export declare const mediaDesktopSmallUp: ({ theme }: ThemeProps) => string;
6
- export declare const mediaDesktopUp: ({ theme }: ThemeProps) => string;
7
- export declare const mediaTabletDown: ({ theme }: ThemeProps) => string;
8
- export declare const mediaTabletUp: ({ theme }: ThemeProps) => string;
9
- export declare const media1366Up: ({ theme }: ThemeProps) => string;
4
+ export declare const bpUp1366: ({ theme }: ThemeProps) => string;
5
+ export declare const bpDownLg: ({ theme }: ThemeProps) => string;
6
+ export declare const bpDownMd: ({ theme }: ThemeProps) => string;
7
+ export declare const bpDownSm: ({ theme }: ThemeProps) => string;
8
+ export declare const bpUpLg: ({ theme }: ThemeProps) => string;
9
+ export declare const bpUpMd: ({ theme }: ThemeProps) => string;
10
+ export declare const bpUpSm: ({ theme }: ThemeProps) => string;
11
+ export declare const bpUpXs: ({ theme }: ThemeProps) => string;
@@ -1,9 +1,10 @@
1
- import { DESKTOP, DESKTOP_SM, TABLET } from "../../../theme/common/breakpoints";
2
1
  export const bpDown820 = ({ theme }) => theme.breakpoints.down(820);
3
2
  export const bpDown1024 = ({ theme }) => theme.breakpoints.down(1024);
4
- export const mediaDesktopSmallDown = ({ theme }) => theme.breakpoints.down(DESKTOP_SM);
5
- export const mediaDesktopSmallUp = ({ theme }) => theme.breakpoints.up(DESKTOP_SM);
6
- export const mediaDesktopUp = ({ theme }) => theme.breakpoints.up(DESKTOP);
7
- export const mediaTabletDown = ({ theme }) => theme.breakpoints.down(TABLET);
8
- export const mediaTabletUp = ({ theme }) => theme.breakpoints.up(TABLET);
9
- export const media1366Up = ({ theme }) => theme.breakpoints.up(1366);
3
+ export const bpUp1366 = ({ theme }) => theme.breakpoints.up(1366);
4
+ export const bpDownLg = ({ theme }) => theme.breakpoints.down("lg");
5
+ export const bpDownMd = ({ theme }) => theme.breakpoints.down("md");
6
+ export const bpDownSm = ({ theme }) => theme.breakpoints.down("sm");
7
+ export const bpUpLg = ({ theme }) => theme.breakpoints.up("lg");
8
+ export const bpUpMd = ({ theme }) => theme.breakpoints.up("md");
9
+ export const bpUpSm = ({ theme }) => theme.breakpoints.up("sm");
10
+ export const bpUpXs = ({ theme }) => theme.breakpoints.up("xs");
@@ -1,9 +1,38 @@
1
- import { TypographyOwnProps } from "@mui/material";
2
1
  type TypographyPropsOptions = {
3
2
  COLOR: typeof COLOR;
4
3
  VARIANT: typeof VARIANT;
5
4
  };
6
- declare const COLOR: Record<string, TypographyOwnProps["color"]>;
7
- declare const VARIANT: Record<string, TypographyOwnProps["variant"]>;
5
+ declare const COLOR: {
6
+ readonly ERROR: "error";
7
+ readonly INFO: "info";
8
+ readonly INHERIT: "inherit";
9
+ readonly INK_LIGHT: "ink.light";
10
+ readonly INK_MAIN: "ink.main";
11
+ readonly PRIMARY: "primary";
12
+ readonly SECONDARY: "secondary";
13
+ readonly SUCCESS: "success";
14
+ readonly TEXT_DISABLED: "textDisabled";
15
+ readonly TEXT_PRIMARY: "textPrimary";
16
+ readonly TEXT_SECONDARY: "textSecondary";
17
+ readonly WARNING: "warning";
18
+ };
19
+ declare const VARIANT: {
20
+ readonly BODY_400: "body-400";
21
+ readonly BODY_400_2_LINES: "body-400-2lines";
22
+ readonly BODY_500: "body-500";
23
+ readonly BODY_LARGE_400: "body-large-400";
24
+ readonly BODY_LARGE_400_2_LINES: "body-large-400-2lines";
25
+ readonly BODY_LARGE_500: "body-large-500";
26
+ readonly BODY_SMALL_400: "body-small-400";
27
+ readonly BODY_SMALL_400_2_LINES: "body-small-400-2lines";
28
+ readonly BODY_SMALL_500: "body-small-500";
29
+ readonly HEADING: "heading";
30
+ readonly HEADING_LARGE: "heading-large";
31
+ readonly HEADING_SMALL: "heading-small";
32
+ readonly HEADING_XLARGE: "heading-xlarge";
33
+ readonly HEADING_XSMALL: "heading-xsmall";
34
+ readonly INHERIT: "inherit";
35
+ readonly UPPERCASE_500: "uppercase-500";
36
+ };
8
37
  export declare const TYPOGRAPHY_PROPS: TypographyPropsOptions;
9
38
  export {};
@@ -1,22 +1,34 @@
1
1
  const COLOR = {
2
2
  ERROR: "error",
3
+ INFO: "info",
3
4
  INHERIT: "inherit",
4
5
  INK_LIGHT: "ink.light",
5
6
  INK_MAIN: "ink.main",
6
7
  PRIMARY: "primary",
8
+ SECONDARY: "secondary",
9
+ SUCCESS: "success",
10
+ TEXT_DISABLED: "textDisabled",
11
+ TEXT_PRIMARY: "textPrimary",
12
+ TEXT_SECONDARY: "textSecondary",
13
+ WARNING: "warning",
7
14
  };
8
15
  const VARIANT = {
16
+ BODY_400: "body-400",
17
+ BODY_400_2_LINES: "body-400-2lines",
18
+ BODY_500: "body-500",
19
+ BODY_LARGE_400: "body-large-400",
20
+ BODY_LARGE_400_2_LINES: "body-large-400-2lines",
21
+ BODY_LARGE_500: "body-large-500",
22
+ BODY_SMALL_400: "body-small-400",
23
+ BODY_SMALL_400_2_LINES: "body-small-400-2lines",
24
+ BODY_SMALL_500: "body-small-500",
25
+ HEADING: "heading",
26
+ HEADING_LARGE: "heading-large",
27
+ HEADING_SMALL: "heading-small",
28
+ HEADING_XLARGE: "heading-xlarge",
29
+ HEADING_XSMALL: "heading-xsmall",
9
30
  INHERIT: "inherit",
10
- TEXT_BODY_400: "text-body-400",
11
- TEXT_BODY_400_2_LINES: "text-body-400-2lines",
12
- TEXT_BODY_500: "text-body-500",
13
- TEXT_BODY_LARGE_500: "text-body-large-500",
14
- TEXT_BODY_SMALL_400: "text-body-small-400",
15
- TEXT_BODY_SMALL_500: "text-body-small-500",
16
- TEXT_HEADING_LARGE: "text-heading-large",
17
- TEXT_HEADING_SMALL: "text-heading-small",
18
- TEXT_HEADING_XSMALL: "text-heading-xsmall",
19
- TEXT_UPPERCASE_500: "text-uppercase-500",
31
+ UPPERCASE_500: "uppercase-500",
20
32
  };
21
33
  export const TYPOGRAPHY_PROPS = {
22
34
  COLOR,
@@ -1,29 +1,8 @@
1
- import { Breakpoint } from "@mui/material";
1
+ import { ThemeOptions } from "@mui/material";
2
2
  /**
3
- * Breakpoints
3
+ * Creates breakpoint configuration for theme creation.
4
+ * Merges default breakpoint values with any custom breakpoints provided in theme options.
5
+ * @param themeOptions - Theme options.
6
+ * @returns Breakpoint configuration object with values for xs, sm, md, lg breakpoints.
4
7
  */
5
- declare enum BREAKPOINTS {
6
- DESKTOP = 1440,
7
- DESKTOP_SM = 1280,
8
- MOBILE = 0,
9
- TABLET = 768
10
- }
11
- export declare const DESKTOP: Breakpoint;
12
- export declare const DESKTOP_SM: Breakpoint;
13
- export declare const MOBILE: Breakpoint;
14
- export declare const TABLET: Breakpoint;
15
- /**
16
- * Breakpoints constants
17
- */
18
- export declare const desktop = BREAKPOINTS.DESKTOP;
19
- export declare const desktopSm = BREAKPOINTS.DESKTOP_SM;
20
- export declare const mobile = BREAKPOINTS.MOBILE;
21
- export declare const tablet = BREAKPOINTS.TABLET;
22
- /**
23
- * Breakpoints queries
24
- */
25
- export declare const desktopUp = "@media (min-width: 1440px)";
26
- export declare const desktopSmUp = "@media (min-width: 1280px)";
27
- export declare const mobileUp = "@media (min-width: 0px)";
28
- export declare const tabletUp = "@media (min-width: 768px)";
29
- export {};
8
+ export declare const breakpoints: (themeOptions: ThemeOptions) => ThemeOptions["breakpoints"];
@@ -1,37 +1,15 @@
1
1
  /**
2
- * Breakpoints
3
- */
4
- var BREAKPOINTS;
5
- (function (BREAKPOINTS) {
6
- BREAKPOINTS[BREAKPOINTS["DESKTOP"] = 1440] = "DESKTOP";
7
- BREAKPOINTS[BREAKPOINTS["DESKTOP_SM"] = 1280] = "DESKTOP_SM";
8
- BREAKPOINTS[BREAKPOINTS["MOBILE"] = 0] = "MOBILE";
9
- BREAKPOINTS[BREAKPOINTS["TABLET"] = 768] = "TABLET";
10
- })(BREAKPOINTS || (BREAKPOINTS = {}));
11
- /**
12
- * Breakpoint key constants
13
- */
14
- const BREAKPOINT_KEY = {
15
- DESKTOP: "lg",
16
- DESKTOP_SM: "md",
17
- MOBILE: "xs",
18
- TABLET: "sm",
19
- };
20
- export const DESKTOP = BREAKPOINT_KEY.DESKTOP;
21
- export const DESKTOP_SM = BREAKPOINT_KEY.DESKTOP_SM;
22
- export const MOBILE = BREAKPOINT_KEY.MOBILE;
23
- export const TABLET = BREAKPOINT_KEY.TABLET;
24
- /**
25
- * Breakpoints constants
26
- */
27
- export const desktop = BREAKPOINTS.DESKTOP;
28
- export const desktopSm = BREAKPOINTS.DESKTOP_SM;
29
- export const mobile = BREAKPOINTS.MOBILE;
30
- export const tablet = BREAKPOINTS.TABLET;
31
- /**
32
- * Breakpoints queries
33
- */
34
- export const desktopUp = `@media (min-width: ${desktop}px)`;
35
- export const desktopSmUp = `@media (min-width: ${desktopSm}px)`;
36
- export const mobileUp = `@media (min-width: ${mobile}px)`;
37
- export const tabletUp = `@media (min-width: ${tablet}px)`;
2
+ * Creates breakpoint configuration for theme creation.
3
+ * Merges default breakpoint values with any custom breakpoints provided in theme options.
4
+ * @param themeOptions - Theme options.
5
+ * @returns Breakpoint configuration object with values for xs, sm, md, lg breakpoints.
6
+ */
7
+ export const breakpoints = (themeOptions) => ({
8
+ values: {
9
+ lg: 1440,
10
+ md: 1280,
11
+ sm: 768,
12
+ xs: 0,
13
+ ...themeOptions.breakpoints?.values,
14
+ },
15
+ });