@k3-tech/react-kit 0.0.66 → 0.0.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.
Files changed (35) hide show
  1. package/dist/index.js +90 -56
  2. package/dist/kit/layouts/admin/components/AdminLayout.d.ts.map +1 -1
  3. package/dist/kit/themes/clean-slate.css +290 -87
  4. package/dist/kit/themes/default.css +294 -90
  5. package/dist/kit/themes/minimal-modern.css +290 -87
  6. package/dist/kit/themes/spotify.css +290 -87
  7. package/dist/shadcn/ui/breadcrumb.d.ts.map +1 -1
  8. package/dist/shadcn/ui/dialog.d.ts.map +1 -1
  9. package/dist/shadcn/ui/pagination.d.ts.map +1 -1
  10. package/dist/shadcn/ui/sonner.d.ts +1 -1
  11. package/dist/shadcn/ui/sonner.d.ts.map +1 -1
  12. package/dist/shadcn/ui/table.d.ts +6 -2
  13. package/dist/shadcn/ui/table.d.ts.map +1 -1
  14. package/package.json +1 -1
  15. package/src/kit/components/autocomplete/Autocomplete.tsx +1 -1
  16. package/src/kit/components/fileuploader/FileUploader.tsx +2 -2
  17. package/src/kit/layouts/admin/components/AdminLayout.tsx +13 -12
  18. package/src/kit/themes/default.css +3 -3
  19. package/src/shadcn/ui/accordion.tsx +3 -3
  20. package/src/shadcn/ui/alert-dialog.tsx +2 -2
  21. package/src/shadcn/ui/avatar.tsx +1 -1
  22. package/src/shadcn/ui/badge.tsx +1 -1
  23. package/src/shadcn/ui/breadcrumb.tsx +7 -4
  24. package/src/shadcn/ui/calendar.tsx +2 -2
  25. package/src/shadcn/ui/card.tsx +1 -1
  26. package/src/shadcn/ui/dialog.tsx +8 -5
  27. package/src/shadcn/ui/pagination.tsx +2 -1
  28. package/src/shadcn/ui/progress.tsx +2 -2
  29. package/src/shadcn/ui/sheet.tsx +4 -4
  30. package/src/shadcn/ui/sidebar.tsx +2 -2
  31. package/src/shadcn/ui/sonner.tsx +13 -1
  32. package/src/shadcn/ui/switch.tsx +1 -1
  33. package/src/shadcn/ui/table.tsx +24 -6
  34. package/src/shadcn/ui/tabs.tsx +2 -2
  35. package/src/shadcn/ui/tooltip.tsx +2 -2
package/dist/index.js CHANGED
@@ -8597,13 +8597,13 @@ function AccordionTrigger({
8597
8597
  {
8598
8598
  "data-slot": "accordion-trigger",
8599
8599
  className: cn$1(
8600
- "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
8600
+ "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md px-4 py-[14px] text-left text-[13.5px] font-semibold text-[#424242] transition-all outline-none hover:bg-[#FAFAFA] hover:no-underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
8601
8601
  className
8602
8602
  ),
8603
8603
  ...props2,
8604
8604
  children: [
8605
8605
  children,
8606
- /* @__PURE__ */ jsx(ChevronDown, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
8606
+ /* @__PURE__ */ jsx(ChevronDown, { className: "text-muted-foreground pointer-events-none size-3 shrink-0 translate-y-0.5 transition-transform duration-200" })
8607
8607
  ]
8608
8608
  }
8609
8609
  ) });
@@ -8619,7 +8619,7 @@ function AccordionContent({
8619
8619
  "data-slot": "accordion-content",
8620
8620
  className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
8621
8621
  ...props2,
8622
- children: /* @__PURE__ */ jsx("div", { className: cn$1("pt-0 pb-4", className), children })
8622
+ children: /* @__PURE__ */ jsx("div", { className: cn$1("px-4 pb-[14px] pt-0 text-[13px] text-[#2B2F36]", className), children })
8623
8623
  }
8624
8624
  );
8625
8625
  }
