@firecms/ui 3.0.0-canary.228 → 3.0.0-canary.231
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/components/Select.d.ts +2 -1
- package/dist/index.es.js +11 -9
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +11 -9
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Select.tsx +29 -26
package/dist/index.umd.js
CHANGED
@@ -30630,12 +30630,13 @@
|
|
30630
30630
|
});
|
30631
30631
|
Select.displayName = "Select";
|
30632
30632
|
function SelectItem(t0) {
|
30633
|
-
const $ = reactCompilerRuntime.c(
|
30633
|
+
const $ = reactCompilerRuntime.c(12);
|
30634
30634
|
const {
|
30635
30635
|
value,
|
30636
30636
|
children,
|
30637
30637
|
disabled,
|
30638
|
-
className
|
30638
|
+
className,
|
30639
|
+
onClick
|
30639
30640
|
} = t0;
|
30640
30641
|
const stringValue = String(value);
|
30641
30642
|
const t1 = disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer";
|
@@ -30664,18 +30665,19 @@
|
|
30664
30665
|
t4 = $[5];
|
30665
30666
|
}
|
30666
30667
|
let t5;
|
30667
|
-
if ($[6] !== disabled || $[7] !==
|
30668
|
-
t5 = /* @__PURE__ */ jsxRuntime.jsxs(SelectPrimitive__namespace.Item, { value: stringValue, disabled, className: t2, children: [
|
30668
|
+
if ($[6] !== disabled || $[7] !== onClick || $[8] !== stringValue || $[9] !== t2 || $[10] !== t3) {
|
30669
|
+
t5 = /* @__PURE__ */ jsxRuntime.jsxs(SelectPrimitive__namespace.Item, { value: stringValue, disabled, onClick, className: t2, children: [
|
30669
30670
|
t3,
|
30670
30671
|
t4
|
30671
30672
|
] }, stringValue);
|
30672
30673
|
$[6] = disabled;
|
30673
|
-
$[7] =
|
30674
|
-
$[8] =
|
30675
|
-
$[9] =
|
30676
|
-
$[10] =
|
30674
|
+
$[7] = onClick;
|
30675
|
+
$[8] = stringValue;
|
30676
|
+
$[9] = t2;
|
30677
|
+
$[10] = t3;
|
30678
|
+
$[11] = t5;
|
30677
30679
|
} else {
|
30678
|
-
t5 = $[
|
30680
|
+
t5 = $[11];
|
30679
30681
|
}
|
30680
30682
|
return t5;
|
30681
30683
|
}
|