@rebasepro/ui 0.21.1-canary.g8c5a265 → 0.21.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.es.js +11 -6
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -4785,12 +4785,17 @@ var MultiSelect = React$1.forwardRef(({ value, size = "large", label, error, onV
|
|
|
4785
4785
|
ref: inputRef ?? ref,
|
|
4786
4786
|
"aria-label": ariaLabel ?? (typeof label === "string" ? label : void 0),
|
|
4787
4787
|
onClick: handleTogglePopover,
|
|
4788
|
-
className: cls({
|
|
4789
|
-
"min-h-[28px]"
|
|
4790
|
-
"min-h-[32px]"
|
|
4791
|
-
"min-h-[40px]"
|
|
4792
|
-
"min-h-[48px]"
|
|
4793
|
-
}
|
|
4788
|
+
className: cls(invisible ? {
|
|
4789
|
+
smallest: "min-h-[28px]",
|
|
4790
|
+
small: "min-h-[32px]",
|
|
4791
|
+
medium: "min-h-[40px]",
|
|
4792
|
+
large: "min-h-[48px]"
|
|
4793
|
+
}[size] : {
|
|
4794
|
+
smallest: "min-h-[30px]",
|
|
4795
|
+
small: "min-h-[34px]",
|
|
4796
|
+
medium: "min-h-[42px]",
|
|
4797
|
+
large: "min-h-[50px]"
|
|
4798
|
+
}[size], {
|
|
4794
4799
|
"py-0": size === "smallest",
|
|
4795
4800
|
"py-0.5": size === "small",
|
|
4796
4801
|
"py-1": size === "medium" || size === "large"
|