@stackloop/ui 3.3.2 → 3.3.4
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/stackloop-ui.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3279,7 +3279,7 @@ const Dt = ({
|
|
|
3279
3279
|
animate: { opacity: 1, y: 0 },
|
|
3280
3280
|
exit: { opacity: 0, y: -10 },
|
|
3281
3281
|
transition: { duration: 0.2 },
|
|
3282
|
-
className: "absolute right z-50 mt-2 w-
|
|
3282
|
+
className: "absolute right z-50 mt-2 w-full bg-background rounded-md border border-border shadow-lg max-h-80 overflow-hidden",
|
|
3283
3283
|
children: [
|
|
3284
3284
|
i && /* @__PURE__ */ e("div", { className: "p-2 border-b border-border", children: /* @__PURE__ */ l("div", { className: "relative", children: [
|
|
3285
3285
|
/* @__PURE__ */ e(re, { className: "absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-primary/50" }),
|
|
@@ -3339,7 +3339,7 @@ const Dt = ({
|
|
|
3339
3339
|
) : null }) : C && /* @__PURE__ */ l(
|
|
3340
3340
|
S.div,
|
|
3341
3341
|
{
|
|
3342
|
-
className: "absolute right-0 z-50 mt-2 w-
|
|
3342
|
+
className: "absolute right-0 z-50 mt-2 w-full bg-background rounded-md border border-border shadow-lg max-h-80 overflow-hidden",
|
|
3343
3343
|
children: [
|
|
3344
3344
|
i && /* @__PURE__ */ e("div", { className: "p-2 border-b border-border", children: /* @__PURE__ */ l("div", { className: "relative", children: [
|
|
3345
3345
|
/* @__PURE__ */ e(re, { className: "absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-primary/50" }),
|
|
@@ -3484,7 +3484,7 @@ const Dt = ({
|
|
|
3484
3484
|
exit: { opacity: 0, y: -10 },
|
|
3485
3485
|
transition: { duration: 0.2 },
|
|
3486
3486
|
role: "listbox",
|
|
3487
|
-
className: "absolute right-0 z-50 mt-2 w-
|
|
3487
|
+
className: "absolute right-0 z-50 mt-2 w-full bg-background rounded-md border border-border shadow-lg max-h-80 overflow-hidden",
|
|
3488
3488
|
children: [
|
|
3489
3489
|
s && /* @__PURE__ */ e("div", { className: "p-2 border-b border-border", children: /* @__PURE__ */ l("div", { className: "relative", children: [
|
|
3490
3490
|
/* @__PURE__ */ e(re, { className: "absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-primary/50" }),
|
|
@@ -3555,7 +3555,7 @@ const Dt = ({
|
|
|
3555
3555
|
S.div,
|
|
3556
3556
|
{
|
|
3557
3557
|
role: "listbox",
|
|
3558
|
-
className: "absolute right-0 z-50 mt-2 w-
|
|
3558
|
+
className: "absolute right-0 z-50 mt-2 w-full bg-background rounded-md border border-border shadow-lg max-h-80 overflow-hidden",
|
|
3559
3559
|
children: [
|
|
3560
3560
|
s && /* @__PURE__ */ e("div", { className: "p-2 border-b border-border", children: /* @__PURE__ */ l("div", { className: "relative", children: [
|
|
3561
3561
|
/* @__PURE__ */ e(re, { className: "absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-primary/50" }),
|
|
@@ -4184,7 +4184,7 @@ const Ft = ({
|
|
|
4184
4184
|
transition: { duration: 0.2 },
|
|
4185
4185
|
className: "absolute z-50 w-80 mt-2 bg-background rounded-md border border-border shadow-lg p-4",
|
|
4186
4186
|
children: [
|
|
4187
|
-
/* @__PURE__ */ l("div", { className: "flex items-center justify-between
|
|
4187
|
+
/* @__PURE__ */ l("div", { className: "flex items-center justify-between border-border ", children: [
|
|
4188
4188
|
/* @__PURE__ */ e(
|
|
4189
4189
|
"button",
|
|
4190
4190
|
{
|
|
@@ -4212,7 +4212,7 @@ const Ft = ({
|
|
|
4212
4212
|
/* @__PURE__ */ e("div", { className: "grid grid-cols-7 gap-1 mb-2", children: y.map((M) => /* @__PURE__ */ e(
|
|
4213
4213
|
"div",
|
|
4214
4214
|
{
|
|
4215
|
-
className: "text-center text-xs font-
|
|
4215
|
+
className: "text-center text-xs font-bold text-foreground/70 py-2",
|
|
4216
4216
|
children: M
|
|
4217
4217
|
},
|
|
4218
4218
|
M
|
|
@@ -4229,7 +4229,7 @@ const Ft = ({
|
|
|
4229
4229
|
onClick: () => !F && R(M),
|
|
4230
4230
|
disabled: F,
|
|
4231
4231
|
className: p(
|
|
4232
|
-
"aspect-square rounded-lg flex items-center justify-center",
|
|
4232
|
+
"aspect-square cursor-pointer rounded-lg flex items-center justify-center",
|
|
4233
4233
|
"text-sm font-medium transition-all duration-200",
|
|
4234
4234
|
"hover:bg-secondary",
|
|
4235
4235
|
B && "bg-primary text-white hover:bg-primary-dark",
|
|
@@ -4242,12 +4242,12 @@ const Ft = ({
|
|
|
4242
4242
|
M.toISOString()
|
|
4243
4243
|
);
|
|
4244
4244
|
}) }),
|
|
4245
|
-
/* @__PURE__ */ e("div", { className: "mt-
|
|
4245
|
+
/* @__PURE__ */ e("div", { className: "mt-2 pt-2 border-t border-border", children: /* @__PURE__ */ e(
|
|
4246
4246
|
"button",
|
|
4247
4247
|
{
|
|
4248
4248
|
type: "button",
|
|
4249
4249
|
onClick: () => R(/* @__PURE__ */ new Date()),
|
|
4250
|
-
className: "w-full py-2 text-sm font-medium text-primary hover:bg-secondary rounded-lg transition-colors",
|
|
4250
|
+
className: "w-full py-2 text-sm font-medium text-primary cursor-pointer hover:bg-secondary rounded-lg transition-colors",
|
|
4251
4251
|
children: "Today"
|
|
4252
4252
|
}
|
|
4253
4253
|
) })
|