@namuna-nur/ui-kit 1.4.4 → 1.5.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.
@@ -4,5 +4,6 @@ declare const meta: Meta<typeof CommentInput>;
4
4
  export declare const Default: CommentStory;
5
5
  export declare const Filled: CommentStory;
6
6
  export declare const Disabled: CommentStory;
7
+ export declare const DangerStatus: CommentStory;
7
8
  export declare const AutoGrow: CommentStory;
8
9
  export default meta;
@@ -3,8 +3,8 @@ import { Dispatch, SetStateAction } from 'react';
3
3
  import { DatePicker } from './DatePicker';
4
4
  export type DatePickerStory = StoryObj<typeof DatePicker>;
5
5
  export type DatePickerProps = {
6
- value?: Date | undefined;
7
- setValue: Dispatch<SetStateAction<Date | undefined>>;
6
+ value: string | undefined;
7
+ setValue: Dispatch<SetStateAction<string | undefined>>;
8
8
  disabled?: boolean;
9
9
  label?: string;
10
10
  message?: string;
@@ -1,2 +1,2 @@
1
1
  import { SidebarProps } from '..';
2
- export declare const Sidebar: ({ navList, isExpanded }: SidebarProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Sidebar: ({ navList, isExpanded, onLogoutClick, }: SidebarProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,8 @@
1
1
  export declare const sidebarTokens: {
2
- root: string;
2
+ root: {
3
+ base: string;
4
+ expanded: string;
5
+ };
3
6
  header: {
4
7
  base: string;
5
8
  expanded: string;
@@ -10,6 +10,7 @@ export type SidebarItem = NavButtonItem & {
10
10
  export type SidebarProps = {
11
11
  isExpanded: boolean;
12
12
  navList: SidebarItem[];
13
+ onLogoutClick?: () => void;
13
14
  };
14
15
  export type AccordionNavProps = {
15
16
  item: SidebarItem;