@firecms/ui 3.0.0-canary.82 → 3.0.0-canary.83
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.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Select.tsx +10 -11
package/dist/index.es.js
CHANGED
@@ -17068,11 +17068,11 @@ function Select({
|
|
17068
17068
|
"flex-grow w-full max-w-full flex flex-row gap-2 items-center",
|
17069
17069
|
"overflow-visible",
|
17070
17070
|
size === "small" ? "h-[42px]" : "h-[64px]"
|
17071
|
-
), children: /* @__PURE__ */
|
17071
|
+
), children: /* @__PURE__ */ jsxs(SelectPrimitive.Value, { placeholder, children: [
|
17072
17072
|
renderValue && (hasValue && Array.isArray(value) ? value.map((v, i) => /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1 max-w-full", children: renderValue ? renderValue(v, i) : v }, v)) : typeof value === "string" ? renderValue ? renderValue(value, 0) : value : placeholder),
|
17073
17073
|
renderValues && (!hasValue || Array.isArray(value)) ? renderValues(value ?? []) : null,
|
17074
17074
|
!renderValue && !renderValues && hasValue
|
17075
|
-
] }) })
|
17075
|
+
] }) }),
|
17076
17076
|
/* @__PURE__ */ jsx(SelectPrimitive.Icon, { className: cls(
|
17077
17077
|
"px-2 h-full flex items-center"
|
17078
17078
|
), children: /* @__PURE__ */ jsx(
|