@namuna-nur/ui-kit 1.4.0 → 1.4.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.
@@ -3,3 +3,4 @@ export * from './Popover.utils';
3
3
  export * from './Dropdown.utils';
4
4
  export * from './Tab.utils';
5
5
  export * from './Modal.utils';
6
+ export * from './Notification.utils';
@@ -1,3 +1,2 @@
1
1
  export { Notification } from './Notification';
2
2
  export type * from './Notification.types';
3
- export { Toaster, type ToastProps, type ToastActionElement, } from './Notification.utils';
@@ -1,4 +1,4 @@
1
- import { ToastActionElement, ToastProps } from '../atoms';
1
+ import { ToastActionElement, ToastProps } from '../_shared';
2
2
  export declare const TOAST_LIMIT = 1;
3
3
  export declare const TOAST_REMOVE_DELAY = 1000000;
4
4
  export type ToastNotification = ToastProps & {
@@ -1,4 +1,4 @@
1
- import { OptionsProps } from '../../_shared/types';
2
1
  import { SidebarTabItem } from '..';
2
+ import { OptionsProps } from '../../types';
3
3
  export declare const CHATSIDEBAR_TABLIST: SidebarTabItem[];
4
4
  export declare const POPOVER_OPTIONS: OptionsProps[];
@@ -5,7 +5,7 @@ export declare const Default: {
5
5
  render: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ChatSidebarProps>;
6
6
  args: {
7
7
  tabs: import('..').SidebarTabItem[];
8
- popoverOptions: import('../../_shared/types').OptionsProps[];
8
+ popoverOptions: import('../../types').OptionsProps[];
9
9
  actions: ({
10
10
  id: string;
11
11
  icon: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
@@ -1,5 +1,5 @@
1
- import { OptionsProps } from '../../_shared/types';
2
1
  import { ChatButtonItem } from '..';
2
+ import { OptionsProps } from '../../types';
3
3
  export type SidebarTabItem = ChatButtonItem & {
4
4
  id: number;
5
5
  };
@@ -1,4 +1,4 @@
1
- export declare const datePickerClasses: {
1
+ export declare const datePickerTokens: {
2
2
  base: string;
3
3
  container: string;
4
4
  inputContainer: string;
@@ -0,0 +1,15 @@
1
+ declare const formatDate: (date: Date) => string;
2
+ declare const getDaysInMonth: (date: Date) => {
3
+ date: Date;
4
+ isCurrentMonth: boolean;
5
+ }[];
6
+ declare const isToday: (date: Date) => boolean;
7
+ declare const isWeekend: (date: Date) => boolean;
8
+ declare const isSelected: (date: Date, value: Date | undefined) => boolean | undefined;
9
+ declare const yearOptions: {
10
+ label: string;
11
+ value: string;
12
+ }[];
13
+ declare const weekDays: string[];
14
+ declare const monthNames: string[];
15
+ export { formatDate, getDaysInMonth, isToday, isWeekend, isSelected, yearOptions, weekDays, monthNames, };
@@ -1,5 +1,5 @@
1
- import { OptionsProps } from '../../_shared/types';
2
1
  import { SelectProps } from '../../atoms';
2
+ import { OptionsProps } from '../../types';
3
3
  export type SelectGroupClassNames = {
4
4
  label?: string;
5
5
  container?: string;