@hilum/ui 3.2.9 → 3.2.11
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.
package/dist/index.js
CHANGED
|
@@ -910,20 +910,20 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
|
|
|
910
910
|
caption_label: "body font-semibold text-foreground",
|
|
911
911
|
nav: "flex items-center justify-between absolute inset-x-0 top-1",
|
|
912
912
|
button_previous: cn(
|
|
913
|
-
"absolute left-0 flex
|
|
913
|
+
"absolute left-0 flex h-9 w-9 items-center justify-center rounded-md",
|
|
914
914
|
"text-muted-foreground hover:bg-muted hover:text-muted-foreground transition-colors"
|
|
915
915
|
),
|
|
916
916
|
button_next: cn(
|
|
917
|
-
"absolute right-0 flex
|
|
917
|
+
"absolute right-0 flex h-9 w-9 items-center justify-center rounded-md",
|
|
918
918
|
"text-muted-foreground hover:bg-muted hover:text-muted-foreground transition-colors"
|
|
919
919
|
),
|
|
920
920
|
month_grid: "w-full border-collapse mt-1",
|
|
921
921
|
weekdays: "flex",
|
|
922
|
-
weekday: "flex
|
|
922
|
+
weekday: "flex h-9 w-9 items-center justify-center label text-muted-foreground font-normal",
|
|
923
923
|
week: "flex w-full mt-1",
|
|
924
924
|
day: "relative p-0 text-center",
|
|
925
925
|
day_button: cn(
|
|
926
|
-
"flex
|
|
926
|
+
"flex h-9 w-9 items-center justify-center rounded-full body font-normal",
|
|
927
927
|
"text-foreground hover:bg-muted transition-colors",
|
|
928
928
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-primary/30"
|
|
929
929
|
),
|
|
@@ -1277,7 +1277,7 @@ function CarouselPrevious({
|
|
|
1277
1277
|
variant,
|
|
1278
1278
|
size,
|
|
1279
1279
|
className: cn(
|
|
1280
|
-
"absolute
|
|
1280
|
+
"absolute h-9 w-9 rounded-full",
|
|
1281
1281
|
orientation === "vertical" ? "-top-12 left-1/2 -translate-x-1/2 rotate-90" : "-left-12 top-1/2 -translate-y-1/2",
|
|
1282
1282
|
className
|
|
1283
1283
|
),
|
|
@@ -1304,7 +1304,7 @@ function CarouselNext({
|
|
|
1304
1304
|
variant,
|
|
1305
1305
|
size,
|
|
1306
1306
|
className: cn(
|
|
1307
|
-
"absolute
|
|
1307
|
+
"absolute h-9 w-9 rounded-full",
|
|
1308
1308
|
orientation === "vertical" ? "-bottom-12 left-1/2 -translate-x-1/2 rotate-90" : "-right-12 top-1/2 -translate-y-1/2",
|
|
1309
1309
|
className
|
|
1310
1310
|
),
|
|
@@ -3017,7 +3017,7 @@ var DrawerDescription = React19.forwardRef(({ className, ...props }, ref) => /*
|
|
|
3017
3017
|
DrawerDescription.displayName = "DrawerDescription";
|
|
3018
3018
|
function EmptyState({ icon, title, description, action, className }) {
|
|
3019
3019
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col items-center gap-4 px-6 py-14 text-center", className), children: [
|
|
3020
|
-
icon && /* @__PURE__ */ jsx("div", { className: "flex size-
|
|
3020
|
+
icon && /* @__PURE__ */ jsx("div", { className: "flex size-9 items-center justify-center rounded-md bg-brand-secondary/20 text-muted-foreground", children: icon }),
|
|
3021
3021
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1.5", children: [
|
|
3022
3022
|
/* @__PURE__ */ jsx("p", { className: "body text-balance font-semibold text-foreground", children: title }),
|
|
3023
3023
|
description && /* @__PURE__ */ jsx("p", { className: "body max-w-xs text-pretty text-muted-foreground", children: description })
|
|
@@ -6086,7 +6086,7 @@ function CirclesSteps({ steps, className }) {
|
|
|
6086
6086
|
return /* @__PURE__ */ jsx("nav", { "aria-label": "Progress", className, children: /* @__PURE__ */ jsx("ol", { role: "list", className: "flex items-center", children: steps.map((step, i) => {
|
|
6087
6087
|
const isLast = i === steps.length - 1;
|
|
6088
6088
|
return /* @__PURE__ */ jsxs("li", { className: cn("relative", !isLast && "flex-1"), children: [
|
|
6089
|
-
!isLast && /* @__PURE__ */ jsx("div", { className: "absolute left-
|
|
6089
|
+
!isLast && /* @__PURE__ */ jsx("div", { className: "absolute left-9 right-0 top-[18px] h-0.5", "aria-hidden": "true", children: /* @__PURE__ */ jsx(
|
|
6090
6090
|
"div",
|
|
6091
6091
|
{
|
|
6092
6092
|
className: cn(
|
|
@@ -6106,7 +6106,7 @@ function CirclesSteps({ steps, className }) {
|
|
|
6106
6106
|
"span",
|
|
6107
6107
|
{
|
|
6108
6108
|
className: cn(
|
|
6109
|
-
"relative z-10 flex
|
|
6109
|
+
"relative z-10 flex h-9 w-9 items-center justify-center rounded-full transition-colors",
|
|
6110
6110
|
step.status === "complete" && "bg-brand-primary group-hover:bg-brand-primary/80",
|
|
6111
6111
|
step.status === "current" && "border-2 border-brand-primary bg-card",
|
|
6112
6112
|
step.status === "upcoming" && "border-2 border-border bg-card group-hover:border-border"
|
|
@@ -6147,7 +6147,7 @@ function BulletsSteps({ steps, className }) {
|
|
|
6147
6147
|
{
|
|
6148
6148
|
href: step.href ?? "#",
|
|
6149
6149
|
onClick: !step.href ? (e) => e.preventDefault() : void 0,
|
|
6150
|
-
className: "relative flex
|
|
6150
|
+
className: "relative flex h-9 w-9 items-center justify-center",
|
|
6151
6151
|
children: step.status === "complete" ? /* @__PURE__ */ jsx(
|
|
6152
6152
|
"span",
|
|
6153
6153
|
{
|