@datatechsolutions/ui 2.11.66 → 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.
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
+ var chunkUZ3CMNUJ_js = require('./chunk-UZ3CMNUJ.js');
4
5
  var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
5
6
  var chunkS7KHTUHA_js = require('./chunk-S7KHTUHA.js');
6
- var chunkUZ3CMNUJ_js = require('./chunk-UZ3CMNUJ.js');
7
7
  var Headless6 = require('@headlessui/react');
8
8
  var clsx = require('clsx');
9
9
  var React12 = require('react');
@@ -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;
@@ -17173,7 +17174,7 @@ function DepartmentAssistantDemo({
17173
17174
  setStage("input");
17174
17175
  }, []);
17175
17176
  const stageIndex = React12.useMemo(() => stage === "input" ? 0 : stage === "workflow" ? 1 : 2, [stage]);
17176
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `liquid-surface rounded-3xl overflow-hidden ${className ?? ""}`, children: [
17177
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `liquid-surface-strong rounded-3xl overflow-hidden backdrop-blur-xl ${className ?? ""}`, children: [
17177
17178
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-white/5 px-4 py-3 flex flex-wrap items-center gap-2", children: [
17178
17179
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 pr-3", children: [
17179
17180
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: `flex h-7 w-7 items-center justify-center rounded-lg bg-gradient-to-br ${t.brandGradient}`, children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.CpuChipIcon, { className: "h-4 w-4 text-white" }) }),
@@ -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: "p-4",
17261
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "rounded-2xl border border-white/10 bg-white dark:bg-zinc-950 shadow-2xl 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-T23YGO4X.js.map
25341
- //# sourceMappingURL=chunk-T23YGO4X.js.map
25341
+ //# sourceMappingURL=chunk-SSB6DU5G.js.map
25342
+ //# sourceMappingURL=chunk-SSB6DU5G.js.map