@gen3/frontend 0.10.81 → 0.10.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/dist/cjs/index.js +35 -28
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/dts/components/Buttons/ActionButton.d.ts.map +1 -1
  4. package/dist/dts/components/Buttons/ActionButton.js.map +1 -1
  5. package/dist/dts/components/Buttons/DownloadButtons/DownloadButton.d.ts +2 -2
  6. package/dist/dts/components/Buttons/DownloadButtons/DownloadButton.d.ts.map +1 -1
  7. package/dist/dts/components/Buttons/DownloadButtons/DownloadButton.js +1 -1
  8. package/dist/dts/components/Buttons/DownloadButtons/DownloadButton.js.map +1 -1
  9. package/dist/dts/components/Buttons/DropdownButtons/DropdownButton.d.ts +1 -1
  10. package/dist/dts/components/Buttons/DropdownButtons/DropdownButton.d.ts.map +1 -1
  11. package/dist/dts/components/Buttons/DropdownButtons/DropdownButton.js.map +1 -1
  12. package/dist/dts/components/CollapsableSidebar/CollapsableSidebar.d.ts +1 -0
  13. package/dist/dts/components/CollapsableSidebar/CollapsableSidebar.d.ts.map +1 -1
  14. package/dist/dts/components/CollapsableSidebar/CollapsableSidebar.js.map +1 -1
  15. package/dist/dts/components/CollapsableSidebar/CollapsableSidebar.stories.d.ts +7 -0
  16. package/dist/dts/components/CollapsableSidebar/CollapsableSidebar.stories.d.ts.map +1 -0
  17. package/dist/dts/components/CollapsableSidebar/CollapsableSidebar.stories.js +15 -0
  18. package/dist/dts/components/CollapsableSidebar/CollapsableSidebar.stories.js.map +1 -0
  19. package/dist/dts/components/Content/LandingPageContent.js +1 -1
  20. package/dist/dts/components/Content/LandingPageContent.js.map +1 -1
  21. package/dist/dts/components/DataItems/TruncatedStringWithTooltip.stories.d.ts +14 -0
  22. package/dist/dts/components/DataItems/TruncatedStringWithTooltip.stories.d.ts.map +1 -0
  23. package/dist/dts/components/DataItems/TruncatedStringWithTooltip.stories.js +19 -0
  24. package/dist/dts/components/DataItems/TruncatedStringWithTooltip.stories.js.map +1 -0
  25. package/dist/dts/components/Details/DefaultDetailsPanel.d.ts.map +1 -1
  26. package/dist/dts/components/Details/DefaultDetailsPanel.js.map +1 -1
  27. package/dist/dts/components/Details/DetailsDrawer.js +1 -1
  28. package/dist/dts/components/Details/DetailsDrawer.js.map +1 -1
  29. package/dist/dts/components/Details/DetailsModal.d.ts.map +1 -1
  30. package/dist/dts/components/Details/DetailsModal.js.map +1 -1
  31. package/dist/dts/components/DropdownWithIcon/DropdownWithIcon.unit.test.js.map +1 -1
  32. package/dist/dts/components/Layout/TexturedSidePanel.d.ts.map +1 -1
  33. package/dist/dts/components/Layout/TexturedSidePanel.js.map +1 -1
  34. package/dist/dts/components/Modals/BaseModal.d.ts.map +1 -1
  35. package/dist/dts/components/Modals/BaseModal.js.map +1 -1
  36. package/dist/dts/components/Modals/CreateCredentialsAPIKeyModal.d.ts.map +1 -1
  37. package/dist/dts/components/Modals/CreateCredentialsAPIKeyModal.js.map +1 -1
  38. package/dist/dts/components/Modals/FirstTimeModal.d.ts.map +1 -1
  39. package/dist/dts/components/Modals/FirstTimeModal.js.map +1 -1
  40. package/dist/dts/components/Modals/GeneralErrorModal.d.ts.map +1 -1
  41. package/dist/dts/components/Modals/GeneralErrorModal.js.map +1 -1
  42. package/dist/dts/components/Modals/NoAccessModal.d.ts.map +1 -1
  43. package/dist/dts/components/Modals/NoAccessModal.js.map +1 -1
  44. package/dist/dts/components/Modals/SessionExpiredModal.d.ts +2 -2
  45. package/dist/dts/components/Modals/SessionExpiredModal.d.ts.map +1 -1
  46. package/dist/dts/components/Modals/SessionExpiredModal.js.map +1 -1
  47. package/dist/dts/components/OverflowTooltippedLabel.d.ts.map +1 -1
  48. package/dist/dts/components/OverflowTooltippedLabel.js.map +1 -1
  49. package/dist/dts/components/Profile/ExternalProvidersPanel.js +1 -1
  50. package/dist/dts/components/Profile/ExternalProvidersPanel.js.map +1 -1
  51. package/dist/dts/components/Profile/ResourcesPanel.js.map +1 -1
  52. package/dist/dts/components/Providers/Gen3Provider.d.ts.map +1 -1
  53. package/dist/dts/components/Providers/Gen3Provider.js +26 -20
  54. package/dist/dts/components/Providers/Gen3Provider.js.map +1 -1
  55. package/dist/dts/components/Tables/TableIcons.d.ts.map +1 -1
  56. package/dist/dts/components/Tables/TableIcons.js.map +1 -1
  57. package/dist/dts/components/charts/ChartTitleBar.d.ts +1 -1
  58. package/dist/dts/components/charts/ChartTitleBar.d.ts.map +1 -1
  59. package/dist/dts/components/charts/ChartTitleBar.js +1 -1
  60. package/dist/dts/components/charts/ChartTitleBar.js.map +1 -1
  61. package/dist/dts/components/counts/CountsValue.d.ts.map +1 -1
  62. package/dist/dts/components/counts/CountsValue.js.map +1 -1
  63. package/dist/dts/features/Analysis/AnalysisCenter.d.ts.map +1 -1
  64. package/dist/dts/features/Analysis/AnalysisCenter.js.map +1 -1
  65. package/dist/dts/features/Analysis/AnalysisPanel.d.ts +1 -0
  66. package/dist/dts/features/Analysis/AnalysisPanel.d.ts.map +1 -1
  67. package/dist/dts/features/Analysis/AnalysisPanel.js.map +1 -1
  68. package/dist/dts/features/Analysis/TextDescription.d.ts.map +1 -1
  69. package/dist/dts/features/Analysis/TextDescription.js +1 -1
  70. package/dist/dts/features/Analysis/TextDescription.js.map +1 -1
  71. package/dist/dts/features/Authz/Gen3Authz.d.ts.map +1 -1
  72. package/dist/dts/features/Authz/Gen3Authz.js.map +1 -1
  73. package/dist/dts/features/Authz/Policies/PoliciesPanel.d.ts.map +1 -1
  74. package/dist/dts/features/Authz/Policies/PoliciesPanel.js +1 -1
  75. package/dist/dts/features/Authz/Policies/PoliciesPanel.js.map +1 -1
  76. package/dist/dts/features/Authz/Provider.d.ts +2 -1
  77. package/dist/dts/features/Authz/Provider.d.ts.map +1 -1
  78. package/dist/dts/features/Authz/Provider.js.map +1 -1
  79. package/dist/dts/features/Authz/Resources/ResourcesPanel.d.ts.map +1 -1
  80. package/dist/dts/features/Authz/Resources/ResourcesPanel.js +1 -1
  81. package/dist/dts/features/Authz/Resources/ResourcesPanel.js.map +1 -1
  82. package/dist/dts/features/Authz/Roles/PermissionnDetailsRow.d.ts +3 -3
  83. package/dist/dts/features/Authz/Roles/PermissionnDetailsRow.d.ts.map +1 -1
  84. package/dist/dts/features/Authz/Roles/PermissionnDetailsRow.js.map +1 -1
  85. package/dist/dts/features/Authz/Roles/RolesPanel.d.ts.map +1 -1
  86. package/dist/dts/features/Authz/Roles/RolesPanel.js.map +1 -1
  87. package/dist/dts/features/Authz/Users/Cards/UserDetails.d.ts.map +1 -1
  88. package/dist/dts/features/Authz/Users/Cards/UserDetails.js +6 -2
  89. package/dist/dts/features/Authz/Users/Cards/UserDetails.js.map +1 -1
  90. package/dist/dts/features/Authz/Users/Inputs.d.ts +4 -4
  91. package/dist/dts/features/Authz/Users/Inputs.d.ts.map +1 -1
  92. package/dist/dts/features/Authz/Users/Inputs.js +1 -1
  93. package/dist/dts/features/Authz/Users/Inputs.js.map +1 -1
  94. package/dist/dts/features/Authz/Users/NewUserPanel.d.ts.map +1 -1
  95. package/dist/dts/features/Authz/Users/NewUserPanel.js +1 -1
  96. package/dist/dts/features/Authz/Users/NewUserPanel.js.map +1 -1
  97. package/dist/dts/features/Authz/Users/UserDetailsPanel.d.ts.map +1 -1
  98. package/dist/dts/features/Authz/Users/UserDetailsPanel.js +1 -1
  99. package/dist/dts/features/Authz/Users/UserDetailsPanel.js.map +1 -1
  100. package/dist/dts/features/Authz/Users/UserPanel.d.ts.map +1 -1
  101. package/dist/dts/features/Authz/Users/UserPanel.js +3 -3
  102. package/dist/dts/features/Authz/Users/UserPanel.js.map +1 -1
  103. package/dist/dts/features/CohortBuilder/CohortManager.d.ts.map +1 -1
  104. package/dist/dts/features/CohortBuilder/CohortManager.js.map +1 -1
  105. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.d.ts.map +1 -1
  106. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/QueryRowDetailsPanel.js.map +1 -1
  107. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/RowTableDetailsPanel.d.ts.map +1 -1
  108. package/dist/dts/features/CohortBuilder/ExplorerTable/ExploreTableDetails/RowTableDetailsPanel.js.map +1 -1
  109. package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.d.ts.map +1 -1
  110. package/dist/dts/features/CohortBuilder/QueryExpression/QueryExpression.js.map +1 -1
  111. package/dist/dts/features/CohortBuilder/downloads/CohortActionButton.js +1 -1
  112. package/dist/dts/features/CohortBuilder/downloads/CohortActionButton.js.map +1 -1
  113. package/dist/dts/features/CohortBuilder/downloads/CohortDropdownActionButton.d.ts +1 -1
  114. package/dist/dts/features/CohortBuilder/downloads/CohortDropdownActionButton.d.ts.map +1 -1
  115. package/dist/dts/features/CohortBuilder/downloads/CohortDropdownActionButton.js +1 -1
  116. package/dist/dts/features/CohortBuilder/downloads/CohortDropdownActionButton.js.map +1 -1
  117. package/dist/dts/features/CohortBuilder/downloads/downloadActionHook.js.map +1 -1
  118. package/dist/dts/features/CohortDiscovery/FilterPanels/createFacetPanel.d.ts.map +1 -1
  119. package/dist/dts/features/CohortDiscovery/FilterPanels/createFacetPanel.js.map +1 -1
  120. package/dist/dts/features/CohortSimilarity/charts/cohortSimilarityChartsFactory.d.ts.map +1 -1
  121. package/dist/dts/features/CohortSimilarity/charts/cohortSimilarityChartsFactory.js.map +1 -1
  122. package/dist/dts/features/DataLibrary/DataLibrary.d.ts.map +1 -1
  123. package/dist/dts/features/DataLibrary/DataLibrary.js.map +1 -1
  124. package/dist/dts/features/DataLibrary/tables/QueriesTable.d.ts.map +1 -1
  125. package/dist/dts/features/DataLibrary/tables/QueriesTable.js.map +1 -1
  126. package/dist/dts/features/Dictionary/CategoryAccordionLabel.d.ts.map +1 -1
  127. package/dist/dts/features/Dictionary/CategoryAccordionLabel.js +1 -1
  128. package/dist/dts/features/Dictionary/CategoryAccordionLabel.js.map +1 -1
  129. package/dist/dts/features/Dictionary/Cell.d.ts.map +1 -1
  130. package/dist/dts/features/Dictionary/Cell.js.map +1 -1
  131. package/dist/dts/features/Dictionary/ResultCard.d.ts.map +1 -1
  132. package/dist/dts/features/Dictionary/ResultCard.js +1 -1
  133. package/dist/dts/features/Dictionary/ResultCard.js.map +1 -1
  134. package/dist/dts/features/Dictionary/ResultList.d.ts.map +1 -1
  135. package/dist/dts/features/Dictionary/ResultList.js.map +1 -1
  136. package/dist/dts/features/Discovery/ActionBar/DownloadAsZipButton.d.ts.map +1 -1
  137. package/dist/dts/features/Discovery/ActionBar/DownloadAsZipButton.js.map +1 -1
  138. package/dist/dts/features/Discovery/ActionBar/DownloadManifestButton.d.ts.map +1 -1
  139. package/dist/dts/features/Discovery/ActionBar/DownloadManifestButton.js.map +1 -1
  140. package/dist/dts/features/Discovery/Search/AiSearch.d.ts +1 -1
  141. package/dist/dts/features/Discovery/Search/AiSearch.d.ts.map +1 -1
  142. package/dist/dts/features/Discovery/Search/AiSearch.js +19 -12
  143. package/dist/dts/features/Discovery/Search/AiSearch.js.map +1 -1
  144. package/dist/dts/features/Discovery/Statistics/StatisticsRendererFactory.d.ts.map +1 -1
  145. package/dist/dts/features/Discovery/Statistics/StatisticsRendererFactory.js.map +1 -1
  146. package/dist/dts/features/Discovery/StudyDetails/DetailsAuthorizationIcon.d.ts +1 -1
  147. package/dist/dts/features/Discovery/StudyDetails/DetailsAuthorizationIcon.d.ts.map +1 -1
  148. package/dist/dts/features/Discovery/StudyDetails/DetailsAuthorizationIcon.js +3 -3
  149. package/dist/dts/features/Discovery/StudyDetails/DetailsAuthorizationIcon.js.map +1 -1
  150. package/dist/dts/features/Navigation/Banner.d.ts +1 -0
  151. package/dist/dts/features/Navigation/Banner.d.ts.map +1 -1
  152. package/dist/dts/features/Navigation/Banner.js +5 -5
  153. package/dist/dts/features/Navigation/Banner.js.map +1 -1
  154. package/dist/dts/features/Navigation/Footer/Footer.stories.d.ts +14 -0
  155. package/dist/dts/features/Navigation/Footer/Footer.stories.d.ts.map +1 -0
  156. package/dist/dts/features/Navigation/Footer/Footer.stories.js +46 -0
  157. package/dist/dts/features/Navigation/Footer/Footer.stories.js.map +1 -0
  158. package/dist/dts/features/Navigation/Footer/types.d.ts +2 -2
  159. package/dist/dts/features/Navigation/Footer/types.d.ts.map +1 -1
  160. package/dist/dts/features/Profile/Profile.d.ts.map +1 -1
  161. package/dist/dts/features/Profile/Profile.js.map +1 -1
  162. package/dist/dts/features/Workspace/ExternalLogins/ExternalLoginsStatus.d.ts.map +1 -1
  163. package/dist/dts/features/Workspace/ExternalLogins/ExternalLoginsStatus.js.map +1 -1
  164. package/dist/dts/features/Workspace/NotebookCard.d.ts.map +1 -1
  165. package/dist/dts/features/Workspace/NotebookCard.js.map +1 -1
  166. package/dist/dts/pages/404/Custom404Page.stories.d.ts +9 -0
  167. package/dist/dts/pages/404/Custom404Page.stories.d.ts.map +1 -0
  168. package/dist/dts/pages/404/Custom404Page.stories.js +12 -0
  169. package/dist/dts/pages/404/Custom404Page.stories.js.map +1 -0
  170. package/dist/dts/pages/DataDictionary/DataDictionary.d.ts.map +1 -1
  171. package/dist/dts/pages/DataDictionary/DataDictionary.js.map +1 -1
  172. package/dist/dts/pages/Landing/about-us.js +1 -1
  173. package/dist/dts/pages/Landing/about-us.js.map +1 -1
  174. package/dist/dts/pages/Theme/Colors.d.ts.map +1 -1
  175. package/dist/dts/pages/Theme/Colors.js.map +1 -1
  176. package/dist/dts/utils/RendererFactory.d.ts.map +1 -1
  177. package/dist/dts/utils/download.d.ts.map +1 -1
  178. package/dist/dts/utils/download.js.map +1 -1
  179. package/dist/esm/index.js +36 -29
  180. package/dist/esm/index.js.map +1 -1
  181. package/dist/index.d.ts +6 -6
  182. package/dist/tsconfig.tsbuildinfo +1 -1
  183. package/package.json +2 -1
  184. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.d.ts +0 -1
  185. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.d.ts.map +0 -1
  186. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.js +0 -2
  187. package/dist/dts/features/CohortBuilder/CohortManager/modals/SaveModal.js.map +0 -1
  188. package/dist/dts/features/DataLibrary/tables/DatalistContentsPanel.d.ts +0 -1
  189. package/dist/dts/features/DataLibrary/tables/DatalistContentsPanel.d.ts.map +0 -1
  190. package/dist/dts/features/DataLibrary/tables/DatalistContentsPanel.js +0 -130
  191. package/dist/dts/features/DataLibrary/tables/DatalistContentsPanel.js.map +0 -1
