@namuna-nur/ui-kit 1.0.9 → 1.2.2

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.
@@ -1,2 +1,3 @@
1
1
  export { Notification } from './Notification';
2
2
  export type * from './Notification.types';
3
+ export type { ToastProps, ToastActionElement } from './Notification.utils.tsx';
@@ -5,4 +5,5 @@ export type TooltipProps = {
5
5
  side?: 'top' | 'right' | 'bottom' | 'left';
6
6
  content: string;
7
7
  delayDuration?: number;
8
+ isDisabled?: boolean;
8
9
  };
@@ -0,0 +1,2 @@
1
+ import { TabListProps } from '..';
2
+ export declare const TabList: ({ tabs }: TabListProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { TabList, TabListStory } from '..';
3
+ declare const meta: Meta<typeof TabList>;
4
+ export declare const Default: TabListStory;
5
+ export default meta;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare const tabListTokens: {
2
+ wrapper: string;
3
+ };
@@ -0,0 +1,14 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { FunctionComponent, SVGProps } from 'react';
3
+ import { TabList } from '..';
4
+ export type TabListStory = StoryObj<typeof TabList>;
5
+ export type TabListDataType = {
6
+ id: string;
7
+ label: string;
8
+ href: string;
9
+ isActive: boolean;
10
+ icon: FunctionComponent<SVGProps<SVGSVGElement>>;
11
+ };
12
+ export type TabListProps = {
13
+ tabs: TabListDataType[];
14
+ };
@@ -0,0 +1,3 @@
1
+ export { TabList } from './TabList';
2
+ export * from './TabList.tokens';
3
+ export type * from './TabList.types';
@@ -1,2 +1,2 @@
1
1
  import { TableProps } from '..';
2
- export declare function Table<T extends object>({ className, columns, data, select, setSelect, onRowClick, }: TableProps<T>): import("react/jsx-runtime").JSX.Element;
2
+ export declare function Table<T extends object>({ className, columns, data, select, setSelect, onRowClick, isCheckboxVisible, }: TableProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -12,7 +12,8 @@ export type TableProps<T> = {
12
12
  columns: ColumnDef<T, unknown>[];
13
13
  data: T[];
14
14
  className?: string;
15
- select: string[];
16
- setSelect: (val: string[] | ((prev: string[]) => string[])) => void;
15
+ select?: string[];
16
+ setSelect?: (val: string[] | ((prev: string[]) => string[])) => void;
17
17
  onRowClick?: (row: string) => void;
18
+ isCheckboxVisible?: boolean;
18
19
  };
@@ -47,3 +47,4 @@ export * from './ChatList';
47
47
  export * from './ChatMessage';
48
48
  export * from './DeleteMessage';
49
49
  export * from './MessageSettings';
50
+ export * from './TabList';