@appcorp/stellar-solutions-modules 0.1.53 → 0.1.55
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/global-modules/bank/bank.js +4 -8
- package/global-modules/bank/context.js +15 -14
- package/global-modules/bank/drawer.js +2 -2
- package/global-modules/bank/form.js +2 -2
- package/global-modules/bank/types.d.ts +1 -1
- package/global-modules/branch/branch.js +3 -7
- package/global-modules/branch/constants.d.ts +0 -11
- package/global-modules/branch/constants.js +1 -15
- package/global-modules/branch/context.js +16 -15
- package/global-modules/branch/drawer.js +2 -2
- package/global-modules/branch/form.js +2 -2
- package/global-modules/branch/types.d.ts +1 -1
- package/global-modules/payment-mode/context.js +16 -15
- package/global-modules/payment-mode/drawer.js +2 -2
- package/global-modules/payment-mode/form.js +2 -2
- package/global-modules/payment-mode/payment-mode.js +16 -20
- package/global-modules/payment-mode/types.d.ts +1 -1
- package/global-modules/preferences/context.js +14 -13
- package/global-modules/preferences/currency.js +2 -2
- package/global-modules/tax/context.js +16 -15
- package/global-modules/tax/drawer.js +2 -2
- package/global-modules/tax/form.js +2 -2
- package/global-modules/tax/tax.js +4 -8
- package/global-modules/tax/types.d.ts +1 -1
- package/index.d.ts +0 -30
- package/index.js +0 -46
- package/lib/toast-utils.d.ts +0 -44
- package/lib/toast-utils.js +240 -212
- package/lib/utils.d.ts +0 -2
- package/lib/utils.js +5 -12
- package/package.json +6 -7
- package/components/theme-provider.d.ts +0 -9
- package/components/theme-provider.js +0 -122
- package/components/theme-switcher.d.ts +0 -4
- package/components/theme-switcher.js +0 -60
- package/components/ui/badge.d.ts +0 -9
- package/components/ui/badge.js +0 -82
- package/components/ui/button.d.ts +0 -10
- package/components/ui/button.js +0 -91
- package/components/ui/card.d.ts +0 -9
- package/components/ui/card.js +0 -94
- package/components/ui/carousel.d.ts +0 -19
- package/components/ui/carousel.js +0 -168
- package/components/ui/checkbox.d.ts +0 -9
- package/components/ui/checkbox.js +0 -87
- package/components/ui/combobox.d.ts +0 -70
- package/components/ui/combobox.js +0 -315
- package/components/ui/command.d.ts +0 -18
- package/components/ui/command.js +0 -115
- package/components/ui/dialog.d.ts +0 -15
- package/components/ui/dialog.js +0 -118
- package/components/ui/drawer.d.ts +0 -13
- package/components/ui/drawer.js +0 -115
- package/components/ui/dropdown-menu.d.ts +0 -25
- package/components/ui/dropdown-menu.js +0 -148
- package/components/ui/enhanced-dropzone.d.ts +0 -21
- package/components/ui/enhanced-dropzone.js +0 -187
- package/components/ui/enhanced-table-footer-action.d.ts +0 -34
- package/components/ui/enhanced-table-footer-action.js +0 -117
- package/components/ui/enhanced-table-footer-page.d.ts +0 -32
- package/components/ui/enhanced-table-footer-page.js +0 -140
- package/components/ui/enhanced-table-footer-pagination.d.ts +0 -36
- package/components/ui/enhanced-table-footer-pagination.js +0 -122
- package/components/ui/enhanced-table-header-action.d.ts +0 -7
- package/components/ui/enhanced-table-header-action.js +0 -21
- package/components/ui/enhanced-table-header-search.d.ts +0 -12
- package/components/ui/enhanced-table-header-search.js +0 -17
- package/components/ui/enhanced-table.d.ts +0 -75
- package/components/ui/enhanced-table.js +0 -196
- package/components/ui/form.d.ts +0 -24
- package/components/ui/form.js +0 -125
- package/components/ui/input.d.ts +0 -8
- package/components/ui/input.js +0 -86
- package/components/ui/label.d.ts +0 -7
- package/components/ui/label.js +0 -68
- package/components/ui/popover.d.ts +0 -7
- package/components/ui/popover.js +0 -82
- package/components/ui/select.d.ts +0 -15
- package/components/ui/select.js +0 -127
- package/components/ui/separator.d.ts +0 -4
- package/components/ui/separator.js +0 -66
- package/components/ui/shadcn-io/color-picker/index.d.ts +0 -43
- package/components/ui/shadcn-io/color-picker/index.js +0 -304
- package/components/ui/shadcn-io/dropzone/index.d.ts +0 -19
- package/components/ui/shadcn-io/dropzone/index.js +0 -131
- package/components/ui/sonner.d.ts +0 -4
- package/components/ui/sonner.js +0 -54
- package/components/ui/switch.d.ts +0 -9
- package/components/ui/switch.js +0 -89
- package/components/ui/table.d.ts +0 -10
- package/components/ui/table.js +0 -101
- package/components/ui/textarea.d.ts +0 -8
- package/components/ui/textarea.js +0 -86
package/lib/toast-utils.js
CHANGED
|
@@ -1,212 +1,240 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
var
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
//
|
|
37
|
-
var
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
//
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
//
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
//
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
//
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
//
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
//
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
//
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
};
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
1
|
+
// /**
|
|
2
|
+
// * Shared Toast Utilities
|
|
3
|
+
// *
|
|
4
|
+
// * Theme-aware toast notification system using Sonner with comprehensive
|
|
5
|
+
// * styling, icons, and theme integration for consistent user experience
|
|
6
|
+
// * across all modules.
|
|
7
|
+
// *
|
|
8
|
+
// * Features:
|
|
9
|
+
// * - Theme-aware styling (light/dark/system)
|
|
10
|
+
// * - Lucide React icons for each toast type
|
|
11
|
+
// * - Consistent styling with shadcn/ui components
|
|
12
|
+
// * - TypeScript support with proper interfaces
|
|
13
|
+
// * - Convenience functions for common use cases
|
|
14
|
+
// */
|
|
15
|
+
// import React from "react";
|
|
16
|
+
// import { toast } from "sonner";
|
|
17
|
+
// import {
|
|
18
|
+
// AlertCircle,
|
|
19
|
+
// AlertTriangle,
|
|
20
|
+
// CheckCircle,
|
|
21
|
+
// Info,
|
|
22
|
+
// type LucideIcon,
|
|
23
|
+
// } from "lucide-react";
|
|
24
|
+
// // Theme-aware toast styling
|
|
25
|
+
// const THEME_TOAST_STYLES = {
|
|
26
|
+
// light: {
|
|
27
|
+
// className: "bg-background text-foreground border-border shadow-lg",
|
|
28
|
+
// style: {
|
|
29
|
+
// backgroundColor: "hsl(var(--background))",
|
|
30
|
+
// color: "hsl(var(--foreground))",
|
|
31
|
+
// borderColor: "hsl(var(--border))",
|
|
32
|
+
// },
|
|
33
|
+
// },
|
|
34
|
+
// dark: {
|
|
35
|
+
// className: "bg-popover text-popover-foreground border-border shadow-lg",
|
|
36
|
+
// style: {
|
|
37
|
+
// backgroundColor: "hsl(var(--popover))",
|
|
38
|
+
// color: "hsl(var(--popover-foreground))",
|
|
39
|
+
// borderColor: "hsl(var(--border))",
|
|
40
|
+
// },
|
|
41
|
+
// },
|
|
42
|
+
// };
|
|
43
|
+
// // Toast types matching the previous Vista notification types
|
|
44
|
+
// export enum TOAST_VARIANT {
|
|
45
|
+
// ERROR = "error",
|
|
46
|
+
// INFO = "info",
|
|
47
|
+
// SUCCESS = "success",
|
|
48
|
+
// WARNING = "warning",
|
|
49
|
+
// }
|
|
50
|
+
// // Toast configuration interface
|
|
51
|
+
// interface ToastConfig {
|
|
52
|
+
// action?: {
|
|
53
|
+
// label: string;
|
|
54
|
+
// onClick: () => void;
|
|
55
|
+
// };
|
|
56
|
+
// description: string;
|
|
57
|
+
// duration?: number;
|
|
58
|
+
// theme?: "light" | "dark" | "system";
|
|
59
|
+
// title?: string;
|
|
60
|
+
// variant: TOAST_VARIANT;
|
|
61
|
+
// }
|
|
62
|
+
// // Icon mapping for each variant using object notation
|
|
63
|
+
// const TOAST_ICON_MAP: Record<TOAST_VARIANT, LucideIcon> = {
|
|
64
|
+
// [TOAST_VARIANT.ERROR]: AlertCircle,
|
|
65
|
+
// [TOAST_VARIANT.INFO]: Info,
|
|
66
|
+
// [TOAST_VARIANT.SUCCESS]: CheckCircle,
|
|
67
|
+
// [TOAST_VARIANT.WARNING]: AlertTriangle,
|
|
68
|
+
// };
|
|
69
|
+
// const getToastIcon = (variant: TOAST_VARIANT): LucideIcon => {
|
|
70
|
+
// return TOAST_ICON_MAP[variant] || Info;
|
|
71
|
+
// };
|
|
72
|
+
// // Create icon element helper
|
|
73
|
+
// const createIconElement = (variant: TOAST_VARIANT) => {
|
|
74
|
+
// const Icon = getToastIcon(variant);
|
|
75
|
+
// return React.createElement(Icon, { className: "h-4 w-4" });
|
|
76
|
+
// };
|
|
77
|
+
// // Enhanced theme-aware toast function
|
|
78
|
+
// export const generateToast = ({
|
|
79
|
+
// variant,
|
|
80
|
+
// title,
|
|
81
|
+
// description,
|
|
82
|
+
// duration = 4000,
|
|
83
|
+
// action,
|
|
84
|
+
// }: ToastConfig) => {
|
|
85
|
+
// const iconElement = createIconElement(variant);
|
|
86
|
+
// const toastOptions = {
|
|
87
|
+
// description,
|
|
88
|
+
// duration,
|
|
89
|
+
// icon: iconElement,
|
|
90
|
+
// className:
|
|
91
|
+
// "group-[.toaster]:bg-popover group-[.toaster]:text-popover-foreground group-[.toaster]:border-border",
|
|
92
|
+
// style: {
|
|
93
|
+
// minWidth: "320px",
|
|
94
|
+
// maxWidth: "420px",
|
|
95
|
+
// },
|
|
96
|
+
// ...(action && {
|
|
97
|
+
// action: {
|
|
98
|
+
// label: action.label,
|
|
99
|
+
// onClick: action.onClick,
|
|
100
|
+
// },
|
|
101
|
+
// }),
|
|
102
|
+
// };
|
|
103
|
+
// // Toast method mapping using object notation
|
|
104
|
+
// const TOAST_METHOD_MAP = {
|
|
105
|
+
// [TOAST_VARIANT.SUCCESS]: () =>
|
|
106
|
+
// toast.success(title || "Success", toastOptions),
|
|
107
|
+
// [TOAST_VARIANT.ERROR]: () => toast.error(title || "Error", toastOptions),
|
|
108
|
+
// [TOAST_VARIANT.WARNING]: () =>
|
|
109
|
+
// toast.warning(title || "Warning", toastOptions),
|
|
110
|
+
// [TOAST_VARIANT.INFO]: () =>
|
|
111
|
+
// toast.info(title || "Information", toastOptions),
|
|
112
|
+
// };
|
|
113
|
+
// const toastMethod = TOAST_METHOD_MAP[variant];
|
|
114
|
+
// return toastMethod
|
|
115
|
+
// ? toastMethod()
|
|
116
|
+
// : toast(title || description, toastOptions);
|
|
117
|
+
// };
|
|
118
|
+
// // Theme-aware toast generation function
|
|
119
|
+
// export const generateThemeToast = ({
|
|
120
|
+
// variant,
|
|
121
|
+
// title,
|
|
122
|
+
// description,
|
|
123
|
+
// duration = 4000,
|
|
124
|
+
// action,
|
|
125
|
+
// theme = "system",
|
|
126
|
+
// }: ToastConfig & { theme?: "light" | "dark" | "system" }) => {
|
|
127
|
+
// const iconElement = createIconElement(variant);
|
|
128
|
+
// // Apply theme-specific styling
|
|
129
|
+
// const themeStyle =
|
|
130
|
+
// theme === "dark" ? THEME_TOAST_STYLES.dark : THEME_TOAST_STYLES.light;
|
|
131
|
+
// const toastOptions = {
|
|
132
|
+
// description,
|
|
133
|
+
// duration,
|
|
134
|
+
// icon: iconElement,
|
|
135
|
+
// className: `${themeStyle.className} toast-theme-${theme}`,
|
|
136
|
+
// style: {
|
|
137
|
+
// ...themeStyle.style,
|
|
138
|
+
// minWidth: "320px",
|
|
139
|
+
// maxWidth: "420px",
|
|
140
|
+
// },
|
|
141
|
+
// ...(action && {
|
|
142
|
+
// action: {
|
|
143
|
+
// label: action.label,
|
|
144
|
+
// onClick: action.onClick,
|
|
145
|
+
// },
|
|
146
|
+
// }),
|
|
147
|
+
// };
|
|
148
|
+
// // Toast method mapping using object notation
|
|
149
|
+
// const TOAST_METHOD_MAP = {
|
|
150
|
+
// [TOAST_VARIANT.ERROR]: () => toast.error(title || "Error", toastOptions),
|
|
151
|
+
// [TOAST_VARIANT.INFO]: () =>
|
|
152
|
+
// toast.info(title || "Information", toastOptions),
|
|
153
|
+
// [TOAST_VARIANT.SUCCESS]: () =>
|
|
154
|
+
// toast.success(title || "Success", toastOptions),
|
|
155
|
+
// [TOAST_VARIANT.WARNING]: () =>
|
|
156
|
+
// toast.warning(title || "Warning", toastOptions),
|
|
157
|
+
// };
|
|
158
|
+
// const toastMethod = TOAST_METHOD_MAP[variant];
|
|
159
|
+
// return toastMethod
|
|
160
|
+
// ? toastMethod()
|
|
161
|
+
// : toast(title || description, toastOptions);
|
|
162
|
+
// };
|
|
163
|
+
// // Convenience functions for each toast type
|
|
164
|
+
// export const showSuccessToast = (description: string, title?: string) => {
|
|
165
|
+
// generateToast({
|
|
166
|
+
// variant: TOAST_VARIANT.SUCCESS,
|
|
167
|
+
// title,
|
|
168
|
+
// description,
|
|
169
|
+
// });
|
|
170
|
+
// };
|
|
171
|
+
// export const showErrorToast = (description: string, title?: string) => {
|
|
172
|
+
// generateToast({
|
|
173
|
+
// variant: TOAST_VARIANT.ERROR,
|
|
174
|
+
// title,
|
|
175
|
+
// description,
|
|
176
|
+
// });
|
|
177
|
+
// };
|
|
178
|
+
// export const showWarningToast = (description: string, title?: string) => {
|
|
179
|
+
// generateToast({
|
|
180
|
+
// variant: TOAST_VARIANT.WARNING,
|
|
181
|
+
// title,
|
|
182
|
+
// description,
|
|
183
|
+
// });
|
|
184
|
+
// };
|
|
185
|
+
// export const showInfoToast = (description: string, title?: string) => {
|
|
186
|
+
// generateToast({
|
|
187
|
+
// variant: TOAST_VARIANT.INFO,
|
|
188
|
+
// title,
|
|
189
|
+
// description,
|
|
190
|
+
// });
|
|
191
|
+
// };
|
|
192
|
+
// // Theme-aware convenience functions
|
|
193
|
+
// export const showThemeSuccessToast = (
|
|
194
|
+
// description: string,
|
|
195
|
+
// title?: string,
|
|
196
|
+
// theme?: "light" | "dark" | "system"
|
|
197
|
+
// ) => {
|
|
198
|
+
// generateThemeToast({
|
|
199
|
+
// variant: TOAST_VARIANT.SUCCESS,
|
|
200
|
+
// title,
|
|
201
|
+
// description,
|
|
202
|
+
// theme,
|
|
203
|
+
// });
|
|
204
|
+
// };
|
|
205
|
+
// export const showThemeErrorToast = (
|
|
206
|
+
// description: string,
|
|
207
|
+
// title?: string,
|
|
208
|
+
// theme?: "light" | "dark" | "system"
|
|
209
|
+
// ) => {
|
|
210
|
+
// generateThemeToast({
|
|
211
|
+
// variant: TOAST_VARIANT.ERROR,
|
|
212
|
+
// title,
|
|
213
|
+
// description,
|
|
214
|
+
// theme,
|
|
215
|
+
// });
|
|
216
|
+
// };
|
|
217
|
+
// export const showThemeWarningToast = (
|
|
218
|
+
// description: string,
|
|
219
|
+
// title?: string,
|
|
220
|
+
// theme?: "light" | "dark" | "system"
|
|
221
|
+
// ) => {
|
|
222
|
+
// generateThemeToast({
|
|
223
|
+
// variant: TOAST_VARIANT.WARNING,
|
|
224
|
+
// title,
|
|
225
|
+
// description,
|
|
226
|
+
// theme,
|
|
227
|
+
// });
|
|
228
|
+
// };
|
|
229
|
+
// export const showThemeInfoToast = (
|
|
230
|
+
// description: string,
|
|
231
|
+
// title?: string,
|
|
232
|
+
// theme?: "light" | "dark" | "system"
|
|
233
|
+
// ) => {
|
|
234
|
+
// generateThemeToast({
|
|
235
|
+
// variant: TOAST_VARIANT.INFO,
|
|
236
|
+
// title,
|
|
237
|
+
// description,
|
|
238
|
+
// theme,
|
|
239
|
+
// });
|
|
240
|
+
// };
|
package/lib/utils.d.ts
CHANGED
package/lib/utils.js
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
function cn() {
|
|
7
|
-
var inputs = [];
|
|
8
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
9
|
-
inputs[_i] = arguments[_i];
|
|
10
|
-
}
|
|
11
|
-
return (0, tailwind_merge_1.twMerge)((0, clsx_1.clsx)(inputs));
|
|
12
|
-
}
|
|
1
|
+
// import { clsx, type ClassValue } from "clsx"
|
|
2
|
+
// import { twMerge } from "tailwind-merge"
|
|
3
|
+
// export function cn(...inputs: ClassValue[]) {
|
|
4
|
+
// return twMerge(clsx(inputs))
|
|
5
|
+
// }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appcorp/stellar-solutions-modules",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.55",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"automate": "./automate.sh",
|
|
6
6
|
"build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib && cp yarn.lock lib",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"upgrade:own": "ncu -f '@appcorp/app-corp-vista, @react-pakistan/util-functions' -u"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@appcorp/app-corp-vista": "^0.3.
|
|
22
|
+
"@appcorp/app-corp-vista": "^0.3.47",
|
|
23
|
+
"@appcorp/shadcn": "^1.0.10",
|
|
23
24
|
"@dnd-kit/core": "^6.3.1",
|
|
24
25
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
25
26
|
"@eslint/eslintrc": "^3",
|
|
@@ -33,7 +34,7 @@
|
|
|
33
34
|
"@radix-ui/react-separator": "^1.1.7",
|
|
34
35
|
"@radix-ui/react-slot": "^1.2.3",
|
|
35
36
|
"@radix-ui/react-switch": "^1.2.6",
|
|
36
|
-
"@react-pakistan/util-functions": "^1.24.
|
|
37
|
+
"@react-pakistan/util-functions": "^1.24.58",
|
|
37
38
|
"@supabase/supabase-js": "^2",
|
|
38
39
|
"@tailwindcss/forms": "^0",
|
|
39
40
|
"@tailwindcss/postcss": "^4",
|
|
@@ -50,6 +51,7 @@
|
|
|
50
51
|
"color": "^5.0.2",
|
|
51
52
|
"date-fns": "^4.1.0",
|
|
52
53
|
"dayjs": "^1",
|
|
54
|
+
"embla-carousel-react": "^8.6.0",
|
|
53
55
|
"eslint": "^9",
|
|
54
56
|
"eslint-config-next": "^15",
|
|
55
57
|
"husky": "^9",
|
|
@@ -82,8 +84,5 @@
|
|
|
82
84
|
"vaul": "^1",
|
|
83
85
|
"zod": "^4"
|
|
84
86
|
},
|
|
85
|
-
"packageManager": "yarn@4.
|
|
86
|
-
"dependencies": {
|
|
87
|
-
"embla-carousel-react": "^8.6.0"
|
|
88
|
-
}
|
|
87
|
+
"packageManager": "yarn@4.10.3"
|
|
89
88
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface CustomThemeProviderProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
defaultTheme?: string;
|
|
5
|
-
storageKey?: string;
|
|
6
|
-
enableSystem?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare function ThemeProvider({ children, defaultTheme, storageKey, enableSystem, ...props }: CustomThemeProviderProps): React.JSX.Element;
|
|
9
|
-
export {};
|