@customafk/lunas-ui 0.0.2 → 0.0.3-a

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 (68) hide show
  1. package/dist/Atoms/AspectRatio/index.js +2 -0
  2. package/dist/Atoms/Avatar/index.js +3 -3
  3. package/dist/Atoms/Badge/index.js +2 -0
  4. package/dist/Atoms/Breadcrumb/index.js +7 -23
  5. package/dist/Atoms/Button/index.d.ts +2 -2
  6. package/dist/Atoms/Button/index.js +2 -0
  7. package/dist/Atoms/Card/index.js +2 -0
  8. package/dist/Atoms/Checkbox/index.d.ts +6 -0
  9. package/dist/Atoms/Checkbox/index.js +276 -0
  10. package/dist/Atoms/Command/index.d.ts +7 -7
  11. package/dist/Atoms/Command/index.js +39 -50
  12. package/dist/Atoms/Dialog/index.js +16 -31
  13. package/dist/Atoms/DropdownMenu/index.js +2 -0
  14. package/dist/Atoms/Form/index.js +32 -21
  15. package/dist/Atoms/Input/index.d.ts +5 -1
  16. package/dist/Atoms/Input/index.js +45 -543
  17. package/dist/Atoms/Label/index.js +2 -0
  18. package/dist/Atoms/MenuItem/index.d.ts +14 -0
  19. package/dist/Atoms/MenuItem/index.js +287 -0
  20. package/dist/Atoms/Money/index.js +2 -0
  21. package/dist/Atoms/Navbar/index.js +2 -0
  22. package/dist/Atoms/NavigationMenu/index.js +2 -0
  23. package/dist/Atoms/NumberInput/index.d.ts +7 -0
  24. package/dist/Atoms/NumberInput/index.js +321 -0
  25. package/dist/Atoms/Popover/index.d.ts +8 -0
  26. package/dist/Atoms/Popover/index.js +286 -0
  27. package/dist/Atoms/Progress/index.js +2 -0
  28. package/dist/Atoms/QuantityBtn/index.js +2 -0
  29. package/dist/Atoms/RadioGroup/index.d.ts +7 -0
  30. package/dist/Atoms/RadioGroup/index.js +285 -0
  31. package/dist/Atoms/ScrollBar/index.js +4 -2
  32. package/dist/Atoms/Select/index.js +2 -0
  33. package/dist/Atoms/Sheet/index.d.ts +29 -0
  34. package/dist/Atoms/Sheet/index.js +422 -0
  35. package/dist/Atoms/Slider/index.d.ts +6 -0
  36. package/dist/Atoms/Slider/index.js +286 -0
  37. package/dist/Atoms/SmallQuantityBtn/index.d.ts +9 -0
  38. package/dist/Atoms/SmallQuantityBtn/index.js +110 -0
  39. package/dist/Atoms/Switch/index.d.ts +6 -0
  40. package/dist/Atoms/Switch/index.js +293 -0
  41. package/dist/Atoms/Tabs/index.d.ts +9 -0
  42. package/dist/Atoms/Tabs/index.js +304 -0
  43. package/dist/Atoms/Textarea/index.d.ts +5 -0
  44. package/dist/Atoms/Textarea/index.js +283 -0
  45. package/dist/Atoms/Tooltip/index.d.ts +10 -0
  46. package/dist/Atoms/Tooltip/index.js +289 -0
  47. package/dist/Atoms/UserAvatar/index.d.ts +2 -2
  48. package/dist/Atoms/UserAvatar/index.js +24 -28
  49. package/dist/Atoms/XButton/index.d.ts +10 -0
  50. package/dist/Atoms/XButton/index.js +309 -0
  51. package/dist/Authentication/SignIn/index.d.ts +1 -1
  52. package/dist/Authentication/SignIn/index.js +129 -74
  53. package/dist/Authentication/SignUp/index.d.ts +5 -5
  54. package/dist/Authentication/SignUp/index.js +181 -110
  55. package/dist/Authentication/ThankYou/index.js +13 -4
  56. package/dist/Ecommerce/Categories/index.d.ts +33 -0
  57. package/dist/Ecommerce/Categories/index.js +1426 -0
  58. package/dist/Icons/index.d.ts +5 -3
  59. package/dist/Icons/index.js +126 -97
  60. package/dist/Molecules/AuthenForm/index.js +30 -21
  61. package/dist/Molecules/Search/index.js +46 -57
  62. package/dist/Molecules/UserDropdown/index.js +42 -33
  63. package/dist/Organisms/Header/index.d.ts +25 -3
  64. package/dist/Organisms/Header/index.js +585 -324
  65. package/dist/hooks/index.d.ts +1 -54
  66. package/dist/hooks/index.js +3 -127
  67. package/dist/{types-BgHhiNa-.d.ts → types-BlE003QY.d.ts} +1 -1
  68. package/package.json +85 -41
