@npm-questionpro/wick-ui-lib 1.41.0 → 1.48.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/src/base/ui/toggle.d.ts +2 -2
- package/dist/src/base/ui/toggleGroup.d.ts +2 -2
- package/dist/src/components/appHeader/utils/iconMap.d.ts +2 -1
- package/dist/src/components/button/WuButton.d.ts +1 -1
- package/dist/src/components/sidebar/shadcn/sidebar.d.ts +1 -1
- package/dist/src/components/table/components/dataTable/WuDataTable.d.ts +2 -1
- package/dist/src/components/table/components/table/WuTable.d.ts +2 -1
- package/dist/src/components/table/ui/_virtualBody.d.ts +2 -1
- package/dist/src/components/typography/iconClasses.d.ts +1 -1
- package/dist/src/translate/WuTranslateContext.d.ts +0 -1
- package/dist/src/translate/index.d.ts +1 -0
- package/dist/src/translate/wt.d.ts +13 -0
- package/dist/style.css +1 -1
- package/dist/wick-ui-lib/es/index.js +5048 -5058
- package/dist/wick-ui-lib/umd/index.js +13 -14
- package/package.json +18 -17
|
@@ -3,10 +3,10 @@ import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const toggleVariants: (props?: ({
|
|
5
5
|
variant?: "outline" | "default" | null | undefined;
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "lg" | "sm" | "default" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
8
8
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
9
9
|
variant?: "outline" | "default" | null | undefined;
|
|
10
|
-
size?: "
|
|
10
|
+
size?: "lg" | "sm" | "default" | null | undefined;
|
|
11
11
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
export { Toggle, toggleVariants };
|
|
@@ -3,10 +3,10 @@ import * as React from 'react';
|
|
|
3
3
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
4
4
|
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
5
5
|
variant?: "outline" | "default" | null | undefined;
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "lg" | "sm" | "default" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
|
|
8
8
|
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
9
9
|
variant?: "outline" | "default" | null | undefined;
|
|
10
|
-
size?: "
|
|
10
|
+
size?: "lg" | "sm" | "default" | null | undefined;
|
|
11
11
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
export { ToggleGroup, ToggleGroupItem };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface IWuButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
2
2
|
variant?: 'primary' | 'secondary' | 'outline' | 'rounded' | 'link' | 'iconOnly';
|
|
3
3
|
size?: 'md' | 'sm' | 'mobile';
|
|
4
|
-
color?: 'primary' | 'upgrade' | 'error';
|
|
4
|
+
color?: 'primary' | 'upgrade' | 'error' | 'neutral';
|
|
5
5
|
Icon?: React.ReactNode;
|
|
6
6
|
iconPosition?: 'left' | 'right';
|
|
7
7
|
floating?: boolean;
|
|
@@ -39,6 +39,6 @@ declare const SidebarMenuButton: React.ForwardRefExoticComponent<Omit<React.Clas
|
|
|
39
39
|
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
40
40
|
} & VariantProps<(props?: ({
|
|
41
41
|
variant?: "outline" | "default" | null | undefined;
|
|
42
|
-
size?: "
|
|
42
|
+
size?: "lg" | "sm" | "default" | null | undefined;
|
|
43
43
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
44
44
|
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuButton, SidebarMenuItem, SidebarProvider, SidebarTrigger, useSidebar, };
|
|
@@ -20,6 +20,7 @@ export interface IWuDataTableProps<T> extends React.TableHTMLAttributes<HTMLTabl
|
|
|
20
20
|
NoDataContent?: React.ReactNode;
|
|
21
21
|
stickyHeader?: boolean;
|
|
22
22
|
isRowExpandable?: boolean;
|
|
23
|
+
hideHeader?: boolean;
|
|
23
24
|
virtualization?: {
|
|
24
25
|
enabled: boolean;
|
|
25
26
|
maxHeight?: number;
|
|
@@ -27,4 +28,4 @@ export interface IWuDataTableProps<T> extends React.TableHTMLAttributes<HTMLTabl
|
|
|
27
28
|
};
|
|
28
29
|
tableLayout?: 'fixed' | 'auto';
|
|
29
30
|
}
|
|
30
|
-
export declare const WuDataTable: <T>({ data, columns, isLoading, variant, sort, size, rowSelection, HeaderAction, NoDataContent, stickyHeader, CustomLoader, caption, virtualization, isRowExpandable, tableLayout, style, className, ...props }: IWuDataTableProps<T>) => React.JSX.Element;
|
|
31
|
+
export declare const WuDataTable: <T>({ data, columns, isLoading, variant, sort, size, rowSelection, HeaderAction, NoDataContent, stickyHeader, CustomLoader, caption, virtualization, isRowExpandable, hideHeader, tableLayout, style, className, ...props }: IWuDataTableProps<T>) => React.JSX.Element;
|
|
@@ -24,6 +24,7 @@ export interface IWuTableProps<T> extends React.TableHTMLAttributes<HTMLTableEle
|
|
|
24
24
|
NoDataContent?: React.ReactNode;
|
|
25
25
|
rowSelection?: IWuTableRowSelection<T>;
|
|
26
26
|
isRowExpandable?: boolean;
|
|
27
|
+
hideHeader?: boolean;
|
|
27
28
|
virtualization?: {
|
|
28
29
|
enabled: boolean;
|
|
29
30
|
maxHeight?: number;
|
|
@@ -31,4 +32,4 @@ export interface IWuTableProps<T> extends React.TableHTMLAttributes<HTMLTableEle
|
|
|
31
32
|
};
|
|
32
33
|
tableLayout?: 'fixed' | 'auto';
|
|
33
34
|
}
|
|
34
|
-
export declare const WuTable: <T>({ data, columns, variant, size, sort, filterText, pagination, stickyHeader, HeaderAction, CustomLoader, NoDataContent, isLoading, caption, rowSelection, isRowExpandable, virtualization, tableLayout, style, className, ...rest }: IWuTableProps<T>) => React.JSX.Element;
|
|
35
|
+
export declare const WuTable: <T>({ data, columns, variant, size, sort, filterText, pagination, stickyHeader, HeaderAction, CustomLoader, NoDataContent, isLoading, caption, rowSelection, isRowExpandable, hideHeader, virtualization, tableLayout, style, className, ...rest }: IWuTableProps<T>) => React.JSX.Element;
|
|
@@ -15,5 +15,6 @@ export interface IWuVirtualTableBodyProps<T> {
|
|
|
15
15
|
isScrolledLeft?: boolean;
|
|
16
16
|
isScrolledRight?: boolean;
|
|
17
17
|
isRowExpandable?: boolean;
|
|
18
|
+
hideHeader?: boolean;
|
|
18
19
|
}
|
|
19
|
-
export declare const WuVirtualTableBody: <T>({ table, size, isRowDisabled, containerHeight, sortableColumns, HeaderAction, isRowSelected, manual, onSort, tableLayout, isScrolledLeft, isScrolledRight, isRowExpandable, }: IWuVirtualTableBodyProps<T>) => React.JSX.Element;
|
|
20
|
+
export declare const WuVirtualTableBody: <T>({ table, size, isRowDisabled, containerHeight, sortableColumns, HeaderAction, isRowSelected, manual, onSort, tableLayout, isScrolledLeft, isScrolledRight, isRowExpandable, hideHeader, }: IWuVirtualTableBodyProps<T>) => React.JSX.Element;
|