@npm-questionpro/wick-ui-lib 1.17.3-next.0 → 1.18.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.
@@ -12,7 +12,10 @@ declare const sheetVariants: (props?: ({
12
12
  export interface ISheetContentProps extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
13
13
  hideCloseButton?: boolean;
14
14
  }
15
- declare const SheetContent: React.ForwardRefExoticComponent<ISheetContentProps & React.RefAttributes<HTMLDivElement>>;
15
+ declare const SheetContent: React.ForwardRefExoticComponent<ISheetContentProps & {
16
+ overlayClassName?: string;
17
+ closeButtonClassName?: string;
18
+ } & React.RefAttributes<HTMLDivElement>>;
16
19
  declare const SheetHeader: {
17
20
  ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
18
21
  displayName: string;
@@ -30,5 +30,7 @@ export type IWuComboboxProps<T> = Omit<React.ButtonHTMLAttributes<HTMLButtonElem
30
30
  labelPosition?: 'left' | 'top' | 'right';
31
31
  className?: string;
32
32
  onScroll?: React.UIEventHandler<HTMLDivElement>;
33
+ enableSearch?: boolean;
34
+ noDataContent?: React.ReactNode;
33
35
  };
34
- export declare const WuCombobox: <T>({ data, accessorKey, value, defaultValue, Header, virtualizedThreshold, isEllipse, placeholder, variant, dir, onSelect, Label, maxHeight, multiple, hasGroup, selectAll, id, disabled, labelPosition, className, onScroll, maxContentWidth, ...rest }: IWuComboboxProps<T>) => React.JSX.Element;
36
+ export declare const WuCombobox: <T>({ data, accessorKey, value, defaultValue, Header, virtualizedThreshold, isEllipse, placeholder, variant, dir, onSelect, Label, maxHeight, multiple, hasGroup, selectAll, id, disabled, labelPosition, className, onScroll, maxContentWidth, enableSearch, noDataContent, ...rest }: IWuComboboxProps<T>) => React.JSX.Element;
@@ -7,6 +7,8 @@ export type IWuDrawerProps = React.HtmlHTMLAttributes<HTMLDivElement> & {
7
7
  open?: boolean;
8
8
  onOpenChange?: (e: boolean) => void;
9
9
  preventClickOutside?: boolean;
10
+ overlayClassName?: string;
11
+ closeButtonClassName?: string;
10
12
  };
11
13
  export declare const createInteractOutsideHandler: (preventClickOutside?: boolean) => (e: {
12
14
  preventDefault: () => void;
@@ -1,2 +1,3 @@
1
1
  export { WuListbox } from './WuListbox';
2
2
  export type { IWuListboxProps } from './WuListbox';
3
+ export type { IWuChipProp } from './ui/_trigger';
@@ -5,14 +5,9 @@ export type IMockData = {
5
5
  age: number;
6
6
  occupation: string;
7
7
  catchphrase: string;
8
- department?: string;
9
8
  salary?: number;
10
- location?: string;
11
- phone?: string;
12
- startDate?: string;
13
- status?: string;
14
- manager?: string;
15
- skills?: string;
9
+ score?: number;
10
+ address?: string;
16
11
  };
17
12
  export declare const MOCK_DATA: IMockData[];
18
13
  export type IExtendedMockData = {
@@ -3,6 +3,7 @@ declare global {
3
3
  wickUiVersion: string;
4
4
  }
5
5
  }
6
+ export * from './docs/ui/colorSystem.ts';
6
7
  export * from './components/accordion';
7
8
  export * from './components/appHeader';
8
9
  export * from './components/button';
@@ -42,8 +43,6 @@ export * from './components/toast';
42
43
  export * from './components/toggle';
43
44
  export * from './components/tooltip';
44
45
  export * from './components/typography';
45
- export * from './components/useTranslation';
46
46
  export * from './components/virtualScroll';
47
- export * from './docs/ui/colorSystem.ts';
48
47
  export * from './components/drilldown';
49
48
  export * from './components/stackedCard';