@appcorp/stellar-solutions-modules 0.1.54 → 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.
Files changed (90) hide show
  1. package/global-modules/bank/bank.js +3 -3
  2. package/global-modules/bank/context.js +1 -1
  3. package/global-modules/bank/drawer.js +2 -2
  4. package/global-modules/bank/form.js +2 -2
  5. package/global-modules/bank/types.d.ts +1 -1
  6. package/global-modules/branch/branch.js +2 -6
  7. package/global-modules/branch/context.js +1 -1
  8. package/global-modules/branch/drawer.js +2 -2
  9. package/global-modules/branch/form.js +2 -2
  10. package/global-modules/branch/types.d.ts +1 -1
  11. package/global-modules/payment-mode/context.js +1 -1
  12. package/global-modules/payment-mode/drawer.js +2 -2
  13. package/global-modules/payment-mode/form.js +2 -2
  14. package/global-modules/payment-mode/payment-mode.js +2 -6
  15. package/global-modules/payment-mode/types.d.ts +1 -1
  16. package/global-modules/preferences/currency.js +2 -2
  17. package/global-modules/tax/context.js +1 -1
  18. package/global-modules/tax/drawer.js +2 -2
  19. package/global-modules/tax/form.js +2 -2
  20. package/global-modules/tax/tax.js +2 -6
  21. package/global-modules/tax/types.d.ts +1 -1
  22. package/index.d.ts +0 -30
  23. package/index.js +0 -46
  24. package/lib/toast-utils.d.ts +0 -44
  25. package/lib/toast-utils.js +240 -212
  26. package/lib/utils.d.ts +0 -2
  27. package/lib/utils.js +5 -12
  28. package/package.json +6 -7
  29. package/components/theme-provider.d.ts +0 -9
  30. package/components/theme-provider.js +0 -122
  31. package/components/theme-switcher.d.ts +0 -4
  32. package/components/theme-switcher.js +0 -60
  33. package/components/ui/badge.d.ts +0 -9
  34. package/components/ui/badge.js +0 -82
  35. package/components/ui/button.d.ts +0 -10
  36. package/components/ui/button.js +0 -91
  37. package/components/ui/card.d.ts +0 -9
  38. package/components/ui/card.js +0 -94
  39. package/components/ui/carousel.d.ts +0 -19
  40. package/components/ui/carousel.js +0 -168
  41. package/components/ui/checkbox.d.ts +0 -9
  42. package/components/ui/checkbox.js +0 -87
  43. package/components/ui/combobox.d.ts +0 -70
  44. package/components/ui/combobox.js +0 -315
  45. package/components/ui/command.d.ts +0 -18
  46. package/components/ui/command.js +0 -115
  47. package/components/ui/dialog.d.ts +0 -15
  48. package/components/ui/dialog.js +0 -118
  49. package/components/ui/drawer.d.ts +0 -13
  50. package/components/ui/drawer.js +0 -115
  51. package/components/ui/dropdown-menu.d.ts +0 -25
  52. package/components/ui/dropdown-menu.js +0 -148
  53. package/components/ui/enhanced-dropzone.d.ts +0 -21
  54. package/components/ui/enhanced-dropzone.js +0 -187
  55. package/components/ui/enhanced-table-footer-action.d.ts +0 -35
  56. package/components/ui/enhanced-table-footer-action.js +0 -110
  57. package/components/ui/enhanced-table-footer-page.d.ts +0 -34
  58. package/components/ui/enhanced-table-footer-page.js +0 -132
  59. package/components/ui/enhanced-table-footer-pagination.d.ts +0 -38
  60. package/components/ui/enhanced-table-footer-pagination.js +0 -116
  61. package/components/ui/enhanced-table-header-action.d.ts +0 -7
  62. package/components/ui/enhanced-table-header-action.js +0 -21
  63. package/components/ui/enhanced-table-header-search.d.ts +0 -12
  64. package/components/ui/enhanced-table-header-search.js +0 -17
  65. package/components/ui/enhanced-table.d.ts +0 -87
  66. package/components/ui/enhanced-table.js +0 -221
  67. package/components/ui/form.d.ts +0 -24
  68. package/components/ui/form.js +0 -125
  69. package/components/ui/input.d.ts +0 -8
  70. package/components/ui/input.js +0 -86
  71. package/components/ui/label.d.ts +0 -7
  72. package/components/ui/label.js +0 -68
  73. package/components/ui/popover.d.ts +0 -7
  74. package/components/ui/popover.js +0 -82
  75. package/components/ui/select.d.ts +0 -15
  76. package/components/ui/select.js +0 -127
  77. package/components/ui/separator.d.ts +0 -4
  78. package/components/ui/separator.js +0 -66
  79. package/components/ui/shadcn-io/color-picker/index.d.ts +0 -43
  80. package/components/ui/shadcn-io/color-picker/index.js +0 -304
  81. package/components/ui/shadcn-io/dropzone/index.d.ts +0 -19
  82. package/components/ui/shadcn-io/dropzone/index.js +0 -131
  83. package/components/ui/sonner.d.ts +0 -4
  84. package/components/ui/sonner.js +0 -54
  85. package/components/ui/switch.d.ts +0 -9
  86. package/components/ui/switch.js +0 -89
  87. package/components/ui/table.d.ts +0 -10
  88. package/components/ui/table.js +0 -101
  89. package/components/ui/textarea.d.ts +0 -8
  90. package/components/ui/textarea.js +0 -86
