@npm-questionpro/wick-ui-lib 1.25.0 → 1.28.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.
- package/dist/src/components/drilldown/WuDrilldown.d.ts +2 -1
- package/dist/src/components/drilldown/WuDrilldownTitleMenu.d.ts +9 -0
- package/dist/src/components/drilldown/WuDrilldownTitles.d.ts +1 -0
- package/dist/src/components/sidebar/WuSidebar.d.ts +8 -1
- package/dist/src/components/sidebar/index.d.ts +1 -1
- package/dist/src/components/table/types/IWuRowSelection.d.ts +0 -2
- package/dist/style.css +1 -1
- package/dist/wick-ui-lib/es/index.js +5398 -4702
- package/dist/wick-ui-lib/umd/index.js +11 -11
- package/package.json +1 -1
|
@@ -15,9 +15,10 @@ export interface IWuDrilldownProps {
|
|
|
15
15
|
items: Record<`LEVEL_${number}`, IWuDrilldownItem>;
|
|
16
16
|
initial: `LEVEL_${number}`;
|
|
17
17
|
baseTitle?: IWuDrilldownTitle;
|
|
18
|
-
mode?: 'popLayout' | 'wait'
|
|
18
|
+
mode?: 'popLayout' | 'wait';
|
|
19
19
|
headerClasses?: string;
|
|
20
20
|
offsetHeight?: number;
|
|
21
21
|
variant?: IWuDrilldownAnimationVariant;
|
|
22
|
+
dir?: 'ltr' | 'rtl';
|
|
22
23
|
}
|
|
23
24
|
export declare const WuDrilldown: React.FC<IWuDrilldownProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IWuDrilldownTitle } from './WuDrilldown';
|
|
3
|
+
interface IWuDrilldownTitleMenu {
|
|
4
|
+
titles: IWuDrilldownTitle[];
|
|
5
|
+
dir?: 'ltr' | 'rtl';
|
|
6
|
+
handleTitleClick: (e: React.MouseEvent<HTMLHeadingElement, MouseEvent>, levelId?: `LEVEL_${number}`) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const WuDrilldownTitleMenu: React.FC<IWuDrilldownTitleMenu>;
|
|
9
|
+
export {};
|
|
@@ -7,5 +7,6 @@ export interface IWuDrilldownTitleProps {
|
|
|
7
7
|
handleTitleClick: (e: React.MouseEvent<HTMLHeadingElement, MouseEvent>, levelId?: `LEVEL_${number}`) => void;
|
|
8
8
|
headerClasses?: string;
|
|
9
9
|
offsetHeight?: number;
|
|
10
|
+
dir?: 'ltr' | 'rtl';
|
|
10
11
|
}
|
|
11
12
|
export declare const WuDrilldownTitles: React.FC<IWuDrilldownTitleProps>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SidebarContent, SidebarFooter, SidebarGroup, SidebarMenu, SidebarMenuItem, SidebarTrigger } from './shadcn/sidebar';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
|
+
import { Collapsible } from '@base-ui/react/collapsible';
|
|
3
4
|
export type IWuSidebarProps = {
|
|
4
5
|
children: React.ReactNode;
|
|
5
6
|
Sidebar: React.ReactNode;
|
|
@@ -21,6 +22,12 @@ export declare const WuSidebarMenu: React.FC<React.ComponentProps<typeof Sidebar
|
|
|
21
22
|
export type IWuSidebarItemProps = React.ComponentProps<typeof SidebarMenuItem> & {
|
|
22
23
|
Icon: React.ReactNode;
|
|
23
24
|
isActive?: boolean;
|
|
24
|
-
children?: React.
|
|
25
|
+
children?: React.ReactNode;
|
|
25
26
|
};
|
|
26
27
|
export declare const WuSidebarItem: React.FC<IWuSidebarItemProps>;
|
|
28
|
+
export interface IWuSidebarCollapsibleMenuProps extends Collapsible.Panel.Props {
|
|
29
|
+
Title: React.ReactNode;
|
|
30
|
+
Icon: React.ReactNode;
|
|
31
|
+
children: React.ReactNode;
|
|
32
|
+
}
|
|
33
|
+
export declare const WuSidebarCollapsibleMenu: React.FC<IWuSidebarCollapsibleMenuProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { useSidebar as useWuSidebar } from './shadcn/sidebar';
|
|
2
|
-
export { WuSidebar, WuSidebarContent, WuSidebarFooter, WuSidebarGroup, WuSidebarItem, WuSidebarMenu, WuSidebarTrigger, type IWuSidebarGroupProps, type IWuSidebarItemProps, type IWuSidebarProps, } from './WuSidebar';
|
|
2
|
+
export { WuSidebar, WuSidebarContent, WuSidebarFooter, WuSidebarGroup, WuSidebarItem, WuSidebarMenu, WuSidebarTrigger, WuSidebarCollapsibleMenu, type IWuSidebarCollapsibleMenuProps, type IWuSidebarGroupProps, type IWuSidebarItemProps, type IWuSidebarProps, } from './WuSidebar';
|
|
@@ -5,8 +5,6 @@ export interface IWuTableRowSelection<T> {
|
|
|
5
5
|
onRowSelect: React.Dispatch<React.SetStateAction<T[]>>;
|
|
6
6
|
rowUniqueKey: string;
|
|
7
7
|
size?: number;
|
|
8
|
-
/** Function to determine if a row should be disabled for selection */
|
|
9
8
|
isRowDisabled?: (row: T) => boolean;
|
|
10
|
-
/** Whether to hide the select-all checkbox in the header */
|
|
11
9
|
hideSelectAll?: boolean;
|
|
12
10
|
}
|