@gen3/frontend 0.11.22 → 0.11.23
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.
- package/dist/cjs/index.js +9 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCard.stories.d.ts +2 -0
- package/dist/dts/features/Analysis/AnalysisCard.stories.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.js +9 -2
- package/dist/dts/features/Analysis/AnalysisCardCompact.js.map +1 -1
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +18 -14
- package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisWorkspace.d.ts +2 -2
- package/dist/dts/features/Analysis/AnalysisWorkspace.d.ts.map +1 -1
- package/dist/dts/features/Analysis/AnalysisWorkspace.js +9 -10
- package/dist/dts/features/Analysis/AnalysisWorkspace.js.map +1 -1
- package/dist/dts/features/Analysis/types.d.ts +4 -0
- package/dist/dts/features/Analysis/types.d.ts.map +1 -1
- package/dist/dts/features/Analysis/types.js.map +1 -1
- package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.js +1 -1
- package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.js.map +1 -1
- package/dist/esm/index.js +9 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/cjs/index.js
CHANGED
|
@@ -14792,6 +14792,10 @@ const AnalysisCenter = ({ tools, showFilterAndSort = false })=>{
|
|
|
14792
14792
|
};
|
|
14793
14793
|
|
|
14794
14794
|
const AnalysisCardCompact = ({ title, description, type = 'application', icon, hasDemo = false, loginRequired = false, href, count, countUnits, btnText })=>{
|
|
14795
|
+
const router$1 = router.useRouter();
|
|
14796
|
+
const handleClick = React.useCallback((href)=>router$1.push(href), [
|
|
14797
|
+
router$1
|
|
14798
|
+
]);
|
|
14795
14799
|
return /*#__PURE__*/ jsxRuntime.jsxs(core$1.Stack, {
|
|
14796
14800
|
gap: "xs",
|
|
14797
14801
|
classNames: {
|
|
@@ -14850,7 +14854,10 @@ const AnalysisCardCompact = ({ title, description, type = 'application', icon, h
|
|
|
14850
14854
|
className: "mb-6",
|
|
14851
14855
|
children: [
|
|
14852
14856
|
/*#__PURE__*/ jsxRuntime.jsx(core$1.Button, {
|
|
14853
|
-
color: "
|
|
14857
|
+
color: "accent.4",
|
|
14858
|
+
component: Link,
|
|
14859
|
+
href: href ?? '_blank',
|
|
14860
|
+
onClick: (_event)=>handleClick(href ?? '_blank'),
|
|
14854
14861
|
children: btnText ? btnText : `Run ${type === 'application' ? 'App' : 'Notebook'}`
|
|
14855
14862
|
}),
|
|
14856
14863
|
hasDemo && /*#__PURE__*/ jsxRuntime.jsx(core$1.Button, {
|
|
@@ -25639,8 +25646,7 @@ const TabbedCohortBuilderPage = ({ headerProps, footerProps, configuration })=>{
|
|
|
25639
25646
|
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
25640
25647
|
className: "w-full mt-40 mr-4",
|
|
25641
25648
|
children: /*#__PURE__*/ jsxRuntime.jsx(TabbedCohortBuilder, {
|
|
25642
|
-
...configuration
|
|
25643
|
-
index: configuration.index
|
|
25649
|
+
...configuration
|
|
25644
25650
|
})
|
|
25645
25651
|
})
|
|
25646
25652
|
]
|