@@ -0,0 +1,286 @@
1
+ "use client";
2
+
3
+ // packages/Atoms/Popover/index.tsx
4
+ import { forwardRef } from "react";
5
+
6
+ // packages/tailwindTheme.ts
7
+ var themes = {
8
+ spacing: {
9
+ 30: "7.5rem",
10
+ // 120px
11
+ 33: "8.25rem"
12
+ // 132px
13
+ },
14
+ colors: {
15
+ ui: {
16
+ white: "#ffffff",
17
+ "white-primary": "#ffffff",
18
+ "black-primary": "#111315",
19
+ "bg-white": "#FAFAFA",
20
+ primary: {
21
+ default: "#6C70F0",
22
+ 50: "#EEF2FF",
23
+ 100: "#E0E7FF",
24
+ 200: "#C8D2FD",
25
+ 300: "#A6B6FB",
26
+ 400: "#828EF7",
27
+ 500: "#6C70F0",
28
+ 600: "#5048E3",
29
+ 700: "#443AC8",
30
+ 800: "#3731A2",
31
+ 900: "#312F80",
32
+ 950: "#1F1C4A"
33
+ },
34
+ secondary: {
35
+ default: "#C170FF",
36
+ 50: "#F9F1FF",
37
+ 100: "#F3E2FF",
38
+ 200: "#ECD4FF",
39
+ 300: "#E0B8FF",
40
+ 400: "#D49BFF",
41
+ 500: "#C170FF",
42
+ 600: "#AE65E6",
43
+ 700: "#9A5ACC",
44
+ 800: "#874EB3",
45
+ 900: "#613880",
46
+ 950: "#3A224C"
47
+ },
48
+ tertiary: {
49
+ default: "#5B8CFF",
50
+ 50: "#EFF4FF",
51
+ 100: "#DEE8FF",
52
+ 200: "#CEDDFF",
53
+ 300: "#BDD1FF",
54
+ 400: "#7CA3FF",
55
+ 500: "#5B8CFF",
56
+ 600: "#527EE6",
57
+ 700: "#4062B3",
58
+ 800: "#2E4680",
59
+ 900: "#243866",
60
+ 950: "#1B2A4C"
61
+ },
62
+ destructive: {
63
+ default: "#EF4444",
64
+ 50: "#FEF2F2",
65
+ 100: "#FEE2E2",
66
+ 200: "#FECACA",
67
+ 300: "#FCA5A5",
68
+ 400: "#F87171",
69
+ 500: "#EF4444",
70
+ 600: "#DC2626",
71
+ 700: "#B91C1C",
72
+ 800: "#991B1B",
73
+ 900: "#7F1D1D",
74
+ 950: "#450A0A"
75
+ },
76
+ success: {
77
+ default: "#22c55e",
78
+ 50: "#f0fdf4",
79
+ 100: "#dcfce7",
80
+ 200: "#bbf7d0",
81
+ 300: "#86efac",
82
+ 400: "#4ade80",
83
+ 500: "#22c55e",
84
+ 600: "#16a34a",
85
+ 700: "#15803d",
86
+ 800: "#166534",
87
+ 900: "#14532d",
88
+ 950: "#052e16"
89
+ },
90
+ warn: {
91
+ default: "#f59e0b",
92
+ 50: "#fffbeb",
93
+ 100: "#fef3c7",
94
+ 200: "#fde68a",
95
+ 300: "#fcd34d",
96
+ 400: "#fbbf24",
97
+ 500: "#f59e0b",
98
+ 600: "#d97706",
99
+ 700: "#b45309",
100
+ 800: "#92400e",
101
+ 900: "#78350f",
102
+ 950: "#451a03"
103
+ },
104
+ text: {
105
+ black: "#09090b",
106
+ white: "#fafafa",
107
+ 50: "#fafafa",
108
+ 100: "#f4f4f5",
109
+ 200: "#e4e4e7",
110
+ 300: "#d4d4d8",
111
+ 400: "#a1a1aa",
112
+ 500: "#71717a",
113
+ 600: "#52525b",
114
+ 700: "#3f3f46",
115
+ 800: "#27272a",
116
+ 900: "#18181b",
117
+ 950: "#09090b"
118
+ },
119
+ surface: {
120
+ default: "#ffffff",
121
+ 50: "#ffffff",
122
+ 100: "#f5f5f5",
123
+ 200: "#e5e5e5",
124
+ 300: "#d4d4d4",
125
+ 400: "#a3a3a3",
126
+ 500: "#737373",
127
+ 600: "#525252",
128
+ 700: "#404040",
129
+ 800: "#262626",
130
+ 900: "#171717",
131
+ 950: "#0a0a0a"
132
+ },
133
+ border: {
134
+ default: "#64748B",
135
+ 50: "#f9fafb",
136
+ 100: "#f3f4f6",
137
+ 200: "#e5e7eb",
138
+ 300: "#d1d5db",
139
+ 400: "#9ca3af",
140
+ 500: "#64748B",
141
+ 600: "#475569",
142
+ 700: "#334155",
143
+ 800: "#1E293B",
144
+ 900: "#0F172A",
145
+ 950: "#020817"
146
+ },
147
+ // TEXT COLOR
148
+ "text-primary": "#111315",
149
+ "text-secondary": "#30353C",
150
+ "text-third": "#30353CCC",
151
+ "text-placeholder": "#11131566",
152
+ "text-white-placeholder": "#FDFDFD99",
153
+ "text-black": {
154
+ primary: "#19191B",
155
+ secondary: "#222325",
156
+ third: "#292A2E",
157
+ fourth: "#5F606A",
158
+ placeholder: "#B2B3BD"
159
+ },
160
+ "text-white": {
161
+ primary: "#FCFCFC",
162
+ secondary: "#F9F9F9",
163
+ third: "#D9D9D9"
164
+ },
165
+ // COLOR SPECIAL
166
+ "positive-flat": "#4ADE80",
167
+ "destruction-flat": "#EF4444",
168
+ "neutral-flat": "#BFDBFE",
169
+ rating: "#FDE047",
170
+ input: {
171
+ border: {
172
+ active: "#71717A",
173
+ disabled: "#D4D4D8"
174
+ },
175
+ bg: {
176
+ default: "#FDFDFD",
177
+ error: "#FEF2F2"
178
+ }
179
+ }
180
+ }
181
+ },
182
+ backgroundImage: {
183
+ "ui-bg-color": "linear-gradient(110deg, #9CD5F5 3.09%, #B1B8E6 33.47%, rgba(185, 155, 215, 0.90) 62.82%, #A293DF 84.45%, #878AEA 106.08%)",
184
+ "ui-bg-page": "radial-gradient(70.47% 70.47% at 50% 50%, #FDFDFD 0%, #F3F1FF 50%, #F1FCFF 100%)",
185
+ "ui-btn-primary": "linear-gradient(180deg, #828EF7 0%, #6C70F0 100%)",
186
+ "ui-btn-secondary": "linear-gradient(180deg, #4277EF 0%, #669BF4 100%)",
187
+ "ui-btn-accept": "linear-gradient(282deg, #30C36D 6.81%, #6BCD8A 93.19%)",
188
+ "ui-btn-destructive": "linear-gradient(282deg, #FF384A 7.07%, #FF5463 92.93%)",
189
+ "ui-status-bg-positive": "linear-gradient(0deg, #C4FFD8 0%, #68FF9D 100%)",
190
+ "ui-status-bg-negative": "linear-gradient(0deg, #FECACA 0%, #FF8F8F 100%)",
191
+ "ui-status-bg-neutral": "linear-gradient(0deg, #E1EBFF 0%, #C7E8FF 100%)",
192
+ "ui-status-order": "linear-gradient(282deg, #30C36D 6.81%, #6BCD8A 93.19%)",
193
+ "ui-status-out-of-stock": "linear-gradient(282deg, #FF384A 7.07%, #FF5463 92.93%)",
194
+ "ui-status-in-stock": "linear-gradient(282deg, #30A8FF 6.81%, #73BAED 93.19%)",
195
+ "ui-line": "linear-gradient(90deg, #D3D4FF 0%, #7587EA 50%, #AEC0FF 100%)"
196
+ },
197
+ boxShadow: {
198
+ "ui-sd-primary": "0 4px 20px 0 rgba(104, 109, 224, 0.5)",
199
+ "ui-sd-base": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
200
+ "ui-sd-destructive": "0 10px 10px 0 rgba(255, 56, 74, 0.15)",
201
+ "ui-sd-accept": "0 10px 10px 0 rgba(46, 213, 115, 0.15)",
202
+ "ui-xl": "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
203
+ "ui-soft": "0px 5px 12px 0px rgba(0, 67, 101, 0.08)",
204
+ "ui-muli": "0px 5px 50px 0px rgba(0, 67, 101, 0.08), 0px 2px 6px 0px rgba(130, 169, 188, 0.08)",
205
+ "ui-category-effect": "0px 4px 50px 0px rgba(0, 67, 101, 0.08)",
206
+ "ui-flat": "0px 0.25rem 0.625rem 0px rgba(99, 102, 241, 0.07)",
207
+ "ui-overlay": "0px 4px 4px 1px rgba(99, 102, 241, 0.04)",
208
+ "ui-sticky-nav": "0px 3px 12px -1px rgba(151, 71, 255, 0.07)",
209
+ "ui-dialog": "0px 8px 12px 0px rgba(99, 102, 241, 0.15)"
210
+ },
211
+ fontSize: {
212
+ "ui-h1": ["1.5rem", "2rem"],
213
+ "ui-h2": ["1.25rem", "1.75rem"],
214
+ "ui-h3": ["1.125rem", "1.75rem"],
215
+ "ui-p": ["1rem", "1.5rem"],
216
+ "ui-note": ["0.875rem", "1.25rem"],
217
+ "ui-small-note": ["0.75rem", "1rem"]
218
+ },
219
+ keyframes: {
220
+ "accordion-down": {
221
+ from: { height: "0" },
222
+ to: { height: "var(--radix-accordion-content-height)" }
223
+ },
224
+ "accordion-up": {
225
+ from: { height: "var(--radix-accordion-content-height)" },
226
+ to: { height: "0" }
227
+ }
228
+ },
229
+ animation: {
230
+ "accordion-down": "accordion-down 0.2s ease-out",
231
+ "accordion-up": "accordion-up 0.2s ease-out"
232
+ }
233
+ };
234
+ var tailwindTheme_default = themes;
235
+
236
+ // packages/libs/utils.ts
237
+ import clsx from "clsx";
238
+ import { extendTailwindMerge } from "tailwind-merge";
239
+ var customTailwindMerge = () => {
240
+ return extendTailwindMerge({
241
+ ...tailwindTheme_default,
242
+ prefix: ""
243
+ });
244
+ };
245
+ var cn = (...inputs) => {
246
+ const customTwMerge = customTailwindMerge();
247
+ return customTwMerge(clsx(inputs));
248
+ };
249
+
250
+ // packages/Atoms/Popover/index.tsx
251
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
252
+ import { jsx } from "react/jsx-runtime";
253
+ var Popover = PopoverPrimitive.Root;
254
+ var PopoverTrigger = PopoverPrimitive.Trigger;
255
+ var PopoverContent = forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(
256
+ PopoverPrimitive.Content,
257
+ {
258
+ ref,
259
+ align,
260
+ sideOffset,
261
+ className: cn(
262
+ "z-50 w-72",
263
+ "rounded-md border",
264
+ "bg-ui-surface-50 p-4 text-ui-text-800",
265
+ "shadow-md outline-none",
266
+ "data-[state=open]:animate-in",
267
+ "data-[state=open]:fade-in-0",
268
+ "data-[state=open]:zoom-in-95",
269
+ "data-[state=closed]:animate-out",
270
+ "data-[state=closed]:fade-out-0",
271
+ "data-[state=closed]:zoom-out-95",
272
+ "data-[side=bottom]:slide-in-from-top-2",
273
+ "data-[side=left]:slide-in-from-right-2",
274
+ "data-[side=right]:slide-in-from-left-2",
275
+ "data-[side=top]:slide-in-from-bottom-2",
276
+ className
277
+ ),
278
+ ...props
279
+ }
280
+ ) }));
281
+ PopoverContent.displayName = PopoverPrimitive.Content.displayName;
282
+ export {
283
+ Popover,
284
+ PopoverContent,
285
+ PopoverTrigger
286
+ };
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  // packages/Atoms/Progress/index.tsx
2
4
  import { forwardRef } from "react";