package/dist/cjs/index.js CHANGED
@@ -6129,7 +6129,7 @@ const SearchInputWithSuggestions = ({ searchChanged, placeholder, label, suggest
6129
6129
  * AiSearch is an ai chatbot presenting as a searchbar
6130
6130
  * @param uidForStorage - optional id used to store search results Defaults to 'aiSearch'
6131
6131
  * @param placeholder - optional Defaults to 'e.g. Is there any data with subjects diagnosed with lung disease?'
6132
- */ const AiSearch = ({ placeholder = 'e.g. Is there any data with subjects diagnosed with lung disease?', uidForStorage = 'aiSearch' })=>{
6132
+ */ const AiSearch = ({ placeholder = 'e.g. Is there any data with subjects diagnosed with lung disease?', uidForStorage = 'aiSearch' })=>{
6133
6133
  const [searchTerm, setSearchTerm] = React.useState('');
6134
6134
  const [searchTermOnSubmit, setSearchTermOnSubmit] = React.useState('');
6135
6135
  const [aiSearchHistory, setAiSearchHistory] = React.useState({});
@@ -14899,30 +14899,10 @@ const createMantineTheme = (fonts, colors)=>{
14899
14899
  const theme = core$1.createTheme({
14900
14900
  // use V2 font in MantineProvider
14901
14901
  fontFamily: fonts.fontFamily,
14902
- // Override default blue color until styles are determined
14903
- colors: {
14904
- white: [
14905
- // TODO: replace with primary theme color
14906
- '#ffffff',
14907
- '#ffffff',
14908
- '#ffffff',
14909
- '#ffffff',
14910
- '#ffffff',
14911
- '#ffffff',
14912
- '#ffffff',
14913
- '#ffffff',
14914
- '#ffffff',
14915
- '#ffffff'
14916
- ],
14917
- // Add default color from tailwind config to Mantine theme
14918
- // note that now getting colors from the tailwindcss-themer which assumes that plugin is last in the
14919
- // plugins declaration.
14920
- // TODO: refactor how the configuration get loaded
14921
- ...Object.fromEntries(Object.entries(colors).map(([key, values])=>[
14922
- key,
14923
- Object.values(values)
14924
- ]))
14925
- },
14902
+ colors: Object.fromEntries(Object.entries(colors).map(([key, values])=>values ? [
14903
+ key,
14904
+ Object.values(values)
14905
+ ] : [])),
14926
14906
  primaryColor: 'primary',
14927
14907
  primaryShade: {
14928
14908
  light: 4,
@@ -14936,13 +14916,40 @@ const createMantineTheme = (fonts, colors)=>{
14936
14916
  xl: '112.5em'
14937
14917
  },
14938
14918
  components: {
14939
- Modal: {
14919
+ Modal: core$1.Modal.extend({
14940
14920
  defaultProps: {
14941
14921
  classNames: {
14942
14922
  title: 'font-bold'
14943
14923
  }
14944
14924
  }
14945
- }
14925
+ }),
14926
+ Pagination: core$1.Pagination.extend({
14927
+ defaultProps: {
14928
+ getControlProps: (control)=>{
14929
+ if (control === 'first') {
14930
+ return {
14931
+ "aria-label": "First"
14932
+ };
14933
+ }
14934
+ if (control === 'last') {
14935
+ return {
14936
+ "aria-label": "Last"
14937
+ };
14938
+ }
14939
+ if (control === 'next') {
14940
+ return {
14941
+ "aria-label": "Next"
14942
+ };
14943
+ }
14944
+ if (control === 'previous') {
14945
+ return {
14946
+ "aria-label": "Previous"
14947
+ };
14948
+ }
14949
+ return {};
14950
+ }
14951
+ }
14952
+ })
14946
14953
  }
14947
14954
  });
14948
14955
  return theme;
@@ -15186,7 +15193,7 @@ const QueryPageGetServerSideProps = async ()=>{
15186
15193
  return /*#__PURE__*/ jsxRuntime.jsx("div", {
15187
15194
  className: "h-full relative",
15188
15195
  children: /*#__PURE__*/ jsxRuntime.jsx(Image, {
15189
- src: `${basePath}${obj.image.src}`,
15196
+ src: obj.image.src,
15190
15197
  alt: obj.image.alt,
15191
15198
  fill: true
15192
15199
  })