@@ -9138,7 +9138,11 @@ function Skeleton({ className, ...props2 }) {
9138
9138
  }
9139
9139
  );
9140
9140
  }
9141
- function Table({ className, ...props2 }) {
9141
+ function Table({
9142
+ className,
9143
+ zebra,
9144
+ ...props2
9145
+ }) {
9142
9146
  return /* @__PURE__ */ jsx(
9143
9147
  "div",
9144
9148
  {
@@ -9148,7 +9152,11 @@ function Table({ className, ...props2 }) {
9148
9152
  "table",
9149
9153
  {
9150
9154
  "data-slot": "table",
9151
- className: cn$1("w-full caption-bottom text-sm border-border", className),
9155
+ className: cn$1(
9156
+ "w-full caption-bottom text-[13px] border-border",
9157
+ zebra && "[&_tbody_tr:nth-child(even)_td]:bg-[#CBF6F4]",
9158
+ className
9159
+ ),
9152
9160
  ...props2
9153
9161
  }
9154
9162
  )
@@ -9194,15 +9202,20 @@ function TableRow({ className, ...props2 }) {
9194
9202
  {
9195
9203
  "data-slot": "table-row",
9196
9204
  className: cn$1(
9197
- "hover:bg-muted/50 data-[state=selected]:bg-muted border-b border-border transition-colors",
9205
+ "hover:bg-[#F7FAFB] data-[state=selected]:bg-[#CBF6F4] border-b border-border transition-colors",
9198
9206
  className
9199
9207
  ),
9200
9208
  ...props2
9201
9209
  }
9202
9210
  );
9203
9211
  }
9204
- function TableHead({ className, ...props2 }) {
9205
- return /* @__PURE__ */ jsx(
9212
+ function TableHead({
9213
+ className,
9214
+ required: required2,
9215
+ children,
9216
+ ...props2
9217
+ }) {
9218
+ return /* @__PURE__ */ jsxs(
9206
9219
  "th",
9207
9220
  {
9208
9221
  "data-slot": "table-head",
@@ -9210,7 +9223,11 @@ function TableHead({ className, ...props2 }) {
9210
9223
  "bg-[#30A4A1] text-white h-10 px-2 text-left align-middle font-bold whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
9211
9224
  className
9212
9225
  ),
9213
- ...props2
9226
+ ...props2,
9227
+ children: [
9228
+ children,
9229
+ required2 && /* @__PURE__ */ jsx("span", { className: "ml-[3px] text-[#FCA5A5] font-bold", children: "*" })
9230
+ ]
9214
9231
  }
9215
9232
  );
9216
9233
  }
@@ -9220,7 +9237,7 @@ function TableCell({ className, ...props2 }) {
9220
9237
  {
9221
9238
  "data-slot": "table-cell",
9222
9239
  className: cn$1(
9223
- "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
9240
+ "px-3 py-3.5 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
9224
9241
  className
9225
9242
  ),
9226
9243
  ...props2
@@ -11736,7 +11753,7 @@ function TabsList({
11736
11753
  {
11737
11754
  "data-slot": "tabs-list",
11738
11755
  className: cn$1(
11739
- "bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",
11756
+ "inline-flex items-center gap-1 border-b border-[#E5E7EB] bg-transparent p-0 h-auto",
11740
11757
  className
11741
11758
  ),
11742
11759
  ...props2
@@ -11752,7 +11769,7 @@ function TabsTrigger({
11752
11769
  {
11753
11770
  "data-slot": "tabs-trigger",
11754
11771
  className: cn$1(
11755
- "data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-border dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
11772
+ "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring inline-flex items-center justify-center gap-1.5 rounded-t-md border border-transparent border-b-0 px-3 py-2 text-[13px] font-medium text-[#1976F2] whitespace-nowrap -mb-px transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:border-[#E5E7EB] data-[state=active]:bg-white data-[state=active]:text-[#424242] data-[state=active]:font-semibold [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
11756
11773
  className
11757
11774
  ),
11758
11775
  ...props2
@@ -11778,7 +11795,7 @@ function Card({ className, ...props2 }) {
11778
11795
  {
11779
11796
  "data-slot": "card",
11780
11797
  className: cn$1(
11781
- "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border border-border py-6 shadow-sm",
11798
+ "bg-card text-card-foreground flex flex-col gap-6 rounded-md border border-border py-6 shadow-sm",
11782
11799
  className
11783
11800
  ),
11784
11801
  ...props2
@@ -20065,7 +20082,7 @@ function a$1(n2, t2, a2) {
20065
20082
  return o2(m2.current, n2) || (v(n2), m2.current = n2), [f.current, v];
20066
20083
  }
20067
20084
  const badgeVariants = cva(
20068
- "inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
20085
+ "inline-flex items-center justify-center rounded-full border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
20069
20086
  {
20070
20087
  variants: {
20071
20088
  variant: {
@@ -24234,7 +24251,7 @@ function Autocomplete({
24234
24251
  ...getItemProps({ item, index: index2 }),
24235
24252
  className: cn$1(
24236
24253
  "flex cursor-pointer items-center justify-between px-2 py-2 text-sm outline-none transition-colors",
24237
- isHighlighted && "bg-accent text-accent-foreground",
24254
+ isHighlighted && "bg-[#FAFAFA] text-foreground",
24238
24255
  isSelected && "font-medium"
24239
24256
  ),
24240
24257
  children: [
@@ -26330,13 +26347,13 @@ function TooltipContent({
26330
26347
  "data-slot": "tooltip-content",
26331
26348
  sideOffset,
26332
26349
  className: cn$1(
26333
- "bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
26350
+ "bg-[#424242] text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-[5px] px-2.5 py-[5px] text-[11.5px] text-balance",
26334
26351
  className
26335
26352
  ),
26336
26353
  ...props2,
26337
26354
  children: [
26338
26355
  children,
26339
- /* @__PURE__ */ jsx(Arrow2$1, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
26356
+ /* @__PURE__ */ jsx(Arrow2$1, { className: "bg-[#424242] fill-[#424242] z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
26340
26357
  ]
26341
26358
  }
26342
26359
  ) });
@@ -26573,7 +26590,7 @@ function Switch({
26573
26590
  {
26574
26591
  "data-slot": "switch",
26575
26592
  className: cn$1(
26576
- "peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
26593
+ "peer data-[state=checked]:bg-[#30A4A1] data-[state=unchecked]:bg-[#e5e7eb] focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-5 w-9 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
26577
26594
  className
26578
26595
  ),
26579
26596
  ...props2,
@@ -31139,7 +31156,7 @@ function Calendar({
31139
31156
  range_middle: cn$1("rounded-none", defaultClassNames.range_middle),
31140
31157
  range_end: cn$1("rounded-r-md bg-accent", defaultClassNames.range_end),
31141
31158
  today: cn$1(
31142
- "bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none",
31159
+ "text-[#0D9488] font-semibold rounded-md data-[selected=true]:rounded-none",
31143
31160
  defaultClassNames.today
31144
31161
  ),
31145
31162
  outside: cn$1(
@@ -31214,7 +31231,7 @@ function CalendarDayButton({
31214
31231
  "data-range-end": modifiers.range_end,
31215
31232
  "data-range-middle": modifiers.range_middle,
31216
31233
  className: cn$1(
31217
- "data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70",
31234
+ "data-[selected-single=true]:bg-[#0D9488] data-[selected-single=true]:text-white data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-[#0D9488] data-[range-start=true]:text-white data-[range-end=true]:bg-[#0D9488] data-[range-end=true]:text-white group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70",
31218
31235
  defaultClassNames.day,
31219
31236
  className
31220
31237
  ),
@@ -36768,7 +36785,7 @@ function DialogContent({
36768
36785
  {
36769
36786
  "data-slot": "dialog-content",
36770
36787
  className: cn$1(
36771
- "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
36788
+ "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-md border p-6 shadow-[0_8px_24px_rgba(15,17,21,.12),0_2px_6px_rgba(15,17,21,.06)] duration-200 sm:max-w-[520px]",
36772
36789
  className
36773
36790
  ),
36774
36791
  ...props2,
@@ -36778,7 +36795,7 @@ function DialogContent({
36778
36795
  Close,
36779
36796
  {
36780
36797
  "data-slot": "dialog-close",
36781
- className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
36798
+ className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 flex size-6 items-center justify-center rounded-full border-[1.5px] border-[#2B2F36] opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
36782
36799
  children: [
36783
36800
  /* @__PURE__ */ jsx(X$1, {}),
36784
36801
  /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
@@ -36795,7 +36812,10 @@ function DialogHeader({ className, ...props2 }) {
36795
36812
  "div",
36796
36813
  {
36797
36814
  "data-slot": "dialog-header",
36798
- className: cn$1("flex flex-col gap-2 text-center sm:text-left", className),
36815
+ className: cn$1(
36816
+ "flex flex-col gap-2 border-b border-[#F0F0F0] pb-3 text-center sm:text-left",
36817
+ className
36818
+ ),
36799
36819
  ...props2
36800
36820
  }
36801
36821
  );
@@ -36806,7 +36826,7 @@ function DialogFooter({ className, ...props2 }) {
36806
36826
  {
36807
36827
  "data-slot": "dialog-footer",
36808
36828
  className: cn$1(
36809
- "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
36829
+ "flex flex-col-reverse gap-2 border-t border-[#F0F0F0] pt-3 sm:flex-row sm:justify-end",
36810
36830
  className
36811
36831
  ),
36812
36832
  ...props2
@@ -36821,7 +36841,7 @@ function DialogTitle({
36821
36841
  Title,
36822
36842
  {
36823
36843
  "data-slot": "dialog-title",
36824
- className: cn$1("text-lg leading-none font-semibold", className),
36844
+ className: cn$1("text-[15px] leading-none font-bold", className),
36825
36845
  ...props2
36826
36846
  }
36827
36847
  );
@@ -37124,7 +37144,7 @@ function Progress({
37124
37144
  {
37125
37145
  "data-slot": "progress",
37126
37146
  className: cn$1(
37127
- "bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",
37147
+ "bg-primary/20 relative h-[3px] w-full overflow-hidden rounded-full",
37128
37148
  className
37129
37149
  ),
37130
37150
  ...props2,
@@ -37132,7 +37152,7 @@ function Progress({
37132
37152
  Indicator$1,
37133
37153
  {
37134
37154
  "data-slot": "progress-indicator",
37135
- className: "bg-primary h-full w-full flex-1 transition-all",
37155
+ className: "bg-[#30A4A1] h-full w-full flex-1 transition-all",
37136
37156
  style: { transform: `translateX(-${100 - (value || 0)}%)` }
37137
37157
  }
37138
37158
  )
@@ -37725,9 +37745,9 @@ function FileUploader({
37725
37745
  prevUrlsRef.current = urls;
37726
37746
  }, [files]);
37727
37747
  const rootClasses = cn$1(
37728
- "w-full border border-dashed rounded-md p-4 text-sm transition-colors bg-background",
37748
+ "w-full border-2 border-dashed rounded-[10px] p-4 text-sm transition-colors bg-background",
37729
37749
  "hover:border-foreground/50",
37730
- isDragActive && "border-primary",
37750
+ isDragActive && "border-[#30A4A1] bg-[#F0FAFA]",
37731
37751
  isDragReject && "border-destructive",
37732
37752
  (disabled || disabledBecauseFull) && "opacity-50 pointer-events-none"
37733
37753
  );
@@ -46883,7 +46903,7 @@ function AlertDialogContent({
46883
46903
  {
46884
46904
  "data-slot": "alert-dialog-content",
46885
46905
  className: cn$1(
46886
- "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
46906
+ "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-[10px] border p-6 shadow-[0_24px_48px_rgba(15,17,21,.18),0_6px_12px_rgba(15,17,21,.08)] duration-200 sm:max-w-[440px]",
46887
46907
  className
46888
46908
  ),
46889
46909
  ...props2
@@ -46928,7 +46948,7 @@ function AlertDialogTitle({
46928
46948
  Title2,
46929
46949
  {
46930
46950
  "data-slot": "alert-dialog-title",
46931
- className: cn$1("text-lg font-semibold", className),
46951
+ className: cn$1("text-base font-bold", className),
46932
46952
  ...props2
46933
46953
  }
46934
46954
  );
@@ -48986,7 +49006,7 @@ function SheetContent({
48986
49006
  "data-slot": "sheet-content",
48987
49007
  className: cn$1(
48988
49008
  "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
48989
- side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
49009
+ side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l shadow-[-8px_0_24px_rgba(15,17,21,.08)] sm:max-w-[360px]",
48990
49010
  side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
48991
49011
  side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
48992
49012
  side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
@@ -49009,7 +49029,7 @@ function SheetHeader({ className, ...props2 }) {
49009
49029
  "div",
49010
49030
  {
49011
49031
  "data-slot": "sheet-header",
49012
- className: cn$1("flex flex-col gap-1.5 p-4", className),
49032
+ className: cn$1("flex flex-col gap-1.5 border-b border-[#F5F5F5] p-4", className),
49013
49033
  ...props2
49014
49034
  }
49015
49035
  );
@@ -49019,7 +49039,7 @@ function SheetFooter({ className, ...props2 }) {
49019
49039
  "div",
49020
49040
  {
49021
49041
  "data-slot": "sheet-footer",
49022
- className: cn$1("mt-auto flex flex-col gap-2 p-4", className),
49042
+ className: cn$1("mt-auto flex flex-col gap-2 border-t border-[#F5F5F5] p-4", className),
49023
49043
  ...props2
49024
49044
  }
49025
49045
  );
@@ -49032,7 +49052,7 @@ function SheetTitle({
49032
49052
  Title,
49033
49053
  {
49034
49054
  "data-slot": "sheet-title",
49035
- className: cn$1("text-foreground font-semibold", className),
49055
+ className: cn$1("text-foreground text-sm font-bold", className),
49036
49056
  ...props2
49037
49057
  }
49038
49058
  );
@@ -49052,9 +49072,9 @@ function SheetDescription({
49052
49072
  }
49053
49073
  const SIDEBAR_COOKIE_NAME = "sidebar_state";
49054
49074
  const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
49055
- const SIDEBAR_WIDTH = "16rem";
49075
+ const SIDEBAR_WIDTH = "15.5rem";
49056
49076
  const SIDEBAR_WIDTH_MOBILE = "18rem";
49057
- const SIDEBAR_WIDTH_ICON = "3rem";
49077
+ const SIDEBAR_WIDTH_ICON = "4.125rem";
49058
49078
  const SIDEBAR_KEYBOARD_SHORTCUT = "b";
49059
49079
  const SidebarContext = React.createContext(null);
49060
49080
  function useSidebar() {
@@ -49930,13 +49950,12 @@ function AdminLayoutContent({
49930
49950
  const hasChildren = Array.isArray(item.children) && item.children.length > 0;
49931
49951
  const isActive = isMenuItemActive(item.url);
49932
49952
  const isOpen = openMap[item.id] ?? (hasChildren && hasActiveDescendant(item));
49933
- const indentClassMap = ["", "pl-6", "pl-10", "pl-14"];
49934
- const indent = indentClassMap[Math.min(level, 3)];
49953
+ const indent = "";
49935
49954
  const activeText = isActive ? "text-sidebar-primary-foreground" : "text-sidebar-foreground group-hover:text-sidebar-accent-foreground";
49936
49955
  const content = /* @__PURE__ */ jsxs(
49937
49956
  SidebarMenuItem,
49938
49957
  {
49939
- className: `mb-1 ${level > 0 ? "ml-1" : ""}`,
49958
+ className: "mb-1",
49940
49959
  children: [
49941
49960
  /* @__PURE__ */ jsx(
49942
49961
  SidebarMenuButton,
@@ -49948,7 +49967,7 @@ function AdminLayoutContent({
49948
49967
  if (hasChildren) setOpen(item.id);
49949
49968
  },
49950
49969
  disabled: item.disabled,
49951
- className: `group relative overflow-hidden rounded-lg transition-all duration-200 hover:bg-sidebar-accent/70 data-[active=true]:bg-sidebar-primary data-[active=true]:text-sidebar-primary-foreground ${indent}`,
49970
+ className: `group relative overflow-hidden rounded-lg transition-all duration-200 hover:bg-[#FAFAFA] data-[active=true]:bg-sidebar-primary data-[active=true]:text-sidebar-primary-foreground ${indent}`,
49952
49971
  children: item.url && !hasChildren ? /* @__PURE__ */ jsxs(Link$1, { to: item.url, className: "flex items-center gap-3 px-3", children: [
49953
49972
  item.icon && /* @__PURE__ */ jsx(
49954
49973
  item.icon,
@@ -50003,7 +50022,7 @@ function AdminLayoutContent({
50003
50022
  // (rendered as <li>) children don't end up as direct descendants of
50004
50023
  // a <div> inside another <li> — that's invalid HTML and triggers a
50005
50024
  // React hydration warning.
50006
- /* @__PURE__ */ jsx("ul", { className: "mt-1 flex flex-col list-none p-0 m-0", children: (item.children ?? []).map(
50025
+ /* @__PURE__ */ jsx("ul", { className: "mt-1 ml-[18px] flex flex-col list-none border-l border-sidebar-border pl-2 py-0.5 m-0 group-data-[collapsible=icon]:hidden", children: (item.children ?? []).map(
50007
50026
  (child) => renderItem(child, Math.min(level + 1, 3))
50008
50027
  ) })
50009
50028
  ]
@@ -50019,13 +50038,13 @@ function AdminLayoutContent({
50019
50038
  className: "bg-sidebar border-r border-sidebar-border",
50020
50039
  collapsible: sidebarCollapsible ? "icon" : "none",
50021
50040
  children: [
50022
- /* @__PURE__ */ jsx(SidebarHeader, { className: "bg-sidebar border-b border-sidebar-border", children: sidebarHeader ? sidebarHeader : /* @__PURE__ */ jsx("div", { className: "sidebar-header-content flex items-center justify-center px-4 py-3", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
50023
- /* @__PURE__ */ jsx("div", { className: "flex h-8 w-8 items-center justify-center rounded-lg bg-primary text-primary-foreground", children: /* @__PURE__ */ jsx(SidebarHeaderIcon, { className: "h-4 w-4" }) }),
50024
- /* @__PURE__ */ jsx("span", { className: "font-semibold text-sidebar-foreground", children: sidebarTitle })
50041
+ /* @__PURE__ */ jsx(SidebarHeader, { className: "bg-sidebar border-b border-sidebar-border", children: sidebarHeader ? sidebarHeader : /* @__PURE__ */ jsx("div", { className: "sidebar-header-content flex items-center justify-center px-4 py-3 group-data-[collapsible=icon]:px-0", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 group-data-[collapsible=icon]:gap-0", children: [
50042
+ /* @__PURE__ */ jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded-lg bg-[#1A9E8F] text-sidebar-primary-foreground", children: /* @__PURE__ */ jsx(SidebarHeaderIcon, { className: "h-4 w-4" }) }),
50043
+ /* @__PURE__ */ jsx("span", { className: "font-bold text-[18px] text-[#0d9488] tracking-[-0.01em] group-data-[collapsible=icon]:hidden", children: sidebarTitle })
50025
50044
  ] }) }) }),
50026
50045
  /* @__PURE__ */ jsx(SidebarContent, { className: "bg-sidebar px-2 py-4", children: sidebarGroups.map((group, idx) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
50027
50046
  /* @__PURE__ */ jsxs(SidebarGroup, { children: [
50028
- /* @__PURE__ */ jsx(SidebarGroupLabel, { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wider px-3 mb-2 group-data-[collapsible=icon]:hidden", children: group.label }),
50047
+ /* @__PURE__ */ jsx(SidebarGroupLabel, { className: "text-[10.5px] font-semibold text-[#9CA3AF] uppercase tracking-[0.14em] px-3 pt-2 mb-1.5 group-data-[collapsible=icon]:hidden", children: group.label }),
50029
50048
  /* @__PURE__ */ jsx(SidebarGroupContent, { children: /* @__PURE__ */ jsx(SidebarMenu, { className: "group-data-[collapsible=icon]:items-center", children: group.items.map((item) => renderItem(item, 0)) }) })
50030
50049
  ] }),
50031
50050
  idx < sidebarGroups.length - 1 && /* @__PURE__ */ jsx(
@@ -50040,7 +50059,7 @@ function AdminLayoutContent({
50040
50059
  SidebarMenuButton,
50041
50060
  {
50042
50061
  tooltip: "Logout",
50043
- className: "cursor-pointer group relative overflow-hidden rounded-lg mx-1 transition-all duration-200 hover:bg-sidebar-accent/70 hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:flex group-data-[collapsible=icon]:w-full group-data-[collapsible=icon]:items-center group-data-[collapsible=icon]:!justify-center group-data-[collapsible=icon]:!px-0 group-data-[collapsible=icon]:!gap-0",
50062
+ className: "cursor-pointer group relative overflow-hidden rounded-lg mx-1 transition-all duration-200 hover:bg-[#FAFAFA] hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:flex group-data-[collapsible=icon]:w-full group-data-[collapsible=icon]:items-center group-data-[collapsible=icon]:!justify-center group-data-[collapsible=icon]:!px-0 group-data-[collapsible=icon]:!gap-0",
50044
50063
  onClick: () => {
50045
50064
  void onLogout();
50046
50065
  },
@@ -50054,7 +50073,7 @@ function AdminLayoutContent({
50054
50073
  }
50055
50074
  ),
50056
50075
  /* @__PURE__ */ jsxs(SidebarInset, { children: [
50057
- /* @__PURE__ */ jsxs("header", { className: "flex h-16 shrink-0 items-center justify-between gap-4 border-b border-border/40 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 px-6", children: [
50076
+ /* @__PURE__ */ jsxs("header", { className: "flex h-[69px] shrink-0 items-center justify-between gap-4 border-b border-border/40 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 px-6", children: [
50058
50077
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4", children: [
50059
50078
  sidebarCollapsible && /* @__PURE__ */ jsx(SidebarTrigger, { className: "h-8 w-8 text-foreground hover:bg-accent hover:text-accent-foreground rounded-md" }),
50060
50079
  headerAfterTrigger
@@ -51835,7 +51854,7 @@ function AvatarFallback({
51835
51854
  {
51836
51855
  "data-slot": "avatar-fallback",
51837
51856
  className: cn$1(
51838
- "bg-muted flex size-full items-center justify-center rounded-full",
51857
+ "bg-[#30A4A1] text-white text-xs font-semibold flex size-full items-center justify-center rounded-full",
51839
51858
  className
51840
51859
  ),
51841
51860
  ...props2
@@ -51935,7 +51954,7 @@ function BreadcrumbList({ className, ...props2 }) {
51935
51954
  {
51936
51955
  "data-slot": "breadcrumb-list",
51937
51956
  className: cn$1(
51938
- "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
51957
+ "text-muted-foreground flex flex-wrap items-center gap-1 text-[12.5px] break-words sm:gap-1.5",
51939
51958
  className
51940
51959
  ),
51941
51960
  ...props2
@@ -51962,7 +51981,10 @@ function BreadcrumbLink({
51962
51981
  Comp,
51963
51982
  {
51964
51983
  "data-slot": "breadcrumb-link",
51965
- className: cn$1("hover:text-foreground transition-colors", className),
51984
+ className: cn$1(
51985
+ "transition-colors hover:text-[#0d9488] hover:underline",
51986
+ className
51987
+ ),
51966
51988
  ...props2
51967
51989
  }
51968
51990
  );
@@ -51975,7 +51997,7 @@ function BreadcrumbPage({ className, ...props2 }) {
51975
51997
  role: "link",
51976
51998
  "aria-disabled": "true",
51977
51999
  "aria-current": "page",
51978
- className: cn$1("text-foreground font-normal", className),
52000
+ className: cn$1("font-semibold text-[#2b2f36]", className),
51979
52001
  ...props2
51980
52002
  }
51981
52003
  );
@@ -51991,7 +52013,7 @@ function BreadcrumbSeparator({
51991
52013
  "data-slot": "breadcrumb-separator",
51992
52014
  role: "presentation",
51993
52015
  "aria-hidden": "true",
51994
- className: cn$1("[&>svg]:size-3.5", className),
52016
+ className: cn$1("text-[#9ca3af] [&>svg]:size-3", className),
51995
52017
  ...props2,
51996
52018
  children: children ?? /* @__PURE__ */ jsx(ChevronRightIcon, {})
51997
52019
  }
@@ -64636,12 +64658,13 @@ function PaginationLink({
64636
64658
  {
64637
64659
  "aria-current": isActive ? "page" : void 0,
64638
64660
  "data-slot": "pagination-link",
64639
- "data-active": isActive,
64661
+ "data-active": isActive ? true : void 0,
64640
64662
  className: cn$1(
64641
64663
  buttonVariants({
64642
64664
  variant: isActive ? "outline" : "ghost",
64643
64665
  size: size2
64644
64666
  }),
64667
+ "data-[active=true]:bg-[#F0FAFA] data-[active=true]:text-[#0D9488] data-[active=true]:font-semibold data-[active=true]:border-[#E0F2F1]",
64645
64668
  className
64646
64669
  ),
64647
64670
  ...props2
@@ -68204,7 +68227,7 @@ function Slider({
68204
68227
  }
68205
68228
  );
68206
68229
  }
68207
- const Toaster2 = ({ ...props2 }) => {
68230
+ const Toaster2 = ({ toastOptions, ...props2 }) => {
68208
68231
  const { theme = "system" } = z();
68209
68232
  return /* @__PURE__ */ jsx(
68210
68233
  Toaster$1,
@@ -68216,7 +68239,18 @@ const Toaster2 = ({ ...props2 }) => {
68216
68239
  "--normal-text": "var(--popover-foreground)",
68217
68240
  "--normal-border": "var(--border)"
68218
68241
  },
68219
- ...props2
68242
+ ...props2,
68243
+ toastOptions: {
68244
+ ...toastOptions,
68245
+ classNames: {
68246
+ toast: "rounded-lg border-l-4 border-l-[#1976F2] shadow-[0_8px_24px_rgba(15,17,21,.12),0_2px_6px_rgba(15,17,21,.06)]",
68247
+ success: "border-l-[#2BA84A]",
68248
+ error: "border-l-[#EF4444]",
68249
+ warning: "border-l-[#F59E0B]",
68250
+ info: "border-l-[#1976F2]",
68251
+ ...toastOptions == null ? void 0 : toastOptions.classNames
68252
+ }
68253
+ }
68220
68254
  }
68221
68255
  );
68222
68256
  };
@@ -1 +1 @@
1
- {"version":3,"file":"AdminLayout.d.ts","sourceRoot":"","sources":["../../../../../src/kit/layouts/admin/components/AdminLayout.tsx"],"names":[],"mappings":"AA+BA,KAAK,gBAAgB,GAAG;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAE9D,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,iBAAiB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAEhE,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACvC,CAAC;AAwOF,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,QAAQ,EACR,eAAe,EACf,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,QAAQ,GACT,EAAE,gBAAgB,2CAmBlB"}
1
+ {"version":3,"file":"AdminLayout.d.ts","sourceRoot":"","sources":["../../../../../src/kit/layouts/admin/components/AdminLayout.tsx"],"names":[],"mappings":"AA+BA,KAAK,gBAAgB,GAAG;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAE9D,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,iBAAiB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAEhE,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACvC,CAAC;AAyOF,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,QAAQ,EACR,eAAe,EACf,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,QAAQ,GACT,EAAE,gBAAgB,2CAmBlB"}