@umami/react-zen 0.241.0 → 0.243.0
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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +13 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -11
- package/styles.full.css +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4698,6 +4698,7 @@ function Select({
|
|
|
4698
4698
|
searchDelay,
|
|
4699
4699
|
isFullscreen,
|
|
4700
4700
|
maxHeight,
|
|
4701
|
+
showIcon = true,
|
|
4701
4702
|
onSearch,
|
|
4702
4703
|
onChange,
|
|
4703
4704
|
buttonProps,
|
|
@@ -4731,10 +4732,18 @@ function Select({
|
|
|
4731
4732
|
onChange: handleChange,
|
|
4732
4733
|
children: [
|
|
4733
4734
|
label && /* @__PURE__ */ jsx(Label, { children: label }),
|
|
4734
|
-
/* @__PURE__ */
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4735
|
+
/* @__PURE__ */ jsxs(
|
|
4736
|
+
Button,
|
|
4737
|
+
{
|
|
4738
|
+
variant: "outline",
|
|
4739
|
+
...buttonProps,
|
|
4740
|
+
className: cn("w-full justify-between", buttonProps?.className),
|
|
4741
|
+
children: [
|
|
4742
|
+
/* @__PURE__ */ jsx(SelectValue, { children: renderValue }),
|
|
4743
|
+
showIcon && /* @__PURE__ */ jsx(Icon, { rotate: 90, "aria-hidden": "true", size: "sm", children: /* @__PURE__ */ jsx(icons_exports.ChevronRight, {}) })
|
|
4744
|
+
]
|
|
4745
|
+
}
|
|
4746
|
+
),
|
|
4738
4747
|
/* @__PURE__ */ jsx(Popover, { ...popoverProps, onOpenChange: handleOpenChange, isFullscreen, children: /* @__PURE__ */ jsxs(
|
|
4739
4748
|
Column,
|
|
4740
4749
|
{
|