florixui 1.14.0 → 1.14.1
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 +5 -5
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1175,7 +1175,7 @@ var mn = n.forwardRef(function(e, t) {
|
|
|
1175
1175
|
disabled: m,
|
|
1176
1176
|
"aria-invalid": S,
|
|
1177
1177
|
"aria-describedby": M,
|
|
1178
|
-
className: Q("flex min-h-20 w-full rounded-sm border border-border px-3 py-2 text-
|
|
1178
|
+
className: Q("flex min-h-20 w-full rounded-sm border border-border px-3 py-2 text-sm outline-none transition-[color,box-shadow] placeholder:text-foreground/50", N, "focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50", "disabled:pointer-events-none disabled:cursor-not-allowed disabled:text-muted-foreground", "aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40", r),
|
|
1179
1179
|
...e
|
|
1180
1180
|
}),
|
|
1181
1181
|
/* @__PURE__ */ X(pn, {
|
|
@@ -1209,7 +1209,7 @@ var mn = n.forwardRef(function(e, t) {
|
|
|
1209
1209
|
"aria-invalid": S,
|
|
1210
1210
|
"aria-describedby": M,
|
|
1211
1211
|
onFocus: re,
|
|
1212
|
-
className: Q("w-full min-w-0 bg-transparent text-
|
|
1212
|
+
className: Q("w-full min-w-0 bg-transparent text-sm text-foreground outline-none placeholder:text-foreground/50 disabled:cursor-not-allowed disabled:text-muted-foreground", H ? "h-full border-0 py-1 focus-visible:ring-0" : Q("rounded-sm border border-border pl-3 pr-3 py-1 transition-[color,box-shadow]", N, u === "default" ? "h-8.5" : "h-7", "focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50", "aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40", B && "pl-9", V && "pr-9"), H && (h ? "pl-0" : "pl-3"), H && (g ? "pr-0" : "pr-3"), H && B && !h && "pl-9", H && V && !g && "pr-9", H && B && h && "pl-6", H && V && g && "pr-6", r),
|
|
1213
1213
|
...ee
|
|
1214
1214
|
});
|
|
1215
1215
|
return /* @__PURE__ */ Z("div", {
|
|
@@ -1222,7 +1222,7 @@ var mn = n.forwardRef(function(e, t) {
|
|
|
1222
1222
|
}),
|
|
1223
1223
|
H ? /* @__PURE__ */ Z("div", {
|
|
1224
1224
|
"aria-invalid": S,
|
|
1225
|
-
className: Q("flex items-center overflow-hidden rounded-sm border border-border transition-[color,box-shadow]", N, u === "default" ? "h-9" : "h-8", "focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50", "aria-[invalid=true]:border-destructive aria-[invalid=true]:ring-3 aria-[invalid=true]:ring-destructive/20 dark:aria-[invalid=true]:ring-destructive/40", m && "cursor-not-allowed
|
|
1225
|
+
className: Q("flex items-center overflow-hidden rounded-sm border border-border transition-[color,box-shadow]", N, u === "default" ? "h-9" : "h-8", "focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50", "aria-[invalid=true]:border-destructive aria-[invalid=true]:ring-3 aria-[invalid=true]:ring-destructive/20 dark:aria-[invalid=true]:ring-destructive/40", m && "cursor-not-allowed"),
|
|
1226
1226
|
children: [
|
|
1227
1227
|
h && /* @__PURE__ */ X("div", {
|
|
1228
1228
|
className: "flex h-full shrink-0 items-center justify-center pl-3 pr-2 text-sm text-muted-foreground [&_svg]:size-4",
|
|
@@ -1315,7 +1315,7 @@ function gn({ value: e, onChange: t, label: r, description: i, errorMessage: a,
|
|
|
1315
1315
|
/* @__PURE__ */ Z("div", {
|
|
1316
1316
|
onClick: () => S.current?.focus(),
|
|
1317
1317
|
"aria-invalid": O,
|
|
1318
|
-
className: Q("flex w-full cursor-text rounded-sm border border-border transition-[color,box-shadow]", k, "focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50", "aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40", u && "cursor-not-allowed
|
|
1318
|
+
className: Q("flex w-full cursor-text rounded-sm border border-border transition-[color,box-shadow]", k, "focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50", "aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40", u && "cursor-not-allowed", A ? "min-h-9 flex-wrap items-center gap-1.5 px-2 py-1.5" : Q("items-center px-3", c === "default" ? "h-9" : "h-8"), _),
|
|
1319
1319
|
children: [A && e.map((e, t) => /* @__PURE__ */ X(hn, {
|
|
1320
1320
|
onRemove: () => N(t),
|
|
1321
1321
|
disabled: u,
|
|
@@ -1339,7 +1339,7 @@ function gn({ value: e, onChange: t, label: r, description: i, errorMessage: a,
|
|
|
1339
1339
|
placeholder: e.length === 0 || !A ? d : "",
|
|
1340
1340
|
"aria-invalid": O,
|
|
1341
1341
|
"aria-describedby": O && a ? T : void 0,
|
|
1342
|
-
className: "min-w-24 flex-1 bg-transparent text-
|
|
1342
|
+
className: "min-w-24 flex-1 bg-transparent text-sm text-foreground outline-none placeholder:text-foreground/50 disabled:cursor-not-allowed disabled:text-muted-foreground"
|
|
1343
1343
|
})]
|
|
1344
1344
|
}),
|
|
1345
1345
|
!A && e.length > 0 && /* @__PURE__ */ X("div", {
|