@customafk/lunas-ui 0.0.2-r → 0.0.2-t

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 (37) hide show
  1. package/dist/Atoms/AspectRatio/index.js +2 -0
  2. package/dist/Atoms/Avatar/index.js +1 -0
  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/Command/index.d.ts +6 -6
  9. package/dist/Atoms/DropdownMenu/index.js +2 -0
  10. package/dist/Atoms/Label/index.js +2 -0
  11. package/dist/Atoms/Money/index.js +2 -0
  12. package/dist/Atoms/Navbar/index.js +2 -0
  13. package/dist/Atoms/NavigationMenu/index.js +2 -0
  14. package/dist/Atoms/Progress/index.js +2 -0
  15. package/dist/Atoms/QuantityBtn/index.js +2 -0
  16. package/dist/Atoms/ScrollBar/index.js +2 -0
  17. package/dist/Atoms/Select/index.js +2 -0
  18. package/dist/Atoms/Sheet/index.d.ts +29 -0
  19. package/dist/Atoms/Sheet/index.js +422 -0
  20. package/dist/Atoms/Slider/index.d.ts +6 -0
  21. package/dist/Atoms/Slider/index.js +286 -0
  22. package/dist/Atoms/SmallQuantityBtn/index.d.ts +9 -0
  23. package/dist/Atoms/SmallQuantityBtn/index.js +110 -0
  24. package/dist/Atoms/Switch/index.d.ts +6 -0
  25. package/dist/Atoms/Switch/index.js +293 -0
  26. package/dist/Atoms/Tabs/index.d.ts +9 -0
  27. package/dist/Atoms/Tabs/index.js +304 -0
  28. package/dist/Atoms/Textarea/index.d.ts +5 -0
  29. package/dist/Atoms/Textarea/index.js +283 -0
  30. package/dist/Atoms/Tooltip/index.d.ts +10 -0
  31. package/dist/Atoms/Tooltip/index.js +289 -0
  32. package/dist/Atoms/UserAvatar/index.js +1 -0
  33. package/dist/Atoms/XButton/index.d.ts +10 -0
  34. package/dist/Atoms/XButton/index.js +309 -0
  35. package/dist/Organisms/Header/index.d.ts +2 -1
  36. package/dist/Organisms/Header/index.js +240 -137
  37. package/package.json +12 -1
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  // packages/Atoms/AspectRatio/index.tsx
2
4
  import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
3
5
  var AspectRatio = AspectRatioPrimitive.Root;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  // packages/Atoms/Badge/index.tsx
2
4
  import { memo } from "react";
3
5
 
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  // packages/Atoms/Breadcrumb/index.tsx
2
4
  import { forwardRef } from "react";
3
5
 
@@ -327,30 +329,12 @@ var BreadcrumbPage = forwardRef(
327
329
  )
328
330
  );
329
331
  BreadcrumbPage.displayName = "BreadcrumbPage";
330
- var BreadcrumbSeparator = ({ children, className, ...props }) => /* @__PURE__ */ jsx2(
331
- "li",
332
- {
333
- role: "presentation",
334
- "aria-hidden": "true",
335
- className: cn("[&>svg]:size-3.5", className),
336
- ...props,
337
- children: children ?? /* @__PURE__ */ jsx2(Lucide2ChevronRight_default, {})
338
- }
339
- );
332
+ var BreadcrumbSeparator = ({ children, className, ...props }) => /* @__PURE__ */ jsx2("li", { className: cn("[&>svg]:size-3.5", className), ...props, children: children ?? /* @__PURE__ */ jsx2(Lucide2ChevronRight_default, {}) });
340
333
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
341
- var BreadcrumbEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs(
342
- "span",
343
- {
344
- role: "presentation",
345
- "aria-hidden": "true",
346
- className: cn("flex size-9 items-center justify-center", className),
347
- ...props,
348
- children: [
349
- /* @__PURE__ */ jsx2(MoreHorizontal, { className: "size-4" }),
350
- /* @__PURE__ */ jsx2("span", { className: "sr-only", children: "More" })
351
- ]
352
- }
353
- );
334
+ var BreadcrumbEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs("span", { className: cn("flex size-9 items-center justify-center", className), ...props, children: [
335
+ /* @__PURE__ */ jsx2(MoreHorizontal, { className: "size-4" }),
336
+ /* @__PURE__ */ jsx2("span", { className: "sr-only", children: "More" })
337
+ ] });
354
338
  BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
