@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.
- package/lib/atoms/index.js +8 -9
- package/lib/index.js +125 -126
- package/lib/molecules/index.js +6 -6
- package/lib/shared/Avatar.tokens.js +2122 -2120
- package/lib/shared/FloorItem.tokens.js +3597 -3595
- package/lib/shared/TabDots.tokens.js +403 -542
- package/lib/src/_shared/index.d.ts +1 -0
- package/lib/src/atoms/Notification/index.d.ts +0 -1
- package/lib/src/hooks/use-toast.types.d.ts +1 -1
- package/lib/src/molecules/ChatSidebar/ChatSidebar.data.d.ts +1 -1
- package/lib/src/molecules/ChatSidebar/ChatSidebar.stories.d.ts +1 -1
- package/lib/src/molecules/ChatSidebar/ChatSidebar.types.d.ts +1 -1
- package/lib/src/molecules/DatePicker/DatePicker.tokens.d.ts +1 -1
- package/lib/src/molecules/DatePicker/DatePicker.utils.d.ts +15 -0
- package/lib/src/molecules/SelectGroup/SelectGroup.types.d.ts +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- /package/lib/src/{atoms/Notification → _shared}/Notification.utils.d.ts +0 -0
- /package/lib/src/{_shared/types.d.ts → types/index.d.ts} +0 -0
|
@@ -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('../../
|
|
8
|
+
popoverOptions: import('../../types').OptionsProps[];
|
|
9
9
|
actions: ({
|
|
10
10
|
id: string;
|
|
11
11
|
icon: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
@@ -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, };
|