@datatechsolutions/ui 2.11.67 → 2.11.68

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.
@@ -16538,7 +16538,8 @@ function DepartmentWorkflowDemo({
16538
16538
  };
16539
16539
  }, [autoPlay, handleRun]);
16540
16540
  const currentStepLabel = stepIndex >= 0 ? steps[stepIndex]?.label : "Ready to run";
16541
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `liquid-surface rounded-2xl overflow-hidden ${className ?? ""}`, children: [
16541
+ const Shell = hideHeader ? ({ children: c }) => /* @__PURE__ */ jsxRuntime.jsx("div", { className, children: c }) : ({ children: c }) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: `liquid-surface rounded-2xl overflow-hidden ${className ?? ""}`, children: c });
16542
+ return /* @__PURE__ */ jsxRuntime.jsxs(Shell, { children: [
16542
16543
  !hideHeader && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-white/5 px-5 py-4 flex items-start gap-4", children: [
16543
16544
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
16544
16545
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: `inline-flex items-center gap-1.5 rounded-full px-2.5 py-0.5 text-[10px] font-semibold uppercase tracking-wider ${accentBadge ?? t.badge}`, children: [
@@ -16593,12 +16594,12 @@ function DepartmentWorkflowDemo({
16593
16594
  )
16594
16595
  ] })
16595
16596
  ] }),
16596
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "overflow-x-auto px-4 py-5", children: [
16597
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full items-center overflow-x-auto px-6 py-8", children: [
16597
16598
  /* @__PURE__ */ jsxRuntime.jsx("style", { children: `
16598
16599
  @keyframes deptGlow { 0%, 100% { box-shadow: 0 0 12px var(--glow); } 50% { box-shadow: 0 0 28px var(--glow); } }
16599
16600
  @keyframes deptEdge { to { stroke-dashoffset: -16; } }
16600
16601
  ` }),
16601
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-stretch gap-0 min-w-full", children: columns.map((col, colIdx) => {
16602
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-stretch gap-0 min-w-full justify-center", children: columns.map((col, colIdx) => {
16602
16603
  const isStepActive = stepIndex === col.stepIndex;
16603
16604
  const isStepDone = stepIndex > col.stepIndex;
16604
16605
  const showsConnector = colIdx > 0;
@@ -17204,7 +17205,7 @@ function DepartmentAssistantDemo({
17204
17205
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-px flex-1 bg-gradient-to-r from-white/5 to-white/10" }),
17205
17206
  /* @__PURE__ */ jsxRuntime.jsx(StageChip, { label: "Deliver", stageIndex, mine: 2, activeBadge: t.stageActiveBadge })
17206
17207
  ] }),
17207
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", style: { minHeight: 600 }, children: /* @__PURE__ */ jsxRuntime.jsxs(framerMotion.AnimatePresence, { mode: "wait", children: [
17208
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", style: { height: 620 }, children: /* @__PURE__ */ jsxRuntime.jsxs(framerMotion.AnimatePresence, { mode: "wait", children: [
17208
17209
  stage === "input" && /* @__PURE__ */ jsxRuntime.jsx(
17209
17210
  framerMotion.motion.div,
17210
17211
  {
@@ -17234,7 +17235,7 @@ function DepartmentAssistantDemo({
17234
17235
  animate: { opacity: 1, scale: 1 },
17235
17236
  exit: { opacity: 0, scale: 0.98 },
17236
17237
  transition: { duration: 0.45 },
17237
- className: "p-6",
17238
+ className: "h-full",
17238
17239
  children: /* @__PURE__ */ jsxRuntime.jsx(
17239
17240
  DepartmentWorkflowDemo,
17240
17241
  {
@@ -17257,8 +17258,8 @@ function DepartmentAssistantDemo({
17257
17258
  animate: { opacity: 1, y: 0 },
17258
17259
  exit: { opacity: 0, y: -12 },
17259
17260
  transition: { duration: 0.45 },
17260
- className: "px-0 pb-0",
17261
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "overflow-hidden", style: { height: 580 }, children: flow.dashboard })
17261
+ className: "h-full",
17262
+ children: flow.dashboard
17262
17263
  },
17263
17264
  `dashboard-${flow.id}`
17264
17265
  )
@@ -25337,5 +25338,5 @@ exports.usePullToRefresh = usePullToRefresh;
25337
25338
  exports.validateDashboardSpec = validateDashboardSpec;
25338
25339
  exports.xScale = xScale;
25339
25340
  exports.yScale = yScale;
25340
- //# sourceMappingURL=chunk-WMATNSF6.js.map
25341
- //# sourceMappingURL=chunk-WMATNSF6.js.map
25341
+ //# sourceMappingURL=chunk-SSB6DU5G.js.map
25342
+ //# sourceMappingURL=chunk-SSB6DU5G.js.map