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 +1 @@
1
- {"version":3,"file":"index.es38.js","sources":["../src/components/organisms/navbar/navbar.tsx"],"sourcesContent":["import { Badge } from '@/components/atoms/badge'\nimport Tooltip from '@/components/atoms/tooltip'\nimport { 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, NavbarProps } from './navbar.types'\nimport { NavbarIconVariants } from './navbar.styles'\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 NavbarIcon: React.FC<IconProps> = ({\n alt,\n className,\n isActive = false,\n isNew = false,\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(NavbarIconVariants({ isActive }), className)}\n {...(onClick && { onClick })}\n >\n <img {...{ src, alt }} />\n <NewBlink isNew={isNew} />\n </div>\n )\n\n if (tooltipText)\n return returnWrap(\n <div className=\"relative\">\n <Tooltip\n content=\"\"\n headerText={\n (\n <div className=\"flex gap-2 items-center\">\n {isNew && (\n <Badge variant=\"gradient\" size=\"sm\">\n NEW\n </Badge>\n )}\n <div>{tooltipText}</div>\n </div>\n ) as unknown as string\n }\n triggerElement={navbarIcon}\n delayDuration={100}\n side=\"right\"\n />\n </div>\n )\n\n return returnWrap(navbarIcon)\n}\n\nconst Separator = () => (\n <div className=\"my-1 h-[1px] w-10 bg-white opacity-20\" />\n)\n\nconst NewBlink: React.FC<Pick<IconProps, 'isNew'>> = ({ isNew }) =>\n isNew ? (\n <div className=\"absolute w-[6px] h-[6px] rounded-full bottom-1 right-1 bg-secondary-2\" />\n ) : null\n\nconst Profile: React.FC<NavbarProps['profile']> = ({\n src,\n popoverOptions,\n name = '',\n email = '',\n}) => (\n <Dropdown\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 Login: React.FC<Pick<NavbarProps['login'], 'onClick'>> = ({\n onClick,\n}) => (\n <Typography\n variant=\"body4\"\n className=\"text-white text-center cursor-pointer\"\n onClick={onClick}\n >\n Login\n </Typography>\n)\n\nconst Logo: React.FC<NavbarProps['logo']> = ({ src, alt }) => (\n <img src={src} alt={alt} className=\"w-10 h-auto\" />\n)\n\nconst Credits: React.FC<Pick<NavbarProps, 'credits'>> = ({ credits }) =>\n credits >= 0 && (\n <div className=\"rounded brand-primary-secondary-gradient flex gap-[2px] h-auto box-border p-1 w-10 flex-wrap justify-center\">\n {credits > 9999 ? (\n <img\n src=\"https://frontend-static-files.geoiq.io/strapi/infinity_7d62ad2947.svg\"\n alt=\"infinity icon\"\n className=\"h-4 w-4\"\n />\n ) : (\n <Typography variant=\"body5\" className=\"text-white\">\n {credits}\n </Typography>\n )}\n\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\nexport const Navbar: React.FC<NavbarProps> = ({\n login,\n icons,\n credits = -1,\n profile,\n logo,\n className = '',\n}) => {\n return (\n <div\n className={cn(\n 'w-16 bg-dark-2 px-3 py-4 h-full flex flex-col justify-between',\n className\n )}\n >\n {/* Top Part */}\n <div className=\"flex flex-col items-center gap-8\">\n <Logo {...logo} />\n\n {/* Main Icons */}\n <div className=\"flex flex-col gap-3\">\n {(icons?.list ?? []).map((icon, index) => (\n <NavbarIcon key={index} {...icon} />\n ))}\n </div>\n </div>\n\n {/* Bottom Part */}\n <div className=\"flex flex-col items-center gap-2\">\n {/* Help */}\n <NavbarIcon {...icons.help} />\n\n {/* Credits */}\n <Credits credits={credits} />\n\n <Separator />\n\n {/* Avatar and Login Part */}\n {login?.isLoggedIn ? <Profile {...profile} /> : <Login {...login} />}\n </div>\n </div>\n )\n}\n"],"names":["ProfileHeader","name","email","classEllipsisAndOverflow","React","Typography","cn","NavbarIcon","alt","className","isActive","isNew","src","tooltipText","wrapper","onClick","returnWrap","children","navbarIcon","NavbarIconVariants","NewBlink","Tooltip","Badge","Separator","Profile","popoverOptions","Dropdown","Avatar","Login","Logo","Credits","credits","Navbar","login","icons","profile","logo","icon","index"],"mappings":";;;;;;;;AAUA,MAAMA,IAAgB,CAAC,EAAE,MAAAC,IAAO,IAAI,OAAAC,IAAQ,SAAS;AAC/C,MAAA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AAAC,EAAkB,CAAA,GAE1B3B,gBAAAA,EAAA,cAAAmB,GAAA,IAAU,GAGVU,GAAO,aAAa7B,gBAAAA,EAAA,cAACoB,GAAS,EAAA,GAAGW,EAAS,CAAA,IAAM/B,gBAAAA,EAAA,cAAAwB,GAAA,EAAO,GAAGK,EAAA,CAAO,CACpE;AAAA;"}
1
+ {"version":3,"file":"index.es38.js","sources":["../src/components/organisms/navbar/navbar.tsx"],"sourcesContent":["import { Badge } from '@/components/atoms/badge'\nimport Tooltip from '@/components/atoms/tooltip'\nimport { 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, NavbarProps } from './navbar.types'\nimport { NavbarIconVariants } from './navbar.styles'\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 NavbarIcon: React.FC<IconProps> = ({\n alt,\n className,\n isActive = false,\n isNew = false,\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(NavbarIconVariants({ isActive }), className)}\n {...(onClick && { onClick })}\n >\n <img {...{ src, alt }} />\n <NewBlink isNew={isNew} />\n </div>\n )\n\n if (tooltipText)\n return returnWrap(\n <div className=\"relative\">\n <Tooltip\n content=\"\"\n headerText={\n (\n <div className=\"flex gap-2 items-center\">\n {isNew && (\n <Badge variant=\"gradient\" size=\"sm\">\n NEW\n </Badge>\n )}\n <div>{tooltipText}</div>\n </div>\n ) as unknown as string\n }\n sideOffset={24}\n triggerElement={navbarIcon}\n delayDuration={100}\n side=\"right\"\n />\n </div>\n )\n\n return returnWrap(navbarIcon)\n}\n\nconst Separator = () => (\n <div className=\"my-1 h-[1px] w-10 bg-white opacity-20\" />\n)\n\nconst NewBlink: React.FC<Pick<IconProps, 'isNew'>> = ({ isNew }) =>\n isNew ? (\n <div className=\"absolute w-[6px] h-[6px] rounded-full bottom-1 right-1 bg-secondary-2\" />\n ) : null\n\nconst Profile: React.FC<NavbarProps['profile']> = ({\n src,\n popoverOptions,\n name = '',\n email = '',\n}) => (\n <Dropdown\n dropdownContentProps={{ sideOffset: 24, side: 'right', align: 'end' }}\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 Login: React.FC<Pick<NavbarProps['login'], 'onClick'>> = ({\n onClick,\n}) => (\n <Typography\n variant=\"body4\"\n className=\"text-white text-center cursor-pointer\"\n onClick={onClick}\n >\n Login\n </Typography>\n)\n\nconst Logo: React.FC<NavbarProps['logo']> = ({ src, alt }) => (\n <img src={src} alt={alt} className=\"w-10 h-auto\" />\n)\n\nconst Credits: React.FC<Pick<NavbarProps, 'credits'>> = ({ credits }) =>\n credits >= 0 && (\n <div className=\"rounded brand-primary-secondary-gradient flex gap-[2px] h-auto box-border p-1 w-10 flex-wrap justify-center\">\n {credits > 9999 ? (\n <img\n src=\"https://frontend-static-files.geoiq.io/strapi/infinity_7d62ad2947.svg\"\n alt=\"infinity icon\"\n className=\"h-4 w-4\"\n />\n ) : (\n <Typography variant=\"body5\" className=\"text-white\">\n {credits}\n </Typography>\n )}\n\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\nexport const Navbar: React.FC<NavbarProps> = ({\n login,\n icons,\n credits = -1,\n profile,\n logo,\n className = '',\n}) => {\n return (\n <div\n className={cn(\n 'w-16 bg-dark-2 px-3 py-4 h-full flex flex-col justify-between',\n className\n )}\n >\n {/* Top Part */}\n <div className=\"flex flex-col items-center gap-8\">\n <Logo {...logo} />\n\n {/* Main Icons */}\n <div className=\"flex flex-col gap-3\">\n {(icons?.list ?? []).map((icon, index) => (\n <NavbarIcon key={index} {...icon} />\n ))}\n </div>\n </div>\n\n {/* Bottom Part */}\n <div className=\"flex flex-col items-center gap-2\">\n {/* Help */}\n <NavbarIcon {...icons.help} />\n\n {/* Credits */}\n <Credits credits={credits} />\n\n <Separator />\n\n {/* Avatar and Login Part */}\n {login?.isLoggedIn ? <Profile {...profile} /> : <Login {...login} />}\n </div>\n </div>\n )\n}\n"],"names":["ProfileHeader","name","email","classEllipsisAndOverflow","React","Typography","cn","NavbarIcon","alt","className","isActive","isNew","src","tooltipText","wrapper","onClick","returnWrap","children","navbarIcon","NavbarIconVariants","NewBlink","Tooltip","Badge","Separator","Profile","popoverOptions","Dropdown","Avatar","Login","Logo","Credits","credits","Navbar","login","icons","profile","logo","icon","index"],"mappings":";;;;;;;;AAUA,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,CA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AS,CAAA,IAAM/B,gBAAAA,EAAA,cAAAwB,GAAA,EAAO,GAAGK,EAAA,CAAO,CACpE;AAAA;"}
@@ -1,5 +1,5 @@
1
1
  import { cva as e } from "class-variance-authority";
