@wavv/ui 2.4.8-alpha.5 → 2.4.9
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.
|
@@ -132,7 +132,7 @@ const Select_Select = ({ backgroundColor, menuBackground, children, fontSize, fo
|
|
|
132
132
|
if (isPlaceholder) return defaultChildren;
|
|
133
133
|
if (isMultiple && selectedItems) {
|
|
134
134
|
const count = selectedItems.length;
|
|
135
|
-
return count > 0 ? `${count}
|
|
135
|
+
return count > 0 ? `${count} item${count > 1 ? 's' : ''} selected` : defaultChildren;
|
|
136
136
|
}
|
|
137
137
|
return selectedText;
|
|
138
138
|
}
|
|
@@ -76,7 +76,7 @@ type PanelProps = {
|
|
|
76
76
|
children?: TabPanelProps['children'];
|
|
77
77
|
className?: TabPanelProps['className'];
|
|
78
78
|
style?: TabPanelProps['style'];
|
|
79
|
-
} & Omit<TabPanelProps, 'id'>;
|
|
79
|
+
} & Padding & Omit<TabPanelProps, 'id'>;
|
|
80
80
|
export declare const Panel: {
|
|
81
81
|
(props: PanelProps): import("react/jsx-runtime").JSX.Element;
|
|
82
82
|
displayName: string;
|
package/build/components/Tabs.js
CHANGED
|
@@ -81,7 +81,6 @@ type MultipleSelectInputProps = BaseSelectInputProps & {
|
|
|
81
81
|
value?: Key | Key[];
|
|
82
82
|
/** The uncontrolled initial value of the input */
|
|
83
83
|
defaultValue?: Key | Key[];
|
|
84
|
-
/** The function to be called when options are selected */
|
|
85
84
|
onChange?: (keys: string | string[]) => void;
|
|
86
85
|
};
|
|
87
86
|
export type SelectInputProps = SingleSelectInputProps | MultipleSelectInputProps;
|