@gen3/frontend 0.11.30 → 0.11.32

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 (32) hide show
  1. package/dist/cjs/index.js +24 -34
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/dts/components/Providers/Gen3Provider.d.ts +1 -1
  4. package/dist/dts/components/counts/CountsValue.d.ts +3 -2
  5. package/dist/dts/components/counts/CountsValue.d.ts.map +1 -1
  6. package/dist/dts/components/counts/CountsValue.js +3 -4
  7. package/dist/dts/components/counts/CountsValue.js.map +1 -1
  8. package/dist/dts/components/facets/FacetTabs.js +1 -1
  9. package/dist/dts/components/facets/FacetTabs.js.map +1 -1
  10. package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +2 -2
  11. package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.d.ts +3 -3
  12. package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.d.ts.map +1 -1
  13. package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.js +4 -4
  14. package/dist/dts/features/CohortBuilder/CohortManager/CohortManager.js.map +1 -1
  15. package/dist/dts/features/CohortBuilder/CohortPanel.d.ts.map +1 -1
  16. package/dist/dts/features/CohortBuilder/CohortPanel.js +3 -3
  17. package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
  18. package/dist/dts/features/CohortBuilder/TabbedCohortBuilder.d.ts.map +1 -1
  19. package/dist/dts/features/CohortBuilder/TabbedCohortBuilder.js +8 -9
  20. package/dist/dts/features/CohortBuilder/TabbedCohortBuilder.js.map +1 -1
  21. package/dist/dts/index.d.ts +2 -1
  22. package/dist/dts/index.d.ts.map +1 -1
  23. package/dist/dts/index.js +2 -1
  24. package/dist/dts/index.js.map +1 -1
  25. package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.d.ts.map +1 -1
  26. package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.js +13 -10
  27. package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.js.map +1 -1
  28. package/dist/esm/index.js +24 -34
  29. package/dist/esm/index.js.map +1 -1
  30. package/dist/index.d.ts +13 -4
  31. package/dist/tsconfig.tsbuildinfo +1 -1
  32. package/package.json +3 -3
package/dist/cjs/index.js CHANGED
@@ -5385,7 +5385,7 @@ const FacetGroup = ({ facets, children })=>{
5385
5385
  const availableFields = facets.map((f)=>f.field);
5386
5386
  useScrollToHash(availableFields, false);
5387
5387
  return /*#__PURE__*/ jsxRuntime.jsx("div", {
5388
- className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 3xl:grid-cols-5 w-content gap-4 ml-2 w-full",
5388
+ className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 3xl:grid-cols-5 w-content gap-4 mt-6 px-2 w-full",
5389
5389
  "data-testid": "title-cohort-builder-facet-groups",
5390
5390
  children: children
5391
5391
  });
@@ -13840,42 +13840,32 @@ const TabbedCohortBuilder = ({ index, tabsConfiguration })=>{
13840
13840
  getRangeFacetData,
13841
13841
  index
13842
13842
  ]);
13843
- return /*#__PURE__*/ jsxRuntime.jsxs(core$1.Stack, {
13843
+ return /*#__PURE__*/ jsxRuntime.jsx(core$1.Stack, {
13844
13844
  gap: "xs",
13845
13845
  align: "stretch",
13846
13846
  classNames: {
13847
13847
  root: 'w-full'
13848
13848
  },
13849
- children: [
13850
- /*#__PURE__*/ jsxRuntime.jsx(core$1.Group, {
13851
- justify: "flex-end",
13852
- children: /*#__PURE__*/ jsxRuntime.jsx(CountsValue, {
13853
- label: index,
13854
- counts: counts,
13855
- isSuccess: isCountSuccess
13856
- })
13857
- }),
13858
- /*#__PURE__*/ jsxRuntime.jsx(FacetTabs, {
13859
- activeTab: activeTab,
13860
- setActiveTab: setActiveTab,
13861
- facetDefinitions: facetDefinitions,
13862
- tabsConfig: tabsConfig,
13863
- usedFacets: cohortBuilderFilters,
13864
- hooks: facetDataHooks,
13865
- customFacetHooks: {
13866
- useCustomFacets,
13867
- useAvailableCustomFacets: (usedFacets, onlyFiltersWithValues, queryOptions)=>({
13868
- data: {},
13869
- isSuccess: true
13870
- }),
13871
- useAddCustomFilter: ()=>(filter)=>{},
13872
- useRemoveCustomFilter: ()=>(filter)=>{}
13873
- },
13874
- getFacetLabel: ()=>'Cases',
13875
- cardScrollMargin: calculateStickyHeaderHeight(),
13876
- useFieldNameToTitle: useFieldNameToTitle
13877
- })
13878
- ]
13849
+ children: /*#__PURE__*/ jsxRuntime.jsx(FacetTabs, {
13850
+ activeTab: activeTab,
13851
+ setActiveTab: setActiveTab,
13852
+ facetDefinitions: facetDefinitions,
13853
+ tabsConfig: tabsConfig,
13854
+ usedFacets: cohortBuilderFilters,
13855
+ hooks: facetDataHooks,
13856
+ customFacetHooks: {
13857
+ useCustomFacets,
13858
+ useAvailableCustomFacets: (usedFacets, onlyFiltersWithValues, queryOptions)=>({
13859
+ data: {},
13860
+ isSuccess: true
13861
+ }),
13862
+ useAddCustomFilter: ()=>(filter)=>{},
13863
+ useRemoveCustomFilter: ()=>(filter)=>{}
13864
+ },
13865
+ getFacetLabel: ()=>'Cases',
13866
+ cardScrollMargin: calculateStickyHeaderHeight(),
13867
+ useFieldNameToTitle: useFieldNameToTitle
13868
+ })
13879
13869
  });
13880
13870
  };
13881
13871
 
@@ -25939,7 +25929,7 @@ const TabbedCohortBuilderPage = ({ headerProps, footerProps, configuration })=>{
25939
25929
  children: [
25940
25930
  /*#__PURE__*/ jsxRuntime.jsx(CohortManager$1, {
25941
25931
  rightPanel: /*#__PURE__*/ jsxRuntime.jsx(CountsPanel, {
25942
- index: "case"
25932
+ index: configuration.index
25943
25933
  })
25944
25934
  }),
25945
25935
  /*#__PURE__*/ jsxRuntime.jsx(QueryExpression, {
@@ -25948,7 +25938,7 @@ const TabbedCohortBuilderPage = ({ headerProps, footerProps, configuration })=>{
25948
25938
  ]
25949
25939
  }),
25950
25940
  /*#__PURE__*/ jsxRuntime.jsx("div", {
25951
- className: "w-full mt-60 mr-4",
25941
+ className: "w-full mt-80 mr-4",
25952
25942
  children: /*#__PURE__*/ jsxRuntime.jsx(TabbedCohortBuilder, {
25953
25943
  ...configuration
25954
25944
  })