geoiq-frontend-ui-kit 1.1.34 → 1.1.35

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 (47) hide show
  1. package/dist/components/organisms/navbar/navbar-mobile.d.ts.map +1 -1
  2. package/dist/index.es10.js +1 -1
  3. package/dist/index.es15.js +1 -1
  4. package/dist/index.es18.js +1 -1
  5. package/dist/index.es19.js +1 -1
  6. package/dist/index.es20.js +3 -3
  7. package/dist/index.es21.js +1 -1
  8. package/dist/index.es24.js +1 -1
  9. package/dist/index.es25.js +1 -1
  10. package/dist/index.es27.js +1 -1
  11. package/dist/index.es29.js +1 -1
  12. package/dist/index.es30.js +1 -1
  13. package/dist/index.es38.js +1 -1
  14. package/dist/index.es39.js +33 -29
  15. package/dist/index.es39.js.map +1 -1
  16. package/dist/index.es57.js +1 -1
  17. package/dist/index.es71.js +41 -37
  18. package/dist/index.es71.js.map +1 -1
  19. package/dist/index.es72.js +5 -43
  20. package/dist/index.es72.js.map +1 -1
  21. package/dist/index.es73.js +45 -22
  22. package/dist/index.es73.js.map +1 -1
  23. package/dist/index.es74.js +86 -12
  24. package/dist/index.es74.js.map +1 -1
  25. package/dist/index.es75.js +121 -21
  26. package/dist/index.es75.js.map +1 -1
  27. package/dist/index.es76.js +13 -7
  28. package/dist/index.es76.js.map +1 -1
  29. package/dist/index.es77.js +21 -121
  30. package/dist/index.es77.js.map +1 -1
  31. package/dist/index.es78.js +22 -25
  32. package/dist/index.es78.js.map +1 -1
  33. package/dist/index.es79.js +22 -85
  34. package/dist/index.es79.js.map +1 -1
  35. package/dist/index.es80.js +12 -15
  36. package/dist/index.es80.js.map +1 -1
  37. package/dist/index.es81.js +39 -37
  38. package/dist/index.es81.js.map +1 -1
  39. package/dist/index.es82.js +35 -6
  40. package/dist/index.es82.js.map +1 -1
  41. package/dist/index.es83.js +7 -9
  42. package/dist/index.es83.js.map +1 -1
  43. package/dist/index.es84.js +12 -41
  44. package/dist/index.es84.js.map +1 -1
  45. package/dist/index.es9.js +1 -1
  46. package/dist/styles.css +17 -6
  47. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"navbar-mobile.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/navbar/navbar-mobile.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAa,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAuN7D,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiEpD,CAAA"}
