florixui 1.15.0 → 1.15.2
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 +6 -6
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4296,7 +4296,7 @@ function ki({ value: e, max: t, onChange: r }) {
|
|
|
4296
4296
|
onKeyDown: (e) => {
|
|
4297
4297
|
e.key === "Enter" && o(e.target.value), e.key === "ArrowUp" && (e.preventDefault(), s(1)), e.key === "ArrowDown" && (e.preventDefault(), s(-1));
|
|
4298
4298
|
},
|
|
4299
|
-
className: Q("h-8 w-12 rounded-
|
|
4299
|
+
className: Q("h-8 w-12 rounded-sm border border-border bg-input-background text-center text-sm font-medium", "focus:border-ring focus:ring-3 focus:ring-ring/50 focus:outline-none", "[appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none")
|
|
4300
4300
|
});
|
|
4301
4301
|
}
|
|
4302
4302
|
function Ai({ value: e, onChange: t, label: r, placeholder: i = "Select date & time", showTime: a = !0, timezone: o, minDate: s, maxDate: c, captionLayout: l = "dropdown", yearRange: u, disabled: d, className: f }) {
|
|
@@ -4333,9 +4333,9 @@ function Ai({ value: e, onChange: t, label: r, placeholder: i = "Select date & t
|
|
|
4333
4333
|
timeZone: h
|
|
4334
4334
|
}) : i;
|
|
4335
4335
|
return /* @__PURE__ */ Z("div", {
|
|
4336
|
-
className: Q("
|
|
4337
|
-
children: [r != null && /* @__PURE__ */ X(
|
|
4338
|
-
className:
|
|
4336
|
+
className: Q("space-y-1.5", f),
|
|
4337
|
+
children: [r != null && /* @__PURE__ */ X(wt, {
|
|
4338
|
+
className: Q(d && "text-muted-foreground"),
|
|
4339
4339
|
children: r
|
|
4340
4340
|
}), /* @__PURE__ */ Z(an, {
|
|
4341
4341
|
open: p,
|
|
@@ -4346,7 +4346,7 @@ function Ai({ value: e, onChange: t, label: r, placeholder: i = "Select date & t
|
|
|
4346
4346
|
children: /* @__PURE__ */ Z("button", {
|
|
4347
4347
|
type: "button",
|
|
4348
4348
|
disabled: d,
|
|
4349
|
-
className: Q("flex h-8 w-full items-center justify-between gap-2 rounded-
|
|
4349
|
+
className: Q("flex h-8.5 w-full items-center justify-between gap-2 rounded-sm border border-border bg-input-background px-3 py-1 text-sm text-foreground transition-[color,box-shadow] outline-none", "focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50", p && "border-ring ring-3 ring-ring/50", !_ && "text-muted-foreground", "disabled:pointer-events-none disabled:cursor-not-allowed disabled:text-muted-foreground"),
|
|
4350
4350
|
children: [/* @__PURE__ */ X("span", {
|
|
4351
4351
|
className: "truncate",
|
|
4352
4352
|
children: ee
|
|
@@ -4425,7 +4425,7 @@ var ji = n.forwardRef(function({ value: e, onChange: t, className: r, timezone:
|
|
|
4425
4425
|
children: /* @__PURE__ */ Z("button", {
|
|
4426
4426
|
ref: s,
|
|
4427
4427
|
type: "button",
|
|
4428
|
-
className: Q("flex h-
|
|
4428
|
+
className: Q("flex h-8.5 items-center justify-between gap-1.5 rounded-sm border border-border bg-input-background px-3 py-1 text-sm text-foreground transition-[color,box-shadow] outline-none", "focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50", l && "border-ring ring-3 ring-ring/50", r),
|
|
4429
4429
|
children: [
|
|
4430
4430
|
/* @__PURE__ */ X(g, { className: "size-3.5 shrink-0 opacity-60" }),
|
|
4431
4431
|
/* @__PURE__ */ X("span", {
|