355
339
  export {
356
340
  Breadcrumb,
@@ -4,8 +4,8 @@ import * as class_variance_authority_dist_types from 'class-variance-authority/d
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const buttonVariants: (props?: ({
7
- variant?: "default" | "secondary" | "outline" | "destructive" | "destructive-secondary" | "destructive-outline" | "sort-outline" | "normal" | null | undefined;
8
- size?: "base" | "small" | "default" | "large" | null | undefined;
7
+ variant?: "normal" | "default" | "secondary" | "outline" | "destructive" | "destructive-secondary" | "destructive-outline" | "sort-outline" | null | undefined;
8
+ size?: "small" | "default" | "large" | "base" | null | undefined;
9
9
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
10
10
 
11
11
  interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  // packages/Atoms/Button/index.tsx
2
4
  import { forwardRef, memo } from "react";
3
5
 
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  // packages/Atoms/Card/index.tsx
2
4
  import React from "react";
3
5
 
@@ -8,7 +8,7 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
8
8
  ref?: React.Ref<HTMLDivElement>;
9
9
  } & {
10
10
  asChild?: boolean;
11
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
11
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
12
12
  label?: string;
13
13
  shouldFilter?: boolean;
14
14
  filter?: (value: string, search: string, keywords?: string[]) => number;
@@ -36,7 +36,7 @@ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
36
36
  ref?: React.Ref<HTMLDivElement>;
37
37
  } & {
38
38
  asChild?: boolean;
39
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
39
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
40
40
  label?: string;
41
41
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
42
42
  declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
@@ -45,14 +45,14 @@ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
45
45
  ref?: React.Ref<HTMLDivElement>;
46
46
  } & {
47
47
  asChild?: boolean;
48
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
48
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
49
49
  declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
50
50
  children?: React.ReactNode;
51
51
  } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
52
52
  ref?: React.Ref<HTMLDivElement>;
53
53
  } & {
54
54
  asChild?: boolean;
55
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
55
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
56
56
  heading?: React.ReactNode;
57
57
  value?: string;
58
58
  forceMount?: boolean;
@@ -61,7 +61,7 @@ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<R
61
61
  ref?: React.Ref<HTMLDivElement>;
62
62
  } & {
63
63
  asChild?: boolean;
64
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
64
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
65
65
  alwaysRender?: boolean;
66
66
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
67
67
  declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
@@ -70,7 +70,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
70
70
  ref?: React.Ref<HTMLDivElement>;
71
71
  } & {
72
72
  asChild?: boolean;
73
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "value" | "disabled"> & {
73
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
74
74
  disabled?: boolean;
75
75
  onSelect?: (value: string) => void;
76
76
  value?: string;
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  // packages/Atoms/DropdownMenu/index.tsx
2
4
  import React from "react";
3
5
 
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  // packages/Atoms/Label/index.tsx
2
4
  import * as React from "react";
3
5
 
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  // packages/Atoms/Money/index.tsx
2
4
  import { useMemo } from "react";
3
5
 
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  // packages/Atoms/Navbar/index.tsx
2
4
  import { forwardRef, memo } from "react";
3
5
 
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  // packages/Atoms/NavigationMenu/index.tsx
2
4
  import { forwardRef } from "react";
3
5
 
@@ -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,
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  // packages/Atoms/ScrollBar/index.tsx
2
4
  import { forwardRef } from "react";
3
5
 
@@ -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?: "top" | "right" | "bottom" | "left" | 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 };
@@ -0,0 +1,422 @@
1
+ "use client";
2
+
3
+ // packages/Atoms/Sheet/index.tsx
4
+ import { forwardRef } from "react";
5
+
6
+ // packages/Atoms/XButton/index.tsx
7
+ import { memo } from "react";
8
+
9
+ // packages/utils/constants.ts
10
+ var DEFAULT_ICON_SIZE = 24;
11
+
12
+ // packages/Icons/Lucide2XIcon.tsx
13
+ import { jsx } from "react/jsx-runtime";
14
+ var Lucide2XIcon = (props) => {
15
+ const { color, size } = props;
16
+ return /* @__PURE__ */ jsx(
17
+ "svg",
18
+ {
19
+ xmlns: "http://www.w3.org/2000/svg",
20
+ width: size ?? DEFAULT_ICON_SIZE,
21
+ height: size ?? DEFAULT_ICON_SIZE,
22
+ viewBox: "0 0 16 16",
23
+ fill: "none",
24
+ ...props,
25
+ children: /* @__PURE__ */ jsx(
26
+ "path",
27
+ {
28
+ d: "M12 4L4 12M4 4L12 12",
29
+ stroke: color ?? "#434349",
30
+ strokeWidth: "1.5",
31
+ strokeLinecap: "round",
32
+ strokeLinejoin: "round"
33
+ }
34
+ )
35
+ }
36
+ );
37
+ };
38
+ Lucide2XIcon.displayName = "Lucide2XIcon";
39
+ var Lucide2XIcon_default = Lucide2XIcon;
40
+
41
+ // packages/tailwindTheme.ts
42
+ var themes = {
43
+ spacing: {
44
+ 30: "7.5rem",
45
+ // 120px
46
+ 33: "8.25rem"
47
+ // 132px
48
+ },
49
+ colors: {
50
+ ui: {
51
+ white: "#ffffff",
52
+ "white-primary": "#ffffff",
53
+ "black-primary": "#111315",
54
+ "bg-white": "#FAFAFA",
55
+ primary: {
56
+ default: "#6C70F0",
57
+ 50: "#EEF2FF",
58
+ 100: "#E0E7FF",
59
+ 200: "#C8D2FD",
60
+ 300: "#A6B6FB",
61
+ 400: "#828EF7",
62
+ 500: "#6C70F0",
63
+ 600: "#5048E3",
64
+ 700: "#443AC8",
65
+ 800: "#3731A2",
66
+ 900: "#312F80",
67
+ 950: "#1F1C4A"
68
+ },
69
+ secondary: {
70
+ default: "#C170FF",
71
+ 50: "#F9F1FF",
72
+ 100: "#F3E2FF",
73
+ 200: "#ECD4FF",
74
+ 300: "#E0B8FF",
75
+ 400: "#D49BFF",
76
+ 500: "#C170FF",
77
+ 600: "#AE65E6",
78
+ 700: "#9A5ACC",
79
+ 800: "#874EB3",
80
+ 900: "#613880",
81
+ 950: "#3A224C"
82
+ },
83
+ tertiary: {
84
+ default: "#5B8CFF",
85
+ 50: "#EFF4FF",
86
+ 100: "#DEE8FF",
87
+ 200: "#CEDDFF",
88
+ 300: "#BDD1FF",
89
+ 400: "#7CA3FF",
90
+ 500: "#5B8CFF",
91
+ 600: "#527EE6",
92
+ 700: "#4062B3",
93
+ 800: "#2E4680",
94
+ 900: "#243866",
95
+ 950: "#1B2A4C"
96
+ },
97
+ destructive: {
98
+ default: "#EF4444",
99
+ 50: "#FEF2F2",
100
+ 100: "#FEE2E2",
101
+ 200: "#FECACA",
102
+ 300: "#FCA5A5",
103
+ 400: "#F87171",
104
+ 500: "#EF4444",
105
+ 600: "#DC2626",
106
+ 700: "#B91C1C",
107
+ 800: "#991B1B",
108
+ 900: "#7F1D1D",
109
+ 950: "#450A0A"
110
+ },
111
+ success: {
112
+ default: "#22c55e",
113
+ 50: "#f0fdf4",
114
+ 100: "#dcfce7",
115
+ 200: "#bbf7d0",
116
+ 300: "#86efac",
117
+ 400: "#4ade80",
118
+ 500: "#22c55e",
119
+ 600: "#16a34a",
120
+ 700: "#15803d",
121
+ 800: "#166534",
122
+ 900: "#14532d",
123
+ 950: "#052e16"
124
+ },
125
+ warn: {
126
+ default: "#f59e0b",
127
+ 50: "#fffbeb",
128
+ 100: "#fef3c7",
129
+ 200: "#fde68a",
130
+ 300: "#fcd34d",
131
+ 400: "#fbbf24",
132
+ 500: "#f59e0b",
133
+ 600: "#d97706",
134
+ 700: "#b45309",
135
+ 800: "#92400e",
136
+ 900: "#78350f",
137
+ 950: "#451a03"
138
+ },
139
+ text: {
140
+ black: "#09090b",
141
+ white: "#fafafa",
142
+ 50: "#fafafa",
143
+ 100: "#f4f4f5",
144
+ 200: "#e4e4e7",
145
+ 300: "#d4d4d8",
146
+ 400: "#a1a1aa",
147
+ 500: "#71717a",
148
+ 600: "#52525b",
149
+ 700: "#3f3f46",
150
+ 800: "#27272a",
151
+ 900: "#18181b",
152
+ 950: "#09090b"
153
+ },
154
+ surface: {
155
+ default: "#ffffff",
156
+ 50: "#ffffff",
157
+ 100: "#f5f5f5",
158
+ 200: "#e5e5e5",
159
+ 300: "#d4d4d4",
160
+ 400: "#a3a3a3",
161
+ 500: "#737373",
162
+ 600: "#525252",
163
+ 700: "#404040",
164
+ 800: "#262626",
165
+ 900: "#171717",
166
+ 950: "#0a0a0a"
167
+ },
168
+ border: {
169
+ default: "#64748B",
170
+ 50: "#f9fafb",
171
+ 100: "#f3f4f6",
172
+ 200: "#e5e7eb",
173
+ 300: "#d1d5db",
174
+ 400: "#9ca3af",
175
+ 500: "#64748B",
176
+ 600: "#475569",
177
+ 700: "#334155",
178
+ 800: "#1E293B",
179
+ 900: "#0F172A",
180
+ 950: "#020817"
181
+ },
182
+ // TEXT COLOR
183
+ "text-primary": "#111315",
184
+ "text-secondary": "#30353C",
185
+ "text-third": "#30353CCC",
186
+ "text-placeholder": "#11131566",
187
+ "text-white-placeholder": "#FDFDFD99",
188
+ "text-black": {
189
+ primary: "#19191B",
190
+ secondary: "#222325",
191
+ third: "#292A2E",
192
+ fourth: "#5F606A",
193
+ placeholder: "#B2B3BD"
194
+ },
195
+ "text-white": {
196
+ primary: "#FCFCFC",
197
+ secondary: "#F9F9F9",
198
+ third: "#D9D9D9"
199
+ },
200
+ // COLOR SPECIAL
201
+ "positive-flat": "#4ADE80",
202
+ "destruction-flat": "#EF4444",
203
+ "neutral-flat": "#BFDBFE",
204
+ rating: "#FDE047",
205
+ input: {
206
+ border: {
207
+ active: "#71717A",
208
+ disabled: "#D4D4D8"
209
+ },
210
+ bg: {
211
+ default: "#FDFDFD",
212
+ error: "#FEF2F2"
213
+ }
214
+ }
215
+ }
216
+ },
217
+ backgroundImage: {
218
+ "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%)",
219
+ "ui-bg-page": "radial-gradient(70.47% 70.47% at 50% 50%, #FDFDFD 0%, #F3F1FF 50%, #F1FCFF 100%)",
220
+ "ui-btn-primary": "linear-gradient(180deg, #828EF7 0%, #6C70F0 100%)",
221
+ "ui-btn-secondary": "linear-gradient(180deg, #4277EF 0%, #669BF4 100%)",
222
+ "ui-btn-accept": "linear-gradient(282deg, #30C36D 6.81%, #6BCD8A 93.19%)",
223
+ "ui-btn-destructive": "linear-gradient(282deg, #FF384A 7.07%, #FF5463 92.93%)",
224
+ "ui-status-bg-positive": "linear-gradient(0deg, #C4FFD8 0%, #68FF9D 100%)",
225
+ "ui-status-bg-negative": "linear-gradient(0deg, #FECACA 0%, #FF8F8F 100%)",
226
+ "ui-status-bg-neutral": "linear-gradient(0deg, #E1EBFF 0%, #C7E8FF 100%)",
227
+ "ui-status-order": "linear-gradient(282deg, #30C36D 6.81%, #6BCD8A 93.19%)",
228
+ "ui-status-out-of-stock": "linear-gradient(282deg, #FF384A 7.07%, #FF5463 92.93%)",
229
+ "ui-status-in-stock": "linear-gradient(282deg, #30A8FF 6.81%, #73BAED 93.19%)",
230
+ "ui-line": "linear-gradient(90deg, #D3D4FF 0%, #7587EA 50%, #AEC0FF 100%)"
231
+ },
232
+ boxShadow: {
233
+ "ui-sd-primary": "0 4px 20px 0 rgba(104, 109, 224, 0.5)",
234
+ "ui-sd-base": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
235
+ "ui-sd-destructive": "0 10px 10px 0 rgba(255, 56, 74, 0.15)",
236
+ "ui-sd-accept": "0 10px 10px 0 rgba(46, 213, 115, 0.15)",
237
+ "ui-xl": "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
238
+ "ui-soft": "0px 5px 12px 0px rgba(0, 67, 101, 0.08)",
239
+ "ui-muli": "0px 5px 50px 0px rgba(0, 67, 101, 0.08), 0px 2px 6px 0px rgba(130, 169, 188, 0.08)",
240
+ "ui-category-effect": "0px 4px 50px 0px rgba(0, 67, 101, 0.08)",
241
+ "ui-flat": "0px 0.25rem 0.625rem 0px rgba(99, 102, 241, 0.07)",
242
+ "ui-overlay": "0px 4px 4px 1px rgba(99, 102, 241, 0.04)",
243
+ "ui-sticky-nav": "0px 3px 12px -1px rgba(151, 71, 255, 0.07)",
244
+ "ui-dialog": "0px 8px 12px 0px rgba(99, 102, 241, 0.15)"
245
+ },
246
+ fontSize: {
247
+ "ui-h1": ["1.5rem", "2rem"],
248
+ "ui-h2": ["1.25rem", "1.75rem"],
249
+ "ui-h3": ["1.125rem", "1.75rem"],
250
+ "ui-p": ["1rem", "1.5rem"],
251
+ "ui-note": ["0.875rem", "1.25rem"],
252
+ "ui-small-note": ["0.75rem", "1rem"]
253
+ },
254
+ keyframes: {
255
+ "accordion-down": {
256
+ from: { height: "0" },
257
+ to: { height: "var(--radix-accordion-content-height)" }
258
+ },
259
+ "accordion-up": {
260
+ from: { height: "var(--radix-accordion-content-height)" },
261
+ to: { height: "0" }
262
+ }
263
+ },
264
+ animation: {
265
+ "accordion-down": "accordion-down 0.2s ease-out",
266
+ "accordion-up": "accordion-up 0.2s ease-out"
267
+ }
268
+ };
269
+ var tailwindTheme_default = themes;
270
+
271
+ // packages/libs/utils.ts
272
+ import clsx from "clsx";
273
+ import { extendTailwindMerge } from "tailwind-merge";
274
+ var customTailwindMerge = () => {
275
+ return extendTailwindMerge({
276
+ ...tailwindTheme_default,
277
+ prefix: ""
278
+ });
279
+ };
280
+ var cn = (...inputs) => {
281
+ const customTwMerge = customTailwindMerge();
282
+ return customTwMerge(clsx(inputs));
283
+ };
284
+
285
+ // packages/Atoms/XButton/index.tsx
286
+ import { jsx as jsx2 } from "react/jsx-runtime";
287
+ var XButton = ({ isButton = true, isDisabled, onClick }) => {
288
+ const Comp = isButton ? "button" : "div";
289
+ return /* @__PURE__ */ jsx2(
290
+ Comp,
291
+ {
292
+ disabled: isDisabled,
293
+ className: cn(
294
+ "flex size-5 items-center justify-center",
295
+ "rounded-full",
296
+ "text-ui-text-500",
297
+ "enabled:hover:bg-ui-surface-100",
298
+ "enabled:hover:text-ui-text-700",
299
+ "enabled:active:bg-ui-surface-200",
300
+ "enabled:active:text-ui-text-900",
301
+ "disabled:cursor-not-allowed disabled:opacity-30",
302
+ "transition-colors duration-200"
303
+ ),
304
+ onClick,
305
+ children: /* @__PURE__ */ jsx2(Lucide2XIcon_default, { size: 14, color: "currentColor" })
306
+ }
307
+ );
308
+ };
309
+ var XButton_default = memo(XButton);
310
+
311
+ // packages/Atoms/Sheet/index.tsx
312
+ import * as SheetPrimitive from "@radix-ui/react-dialog";
313
+ import { cva } from "class-variance-authority";
314
+ import { jsx as jsx3, jsxs } from "react/jsx-runtime";
315
+ var Sheet = SheetPrimitive.Root;
316
+ var SheetTrigger = SheetPrimitive.Trigger;
317
+ var SheetClose = SheetPrimitive.Close;
318
+ var SheetPortal = SheetPrimitive.Portal;
319
+ var SheetOverlay = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx3(
320
+ SheetPrimitive.Overlay,
321
+ {
322
+ className: cn(
323
+ "fixed inset-0 z-50",
324
+ "bg-black/20",
325
+ "data-[state=open]:animate-in",
326
+ "data-[state=closed]:animate-out",
327
+ "data-[state=closed]:fade-out-0",
328
+ "data-[state=open]:fade-in-0",
329
+ className
330
+ ),
331
+ ...props,
332
+ ref
333
+ }
334
+ ));
335
+ SheetOverlay.displayName = SheetPrimitive.Overlay.displayName;
336
+ var sheetVariants = cva(
337
+ "fixed z-50 gap-4 bg-ui-surface-50 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",
338
+ {
339
+ variants: {
340
+ side: {
341
+ top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
342
+ bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
343
+ left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
344
+ right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
345
+ }
346
+ },
347
+ defaultVariants: {
348
+ side: "right"
349
+ }
350
+ }
351
+ );
352
+ var SheetContent = forwardRef(
353
+ ({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SheetPortal, { children: [
354
+ /* @__PURE__ */ jsx3(SheetOverlay, {}),
355
+ /* @__PURE__ */ jsxs(
356
+ SheetPrimitive.Content,
357
+ {
358
+ ref,
359
+ className: cn(sheetVariants({ side }), className),
360
+ ...props,
361
+ children: [
362
+ children,
363
+ /* @__PURE__ */ jsx3(
364
+ SheetPrimitive.Close,
365
+ {
366
+ className: cn(
367
+ "absolute right-4 top-4",
368
+ "rounded-full",
369
+ "enabled:hover:bg-ui-surface-100",
370
+ "enabled:hover:text-ui-text-700",
371
+ "enabled:active:bg-ui-surface-200",
372
+ "enabled:active:text-ui-text-900"
373
+ ),
374
+ children: /* @__PURE__ */ jsx3(XButton_default, { isButton: false })
375
+ }
376
+ )
377
+ ]
378
+ }
379
+ )
380
+ ] })
381
+ );
382
+ SheetContent.displayName = SheetPrimitive.Content.displayName;
383
+ var SheetHeader = ({ className, ...props }) => /* @__PURE__ */ jsx3("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
384
+ SheetHeader.displayName = "SheetHeader";
385
+ var SheetFooter = ({ className, ...props }) => /* @__PURE__ */ jsx3(
386
+ "div",
387
+ {
388
+ className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className),
389
+ ...props
390
+ }
391
+ );
392
+ SheetFooter.displayName = "SheetFooter";
393
+ var SheetTitle = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx3(
394
+ SheetPrimitive.Title,
395
+ {
396
+ ref,
397
+ className: cn("text-lg font-semibold text-ui-text-900", className),
398
+ ...props
399
+ }
400
+ ));
401
+ SheetTitle.displayName = SheetPrimitive.Title.displayName;
402
+ var SheetDescription = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx3(
403
+ SheetPrimitive.Description,
404
+ {
405
+ ref,
406
+ className: cn("text-xs text-ui-text-500", className),
407
+ ...props
408
+ }
409
+ ));
410
+ SheetDescription.displayName = SheetPrimitive.Description.displayName;
411
+ export {
412
+ Sheet,
413
+ SheetClose,
414
+ SheetContent,
415
+ SheetDescription,
416
+ SheetFooter,
417
+ SheetHeader,
418
+ SheetOverlay,
419
+ SheetPortal,
420
+ SheetTitle,
421
+ SheetTrigger
422
+ };
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ import * as SliderPrimitive from '@radix-ui/react-slider';
3
+
4
+ declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
5
+
6
+ export { Slider };