@datatechsolutions/ui 2.11.68 → 2.11.69

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');
5
4
  var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
6
5
  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');
@@ -17213,7 +17213,7 @@ function DepartmentAssistantDemo({
17213
17213
  animate: { opacity: 1, y: 0 },
17214
17214
  exit: { opacity: 0, y: -12 },
17215
17215
  transition: { duration: 0.45 },
17216
- className: "flex items-center justify-center p-10",
17216
+ className: "h-full",
17217
17217
  children: /* @__PURE__ */ jsxRuntime.jsx(
17218
17218
  InputStage3,
17219
17219
  {
@@ -17302,37 +17302,39 @@ function InputStage3({
17302
17302
  department,
17303
17303
  agents,
17304
17304
  avatarGradient,
17305
- borderClass,
17306
17305
  cursorClass
17307
17306
  }) {
17308
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-2xl", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-2xl border border-white/10 bg-white/70 dark:bg-zinc-900/70 p-8 shadow-2xl backdrop-blur-sm", children: [
17309
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-6 flex items-center gap-3", children: [
17310
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-12 w-12 rounded-xl bg-gradient-to-br ${avatarGradient} flex items-center justify-center`, children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.SparklesIcon, { className: "h-6 w-6 text-white" }) }),
17311
- /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
17312
- /* @__PURE__ */ jsxRuntime.jsxs("h3", { className: "text-base font-bold text-gray-900 dark:text-white", children: [
17307
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col items-center justify-center px-6 py-10 sm:px-12", children: [
17308
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-8 flex items-center gap-3", children: [
17309
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: `h-14 w-14 rounded-2xl bg-gradient-to-br ${avatarGradient} flex items-center justify-center shadow-lg`, children: /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.SparklesIcon, { className: "h-7 w-7 text-white" }) }),
17310
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-left", children: [
17311
+ /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-[10px] font-bold uppercase tracking-wider text-gray-500 dark:text-gray-400", children: [
17313
17312
  "Assistente \u2014 ",
17314
17313
  department
17315
17314
  ] }),
17316
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: "Digite um pedido e veja os agentes atuarem." })
17315
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-xl font-bold text-gray-900 dark:text-white", children: "Como posso ajudar hoje?" })
17317
17316
  ] })
17318
17317
  ] }),
17319
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: `rounded-xl border-2 ${borderClass} bg-white/40 dark:bg-white/[0.02] p-4 min-h-[120px]`, children: /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-base font-medium text-gray-900 dark:text-white", children: [
17320
- prompt,
17321
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: `ml-1 inline-block w-0.5 h-5 ${cursorClass} animate-pulse` })
17322
- ] }) }),
17323
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-4 flex items-center gap-2 text-xs text-gray-500 dark:text-gray-400", children: [
17324
- /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.BoltIcon, { className: `h-3.5 w-3.5 ${cursorClass.replace("bg-", "text-")}` }),
17325
- "Agentes prontos:",
17326
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1.5", children: agents.map((agent) => /* @__PURE__ */ jsxRuntime.jsx(
17327
- "span",
17328
- {
17329
- className: "inline-flex items-center rounded-full border border-white/10 bg-white/60 dark:bg-white/[0.04] px-2 py-0.5 text-[10px] font-semibold text-gray-700 dark:text-gray-200",
17330
- children: agent
17331
- },
17332
- agent
17333
- )) })
17318
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full max-w-3xl", children: [
17319
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "liquid-surface rounded-2xl px-6 py-6 min-h-[140px] flex items-center", children: /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-xl font-medium leading-relaxed text-gray-900 dark:text-white", children: [
17320
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: `mr-1 inline-block h-1.5 w-1.5 rounded-full ${cursorClass}` }),
17321
+ prompt,
17322
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: `ml-1 inline-block w-0.5 h-6 align-middle ${cursorClass} animate-pulse` })
17323
+ ] }) }),
17324
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-5 flex flex-wrap items-center justify-center gap-2 text-xs text-gray-500 dark:text-gray-400", children: [
17325
+ /* @__PURE__ */ jsxRuntime.jsx(HeroIcons.BoltIcon, { className: `h-3.5 w-3.5 ${cursorClass.replace("bg-", "text-")}` }),
17326
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Agentes prontos:" }),
17327
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1.5", children: agents.map((agent) => /* @__PURE__ */ jsxRuntime.jsx(
17328
+ "span",
17329
+ {
17330
+ className: "liquid-surface inline-flex items-center rounded-full px-3 py-1 text-[11px] font-semibold text-gray-700 dark:text-gray-200",
17331
+ children: agent
17332
+ },
17333
+ agent
17334
+ )) })
17335
+ ] })
17334
17336
  ] })
17335
- ] }) });
17337
+ ] });
17336
17338
  }
17337
17339
  var koriDepartmentFlows = [
17338
17340
  {
@@ -25338,5 +25340,5 @@ exports.usePullToRefresh = usePullToRefresh;
25338
25340
  exports.validateDashboardSpec = validateDashboardSpec;
25339
25341
  exports.xScale = xScale;
25340
25342
  exports.yScale = yScale;
25341
- //# sourceMappingURL=chunk-SSB6DU5G.js.map
25342
- //# sourceMappingURL=chunk-SSB6DU5G.js.map
25343
+ //# sourceMappingURL=chunk-WBYNJTQN.js.map
25344
+ //# sourceMappingURL=chunk-WBYNJTQN.js.map