2
- import { defaultTypographyVariant as t } from "./index.es71.js";
2
+ import { defaultTypographyVariant as t } from "./index.es69.js";
3
3
  const r = e("", {
4
4
  variants: {
5
5
  variant: {
@@ -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.es67.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es67.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.es67.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,14 +1,25 @@
1
1
  import { cva as r } from "class-variance-authority";
2
- const i = r(
3
- "relative h-2 w-full overflow-hidden rounded bg-primary-2 min-w-64 ",
2
+ const t = r(
3
+ ` border flex items-center justify-between gap-1.5 relative mt-1.5 rounded-lg
4
+ text-light-1 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: {}
9
+ isFocused: {
10
+ true: "border-primary-2 ring-4 ring-primary-1",
11
+ false: "border-light-2"
12
+ },
13
+ disabled: {
14
+ true: "bg-light-3 border-neutral-2 cursor-not-allowed",
15
+ false: ""
16
+ }
7
17
  },
8
- defaultVariants: {}
18
+ defaultVariants: {},
19
+ compoundVariants: []
9
20
  }
10
21
  );
11
22
  export {
12
- i as ProgressVariants
23
+ t as TextAreaVariants
13
24
  };
14
25
  //# sourceMappingURL=index.es68.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es68.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
+ {"version":3,"file":"index.es68.js","sources":["../src/components/atoms/textarea/textarea.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const TextAreaVariants = cva(\n ` border flex items-center justify-between gap-1.5 relative mt-1.5 rounded-lg \n text-light-1 px-3 py-2\n file:border-0 file:bg-transparent\n placeholder:font-normal placeholder:text-light-4`,\n {\n variants: {\n isFocused: {\n true: 'border-primary-2 ring-4 ring-primary-1',\n false: 'border-light-2',\n },\n disabled: {\n true: 'bg-light-3 border-neutral-2 cursor-not-allowed',\n false: '',\n },\n },\n defaultVariants: {},\n compoundVariants: [],\n }\n)\n"],"names":["TextAreaVariants","cva"],"mappings":";AAEO,MAAMA,IAAmBC;AAAA,EAC9B;AAAA;AAAA;AAAA;AAAA,EAIA;AAAA,IACE,UAAU;AAAA,MACR,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,CAAC;AAAA,IAClB,kBAAkB,CAAC;AAAA,EACrB;AACF;"}
@@ -1,25 +1,25 @@
1
- import { cva as r } from "class-variance-authority";
2
- const t = r(
3
- ` border flex items-center justify-between gap-1.5 relative mt-1.5 rounded-lg
4
- text-light-1 px-3 py-2
5
- file:border-0 file:bg-transparent
6
- placeholder:font-normal placeholder:text-light-4`,
7
- {
8
- variants: {
9
- isFocused: {
10
- true: "border-primary-2 ring-4 ring-primary-1",
11
- false: "border-light-2"
12
- },
13
- disabled: {
14
- true: "bg-light-3 border-neutral-2 cursor-not-allowed",
15
- false: ""
16
- }
17
- },
18
- defaultVariants: {},
19
- compoundVariants: []
20
- }
21
- );
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";
22
21
  export {
23
- t as TextAreaVariants
22
+ y as defaultTypographyVariant,
23
+ p as variantElementMap
24
24
  };
25
25
  //# sourceMappingURL=index.es69.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es69.js","sources":["../src/components/atoms/textarea/textarea.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const TextAreaVariants = cva(\n ` border flex items-center justify-between gap-1.5 relative mt-1.5 rounded-lg \n text-light-1 px-3 py-2\n file:border-0 file:bg-transparent\n placeholder:font-normal placeholder:text-light-4`,\n {\n variants: {\n isFocused: {\n true: 'border-primary-2 ring-4 ring-primary-1',\n false: 'border-light-2',\n },\n disabled: {\n true: 'bg-light-3 border-neutral-2 cursor-not-allowed',\n false: '',\n },\n },\n defaultVariants: {},\n compoundVariants: [],\n }\n)\n"],"names":["TextAreaVariants","cva"],"mappings":";AAEO,MAAMA,IAAmBC;AAAA,EAC9B;AAAA;AAAA;AAAA;AAAA,EAIA;AAAA,IACE,UAAU;AAAA,MACR,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,CAAC;AAAA,IAClB,kBAAkB,CAAC;AAAA,EACrB;AACF;"}
1
+ {"version":3,"file":"index.es69.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;"}
@@ -9,6 +9,10 @@ const r = t(
9
9
  warning: "text-text4 dark:border-danger [&>svg]:text-danger bg-warning-1 ",
10
10
  error: " text-text4 dark:border-danger [&>svg]:text-danger bg-danger-1",
11
11
  default: "text-text4 bg-background text-foreground"
12
+ },
13
+ shortContent: {
14
+ true: "justify-center items-center flex flex-row gap-3",
15
+ false: ""
12
16
  }
13
17
  },
14
18
  defaultVariants: {
@@ -18,14 +22,14 @@ const r = t(
18
22
  ), a = t("", {
19
23
  variants: {
20
24
  shortContent: {
21
- true: "flex flex-row gap-2 item-center",
25
+ true: "justify-center items-center flex flex-row gap-3",
22
26
  false: "flex flex-col gap-2 justify-start items-start"
23
27
  }
24
28
  },
25
29
  defaultVariants: {
26
30
  shortContent: !1
27
31
  }
28
- }), n = t("", {
32
+ }), n = t(" max-w-[fit-content] ", {
29
33
  variants: {
30
34
  shortContent: {
31
35
  true: "bg-rest-s1",
@@ -1 +1 @@
1
- {"version":3,"file":"index.es70.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 },\n defaultVariants: {\n variant: 'info',\n },\n }\n)\n\nexport const AlertContentVariants = cva('', {\n variants: {\n shortContent: {\n true: 'flex flex-row gap-2 item-center',\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('', {\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,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,IAAI;AAAA,EACzC,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.es70.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: 'justify-center 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-center 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,25 +1,52 @@
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 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`,
7
+ {
8
+ 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
+ }
21
+ },
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
+ ]
47
+ }
48
+ );
21
49
  export {
22
- y as defaultTypographyVariant,
23
- p as variantElementMap
50
+ s as InputVariants
24
51
  };
25
52
  //# sourceMappingURL=index.es71.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es71.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.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,91 +1,125 @@
1
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",
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,
9
7
  {
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
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
14
13
  ),
15
- ...a
16
- }
14
+ ...r
15
+ },
16
+ n,
17
+ /* @__PURE__ */ e.createElement(l, { className: "ml-auto h-4 w-4" })
17
18
  ));