3
5
 
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  // packages/Atoms/QuantityBtn/index.tsx
2
4
  import {
3
5
  useCallback,
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
3
+
4
+ declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
6
+
7
+ export { RadioGroup, RadioGroupItem };
@@ -0,0 +1,285 @@
1
+ "use client";
2
+
3
+ // packages/Atoms/RadioGroup/index.tsx
4
+ import { forwardRef } from "react";
5
+
6
+ // packages/tailwindTheme.ts
7
+ var themes = {
8
+ spacing: {
9
+ 30: "7.5rem",
10
+ // 120px
11
+ 33: "8.25rem"
12
+ // 132px
13
+ },
14
+ colors: {
15
+ ui: {
16
+ white: "#ffffff",
17
+ "white-primary": "#ffffff",
18
+ "black-primary": "#111315",
19
+ "bg-white": "#FAFAFA",
20
+ primary: {
21
+ default: "#6C70F0",
22
+ 50: "#EEF2FF",
23
+ 100: "#E0E7FF",
24
+ 200: "#C8D2FD",
25
+ 300: "#A6B6FB",
26
+ 400: "#828EF7",
27
+ 500: "#6C70F0",
28
+ 600: "#5048E3",
29
+ 700: "#443AC8",
30
+ 800: "#3731A2",
31
+ 900: "#312F80",
32
+ 950: "#1F1C4A"
33
+ },
34
+ secondary: {
35
+ default: "#C170FF",
36
+ 50: "#F9F1FF",
37
+ 100: "#F3E2FF",
38
+ 200: "#ECD4FF",
39
+ 300: "#E0B8FF",
40
+ 400: "#D49BFF",
41
+ 500: "#C170FF",
42
+ 600: "#AE65E6",
43
+ 700: "#9A5ACC",
44
+ 800: "#874EB3",
45
+ 900: "#613880",
46
+ 950: "#3A224C"
47
+ },
48
+ tertiary: {
49
+ default: "#5B8CFF",
50
+ 50: "#EFF4FF",
51
+ 100: "#DEE8FF",
52
+ 200: "#CEDDFF",
53
+ 300: "#BDD1FF",
54
+ 400: "#7CA3FF",
55
+ 500: "#5B8CFF",
56
+ 600: "#527EE6",
57
+ 700: "#4062B3",
58
+ 800: "#2E4680",
59
+ 900: "#243866",
60
+ 950: "#1B2A4C"
61
+ },
62
+ destructive: {
63
+ default: "#EF4444",
64
+ 50: "#FEF2F2",
65
+ 100: "#FEE2E2",
66
+ 200: "#FECACA",
67
+ 300: "#FCA5A5",
68
+ 400: "#F87171",
69
+ 500: "#EF4444",
70
+ 600: "#DC2626",
71
+ 700: "#B91C1C",
72
+ 800: "#991B1B",
73
+ 900: "#7F1D1D",
74
+ 950: "#450A0A"
75
+ },
76
+ success: {
77
+ default: "#22c55e",
78
+ 50: "#f0fdf4",
79
+ 100: "#dcfce7",
80
+ 200: "#bbf7d0",
81
+ 300: "#86efac",
82
+ 400: "#4ade80",
83
+ 500: "#22c55e",
84
+ 600: "#16a34a",
85
+ 700: "#15803d",
86
+ 800: "#166534",
87
+ 900: "#14532d",
88
+ 950: "#052e16"
89
+ },
90
+ warn: {
91
+ default: "#f59e0b",
92
+ 50: "#fffbeb",
93
+ 100: "#fef3c7",
94
+ 200: "#fde68a",
95
+ 300: "#fcd34d",
96
+ 400: "#fbbf24",
97
+ 500: "#f59e0b",
98
+ 600: "#d97706",
99
+ 700: "#b45309",
100
+ 800: "#92400e",
101
+ 900: "#78350f",
102
+ 950: "#451a03"
103
+ },
104
+ text: {
105
+ black: "#09090b",
106
+ white: "#fafafa",
107
+ 50: "#fafafa",
108
+ 100: "#f4f4f5",
109
+ 200: "#e4e4e7",
110
+ 300: "#d4d4d8",
111
+ 400: "#a1a1aa",
112
+ 500: "#71717a",
113
+ 600: "#52525b",
114
+ 700: "#3f3f46",
115
+ 800: "#27272a",
116
+ 900: "#18181b",
117
+ 950: "#09090b"
118
+ },
119
+ surface: {
120
+ default: "#ffffff",
121
+ 50: "#ffffff",
122
+ 100: "#f5f5f5",
123
+ 200: "#e5e5e5",
124
+ 300: "#d4d4d4",
125
+ 400: "#a3a3a3",
126
+ 500: "#737373",
127
+ 600: "#525252",
128
+ 700: "#404040",
129
+ 800: "#262626",
130
+ 900: "#171717",
131
+ 950: "#0a0a0a"
132
+ },
133
+ border: {
134
+ default: "#64748B",
135
+ 50: "#f9fafb",
136
+ 100: "#f3f4f6",
137
+ 200: "#e5e7eb",
138
+ 300: "#d1d5db",
139
+ 400: "#9ca3af",
140
+ 500: "#64748B",
141
+ 600: "#475569",
142
+ 700: "#334155",
143
+ 800: "#1E293B",
144
+ 900: "#0F172A",
145
+ 950: "#020817"
146
+ },
147
+ // TEXT COLOR
148
+ "text-primary": "#111315",
149
+ "text-secondary": "#30353C",
150
+ "text-third": "#30353CCC",
151
+ "text-placeholder": "#11131566",
152
+ "text-white-placeholder": "#FDFDFD99",
153
+ "text-black": {
154
+ primary: "#19191B",
155
+ secondary: "#222325",
156
+ third: "#292A2E",
157
+ fourth: "#5F606A",
158
+ placeholder: "#B2B3BD"
159
+ },
160
+ "text-white": {
161
+ primary: "#FCFCFC",
162
+ secondary: "#F9F9F9",
163
+ third: "#D9D9D9"
164
+ },
165
+ // COLOR SPECIAL
166
+ "positive-flat": "#4ADE80",
167
+ "destruction-flat": "#EF4444",
168
+ "neutral-flat": "#BFDBFE",
169
+ rating: "#FDE047",
170
+ input: {
171
+ border: {
172
+ active: "#71717A",
173
+ disabled: "#D4D4D8"
174
+ },
175
+ bg: {
176
+ default: "#FDFDFD",
177
+ error: "#FEF2F2"
178
+ }
179
+ }
180
+ }
181
+ },
182
+ backgroundImage: {
183
+ "ui-bg-color": "linear-gradient(110deg, #9CD5F5 3.09%, #B1B8E6 33.47%, rgba(185, 155, 215, 0.90) 62.82%, #A293DF 84.45%, #878AEA 106.08%)",
184
+ "ui-bg-page": "radial-gradient(70.47% 70.47% at 50% 50%, #FDFDFD 0%, #F3F1FF 50%, #F1FCFF 100%)",
185
+ "ui-btn-primary": "linear-gradient(180deg, #828EF7 0%, #6C70F0 100%)",
186
+ "ui-btn-secondary": "linear-gradient(180deg, #4277EF 0%, #669BF4 100%)",
187
+ "ui-btn-accept": "linear-gradient(282deg, #30C36D 6.81%, #6BCD8A 93.19%)",
188
+ "ui-btn-destructive": "linear-gradient(282deg, #FF384A 7.07%, #FF5463 92.93%)",
189
+ "ui-status-bg-positive": "linear-gradient(0deg, #C4FFD8 0%, #68FF9D 100%)",
190
+ "ui-status-bg-negative": "linear-gradient(0deg, #FECACA 0%, #FF8F8F 100%)",
191
+ "ui-status-bg-neutral": "linear-gradient(0deg, #E1EBFF 0%, #C7E8FF 100%)",
192
+ "ui-status-order": "linear-gradient(282deg, #30C36D 6.81%, #6BCD8A 93.19%)",
193
+ "ui-status-out-of-stock": "linear-gradient(282deg, #FF384A 7.07%, #FF5463 92.93%)",
194
+ "ui-status-in-stock": "linear-gradient(282deg, #30A8FF 6.81%, #73BAED 93.19%)",
195
+ "ui-line": "linear-gradient(90deg, #D3D4FF 0%, #7587EA 50%, #AEC0FF 100%)"
196
+ },
197
+ boxShadow: {
198
+ "ui-sd-primary": "0 4px 20px 0 rgba(104, 109, 224, 0.5)",
199
+ "ui-sd-base": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
200
+ "ui-sd-destructive": "0 10px 10px 0 rgba(255, 56, 74, 0.15)",
201
+ "ui-sd-accept": "0 10px 10px 0 rgba(46, 213, 115, 0.15)",
202
+ "ui-xl": "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
203
+ "ui-soft": "0px 5px 12px 0px rgba(0, 67, 101, 0.08)",
204
+ "ui-muli": "0px 5px 50px 0px rgba(0, 67, 101, 0.08), 0px 2px 6px 0px rgba(130, 169, 188, 0.08)",
205
+ "ui-category-effect": "0px 4px 50px 0px rgba(0, 67, 101, 0.08)",
206
+ "ui-flat": "0px 0.25rem 0.625rem 0px rgba(99, 102, 241, 0.07)",
207
+ "ui-overlay": "0px 4px 4px 1px rgba(99, 102, 241, 0.04)",
208
+ "ui-sticky-nav": "0px 3px 12px -1px rgba(151, 71, 255, 0.07)",
209
+ "ui-dialog": "0px 8px 12px 0px rgba(99, 102, 241, 0.15)"
210
+ },
211
+ fontSize: {
212
+ "ui-h1": ["1.5rem", "2rem"],
213
+ "ui-h2": ["1.25rem", "1.75rem"],
214
+ "ui-h3": ["1.125rem", "1.75rem"],
215
+ "ui-p": ["1rem", "1.5rem"],
216
+ "ui-note": ["0.875rem", "1.25rem"],
217
+ "ui-small-note": ["0.75rem", "1rem"]
218
+ },
219
+ keyframes: {
220
+ "accordion-down": {
221
+ from: { height: "0" },
222
+ to: { height: "var(--radix-accordion-content-height)" }
223
+ },
224
+ "accordion-up": {
225
+ from: { height: "var(--radix-accordion-content-height)" },
226
+ to: { height: "0" }
227
+ }
228
+ },
229
+ animation: {
230
+ "accordion-down": "accordion-down 0.2s ease-out",
231
+ "accordion-up": "accordion-up 0.2s ease-out"
232
+ }
233
+ };
234
+ var tailwindTheme_default = themes;
235
+
236
+ // packages/libs/utils.ts
237
+ import clsx from "clsx";
238
+ import { extendTailwindMerge } from "tailwind-merge";
239
+ var customTailwindMerge = () => {
240
+ return extendTailwindMerge({
241
+ ...tailwindTheme_default,
242
+ prefix: ""
243
+ });
244
+ };
245
+ var cn = (...inputs) => {
246
+ const customTwMerge = customTailwindMerge();
247
+ return customTwMerge(clsx(inputs));
248
+ };
249
+
250
+ // packages/Atoms/RadioGroup/index.tsx
251
+ import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
252
+ import { Circle } from "lucide-react";
253
+ import { jsx } from "react/jsx-runtime";
254
+ var RadioGroup = forwardRef(({ className, ...props }, ref) => {
255
+ return /* @__PURE__ */ jsx(RadioGroupPrimitive.Root, { className: cn("grid gap-2", className), ...props, ref });
256
+ });
257
+ RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
258
+ var RadioGroupItem = forwardRef(({ className, ...props }, ref) => {
259
+ return /* @__PURE__ */ jsx(
260
+ RadioGroupPrimitive.Item,
261
+ {
262
+ ref,
263
+ className: cn(
264
+ "focus-visible:ring-ring",
265
+ "aspect-square size-4 rounded-full",
266
+ "border border-ui-primary-500",
267
+ "text-ui-primary-400",
268
+ "focus:outline-none",
269
+ "focus-visible:ring-2",
270
+ "focus-visible:ring-offset-2",
271
+ "disabled:cursor-not-allowed",
272
+ "disabled:opacity-50",
273
+ "transition duration-1000 ease-in-out",
274
+ className
275
+ ),
276
+ ...props,
277
+ children: /* @__PURE__ */ jsx(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx(Circle, { className: "size-2.5 fill-current text-current" }) })
278
+ }
279
+ );
280
+ });
281
+ RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
282
+ export {
283
+ RadioGroup,
284
+ RadioGroupItem
285
+ };
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  // packages/Atoms/ScrollBar/index.tsx
2
4
  import { forwardRef } from "react";
