geoiq-frontend-ui-kit 1.1.21 → 1.1.23

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 (56) hide show
  1. package/dist/components/atoms/tooltip/tooltip.d.ts.map +1 -1
  2. package/dist/components/molecules/alert/alert.d.ts.map +1 -1
  3. package/dist/components/molecules/alert/alert.styles.d.ts +1 -0
  4. package/dist/components/molecules/alert/alert.styles.d.ts.map +1 -1
  5. package/dist/components/molecules/dropdown-menu/dropdown-menu.d.ts +1 -1
  6. package/dist/components/molecules/dropdown-menu/dropdown-menu.d.ts.map +1 -1
  7. package/dist/components/molecules/dropdown-menu/dropdown-menu.types.d.ts +3 -0
  8. package/dist/components/molecules/dropdown-menu/dropdown-menu.types.d.ts.map +1 -1
  9. package/dist/components/organisms/navbar/navbar.d.ts.map +1 -1
  10. package/dist/index.es10.js +1 -1
  11. package/dist/index.es15.js +1 -1
  12. package/dist/index.es17.js +7 -6
  13. package/dist/index.es17.js.map +1 -1
  14. package/dist/index.es18.js +1 -1
  15. package/dist/index.es19.js +18 -16
  16. package/dist/index.es19.js.map +1 -1
  17. package/dist/index.es20.js +3 -3
  18. package/dist/index.es21.js +39 -30
  19. package/dist/index.es21.js.map +1 -1
  20. package/dist/index.es24.js +1 -1
  21. package/dist/index.es25.js +1 -1
  22. package/dist/index.es27.js +1 -1
  23. package/dist/index.es29.js +1 -1
  24. package/dist/index.es30.js +1 -1
  25. package/dist/index.es38.js +23 -21
  26. package/dist/index.es38.js.map +1 -1
  27. package/dist/index.es53.js +1 -1
  28. package/dist/index.es67.js +5 -43
  29. package/dist/index.es67.js.map +1 -1
  30. package/dist/index.es68.js +16 -5
  31. package/dist/index.es68.js.map +1 -1
  32. package/dist/index.es69.js +22 -22
  33. package/dist/index.es69.js.map +1 -1
  34. package/dist/index.es70.js +6 -2
  35. package/dist/index.es70.js.map +1 -1
  36. package/dist/index.es71.js +49 -22
  37. package/dist/index.es71.js.map +1 -1
  38. package/dist/index.es72.js +108 -74
  39. package/dist/index.es72.js.map +1 -1
  40. package/dist/index.es73.js +12 -120
  41. package/dist/index.es73.js.map +1 -1
  42. package/dist/index.es74.js +23 -15
  43. package/dist/index.es74.js.map +1 -1
  44. package/dist/index.es75.js +86 -9
  45. package/dist/index.es75.js.map +1 -1
  46. package/dist/index.es76.js +16 -41
  47. package/dist/index.es76.js.map +1 -1
  48. package/dist/index.es77.js +6 -35
  49. package/dist/index.es77.js.map +1 -1
  50. package/dist/index.es78.js +41 -13
  51. package/dist/index.es78.js.map +1 -1
  52. package/dist/index.es79.js +36 -21
  53. package/dist/index.es79.js.map +1 -1
  54. package/dist/index.es9.js +1 -1
  55. package/dist/styles.css +4 -0
  56. package/package.json +1 -1