18
- d.displayName = "BreadcrumbList";
19
- const p = e.forwardRef(({ className: r, ...a }, t) => /* @__PURE__ */ e.createElement(
20
- "li",
19
+ c.displayName = t.SubTrigger.displayName;
20
+ const p = e.forwardRef(({ className: a, ...o }, n) => /* @__PURE__ */ e.createElement(
21
+ t.SubContent,
21
22
  {
22
- ref: t,
23
- className: m("inline-flex items-center gap-1.5", r),
24
- ...a
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
25
29
  }
26
30
  ));
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",
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,
42
34
  {
43
- ref: t,
44
- role: "link",
45
- "aria-disabled": "true",
46
- "aria-current": "page",
47
- className: m("font-normal text-foreground", r),
48
- ...a
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
49
55
  }
50
56
  ));
51
- f.displayName = "BreadcrumbPage";
52
- const b = ({
53
- children: r,
54
- className: a,
55
- ...t
56
- }) => /* @__PURE__ */ e.createElement(
57
- "li",
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,
58
60
  {
59
- role: "presentation",
60
- "aria-hidden": "true",
61
- className: m("[&>svg]:size-3.5", a),
62
- ...t
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
63
69
  },
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",
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,
72
76
  {
73
- role: "presentation",
74
- "aria-hidden": "true",
75
- className: m("flex h-9 w-9 items-center justify-center", r),
76
- ...a
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
77
83
  },
78
- /* @__PURE__ */ e.createElement(c, { className: "h-4 w-4" }),
79
- /* @__PURE__ */ e.createElement("span", { className: "sr-only" }, "More")
80
- );
81
- N.displayName = "BreadcrumbElipssis";
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;
82
110
  export {
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
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
90
124
  };