1
+ {"version":3,"file":"navbar-mobile.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/navbar/navbar-mobile.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAa,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AA8O7D,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAgDpD,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import * as r from "react";
2
2
  import * as a from "@radix-ui/react-progress";
3
3
  import { cn as n } from "./index.es63.js";
4
- import { ProgressVariants as i } from "./index.es76.js";
4
+ import { ProgressVariants as i } from "./index.es72.js";
5
5
  const l = r.forwardRef(({ className: t, value: o, ...e }, m) => {
6
6
  const s = (o || 0) / (e.max || 100) * 100;
7
7
  return /* @__PURE__ */ r.createElement(
@@ -6,7 +6,7 @@ import "./index.es45.js";
6
6
  import "./index.es64.js";
7
7
  import "./index.es26.js";
8
8
  import "./index.es32.js";
9
- import { TextAreaVariants as u } from "./index.es75.js";
9
+ import { TextAreaVariants as u } from "./index.es77.js";
10
10
  const m = e.forwardRef(
11
11
  ({ className: o, inputLabel: a, showTextCount: l, maximumTextCount: i, ...t }, f) => {
12
12
  const [r, s] = e.useState(!1), c = e.useRef(null);
@@ -1,7 +1,7 @@
1
1
  import * as o from "react";
2
2
  import { cn as m } from "./index.es63.js";
3
3
  import { TypographyVariants as n } from "./index.es57.js";
4
- import { defaultTypographyVariant as y, variantElementMap as i } from "./index.es73.js";
4
+ import { defaultTypographyVariant as y, variantElementMap as i } from "./index.es78.js";
5
5
  const c = o.forwardRef(({ className: t, variant: r = y, ...a }, e) => {
6
6
  const p = i[r];
7
7
  return /* @__PURE__ */ o.createElement(
@@ -1,6 +1,6 @@
1
1
  import * as e from "react";
2
2
  import { cn as s } from "./index.es63.js";
3
- import { AlertVariants as f, AlertContentVariants as d, AlertButtonVariants as g } from "./index.es71.js";
3
+ import { AlertVariants as f, AlertContentVariants as d, AlertButtonVariants as g } from "./index.es73.js";
4
4
  import { Button as p } from "./index.es7.js";
5
5
  import { Typography as u } from "./index.es18.js";
6
6
  const c = e.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e.createElement(
@@ -1,9 +1,9 @@
1
- import { Breadcrumb as E, BreadcrumbList as i, BreadcrumbSeparator as c, BreadcrumbItem as o, BreadcrumbEllipsis as b, BreadcrumbLink as u } from "./index.es79.js";
2
- import { DropdownMenu as g, DropdownMenuTrigger as y, DropdownMenuContent as d, DropdownMenuItem as h } from "./index.es77.js";
1
+ import { Breadcrumb as E, BreadcrumbList as i, BreadcrumbSeparator as c, BreadcrumbItem as o, BreadcrumbEllipsis as b, BreadcrumbLink as u } from "./index.es74.js";
2
+ import { DropdownMenu as g, DropdownMenuTrigger as y, DropdownMenuContent as d, DropdownMenuItem as h } from "./index.es75.js";
3
3
  import e from "react";
4
4
  import { Typography as B } from "./index.es18.js";
5
5
  import { cn as f } from "./index.es63.js";
6
- import { CrumbVariants as w } from "./index.es80.js";
6
+ import { CrumbVariants as w } from "./index.es76.js";
7
7
  function l({ field: r, isSelected: t }) {
8
8
  return /* @__PURE__ */ e.createElement(o, null, /* @__PURE__ */ e.createElement(
9
9
  u,
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { DropdownMenu as i, DropdownMenuTrigger as g, DropdownMenuContent as p, DropdownMenuLabel as h, DropdownMenuSeparator as d, DropdownMenuGroup as E, DropdownMenuSub as w, DropdownMenuSubTrigger as x, DropdownMenuPortal as N, DropdownMenuSubContent as D, DropdownMenuItem as s } from "./index.es77.js";
2
+ import { DropdownMenu as i, DropdownMenuTrigger as g, DropdownMenuContent as p, DropdownMenuLabel as h, DropdownMenuSeparator as d, DropdownMenuGroup as E, DropdownMenuSub as w, DropdownMenuSubTrigger as x, DropdownMenuPortal as N, DropdownMenuSubContent as D, DropdownMenuItem as s } from "./index.es75.js";
3
3
  function k({
4
4
  trigger: c,
5
5
  optionGroups: r,
@@ -1,7 +1,7 @@
1
1
  import { cn as s } from "./index.es63.js";
2
2
  import { useRanger as b } from "@tanstack/react-ranger";
3
3
  import e from "react";
4
- import { SliderBgColorVariants as a } from "./index.es74.js";
4
+ import { SliderBgColorVariants as a } from "./index.es80.js";
5
5
  const w = ({ left: t = 0, width: o = 0, index: l = -1 }) => /* @__PURE__ */ e.createElement(
6
6
  "div",
7
7
  {
@@ -5,7 +5,7 @@ import { cn as m } from "./index.es63.js";
5
5
  import { Button as v } from "./index.es7.js";
6
6
  import { Command as w, CommandInput as k, CommandEmpty as S, CommandGroup as O, CommandList as P, CommandItem as R } from "./index.es45.js";
7
7
  import { Popover as j, PopoverTrigger as B, PopoverContent as I } from "./index.es64.js";
8
- import { ComboBoxStates as T } from "./index.es78.js";
8
+ import { ComboBoxStates as T } from "./index.es79.js";
9
9
  import { Typography as d } from "./index.es18.js";
10
10
  function z({
11
11
  options: n,
@@ -1,7 +1,7 @@
1
1
  import * as o from "@radix-ui/react-slider";
2
2
  import * as e from "react";
3
3
  import { cn as i } from "./index.es63.js";
4
- import { SliderVariants as t } from "./index.es82.js";
4
+ import { SliderVariants as t } from "./index.es83.js";
5
5
  const s = e.forwardRef(({ className: r, ...l }, a) => (
6
6
  // <div className='bg-light-3 h-[100px] w-full flex'>
7
7
  /* @__PURE__ */ e.createElement(
@@ -1,4 +1,4 @@
1
- import { StepperProvider as r, StepGroup as p } from "./index.es84.js";
1
+ import { StepperProvider as r, StepGroup as p } from "./index.es81.js";
2
2
  import * as e from "react";
3
3
  const m = ({ value: t }) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(r, { steps: t }, /* @__PURE__ */ e.createElement(p, null)));
4
4
  m.displayName = "Stepper";
@@ -1,7 +1,7 @@
1
1
  import * as e from "react";
2
2
  import * as t from "@radix-ui/react-tabs";
3
3
  import { cn as n } from "./index.es63.js";
4
- import { TabsVariants as d, TabTriggerVariants as T } from "./index.es81.js";
4
+ import { TabsVariants as d, TabTriggerVariants as T } from "./index.es82.js";
5
5
  const c = e.forwardRef(({ className: a, variant: r, size: s, ...o }, i) => /* @__PURE__ */ e.createElement(
6
6
  t.List,
7
7
  {
@@ -4,7 +4,7 @@ import { Typography as c } from "./index.es18.js";
4
4
  import { Dropdown as x } from "./index.es21.js";
5
5
  import { cn as i } from "./index.es63.js";
6
6
  import e from "react";
7
- import { NavbarIconVariants as u } from "./index.es83.js";
7
+ import { NavbarIconVariants as u } from "./index.es84.js";
8
8
  import { AvatarDemo as h } from "./index.es4.js";
9
9
  const N = ({ name: t = "", email: a = "" }) => {
10
10
  if (!(t || a)) return null;
@@ -1,27 +1,27 @@
1
1
  import { Typography as s } from "./index.es18.js";
2
2
  import { Dropdown as h } from "./index.es21.js";
3
- import { cn as m } from "./index.es63.js";
3
+ import { cn as o } from "./index.es63.js";
4
4
  import e from "react";
5
5
  import { AvatarDemo as p } from "./index.es4.js";
6
- const g = ({ name: l = "", email: t = "" }) => {
6
+ const x = ({ name: l = "", email: t = "" }) => {
7
7
  if (!(l || t)) return null;
8
8
  const r = "text-ellipsis overflow-hidden";
9
9
  return /* @__PURE__ */ e.createElement("div", { className: "flex flex-col px-2" }, l && /* @__PURE__ */ e.createElement(
10
10
  s,
11
11
  {
12
12
  variant: "body4",
13
- className: m("text-light-1", r)
13
+ className: o("text-light-1", r)
14
14
  },
15
15
  l
16
16
  ), t && /* @__PURE__ */ e.createElement(
17
17
  s,
18
18
  {
19
19
  variant: "body5",
20
- className: m("text-light-3", r)
20
+ className: o("text-light-3", r)
21
21
  },
22
22
  t
23
23
  ));
24
- }, x = ({
24
+ }, b = ({
25
25
  alt: l,
26
26
  className: t,
27
27
  src: r,
@@ -29,17 +29,17 @@ const g = ({ name: l = "", email: t = "" }) => {
29
29
  wrapper: i = null,
30
30
  onClick: c
31
31
  }) => {
32
- const n = (o) => i?.(o) ?? o, v = /* @__PURE__ */ e.createElement(
32
+ const n = (d) => i?.(d) ?? d, m = /* @__PURE__ */ e.createElement(
33
33
  "div",
34
34
  {
35
- className: m("flex gap-4 py-2 cursor-pointer", t),
35
+ className: o("flex gap-4 py-2 cursor-pointer", t),
36
36
  ...c && { onClick: c }
37
37
  },
38
38
  /* @__PURE__ */ e.createElement("img", { src: r, alt: l, height: 25, width: 25 }),
39
39
  /* @__PURE__ */ e.createElement(s, { variant: "body2", className: "text-white" }, a)
40
40
  );
41
- return n(v);
42
- }, E = ({
41
+ return n(m);
42
+ }, g = ({
43
43
  src: l,
44
44
  popoverOptions: t,
45
45
  name: r = "",
@@ -67,15 +67,27 @@ const g = ({ name: l = "", email: t = "" }) => {
67
67
  }
68
68
  ))
69
69
  ),
70
- header: /* @__PURE__ */ e.createElement(g, { name: r, email: a }),
70
+ header: /* @__PURE__ */ e.createElement(x, { name: r, email: a }),
71
71
  optionGroups: t
72
72
  }
73
- ), d = ({ src: l, alt: t }) => /* @__PURE__ */ e.createElement("img", { src: l, alt: t, className: "h-10" }), b = ({
73
+ ), v = ({ src: l, alt: t }) => /* @__PURE__ */ e.createElement("img", { src: l, alt: t, className: "h-10" }), E = ({
74
74
  icons: l = [],
75
75
  profile: t,
76
76
  credits: r,
77
- logoutPanel: a
78
- }) => /* @__PURE__ */ e.createElement("div", { className: "bg-dark-2 absolute z-10 top-14 bottom-0 left-0 right-0 flex flex-col justify-between" }, /* @__PURE__ */ e.createElement("div", { className: "flex justify-between items-center px-5 py-2 bg-[#212121] flex-shrink-0" }, /* @__PURE__ */ e.createElement("div", { className: "flex gap-2 items-center basis-4/5 overflow-hidden" }, /* @__PURE__ */ e.createElement(
77
+ logoutPanel: a,
78
+ logo: i,
79
+ handleClose: c
80
+ }) => /* @__PURE__ */ e.createElement("div", { className: "bg-dark-2 absolute z-10 top-0 bottom-0 left-0 right-0 flex flex-col justify-between" }, /* @__PURE__ */ e.createElement("div", { className: "flex justify-between items-center w-full bg-dark-2 px-3 py-2" }, /* @__PURE__ */ e.createElement("div", { className: "flex gap-2 items-center" }, /* @__PURE__ */ e.createElement(v, { ...i }), /* @__PURE__ */ e.createElement(s, { variant: "h2", className: "text-white" }, i?.text ?? "")), /* @__PURE__ */ e.createElement("div", { className: "w-10 h-10 grid place-items-center" }, /* @__PURE__ */ e.createElement(
81
+ "img",
82
+ {
83
+ src: "https://frontend-static-files.geoiq.io/strapi/x_7520d97d3c.svg",
84
+ alt: "close",
85
+ height: 24,
86
+ width: 24,
87
+ className: "cursor-pointer",
88
+ onClick: c
89
+ }
90
+ ))), /* @__PURE__ */ e.createElement("div", { className: "flex justify-between items-center px-5 py-2 bg-[#212121] flex-shrink-0" }, /* @__PURE__ */ e.createElement("div", { className: "flex gap-2 items-center basis-4/5 overflow-hidden" }, /* @__PURE__ */ e.createElement(
79
91
  p,
80
92
  {
81
93
  imageSrc: t?.src ?? "",
@@ -120,7 +132,7 @@ const g = ({ name: l = "", email: t = "" }) => {
120
132
  className: "text-white basis-1/5 text-center"
121
133
  },
122
134
  `${r} credits`
123
- ))), /* @__PURE__ */ e.createElement("div", { className: "flex flex-col flex-grow w-full gap-3 px-6 py-4 overflow-auto" }, (l ?? []).map((i, c) => /* @__PURE__ */ e.createElement(x, { key: c, ...i }))), /* @__PURE__ */ e.createElement("div", { className: "flex flex-col gap-4 pb-4" }, /* @__PURE__ */ e.createElement(f, null), /* @__PURE__ */ e.createElement(
135
+ ))), /* @__PURE__ */ e.createElement("div", { className: "flex flex-col flex-grow w-full gap-3 px-6 py-4 overflow-auto" }, (l ?? []).map((n, m) => /* @__PURE__ */ e.createElement(b, { key: m, ...n }))), /* @__PURE__ */ e.createElement("div", { className: "flex flex-col gap-4 pb-4" }, /* @__PURE__ */ e.createElement(f, null), /* @__PURE__ */ e.createElement(
124
136
  "div",
125
137
  {
126
138
  className: "flex cursor-pointer items-center gap-4 px-6 w-full",
@@ -161,15 +173,17 @@ const g = ({ name: l = "", email: t = "" }) => {
161
173
  logoutPanel: i
162
174
  }) => {
163
175
  const [c, n] = e.useState(!1);
164
- return /* @__PURE__ */ e.createElement("div", { className: "relative h-full w-full" }, c && /* @__PURE__ */ e.createElement(
165
- b,
176
+ return c ? /* @__PURE__ */ e.createElement("div", { className: "absolute z-10 top-0 w-full bottom-0" }, /* @__PURE__ */ e.createElement(
177
+ E,
166
178
  {
179
+ logo: a,
167
180
  icons: l,
168
181
  profile: r,
169
182
  credits: t,
170
- logoutPanel: i
183
+ logoutPanel: i,
184
+ handleClose: () => n(!1)
171
185
  }
172
- ), /* @__PURE__ */ e.createElement("div", { className: "w-full bg-dark-2 px-3 py-2 h-14 flex justify-between relative z-0" }, c === !1 && /* @__PURE__ */ e.createElement(
186
+ )) : /* @__PURE__ */ e.createElement("div", { className: "relative max-h-full w-full z-10" }, /* @__PURE__ */ e.createElement("div", { className: "w-full bg-dark-2 px-3 py-2 h-14 flex justify-between relative z-0" }, c === !1 && /* @__PURE__ */ e.createElement(
173
187
  "div",
174
188
  {
175
189
  className: "grid place-items-center h-10 w-10 cursor-pointer",
@@ -184,17 +198,7 @@ const g = ({ name: l = "", email: t = "" }) => {
184
198
  width: 20
185
199
  }
186
200
  )
187
- ), c ? /* @__PURE__ */ e.createElement("div", { className: "flex gap-2 items-center" }, /* @__PURE__ */ e.createElement(d, { ...a }), /* @__PURE__ */ e.createElement(s, { variant: "h2", className: "text-white" }, a?.text ?? "")) : /* @__PURE__ */ e.createElement(d, { ...a }), c ? /* @__PURE__ */ e.createElement("div", { className: "w-10 h-10 grid place-items-center" }, /* @__PURE__ */ e.createElement(
188
- "img",
189
- {
190
- src: "https://frontend-static-files.geoiq.io/strapi/x_7520d97d3c.svg",
191
- alt: "close",
192
- height: 24,
193
- width: 24,
194
- className: "cursor-pointer",
195
- onClick: () => n(!1)
196
- }
197
- )) : /* @__PURE__ */ e.createElement(E, { ...r })));
201
+ ), /* @__PURE__ */ e.createElement(v, { ...a }), /* @__PURE__ */ e.createElement(g, { ...r })));
198
202
  };
199
203
  export {
200
204
  _ as NavbarMobile
@@ -1 +1 @@
1
- {"version":3,"file":"index.es39.js","sources":["../src/components/organisms/navbar/navbar-mobile.tsx"],"sourcesContent":["import { Typography } from '@/components/atoms/typography'\nimport { Dropdown } from '@/components/molecules/dropdown-menu/dropdown-menu'\nimport { cn } from '@/lib/utils'\nimport React from 'react'\nimport { IconProps, NavbarPropsMobile } from './navbar.types'\nimport { Avatar } from '@/components/atoms/avatar'\n\nconst ProfileHeader = ({ name = '', email = '' }) => {\n if (!(name || email)) return null\n\n const classEllipsisAndOverflow: React.ComponentProps<'div'>['className'] =\n 'text-ellipsis overflow-hidden'\n\n return (\n <div className=\"flex flex-col px-2\">\n {name && (\n <Typography\n variant=\"body4\"\n className={cn('text-light-1', classEllipsisAndOverflow)}\n >\n {name}\n </Typography>\n )}\n {email && (\n <Typography\n variant=\"body5\"\n className={cn('text-light-3', classEllipsisAndOverflow)}\n >\n {email}\n </Typography>\n )}\n </div>\n )\n}\n\nconst NavbarIconAndText: React.FC<IconProps> = ({\n alt,\n className,\n src,\n tooltipText,\n wrapper = null,\n onClick,\n}) => {\n // Wrap the icon with a link or a button\n const returnWrap = (children: React.ReactNode) =>\n wrapper?.(children) ?? children\n\n const navbarIcon = (\n <div\n className={cn('flex gap-4 py-2 cursor-pointer', className)}\n // className={cn(NavbarIconVariants({ isActive }), className)}\n {...(onClick && { onClick })}\n >\n <img {...{ src, alt }} height={25} width={25} />\n <Typography variant=\"body2\" className=\"text-white\">\n {tooltipText}\n </Typography>\n </div>\n )\n\n return returnWrap(navbarIcon)\n}\n\nconst Profile: React.FC<NavbarPropsMobile['profile']> = ({\n src,\n popoverOptions,\n name = '',\n email = '',\n}) => (\n <Dropdown\n dropdownContentProps={{ side: 'bottom', align: 'end', sideOffset: 24 }}\n trigger={\n // div required as unable to open up the popup without it\n <div>\n <Avatar\n imageSrc={src ?? ''}\n size=\"md\"\n alt=\"avatar\"\n fallback={\n <img\n src=\"https://frontend-static-files.geoiq.io/strapi/Avatar_e5ab891e67.svg\"\n alt=\"avatar\"\n className=\"w-10 h-10 cursor-pointer\"\n />\n }\n />\n </div>\n }\n header={<ProfileHeader {...{ name, email }} />}\n optionGroups={popoverOptions}\n />\n)\n\nconst Logo: React.FC<NavbarPropsMobile['logo']> = ({ src, alt }) => (\n <img src={src} alt={alt} className=\"h-10\" />\n)\n\nconst MenuScreen: React.FC<Omit<NavbarPropsMobile, 'logo'>> = ({\n icons = [],\n profile,\n credits,\n logoutPanel,\n}) => (\n <div className=\"bg-dark-2 absolute z-10 top-14 bottom-0 left-0 right-0 flex flex-col justify-between\">\n {/* Profile Information */}\n <div className=\"flex justify-between items-center px-5 py-2 bg-[#212121] flex-shrink-0\">\n <div className=\"flex gap-2 items-center basis-4/5 overflow-hidden\">\n <Avatar\n imageSrc={profile?.src ?? ''}\n size=\"md\"\n alt=\"avatar\"\n fallback={\n <img\n src=\"https://frontend-static-files.geoiq.io/strapi/Avatar_e5ab891e67.svg\"\n alt=\"avatar\"\n className=\"w-12 h-12\"\n />\n }\n />\n\n <div className=\"flex flex-col gap-[2px] overflow-hidden\">\n <Typography\n variant=\"body3\"\n className=\"text-white text-ellipsis overflow-hidden text-nowrap\"\n title={profile?.name ?? ''}\n >\n {profile?.name ?? ''}\n </Typography>\n <Typography\n variant=\"body3\"\n className=\"text-white text-ellipsis overflow-hidden text-nowrap\"\n title={profile?.email ?? ''}\n >\n {profile?.email ?? ''}\n </Typography>\n </div>\n </div>\n\n {credits >= 0 && (\n <div className=\"flex flex-col gap-1 items-center basis-1/5\">\n <div className=\"rounded brand-primary-secondary-gradient p-1\">\n <img\n src=\"https://frontend-static-files.geoiq.io/strapi/navbar_credits_247858e26a.svg\"\n alt=\"coin icon\"\n className=\"h-4 w-4\"\n />\n </div>\n\n <Typography\n variant=\"body5\"\n className=\"text-white basis-1/5 text-center\"\n >{`${credits} credits`}</Typography>\n </div>\n )}\n </div>\n\n {/* Main Icons */}\n <div className=\"flex flex-col flex-grow w-full gap-3 px-6 py-4 overflow-auto\">\n {(icons ?? []).map((icon, index) => (\n <NavbarIconAndText key={index} {...icon} />\n ))}\n </div>\n\n <div className=\"flex flex-col gap-4 pb-4\">\n <Separator />\n\n {/* Logout Button */}\n <div\n className=\"flex cursor-pointer items-center gap-4 px-6 w-full\"\n onClick={logoutPanel.handleLogout}\n >\n <img\n src=\"https://frontend-static-files.geoiq.io/strapi/log_out_e3fa361fb6.svg\"\n alt=\"logout icon\"\n height={24}\n width={24}\n />\n <Typography className=\"text-white\" variant=\"body2\">\n Log out\n </Typography>\n </div>\n\n <Separator />\n\n {/* Terms and Conditions + Privacy Policy */}\n {logoutPanel?.bottomItems?.length > 0 && (\n <div className=\"flex items-center gap-6 px-6 justify-center w-full\">\n {logoutPanel?.bottomItems?.[0]?.label && (\n <Typography\n variant=\"body3\"\n className=\"nowrap cursor-pointer text-white\"\n onClick={logoutPanel?.bottomItems[0].onClick}\n >\n {logoutPanel.bottomItems[0].label}\n </Typography>\n )}\n\n {/* Show 'Dot' only for 2 items */}\n {logoutPanel?.bottomItems?.length === 2 && (\n <div className=\"h-1 w-1 bg-text4 rounded-full mx-1 shrink-0 grow-0 bg-white\" />\n )}\n\n {logoutPanel?.bottomItems?.[1]?.label && (\n <Typography\n variant=\"body3\"\n className=\"nowrap cursor-pointer text-white\"\n onClick={logoutPanel?.bottomItems[1].onClick}\n >\n {logoutPanel.bottomItems[1].label}\n </Typography>\n )}\n </div>\n )}\n </div>\n </div>\n)\n\nconst Separator = () => <div className=\"h-[1px] w-full bg-gray-300\" />\n\nexport const NavbarMobile: React.FC<NavbarPropsMobile> = ({\n // login,\n icons,\n credits = -1,\n profile,\n logo,\n logoutPanel,\n}) => {\n const [showFullScreen, setShowFullScreen] = React.useState(false)\n\n return (\n <div className=\"relative h-full w-full\">\n {showFullScreen && (\n <MenuScreen\n icons={icons}\n profile={profile}\n credits={credits}\n logoutPanel={logoutPanel}\n />\n )}\n\n <div className=\"w-full bg-dark-2 px-3 py-2 h-14 flex justify-between relative z-0\">\n {/* Hamburger Menu */}\n {showFullScreen === false && (\n <div\n className=\"grid place-items-center h-10 w-10 cursor-pointer\"\n onClick={() => setShowFullScreen(true)}\n >\n <img\n src=\"https://frontend-static-files.geoiq.io/strapi/navbar_menu_33acae53c5.svg\"\n alt=\"\"\n height={20}\n width={20}\n />\n </div>\n )}\n\n {showFullScreen ? (\n <div className=\"flex gap-2 items-center\">\n <Logo {...logo} />\n <Typography variant=\"h2\" className=\"text-white\">\n {logo?.text ?? ''}\n </Typography>\n </div>\n ) : (\n <Logo {...logo} />\n )}\n\n {showFullScreen ? (\n <div className=\"w-10 h-10 grid place-items-center\">\n <img\n src=\"https://frontend-static-files.geoiq.io/strapi/x_7520d97d3c.svg\"\n alt=\"close\"\n height={24}\n width={24}\n className=\"cursor-pointer\"\n onClick={() => setShowFullScreen(false)}\n />\n </div>\n ) : (\n <Profile {...profile} />\n )}\n </div>\n </div>\n )\n}\n"],"names":["ProfileHeader","name","email","classEllipsisAndOverflow","React","Typography","cn","NavbarIconAndText","alt","className","src","tooltipText","wrapper","onClick","returnWrap","children","navbarIcon","Profile","popoverOptions","Dropdown","Avatar","Logo","MenuScreen","icons","profile","credits","logoutPanel","icon","index","Separator","NavbarMobile","logo","showFullScreen","setShowFullScreen"],"mappings":";;;;;AAOA,MAAMA,IAAgB,CAAC,EAAE,MAAAC,IAAO,IAAI,OAAAC,IAAQ,SAAS;AAC/C,MAAA,EAAED,KAAQC,GAAe,QAAA;AAE7B,QAAMC,IACJ;AAEF,SACGC,gBAAAA,EAA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MAAA;AAAA,QACC,KAAI;AAAA,QACJ,KAAI;AAAA,QACJ,QAAQ;AAAA,QACR,OAAO;AAAA,MAAA;AAAA,IACT;AAAA,EAAA,GAIH4B,IACE5B,gBAAAA,EAAA,cAAA,OAAA,EAAI,WAAU,0BAAA,GACZA,gBAAAA,EAAA,cAAAiB,GAAA,EAAM,GAAGU,EAAA,CAAM,GAChB3B,gBAAAA,EAAA,cAACC,KAAW,SAAQ,MAAK,WAAU,gBAChC0B,GAAM,QAAQ,EACjB,CACF,IAEC3B,gBAAAA,EAAA,cAAAiB,GAAA,EAAM,GAAGU,EAAM,CAAA,GAGjBC,IACE5B,gBAAAA,EAAA,cAAA,OAAA,EAAI,WAAU,uCACbA,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAI;AAAA,MACJ,KAAI;AAAA,MACJ,QAAQ;AAAA,MACR,OAAO;AAAA,MACP,WAAU;AAAA,MACV,SAAS,MAAM6B,EAAkB,EAAK;AAAA,IAAA;AAAA,EAAA,CAE1C,IAEA7B,gBAAAA,EAAA,cAACa,KAAS,GAAGO,EAAA,CAAS,CAE1B,CACF;AAEJ;"}
1
+ {"version":3,"file":"index.es39.js","sources":["../src/components/organisms/navbar/navbar-mobile.tsx"],"sourcesContent":["import { Typography } from '@/components/atoms/typography'\nimport { Dropdown } from '@/components/molecules/dropdown-menu/dropdown-menu'\nimport { cn } from '@/lib/utils'\nimport React from 'react'\nimport { IconProps, NavbarPropsMobile } from './navbar.types'\nimport { Avatar } from '@/components/atoms/avatar'\n\nconst ProfileHeader = ({ name = '', email = '' }) => {\n if (!(name || email)) return null\n\n const classEllipsisAndOverflow: React.ComponentProps<'div'>['className'] =\n 'text-ellipsis overflow-hidden'\n\n return (\n <div className=\"flex flex-col px-2\">\n {name && (\n <Typography\n variant=\"body4\"\n className={cn('text-light-1', classEllipsisAndOverflow)}\n >\n {name}\n </Typography>\n )}\n {email && (\n <Typography\n variant=\"body5\"\n className={cn('text-light-3', classEllipsisAndOverflow)}\n >\n {email}\n </Typography>\n )}\n </div>\n )\n}\n\nconst NavbarIconAndText: React.FC<IconProps> = ({\n alt,\n className,\n src,\n tooltipText,\n wrapper = null,\n onClick,\n}) => {\n // Wrap the icon with a link or a button\n const returnWrap = (children: React.ReactNode) =>\n wrapper?.(children) ?? children\n\n const navbarIcon = (\n <div\n className={cn('flex gap-4 py-2 cursor-pointer', className)}\n // className={cn(NavbarIconVariants({ isActive }), className)}\n {...(onClick && { onClick })}\n >\n <img {...{ src, alt }} height={25} width={25} />\n <Typography variant=\"body2\" className=\"text-white\">\n {tooltipText}\n </Typography>\n </div>\n )\n\n return returnWrap(navbarIcon)\n}\n\nconst Profile: React.FC<NavbarPropsMobile['profile']> = ({\n src,\n popoverOptions,\n name = '',\n email = '',\n}) => (\n <Dropdown\n dropdownContentProps={{ side: 'bottom', align: 'end', sideOffset: 24 }}\n trigger={\n // div required as unable to open up the popup without it\n <div>\n <Avatar\n imageSrc={src ?? ''}\n size=\"md\"\n alt=\"avatar\"\n fallback={\n <img\n src=\"https://frontend-static-files.geoiq.io/strapi/Avatar_e5ab891e67.svg\"\n alt=\"avatar\"\n className=\"w-10 h-10 cursor-pointer\"\n />\n }\n />\n </div>\n }\n header={<ProfileHeader {...{ name, email }} />}\n optionGroups={popoverOptions}\n />\n)\n\nconst Logo: React.FC<NavbarPropsMobile['logo']> = ({ src, alt }) => (\n <img src={src} alt={alt} className=\"h-10\" />\n)\n\nconst MenuScreen: React.FC<NavbarPropsMobile & { handleClose: () => void }> = ({\n icons = [],\n profile,\n credits,\n logoutPanel,\n logo,\n handleClose,\n}) => (\n <div className=\"bg-dark-2 absolute z-10 top-0 bottom-0 left-0 right-0 flex flex-col justify-between\">\n <div className=\"flex justify-between items-center w-full bg-dark-2 px-3 py-2\">\n {/* Logo and Text */}\n <div className=\"flex gap-2 items-center\">\n <Logo {...logo} />\n <Typography variant=\"h2\" className=\"text-white\">\n {logo?.text ?? ''}\n </Typography>\n </div>\n\n {/* cross button */}\n <div className=\"w-10 h-10 grid place-items-center\">\n <img\n src=\"https://frontend-static-files.geoiq.io/strapi/x_7520d97d3c.svg\"\n alt=\"close\"\n height={24}\n width={24}\n className=\"cursor-pointer\"\n onClick={handleClose}\n />\n </div>\n </div>\n {/* Profile Information */}\n <div className=\"flex justify-between items-center px-5 py-2 bg-[#212121] flex-shrink-0\">\n <div className=\"flex gap-2 items-center basis-4/5 overflow-hidden\">\n <Avatar\n imageSrc={profile?.src ?? ''}\n size=\"md\"\n alt=\"avatar\"\n fallback={\n <img\n src=\"https://frontend-static-files.geoiq.io/strapi/Avatar_e5ab891e67.svg\"\n alt=\"avatar\"\n className=\"w-12 h-12\"\n />\n }\n />\n\n <div className=\"flex flex-col gap-[2px] overflow-hidden\">\n <Typography\n variant=\"body3\"\n className=\"text-white text-ellipsis overflow-hidden text-nowrap\"\n title={profile?.name ?? ''}\n >\n {profile?.name ?? ''}\n </Typography>\n <Typography\n variant=\"body3\"\n className=\"text-white text-ellipsis overflow-hidden text-nowrap\"\n title={profile?.email ?? ''}\n >\n {profile?.email ?? ''}\n </Typography>\n </div>\n </div>\n\n {credits >= 0 && (\n <div className=\"flex flex-col gap-1 items-center basis-1/5\">\n <div className=\"rounded brand-primary-secondary-gradient p-1\">\n <img\n src=\"https://frontend-static-files.geoiq.io/strapi/navbar_credits_247858e26a.svg\"\n alt=\"coin icon\"\n className=\"h-4 w-4\"\n />\n </div>\n\n <Typography\n variant=\"body5\"\n className=\"text-white basis-1/5 text-center\"\n >{`${credits} credits`}</Typography>\n </div>\n )}\n </div>\n\n {/* Main Icons */}\n <div className=\"flex flex-col flex-grow w-full gap-3 px-6 py-4 overflow-auto\">\n {(icons ?? []).map((icon, index) => (\n <NavbarIconAndText key={index} {...icon} />\n ))}\n </div>\n\n <div className=\"flex flex-col gap-4 pb-4\">\n <Separator />\n\n {/* Logout Button */}\n <div\n className=\"flex cursor-pointer items-center gap-4 px-6 w-full\"\n onClick={logoutPanel.handleLogout}\n >\n <img\n src=\"https://frontend-static-files.geoiq.io/strapi/log_out_e3fa361fb6.svg\"\n alt=\"logout icon\"\n height={24}\n width={24}\n />\n <Typography className=\"text-white\" variant=\"body2\">\n Log out\n </Typography>\n </div>\n\n <Separator />\n\n {/* Terms and Conditions + Privacy Policy */}\n {logoutPanel?.bottomItems?.length > 0 && (\n <div className=\"flex items-center gap-6 px-6 justify-center w-full\">\n {logoutPanel?.bottomItems?.[0]?.label && (\n <Typography\n variant=\"body3\"\n className=\"nowrap cursor-pointer text-white\"\n onClick={logoutPanel?.bottomItems[0].onClick}\n >\n {logoutPanel.bottomItems[0].label}\n </Typography>\n )}\n\n {/* Show 'Dot' only for 2 items */}\n {logoutPanel?.bottomItems?.length === 2 && (\n <div className=\"h-1 w-1 bg-text4 rounded-full mx-1 shrink-0 grow-0 bg-white\" />\n )}\n\n {logoutPanel?.bottomItems?.[1]?.label && (\n <Typography\n variant=\"body3\"\n className=\"nowrap cursor-pointer text-white\"\n onClick={logoutPanel?.bottomItems[1].onClick}\n >\n {logoutPanel.bottomItems[1].label}\n </Typography>\n )}\n </div>\n )}\n </div>\n </div>\n)\n\nconst Separator = () => <div className=\"h-[1px] w-full bg-gray-300\" />\n\nexport const NavbarMobile: React.FC<NavbarPropsMobile> = ({\n // login,\n icons,\n credits = -1,\n profile,\n logo,\n logoutPanel,\n}) => {\n const [showFullScreen, setShowFullScreen] = React.useState(false)\n\n if (showFullScreen)\n return (\n <div className=\"absolute z-10 top-0 w-full bottom-0\">\n <MenuScreen\n logo={logo}\n icons={icons}\n profile={profile}\n credits={credits}\n logoutPanel={logoutPanel}\n handleClose={() => setShowFullScreen(false)}\n />\n </div>\n )\n\n return (\n <div className=\"relative max-h-full w-full z-10\">\n <div className=\"w-full bg-dark-2 px-3 py-2 h-14 flex justify-between relative z-0\">\n {/* Hamburger Menu */}\n {showFullScreen === false && (\n <div\n className=\"grid place-items-center h-10 w-10 cursor-pointer\"\n onClick={() => setShowFullScreen(true)}\n >\n <img\n src=\"https://frontend-static-files.geoiq.io/strapi/navbar_menu_33acae53c5.svg\"\n alt=\"\"\n height={20}\n width={20}\n />\n </div>\n )}\n\n <Logo {...logo} />\n\n <Profile {...profile} />\n </div>\n </div>\n )\n}\n"],"names":["ProfileHeader","name","email","classEllipsisAndOverflow","React","Typography","cn","NavbarIconAndText","alt","className","src","tooltipText","wrapper","onClick","returnWrap","children","navbarIcon","Profile","popoverOptions","Dropdown","Avatar","Logo","MenuScreen","icons","profile","credits","logoutPanel","logo","handleClose","icon","index","Separator","NavbarMobile","showFullScreen","setShowFullScreen"],"mappings":";;;;;AAOA,MAAMA,IAAgB,CAAC,EAAE,MAAAC,IAAO,IAAI,OAAAC,IAAQ,SAAS;AAC/C,MAAA,EAAED,KAAQC,GAAe,QAAA;AAE7B,QAAMC,IACJ;AAEF,SACGC,gBAAAA,EAAA,cAAA,OAAA,EAAI,WAAU,qBAAA,GACZH,KACCG,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,SAAQ;AAAA,MACR,WAAWC,EAAG,gBAAgBH,CAAwB;AAAA,IAAA;AAAA,IAErDF;AAAA,EAAA,GAGJC,KACCE,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,SAAQ;AAAA,MACR,WAAWC,EAAG,gBAAgBH,CAAwB;AAAA,IAAA;AAAA,IAErDD;AAAA,EAAA,CAGP;AAEJ,GAEMK,IAAyC,CAAC;AAAA,EAC9C,KAAAC;AAAA,EACA,WAAAC;AAAA,EACA,KAAAC;AAAA,EACA,aAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,SAAAC;AACF,MAAM;AAEJ,QAAMC,IAAa,CAACC,MAClBH,IAAUG,CAAQ,KAAKA,GAEnBC,IACJZ,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWE,EAAG,kCAAkCG,CAAS;AAAA,MAExD,GAAII,KAAW,EAAE,SAAAA,EAAQ;AAAA,IAAA;AAAA,IA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AGDA,gBAAAA,EAAA,cAAAiB,GAAA,EAAM,GAAGM,EAAA,CAAM,GAEhBvB,gBAAAA,EAAA,cAACa,GAAS,EAAA,GAAGO,EAAS,CAAA,CACxB,CACF;AAEJ;"}
@@ -1,5 +1,5 @@
1
1
  import { cva as e } from "class-variance-authority";
2
- import { defaultTypographyVariant as t } from "./index.es73.js";
2
+ import { defaultTypographyVariant as t } from "./index.es78.js";
3
3
  const r = e("", {
4
4
  variants: {
5
5
  variant: {
@@ -1,48 +1,52 @@
1
- import { cva as t } from "class-variance-authority";
2
- const r = t(
3
- "relative rounded-xl flex flex-row h-full items-start gap-2 border px-4 py-4 text-sm ",
1
+ import { cva as r } from "class-variance-authority";
2
+ const s = r(
3
+ ` h-[38px] w-full border flex items-center justify-between gap-1.5 relative mt-1.5 rounded-lg
4
+ text-light-2 px-3 py-2
5
+ file:border-0 file:bg-transparent
6
+ placeholder:font-normal placeholder:text-light-4`,
4
7
  {
5
8
  variants: {
6
- variant: {
7
- info: " text-text4 dark:border-danger [&>svg]:text-danger bg-info-1",
8
- success: "text-text4 dark:border-danger [&>svg]:text-danger bg-success-1",
9
- warning: "text-text4 dark:border-danger [&>svg]:text-danger bg-warning-1 ",
10
- error: " text-text4 dark:border-danger [&>svg]:text-danger bg-danger-1",
11
- default: "text-text4 bg-background text-foreground"
9
+ isError: {
10
+ true: "",
11
+ false: ""
12
+ },
13
+ isFocused: {
14
+ true: "",
15
+ false: ""
12
16
  },
13
- shortContent: {
14
- true: "items-center flex flex-row gap-3",
17
+ disabled: {
18
+ true: "bg-light-3 border-neutral-2 cursor-not-allowed",
15
19
  false: ""
16
20
  }
17
21
  },
18
22
  defaultVariants: {
19
- variant: "info"
20
- }
21
- }
22
- ), a = t("", {
23
- variants: {
24
- shortContent: {
25
- true: "justify-between w-full items-center flex flex-row gap-3",
26
- false: "flex flex-col gap-2 justify-start items-start"
27
- }
28
- },
29
- defaultVariants: {
30
- shortContent: !1
31
- }
32
- }), n = t(" max-w-[fit-content] ", {
33
- variants: {
34
- shortContent: {
35
- true: "bg-rest-s1",
36
- false: "bg-rest-s1"
37
- }
38
- },
39
- defaultVariants: {
40
- shortContent: !1
23
+ isError: !1
24
+ },
25
+ compoundVariants: [
26
+ {
27
+ isError: !0,
28
+ isFocused: !0,
29
+ className: "border-danger-2 ring-4 ring-danger-1"
30
+ },
31
+ {
32
+ isError: !1,
33
+ isFocused: !0,
34
+ className: "border-primary-2 ring-4 ring-primary-1"
35
+ },
36
+ {
37
+ isError: !0,
38
+ isFocused: !1,
39
+ className: "border-danger-2"
40
+ },
41
+ {
42
+ isError: !1,
43
+ isFocused: !1,
44
+ className: "border-light-2"
45
+ }
46
+ ]
41
47
  }
42
- });
48
+ );
43
49
  export {
44
- n as AlertButtonVariants,
45
- a as AlertContentVariants,
46
- r as AlertVariants
50
+ s as InputVariants
47
51
  };
48
52
  //# sourceMappingURL=index.es71.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es71.js","sources":["../src/components/molecules/alert/alert.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const AlertVariants = cva(\n 'relative rounded-xl flex flex-row h-full items-start gap-2 border px-4 py-4 text-sm ',\n {\n variants: {\n variant: {\n info: ' text-text4 dark:border-danger [&>svg]:text-danger bg-info-1',\n success:\n 'text-text4 dark:border-danger [&>svg]:text-danger bg-success-1',\n warning:\n 'text-text4 dark:border-danger [&>svg]:text-danger bg-warning-1 ',\n error:\n ' text-text4 dark:border-danger [&>svg]:text-danger bg-danger-1',\n default: 'text-text4 bg-background text-foreground',\n },\n shortContent: {\n true: 'items-center flex flex-row gap-3',\n false: '',\n },\n },\n defaultVariants: {\n variant: 'info',\n },\n }\n)\n\nexport const AlertContentVariants = cva('', {\n variants: {\n shortContent: {\n true: 'justify-between w-full items-center flex flex-row gap-3',\n false: 'flex flex-col gap-2 justify-start items-start',\n },\n },\n defaultVariants: {\n shortContent: false,\n },\n})\n\nexport const AlertButtonVariants = cva(' max-w-[fit-content] ', {\n variants: {\n shortContent: {\n true: 'bg-rest-s1',\n false: 'bg-rest-s1',\n },\n },\n defaultVariants: {\n shortContent: false,\n },\n})\n"],"names":["AlertVariants","cva","AlertContentVariants","AlertButtonVariants"],"mappings":";AAEO,MAAMA,IAAgBC;AAAA,EAC3B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,MAAM;AAAA,QACN,SACE;AAAA,QACF,SACE;AAAA,QACF,OACE;AAAA,QACF,SAAS;AAAA,MACX;AAAA,MACA,cAAc;AAAA,QACZ,MAAM;AAAA,QACN,OAAO;AAAA,MACT;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,IACX;AAAA,EACF;AACF,GAEaC,IAAuBD,EAAI,IAAI;AAAA,EAC1C,UAAU;AAAA,IACR,cAAc;AAAA,MACZ,MAAM;AAAA,MACN,OAAO;AAAA,IACT;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,cAAc;AAAA,EAChB;AACF,CAAC,GAEYE,IAAsBF,EAAI,yBAAyB;AAAA,EAC9D,UAAU;AAAA,IACR,cAAc;AAAA,MACZ,MAAM;AAAA,MACN,OAAO;AAAA,IACT;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,cAAc;AAAA,EAChB;AACF,CAAC;"}
1
+ {"version":3,"file":"index.es71.js","sources":["../src/components/atoms/input/input.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const InputVariants = cva(\n ` h-[38px] w-full border flex items-center justify-between gap-1.5 relative mt-1.5 rounded-lg \n text-light-2 px-3 py-2\n file:border-0 file:bg-transparent\n placeholder:font-normal placeholder:text-light-4`,\n {\n variants: {\n isError: {\n true: '',\n false: '',\n },\n isFocused: {\n true: '',\n false: '',\n },\n disabled: {\n true: 'bg-light-3 border-neutral-2 cursor-not-allowed',\n false: '',\n },\n },\n defaultVariants: {\n isError: false,\n },\n compoundVariants: [\n {\n isError: true,\n isFocused: true,\n className: 'border-danger-2 ring-4 ring-danger-1',\n },\n {\n isError: false,\n isFocused: true,\n className: 'border-primary-2 ring-4 ring-primary-1',\n },\n {\n isError: true,\n isFocused: false,\n className: 'border-danger-2',\n },\n {\n isError: false,\n isFocused: false,\n className: 'border-light-2',\n },\n ],\n }\n)\n"],"names":["InputVariants","cva"],"mappings":";AAEO,MAAMA,IAAgBC;AAAA,EAC3B;AAAA;AAAA;AAAA;AAAA,EAIA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,MAAM;AAAA,QACN,OAAO;AAAA,MACT;AAAA,MACA,WAAW;AAAA,QACT,MAAM;AAAA,QACN,OAAO;AAAA,MACT;AAAA,MACA,UAAU;AAAA,QACR,MAAM;AAAA,QACN,OAAO;AAAA,MACT;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,IACX;AAAA,IACA,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,WAAW;AAAA,QACX,WAAW;AAAA,MACb;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,WAAW;AAAA,QACX,WAAW;AAAA,MACb;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,WAAW;AAAA,QACX,WAAW;AAAA,MACb;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,WAAW;AAAA,QACX,WAAW;AAAA,MACb;AAAA,IACF;AAAA,EACF;AACF;"}
@@ -1,52 +1,14 @@
1
1
  import { cva as r } from "class-variance-authority";
2
- const s = r(
3
- ` h-[38px] w-full border flex items-center justify-between gap-1.5 relative mt-1.5 rounded-lg
4
- text-light-2 px-3 py-2
5
- file:border-0 file:bg-transparent
6
- placeholder:font-normal placeholder:text-light-4`,
2
+ const i = r(
3
+ "relative h-2 w-full overflow-hidden rounded bg-primary-2 min-w-64 ",
7
4
  {
8
5
  variants: {
9
- isError: {
10
- true: "",
11
- false: ""
12
- },
13
- isFocused: {
14
- true: "",
15
- false: ""
16
- },
17
- disabled: {
18
- true: "bg-light-3 border-neutral-2 cursor-not-allowed",
19
- false: ""
20
- }
6
+ variant: {}
21
7
  },
22
- defaultVariants: {
23
- isError: !1
24
- },
25
- compoundVariants: [
26
- {
27
- isError: !0,
28
- isFocused: !0,
29
- className: "border-danger-2 ring-4 ring-danger-1"
30
- },
31
- {
32
- isError: !1,
33
- isFocused: !0,
34
- className: "border-primary-2 ring-4 ring-primary-1"
35
- },
36
- {
37
- isError: !0,
38
- isFocused: !1,
39
- className: "border-danger-2"
40
- },
41
- {
42
- isError: !1,
43
- isFocused: !1,
44
- className: "border-light-2"
45
- }
46
- ]
8
+ defaultVariants: {}
47
9
  }
48
10
  );
49
11
  export {
50
- s as InputVariants
12
+ i as ProgressVariants
51
13
  };
52
14
  //# sourceMappingURL=index.es72.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es72.js","sources":["../src/components/atoms/input/input.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const InputVariants = cva(\n ` h-[38px] w-full border flex items-center justify-between gap-1.5 relative mt-1.5 rounded-lg \n text-light-2 px-3 py-2\n file:border-0 file:bg-transparent\n placeholder:font-normal placeholder:text-light-4`,\n {\n variants: {\n isError: {\n true: '',\n false: '',\n },\n isFocused: {\n true: '',\n false: '',\n },\n disabled: {\n true: 'bg-light-3 border-neutral-2 cursor-not-allowed',\n false: '',\n },\n },\n defaultVariants: {\n isError: false,\n },\n compoundVariants: [\n {\n isError: true,\n isFocused: true,\n className: 'border-danger-2 ring-4 ring-danger-1',\n },\n {\n isError: false,\n isFocused: true,\n className: 'border-primary-2 ring-4 ring-primary-1',\n },\n {\n isError: true,\n isFocused: false,\n className: 'border-danger-2',\n },\n {\n isError: false,\n isFocused: false,\n className: 'border-light-2',\n },\n ],\n }\n)\n"],"names":["InputVariants","cva"],"mappings":";AAEO,MAAMA,IAAgBC;AAAA,EAC3B;AAAA;AAAA;AAAA;AAAA,EAIA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,MAAM;AAAA,QACN,OAAO;AAAA,MACT;AAAA,MACA,WAAW;AAAA,QACT,MAAM;AAAA,QACN,OAAO;AAAA,MACT;AAAA,MACA,UAAU;AAAA,QACR,MAAM;AAAA,QACN,OAAO;AAAA,MACT;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,IACX;AAAA,IACA,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,WAAW;AAAA,QACX,WAAW;AAAA,MACb;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,WAAW;AAAA,QACX,WAAW;AAAA,MACb;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,WAAW;AAAA,QACX,WAAW;AAAA,MACb;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,WAAW;AAAA,QACX,WAAW;AAAA,MACb;AAAA,IACF;AAAA,EACF;AACF;"}
1
+ {"version":3,"file":"index.es72.js","sources":["../src/components/atoms/progress/progress.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const ProgressVariants = cva(\n 'relative h-2 w-full overflow-hidden rounded bg-primary-2 min-w-64 ',\n {\n variants: {\n variant: {},\n },\n defaultVariants: {},\n }\n)\n"],"names":["ProgressVariants","cva"],"mappings":";AAEO,MAAMA,IAAmBC;AAAA,EAC9B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS,CAAC;AAAA,IACZ;AAAA,IACA,iBAAiB,CAAC;AAAA,EACpB;AACF;"}
@@ -1,25 +1,48 @@
1
- const p = {
2
- display1: "p",
3
- display2: "p",
4
- display3: "p",
5
- h1: "h1",
6
- h2: "h2",
7
- h3: "h3",
8
- body1: "p",
9
- body2: "p",
10
- body3: "p",
11
- body4: "p",
12
- body5: "p",
13
- body6: "p"
14
- // overline1: 'p',
15
- // overline2: 'p',
16
- // overline3: 'p',
17
- // 'cta-large': 'p',
18
- // 'cta-normal': 'p',
19
- // 'cta-small': 'p',
20
- }, y = "body1";
1
+ import { cva as t } from "class-variance-authority";
2
+ const r = t(
3
+ "relative rounded-xl flex flex-row h-full items-start gap-2 border px-4 py-4 text-sm ",
4
+ {
5
+ variants: {
6
+ variant: {
7
+ info: " text-text4 dark:border-danger [&>svg]:text-danger bg-info-1",
8
+ success: "text-text4 dark:border-danger [&>svg]:text-danger bg-success-1",
9
+ warning: "text-text4 dark:border-danger [&>svg]:text-danger bg-warning-1 ",
10
+ error: " text-text4 dark:border-danger [&>svg]:text-danger bg-danger-1",
11
+ default: "text-text4 bg-background text-foreground"
12
+ },
13
+ shortContent: {
14
+ true: "items-center flex flex-row gap-3",
15
+ false: ""
16
+ }
17
+ },
18
+ defaultVariants: {
19
+ variant: "info"
20
+ }
21
+ }
22
+ ), a = t("", {
23
+ variants: {
24
+ shortContent: {
25
+ true: "justify-between w-full items-center flex flex-row gap-3",
26
+ false: "flex flex-col gap-2 justify-start items-start"
27
+ }
28
+ },
29
+ defaultVariants: {
30
+ shortContent: !1
31
+ }
32
+ }), n = t(" max-w-[fit-content] ", {
33
+ variants: {
34
+ shortContent: {
35
+ true: "bg-rest-s1",
36
+ false: "bg-rest-s1"
37
+ }
38
+ },
39
+ defaultVariants: {
40
+ shortContent: !1
41
+ }
42
+ });
21
43
  export {
22
- y as defaultTypographyVariant,
23
- p as variantElementMap
44
+ n as AlertButtonVariants,
45
+ a as AlertContentVariants,
46
+ r as AlertVariants
24
47
  };
25
48
  //# sourceMappingURL=index.es73.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es73.js","sources":["../src/components/atoms/typography/typography.config.ts"],"sourcesContent":["export const variantElementMap = {\n display1: 'p',\n display2: 'p',\n display3: 'p',\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n body1: 'p',\n body2: 'p',\n body3: 'p',\n body4: 'p',\n body5: 'p',\n body6: 'p',\n // overline1: 'p',\n // overline2: 'p',\n // overline3: 'p',\n // 'cta-large': 'p',\n // 'cta-normal': 'p',\n // 'cta-small': 'p',\n}\n\nexport const defaultTypographyVariant = 'body1'\n"],"names":["variantElementMap","defaultTypographyVariant"],"mappings":"AAAO,MAAMA,IAAoB;AAAA,EAC/B,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOT,GAEaC,IAA2B;"}
1
+ {"version":3,"file":"index.es73.js","sources":["../src/components/molecules/alert/alert.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const AlertVariants = cva(\n 'relative rounded-xl flex flex-row h-full items-start gap-2 border px-4 py-4 text-sm ',\n {\n variants: {\n variant: {\n info: ' text-text4 dark:border-danger [&>svg]:text-danger bg-info-1',\n success:\n 'text-text4 dark:border-danger [&>svg]:text-danger bg-success-1',\n warning:\n 'text-text4 dark:border-danger [&>svg]:text-danger bg-warning-1 ',\n error:\n ' text-text4 dark:border-danger [&>svg]:text-danger bg-danger-1',\n default: 'text-text4 bg-background text-foreground',\n },\n shortContent: {\n true: 'items-center flex flex-row gap-3',\n false: '',\n },\n },\n defaultVariants: {\n variant: 'info',\n },\n }\n)\n\nexport const AlertContentVariants = cva('', {\n variants: {\n shortContent: {\n true: 'justify-between w-full items-center flex flex-row gap-3',\n false: 'flex flex-col gap-2 justify-start items-start',\n },\n },\n defaultVariants: {\n shortContent: false,\n },\n})\n\nexport const AlertButtonVariants = cva(' max-w-[fit-content] ', {\n variants: {\n shortContent: {\n true: 'bg-rest-s1',\n false: 'bg-rest-s1',\n },\n },\n defaultVariants: {\n shortContent: false,\n },\n})\n"],"names":["AlertVariants","cva","AlertContentVariants","AlertButtonVariants"],"mappings":";AAEO,MAAMA,IAAgBC;AAAA,EAC3B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,MAAM;AAAA,QACN,SACE;AAAA,QACF,SACE;AAAA,QACF,OACE;AAAA,QACF,SAAS;AAAA,MACX;AAAA,MACA,cAAc;AAAA,QACZ,MAAM;AAAA,QACN,OAAO;AAAA,MACT;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,IACX;AAAA,EACF;AACF,GAEaC,IAAuBD,EAAI,IAAI;AAAA,EAC1C,UAAU;AAAA,IACR,cAAc;AAAA,MACZ,MAAM;AAAA,MACN,OAAO;AAAA,IACT;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,cAAc;AAAA,EAChB;AACF,CAAC,GAEYE,IAAsBF,EAAI,yBAAyB;AAAA,EAC9D,UAAU;AAAA,IACR,cAAc;AAAA,MACZ,MAAM;AAAA,MACN,OAAO;AAAA,IACT;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,cAAc;AAAA,EAChB;AACF,CAAC;"}