@@ -1,125 +1,17 @@
1
- import * as e from "react";
2
- import * as t from "@radix-ui/react-dropdown-menu";
3
- import { ChevronRight as l, Check as i, Circle as m } from "lucide-react";
4
- import { cn as d } from "./index.es59.js";
5
- const h = t.Root, E = t.Trigger, D = t.Group, M = t.Portal, R = t.Sub, c = e.forwardRef(({ className: a, inset: o, children: n, ...r }, s) => /* @__PURE__ */ e.createElement(
6
- t.SubTrigger,
7
- {
8
- ref: s,
9
- className: d(
10
- "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",
11
- o && "pl-8",
12
- a
13
- ),
14
- ...r
1
+ import { cva as s } from "class-variance-authority";
2
+ const o = s("", {
3
+ variants: {
4
+ bgColor: {
5
+ success: "bg-success-2",
6
+ danger: "bg-danger-2",
7
+ stroke: "bg-light-4"
8
+ }
15
9
  },
16
- n,
17
- /* @__PURE__ */ e.createElement(l, { className: "ml-auto h-4 w-4" })
18
- ));
19
- c.displayName = t.SubTrigger.displayName;
20
- const p = e.forwardRef(({ className: a, ...o }, n) => /* @__PURE__ */ e.createElement(
21
- t.SubContent,
22
- {
23
- ref: n,
24
- className: d(
25
- "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
26
- a
27
- ),
28
- ...o
10
+ defaultVariants: {
11
+ bgColor: "success"
29
12
  }
30
- ));
31
- p.displayName = t.SubContent.displayName;
32
- const u = e.forwardRef(({ className: a, sideOffset: o = 4, ...n }, r) => /* @__PURE__ */ e.createElement(t.Portal, null, /* @__PURE__ */ e.createElement(
33
- t.Content,
34
- {
35
- ref: r,
36
- sideOffset: o,
37
- className: d(
38
- "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
39
- a
40
- ),
41
- ...n
42
- }
43
- )));
44
- u.displayName = t.Content.displayName;
45
- const f = e.forwardRef(({ className: a, inset: o, ...n }, r) => /* @__PURE__ */ e.createElement(
46
- t.Item,
47
- {
48
- ref: r,
49
- className: d(
50
- "relative flex select-none items-center rounded-md outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:opacity-50 cursor-pointer data-[disabled]:cursor-not-allowed",
51
- o && "pl-8",
52
- a
53
- ),
54
- ...n
55
- }
56
- ));
57
- f.displayName = t.Item.displayName;
58
- const b = e.forwardRef(({ className: a, children: o, checked: n, ...r }, s) => /* @__PURE__ */ e.createElement(
59
- t.CheckboxItem,
60
- {
61
- ref: s,
62
- className: d(
63
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
64
- a
65
- ),
66
- checked: n,
67
- disabled: !0,
68
- ...r
69
- },
70
- /* @__PURE__ */ e.createElement("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, /* @__PURE__ */ e.createElement(t.ItemIndicator, null, /* @__PURE__ */ e.createElement(i, { className: "h-4 w-4" }))),
71
- o
72
- ));
73
- b.displayName = t.CheckboxItem.displayName;
74
- const w = e.forwardRef(({ className: a, children: o, ...n }, r) => /* @__PURE__ */ e.createElement(
75
- t.RadioItem,
76
- {
77
- ref: r,
78
- className: d(
79
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
80
- a
81
- ),
82
- ...n
83
- },
84
- /* @__PURE__ */ e.createElement("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, /* @__PURE__ */ e.createElement(t.ItemIndicator, null, /* @__PURE__ */ e.createElement(m, { className: "h-2 w-2 fill-current" }))),
85
- o
86
- ));
87
- w.displayName = t.RadioItem.displayName;
88
- const g = e.forwardRef(({ className: a, inset: o, ...n }, r) => /* @__PURE__ */ e.createElement(
89
- t.Label,
90
- {
91
- ref: r,
92
- className: d(
93
- "px-2 py-1.5 text-sm font-semibold",
94
- o && "pl-8",
95
- a
96
- ),
97
- ...n
98
- }
99
- ));
100
- g.displayName = t.Label.displayName;
101
- const N = e.forwardRef(({ className: a, ...o }, n) => /* @__PURE__ */ e.createElement(
102
- t.Separator,
103
- {
104
- ref: n,
105
- className: d("-mx-1 my-1 h-px bg-muted", a),
106
- ...o
107
- }
108
- ));
109
- N.displayName = t.Separator.displayName;
13
+ });
110
14
  export {
111
- h as DropdownMenu,
112
- b as DropdownMenuCheckboxItem,
113
- u as DropdownMenuContent,
114
- D as DropdownMenuGroup,
115
- f as DropdownMenuItem,
116
- g as DropdownMenuLabel,
117
- M as DropdownMenuPortal,
118
- w as DropdownMenuRadioItem,
119
- N as DropdownMenuSeparator,
120
- R as DropdownMenuSub,
121
- p as DropdownMenuSubContent,
122
- c as DropdownMenuSubTrigger,
123
- E as DropdownMenuTrigger
15
+ o as SliderBgColorVariants
124
16
  };
125
17
  //# sourceMappingURL=index.es73.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es73.js","sources":["../src/components/molecules/dropdown-menu/dropdown-menu-components.tsx"],"sourcesContent":["'use client'\n\nimport * as React from 'react'\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\nimport { Check, ChevronRight, Circle } from 'lucide-react'\n\nimport { cn } from '@/lib/utils'\n\nconst DropdownMenu = DropdownMenuPrimitive.Root\n\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger\n\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group\n\nconst DropdownMenuPortal = DropdownMenuPrimitive.Portal\n\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub\n\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n <DropdownMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n 'flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent',\n inset && 'pl-8',\n className\n )}\n {...props}\n >\n {children}\n <ChevronRight className=\"ml-auto h-4 w-4\" />\n </DropdownMenuPrimitive.SubTrigger>\n))\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.SubContent\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n))\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n))\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => {\n return (\n <DropdownMenuPrimitive.Item\n ref={ref}\n className={cn(\n 'relative flex select-none items-center rounded-md outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:opacity-50 cursor-pointer data-[disabled]:cursor-not-allowed',\n inset && 'pl-8',\n className\n )}\n {...props}\n />\n )\n})\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <DropdownMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className\n )}\n checked={checked}\n disabled\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <Check className=\"h-4 w-4\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n))\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.RadioItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <Circle className=\"h-2 w-2 fill-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n))\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Label\n ref={ref}\n className={cn(\n 'px-2 py-1.5 text-sm font-semibold',\n inset && 'pl-8',\n className\n )}\n {...props}\n />\n))\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Separator\n ref={ref}\n className={cn('-mx-1 my-1 h-px bg-muted', className)}\n {...props}\n />\n))\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName\n\nconst DropdownMenuShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) => {\n return (\n <span\n className={cn('ml-auto text-xs tracking-widest opacity-60', className)}\n {...props}\n />\n )\n}\nDropdownMenuShortcut.displayName = 'DropdownMenuShortcut'\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuPortal,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuRadioGroup,\n}\n"],"names":["DropdownMenu","DropdownMenuPrimitive","DropdownMenuTrigger","DropdownMenuGroup","DropdownMenuPortal","DropdownMenuSub","DropdownMenuSubTrigger","React","className","inset","children","props","ref","cn","ChevronRight","DropdownMenuSubContent","DropdownMenuContent","sideOffset","DropdownMenuItem","DropdownMenuCheckboxItem","checked","Check","DropdownMenuRadioItem","Circle","DropdownMenuLabel","DropdownMenuSeparator"],"mappings":";;;;AAQA,MAAMA,IAAeC,EAAsB,MAErCC,IAAsBD,EAAsB,SAE5CE,IAAoBF,EAAsB,OAE1CG,IAAqBH,EAAsB,QAE3CI,IAAkBJ,EAAsB,KAIxCK,IAAyBC,EAAM,WAKnC,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,UAAAC,GAAU,GAAGC,EAAM,GAAGC,MAC3C,gBAAAL,EAAA;AAAA,EAACN,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAW;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAJ,KAAS;AAAA,MACTD;AAAA,IACF;AAAA,IACC,GAAGG;AAAA,EAAA;AAAA,EAEHD;AAAA,EACD,gBAAAH,EAAA,cAACO,GAAa,EAAA,WAAU,kBAAkB,CAAA;AAC5C,CACD;AACDR,EAAuB,cACrBL,EAAsB,WAAW;AAE7B,MAAAc,IAAyBR,EAAM,WAGnC,CAAC,EAAE,WAAAC,GAAW,GAAGG,EAAM,GAAGC,MAC1B,gBAAAL,EAAA;AAAA,EAACN,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAW;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAL;AAAA,IACF;AAAA,IACC,GAAGG;AAAA,EAAA;AACN,CACD;AACDI,EAAuB,cACrBd,EAAsB,WAAW;AAEnC,MAAMe,IAAsBT,EAAM,WAGhC,CAAC,EAAE,WAAAC,GAAW,YAAAS,IAAa,GAAG,GAAGN,EAAS,GAAAC,MACzC,gBAAAL,EAAA,cAAAN,EAAsB,QAAtB,MACC,gBAAAM,EAAA;AAAA,EAACN,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAW;AAAA,IACA,YAAAK;AAAA,IACA,WAAWJ;AAAA,MACT;AAAA,MACAL;AAAA,IACF;AAAA,IACC,GAAGG;AAAA,EAAA;AACN,CACF,CACD;AAC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AAM,EAAA,cAAAgB,GAAA,EAAO,WAAU,uBAAuB,CAAA,CAC3C,CACF;AAAA,EACCb;AACH,CACD;AACDY,EAAsB,cAAcrB,EAAsB,UAAU;AAE9D,MAAAuB,IAAoBjB,EAAM,WAK9B,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,GAAGE,EAAM,GAAGC,MACjC,gBAAAL,EAAA;AAAA,EAACN,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAW;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAJ,KAAS;AAAA,MACTD;AAAA,IACF;AAAA,IACC,GAAGG;AAAA,EAAA;AACN,CACD;AACDa,EAAkB,cAAcvB,EAAsB,MAAM;AAEtD,MAAAwB,IAAwBlB,EAAM,WAGlC,CAAC,EAAE,WAAAC,GAAW,GAAGG,EAAM,GAAGC,MAC1B,gBAAAL,EAAA;AAAA,EAACN,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAW;AAAA,IACA,WAAWC,EAAG,4BAA4BL,CAAS;AAAA,IAClD,GAAGG;AAAA,EAAA;AACN,CACD;AACDc,EAAsB,cAAcxB,EAAsB,UAAU;"}
1
+ {"version":3,"file":"index.es73.js","sources":["../src/components/molecules/range-slider/range-slider.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const SliderBgColorVariants = cva('', {\n variants: {\n bgColor: {\n success: 'bg-success-2',\n danger: 'bg-danger-2',\n stroke: 'bg-light-4',\n },\n },\n defaultVariants: {\n bgColor: 'success',\n },\n})\n"],"names":["SliderBgColorVariants","cva"],"mappings":";AAEa,MAAAA,IAAwBC,EAAI,IAAI;AAAA,EAC3C,UAAU;AAAA,IACR,SAAS;AAAA,MACP,SAAS;AAAA,MACT,QAAQ;AAAA,MACR,QAAQ;AAAA,IACV;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,SAAS;AAAA,EACX;AACF,CAAC;"}
@@ -1,20 +1,28 @@
1
1
  import { cva as t } from "class-variance-authority";
2
- const r = t(
3
- "rounded hover:text-light-2 hover:stroke-light-1 hover:bg-light-3 ",
4
- {
5
- variants: {
6
- type: {
7
- icon: "p-1",
8
- text: "px-2 py-1"
9
- },
10
- isSelected: {
11
- true: "text-light-2 stroke-light-1 bg-light-3",
12
- false: "text-light-3 stroke-light-2"
13
- }
2
+ const e = t("w-full", {
3
+ variants: {
4
+ isOpen: {
5
+ true: "ring-4 ring-primary-1 border-primary-2 text-light-1"
6
+ },
7
+ isValue: {
8
+ true: "text-light-1",
9
+ false: "text-light-4"
14
10
  }
15
- }
16
- );
11
+ },
12
+ compoundVariants: [
13
+ // {
14
+ // isOpen: true,
15
+ // isValue: true,
16
+ // className: 'border-primary-2',
17
+ // },
18
+ {
19
+ isOpen: !1,
20
+ isValue: !0,
21
+ className: "border-neutral-2"
22
+ }
23
+ ]
24
+ });
17
25
  export {
18
- r as CrumbVariants
26
+ e as ComboBoxStates
19
27
  };
20
28
  //# sourceMappingURL=index.es74.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es74.js","sources":["../src/components/molecules/breadcrumb/breadcrumb.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const CrumbVariants = cva(\n 'rounded hover:text-light-2 hover:stroke-light-1 hover:bg-light-3 ',\n {\n variants: {\n type: {\n icon: 'p-1',\n text: 'px-2 py-1',\n },\n isSelected: {\n true: 'text-light-2 stroke-light-1 bg-light-3',\n false: 'text-light-3 stroke-light-2',\n },\n },\n }\n)\n"],"names":["CrumbVariants","cva"],"mappings":";AAEO,MAAMA,IAAgBC;AAAA,EAC3B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,MACR;AAAA,MACA,YAAY;AAAA,QACV,MAAM;AAAA,QACN,OAAO;AAAA,MACT;AAAA,IACF;AAAA,EACF;AACF;"}
1
+ {"version":3,"file":"index.es74.js","sources":["../src/components/molecules/single-combobox/single-combobox.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const ComboBoxStates = cva('w-full', {\n variants: {\n isOpen: {\n true: 'ring-4 ring-primary-1 border-primary-2 text-light-1',\n },\n isValue: {\n true: 'text-light-1',\n false: 'text-light-4',\n },\n },\n compoundVariants: [\n // {\n // isOpen: true,\n // isValue: true,\n // className: 'border-primary-2',\n // },\n {\n isOpen: false,\n isValue: true,\n className: 'border-neutral-2',\n },\n ],\n})\n"],"names":["ComboBoxStates","cva"],"mappings":";AAEa,MAAAA,IAAiBC,EAAI,UAAU;AAAA,EAC1C,UAAU;AAAA,IACR,QAAQ;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,SAAS;AAAA,MACP,MAAM;AAAA,MACN,OAAO;AAAA,IACT;AAAA,EACF;AAAA,EACA,kBAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMhB;AAAA,MACE,QAAQ;AAAA,MACR,SAAS;AAAA,MACT,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;"}
@@ -1,14 +1,91 @@
1
- import { cva as e } from "class-variance-authority";
2
- const a = e(
3
- "relative flex w-60 touch-none select-none items-center",
4
- {
5
- variants: {
6
- variant: {}
7
- },
8
- defaultVariants: {}
1
+ import * as e from "react";
2
+ import { Slot as o } from "@radix-ui/react-slot";
3
+ import { ChevronRight as l, MoreHorizontal as c } from "lucide-react";
4
+ import { cn as m } from "./index.es59.js";
5
+ const i = e.forwardRef(({ ...r }, a) => /* @__PURE__ */ e.createElement("nav", { ref: a, "aria-label": "breadcrumb", ...r }));
6
+ i.displayName = "Breadcrumb";
7
+ const d = e.forwardRef(({ className: r, ...a }, t) => /* @__PURE__ */ e.createElement(
8
+ "ol",
9
+ {
10
+ ref: t,
11
+ className: m(
12
+ "flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",
13
+ r
14
+ ),
15
+ ...a
16
+ }
17
+ ));
18
+ d.displayName = "BreadcrumbList";
19
+ const p = e.forwardRef(({ className: r, ...a }, t) => /* @__PURE__ */ e.createElement(
20
+ "li",
21
+ {
22
+ ref: t,
23
+ className: m("inline-flex items-center gap-1.5", r),
24
+ ...a
25
+ }
26
+ ));
27
+ p.displayName = "BreadcrumbItem";
28
+ const u = e.forwardRef(({ asChild: r, className: a, ...t }, s) => {
29
+ const n = r ? o : "a";
30
+ return /* @__PURE__ */ e.createElement(
31
+ n,
32
+ {
33
+ ref: s,
34
+ className: m("transition-colors hover:text-foreground", a),
35
+ ...t
36
+ }
37
+ );
38
+ });
39
+ u.displayName = "BreadcrumbLink";
40
+ const f = e.forwardRef(({ className: r, ...a }, t) => /* @__PURE__ */ e.createElement(
41
+ "span",
42
+ {
43
+ ref: t,
44
+ role: "link",
45
+ "aria-disabled": "true",
46
+ "aria-current": "page",
47
+ className: m("font-normal text-foreground", r),
48
+ ...a
9
49
  }
50
+ ));
51
+ f.displayName = "BreadcrumbPage";
52
+ const b = ({
53
+ children: r,
54
+ className: a,
55
+ ...t
56
+ }) => /* @__PURE__ */ e.createElement(
57
+ "li",
58
+ {
59
+ role: "presentation",
60
+ "aria-hidden": "true",
61
+ className: m("[&>svg]:size-3.5", a),
62
+ ...t
63
+ },
64
+ r ?? /* @__PURE__ */ e.createElement(l, null)
65
+ );
66
+ b.displayName = "BreadcrumbSeparator";
67
+ const N = ({
68
+ className: r,
69
+ ...a
70
+ }) => /* @__PURE__ */ e.createElement(
71
+ "span",
72
+ {
73
+ role: "presentation",
74
+ "aria-hidden": "true",
75
+ className: m("flex h-9 w-9 items-center justify-center", r),
76
+ ...a
77
+ },
78
+ /* @__PURE__ */ e.createElement(c, { className: "h-4 w-4" }),
79
+ /* @__PURE__ */ e.createElement("span", { className: "sr-only" }, "More")
10
80
  );
81
+ N.displayName = "BreadcrumbElipssis";
11
82
  export {
12
- a as SliderVariants
83
+ i as Breadcrumb,
84
+ N as BreadcrumbEllipsis,
85
+ p as BreadcrumbItem,
86
+ u as BreadcrumbLink,
87
+ d as BreadcrumbList,
88
+ f as BreadcrumbPage,
89
+ b as BreadcrumbSeparator
13
90
  };
14
91
  //# sourceMappingURL=index.es75.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es75.js","sources":["../src/components/molecules/slider/slider.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const SliderVariants = cva(\n 'relative flex w-60 touch-none select-none items-center',\n {\n variants: {\n variant: {},\n },\n defaultVariants: {},\n }\n)\n"],"names":["SliderVariants","cva"],"mappings":";AAEO,MAAMA,IAAiBC;AAAA,EAC5B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS,CAAC;AAAA,IACZ;AAAA,IACA,iBAAiB,CAAC;AAAA,EACpB;AACF;"}
1
+ {"version":3,"file":"index.es75.js","sources":["../src/components/molecules/breadcrumb/breadcrumb-components.tsx"],"sourcesContent":["import * as React from 'react'\nimport { Slot } from '@radix-ui/react-slot'\nimport { ChevronRight, MoreHorizontal } from 'lucide-react'\n\nimport { cn } from '@/lib/utils'\n\nconst Breadcrumb = React.forwardRef<\n HTMLElement,\n React.ComponentPropsWithoutRef<'nav'> & {\n separator?: React.ReactNode\n }\n>(({ ...props }, ref) => <nav ref={ref} aria-label=\"breadcrumb\" {...props} />)\nBreadcrumb.displayName = 'Breadcrumb'\n\nconst BreadcrumbList = React.forwardRef<\n HTMLOListElement,\n React.ComponentPropsWithoutRef<'ol'>\n>(({ className, ...props }, ref) => (\n <ol\n ref={ref}\n className={cn(\n 'flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5',\n className\n )}\n {...props}\n />\n))\nBreadcrumbList.displayName = 'BreadcrumbList'\n\nconst BreadcrumbItem = React.forwardRef<\n HTMLLIElement,\n React.ComponentPropsWithoutRef<'li'>\n>(({ className, ...props }, ref) => (\n <li\n ref={ref}\n className={cn('inline-flex items-center gap-1.5', className)}\n {...props}\n />\n))\nBreadcrumbItem.displayName = 'BreadcrumbItem'\n\nconst BreadcrumbLink = React.forwardRef<\n HTMLAnchorElement,\n React.ComponentPropsWithoutRef<'a'> & {\n asChild?: boolean\n }\n>(({ asChild, className, ...props }, ref) => {\n const Comp = asChild ? Slot : 'a'\n\n return (\n <Comp\n ref={ref}\n className={cn('transition-colors hover:text-foreground', className)}\n {...props}\n />\n )\n})\nBreadcrumbLink.displayName = 'BreadcrumbLink'\n\nconst BreadcrumbPage = React.forwardRef<\n HTMLSpanElement,\n React.ComponentPropsWithoutRef<'span'>\n>(({ className, ...props }, ref) => (\n <span\n ref={ref}\n role=\"link\"\n aria-disabled=\"true\"\n aria-current=\"page\"\n className={cn('font-normal text-foreground', className)}\n {...props}\n />\n))\nBreadcrumbPage.displayName = 'BreadcrumbPage'\n\nconst BreadcrumbSeparator = ({\n children,\n className,\n ...props\n}: React.ComponentProps<'li'>) => (\n <li\n role=\"presentation\"\n aria-hidden=\"true\"\n className={cn('[&>svg]:size-3.5', className)}\n {...props}\n >\n {children ?? <ChevronRight />}\n </li>\n)\nBreadcrumbSeparator.displayName = 'BreadcrumbSeparator'\n\nconst BreadcrumbEllipsis = ({\n className,\n ...props\n}: React.ComponentProps<'span'>) => (\n <span\n role=\"presentation\"\n aria-hidden=\"true\"\n className={cn('flex h-9 w-9 items-center justify-center', className)}\n {...props}\n >\n <MoreHorizontal className=\"h-4 w-4\" />\n <span className=\"sr-only\">More</span>\n </span>\n)\nBreadcrumbEllipsis.displayName = 'BreadcrumbElipssis'\n\nexport {\n Breadcrumb,\n BreadcrumbList,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbPage,\n BreadcrumbSeparator,\n BreadcrumbEllipsis,\n}\n"],"names":["Breadcrumb","React","props","ref","BreadcrumbList","className","cn","BreadcrumbItem","BreadcrumbLink","asChild","Comp","Slot","BreadcrumbPage","BreadcrumbSeparator","children","ChevronRight","BreadcrumbEllipsis","MoreHorizontal"],"mappings":";;;;AAMA,MAAMA,IAAaC,EAAM,WAKvB,CAAC,EAAE,GAAGC,EAAM,GAAGC,MAAQ,gBAAAF,EAAA,cAAC,SAA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C;AAAA,EACA,WAAAT;AAAA,EACA,GAAGH;AACL,MACE,gBAAAD,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,eAAY;AAAA,IACZ,WAAWK,EAAG,oBAAoBD,CAAS;AAAA,IAC1C,GAAGH;AAAA,EAAA;AAAA,EAEHY,qCAAaC,GAAa,IAAA;AAC7B;AAEFF,EAAoB,cAAc;AAElC,MAAMG,IAAqB,CAAC;AAAA,EAC1B,WAAAX;AAAA,EACA,GAAGH;AACL,MACE,gBAAAD,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,eAAY;AAAA,IACZ,WAAWK,EAAG,4CAA4CD,CAAS;AAAA,IAClE,GAAGH;AAAA,EAAA;AAAA,EAEJ,gBAAAD,EAAA,cAACgB,GAAe,EAAA,WAAU,UAAU,CAAA;AAAA,EACnC,gBAAAhB,EAAA,cAAA,QAAA,EAAK,WAAU,UAAA,GAAU,MAAI;AAChC;AAEFe,EAAmB,cAAc;"}
@@ -1,45 +1,20 @@
1
- import e, { createContext as c, forwardRef as l, useContext as o } from "react";
2
- import { StepItemStatus as n } from "./index.es28.js";
3
- import { Typography as s } from "./index.es18.js";
4
- import { cn as i } from "./index.es59.js";
5
- import { StepItemVariants as p } from "./index.es82.js";
6
- const m = c(null), b = l(
7
- ({ children: a, steps: t }, r) => /* @__PURE__ */ e.createElement(m.Provider, { value: t }, /* @__PURE__ */ e.createElement("div", { className: "w-[100%]", ref: r }, a))
8
- ), h = () => {
9
- const a = o(m);
10
- return /* @__PURE__ */ e.createElement("div", { className: "flex justify-between items-center w-[100%]" }, a?.map((t, r) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
11
- u,
12
- {
13
- key: r,
14
- value: t,
15
- variant: t?.status ?? n.PENDING
1
+ import { cva as t } from "class-variance-authority";
2
+ const r = t(
3
+ "rounded hover:text-light-2 hover:stroke-light-1 hover:bg-light-3 ",
4
+ {
5
+ variants: {
6
+ type: {
7
+ icon: "p-1",
8
+ text: "px-2 py-1"
9
+ },
10
+ isSelected: {
11
+ true: "text-light-2 stroke-light-1 bg-light-3",
12
+ false: "text-light-3 stroke-light-2"
13
+ }
16
14
  }
17
- ), r !== a.length - 1 && /* @__PURE__ */ e.createElement(
18
- "div",
19
- {
20
- className: ` w-5 grow border-b-2 ${t?.status == n.COMPLETED ? "border-primary-2" : "border-neutral-2"}`
21
- }
22
- ))));
23
- }, u = ({ value: a, ...t }) => {
24
- const { variant: r } = t;
25
- return /* @__PURE__ */ e.createElement("div", { className: i(p({ variant: r })) }, r !== n.COMPLETED ? /* @__PURE__ */ e.createElement(
26
- s,
27
- {
28
- variant: "body4",
29
- style: { textAlign: "center", height: "max-content" }
30
- },
31
- a?.label
32
- ) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
33
- "img",
34
- {
35
- src: "https://frontend-static-files.geoiq.io/strapi/check_white_e0c342eeb9.svg",
36
- alt: "check-mark-icon"
37
- }
38
- ))));
39
- };
15
+ }
16
+ );
40
17
  export {
41
- h as StepGroup,
42
- m as StepperContext,
43
- b as StepperProvider
18
+ r as CrumbVariants
44
19
  };
45
20
  //# sourceMappingURL=index.es76.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es76.js","sources":["../src/components/molecules/stepper/stepper-components.tsx"],"sourcesContent":["import React, {\n PropsWithChildren,\n createContext,\n forwardRef,\n useContext,\n} from 'react'\nimport { StepItemStatus, StepperItemProps, StepperValue } from './stepper.type'\nimport { Typography } from '../../atoms/typography'\nimport { cn } from '@/lib/utils'\nimport { StepItemVariants } from './stepper.styles'\n\ninterface StepperProviderProps extends PropsWithChildren {\n steps: StepperValue[] // Add a steps prop to pass the steps array\n}\n\nconst StepperContext = createContext<StepperValue[] | null>(null) // Context will hold an array of strings\n\nconst StepperProvider = forwardRef<HTMLDivElement, StepperProviderProps>(\n ({ children, steps }, ref) => {\n return (\n <StepperContext.Provider value={steps}>\n <div className={'w-[100%]'} ref={ref}>\n {children}\n </div>\n </StepperContext.Provider>\n )\n }\n)\n\nconst StepGroup = () => {\n const steps = useContext(StepperContext) // Accessing the steps array from context\n\n return (\n <div className=\"flex justify-between items-center w-[100%]\">\n {steps?.map((step, index) => (\n <>\n <StepItem\n key={index}\n value={step}\n variant={step?.status ?? StepItemStatus.PENDING}\n />\n {index !== steps.length - 1 && (\n <div\n className={` w-5 grow border-b-2 ${step?.status == StepItemStatus.COMPLETED ? 'border-primary-2' : 'border-neutral-2'}`}\n />\n )}\n </>\n ))}\n </div>\n )\n}\n\n// individual step item and styles\nconst StepItem = ({ value, ...props }: StepperItemProps) => {\n const { variant } = props\n return (\n <div className={cn(StepItemVariants({ variant }))}>\n {variant !== StepItemStatus.COMPLETED ? (\n <Typography\n variant={'body4'}\n style={{ textAlign: 'center', height: 'max-content' }}\n >\n {value?.label}\n </Typography>\n ) : (\n <>\n <div>\n <img\n src=\"https://frontend-static-files.geoiq.io/strapi/check_white_e0c342eeb9.svg\"\n alt=\"check-mark-icon\"\n />\n </div>\n </>\n )}\n </div>\n )\n}\n\nexport { StepperProvider, StepperContext, StepGroup }\n"],"names":["StepperContext","createContext","StepperProvider","forwardRef","children","steps","ref","React","StepGroup","useContext","step","index","StepItem","StepItemStatus","value","props","variant","cn","StepItemVariants","Typography"],"mappings":";;;;;AAeM,MAAAA,IAAiBC,EAAqC,IAAI,GAE1DC,IAAkBC;AAAA,EACtB,CAAC,EAAE,UAAAC,GAAU,OAAAC,KAASC,MAEjBC,gBAAAA,EAAA,cAAAP,EAAe,UAAf,EAAwB,OAAOK,KAC7BE,gBAAAA,EAAA,cAAA,OAAA,EAAI,WAAW,YAAY,KAAAD,EACzB,GAAAF,CACH,CACF;AAGN,GAEMI,IAAY,MAAM;AAChB,QAAAH,IAAQI,EAAWT,CAAc;AAGrC,SAAAO,gBAAAA,EAAA,cAAC,SAAI,WAAU,6CAAA,GACZF,GAAO,IAAI,CAACK,GAAMC,MAEfJ,gBAAAA,EAAA,cAAAA,EAAA,UAAA,MAAAA,gBAAAA,EAAA;AAAA,IAACK;AAAA,IAAA;AAAA,MACC,KAAKD;AAAA,MACL,OAAOD;AAAA,MACP,SAASA,GAAM,UAAUG,EAAe;AAAA,IAAA;AAAA,EAEzC,GAAAF,MAAUN,EAAM,SAAS,KACxBE,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,wBAAwBG,GAAM,UAAUG,EAAe,YAAY,qBAAqB,kBAAkB;AAAA,IAAA;AAAA,EAG3H,CAAA,CACD,CACH;AAEJ,GAGMD,IAAW,CAAC,EAAE,OAAAE,GAAO,GAAGC,QAA8B;AACpD,QAAA,EAAE,SAAAC,EAAY,IAAAD;AACpB,SACGR,gBAAAA,EAAA,cAAA,OAAA,EAAI,WAAWU,EAAGC,EAAiB,EAAE,SAAAF,EAAS,CAAA,CAAC,EAAA,GAC7CA,MAAYH,EAAe,YAC1BN,gBAAAA,EAAA;AAAA,IAACY;AAAA,IAAA;AAAA,MACC,SAAS;AAAA,MACT,OAAO,EAAE,WAAW,UAAU,QAAQ,cAAc;AAAA,IAAA;AAAA,IAEnDL,GAAO;AAAA,EACV,IAGEP,gBAAAA,EAAA,cAAAA,EAAA,UAAA,MAAAA,gBAAAA,EAAA,cAAC,OACC,MAAAA,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAI;AAAA,MACJ,KAAI;AAAA,IAAA;AAAA,EAER,CAAA,CACF,CAEJ;AAEJ;"}
1
+ {"version":3,"file":"index.es76.js","sources":["../src/components/molecules/breadcrumb/breadcrumb.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const CrumbVariants = cva(\n 'rounded hover:text-light-2 hover:stroke-light-1 hover:bg-light-3 ',\n {\n variants: {\n type: {\n icon: 'p-1',\n text: 'px-2 py-1',\n },\n isSelected: {\n true: 'text-light-2 stroke-light-1 bg-light-3',\n false: 'text-light-3 stroke-light-2',\n },\n },\n }\n)\n"],"names":["CrumbVariants","cva"],"mappings":";AAEO,MAAMA,IAAgBC;AAAA,EAC3B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,MACR;AAAA,MACA,YAAY;AAAA,QACV,MAAM;AAAA,QACN,OAAO;AAAA,MACT;AAAA,IACF;AAAA,EACF;AACF;"}
@@ -1,43 +1,14 @@
1
- import { cva as t } from "class-variance-authority";
2
- const e = t(
3
- "inline-flex items-center justify-evenly p-1 text-muted-foreground",
1
+ import { cva as e } from "class-variance-authority";
2
+ const a = e(
3
+ "relative flex w-60 touch-none select-none items-center",
4
4
  {
5
5
  variants: {
6
- variant: {
7
- primary: "bg-light-3 border rounded-xl border-neutral-1",
8
- secondary: "bg-background "
9
- },
10
- size: {
11
- sm: "h-10 rounded-xl ",
12
- md: "h-12 rounded-xl "
13
- }
6
+ variant: {}
14
7
  },
15
- defaultVariants: {
16
- variant: "primary",
17
- size: "md"
18
- }
19
- }
20
- ), i = t(
21
- "inline-flex w-full items-center justify-center whitespace-nowrap text-sm text-light-2 font-medium disabled:pointer-events-none disabled:opacity-50 ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ",
22
- {
23
- variants: {
24
- size: {
25
- sm: "h-8 text-[14px] p-1.5 ",
26
- md: "h-10 text-[16px] p-2 "
27
- },
28
- variant: {
29
- primary: "rounded-lg data-[state=active]:bg-rest-s1 data-[state=active]:text-primary-1 data-[state=active]:border data-[state=active]:border-neutral-1 data-[state=active]:font-semibold data-[state=active]:shadow-sm ",
30
- secondary: "data-[state=active]:bg-background data-[state=active]:text-primary-1 data-[state=active]:font-semibold data-[state=active]:border-b-2 data-[state=active]:border-primary-2 "
31
- }
32
- },
33
- defaultVariants: {
34
- variant: "primary",
35
- size: "md"
36
- }
8
+ defaultVariants: {}
37
9
  }
38
10
  );
39
11
  export {
40
- i as TabTriggerVariants,
41
- e as TabsVariants
12
+ a as SliderVariants
42
13
  };
43
14
  //# sourceMappingURL=index.es77.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es77.js","sources":["../src/components/molecules/tabs/tabs.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const TabsVariants = cva(\n 'inline-flex items-center justify-evenly p-1 text-muted-foreground',\n {\n variants: {\n variant: {\n primary: 'bg-light-3 border rounded-xl border-neutral-1',\n secondary: 'bg-background ',\n },\n size: {\n sm: 'h-10 rounded-xl ',\n md: 'h-12 rounded-xl ',\n },\n },\n defaultVariants: {\n variant: 'primary',\n size: 'md',\n },\n }\n)\n\nexport const TabTriggerVariants = cva(\n 'inline-flex w-full items-center justify-center whitespace-nowrap text-sm text-light-2 font-medium disabled:pointer-events-none disabled:opacity-50 ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ',\n {\n variants: {\n size: {\n sm: 'h-8 text-[14px] p-1.5 ',\n md: 'h-10 text-[16px] p-2 ',\n },\n variant: {\n primary:\n 'rounded-lg data-[state=active]:bg-rest-s1 data-[state=active]:text-primary-1 data-[state=active]:border data-[state=active]:border-neutral-1 data-[state=active]:font-semibold data-[state=active]:shadow-sm ',\n secondary:\n 'data-[state=active]:bg-background data-[state=active]:text-primary-1 data-[state=active]:font-semibold data-[state=active]:border-b-2 data-[state=active]:border-primary-2 ',\n },\n },\n defaultVariants: {\n variant: 'primary',\n size: 'md',\n },\n }\n)\n"],"names":["TabsVariants","cva","TabTriggerVariants"],"mappings":";AAEO,MAAMA,IAAeC;AAAA,EAC1B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,WAAW;AAAA,MACb;AAAA,MACA,MAAM;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACN;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF,GAEaC,IAAqBD;AAAA,EAChC;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MACN;AAAA,MACA,SAAS;AAAA,QACP,SACE;AAAA,QACF,WACE;AAAA,MACJ;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;"}
1
+ {"version":3,"file":"index.es77.js","sources":["../src/components/molecules/slider/slider.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const SliderVariants = cva(\n 'relative flex w-60 touch-none select-none items-center',\n {\n variants: {\n variant: {},\n },\n defaultVariants: {},\n }\n)\n"],"names":["SliderVariants","cva"],"mappings":";AAEO,MAAMA,IAAiBC;AAAA,EAC5B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS,CAAC;AAAA,IACZ;AAAA,IACA,iBAAiB,CAAC;AAAA,EACpB;AACF;"}
@@ -1,17 +1,45 @@
1
- import { cva as s } from "class-variance-authority";
2
- const o = s("", {
3
- variants: {
4
- bgColor: {
5
- success: "bg-success-2",
6
- danger: "bg-danger-2",
7
- stroke: "bg-light-4"
1
+ import e, { createContext as c, forwardRef as l, useContext as o } from "react";
2
+ import { StepItemStatus as n } from "./index.es28.js";
3
+ import { Typography as s } from "./index.es18.js";
4
+ import { cn as i } from "./index.es59.js";
5
+ import { StepItemVariants as p } from "./index.es82.js";
6
+ const m = c(null), b = l(
7
+ ({ children: a, steps: t }, r) => /* @__PURE__ */ e.createElement(m.Provider, { value: t }, /* @__PURE__ */ e.createElement("div", { className: "w-[100%]", ref: r }, a))
8
+ ), h = () => {
9
+ const a = o(m);
10
+ return /* @__PURE__ */ e.createElement("div", { className: "flex justify-between items-center w-[100%]" }, a?.map((t, r) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
11
+ u,
12
+ {
13
+ key: r,
14
+ value: t,
15
+ variant: t?.status ?? n.PENDING
8
16
  }
9
- },
10
- defaultVariants: {
11
- bgColor: "success"
12
- }
13
- });
17
+ ), r !== a.length - 1 && /* @__PURE__ */ e.createElement(
18
+ "div",
19
+ {
20
+ className: ` w-5 grow border-b-2 ${t?.status == n.COMPLETED ? "border-primary-2" : "border-neutral-2"}`
21
+ }
22
+ ))));
23
+ }, u = ({ value: a, ...t }) => {
24
+ const { variant: r } = t;
25
+ return /* @__PURE__ */ e.createElement("div", { className: i(p({ variant: r })) }, r !== n.COMPLETED ? /* @__PURE__ */ e.createElement(
26
+ s,
27
+ {
28
+ variant: "body4",
29
+ style: { textAlign: "center", height: "max-content" }
30
+ },
31
+ a?.label
32
+ ) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
33
+ "img",
34
+ {
35
+ src: "https://frontend-static-files.geoiq.io/strapi/check_white_e0c342eeb9.svg",
36
+ alt: "check-mark-icon"
37
+ }
38
+ ))));
39
+ };
14
40
  export {
15
- o as SliderBgColorVariants
41
+ h as StepGroup,
42
+ m as StepperContext,
43
+ b as StepperProvider
16
44
  };