91
125
  //# sourceMappingURL=index.es72.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es72.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,SAAI,KAAAE,GAAU,cAAW,cAAc,GAAGD,GAAO,CAAE;AAC7EF,EAAW,cAAc;AAEnB,MAAAI,IAAiBH,EAAM,WAG3B,CAAC,EAAE,WAAAI,GAAW,GAAGH,EAAM,GAAGC,MAC1B,gBAAAF,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAE;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACAD;AAAA,IACF;AAAA,IACC,GAAGH;AAAA,EAAA;AACN,CACD;AACDE,EAAe,cAAc;AAEvB,MAAAG,IAAiBN,EAAM,WAG3B,CAAC,EAAE,WAAAI,GAAW,GAAGH,EAAM,GAAGC,MAC1B,gBAAAF,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAE;AAAA,IACA,WAAWG,EAAG,oCAAoCD,CAAS;AAAA,IAC1D,GAAGH;AAAA,EAAA;AACN,CACD;AACDK,EAAe,cAAc;AAEvB,MAAAC,IAAiBP,EAAM,WAK3B,CAAC,EAAE,SAAAQ,GAAS,WAAAJ,GAAW,GAAGH,EAAM,GAAGC,MAAQ;AACrC,QAAAO,IAAOD,IAAUE,IAAO;AAG5B,SAAA,gBAAAV,EAAA;AAAA,IAACS;AAAA,IAAA;AAAA,MACC,KAAAP;AAAA,MACA,WAAWG,EAAG,2CAA2CD,CAAS;AAAA,MACjE,GAAGH;AAAA,IAAA;AAAA,EAAA;AAGV,CAAC;AACDM,EAAe,cAAc;AAEvB,MAAAI,IAAiBX,EAAM,WAG3B,CAAC,EAAE,WAAAI,GAAW,GAAGH,EAAM,GAAGC,MAC1B,gBAAAF,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAE;AAAA,IACA,MAAK;AAAA,IACL,iBAAc;AAAA,IACd,gBAAa;AAAA,IACb,WAAWG,EAAG,+BAA+BD,CAAS;AAAA,IACrD,GAAGH;AAAA,EAAA;AACN,CACD;AACDU,EAAe,cAAc;AAE7B,MAAMC,IAAsB,CAAC;AAAA,EAC3B,UAAAC;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
+ {"version":3,"file":"index.es72.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,E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