@namuna-nur/ui-kit 1.5.1 → 1.6.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/lib/index.js +107 -104
- package/lib/molecules/index.js +80 -77
- package/lib/shared/FloorItem.tokens.js +9851 -6120
- package/lib/shared/twMerge.js +438 -416
- package/lib/src/molecules/DateRangePicker/DateRangePicker.d.ts +4 -0
- package/lib/src/molecules/DateRangePicker/DateRangePicker.stories.d.ts +7 -0
- package/lib/src/molecules/DateRangePicker/DateRangePicker.test.d.ts +1 -0
- package/lib/src/molecules/DateRangePicker/DateRangePicker.tokens.d.ts +15 -0
- package/lib/src/molecules/DateRangePicker/DateRangePicker.types.d.ts +19 -0
- package/lib/src/molecules/DateRangePicker/index.d.ts +3 -0
- package/lib/src/molecules/InputGroup/InputGroup.d.ts +1 -1
- package/lib/src/molecules/index.d.ts +1 -0
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DateRangePicker, DateRangePickerStory } from '..';
|
|
3
|
+
declare const meta: Meta<typeof DateRangePicker>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Default: DateRangePickerStory;
|
|
6
|
+
export declare const WithLabel: DateRangePickerStory;
|
|
7
|
+
export declare const Disabled: DateRangePickerStory;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const dateRangePickerTokens: {
|
|
2
|
+
base: {
|
|
3
|
+
wrapper: string;
|
|
4
|
+
input: string;
|
|
5
|
+
content: string;
|
|
6
|
+
selectButton: string;
|
|
7
|
+
resetButton: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export declare const dayPickerClasses: {
|
|
11
|
+
months: string;
|
|
12
|
+
month: string;
|
|
13
|
+
weekdays: string;
|
|
14
|
+
weekday: string;
|
|
15
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
3
|
+
import { DateRange } from 'react-day-picker';
|
|
4
|
+
import { DateRangePicker } from './DateRangePicker';
|
|
5
|
+
export type DateRangePickerStory = StoryObj<typeof DateRangePicker>;
|
|
6
|
+
export type DateRangePickerProps = {
|
|
7
|
+
value?: DateRange | undefined;
|
|
8
|
+
setValue: Dispatch<SetStateAction<DateRange | undefined>>;
|
|
9
|
+
label?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
classNames?: {
|
|
12
|
+
wrapper?: string;
|
|
13
|
+
input?: string;
|
|
14
|
+
popover?: string;
|
|
15
|
+
trigger?: string;
|
|
16
|
+
iconContainer?: string;
|
|
17
|
+
content?: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { InputGroupProps } from './InputGroup.types';
|
|
2
|
-
export declare const InputGroup: (
|
|
2
|
+
export declare const InputGroup: import('react').ForwardRefExoticComponent<InputGroupProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -9,6 +9,7 @@ export * from './AvatarGroup';
|
|
|
9
9
|
export * from './UploadInput';
|
|
10
10
|
export * from './CommentList';
|
|
11
11
|
export * from './DatePicker';
|
|
12
|
+
export * from './DateRangePicker';
|
|
12
13
|
export * from './Dropdown';
|
|
13
14
|
export * from './FileUploader';
|
|
14
15
|
export * from './FilterTable';
|