@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} items selected` : defaultChildren;
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;
@@ -143,7 +143,7 @@ const PanelContainer = styled(TabPanel)(({ theme, detached, panelPosition })=>({
143
143
  '&[data-focused]': {
144
144
  outline: 'none'
145
145
  }
146
- }));
146
+ }), paddingProps);
147
147
  Tabs_Tabs.List = List;
148
148
  Tabs_Tabs.Item = Item;
149
149
  Tabs_Tabs.Panel = Panel;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavv/ui",
3
- "version": "2.4.8-alpha.5",
3
+ "version": "2.4.9",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {