@npm-questionpro/wick-ui-lib 1.32.1 → 1.33.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.
@@ -29,6 +29,7 @@ export type IWuListboxProps<T extends object> = Omit<React.ButtonHTMLAttributes<
29
29
  onSelectAll?: (value: boolean) => void;
30
30
  label?: string;
31
31
  };
32
+ showGroupSeparator?: boolean;
32
33
  modal?: boolean;
33
34
  id?: string;
34
35
  dir?: 'rtl' | 'ltr';
@@ -19,6 +19,7 @@ export interface IWuModalProps extends React.ComponentProps<typeof DialogContent
19
19
  maxHeight?: string;
20
20
  children?: React.ReactNode;
21
21
  variant?: 'action' | 'critical' | 'upgrade';
22
+ onOpenAutoFocus?: (event: Event) => void;
22
23
  }
23
24
  export declare const WuModal: FC<IWuModalProps>;
24
25
  export declare const WuModalContent: FC<React.HTMLAttributes<HTMLDivElement>>;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export interface IWuSurveySelectProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ Sidebar: React.ReactNode;
4
+ }
5
+ export declare const WuSurveySelect: React.NamedExoticComponent<IWuSurveySelectProps>;
@@ -0,0 +1,6 @@
1
+ export { WuSharedSurvey } from './subComponents/WuSharedSurvey';
2
+ export { WuSurveyItem } from './subComponents/WuSurveyItem';
3
+ export { WuSurveyList } from './subComponents/WuSurveyList';
4
+ export { WuSurveySource } from './subComponents/WuSurveySource';
5
+ export { WuSurveySelect, type IWuSurveySelectProps } from './WuSurveySelect';
6
+ export type { IWuSharedSurveyProps, IWuSurveyItemProps, IWuSurveyListProps, IWuSurveySourceProps, } from './types';
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IWuSharedSurveyProps } from '../types';
3
+ export declare const WuSharedSurvey: React.NamedExoticComponent<IWuSharedSurveyProps>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IWuSurveyItemProps } from '../types';
3
+ export declare const WuSurveyItem: React.NamedExoticComponent<IWuSurveyItemProps>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IWuSurveyListProps } from '../types';
3
+ export declare const WuSurveyList: React.NamedExoticComponent<IWuSurveyListProps>;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { IWuSurveySourceProps } from '../types';
3
+ declare const WuSurveySourceComponent: {
4
+ <T extends object>(props: IWuSurveySourceProps<T>): React.JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export declare const WuSurveySource: typeof WuSurveySourceComponent;
8
+ export {};
@@ -0,0 +1,15 @@
1
+ import { IWuListboxProps } from '../../listbox/WuListbox';
2
+ import { default as React } from 'react';
3
+ export type IWuSurveySourceProps<T extends object> = IWuListboxProps<T>;
4
+ export interface IWuSurveyItemProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
5
+ children: React.ReactNode;
6
+ icon?: React.ReactNode;
7
+ isActive?: boolean;
8
+ isShared?: boolean;
9
+ }
10
+ export interface IWuSharedSurveyProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
11
+ label?: string;
12
+ }
13
+ export interface IWuSurveyListProps extends React.HTMLAttributes<HTMLDivElement> {
14
+ children: React.ReactNode;
15
+ }
@@ -37,6 +37,7 @@ export * from './components/sidebar';
37
37
  export * from './components/spotlight';
38
38
  export * from './components/stackedCard';
39
39
  export * from './components/stepper';
40
+ export * from './components/surveySelect';
40
41
  export * from './components/switcher';
41
42
  export * from './components/tab';
42
43
  export * from './components/table';