@datatechsolutions/ui 2.7.126 → 2.7.128

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.
@@ -9267,7 +9267,7 @@ function MonthPicker({
9267
9267
  var FallbackIcon = ({ className }) => /* @__PURE__ */ jsx(HeroIcons.FolderOpenIcon, { className });
9268
9268
  function getIcon(name) {
9269
9269
  const icon = HeroIcons[name];
9270
- if (typeof icon === "function") {
9270
+ if (icon && (typeof icon === "function" || typeof icon === "object")) {
9271
9271
  return icon;
9272
9272
  }
9273
9273
  return FallbackIcon;
@@ -9930,7 +9930,7 @@ var Textarea = React11.forwardRef(({ className, ...props }, ref) => {
9930
9930
  "textarea",
9931
9931
  {
9932
9932
  className: clsx(
9933
- "flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
9933
+ "flex min-h-[80px] w-full rounded-xl liquid-surface border border-white/50 dark:border-white/10 px-3 py-2.5 text-sm text-slate-900 dark:text-white outline-none placeholder:text-slate-400 dark:placeholder:text-slate-500 focus-visible:ring-2 focus-visible:ring-indigo-500 focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50",
9934
9934
  className
9935
9935
  ),
9936
9936
  ref,
@@ -12548,51 +12548,96 @@ var Link4 = forwardRef(function Link5(props, ref) {
12548
12548
  });
12549
12549
  var styles2 = {
12550
12550
  base: [
12551
- "relative inline-flex items-center justify-center gap-x-2 rounded-lg border text-sm font-semibold",
12552
- "px-3.5 py-2.5 transition-colors",
12553
- "focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-indigo-400 dark:focus:ring-offset-zinc-900",
12551
+ "relative inline-flex items-center justify-center gap-x-2 rounded-xl text-sm font-semibold",
12552
+ "px-3.5 py-2.5 transition-all duration-200",
12553
+ "focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-indigo-400 dark:focus:ring-offset-slate-900",
12554
12554
  "disabled:opacity-50 disabled:pointer-events-none",
12555
12555
  "[&>svg]:size-4 [&>svg]:shrink-0"
12556
12556
  ],
12557
- solid: ["border-transparent shadow-sm"],
12557
+ solid: ["liquid-button-primary rounded-xl"],
12558
12558
  outline: [
12559
- "border-zinc-300 bg-transparent hover:bg-zinc-50 text-zinc-900",
12560
- "dark:border-zinc-600 dark:hover:bg-zinc-800 dark:text-zinc-100"
12559
+ "liquid-button rounded-xl"
12561
12560
  ],
12562
12561
  plain: [
12563
- "border-transparent text-zinc-700 hover:bg-zinc-100",
12564
- "dark:text-zinc-300 dark:hover:bg-zinc-800"
12562
+ "border-transparent text-slate-700 hover:bg-white/30 dark:hover:bg-white/[0.08]",
12563
+ "dark:text-slate-300"
12565
12564
  ],
12566
12565
  colors: {
12567
- "dark/zinc": ["bg-zinc-900 text-white hover:bg-zinc-800"],
12566
+ "dark/zinc": [
12567
+ "bg-slate-900/80 text-white backdrop-blur-xl border border-white/10 hover:bg-slate-800/80"
12568
+ ],
12568
12569
  light: [
12569
- "bg-white text-zinc-900 hover:bg-zinc-50 dark:bg-zinc-800 dark:text-white dark:hover:bg-zinc-700"
12570
+ "bg-white/60 text-slate-900 backdrop-blur-xl border border-white/30 hover:bg-white/80 dark:bg-white/10 dark:text-white dark:border-white/20 dark:hover:bg-white/20"
12570
12571
  ],
12571
12572
  "dark/white": [
12572
- "bg-zinc-900 text-white hover:bg-zinc-800 dark:bg-white dark:text-zinc-900 dark:hover:bg-zinc-100"
12573
+ "bg-slate-900/80 text-white backdrop-blur-xl border border-white/10 hover:bg-slate-800/80 dark:bg-white/90 dark:text-slate-900 dark:border-white/30 dark:hover:bg-white/80"
12574
+ ],
12575
+ dark: [
12576
+ "bg-slate-900/80 text-white backdrop-blur-xl border border-white/10 hover:bg-slate-800/80"
12577
+ ],
12578
+ white: [
12579
+ "bg-white/60 text-slate-900 backdrop-blur-xl border border-white/30 hover:bg-white/80"
12580
+ ],
12581
+ zinc: [
12582
+ "bg-slate-600/80 text-white backdrop-blur-xl border border-white/10 hover:bg-slate-700/80"
12583
+ ],
12584
+ indigo: [
12585
+ "bg-indigo-500/80 text-white backdrop-blur-xl border border-indigo-400/30 hover:bg-indigo-600/80"
12586
+ ],
12587
+ cyan: [
12588
+ "bg-cyan-300/80 text-cyan-950 backdrop-blur-xl border border-cyan-200/30 hover:bg-cyan-400/80"
12589
+ ],
12590
+ red: [
12591
+ "bg-red-600/80 text-white backdrop-blur-xl border border-red-500/30 hover:bg-red-700/80"
12592
+ ],
12593
+ orange: [
12594
+ "bg-orange-500/80 text-white backdrop-blur-xl border border-orange-400/30 hover:bg-orange-600/80"
12595
+ ],
12596
+ amber: [
12597
+ "bg-amber-400/80 text-amber-950 backdrop-blur-xl border border-amber-300/30 hover:bg-amber-500/80"
12598
+ ],
12599
+ yellow: [
12600
+ "bg-yellow-300/80 text-yellow-950 backdrop-blur-xl border border-yellow-200/30 hover:bg-yellow-400/80"
12601
+ ],
12602
+ lime: [
12603
+ "bg-lime-300/80 text-lime-950 backdrop-blur-xl border border-lime-200/30 hover:bg-lime-400/80"
12604
+ ],
12605
+ green: [
12606
+ "bg-green-600/80 text-white backdrop-blur-xl border border-green-500/30 hover:bg-green-700/80"
12607
+ ],
12608
+ emerald: [
12609
+ "bg-emerald-600/80 text-white backdrop-blur-xl border border-emerald-500/30 hover:bg-emerald-700/80"
12610
+ ],
12611
+ teal: [
12612
+ "bg-teal-600/80 text-white backdrop-blur-xl border border-teal-500/30 hover:bg-teal-700/80"
12613
+ ],
12614
+ sky: [
12615
+ "bg-sky-500/80 text-white backdrop-blur-xl border border-sky-400/30 hover:bg-sky-600/80"
12616
+ ],
12617
+ blue: [
12618
+ "bg-blue-600/80 text-white backdrop-blur-xl border border-blue-500/30 hover:bg-blue-700/80"
12619
+ ],
12620
+ brand: [
12621
+ "bg-brand-600/80 text-white backdrop-blur-xl border border-brand-500/30 hover:bg-brand-700/80"
12622
+ ],
12623
+ accent: [
12624
+ "bg-accent/80 text-accent-foreground backdrop-blur-xl border border-accent/30 hover:bg-accent/70"
12625
+ ],
12626
+ violet: [
12627
+ "bg-violet-500/80 text-white backdrop-blur-xl border border-violet-400/30 hover:bg-violet-600/80"
12573
12628
  ],
12574
- dark: ["bg-zinc-900 text-white hover:bg-zinc-800"],
12575
- white: ["bg-white text-zinc-900 hover:bg-zinc-50"],
12576
- zinc: ["bg-zinc-600 text-white hover:bg-zinc-700"],
12577
- indigo: ["bg-indigo-500 text-white hover:bg-indigo-600"],
12578
- cyan: ["bg-cyan-300 text-cyan-950 hover:bg-cyan-400"],
12579
- red: ["bg-red-600 text-white hover:bg-red-700"],
12580
- orange: ["bg-orange-500 text-white hover:bg-orange-600"],
12581
- amber: ["bg-amber-400 text-amber-950 hover:bg-amber-500"],
12582
- yellow: ["bg-yellow-300 text-yellow-950 hover:bg-yellow-400"],
12583
- lime: ["bg-lime-300 text-lime-950 hover:bg-lime-400"],
12584
- green: ["bg-green-600 text-white hover:bg-green-700"],
12585
- emerald: ["bg-emerald-600 text-white hover:bg-emerald-700"],
12586
- teal: ["bg-teal-600 text-white hover:bg-teal-700"],
12587
- sky: ["bg-sky-500 text-white hover:bg-sky-600"],
12588
- blue: ["bg-blue-600 text-white hover:bg-blue-700"],
12589
- brand: ["bg-brand-600 text-white hover:bg-brand-700"],
12590
- accent: ["bg-accent text-accent-foreground hover:bg-accent/90"],
12591
- violet: ["bg-violet-500 text-white hover:bg-violet-600"],
12592
- purple: ["bg-purple-500 text-white hover:bg-purple-600"],
12593
- fuchsia: ["bg-fuchsia-500 text-white hover:bg-fuchsia-600"],
12594
- pink: ["bg-pink-500 text-white hover:bg-pink-600"],
12595
- rose: ["bg-rose-500 text-white hover:bg-rose-600"]
12629
+ purple: [
12630
+ "bg-purple-500/80 text-white backdrop-blur-xl border border-purple-400/30 hover:bg-purple-600/80"
12631
+ ],
12632
+ fuchsia: [
12633
+ "bg-fuchsia-500/80 text-white backdrop-blur-xl border border-fuchsia-400/30 hover:bg-fuchsia-600/80"
12634
+ ],
12635
+ pink: [
12636
+ "bg-pink-500/80 text-white backdrop-blur-xl border border-pink-400/30 hover:bg-pink-600/80"
12637
+ ],
12638
+ rose: [
12639
+ "bg-rose-500/80 text-white backdrop-blur-xl border border-rose-400/30 hover:bg-rose-600/80"
12640
+ ]
12596
12641
  }
12597
12642
  };
12598
12643
  var Button6 = forwardRef(function Button7({
@@ -12680,14 +12725,14 @@ function InputGroup({
12680
12725
  "has-[[data-slot=icon]:first-child]:[&_input]:pl-10 has-[[data-slot=icon]:last-child]:[&_input]:pr-10 sm:has-[[data-slot=icon]:first-child]:[&_input]:pl-8 sm:has-[[data-slot=icon]:last-child]:[&_input]:pr-8",
12681
12726
  "*:data-[slot=icon]:pointer-events-none *:data-[slot=icon]:absolute *:data-[slot=icon]:top-3 *:data-[slot=icon]:z-10 *:data-[slot=icon]:size-5 sm:*:data-[slot=icon]:top-2.5 sm:*:data-[slot=icon]:size-4",
12682
12727
  "[&>[data-slot=icon]:first-child]:left-3 sm:[&>[data-slot=icon]:first-child]:left-2.5 [&>[data-slot=icon]:last-child]:right-3 sm:[&>[data-slot=icon]:last-child]:right-2.5",
12683
- "*:data-[slot=icon]:text-zinc-500"
12728
+ "*:data-[slot=icon]:text-slate-500"
12684
12729
  ),
12685
12730
  children
12686
12731
  }
12687
12732
  );
12688
12733
  }
12689
12734
  var dateTypes = ["date", "datetime-local", "month", "time", "week"];
12690
- var Input3 = forwardRef(function Input4({
12735
+ forwardRef(function Input4({
12691
12736
  className,
12692
12737
  "aria-label": ariaLabel,
12693
12738
  "aria-describedby": ariaDescribedBy,
@@ -12706,7 +12751,7 @@ var Input3 = forwardRef(function Input4({
12706
12751
  // Basic layout
12707
12752
  "relative block w-full",
12708
12753
  // Focus ring
12709
- "after:pointer-events-none after:absolute after:inset-0 after:rounded-lg after:ring-transparent after:ring-inset sm:focus-within:after:ring-2 sm:focus-within:after:ring-blue-500",
12754
+ "after:pointer-events-none after:absolute after:inset-0 after:rounded-xl after:ring-transparent after:ring-inset sm:focus-within:after:ring-2 sm:focus-within:after:ring-indigo-500",
12710
12755
  // Disabled state
12711
12756
  "has-data-disabled:opacity-50"
12712
12757
  ]),
@@ -12742,19 +12787,19 @@ var Input3 = forwardRef(function Input4({
12742
12787
  "[&::-webkit-datetime-edit-meridiem-field]:p-0"
12743
12788
  ],
12744
12789
  // Basic layout
12745
- "relative block w-full appearance-none rounded-lg px-3.5 py-2.5 sm:px-3 sm:py-1.5",
12790
+ "relative block w-full appearance-none rounded-xl px-3 py-2.5",
12746
12791
  // Typography
12747
- "text-base/6 text-zinc-950 dark:text-zinc-100 placeholder:text-zinc-500 dark:placeholder:text-zinc-400 sm:text-sm/6",
12792
+ "text-sm text-slate-900 dark:text-white placeholder:text-slate-400 dark:placeholder:text-slate-500",
12748
12793
  // Border
12749
- "border border-zinc-950/10 data-hover:border-zinc-950/20 dark:border-white/10 dark:data-hover:border-white/20",
12750
- // Background color
12751
- "bg-transparent dark:bg-white/5",
12794
+ "border border-white/50 data-hover:border-white/70 dark:border-white/10 dark:data-hover:border-white/20",
12795
+ // Background color — glass surface
12796
+ "liquid-surface",
12752
12797
  // Hide default focus styles
12753
12798
  "focus:outline-none",
12754
12799
  // Invalid state
12755
12800
  "data-invalid:border-red-500 data-invalid:data-hover:border-red-500 dark:data-invalid:border-red-500 dark:data-invalid:data-hover:border-red-500",
12756
12801
  // Disabled state
12757
- "data-disabled:border-zinc-950/20 dark:data-disabled:border-white/15 dark:data-disabled:bg-white/2.5 dark:data-hover:data-disabled:border-white/15",
12802
+ "data-disabled:border-white/30 dark:data-disabled:border-white/15 dark:data-disabled:bg-white/2.5 dark:data-hover:data-disabled:border-white/15",
12758
12803
  // System icons
12759
12804
  "dark:scheme-dark",
12760
12805
  // Autofill override styles
@@ -12762,10 +12807,10 @@ var Input3 = forwardRef(function Input4({
12762
12807
  "[&:-webkit-autofill:hover]:!shadow-[inset_0_0_0_1000px_white] [&:-webkit-autofill:hover]:!text-black",
12763
12808
  "[&:-webkit-autofill:focus]:!shadow-[inset_0_0_0_1000px_white] [&:-webkit-autofill:focus]:!text-black",
12764
12809
  "[&:-webkit-autofill:active]:!shadow-[inset_0_0_0_1000px_white] [&:-webkit-autofill:active]:!text-black",
12765
- "dark:[&:-webkit-autofill]:!shadow-[inset_0_0_0_1000px_rgb(24,24,27)] dark:[&:-webkit-autofill]:!text-zinc-200",
12766
- "dark:[&:-webkit-autofill:hover]:!shadow-[inset_0_0_0_1000px_rgb(24,24,27)] dark:[&:-webkit-autofill:hover]:!text-zinc-200",
12767
- "dark:[&:-webkit-autofill:focus]:!shadow-[inset_0_0_0_1000px_rgb(24,24,27)] dark:[&:-webkit-autofill:focus]:!text-zinc-200",
12768
- "dark:[&:-webkit-autofill:active]:!shadow-[inset_0_0_0_1000px_rgb(24,24,27)] dark:[&:-webkit-autofill:active]:!text-zinc-200"
12810
+ "dark:[&:-webkit-autofill]:!shadow-[inset_0_0_0_1000px_rgb(15,23,42)] dark:[&:-webkit-autofill]:!text-slate-200",
12811
+ "dark:[&:-webkit-autofill:hover]:!shadow-[inset_0_0_0_1000px_rgb(15,23,42)] dark:[&:-webkit-autofill:hover]:!text-slate-200",
12812
+ "dark:[&:-webkit-autofill:focus]:!shadow-[inset_0_0_0_1000px_rgb(15,23,42)] dark:[&:-webkit-autofill:focus]:!text-slate-200",
12813
+ "dark:[&:-webkit-autofill:active]:!shadow-[inset_0_0_0_1000px_rgb(15,23,42)] dark:[&:-webkit-autofill:active]:!text-slate-200"
12769
12814
  ])
12770
12815
  }
12771
12816
  )
@@ -12872,7 +12917,7 @@ var Label3 = React11__default.forwardRef(
12872
12917
  "label",
12873
12918
  {
12874
12919
  ref,
12875
- className: `block text-sm font-medium text-gray-700 ${className}`,
12920
+ className: `block text-sm font-medium text-slate-800 dark:text-slate-200 ${className}`,
12876
12921
  ...props,
12877
12922
  children: [
12878
12923
  children,
@@ -13280,12 +13325,12 @@ var Card2 = memo(function Card3({
13280
13325
  lg: "p-6 sm:p-8"
13281
13326
  };
13282
13327
  const variantClasses2 = {
13283
- default: "bg-white dark:bg-zinc-800 border border-zinc-200 dark:border-zinc-700 shadow-sm",
13284
- elevated: "bg-white dark:bg-zinc-800 border border-zinc-200 dark:border-zinc-700 shadow-md",
13285
- outlined: "bg-transparent border-2 border-zinc-300 dark:border-zinc-600",
13286
- flat: "bg-zinc-50 dark:bg-zinc-800/50"
13328
+ default: "liquid-surface border border-white/30 dark:border-white/10",
13329
+ elevated: "liquid-surface-strong border border-white/30 dark:border-white/10",
13330
+ outlined: "bg-transparent border-2 border-white/30 dark:border-white/10 backdrop-blur-sm",
13331
+ flat: "liquid-surface"
13287
13332
  };
13288
- const hoverClasses = hover || onClick ? "hover:shadow-lg transition-shadow duration-200" : "";
13333
+ const hoverClasses = hover || onClick ? "hover:shadow-md transition-shadow duration-200" : "";
13289
13334
  const clickableClasses = onClick ? "cursor-pointer" : "";
13290
13335
  const loadingClasses = loading ? "opacity-75 pointer-events-none" : "";
13291
13336
  return /* @__PURE__ */ jsx(
@@ -13294,7 +13339,7 @@ var Card2 = memo(function Card3({
13294
13339
  role: onClick ? "button" : void 0,
13295
13340
  tabIndex: onClick ? 0 : void 0,
13296
13341
  className: clsx(
13297
- "rounded-lg",
13342
+ "rounded-2xl",
13298
13343
  variantClasses2[variant],
13299
13344
  paddingClasses[padding],
13300
13345
  hoverClasses,
@@ -13323,8 +13368,8 @@ var CardHeader2 = memo(function CardHeader3({
13323
13368
  return /* @__PURE__ */ jsxs("div", { className: clsx("mb-4", className), children: [
13324
13369
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-2", children: [
13325
13370
  /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
13326
- /* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-zinc-900 dark:text-zinc-100 truncate", children: title }),
13327
- subtitle && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-zinc-600 dark:text-zinc-400 line-clamp-2", children: subtitle })
13371
+ /* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-slate-900 dark:text-slate-100 truncate", children: title }),
13372
+ subtitle && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-slate-600 dark:text-slate-400 line-clamp-2", children: subtitle })
13328
13373
  ] }),
13329
13374
  actions && /* @__PURE__ */ jsx("div", { className: "flex-shrink-0 flex items-center gap-2", children: actions })
13330
13375
  ] }),
@@ -13339,7 +13384,7 @@ var CardTitle2 = memo(function CardTitle3({
13339
13384
  "h3",
13340
13385
  {
13341
13386
  className: clsx(
13342
- "text-lg font-semibold text-zinc-900 dark:text-zinc-100",
13387
+ "text-lg font-semibold text-slate-900 dark:text-slate-100",
13343
13388
  className
13344
13389
  ),
13345
13390
  children
@@ -13350,13 +13395,13 @@ var CardDescription2 = memo(function CardDescription3({
13350
13395
  children,
13351
13396
  className
13352
13397
  }) {
13353
- return /* @__PURE__ */ jsx("p", { className: clsx("text-sm text-zinc-600 dark:text-zinc-400", className), children });
13398
+ return /* @__PURE__ */ jsx("p", { className: clsx("text-sm text-slate-600 dark:text-slate-400", className), children });
13354
13399
  });
13355
13400
  var CardContent2 = memo(function CardContent3({
13356
13401
  children,
13357
13402
  className
13358
13403
  }) {
13359
- return /* @__PURE__ */ jsx("div", { className: clsx("text-zinc-600 dark:text-zinc-400", className), children });
13404
+ return /* @__PURE__ */ jsx("div", { className: clsx("text-slate-600 dark:text-slate-400", className), children });
13360
13405
  });
13361
13406
  var CardFooter2 = memo(function CardFooter3({
13362
13407
  children,
@@ -13373,7 +13418,7 @@ var CardFooter2 = memo(function CardFooter3({
13373
13418
  "div",
13374
13419
  {
13375
13420
  className: clsx(
13376
- "mt-4 pt-4 border-t border-zinc-200 dark:border-zinc-700 flex items-center gap-2",
13421
+ "mt-4 pt-4 border-t border-white/30 dark:border-white/10 flex items-center gap-2",
13377
13422
  justifyClasses[justify],
13378
13423
  className
13379
13424
  ),
@@ -13393,14 +13438,14 @@ var StatCard2 = memo(function StatCard3({
13393
13438
  const trendColors = {
13394
13439
  up: "text-green-600 dark:text-green-400",
13395
13440
  down: "text-red-600 dark:text-red-400",
13396
- neutral: "text-zinc-600 dark:text-zinc-400"
13441
+ neutral: "text-slate-600 dark:text-slate-400"
13397
13442
  };
13398
13443
  return /* @__PURE__ */ jsx(Card2, { variant: "elevated", hover: true, className, loading, children: /* @__PURE__ */ jsxs("div", { className: "flex items-start", children: [
13399
- icon && /* @__PURE__ */ jsx("div", { className: "flex-shrink-0 mr-4", children: /* @__PURE__ */ jsx("div", { className: "w-12 h-12 rounded-lg bg-zinc-100 dark:bg-zinc-700 flex items-center justify-center", children: icon }) }),
13444
+ icon && /* @__PURE__ */ jsx("div", { className: "flex-shrink-0 mr-4", children: /* @__PURE__ */ jsx("div", { className: "w-12 h-12 rounded-lg bg-white/20 dark:bg-white/[0.08] flex items-center justify-center", children: icon }) }),
13400
13445
  /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
13401
- /* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-zinc-600 dark:text-zinc-400 truncate", children: title }),
13446
+ /* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-slate-600 dark:text-slate-400 truncate", children: title }),
13402
13447
  /* @__PURE__ */ jsxs("div", { className: "mt-1 flex items-baseline", children: [
13403
- /* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-zinc-900 dark:text-zinc-100", children: loading ? "..." : value }),
13448
+ /* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-slate-900 dark:text-slate-100", children: loading ? "..." : value }),
13404
13449
  trend && !loading && /* @__PURE__ */ jsxs(
13405
13450
  "div",
13406
13451
  {
@@ -13418,8 +13463,8 @@ var StatCard2 = memo(function StatCard3({
13418
13463
  }
13419
13464
  )
13420
13465
  ] }),
13421
- subtitle && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-zinc-600 dark:text-zinc-400", children: subtitle }),
13422
- trend && !loading && /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-zinc-500 dark:text-zinc-500", children: trend.label })
13466
+ subtitle && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-slate-600 dark:text-slate-400", children: subtitle }),
13467
+ trend && !loading && /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-slate-500 dark:text-slate-500", children: trend.label })
13423
13468
  ] })
13424
13469
  ] }) });
13425
13470
  });
@@ -13459,14 +13504,14 @@ function RequirementCheck({
13459
13504
  /* @__PURE__ */ jsx(
13460
13505
  "span",
13461
13506
  {
13462
- className: `flex-shrink-0 w-3.5 h-3.5 rounded-full flex items-center justify-center text-[10px] font-bold ${met ? "bg-emerald-500 text-white" : "bg-zinc-200 dark:bg-zinc-700 text-zinc-400 dark:text-zinc-500"}`,
13507
+ className: `flex-shrink-0 w-3.5 h-3.5 rounded-full flex items-center justify-center text-[10px] font-bold ${met ? "bg-emerald-500 text-white" : "bg-slate-200 dark:bg-slate-700 text-slate-400 dark:text-slate-500"}`,
13463
13508
  children: met ? "\u2713" : ""
13464
13509
  }
13465
13510
  ),
13466
13511
  /* @__PURE__ */ jsx(
13467
13512
  "span",
13468
13513
  {
13469
- className: met ? "text-emerald-600 dark:text-emerald-400" : "text-zinc-500 dark:text-zinc-400",
13514
+ className: met ? "text-emerald-600 dark:text-emerald-400" : "text-slate-500 dark:text-slate-400",
13470
13515
  children: label
13471
13516
  }
13472
13517
  )
@@ -13504,9 +13549,9 @@ var PasswordInput2 = forwardRef(
13504
13549
  medium: "w-2/3",
13505
13550
  strong: "w-full"
13506
13551
  }[strengthLevel];
13507
- const baseInputClasses = variant === "apple" ? "w-full px-4 py-3 pr-12 text-[17px] bg-white dark:bg-zinc-800 border border-[#d2d2d7] dark:border-zinc-700 text-[#1d1d1f] dark:text-white placeholder-[#86868b] dark:placeholder-zinc-500 rounded-xl focus:outline-none focus:ring-2 focus:ring-[#0071e3] transition-all" : "w-full px-4 py-3.5 pr-12 text-base rounded-xl border transition-all duration-300 text-zinc-900 dark:text-white placeholder-zinc-500 dark:placeholder-zinc-500 focus:outline-none focus:ring-2 focus:border-transparent";
13508
- const buttonClasses = variant === "apple" ? "absolute top-1/2 -translate-y-1/2 right-3 p-1.5 hover:bg-[#f5f5f7] dark:hover:bg-zinc-700 rounded-lg transition-colors" : "absolute top-1/2 -translate-y-1/2 right-3 p-2 hover:bg-zinc-200/50 dark:hover:bg-zinc-700/50 rounded-lg transition-all duration-200";
13509
- const iconClasses = variant === "apple" ? "h-5 w-5 text-[#86868b] dark:text-zinc-400" : "h-5 w-5 text-zinc-500 hover:text-zinc-700 dark:text-zinc-400 dark:hover:text-zinc-200";
13552
+ const baseInputClasses = variant === "apple" ? "w-full px-4 py-3 pr-12 text-[17px] bg-white/60 dark:bg-white/10 backdrop-blur-xl border border-white/30 dark:border-white/20 text-slate-900 dark:text-white placeholder-slate-400 dark:placeholder-slate-500 rounded-xl focus:outline-none focus:ring-2 focus:ring-indigo-500 transition-all" : "w-full px-4 py-3.5 pr-12 text-base rounded-xl border transition-all duration-300 bg-white/60 dark:bg-white/10 backdrop-blur-xl border-white/30 dark:border-white/20 text-slate-900 dark:text-white placeholder-slate-400 dark:placeholder-slate-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent";
13553
+ const buttonClasses = variant === "apple" ? "absolute top-1/2 -translate-y-1/2 right-3 p-1.5 hover:bg-white/30 dark:hover:bg-white/[0.08] rounded-lg transition-colors" : "absolute top-1/2 -translate-y-1/2 right-3 p-2 hover:bg-white/30 dark:hover:bg-white/[0.08] rounded-lg transition-all duration-200";
13554
+ const iconClasses = variant === "apple" ? "h-5 w-5 text-slate-400 dark:text-slate-400" : "h-5 w-5 text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-200";
13510
13555
  return /* @__PURE__ */ jsxs("div", { children: [
13511
13556
  /* @__PURE__ */ jsxs("div", { className: "relative", children: [
13512
13557
  /* @__PURE__ */ jsx(
@@ -13532,7 +13577,7 @@ var PasswordInput2 = forwardRef(
13532
13577
  ] }),
13533
13578
  showStrength && internalValue.length > 0 && /* @__PURE__ */ jsxs("div", { className: "mt-2 space-y-2", children: [
13534
13579
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
13535
- /* @__PURE__ */ jsx("div", { className: "flex-1 h-1.5 bg-zinc-200 dark:bg-zinc-700 rounded-full overflow-hidden", children: /* @__PURE__ */ jsx(
13580
+ /* @__PURE__ */ jsx("div", { className: "flex-1 h-1.5 bg-slate-200 dark:bg-slate-700 rounded-full overflow-hidden", children: /* @__PURE__ */ jsx(
13536
13581
  "div",
13537
13582
  {
13538
13583
  className: `h-full rounded-full transition-all duration-300 ${strengthBarColor} ${strengthBarWidth}`
@@ -13743,222 +13788,101 @@ var SliderInput = ({
13743
13788
  };
13744
13789
  function DataPagination({
13745
13790
  pagination,
13746
- params,
13747
13791
  onUpdate,
13748
13792
  loading = false,
13749
- showSearch = true,
13750
- searchPlaceholder,
13751
- showPageSize = true,
13752
- pageSizeOptions = [10, 20, 50, 100]
13793
+ showPageSize = false,
13794
+ pageSizeOptions = [10, 20, 50],
13795
+ params
13753
13796
  }) {
13754
- const tSearch = useTranslations("search");
13755
- const tPagination = useTranslations("pagination");
13756
- const tCommon = useTranslations("common");
13757
- const tAria = useTranslations("aria");
13758
- const [localSearchValue, setLocalSearchValue] = useState(params.search || "");
13759
- useEffect(() => {
13760
- const timeoutId = setTimeout(() => {
13761
- if (localSearchValue !== params.search) {
13762
- onUpdate({ search: localSearchValue, page: 1 });
13763
- }
13764
- }, 500);
13765
- return () => clearTimeout(timeoutId);
13766
- }, [localSearchValue, onUpdate, params.search]);
13767
- useEffect(() => {
13768
- if (localSearchValue !== params.search) {
13769
- setLocalSearchValue(params.search || "");
13770
- }
13771
- }, [params.search, localSearchValue]);
13772
- const handleSearchChange = (value) => {
13773
- setLocalSearchValue(value);
13774
- };
13775
- const handlePageSizeChange = (value) => {
13776
- onUpdate({ limit: parseInt(value), page: 1 });
13777
- };
13778
- const handlePageChange = (page) => {
13779
- onUpdate({ page });
13780
- };
13781
13797
  const effectivePageSize = pagination.pageSize ?? pagination.limit ?? 10;
13782
- const skip = (pagination.page - 1) * effectivePageSize;
13783
- const startItem = skip + 1;
13784
- const endItem = Math.min(skip + effectivePageSize, pagination.total);
13785
- return /* @__PURE__ */ jsxs("div", { className: "w-full space-y-4", children: [
13786
- showSearch && /* @__PURE__ */ jsxs("div", { className: "w-full flex flex-col sm:flex-row sm:items-center sm:justify-between space-y-3 sm:space-y-0", children: [
13787
- /* @__PURE__ */ jsx("div", { className: "flex-1 max-w-full sm:max-w-sm", children: /* @__PURE__ */ jsx(
13788
- Input3,
13798
+ const from = (pagination.page - 1) * effectivePageSize + 1;
13799
+ const to = Math.min(pagination.page * effectivePageSize, pagination.total);
13800
+ const handlePageChange = (page) => onUpdate({ page });
13801
+ const handlePageSizeChange = (value) => onUpdate({ limit: parseInt(value), page: 1 });
13802
+ if (pagination.totalPages <= 1 && !showPageSize) return null;
13803
+ return /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-between gap-3 rounded-2xl liquid-surface px-4 py-3", children: [
13804
+ /* @__PURE__ */ jsxs("p", { className: "text-sm tabular-nums text-slate-600 dark:text-slate-400", children: [
13805
+ from,
13806
+ "\u2013",
13807
+ to,
13808
+ " / ",
13809
+ pagination.total
13810
+ ] }),
13811
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
13812
+ showPageSize && /* @__PURE__ */ jsx(
13813
+ "select",
13789
13814
  {
13790
- type: "text",
13791
- placeholder: searchPlaceholder || tSearch("placeholder"),
13792
- value: localSearchValue,
13793
- onChange: (e) => handleSearchChange(e.target.value),
13815
+ value: params?.limit ?? effectivePageSize,
13816
+ onChange: (event) => handlePageSizeChange(event.target.value),
13794
13817
  disabled: loading,
13795
- className: "w-full min-h-[44px] text-base sm:text-sm"
13818
+ className: "rounded-xl liquid-surface px-2 py-1.5 text-xs font-medium text-slate-700 outline-none dark:text-slate-300",
13819
+ children: pageSizeOptions.map((size) => /* @__PURE__ */ jsx("option", { value: size, children: size }, size))
13796
13820
  }
13797
- ) }),
13798
- showPageSize && /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-center gap-2 sm:hidden", children: [
13799
- /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-zinc-700 dark:text-zinc-300 whitespace-nowrap", children: tPagination("itemsPerPage") }),
13821
+ ),
13822
+ pagination.totalPages > 1 && /* @__PURE__ */ jsxs("nav", { className: "flex items-center gap-1", "aria-label": "Pagination", children: [
13800
13823
  /* @__PURE__ */ jsx(
13801
- "select",
13824
+ "button",
13802
13825
  {
13803
- value: params.limit,
13804
- onChange: (e) => handlePageSizeChange(e.target.value),
13805
- disabled: loading,
13806
- className: "rounded-md border border-zinc-300 dark:border-zinc-600 bg-white dark:bg-zinc-800 px-3 py-2 min-h-[44px] text-sm font-medium text-zinc-700 dark:text-zinc-300 focus:outline-none focus:ring-2 focus:ring-indigo-500 touch-manipulation",
13807
- children: pageSizeOptions.map((size) => /* @__PURE__ */ jsx("option", { value: size, children: size }, size))
13826
+ type: "button",
13827
+ disabled: pagination.page <= 1 || loading,
13828
+ onClick: () => handlePageChange(pagination.page - 1),
13829
+ className: "inline-flex h-9 w-9 items-center justify-center rounded-xl text-slate-500 transition hover:bg-white/40 disabled:opacity-30 dark:text-slate-400 dark:hover:bg-white/[0.08]",
13830
+ children: /* @__PURE__ */ jsx(ChevronLeftIcon, { className: "h-5 w-5" })
13831
+ }
13832
+ ),
13833
+ getPageNumbers(pagination.page, pagination.totalPages).map(
13834
+ (page, index) => page === "..." ? /* @__PURE__ */ jsx(
13835
+ "span",
13836
+ {
13837
+ className: "inline-flex h-9 w-6 items-center justify-center text-xs text-slate-400",
13838
+ children: "\u2026"
13839
+ },
13840
+ `ellipsis-${index}`
13841
+ ) : /* @__PURE__ */ jsx(
13842
+ "button",
13843
+ {
13844
+ type: "button",
13845
+ disabled: loading,
13846
+ onClick: () => handlePageChange(page),
13847
+ "aria-current": page === pagination.page ? "page" : void 0,
13848
+ className: `inline-flex h-9 min-w-9 items-center justify-center rounded-xl px-2 text-sm font-medium transition ${page === pagination.page ? "liquid-surface liquid-surface-active text-slate-900 dark:text-white" : "text-slate-500 hover:bg-white/40 dark:text-slate-400 dark:hover:bg-white/[0.08]"}`,
13849
+ children: page
13850
+ },
13851
+ `page-${page}`
13852
+ )
13853
+ ),
13854
+ /* @__PURE__ */ jsx(
13855
+ "button",
13856
+ {
13857
+ type: "button",
13858
+ disabled: pagination.page >= pagination.totalPages || loading,
13859
+ onClick: () => handlePageChange(pagination.page + 1),
13860
+ className: "inline-flex h-9 w-9 items-center justify-center rounded-xl text-slate-500 transition hover:bg-white/40 disabled:opacity-30 dark:text-slate-400 dark:hover:bg-white/[0.08]",
13861
+ children: /* @__PURE__ */ jsx(ChevronRightIcon, { className: "h-5 w-5" })
13808
13862
  }
13809
13863
  )
13810
13864
  ] })
13811
- ] }),
13812
- /* @__PURE__ */ jsxs(
13813
- "div",
13814
- {
13815
- className: `flex items-center justify-between bg-white dark:bg-zinc-800 rounded-lg shadow hover:shadow-md transition-all duration-200 px-6 py-4 ${loading ? "opacity-75 pointer-events-none" : "opacity-100"}`,
13816
- children: [
13817
- /* @__PURE__ */ jsxs("div", { className: "flex flex-1 justify-between items-center sm:hidden", children: [
13818
- /* @__PURE__ */ jsxs(
13819
- "button",
13820
- {
13821
- onClick: () => handlePageChange(pagination.page - 1),
13822
- disabled: !pagination.hasPrev || loading,
13823
- className: "relative inline-flex items-center rounded-lg border border-zinc-300 dark:border-zinc-600 bg-white dark:bg-zinc-800 px-6 py-3 min-h-[44px] text-sm font-medium text-zinc-700 dark:text-zinc-300 hover:bg-zinc-50 dark:hover:bg-zinc-700 disabled:opacity-50 disabled:cursor-not-allowed touch-manipulation",
13824
- children: [
13825
- /* @__PURE__ */ jsx(ChevronLeftIcon$1, { className: "h-5 w-5 mr-1" }),
13826
- tPagination("previous")
13827
- ]
13828
- }
13829
- ),
13830
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center text-xs text-zinc-600 dark:text-zinc-400", children: [
13831
- /* @__PURE__ */ jsxs("span", { className: "font-medium", children: [
13832
- pagination.page,
13833
- " / ",
13834
- pagination.totalPages
13835
- ] }),
13836
- /* @__PURE__ */ jsxs("span", { children: [
13837
- pagination.total,
13838
- " ",
13839
- tCommon("items")
13840
- ] })
13841
- ] }),
13842
- /* @__PURE__ */ jsxs(
13843
- "button",
13844
- {
13845
- onClick: () => handlePageChange(pagination.page + 1),
13846
- disabled: !pagination.hasNext || loading,
13847
- className: "relative inline-flex items-center rounded-lg border border-zinc-300 dark:border-zinc-600 bg-white dark:bg-zinc-800 px-6 py-3 min-h-[44px] text-sm font-medium text-zinc-700 dark:text-zinc-300 hover:bg-zinc-50 dark:hover:bg-zinc-700 disabled:opacity-50 disabled:cursor-not-allowed touch-manipulation",
13848
- children: [
13849
- tPagination("next"),
13850
- /* @__PURE__ */ jsx(ChevronRightIcon$1, { className: "h-5 w-5 ml-1" })
13851
- ]
13852
- }
13853
- )
13854
- ] }),
13855
- /* @__PURE__ */ jsxs("div", { className: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between", children: [
13856
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4", children: [
13857
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
13858
- loading && /* @__PURE__ */ jsx("div", { className: "animate-spin rounded-full h-4 w-4 border-b-2 border-indigo-600" }),
13859
- /* @__PURE__ */ jsx("p", { className: "text-sm text-zinc-700 dark:text-zinc-300", children: tPagination("showing", {
13860
- start: String(startItem),
13861
- end: String(endItem),
13862
- total: String(pagination.total)
13863
- }) })
13864
- ] }),
13865
- showPageSize && /* @__PURE__ */ jsxs("div", { className: "hidden sm:flex items-center gap-2", children: [
13866
- /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-zinc-700 dark:text-zinc-300 whitespace-nowrap", children: tPagination("itemsPerPage") }),
13867
- /* @__PURE__ */ jsx(
13868
- "select",
13869
- {
13870
- value: params.limit,
13871
- onChange: (e) => handlePageSizeChange(e.target.value),
13872
- disabled: loading,
13873
- className: "rounded-md border border-zinc-300 dark:border-zinc-600 bg-white dark:bg-zinc-800 px-3 py-1 text-sm font-medium text-zinc-700 dark:text-zinc-300 focus:outline-none focus:ring-2 focus:ring-indigo-500",
13874
- children: pageSizeOptions.map((size) => /* @__PURE__ */ jsx("option", { value: size, children: size }, size))
13875
- }
13876
- )
13877
- ] })
13878
- ] }),
13879
- pagination.totalPages > 1 && /* @__PURE__ */ jsxs(
13880
- "nav",
13881
- {
13882
- "aria-label": tAria("pagination"),
13883
- className: "isolate inline-flex -space-x-px rounded-md shadow-sm",
13884
- children: [
13885
- /* @__PURE__ */ jsxs(
13886
- "button",
13887
- {
13888
- onClick: () => handlePageChange(pagination.page - 1),
13889
- disabled: !pagination.hasPrev || loading,
13890
- className: "relative inline-flex items-center justify-center rounded-l-md px-3 py-2 min-h-[44px] min-w-[44px] text-zinc-400 ring-1 ring-zinc-300 dark:ring-zinc-600 ring-inset hover:bg-zinc-50 dark:hover:bg-zinc-700 focus:z-20 focus:outline-offset-0 disabled:opacity-50 disabled:cursor-not-allowed touch-manipulation",
13891
- children: [
13892
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: tPagination("previous") }),
13893
- /* @__PURE__ */ jsx(ChevronLeftIcon$1, { "aria-hidden": "true", className: "h-5 w-5" })
13894
- ]
13895
- }
13896
- ),
13897
- getPageNumbers(pagination.page, pagination.totalPages).map(
13898
- (page, index) => page === "..." ? /* @__PURE__ */ jsx(
13899
- "span",
13900
- {
13901
- className: "relative inline-flex items-center px-4 py-2 text-sm font-semibold text-zinc-700 dark:text-zinc-300 ring-1 ring-zinc-300 dark:ring-zinc-600 ring-inset focus:outline-offset-0",
13902
- children: "..."
13903
- },
13904
- `ellipsis-${index}`
13905
- ) : /* @__PURE__ */ jsx(
13906
- "button",
13907
- {
13908
- onClick: () => handlePageChange(page),
13909
- disabled: loading,
13910
- "aria-current": page === pagination.page ? "page" : void 0,
13911
- className: `relative inline-flex items-center justify-center px-4 py-2 min-h-[44px] min-w-[44px] text-sm font-semibold focus:z-20 focus:outline-offset-0 touch-manipulation ${page === pagination.page ? "z-10 bg-indigo-600 text-white focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" : "text-zinc-900 dark:text-zinc-300 ring-1 ring-zinc-300 dark:ring-zinc-600 ring-inset hover:bg-zinc-50 dark:hover:bg-zinc-700"}`,
13912
- children: page
13913
- },
13914
- `page-${page}`
13915
- )
13916
- ),
13917
- /* @__PURE__ */ jsxs(
13918
- "button",
13919
- {
13920
- onClick: () => handlePageChange(pagination.page + 1),
13921
- disabled: !pagination.hasNext || loading,
13922
- className: "relative inline-flex items-center justify-center rounded-r-md px-3 py-2 min-h-[44px] min-w-[44px] text-zinc-400 ring-1 ring-zinc-300 dark:ring-zinc-600 ring-inset hover:bg-zinc-50 dark:hover:bg-zinc-700 focus:z-20 focus:outline-offset-0 disabled:opacity-50 disabled:cursor-not-allowed touch-manipulation",
13923
- children: [
13924
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: tPagination("next") }),
13925
- /* @__PURE__ */ jsx(ChevronRightIcon$1, { "aria-hidden": "true", className: "h-5 w-5" })
13926
- ]
13927
- }
13928
- )
13929
- ]
13930
- }
13931
- )
13932
- ] })
13933
- ]
13934
- }
13935
- )
13865
+ ] })
13936
13866
  ] });
13937
13867
  }
13938
13868
  function getPageNumbers(currentPage, totalPages) {
13939
13869
  if (totalPages <= 7) {
13940
13870
  return Array.from({ length: totalPages }, (_, i) => i + 1);
13941
13871
  }
13942
- const pages = [];
13943
- pages.push(1);
13872
+ const pages = [1];
13944
13873
  if (currentPage <= 4) {
13945
- for (let i = 2; i <= Math.min(5, totalPages); i++) {
13946
- pages.push(i);
13947
- }
13874
+ for (let i = 2; i <= Math.min(5, totalPages); i++) pages.push(i);
13948
13875
  if (totalPages > 5) {
13949
13876
  pages.push("...");
13950
13877
  pages.push(totalPages);
13951
13878
  }
13952
13879
  } else if (currentPage >= totalPages - 3) {
13953
13880
  pages.push("...");
13954
- for (let i = Math.max(totalPages - 4, 2); i <= totalPages; i++) {
13881
+ for (let i = Math.max(totalPages - 4, 2); i <= totalPages; i++)
13955
13882
  pages.push(i);
13956
- }
13957
13883
  } else {
13958
13884
  pages.push("...");
13959
- for (let i = currentPage - 1; i <= currentPage + 1; i++) {
13960
- pages.push(i);
13961
- }
13885
+ for (let i = currentPage - 1; i <= currentPage + 1; i++) pages.push(i);
13962
13886
  pages.push("...");
13963
13887
  pages.push(totalPages);
13964
13888
  }
@@ -14023,13 +13947,13 @@ var PageHeader = memo(function PageHeader2({
14023
13947
  "h1",
14024
13948
  {
14025
13949
  className: clsx(
14026
- "font-bold text-zinc-900 dark:text-zinc-100 truncate",
13950
+ "font-bold text-slate-900 dark:text-slate-100 truncate",
14027
13951
  size === "large" ? "text-3xl" : "text-2xl"
14028
13952
  ),
14029
13953
  children: title
14030
13954
  }
14031
13955
  ),
14032
- subtitle && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-zinc-600 dark:text-zinc-400 line-clamp-2", children: subtitle })
13956
+ subtitle && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-slate-600 dark:text-slate-400 line-clamp-2", children: subtitle })
14033
13957
  ] }),
14034
13958
  actions && /* @__PURE__ */ jsx("div", { className: "flex-shrink-0 flex items-center gap-2 flex-wrap", children: actions })
14035
13959
  ] }),
@@ -14046,8 +13970,8 @@ var PageSectionHeader = memo(function PageSectionHeader2({
14046
13970
  return /* @__PURE__ */ jsxs("div", { className: clsx("mb-4", className), children: [
14047
13971
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3", children: [
14048
13972
  /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
14049
- /* @__PURE__ */ jsx("h2", { className: "text-lg sm:text-xl font-semibold text-zinc-900 dark:text-zinc-100", children: title }),
14050
- subtitle && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-zinc-600 dark:text-zinc-400 line-clamp-2", children: subtitle })
13973
+ /* @__PURE__ */ jsx("h2", { className: "text-lg sm:text-xl font-semibold text-slate-900 dark:text-slate-100", children: title }),
13974
+ subtitle && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-slate-600 dark:text-slate-400 line-clamp-2", children: subtitle })
14051
13975
  ] }),
14052
13976
  actions && /* @__PURE__ */ jsx("div", { className: "flex-shrink-0 flex items-center gap-2 flex-wrap", children: actions })
14053
13977
  ] }),
@@ -14064,8 +13988,8 @@ var CardSectionHeader = memo(function CardSectionHeader2({
14064
13988
  return /* @__PURE__ */ jsxs("div", { className: clsx("mb-3", className), children: [
14065
13989
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-2", children: [
14066
13990
  /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
14067
- /* @__PURE__ */ jsx("h3", { className: "text-base sm:text-lg font-medium text-zinc-900 dark:text-zinc-100", children: title }),
14068
- subtitle && /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs sm:text-sm text-zinc-600 dark:text-zinc-400 line-clamp-1", children: subtitle })
13991
+ /* @__PURE__ */ jsx("h3", { className: "text-base sm:text-lg font-medium text-slate-900 dark:text-slate-100", children: title }),
13992
+ subtitle && /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs sm:text-sm text-slate-600 dark:text-slate-400 line-clamp-1", children: subtitle })
14069
13993
  ] }),
14070
13994
  actions && /* @__PURE__ */ jsx("div", { className: "flex-shrink-0 flex items-center gap-1 flex-wrap", children: actions })
14071
13995
  ] }),
@@ -14084,10 +14008,10 @@ var MetricCard2 = ({
14084
14008
  return /* @__PURE__ */ jsxs(
14085
14009
  "div",
14086
14010
  {
14087
- className: `bg-zinc-50 dark:bg-zinc-800/50 rounded-2xl border border-zinc-200/50 dark:border-zinc-700/50 p-5 hover:border-zinc-300 dark:hover:border-zinc-600 transition-colors ${className}`,
14011
+ className: `liquid-surface rounded-2xl border border-white/30 dark:border-white/10 p-5 hover:bg-white/40 dark:hover:bg-white/[0.08] transition-colors ${className}`,
14088
14012
  children: [
14089
14013
  /* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between mb-3", children: [
14090
- /* @__PURE__ */ jsx("p", { className: "text-xs font-medium text-zinc-500 dark:text-zinc-400", children: title }),
14014
+ /* @__PURE__ */ jsx("p", { className: "text-xs font-medium text-slate-500 dark:text-slate-400", children: title }),
14091
14015
  tooltip && /* @__PURE__ */ jsxs("div", { className: "relative", children: [
14092
14016
  /* @__PURE__ */ jsx(
14093
14017
  "button",
@@ -14095,20 +14019,20 @@ var MetricCard2 = ({
14095
14019
  type: "button",
14096
14020
  onMouseEnter: () => setShowTooltip(true),
14097
14021
  onMouseLeave: () => setShowTooltip(false),
14098
- className: "w-4 h-4 rounded-full bg-zinc-200 dark:bg-zinc-700 text-zinc-600 dark:text-zinc-400 text-xs flex items-center justify-center hover:bg-zinc-300 dark:hover:bg-zinc-600 transition-colors",
14022
+ className: "w-4 h-4 rounded-full bg-white/30 dark:bg-white/10 text-slate-600 dark:text-slate-400 text-xs flex items-center justify-center hover:bg-white/40 dark:hover:bg-white/[0.08] transition-colors",
14099
14023
  "aria-label": "Info",
14100
14024
  children: "?"
14101
14025
  }
14102
14026
  ),
14103
- showTooltip && /* @__PURE__ */ jsxs("div", { className: "absolute right-0 top-6 z-10 w-64 p-3 bg-zinc-900 dark:bg-zinc-100 text-white dark:text-zinc-900 text-xs rounded-lg shadow-lg", children: [
14027
+ showTooltip && /* @__PURE__ */ jsxs("div", { className: "absolute right-0 top-6 z-10 w-64 p-3 liquid-surface-strong text-slate-900 dark:text-slate-100 text-xs rounded-lg", children: [
14104
14028
  tooltip,
14105
- /* @__PURE__ */ jsx("div", { className: "absolute right-2 top-0 -translate-y-1 w-2 h-2 bg-zinc-900 dark:bg-zinc-100 rotate-45" })
14029
+ /* @__PURE__ */ jsx("div", { className: "absolute right-2 top-0 -translate-y-1 w-2 h-2 bg-white/60 dark:bg-white/20 rotate-45" })
14106
14030
  ] })
14107
14031
  ] })
14108
14032
  ] }),
14109
14033
  children ? children : /* @__PURE__ */ jsxs(Fragment, { children: [
14110
- /* @__PURE__ */ jsx("div", { className: "text-2xl font-semibold text-zinc-900 dark:text-zinc-100 mb-1", children: value }),
14111
- subtitle && /* @__PURE__ */ jsx("div", { className: "text-xs text-zinc-500 dark:text-zinc-400", children: subtitle })
14034
+ /* @__PURE__ */ jsx("div", { className: "text-2xl font-semibold text-slate-900 dark:text-slate-100 mb-1", children: value }),
14035
+ subtitle && /* @__PURE__ */ jsx("div", { className: "text-xs text-slate-500 dark:text-slate-400", children: subtitle })
14112
14036
  ] })
14113
14037
  ]
14114
14038
  }
@@ -14123,14 +14047,14 @@ var MetricTooltip = ({ text }) => {
14123
14047
  type: "button",
14124
14048
  onMouseEnter: () => setShow(true),
14125
14049
  onMouseLeave: () => setShow(false),
14126
- className: "w-4 h-4 rounded-full bg-zinc-200 dark:bg-zinc-700 text-zinc-600 dark:text-zinc-400 text-xs flex items-center justify-center hover:bg-zinc-300 dark:hover:bg-zinc-600 transition-colors",
14050
+ className: "w-4 h-4 rounded-full bg-white/30 dark:bg-white/10 text-slate-600 dark:text-slate-400 text-xs flex items-center justify-center hover:bg-white/40 dark:hover:bg-white/[0.08] transition-colors",
14127
14051
  "aria-label": "Info",
14128
14052
  children: "?"
14129
14053
  }
14130
14054
  ),
14131
- show && /* @__PURE__ */ jsxs("div", { className: "absolute right-0 top-6 z-10 w-64 p-3 bg-zinc-900 dark:bg-zinc-100 text-white dark:text-zinc-900 text-xs rounded-lg shadow-lg", children: [
14055
+ show && /* @__PURE__ */ jsxs("div", { className: "absolute right-0 top-6 z-10 w-64 p-3 liquid-surface-strong text-slate-900 dark:text-slate-100 text-xs rounded-lg", children: [
14132
14056
  text,
14133
- /* @__PURE__ */ jsx("div", { className: "absolute right-2 top-0 -translate-y-1 w-2 h-2 bg-zinc-900 dark:bg-zinc-100 rotate-45" })
14057
+ /* @__PURE__ */ jsx("div", { className: "absolute right-2 top-0 -translate-y-1 w-2 h-2 bg-white/60 dark:bg-white/20 rotate-45" })
14134
14058
  ] })
14135
14059
  ] });
14136
14060
  };
@@ -14869,5 +14793,5 @@ function PlatformShell({
14869
14793
  }
14870
14794
 
14871
14795
  export { ActionMenu, ActionSheet, ActiveFilterChips, AnalysisSkeleton, AnimatedNumber, AnimatedTableRow, AppLogo, AppNavigation, AppShell, ArchiveSwipeAction, AuthLayout, Avatar, AvatarButton, BRAZIL_ACCENT_MAP, BRAZIL_MACRO_REGIONS, BRAZIL_MAP_CENTER, BRAZIL_STATE_COORDINATES, BRAZIL_STATE_PALETTES, BR_THEME_CONFIG, BackupCodeGrid, BadRequestPage, Badge, BaseForm, BentoCard, BooleanFlagsPicker, BottomSafeArea, BrandFilterSkeleton, BrandedLoader, Breadcrumb, Button, Card, Card2, CardActionMenu, CardContent, CardContent2, CardDescription, CardDescription2, CardDivider, CardFooter, CardFooter2, CardGridSkeleton, CardHeader, CardHeader2, CardSectionHeader, CardTitle, CardTitle2, CategoryBadge, CategoryTab, CategoryTabs, ChipPicker, CircularRefreshIndicator, Code, CollapsibleGroupedList, CompactSegmentedControl, ContactCard, ContactSection, Container, ContextMenu, CookieConsent, CopyableId, CountPill, CreateActionButton, DashboardProgressShell, DataPagination, DatePicker, DeleteSwipeAction, Description4 as Description, DetailsPopover, DevModeBanner, Dialog4 as Dialog, DialogActions, DialogBody, DialogDescription, DialogTitle3 as DialogTitle, Divider, Dock, DockContainer, DockSkeleton, DotRefreshIndicator, Dropdown, DropdownButton, DropdownDescription, DropdownDivider, DropdownHeader, DropdownHeading, DropdownItem, DropdownLabel, DropdownMenu, DropdownSection, DropdownSelect, DropdownShortcut, DynamicIsland, DynamicIslandConfirm, DynamicIslandNotification, EdgeSwipeIndicator, EdgeSwipeProvider, EditSwipeAction, EmptyState, EntityCard, EntityDrawer, ErrorMessage, ErrorState, ExpandableHistoryList, ExpandingPageIndicator, FUEL_PRICE_LOADER, FavoriteSwipeAction, FeatureCard, FeedItemCard, Field2 as Field, FieldGroup, Fieldset2 as Fieldset, FilterBadge, FilterPill, FilterSectionHeader, FilterTileButton, FloatingActionButton, FlyoutMenu, FlyoutNavGrid, FlyoutQuickActions, ForceTouchMenu, Form, FormActions, FormActionsRow, FormCheckbox, FormField, FormGrid, FormInput, FormModal, FormPriceInput, FormSection, FormSelect, FormTextarea, FormToggle, GeoMapCanvas, GeoMapLegend, GlassModal, Gradient, GradientBackground, GrowthIndicator, Heading, HeroPanel, HeroSection, IconButton, InfoPopover, InlineForm, InlineSpinner, Input, InputGroup, InteractiveGeoMap, ItemSummary, KORI_ERP_LOADER, Label2 as Label, Label3 as Label2, LabeledToggle, LanguageSwitcher, LaunchpadGrid, Lead, Legend2 as Legend, Link4 as Link, LiquidFilterInput, ListCard, ListCardItem, ListItem, LoadingOverlay, ManagementPageLayout, ManagementSurface, MapZoomControls, MetricCard, MetricCard2, MetricTooltip, MonthPicker, MultiColumnPicker, NavigationProgress, NoDataState, NoResultsState, NotFoundPage, NotificationBadge, NotificationBellButton, NotificationProvider, OfficeCard, OfflineState, OptionGrid, OtpInput, PageEmptyState, PageHeader, PageHeading, PageIndicator, PageLoadingState, PageSectionHeader, Pagination, PasswordInput, PasswordInput2, PasswordStrengthMeter, Pill, PlatformShell, PlusGrid, PlusGridItem, PlusGridRow, PreferenceSection, PriceChangeBadge, ProfileIdentityCard, Progress, ProgressIndicator, PullToRefreshContainer, PullToRefreshIndicator, RadiantHeading, RadiantStatCard, RadiantSubheading, RegionFilterSkeleton, RoleBadge, SafeArea, SafeAreaSpacer, SafeAreaView, SearchBar, SearchFilterToolbar, SearchInput, SectionCard, SectionHeader, SectionHeaderSkeleton, SegmentedControl, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, SelectableChipPicker, SelectableListPicker, SelectableOptionsGrid, SelectableTableRow, SelectionCard, ServerErrorPage, SettingsDialog, SettingsModal, Sheet, SliderInput, SocialLoginButtons, SortableTableHeader, Spinner, Stat, StatCard, StatCard2, StatCardSkeleton, StatusBadge, StatusToggle, StepFormPage, StepNavigationButtons, StepTimeline, Strong, Subheading, SwipeableRow, Switch2 as Switch, SwitchField, SwitchGroup, Table, TableBody, TableCell, TableEmptyState, TableHead, TableHeader, TableRow, TableSkeleton, TableSkeletonRow, Tabs, TabsContent, TabsList, TabsTrigger, TagBadge, Text, TextLink, Textarea, ThemeSwitch, ThemeToggle, ThemeToggleCompact, TimePicker, ToggleSwitch, TouchTarget, US_ACCENT_MAP, US_MACRO_REGIONS, US_MAP_CENTER, US_STATE_COORDINATES, US_STATE_PALETTES, US_THEME_CONFIG, UserAvatar, UserMobileInfo, WINDSOCK_LOADER, WIRE_LOADER, WheelPicker, WindsockIcon, buildDockActions, buildFlyoutNavItems, buildLaunchpadItems, buttonPress, buttonPressReduced, buttonTap, cardHover, cardHoverReduced, cardPress, createMotionProps, durations, durationsReduced, easings, fadeOnly, fadeScale, filterByPermission, formatCurrency, formatDate, formatPercentage, getBrazilAccent, getBrazilColors, getBrazilFlagUrl, getBrazilGradient, getBrazilHexColor, getBrazilPalette, getStatusColor, getSubdivisionAccent, getSubdivisionColors, getSubdivisionFlagUrl, getSubdivisionGradient, getSubdivisionHexColor, getSubdivisionPalette, getTransition, getUsAccent, getUsColors, getUsFlagUrl, getUsGradient, getUsHexColor, getUsPalette, getVariants, iosColors, isValidBrazilState, isValidSubdivision, isValidUsState, listItem, listItemReduced, notificationBanner, notificationBannerReduced, pageControlDot, prefersReducedMotion, registerSubdivisionTheme, resolveGlassAccentRgb, selectIsAuthenticated, selectShowShellChrome, selectUserInitial, selectUserName, shimmerClass, shimmerWhiteClass, slideDown, slideRight, slideUp, springPresets, springPresetsReduced, staggerContainer, swipeActionThreshold, swipeConstraints, useGeoMapState, useNotifications, usePlatformShellStore, usePullToRefresh };
14872
- //# sourceMappingURL=chunk-J4LJFUTW.mjs.map
14873
- //# sourceMappingURL=chunk-J4LJFUTW.mjs.map
14796
+ //# sourceMappingURL=chunk-RWNHZ7FV.mjs.map
14797
+ //# sourceMappingURL=chunk-RWNHZ7FV.mjs.map