@customafk/lunas-ui 0.0.3-d → 0.0.3-f

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.
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const buttonVariants: (props?: ({
7
7
  variant?: "default" | "secondary" | "outline" | "destructive" | "destructive-secondary" | "destructive-outline" | "sort-outline" | "normal" | null | undefined;
8
- size?: "small" | "default" | "base" | "large" | null | undefined;
8
+ size?: "base" | "small" | "default" | "large" | null | undefined;
9
9
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
10
10
 
11
11
  interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -418,7 +418,7 @@ var CommandGroup = React2.forwardRef(({ className, ...props }, reference) => /*
418
418
  "[&_[cmdk-group-heading]]:py-1.5",
419
419
  "[&_[cmdk-group-heading]]:text-xs",
420
420
  "[&_[cmdk-group-heading]]:font-medium",
421
- "[&_[cmdk-group-heading]]:text-ui-text-800",
421
+ "[&_[cmdk-group-heading]]:text-ui-text-600",
422
422
  className
423
423
  ),
424
424
  ...props
@@ -0,0 +1,46 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ComponentProps, ComponentPropsWithoutRef, HTMLAttributes } from 'react';
3
+ import { Drawer } from 'vaul';
4
+
5
+ declare const DrawerRoot: {
6
+ ({ shouldScaleBackground, ...props }: ComponentProps<typeof Drawer.Root>): react_jsx_runtime.JSX.Element;
7
+ displayName: string;
8
+ };
9
+ declare const DrawerTrigger: {
10
+ ({ className, ...props }: ComponentPropsWithoutRef<typeof Drawer.Trigger>): react_jsx_runtime.JSX.Element;
11
+ displayName: string;
12
+ };
13
+ declare const DrawerPortal: {
14
+ ({ ...props }: ComponentPropsWithoutRef<typeof Drawer.Portal>): react_jsx_runtime.JSX.Element;
15
+ displayName: string;
16
+ };
17
+ declare const DrawerClose: {
18
+ ({ className, ...props }: ComponentPropsWithoutRef<typeof Drawer.Close>): react_jsx_runtime.JSX.Element;
19
+ displayName: string;
20
+ };
21
+ declare const DrawerOverlay: {
22
+ ({ className, ...props }: ComponentPropsWithoutRef<typeof Drawer.Overlay>): react_jsx_runtime.JSX.Element;
23
+ displayName: string;
24
+ };
25
+ declare const DrawerContent: {
26
+ ({ className, children, ...props }: ComponentPropsWithoutRef<typeof Drawer.Content>): react_jsx_runtime.JSX.Element;
27
+ displayName: string;
28
+ };
29
+ declare const DrawerHeader: {
30
+ ({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
31
+ displayName: string;
32
+ };
33
+ declare const DrawerFooter: {
34
+ ({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
35
+ displayName: string;
36
+ };
37
+ declare const DrawerTitle: {
38
+ ({ className, ...props }: ComponentPropsWithoutRef<typeof Drawer.Title>): react_jsx_runtime.JSX.Element;
39
+ displayName: string;
40
+ };
41
+ declare const DrawerDescription: {
42
+ ({ className, ...props }: ComponentPropsWithoutRef<typeof Drawer.Description>): react_jsx_runtime.JSX.Element;
43
+ displayName: string;
44
+ };
45
+
46
+ export { DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerRoot, DrawerTitle, DrawerTrigger };
@@ -0,0 +1,319 @@
1
+ "use client";
2
+
3
+ // packages/tailwindTheme.ts
4
+ var themes = {
5
+ spacing: {
6
+ 30: "7.5rem",
7
+ // 120px
8
+ 33: "8.25rem"
9
+ // 132px
10
+ },
11
+ colors: {
12
+ ui: {
13
+ white: "#ffffff",
14
+ "white-primary": "#ffffff",
15
+ "black-primary": "#111315",
16
+ "bg-white": "#FAFAFA",
17
+ primary: {
18
+ default: "#6C70F0",
19
+ 50: "#EEF2FF",
20
+ 100: "#E0E7FF",
21
+ 200: "#C8D2FD",
22
+ 300: "#A6B6FB",
23
+ 400: "#828EF7",
24
+ 500: "#6C70F0",
25
+ 600: "#5048E3",
26
+ 700: "#443AC8",
27
+ 800: "#3731A2",
28
+ 900: "#312F80",
29
+ 950: "#1F1C4A"
30
+ },
31
+ secondary: {
32
+ default: "#C170FF",
33
+ 50: "#F9F1FF",
34
+ 100: "#F3E2FF",
35
+ 200: "#ECD4FF",
36
+ 300: "#E0B8FF",
37
+ 400: "#D49BFF",
38
+ 500: "#C170FF",
39
+ 600: "#AE65E6",
40
+ 700: "#9A5ACC",
41
+ 800: "#874EB3",
42
+ 900: "#613880",
43
+ 950: "#3A224C"
44
+ },
45
+ tertiary: {
46
+ default: "#5B8CFF",
47
+ 50: "#EFF4FF",
48
+ 100: "#DEE8FF",
49
+ 200: "#CEDDFF",
50
+ 300: "#BDD1FF",
51
+ 400: "#7CA3FF",
52
+ 500: "#5B8CFF",
53
+ 600: "#527EE6",
54
+ 700: "#4062B3",
55
+ 800: "#2E4680",
56
+ 900: "#243866",
57
+ 950: "#1B2A4C"
58
+ },
59
+ destructive: {
60
+ default: "#EF4444",
61
+ 50: "#FEF2F2",
62
+ 100: "#FEE2E2",
63
+ 200: "#FECACA",
64
+ 300: "#FCA5A5",
65
+ 400: "#F87171",
66
+ 500: "#EF4444",
67
+ 600: "#DC2626",
68
+ 700: "#B91C1C",
69
+ 800: "#991B1B",
70
+ 900: "#7F1D1D",
71
+ 950: "#450A0A"
72
+ },
73
+ success: {
74
+ default: "#22c55e",
75
+ 50: "#f0fdf4",
76
+ 100: "#dcfce7",
77
+ 200: "#bbf7d0",
78
+ 300: "#86efac",
79
+ 400: "#4ade80",
80
+ 500: "#22c55e",
81
+ 600: "#16a34a",
82
+ 700: "#15803d",
83
+ 800: "#166534",
84
+ 900: "#14532d",
85
+ 950: "#052e16"
86
+ },
87
+ warn: {
88
+ default: "#f59e0b",
89
+ 50: "#fffbeb",
90
+ 100: "#fef3c7",
91
+ 200: "#fde68a",
92
+ 300: "#fcd34d",
93
+ 400: "#fbbf24",
94
+ 500: "#f59e0b",
95
+ 600: "#d97706",
96
+ 700: "#b45309",
97
+ 800: "#92400e",
98
+ 900: "#78350f",
99
+ 950: "#451a03"
100
+ },
101
+ text: {
102
+ black: "#09090b",
103
+ white: "#fafafa",
104
+ 50: "#fafafa",
105
+ 100: "#f4f4f5",
106
+ 200: "#e4e4e7",
107
+ 300: "#d4d4d8",
108
+ 400: "#a1a1aa",
109
+ 500: "#71717a",
110
+ 600: "#52525b",
111
+ 700: "#3f3f46",
112
+ 800: "#27272a",
113
+ 900: "#18181b",
114
+ 950: "#09090b"
115
+ },
116
+ surface: {
117
+ default: "#ffffff",
118
+ 50: "#ffffff",
119
+ 100: "#f5f5f5",
120
+ 200: "#e5e5e5",
121
+ 300: "#d4d4d4",
122
+ 400: "#a3a3a3",
123
+ 500: "#737373",
124
+ 600: "#525252",
125
+ 700: "#404040",
126
+ 800: "#262626",
127
+ 900: "#171717",
128
+ 950: "#0a0a0a"
129
+ },
130
+ border: {
131
+ default: "#64748B",
132
+ 50: "#f9fafb",
133
+ 100: "#f3f4f6",
134
+ 200: "#e5e7eb",
135
+ 300: "#d1d5db",
136
+ 400: "#9ca3af",
137
+ 500: "#64748B",
138
+ 600: "#475569",
139
+ 700: "#334155",
140
+ 800: "#1E293B",
141
+ 900: "#0F172A",
142
+ 950: "#020817"
143
+ },
144
+ // TEXT COLOR
145
+ "text-primary": "#111315",
146
+ "text-secondary": "#30353C",
147
+ "text-third": "#30353CCC",
148
+ "text-placeholder": "#11131566",
149
+ "text-white-placeholder": "#FDFDFD99",
150
+ "text-black": {
151
+ primary: "#19191B",
152
+ secondary: "#222325",
153
+ third: "#292A2E",
154
+ fourth: "#5F606A",
155
+ placeholder: "#B2B3BD"
156
+ },
157
+ "text-white": {
158
+ primary: "#FCFCFC",
159
+ secondary: "#F9F9F9",
160
+ third: "#D9D9D9"
161
+ },
162
+ // COLOR SPECIAL
163
+ "positive-flat": "#4ADE80",
164
+ "destruction-flat": "#EF4444",
165
+ "neutral-flat": "#BFDBFE",
166
+ rating: "#FDE047",
167
+ input: {
168
+ border: {
169
+ active: "#71717A",
170
+ disabled: "#D4D4D8"
171
+ },
172
+ bg: {
173
+ default: "#FDFDFD",
174
+ error: "#FEF2F2"
175
+ }
176
+ }
177
+ }
178
+ },
179
+ backgroundImage: {
180
+ "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%)",
181
+ "ui-bg-page": "radial-gradient(70.47% 70.47% at 50% 50%, #FDFDFD 0%, #F3F1FF 50%, #F1FCFF 100%)",
182
+ "ui-btn-primary": "linear-gradient(180deg, #828EF7 0%, #6C70F0 100%)",
183
+ "ui-btn-secondary": "linear-gradient(180deg, #4277EF 0%, #669BF4 100%)",
184
+ "ui-btn-accept": "linear-gradient(282deg, #30C36D 6.81%, #6BCD8A 93.19%)",
185
+ "ui-btn-destructive": "linear-gradient(282deg, #FF384A 7.07%, #FF5463 92.93%)",
186
+ "ui-status-bg-positive": "linear-gradient(0deg, #C4FFD8 0%, #68FF9D 100%)",
187
+ "ui-status-bg-negative": "linear-gradient(0deg, #FECACA 0%, #FF8F8F 100%)",
188
+ "ui-status-bg-neutral": "linear-gradient(0deg, #E1EBFF 0%, #C7E8FF 100%)",
189
+ "ui-status-order": "linear-gradient(282deg, #30C36D 6.81%, #6BCD8A 93.19%)",
190
+ "ui-status-out-of-stock": "linear-gradient(282deg, #FF384A 7.07%, #FF5463 92.93%)",
191
+ "ui-status-in-stock": "linear-gradient(282deg, #30A8FF 6.81%, #73BAED 93.19%)",
192
+ "ui-line": "linear-gradient(90deg, #D3D4FF 0%, #7587EA 50%, #AEC0FF 100%)"
193
+ },
194
+ boxShadow: {
195
+ "ui-sd-primary": "0 4px 20px 0 rgba(104, 109, 224, 0.5)",
196
+ "ui-sd-base": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
197
+ "ui-sd-destructive": "0 10px 10px 0 rgba(255, 56, 74, 0.15)",
198
+ "ui-sd-accept": "0 10px 10px 0 rgba(46, 213, 115, 0.15)",
199
+ "ui-xl": "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
200
+ "ui-soft": "0px 5px 12px 0px rgba(0, 67, 101, 0.08)",
201
+ "ui-muli": "0px 5px 50px 0px rgba(0, 67, 101, 0.08), 0px 2px 6px 0px rgba(130, 169, 188, 0.08)",
202
+ "ui-category-effect": "0px 4px 50px 0px rgba(0, 67, 101, 0.08)",
203
+ "ui-flat": "0px 0.25rem 0.625rem 0px rgba(99, 102, 241, 0.07)",
204
+ "ui-overlay": "0px 4px 4px 1px rgba(99, 102, 241, 0.04)",
205
+ "ui-sticky-nav": "0px 3px 12px -1px rgba(151, 71, 255, 0.07)",
206
+ "ui-dialog": "0px 8px 12px 0px rgba(99, 102, 241, 0.15)"
207
+ },
208
+ fontSize: {
209
+ "ui-h1": ["1.5rem", "2rem"],
210
+ "ui-h2": ["1.25rem", "1.75rem"],
211
+ "ui-h3": ["1.125rem", "1.75rem"],
212
+ "ui-p": ["1rem", "1.5rem"],
213
+ "ui-note": ["0.875rem", "1.25rem"],
214
+ "ui-small-note": ["0.75rem", "1rem"]
215
+ },
216
+ keyframes: {
217
+ "accordion-down": {
218
+ from: { height: "0" },
219
+ to: { height: "var(--radix-accordion-content-height)" }
220
+ },
221
+ "accordion-up": {
222
+ from: { height: "var(--radix-accordion-content-height)" },
223
+ to: { height: "0" }
224
+ }
225
+ },
226
+ animation: {
227
+ "accordion-down": "accordion-down 0.2s ease-out",
228
+ "accordion-up": "accordion-up 0.2s ease-out"
229
+ }
230
+ };
231
+ var tailwindTheme_default = themes;
232
+
233
+ // packages/libs/utils.ts
234
+ import clsx from "clsx";
235
+ import { extendTailwindMerge } from "tailwind-merge";
236
+ var customTailwindMerge = () => {
237
+ return extendTailwindMerge({
238
+ ...tailwindTheme_default,
239
+ prefix: ""
240
+ });
241
+ };
242
+ var cn = (...inputs) => {
243
+ const customTwMerge = customTailwindMerge();
244
+ return customTwMerge(clsx(inputs));
245
+ };
246
+
247
+ // packages/Atoms/Drawer/index.tsx
248
+ import { Drawer } from "vaul";
249
+ import { jsx, jsxs } from "react/jsx-runtime";
250
+ var DrawerRoot = ({
251
+ shouldScaleBackground = true,
252
+ ...props
253
+ }) => /* @__PURE__ */ jsx(Drawer.Root, { shouldScaleBackground, ...props });
254
+ DrawerRoot.displayName = "Drawer";
255
+ var DrawerTrigger = ({
256
+ className,
257
+ ...props
258
+ }) => /* @__PURE__ */ jsx(Drawer.Trigger, { className: cn(className), ...props });
259
+ DrawerTrigger.displayName = "DrawerTrigger";
260
+ var DrawerPortal = ({ ...props }) => /* @__PURE__ */ jsx(Drawer.Portal, { ...props });
261
+ DrawerPortal.displayName = "DrawerPortal";
262
+ var DrawerClose = ({ className, ...props }) => /* @__PURE__ */ jsx(Drawer.Close, { className: cn("absolute right-4 top-4", className), ...props });
263
+ DrawerClose.displayName = "DrawerClose";
264
+ var DrawerOverlay = ({
265
+ className,
266
+ ...props
267
+ }) => /* @__PURE__ */ jsx(Drawer.Overlay, { className: cn("fixed inset-0 z-50 bg-black/80", className), ...props });
268
+ DrawerOverlay.displayName = "DrawerOverlay";
269
+ var DrawerContent = ({
270
+ className,
271
+ children,
272
+ ...props
273
+ }) => /* @__PURE__ */ jsxs(DrawerPortal, { children: [
274
+ /* @__PURE__ */ jsx(DrawerOverlay, {}),
275
+ /* @__PURE__ */ jsxs(
276
+ Drawer.Content,
277
+ {
278
+ className: cn(
279
+ "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-ui-surface-50",
280
+ className
281
+ ),
282
+ ...props,
283
+ children: [
284
+ /* @__PURE__ */ jsx("div", { className: "mx-auto mt-4 h-2 w-24 rounded-full bg-ui-border-300" }),
285
+ children
286
+ ]
287
+ }
288
+ )
289
+ ] });
290
+ DrawerContent.displayName = "DrawerContent";
291
+ var DrawerHeader = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: cn("grid gap-1.5 p-4 text-center sm:text-left", className), ...props });
292
+ DrawerHeader.displayName = "DrawerHeader";
293
+ var DrawerFooter = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: cn("mt-auto flex flex-col gap-2 p-4", className), ...props });
294
+ DrawerFooter.displayName = "DrawerFooter";
295
+ var DrawerTitle = ({ className, ...props }) => /* @__PURE__ */ jsx(
296
+ Drawer.Title,
297
+ {
298
+ className: cn("text-lg font-semibold leading-none tracking-tight", className),
299
+ ...props
300
+ }
301
+ );
302
+ DrawerTitle.displayName = "DrawerTitle";
303
+ var DrawerDescription = ({
304
+ className,
305
+ ...props
306
+ }) => /* @__PURE__ */ jsx(Drawer.Description, { className: cn("text-muted-foreground text-sm", className), ...props });
307
+ DrawerDescription.displayName = "DrawerDescription";
308
+ export {
309
+ DrawerClose,
310
+ DrawerContent,
311
+ DrawerDescription,
312
+ DrawerFooter,
313
+ DrawerHeader,
314
+ DrawerOverlay,
315
+ DrawerPortal,
316
+ DrawerRoot,
317
+ DrawerTitle,
318
+ DrawerTrigger
319
+ };
@@ -443,7 +443,7 @@ var DateSelect = ({ onSortChange }) => {
443
443
  return /* @__PURE__ */ jsxs2("div", { className: "flex flex-col gap-y-1", children: [
444
444
  /* @__PURE__ */ jsx3("p", { className: "text-ui-small-note font-medium text-ui-text-600", children: "S\u1EAFp x\u1EBFp theo" }),
445
445
  /* @__PURE__ */ jsxs2(Select, { onValueChange: onSortChange, defaultValue: "date-desc", children: [
446
- /* @__PURE__ */ jsx3(SelectTrigger, { className: "h-fit min-w-28 rounded border border-ui-border-400 px-2 py-1 text-ui-small-note font-semibold text-ui-text-500", children: /* @__PURE__ */ jsx3(SelectValue, { placeholder: "Gi\xE1 th\u1EA5p nh\u1EA5t" }) }),
446
+ /* @__PURE__ */ jsx3(SelectTrigger, { className: "h-fit rounded border border-ui-border-400 px-1 py-1 text-ui-small-note font-semibold text-ui-text-500 md:px-2", children: /* @__PURE__ */ jsx3(SelectValue, { placeholder: "Gi\xE1 th\u1EA5p nh\u1EA5t" }) }),
447
447
  /* @__PURE__ */ jsxs2(SelectContent, { className: "[&_div]:pl-2 [&_svg]:hidden", children: [
448
448
  /* @__PURE__ */ jsx3(SelectItem, { value: "price-asc", children: "Gi\xE1 th\u1EA5p nh\u1EA5t" }),
449
449
  /* @__PURE__ */ jsx3(SelectItem, { value: "price-desc", children: "Gi\xE1 cao nh\u1EA5t" }),
@@ -584,13 +584,13 @@ var AcceptBtn = ({ onFilterConfirm }) => {
584
584
  {
585
585
  variant: "outline",
586
586
  icon: /* @__PURE__ */ jsx6(Lucide2TunnelIcon_default, { size: 16, color: "#828EF7" }),
587
- className: "h-fit border-2 pl-4 pr-6 text-ui-note font-bold",
587
+ className: "h-[30px] border-2 pl-4 pr-4 text-ui-note font-bold lg:pr-6",
588
588
  onClick: () => onFilterConfirm?.({
589
589
  brand: brandSelected,
590
590
  price,
591
591
  sort
592
592
  }),
593
- children: /* @__PURE__ */ jsx6("span", { children: "L\u1ECDc k\u1EBFt qu\u1EA3" })
593
+ children: /* @__PURE__ */ jsx6("span", { className: "hidden lg:inline", children: "L\u1ECDc k\u1EBFt qu\u1EA3" })
594
594
  }
595
595
  )
596
596
  ] });
@@ -600,7 +600,7 @@ var AcceptBtn_default = AcceptBtn;
600
600
  // packages/Ecommerce/Categories/components/BrandTag.tsx
601
601
  import { jsx as jsx7 } from "react/jsx-runtime";
602
602
  var BrandTag = ({ name }) => {
603
- return /* @__PURE__ */ jsx7("div", { className: "size-fit select-none rounded border border-purple-400 bg-purple-50 px-3 py-1 text-ui-small-note font-semibold text-purple-500", children: name });
603
+ return /* @__PURE__ */ jsx7("div", { className: "size-fit max-w-[86px] select-none rounded border border-purple-400 bg-purple-50 px-1 py-1 text-xs font-semibold text-purple-500 md:max-w-max md:px-3 md:text-ui-small-note", children: name });
604
604
  };
605
605
  var BrandTag_default = BrandTag;
606
606
 
@@ -651,7 +651,7 @@ var FilterBtn = ({ title, onClick }) => {
651
651
  className: "flex h-fit items-center gap-x-1 rounded border border-dashed border-ui-border-400 px-3 py-1 shadow-ui-overlay",
652
652
  children: [
653
653
  /* @__PURE__ */ jsx10(Lucide2PlusIcon_default, { size: 16, color: "#A1A1AA" }),
654
- /* @__PURE__ */ jsx10("p", { className: "text-ui-small-note font-medium text-ui-text-400", children: title })
654
+ /* @__PURE__ */ jsx10("p", { className: "hidden text-ui-small-note font-medium text-ui-text-400 md:flex", children: title })
655
655
  ]
656
656
  }
657
657
  );
@@ -830,7 +830,7 @@ var CommandGroup = React2.forwardRef(({ className, ...props }, reference) => /*
830
830
  "[&_[cmdk-group-heading]]:py-1.5",
831
831
  "[&_[cmdk-group-heading]]:text-xs",
832
832
  "[&_[cmdk-group-heading]]:font-medium",
833
- "[&_[cmdk-group-heading]]:text-ui-text-800",
833
+ "[&_[cmdk-group-heading]]:text-ui-text-600",
834
834
  className
835
835
  ),
836
836
  ...props
@@ -929,7 +929,7 @@ import { useCallback as useCallback3, useMemo as useMemo2, useState as useState4
929
929
  // packages/Ecommerce/Categories/components/PriceTag.tsx
930
930
  import { jsx as jsx14 } from "react/jsx-runtime";
931
931
  var PriceTag = ({ name }) => {
932
- return /* @__PURE__ */ jsx14("div", { className: "size-fit select-none text-nowrap rounded border border-ui-tertiary-400 bg-ui-tertiary-50 px-3 py-1 text-ui-small-note font-semibold text-ui-tertiary-500", children: name });
932
+ return /* @__PURE__ */ jsx14("div", { className: "size-fit select-none text-wrap rounded border border-ui-tertiary-400 bg-ui-tertiary-50 px-3 py-1 text-ui-small-note font-semibold text-ui-tertiary-500", children: name });
933
933
  };
934
934
  var PriceTag_default = PriceTag;
935
935
 
@@ -1405,16 +1405,16 @@ var CategoriesPage = ({
1405
1405
  /* @__PURE__ */ jsx22(BrandProvider_default, { children: /* @__PURE__ */ jsx22(PriceProvider_default, { children: /* @__PURE__ */ jsxs12("div", { className: "grid grid-cols-3 gap-x-6 p-0", children: [
1406
1406
  /* @__PURE__ */ jsxs12("div", { className: "flex grow flex-col gap-y-1", children: [
1407
1407
  /* @__PURE__ */ jsx22("p", { className: "text-ui-small-note font-medium text-ui-text-800", children: "Th\u01B0\u01A1ng hi\u1EC7u" }),
1408
- /* @__PURE__ */ jsxs12("div", { className: "flex h-full w-full flex-wrap gap-2 border-r border-ui-border-400", children: [
1408
+ /* @__PURE__ */ jsxs12("div", { className: "flex h-full w-full flex-wrap gap-2 border-r border-ui-border-400 pr-2", children: [
1409
1409
  /* @__PURE__ */ jsx22(BrandDisplay_default, {}),
1410
1410
  /* @__PURE__ */ jsx22(BrandModal_default, { data: brandData })
1411
1411
  ] })
1412
1412
  ] }),
1413
1413
  /* @__PURE__ */ jsxs12("div", { className: "flex grow flex-col gap-y-1", children: [
1414
1414
  /* @__PURE__ */ jsx22("p", { className: "text-ui-small-note font-medium text-ui-text-800", children: "Kho\u1EA3ng gi\xE1" }),
1415
- /* @__PURE__ */ jsx22("div", { className: "flex size-full flex-wrap items-start gap-2 border-r border-ui-border-400", children: /* @__PURE__ */ jsx22(PricePopover_default, {}) })
1415
+ /* @__PURE__ */ jsx22("div", { className: "flex size-full flex-wrap items-start gap-2 border-r border-ui-border-400 pr-2", children: /* @__PURE__ */ jsx22(PricePopover_default, {}) })
1416
1416
  ] }),
1417
- /* @__PURE__ */ jsx22("div", { className: "flex h-fit items-end justify-between gap-x-4", children: /* @__PURE__ */ jsx22(AcceptBtn_default, { onFilterConfirm }) })
1417
+ /* @__PURE__ */ jsx22("div", { className: "flex h-fit flex-wrap items-end justify-between gap-x-4 gap-y-2", children: /* @__PURE__ */ jsx22(AcceptBtn_default, { onFilterConfirm }) })
1418
1418
  ] }) }) })
1419
1419
  ]
1420
1420
  }
@@ -419,7 +419,7 @@ var CommandGroup = React2.forwardRef(({ className, ...props }, reference) => /*
419
419
  "[&_[cmdk-group-heading]]:py-1.5",
420
420
  "[&_[cmdk-group-heading]]:text-xs",
421
421
  "[&_[cmdk-group-heading]]:font-medium",
422
- "[&_[cmdk-group-heading]]:text-ui-text-800",
422
+ "[&_[cmdk-group-heading]]:text-ui-text-600",
423
423
  className
424
424
  ),
425
425
  ...props
@@ -921,10 +921,11 @@ var Search2 = ({ search = "", isLoading = false, items = [], onSearch }) => {
921
921
  py: "1",
922
922
  width: "fit",
923
923
  gapX: "2",
924
- className: "mr-8 rounded-lg border border-neutral-200 bg-ui-surface-50 hover:cursor-pointer hover:bg-ui-surface-100",
924
+ className: "mr-2 grow justify-between rounded-lg border border-neutral-200 bg-ui-surface-50 hover:cursor-pointer hover:bg-ui-surface-100 sm:mr-8 md:grow-0 md:justify-start",
925
925
  onClick: handleOpen,
926
926
  children: [
927
- /* @__PURE__ */ jsx4("p", { className: "pt-0.5 text-ui-small-note font-medium text-ui-text-500", children: "T\xECm ki\u1EBFm s\u1EA3n ph\u1EA9m, th\u01B0\u01A1ng hi\u1EC7u,..." }),
927
+ /* @__PURE__ */ jsx4("p", { className: "hidden pt-0.5 text-ui-small-note font-medium text-ui-text-500 md:inline", children: "T\xECm ki\u1EBFm s\u1EA3n ph\u1EA9m, th\u01B0\u01A1ng hi\u1EC7u,..." }),
928
+ /* @__PURE__ */ jsx4("p", { className: "inline pt-0.5 text-ui-small-note font-medium text-ui-text-500 md:hidden", children: "T\xECm ki\u1EBFm" }),
928
929
  /* @__PURE__ */ jsxs3("div", { className: "flex items-center gap-x-1 rounded-md bg-ui-surface-200 px-2 py-0.5 text-ui-small-note", children: [
929
930
  isMac ? /* @__PURE__ */ jsx4("kbd", { className: "mt-0.5 h-4", children: "\u2318" }) : /* @__PURE__ */ jsx4("kbd", { className: "mt-0.5 h-3 font-semibold", children: "^" }),
930
931
  /* @__PURE__ */ jsx4("span", { className: "text-ui-small-note font-medium", children: "K" })