@@ -1,212 +1,240 @@
1
- "use strict";
2
- /**
3
- * Shared Toast Utilities
4
- *
5
- * Theme-aware toast notification system using Sonner with comprehensive
6
- * styling, icons, and theme integration for consistent user experience
7
- * across all modules.
8
- *
9
- * Features:
10
- * - Theme-aware styling (light/dark/system)
11
- * - Lucide React icons for each toast type
12
- * - Consistent styling with shadcn/ui components
13
- * - TypeScript support with proper interfaces
14
- * - Convenience functions for common use cases
15
- */
16
- var __assign = (this && this.__assign) || function () {
17
- __assign = Object.assign || function(t) {
18
- for (var s, i = 1, n = arguments.length; i < n; i++) {
19
- s = arguments[i];
20
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
21
- t[p] = s[p];
22
- }
23
- return t;
24
- };
25
- return __assign.apply(this, arguments);
26
- };
27
- var __importDefault = (this && this.__importDefault) || function (mod) {
28
- return (mod && mod.__esModule) ? mod : { "default": mod };
29
- };
30
- var _a;
31
- Object.defineProperty(exports, "__esModule", { value: true });
32
- exports.showThemeInfoToast = exports.showThemeWarningToast = exports.showThemeErrorToast = exports.showThemeSuccessToast = exports.showInfoToast = exports.showWarningToast = exports.showErrorToast = exports.showSuccessToast = exports.generateThemeToast = exports.generateToast = exports.TOAST_VARIANT = void 0;
33
- var react_1 = __importDefault(require("react"));
34
- var sonner_1 = require("sonner");
35
- var lucide_react_1 = require("lucide-react");
36
- // Theme-aware toast styling
37
- var THEME_TOAST_STYLES = {
38
- light: {
39
- className: "bg-background text-foreground border-border shadow-lg",
40
- style: {
41
- backgroundColor: "hsl(var(--background))",
42
- color: "hsl(var(--foreground))",
43
- borderColor: "hsl(var(--border))",
44
- },
45
- },
46
- dark: {
47
- className: "bg-popover text-popover-foreground border-border shadow-lg",
48
- style: {
49
- backgroundColor: "hsl(var(--popover))",
50
- color: "hsl(var(--popover-foreground))",
51
- borderColor: "hsl(var(--border))",
52
- },
53
- },
54
- };
55
- // Toast types matching the previous Vista notification types
56
- var TOAST_VARIANT;
57
- (function (TOAST_VARIANT) {
58
- TOAST_VARIANT["ERROR"] = "error";
59
- TOAST_VARIANT["INFO"] = "info";
60
- TOAST_VARIANT["SUCCESS"] = "success";
61
- TOAST_VARIANT["WARNING"] = "warning";
62
- })(TOAST_VARIANT || (exports.TOAST_VARIANT = TOAST_VARIANT = {}));
63
- // Icon mapping for each variant using object notation
64
- var TOAST_ICON_MAP = (_a = {},
65
- _a[TOAST_VARIANT.ERROR] = lucide_react_1.AlertCircle,
66
- _a[TOAST_VARIANT.INFO] = lucide_react_1.Info,
67
- _a[TOAST_VARIANT.SUCCESS] = lucide_react_1.CheckCircle,
68
- _a[TOAST_VARIANT.WARNING] = lucide_react_1.AlertTriangle,
69
- _a);
70
- var getToastIcon = function (variant) {
71
- return TOAST_ICON_MAP[variant] || lucide_react_1.Info;
72
- };
73
- // Create icon element helper
74
- var createIconElement = function (variant) {
75
- var Icon = getToastIcon(variant);
76
- return react_1.default.createElement(Icon, { className: "h-4 w-4" });
77
- };
78
- // Enhanced theme-aware toast function
79
- var generateToast = function (_a) {
80
- var _b;
81
- var variant = _a.variant, title = _a.title, description = _a.description, _c = _a.duration, duration = _c === void 0 ? 4000 : _c, action = _a.action;
82
- var iconElement = createIconElement(variant);
83
- var toastOptions = __assign({ description: description, duration: duration, icon: iconElement, className: "group-[.toaster]:bg-popover group-[.toaster]:text-popover-foreground group-[.toaster]:border-border", style: {
84
- minWidth: "320px",
85
- maxWidth: "420px",
86
- } }, (action && {
87
- action: {
88
- label: action.label,
89
- onClick: action.onClick,
90
- },
91
- }));
92
- // Toast method mapping using object notation
93
- var TOAST_METHOD_MAP = (_b = {},
94
- _b[TOAST_VARIANT.SUCCESS] = function () {
95
- return sonner_1.toast.success(title || "Success", toastOptions);
96
- },
97
- _b[TOAST_VARIANT.ERROR] = function () { return sonner_1.toast.error(title || "Error", toastOptions); },
98
- _b[TOAST_VARIANT.WARNING] = function () {
99
- return sonner_1.toast.warning(title || "Warning", toastOptions);
100
- },
101
- _b[TOAST_VARIANT.INFO] = function () {
102
- return sonner_1.toast.info(title || "Information", toastOptions);
103
- },
104
- _b);
105
- var toastMethod = TOAST_METHOD_MAP[variant];
106
- return toastMethod
107
- ? toastMethod()
108
- : (0, sonner_1.toast)(title || description, toastOptions);
109
- };
110
- exports.generateToast = generateToast;
111
- // Theme-aware toast generation function
112
- var generateThemeToast = function (_a) {
113
- var _b;
114
- var variant = _a.variant, title = _a.title, description = _a.description, _c = _a.duration, duration = _c === void 0 ? 4000 : _c, action = _a.action, _d = _a.theme, theme = _d === void 0 ? "system" : _d;
115
- var iconElement = createIconElement(variant);
116
- // Apply theme-specific styling
117
- var themeStyle = theme === "dark" ? THEME_TOAST_STYLES.dark : THEME_TOAST_STYLES.light;
118
- var toastOptions = __assign({ description: description, duration: duration, icon: iconElement, className: "".concat(themeStyle.className, " toast-theme-").concat(theme), style: __assign(__assign({}, themeStyle.style), { minWidth: "320px", maxWidth: "420px" }) }, (action && {
119
- action: {
120
- label: action.label,
121
- onClick: action.onClick,
122
- },
123
- }));
124
- // Toast method mapping using object notation
125
- var TOAST_METHOD_MAP = (_b = {},
126
- _b[TOAST_VARIANT.ERROR] = function () { return sonner_1.toast.error(title || "Error", toastOptions); },
127
- _b[TOAST_VARIANT.INFO] = function () {
128
- return sonner_1.toast.info(title || "Information", toastOptions);
129
- },
130
- _b[TOAST_VARIANT.SUCCESS] = function () {
131
- return sonner_1.toast.success(title || "Success", toastOptions);
132
- },
133
- _b[TOAST_VARIANT.WARNING] = function () {
134
- return sonner_1.toast.warning(title || "Warning", toastOptions);
135
- },
136
- _b);
137
- var toastMethod = TOAST_METHOD_MAP[variant];
138
- return toastMethod
139
- ? toastMethod()
140
- : (0, sonner_1.toast)(title || description, toastOptions);
141
- };
142
- exports.generateThemeToast = generateThemeToast;
143
- // Convenience functions for each toast type
144
- var showSuccessToast = function (description, title) {
145
- (0, exports.generateToast)({
146
- variant: TOAST_VARIANT.SUCCESS,
147
- title: title,
148
- description: description,
149
- });
150
- };
151
- exports.showSuccessToast = showSuccessToast;
152
- var showErrorToast = function (description, title) {
153
- (0, exports.generateToast)({
154
- variant: TOAST_VARIANT.ERROR,
155
- title: title,
156
- description: description,
157
- });
158
- };
159
- exports.showErrorToast = showErrorToast;
160
- var showWarningToast = function (description, title) {
161
- (0, exports.generateToast)({
162
- variant: TOAST_VARIANT.WARNING,
163
- title: title,
164
- description: description,
165
- });
166
- };
167
- exports.showWarningToast = showWarningToast;
168
- var showInfoToast = function (description, title) {
169
- (0, exports.generateToast)({
170
- variant: TOAST_VARIANT.INFO,
171
- title: title,
172
- description: description,
173
- });
174
- };
175
- exports.showInfoToast = showInfoToast;
176
- // Theme-aware convenience functions
177
- var showThemeSuccessToast = function (description, title, theme) {
178
- (0, exports.generateThemeToast)({
179
- variant: TOAST_VARIANT.SUCCESS,
180
- title: title,
181
- description: description,
182
- theme: theme,
183
- });
184
- };
185
- exports.showThemeSuccessToast = showThemeSuccessToast;
186
- var showThemeErrorToast = function (description, title, theme) {
187
- (0, exports.generateThemeToast)({
188
- variant: TOAST_VARIANT.ERROR,
189
- title: title,
190
- description: description,
191
- theme: theme,
192
- });
193
- };
194
- exports.showThemeErrorToast = showThemeErrorToast;
195
- var showThemeWarningToast = function (description, title, theme) {
196
- (0, exports.generateThemeToast)({
197
- variant: TOAST_VARIANT.WARNING,
198
- title: title,
199
- description: description,
200
- theme: theme,
201
- });
202
- };
203
- exports.showThemeWarningToast = showThemeWarningToast;
204
- var showThemeInfoToast = function (description, title, theme) {
205
- (0, exports.generateThemeToast)({
206
- variant: TOAST_VARIANT.INFO,
207
- title: title,
208
- description: description,
209
- theme: theme,
210
- });
211
- };
212
- exports.showThemeInfoToast = showThemeInfoToast;
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
@@ -1,2 +0,0 @@
1
- import { type ClassValue } from "clsx";
2
- export declare function cn(...inputs: ClassValue[]): string;
package/lib/utils.js CHANGED
@@ -1,12 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.cn = cn;
4
- var clsx_1 = require("clsx");
5
- var tailwind_merge_1 = require("tailwind-merge");
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.54",
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.44",
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.57",
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.9.2",
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 {};