@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/esm/index.js CHANGED
@@ -5365,7 +5365,7 @@ const FacetGroup = ({ facets, children })=>{
5365
5365
  const availableFields = facets.map((f)=>f.field);
5366
5366
  useScrollToHash(availableFields, false);
5367
5367
  return /*#__PURE__*/ jsx("div", {
5368
- 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",
5368
+ 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",
5369
5369
  "data-testid": "title-cohort-builder-facet-groups",
5370
5370
  children: children
5371
5371
  });
@@ -13820,42 +13820,32 @@ const TabbedCohortBuilder = ({ index, tabsConfiguration })=>{
13820
13820
  getRangeFacetData,
13821
13821
  index
13822
13822
  ]);
13823
- return /*#__PURE__*/ jsxs(Stack, {
13823
+ return /*#__PURE__*/ jsx(Stack, {
13824
13824
  gap: "xs",
13825
13825
  align: "stretch",
13826
13826
  classNames: {
13827
13827
  root: 'w-full'
13828
13828
  },
13829
- children: [
13830
- /*#__PURE__*/ jsx(Group, {
13831
- justify: "flex-end",
13832
- children: /*#__PURE__*/ jsx(CountsValue, {
13833
- label: index,
13834
- counts: counts,
13835
- isSuccess: isCountSuccess
13836
- })
13837
- }),
13838
- /*#__PURE__*/ jsx(FacetTabs, {
13839
- activeTab: activeTab,
13840
- setActiveTab: setActiveTab,
13841
- facetDefinitions: facetDefinitions,
13842
- tabsConfig: tabsConfig,
13843
- usedFacets: cohortBuilderFilters,
13844
- hooks: facetDataHooks,
13845
- customFacetHooks: {
13846
- useCustomFacets,
13847
- useAvailableCustomFacets: (usedFacets, onlyFiltersWithValues, queryOptions)=>({
13848
- data: {},
13849
- isSuccess: true
13850
- }),
13851
- useAddCustomFilter: ()=>(filter)=>{},
13852
- useRemoveCustomFilter: ()=>(filter)=>{}
13853
- },
13854
- getFacetLabel: ()=>'Cases',
13855
- cardScrollMargin: calculateStickyHeaderHeight(),
13856
- useFieldNameToTitle: useFieldNameToTitle
13857
- })
13858
- ]
13829
+ children: /*#__PURE__*/ jsx(FacetTabs, {
13830
+ activeTab: activeTab,
13831
+ setActiveTab: setActiveTab,
13832
+ facetDefinitions: facetDefinitions,
13833
+ tabsConfig: tabsConfig,
13834
+ usedFacets: cohortBuilderFilters,
13835
+ hooks: facetDataHooks,
13836
+ customFacetHooks: {
13837
+ useCustomFacets,
13838
+ useAvailableCustomFacets: (usedFacets, onlyFiltersWithValues, queryOptions)=>({
13839
+ data: {},
13840
+ isSuccess: true
13841
+ }),
13842
+ useAddCustomFilter: ()=>(filter)=>{},
13843
+ useRemoveCustomFilter: ()=>(filter)=>{}
13844
+ },
13845
+ getFacetLabel: ()=>'Cases',
13846
+ cardScrollMargin: calculateStickyHeaderHeight(),
13847
+ useFieldNameToTitle: useFieldNameToTitle
13848
+ })
13859
13849
  });
13860
13850
  };
13861
13851
 
@@ -25919,7 +25909,7 @@ const TabbedCohortBuilderPage = ({ headerProps, footerProps, configuration })=>{
25919
25909
  children: [
25920
25910
  /*#__PURE__*/ jsx(CohortManager$1, {
25921
25911
  rightPanel: /*#__PURE__*/ jsx(CountsPanel, {
25922
- index: "case"
25912
+ index: configuration.index
25923
25913
  })
25924
25914
  }),
25925
25915
  /*#__PURE__*/ jsx(QueryExpression, {
@@ -25928,7 +25918,7 @@ const TabbedCohortBuilderPage = ({ headerProps, footerProps, configuration })=>{
25928
25918
  ]
25929
25919
  }),
25930
25920
  /*#__PURE__*/ jsx("div", {
25931
- className: "w-full mt-60 mr-4",
25921
+ className: "w-full mt-80 mr-4",
25932
25922
  children: /*#__PURE__*/ jsx(TabbedCohortBuilder, {
25933
25923
  ...configuration
25934
25924
  })