3
5
 
@@ -254,13 +256,13 @@ var ScrollBar = forwardRef(({ className, orientation = "vertical", ...props }, r
254
256
  ref,
255
257
  orientation,
256
258
  className: cn(
257
- "flex touch-none select-none transition-colors",
259
+ "flex touch-none select-none bg-ui-border-100 transition-all duration-300",
258
260
  orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-px",
259
261
  orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-px",
260
262
  className
261
263
  ),
262
264
  ...props,
263
- children: /* @__PURE__ */ jsx(ScrollAreaPrimitive.ScrollAreaThumb, { className: "bg-border relative flex-1 rounded-full" })
265
+ children: /* @__PURE__ */ jsx(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-ui-border-400" })
264
266
  }
265
267
  ));
266
268
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  // packages/Atoms/Select/index.tsx
2
4
  import { forwardRef } from "react";
3
5
 
@@ -0,0 +1,29 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
3
+ import React__default, { ComponentPropsWithoutRef } from 'react';
4
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
5
+ import { VariantProps } from 'class-variance-authority';
6
+
7
+ declare const Sheet: React__default.FC<DialogPrimitive.DialogProps>;
8
+ declare const SheetTrigger: React__default.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
9
+ declare const SheetClose: React__default.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React__default.RefAttributes<HTMLButtonElement>>;
10
+ declare const SheetPortal: React__default.FC<DialogPrimitive.DialogPortalProps>;
11
+ declare const SheetOverlay: React__default.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
12
+ declare const sheetVariants: (props?: ({
13
+ side?: "bottom" | "left" | "right" | "top" | null | undefined;
14
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
15
+ interface SheetContentProps extends ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
16
+ }
17
+ declare const SheetContent: React__default.ForwardRefExoticComponent<SheetContentProps & React__default.RefAttributes<HTMLDivElement>>;
18
+ declare const SheetHeader: {
19
+ ({ className, ...props }: React__default.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
20
+ displayName: string;
21
+ };
22
+ declare const SheetFooter: {
23
+ ({ className, ...props }: React__default.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
24
+ displayName: string;
25
+ };
26
+ declare const SheetTitle: React__default.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React__default.RefAttributes<HTMLHeadingElement>, "ref"> & React__default.RefAttributes<HTMLHeadingElement>>;
27
+ declare const SheetDescription: React__default.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React__default.RefAttributes<HTMLParagraphElement>, "ref"> & React__default.RefAttributes<HTMLParagraphElement>>;
28
+
29
+ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger };