@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
@@ -812,10 +812,19 @@ var ThankYou = () => {
812
812
  ] }),
813
813
  /* @__PURE__ */ jsx6("p", { className: "text-ui-note font-light text-ui-text-700", children: "Ch\xFAng t\xF4i \u0111\xE3 g\u1EEDi email x\xE1c nh\u1EADn t\u1EDBi \u0111\u1ECBa ch\u1EC9 c\u1EE7a b\u1EA1n. Vui l\xF2ng ki\u1EC3m tra h\u1ED9p th\u01B0 v\xE0 l\xE0m theo h\u01B0\u1EDBng d\u1EABn \u0111\u1EC3 k\xEDch ho\u1EA1t t\xE0i kho\u1EA3n." }),
814
814
  /* @__PURE__ */ jsx6("p", { className: "text-ui-note font-light text-ui-text-400", children: "N\u1EBFu b\u1EA1n kh\xF4ng th\u1EA5y email x\xE1c nh\u1EADn, h\xE3y ki\u1EC3m tra trong m\u1EE5c \u201CTh\u01B0 r\xE1c\u201D ho\u1EB7c \u201CQu\u1EA3ng c\xE1o\u201D c\u1EE7a b\u1EA1n." }),
815
- /* @__PURE__ */ jsx6(Flex_default, { py: "2", pr: "2", children: /* @__PURE__ */ jsxs2(Button_default, { className: "rounded-sm", children: [
816
- /* @__PURE__ */ jsx6(Lucide2MailIcon_default, { color: "currentColor" }),
817
- /* @__PURE__ */ jsx6("span", { children: "Ki\u1EC3m tra email" })
818
- ] }) })
815
+ /* @__PURE__ */ jsx6(Flex_default, { py: "2", pr: "2", children: /* @__PURE__ */ jsx6(
816
+ "a",
817
+ {
818
+ href: "https://gmail.com",
819
+ target: "_blank",
820
+ rel: "noreferrer",
821
+ onClick: () => window.close(),
822
+ children: /* @__PURE__ */ jsxs2(Button_default, { className: "rounded-sm", children: [
823
+ /* @__PURE__ */ jsx6(Lucide2MailIcon_default, { color: "currentColor" }),
824
+ /* @__PURE__ */ jsx6("span", { children: "Ki\u1EC3m tra email" })
825
+ ] })
826
+ }
827
+ ) })
819
828
  ] }),
820
829
  /* @__PURE__ */ jsxs2(Flex_default, { vertical: true, width: "full", px: "2", gapY: "1", align: "start", children: [
821
830
  /* @__PURE__ */ jsx6(Separator, { className: "mb-2" }),
@@ -0,0 +1,33 @@
1
+ import { FC, ReactNode } from 'react';
2
+
3
+ type TBrand = {
4
+ uuid: string;
5
+ name: string;
6
+ };
7
+
8
+ type TPrice = {
9
+ value: string;
10
+ label: string;
11
+ option: {
12
+ from: number;
13
+ to: number;
14
+ };
15
+ };
16
+
17
+ interface IProps {
18
+ initialLayout: 'GRID' | 'LIST';
19
+ brandData: {
20
+ uuid: string;
21
+ name: string;
22
+ }[];
23
+ children?: ReactNode;
24
+ onFilterConfirm?: (data?: {
25
+ brand?: TBrand[];
26
+ price?: TPrice;
27
+ sort?: 'price-asc' | 'price-desc' | 'date-asc' | 'date-desc';
28
+ }) => void;
29
+ onLayoutChange?: (layout: 'GRID' | 'LIST') => void;
30
+ }
31
+ declare const CategoriesPage: FC<IProps>;
32
+
33
+ export { CategoriesPage as default };