@deepnoid/ui 0.0.89 → 0.0.91
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/dist/chunk-75HLCORR.mjs +1 -0
- package/dist/chunk-D5GGG7IO.mjs +122 -0
- package/dist/{chunk-FPCP4OOL.mjs → chunk-EDEV4IK4.mjs} +3 -3
- package/dist/chunk-FWJ2ZKH6.mjs +87 -0
- package/dist/chunk-HHYPMVLY.mjs +359 -0
- package/dist/{chunk-HFVZFUC3.mjs → chunk-L7P6OBUX.mjs} +1 -1
- package/dist/chunk-P732YGHO.mjs +18 -0
- package/dist/{chunk-MOINJECK.mjs → chunk-S3O52LLG.mjs} +1 -2
- package/dist/chunk-WX32MAKV.mjs +219 -0
- package/dist/components/accordion/accordion.d.mts +2 -2
- package/dist/components/accordion/accordion.d.ts +2 -2
- package/dist/components/accordion/accordion.test.mjs +3 -3
- package/dist/components/accordion/accordionItem.d.mts +2 -2
- package/dist/components/accordion/accordionItem.d.ts +2 -2
- package/dist/components/button/button-group.d.mts +2 -2
- package/dist/components/button/button-group.d.ts +2 -2
- package/dist/components/button/button-group.test.mjs +3 -3
- package/dist/components/button/button.d.mts +2 -2
- package/dist/components/button/button.d.ts +2 -2
- package/dist/components/button/button.test.mjs +3 -3
- package/dist/components/card/card.d.mts +2 -2
- package/dist/components/card/card.d.ts +2 -2
- package/dist/components/checkbox/checkbox.d.mts +2 -2
- package/dist/components/checkbox/checkbox.d.ts +2 -2
- package/dist/components/checkbox/checkbox.test.mjs +3 -3
- package/dist/components/dateTimePicker/calendar.d.mts +118 -0
- package/dist/components/dateTimePicker/calendar.d.ts +118 -0
- package/dist/components/dateTimePicker/calendar.js +3854 -0
- package/dist/components/dateTimePicker/calendar.mjs +16 -0
- package/dist/components/dateTimePicker/dateTimePicker.d.mts +445 -0
- package/dist/components/dateTimePicker/dateTimePicker.d.ts +445 -0
- package/dist/components/dateTimePicker/dateTimePicker.js +4540 -0
- package/dist/components/dateTimePicker/dateTimePicker.mjs +22 -0
- package/dist/components/dateTimePicker/index.d.mts +5 -0
- package/dist/components/dateTimePicker/index.d.ts +5 -0
- package/dist/components/dateTimePicker/index.js +4541 -0
- package/dist/components/dateTimePicker/index.mjs +21 -0
- package/dist/components/dateTimePicker/timePicker.d.mts +11 -0
- package/dist/components/dateTimePicker/timePicker.d.ts +11 -0
- package/dist/components/dateTimePicker/timePicker.js +345 -0
- package/dist/components/dateTimePicker/timePicker.mjs +13 -0
- package/dist/components/dateTimePicker/useDateTimePicker.d.mts +34 -0
- package/dist/components/dateTimePicker/useDateTimePicker.d.ts +34 -0
- package/dist/components/dateTimePicker/useDateTimePicker.js +117 -0
- package/dist/components/dateTimePicker/useDateTimePicker.mjs +9 -0
- package/dist/components/dateTimePicker/util.d.mts +4 -0
- package/dist/components/dateTimePicker/util.d.ts +4 -0
- package/dist/components/dateTimePicker/util.js +42 -0
- package/dist/components/dateTimePicker/util.mjs +10 -0
- package/dist/components/input/input.d.mts +2 -2
- package/dist/components/input/input.d.ts +2 -2
- package/dist/components/input/input.test.mjs +1 -1
- package/dist/components/list/index.js +3 -3
- package/dist/components/list/index.mjs +1 -1
- package/dist/components/list/list.d.mts +2 -2
- package/dist/components/list/list.d.ts +2 -2
- package/dist/components/list/listItem.d.mts +3 -3
- package/dist/components/list/listItem.d.ts +3 -3
- package/dist/components/list/listItem.js +3 -3
- package/dist/components/list/listItem.mjs +1 -1
- package/dist/components/modal/index.js +1 -1
- package/dist/components/modal/index.mjs +1 -1
- package/dist/components/modal/modal.d.mts +2 -2
- package/dist/components/modal/modal.d.ts +2 -2
- package/dist/components/modal/modal.js +1 -1
- package/dist/components/modal/modal.mjs +1 -1
- package/dist/components/modal/modal.test.js +1 -1
- package/dist/components/modal/modal.test.mjs +2 -2
- package/dist/components/pagination/pagination.d.mts +2 -2
- package/dist/components/pagination/pagination.d.ts +2 -2
- package/dist/components/progress/progress.d.mts +2 -2
- package/dist/components/progress/progress.d.ts +2 -2
- package/dist/components/radio/radio.d.mts +2 -2
- package/dist/components/radio/radio.d.ts +2 -2
- package/dist/components/select/select.d.mts +2 -2
- package/dist/components/select/select.d.ts +2 -2
- package/dist/components/select/select.test.mjs +3 -3
- package/dist/components/select/useSelect.d.mts +3 -3
- package/dist/components/select/useSelect.d.ts +3 -3
- package/dist/components/slider/slider.d.mts +2 -2
- package/dist/components/slider/slider.d.ts +2 -2
- package/dist/components/switch/index.js +1 -2
- package/dist/components/switch/index.mjs +1 -1
- package/dist/components/switch/switch.d.mts +2 -2
- package/dist/components/switch/switch.d.ts +2 -2
- package/dist/components/switch/switch.js +1 -2
- package/dist/components/switch/switch.mjs +1 -1
- package/dist/components/switch/switch.test.js +1 -2
- package/dist/components/switch/switch.test.mjs +1 -1
- package/dist/components/table/table-body.d.mts +2 -2
- package/dist/components/table/table-body.d.ts +2 -2
- package/dist/components/table/table.d.mts +5 -5
- package/dist/components/table/table.d.ts +5 -5
- package/dist/components/tabs/tabs.d.mts +2 -2
- package/dist/components/tabs/tabs.d.ts +2 -2
- package/dist/components/tabs/tabs.test.mjs +3 -3
- package/dist/components/textarea/textarea.d.mts +2 -2
- package/dist/components/textarea/textarea.d.ts +2 -2
- package/dist/components/textarea/textarea.test.mjs +1 -1
- package/dist/components/toast/toast.d.mts +2 -2
- package/dist/components/toast/toast.d.ts +2 -2
- package/dist/components/tooltip/index.d.mts +1 -1
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/tooltip/tooltip-utils.d.mts +1 -1
- package/dist/components/tooltip/tooltip-utils.d.ts +1 -1
- package/dist/components/tooltip/tooltip.d.mts +3 -3
- package/dist/components/tooltip/tooltip.d.ts +3 -3
- package/dist/components/tooltip/tooltip.test.mjs +3 -3
- package/dist/components/tooltip/useTooltip.d.mts +1 -1
- package/dist/components/tooltip/useTooltip.d.ts +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +751 -6
- package/dist/index.mjs +62 -43
- package/dist/{tooltip-utils-DCKA5gnI.d.ts → tooltip-utils-CrCabndd.d.mts} +2 -2
- package/dist/{tooltip-utils-DCKA5gnI.d.mts → tooltip-utils-CrCabndd.d.ts} +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
4
|
+
import React__default, { ComponentProps } from 'react';
|
|
5
|
+
import { SlotsToClasses } from '../../utils/types.js';
|
|
6
|
+
|
|
7
|
+
interface Props extends Omit<ComponentProps<"input">, "size"> {
|
|
8
|
+
classNames?: SlotsToClasses<CalendarSlots>;
|
|
9
|
+
selectedDate?: string;
|
|
10
|
+
highlightWeekend?: boolean;
|
|
11
|
+
onChangeDate?: (date: string) => void;
|
|
12
|
+
}
|
|
13
|
+
type CalendarProps = Props & CalendarVariantProps;
|
|
14
|
+
declare const Calendar: React__default.ForwardRefExoticComponent<Omit<CalendarProps, "ref"> & React__default.RefAttributes<any>>;
|
|
15
|
+
|
|
16
|
+
declare const calendarStyle: tailwind_variants.TVReturnType<{
|
|
17
|
+
variant: {
|
|
18
|
+
solid: {};
|
|
19
|
+
};
|
|
20
|
+
color: {
|
|
21
|
+
primary: {
|
|
22
|
+
date: string[];
|
|
23
|
+
};
|
|
24
|
+
secondary: {
|
|
25
|
+
date: string[];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
}, {
|
|
29
|
+
base: string[];
|
|
30
|
+
dateTitle: string[];
|
|
31
|
+
date: string[];
|
|
32
|
+
}, undefined, {
|
|
33
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
34
|
+
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
35
|
+
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
36
|
+
} | undefined;
|
|
37
|
+
} & tailwind_variants_dist_config.TWMConfig & {
|
|
38
|
+
twMergeConfig: {
|
|
39
|
+
classGroups: {
|
|
40
|
+
fontSize: {
|
|
41
|
+
text: string[];
|
|
42
|
+
}[];
|
|
43
|
+
borderRadius: {
|
|
44
|
+
rounded: string[];
|
|
45
|
+
}[];
|
|
46
|
+
boxShadow: {
|
|
47
|
+
shadow: string[];
|
|
48
|
+
}[];
|
|
49
|
+
padding: {
|
|
50
|
+
p: string[];
|
|
51
|
+
}[];
|
|
52
|
+
gap: {
|
|
53
|
+
gap: string[];
|
|
54
|
+
}[];
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
}, {
|
|
58
|
+
variant: {
|
|
59
|
+
solid: {};
|
|
60
|
+
};
|
|
61
|
+
color: {
|
|
62
|
+
primary: {
|
|
63
|
+
date: string[];
|
|
64
|
+
};
|
|
65
|
+
secondary: {
|
|
66
|
+
date: string[];
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}, {
|
|
70
|
+
base: string[];
|
|
71
|
+
dateTitle: string[];
|
|
72
|
+
date: string[];
|
|
73
|
+
}, tailwind_variants.TVReturnType<{
|
|
74
|
+
variant: {
|
|
75
|
+
solid: {};
|
|
76
|
+
};
|
|
77
|
+
color: {
|
|
78
|
+
primary: {
|
|
79
|
+
date: string[];
|
|
80
|
+
};
|
|
81
|
+
secondary: {
|
|
82
|
+
date: string[];
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}, {
|
|
86
|
+
base: string[];
|
|
87
|
+
dateTitle: string[];
|
|
88
|
+
date: string[];
|
|
89
|
+
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
90
|
+
variant: {
|
|
91
|
+
solid: {};
|
|
92
|
+
};
|
|
93
|
+
color: {
|
|
94
|
+
primary: {
|
|
95
|
+
date: string[];
|
|
96
|
+
};
|
|
97
|
+
secondary: {
|
|
98
|
+
date: string[];
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}, {
|
|
102
|
+
variant: {
|
|
103
|
+
solid: {};
|
|
104
|
+
};
|
|
105
|
+
color: {
|
|
106
|
+
primary: {
|
|
107
|
+
date: string[];
|
|
108
|
+
};
|
|
109
|
+
secondary: {
|
|
110
|
+
date: string[];
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}>, unknown, unknown, undefined>>;
|
|
114
|
+
type CalendarVariantProps = VariantProps<typeof calendarStyle>;
|
|
115
|
+
type CalendarSlots = keyof ReturnType<typeof calendarStyle>;
|
|
116
|
+
type CalendarReturnType = ReturnType<typeof calendarStyle>;
|
|
117
|
+
|
|
118
|
+
export { type CalendarProps, type CalendarReturnType, type CalendarSlots, type CalendarVariantProps, type Props, calendarStyle, Calendar as default };
|