17
45
  //# sourceMappingURL=index.es78.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es78.js","sources":["../src/components/molecules/range-slider/range-slider.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const SliderBgColorVariants = cva('', {\n variants: {\n bgColor: {\n success: 'bg-success-2',\n danger: 'bg-danger-2',\n stroke: 'bg-light-4',\n },\n },\n defaultVariants: {\n bgColor: 'success',\n },\n})\n"],"names":["SliderBgColorVariants","cva"],"mappings":";AAEa,MAAAA,IAAwBC,EAAI,IAAI;AAAA,EAC3C,UAAU;AAAA,IACR,SAAS;AAAA,MACP,SAAS;AAAA,MACT,QAAQ;AAAA,MACR,QAAQ;AAAA,IACV;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,SAAS;AAAA,EACX;AACF,CAAC;"}
1
+ {"version":3,"file":"index.es78.js","sources":["../src/components/molecules/stepper/stepper-components.tsx"],"sourcesContent":["import React, {\n PropsWithChildren,\n createContext,\n forwardRef,\n useContext,\n} from 'react'\nimport { StepItemStatus, StepperItemProps, StepperValue } from './stepper.type'\nimport { Typography } from '../../atoms/typography'\nimport { cn } from '@/lib/utils'\nimport { StepItemVariants } from './stepper.styles'\n\ninterface StepperProviderProps extends PropsWithChildren {\n steps: StepperValue[] // Add a steps prop to pass the steps array\n}\n\nconst StepperContext = createContext<StepperValue[] | null>(null) // Context will hold an array of strings\n\nconst StepperProvider = forwardRef<HTMLDivElement, StepperProviderProps>(\n ({ children, steps }, ref) => {\n return (\n <StepperContext.Provider value={steps}>\n <div className={'w-[100%]'} ref={ref}>\n {children}\n </div>\n </StepperContext.Provider>\n )\n }\n)\n\nconst StepGroup = () => {\n const steps = useContext(StepperContext) // Accessing the steps array from context\n\n return (\n <div className=\"flex justify-between items-center w-[100%]\">\n {steps?.map((step, index) => (\n <>\n <StepItem\n key={index}\n value={step}\n variant={step?.status ?? StepItemStatus.PENDING}\n />\n {index !== steps.length - 1 && (\n <div\n className={` w-5 grow border-b-2 ${step?.status == StepItemStatus.COMPLETED ? 'border-primary-2' : 'border-neutral-2'}`}\n />\n )}\n </>\n ))}\n </div>\n )\n}\n\n// individual step item and styles\nconst StepItem = ({ value, ...props }: StepperItemProps) => {\n const { variant } = props\n return (\n <div className={cn(StepItemVariants({ variant }))}>\n {variant !== StepItemStatus.COMPLETED ? (\n <Typography\n variant={'body4'}\n style={{ textAlign: 'center', height: 'max-content' }}\n >\n {value?.label}\n </Typography>\n ) : (\n <>\n <div>\n <img\n src=\"https://frontend-static-files.geoiq.io/strapi/check_white_e0c342eeb9.svg\"\n alt=\"check-mark-icon\"\n />\n </div>\n </>\n )}\n </div>\n )\n}\n\nexport { StepperProvider, StepperContext, StepGroup }\n"],"names":["StepperContext","createContext","StepperProvider","forwardRef","children","steps","ref","React","StepGroup","useContext","step","index","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AA,gBAAAA,EAAA,cAAC,OACC,MAAAA,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAI;AAAA,MACJ,KAAI;AAAA,IAAA;AAAA,EAER,CAAA,CACF,CAEJ;AAEJ;"}
@@ -1,28 +1,43 @@
1
1
  import { cva as t } from "class-variance-authority";
2
- const e = t("w-full", {
3
- variants: {
4
- isOpen: {
5
- true: "ring-4 ring-primary-1 border-primary-2 text-light-1"
2
+ const e = t(
3
+ "inline-flex items-center justify-evenly p-1 text-muted-foreground",
4
+ {
5
+ variants: {
6
+ variant: {
7
+ primary: "bg-light-3 border rounded-xl border-neutral-1",
8
+ secondary: "bg-background "
9
+ },
10
+ size: {
11
+ sm: "h-10 rounded-xl ",
12
+ md: "h-12 rounded-xl "
13
+ }
6
14
  },
7
- isValue: {
8
- true: "text-light-1",
9
- false: "text-light-4"
15
+ defaultVariants: {
16
+ variant: "primary",
17
+ size: "md"
10
18
  }
11
- },
12
- compoundVariants: [
13
- // {
14
- // isOpen: true,
15
- // isValue: true,
16
- // className: 'border-primary-2',
17
- // },
18
- {
19
- isOpen: !1,
20
- isValue: !0,
21
- className: "border-neutral-2"
19
+ }
20
+ ), i = t(
21
+ "inline-flex w-full items-center justify-center whitespace-nowrap text-sm text-light-2 font-medium disabled:pointer-events-none disabled:opacity-50 ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ",
22
+ {
23
+ variants: {
24
+ size: {
25
+ sm: "h-8 text-[14px] p-1.5 ",
26
+ md: "h-10 text-[16px] p-2 "
27
+ },
28
+ variant: {
29
+ primary: "rounded-lg data-[state=active]:bg-rest-s1 data-[state=active]:text-primary-1 data-[state=active]:border data-[state=active]:border-neutral-1 data-[state=active]:font-semibold data-[state=active]:shadow-sm ",
30
+ secondary: "data-[state=active]:bg-background data-[state=active]:text-primary-1 data-[state=active]:font-semibold data-[state=active]:border-b-2 data-[state=active]:border-primary-2 "
31
+ }
32
+ },
33
+ defaultVariants: {
34
+ variant: "primary",
35
+ size: "md"
22
36
  }
23
- ]
24
- });
37
+ }
38
+ );
25
39
  export {
26
- e as ComboBoxStates
40
+ i as TabTriggerVariants,
41
+ e as TabsVariants
27
42
  };
28
43
  //# sourceMappingURL=index.es79.js.map